CN106294339A - The method and device Loaded Image in application - Google Patents

The method and device Loaded Image in application Download PDF

Info

Publication number
CN106294339A
CN106294339A CN201510239547.1A CN201510239547A CN106294339A CN 106294339 A CN106294339 A CN 106294339A CN 201510239547 A CN201510239547 A CN 201510239547A CN 106294339 A CN106294339 A CN 106294339A
Authority
CN
China
Prior art keywords
target photo
colour
feature
picture
client
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.)
Pending
Application number
CN201510239547.1A
Other languages
Chinese (zh)
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510239547.1A priority Critical patent/CN106294339A/en
Publication of CN106294339A publication Critical patent/CN106294339A/en
Pending legal-status Critical Current

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This application discloses the method and device Loaded Image in application, wherein, described method includes: when can receive the page load request of client, determine Target Photo to be presented in target pages;Determine the feature colour of described Target Photo;When to described client back page data, described feature colour is returned to described client, in order to described client, before Target Photo has loaded, shows in corresponding viewing area according to described feature colour.With it, client display occupy-place figure or the display content that causes of the occupy-place color problem the best with user interactivity can be solved, improve the interactivity of display content and user.

Description

The method and device Loaded Image in application
Technical field
The application relates to image applied technical field, particularly relates to the method and device Loaded Image in application.
Background technology
In the system of server/customer end constitution, server is by the client installed in a user device Application provides various information.Especially in terminal unit diversified and extensive universal today, it is provided that various The client application of the information of type also emerges in an endless stream, and such as video software, news ocr software, electricity business put down Platform software etc..In many client application APP, user interface is designed to device of shifting block type or list Formula, is provided with the display unit of multiple device of shifting block type or list type the most in the user interface, and single in each display Unit loads corresponding picture, the information carrier such as word.Believed by the picture character in each display unit etc. Breath, makes the user can be to having the understanding of general view in corresponding, such that it is able to select interested further Content is checked.The picture loaded in client application APP, can include that such as video thumbnails, news are joined Figure, product figure etc..
Relative to the Word message loaded in display unit, the data volume of picture is bigger, such as, and one section of news Title typically only has the data volume of several crossed joints, and the data volume of corresponding news figure is likely to be breached tens very To KB up to a hundred (kilobytes).The difference of this data volume result in client application APP and Loading Image In time, often postpone relatively long, and when particularly network environment residing for client is not ideal enough, picture loads and prolongs Slow phenomenon is even more serious.In order to reach to maintain the purpose such as structure of user interface, in the prior art, when Need to Load Image in each display unit content time, downloading before each picture first by preset occupy-place figure, Or the picture region in display unit is filled with by occupy-place color, after picture has been downloaded, re-uses down The picture carried replaces the occupy-place figure in respective regions or occupy-place color.Under this implementation, used accounts for Bitmap or occupy-place color are the most dull, and before intended image content has been downloaded, user can only see Dull occupy-place figure or occupy-place color, cause showing that content and user's is the most not ideal enough.Accordingly, it would be desirable to this The problem that skilled person solves is that, how to improve the interactivity of display content and user.
Summary of the invention
This application provides the method and device Loaded Image in application, can solve to show that content is handed over user The problem that property is the best mutually, improves the interactivity of display content and user.
This application provides following scheme:
A kind of method Loaded Image in application, including:
When receiving the page load request of client, determine Target Photo to be presented in target pages;
Determine the feature colour of described Target Photo;
When to described client back page data, described feature colour is returned to described client, with Toilet stated client before Target Photo has loaded, according to described feature colour in corresponding viewing area In show.
A kind of generation method of pictorial information data base, including:
Picture in system is carried out color detection, determines the color composition of described picture;
Color composition according to described picture, determines the feature colour of described picture;
By the corresponding relation of described picture Yu feature colour, it is saved in pictorial information data base, in order to when needing When showing described picture in the page of client, before described picture has loaded, according to described spy Levy colour to show in the viewing area that the page is corresponding.
A kind of method Loaded Image in application, including:
User end to server sends page load request, in order to described server is determined in the described page and treated The Target Photo shown, and after determining the feature colour of Target Photo, described feature colour is returned;
Receive described feature value information;
Before described Target Photo in the page has loaded, according to described Target Photo characteristic of correspondence color Value, shows in viewing area corresponding in the page.
A kind of device Loaded Image in application, including:
Picture determines unit, during for receiving the page load request of client, determines in target pages and treats The Target Photo shown;
Feature colour determines unit, for determining the feature colour of described Target Photo;
Feature colour returns unit, for when to described client back page data, by described feature Value returns to described client, in order to described client is before Target Photo has loaded, according to described spy Levy colour to show in corresponding viewing area.
A kind of generating means of pictorial information data base, including:
Color detection unit, for the picture in system is carried out color detection, determines the color of described picture Composition;
Picture feature determines unit, forms for the color according to described picture, determines the feature of described picture Colour;
Data saving unit, for by the corresponding relation of described picture Yu feature colour, being saved in pictorial information In data base, in order to when needing to show described picture in the page of client, loaded at described picture Before one-tenth, show in the viewing area that the page is corresponding according to described feature colour.
A kind of device Loaded Image in application, including:
Load request transmitting element, sends page load request for user end to server, in order to described clothes Target Photo to be presented in the described page determined by business device, and after determining the feature colour of Target Photo, Described feature colour is returned;
Feature colour receives unit, is used for receiving described feature value information;
Feature colour display unit, before the described Target Photo in the page has loaded, according to institute State Target Photo characteristic of correspondence colour, viewing area corresponding in the page shows.
The specific embodiment provided according to the application, this application discloses techniques below effect:
By the embodiment of the present application, when receiving the page load request of client, determine the mesh that band is shown Mark on a map the feature colour of sheet and Target Photo, feature colour is returned to client, make the client can be Before Target Photo receives or loaded, show in corresponding viewing area according to feature colour, keep away Exempted from client machine-made display occupy-place figure or display content that occupy-place color causes with user interactivity not Good problem, further, owing to feature colour is that the color composition according to Target Photo determines, aobvious Showing when region shows, the display of feature colour and Target Photo have certain relatedness, can be aobvious Give the information that user is certain before showing Target Photo, improve the interactivity of display content and user.
Certainly, the arbitrary product implementing the application it is not absolutely required to reach all the above advantage simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, below will be to enforcement In example, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only Some embodiments of the application, for those of ordinary skill in the art, are not paying creative work Under premise, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of the method Loaded Image in the application that one embodiment of the application provides;
Fig. 2 is the flow chart of the generation method of the pictorial information data base that one embodiment of the application provides;
Fig. 3 is the flow chart of the method Loaded Image in the Another Application that one embodiment of the application provides;
Fig. 4 is the schematic diagram of the first device that one embodiment of the application provides;
Fig. 5 is the schematic diagram of the second device that one embodiment of the application provides;
Fig. 6 is the schematic diagram of the 3rd device that one embodiment of the application provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clearly Chu, be fully described by, it is clear that described embodiment be only some embodiments of the present application rather than Whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art obtained all its His embodiment, broadly falls into the scope of the application protection.
Embodiment one
As it is shown in figure 1, the schematic diagram of the method Loaded Image in its application for the embodiment of the present application one offer, The method may comprise steps of:
S110: when receiving the page load request of client, determines target figure to be presented in target pages Sheet;
When client content of pages to be loaded, can connect at server to the corresponding page of server request When receiving the page load request of client, can first determine Target Photo to be presented.When implementing, Can be according to the load mechanism of client, in server, the aspect such as the storage of file or processing mode has difference Implementation.Such as, under a kind of implementation, server is in advance by each page and relevant file Organizing together, picture file is distinguished with different ID, and now, server can be according to client The page of request, is disposably defined as Target Photo by all of picture concerned file;And for example real at another kind Under existing mode, client realizes dynamic load content of pages, and it is interior that first client loads that current screen shows Holding, according to the screen pull operation of user, dynamic loading screen content to display, in this realization Under mode, server will wherein can show according to the currently displaying content of screen of client request Picture file be defined as Target Photo.The most in actual applications, the concrete needs according to application can also Having other implementation, this is not limited by the embodiment of the present application.
S120: determine the feature colour of described Target Photo;
Prior art uses occupy-place figure or occupy-place color fill viewing area, cause showing that content is handed over user One of mutual dissatisfactory reason, the content that may be summarized to be occupy-place figure and occupy-place color is more dull, and with right The display content answered does not has incidence relation.Such as, when using simple occupy-place color, load mesh in client Marking on a map before sheet, the picture viewing area at interface is often a piece of white, and user possibly cannot know and to show here Show is a width picture or other content, when comprising more picture in the page, and the white that display is large stretch of May make user that full page is all felt confused, it is impossible to whether to determine the opened page according to display content For the desired page, loading continuing waiting for the page etc. maybe cannot be decided whether.And in the embodiment of the present application In one method provided, after Target Photo to be presented in determining target pages, may further determine that mesh Marking on a map the feature colour of sheet, then the feature colour of picture is returned to client, client can be according to spy Levy colour, show in the corresponding viewing area of Target Photo, owing at viewing area display color being Carry out according to feature colour, and feature colour determines according to corresponding Target Photo, thus aobvious When showing the page, add the relatedness of display content and realistic objective picture, enhance display content and user Interactivity.
When implementing the feature colour determining Target Photo, can there is multiple implementation, enter individually below Row is introduced.First server can be real-time, i.e. for client to the determination of Target Photo feature colour Real-time page load request, server can be after determining Target Photo, and real-time calculating determines target figure The feature colour of sheet.Under another kind of implementation, it is also possible to the pictorial information number pre-build by inquiry According to storehouse, determine the feature colour of Target Photo.Wherein, the pictorial information data base pre-build can preserve Picture and the corresponding relation of feature colour.Owing to the most usually preserving a large amount of picture, server is permissible Pre-build pictorial information data base, the corresponding relation of picture Yu feature colour is saved in wherein, client During the end request of loading page, can query page load request is corresponding in pictorial information data base target figure The feature colour of sheet, thus the feature colour of Target Photo is determined according to the result of inquiry.Further, as Pictorial information data base does not really exist Target Photo, i.e. inquires about less than accordingly from pictorial information data base Feature colour, such as the picture for newly uploading, may the most not be able to do in time to join characteristic of correspondence colour In pictorial information data, at this point it is possible to Target Photo is carried out color detection, determine the color of Target Photo Composition, forms according to the color of Target Photo, determines the feature colour of Target Photo.
When implementing the feature colour that the composition of the color according to Target Photo determines Target Photo, can be by mesh Mark on a map the highest color value of accounting in the color composition of sheet, be defined as the feature colour of this Target Photo, target The color value that in the color composition of picture, accounting is the highest has typically represented the dominant hue of this Target Photo, thus can Color value the highest for accounting to be defined as the feature colour of this Target Photo.Preferably, it is also possible to the most true Set the goal the central area of picture, such as, take the area at Target Photo center 60 percent as central area, The color value that in the color of Target Photo central area being formed, accounting is the highest, is defined as the spy of this Target Photo Levy colour, this is because, in a particular application, figure typically serves to illustration, and is positioned in picture The region part of the heart, it is common that the main part of picture, takes in the central area color composition of Target Photo and accounts for Than the highest color value, generally can represent the main body tone of this picture, and advantageously reduce the meter of server Calculation amount.Computer data express in, feature colour can be RGB form, CMYK form or its The data that his form represents, this is not limited by the embodiment of the present application.
If additionally, the feature of Target Photo overlaps with the background colour of context of software color or the page, then existed When showing according to feature, corresponding picture region and context of software or page layout background color are it may happen that obscure. When determining the feature colour that the composition of the color according to Target Photo determines Target Photo, can first determine mesh The background colour of the mark page, if the color value that in color composition, accounting is the highest and the background colour of target pages Identical, it is determined that other color value are as the feature colour of Target Photo, such as, color accounting second is high Color value.I.e. when determining feature colour according to accounting, the outer accounting of target pages background colour will be removed the highest Color value, be defined as the feature colour of this Target Photo.
S130: when to described client back page data, described feature colour is returned to described client End, in order to described client, before Target Photo has loaded, shows corresponding according to described feature colour Show in region and show.
After determining the feature colour of Target Photo, can be when to client back page data, by spy Levy colour and return to client, in order to client is before Target Photo has loaded, according to feature colour right The viewing area answered shows.Each viewing area characteristic of correspondence colour, can be at page data code Middle write, so, client is after completing to receive page code, it is possible to show in corresponding viewing area Color representated by feature colour.The example of the page code of write-in characteristic colour is as follows:
{
……
item_id:“25164646407”,
title:“TITLE”,
key_color“ff273b”,
……
}
Wherein, representated by key_color field is feature colour, and its value is ff273b, is RGB pattern Under color value.After having received Target Photo, client can be with Target Photo in corresponding viewing area Display to feature colour is replaced.
Additionally, simple display one color, as pure red, ater etc., may visually have Color impacts, thus, a kind of preferably scheme is when showing according to feature, can be in shown face Adding certain transparency on color, the size of transparency can have server end control, it is possibility to have client Control, under the implementation that server end controls, can return when to client back page data Return corresponding transparence value, client before Target Photo has loaded, can according to feature colour and Corresponding transparence value, shows in corresponding viewing area.Wherein, Target Photo can include industry Business object figure, such as video interception, news figure, product figure in electricity business's platform software etc..
The method Loaded Image in the application provided the embodiment of the present application one above is described in detail, With it, the Target Photo that band is shown can be determined when receiving the page load request of client And the feature colour of Target Photo, feature colour is returned to client, makes the client can be at target figure Sheet receives or before having loaded, show in the viewing area of correspondence according to feature colour, it is to avoid visitor Ask the best with user interactivity of display content that family end machine-made display occupy-place figure or occupy-place color cause Topic, further, owing to feature colour is that the color composition according to Target Photo determines, in viewing area When showing, the display of feature colour and Target Photo have certain relatedness, can be in display target Give the information that user is certain before picture, improve the interactivity of display content and user.
Embodiment two
As in figure 2 it is shown, the stream of the generation method of its pictorial information data base provided for the embodiment of the present application two Cheng Tu, the method may comprise steps of:
S210: the picture in system is carried out color detection, determines the color composition of described picture;
The embodiment of the present application two provides a kind of generation method of pictorial information data base, the data base generated Save the corresponding relation between the feature colour of picture and picture, may be used at client request of loading mesh Mark on a map sheet time, to pictorial information, data base retrieves, return characteristic of correspondence colour, in order to client exists Receive or before loaded targets picture, show in corresponding viewing area according to feature colour.The most permissible Picture in system is carried out color detection, determines the color composition of picture.Picture in system can include Product figure that in the business object figure that user uploads, such as electricity business's platform, seller user uploads etc..
S220: form according to the color of described picture, determine the feature colour of described picture;
Next can form according to the color of each picture, determine the feature colour of picture.Specifically determining figure During the feature colour of sheet, it is referred to the content part in the embodiment of the present application one step S120, at this just Repeat the most one by one.
S230: by the corresponding relation of described picture Yu feature colour, is saved in pictorial information data base, with When box lunch needs to show described picture in the page of client, before described picture has loaded, according to Described feature colour shows in the viewing area that the page is corresponding.
After determining the feature colour of picture, the corresponding relation of picture Yu feature colour can be saved in In pictorial information data base, in order to when needing exhibiting pictures in the page of client, inquire about this picture letter Breath data base, it is thus achieved that characteristic of correspondence colour also returns, make client can before picture has loaded, Show in the viewing area that the page is corresponding according to feature colour.
The introduction of the generation method of the pictorial information data provided for the embodiment of the present application two above, passes through the party Method, can generate the pictorial information data base of the corresponding relation preserved between picture and the feature colour of picture, When may be used at client request of loading Target Photo, to pictorial information, data base retrieves, and returns Characteristic of correspondence colour, in order to client is before reception or loaded targets picture, according to feature colour in correspondence Viewing area show, client can be made when showing the page, it is to avoid client is machine-made The problem that the display content that display occupy-place figure or occupy-place color cause is the best with user interactivity, due to feature colour It is that the color composition according to Target Photo determines, when viewing area shows, the display of feature colour With Target Photo, there is certain relatedness, the prompting letter that user is certain can be given before display Target Photo Breath, improves the interactivity of display content and user.
Embodiment three
The embodiment of the present application three provides the method Loaded Image in application, can apply to client, such as figure Shown in 3, providing the flow chart of the method Loaded Image in application for application embodiment three, the method is permissible Comprise the following steps:
S310: user end to server sends page load request, in order to described server determines described page Target Photo to be presented in face, and after determining the feature colour of Target Photo, described feature colour is returned Return;
Client, when the loaded targets page, can send page load request to server, and server is permissible Determining picture to be presented in the page, wherein server can be disposably by figures to be shown all in the page Sheet is defined as Target Photo, it is also possible to ask according to the real-time loading of client, is worked as to be shown for client Forth screen picture to be presented is defined as Target Photo.And then may determine that the feature colour of Target Photo, will Determined by feature colour return.Server determines the feature colour of Target Photo, and backout feature colour Implementation, be referred to step S120 in the embodiment of the present application one and the content in step S130, Repeat the most one by one at this.
S320: receive described feature value information;
Client is receiving or before loaded targets picture, can first receive the to be presented of server end return The feature colour of Target Photo.
S330: before the described Target Photo in the page has loaded, corresponding according to described Target Photo Feature colour, shows in viewing area corresponding in the page.
After receiving the feature colour of Target Photo, can before the Target Photo in the page loaded, According to Target Photo characteristic of correspondence colour, viewing area corresponding in the page shows.Preferably, Can show in corresponding viewing area with certain transparency when display, it is to avoid because of display pure color band The visual impact come.Additionally, client can receive server return Target Photo content-data, and After completing the reception of Target Photo content, in viewing area corresponding in the page, by the display of feature colour Replace with Target Photo.So, in the case of some network conditions are undesirable, client is at the display page In Target Photo before, the feature colour of the picture with Target Photo with relatedness can be shown.
Furthermore it is also possible to first the network environment residing for client is carried out evaluation of speed, if evaluation of speed Result less than preset threshold value, then sends the first signal to server, in order to server is according to described first letter Number, return described feature colour to described client.I.e. in advance the network environment of client is judged, In the case of the network environment of client is undesirable, just implements to show first with feature colour, receive Target Photo replaces the method for the feature colour of viewing area after completing, otherwise, if the net residing for client Network environment is the most preferable, the most directly request and loaded targets picture.To save data transmission, improve application The motility of this method.
The method Loaded Image in the application provided the embodiment of the present application three above is described in detail, With it, can be after user end to server sends page load request, server determines the page In Target Photo to be presented, and feature colour is returned after determining the feature colour of Target Photo, client End receives the feature information of Target Photo, before the Target Photo in the page has loaded, according to target The viewing area that picture characteristic of correspondence colour is corresponding in the page shows.Avoid client thousand Display content that same display occupy-place figure or occupy-place color cause and the best problem of user interactivity, further , owing to feature colour is that the color composition according to Target Photo determines, when viewing area shows, The display of feature colour and Target Photo have certain relatedness, can use before display Target Photo The information that family is certain, improves the interactivity of display content and user.
Corresponding with the embodiment of the present application one, additionally provide the device Loaded Image in application, as shown in Figure 4, This device may include that
Picture determines unit 410, during for receiving the page load request of client, determines target pages In Target Photo to be presented;
Feature colour determines unit 420, for determining the feature colour of Target Photo;
Feature colour returns unit 430, for when to client back page data, feature colour is returned Back to client, in order to client, before Target Photo has loaded, shows corresponding according to feature colour Show in region and show.
Wherein, feature colour determines that unit 420 may include that
Fisrt feature colour determines subelement, the pictorial information data base pre-build by inquiry, determines mesh Mark on a map the feature colour of sheet;Pictorial information data base preserves the corresponding relation of picture and feature colour.
If pictorial information data base does not exist Target Photo, then can form according to the color of Target Photo, Determine the feature colour of Target Photo under this implementation, this device can also include:
Color composition determines unit, if there is not Target Photo in pictorial information data base, then to target figure Sheet carries out color detection, determines the color composition of Target Photo;And,
Fisrt feature colour determines subelement, forms specifically for the color according to Target Photo, determines target The feature colour of picture.
Concrete, fisrt feature colour determines that subelement may be used for:
The color value that in the color of Target Photo being formed, accounting is the highest, is defined as the feature of this Target Photo Value.
Under another kind of implementation, fisrt feature colour determines that subelement specifically may be used for:
Determining the central area of Target Photo, in the color of Target Photo central area being formed, accounting is the highest Color value, is defined as the feature colour of this Target Photo.
Additionally, in order to by the background colour of the theme color of the feature colour of Target Photo and application or the page in addition district Point, this device can also include:
Second feature colour determines subelement, for determining the background colour of target pages, in order to according to accounting for Than when determining feature colour, by removing the color value that outside background colour, accounting is the highest, it is defined as this Target Photo Feature colour.
Additionally, the device Loaded Image in this application can also include:
Transparence value returns unit, for when to client back page data, returns corresponding transparency Value, in order to client is before Target Photo has loaded, according to feature colour and the transparence value of correspondence, Corresponding viewing area shows.
Wherein, Target Photo includes business object figure.
The device Loaded Image in the application provided the embodiment of the present application above is described, by this dress Put, can determine, when receiving the page load request of client, Target Photo and target that band shows The feature colour of picture, returns to client by feature colour, make client can Target Photo receive or Before person has loaded, show in corresponding viewing area according to feature colour, it is to avoid client thousand Display content that same display occupy-place figure or occupy-place color cause and the best problem of user interactivity, further , owing to feature colour is that the color composition according to Target Photo determines, when viewing area shows, The display of feature colour and Target Photo have certain relatedness, can use before display Target Photo The information that family is certain, improves the interactivity of display content and user.
Corresponding with the embodiment of the present application two, additionally provide the generating means of pictorial information data base, such as Fig. 5 Shown in, this device may include that
Color detection unit 510, for the picture in system is carried out color detection, determines the color of picture Composition;
Picture feature determines unit 520, forms for the color according to picture, determines the feature colour of picture;
Data saving unit 530, for by the corresponding relation of picture Yu feature colour, being saved in pictorial information In data base, in order to when needing exhibiting pictures in the page of client, before picture has loaded, Show in the viewing area that the page is corresponding according to feature colour.
Wherein, the picture in system can include the business object figure that user uploads.
By the generating means of this pictorial information data base, the feature colour preserving picture with picture can be generated Between the pictorial information data base of corresponding relation, when may be used at client request of loading Target Photo, To pictorial information, data base retrieves, and returns characteristic of correspondence colour, in order to client is receiving or loading Before Target Photo, show in corresponding viewing area according to feature colour, client can be made in display During the page, it is to avoid display content that client machine-made display occupy-place figure or occupy-place color cause and user The problem that interactivity is the best, owing to feature colour is that the color composition according to Target Photo determines, in display When region shows, the display of feature colour and Target Photo have certain relatedness, can be in display Give the information that user is certain before Target Photo, improve the interactivity of display content and user.
Corresponding with the embodiment of the present application three, additionally provide the device Loaded Image in another kind of application, such as figure Shown in 6, this device may include that
Load request transmitting element 610, sends page load request for user end to server, in order to clothes Target Photo to be presented in the page determined by business device, and after determining the feature colour of Target Photo, by spy Levy colour to return;
Feature colour receives unit 620, is used for receiving feature value information;
Feature colour display unit 630, before the Target Photo in the page has loaded, according to mesh Mark on a map sheet characteristic of correspondence colour, viewing area corresponding in the page shows.
After reception Target Photo completes, it is possible to use the viewing area of display feature colour is entered by Target Photo Row replaces display, and this device can also include:
Display replacement unit, for receiving the Target Photo content-data that server returns, and completes target After the reception of image content, in viewing area corresponding in the page, the display of feature colour is replaced with mesh Mark on a map sheet.
Under another kind of implementation, this device can also include:
Speed platform unit, for carrying out evaluation of speed to the network environment residing for client;And,
Network speed information transmitting unit, if the result for evaluation of speed is less than preset threshold value, then to service Device sends the first signal, in order to server is according to the first signal, to client backout feature colour.
Can be determined by server after user end to server sends page load request by this device Target Photo to be presented in the page, and determine and feature colour is returned after the feature colour of Target Photo, Client receives the feature information of Target Photo, before the Target Photo in the page has loaded, according to The viewing area that Target Photo characteristic of correspondence colour is corresponding in the page shows.Avoid client The problem that the display content that machine-made display occupy-place figure or occupy-place color cause is the best with user interactivity, enters One step, owing to feature colour is that the color composition according to Target Photo determines, show in viewing area When showing, the display of feature colour and Target Photo have certain relatedness, can be before display Target Photo Give the information that user is certain, improve the interactivity of display content and user.
As seen through the above description of the embodiments, those skilled in the art is it can be understood that arrive this Application can add the mode of required general hardware platform by software and realize.Based on such understanding, this Shen The part that prior art is contributed by technical scheme please the most in other words can be with the shape of software product Formula embodies, and this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., including some instructions with so that computer equipment (can be personal computer, server, Or the network equipment etc.) perform each embodiment of the application or the method described in some part of embodiment.
Each embodiment in this specification all uses the mode gone forward one by one to describe, phase homophase between each embodiment As part see mutually, what each embodiment stressed is the difference with other embodiments. For system or system embodiment, owing to it is substantially similar to embodiment of the method, so describing Obtaining fairly simple, relevant part sees the part of embodiment of the method and illustrates.System described above and System embodiment is only schematically, and the wherein said unit that illustrates as separating component can be or also Can not be physically separate, the parts shown as unit can be or may not be physical location, I.e. may be located at a place, or can also be distributed on multiple NE.Can be according to actual need Select some or all of module therein to realize the purpose of the present embodiment scheme.Ordinary skill Personnel, in the case of not paying creative work, are i.e. appreciated that and implement.
Above to the method and device Loaded Image in application provided herein, it is described in detail, Principle and the embodiment of the application are set forth by specific case used herein, above example Illustrate that being only intended to help understands the present processes and core concept thereof;General simultaneously for this area Technical staff, according to the thought of the application, the most all will change. In sum, this specification content should not be construed as the restriction to the application.

Claims (26)

1. the method Loaded Image in an application, it is characterised in that including:
When receiving the page load request of client, determine Target Photo to be presented in target pages;
Determine the feature colour of described Target Photo;
When to described client back page data, described feature colour is returned to described client, with Toilet stated client before Target Photo has loaded, according to described feature colour in corresponding viewing area In show.
Method the most according to claim 1, it is characterised in that described determine described Target Photo Feature colour, including:
The pictorial information data base pre-build by inquiry, determines the feature colour of described Target Photo;Institute State pictorial information data base and preserve the corresponding relation of picture and feature colour.
Method the most according to claim 2, it is characterised in that also include:
If described pictorial information data base does not exist described Target Photo, then described Target Photo is carried out Color detection, determines the color composition of described Target Photo;
Color composition according to described Target Photo, determines the feature colour of described Target Photo.
Method the most according to claim 3, it is characterised in that described according to described Target Photo Color forms, and determines the feature colour of described Target Photo, including:
The color value that in the color of described Target Photo being formed, accounting is the highest, is defined as the spy of this Target Photo Levy colour.
Method the most according to claim 3, it is characterised in that described according to described Target Photo Color forms, and determines the feature colour of described Target Photo, including:
Determine the central area of described Target Photo, account for during the color of described Target Photo central area is formed Than the highest color value, it is defined as the feature colour of this Target Photo.
6. according to the method described in claim 4 or 5, it is characterised in that also include:
Determine the background colour of described target pages, in order to when determining feature colour according to accounting, will remove The color value that the outer accounting of described background colour is the highest, is defined as the feature colour of this Target Photo.
Method the most according to claim 1, it is characterised in that also include:
When to described client back page data, return corresponding transparence value, in order to described client Before Target Photo has loaded, according to described feature colour and the transparence value of correspondence, in correspondence Viewing area shows.
Method the most according to claim 1, it is characterised in that described Target Photo includes business pair As figure.
9. the generation method of a pictorial information data base, it is characterised in that including:
Picture in system is carried out color detection, determines the color composition of described picture;
Color composition according to described picture, determines the feature colour of described picture;
By the corresponding relation of described picture Yu feature colour, it is saved in pictorial information data base, in order to when needing When showing described picture in the page of client, before described picture has loaded, according to described spy Levy colour to show in the viewing area that the page is corresponding.
Method the most according to claim 9, it is characterised in that the picture in described system includes using The business object figure that family is uploaded.
The method Loaded Image in 11. 1 kinds of application, it is characterised in that including:
User end to server sends page load request, in order to described server is determined in the described page and treated The Target Photo shown, and after determining the feature colour of Target Photo, described feature colour is returned;
Receive described feature value information;
Before described Target Photo in the page has loaded, according to described Target Photo characteristic of correspondence color Value, shows in viewing area corresponding in the page.
12. methods according to claim 11, it is characterised in that also include:
Receive the Target Photo content-data that server returns, and complete the reception of described Target Photo content After, in viewing area corresponding in the described page, the display of described feature colour is replaced with described target Picture.
13. methods according to claim 11, it is characterised in that also include:
Network environment residing for client is carried out evaluation of speed;
If the result of described evaluation of speed is less than preset threshold value, then send the first signal to server, with Just server is according to described first signal, returns described feature colour to described client.
The device Loaded Image in 14. 1 kinds of application, it is characterised in that including:
Picture determines unit, during for receiving the page load request of client, determines in target pages and treats The Target Photo shown;
Feature colour determines unit, for determining the feature colour of described Target Photo;
Feature colour returns unit, for when to described client back page data, by described feature Value returns to described client, in order to described client is before Target Photo has loaded, according to described spy Levy colour to show in corresponding viewing area.
15. devices according to claim 14, it is characterised in that described feature colour determines unit, Including:
Fisrt feature colour determines subelement, the pictorial information data base pre-build by inquiry, determines institute State the feature colour of Target Photo;Described pictorial information data base preserves picture pass corresponding with feature colour System.
16. devices according to claim 15, it is characterised in that also include:
Color composition determines unit, if there is not described Target Photo in described pictorial information data base, then Described Target Photo is carried out color detection, determines the color composition of described Target Photo;
Described fisrt feature colour determines subelement, forms specifically for the color according to described Target Photo, Determine the feature colour of described Target Photo.
17. devices according to claim 16, it is characterised in that described fisrt feature colour determines Subelement, specifically for:
The color value that in the color of described Target Photo being formed, accounting is the highest, is defined as the spy of this Target Photo Levy colour.
18. devices according to claim 16, it is characterised in that described fisrt feature colour determines Subelement, specifically for:
Determine the central area of described Target Photo, account for during the color of described Target Photo central area is formed Than the highest color value, it is defined as the feature colour of this Target Photo.
19. according to the device described in claim 17 or 18, it is characterised in that also include:
Second feature colour determines subelement, for determining the background colour of described target pages, in order at root When determining feature colour according to accounting, the color value the highest by removing the outer accounting of described background colour, it is defined as this The feature colour of Target Photo.
20. devices according to claim 14, it is characterised in that also include:
Transparence value returns unit, for when to described client back page data, returns the saturating of correspondence Brightness value, in order to described client is before Target Photo has loaded, according to described feature colour and right The transparence value answered, shows in corresponding viewing area.
21. devices according to claim 14, it is characterised in that described Target Photo includes business Object figure.
The generating means of 22. 1 kinds of pictorial information data bases, it is characterised in that including:
Color detection unit, for the picture in system is carried out color detection, determines the color of described picture Composition;
Picture feature determines unit, forms for the color according to described picture, determines the feature of described picture Colour;
Data saving unit, for by the corresponding relation of described picture Yu feature colour, being saved in pictorial information In data base, in order to when needing to show described picture in the page of client, loaded at described picture Before one-tenth, show in the viewing area that the page is corresponding according to described feature colour.
23. devices according to claim 22, it is characterised in that the picture in described system includes The business object figure that user uploads.
The device Loaded Image in 24. 1 kinds of application, it is characterised in that including:
Load request transmitting element, sends page load request for user end to server, in order to described clothes Target Photo to be presented in the described page determined by business device, and after determining the feature colour of Target Photo, Described feature colour is returned;
Feature colour receives unit, is used for receiving described feature value information;
Feature colour display unit, before the described Target Photo in the page has loaded, according to institute State Target Photo characteristic of correspondence colour, viewing area corresponding in the page shows.
25. devices according to claim 24, it is characterised in that also include:
Display replacement unit, for receiving the Target Photo content-data that server returns, and complete described After the reception of Target Photo content, in viewing area corresponding in the described page, by described feature colour Display replaces with described Target Photo.
26. devices according to claim 24, it is characterised in that also include:
Speed platform unit, for carrying out evaluation of speed to the network environment residing for client;
Network speed information transmitting unit, if for the result of described evaluation of speed less than preset threshold value, then to Server sends the first signal, in order to server, according to described first signal, returns described to described client Feature colour.
CN201510239547.1A 2015-05-12 2015-05-12 The method and device Loaded Image in application Pending CN106294339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510239547.1A CN106294339A (en) 2015-05-12 2015-05-12 The method and device Loaded Image in application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510239547.1A CN106294339A (en) 2015-05-12 2015-05-12 The method and device Loaded Image in application

Publications (1)

Publication Number Publication Date
CN106294339A true CN106294339A (en) 2017-01-04

Family

ID=57630828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510239547.1A Pending CN106294339A (en) 2015-05-12 2015-05-12 The method and device Loaded Image in application

Country Status (1)

Country Link
CN (1) CN106294339A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107197353A (en) * 2017-05-24 2017-09-22 环球智达科技(北京)有限公司 The processing method of the occupy-place figure of interface images
CN107222773A (en) * 2017-05-24 2017-09-29 环球智达科技(北京)有限公司 The processing system of the occupy-place figure of interface images
CN107562802A (en) * 2017-08-07 2018-01-09 腾讯科技(深圳)有限公司 Text data display methods and device and storage medium and electronic installation
CN108595235A (en) * 2018-03-20 2018-09-28 车音智能科技有限公司 A kind of picture loading method and device
CN108846872A (en) * 2018-07-09 2018-11-20 苏州浪潮智能软件有限公司 A kind of image processing method and device
CN109992736A (en) * 2019-03-20 2019-07-09 腾讯科技(深圳)有限公司 Webpage dynamically load effect implementation method, device, terminal and storage medium
CN110634049A (en) * 2019-09-05 2019-12-31 北京无限光场科技有限公司 Page display content processing method and device, electronic equipment and readable medium
CN111431947A (en) * 2020-06-15 2020-07-17 广东睿江云计算股份有限公司 Method and system for optimizing display of cloud desktop client
CN111562894A (en) * 2019-02-14 2020-08-21 阿里巴巴集团控股有限公司 Layer display method, device and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7747749B1 (en) * 2006-05-05 2010-06-29 Google Inc. Systems and methods of efficiently preloading documents to client devices
CN102253942A (en) * 2010-05-21 2011-11-23 腾讯数码(天津)有限公司 Image display method and equipment
CN103218989A (en) * 2013-04-09 2013-07-24 广东欧珀移动通信有限公司 Personalized display method and personalized display terminal during picture preloading
CN103677942A (en) * 2013-12-30 2014-03-26 Tcl集团股份有限公司 Method and device for browsing network pictures at mobile terminal
CN104063392A (en) * 2013-03-20 2014-09-24 腾讯科技(深圳)有限公司 Loading method and device for reading content

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7747749B1 (en) * 2006-05-05 2010-06-29 Google Inc. Systems and methods of efficiently preloading documents to client devices
CN102253942A (en) * 2010-05-21 2011-11-23 腾讯数码(天津)有限公司 Image display method and equipment
CN104063392A (en) * 2013-03-20 2014-09-24 腾讯科技(深圳)有限公司 Loading method and device for reading content
CN103218989A (en) * 2013-04-09 2013-07-24 广东欧珀移动通信有限公司 Personalized display method and personalized display terminal during picture preloading
CN103677942A (en) * 2013-12-30 2014-03-26 Tcl集团股份有限公司 Method and device for browsing network pictures at mobile terminal

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107197353A (en) * 2017-05-24 2017-09-22 环球智达科技(北京)有限公司 The processing method of the occupy-place figure of interface images
CN107222773A (en) * 2017-05-24 2017-09-29 环球智达科技(北京)有限公司 The processing system of the occupy-place figure of interface images
CN107562802A (en) * 2017-08-07 2018-01-09 腾讯科技(深圳)有限公司 Text data display methods and device and storage medium and electronic installation
CN108595235A (en) * 2018-03-20 2018-09-28 车音智能科技有限公司 A kind of picture loading method and device
CN108846872A (en) * 2018-07-09 2018-11-20 苏州浪潮智能软件有限公司 A kind of image processing method and device
CN111562894A (en) * 2019-02-14 2020-08-21 阿里巴巴集团控股有限公司 Layer display method, device and equipment
CN109992736A (en) * 2019-03-20 2019-07-09 腾讯科技(深圳)有限公司 Webpage dynamically load effect implementation method, device, terminal and storage medium
CN110634049A (en) * 2019-09-05 2019-12-31 北京无限光场科技有限公司 Page display content processing method and device, electronic equipment and readable medium
CN110634049B (en) * 2019-09-05 2022-05-10 北京无限光场科技有限公司 Page display content processing method and device, electronic equipment and readable medium
CN111431947A (en) * 2020-06-15 2020-07-17 广东睿江云计算股份有限公司 Method and system for optimizing display of cloud desktop client

Similar Documents

Publication Publication Date Title
CN106294339A (en) The method and device Loaded Image in application
CN106528025B (en) Multi-screen image projection method, terminal, server and system
CN106533899A (en) Information display processing method, device and system
CN109032720A (en) Folder icon display methods, system, readable storage medium storing program for executing and terminal
CN104794121A (en) Portal information display method and device
CN105337841A (en) Information processing method and system, client, and server
CN103893970A (en) Managing objectives associated with a virtual space based on characters made accessible responsive to corresponding tokens being detected
JP5042346B2 (en) Information display apparatus, method and program
CN106529456A (en) Information matching and information transmitting/receiving method, device and target object finding system
CN105872814A (en) Showing method and device of video information
CN114816308B (en) Information partition display method and related equipment
CN109104632A (en) A kind of realization method and system of television terminal AR scene
CN113839998B (en) Image data transmission method, apparatus, device, storage medium, and program product
CN107609665A (en) The online choosing method of hotel room and system of OTA websites
CN107169134A (en) Promotion information display method and device and electronic equipment
CN106878760B (en) Draw and parse the method and device of present
CN108269103A (en) The display methods of the page, the providing method of advertising information, client and server
CN107396142A (en) Interface navigation data processing method
CN109522429B (en) Method and apparatus for generating information
CN104615709A (en) Information display method and device
CN102663134B (en) Hot picture loading method, control server, client and system
CN108022079A (en) Sharing method, device and the computer-readable recording medium of Service Source
CN109547811B (en) Method, device and storage medium for displaying interactive content
CN113032060B (en) Visual element display method, device and terminal
CN111158826B (en) Interface skin generation method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170104

RJ01 Rejection of invention patent application after publication