CN106155507A - A kind of page content display method and electronic equipment - Google Patents

A kind of page content display method and electronic equipment Download PDF

Info

Publication number
CN106155507A
CN106155507A CN201510147496.XA CN201510147496A CN106155507A CN 106155507 A CN106155507 A CN 106155507A CN 201510147496 A CN201510147496 A CN 201510147496A CN 106155507 A CN106155507 A CN 106155507A
Authority
CN
China
Prior art keywords
page
control
multimedia file
button
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510147496.XA
Other languages
Chinese (zh)
Inventor
李欣
芦钢
廉磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201510147496.XA priority Critical patent/CN106155507A/en
Publication of CN106155507A publication Critical patent/CN106155507A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The present invention relates to field of human-computer interaction, disclose a kind of page content display method and electronic equipment, the technical problem the most more to solve to show in prior art the relevant information of the multimedia file corresponding to first page.The method is applied in electronic equipment, the first application program is shown on the display unit of electronic equipment, the tab bar of the first application program shows the page-tag of at least one page comprising first page, method includes: when comprising multimedia file in first page, detection user operates for the control of the first page label of first page, wherein, multimedia file is particularly as follows: audio file and/or video file;Judge whether control operation meets first pre-conditioned;Control operation meet first pre-conditioned time, a window shows the relevant information of multimedia file.Reach the time-consuming technique effect of the relevant information reducing display multimedia file.

Description

A kind of page content display method and electronic equipment
Technical field
The present invention relates to field of human-computer interaction, particularly relate to a kind of page content display method and electronic equipment.
Background technology
In prior art, user, office or amusement when, often uses browser browsing multimedia File (such as: video file or music file).To open as a example by music website listens music, After selected good song, the page at music place or window would generally be placed in backstage and play by user.Now, If user needs music operates (play as suspended or play next song etc.), need to click on music Play page-tag or the window of the page, after being put back into foreground, specifically can operate in the page.
Under normal circumstances, multimedia file can be play (such as: music or regard by HTML5 technology Frequently), this technology is supported by the browser kernel in most of modern times.Use HTML5's Audio/video label just can allow browser kernel play music or video.Wherein, audio/video mark Label are parts of page DOM, in that context it may be convenient to the javascript script in the page communicates, Thus control the broadcasting of music or video.
But, the suitable complexity that the most increasing music site or video website are done, and the page In be doped with a lot of advertisement, if so user needs the relevant information of view multimedia documents, then needing consumption Take the more time, the most convenient, such as: to obtain multimedia by the title of web search multimedia file The relevant information of file also shows or finds the relevant information of multimedia file in a lot of advertisements and show Etc..
Summary of the invention
The present invention provides a kind of page content display method and electronic equipment, to solve in prior art display the The technical problem that the relevant information of the multimedia file corresponding to one page is the most more.
First aspect, the embodiment of the present invention provides a kind of page content display method, is applied in electronic equipment, The first application program, the tab bar of described first application program is shown on the display unit of described electronic equipment Showing the page-tag of at least one page comprising first page, described method includes:
When comprising multimedia file in described first page, user is for the first of described first page in detection The control operation of page-tag, wherein, described multimedia file is particularly as follows: audio file and/or video file;
Judge whether described control operation meets first pre-conditioned;
Described control operation meet described first pre-conditioned time, show in a window described multimedia literary composition The relevant information of part.
Optionally, described relevant information is particularly as follows: the album art information of described multimedia file;Or
The player of described multimedia file;Or
Word content information corresponding to described audio file;Or
The preview file information of described video file.
Optionally, described first page label shows the sub-button of N number of control of described multimedia file, N For positive integer, the described sub-button of N number of control belongs to first kind control knob.
Optionally, described method also includes:
When detecting that satisfied second pre-conditioned control operates, described first page label shows and removes Other M the sub-button of control outside the described sub-button of N number of control, M is positive integer, described M control System button falls within described first kind control knob.
Optionally, described method also includes:
When satisfied 3rd pre-conditioned control operation being detected, control the described sub-button of N number of control by the One direction is moved towards second direction, and then is pressed by least one control in the described sub-button of N number of control Button replaces with other the sub-button of control outside the described sub-button of N number of control.
Optionally, the quantity of N is adjusted according to the width of described first page label;Or when N is fixing During value, the width of described first page label is adjusted according to the value of N.
Optionally, described method also includes:
According to the broadcast state of described multimedia file, determine that described first kind control knob is comprised many The sub-button of individual control is shown in the priority of described first page label;
From the sub-button of the plurality of control, determine that priority bit is shown in the sub-button of control of top N Described first page label.
Optionally, described method also includes:
When comprising described multimedia file in described first page, set up described multimedia file and the first kind The association of control knob, and described first kind control knob is shown on the label of first page, to pass through Described multimedia file is controlled by described first kind control knob.
Optionally, described described multimedia file is controlled, specifically includes:
Receive user's control operation for described first kind control knob of described electronic equipment;
The described control for described first kind control knob is operated and is converted to for Equations of The Second Kind control knob Respective operations, described Equations of The Second Kind control knob be the control of multimedia file described in described first page by Button;
The described respective operations for Equations of The Second Kind control knob of response, and then the broadcasting to described multimedia file It is controlled.
Optionally, described described multimedia file is controlled, specifically includes:
Receive user's control operation for described first kind control knob of described electronic equipment;
The described control for described first kind control knob is operated and is converted to for described multimedia file Control instruction;
Perform described control instruction, be controlled with the broadcasting to described multimedia file.
Optionally, described method also includes:
Judge whether described first page is to preset the class page;
When described first page is the described default class page, it is judged that whether described first page comprises described Multimedia file.
Optionally, the described relevant information showing described multimedia file in a window, specifically include:
Judge for described first page label control operate meet described first pre-conditioned time, obtain Take described relevant information;
Described relevant information is shown in described window.
Optionally, described method also includes:
When comprising described multimedia file in confirming described first page, obtain described relevant information and by institute State relevant information and be shown in described window;
Control described window and be in hidden state;
The described relevant information showing described multimedia file in a window, specifically includes:
Control described window and entered display state by described hidden state.
Second aspect, the embodiment of the present invention provides a kind of electronic equipment, on the display unit of described electronic equipment Showing the first application program, the tab bar of described first application program shows and comprises first page The page-tag of at least one page, described electronic equipment includes:
Detection module, in time comprising multimedia file in described first page, user is for described in detection The control operation of the first page label of first page, wherein, described multimedia file is particularly as follows: audio frequency is civilian Part and/or video file;
Judge module, is used for judging whether described control operation meets first pre-conditioned;
Display module, for described control operation meet described first pre-conditioned time, aobvious in a window Show the relevant information of described multimedia file.
Optionally, described relevant information is specially the album art information of described multimedia file;Or
The player of described multimedia file;Or
Word content information corresponding to described audio file;Or
The preview file information of described video file.
Optionally, described first page label shows the sub-button of N number of control of described multimedia file, N For positive integer, the described sub-button of N number of control belongs to first kind control knob.
Optionally, described electronic equipment also includes:
Set up module, in time comprising described multimedia file in described first page, set up described many matchmakers Body file associates with first kind control knob, and shows described first kind control knob in first page On label, described multimedia file is controlled by described first kind control knob.
Optionally, described set up module, specifically include:
First receives unit, for receiving the user of described electronic equipment for described first kind control knob Control operation;
First converting unit, is converted to pin for the described control for described first kind control knob being operated Respective operations to Equations of The Second Kind control knob, described Equations of The Second Kind control knob is many described in described first page The control knob of media file;
Response unit, for responding the described respective operations for Equations of The Second Kind control knob, and then to described many The broadcasting of media file is controlled.
Optionally, described set up module, specifically include:
Second receives unit, for receiving the user of described electronic equipment for described first kind control knob Control operation;
Second converting unit, is converted to pin for the described control for described first kind control knob being operated Control instruction to described multimedia file;
Performance element, is used for performing described control instruction, is controlled with the broadcasting to described multimedia file.
Optionally, described electronic equipment, also include:
Second judge module, is used for judging whether described first page is to preset the class page;
3rd judge module, for when described first page is the described default class page, it is judged that described first Whether the page comprises described multimedia file.
Optionally, described display module, specifically include:
Acquiring unit, for judge for described first page label control operate meet described first Time pre-conditioned, obtain described relevant information;
Display unit, for showing described relevant information in described window.
Optionally, described electronic equipment also includes:
Acquisition module, during for comprising described multimedia file in confirming described first page, obtains described Described relevant information is also shown in described window by relevant information;
Hide module, be used for controlling described window and be in hidden state;
Described display module, specifically for:
Control described window and entered display state by described hidden state.
The present invention has the beneficial effect that:
Due in embodiments of the present invention, it is provided that a kind of page content display method, it is applied to electronic equipment In, the display unit of electronic equipment shows the first application program, the tab bar of the first application program shows Having the page-tag of at least one page comprising first page, the method includes: in first page When comprising multimedia file, detection user operates for the control of the first page label of first page, wherein, Multimedia file is particularly as follows: audio file and/or video file;Judge whether control operation meets first and preset Condition;Control operation meet first pre-conditioned time, show in first window multimedia file be correlated with Information.Namely operated for the control of first page label by response, it is possible to show many at a window The relevant information of media file, without being scanned for by network, being wrapped also without in first page The a lot of contents contained are found the relevant information of multimedia file, so reducing the phase of display multimedia file Pass information time-consuming and more convenient to operate;
Further, owing to being shown in a window in relevant information, and window can take bigger space, so Reach the technique effect that the content of obtained relevant information is more.
Accompanying drawing explanation
Fig. 1 is the flow chart of page content display method in the embodiment of the present invention;
Fig. 2 is the signal of three pages in embodiment of the present invention page content display method shown by browser Figure;
Fig. 3 a is that in embodiment of the present invention page content display method, first page label region shows three The schematic diagram of the sub-button of individual control;
Fig. 3 b is that in embodiment of the present invention page content display method, first page label region shows three The schematic diagram of other the sub-button of control outside the sub-button of individual control;
Fig. 3 c is to three shown by first page label in embodiment of the present invention page content display method Control the schematic diagram after sub-button switches over;
Fig. 4 is the structure chart of electronic equipment in the embodiment of the present invention.
Detailed description of the invention
The present invention provides a kind of page content display method and electronic equipment, to solve in prior art display the The technical problem that the relevant information of the multimedia file corresponding to one page is the most more.
Technical scheme in the embodiment of the present application is to solve above-mentioned technical problem, and general thought is as follows:
Provide a kind of page content display method, be applied in electronic equipment, the display unit of electronic equipment On show the first application program, the tab bar of the first application program shows and comprises first page extremely The page-tag of few page, the method includes: when comprising multimedia file in first page, detection User operates for the control of the first page label of first page, and wherein, multimedia file is particularly as follows: sound Frequency file and/or video file;Judge whether control operation meets first pre-conditioned;Meet controlling operation First pre-conditioned time, first window shows the relevant information of multimedia file.Namely by response Control for first page label operates, it is possible to show the relevant information of multimedia file at a window, Without being scanned for by network, many also without a lot of contents comprised in first page are found The relevant information of media file, so reducing the time-consuming of the relevant information of display multimedia file, and operation Convenient;
Further, owing to being shown in a window in relevant information, and window can take bigger space, so Reach the technique effect that the content of obtained relevant information is more.
In order to be better understood from technique scheme, below by accompanying drawing and specific embodiment to skill of the present invention Art scheme is described in detail, it should be understood that the specific features in the embodiment of the present invention and embodiment is to this The detailed description of inventive technique scheme rather than the restriction to technical solution of the present invention, in the feelings do not conflicted Under condition, the technical characteristic in the embodiment of the present invention and embodiment can be mutually combined.
First aspect, the embodiment of the present invention provides a kind of page content display method, is applied in electronic equipment, Showing the first application program on the display unit of electronic equipment, the tab bar of the first application program shows bag Containing first page in the page-tag of at least one interior page, refer to Fig. 1, the method includes:
Step S101: when comprising multimedia file in first page, detection user is for the of first page The control operation of one page-tag, wherein, multimedia file is particularly as follows: audio file and/or video file;
Step S102: judge whether control operation meets first pre-conditioned;
Step S103: control operation meet first pre-conditioned time, in a window, show multimedia file Relevant information.
For example, electronic equipment is for example: notebook computer, panel computer, mobile phone etc..
For example, the first application program is for example: browser, document browsing program, image processing program Etc., introduce conveniently in order to follow-up, will carry out as a example by the first application program is as browser in the present embodiment Introduce.As in figure 2 it is shown, comprise the page-tag of three pages on browser, the page title of first page For: the page 1, the page title of second page be the page 2, the page title in page 3 face be the page 3, use The page that family currently browses can be any one page in the these three page (namely at least one page), If the page that user currently browses is that (user is current in fig. 2 for other page outside first page The page browsed is second page), then ensure that when user does not browse first page, it is also possible to Solve the relevant information of the multimedia file of first page.
Wherein it is possible to the page-tag of at least one page is managed by the plug-in unit of browser, browse The plug-in unit of device is accompanied by the startup of browser and starts, and wherein, each plug-in unit can have a background page Face, background pages followed by the startup of browser and starts, and life cycle with the life cycle of browser is Consistent, in background pages, the interface that a lot of browser provides can be called.Such as, we can lead to Cross interface and create, close or change the state of page-tag, say, that can by interface actively The page-tag of ground operation browser.In contrast, another part interface can monitor browser page mark The change signed, whenever user creates, closes or change page-tag state when, all can give background page Face sends a notice, and background pages can be carried out ensuing logic after having notice.After this, Whenever user opens or during refresh page label, plug-in unit is all it is known that this page-tag concrete URL。
In step S101, control operation for example: with the operation of click first page label, mouse Float in the operation of first page label, the expression in the eyes operation staring at first page label etc..
In step S102, first pre-conditioned can be preset any condition, such as: the control detected Operation, the control operation that detects that system operation is floated at first page label for mouse stare at first for default Operation of page-tag etc..
In step S103, one section of script (such as: javascript script) can be injected in first page, Obtained by this section of script and show the relevant information of multimedia file and relevant information is shown in display One window of unit.
In step S103, the relevant information of multimedia file can be polytype relevant information, below Enumerate therein several be introduced, certainly, in specific implementation process, be not limited to following several situation.
The first, multimedia file for example: audio file, in this case, relevant information for example: Word content information corresponding to audio file, wherein can by the label information of audio file in a network Search obtains the word content information of audio file;Or, audio file can be carried out speech recognition, And then obtain word content information therein, and it is shown in the display unit of electronic equipment.Wherein, as If really audio file is song, then the word content information corresponding to audio file is then lyrics information;As Really audio file is sound little word, then show novel chapters and sections content of current paragraph of correspondence etc..
Further, it is also possible to currently playing word content is carried out emphasis mark, such as: be highlighted, Overstriking shows etc., and then points out currently playing word content.
The second, comprises at multimedia file: during video file, and relevant information is particularly as follows: video file Preview file information.
For example, detect control operation meet first pre-conditioned time, can obtain correspondence video File, after then the size of video file being compressed, is shown in display unit, compressed video File is the preview file information of video file.
Wherein, for the video object in webpage, utilize the script injected in webpage, can be play The information such as source, playing progress rate is delivered in the background pages of plug-in unit, after background pages obtains these information, and can With video living video object in one calcaneus rete page of clone.Utilize the interface that browser is open, will This video object passes to the first label, when satisfied first the first pre-conditioned control operation being detected Afterwards, the video object corresponding to first page label is just shown.So user just can not switch page In the case of the label of face, it is seen that the preview effect of video playback under other page.
The third, relevant information is particularly as follows: the album art information of multimedia file;
For example, correspondence can be obtained by the label information of multimedia file or heading message search Album art information, and it is shown in this window.
4th kind, relevant information is particularly as follows: the player of multimedia file.
, it is possible to obtain the player of the multimedia file in first page, and be shown in this for example Window;Can also search for from network and obtain other player, and be shown in this window, such that it is able to The control to the multimedia file in first page is realized by the player shown by this window.
In specific implementation process, step S103 can show multimedia the most in the window The relevant information of file, is set forth below two kinds of display modes therein, certainly, in specific implementation process, It is not limited to following two mode.
The first, show the relevant information of multimedia file in a window, specifically include:
Judge to operate for the control of first page label meet first pre-conditioned time, obtain relevant letter Breath;Show relevant information in the window.
Specifically, detect for first page label control operate meet first pre-conditioned time, Also just the user of explanation electronic equipment needs to show the relevant information of multimedia file, in this case, Need to obtain relevant information.
Due in such scheme, it is not necessary to obtain relevant information every time, so electronic equipment can be reduced Storage burden;And owing to need not prestore the relevant information of multimedia file in the program, so The resource taking electronic equipment is less.
The second, when comprising multimedia file in confirming first page, obtains relevant information and by relevant letter Breath is shown in window;Control window and be in hidden state;
In a window, show the relevant information of multimedia file, specifically include: control window by hidden state Enter display state.
For example, the first label can be pre-created a transparent window, for showing multimedia file Relevant information, when there is not satisfied first pre-conditioned control and operating, can control transparent window and be in Hidden state (such as: never call transparent window, the opacity of transparent window is adjusted to 0% etc.), After satisfied first pre-conditioned control operation being detected, then control transparent window and be in display state (such as: call transparent window on foreground, the opacity of transparent window is adjusted to 50%, 70%, 100% Etc.), and then the relevant information of display multimedia file.
Due in such scheme, obtain the relevant information of multimedia file in advance and to be pre-created display relevant The window of information such that it is able to improve the speed of the relevant information of display multimedia file.
By the relevant information of multimedia file is shown in window, it is possible to ensure the relevant letter of multimedia file Breath has a sufficient position display, and then enables the convenient reading multimedia file of the user of electronic equipment Relevant information.
As further preferred embodiment, first page label shows N number of control of multimedia file Sub-button, N is positive integer, and the sub-button of N number of control belongs to first kind control knob.
For example, first kind control knob refers to be positioned on first page label with many to first page The button that media file is controlled, first kind control knob such as can comprise: time-out, F.F., stopping, At least one button in the buttons such as broadcasting, rewind.N is for example: 3,4 etc., as shown in Figure 3 a, 3 schematic diagrams controlling sub-button are shown for first page label.
In specific implementation process, can control to be shown in N number of control of first page label in several ways The quantity of system button, is set forth below two kinds therein and is introduced, certainly, in specific implementation process, It is not limited to following two situation.
The first, the quantity of N is adjusted according to the width of first page label.
For example, in the first application program, the width of each page-tag is fixed value, each page mark Sign width for example: the overall width of page-tag is divided by the quantity of page-tag, and each control is pressed The width of button is all fixed value, so the page of first page can be cut by the width of first page label The width of title, then divided by controlling the width of sub-button, and then determines and is shown in first page label Control quantity N of sub-button.
The second, when N is fixed value, the width of first page label is adjusted according to the value of N.
For example, namely the width of first page label is not fixed, but adjusts according to the value of N Whole, wherein N is for example: certain fixed numbers (such as: 3,4 etc.), it is also possible to for controlling sub-button Sum etc., the embodiment of the present invention is not restricted.After the quantity determining N, it is multiplied by each by N Control the width of sub-button, then add the width of the page title of first page, it is possible to determine first The width of page-tag.
In specific implementation process, due to multimedia file is controlled control sub-button quantity often More, it is generally the case that the sub-button of not all control all can be shown in first page label, at this In the case of Zhong, the most for convenience multimedia file is controlled, then needs to be called by certain operations N number of Control other the sub-button of control outside sub-button, therein two kind method of calling be set forth below and be introduced, Certainly, in specific implementation process, however it is not limited to following two method of calling.
The first, when detecting that satisfied second pre-conditioned control operates, show at first page label Other M the sub-button of control in addition to the sub-button of N number of control, M is positive integer, and M controls son and press Button falls within first kind control knob.
For example, meet the second pre-conditioned control to operate for example: mouse is positioned over first page mark The operation of label, the expression in the eyes operation staring at first page label etc..
After satisfied second pre-conditioned control operation being detected, then illustrate that the user of electronic equipment wishes View other M and control sub-button, so then not only showing that N number of control is pressed at first page label Button, it is also possible to show that other M controls sub-button, such as, shows other by the way of pop-up window Control sub-button, as shown in Figure 3 b.
By such scheme, reach to ensure that first kind control knob can be best seen in first page The technique effect of label.
The second, when detecting that satisfied 3rd pre-conditioned control operates, controls the sub-button of N number of control Moved towards second direction by first direction, and then at least one control in sub-for N number of control button is pressed Button replaces with other the sub-button of control outside the sub-button of N number of control.
For example, meet the 3rd pre-conditioned control to operate for example: mouse is positioned over first page mark Sign and the operation of scroll wheel, expression in the eyes are positioned at first page label and the operation of left-right rotation, mouse stops On label and by the operation moved left and right of wheel operation button, the operation clicking on left and right arrow etc.. Wherein one numbering can be set for the sub-button of each control, if be detected that the rotation that expression in the eyes is from left to right Operation, then show that the sub-button of N number of control moves from left to right, thus is positioned at the in the sub-button of N number of control Part button on the right side of one label is no longer shown in the first label, and other control sub-button and are shown in the most successively On the left of first label;If be detected that mouse is positioned over the first label and clicks on the operation of left arrow, then control The sub-button of N number of control moves from right to left, thus is positioned at the portion on the left of the first label in the sub-button of N number of control Point button is no longer shown in the first label, and other control sub-buttons and are shown in the most successively on the right side of the first label Deng.As shown in Figure 3 c, after moving for the sub-button of N number of control, the control shown by first page label The schematic diagram of sub-button.
By such scheme, reach conveniently to switch the sub-button that controls shown by first page label Technique effect.
As further preferred embodiment, method also includes:
According to the broadcast state of multimedia file, determine multiple control that first kind control knob is comprised Button is shown in the priority of first page label;
From the sub-button of multiple controls, determine that priority bit is shown in first in the sub-button of control of top N Page-tag.
For example, in specific implementation process, the script injecting first page can also lead to plug-in unit Letter, and then by the broadcast state of the multimedia file in this section of script detection first page, and will be able to broadcast State of putting sends to background pages.Wherein it is possible to by detection Equations of The Second Kind control knob (namely at page 1 The button in face, multimedia file being controlled) state or the state of audio/video object come really Determine the broadcast state of multimedia file in first page, such as: by detection Equations of The Second Kind control knob Whether whether broadcast button is in triggering state is play or detects audio object determining multimedia file The most playing whether the player determining in first page is in broadcast state etc..
And the difference of broadcast state of based on multimedia file, the demand for control of the multimedia file of electronic equipment Also different, such as: if multimedia file is in not yet broadcast state, then broadcast button, a upper head button, The use priority of next button can be higher;If multimedia file is in broadcast state, then pause button, The use priority of fast forward button is higher etc..In such a case, it is possible to difference based on multimedia file Broadcast state, and then determine the priority being shown in first page label of first kind control knob.
Owing to being finally that priority bit is shown in first page label, the most just in the sub-button of control of top N It is that the sub-button of control the highest for subscriber usage is shown in first page label, thus to multimedia file Control convenient.
As further preferred embodiment, method also includes:
When comprising multimedia file in first page, set up the pass of multimedia file and first kind control knob Connection, and first kind control knob is shown on the label of first page, with by first kind control knob pair Multimedia file is controlled.
For example, first electronic equipment can obtain the page code of first page, then judges page 1 Whether face comprises default label, default label for example: for video file video label, for Audio label of audio file etc., if comprising default label in first page, then illustrates first page In comprise multimedia file, thus need to set up associating of multimedia file and first kind control knob.
Browser by judging whether comprise multimedia file in first page multiple opportunity can be set forth below Two kinds therein are introduced, and certainly, in specific implementation process, are not limited to following two situation.
The first, method also includes:
Judge whether first page is to preset the class page;
When first page is for presetting the class page, it is judged that whether first page comprises multimedia file.
For example, the class page is preset for example: the video playback class page, audio frequency broadcast message class page etc.. As a example by the first application program is as browser, then presetting the class page is to preset class webpage, wherein it is possible in advance Collect video class website, the domain-name information of audio class website, then when opening first page by browser, The domain name of first page is mated with presetting the domain-name information collected, if the match is successful, then illustrates the One page is for presetting the class page, if mating unsuccessful, then explanation first page is not for presetting the class page.
And if first page is for presetting the class page, then explanation first page comprises the probability of multimedia file Higher, in this case, then can in first page injection script, can be positioned by this section of script Whether the video player in first page or audio player, and then detection first page comprise many matchmakers Body file, and associating of multimedia file and first kind control knob is set up when comprising multimedia file.
Due in such scheme, when first page is for presetting the class page, just need to detect in first page Whether comprise multimedia file, judge whether it comprises multimedia file without for each page, So having reached the technique effect of the processing load reducing electronic equipment.
Whether the second, when browsing first page by the first application program, it is judged that comprise in first page Multimedia file.
For example, namely if be detected that the first application program browses first page, then directly first Injection script in the page, and then by whether this section of script detection first page comprises multimedia file, as Really first page comprises multimedia file, then can set up multimedia file and the first kind by this section of script The association of control knob, is controlled with the broadcasting to multimedia file.
Owing to, in such scheme, can detect in this page whether comprise multimedia file for each page, So the page will not be omitted, thus can be shown by this window for any page comprising multimedia file Show the relevant information of its correspondence.
In specific implementation process, when user clicks on by controlling operation and/or drags first kind control knob, First background pages can be notified, and background pages is after being notified, and the plug-in unit of carrying background pages is first First being sent to inject before that section of script of first page by corresponding message, this section of script will be according in advance The program set removes operation player corresponding to multimedia file, reaches to control what multimedia file was play Purpose.
In specific implementation process, in several ways multimedia file can be controlled, be set forth below Two kinds of forms therein, certainly, in specific implementation process, however it is not limited to following two situation.
The first, the broadcasting to multimedia file is controlled, and specifically includes:
Receive user's control operation for first kind control knob of electronic equipment;
The operation that controls for first kind control knob is converted to the corresponding behaviour for Equations of The Second Kind control knob Making, Equations of The Second Kind control knob is the control knob of multimedia file in first page;
Respond the respective operations for Equations of The Second Kind control knob, and then the broadcasting to multimedia file is controlled.
For example, namely plug-in unit carrys out analog subscriber click by code and/or drags Equations of The Second Kind control knob Operation, and then by click on and/or drag operation Equations of The Second Kind control knob is controlled, and then realize right The control that multimedia file is play.
Such as, if user clicks the pause button on the first label (namely in first kind control knob Pause button), plug-in unit can by suspend this event be delivered to first page (namely: player place The page) in, the mode that then script in first page can utilize simulation to click on pause button goes to suspend many matchmakers The broadcasting of body file.
The second, the broadcasting to multimedia file is controlled, and specifically includes:
Receive user's control operation for first kind control knob of electronic equipment;
The operation that controls for first kind control knob is converted to the control instruction for multimedia file;
Perform control instruction, be controlled with the broadcasting to multimedia file.
For example, namely directly the control that operation is converted to be controlled will be controlled for multimedia file Instruction, and then directly multimedia file is controlled by control instruction.For example, it is possible to first find first Audio/video label in the page, obtains HTML5 the most accordingly after finding audio/video label Audio/video object, utilize the HTML5 object of other form (can certainly for) to provide Built-in interface (such as play, pause etc.) just can control the broadcasting of audio file or video file.
Such as, if user clicks the pause button on label, plug-in unit can be delivered to suspending this event First page, this event is converted to pause instruction, passes through audio/video by the script in first page The interface that suspends of object goes to suspend the broadcasting of multimedia file.
Owing to, in such scheme, directly the control operation for first kind control knob being converted to control and referring to Order, even so the multimedia file in first page does not comprise Equations of The Second Kind control knob, it is also possible to real The now control to the multimedia file in first page, so its range of application is more extensive.
During the above-mentioned broadcasting to multimedia file controls, it is not necessary to user is switched by current page label To first page label, more need not user in the complicated page, find player, and then just can realize Control to the broadcasting of multimedia file, so controlling convenient.
Second aspect, based on same inventive concept, the embodiment of the present invention provides a kind of electronic equipment, described electricity Showing the first application program on the display unit of subset, the tab bar of described first application program shows Comprise the page-tag of at least one page of first page, refer to Fig. 4, described electronic equipment bag Include:
Detection module 40, in time comprising multimedia file in described first page, user is for institute in detection Stating the control operation of the first page label of first page, wherein, described multimedia file is particularly as follows: audio frequency File and/or video file;
First judge module 41, is used for judging whether described control operation meets first pre-conditioned;
Display module 42, for described control operation meet described first pre-conditioned time, in a window Show the relevant information of described multimedia file.
Optionally, described relevant information is specially the album art information of described multimedia file;Or
The player of described multimedia file;Or
Word content information corresponding to described audio file;Or
The preview file information of described video file.
Optionally, described first page label shows the sub-button of N number of control of described multimedia file, N For positive integer, the described sub-button of N number of control belongs to first kind control knob.
Optionally, described display module 42, it is additionally operable to:
When detecting that satisfied second pre-conditioned control operates, described first page label shows and removes Other M the sub-button of control outside the described sub-button of N number of control, M is positive integer, described M control System button falls within described first kind control knob.
Optionally, described electronic equipment also includes:
Control module, for when detecting that satisfied 3rd pre-conditioned control operates, controlling described N number of Control sub-button to be moved towards second direction by first direction, so by the described sub-button of N number of control extremely Few other sub-button of control controlled outside sub-button replaces with the described sub-button of N number of control.
Optionally, the quantity of N is adjusted according to the width of described first page label;Or when N is solid During definite value, the width of described first page label is adjusted according to the value of N.
Optionally, described electronic equipment also includes:
First determines module, for the broadcast state according to described multimedia file, determines the described first kind The sub-button of multiple controls that control knob is comprised is shown in the priority of described first page label;
Second determines module, for determining that priority bit is in top N from the sub-button of the plurality of control Control sub-button and be shown in described first page label.
Optionally, described electronic equipment also includes:
Set up module, in time comprising described multimedia file in described first page, set up described many matchmakers Body file associates with first kind control knob, and shows described first kind control knob in first page On label, described multimedia file is controlled by described first kind control knob.
Optionally, described set up module, specifically include:
First receives unit, for receiving the user of described electronic equipment for described first kind control knob Control operation;
First converting unit, is converted to pin for the described control for described first kind control knob being operated Respective operations to Equations of The Second Kind control knob, described Equations of The Second Kind control knob is many described in described first page The control knob of media file;
Response unit, for responding the described respective operations for Equations of The Second Kind control knob, and then to described many The broadcasting of media file is controlled.
Optionally, described set up module, specifically include:
Second receives unit, for receiving the user of described electronic equipment for described first kind control knob Control operation;
Second converting unit, is converted to pin for the described control for described first kind control knob being operated Control instruction to described multimedia file;
Performance element, is used for performing described control instruction, is controlled with the broadcasting to described multimedia file.
Optionally, described electronic equipment also includes:
Second judge module, is used for judging whether described first page is to preset the class page;
3rd judge module, for when described first page is the described default class page, it is judged that described first Whether the page comprises described multimedia file.
Optionally, described display module 42, specifically include:
Acquiring unit, for judge for described first page label control operate meet described first Time pre-conditioned, obtain described relevant information;
Display unit, for showing described relevant information in described window.
Optionally, described electronic equipment also includes:
Acquisition module, during for comprising described multimedia file in confirming described first page, obtains described Described relevant information is also shown in described window by relevant information;
Hide module, be used for controlling described window and be in hidden state;
Described display module 42, specifically for:
Control described window and entered display state by described hidden state.The one or more embodiment of the present invention, At least have the advantages that
Due in embodiments of the present invention, it is provided that a kind of page content display method, it is applied to electronic equipment In, the display unit of electronic equipment shows the first application program, the tab bar of the first application program shows Having the page-tag of at least one page comprising first page, the method includes: in first page When comprising multimedia file, detection user operates for the control of the first page label of first page, wherein, Multimedia file is particularly as follows: audio file and/or video file;Judge whether control operation meets first and preset Condition;Control operation meet first pre-conditioned time, show in first window multimedia file be correlated with Information.Namely operated for the control of first page label by response, it is possible to show many at a window The relevant information of media file, without being scanned for by network, being wrapped also without in first page The a lot of contents contained are found the relevant information of multimedia file, so reducing the phase of display multimedia file Pass information time-consuming and more convenient to operate;
Further, owing to being shown in a window in relevant information, and window can take bigger space, so Reach the technique effect that the content of obtained relevant information is more.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can use complete hardware embodiment, complete software implementation or knot The form of the embodiment in terms of conjunction software and hardware.And, the present invention can use and wherein wrap one or more Computer-usable storage medium containing computer usable program code (include but not limited to disk memory, CD-ROM, optical memory etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and / or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding The embedded controller of formula datatron or other programmable data processing device is to produce a machine so that logical The instruction of the embedded controller execution crossing computer or other programmable data processing device produces for real Now one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame are specified The device of function.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know base This creativeness concept, then can make other change and amendment to these embodiments.So, appended right is wanted Ask and be intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the embodiment of the present invention and not take off Spirit and scope from the embodiment of the present invention.So, if these amendments of the embodiment of the present invention and modification belong to Within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention be also intended to comprise these change and Including modification.

Claims (22)

1. a page content display method, is applied in electronic equipment, the display list of described electronic equipment Showing the first application program in unit, the tab bar of described first application program shows and comprises first page and exist The page-tag of at least one interior page, it is characterised in that described method includes:
When comprising multimedia file in described first page, user is for the first of described first page in detection The control operation of page-tag, wherein, described multimedia file is particularly as follows: audio file and/or video file;
Judge whether described control operation meets first pre-conditioned;
Described control operation meet described first pre-conditioned time, show in a window described multimedia literary composition The relevant information of part.
2. the method for claim 1, it is characterised in that
Described relevant information is particularly as follows: the album art information of described multimedia file;Or
The player of described multimedia file;Or
Word content information corresponding to described audio file;Or
The preview file information of described video file.
3. the method for claim 1, it is characterised in that show institute on described first page label Stating the sub-button of N number of control of multimedia file, N is positive integer, and the described sub-button of N number of control belongs to One class control knob.
4. method as claimed in claim 3, it is characterised in that described method also includes:
When detecting that satisfied second pre-conditioned control operates, described first page label shows and removes Other M the sub-button of control outside the described sub-button of N number of control, M is positive integer, described M control System button falls within described first kind control knob.
5. method as claimed in claim 3, it is characterised in that described method also includes:
When satisfied 3rd pre-conditioned control operation being detected, control the described sub-button of N number of control by the One direction is moved towards second direction, and then is pressed by least one control in the described sub-button of N number of control Button replaces with other the sub-button of control outside the described sub-button of N number of control.
6. method as claimed in claim 3, it is characterised in that the quantity of N is according to described first page The width of label is adjusted;Or when N is fixed value, the width of described first page label is according to N Value be adjusted.
7. the method as described in claim 3-6 is arbitrary, it is characterised in that described method also includes:
According to the broadcast state of described multimedia file, determine that described first kind control knob is comprised many The sub-button of individual control is shown in the priority of described first page label;
From the sub-button of the plurality of control, determine that priority bit is shown in the sub-button of control of top N Described first page label.
8. the method as described in claim 1-6 is arbitrary, it is characterised in that described method also includes:
When comprising described multimedia file in described first page, set up described multimedia file and the first kind The association of control knob, and described first kind control knob is shown on the label of first page, to pass through Described multimedia file is controlled by described first kind control knob.
9. method as claimed in claim 8, it is characterised in that described described multimedia file is carried out Control, specifically include:
Receive user's control operation for described first kind control knob of described electronic equipment;
The described control for described first kind control knob is operated and is converted to for Equations of The Second Kind control knob Respective operations, described Equations of The Second Kind control knob be the control of multimedia file described in described first page by Button;
The described respective operations for Equations of The Second Kind control knob of response, and then the broadcasting to described multimedia file It is controlled.
10. method as claimed in claim 8, it is characterised in that described described multimedia file is carried out Control, specifically include:
Receive user's control operation for described first kind control knob of described electronic equipment;
The described control for described first kind control knob is operated and is converted to for described multimedia file Control instruction;
Perform described control instruction, be controlled with the broadcasting to described multimedia file.
11. methods as claimed in claim 8, it is characterised in that described method also includes:
Judge whether described first page is to preset the class page;
When described first page is the described default class page, it is judged that whether described first page comprises described Multimedia file.
12. methods as described in claim 1-6 is arbitrary, it is characterised in that described display in a window The relevant information of described multimedia file, specifically includes:
Judge for described first page label control operate meet described first pre-conditioned time, obtain Take described relevant information;
Described relevant information is shown in described window.
13. methods as described in claim 1-6 is arbitrary, it is characterised in that described method also includes:
When comprising described multimedia file in confirming described first page, obtain described relevant information and by institute State relevant information and be shown in described window;
Control described window and be in hidden state;
The described relevant information showing described multimedia file in a window, specifically includes:
Control described window and entered display state by described hidden state.
14. 1 kinds of electronic equipments, the display unit of described electronic equipment shows the first application program, institute The tab bar stating the first application program shows the page mark of at least one page comprising first page Sign, it is characterised in that described electronic equipment includes:
Detection module, in time comprising multimedia file in described first page, user is for described in detection The control operation of the first page label of first page, wherein, described multimedia file is particularly as follows: audio frequency is civilian Part and/or video file;
First judge module, is used for judging whether described control operation meets first pre-conditioned;
Display module, for described control operation meet described first pre-conditioned time, aobvious in a window Show the relevant information of described multimedia file.
15. electronic equipments as claimed in claim 14, it is characterised in that described relevant information is specially The album art information of described multimedia file;Or
The player of described multimedia file;Or
Word content information corresponding to described audio file;Or
The preview file information of described video file.
16. electronic equipments as claimed in claim 14, it is characterised in that on described first page label Showing the sub-button of N number of control of described multimedia file, N is positive integer, the described sub-button of N number of control Belong to first kind control knob.
17. electronic equipments as described in claim 14-16 is arbitrary, it is characterised in that described electronic equipment Also include:
Set up module, in time comprising described multimedia file in described first page, set up described many matchmakers Body file associates with first kind control knob, and shows described first kind control knob in first page On label, described multimedia file is controlled by described first kind control knob.
18. electronic equipments as claimed in claim 17, it is characterised in that described set up module, specifically Including:
First receives unit, for receiving the user of described electronic equipment for described first kind control knob Control operation;
First converting unit, is converted to pin for the described control for described first kind control knob being operated Respective operations to Equations of The Second Kind control knob, described Equations of The Second Kind control knob is many described in described first page The control knob of media file;
Response unit, for responding the described respective operations for Equations of The Second Kind control knob, and then to described many The broadcasting of media file is controlled.
19. electronic equipments as claimed in claim 17, it is characterised in that described set up module, specifically Including:
Second receives unit, for receiving the user of described electronic equipment for described first kind control knob Control operation;
Second converting unit, is converted to pin for the described control for described first kind control knob being operated Control instruction to described multimedia file;
Performance element, is used for performing described control instruction, is controlled with the broadcasting to described multimedia file.
20. electronic equipments as claimed in claim 17, it is characterised in that described electronic equipment, also wrap Include:
Second judge module, is used for judging whether described first page is to preset the class page;
3rd judge module, for when described first page is the described default class page, it is judged that described first Whether the page comprises described multimedia file.
21. electronic equipments as described in claim 14-16 is arbitrary, it is characterised in that described display module, Specifically include:
Acquiring unit, for judge for described first page label control operate meet described first Time pre-conditioned, obtain described relevant information;
Display unit, for showing described relevant information in described window.
22. electronic equipments as described in claim 14-16 is arbitrary, it is characterised in that described electronic equipment Also include:
Acquisition module, during for comprising described multimedia file in confirming described first page, obtains described Described relevant information is also shown in described window by relevant information;
Hide module, be used for controlling described window and be in hidden state;
Described display module, specifically for:
Control described window and entered display state by described hidden state.
CN201510147496.XA 2015-03-31 2015-03-31 A kind of page content display method and electronic equipment Pending CN106155507A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510147496.XA CN106155507A (en) 2015-03-31 2015-03-31 A kind of page content display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510147496.XA CN106155507A (en) 2015-03-31 2015-03-31 A kind of page content display method and electronic equipment

Publications (1)

Publication Number Publication Date
CN106155507A true CN106155507A (en) 2016-11-23

Family

ID=57337238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510147496.XA Pending CN106155507A (en) 2015-03-31 2015-03-31 A kind of page content display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106155507A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108491078A (en) * 2018-03-19 2018-09-04 广州视源电子科技股份有限公司 A kind of literal processing method, device, terminal device and storage medium
CN109101166A (en) * 2018-08-30 2018-12-28 广州酷狗计算机科技有限公司 audio control method, device and storage medium
CN110703975A (en) * 2018-07-09 2020-01-17 ***通信集团有限公司 Page turning method and device
CN111045565A (en) * 2019-12-06 2020-04-21 北京达佳互联信息技术有限公司 Multimedia page switching method and electronic equipment
CN111596832A (en) * 2020-05-20 2020-08-28 北京搜狗科技发展有限公司 Page switching method and device
CN114935989A (en) * 2022-06-24 2022-08-23 Vidaa国际控股(荷兰)公司 Browser page display method and display equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2503458A1 (en) * 2009-11-17 2012-09-26 Ubiquitous Corporation Program, control method, and control device
CN103279321A (en) * 2013-05-07 2013-09-04 青岛海信电器股份有限公司 Audio and video control device and audio and video control method
CN103678640A (en) * 2013-12-20 2014-03-26 广东威创视讯科技股份有限公司 Device, system and interactive method for achieving data visualization displaying under Windows system
CN104142774A (en) * 2013-05-06 2014-11-12 腾讯科技(深圳)有限公司 Page content processing method and page content processing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2503458A1 (en) * 2009-11-17 2012-09-26 Ubiquitous Corporation Program, control method, and control device
CN104142774A (en) * 2013-05-06 2014-11-12 腾讯科技(深圳)有限公司 Page content processing method and page content processing device
CN103279321A (en) * 2013-05-07 2013-09-04 青岛海信电器股份有限公司 Audio and video control device and audio and video control method
CN103678640A (en) * 2013-12-20 2014-03-26 广东威创视讯科技股份有限公司 Device, system and interactive method for achieving data visualization displaying under Windows system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108491078A (en) * 2018-03-19 2018-09-04 广州视源电子科技股份有限公司 A kind of literal processing method, device, terminal device and storage medium
CN110703975A (en) * 2018-07-09 2020-01-17 ***通信集团有限公司 Page turning method and device
CN109101166A (en) * 2018-08-30 2018-12-28 广州酷狗计算机科技有限公司 audio control method, device and storage medium
CN111045565A (en) * 2019-12-06 2020-04-21 北京达佳互联信息技术有限公司 Multimedia page switching method and electronic equipment
CN111596832A (en) * 2020-05-20 2020-08-28 北京搜狗科技发展有限公司 Page switching method and device
CN111596832B (en) * 2020-05-20 2022-04-08 北京搜狗智能科技有限公司 Page switching method and device
CN114935989A (en) * 2022-06-24 2022-08-23 Vidaa国际控股(荷兰)公司 Browser page display method and display equipment
CN114935989B (en) * 2022-06-24 2024-04-19 Vidaa国际控股(荷兰)公司 Browser page display method and display device

Similar Documents

Publication Publication Date Title
US10056113B2 (en) Video processing method and associated electronic device
KR102490421B1 (en) Systems, devices, and methods for dynamically providing user interface controls at a touch-sensitive secondary display
US9304668B2 (en) Method and apparatus for customizing a display screen of a user interface
CN106155507A (en) A kind of page content display method and electronic equipment
CN102763065B (en) For navigating through multiple device, method and graphical user interface of checking region
AU2014275609B2 (en) Portable terminal and user interface method in portable terminal
CN104216600B (en) A kind of method and intelligent touch screen terminal equipment of the function that application program is provided
CN107368511B (en) Information display method and device
CN109218819B (en) Video preview method and mobile terminal
CN104317474A (en) Window switching method and device
CN104331246A (en) Device and method for split screen display in terminal
CN102929846B (en) A kind of method processing long text and device
US20120290960A1 (en) Method for Providing User Interface for Categorizing Icons and Electronic Device Using the Same
WO2018112928A1 (en) Method for displaying information, apparatus and terminal device
CN103019557B (en) Page switching method and device
CN106020614A (en) Switch method and terminal for application programs
CN103577479A (en) Web page content displaying method and system
CN101770371A (en) Application theme content preview method and device
CN109656444A (en) List localization method, device, equipment and storage medium
CN113553466A (en) Page display method, device, medium and computing equipment
CN104598571A (en) Method and device for playing multimedia resource
US10331800B2 (en) Search results modulator
CN115065874A (en) Video playing method and device, electronic equipment and readable storage medium
CN112099694B (en) Desktop control processing method and device
CN104735549A (en) Method and device for displaying text caption information in webpage

Legal Events

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

Application publication date: 20161123

RJ01 Rejection of invention patent application after publication