CN108287892A - A kind of picture loading method, device and electronic equipment - Google Patents

A kind of picture loading method, device and electronic equipment Download PDF

Info

Publication number
CN108287892A
CN108287892A CN201810049852.8A CN201810049852A CN108287892A CN 108287892 A CN108287892 A CN 108287892A CN 201810049852 A CN201810049852 A CN 201810049852A CN 108287892 A CN108287892 A CN 108287892A
Authority
CN
China
Prior art keywords
picture
pending
thumbnail
pending picture
enhancing
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
CN201810049852.8A
Other languages
Chinese (zh)
Other versions
CN108287892B (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 QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201810049852.8A priority Critical patent/CN108287892B/en
Publication of CN108287892A publication Critical patent/CN108287892A/en
Application granted granted Critical
Publication of CN108287892B publication Critical patent/CN108287892B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Image Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

An embodiment of the present invention provides a kind of pending picture loading method, device and electronic equipment, the method includes:The thumbnail of pending picture is downloaded according to the load instruction of acquisition, obtain the resolution parameter and dimensional parameters of pending picture, judge whether pending photo resolution is more than the thumbnail resolution of pending picture, and/or whether pending dimension of picture is more than the thumbnail dimensions of pending picture, if pending photo resolution is more than the thumbnail resolution of pending picture, and/or pending dimension of picture is more than the thumbnail dimensions of pending picture, then enhance algorithm using preset picture, picture enhancing processing is carried out to the thumbnail of pending picture, thumbnail through picture enhancing treated pending picture is loaded as pending picture.Using a kind of pending picture loading method provided in an embodiment of the present invention, device and electronic equipment, required flow is less, can be that user saves flow.

Description

A kind of picture loading method, device and electronic equipment
Technical field
The present invention relates to picture Processing Technique fields, more particularly to a kind of picture loading method, device and electronic equipment.
Background technology
For user when surfing the web webpage, webpage can show that some include the picture of specific content to user.For example, shopping When webpage loads commodity picture, the thumbnail of commodity picture can be downloaded rear line displaying by shopping webpage from network.When with When thumbnail is clicked at family, shopping webpage downloads the highest picture of the corresponding resolution ratio of thumbnail from network and then will The picture is loaded into the corresponding position of shopping webpage, and by the picture presentation to user.Pass through this picture load mode, user It can be seen that most clearly picture.But this load mode has downloading process twice, causes customer flow expense larger, and The loading procedure of picture can be caused to take longer.
To solve the above-mentioned problems, the solution of mainstream is at present:Using Fresco as picture loading frame, wherein Fresco is a Open Framework of Facebook (facebook) publications.Caching in the Open Framework is divided into disk buffering and memory Caching, wherein memory cache are divided into the memory cache of Bitmap (bitmap file) caching and non-decoding picture.In order to make user exist Most clearly picture can be seen when clicking thumbnail pictures.When webpage Loads Image, the picture is first searched in the buffer, if looked into It can not find, then download in the highest picture to caching of a resolution ratio, and the thumbnail of the picture is shown to user.When with When family needs to check the resolution ratio of picture highest picture, user can click the thumbnail of the picture, and browser receives user The load instruction of the highest picture of the corresponding resolution ratio of the picture is loaded, browser will read the picture from caching, and will divide The highest picture presentation of resolution is to user.
But if user when browsing webpage, when the user clicks on webpage picture thumbnail, browser receives User loads the load instruction of the highest picture of the corresponding resolution ratio of the picture, and browser needs to download the resolution ratio of the picture most High picture, the flow consumed in this way are more.
Invention content
The embodiment of the present invention is designed to provide a kind of picture loading method, device and electronic equipment, is saved with realizing The purpose of customer flow.Specific technical solution is as follows:
An embodiment of the present invention provides a kind of pending picture loading method, the method includes:
The thumbnail that pending picture is downloaded according to the load instruction of acquisition obtains the resolution ratio ginseng of the pending picture Number and dimensional parameters;
Judge whether the pending photo resolution is more than the thumbnail resolution of the pending picture, and/or institute State the thumbnail dimensions whether pending dimension of picture is more than the pending picture;
If the pending photo resolution is more than the thumbnail resolution of the pending picture, and/or described waits locating The thumbnail dimensions that dimension of picture is more than the pending picture are managed, then enhances algorithm using preset picture, waits locating to described The thumbnail for managing picture carries out picture enhancing processing;
Thumbnail through picture enhancing treated the pending picture is loaded as pending picture.
Optionally, it in a kind of specific implementation mode of the embodiment of the present invention, is waited for being downloaded according to the load of acquisition instruction Before the thumbnail for handling picture, the method further includes:
It is instructed according to the load of acquisition, picture corresponding with the pending picture is searched in memory cache;
If not finding picture corresponding with the pending picture in the memory cache, referred to according to the load It enables, picture corresponding with pending picture is searched in hard disk cache;
If finding picture corresponding with the pending picture in hard disk cache, and described corresponding with pending picture Photo resolution be less than the pending picture resolution ratio and/or the dimension of picture corresponding with pending picture it is small In the size of the pending picture;Using the picture corresponding with the pending picture as the contracting of the pending picture Sketch map, and the utilization preset picture enhancing algorithm is executed, the thumbnail of the pending picture is carried out at picture enhancing The step of reason;
If alternatively, find picture corresponding with the pending picture in hard disk cache, and it is described with pending figure Resolution ratio of the corresponding photo resolution of piece not less than the pending picture and/or the figure corresponding with pending picture Chip size is not less than the size of the pending picture, and the picture corresponding with pending picture is used as at through picture enhancing The thumbnail of the pending picture after reason, and execute described by the contracting through picture enhancing treated the pending picture The step of sketch map is loaded as pending picture;
If picture corresponding with the pending picture is not found in hard disk cache, execute it is described according to acquisition plus Carry the step of thumbnail of pending picture is downloaded in instruction.
Optionally, it in a kind of specific implementation mode of the embodiment of the present invention, is found in the memory cache and institute In the case of stating the corresponding picture of pending picture, the method further includes:
Picture corresponding with the pending picture is searched in Bitmap cachings;
If finding the picture corresponding with pending picture in Bitmap cachings, and described and pending picture pair The photo resolution answered is less than the resolution ratio of the pending picture and/or the dimension of picture corresponding with pending picture Less than the size of the pending picture, using the picture corresponding with the pending picture as the pending picture Thumbnail, and by the thumbnail of the pending picture and the load instruction be sent to the memory cache of non-decoding picture with So that the Bitmap cachings is executed described using preset picture enhancing algorithm, figure is carried out to the thumbnail of the pending picture The step of piece enhancing processing;
If alternatively, find the picture corresponding with pending picture in Bitmap cachings, and it is described with it is pending The corresponding photo resolution of picture is not less than the resolution ratio of the pending picture and/or described corresponding with pending picture Dimension of picture is not less than the size of the pending picture, and the picture corresponding with pending picture is enhanced as through picture The thumbnail of treated the pending picture, and execute it is described will be through picture enhancing treated the pending picture The step of thumbnail is loaded as pending picture;
If alternatively, not finding picture corresponding with pending picture in Bitmap cachings, instructed according to the load, Picture corresponding with pending picture is searched in the memory cache of non-decoding picture;
If the picture corresponding with pending picture is found in the memory cache of non-decoding picture, and it is described with wait for It handles the corresponding photo resolution of picture and is less than the resolution ratio of the pending picture and/or described corresponding with pending picture Dimension of picture be less than the size of the pending picture, the picture corresponding with the pending picture is waited for as described in Handle the thumbnail of picture, and the thumbnail of the pending picture and the load instructed be sent to hard disk cache so that The hard disk cache executes described using preset picture enhancing algorithm, the thumbnail progress picture increasing to the pending picture The step of strength is managed;
If alternatively, find the picture corresponding with pending picture in the memory cache of non-decoding picture, and institute State photo resolution corresponding with pending picture not less than the pending picture resolution ratio and/or it is described with it is pending The corresponding dimension of picture of picture is not less than the size of the pending picture, will the picture conduct corresponding with pending picture Thumbnail through picture enhancing treated the pending picture, and execute that described will to enhance that treated through picture described waits for The step of thumbnail of processing picture is loaded as pending picture;
If alternatively, not finding the picture corresponding with pending picture in the memory cache of non-decoding picture, hold Described in row in hard disk cache the step of lookup picture corresponding with pending picture.
Optionally, in a kind of specific implementation mode of the embodiment of the present invention, the method further includes:
By the memory of the thumbnail storage through picture enhancing treated the pending picture to non-decoding picture In caching and hard disk cache;
It described is cached decoded to Bitmap through picture enhancing treated thumbnail storage.
It is optionally, described to enhance algorithm using preset picture in a kind of specific implementation mode of the embodiment of the present invention, Picture enhancing processing is carried out to the thumbnail of the pending picture, including:
Value added by the resolution ratio of the pending picture relative to the resolution ratio of the thumbnail of the pending picture, Value added with the size of the pending picture relative to the size of the pending picture enhances parameter as picture;
The parameter for enhancing algorithm using picture enhancing parameter as preset picture is enhanced using preset picture and is calculated Method carries out picture enhancing processing to the thumbnail of the pending picture.
Optionally, described to enhance treated institute through picture in a kind of specific implementation mode of the embodiment of the present invention The thumbnail for stating pending picture is loaded as pending picture, including:
Thumbnail through picture enhancing treated the pending picture is decoded;
Will be decoded, the thumbnail through picture enhancing treated the pending picture is carried out as pending picture Load.
The embodiment of the present invention additionally provides a kind of pending picture loading device, and described device includes:Download module, judgement Module, enhancing module and the first setup module, wherein
The download module, the thumbnail for downloading pending picture according to the load instruction of acquisition, and described in acquisition The resolution parameter and dimensional parameters of pending picture;
The judgment module, for judging whether the pending photo resolution is more than the breviary of the pending picture Whether figure resolution ratio and/or the pending dimension of picture are more than the thumbnail dimensions of the pending picture;
The enhancing module, in the case where the judging result of the judgment module is to be, utilizing preset picture Enhance algorithm, picture enhancing processing is carried out to the thumbnail of the pending picture;
First setup module, for using the thumbnail through picture enhancing treated the pending picture as waiting for Processing picture is loaded.
Optionally, in a kind of specific implementation mode of the embodiment of the present invention, described device further includes:First searches mould Block, the second searching module, the second setup module and third setup module, wherein
First searching module, for according to the load of acquisition instruct, in memory cache search with it is described pending The corresponding picture of picture;
Second searching module, for not finding the figure corresponding with pending picture in the memory cache It in the case of piece, is instructed according to the load, picture corresponding with pending picture is searched in hard disk cache;
Second setup module, for finding the picture corresponding with pending picture in hard disk cache, and it is described Photo resolution corresponding with pending picture is less than the resolution ratio of the pending picture and/or described and pending picture In the case that corresponding dimension of picture is less than the size of the pending picture;It will the figure corresponding with the pending picture Thumbnail of the piece as the pending picture, and trigger the enhancing module;
Third setup module, for finding the picture corresponding with pending picture in hard disk cache, and it is described Photo resolution corresponding with pending picture is not less than the resolution ratio of the pending picture and/or described and pending figure It, will the figure corresponding with pending picture in the case of size of the corresponding dimension of picture of piece not less than the pending picture Piece triggers first setup module as the thumbnail through picture enhancing treated the pending picture.
The download module, if specifically for not finding picture corresponding with the pending picture in hard disk cache In the case of, execute the described the step of thumbnail of pending picture is downloaded according to the load instruction of acquisition.
Optionally, in a kind of specific implementation mode of the embodiment of the present invention, described device further includes:Third searches mould Block, the 4th setup module, the 5th setup module, the 4th searching module, the 6th setup module and the 7th setup module, wherein
The third searching module, for searching picture corresponding with the pending picture in Bitmap cachings;
4th setup module, for finding the picture corresponding with pending picture in being cached in Bitmap, And the photo resolution corresponding with pending picture be less than the pending picture resolution ratio and/or it is described with wait locating It, will the described and pending picture pair in the case of managing the size that the corresponding dimension of picture of picture is less than the pending picture Thumbnail of the picture answered as the pending picture, and the thumbnail of the pending picture and the load are instructed The memory cache of non-decoding picture is sent to so that the memory cache of the non-decoding picture triggers the enhancing module;
5th setup module, for finding the picture corresponding with pending picture in being cached in Bitmap, And the photo resolution corresponding with pending picture not less than the pending picture resolution ratio and/or it is described with wait for It, will described and pending picture pair in the case of handling size of the corresponding dimension of picture of picture not less than the pending picture The picture answered triggers first setup module as the thumbnail through picture enhancing treated the pending picture;
4th searching module, for not finding picture corresponding with pending picture in Bitmap cachings In the case of, it is instructed according to the load, picture corresponding with pending picture is searched in the memory cache of non-decoding picture;
6th setup module, for finding described and pending picture pair in the memory cache of non-decoding picture The picture answered, and the photo resolution corresponding with pending picture is less than resolution ratio and/or the institute of the pending picture In the case of stating size of the dimension of picture corresponding with pending picture less than the pending picture, wait locating with described by described Manage thumbnail of the corresponding picture of picture as the pending picture, and by the thumbnail of the pending picture and described Load instruction is sent to hard disk cache so that the hard disk cache triggers the enhancing module;
7th setup module, for finding described and pending picture pair in the memory cache of non-decoding picture The picture answered, and the photo resolution corresponding with pending picture is not less than the resolution ratio of the pending picture, and/or The dimension of picture corresponding with pending picture not less than the pending picture size in the case of, by it is described with wait locating It manages the corresponding picture of picture and is used as the thumbnail through the picture pending picture that enhances that treated, and trigger described first and set Set module;
Second searching module, specifically for do not found in the memory cache of non-decoding picture it is described with it is pending In the case of the corresponding picture of picture, described the step of picture corresponding with pending picture is searched in hard disk cache is executed.
Optionally, in a kind of specific implementation mode of the embodiment of the present invention, described device further includes:First memory module With the second memory module, wherein
First memory module, for depositing the thumbnail through picture enhancing treated the pending picture In the memory cache and hard disk cache that store up non-decoding picture;
Second memory module, for described treated that thumbnail storage is arrived through picture enhancing by decoded In Bitmap cachings.
Optionally, in a kind of specific implementation mode of the embodiment of the present invention, the enhancing module, including:First setting Submodule and enhancing submodule, wherein
The first setting submodule, is used for the resolution ratio of the pending picture relative to the pending picture The increase of the value added of the resolution ratio of thumbnail and the size of the pending picture relative to the size of the pending picture Value enhances parameter as picture;
The enhancing submodule, the parameter for enhancing algorithm using picture enhancing parameter as preset picture, profit Enhance algorithm with preset picture, picture enhancing processing is carried out to the thumbnail of the pending picture.
Optionally, in a kind of specific implementation mode of the embodiment of the present invention, first setup module, including:Decoding Submodule and the second setting submodule, wherein
The decoding sub-module, for being solved to the thumbnail through picture enhancing treated the pending picture Code;
The second setting submodule, for will be decoded, through picture enhancing treated the pending picture Thumbnail is loaded as pending picture.
The embodiment of the present invention additionally provides a kind of electronic equipment, which is characterized in that including processor, communication interface, storage Device and communication bus, wherein processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes that any of the above-described pending picture adds Support method.
At the another aspect that the present invention is implemented, a kind of computer readable storage medium is additionally provided, it is described computer-readable Instruction is stored in storage medium, when run on a computer so that computer executes any of the above-described described pending Picture loading method.
At the another aspect that the present invention is implemented, the embodiment of the present invention additionally provides a kind of computer program production comprising instruction Product, when run on a computer so that computer executes any of the above-described pending picture loading method.
Using a kind of pending picture loading method provided in an embodiment of the present invention, device and electronic equipment, from network What is obtained is the thumbnail of pending picture, when needing to load pending picture, enhances algorithm to pending figure using picture The thumbnail of piece carries out enhancing processing, and then obtains pending picture, compared with the existing technology in need to download pending picture The highest picture of resolution ratio, required flow is less, can be user save flow.Certainly, implement any production of the present invention Product or method must be not necessarily required to reach all the above advantage simultaneously.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described.
Fig. 1 is the application scenarios schematic diagram of the embodiment of the present invention;
Fig. 2 is the flow diagram of the first pending picture loading method provided in an embodiment of the present invention;
Fig. 3 is a kind of principle schematic of pending picture loading method provided in an embodiment of the present invention;
Fig. 4 is the principle schematic of the pending picture loading method of another kind provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of second provided in an embodiment of the present invention pending picture loading method;
Fig. 6 is the flow diagram of the third pending picture loading method provided in an embodiment of the present invention;
Fig. 7 is the flow diagram that a kind of picture provided in an embodiment of the present invention enhances processing method;
Fig. 8 is a kind of stream of the thumbnail loading method of the enhanced pending picture of picture provided in an embodiment of the present invention Journey schematic diagram;
Fig. 9 is the structural schematic diagram of the first pending picture loading device provided in an embodiment of the present invention;
Figure 10 is the structural schematic diagram of second provided in an embodiment of the present invention pending picture loading device;
Figure 11 is the structural schematic diagram of the third pending picture loading device provided in an embodiment of the present invention;
Figure 12 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention is described.
In the prior art, in order to enable user to see most clearly picture when clicking thumbnail pictures.When webpage load waits for When handling picture, the highest picture of resolution ratio of a pending picture is downloaded, and by the thumbnail of pending picture to user Displaying.When user needs to check the highest picture of the resolution ratio of pending picture, user can click the breviary of pending picture Figure, electronic equipment 11 where browser, which receives user and loads the load of the highest picture of the corresponding resolution ratio of pending picture, to be referred to It enables, electronic equipment 11 where browser downloads the highest picture of resolution ratio of pending picture from network server 12, and will The highest picture presentation of resolution ratio of pending picture is to user.But if user when browsing webpage, when the user clicks The thumbnail of pending picture, browser receive the load that user loads the highest picture of the corresponding resolution ratio of pending picture Instruction, browser need to download the highest picture of resolution ratio of pending picture, and the flow consumed in this way is more.It is existing to solve Technical problem, an embodiment of the present invention provides a kind of pending picture loading method, device and electronic equipment, Fig. 1 is the present invention The application scenarios schematic diagram of embodiment, as shown in Figure 1, when the user clicks shrinkage figure when, electronic equipment 11 where browser is from net The thumbnail A-1 that pending picture A is downloaded in network server 12, then judges whether the size of pending picture A is more than breviary Scheme the size of A-1, or judge whether the resolution ratio of pending picture A is more than the resolution ratio of thumbnail A-1, in pending picture When the size of A is more than the size of thumbnail A-1 and/or when the resolution ratio of pending picture A is more than the resolution ratio of thumbnail A-1, The thumbnail A-1 for enhancing the pending picture of algorithm using picture carries out enhancing processing, and then obtains pending picture A, relative to Need to download the highest picture of resolution ratio of pending picture in the prior art, required flow is less, can be that user saves Flow.
An embodiment of the present invention provides a kind of pending picture loading method, device and electronic equipments, first below just originally A kind of pending picture record method that inventive embodiments provide is introduced.
Fig. 2 is the flow diagram of the first pending picture loading method provided in an embodiment of the present invention, and Fig. 3 is this hair A kind of principle schematic for pending picture loading method that bright embodiment provides;As shown in Figures 2 and 3, method includes:
S201:The thumbnail that pending picture is downloaded according to the load instruction of acquisition, obtains the resolution ratio of pending picture Parameter and dimensional parameters.
Illustratively, when user browses webpage, such as when shopping on the web, electronic equipment, such as mobile phone, computer, electricity Sub- equipment 11 can show the thumbnail A-1 of pending picture A in the position of pending picture A.If user is to pending picture A The corresponding contents of thumbnail A-1 it is interested, user can click thumbnail A-1 to observe the details of thumbnail A-1, the point of user The behavior of hitting can be used as load instruction, and load instruction can be picture load request.And the ruler of the pending picture A of webpage setting Very little and thumbnail A-1 size is inconsistent, the resolution of the resolution ratio and thumbnail A-1 of the pending picture A of webpage setting Rate is also inconsistent, therefore, it is also desirable to obtain the resolution parameter and dimensional parameters of pending picture A.
It is understood that when user is when opening webpage, the thumbnail A-1 of the pending picture A of webpage load, without The high definition picture of pending the picture either highest picture of resolution ratio or the maximum picture of size can be loaded.
In practical applications, obtaining the process of load instruction can be completed by picture request module;Download pending picture The process of thumbnail the thumbnail of pending picture can be obtained from network by network download module.Obtain load instruction Process can be realized by following code:
void request(Image Request request);
Downloading the process of the thumbnail of pending picture can be realized by following code:
EncodedImage newNetworkFetchProducer(ImageRequest request)。
S202:Judge whether pending photo resolution is more than the thumbnail resolution of pending picture and/or pending Whether dimension of picture is more than the thumbnail dimensions of pending picture, if pending photo resolution is more than the breviary of pending picture Figure resolution ratio and/or pending dimension of picture are more than the thumbnail dimensions of pending picture, 203 steps are executed, if pending figure Chip resolution is no more than the thumbnail resolution of pending picture and/or pending dimension of picture no more than pending picture Thumbnail dimensions execute 205 steps, terminate.
Illustratively, according to the resolution parameter and dimensional parameters of the pending picture A obtained in S201 steps, step The judgment mode of S202 includes following three kinds:
The resolution ratio of pending picture A is compared with the resolution ratio of thumbnail A-1, judges pending figure by mode one Whether the resolution ratio of piece A is more than the resolution ratio of thumbnail A-1;
The size of pending picture A is compared by mode two with the size of thumbnail A-1, judges pending picture A's Whether size is more than the size of thumbnail A-1;
The resolution ratio of pending picture A, is first compared by mode three with the resolution ratio of thumbnail A-1, then will wait locating The size of reason picture A is compared with the size of thumbnail A-1, in point of the resolution ratio of pending picture A more than thumbnail A-1 In the case of resolution, judge whether the size of pending picture A is more than the size of thumbnail A-1.
Any one judging result is yes in three of the above judgment mode, executes step S203, no to then follow the steps S205.
For example, if the resolution ratio of the pending picture A obtained in S201 steps is 1000*1000, size 50* 50mm.And the resolution ratio of shrinkage figure is 300*300, size 30*30mm, then the resolution ratio of pending picture A is more than thumbnail The resolution ratio of A-1 executes S203 steps.
In practical applications, the process of S202 steps can be completed by hard disk cache module.
It is understood that judge pending photo resolution whether be more than pending picture thumbnail resolution, and/ Or it refers to judging whether to need to pending picture that whether pending dimension of picture, which is more than the thumbnail dimensions of pending picture, Thumbnail carries out enhancing processing.
S203:Enhance algorithm using preset picture, picture enhancing processing is carried out to the thumbnail of pending picture.
Illustratively, enhance algorithm using picture and picture enhancing carried out to thumbnail A-1, by thumbnail enhancing to wait for The identical sizes of picture A and/or resolution ratio are handled, the enhancing picture A-2 of thumbnail A-1 is obtained.
For example, the resolution ratio of thumbnail A-1 can be enhanced to 1000*1000;Or the size of thumbnail A-1 is enhanced To 50*50mm;Or the size of thumbnail A-1 is enhanced while enhancing the resolution ratio of thumbnail A-1 to 1000*1000 To 50*50mm.
In practical applications, picture booster can be used to carry out picture enhancing processing to the thumbnail of pending picture. In addition, it is the prior art to enhance algorithm to enhance picture using picture, which is not described herein again, and picture enhances algorithm packet Include but be not limited only to logarithm picture enhancing algorithm, index picture enhancing algorithm.
S204:Thumbnail through picture enhancing treated pending picture is loaded as pending picture.
Illustratively, it is loaded the enhancing picture A-2 of thumbnail A-1 as pending picture A, is shown to user. It is understood that it refers to carrying out UI wash with watercolours to the pending picture A obtained in this step that pending picture A, which is shown to user, Dye is rendered into UI (User Interface, use by renderer using the enhancing picture A-2 of thumbnail A-1 as pending picture A Family interface) on.
Using embodiment illustrated in fig. 2 of the present invention, what is obtained from network is the thumbnail of pending picture, when needing to load When pending picture, enhances algorithm using picture and enhancing processing is carried out to the thumbnail of pending picture, and then obtain pending Picture, compared with the existing technology in need to download the highest picture of resolution ratio of pending picture, required flow is less, can be with Flow is saved for user.
Loading the process of the thumbnail of pending picture can be realized by following code:
void magnifierAI(EncodedImage image)。
To solve prior art problem, the embodiment of the present invention additionally provides second of pending picture loading method.
Fig. 4 is the principle schematic of the pending picture loading method of another kind provided in an embodiment of the present invention, such as Fig. 4 institutes Show, electronic equipment is according to the picture load request of reception, if searching figure corresponding with pending picture A in Bitmap cachings There is picture corresponding with pending picture A in piece, Bitmap, judge whether that needs pair are corresponding with pending picture A in caching Picture carries out picture enhancing, if picture enhancing need not be carried out, will carry out UI wash with watercolours after picture decoding corresponding with pending picture A Dye is shown to user;If desired carry out picture enhancing, and the picture enhances without picture, then it will be corresponding with pending picture A Picture be sent to the memory cache of non-decoding picture picture corresponding with pending picture A be subjected to picture enhancing;If desired Picture enhancing is carried out, and the picture has been subjected to picture enhancing, UI renderings will be carried out after picture decoding corresponding with pending picture A It is shown to user.
If picture corresponding with pending picture A is not present in Bitmap cachings, load request is sent to and does not decode figure The memory cache of piece searches whether there is picture corresponding with pending picture A in the memory cache of non-decoding picture, does not solve There is picture corresponding with pending picture A in the memory cache of code picture, judges whether that needs pair are corresponding with pending picture A Picture carry out picture enhancing picture corresponding with pending picture A is switched to for bitmap if picture enhancing need not be carried out Piece, then be decoded, decoded bitmap picture, which is carried out UI renderings, is shown to user;If desired picture enhancing is carried out, and should Picture corresponding with pending picture A is then carried out picture enhancing by picture without enhancing;If desired picture enhancing is carried out, and The picture has been subjected to picture enhancing, will be after picture corresponding with pending picture A is converted to bitmap picture, then is decoded, will During decoded bitmap picture storage is cached to Bitmap, then carries out UI renderings and be shown to user.
If there is picture corresponding with pending picture A in hard disk cache, judge whether to need to judge whether needs pair Picture corresponding with pending picture A carries out picture enhancing will be corresponding with pending picture A if picture enhancing need not be carried out Picture be converted to bitmap picture, and be decoded, then decoded bitmap picture is subjected to UI renderings and is shown to user;If needing Picture enhancing is carried out, and picture corresponding with pending picture A is then carried out picture enhancing by the picture without enhancing;If It needs to carry out picture enhancing, and the picture has been subjected to enhancing, will be converted to bitmap picture with pending picture A, and be decoded, Decoded bitmap picture is subjected to UI renderings again and is shown to user.
If picture corresponding with pending picture A is not present in hard disk cache, obtained and A pairs of pending picture from network The picture answered;Judge whether to need to judge whether that a pair picture corresponding with pending picture A is needed to carry out picture enhancing, if being not required to Picture enhancing is carried out, picture corresponding with pending picture A is stored into hard disk cache and memory cache, then reconvert It after bitmap picture, is decoded, during the storage of decoded bitmap picture is cached to Bitmap, then carries out UI renderings and be shown to User;If desired it carries out picture enhancing pair picture corresponding with pending picture A and carries out picture enhancing.
Fig. 5 is the flow diagram of second provided in an embodiment of the present invention pending picture loading method, such as Fig. 5 institutes Show, embodiment illustrated in fig. 5 of the present invention is on the basis of embodiment illustrated in fig. 2 of the present invention, before S201 steps, increases following Step:
S205:It is instructed according to the load of acquisition, picture corresponding with pending picture is searched in memory cache.
It is instructed according to the load of acquisition, picture corresponding with pending picture A is searched in the memory cache of electronic equipment A-3.If not finding picture A-3 corresponding with pending picture A in memory cache, S206 steps are executed.
It is understood that picture A-3 corresponding with pending picture A is the picture for including identical content.Such as it waits for Ms's yellow surplus wind coat is shown in processing picture A, then what picture A-3 corresponding with pending picture A included is also One Ms's yellow surplus wind coat.In practical applications, the resolution ratio of picture A-3 corresponding with pending picture A can with wait for Picture difference is handled, for example, the resolution ratio of picture A-3 corresponding with pending picture A can be more than the resolution of pending picture Rate, the resolution ratio of picture A-3 corresponding with pending picture A can identical as the resolution ratio of pending picture, pending picture A The resolution ratio of corresponding picture can be less than the resolution ratio of pending picture, and the embodiment of the present invention does not define it herein. Similar, the size of picture A-3 corresponding from pending picture A can be different with pending picture, for example, with pending picture The size of the corresponding picture A-3 of A can be more than size, the size of picture A-3 corresponding with pending picture A of pending picture Can, size of pending picture A corresponding picture identical as the size of pending picture can be less than the ruler of pending picture It is very little.
It should be noted that when whether there is picture corresponding with pending picture A in search memory cache, which can To be completed by memory cache module.
As shown in figure 4, in S205 steps, if being instructed according to the load of acquisition, looked into the memory cache of electronic equipment Look for picture A-3 corresponding with pending picture A.If finding picture A-3 corresponding with pending picture A in memory cache When, method is further comprising the steps of:
It should be noted that memory cache includes the memory cache of Bitmap caching and non-decoding picture, in this step It is referred to as memory cache.In practical applications, breviary corresponding with pending picture A is searched in the memory cache of electronic equipment When figure, it can be searched according to S2011-S2016 steps.
S2011 (not shown)s:Picture corresponding with pending picture is searched in Bitmap cachings;
If not finding picture A-3 corresponding with pending picture in Bitmap cachings, S2014 steps are executed;If Picture A-3 corresponding with pending picture is found in Bitmap cachings, executes S2012 steps or S2013 steps.
If finding picture A-3 corresponding with pending picture in Bitmap cachings, and corresponding with pending picture Picture A-3 resolution ratio be less than pending picture A resolution ratio, and/or picture A-3 sizes corresponding with pending picture be less than wait for When handling the size of picture A, S2012 steps are executed.
If finding picture A-3 corresponding with pending picture in Bitmap cachings, and corresponding with pending picture Resolution ratio of the picture A-3 resolution ratio not less than pending picture A, and/or picture A-3 sizes corresponding with pending picture be not small When the size of pending picture A, S2013 steps are executed.Picture corresponding with pending picture is searched in Bitmap cachings Process can be realized by following code:
Bitmap newBitmapMemoryCacheGetProducer(ImageRequest request)。
S2012 (not shown)s:Using picture corresponding with pending picture as the thumbnail of pending picture, and will The thumbnail of pending picture and load instruction be sent to the memory cache of non-decoding picture so that non-decoding picture memory Caching executes S203 steps.
Using picture A-3 corresponding with pending picture as the thumbnail A-1 of pending picture A, and by thumbnail A-1 And load instruction is sent to the memory cache of non-decoding picture, so that the memory cache of non-decoding picture is to pending picture A Thumbnail A-1 carry out picture enhancing.
In practical applications, after showing that the application of pending picture A is closed to user, the system of electronic equipment can be clear Except the caching in the memory cache of Bitmap cachings and non-decoding picture in electronic equipment, therefore the memory of non-decoding picture is slow Deposit can by the thumbnail of pending picture and load instruction be sent to hard disk cache, in hard disk cache to pending picture The thumbnail A-1 of A carries out picture enhancing.
It is understood that the implementation procedure of S203 steps and the implementation procedure in aforementioned S203 steps are complete in this step Complete the same, which is not described herein again.
S2013 (not shown)s:By picture corresponding with pending picture, as enhancing through picture, treated waits locating Manage the thumbnail of picture, and the step of executing S204.
Using picture A-3 corresponding with pending picture as the thumbnail through picture enhancing treated pending picture A, And execute S204 steps.
It is understood that the implementation procedure of S204 steps and the implementation procedure in aforementioned S204 steps are complete in this step Complete the same, which is not described herein again.
S2014 (not shown)s:It is instructed according to load, is searched and pending figure in the memory cache of non-decoding picture The corresponding picture of piece;
It is understood that the load instruction obtained in this step is that Bitmap is buffered in S2011 steps and sends.
If picture corresponding with pending picture is found in the memory cache of non-decoding picture, and with pending picture Corresponding photo resolution be less than pending picture resolution ratio, and/or dimension of picture corresponding with pending picture be less than wait for The size of picture is handled, S2015 steps are executed.If being found in the memory cache of non-decoding picture corresponding with pending picture Picture, and photo resolution corresponding with pending picture be not less than pending picture resolution ratio, and/or with pending figure The corresponding dimension of picture of piece is not less than the size of pending picture, executes S2016 steps.
If not finding picture corresponding with pending picture in the memory cache of non-decoding picture, execute slow in hard disk The step of depositing middle lookup picture corresponding with pending picture.
Picture corresponding with pending picture is searched in the memory cache of non-decoding picture to be realized by following code:
ByteBuffer newEncodedMemoryCacheProducer(ImageRequest request)。
S2015 (not shown)s:Using picture corresponding with pending picture as the thumbnail of pending picture, and will The thumbnail of pending picture and load, which instruct, is sent to hard disk cache so that the step of hard disk cache executes S203.
Using picture A-3 corresponding with pending picture as the thumbnail A-1 of pending picture A, and by thumbnail A-1 And load instruction is sent to hard disk cache, so that hard disk cache carries out at picture enhancing the thumbnail A-1 of pending picture A Reason.
It is understood that the implementation procedure of S203 steps and the implementation procedure in aforementioned S203 steps are complete in this step Complete the same, which is not described herein again.
S2016 (not shown)s:, by picture corresponding with pending picture, as enhancing through picture, treated waits locating Manage the thumbnail of picture, and the step of executing S204.
Using picture A-3 corresponding with pending picture as the thumbnail through picture enhancing treated pending picture A, And execute S204 steps.
It is understood that the implementation procedure of S204 steps and the implementation procedure in aforementioned S204 steps are complete in this step Complete the same, which is not described herein again.
It should be noted that search Bitmap cachings neutralize in the memory cache of non-decoding picture with the presence or absence of with it is pending When the corresponding pictures of picture A, which can be completed by memory cache module, and the memory of Bitmap caching and non-decoding picture Caching belongs to the different piece in memory cache, may be collectively referred to as memory cache.
S206:, instructed according to load, picture corresponding with pending picture searched in hard disk cache.
Illustratively, it is instructed according to the load of acquisition, is searched and A pairs of pending picture in the hard disk cache of electronic equipment The picture A-3 answered.If not finding picture corresponding with pending picture in hard disk cache, S201 steps are executed;If hard Picture corresponding with pending picture is found in disk caching, executes S207 S208 steps.
If finding picture A-3 corresponding with pending picture in hard disk cache, and figure corresponding with pending picture Piece A-3 resolution ratio be less than pending picture A resolution ratio, and/or picture A-3 sizes corresponding with pending picture be less than wait locating In the case of the size for managing picture A, S207 steps are executed.
If finding picture A-3 corresponding with pending picture in hard disk cache, and figure corresponding with pending picture Piece A-3 resolution ratio is not less than the resolution ratio of pending picture A, and/or picture A-3 sizes corresponding with pending picture are not less than In the case of the size of pending picture A, S208 steps are executed.
It is understood that picture A-3 corresponding with pending picture A is the picture for including identical content.Such as it waits for Ms's yellow surplus wind coat is shown in processing picture A, then what picture A-3 corresponding with pending picture A included is also One Ms's yellow surplus wind coat.In practical applications, term " hard disk " can refer to:Mechanical hard disk, solid state disk, SD card The energy such as (Secure Digital Memory Card, safety digital storage card), TF card (Trans-flash Card, flash card) Enough supports can not make the storage device of the loss of data of storage after device powers down.
It should be noted that when whether there is picture corresponding with pending picture A in search hard disk, which can be by Hard disk cache module is completed.The process that picture corresponding with pending picture is searched in hard disk cache can be by following code reality It is existing:
EncodedImage newDiskCacheProducer(ImageRequest request)。
S207:Using picture corresponding with pending picture as the thumbnail of pending picture, and execute S203 steps.
Illustratively, since picture A-3 resolution ratio corresponding with pending picture is less than the resolution ratio of pending picture A, And/or picture A-3 sizes corresponding with pending picture are less than the size of pending picture A, if directly will be with pending figure The corresponding picture A-3 of piece is shown, can reduce user experience, therefore will pair picture A-3 progress corresponding with pending picture Picture enhances.It needs using picture A-3 corresponding with pending picture as the thumbnail A-1 of pending picture A, and executes S203 Step.
It is understood that the implementation procedure of S203 steps and the implementation procedure in aforementioned S203 steps are complete in this step Complete the same, which is not described herein again.
S208:Using picture corresponding with pending picture as the breviary through picture enhancing treated pending picture Figure, and execute S204 steps.
Illustratively, since picture A-3 resolution ratio corresponding with pending picture is not less than the resolution of pending picture A Rate, and/or picture A-3 sizes corresponding with pending picture are not less than the size of pending picture A, directly will be with pending figure The corresponding picture A-3 of piece is shown, will not reduce user experience, therefore does not need a couple picture A- corresponding with pending picture 3 carry out picture enhancing.It directly can wait locating using picture A-3 corresponding with pending picture as after image enhancement processing The thumbnail A-1 of picture A is managed, and executes S204 steps.
It is understood that the implementation procedure of S204 steps and the implementation procedure in aforementioned S204 steps are complete in this step Complete the same, which is not described herein again.
Using embodiment illustrated in fig. 5 of the present invention, before the thumbnail for downloading pending picture, first in electronic equipment It deposits and searches whether there is picture corresponding with pending picture in caching, when if there is picture corresponding with pending picture, The thumbnail that pending picture is downloaded from network can not be had to, it is possible to reduce the flow of user consumes.In addition, using memory Present in caching when picture corresponding with pending picture, directly read from the memory cache of electronic equipment, relative to from The thumbnail of pending picture is obtained in network, it is possible to reduce the reaction time improves the speed for showing pending picture, Jin Erti High user experience.
To solve prior art problem, the embodiment of the present invention additionally provides the third pending picture loading method.
Fig. 6 is the flow diagram of the third pending picture loading method provided in an embodiment of the present invention, such as Fig. 6 institutes Show, embodiment illustrated in fig. 6 of the present invention increases following steps on the basis of embodiment illustrated in fig. 2 of the present invention:
S209:By the memory cache of the thumbnail storage through picture enhancing treated pending picture to non-decoding picture In hard disk cache.
The thumbnail A-1 for carrying out picture enhancing treated pending picture A by S203 steps is stored in and is not decoded In the memory cache and hard disk cache of picture.
S2010:It is cached decoded to Bitmap through picture enhancing treated thumbnail storage.
Thumbnail A-1 to carrying out picture enhancing treated pending picture A by S203 steps is decoded, and is obtained Picture A-4, then will be in picture A-4 storages to Bitmap cachings.
In practical applications, picture conversion can be carried out with thumbnail A-1, after being converted to bitmap picture, then will be after decoding Bitmap picture corresponding with thumbnail A-1 be stored in Bitmap caching in.
Using embodiment illustrated in fig. 6 of the present invention, the thumbnail of treated the pending picture of enhancing in picture can be deposited It stores up in memory cache and hard disk cache, when next time in use, directly transferring, improves the load for showing pending picture Speed improves user experience.
Fig. 7 is the flow diagram that a kind of picture provided in an embodiment of the present invention enhances processing method, as shown in fig. 7, S203 steps may include S203A and S203B, wherein
S203A:Value added by the resolution ratio of pending picture relative to the resolution ratio of the thumbnail of pending picture, and Value added of the size of pending picture relative to the size of pending picture enhances parameter as picture.
It illustratively, can be according to the resolution ratio of the thumbnail A-1 of the resolution ratio and pending picture A of pending picture A Resolution ratios of the pending picture A relative to the thumbnail A-1 of pending picture A is calculated, similar can also calculating waits for Handle ratios of the picture A relative to the size of the thumbnail A-1 of pending picture A.According to the pending picture A of calculating relative to The resolution ratio of the thumbnail A-1 of pending picture A, the value added of calculating resolution;Similar, according to pending picture A The ratio of the size of thumbnail A-1 relative to pending picture A, calculates the value added of size, and then by the increase of resolution ratio The value added of value and/or size enhances parameter as picture.
For example, the ratio of resolution ratio of the pending picture A relative to thumbnail A-1 is 1.5, then pending picture A is opposite In thumbnail A-1 resolution ratio value added be 1.5-1=0.5 times;Similar can calculate pending picture A relative to contracting The value added of the size of sketch map A-1, and then enhance parameter using the value added of the value added of resolution ratio and/or size as picture.
It in practical applications, can also be according to the thumbnail A-1's of the resolution ratio and pending picture A of pending picture A Resolution ratio calculates differences of the pending picture A relative to the resolution ratio of the thumbnail A-1 of pending picture A, it is similar can be with Calculate differences of the pending picture A relative to the size of the thumbnail A-1 of pending picture A.Using above-mentioned difference as image Enhance parameter.Can also by the pending picture A of calculating relative to the thumbnail A-1 of pending picture A resolution ratio and/ Or and pending picture A relative to the size of the thumbnail A-1 of pending picture A ratio as picture enhance parameter.
S203B:The parameter for enhancing algorithm using picture enhancing parameter as preset picture is enhanced using preset picture and is calculated Method carries out picture enhancing processing to the thumbnail of pending picture.
Illustratively, enhance the parameter of algorithm using the picture obtained in S203A steps enhancing parameter as preset picture, Enhance algorithm using picture and picture enhancing is carried out to the thumbnail A-1 of pending picture.
Using the above embodiment of the present invention, picture enhancing can be carried out to the thumbnail of pending picture.
Fig. 8 is a kind of stream of the thumbnail loading method of the enhanced pending picture of picture provided in an embodiment of the present invention Journey schematic diagram, as shown in figure 8, S204 steps may include S204A and S204B, wherein
S204A:Thumbnail through picture enhancing treated pending picture is decoded.
Illustratively, using picture decoding algorithm, to the thumbnail A-1 of picture enhancing treated pending picture A into Row decoding, obtains decoded picture A-5.
It is understood that being the prior art to the process that picture is decoded using picture decoding algorithm, here no longer It repeats.
S204B:Will be decoded, the thumbnail through picture enhancing treated pending picture as pending picture into Row load.
Illustratively, it is loaded the picture A-5 obtained in S204A steps as pending picture A.
Using the above embodiment of the present invention, pending picture can be loaded.
Corresponding with embodiment illustrated in fig. 2 of the present invention, the present invention also provides the first pending picture loading devices.
Fig. 9 is the structural schematic diagram of the first pending picture loading device provided in an embodiment of the present invention, such as Fig. 9 institutes Show, which includes:Download module 901, judgment module 902, enhancing module 903 and the first setup module 904, wherein
Download module 901, the thumbnail for downloading pending picture according to the load instruction of acquisition, and waited for described in acquisition Handle the resolution parameter and dimensional parameters of picture;
The judgment module 902, for judging whether the pending photo resolution is more than the pending picture Whether thumbnail resolution and/or the pending dimension of picture are more than the thumbnail dimensions of the pending picture;
The enhancing module 903, in the case where the judging result of the judgment module is to be, utilizing preset figure Piece enhances algorithm, and picture enhancing processing is carried out to the thumbnail of the pending picture;
First setup module 904, the thumbnail for that will enhance treated the pending picture through picture are made It is loaded for pending picture.
Using embodiment illustrated in fig. 9 of the present invention, what is obtained from network is the thumbnail of pending picture, when needing to load When pending picture, enhances algorithm using picture and enhancing processing is carried out to the thumbnail of pending picture, and then obtain pending Picture, compared with the existing technology in need to download the highest picture of resolution ratio of pending picture, required flow is less, can be with Flow is saved for user.
It is corresponding with embodiment illustrated in fig. 5 of the present invention, the embodiment of the present invention this provide second of pending picture load Device.
Figure 10 is the structural schematic diagram of second provided in an embodiment of the present invention pending picture loading device.Such as Figure 10 institutes Show, embodiment illustrated in fig. 10 of the present invention increases on the basis of embodiment illustrated in fig. 9 of the present invention:First searching module 905, Second searching module 906, the second setup module 907 and third setup module 908, wherein
First searching module 905 searches in memory cache for being instructed according to the load of acquisition and waits locating with described Manage the corresponding picture of picture;
Second searching module 906, it is described corresponding with pending picture for not found in the memory cache Picture in the case of, instructed according to the load, corresponding with pending picture picture searched in hard disk cache;
Second setup module 907, for finding the picture corresponding with pending picture, and institute in hard disk cache Photo resolution corresponding with pending picture is stated less than the resolution ratio of the pending picture and/or described and pending figure In the case that the corresponding dimension of picture of piece is less than the size of the pending picture;It will be described corresponding with the pending picture Thumbnail of the picture as the pending picture, and trigger the enhancing module;
Third setup module 908, for finding the picture corresponding with pending picture, and institute in hard disk cache State photo resolution corresponding with pending picture not less than the pending picture resolution ratio and/or it is described with it is pending It, will be described corresponding with pending picture in the case of size of the corresponding dimension of picture of picture not less than the pending picture Picture triggers first setup module as the thumbnail through picture enhancing treated the pending picture.
The download module 901, if corresponding with the pending picture specifically for not found in hard disk cache In the case of picture, the described the step of thumbnail of pending picture is downloaded according to the load instruction of acquisition is executed.
Using embodiment illustrated in fig. 10 of the present invention, before the thumbnail for downloading pending picture, first in electronic equipment Search whether there is picture corresponding with pending picture in memory cache, if there is picture corresponding with pending picture When, the thumbnail that pending picture is downloaded from network can not had to, it is possible to reduce the flow of user consumes.In addition, using Present in memory cache when picture corresponding with pending picture, directly read from the memory cache of electronic equipment, relatively In the thumbnail for obtaining pending picture from network, it is possible to reduce the reaction time improves the speed for showing pending picture, into And improve user experience.
Optionally, in a kind of specific implementation mode of the embodiment of the present invention, described device further includes:Third searches mould Block, the 4th setup module, the 5th setup module, the 4th searching module, the 6th setup module and the 7th setup module, wherein
The third searching module, for searching picture corresponding with the pending picture in Bitmap cachings;
4th setup module, for finding the picture corresponding with pending picture in being cached in Bitmap, And the photo resolution corresponding with pending picture be less than the pending picture resolution ratio and/or it is described with wait locating It, will the described and pending picture pair in the case of managing the size that the corresponding dimension of picture of picture is less than the pending picture Thumbnail of the picture answered as the pending picture, and the thumbnail of the pending picture and the load are instructed The memory cache of non-decoding picture is sent to so that the memory cache of the non-decoding picture triggers the enhancing module 903;
5th setup module, for finding the picture corresponding with pending picture in being cached in Bitmap, And the photo resolution corresponding with pending picture not less than the pending picture resolution ratio and/or it is described with wait for It, will described and pending picture pair in the case of handling size of the corresponding dimension of picture of picture not less than the pending picture The picture answered triggers first setup module as the thumbnail through picture enhancing treated the pending picture 904;
4th searching module, for not finding picture corresponding with pending picture in Bitmap cachings In the case of, it is instructed according to the load, picture corresponding with pending picture is searched in the memory cache of non-decoding picture;
6th setup module, for finding described and pending picture pair in the memory cache of non-decoding picture The picture answered, and the photo resolution corresponding with pending picture is less than resolution ratio and/or the institute of the pending picture In the case of stating size of the dimension of picture corresponding with pending picture less than the pending picture, wait locating with described by described Manage thumbnail of the corresponding picture of picture as the pending picture, and by the thumbnail of the pending picture and described Load instruction is sent to hard disk cache so that the hard disk cache triggers the enhancing module 903;
7th setup module, for finding described and pending picture pair in the memory cache of non-decoding picture The picture answered, and the photo resolution corresponding with pending picture is not less than the resolution ratio of the pending picture, and/or The dimension of picture corresponding with pending picture not less than the pending picture size in the case of, by it is described with wait locating It manages the corresponding picture of picture and is used as the thumbnail through the picture pending picture that enhances that treated, and trigger described first and set Set module 904;
Second searching module 906, specifically for do not found in the memory cache of non-decoding picture it is described with wait for In the case of handling the corresponding picture of picture, the step that picture corresponding with pending picture is searched in hard disk cache is executed Suddenly.
Using the above embodiment of the present invention, may search for Bitmap cachings neutralize in the memory cache of non-decoding picture whether In the presence of picture corresponding with pending picture.
Corresponding with embodiment illustrated in fig. 6 of the present invention, the embodiment of the present invention additionally provides the third pending picture load Device.
Figure 11 is the structural schematic diagram of the third pending picture loading device provided in an embodiment of the present invention, such as Figure 11 institutes Show, embodiment illustrated in fig. 11 of the present invention increases the first memory module 909 and on the basis of embodiment illustrated in fig. 9 of the present invention Two memory modules 9010, wherein
First memory module 909, for by the breviary through picture enhancing treated the pending picture In figure storage to the memory cache and hard disk cache of non-decoding picture;
Second memory module 9010, for described treated that thumbnail storage is arrived through picture enhancing by decoded In Bitmap cachings.
Using embodiment illustrated in fig. 11 of the present invention, the thumbnail of treated the pending picture of enhancing in picture can be deposited It stores up in memory cache and hard disk cache, when next time in use, directly transferring, improves the load for showing pending picture Speed improves user experience.
Optionally, in a kind of specific implementation mode of the embodiment of the present invention, the enhancing module 903, including:First sets Set submodule and enhancing submodule, wherein
The first setting submodule, is used for the resolution ratio of the pending picture relative to the pending picture The increase of the value added of the resolution ratio of thumbnail and the size of the pending picture relative to the size of the pending picture Value enhances parameter as picture;
The enhancing submodule, the parameter for enhancing algorithm using picture enhancing parameter as preset picture, profit Enhance algorithm with preset picture, picture enhancing processing is carried out to the thumbnail of the pending picture.
Using the above embodiment of the present invention, picture enhancing can be carried out to the thumbnail of pending picture.
Optionally, in a kind of specific implementation mode of the embodiment of the present invention, first setup module 904, including:Solution Numeral module and the second setting submodule, wherein
The decoding sub-module, for being solved to the thumbnail through picture enhancing treated the pending picture Code;
The second setting submodule, for will be decoded, through picture enhancing treated the pending picture Thumbnail is loaded as pending picture.
Using the above embodiment of the present invention, pending picture can be loaded.
Corresponding with embodiment illustrated in fig. 2 of the present invention, the embodiment of the present invention additionally provides a kind of electronic equipment.
Figure 12 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention, and as shown in figure 12, which sets Standby includes processor 1201, communication interface 1202, memory 1203 and communication bus 1204, wherein processor 1201, communication connects Mouth 1202, memory 1203 completes mutual communication by communication bus 1204;
Memory 1203, for storing computer program;
Processor 1201 when for executing the program stored on memory, realizes following steps:
The thumbnail of pending picture is downloaded according to the load instruction of acquisition, and obtains the resolution ratio of the pending picture Parameter and dimensional parameters;
Judge whether the pending photo resolution is more than thumbnail resolution and/or the institute of the pending picture State the thumbnail dimensions whether pending dimension of picture is more than the pending picture;
If so, enhancing algorithm using preset picture, picture enhancing processing is carried out to the thumbnail of the pending picture;
Thumbnail through picture enhancing treated the pending picture is loaded as pending picture.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Pomponent Interconnect, abbreviation PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, abbreviation EISA) bus etc..The communication bus can be divided into address bus, data/address bus, controlling bus etc.. For ease of indicating, only indicated with a thick line in figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, abbreviation RAM), can also include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.Optionally, memory may be used also To be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, Abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal Processing, abbreviation DSP), application-specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), field programmable gate array (Field-Programmable Gate Array, Abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can It reads to be stored with instruction in storage medium, when run on a computer, realizes following steps:
The thumbnail of pending picture is downloaded according to the load instruction of acquisition, and obtains the resolution ratio of the pending picture Parameter and dimensional parameters;
Judge whether the pending photo resolution is more than thumbnail resolution and/or the institute of the pending picture State the thumbnail dimensions whether pending dimension of picture is more than the pending picture;
If so, enhancing algorithm using preset picture, picture enhancing processing is carried out to the thumbnail of the pending picture;
Thumbnail through picture enhancing treated the pending picture is loaded as pending picture.
In another embodiment provided by the invention, a kind of computer program product including instruction is additionally provided, when it When running on computers so that computer realizes following steps:
The thumbnail of pending picture is downloaded according to the load instruction of acquisition, and obtains the resolution ratio of the pending picture Parameter and dimensional parameters;
Judge whether the pending photo resolution is more than thumbnail resolution and/or the institute of the pending picture State the thumbnail dimensions whether pending dimension of picture is more than the pending picture;
If so, enhancing algorithm using preset picture, picture enhancing processing is carried out to the thumbnail of the pending picture;
Thumbnail through picture enhancing treated the pending picture is loaded as pending picture.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or its arbitrary combination real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to the flow or function described in the embodiment of the present invention.The computer can be all-purpose computer, special meter Calculation machine, computer network or other programmable devices.The computer instruction can be stored in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state disk Solid State Disk (SSD)) etc..
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, identical similar portion between each embodiment Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to embodiment of the method Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (13)

1. a kind of pending picture loading method, which is characterized in that the method includes:
The thumbnail that pending picture is downloaded according to the load instruction of acquisition, obtain the pending picture resolution parameter and Dimensional parameters;
Judge whether the pending photo resolution is more than the thumbnail resolution of the pending picture, and/or described waits for Handle the thumbnail dimensions whether dimension of picture is more than the pending picture;
If the pending photo resolution is more than the thumbnail resolution of the pending picture, and/or the pending figure Chip size is more than the thumbnail dimensions of the pending picture, then enhances algorithm using preset picture, to the pending figure The thumbnail of piece carries out picture enhancing processing;
Thumbnail through picture enhancing treated the pending picture is loaded as pending picture.
2. according to the method described in claim 1, it is characterized in that, downloading pending picture according to the load instruction of acquisition Before thumbnail, the method further includes:
It is instructed according to the load of acquisition, picture corresponding with the pending picture is searched in memory cache;
If not finding picture corresponding with the pending picture in the memory cache, instructed according to the load, Picture corresponding with pending picture is searched in hard disk cache;
If finding picture corresponding with the pending picture in hard disk cache, and the figure corresponding with pending picture Chip resolution is less than the resolution ratio of the pending picture and/or the dimension of picture corresponding with pending picture is less than institute State the size of pending picture;Using the picture corresponding with the pending picture as the breviary of the pending picture Figure, and execute described using preset picture enhancing algorithm, the thumbnail progress picture enhancing processing to the pending picture The step of;
If alternatively, find picture corresponding with the pending picture in hard disk cache, and it is described with pending picture pair Resolution ratio of the photo resolution answered not less than the pending picture and/or the picture ruler corresponding with pending picture The picture corresponding with pending picture is used as after picture enhancing processing by the very little size not less than the pending picture The pending picture thumbnail, and execute described by the thumbnail through picture enhancing treated the pending picture The step of being loaded as pending picture;
If not finding picture corresponding with the pending picture in hard disk cache, executes and described is referred to according to the load of acquisition The step of enabling the thumbnail for downloading pending picture.
3. according to the method described in claim 2, it is characterized in that, being found in the memory cache and the pending figure In the case of the corresponding picture of piece, the method further includes:
Picture corresponding with the pending picture is searched in bitmap file Bitmap caching;
If finding the picture corresponding with pending picture in Bitmap cachings, and described corresponding with pending picture Photo resolution is less than the resolution ratio of the pending picture and/or the dimension of picture corresponding with pending picture is less than The size of the pending picture, using the picture corresponding with the pending picture as the breviary of the pending picture Figure, and the thumbnail of the pending picture and the load instruction are sent to the memory cache of non-decoding picture so that institute It states Bitmap cachings and executes described using preset picture enhancing algorithm, the thumbnail progress picture increasing to the pending picture The step of strength is managed;
If alternatively, find the picture corresponding with pending picture in Bitmap cachings, and described and pending picture Resolution ratio of the corresponding photo resolution not less than the pending picture and/or the picture corresponding with pending picture Size is not less than the size of the pending picture, and the picture corresponding with pending picture is used as and is handled through picture enhancing The thumbnail of the pending picture afterwards, and execute described by the breviary through picture enhancing treated the pending picture The step of figure is loaded as pending picture;
If alternatively, not finding picture corresponding with pending picture in Bitmap cachings, instructed according to the load, not Picture corresponding with pending picture is searched in the memory cache of decoding picture;
If the picture corresponding with pending picture is found in the memory cache of non-decoding picture, and it is described with it is pending The corresponding photo resolution of picture is less than the resolution ratio of the pending picture and/or the figure corresponding with pending picture Chip size is less than the size of the pending picture, will the picture corresponding with the pending picture as described pending The thumbnail of picture, and the thumbnail of the pending picture and load instruction are sent to hard disk cache so that described Hard disk cache execution is described to enhance algorithm using preset picture, is carried out at picture enhancing to the thumbnail of the pending picture The step of reason;
If alternatively, find the picture corresponding with pending picture in the memory cache of non-decoding picture, and it is described and The corresponding photo resolution of pending picture is not less than the resolution ratio of the pending picture and/or described with pending picture Corresponding dimension of picture is not less than the size of the pending picture, and the picture corresponding with pending picture is used as through figure The thumbnail of piece enhancing treated the pending picture, and execute that described will to enhance that treated through picture described pending The step of thumbnail of picture is loaded as pending picture;
If alternatively, not finding the picture corresponding with pending picture in the memory cache of non-decoding picture, institute is executed State the step of picture corresponding with pending picture is searched in hard disk cache.
4. according to the method described in claim 1, it is characterized in that, the method further includes:
By the memory cache of the thumbnail storage through picture enhancing treated the pending picture to non-decoding picture In hard disk cache;
It described is cached decoded to Bitmap through picture enhancing treated thumbnail storage.
5. according to the method described in claim 1, it is characterized in that, the utilization preset picture enhancing algorithm, is waited for described The thumbnail for handling picture carries out picture enhancing processing, including:
The value added relative to the resolution ratio of the thumbnail of the pending picture and institute by the resolution ratio of the pending picture The value added of the size of pending picture relative to the size of the pending picture is stated, enhances parameter as picture;
The parameter for enhancing algorithm using picture enhancing parameter as preset picture enhances algorithm using preset picture, right The thumbnail of the pending picture carries out picture enhancing processing.
6. according to the method described in claim 1, it is characterized in that, described will enhance treated the pending figure through picture The thumbnail of piece is loaded as pending picture, including:
Thumbnail through picture enhancing treated the pending picture is decoded;
Will be decoded, the thumbnail through picture enhancing treated the pending picture is added as pending picture It carries.
7. a kind of pending picture loading device, which is characterized in that described device includes:Download module, judgment module, enhancing mould Block and the first setup module, wherein
The download module, the thumbnail for downloading pending picture according to the load instruction of acquisition, obtains described pending The resolution parameter and dimensional parameters of picture;
The judgment module, for judging whether the pending photo resolution is more than the thumbnail point of the pending picture Whether resolution, and/or the pending dimension of picture are more than the thumbnail dimensions of the pending picture;
The enhancing module, if being more than the thumbnail resolution of the pending picture for the pending photo resolution, And/or the pending dimension of picture is more than the thumbnail dimensions of the pending picture, then is calculated using the enhancing of preset picture Method carries out picture enhancing processing to the thumbnail of the pending picture;
First setup module, for the thumbnail of treated the pending picture will to be enhanced as pending through picture Picture is loaded.
8. device according to claim 7, which is characterized in that described device further includes:First searching module, second are searched Module, the second setup module and third setup module, wherein
First searching module is searched and the pending picture for being instructed according to the load of acquisition in memory cache Corresponding picture;
Second searching module, for not finding the picture corresponding with pending picture in the memory cache In the case of, it is instructed according to the load, picture corresponding with pending picture is searched in hard disk cache;
Second setup module, for finding the picture corresponding with pending picture in hard disk cache, and it is described with wait for It handles the corresponding photo resolution of picture and is less than the resolution ratio of the pending picture and/or described corresponding with pending picture Dimension of picture be less than the pending picture size in the case of;It will the picture work corresponding with the pending picture For the thumbnail of the pending picture, and trigger the enhancing module;
Third setup module, for finding the picture corresponding with pending picture in hard disk cache, and it is described with wait for The corresponding photo resolution of picture is handled not less than the resolution ratio of the pending picture and/or described and pending picture pair In the case of size of the dimension of picture answered not less than the pending picture, the picture corresponding with pending picture is made For the thumbnail through picture enhancing treated the pending picture, and trigger first setup module;
The download module, if the feelings specifically for not finding picture corresponding with the pending picture in hard disk cache Under condition, the described the step of thumbnail of pending picture is downloaded according to the load instruction of acquisition is executed.
9. device according to claim 8, which is characterized in that described device further includes:Third searching module, the 4th setting Module, the 5th setup module, the 4th searching module, the 6th setup module and the 7th setup module, wherein
The third searching module, for searching picture corresponding with the pending picture in Bitmap cachings;
4th setup module, for finding the picture corresponding with pending picture, and institute in being cached in Bitmap Photo resolution corresponding with pending picture is stated less than the resolution ratio of the pending picture and/or described and pending figure It, will be described corresponding with the pending picture in the case that the corresponding dimension of picture of piece is less than the size of the pending picture Thumbnail of the picture as the pending picture, and the thumbnail of the pending picture and load instruction are sent Memory cache to non-decoding picture is so that the memory cache of the non-decoding picture triggers the enhancing module;
5th setup module, for finding the picture corresponding with pending picture, and institute in being cached in Bitmap State photo resolution corresponding with pending picture not less than the pending picture resolution ratio and/or it is described with it is pending It, will be described corresponding with pending picture in the case of size of the corresponding dimension of picture of picture not less than the pending picture Picture triggers first setup module as the thumbnail through picture enhancing treated the pending picture;
4th searching module, for the case where not finding picture corresponding with pending picture in Bitmap cachings Under, it is instructed according to the load, picture corresponding with pending picture is searched in the memory cache of non-decoding picture;
6th setup module, it is described corresponding with pending picture for being found in the memory cache of non-decoding picture Picture, and the photo resolution corresponding with pending picture be less than the pending picture resolution ratio and/or it is described with It, will be described with the pending figure in the case that the corresponding dimension of picture of pending picture is less than the size of the pending picture Thumbnail of the corresponding picture of piece as the pending picture, and by the thumbnail of the pending picture and the load Instruction is sent to hard disk cache so that the hard disk cache triggers the enhancing module;
7th setup module, it is described corresponding with pending picture for being found in the memory cache of non-decoding picture Picture, and the photo resolution corresponding with pending picture is not less than the resolution ratio of the pending picture and/or described It, will described and pending figure in the case of size of the dimension of picture corresponding with pending picture not less than the pending picture The corresponding picture of piece triggers the first setting mould as the thumbnail through picture enhancing treated the pending picture Block;
Second searching module, specifically for not finding described and pending picture in the memory cache of non-decoding picture In the case of corresponding picture, described the step of picture corresponding with pending picture is searched in hard disk cache is executed.
10. device according to claim 7, which is characterized in that described device further includes:First memory module and second is deposited Store up module, wherein
First memory module, for arriving the thumbnail storage through picture enhancing treated the pending picture In the memory cache and hard disk cache of non-decoding picture;
Second memory module, for described treated that thumbnail storage is delayed to Bitmap through picture enhancing by decoded In depositing.
11. device according to claim 7, which is characterized in that the enhancing module, including:First setting submodule and Enhance submodule, wherein
The first setting submodule, for the breviary by the resolution ratio of the pending picture relative to the pending picture The value added of the value added of the resolution ratio of figure and the size of the pending picture relative to the size of the pending picture, Enhance parameter as picture;
The enhancing submodule, the parameter for enhancing algorithm using picture enhancing parameter as preset picture, using pre- If picture enhance algorithm, picture enhancing processing is carried out to the thumbnail of the pending picture.
12. device according to claim 7, which is characterized in that first setup module, including:Decoding sub-module and Second setting submodule, wherein
The decoding sub-module, for being decoded to the thumbnail through picture enhancing treated the pending picture;
The second setting submodule, for will be decoded, the breviary through picture enhancing treated the pending picture Figure is loaded as pending picture.
13. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein processing Device, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any method and steps of claim 1-6.
CN201810049852.8A 2018-01-18 2018-01-18 Picture loading method and device and electronic equipment Active CN108287892B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810049852.8A CN108287892B (en) 2018-01-18 2018-01-18 Picture loading method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810049852.8A CN108287892B (en) 2018-01-18 2018-01-18 Picture loading method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN108287892A true CN108287892A (en) 2018-07-17
CN108287892B CN108287892B (en) 2022-03-04

Family

ID=62835486

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810049852.8A Active CN108287892B (en) 2018-01-18 2018-01-18 Picture loading method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN108287892B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918592A (en) * 2019-01-17 2019-06-21 平安城市建设科技(深圳)有限公司 Loading method, device, terminal and the computer readable storage medium of picture
CN111581553A (en) * 2020-04-17 2020-08-25 上海携程商务有限公司 Network image display method, system, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106528617A (en) * 2016-09-30 2017-03-22 北京小米移动软件有限公司 Webpage picture display method and apparatus
US20170123617A1 (en) * 2014-03-26 2017-05-04 Beijing Qihoo Technology Company Limited Picture loading apparatus and method
CN107463627A (en) * 2017-07-11 2017-12-12 深圳市云领天下科技有限公司 A kind of picture loading method and terminal
CN107480169A (en) * 2017-06-28 2017-12-15 努比亚技术有限公司 Picture loading method, terminal and computer-readable recording medium
CN107566733A (en) * 2017-09-29 2018-01-09 深圳市聚宝汇科技有限公司 A kind of picture transmission method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170123617A1 (en) * 2014-03-26 2017-05-04 Beijing Qihoo Technology Company Limited Picture loading apparatus and method
CN106528617A (en) * 2016-09-30 2017-03-22 北京小米移动软件有限公司 Webpage picture display method and apparatus
CN107480169A (en) * 2017-06-28 2017-12-15 努比亚技术有限公司 Picture loading method, terminal and computer-readable recording medium
CN107463627A (en) * 2017-07-11 2017-12-12 深圳市云领天下科技有限公司 A kind of picture loading method and terminal
CN107566733A (en) * 2017-09-29 2018-01-09 深圳市聚宝汇科技有限公司 A kind of picture transmission method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918592A (en) * 2019-01-17 2019-06-21 平安城市建设科技(深圳)有限公司 Loading method, device, terminal and the computer readable storage medium of picture
CN111581553A (en) * 2020-04-17 2020-08-25 上海携程商务有限公司 Network image display method, system, electronic equipment and storage medium
CN111581553B (en) * 2020-04-17 2024-02-06 上海携程商务有限公司 Network image display method, system, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN108287892B (en) 2022-03-04

Similar Documents

Publication Publication Date Title
CN106941567A (en) Show method, device and the user terminal of network picture
CN104536973B (en) The method and browser client of picture recognition
CN102982106B (en) The pre- method and apparatus for opening webpage
CN105554085B (en) A kind of dynamic timeout treatment method and apparatus based on server connection
CN106933871A (en) Short linking processing method, device and short linked server
CN104346345B (en) The storage method and device of data
CN102323887B (en) Browser engine-based method for dynamically loading Widget and mobile terminal
CN108287892A (en) A kind of picture loading method, device and electronic equipment
CN109558507A (en) Threedimensional model rendering method and system
CN104063407A (en) Browser architecture based on cloud computing and analysis method
CN115098412B (en) Peripheral access controller, data access device and corresponding method, medium and chip
CN108197160A (en) A kind of picture loading method and device
CN107484190A (en) Method for connecting network, mobile terminal and computer-readable recording medium
CN106997351A (en) A kind of caching resource management method and system and device
CN109242458A (en) Approaches to IM and relevant device based on block chain
CN105955833A (en) Engine calling method and device
CN103580991B (en) The method for uploading and equipment of a kind of Email attachment
CN104536780B (en) A kind of electronic game resource high-efficiency loading method and system
CN103646115A (en) Method and system for client side to access to webpage
CN109510850A (en) The processing method of browse request, apparatus and system
CN109639801A (en) Back end distribution and data capture method and system
CN109669678A (en) Template engine integration method, device, electronic equipment and storage medium
CN110929195B (en) Data caching strategy determining method and device and electronic equipment
CN110020297A (en) A kind of loading method of web page contents, apparatus and system
CN104392408B (en) A kind of system and method showing image

Legal Events

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