CN105488145A - Webpage content display method and apparatus and terminal - Google Patents

Webpage content display method and apparatus and terminal Download PDF

Info

Publication number
CN105488145A
CN105488145A CN201510836959.3A CN201510836959A CN105488145A CN 105488145 A CN105488145 A CN 105488145A CN 201510836959 A CN201510836959 A CN 201510836959A CN 105488145 A CN105488145 A CN 105488145A
Authority
CN
China
Prior art keywords
multimedia file
viewing area
url
display
webpage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510836959.3A
Other languages
Chinese (zh)
Other versions
CN105488145B (en
Inventor
高毅
王洪强
葛云源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510836959.3A priority Critical patent/CN105488145B/en
Publication of CN105488145A publication Critical patent/CN105488145A/en
Application granted granted Critical
Publication of CN105488145B publication Critical patent/CN105488145B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • 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/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]

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

The invention relates to a webpage content display method and apparatus and a terminal, and belongs to the technical field of terminals. The method comprises: when it is detected that a current page displayed in a first display region of a display screen is a webpage, scanning the webpage to obtain at least one multimedia file in the webpage; obtaining at least one target multimedia file in current webpage content displayed in the first display region; and displaying the at least one target multimedia file in sequence in a second display region of the display screen. By obtaining the target multimedia files in the current webpage content displayed in the first display region and displaying the target multimedia files in the second display region of the display screen, a mode of simultaneously displaying the webpage content and the multimedia files corresponding to the webpage content in different display regions of the display screen is realized, the relationships between texts or other content and the multimedia files in the webpage and the details of the multimedia files can be conveniently viewed, the displayed webpage content is richer, and the webpage content display mode is more flexible.

Description

The display packing of web page contents, device and terminal
Technical field
The disclosure relates to field of terminal technology, particularly a kind of display packing of web page contents, device and terminal.
Background technology
Browse the experience of webpage to enrich user, the content type that webpage comprises and quantity more and more abundanter, such as, in webpage except comprising text, also comprise the multimedia files such as multiple picture, animation, video.For the webpage comprising multiple multimedia file, when showing the web page contents of such webpage, text included in display web page while of meeting and multimedia file.
Web page contents is comprised to the webpage of text and multiple multimedia file, correlation technique is in the process of the web page contents of such webpage of display, if user needs the details of checking arbitrary multimedia file, then this multimedia file of terminal loads, and show this multimedia file at the display screen of terminal in full frame mode.
Summary of the invention
The disclosure provides a kind of display packing of web page contents, device and terminal.
According to the first aspect of disclosure embodiment, provide a kind of display packing of web page contents, described method comprises:
When the current page of the first viewing area display display screen being detected is webpage, scan described webpage, obtain at least one multimedia file in described webpage, described display screen comprises multiple viewing area, different viewing area is for showing different content, and described first viewing area is any one in described multiple viewing area;
According to the current web page content of described first viewing area display, obtain at least one destination multimedia file, described destination multimedia file is the multimedia file that described current web page content comprises;
At least one destination multimedia file described is shown successively in the second viewing area of described display screen.
In conjunction with first aspect, in the first possible implementation of first aspect, before the described webpage of described scanning, also comprise:
According to page layout's type of the current page of described first viewing area display, determine whether described current page is webpage.
In conjunction with first aspect, in the implementation that the second of first aspect is possible, the described webpage of described scanning, obtains at least one multimedia file in described webpage, comprising:
Scan the source code of described webpage, obtain at least one URL (UniversalResourceLocator, URL(uniform resource locator)) in described webpage;
For arbitrary URL, judge the type identification whether comprising multimedia file in described URL;
When described URL comprises the type identification of described multimedia file, using content corresponding for described URL as a multimedia file.
In conjunction with first aspect, in the third possible implementation of first aspect, the described webpage of described scanning, after obtaining at least one multimedia file in described webpage, also comprises:
According to the order that each multimedia file is scanned, the URL of at least one multimedia file described is added into list to be shown;
Described the second viewing area at described display screen shows at least one destination multimedia file described successively, comprising:
Obtain the URL of the first aim multimedia file in described current web page content;
From described first aim multimedia file, according to URL the putting in order in described list to be shown of at least one destination multimedia file described, show at least one destination multimedia file described successively in the second viewing area of described display screen.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, described URL the putting in order in described list to be shown according at least one destination multimedia file described, show at least one destination multimedia file described in the second viewing area of described display screen successively, comprising:
Obtain the target URL of the destination multimedia file of the described second current display in viewing area;
When the first appointment gesture being detected in described second viewing area, according to putting in order of each URL in described list to be shown, obtain the next URL of described target URL; Load the destination multimedia file that described next URL is corresponding; At the destination multimedia file that the described second viewing area described next URL of display is corresponding;
When the second appointment gesture being detected in arbitrary second viewing area, according to putting in order of each URL in described list to be shown, obtain a upper URL of described target URL; Load the destination multimedia file that a described upper URL is corresponding; The destination multimedia file that a URL is corresponding on described second viewing area display is described.
In conjunction with first aspect, in the 5th kind of possible implementation of first aspect, described the second viewing area at described display screen also comprises before showing at least one destination multimedia file described successively:
Whether the second viewing area detecting described display screen is occupied;
When described second viewing area is unoccupied, perform the step showing at least one destination multimedia file described in the second viewing area of described display screen successively.
According to the second aspect of disclosure embodiment, provide a kind of display device of web page contents, described device comprises:
Scan module, for when the current page of the first viewing area display display screen being detected is webpage, scan described webpage, obtain at least one multimedia file in described webpage, described display screen comprises multiple viewing area, different viewing area is for showing different content, and described first viewing area is any one in described multiple viewing area;
Acquisition module, for the current web page content according to described first viewing area display, obtain at least one destination multimedia file, described destination multimedia file is the multimedia file that described current web page content comprises;
Display module, for showing at least one destination multimedia file described successively in the second viewing area of described display screen.
In conjunction with second aspect, in the first possible implementation of second aspect, described device also comprises:
Determination module, for page layout's type of the current page according to described first viewing area display, determines whether described current page is webpage.
In conjunction with second aspect, in the implementation that the second of second aspect is possible, described scan module comprises:
Scanning submodule, for scanning the source code of described webpage, obtains at least one uniform resource position mark URL in described webpage;
Judge submodule, for for arbitrary URL, judge the type identification whether comprising multimedia file in described URL;
Determine submodule, for when described URL comprises the type identification of described multimedia file, using content corresponding for described URL as a multimedia file.
In conjunction with second aspect, in the third possible implementation of second aspect, described device also comprises:
Add module, for the order be scanned according to each multimedia file, the URL of at least one multimedia file described is added into list to be shown;
Described display module, for obtaining the URL of the first aim multimedia file in described current web page content; From described first aim multimedia file, according to URL the putting in order in described list to be shown of at least one destination multimedia file described, show at least one destination multimedia file described successively in the second viewing area of described display screen.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect, described display module comprises:
Obtain submodule, for obtaining the target URL of the destination multimedia file of the described second current display in viewing area;
First display sub-module, for when the first appointment gesture being detected in described second viewing area, according to putting in order of each URL in described list to be shown, obtains the next URL of described target URL; Load the destination multimedia file that described next URL is corresponding; At the destination multimedia file that the described second viewing area described next URL of display is corresponding;
Second display sub-module, for when the second appointment gesture being detected in arbitrary second viewing area, according to putting in order of each URL in described list to be shown, obtains a upper URL of described target URL; Load the destination multimedia file that a described upper URL is corresponding; The destination multimedia file that a URL is corresponding on described second viewing area display is described.
In conjunction with second aspect, in the 5th kind of possible implementation of second aspect, described device also comprises:
Detection module, whether occupied for the second viewing area detecting described display screen;
Described display module, for when described second viewing area is unoccupied, performs the step showing at least one destination multimedia file described in the second viewing area of described display screen successively.
According to the third aspect of disclosure embodiment, provide a kind of terminal, described terminal comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
When the current page of the first viewing area display display screen being detected is webpage, scan described webpage, obtain at least one multimedia file in described webpage, described display screen comprises multiple viewing area, different viewing area is for showing different content, and described first viewing area is any one in described multiple viewing area;
According to the current web page content of described first viewing area display, obtain at least one destination multimedia file, described destination multimedia file is the multimedia file that described current web page content comprises;
At least one destination multimedia file described is shown successively in the second viewing area of described display screen.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
By when the first viewing area display web page of display screen, obtain the destination multimedia file in the current web page content of first area display display, and at the second viewing area display-object multimedia file of display screen, realize a kind of mode of display web page content and multimedia file corresponding to web page contents simultaneously in the different viewing area of display screen, thus be convenient to check text in webpage or the relation of other content and multimedia file and the details of multimedia file, not only make the web page contents of display abundanter, and the mode of display web page content is more flexible.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows embodiment according to the invention, and is used from instructions one and explains principle of the present invention.
Fig. 1 is the schematic diagram of a kind of display screen according to an exemplary embodiment.
Fig. 2 is the process flow diagram of the display packing of a kind of web page contents according to an exemplary embodiment.
Fig. 3 is the process flow diagram of the display packing of a kind of web page contents according to an exemplary embodiment.
Fig. 4 is the schematic diagram of a kind of display screen display web page according to an exemplary embodiment.
Fig. 5 is the block diagram of the display device of a kind of web page contents according to an exemplary embodiment.
Fig. 6 is the block diagram of the display device of a kind of web page contents according to an exemplary embodiment.
Fig. 7 is the block diagram of a kind of scan module according to an exemplary embodiment.
Fig. 8 is the block diagram of the display device of a kind of web page contents according to an exemplary embodiment.
Fig. 9 is the block diagram of a kind of display module according to an exemplary embodiment.
Figure 10 is the block diagram of the display device of a kind of web page contents according to an exemplary embodiment.
Figure 11 is the block diagram of a kind of terminal according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
Along with developing rapidly of terminal technology, there is increasing split screen application.Applied by split screen, the display screen of terminal can be divided at least two regular shapes or erose viewing area, and at synchronization, different viewing areas may be used for showing different contents.Such as, by split screen application, the display screen of terminal is divided into two viewing areas, is respectively the first viewing area and the second viewing area.Wherein, at a time, the first viewing area may be used for Showing Picture or video etc., and the second viewing area is used for display web page, word document etc.Certainly, different viewing area also may be used for the different piece showing same target, the such as zones of different of same webpage, the zones of different etc. of same word document; Or different viewing area can load and show the content etc. in different application.
On this basis, user can check different contents in the different viewing areas of terminal display screen simultaneously, can not only save the time of user, and can promote Consumer's Experience, adding users viscosity etc.
Fig. 1 is the schematic diagram of a kind of display screen that disclosure embodiment provides.Display screen in Fig. 1 comprises two viewing areas, is respectively the first viewing area and the second viewing area.Certainly, Fig. 1 only comprises two viewing areas with display screen, and two viewing areas are rectangle is that example is illustrated, but, in the specific implementation, disclosure embodiment does not limit the quantity of the viewing area that display screen comprises, and such as, display screen can comprise three viewing areas, four viewing areas etc.The shape of each viewing area can be rectangle, triangle, circle or the arbitrary shape etc. of specifying for user.
Wherein, the terminal in disclosure embodiment can be smart mobile phone, panel computer, E-book reader, pocket computer on knee or desk-top computer etc.Preferably, the terminal in disclosure embodiment is mobile terminal.
Display screen shown in composition graphs 1, Fig. 2 is the process flow diagram of the display packing of a kind of web page contents according to an exemplary embodiment, and the display packing of web page contents is used in terminal.As shown in Figure 2, the display packing of web page contents that disclosure embodiment provides comprises the following steps.
In step s 201, when the current page of the first viewing area display display screen being detected is webpage, scanning webpage, obtain at least one multimedia file in webpage, wherein, display screen comprises multiple viewing area, and different viewing area is for showing different content, and the first viewing area is any one in multiple viewing area.
In step S202, according to the current web page content of the first viewing area display, obtain at least one destination multimedia file, wherein, destination multimedia file is the multimedia file that current web page content comprises.
In step S203, show at least one destination multimedia file successively in the second viewing area of display screen.
The method that disclosure embodiment provides, by when the first viewing area display web page of display screen, obtain the destination multimedia file in the current web page content of first area display display, and at the second viewing area display-object multimedia file of display screen, thus realize a kind of mode of display web page content and multimedia file corresponding to web page contents simultaneously in the different viewing area of display screen, thus be convenient to check text in webpage or the relation of other content and multimedia file and the details of multimedia file, not only make the web page contents of display abundanter, and the mode of display web page content is more flexible.
In another embodiment, before scanning webpage, also comprise:
According to page layout's type of the current page of the first viewing area display, determine whether current page is webpage.
In another embodiment, scanning webpage, obtains at least one multimedia file in webpage, comprising:
The source code of scanning webpage, obtains at least one URL in webpage;
For arbitrary URL, judge the type identification whether comprising multimedia file in URL;
When URL comprises the type identification of multimedia file, using content corresponding for URL as a multimedia file.
In another embodiment, scanning webpage, after obtaining at least one multimedia file in webpage, also comprises:
According to the order that each multimedia file is scanned, the URL of at least one multimedia file is added into list to be shown;
Show at least one destination multimedia file successively in the second viewing area of display screen, comprising:
Obtain the URL of the first aim multimedia file in current web page content;
From first aim multimedia file, according to URL the putting in order in list to be shown of at least one destination multimedia file, show at least one destination multimedia file successively in the second viewing area of display screen.
In another embodiment, according to URL the putting in order in list to be shown of at least one destination multimedia file, show at least one destination multimedia file successively in the second viewing area of display screen, comprising:
Obtain the target URL of the destination multimedia file of the second current display in viewing area;
When the first appointment gesture being detected in the second viewing area, according to putting in order of URL each in list to be shown, obtain the next URL of target URL; Load the destination multimedia file that next URL is corresponding; The destination multimedia file that next URL is corresponding is shown in the second viewing area;
When the second appointment gesture being detected in arbitrary second viewing area, according to putting in order of URL each in list to be shown, obtain a upper URL of target URL; Load the destination multimedia file that a URL is corresponding; The destination multimedia file that a URL is corresponding in the second viewing area display.
In another embodiment, before the second viewing area of display screen shows at least one destination multimedia file successively, also comprise:
Whether the second viewing area of detection display screen is occupied;
When the second viewing area is unoccupied, perform the step showing at least one destination multimedia file in the second viewing area of display screen successively.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
The content of embodiment corresponding to composition graphs 2, Fig. 3 is the process flow diagram of the display packing of a kind of web page contents according to an exemplary embodiment, and the display packing of web page contents is used in terminal.As shown in Figure 3, the display packing of web page contents that disclosure embodiment provides comprises the following steps.
In step S301, according to page layout's type of the current page of the first viewing area display of display screen, determine whether current page is webpage.
Wherein, the first viewing area is any one at least two viewing areas of terminal display screen, and in the disclosed embodiments, the current page of the first viewing area display is webpage.When page type is different, page layout's type that page type is corresponding is also different.Such as, when page type is webpage, its page layout's type can be WebView (network view); When page type is the arbitrary page in application program, its page layout's type is other type.In the disclosed embodiments, current page for the first viewing area display is the situation of webpage, provide a kind of method of display web page content, therefore, before display web page content, need, first according to page layout's type of the current page of the first viewing area display of display screen, to determine whether current page is webpage.
Illustratively, in the page layout's type according to current page, when determining whether current page is webpage, first can obtain page layout's type of current page, and whether the page layout's type detecting current page is WebView.If page layout's type of current page is WebView, then determine that current page is webpage; Otherwise, determine that current page is not webpage.
In the disclosed embodiments, whether why will detect current page is webpage, due to when current page is webpage, be convenient to from webpage, find each multimedia file, thus each multimedia file be convenient in follow-up display web page, and when current page is not webpage, be then not easy to each multimedia file got in webpage.
Certainly, if current page is other page, if current page is a certain APP (Application, application) in some pages time, if this APP provides corresponding multimedia file and obtains interface, thus during make terminal to get easily multimedia file that each page of this APP comprises, disclosure embodiment also can not perform this step, and directly performs the step of at least one multimedia file obtained in current page.Can obtain thus, this step is optional step.
In step s 302, when the current page the first viewing area display being detected is webpage, scans this webpage, obtain at least one multimedia file in this webpage.
Multiple multimedia file can be comprised in usual webpage, and during the multimedia file of correlation technique in display web page content, if want the details of checking arbitrary multimedia file, then can show this multimedia file in full frame mode, now will cause can not other content in display web page.If do not show this multimedia file with full form, be then not easy to the details viewing multimedia file.In order to avoid this problem, disclosure embodiment, when display web page content, is directed to the multimedia file that webpage comprises, and can process separately.Therefore, disclosure embodiment, when display web page content, needs first to scan webpage, to obtain at least one multimedia file in webpage.
About the type of multimedia file, can have a variety of.Such as, multimedia file is picture, animation, video etc.Wherein, the form of picture can be PNG (PortableNetworkGraphicFormat, picture file storage format), JPEG (JointPhotographicExpertsGroup, joint image expert group) etc.; The form of animation can be GIF (GraphicsInterchangeFormat, graphic interchange format) etc.; The form of video can be AVI (AudioVideoInterleaved, Audio Video Interleaved form), WMV (WindowsMediaVideo, stream media format) etc.
Wherein, in order to be determined to process separately the multimedia file of which type by user, terminal before display web page content, can also provide the type option of multimedia file, is selected the type of the multimedia file needing process separately by user in these type option.On this basis, then at scanning webpage, during to obtain at least one multimedia file in webpage, the multimedia file obtained is the multimedia file belonging to user's Selective type.Such as, if the multimedia type that user selects is picture and animation, then each multimedia file that scanning webpage obtains is picture and animation, and does not comprise the multimedia file of other types such as video.
By being selected the type of multimedia file by user, the multimedia file of follow-up second viewing area display is not only made to be select to obtain based on user, thus can adding users viscosity, and the multimedia file of follow-up second viewing area display can be made pointed.
Illustratively, at scanning webpage, when obtaining at least one multimedia file in webpage, can realize by S3021 to step S3023 as follows:
In step S3021, the source code of scanning webpage, obtains at least one URL in webpage.
Wherein, in the source code of webpage, each multimedia file all can a corresponding URL, and be used to indicate multimedia file memory location on the server, therefore, a URL in web page source code can identify a multimedia file.On this basis, when scanning the multimedia file in webpage, the source code of webpage can be scanned, to obtain at least one URL in webpage.
In step S3022, for arbitrary URL, judge the type identification whether comprising multimedia file in URL.
The type identification of multimedia file is can the mark of identification of multimedia file layout.Such as, when multimedia file is picture, its type identification can be PNG, JPEG etc.
Usually, the type identification of corresponding multimedia file can be comprised in a URL, such as, the field of type identification can be comprised at the end of URL.Therefore, for arbitrary URL, when judging whether this URL is the URL of multimedia file, can by judging that the type identification whether comprising multimedia file in this URL realizes.
In step S3023, when URL comprises the type identification of multimedia file, using content corresponding for URL as a multimedia file.
Such as, when URL comprises PNG, then can determine that this URL is the URL of some pictures, therefore, can using content corresponding for this URL as a multimedia file.
For each URL, all perform above-mentioned steps S3022 and step S3023, the multiple multimedia files in webpage can be obtained.
It should be noted that, in the disclosed embodiments, if the multimedia file type option that user is provided by terminal in advance have selected the type of the multimedia file needing process separately, then in step S3022, when judging the type identification whether comprising multimedia file in some URL, need the type identification judging whether to comprise the multimedia file that user selects in this URL.In step S3023, when this URL comprises the type identification of the multimedia file that user selects, using content corresponding for this URL as the multimedia file scanned.
Such as, if user have selected picture and animation in advance as the type of multimedia file needing process separately, then in step S3022, for some URL, when judging the type identification whether comprising multimedia file in URL, need to judge in this URL, whether to comprise the type identification of picture or the type identification of animation.In step S3023, when this URL comprises the type identification of the type identification of picture or animation, using content corresponding for this URL as the multimedia file scanned.
In step S303, according to the current web page content of the first viewing area display, obtain at least one destination multimedia file, wherein, destination multimedia file is the multimedia file that current web page content comprises.
Because web page contents is usually abundanter, the first viewing area may not all the elements of disposable display web page, and current web page content is the partial content of the webpage of the first current display in viewing area.
In disclosure embodiment, in order to the corresponding relation between the multimedia file that the current web page content and the second viewing area of setting up the first viewing area display show, can while the first viewing area display current web page content, second viewing area display current web page content in multimedia file, namely can in the second viewing area display-object multimedia file.Therefore, after at least one multimedia file scanned in webpage, need from least one multimedia file, obtain at least one destination multimedia file.
Illustratively, at the current web page content according to the first viewing area display, when obtaining at least one destination multimedia file, can according to the position of current web page content in webpage, on the basis of the multimedia file scanned in step S302, obtain first multimedia file in current web page content and last multimedia file, and using the multimedia file between first multimedia file and last multimedia file as at least one the destination multimedia file got.
In step s 304, whether the second viewing area of detection display screen is occupied.
Wherein, the second viewing area is at least two viewing areas of display screen, other viewing area except the first viewing area.After the display screen of terminal is split at least two viewing areas, different viewing areas may be used for showing different contents, when arbitrary viewing area by other perhaps application take time, then it can not as the viewing area of display multimedia file, therefore, before display-object multimedia file, whether the second viewing area needing detection display to shield is occupied.
Illustratively, after display screen is divided into multiple viewing area, whether terminal can monitor each viewing area in real time occupied, and the state of each viewing area of real time record.Such as, after detecting that a viewing area is occupied, be " busy " by the state recording of this viewing area; When a viewing area being detected also application program that is unoccupied or that take this viewing area exiting, it is " free time " by the state recording of this viewing area.
On this basis, terminal, when whether detection second viewing area is occupied, can read the state of the second viewing area, and determines that whether the second viewing area is for taking according to the state of the second viewing area.As, when the state of the second viewing area is " free time ", can determine that the second viewing area is unoccupied; When the state of the second viewing area is " busy ", determine that the second viewing area is occupied.
In step S305, when the second viewing area is unoccupied, show at least one destination multimedia file successively in the second viewing area of display screen.
Wherein, when showing at least one destination multimedia file successively in the second viewing area, the order that can be scanned according to each destination multimedia file, shows each destination multimedia file automatically in the second viewing area.
Illustratively, when automatically showing each destination multimedia file in the second viewing area, for dissimilar destination multimedia file, can show by different way.Such as, when the type of multimedia file is picture, for each picture, can all show appointment duration, as 2 seconds, 5 seconds etc.When multimedia file be animation or video time, can the second viewing area play this animation or video, until play terminate the next destination multimedia file of rear display.
In another embodiment, for the ease of showing each destination multimedia file, at scanning webpage, thus after obtaining at least one multimedia file in webpage, the order that can also be scanned according to each multimedia file, is added into list to be shown by the URL of at least one multimedia file.Illustratively, in list to be shown, before the URL of the multimedia file be scanned after the URL of the multimedia file be first scanned is arranged in.
On this basis, when the second viewing area of display screen shows at least one destination multimedia file successively, the URL of the first aim multimedia file in current web page content can be obtained, and from first aim multimedia file, according to URL the putting in order in list to be shown of at least one destination multimedia file, show at least one destination multimedia file successively in the second viewing area of display screen.
Wherein, when obtaining the URL of the first aim multimedia file in current web page content, first URL in current web page content can be scanned, using the URL of this URL as first aim multimedia file.
Illustratively, according to URL the putting in order in list to be shown of at least one destination multimedia file, the mode of at least one destination multimedia file is shown successively in the second viewing area of display screen, also the above-mentioned type according to destination multimedia file can be adopted, show the mode of the destination multimedia file of each type by different way, repeat no more herein.
In another embodiment, URL the putting in order in list to be shown according at least one destination multimedia file, when the second viewing area of display screen shows at least one destination multimedia file successively, also can realize by S3051 to step S3053 as follows:
In step S3051, obtain the target URL of the destination multimedia file of the second current display in viewing area.
Wherein, the destination multimedia file of the current display of second area can be, after carrying out predetermined registration operation by user to arbitrary destination multimedia file, be shown in the destination multimedia file of the second viewing area.Such as, the destination multimedia file of the second current display in viewing area is the destination multimedia file that user has carried out the operation such as single-click operation, double click operation.In the disclosed embodiments, after detecting that user has carried out predetermined registration operation to arbitrary destination multimedia file, this destination multimedia file can be shown in the second viewing area.On this basis, when the target URL of the target media file of the current display in acquisition second viewing area, destination multimedia file predetermined registration operation being detected can be obtained, thus using the destination multimedia file of this destination multimedia file as the second current display in viewing area, and the attribute information of destination multimedia file according to the current display of this second area, obtain target URL.
Or the destination multimedia file of the second current display in viewing area also can be first aim multimedia file.Now, target URL is the URL of the first aim multimedia file in current web page content.
In step S3052, when the first appointment gesture being detected in the second viewing area, according to putting in order of URL each in list to be shown, obtain the next URL of target URL; Load the destination multimedia file that next URL is corresponding; The destination multimedia file that next URL is corresponding is shown in the second viewing area.
Specify the particular content of gesture about first, can have a variety of, such as, first specifies gesture to be the gesture of slide downward, or is the gesture of designated shape, as circle, check mark shape gesture etc.
Because the URL of each multimedia file is sequentially arranged in list to be shown according to the order be scanned, therefore, when obtaining the next URL of target URL, directly can obtain in list to be shown and coming the Next URL of target URL.
Further, during the destination multimedia file that URL is corresponding under load, include but not limited to: send file acquisition request to server, in this file acquisition request, carry next URL; Server returns the file of this next URL after receiving this file acquisition request, and this file is destination multimedia file corresponding to next URL.
In addition, when showing destination multimedia file corresponding to next URL in the second viewing area, be directed to the static multimedia files such as picture, until stop display when the first appointment gesture or other appointment gesture being detected in the second viewing area, thus next URL is corresponding again multimedia file or other destination multimedia file can be shown.Be directed to the active multi-media such as animation, video file, can to ending play this destination multimedia file, if terminated until play, the first appointment gesture or other appointment gesture also do not detected, then again from play this destination multimedia file, until when the first appointment gesture or other appointment gesture being detected, show next URL is corresponding again multimedia file or other multimedia file.
In step S3053, when the second appointment gesture being detected in arbitrary second viewing area, according to putting in order of URL each in list to be shown, obtain a upper URL of target URL; Load the destination multimedia file that a URL is corresponding; The destination multimedia file that a URL is corresponding in the second viewing area display.
The principle of this step is consistent with the principle of above-mentioned steps S3052, the difference of this step and step S3052 is, second specifies gesture to be specify from first the gesture that gesture is different, the particular content of gesture is specified about second, the embodiment of the present invention does not do concrete restriction, ensures that it specifies gesture different from first.
When to be shown each destination multimedia file successively in the second viewing area by this kind of mode, the destination multimedia file making the second viewing area display is realize according to the operation of user, make user can show multimedia file in the second viewing area as required, thus more can meet user's request, and then can adding users viscosity.
Certainly, when to be shown each destination multimedia file in the second viewing area by this kind of mode, except when detecting that the first appointment gesture and second specifies gesture, show outside multimedia file according to putting in order of each URL in list to be shown, also can putting in order not in accordance with each URL in list to be shown, but select the multimedia file in the second viewing area display according to user's request.Such as, user needs when the second viewing area shows some multimedia files, the 3rd assigned operation can be carried out to this multimedia file of the first viewing area display, when terminal detect to first display arbitrary multimedia file carried out the 3rd assigned operation time, show this multimedia file in the second viewing area.Specify the content of gesture about the 3rd, disclosure embodiment does not do concrete restriction, and it can specify gesture and second to specify gesture identical with first, also can be other gesture.
By this kind of mode when the second viewing area shows each multimedia file, make second viewing area display multimedia file can not rely on its in webpage appearance order, but according to the multimedia file that user's request Stochastic choice shows in the second viewing area, thus can farthest meet consumers' demand.
In conjunction with foregoing, Fig. 4 is the schematic diagram of a kind of display screen display web page according to an exemplary embodiment.
It should be noted that, foregoing is only illustrated display screen to be divided into two viewing areas, in fact, when the quantity of the viewing area of display screen is greater than two, can at the equal display-object multimedia file in each viewing area of other except the first viewing area.
Wherein, when showing each destination multimedia file in other each viewing area, can putting in order according to the order of each destination multimedia file in list to be shown and each viewing area, show each destination multimedia file successively.Such as, when other each viewing area comprises viewing area A and viewing area B, and viewing area A is positioned at before the B of viewing area, destination multimedia file comprises multimedia file 1, multimedia file 2, multimedia file 3 and multimedia file 4, and these four multimedia files are sequentially arranged in list to be shown, then when being shown each destination multimedia file by this kind of mode, multimedia file 1 can be shown at viewing area A, multimedia file 2 is shown at viewing area B, and respectively after viewing area A and viewing area B has shown multimedia file 1 and multimedia file 2, multimedia file 3 is shown at viewing area A, multimedia file 4 is shown at viewing area B.
Further, if showing each destination multimedia file in the second viewing area is that the first assigned operation of sending based on user or the second assigned operation realize, then when other each viewing area display-object multimedia file, terminal can record the URL of the multimedia file of the target of the current display in each viewing area, and for other viewing area arbitrary, according to each URL putting in order in list to be shown, when the first assigned operation being detected, the destination multimedia file that the next URL of display-object URL is corresponding; When the second assigned operation being detected, the destination multimedia file that the upper URL of display-object URL is corresponding.
In addition, after terminal detects that the first viewing area stops this webpage of display, control the multimedia file in the second viewing area termination display web page.
The method that disclosure embodiment provides, by when the first viewing area display web page of display screen, obtain the destination multimedia file in the current web page content of first area display display, and at the second viewing area display-object multimedia file of display screen, realize a kind of mode of display web page content and multimedia file corresponding to web page contents simultaneously in the different viewing area of display screen, thus be convenient to check text in webpage or the relation of other content and multimedia file and the details of multimedia file, not only make the web page contents of display abundanter, and the mode of display web page content is more flexible.
Fig. 5 is the block diagram of the display device of a kind of web page contents according to an exemplary embodiment.With reference to Fig. 5, this device comprises scan module 501, acquisition module 502 and display module 503, wherein:
Scan module 501, for when the current page of the first viewing area display display screen being detected is webpage, scanning webpage, obtain at least one multimedia file in webpage, wherein, display screen comprises multiple viewing area, and different viewing area is for showing different content, and the first viewing area is any one in multiple viewing area;
Acquisition module 502, for the current web page content according to the first viewing area display, obtain at least one destination multimedia file, wherein, destination multimedia file is the multimedia file that current web page content comprises;
Display module 503, for showing at least one destination multimedia file successively in the second viewing area of display screen.
The device that disclosure embodiment provides, by when the first viewing area display web page of display screen, obtain the destination multimedia file in the current web page content of first area display display, and at the second viewing area display-object multimedia file of display screen, realize a kind of mode of display web page content and multimedia file corresponding to web page contents simultaneously in the different viewing area of display screen, thus be convenient to check text in webpage or the relation of other content and multimedia file and the details of multimedia file, not only make the web page contents of display abundanter, and the mode of display web page content is more flexible.
In another embodiment, see Fig. 6, the display device of web page contents also comprises determination module 504, wherein:
Determination module 504, for page layout's type of the current page according to the first viewing area display, determines whether current page is webpage.
In another embodiment, see Fig. 7, scan module 501 comprises:
Scanning submodule 5011, for scanning the source code of webpage, obtains at least one URL in webpage;
Judge submodule 5012, for for arbitrary URL, judge the type identification whether comprising multimedia file in URL;
Determine submodule 5013, during for comprising the type identification of multimedia file as URL, using content corresponding for URL as a multimedia file.
In another embodiment, see Fig. 8, the display device of web page contents also comprises adds module 505, wherein:
Add module 505, for the order be scanned according to each multimedia file, the URL of at least one multimedia file is added into list to be shown;
Display module 503, for obtaining the URL of the first aim multimedia file in current web page content; From first aim multimedia file, according to URL the putting in order in list to be shown of at least one destination multimedia file, show at least one destination multimedia file successively in the second viewing area of display screen.
In another embodiment, see Fig. 9, display module 503 comprises:
Obtain submodule 5031, for obtaining the target URL of the destination multimedia file of the second current display in viewing area;
First display sub-module 5032, for when the first appointment gesture being detected in the second viewing area, according to putting in order of URL each in list to be shown, obtains the next URL of target URL; Load the destination multimedia file that next URL is corresponding; The destination multimedia file that next URL is corresponding is shown in the second viewing area;
Second display sub-module 5033, for when the second appointment gesture being detected in arbitrary second viewing area, according to putting in order of URL each in list to be shown, obtains a upper URL of target URL; Load the destination multimedia file that a URL is corresponding; The destination multimedia file that a URL is corresponding in the second viewing area display.
In another embodiment, see Figure 10, the display device of web page contents also comprises detection module 506, wherein:
Detection module 506, whether the second viewing area for detection display screen is occupied;
Display module 503, for when the second viewing area is unoccupied, performs the step showing at least one destination multimedia file in the second viewing area of display screen successively.
About the device in above-described embodiment described in Fig. 5 to Figure 10, may be used for the display packing performing the web page contents that embodiment provides corresponding to above-mentioned Fig. 2 or Fig. 3, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
Figure 11 is the block diagram of a kind of terminal 1100 according to an exemplary embodiment, and described terminal may be used for the display packing performing the web page contents that embodiment provides corresponding to above-mentioned Fig. 2 or Fig. 3.Such as, terminal 1100 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 11, terminal 1100 can comprise following one or more assembly: processing components 1102, storer 1104, power supply module 1106, multimedia groupware 1108, audio-frequency assembly 1110, I/O (Input/Output, I/O) interface 1112, sensor module 1114, and communications component 1116.
The integrated operation of the usual control terminal 1100 of processing components 1102, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 1102 can comprise one or more processor 1120 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1102 can comprise one or more module, and what be convenient between processing components 1102 and other assembly is mutual.Such as, processing components 1102 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1108 and processing components 1102.
Storer 1104 is configured to store various types of data to be supported in the operation of terminal 1100.The example of these data comprises for any application program of operation in terminal 1100 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 1104 can be realized by the volatibility of any type or non-volatile memory device or their combination, as SRAM (StaticRandomAccessMemory, static RAM), EEPROM (Electrically-ErasableProgrammableRead-OnlyMemory, Electrically Erasable Read Only Memory), EPROM (ErasableProgrammableReadOnlyMemory, Erasable Programmable Read Only Memory EPROM), PROM (ProgrammableRead-OnlyMemory, programmable read only memory), ROM (Read-OnlyMemory, ROM (read-only memory)), magnetic store, flash memory, disk or CD.
The various assemblies that power supply module 1106 is terminal 1100 provide electric power.Power supply module 1106 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for terminal 1100 and be associated.
Multimedia groupware 1108 is included in the screen providing an output interface between described terminal 1100 and user.In certain embodiments, screen can comprise LCD (LiquidCrystalDisplay, liquid crystal display) and TP (TouchPanel, touch panel).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant with touch or slide and pressure.In certain embodiments, multimedia groupware 1108 comprises a front-facing camera and/or post-positioned pick-up head.When terminal 1100 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1110 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1110 comprises a MIC (Microphone, microphone), and when terminal 1100 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 1104 further or be sent via communications component 1116.In certain embodiments, audio-frequency assembly 1110 also comprises a loudspeaker, for output audio signal.
I/O interface 1112 is for providing interface between processing components 1102 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 1114 comprises one or more sensor, for providing the state estimation of various aspects for terminal 1100.Such as, sensor module 1114 can detect the opening/closing state of terminal 1100, the relative positioning of assembly, such as assembly is display and the keypad of terminal 1100, the position of all right sense terminals 1100 of sensor module 1114 or terminal 1100 assemblies changes, the presence or absence that user contacts with terminal 1100, the temperature variation of terminal 1100 orientation or acceleration/deceleration and terminal 1100.Sensor module 1114 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 1114 can also comprise optical sensor, as CMOS (ComplementaryMetalOxideSemiconductor, CMOS (Complementary Metal Oxide Semiconductor)) or CCD (Charge-coupledDevice, charge coupled cell) imageing sensor, for using in imaging applications.In certain embodiments, this sensor module 1114 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1116 is configured to the communication being convenient to wired or wireless mode between terminal 1100 and other equipment.Terminal 1100 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 1116 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 1116 also comprises NFC (NearFieldCommunication, near-field communication) module, to promote junction service.Such as, can based on RFID (RadioFrequencyIdentification in NFC module, radio-frequency (RF) identification) technology, IrDA (Infra-redDataAssociation, Infrared Data Association) technology, UWB (UltraWideband, ultra broadband) technology, BT (Bluetooth, bluetooth) technology and other technology realize.
In the exemplary embodiment, terminal 1100 can by one or more ASIC (ApplicationSpecificIntegratedCircuit, application specific integrated circuit), DSP (DigitalsignalProcessor, digital signal processor), DSPD (DigitalsignalProcessorDevice, digital signal processing appts), PLD (ProgrammableLogicDevice, programmable logic device (PLD)), FPGA (FieldProgrammableGateArray, field programmable gate array), controller, microcontroller, microprocessor or other electron component realize, for performing the display packing of the web page contents that embodiment provides corresponding to above-mentioned Fig. 2 or Fig. 3.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 1104 of instruction, above-mentioned instruction can perform said method by the processor 1120 of terminal 1100.Such as, described non-transitory computer-readable recording medium can be ROM, RAM (RandomAccessMemory, random access memory), CD-ROM (CompactDiscRead-OnlyMemory, compact disc read-only memory), tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of terminal, make mobile terminal can perform a kind of display packing of web page contents, described method comprises:
When the current page of the first viewing area display display screen being detected is webpage, scanning webpage, obtain at least one multimedia file in webpage, wherein, display screen comprises multiple viewing area, different viewing area is for showing different content, and the first viewing area is any one in multiple viewing area;
According to the current web page content of the first viewing area display, obtain at least one destination multimedia file, wherein, destination multimedia file is the multimedia file that current web page content comprises;
At least one destination multimedia file is shown successively in the second viewing area of display screen.
Suppose that above-mentioned is the first possible embodiment, then, in the embodiment that the second provided based on the embodiment that the first is possible is possible, in the storer of terminal, also comprise the instruction for performing following operation:
Before scanning webpage, also comprise:
According to page layout's type of the current page of the first viewing area display, determine whether current page is webpage.
In the third the possible embodiment provided based on the embodiment that the first is possible, in the storer of terminal, also comprise the instruction for performing following operation: scanning webpage, obtains at least one multimedia file in webpage, comprising:
The source code of scanning webpage, obtains at least one URL in webpage;
For arbitrary URL, judge the type identification whether comprising multimedia file in URL;
When URL comprises the type identification of multimedia file, using content corresponding for URL as a multimedia file.
In the 4th kind of possible embodiment provided based on the embodiment that the first is possible, in the storer of terminal, also comprise the instruction for performing following operation: scanning webpage, after obtaining at least one multimedia file in webpage, also comprises:
According to the order that each multimedia file is scanned, the URL of at least one multimedia file is added into list to be shown;
Show at least one destination multimedia file successively in the second viewing area of display screen, comprising:
Obtain the URL of the first aim multimedia file in current web page content;
From first aim multimedia file, according to URL the putting in order in list to be shown of at least one destination multimedia file, show at least one destination multimedia file successively in the second viewing area of display screen.
In the 5th kind of possible embodiment provided based on the 4th kind of possible embodiment, in the storer of terminal, also comprise the instruction for performing following operation: according to URL the putting in order in list to be shown of at least one destination multimedia file, show at least one destination multimedia file successively in the second viewing area of display screen, comprising:
Obtain the target URL of the destination multimedia file of the second current display in viewing area;
When the first appointment gesture being detected in the second viewing area, according to putting in order of URL each in list to be shown, obtain the next URL of target URL; Load the destination multimedia file that next URL is corresponding; The destination multimedia file that next URL is corresponding is shown in the second viewing area;
When the second appointment gesture being detected in arbitrary second viewing area, according to putting in order of URL each in list to be shown, obtain a upper URL of target URL; Load the destination multimedia file that a URL is corresponding; The destination multimedia file that a URL is corresponding in the second viewing area display.
In the 6th kind of possible embodiment provided based on the embodiment that the first is possible, in the storer of terminal, also comprise the instruction for performing following operation: before the second viewing area of display screen shows at least one destination multimedia file successively, also comprise:
Whether the second viewing area of detection display screen is occupied;
When the second viewing area is unoccupied, perform the step showing at least one destination multimedia file in the second viewing area of display screen successively.
The non-transitory computer-readable recording medium that disclosure embodiment provides, by when the first viewing area display web page of display screen, obtain the destination multimedia file in the current web page content of first area display display, and at the second viewing area display-object multimedia file of display screen, realize a kind of mode of display web page content and multimedia file corresponding to web page contents simultaneously in the different viewing area of display screen, thus be convenient to check text in webpage or the relation of other content and multimedia file and the details of multimedia file, not only make the web page contents of display abundanter, and the mode of display web page content is more flexible.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (13)

1. a display packing for web page contents, is characterized in that, described method comprises:
When the current page of the first viewing area display display screen being detected is webpage, scan described webpage, obtain at least one multimedia file in described webpage, described display screen comprises multiple viewing area, different viewing area is for showing different content, and described first viewing area is any one in described multiple viewing area;
According to the current web page content of described first viewing area display, obtain at least one destination multimedia file, described destination multimedia file is the multimedia file that described current web page content comprises;
At least one destination multimedia file described is shown successively in the second viewing area of described display screen.
2. method according to claim 1, is characterized in that, before the described webpage of described scanning, also comprises:
According to page layout's type of the current page of described first viewing area display, determine whether described current page is webpage.
3. method according to claim 1, is characterized in that, the described webpage of described scanning, obtains at least one multimedia file in described webpage, comprising:
Scan the source code of described webpage, obtain at least one uniform resource position mark URL in described webpage;
For arbitrary URL, judge the type identification whether comprising multimedia file in described URL;
When described URL comprises the type identification of described multimedia file, using content corresponding for described URL as a multimedia file.
4. method according to claim 1, is characterized in that, the described webpage of described scanning, after obtaining at least one multimedia file in described webpage, also comprises:
According to the order that each multimedia file is scanned, the uniform resource position mark URL of at least one multimedia file described is added into list to be shown;
Described the second viewing area at described display screen shows at least one destination multimedia file described successively, comprising:
Obtain the URL of the first aim multimedia file in described current web page content;
From described first aim multimedia file, according to URL the putting in order in described list to be shown of at least one destination multimedia file described, show at least one destination multimedia file described successively in the second viewing area of described display screen.
5. method according to claim 4, it is characterized in that, described URL the putting in order in described list to be shown according at least one destination multimedia file described, shows at least one destination multimedia file described successively, comprising in the second viewing area of described display screen:
Obtain the target URL of the destination multimedia file of the described second current display in viewing area;
When the first appointment gesture being detected in described second viewing area, according to putting in order of each URL in described list to be shown, obtain the next URL of described target URL; Load the destination multimedia file that described next URL is corresponding; At the destination multimedia file that the described second viewing area described next URL of display is corresponding;
When the second appointment gesture being detected in arbitrary second viewing area, according to putting in order of each URL in described list to be shown, obtain a upper URL of described target URL; Load the destination multimedia file that a described upper URL is corresponding; The destination multimedia file that a URL is corresponding on described second viewing area display is described.
6. method according to claim 1, is characterized in that, described the second viewing area at described display screen also comprises before showing at least one destination multimedia file described successively:
Whether the second viewing area detecting described display screen is occupied;
When described second viewing area is unoccupied, perform the step showing at least one destination multimedia file described in the second viewing area of described display screen successively.
7. a display device for web page contents, is characterized in that, described device comprises:
Scan module, for when the current page of the first viewing area display display screen being detected is webpage, scan described webpage, obtain at least one multimedia file in described webpage, described display screen comprises multiple viewing area, different viewing area is for showing different content, and described first viewing area is any one in described multiple viewing area;
Acquisition module, for the current web page content according to described first viewing area display, obtain at least one destination multimedia file, described destination multimedia file is the multimedia file that described current web page content comprises;
Display module, for showing at least one destination multimedia file described successively in the second viewing area of described display screen.
8. device according to claim 7, is characterized in that, described device also comprises:
Determination module, for page layout's type of the current page according to described first viewing area display, determines whether described current page is webpage.
9. device according to claim 7, is characterized in that, described scan module comprises:
Scanning submodule, for scanning the source code of described webpage, obtains at least one uniform resource position mark URL in described webpage;
Judge submodule, for for arbitrary URL, judge the type identification whether comprising multimedia file in described URL;
Determine submodule, for when described URL comprises the type identification of described multimedia file, using content corresponding for described URL as a multimedia file.
10. device according to claim 7, is characterized in that, described device also comprises:
Add module, for the order be scanned according to each multimedia file, the uniform resource position mark URL of at least one multimedia file described is added into list to be shown;
Described display module, for obtaining the URL of the first aim multimedia file in described current web page content; From described first aim multimedia file, according to URL the putting in order in described list to be shown of at least one destination multimedia file described, show at least one destination multimedia file described successively in the second viewing area of described display screen.
11. devices according to claim 10, is characterized in that, described display module comprises:
Obtain submodule, for obtaining the target URL of the destination multimedia file of the described second current display in viewing area;
First display sub-module, for when the first appointment gesture being detected in described second viewing area, according to putting in order of each URL in described list to be shown, obtains the next URL of described target URL; Load the destination multimedia file that described next URL is corresponding; At the destination multimedia file that the described second viewing area described next URL of display is corresponding;
Second display sub-module, for when the second appointment gesture being detected in arbitrary second viewing area, according to putting in order of each URL in described list to be shown, obtains a upper URL of described target URL; Load the destination multimedia file that a described upper URL is corresponding; The destination multimedia file that a URL is corresponding on described second viewing area display is described.
12. devices according to claim 7, is characterized in that, described device also comprises:
Detection module, whether occupied for the second viewing area detecting described display screen;
Described display module, for when described second viewing area is unoccupied, performs the step showing at least one destination multimedia file described in the second viewing area of described display screen successively.
13. 1 kinds of terminals, is characterized in that, described terminal comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
When the current page of the first viewing area display display screen being detected is webpage, scan described webpage, obtain at least one multimedia file in described webpage, described display screen comprises multiple viewing area, different viewing area is for showing different content, and described first viewing area is any one in described multiple viewing area;
According to the current web page content of described first viewing area display, obtain at least one destination multimedia file, described destination multimedia file is the multimedia file that described current web page content comprises;
At least one destination multimedia file described is shown successively in the second viewing area of described display screen.
CN201510836959.3A 2015-11-26 2015-11-26 Display methods, device and the terminal of web page contents Active CN105488145B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510836959.3A CN105488145B (en) 2015-11-26 2015-11-26 Display methods, device and the terminal of web page contents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510836959.3A CN105488145B (en) 2015-11-26 2015-11-26 Display methods, device and the terminal of web page contents

Publications (2)

Publication Number Publication Date
CN105488145A true CN105488145A (en) 2016-04-13
CN105488145B CN105488145B (en) 2019-07-09

Family

ID=55675120

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510836959.3A Active CN105488145B (en) 2015-11-26 2015-11-26 Display methods, device and the terminal of web page contents

Country Status (1)

Country Link
CN (1) CN105488145B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302543A (en) * 2016-10-17 2017-01-04 腾讯科技(深圳)有限公司 A kind of multimedia display method, Apparatus and system
CN106503124A (en) * 2016-10-19 2017-03-15 北京小米移动软件有限公司 The method and apparatus of multimedia file positioning in the page
CN108572980A (en) * 2017-03-10 2018-09-25 北京搜狗科技发展有限公司 A kind of webpage multi-screen display method and device
CN109948102A (en) * 2019-03-27 2019-06-28 维沃移动通信有限公司 Content of pages edit methods and terminal
CN111752509A (en) * 2019-03-29 2020-10-09 北京小米移动软件有限公司 Display control method and device of display screen and storage medium
CN111753132A (en) * 2020-07-06 2020-10-09 北京字节跳动网络技术有限公司 Video processing method, device, equipment and storage medium
CN111813356A (en) * 2020-06-12 2020-10-23 彭程 Multimedia resource display method and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588864A (en) * 2004-09-03 2005-03-02 王金堃 Net page with play field
CN101706796A (en) * 2008-11-14 2010-05-12 北京搜狗科技发展有限公司 Method and device for showing webpage resources
CN102238302A (en) * 2010-04-22 2011-11-09 三星电子株式会社 Image forming apparatus and method for providing user interface screen of image forming apparatus
CN102915176A (en) * 2012-09-19 2013-02-06 东莞宇龙通信科技有限公司 Method and device for split-screen display
CN102968509A (en) * 2012-12-17 2013-03-13 腾讯科技(深圳)有限公司 Method and device for multimedia playing in browser
CN103873940A (en) * 2012-12-17 2014-06-18 联想(北京)有限公司 Information processing method and electronic equipment
CN104216944A (en) * 2014-07-10 2014-12-17 腾讯科技(深圳)有限公司 Webpage content display method and webpage content display device
CN104217024A (en) * 2014-09-26 2014-12-17 深圳创维-Rgb电子有限公司 Method and device for processing webpage data
CN104765539A (en) * 2015-03-25 2015-07-08 天脉聚源(北京)传媒科技有限公司 Message display method and device
CN105094737A (en) * 2015-08-07 2015-11-25 北京橙鑫数据科技有限公司 Multimedia information display method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588864A (en) * 2004-09-03 2005-03-02 王金堃 Net page with play field
CN101706796A (en) * 2008-11-14 2010-05-12 北京搜狗科技发展有限公司 Method and device for showing webpage resources
CN102238302A (en) * 2010-04-22 2011-11-09 三星电子株式会社 Image forming apparatus and method for providing user interface screen of image forming apparatus
CN102915176A (en) * 2012-09-19 2013-02-06 东莞宇龙通信科技有限公司 Method and device for split-screen display
CN102968509A (en) * 2012-12-17 2013-03-13 腾讯科技(深圳)有限公司 Method and device for multimedia playing in browser
CN103873940A (en) * 2012-12-17 2014-06-18 联想(北京)有限公司 Information processing method and electronic equipment
CN104216944A (en) * 2014-07-10 2014-12-17 腾讯科技(深圳)有限公司 Webpage content display method and webpage content display device
CN104217024A (en) * 2014-09-26 2014-12-17 深圳创维-Rgb电子有限公司 Method and device for processing webpage data
CN104765539A (en) * 2015-03-25 2015-07-08 天脉聚源(北京)传媒科技有限公司 Message display method and device
CN105094737A (en) * 2015-08-07 2015-11-25 北京橙鑫数据科技有限公司 Multimedia information display method and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302543A (en) * 2016-10-17 2017-01-04 腾讯科技(深圳)有限公司 A kind of multimedia display method, Apparatus and system
CN106302543B (en) * 2016-10-17 2019-12-27 腾讯科技(深圳)有限公司 Multimedia display method, device and system
CN106503124A (en) * 2016-10-19 2017-03-15 北京小米移动软件有限公司 The method and apparatus of multimedia file positioning in the page
CN106503124B (en) * 2016-10-19 2019-08-30 北京小米移动软件有限公司 The method and apparatus that multimedia file positions in the page
CN108572980A (en) * 2017-03-10 2018-09-25 北京搜狗科技发展有限公司 A kind of webpage multi-screen display method and device
CN108572980B (en) * 2017-03-10 2021-10-15 北京搜狗科技发展有限公司 Webpage split-screen display method and device
CN109948102A (en) * 2019-03-27 2019-06-28 维沃移动通信有限公司 Content of pages edit methods and terminal
CN111752509A (en) * 2019-03-29 2020-10-09 北京小米移动软件有限公司 Display control method and device of display screen and storage medium
CN111813356A (en) * 2020-06-12 2020-10-23 彭程 Multimedia resource display method and electronic equipment
CN111753132A (en) * 2020-07-06 2020-10-09 北京字节跳动网络技术有限公司 Video processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN105488145B (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN105955607B (en) Content sharing method and device
CN105488145A (en) Webpage content display method and apparatus and terminal
CN105512909A (en) Commodity recommendation method apparatus
CN105095345A (en) Method and device for prompting push message
CN105204846A (en) Method for displaying video picture in multi-user video, device and terminal equipment
CN107066172A (en) The document transmission method and device of mobile terminal
CN105094549A (en) Method and device for displaying messages
CN104731688A (en) Method and device for prompting reading schedule
CN105159524A (en) Interface display method and apparatus
CN103973900B (en) The method of transmission information and device
CN104778405A (en) Method and device for blocking advertisements
CN106126018A (en) Desktop icons sort method and device
CN104020924A (en) Label establishing method and device and terminal
CN105530167A (en) Method and device for setting group name card
CN104978141A (en) Picture management method, device and terminal
CN103970576A (en) Installation information displaying method, obtaining method and device
CN104602275B (en) Client identification module SIM card switching method and device
CN105511777A (en) Session display method and device of touch display screen
CN105354017A (en) Information processing method and apparatus
CN104536787A (en) Resource preloading method and device
CN105872573A (en) Video playing method and apparatus
CN105488829A (en) Method and device for generating head portrait
CN105550213A (en) Picture browsing method and device
CN104951184A (en) Application program downloading method and device
CN104636064A (en) Gesture generating method and device

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