CN103942290B - Method and apparatus for providing the image in webpage in the terminal - Google Patents
Method and apparatus for providing the image in webpage in the terminal Download PDFInfo
- Publication number
- CN103942290B CN103942290B CN201410145542.8A CN201410145542A CN103942290B CN 103942290 B CN103942290 B CN 103942290B CN 201410145542 A CN201410145542 A CN 201410145542A CN 103942290 B CN103942290 B CN 103942290B
- Authority
- CN
- China
- Prior art keywords
- image
- thumbnail
- webpage
- picture
- original image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
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
A kind of method and apparatus for being used to provide the image in webpage in the terminal is provided.Methods described includes:At least one image is extracted from webpage;Concentrate the image that extraction is presented in specific region in the screen of terminal;The image of presentation is handled according to the operation of user.According to methods described and equipment, the image in webpage flexibly can be effectively provided in the terminal.
Description
Technical field
The application is related to web browsing technology, particularly, is related to a kind of for providing a user in the terminal in webpage
Image method and apparatus.
Background technology
With the development of network technology, the communication technology and Digital Signal Processing, people are often through terminal(Such as move
Mobile communication terminal, personal computer, tablet personal computer, game machine, digital multimedia player etc.)Internet is accessed to browse webpage
On information, for example, webpage is opened by the browser application installed in terminal, so as to browse the contents such as news, message.
In fact, the information on webpage has been only no longer word, but there is increasing content of multimedia embedded in
In webpage, for example, being usually embedded with various images in the webpage browsed(For example, static picture, motion picture or video etc.),
Proportion shared by these images becomes increasing.
However, the image of embedded web page is not easy to check, can not more be further processed.For example, these images
The each position being typically distributed in webpage, it is desirable to finishing watching these images can be very time-consuming, position some image therein nor
It is often difficult, need constantly to scroll up the page often, this is only concerned image and wants the user for ignoring word content
Operational trouble is brought, while also have impact on the continuity browsed.
In addition, the image of the embedded page is also not easy to be handled and operated in itself.For example, for static picture and
Speech, the thumbnail of the usually static picture of the embedded page, the resolution ratio of itself is not high, if the desired acquisition of user is more high-quality
The original image of amount then need it is a series of be manually entered, it is very inconvenient.Moreover, user can not enter when browsing webpage to it
Edlin etc. is further handled.
In summary, existing very inflexible for the picture browsing mode in webpage, corresponding image provides scheme
The shortcoming in operational inconvenience and experience for a user be present.
The content of the invention
The present invention exemplary embodiment in provide it is a kind of can in the terminal flexibly effectively provide webpage in figure
The method and apparatus of picture.
According to an aspect of the present invention, there is provided a kind of method for being used to provide the image in webpage in the terminal, including:From
At least one image is extracted in webpage;Concentrate the image that extraction is presented in specific region in the screen of terminal;According to user's
Operate to handle the image of presentation.
In the process, the specific region can be located at top, lower section, left side or the right side of webpage, or, the spy
It can be the individual window outside webpage to determine region.
In the process, the specific region in the screen of terminal concentrates the step of image that extraction is presented may include:
Other contents in webpage in addition to images are included into the region in the screen of terminal in addition to the specific region.
In the process, the specific region can be the whole screen area occupied by webpage.
In the process, image can be static picture, motion picture or video.
In the process, image can be static picture, also, can the step of extract from webpage at least one image
Including:The thumbnail of static picture and/or the chained address of original image, and base are obtained from webpage by picture sniff technology
Thumbnail and/or original image are extracted in the chained address of thumbnail and/or original image.
In the process, the step of at least one image is extracted from webpage may include:By picture sniff technology from
The thumbnail of static picture and the chained address of original image are obtained in webpage, and thumbnail or original are based on according to network environment
Thumbnail or original image are optionally extracted in the chained address of beginning picture.
In the process, the specific region in the screen of terminal concentrates the step of image that extraction is presented may include:
Concentrate the image that extraction is presented in the specific region in screen when user selects picture browsing pattern in terminal.
In the process, the specific region in the screen of terminal concentrates the step of image that extraction is presented may include:
The sequence of pictures that will be presented is filtered out from the thumbnail and/or original image of extraction according to predetermined condition;According to predetermined
Form arranges the sequence of pictures that will be presented;The sequence of pictures of specific region output arrangement in the screen of terminal.
In the process, the predetermined condition may include the size and/or form of thumbnail and/or original image.
In the process, the predetermined form can be nine grids or waterfall manifold formula.
In the process, the operation of user can refer to the touch operation that user performs on the image of presentation.
In the process, may include according to the operation of user to handle the step of the image of presentation:According under user
Carry operation and thumbnail and/or original image corresponding at least one picture in the sequence of pictures of output are downloaded into terminal.
In the process, may include according to the operation of user to handle the step of the image of presentation:According to the volume of user
Operation is collected to edit thumbnail and/or original image corresponding at least one picture in the sequence of pictures of output.
In the process, may include according to the operation of user to handle the step of the image of presentation:According to the upper of user
Pass operation and the chained address of thumbnail and/or original image is uploaded into high in the clouds memory.
In the process, the high in the clouds memory may correspond to open the application of webpage.
In the process, may include according to the operation of user to handle the step of the image of presentation:According to the upper of user
Pass operation and the picture of the picture of download or editor is uploaded into high in the clouds memory.
In the process, at least one picture in sequence of pictures of the edit operation of user to edit output
The step of in, at least one picture in the sequence of pictures of output can be performed in following editing and processing at least one of:Rotation,
Scale, cut out, filter, splicing, mirror image.
Methods described can also include:When extracting static picture from identical webpage again in the given time, from cloud
Memory is held to obtain the chained address of thumbnail and/or original image, and the chained address based on thumbnail and/or original image
To extract thumbnail and/or original image.
Methods described can also include:Static picture was extracted from identical webpage again after the past in the scheduled time
When, the chained address of thumbnail and/or original image is obtained from high in the clouds memory first, and be based on thumbnail and/or original graph
Thumbnail and/or original image are extracted in the chained address of piece, after sequence of pictures is exported, by picture sniff technology again
The chained address of thumbnail and/or original image is obtained, and the chain of the thumbnail based on reacquisition and/or original image is grounded
Location updates the sequence of pictures of output.
According to another aspect of the present invention, there is provided a kind of equipment for being used to provide the image in webpage in the terminal, including:
Extraction element, for extracting at least one image from webpage;Device is presented, for the specific region collection in the screen of terminal
The middle image that extraction is presented;Image processing apparatus, the image of presentation is handled for the operation according to user.
In the apparatus, the specific region can be located at top, lower section, left side or the right side of webpage, or, the spy
It can be the individual window outside webpage to determine region.
In the apparatus, device, which is presented, to include the screen in terminal by other contents in webpage in addition to images
In region in addition to the specific region.
In the apparatus, the specific region can be the whole screen area occupied by webpage.
In the apparatus, image can be static picture, motion picture or video.
In the apparatus, image can be static picture, also, extraction element can be by picture sniff technology from webpage
The chained address of the middle thumbnail and/or original image for obtaining static picture, and the link based on thumbnail and/or original image
Thumbnail and/or original image are extracted in address.
In the apparatus, extraction element can be obtained by picture sniff technology from webpage static picture thumbnail and
The chained address of original image, and according to network environment and the chained address based on thumbnail or original image optionally carries
Take thumbnail or original image.
In the apparatus, the given zone that device can be when user selects picture browsing pattern in screen in terminal is presented
Concentrate the image that extraction is presented in domain.
In the apparatus, device is presented may include:Filter element, for the thumbnail according to predetermined condition from extraction
And/or the sequence of pictures that will be presented is filtered out in original image;Arrangement units, for will to arrange according to predetermined form
The sequence of pictures of presentation;Output unit, the sequence of pictures for the specific region output arrangement in the screen of terminal.
In the apparatus, the predetermined condition may include the size and/or form of thumbnail and/or original image.
In the apparatus, the predetermined form can be nine grids or waterfall manifold formula.
In the apparatus, the operation of user can refer to the touch operation that user performs on the image of presentation.
In the apparatus, image processing apparatus may include:Download unit, it will be exported for the down operation according to user
Sequence of pictures at least one picture corresponding to thumbnail and/or original image download to terminal.
In the apparatus, image processing apparatus may include:Edit cell, edited for the edit operation according to user
Thumbnail and/or original image corresponding at least one picture in the sequence of pictures of output.
In the apparatus, image processing apparatus may include:Uploading unit, for the upload operation according to user by breviary
The chained address of figure and/or original image uploads to high in the clouds memory.
In the apparatus, the high in the clouds memory may correspond to open the application of webpage.
In the apparatus, image processing apparatus may include:Uploading unit, it will be downloaded for the upload operation according to user
Picture or the picture of editor upload to high in the clouds memory.
In the apparatus, edit cell can perform following Editorial Services at least one picture in the sequence of pictures of output
At least one of in reason:Rotate, scale, cutting out, filter, splicing, mirror image.
In the apparatus, when extraction element extracts static picture from identical webpage again in the given time,
Extraction element can obtain the chained address of thumbnail and/or original image from high in the clouds memory, and based on thumbnail and/or original
Thumbnail and/or original image are extracted in the chained address of picture.
In the apparatus, static figure is extracted from identical webpage again after extraction element was in the past scheduled time
During piece, extraction element can obtain the chained address of thumbnail and/or original image from high in the clouds memory first, and be based on thumbnail
And/or thumbnail and/or original image are extracted in the chained address of original image, after export sequence of pictures, extraction element
The chained address of thumbnail and/or original image, and the thumbnail based on reacquisition are reacquired by picture sniff technology
And/or the chained address of original image updates the sequence of pictures of output.
The method and apparatus according to an exemplary embodiment of the present invention for being used to provide the image in webpage in the terminal, webpage
In image be extracted and concentrate and be presented in specific region, the image of presentation can also be handled according to the operation of user, from
And it is easy to user to browse the image in webpage.
Brief description of the drawings
By with reference to be exemplarily illustrated embodiment accompanying drawing carry out description, exemplary embodiment of the present it is upper
State and will become apparent with other purposes and feature, wherein:
Fig. 1 shows the frame according to an exemplary embodiment of the present invention for being used to provide the equipment of the image in webpage in the terminal
Figure;
Fig. 2 shows that webpage according to an exemplary embodiment of the present invention provides the block diagram of the presentation device in equipment;
Fig. 3 shows that webpage according to an exemplary embodiment of the present invention provides the block diagram of the image processing apparatus in equipment;
Fig. 4 shows the stream according to an exemplary embodiment of the present invention for being used to provide the method for the image in webpage in the terminal
Cheng Tu;
Fig. 5 shows the flow chart of the rendering step in webpage providing method according to an exemplary embodiment of the present invention.
Embodiment
Embodiments of the invention are reference will now be made in detail, the example of the embodiment is shown in the drawings, wherein, identical mark
Number identical part is referred to all the time.The embodiment will be illustrated by referring to accompanying drawing below, to explain the present invention.
Fig. 1 shows the frame according to an exemplary embodiment of the present invention for being used to provide the equipment of the image in webpage in the terminal
Figure.Here, as an example, the terminal can be mobile communication terminal, personal computer, tablet personal computer, game machine, numeral it is more
Media player etc. has access to internet to browse the electronic equipment of webpage.In addition, as an example, described image can be quiet
Only picture, motion picture or video etc. can be embedded in the visual media content in the page.
Include as shown in figure 1, webpage according to an exemplary embodiment of the present invention provides equipment:Extraction element 10, dress is presented
Put 20 and image processing apparatus 30.These devices can be by common hardwares such as digital signal processor, field programmable gate arrays
Reason device is realized, also can be realized by dedicated hardware processors such as special chips, can also completely by computer program come with
Software mode is realized, is used to browse the modules in the application of webpage in the terminal for example, being implemented as installation.
Particularly, extraction element 10 is used to extract at least one image from webpage.Here, as an example, it is described extremely
A few image can be static picture, motion picture or video content in embedded web page(For example, its representative picture).Specifically
In fact, extraction element 10 can use picture sniff technology(That is, the link of picture being wherein embedded in is determined according to the label of webpage
Address and and then extract picture technology)Obtaining the chained address of the picture in webpage, and phase is extracted based on chained address
The picture answered.In addition, extraction element 10 also can extract picture using any other known way from webpage.In static picture
In the case of, extraction element 10 can obtain the thumbnail of static picture or the chained address of original image from webpage, or, also
Both chained addresses can be obtained simultaneously, so as to extract corresponding thumbnail and/or original image based on chained address.As
Preferred embodiment, extraction element 10 can obtain the thumbnail and original image two of static picture by picture sniff technology from webpage
The chained address of person, and according to network environment and breviary is optionally extracted in the chained address based on thumbnail or original image
Figure or original image.For example, when in WIFI network environment, original image is extracted based on the chained address of original image,
And in the environment of mobile communications network, thumbnail is extracted based on the chained address of thumbnail.In addition, extraction element 10 also may be used
Thumbnail and/or original image are optionally extracted according to the instruction of user or the setting of acquiescence.By extract thumbnail with
And original image, enable to user to be no longer limited by being only capable of seeing when browsing the situation of thumbnail, it is clear so as to strengthen user
Look at the experience of webpage.
The specific region that device 20 is used in the screen of terminal is presented and concentrates the image that extraction is presented.Here, as showing
Example, when webpage is opened, if user have selected picture browsing pattern, device 20 is presented according to the selection of user in terminal
Screen in specific region concentrate present extraction image.If user and non-selected picture browsing pattern, are presented device
20 can be presented the information such as image, word according to traditional webpage presentation mode.
Under picture browsing pattern, as an example, the specific region can be located at top, lower section, left side or the right side of webpage
Side, or, the specific region can be located at the individual window outside webpage.In this case, device 20 is presented can be by webpage
In other contents in addition to images be shown in region in the screen of terminal in addition to the specific region.It is or right
For the end product such as mobile terminal or tablet personal computer, device 20 is presented can be special in the whole screen area occupied by webpage
The image that extraction is presented is concentrated on ground, without showing other contents such as word.By the above-mentioned means, image and text in webpage
The other parts such as word separate, and concentrate and be presented on specific region so that user(Particularly it is only concerned image or is only concerned non-image
Partial user)Webpage can easily be browsed.
There is provided it is preferred that describing webpage according to an exemplary embodiment of the present invention referring to Fig. 2 in equipment
Presentation device 20 example arrangement.
Fig. 2 shows that webpage according to an exemplary embodiment of the present invention provides the block diagram of the presentation device 20 in equipment.Reference
Fig. 2, device 20, which is presented, includes filter element 210, arrangement units 220 and output unit 230, wherein, filter element 210 can be used for
The image sequence that will be presented is filtered out from the image of extraction according to predetermined condition, arrangement units 220 can be used for according to predetermined
Form arrange the image sequence that will be presented, and output unit 230 can be used for the specific region in the screen of terminal
Export the image sequence of arrangement.
By taking static picture as an example, filter element 210 can be according to preparatory condition(For example, thumbnail and/or original image is big
Small and/or form, source etc.)The sequence of pictures that will be presented is filtered out from the thumbnail and/or original image of extraction.Pass through
Different conditions is set, effective picture that user wishes to browse can be obtained(For example, exclude advertising pictures, unnecessary signature
Picture, head portrait picture etc.), it can also enough in different network environments(For example, terminal is under WIFI environment or mobile
In network environment, different network speed etc.)Under, targetedly filter out corresponding picture.
Correspondingly, arrangement units 220 can will to arrange according to a variety of picture wall forms such as nine grids, waterfall stream
The sequence of pictures of presentation.The sequence of pictures that output unit 230 can arrange in the specific region output in the screen of terminal, here
Specific region can be set manually by user, can be according to the use habit of user(For example, lefthanded or right-handed)To set,
Also the screen space positions that can be detected according to sensor(Including rotation and angle of inclination etc.)Automatically set.The given zone
Domain can not only be located in webpage(For example, top, lower section, left side, right side or full page region), may be additionally located at outside webpage
Within independent window.It is preferred that output unit 230 will can accordingly annotate word when exporting sequence of pictures(Equally
Can be from network extraction)It is shown in around corresponding picture.
As can be seen that according to the exemplary embodiment of the present invention, presentation can effectively and be neatly concentrated to be carried from webpage
The image taken, is easy to user to browse.In addition, it is preferred that, device 20, which is presented, to be determined whether according to the instruction of user
It is presented image according to an exemplary embodiment of the present.Particularly, device 20 being presented can select to hold according to the instruction of user
Row presents to the concentration of extraction image or conventionally shows the page browsed.
Referring again to Fig. 1, image processing apparatus 30 is used to handle the image of presentation according to the operation of user.In existing skill
In art, user can not operate the image presented in webpage, or even can not easily preserve corresponding original image.That is,
In addition to browsing to image, it can not be further processed by user.Therefore, according to an exemplary embodiment of the present
Webpage provide in equipment, with the operation according to user the image of presentation is carried out there is provided image processing apparatus 30 further
Processing.
Below will be by taking static picture as an example, reference picture 3 sets to describe webpage offer according to an exemplary embodiment of the present invention
The example arrangement of image processing apparatus in standby.
Fig. 3 shows that the image procossing that webpage according to an exemplary embodiment of the present invention is provided in equipment fills 30 block diagram.Ginseng
According to Fig. 3, image processing apparatus 30 according to an exemplary embodiment of the present invention may include with least one in lower unit:Download single
Member 310, edit cell 320 and uploading unit 330.
Particularly, download unit 310 can be used for according to the down operation of user by the sequence of pictures of output at least
Thumbnail and/or original image download to terminal corresponding to one picture.Here, download unit 310 can be from by extraction element 10
The thumbnail and/or original image of at least one picture are downloaded in the chained address of acquisition, or directly obtain and used in buffer area
In at least one picture of presentation, and they are saved in local memory.It is preferred that download unit
310 can be according to the down operation of user(For example, the touch gestures that long-press picture, click picture etc. perform on image are defeated
Enter, phonetic entry or the body input operation for shaking the other forms such as terminal)The picture of selection is downloaded into terminal(Example
Such as, the local storage of terminal).It should be noted that down operation here is not limited to simple user's input, display may also be incorporated in
Menu item, for example, user selected from the processing item of display down operation action also can be used as user download behaviour
Make.By setting download unit 310, user directly can download to thumbnail corresponding to the picture browsed to or its original image
Terminal persists, and not only increases Consumer's Experience, and also allows for operating.
In addition, edit cell 320 can be used for being edited in the sequence of pictures of output at least according to the edit operation of user
Thumbnail and/or original image corresponding to one picture.Here, edit cell 320 can in the sequence of pictures of output at least
One picture performs at least one in following editing and processing:Rotate, scale, cutting out, filter, splicing, mirror image.In addition, editor
Unit 320 can receive the edit operation of user(For example, dragging, slip, long-press, double-click, click etc. what is performed on image
Touch gestures input, phonetic entry or the body input operation for shaking the other forms such as terminal), and grasped according to editor
Mode corresponding to work edits corresponding picture.It should be noted that edit operation here is not limited to simple user's input, can also tie
Together in the menu item of display, for example, edit cell 320 can receive a series of edit items that user lists in edit menu
The selection of middle progress, and corresponding picture is edited according to the mode of selection.As an example, edit cell 320 can be by editor's
Picture is stored in the local storage of terminal.By setting edit cell 320, user can be while webpage be browsed to feeling emerging
The picture of interest enters edlin, so as to preferably use picture resource.
In addition, uploading unit 330 can be used for being grounded the chain of thumbnail and/or original image according to the upload operation of user
Location uploads to high in the clouds memory.Here, the high in the clouds memory can be that the corresponding special high in the clouds of application with opening webpage is deposited
Reservoir.In this case, when being again turned on identical webpage using application, it may not be necessary to by the URL of analyzing web page to obtain
Take corresponding chained address, but chained address corresponding to being obtained directly according to URL from the memory of high in the clouds, substantially increase figure
As the speed of extraction.It is not most to prevent uploading to the chained address of cloud server in order to ensure the accuracy of image zooming-out
New chained address, it can operate as follows:When extraction element 10 is in the scheduled time(For example, 24 hours)Inside again from
When extracting static picture in identical webpage, extraction element 10 obtains thumbnail corresponding with URL and/or original from high in the clouds memory
The chained address of beginning picture, and thumbnail and/or original graph are extracted based on the chained address of thumbnail and/or original image
Piece.In addition, it is preferred that, extracted again from identical webpage after extraction element 10 was in the past scheduled time static
During picture, extraction element 10 can obtain the chained address of thumbnail and/or original image from high in the clouds memory first, and based on contracting
Thumbnail and/or original image are extracted in the chained address of sketch map and/or original image, after export sequence of pictures, extraction
Device 10 can reacquire the chained address of thumbnail and/or original image by picture sniff technology, and based on reacquisition
Thumbnail and/or the chained address of original image update the sequence of pictures of output.In this case, if reacquired
Picture have no change, then the sequence of pictures exported will not change, even change and need renewal export picture sequence
Row, because this process can be carried out on the backstage of terminal, user is also difficult to perceive, and can equally obtain browsing of quickly presenting
Effect.
In addition, in order to help user preferably to preserve image interested, uploading unit 330 can also be according to the upload of user
The picture of the picture of download or editor is uploaded to high in the clouds memory by operation.
It is preferred that uploading unit 330 can be according to the upload operation of user(For example, such as long-press picture, click figure
Touch gestures input, phonetic entry or the body input behaviour for shaking the other forms such as terminal that piece etc. performs on image
Make)The picture of selection or peer link are uploaded into cloud server.It should be noted that upload operation here is not limited to simple use
Family inputs, and may also be incorporated in the menu item of display, for example, user selects upload operation or thereon from the processing item of display
The action of biography project also can be as the upload operation of user.By setting uploading unit 330, when extraction element 10 is again from identical
Webpage in extract picture or because other origins of an incident when needing to use the picture, extraction element 10 can extract from high in the clouds memory
Corresponding image link or picture in itself, so as to improve the speed that image is presented in webpage, the source supplemented with picture, are protected
The validity browsed is demonstrate,proved.
Hereinafter, it is according to an exemplary embodiment of the present invention for providing webpage in the terminal to describe that Fig. 4 to Fig. 5 will be combined
In image method.Methods described can be completed by the equipment shown in Fig. 1 to Fig. 3, also can be by computer program come real
It is existing.For example, methods described can be performed by installing the application for being used to browse webpage in the terminal.
Fig. 4 shows the stream according to an exemplary embodiment of the present invention for being used to provide the method for the image in webpage in the terminal
Cheng Tu.Here, as an example, the terminal can be mobile communication terminal, personal computer, tablet personal computer, game machine, numeral
Multimedia player etc. has access to internet to browse the electronic equipment of webpage.In addition, as an example, described image can be
Static picture, motion picture or video etc. can be embedded in the visual media content in the page.
Reference picture 4, in step S10, at least one image is extracted from webpage.Here, it is as an example, described at least one
Image can be static picture, motion picture or video content in embedded web page(For example, its representative picture).Particularly,
Picture sniff technology can be used(That is, determine the chained address of picture that is wherein embedded according to the label of webpage and and then extract
The technology of picture)Obtaining the chained address of the picture in webpage, and corresponding picture is extracted based on chained address.In addition,
Also picture can be extracted from webpage using any other known way.In the case of static picture, it can be obtained from webpage
The thumbnail of static picture or the chained address of original image, or, both chained addresses can be also obtained simultaneously, so as to be based on
Corresponding thumbnail and/or original image are extracted in chained address.It is preferred that can be by picture sniff technology from webpage
The chained address of the middle thumbnail and both original images for obtaining static picture, and thumbnail or original are based on according to network environment
Thumbnail or original image are optionally extracted in the chained address of beginning picture.For example, when in WIFI network environment, it is based on
Original image is extracted in the chained address of original image, and in the environment of mobile communications network, the chain ground connection based on thumbnail
Thumbnail is extracted in location.In addition, also thumbnail and/or original can optionally be extracted according to the instruction of user or the setting of acquiescence
Beginning picture.By extracting thumbnail and original image, user is enabled to be no longer limited by being only capable of seeing breviary when browsing
The situation of figure, so as to strengthen the experience that user browses webpage.
Next, in step S20, the image that extraction is presented is concentrated in the specific region in the screen of terminal.Here, as
Example, when webpage is opened, if user have selected picture browsing pattern, according to the selection of user in the screen of terminal
Specific region concentrate present extraction image.If user and non-selected picture browsing pattern, can be according to traditional webpage
Presentation mode is presented the information such as image, word.
Under picture browsing pattern, as an example, the specific region can be located at top, lower section, left side or the right side of webpage
Side, or, the specific region can be located at the individual window outside webpage.In this case, can by webpage except image
Outside other contents be shown in region in the screen of terminal in addition to the specific region.Or for mobile terminal
Or for the end product such as tablet personal computer, the figure of presentation extraction can be ad hoc concentrated in the whole screen area occupied by webpage
Picture, without showing other contents such as word.By the above-mentioned means, the image in webpage separates with other parts such as words,
And concentrate and be presented on specific region so that user(Particularly it is only concerned image or is only concerned the user of non-image portion)Can be square
Just webpage is browsed.
It is preferred that described referring to Fig. 5 in webpage providing method according to an exemplary embodiment of the present invention
Rendering step S20 flow.
Fig. 5 shows the course diagram of the rendering step S20 in webpage providing method according to an exemplary embodiment of the present invention.Ginseng
According to Fig. 5, in step S210, the image sequence that will be presented is filtered out from the image of extraction according to predetermined condition, in step
S220, the image sequence that will be presented is arranged according to predetermined form, then, in step S230, in the screen of terminal
The image sequence of specific region output arrangement.
, can be according to preparatory condition in step S210 by taking static picture as an example(For example, thumbnail and/or original image is big
Small and/or form, source etc.)The sequence of pictures that will be presented is filtered out from the thumbnail and/or original image of extraction.Pass through
Different conditions is set, effective picture that user wishes to browse can be obtained(For example, exclude advertising pictures, unnecessary signature
Picture, head portrait picture etc.), it can also enough in different network environments(For example, terminal is under WIFI environment or mobile
In network environment, different network speed etc.)Under, targetedly filter out corresponding picture.
Correspondingly, can will to arrange according to a variety of picture wall forms such as nine grids, waterfall stream in step S220
The sequence of pictures of presentation.Then, in step S230, the sequence of pictures of arrangement can be exported in the specific region in the screen of terminal,
Here specific region can be set manually by user, can be according to the use habit of user(For example, lefthanded or right-handed)
To set, the screen space positions that can also be detected according to sensor(Including rotation and angle of inclination etc.)Automatically set.Institute
Stating specific region can not only be located in webpage(For example, top, lower section, left side, right side or full page region), may be additionally located at net
Within independent window outside page.It is preferred that it will can accordingly annotate word when exporting sequence of pictures(Equally may be used
From network extraction)It is shown in around corresponding picture..
As can be seen that according to the exemplary embodiment of the present invention, presentation can effectively and be neatly concentrated to be carried from webpage
The image taken, is easy to user to browse.In addition, it is preferred that, it can be determined whether according to the instruction of user according to the present invention
Exemplary embodiment is presented image.Particularly, in step S20, can select to perform to extraction figure according to the instruction of user
The concentration of picture presents or conventionally shows the page browsed.
Referring again to Fig. 4, in step S30, the image of presentation is handled according to the operation of user.In the prior art, use
Family can not operate the image presented in webpage, or even can not easily preserve corresponding original image.That is, except browsing
To outside image, it can not be further processed by user.Therefore, carried in webpage according to an exemplary embodiment of the present invention
In supplier's method, the image of presentation is further processed with the operation according to user there is provided image processing step S30.
The figure in webpage providing method according to an exemplary embodiment of the present invention will be described by taking static picture as an example below
As processing step S30.
Particularly, image processing step S30 according to an exemplary embodiment of the present invention may include in following processing extremely
It is few one:Download process, editing and processing and upload process.
Particularly, can be according to the down operation of user by least one in the sequence of pictures of output in download process
Thumbnail and/or original image download to terminal corresponding to individual picture.Here, described in being downloaded from the chained address of acquisition at least
The thumbnail and/or original image of one picture, or at least one picture for being used for presenting in buffer area is directly obtained, and
They are saved in local memory.It is preferred that can be according to the down operation of user(For example, such as long-press figure
Piece, click on touch gestures input, phonetic entry or the body for shaking the other forms such as terminal that picture etc. performs on image
Body input operation)The picture of selection is downloaded into terminal(For example, the local storage of terminal).It should be noted that download behaviour here
Simple user's input is not limited to, the menu item of display is may also be incorporated in, for example, user selects from the processing item of display
The action for selecting down operation also can be as the down operation of user.By download process, picture that user will directly can browse to
Corresponding thumbnail or its original image download to terminal and persisted, and not only increase Consumer's Experience, and also allow for operating.
In addition, in editing and processing, at least one in the sequence of pictures of output can be edited according to the edit operation of user
Thumbnail and/or original image corresponding to individual picture.Here, can in the sequence of pictures of output at least one picture perform with
At least one of in lower editing and processing:Rotate, scale, cutting out, filter, splicing, mirror image.In addition, the editor behaviour of user can be received
Make(For example, dragging, slip, long-press, double-click, click etc. the touch gestures input performed on image, phonetic entry or
Shake the body input operation of the other forms such as terminal), and mode is corresponding to edit according to corresponding to edit operation
Picture.It should be noted that edit operation here is not limited to simple user's input, the menu item of display is may also be incorporated in, for example,
It can receive the selection carried out in a series of edit items that user lists in edit menu, and be edited according to the mode of selection
Corresponding picture.As an example, the picture of editor can be stored in the local storage of terminal.Pass through editing and processing, user
Edlin can be entered to picture interested while webpage is browsed, so as to preferably use picture resource.
, can be according to the upload operation of user by the chained address of thumbnail and/or original image in addition, in upload process
Upload to high in the clouds memory.Here, the high in the clouds memory can be the corresponding special high in the clouds storage of application with opening webpage
Device.In this case, when being again turned on identical webpage using application, it may not be necessary to by the URL of analyzing web page to obtain
Corresponding chained address, but chained address corresponding to being obtained directly according to URL from the memory of high in the clouds, substantially increase image
The speed of extraction.It is not newest to prevent uploading to the chained address of cloud server in order to ensure the accuracy of image zooming-out
Chained address, can operate as follows:When in the scheduled time(For example, 24 hours)Inside again from identical webpage
When extracting static picture, the chained address of corresponding with URL thumbnail and/or original image, and base are obtained from high in the clouds memory
Thumbnail and/or original image are extracted in the chained address of thumbnail and/or original image.In addition, it is preferred that, when
When the scheduled time extracting static picture from identical webpage again after in the past, breviary can be obtained from high in the clouds memory first
Figure and/or original image chained address, and based on the chained address of thumbnail and/or original image come extract thumbnail and/
Or original image, after sequence of pictures is exported, thumbnail and/or original image can be reacquired by picture sniff technology
Chained address, and the chained address of the thumbnail based on reacquisition and/or original image updates the sequence of pictures of output.
In this case, if the picture reacquired has no change, the sequence of pictures exported will not change, and even change
And need to update the sequence of pictures of output, because this process can be carried out on the backstage of terminal, user is also difficult to perceive, equally
The result of browse quickly presented can be obtained.
In addition, in order to help user preferably to preserve image interested, be able to will also be downloaded according to the upload operation of user
Picture or the picture of editor upload to high in the clouds memory.
It is preferred that can be according to the upload operation of user(For example, long-press picture, click picture etc. are in image
Touch gestures input, phonetic entry or the body input operation for shaking the other forms such as terminal of upper execution)By selection
Picture or peer link upload to cloud server.It should be noted that upload operation here is not limited to simple user's input, may be used also
Be incorporated into the menu item of display, for example, user selected from the processing item of display upload operation or its upload the dynamic of project
Work also can be as the upload operation of user.By upload process, when picture or because other is extracted from identical webpage again
When the origin of an incident needs to use the picture, corresponding image link or picture can be extracted in itself from high in the clouds memory, so as to improve
The speed of image is presented in webpage, the source supplemented with picture, ensure that the validity browsed.
In summary, in webpage according to an exemplary embodiment of the present invention provides apparatus and method, image can be achieved
Concentrate and present, and subsequent treatment easily can be carried out to the image of presentation.It is preferred that there is provided specific presentation side
Formula and processing mode, the convenience of user is enhanced, enrich the experience of web page browsing.
It should be noted that what the embodiment each above of the present invention was merely exemplary, and the present invention is not limited to this.Example
Such as, the structure shown in Fig. 2 and Fig. 3 and do not lie in limitation device and image processing apparatus is presented, and merely to illustrating.This
Art personnel should be appreciated that:Without departing from the principles and spirit of the present invention, these embodiments can be changed
Become, wherein, the scope of the present invention limits in claim and its equivalent.
Claims (18)
1. a kind of method for being used to provide the image in webpage in the terminal, including:
At least one image is extracted from webpage, wherein, described image is static picture;
Concentrate the image that extraction is presented in specific region in the screen of terminal;
The image of presentation is handled according to the operation of user;
Wherein, the step of at least one image is extracted from webpage includes:Obtained by picture sniff technology from webpage static
The thumbnail of picture and the chained address of original image, and be grounded according to network environment based on the chain of thumbnail or original image
Thumbnail or original image are optionally extracted in location;
Wherein, included according to the operation of user to handle the step of the image of presentation:According to the upload operation of user by thumbnail
And/or the chained address of original image uploads to high in the clouds memory, wherein, the high in the clouds memory, which corresponds to, opens answering for webpage
With;
Methods described also includes:
When extracting static picture from identical webpage again in the given time, from high in the clouds memory obtain thumbnail and/
Or the chained address of original image, and thumbnail and/or original is extracted based on the chained address of thumbnail and/or original image
Picture.
2. the method for claim 1, wherein the specific region is located at top, lower section, left side or the right side of webpage,
Or the specific region is the individual window outside webpage.
3. method as claimed in claim 2, wherein, the image of presentation extraction is concentrated in the specific region in the screen of terminal
Step includes:Other contents in webpage in addition to images are included in the screen of terminal in addition to the specific region
Region.
4. the method for claim 1, wherein the specific region is the whole screen area occupied by webpage.
5. the method for claim 1, wherein the image of presentation extraction is concentrated in the specific region in the screen of terminal
Step includes:Concentrate the image that extraction is presented in the specific region in screen when user selects picture browsing pattern in terminal.
6. method as claimed in claim 5, wherein, the image of presentation extraction is concentrated in the specific region in the screen of terminal
Step includes:
The sequence of pictures that will be presented is filtered out from the thumbnail and/or original image of extraction according to predetermined condition;
The sequence of pictures that will be presented is arranged according to predetermined form;
The sequence of pictures of specific region output arrangement in the screen of terminal.
7. method as claimed in claim 6, wherein, the predetermined condition include thumbnail and/or original image size and/
Or form.
8. method as claimed in claim 6, wherein, the predetermined form is nine grids or waterfall manifold formula.
9. the method as described in claim 1, in addition to:Extracted again from identical webpage after the past in the scheduled time
During static picture, obtain the chained address of thumbnail and/or original image from high in the clouds memory first, and based on thumbnail and/
Or thumbnail and/or original image are extracted in the chained address of original image, after sequence of pictures is exported, pass through picture sniff
Technology reacquires the chained address of thumbnail and/or original image, and thumbnail and/or original image based on reacquisition
Chained address update the sequence of pictures of output.
10. a kind of equipment for being used to provide the image in webpage in the terminal, including:
Extraction element, for extracting at least one image from webpage, wherein, image is static picture;
Device is presented, the image that extraction is presented is concentrated for the specific region in the screen of terminal;
Image processing apparatus, the image of presentation is handled for the operation according to user;
Wherein, extraction element obtains the link of the thumbnail and original image of static picture by picture sniff technology from webpage
Address, and according to network environment and thumbnail or original is optionally extracted in the chained address based on thumbnail or original image
Picture;
Image processing apparatus includes:Uploading unit, for the upload operation according to user by thumbnail and/or the chain of original image
Ground connection location uploads to high in the clouds memory, wherein, the high in the clouds memory corresponds to the application for opening webpage;
Wherein, when extraction element extracts static picture from identical webpage again in the given time, extraction element is from cloud
Memory is held to obtain the chained address of thumbnail and/or original image, and the chained address based on thumbnail and/or original image
To extract thumbnail and/or original image.
11. equipment as claimed in claim 10, wherein, the specific region is located at top, lower section, left side or the right side of webpage
Side, or, the specific region is the individual window outside webpage.
12. equipment as claimed in claim 11, wherein, device is presented and shows other contents in webpage in addition to images
Region in the screen of terminal in addition to the specific region.
13. equipment as claimed in claim 10, wherein, the specific region is the whole screen area occupied by webpage.
14. equipment as claimed in claim 10, wherein, device is presented when user selects picture browsing pattern in the screen of terminal
Concentrate the image that extraction is presented in specific region in curtain.
15. equipment as claimed in claim 14, wherein, device, which is presented, to be included:
Filter element, for filtering out the figure that will be presented from the thumbnail and/or original image of extraction according to predetermined condition
Piece sequence;
Arrangement units, for arranging the sequence of pictures that will be presented according to predetermined form;
Output unit, the sequence of pictures for the specific region output arrangement in the screen of terminal.
16. equipment as claimed in claim 10, wherein, the predetermined condition includes the size of thumbnail and/or original image
And/or form.
17. equipment as claimed in claim 10, wherein, the predetermined form is nine grids or waterfall manifold formula.
18. equipment as claimed in claim 10, wherein, again from identical net after extraction element was in the past scheduled time
When extracting static picture in page, extraction element obtains the chained address of thumbnail and/or original image from high in the clouds memory first,
And thumbnail and/or original image are extracted based on the chained address of thumbnail and/or original image, output sequence of pictures it
Afterwards, extraction element reacquires the chained address of thumbnail and/or original image by picture sniff technology, and is based on obtaining again
The thumbnail that takes and/or the chained address of original image update the sequence of pictures of output.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410145542.8A CN103942290B (en) | 2014-04-11 | 2014-04-11 | Method and apparatus for providing the image in webpage in the terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410145542.8A CN103942290B (en) | 2014-04-11 | 2014-04-11 | Method and apparatus for providing the image in webpage in the terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103942290A CN103942290A (en) | 2014-07-23 |
CN103942290B true CN103942290B (en) | 2017-12-29 |
Family
ID=51189958
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410145542.8A Active CN103942290B (en) | 2014-04-11 | 2014-04-11 | Method and apparatus for providing the image in webpage in the terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103942290B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107925740A (en) * | 2015-07-21 | 2018-04-17 | 株式会社理光 | Image management system, image management method and program |
CN106453572B (en) * | 2016-10-19 | 2019-09-17 | Oppo广东移动通信有限公司 | Method and system based on Cloud Server synchronous images |
CN108322789B (en) * | 2018-01-18 | 2021-01-08 | 北京奇艺世纪科技有限公司 | Network picture display method and device and mobile terminal |
CN108305051A (en) * | 2018-02-09 | 2018-07-20 | 网易(杭州)网络有限公司 | Mail methods of exhibiting, medium, system and electronic equipment |
CN110751653B (en) * | 2018-07-24 | 2024-03-12 | 珠海金山办公软件有限公司 | Picture processing method and device in slide |
CN111581553B (en) * | 2020-04-17 | 2024-02-06 | 上海携程商务有限公司 | Network image display method, system, electronic equipment and storage medium |
CN111599449B (en) * | 2020-07-27 | 2020-11-03 | 平安国际智慧城市科技股份有限公司 | Automatic playing method, device and equipment of electronic image and storage medium |
CN114996766A (en) * | 2022-08-01 | 2022-09-02 | 江西财经大学 | Image sharing method and system based on two-dimension code social network and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102591950A (en) * | 2011-12-28 | 2012-07-18 | 优视科技有限公司 | Webpage picture browsing method and device based on mobile terminal |
CN102929952A (en) * | 2012-10-08 | 2013-02-13 | 北京奇虎科技有限公司 | Web page image display device and method |
CN103279496A (en) * | 2013-05-07 | 2013-09-04 | 深圳市同洲电子股份有限公司 | Terminal and display method of associated information |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100995839B1 (en) * | 2008-08-08 | 2010-11-22 | 주식회사 아이토비 | Multi contents display system and method thereof |
-
2014
- 2014-04-11 CN CN201410145542.8A patent/CN103942290B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102591950A (en) * | 2011-12-28 | 2012-07-18 | 优视科技有限公司 | Webpage picture browsing method and device based on mobile terminal |
CN102929952A (en) * | 2012-10-08 | 2013-02-13 | 北京奇虎科技有限公司 | Web page image display device and method |
CN103279496A (en) * | 2013-05-07 | 2013-09-04 | 深圳市同洲电子股份有限公司 | Terminal and display method of associated information |
Also Published As
Publication number | Publication date |
---|---|
CN103942290A (en) | 2014-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103942290B (en) | Method and apparatus for providing the image in webpage in the terminal | |
US10359927B2 (en) | Methods and systems for photo, page, and spread arrangement on space-constrained user devices | |
US20190278471A1 (en) | Selectively emphasizing digital content | |
JP6301555B2 (en) | Apparatus, method and graphical user interface for presenting and installing applications | |
WO2017107441A1 (en) | Method and device for capturing continuous video pictures | |
WO2016155645A1 (en) | Preview method and apparatus for searching for pictures by mobile terminal | |
CN104360882B (en) | Display methods and device are carried out to picture in webpage in a kind of browser | |
US20150277686A1 (en) | Systems and Methods for the Real-Time Modification of Videos and Images Within a Social Network Format | |
CN104615665B (en) | Information display control method and device in Webpage | |
CN103677823B (en) | Method and device for managing browser plug-ins | |
CN103092597A (en) | Method for displaying background wallpaper and one or more user interface elements on display unit of electrical apparatus at the same time, and the electrical apparatus thereof | |
JP7057382B2 (en) | Electronic album device and its operation method and operation program | |
US11425063B2 (en) | Content selection | |
CN107111437A (en) | Digital media message generation | |
US10757241B2 (en) | Method and system for dynamically changing a header space in a graphical user interface | |
US9973459B2 (en) | Digital media message generation | |
CN104133898A (en) | Method and device for playing video in small window in browser | |
CN103020246B (en) | Webpage data presentation method and device for browser | |
CN107423058A (en) | A kind of interface display method and device | |
US10120539B2 (en) | Method and device for setting user interface | |
CN110599601A (en) | Method and device for generating painting image, terminal and storage medium | |
CN106951405B (en) | Data processing method and device based on typesetting engine | |
JP2007079850A5 (en) | ||
CN106055688A (en) | Search result display method and device and mobile terminal | |
CN115344159A (en) | File processing method and device, electronic equipment and readable 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 100041 A-0070 2, 3 building, 30 Shixing street, Shijingshan District, Beijing. Patentee after: BEIJING LIEBAO NETWORK TECHNOLOGY CO., LTD. Address before: 100041 room 3, 3 West well road, Badachu hi tech park, Shijingshan District, Beijing, 1592A Patentee before: Beijing Kingsoft Internet Science and Technology Co., Ltd. |