[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN103019710B - Audio control method and device for browser - Google Patents

Audio control method and device for browser Download PDF

Info

Publication number
CN103019710B
CN103019710B CN201210511279.0A CN201210511279A CN103019710B CN 103019710 B CN103019710 B CN 103019710B CN 201210511279 A CN201210511279 A CN 201210511279A CN 103019710 B CN103019710 B CN 103019710B
Authority
CN
China
Prior art keywords
web page
page tag
sound
tag
controlled
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210511279.0A
Other languages
Chinese (zh)
Other versions
CN103019710A (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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201210511279.0A priority Critical patent/CN103019710B/en
Publication of CN103019710A publication Critical patent/CN103019710A/en
Application granted granted Critical
Publication of CN103019710B publication Critical patent/CN103019710B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of sound control apparatus for browser and method, the method includes: creates web page tag, and sets up the mapping relations between web page tag and web page tag place page process;Receive user input to the first web page tag in sound be controlled instruction time, according to the mapping relations between web page tag and the page process of described foundation, find the page process at the first web page tag place;Sound in first web page tag is controlled by the page process of described the first web page tag found;Wherein, described sound in first web page tag is controlled after, including: preserve the information of the audio files being controlled in the first web page tag;As the part of browser client information, the information of the audio files of described preservation is carried out side, browser this locality preserve and/or the synchronization of network side.The present invention is used can the sound of each web page tag individually to be controlled.

Description

Audio control method and device for browser
Technical field
The present invention relates to network application field, be specifically related to a kind of sound control apparatus for browser and the audio control method for browser.
Background technology
User is generally selected and uses browser to browse webpage at present, and along with the development of technology, the content that webpage presents gets more and more, more and more abundanter.In addition to simple Word message, webpage can also present the information of band sound, such as music file, multimedia file etc..
Most browser can be quiet to webpage.Generally can arrange a quiet option in a browser, after starting mute function, the file that webpage can send sound all can be switched off, such as the flash video play on webpage, the music listened.
Hook is that in Windows, the one of offer is in order to replace the system mechanism " interrupted " under DOS, and Chinese is translated into " hook " or " hook ".After specific system event is carried out hook, the event of hook once occurring, the program that this event carries out hook will be notified by system, and at this moment this event just can be responded by program in the very first time.Another kind of explanation is: Hook, is a platform of windows messaging treatment mechanism, and application program can be arranged above with sub-journey to monitor certain message of specified window, and the window monitored can be other processes is created.When message arrive after, target window process function pre-treatment it.Hook Mechanism allows application program intercepting and capturing to process Window message or particular event.
Therefore, during enforcement, by using hook technology, change sound A PI(ApplicationProgrammingInterface that Windows system provides, application programming interface) behavior of function, it is also possible to reach quiet purpose.Such as, the CoreAudioAPIs provided by operating system, sound channel is controlled, is set to quiet or the most quiet reach quiet purpose.
But, the most directly open mute function and still use hook technology to reach quiet purpose, what it was closed is all the sound of all webpages on whole browser, both can not realize control independent to webpage quiet.
Summary of the invention
In view of the above problems, it is proposed that the present invention is to provide a kind of and overcoming the problems referred to above or solve the sound control apparatus for browser of the problems referred to above at least in part and accordingly for the audio control method of browser.
According to one aspect of the present invention, it is provided that a kind of sound control apparatus for browser, including:
Set up module, be configured to create web page tag, and set up the mapping relations between web page tag and web page tag place page process;
Search module, be configured to receive user input to the first web page tag in sound be controlled instruction time, according to the mapping relations between web page tag and the page process of described foundation, find the page process at the first web page tag place;
Control module, is configured to be controlled the sound in the first web page tag in the page process of described the first web page tag found;
Preserve module, be configured to preserve the information of the audio files being controlled in the first web page tag;And, the information of the audio files of described preservation is carried out side, browser this locality as the part of browser client information and preserves and/or the synchronization of network side.
Alternatively, described module of setting up is additionally configured to set up the mapping relations between web page tag mark ID and web page tag place page process ID.
Alternatively, described lookup module is additionally configured to:
Receiving the sound control instruction for this first web page tag of user's input in the first web page tag, wherein, this sound control instruction includes the first web page tag mark ID;
According to described first web page tag mark ID, make a look up in the mapping relations between the web page tag and page process of described foundation;
Obtain the ID of page process corresponding to the first web page tag.
Alternatively, described control module is additionally configured to:
According to searching the ID obtaining the page process corresponding to the first web page tag, by the sound A PI function of operating system, the sound in the first web page tag is controlled in this page process.
Alternatively, said apparatus also includes:
Window generation module, generate prompting at the web page element producing sound being configured in the tag head or the first web page tag of the first web page tag and carry out the floating frame of sound control, wherein, this floating frame is loaded with the entrance received the instruction that the sound in the first web page tag is controlled.
Alternatively, the sound in described first web page tag includes: the video plug-in unit in webpage and/or the sound of audio plug generation.
Alternatively, described control module is additionally configured to perform at least one operated in control following:
Close the sound in the first web page tag;
Open the sound in the first web page tag;
Regulate the sound in the first web page tag.
Alternatively, said apparatus also includes:
Reminding module, is configured to when multiple web page tag exist voice data simultaneously, provides prompting to the web page tag that there is voice data.
Alternatively, described reminding module is additionally configured to utilize the web page tag to there is voice data that is highlighted of tag entry to point out.
Alternatively, said apparatus also includes:
Display module, is configured to when multiple web page tag exist voice data simultaneously, shows the information of voice data in the plurality of web page tag in a floating frame;Or, when the first web page tag exists multiple voice data simultaneously, a floating frame shows the information of the first simultaneous multiple voice datas of web page tag.
Alternatively, described display module is additionally configured to show at least one following information on described floating frame:
The title of web page tag;
The type of voice data in webpage;
The title of voice data in webpage.
Alternatively, described control module is additionally configured in described floating frame the sound in the first web page tag is controlled operation.
Alternatively, described display module is additionally configured in multiple web page tag, and described current processed web page tag is put front display.
Alternatively, described control module is additionally configured to: provide the recommended links of the audio/video file not being muted or be muted in described floating frame;Or, it is provided that for the research tool link that described audio/video file is relevant.
Alternatively, described module of setting up is additionally configured to, when creating the page process at described web page tag place, set up the mapping relations between described web page tag and web page tag place page process.
According to another aspect of the present invention, it is provided that a kind of audio control method for browser, including:
Create web page tag, and set up the mapping relations between web page tag and web page tag place page process;
Receive user input to the first web page tag in sound be controlled instruction time, according to the mapping relations between web page tag and the page process of described foundation, find the page process at the first web page tag place;
Sound in first web page tag is controlled by the page process of described the first web page tag found;
Wherein, described sound in first web page tag is controlled after, including:
Preserve the information of the audio files being controlled in the first web page tag;
As the part of browser client information, the information of the audio files of described preservation is carried out side, browser this locality preserve and/or the synchronization of network side.
Alternatively, the described mapping relations set up between web page tag and web page tag place page process, including:
Set up the mapping relations between web page tag mark ID and web page tag place page process ID.
Alternatively, the described step to the instruction that sound in the first web page tag is controlled receiving user's input includes:
Receiving the sound control instruction for this first web page tag of user's input in the first web page tag, wherein, this sound control instruction includes the first web page tag mark ID;Then
Mapping relations between the described web page tag according to described foundation and page process, the step of the page process finding the first web page tag place includes:
According to described first web page tag mark ID, make a look up in the mapping relations between the web page tag and page process of described foundation;
Obtain the ID of page process corresponding to the first web page tag.
Alternatively, the step being controlled the sound in the first web page tag in the page process of described the first web page tag found includes:
According to searching the ID obtaining the page process corresponding to the first web page tag, by the sound A PI function of operating system, the sound in the first web page tag is controlled in this page process.
Alternatively, said method also includes:
Generate prompting at the web page element producing sound in the tag head or the first web page tag of the first web page tag and carry out the floating frame of sound control, wherein, this floating frame is loaded with the entrance received the instruction that the sound in the first web page tag is controlled.
Alternatively, the sound in described first web page tag includes: the video plug-in unit in the first web page tag and/or the sound of audio plug generation.
Alternatively, described sound in first web page tag is controlled, at least one in controlling including following operation:
Close the sound in the first web page tag;
Open the sound in the first web page tag;
Regulate the volume in the first web page tag.
Alternatively, when multiple web page tag exist voice data simultaneously, provide prompting to the web page tag that there is voice data.
Alternatively, the prompting mode of described offer is that the web page tag to there is voice data that is highlighted utilizing tag entry is pointed out.
Alternatively, said method also includes:
When multiple web page tag exist voice data simultaneously, a floating frame shows the information of voice data in the plurality of web page tag;Or
When the first web page tag exists multiple voice data simultaneously, a floating frame shows the information of the first simultaneous multiple voice datas of web page tag.
Alternatively, on described floating frame, the information of display includes at least one following:
The title of web page tag;
The type of voice data in webpage;
The title of voice data in webpage.
Alternatively, after described floating frame receives the instruction being controlled sound in the first web page tag of user's input, including: in described floating frame, the sound in the first web page tag is controlled operation.
Alternatively, after the sound in the first web page tag is controlled operation by described floating frame, including: in multiple web page tag, described current processed web page tag is put front display.
Alternatively, also provide in described floating frame:
The recommended links of the audio/video file not being muted or be muted;Or
For the research tool link that described audio/video file is relevant.
Alternatively, when creating the page process at described web page tag place, the mapping relations between described web page tag and web page tag place page process are set up.
In embodiments of the present invention, when there is at least one web page tag, sound in this web page tag is controlled rather than by a unified mute function or function, the sound in all of web page tag is carried out unified control by the page process that can be utilized respectively each web page tag.As can be seen here, the embodiment of the present invention individually can control for the sound in each web page tag, improves the accuracy of webpage sound control, and the impression improving user is experienced.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, and can be practiced according to the content of description, and in order to above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various other advantage and benefit those of ordinary skill in the art be will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation, and is not considered as limitation of the present invention.And in whole accompanying drawing, it is denoted by the same reference numerals identical parts.In the accompanying drawings:
Fig. 1 shows according to an embodiment of the invention for the structural representation of sound control apparatus of browser;
Fig. 2 shows according to an embodiment of the invention for the process chart of audio control method of browser;
Fig. 3 shows the flow chart of the concrete steps of the page process searching a web page tag place according to an embodiment of the invention;
Fig. 4 shows the process chart being controlled the sound in the first web page tag according to an embodiment of the invention;
What Fig. 5 showed webpage according to an embodiment of the invention opens flow chart;
Fig. 6 shows that user clicks on control icon according to an embodiment of the invention and webpage carries out the process chart of mute operation;
Fig. 7 shows the schematic diagram of information showing multiple web page tag according to an embodiment of the invention at a floating frame;And
Fig. 8 shows the schematic diagram of control information showing audio files according to an embodiment of the invention at floating frame.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing showing the exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and should not limited by embodiments set forth here.On the contrary, it is provided that these embodiments are able to be best understood from the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
For solving at least one in above-mentioned technical problem, embodiments provide a kind of sound control apparatus for browser.Fig. 1 shows according to an embodiment of the invention for the structural representation of sound control apparatus of browser.
See Fig. 1, at least include setting up module 110, searching module 120 and control module 130 in the sound control apparatus of browser.Framework and function to above-mentioned each module are described in detail the most respectively.
First, module 110 is set up in introduction.Browser can open multiple webpage simultaneously, and each webpage can create a web page tag accordingly, and on backstage, each webpage has a corresponding process.Therefore, it is possible to use set up module 110 to create web page tag, and set up the mapping relations between web page tag and web page tag place page process.
Then, lookup module 120 is introduced.See Fig. 1, search module 120 and be coupled with setting up module 110.When user opens multiple web page tag simultaneously, if selecting the sound of one of them web page tag to be controlled, then send the instruction that sound in this web page tag is controlled.Herein for distinguishing web page tag that user selects, that sound control will be carried out, the first web page tag can be referred to as.First herein is only used as distinctive mark and uses, and web page tag and corresponding webpage self are not had any limiting meaning.Receive user input to the first web page tag in sound be controlled instruction time, search module 120 can according to set up web page tag and page process between mapping relations, find the page process at the first web page tag place.
Finally, control module 130 is introduced.Seeing Fig. 1, control module 130 is coupled with searching module 120.When, after the page process searching the first web page tag that module 120 finds, control module 130 utilizes the page process of the first web page tag found to be controlled the sound in the first web page tag.
In embodiments of the present invention, when there is at least one web page tag, sound in this web page tag is controlled rather than by a unified mute function or function, the sound in all of web page tag is carried out unified control by the page process that can be utilized respectively each web page tag.As can be seen here, the embodiment of the present invention individually can control for the sound in each web page tag, improves the accuracy of webpage sound control, and the impression improving user is experienced.
Module 110 of setting up mentioned above can set up the mapping relations between web page tag and web page tag place page process.The mapping mode utilized in mapping relations can have multiple, and such as, Random Maps, numeral mapping, ordering map etc., the map element of employing can also be multiple, such as keyword, weights etc..This example provides a kind of preferably mapping relations, i.e. set up the mapping relations between web page tag mark (ID) and web page tag place page process ID.Wherein, module 110 is set up when creating the page process at web page tag place, it is possible to Tong Bu set up out by the mapping relations between web page tag with web page tag place page process.
If mapping relations are the mapping relations between web page tag ID and the page process ID, user can carry web page tag ID in the instruction being controlled sound.Accordingly, searching module 120 and can receive the sound control instruction for this first web page tag of user's input in the first web page tag, wherein, this sound control instruction includes the first web page tag ID.Subsequently, search module 120 according to the first web page tag ID, the mapping relations between web page tag and the page process set up make a look up, obtain the ID of page process corresponding to the first web page tag, the ID of this page process is notified to control module 130.
Control module 130, after knowing the ID of page process, finds corresponding page process according to searching the ID obtaining the page process corresponding to the first web page tag.Further, the sound in the first web page tag is controlled in this page process by control module 130 by the sound A PI function of operating system.
Owing to browser includes multiple web page tag, and for the control of the sound in web page tag, being controlled if open each web page tag every time again, then can cause waste of time, result is less desirable.Therefore, window generation module 140 can also be set in the sound control apparatus of browser, be coupled with searching module 120, be used for generating floating frame.The most in this example, window generation module 140 can generate prompting at the web page element producing sound in the tag head of the first web page tag or the first web page tag and carry out the floating frame of sound control, wherein, this floating frame is loaded with the entrance received the instruction that the sound in the first web page tag is controlled.Further, user can send the instruction being controlled the sound in the first web page tag at floating frame, and window generation module 140 receives command adapted thereto, and is gone to search module 120, in case subsequent treatment.Floating frame has certain advantage for the control icon being arranged on the page, floating frame can emerge in a certain specified page, can also float on all pages, even if open is not the first web page tag needing to carry out sound control, sound in first web page tag can also be controlled so that the control to sound is more convenient.
Mention the most always and the sound in the first web page tag is controlled, herein it should be noted that the sound in the first web page tag includes multiple, the sound that such as video plug-in unit in webpage produces, the sound that the most such as audio plug produces, or both sound of simultaneously producing, etc..One web page tag can there is simultaneously multiple plug-in unit send sound.
When sound in first web page tag is controlled by control module 130, at least one operated in control following can be performed:
Close the sound in the first web page tag;
Open the sound in the first web page tag;
Regulate the sound size in the first web page tag.
Above-mentioned is only enumerating of the basic control mode to sound.If there is other attributes, such as double track, Chinese and English switching in sound, it is also possible to according to circumstances select L channel or R channel to carry out sound broadcasting, or the languages of selection sound, etc..
Further, browser owing to mentioning in the embodiment of the present invention can open multiple web page tag simultaneously, then, when wherein there is voice data in part web page tag simultaneously, can reminding module 150 be set in the sound control apparatus of browser, couple with setting up module 110, after each web page tag and corresponding process are set up, provide prompting to the web page tag that there is voice data.It should be noted that, prompting mode herein can have multiple, the web page tag that there is voice data can be identified, such as, the web page tag to there is voice data that is highlighted that can utilize tag entry is pointed out, the web page tag that there is voice data is pointed out by the background colour that can also utilize tag entry, it is also possible to utilize the options such as the Header font size of tag entry, color to point out the web page tag that there is voice data, etc..More obvious owing to being highlighted effect, it is therefore preferable that utilize the mode being highlighted tag entry to point out.
Owing to multiple web pages shows, and each webpage can provide the file of voice data may more than one, therefore, select for the convenience of the user produce the file of sound and be controlled in time, it may be considered that in the sound control apparatus of browser, arranging display module 160.Seeing Fig. 1, display module 160 is coupled with window generation module 140 and lookup module 120 respectively.When multiple web page tag exist voice data simultaneously, display module 160 can show the information of the voice data in multiple web page tag in a floating frame.Certainly, if occurring, when the first web page tag exists multiple voice data simultaneously, display module 160 can also show the information of the first simultaneous multiple voice datas of web page tag in a floating frame.The information of multiple voice datas is all placed in a floating frame and presents, information is carried out centralized management, it is simple to user selects as required, improve the efficiency of sound control.
Selecting for ease of user, display module 160 can show any information of audio files or voice data on floating frame, it is usually preferred to display following message:
The title of web page tag;
The type of voice data in webpage;
The title of voice data in webpage.
If voice data there is also other information and can play a role for the selection of user, then can also show the residue reproduction time of other information, such as voice data.
Advantage that information shows have also been made respective description above to utilize floating frame to carry out, and needn't elaborate any further at this.Accordingly, control module 130 can select the sound in the first web page tag is controlled in floating frame operation.For convenience of operation, in floating frame, different icons can be set according to the different operating of voice data, for example, it is possible to arrange beginning icon, suspend icon, stop icon, accelerate icon, slow down icon etc..User, when carrying out instruction input, can reach purpose by clicking on icon.
If a certain web page tag is the most processed, then currently processed web page tag can be put front display in multiple web page tag by display module 160.This sortord is of value to the control efficiency improving voice data, reduces and searches the time waste that voice data place webpage is caused.Such as, user closes the audio files in the first web page tag, and this web page tag is ordered into first of browser display by display module 160.Follow-up, user wants again to open this audio files, the most directly opens primary web page tag, it is not necessary to further each and every one web page tag goes to search, and reaches to improve the purpose of the control efficiency of voice data.
After the audio files of user's selection is controlled, control module 130 can also provide other information in floating frame, such as, the recommended links of the audio/video file not being muted or be muted can be provided, again for example, it is also possible to provide the research tool link relevant for audio/video file.The offer of these other information can be selected the relevant information of audio files to be analyzed drawing by browser according to user, it is also possible to is analyzed drawing according to user's record that browses at ordinary times by browser.
During enforcement, after the audio files in the first web page tag is controlled, the information of the audio files being controlled in the first web page tag can be preserved in preserving module 170.Again extract for convenience of the follow-up audio files to having controlled or access etc. processes operation, further, preserve module 170 as the part of browser client information, the information of the audio files of preservation to be carried out side, browser this locality and preserve, or, it is also possible to carried out the synchronization of network side.If being stored in network side, when the most again extracting corresponding information, browser needs to arrive first network side and obtains the relevant information preserved, and then is again turned on and carries out subsequent control operation.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of audio control method for browser, and the practice processes of the method is the sound control apparatus for browser provided in any one embodiment above-mentioned.Fig. 2 shows according to an embodiment of the invention for the process chart of audio control method of browser.The method comprising the steps of S202 is to step S206.
Step S202, establishment web page tag, and set up the mapping relations between web page tag and web page tag place page process.
Step S204, receive user input to the first web page tag in sound be controlled instruction time, according to set up web page tag and page process between mapping relations, find the page process at the first web page tag place.
Step S206, in the page process of the first web page tag found, the sound in the first web page tag is controlled.
In embodiments of the present invention, when there is at least one web page tag, sound in this web page tag is controlled rather than by a unified mute function or function, the sound in all of web page tag is carried out unified control by the page process that can be utilized respectively each web page tag.As can be seen here, the embodiment of the present invention individually can control for the sound in each web page tag, improves the accuracy of webpage sound control, and the impression improving user is experienced.
Flow process shown in Figure 2, step S202 mentions the mapping relations set up between web page tag and web page tag place page process.The mapping mode utilized in mapping relations can have multiple, and such as, Random Maps, numeral mapping, ordering map etc., the map element of employing can also be multiple, such as keyword, weights etc..This example provides a kind of preferably mapping relations, i.e. set up the mapping relations between web page tag mark (ID) and web page tag place page process ID.Wherein, when creating the page process at web page tag place, it is possible to Tong Bu set up out by the mapping relations between web page tag with web page tag place page process.
In a preferred embodiment, the instruction being controlled sound in the first web page tag receiving user's input the concrete steps of the page process that finds the first web page tag place mentioned by step S204 may refer to Fig. 3, including step S302 to step S306.
Step S302, receive in the first web page tag user input the sound control instruction for this first web page tag, wherein, this sound control instruction includes the first web page tag ID;
Step S304, foundation the first web page tag ID, make a look up in the mapping relations between web page tag and the page process set up;
Step S306, obtain the ID of page process corresponding to the first web page tag.
After step S306 terminates, triggering step S206, the step being now controlled the sound in the first web page tag in the page process of the first web page tag found refers to Fig. 4, including step S402 to step S404.
Step S402, foundation search the ID obtaining the page process corresponding to the first web page tag, find corresponding page process.
Step S404, by the sound A PI function of operating system, the sound in the first web page tag is controlled in the page process found.
It should be noted that, during voice data or audio files are controlled, prompting can be generated at the web page element producing sound in the tag head of the first web page tag or the first web page tag and carry out the floating frame of sound control, wherein, this floating frame is loaded with the entrance received the instruction that the sound in the first web page tag is controlled.Floating frame has certain advantage for the control icon being arranged on the page, floating frame can emerge in a certain specified page, can also float on all pages, even if open is not the first web page tag needing to carry out sound control, sound in first web page tag can also be controlled so that the control to sound is more convenient.
Herein it should be noted that the sound in the first web page tag includes multiple, such as the sound that video plug-in unit in webpage produces, then the sound that such as audio plug produces, or both sound of simultaneously producing, etc..One web page tag can there is simultaneously multiple plug-in unit send sound.
Preferably, the sound in the first web page tag is controlled, at least one in controlling including following operation:
Close the sound in the first web page tag;
Open the sound in the first web page tag;
Regulate the volume in the first web page tag.
Above-mentioned is only enumerating of the basic control mode to sound.If there is other attributes, such as double track, Chinese and English switching in sound, it is also possible to according to circumstances select L channel or R channel to carry out sound broadcasting, or the languages of selection sound, etc..
Further, when multiple web page tag exist voice data simultaneously, provide prompting to the web page tag that there is voice data.It should be noted that, prompting mode herein can have multiple, the web page tag that there is voice data can be identified, such as, the web page tag to there is voice data that is highlighted that can utilize tag entry is pointed out, the web page tag that there is voice data is pointed out by the background colour that can also utilize tag entry, it is also possible to utilize the options such as the Header font size of tag entry, color to point out the web page tag that there is voice data, etc..More obvious owing to being highlighted effect, it is therefore preferable that utilize the mode being highlighted tag entry to point out.
Owing to multiple web pages shows, and each webpage can provide voice data file may more than one, therefore, select for the convenience of the user produce the file of sound and be controlled in time, the advantage of floating frame can be made full use of.When multiple web page tag exist voice data simultaneously, a floating frame shows the information of voice data in multiple web page tag.Certainly, if when the first web page tag exists multiple voice data simultaneously, it is also possible to show the information of the first simultaneous multiple voice datas of web page tag in a floating frame.The information of multiple voice datas is all placed in a floating frame and presents, information is carried out centralized management, it is simple to user selects as required, improve the efficiency of sound control.
Select for ease of user, any information of audio files or voice data can be shown on floating frame, it is usually preferred to display following message:
The title of web page tag;
The type of voice data in webpage;
The title of voice data in webpage.
If voice data there is also other information and can play a role for the selection of user, then can also show the residue reproduction time of other information, such as voice data.
Advantage that information shows have also been made respective description above to utilize floating frame to carry out, and needn't elaborate any further at this.Accordingly, can select the sound in the first web page tag is controlled in floating frame operation.For convenience of operation, in floating frame, different icons can be set according to the different operating of voice data, for example, it is possible to arrange beginning icon, suspend icon, stop icon, accelerate icon, slow down icon etc..User, when carrying out instruction input, can reach purpose by clicking on icon.
If a certain web page tag is the most processed, then in multiple web page tag, currently processed web page tag can be put front display.This sortord is of value to the control efficiency improving voice data, reduces and searches the time waste that voice data place webpage is caused.Such as, user closes the audio files in the first web page tag, and this web page tag is ordered into first of browser display.Follow-up, user wants again to open this audio files, the most directly opens primary web page tag, it is not necessary to further each and every one web page tag goes to search, and reaches to improve the purpose of the control efficiency of voice data.
After the audio files of user's selection is controlled, other information can also be provided, for example, it is possible to provide the recommended links of the audio/video file not being muted or being muted in floating frame, again for example, it is also possible to provide the research tool link relevant for audio/video file.The offer of these other information can be selected the relevant information of audio files to be analyzed drawing by browser according to user, it is also possible to is analyzed drawing according to user's record that browses at ordinary times by browser.
During enforcement, after the audio files in the first web page tag is controlled, the information of the audio files being controlled in the first web page tag can be preserved.Again extract for convenience of the follow-up audio files to having controlled or access etc. processes operation, further, as the part of browser client information, the information of the audio files of preservation can also be carried out side, browser this locality to preserve, or, it is also possible to carried out the synchronization of network side.If being stored in network side, when the most again extracting corresponding information, browser needs to arrive first network side and obtains the relevant information preserved, and then is again turned on and carries out subsequent control operation.
The concrete grammar for the sound control of browser now utilizing specific embodiment to provide the embodiment of the present invention is explained in detail and illustrates, as a example by quiet to webpage.
In this example, by brand-new CoreAudioAPIs function can be used in Windows system to carry out control system sound.Application program can control vocal behavior by this set api function, such as plays music, it is also possible to quiet.
This example is when implementing, and with process as elementary cell (the corresponding process of each web page tag), process can comprise multiple sound channel (corresponding, to there may be multiple audio files or voice data in each web page tag).If it is quiet to certain process, then all sound channels that it comprises are all without sending sound.Give an example, certain web page tag can be play flash and mp3 music simultaneously, thus contain two sound channels.If quiet to this process, flash and mp3 does not has sound.
First this example carries out relative set to browser, to the webpage in each web page tag, all opens in a single process.Newly open a label, with regard to a newly created process.For multi-tag formula browser, the webpage newly opened is positioned in a new label, has an id as mark, is called for short " tag ID " or " tabid ".
When process creation, write down process ID (process_id) and the corresponding relation of tag ID.
Data structure is: [{ tabid:process_id}, { tabid:process_id} ...]
When user select to certain webpage tab quiet time, find process_id according to tabid, process_id passed to the api function MuteProcess (process_id) of operating system, reaches quiet purpose.
The flow process of opening of webpage refers to Fig. 5, including step S502 to step S506.
Step S502, open new web page, create new web page tag;
Step S504, create new webpage process for this webpage;
Step S506, the tabid and the process_id of webpage process of record web page tag and both mapping relations.
User clicks on and controls icon webpage is carried out mute operation handling process and refer to Fig. 6, including step S602 to step S606.
Step S602, user select to carry out quiet to certain webpage, find the ID of the web page tag of correspondence;
Step S604, find process ID according to tag ID, and then find corresponding process;
Process is carried out quiet by step S606, calling system API.
When have multiple web page tag has sound time, interface (being equivalent to floating frame) can be ejected and carry out the control (webpage that can send sound is set) of process sound for user.Fig. 7 shows the schematic diagram of information showing multiple web page tag according to an embodiment of the invention at a floating frame.Fig. 7 has 4 web page tag, the wherein homepage of label www.baidu.com during current web page, a web page tag additionally is the webpage of the flash video plug-in unit playing " dare-to-die corps 2 ", and another one web page tag is the webpage of the MP3 audio plug playing " cost of love ";Also having a web page tag is the web game " Age of Empires " loaded with the form of Flash plug-in unit, is the most also the background sound playing game.When each above-mentioned web page tag loads in browser side, will be by the identification of the plug-in unit that may play audio files in browser identification loading webpage, loading or the loading (which plug-in unit can be identified according to the CLSID of invoked installation plug-in unit to be called) of MP3 audio plug of such as Flash plug-in unit, thus get audio frequency, video or the associated description information of game webpage, the title of such as audio files, classification, the singer informations etc. that this plug-in unit is play.Floating frame (being referred to as pop-up) can be produced after so clicking at the sound control button in the status bar of browser, three audio files are shown in this pop-up, first is the flash video of " dare-to-die corps 2 ", second is mp3 file " cost of love ", 3rd is game " Age of Empires ", referring specifically to accompanying drawing 7, the file being checked will be muted, i.e. relevant broadcasting of sound in this web page tag will be muted process.Control knob or the icon of each audio files can be set in this floating frame, such as Fig. 7 opens or closes mark, click on this mark and just can open or close the sound of corresponding audio files.Or be muted or cancel quiet webpage become current web page label by comprising this, web page tag head is highlighted.Audio files in Fig. 7 and control icon and all enumerate, does not cause restriction to concrete web page tag and the audio files gone up mutually.In actual applications, the quantity of audio files depends on the quantity of the web page tag opened, can be four five the most.Control icon and can also include that other identify, such as regulation volume mark, broadcasting mark etc..It can be the sound symbol (generally with the image appearance of loudspeaker in status bar) in user's click browser status bar that floating frame shown in Fig. 7 emerges the trigger condition on the page.It is of course also possible to other trigger condition occurs, such as, click on file plug-in unit or other plug-in units.It can also be provided that this floating frame can occur when opening web page tag automatically every time.For the silence processing of sound in this embodiment above-mentioned, it is simply that use the scheme in present invention to carry out, just no longer repeat here.
When the webpage having sound to send needs directly to open, directly opening of specified page can be carried out by the interface of display in above-mentioned Fig. 7, it is easy to user in numerous webpage notes, directly opens the webpage of sound, e.g. make this label be highlighted before putting, find in numerous web page tag so as not to user.
For the information loaded in the interface that Fig. 7 is presented, it is also possible to including the title etc. having the type of audio files, audio files of the title of web page tag, broadcasting, these data all can obtain from web page tag.
Fig. 8 shows the schematic diagram of control information showing audio files according to an embodiment of the invention at floating frame.This control information can be integrated in the existing plug-in unit of browser and realize, it is also possible to generates a new plug-in unit in a browser and is used for realizing this control information.Seeing Fig. 8, this example is to be integrated in control information in the existing plug-in unit of browser to realize.When user opens a pop-up (such as user's right button clicks web page tag), this pop-up presents the control information of audio files.In Fig. 8, having two web page tag, one of them is the searched page of Baidu.Another one is that the music box of Baidu is the most playing the song appointing virtuous neat " never shrinking back " by the player plug-in of MP3, when loading the webpage of this Baidu's music box, identify and be wherein loaded with MP3 player plug-in (detail sees the announcement in embodiment corresponding in Fig. 7), get the song title of this broadcasting music, singer informations and current web page heading message etc..Audio files is the mp3 file appointing virtuous neat " never shrinking back ", and the information of audio files can obtain from web page tag, such as author, affiliated special edition, file type, duration etc..Control information the most preferably can include that beginning, sound become greatly, sound diminishes and mute option, its link be given all can excite and produce one for instructing for the corresponding of sound control in current web page process, and the api function being dealt into the operating system of browser side carries out the sound control of correspondence, concrete ins and outs also refer to the technology in present invention and disclose.Shown in Fig. 8 it is recognized that while current web page label does not has audio files, but the information of the file having sound to play in whole all web page tag can be viewed when clicking by right key in current web page label, it is possible to control accordingly operation.The most described current web page label also the most just can repeat no more with audio files.It should be noted that, similar with Fig. 7, Fig. 8 is also only a schematic diagram, if browser there is also other audio files, the relevant information of other audio files can also be manifested in floating frame and control information accordingly, i.e. floating frame can occur that the broadcasting of the sound to the multiple audio files in a web page tag is controlled, or the sound broadcasting to the audio files in multiple web page tag is controlled.In this embodiment above-mentioned, the control for sound processes, it is simply that uses the scheme in present invention to carry out, just no longer repeats here.
In addition to control information, Fig. 8 is also shown in floating frame provides some and relevant the linking of audio files controlled, such as, appoint the recommendation of virtuous other neat songs, and this recommendation can be actively to be recommended by the server side that browser is corresponding.Further, more such as can provide the search box (i.e. conventional search engine) of a song, facilitate user to carry out more crossing the acquisition of song information.
From the description of above-described embodiment, embodiment adds and individually control the function that webpage is quiet, improve Consumer's Experience.
The method and apparatus provided according to embodiments of the present invention, it is possible to reach following beneficial effect:
In embodiments of the present invention, when there is at least one web page tag, sound in this web page tag is controlled rather than by a unified mute function or function, the sound in all of web page tag is carried out unified control by the page process that can be utilized respectively each web page tag.As can be seen here, the embodiment of the present invention individually can control for the sound in each web page tag, improves the accuracy of webpage sound control, and the impression improving user is experienced.
Algorithm and display are not intrinsic to any certain computer, virtual system or miscellaneous equipment relevant provided herein.Various general-purpose systems can also be used together with based on teaching in this.As described above, construct the structure required by this kind of system to be apparent from.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use various programming languages realize the content of invention described herein, and the description done language-specific above is the preferred forms in order to disclose the present invention.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that embodiments of the invention can be put into practice in the case of not having these details.In some instances, it is not shown specifically known method, structure and technology, in order to do not obscure the understanding of this description.
Similarly, it is to be understood that, one or more in order to simplify that the disclosure helping understands in each inventive aspect, above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or descriptions thereof sometimes.But, the method for the disclosure should not being construed to reflect an intention that, i.e. the present invention for required protection requires than the more feature of feature being expressly recited in each claim.More precisely, as the following claims reflect, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows claims of detailed description of the invention are thus expressly incorporated in this detailed description of the invention, the most each claim itself is as the independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.In addition at least some in such feature and/or process or unit excludes each other, can use any combination that all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed any method or all processes of equipment or unit are combined.Unless expressly stated otherwise, each feature disclosed in this specification (including adjoint claim, summary and accompanying drawing) can be replaced by the alternative features providing identical, equivalent or similar purpose.
In addition, those skilled in the art it will be appreciated that, although embodiments more described herein include some feature included in other embodiments rather than further feature, but the combination of the feature of different embodiment means to be within the scope of the present invention and formed different embodiments.Such as, in the following claims, one of arbitrarily can mode the using in any combination of embodiment required for protection.
The all parts embodiment of the present invention can realize with hardware, or realizes with the software module run on one or more processor, or realizes with combinations thereof.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize the some or all parts in the sound control apparatus for browser according to embodiments of the present invention.The present invention is also implemented as part or all the equipment for performing method as described herein or device program (such as, computer program and computer program).The program of such present invention of realization can store on a computer-readable medium, or can be to have the form of one or more signal.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment without departing from the scope of the appended claims.In the claims, any reference marks that should not will be located between bracket is configured to limitations on claims.Word " comprises " and does not excludes the presence of the element or step not arranged in the claims.Word "a" or "an" before being positioned at element does not excludes the presence of multiple such element.The present invention by means of including the hardware of some different elements and can realize by means of properly programmed computer.If in the unit claim listing equipment for drying, several in these devices can be specifically to be embodied by same hardware branch.Word first, second and third use do not indicate that any order.Can be title by these word explanations.
A1, a kind of sound control apparatus for browser are disclosed herein, including: set up module, be configured to create web page tag, and set up the mapping relations between web page tag and web page tag place page process;Search module, be configured to receive user input to the first web page tag in sound be controlled instruction time, according to the mapping relations between web page tag and the page process of described foundation, find the page process at the first web page tag place;Control module, is configured to be controlled the sound in the first web page tag in the page process of described the first web page tag found;Preserve module, be configured to preserve the information of the audio files being controlled in the first web page tag;And, the information of the audio files of described preservation is carried out side, browser this locality as the part of browser client information and preserves and/or the synchronization of network side.A2, according to the device described in A1, it is characterised in that described module of setting up is additionally configured to set up the mapping relations between web page tag mark ID and web page tag place page process ID.A3, according to the device described in A2, it is characterized in that, described lookup module is additionally configured to: receiving the sound control instruction for this first web page tag of user's input in the first web page tag, wherein, this sound control instruction includes the first web page tag mark ID;According to described first web page tag mark ID, make a look up in the mapping relations between the web page tag and page process of described foundation;Obtain the ID of page process corresponding to the first web page tag.A4, according to the device described in A2 or A3, it is characterized in that, described control module is additionally configured to: according to searching the ID obtaining the page process corresponding to the first web page tag, be controlled the sound in the first web page tag by the sound A PI function of operating system in this page process.A5, according to the device described in any one of A1 to A4, it is characterized in that, also include: window generation module, generate prompting at the web page element producing sound being configured in the tag head or the first web page tag of the first web page tag and carry out the floating frame of sound control, wherein, this floating frame is loaded with the entrance received the instruction that the sound in the first web page tag is controlled.A6, according to the device described in any one of A1 to A5, it is characterised in that the sound in described first web page tag includes: the sound that video plug-in unit in webpage and/or audio plug produce.A7, according to the device described in any one of A1 to A6, it is characterised in that described control module is additionally configured to perform at least one operated in control following: close the sound in the first web page tag;Open the sound in the first web page tag;Regulate the sound size in the first web page tag.A8, according to the device described in any one of A1 to A7, it is characterised in that also include: reminding module, be configured to when multiple web page tag exist voice data simultaneously, to exist voice data web page tag provide prompting.A9, according to the device described in A8, it is characterised in that described reminding module is additionally configured to utilize the web page tag to there is voice data that is highlighted of tag entry to point out.A10, according to the device described in any one of A1 to A9, it is characterised in that also include: display module, be configured to when multiple web page tag exist voice data simultaneously, a floating frame shows the information of voice data in the plurality of web page tag;Or, when the first web page tag exists multiple voice data simultaneously, a floating frame shows the information of the first simultaneous multiple voice datas of web page tag.A11, according to the device described in A10, it is characterised in that described display module is additionally configured to show at least one following information on described floating frame: the title of web page tag;The type of voice data in webpage;The title of voice data in webpage.A12, according to the device described in any one of A5 to A11, it is characterised in that described control module is additionally configured in described floating frame to be controlled the sound in the first web page tag operation.A13, according to the device described in A12, it is characterised in that described display module is additionally configured in multiple web page tag, and described current processed web page tag is put front display.A14, according to the device described in A11, it is characterised in that described control module is additionally configured to: provide the recommended links of the audio/video file not being muted or be muted in described floating frame;Or, it is provided that for the research tool link that described audio/video file is relevant.A15, according to the device described in any one of A1 to A14, it is characterised in that described set up module be additionally configured to create described web page tag place the page process time, set up the mapping relations between described web page tag and web page tag place page process.
B16, a kind of audio control method for browser are disclosed herein, including: create web page tag, and set up the mapping relations between web page tag and web page tag place page process;Receive user input to the first web page tag in sound be controlled instruction time, according to the mapping relations between web page tag and the page process of described foundation, find the page process at the first web page tag place;Sound in first web page tag is controlled by the page process of described the first web page tag found;Wherein, described sound in first web page tag is controlled after, including: preserve the information of the audio files being controlled in the first web page tag;As the part of browser client information, the information of the audio files of described preservation is carried out side, browser this locality preserve and/or the synchronization of network side.B17, according to the method described in B16, it is characterised in that the described mapping relations set up between web page tag and web page tag place page process, including: set up web page tag mark ID and web page tag place page process ID between mapping relations.B18, according to the method described in B17, it is characterized in that, the described step to the instruction that sound in the first web page tag is controlled receiving user's input includes: receive the sound control instruction for this first web page tag of user's input in the first web page tag, wherein, this sound control instruction includes the first web page tag mark ID;Mapping relations between the most described web page tag according to described foundation and page process, the step of the page process finding the first web page tag place includes: according to described first web page tag mark ID, make a look up in the mapping relations between the web page tag and page process of described foundation;Obtain the ID of page process corresponding to the first web page tag.B19, according to the method described in B18, it is characterized in that, the step being controlled the sound in the first web page tag in the page process of described the first web page tag found includes: according to searching the ID obtaining the page process corresponding to the first web page tag, be controlled the sound in the first web page tag by the sound A PI function of operating system in this page process.B20, according to the method described in any one of B16 to B19, it is characterized in that, also include: generate prompting at the web page element producing sound in the tag head or the first web page tag of the first web page tag and carry out the floating frame of sound control, wherein, this floating frame is loaded with the entrance received the instruction that the sound in the first web page tag is controlled.B21, according to the method described in any one of B16 to B20, it is characterised in that the sound in described first web page tag includes: the sound that video plug-in unit in the first web page tag and/or audio plug produce.B22, according to the method described in any one of B16 to B21, it is characterised in that described sound in first web page tag is controlled, at least one in controlling including following operation: close the sound in the first web page tag;Open the sound in the first web page tag;Regulate the volume in the first web page tag.B23, according to the method described in any one of B16 to B19, it is characterised in that when there is voice data in multiple web page tag simultaneously, to exist voice data web page tag provide prompting.B24, according to the method described in B23, it is characterised in that the prompting mode of described offer is that the web page tag to there is voice data that is highlighted utilizing tag entry is pointed out.B25, according to the method described in any one of B16 to B24, it is characterised in that also include: when multiple web page tag exist voice data simultaneously, a floating frame show the information of voice data in the plurality of web page tag;Or when the first web page tag exists multiple voice data simultaneously, a floating frame shows the information of the first simultaneous multiple voice datas of web page tag.B26, according to the method described in B25, it is characterised in that on described floating frame, the information of display includes at least one following: the title of web page tag;The type of voice data in webpage;The title of voice data in webpage.B27, according to the method described in any one of B16 to B26, it is characterized in that, after receiving the instruction that sound in the first web page tag is controlled of user's input in described floating frame, including: in described floating frame, the sound in the first web page tag is controlled operation.B28, according to the method described in B27, it is characterised in that after the sound in the first web page tag is controlled in described floating frame operation, including: in multiple web page tag, described current processed web page tag is put front display.B29, according to the method described in B25, it is characterised in that also provide in described floating frame: the recommended links of the audio/video file not being muted or being muted;Or for the research tool link that described audio/video file is relevant.B30, according to the method described in any one of B16 to B29, it is characterised in that create described web page tag place the page process time, set up the mapping relations between described web page tag and web page tag place page process.

Claims (26)

1. for a sound control apparatus for browser, including:
Set up module, be configured to create web page tag, and set up the mapping relations between web page tag and web page tag place page process;
Search module, be configured to receive user input to the first web page tag in sound be controlled instruction time, according to the mapping relations between web page tag and the page process of described foundation, find the page process at the first web page tag place;
Control module, is configured to be controlled the sound in the first web page tag in the page process of described the first web page tag found;
Preserve module, be configured to preserve the information of the audio files being controlled in the first web page tag;And, the information of the audio files of described preservation is carried out side, browser this locality as the part of browser client information and preserves and/or the synchronization of network side;
Window generation module, generate prompting at the web page element producing sound being configured in the tag head or the first web page tag of the first web page tag and carry out the floating frame of sound control, wherein, this floating frame is loaded with the entrance received the instruction that the sound in the first web page tag is controlled;
Display module, is configured to when multiple web page tag exist voice data simultaneously, shows the information of voice data in the plurality of web page tag in a floating frame;Or, when the first web page tag exists multiple voice data simultaneously, a floating frame shows the information of the first simultaneous multiple voice datas of web page tag.
Device the most according to claim 1, it is characterised in that described module of setting up is additionally configured to set up the mapping relations between web page tag mark ID and web page tag place page process ID.
Device the most according to claim 2, it is characterised in that described lookup module is additionally configured to:
Receiving the sound control instruction for this first web page tag of user's input in the first web page tag, wherein, this sound control instruction includes the first web page tag mark ID;
According to described first web page tag mark ID, make a look up in the mapping relations between the web page tag and page process of described foundation;
Obtain the ID of page process corresponding to the first web page tag.
4. according to the device described in Claims 2 or 3, it is characterised in that described control module is additionally configured to:
According to searching the ID obtaining the page process corresponding to the first web page tag, by the sound A PI function of operating system, the sound in the first web page tag is controlled in this page process.
5. according to the device described in any one of claims 1 to 3, it is characterised in that the sound in described first web page tag includes: the video plug-in unit in webpage and/or the sound of audio plug generation.
6. according to the device described in any one of claims 1 to 3, it is characterised in that described control module is additionally configured to perform at least one operated in control following:
Close the sound in the first web page tag;
Open the sound in the first web page tag;
Regulate the sound size in the first web page tag.
7. according to the device described in any one of claims 1 to 3, it is characterised in that also include:
Reminding module, is configured to when multiple web page tag exist voice data simultaneously, provides prompting to the web page tag that there is voice data.
Device the most according to claim 7, it is characterised in that described reminding module is additionally configured to utilize the web page tag to there is voice data that is highlighted of tag entry to point out.
Device the most according to claim 1, it is characterised in that described display module is additionally configured to show at least one following information on described floating frame:
The title of web page tag;
The type of voice data in webpage;
The title of voice data in webpage.
10. according to the device described in any one of claims 1 to 3, it is characterised in that described control module is additionally configured in described floating frame the sound in the first web page tag is controlled operation.
11. according to the device described in claim 10, it is characterised in that described display module is additionally configured in multiple web page tag, and currently processed web page tag is put front display.
12. devices according to claim 9, it is characterised in that described control module is additionally configured to: the recommended links of the audio/video file not being muted or be muted is provided in described floating frame;Or, it is provided that for the research tool link that described audio/video file is relevant.
13. according to the device described in any one of claims 1 to 3, it is characterised in that described module of setting up is additionally configured to, when creating the page process at described web page tag place, set up the mapping relations between described web page tag and web page tag place page process.
14. 1 kinds of audio control methods for browser, including:
Create web page tag, and set up the mapping relations between web page tag and web page tag place page process;
Receive user input to the first web page tag in sound be controlled instruction time, according to the mapping relations between web page tag and the page process of described foundation, find the page process at the first web page tag place;
Sound in first web page tag is controlled by the page process of described the first web page tag found;
Wherein, described sound in first web page tag is controlled after, including:
Preserve the information of the audio files being controlled in the first web page tag;
As the part of browser client information, the information of the audio files of described preservation is carried out side, browser this locality preserve and/or the synchronization of network side;
Described method also includes:
Generate prompting at the web page element producing sound in the tag head or the first web page tag of the first web page tag and carry out the floating frame of sound control, wherein, this floating frame is loaded with the entrance received the instruction that the sound in the first web page tag is controlled;
When multiple web page tag exist voice data simultaneously, a floating frame shows the information of voice data in the plurality of web page tag;Or when the first web page tag exists multiple voice data simultaneously, a floating frame shows the information of the first simultaneous multiple voice datas of web page tag.
15. methods according to claim 14, it is characterised in that the described mapping relations set up between web page tag and web page tag place page process, including:
Set up the mapping relations between web page tag mark ID and web page tag place page process ID.
16. methods according to claim 15, it is characterised in that the step to the instruction that sound in the first web page tag is controlled of described reception user input includes:
Receiving the sound control instruction for this first web page tag of user's input in the first web page tag, wherein, this sound control instruction includes the first web page tag mark ID;Then
Mapping relations between the described web page tag according to described foundation and page process, the step of the page process finding the first web page tag place includes:
According to described first web page tag mark ID, make a look up in the mapping relations between the web page tag and page process of described foundation;
Obtain the ID of page process corresponding to the first web page tag.
17. methods according to claim 16, it is characterised in that the step being controlled the sound in the first web page tag in the page process of described the first web page tag found includes:
According to searching the ID obtaining the page process corresponding to the first web page tag, by the sound A PI function of operating system, the sound in the first web page tag is controlled in this page process.
18. according to the method described in any one of claim 14 to 17, it is characterised in that the sound in described first web page tag includes: the video plug-in unit in the first web page tag and/or the sound of audio plug generation.
19. according to the method described in any one of claim 14 to 17, it is characterised in that described be controlled the sound in the first web page tag, at least one in controlling including following operation: close the sound in the first web page tag;Open the sound in the first web page tag;Regulate the volume in the first web page tag.
20. according to the method described in any one of claim 14 to 17, it is characterised in that when multiple web page tag exist voice data simultaneously, provides prompting to the web page tag that there is voice data.
21. methods according to claim 20, it is characterised in that the prompting mode of described offer is that the web page tag to there is voice data that is highlighted utilizing tag entry is pointed out.
22. methods according to claim 14, it is characterised in that on described floating frame, the information of display includes at least one following: the title of web page tag;The type of voice data in webpage;The title of voice data in webpage.
23. according to the method described in any one of claim 14 to 17, it is characterized in that, after receiving the instruction that sound in the first web page tag is controlled of user's input in described floating frame, including: in described floating frame, the sound in the first web page tag is controlled operation.
24. methods according to claim 23, it is characterised in that after the sound in the first web page tag is controlled in described floating frame operation, including: in multiple web page tag, currently processed web page tag is put front display.
25. methods according to claim 24, it is characterised in that also provide in described floating frame: the recommended links of the audio/video file not being muted or being muted;Or for the research tool link that described audio/video file is relevant.
26. according to the method described in any one of claim 14 to 17, it is characterised in that when creating the page process at described web page tag place, set up the mapping relations between described web page tag and web page tag place page process.
CN201210511279.0A 2012-12-03 2012-12-03 Audio control method and device for browser Active CN103019710B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210511279.0A CN103019710B (en) 2012-12-03 2012-12-03 Audio control method and device for browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210511279.0A CN103019710B (en) 2012-12-03 2012-12-03 Audio control method and device for browser

Publications (2)

Publication Number Publication Date
CN103019710A CN103019710A (en) 2013-04-03
CN103019710B true CN103019710B (en) 2016-08-03

Family

ID=47968349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210511279.0A Active CN103019710B (en) 2012-12-03 2012-12-03 Audio control method and device for browser

Country Status (1)

Country Link
CN (1) CN103019710B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034695A (en) * 2012-12-03 2013-04-10 北京奇虎科技有限公司 Method and device for sound control in browser
CN104252353B (en) * 2013-06-28 2018-10-02 腾讯科技(深圳)有限公司 The control method and device of page sound in browser
CN104660793A (en) * 2013-11-21 2015-05-27 腾讯科技(深圳)有限公司 Sound control method and system for intelligent terminal and intelligent terminal
CN103886057A (en) * 2014-03-14 2014-06-25 联想(北京)有限公司 Method for processing information and electronic equipment
CN104080016B (en) * 2014-06-25 2018-08-17 北京奇虎科技有限公司 The method and apparatus that audio/video information is shown are carried out in a kind of browser
CN110446101A (en) * 2018-05-04 2019-11-12 青岛海尔多媒体有限公司 The method, apparatus and computer readable storage medium of sound output
CN111475134B (en) * 2020-06-23 2020-10-09 杭州翔毅科技有限公司 Webpage volume adjusting method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193009A (en) * 2006-11-30 2008-06-04 国际商业机器公司 Method, system and program product for audio tonal monitoring of Web events
CN101706796A (en) * 2008-11-14 2010-05-12 北京搜狗科技发展有限公司 Method and device for showing webpage resources
CN101789001A (en) * 2009-04-30 2010-07-28 北京搜狗科技发展有限公司 Method and system for controlling sound in browser

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8499253B2 (en) * 2009-10-13 2013-07-30 Google Inc. Individualized tab audio controls

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193009A (en) * 2006-11-30 2008-06-04 国际商业机器公司 Method, system and program product for audio tonal monitoring of Web events
CN101706796A (en) * 2008-11-14 2010-05-12 北京搜狗科技发展有限公司 Method and device for showing webpage resources
CN101789001A (en) * 2009-04-30 2010-07-28 北京搜狗科技发展有限公司 Method and system for controlling sound in browser

Also Published As

Publication number Publication date
CN103019710A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
CN103019710B (en) Audio control method and device for browser
CN103034695A (en) Method and device for sound control in browser
US8819012B2 (en) Accessing anchors in voice site content
US8468145B2 (en) Indexing of URLs with fragments
EP2795885B1 (en) Managing playback of supplemental information
CN101789001B (en) Method and system for controlling sound in browser
CN108369600B (en) Web browser extensions
KR20150017156A (en) Method and apparatus for providing recommendations on portable terminal
CN102622222B (en) Method and system for controlling sound in browser
WO2010116025A1 (en) Method and apparatus for providing visual search engine results
WO2017076315A1 (en) Page display method, device, and system, and page display assist method and device
CN108804158A (en) Application call method, the control method of terminal device, terminal device and computer readable storage medium
CN106970977A (en) A kind of webpage redirects processing method and processing device
CN104424232A (en) Web page annotation method and device
US11099718B2 (en) Systems and methods for accelerating user interactions on touchscreen devices
CN109271603A (en) Method and apparatus for displayed page
US20130139061A1 (en) Desktop sound source discovery
CN106155507A (en) A kind of page content display method and electronic equipment
EP2461256A2 (en) Method and apparatus for providing an electronic book service in a mobile device
CN109857901A (en) Information displaying method and device and method and apparatus for information search
US9251267B2 (en) Generating behavior information for a link
WO2022071917A1 (en) Document mark-up and navigation using natural language processing
CN110347454A (en) Application program theme setting method, terminal equipment control method and device, terminal device and computer readable storage medium
CN104281354B (en) Multimedia messages playing method and device
US10635268B2 (en) Layered content selection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220715

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.