CN103034695A - Method and device for sound control in browser - Google Patents

Method and device for sound control in browser Download PDF

Info

Publication number
CN103034695A
CN103034695A CN2012105112786A CN201210511278A CN103034695A CN 103034695 A CN103034695 A CN 103034695A CN 2012105112786 A CN2012105112786 A CN 2012105112786A CN 201210511278 A CN201210511278 A CN 201210511278A CN 103034695 A CN103034695 A CN 103034695A
Authority
CN
China
Prior art keywords
webpage
webpage label
sound
label
page process
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
CN2012105112786A
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 Qihoo Technology Co Ltd
Qizhi Software Beijing 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 CN2012105112786A priority Critical patent/CN103034695A/en
Publication of CN103034695A publication Critical patent/CN103034695A/en
Priority to CN201310594645.8A priority patent/CN103646046A/en
Priority to PCT/CN2014/091469 priority patent/WO2015074548A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation

Abstract

The invention discloses a device for sound control in a browser. The device comprises an establishment module, a look-up module and a control module, wherein the establishment module is configured to establish a webpage tag and establish mapping relation between the webpage tag and a page process of the webpage tag; the look-up module is configured to look up the page process of a first webpage tag according to the established mapping relation of the webpage tag and the page process when receiving an instruction input by a user for controlling sound in the first webpage tag; and the control module is configured to control the sound in the first webpage tag in the page process of the first webpage tag which is looked up. By using the device, the sound of each webpage tag can be independently controlled. The invention also provides a corresponding method.

Description

Carry out method and the device of Sound control in the browser
Technical field
The present invention relates to the network application field, be specifically related to carry out in a kind of browser carry out in the device of Sound control and the browser method of Sound control.
Background technology
The common choice for use browser of user is browsed webpage at present, and along with the development of technology, the content that webpage presents is more and more, and is more and more abundanter.Except simple Word message, can also present the information with sound on the webpage, for example music file, multimedia file etc.
Most browser can be quiet to webpage.A quiet option can be set in browser usually, and behind the startup mute function, the file that can sound on the webpage all can be switched off, the flash video of for example playing on the webpage, the music of listening.
Hook is provide among the Windows a kind of in order to replace the system mechanism of " interruption " under the DOS, and Chinese is translated into " hook " or " hook ".After specific system event was carried out hook, in case hook event occurs, the program that this event is carried out hook will be subject to the notice of system, and at this moment program just can be made response to this event in the very first time.The another kind of explanation is: Hook is a platform of windows messaging treatment mechanism, and application program can arrange sub-journey in the above with certain message of supervision specified window, and the window that monitors can be that other processes create.After message arrives, before processing function, target window processes it.Hook Mechanism allows application program to intercept and capture and processes Window message or particular event.
Therefore, during enforcement, by adopting the hook technology, change the sound A PI(Application Programming Interface that the Windows system provides, application programming interface) behavior of function, also can reach quiet purpose.For example, the CoreAudio APIs by operating system provides controls sound channel, is set to the quiet or not quiet quiet purpose that reaches.
But no matter be directly to open mute function or adopt the hook technology to reach quiet purpose, what it was closed all is the sound of all webpages on the whole browser, can not realize that both control is quiet separately to webpage.
Summary of the invention
In view of the above problems, the present invention has been proposed so as the device that carries out Sound control in a kind of browser that overcomes the problems referred to above or address the above problem at least in part to be provided and corresponding browser in carry out the method for Sound control.
According to one aspect of the present invention, the device that carries out Sound control in a kind of browser is provided, comprising:
Set up module, be configured to create the webpage label, and set up the mapping relations between webpage label and the webpage label place page process;
Search module, be configured to receive user's input to the first webpage label in sound control instruction the time, according to the webpage label of described foundation and the mapping relations between the page process, find the page process at the first webpage label place;
Control module is configured in the page process of described the first webpage label that finds the sound in the first webpage label be controlled.
Alternatively, the described module of setting up also is configured to set up mapping relations between webpage tag identifier ID and the webpage label place page process ID.
Alternatively, the described module of searching also is configured to:
Receive the Sound control instruction for this first webpage label of user's input in the first webpage label, wherein, this Sound control instruction comprises the first webpage tag identifier ID;
According to described the first webpage tag identifier ID, in the webpage label of described foundation and the mapping relations between the page process, search;
Obtain the ID of the corresponding page process of the first webpage label.
Alternatively, described control module also is configured to:
According to searching the ID that obtains the corresponding page process of the first webpage label, the sound A PI function by operating system in this page process is controlled the sound in the first webpage label.
Alternatively, said apparatus also comprises:
The window generation module, be configured to generate the floating frame that Sound control is carried out in prompting at tag head or the sonorific web page element place in the first webpage label of the first webpage label, wherein, be loaded with the entrance that receives the instruction that the sound in the first webpage label is controlled in this floating frame.
Alternatively, the sound in described the first webpage label comprises: the sound that the video plug-in unit in the webpage and/or audio plug produce.
Alternatively, described control module also is configured to carry out at least one item in the following operation control:
Close the sound in the first webpage label;
Open the sound in the first webpage label;
Regulate the sound in the first webpage label.
Alternatively, said apparatus also comprises:
Reminding module, being configured to provides prompting to the webpage label that has voice data when there is voice data in a plurality of webpage labels simultaneously.
Alternatively, described reminding module also is configured to utilize the highlighted demonstration of tag entry that the webpage label that has voice data is pointed out.
Alternatively, said apparatus also comprises:
Display module is configured to when there is voice data in a plurality of webpage labels simultaneously, shows the information of the voice data in described a plurality of webpage labels in a floating frame; Perhaps, when there is a plurality of voice data in the first webpage label simultaneously, in a floating frame, show the information of the simultaneous a plurality of voice datas of the first webpage label.
Alternatively, described display module also is configured to show following information one of at least at described floating frame:
The title of webpage label;
The type of voice data in the webpage;
The title of voice data in the webpage.
Alternatively, described control module also is configured in described floating frame the sound in the first webpage label be carried out control operation.
Alternatively, described display module also is configured in a plurality of webpage labels, and described current processed webpage label is put front demonstration.
Alternatively, described control module also is configured to: the recommended links that the audio/video file that is not muted or has been muted is provided in described floating frame; Perhaps, provide for the relevant research tool link of described audio/video file.
Alternatively, said apparatus also comprises:
Preserve module, be configured to preserve the information that is carried out the audio files of control in the first webpage label; And, the information of the audio files of described preservation carried out as the part of browser client information that the browsers local side is preserved and/or network side synchronously.
Alternatively, the described module of setting up also is configured to set up the mapping relations between described webpage label and the webpage label place page process when creating the page process at described webpage label place.
According to another aspect of the present invention, the method for carrying out Sound control in a kind of browser is provided, comprising:
Create the webpage label, and set up the mapping relations between webpage label and the webpage label place page process;
Receive user's input to the first webpage label in sound control instruction the time, according to the webpage label of described foundation and the mapping relations between the page process, find the page process at the first webpage label place;
In the page process of described the first webpage label that finds, the sound in the first webpage label is controlled.
Alternatively, the described mapping relations of setting up between webpage label and the webpage label place page process comprise:
Set up the mapping relations between webpage tag identifier ID and the webpage label place page process ID.
Alternatively, the step of the instruction that sound in the first webpage label is controlled of described reception user input comprises:
Receive the Sound control instruction for this first webpage label of user's input in the first webpage label, wherein, this Sound control instruction comprises the first webpage tag identifier ID; Then
The webpage label of the described foundation of described foundation and the mapping relations between the page process, the step that finds the page process at the first webpage label place comprises:
According to described the first webpage tag identifier ID, in the webpage label of described foundation and the mapping relations between the page process, search;
Obtain the ID of the corresponding page process of the first webpage label.
Alternatively, the step of in the page process of described the first webpage label that finds the sound in the first webpage label being controlled comprises:
According to searching the ID that obtains the corresponding page process of the first webpage label, the sound A PI function by operating system in this page process is controlled the sound in the first webpage label.
Alternatively, said method also comprises:
Tag head or the sonorific web page element place in the first webpage label at the first webpage label generate the floating frame that Sound control is carried out in prompting, wherein, be loaded with the entrance that receives the instruction that the sound in the first webpage label is controlled in this floating frame.
Alternatively, the sound in described the first webpage label comprises: the sound that the video plug-in unit in the first webpage label and/or audio plug produce.
Alternatively, described sound in the first webpage label is controlled, is comprised at least one in the following operation control:
Close the sound in the first webpage label;
Open the sound in the first webpage label;
Regulate the volume in the first webpage label.
Alternatively, when there is voice data in a plurality of webpage labels simultaneously, provide prompting to the webpage label that has voice data.
Alternatively, the described prompting mode that provides is to utilize the highlighted demonstration of tag entry that the webpage label that has voice data is pointed out.
Alternatively, said method also comprises:
When there is voice data in a plurality of webpage labels simultaneously, in a floating frame, show the information of the voice data in described a plurality of webpage labels; Perhaps
When there is a plurality of voice data in the first webpage label simultaneously, in a floating frame, show the information of the simultaneous a plurality of voice datas of the first webpage label.
Alternatively, the information that shows on the described floating frame comprise following one of at least:
The title of webpage label;
The type of voice data in the webpage;
The title of voice data in the webpage.
Alternatively, in described floating frame, receive user's input to after the instruction that sound is controlled in the first webpage label, comprising: in described floating frame, the sound in the first webpage label is carried out control operation.
Alternatively, in described floating frame, the sound in the first webpage label is carried out comprising: in a plurality of webpage labels, described current processed webpage label is put front demonstration after the control operation.
Alternatively, in described floating frame, also provide:
The recommended links of the audio/video file that is not muted or has been muted; Perhaps
For the relevant research tool link of described audio/video file.
Alternatively, described sound in the first webpage label is controlled after, comprising:
Preserve the information that is carried out the audio files of control in the first webpage label;
The information of the audio files of described preservation carried out as the part of browser client information that the browsers local side is preserved and/or network side synchronously.
Alternatively, when creating the page process at described webpage label place, set up the mapping relations between described webpage label and the webpage label place page process.
In embodiments of the present invention, when having at least one webpage label, can utilize respectively the page process of each webpage label that the sound in this webpage label is controlled, rather than by a unified mute function or function the sound in all webpage labels be carried out unified control.This shows, the embodiment of the invention can be controlled separately for the sound in each webpage label, improves the accuracy of webpage Sound control, improves user's impression and experiences.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of drawings
By reading hereinafter detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing only is used for the purpose of preferred implementation is shown, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts with identical reference symbol.In the accompanying drawings:
Fig. 1 shows the structural representation that carries out the device of Sound control in the browser according to an embodiment of the invention;
Fig. 2 shows the processing flow chart that carries out the method for Sound control in the browser according to an embodiment of the invention;
Fig. 3 shows the process flow diagram of the concrete steps of the page process of searching according to an embodiment of the invention a webpage label place;
Fig. 4 shows the processing flow chart of according to an embodiment of the invention sound in the first webpage label being controlled;
Fig. 5 shows the process flow diagram of opening of webpage according to an embodiment of the invention;
Fig. 6 shows according to an embodiment of the invention, and the user clicks the control icon carries out quiet operation to webpage processing flow chart;
Fig. 7 shows the schematic diagram that shows according to an embodiment of the invention the information of a plurality of webpage labels at a floating frame; And
Fig. 8 shows the schematic diagram that shows according to an embodiment of the invention the control information of audio files at a floating frame.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in the accompanying drawing, yet should be appreciated that and to realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order to understand the disclosure more thoroughly that these embodiment are provided, and can with the scope of the present disclosure complete convey to those skilled in the art.
Be in solving the problems of the technologies described above at least one, the embodiment of the invention provides the device that carries out Sound control in a kind of browser.Fig. 1 shows the structural representation that carries out the device of Sound control in the browser according to an embodiment of the invention.
Referring to Fig. 1, carry out in the browser comprising at least in the device of Sound control and set up module 110, search module 120 and control module 130.Now respectively framework and the function of above-mentioned each module is elaborated.
At first, module 110 is set up in introduction.Browser can be opened a plurality of webpages simultaneously, webpage label of each webpage corresponding establishment of meeting, and on the backstage, each webpage has a corresponding process.Therefore, can use and set up module 110 and create the webpage labels, and set up the mapping relations between webpage label and the webpage label place page process.
Then, module 120 is searched in introduction.Referring to Fig. 1, search module 120 and set up module 110 and be coupled.When the user opens a plurality of webpage label simultaneously, if select the sound of one of them webpage label to control, then send the instruction that sound in this webpage label is controlled.For to distinguish webpage label user selection, that be about to carry out Sound control, can be referred to as the first webpage label herein.First only using as distinctive mark herein, to webpage label and corresponding webpage self without any limiting meaning.Receive user's input to the first webpage label in sound control instruction the time, search module 120 and can according to the webpage label of setting up and the mapping relations between the page process, find the page process at the first webpage label place.
At last, introduce control module 130.Referring to Fig. 1, control module 130 with search module 120 and be coupled.After the page process of searching the first webpage label that module 120 finds, control module 130 utilizes the page process of the first webpage label that finds that the sound in the first webpage label is controlled.
In embodiments of the present invention, when having at least one webpage label, can utilize respectively the page process of each webpage label that the sound in this webpage label is controlled, rather than by a unified mute function or function the sound in all webpage labels be carried out unified control.This shows, the embodiment of the invention can be controlled separately for the sound in each webpage label, improves the accuracy of webpage Sound control, improves user's impression and experiences.
Mention that above setting up module 110 can set up mapping relations between webpage label and the webpage label place page process.The mapping mode that utilizes in the mapping relations can have multiple, for example, Random Maps, digit mapping, ordering mapping etc., the map element of employing also can be for multiple, for example key word, weights etc.A kind of preferred mapping relations are provided in this example, that is, have set up the mapping relations between webpage tag identifier (ID) and the webpage label place page process ID.Wherein, set up module 110 when creating the page process at webpage label place, just the mapping relations between webpage label and the webpage label place page process can be set up out synchronously.
If when mapping relations were mapping relations between webpage label ID and the page process ID, the user can carry webpage label ID in the instruction that sound is controlled.Accordingly, search module 120 can receive user's input in the first webpage label the Sound control instruction for this first webpage label, wherein, this Sound control instruction comprises the first webpage label ID.Subsequently, search module 120 according to the first webpage label ID, in the webpage label of setting up and the mapping relations between the page process, search, obtain the ID of the corresponding page process of the first webpage label, the ID of this page process is notified to control module 130.
Control module 130 finds corresponding page process according to searching the ID that obtains the corresponding page process of the first webpage label after the ID of knowing page process.Further, control module 130 sound A PI function by operating system in this page process is controlled the sound in the first webpage label.
Owing to comprising a plurality of webpage labels in the browser, and for the control of the sound in the webpage label, if opening each webpage label controls again at every turn, then can cause waste of time, result is not very desirable.Therefore, carry out in the browser in the device of Sound control window generation module 140 being set, be coupled with searching module 120, be used for generating floating frame.Specifically in this example, window generation module 140 can generate the floating frame that Sound control is carried out in prompting at tag head or the sonorific web page element place in the first webpage label of the first webpage label, wherein, be loaded with the entrance that receives the instruction that the sound in the first webpage label is controlled in this floating frame.Further, the user can send the instruction that the sound in the first webpage label is controlled at the floating frame place, and window generation module 140 receives command adapted theretos, and it is gone to searches module 120, in order to subsequent treatment.The control icon of floating frame on being arranged on the page certain advantage is arranged, floating frame can appear in one's mind on a certain specified page, also can float on all pages, even what open is not the first webpage label that need to carry out Sound control, also can control the sound in the first webpage label, so that more convenient to the control of sound.
Preamble is mentioned always the sound in the first webpage label is controlled, and need to prove herein, and the sound in the first webpage label comprises multiple, the sound that produces of the video plug-in unit in the webpage for example, the sound that produces of audio plug for example again, perhaps both produced simultaneously sound, etc.Can there be simultaneously a plurality of plug-in units to sound in the webpage label.
When the sound in 130 pairs of the first webpage labels of control module is controlled, can carry out at least one in the following operation control:
Close the sound in the first webpage label;
Open the sound in the first webpage label;
Regulate the sound size in the first webpage label.
Above-mentioned only is enumerating the basic control mode of sound.If there are other attributes in sound, for example two-channel, Chinese and English switch, can also according to circumstances select L channel or R channel to carry out sound and play, and the languages that perhaps select a sound, etc.
Further, because the browser of mentioning in the embodiment of the invention can be opened a plurality of webpage labels simultaneously, then, when wherein there is voice data in part webpage label simultaneously, can in browser, carry out in the device of Sound control reminding module 150 being set, be coupled with setting up module 110, after each webpage label and the foundation of corresponding process, provide prompting to the webpage label that has voice data.Need to prove, prompting mode herein can have multiple, can will exist the webpage tag recognition of voice data out to get final product, for example, can utilize the highlighted demonstration of tag entry that the webpage label that has voice data is pointed out, also can utilize the background colour of tag entry that the webpage label that has voice data is pointed out, can also utilize the option such as title font size, color of tag entry that the webpage label that has voice data is pointed out, etc.Because highlighted display effect is comparatively obvious, therefore, preferably utilizes the mode of highlighted display label item to point out.
Because multiple web pages shows, and can provide the file of voice data may more than one in each webpage, therefore, select for the convenience of the user sonorific file and in time controlling, can consider in browser, to carry out in the device of Sound control display module 160 to be set.Referring to Fig. 1, display module 160 is respectively with window generation module 140 and search module 120 and be coupled.When there was voice data in a plurality of webpage labels simultaneously, display module 160 can show the information of the voice data in a plurality of webpage labels in a floating frame.Certainly, if when the first webpage label occurring and having a plurality of voice data simultaneously, display module 160 also can show the information of the simultaneous a plurality of voice datas of the first webpage label in a floating frame.The information of a plurality of voice datas all is placed in the floating frame presents, information is carried out centralized management, be convenient to the user and select as required, improve the efficient of Sound control.
For ease of user selection, display module 160 can show at floating frame any information of audio files or voice data, usually the preferred following message that shows:
The title of webpage label;
The type of voice data in the webpage;
The title of voice data in the webpage.
If voice data also exists other information to play a role for user's selection, then also can show other information, for example the residue reproduction time of voice data.
The advantage of utilizing the floating frame information of carrying out to show has also been done respective description at preamble, needn't elaborate any further at this.Accordingly, control module 130 can be chosen in the floating frame sound in the first webpage label is carried out control operation.Be handled easily, can in floating frame, according to the different operating to voice data different icons be set, for example, the beginning icon can be set, suspend icon, stop icon, accelerate icon, slow down icon etc.The user can reach purpose by clickable icon when carrying out the instruction input.
If a certain webpage label is processed, then display module 160 can in a plurality of webpage labels, be put front demonstration with current processed webpage label.This sortord is of value to the control efficiency that improves voice data, reduces and searches the time waste that voice data place webpage causes.For example, the user closes the audio files in the first webpage label, and display module 160 arrives this webpage tag sorting first of browser display.Follow-up, the user wants again to open this audio files, then directly opens primary webpage label and gets final product, and does not need another to go to search by the webpage label, reaches the purpose of the control efficiency that improves voice data.
After the audio files of user selection is controlled, control module 130 can also provide other information in floating frame, for example, the recommended links of the audio/video file that is not muted or has been muted can be provided, again for example, also can provide for the relevant research tool link of audio/video file.Providing of these other information can be drawn by relevant information analyze of browser according to the user selection audio files, also can be analyzed and draws according to user's record of browsing at ordinary times by browser.
During enforcement, after the audio files in the first webpage label is controlled, can in preserving module 170, preserve the information that is carried out the audio files of control in the first webpage label.Follow-up the audio files of having controlled is extracted or operation is processed in access etc. again for convenient, further, preserving module 170 also can carry out the browsers local side as the part of browser client information with the information of the audio files preserved and preserve, perhaps, it can also be carried out the synchronous of network side.If be kept at network side, when then again extracting corresponding information, browser need to arrive first the relevant information that network side obtains preservation, and then again opens and carry out subsequent control operation.
Based on same inventive concept, the embodiment of the invention also provides the method for carrying out Sound control in a kind of browser, and the enforcement basis of the method is for the device of Sound control is provided in the browser that provides among above-mentioned any one embodiment.Fig. 2 shows the processing flow chart that carries out the method for Sound control in the browser according to an embodiment of the invention.The method comprising the steps of S202 is to step S206.
Step S202, create the webpage label, and set up the mapping relations between webpage label and the webpage label place page process.
Step S204, receive user's input to the first webpage label in sound control instruction the time, according to the webpage label of setting up and the mapping relations between the page process, find the page process at the first webpage label place.
Step S206, in the page process of the first webpage label that finds, the sound in the first webpage label is controlled.
In embodiments of the present invention, when having at least one webpage label, can utilize respectively the page process of each webpage label that the sound in this webpage label is controlled, rather than by a unified mute function or function the sound in all webpage labels be carried out unified control.This shows, the embodiment of the invention can be controlled separately for the sound in each webpage label, improves the accuracy of webpage Sound control, improves user's impression and experiences.
Referring to flow process shown in Figure 2, step S202 mentions the mapping relations of setting up between webpage label and the webpage label place page process.The mapping mode that utilizes in the mapping relations can have multiple, for example, Random Maps, digit mapping, ordering mapping etc., the map element of employing also can be for multiple, for example key word, weights etc.A kind of preferred mapping relations are provided in this example, that is, have set up the mapping relations between webpage tag identifier (ID) and the webpage label place page process ID.Wherein, when creating the page process at webpage label place, just the mapping relations between webpage label and the webpage label place page process can be set up out synchronously.
In a preferred embodiment, the concrete steps of the instruction that sound in the first webpage label is controlled of the mentioned reception user of step S204 input and the page process that finds the first webpage label place can referring to Fig. 3, comprise that step S302 is to step S306.
Step S302, receive the Sound control instruction for this first webpage label of user input in the first webpage label, wherein, this Sound control instruction comprises the first webpage label ID;
Step S304, foundation the first webpage label ID search in the webpage label of setting up and the mapping relations between the page process;
Step S306, obtain the ID of the corresponding page process of the first webpage label.
After step S306 finishes, trigger step S206, the step that control the sound in the first webpage label this moment in the page process of the first webpage label that finds sees also Fig. 4, comprises that step S402 is to step S404.
Step S402, foundation are searched the ID that obtains the corresponding page process of the first webpage label, find corresponding page process.
Step S404, the sound A PI function by operating system in the page process that finds are controlled the sound in the first webpage label.
Need to prove, in the process that voice data or audio files are controlled, can generate the floating frame that Sound control is carried out in prompting at tag head or the sonorific web page element place in the first webpage label of the first webpage label, wherein, be loaded with the entrance that receives the instruction that the sound in the first webpage label is controlled in this floating frame.The control icon of floating frame on being arranged on the page certain advantage is arranged, floating frame can appear in one's mind on a certain specified page, also can float on all pages, even what open is not the first webpage label that need to carry out Sound control, also can control the sound in the first webpage label, so that more convenient to the control of sound.
Need to prove, the sound in the first webpage label comprises multiple herein, the sound that produces of the video plug-in unit in the webpage for example, and the sound that produces of audio plug for example again, perhaps both produced simultaneously sound, etc.Can there be simultaneously a plurality of plug-in units to sound in the webpage label.
Preferably, the sound in the first webpage label is controlled, is comprised at least one in the following operation control:
Close the sound in the first webpage label;
Open the sound in the first webpage label;
Regulate the volume in the first webpage label.
Above-mentioned only is enumerating the basic control mode of sound.If there are other attributes in sound, for example two-channel, Chinese and English switch, can also according to circumstances select L channel or R channel to carry out sound and play, and the languages that perhaps select a sound, etc.
Further, when there is voice data in a plurality of webpage labels simultaneously, provide prompting to the webpage label that has voice data.Need to prove, prompting mode herein can have multiple, can will exist the webpage tag recognition of voice data out to get final product, for example, can utilize the highlighted demonstration of tag entry that the webpage label that has voice data is pointed out, also can utilize the background colour of tag entry that the webpage label that has voice data is pointed out, can also utilize the option such as title font size, color of tag entry that the webpage label that has voice data is pointed out, etc.Because highlighted display effect is comparatively obvious, therefore, preferably utilizes the mode of highlighted display label item to point out.
Because multiple web pages shows, and can provide the file of voice data may more than one in each webpage, therefore, select for the convenience of the user sonorific file and in time control, can take full advantage of the advantage of floating frame.When there is voice data in a plurality of webpage labels simultaneously, in a floating frame, show the information of the voice data in a plurality of webpage labels.Certainly, if when there is a plurality of voice data in the first webpage label simultaneously, also can in a floating frame, show the information of the simultaneous a plurality of voice datas of the first webpage label.The information of a plurality of voice datas all is placed in the floating frame presents, information is carried out centralized management, be convenient to the user and select as required, improve the efficient of Sound control.
For ease of user selection, can show at floating frame any information of audio files or voice data, usually the preferred following message that shows:
The title of webpage label;
The type of voice data in the webpage;
The title of voice data in the webpage.
If voice data also exists other information to play a role for user's selection, then also can show other information, for example the residue reproduction time of voice data.
The advantage of utilizing the floating frame information of carrying out to show has also been done respective description at preamble, needn't elaborate any further at this.Accordingly, can be chosen in the floating frame sound in the first webpage label is carried out control operation.Be handled easily, can in floating frame, according to the different operating to voice data different icons be set, for example, the beginning icon can be set, suspend icon, stop icon, accelerate icon, slow down icon etc.The user can reach purpose by clickable icon when carrying out the instruction input.
If a certain webpage label is processed, then can in a plurality of webpage labels, current processed webpage label be put front demonstration.This sortord is of value to the control efficiency that improves voice data, reduces and searches the time waste that voice data place webpage causes.For example, the user closes the audio files in the first webpage label, with this webpage tag sorting to first of browser display.Follow-up, the user wants again to open this audio files, then directly opens primary webpage label and gets final product, and does not need another to go to search by the webpage label, reaches the purpose of the control efficiency that improves voice data.
After the audio files of user selection is controlled, other information can also be provided in floating frame, for example, can provide the recommended links of the audio/video file that is not muted or has been muted, again for example, also can provide for the relevant research tool link of audio/video file.Providing of these other information can be drawn by relevant information analyze of browser according to the user selection audio files, also can be analyzed and draws according to user's record of browsing at ordinary times by browser.
During enforcement, after the audio files in the first webpage label is controlled, can preserve the information that is carried out the audio files of control in the first webpage label.Follow-up the audio files of having controlled is extracted or operation is processed in access etc. again for convenient, further, also the information of the audio files preserved can be carried out the browsers local side as the part of browser client information and preserve, perhaps, it can also be carried out network side synchronously.If be kept at network side, when then again extracting corresponding information, browser need to arrive first the relevant information that network side obtains preservation, and then again opens and carry out subsequent control operation.
The concrete grammar that carries out Sound control in the browser that now utilizes specific embodiment that the embodiment of the invention is provided is explained in detail and illustrates, take quiet as example to webpage.
In this example, come control system sound by in the Windows system, adopting brand-new Core Audio APIs function.Application program can be controlled vocal behavior by this cover api function, such as music playing, and can also be quiet.
This example is when implementing, and take process as elementary cell (the corresponding process of each webpage label), process can comprise a plurality of sound channels (corresponding, as may to have a plurality of audio files or voice data in each webpage label).If quiet to certain process, its all sound channel of comprising can not sounded so.Give an example, can play simultaneously flash and mp3 music on certain webpage label, so just comprised two sound channels.If quiet to this process, flash and mp3 have not had sound.
At first browser is carried out relative set in this example, to the webpage in each webpage label, all in an independent process, open.Newly open a label, just newly created a process.For many label types browser, the webpage of newly opening is arranged in a new label, an id is arranged as sign, is called for short " label ID " or " tabid ".
When process creation, write down the corresponding relation of process ID (process_id) and label ID.
Data structure is: [{ tabid:process_id}, { tabid:process_i d} ... ]
When user selection is quiet to certain webpage tab, find process_id according to tabid, the api function MuteProcess (process_id) with process_id passes to operating system reaches quiet purpose.
The flow process of opening of webpage sees also Fig. 5, comprises that step S502 is to step S506.
Step S502, open new web page, create new webpage label;
Step S504, be the new webpage process of this Web page create;
Tabid and the process_id of webpage process and both mapping relations of step S506, record webpage label.
The user clicks the control icon treatment scheme that webpage carries out quiet operation is seen also Fig. 6, comprises that step S602 is to step S606.
Step S602, user selection carry out quiet to certain webpage, find the ID of corresponding webpage label;
Step S604, find process ID according to label ID, and then find corresponding process;
Step S606, calling system API carry out quiet to process.
When in a plurality of webpage labels are arranged, having sound, can eject interface (being equivalent to floating frame) and carry out the control (webpage that can sound is set) of process sound for the user.Fig. 7 shows the schematic diagram that shows according to an embodiment of the invention the information of a plurality of webpage labels at a floating frame.4 webpage labels are arranged among Fig. 7, the homepage of label www.baidu.com during current web page wherein, a webpage label in addition is the webpage of playing the flash video plug-in unit of " dare-to-die corps 2 ", and another one webpage label is the webpage of playing the MP3 audio plug of " cost of love "; To also have a webpage label be the web game " Age of Empires " that the form with the Flash plug-in unit loads, and wherein also is the background sound of playing game.At each above-mentioned webpage label when the browser side loads, the capital is by the identification of the plug-in unit of the file that may play sound in the browser identification Web page loading, the for example loading of the loading of Flash plug-in unit or MP3 audio plug (can identify according to the CLSID of invoked installation plug-in unit which plug-in unit is called), thereby get access to the associated description information of audio frequency, video or game webpage that this plug-in unit plays, such as the title of audio files, classification, singer informations etc.Can produce floating frame (also can be called and play window) after Sound control button place in the status bar of browser clicks like this, three audio files in this bullet window, have been shown, first is the flash video of " dare-to-die corps 2 ", second is mp3 file " cost of love ", the 3rd is game " Age of Empires ", specifically referring to accompanying drawing 7, the file of being chosen will be muted, i.e. the relevant broadcast of sound in this webpage label will be muted processing.Control knob or the icon of each audio files can be set in this floating frame, for example open or close sign among Fig. 7, click the sound that this sign just can open or close corresponding audio files.Or will comprise this and be muted or cancel quiet webpage and become the current web page label, the webpage tag head is carried out highlighted demonstration.Audio files among Fig. 7 and control icon are all enumerated, and concrete webpage label and the audio files gone up are not mutually caused restriction.In actual applications, the quantity of audio files depends on the quantity of the webpage label of opening, and can be four five even more.The control icon also can comprise other signs, for example regulates the volume sign, plays sign etc.It can be sound symbol (image with loudspeaker occurs in status bar usually) in user's click browser status bar that floating frame shown in Fig. 7 appears trigger condition on the page in one's mind.Certainly, other trigger condition also can occur, for example click file plug-in unit or other plug-in units.This floating frame can appear automatically in the time of also can being set to open the webpage label at every turn.For the quiet processing of sound, use the scheme in the previous embodiment of the present invention to carry out among above-mentioned this embodiment, just no longer give unnecessary details here.
When the webpage that has sound to send need to directly be opened, can carry out directly opening of specified page by the interface that shows among above-mentioned Fig. 7, be convenient to the user directly opens sound in numerous webpage notes webpage, for example be so that this label is put front highlighted demonstration, seek in numerous webpage labels so as not to the user.
The information that loads in the interface that presents for Fig. 7 can also comprise the title of webpage label, the type that audio files is arranged of broadcast, the title of audio files etc., and these data all can be obtained from the webpage label.
Fig. 8 shows the schematic diagram that shows according to an embodiment of the invention the control information of audio files at a floating frame.This control information can be integrated in the existing plug-in unit of browser and realize, also can generate a new plug-in unit and be used for realizing this control information in browser.Referring to Fig. 8, this example is control information to be integrated in the existing plug-in unit of browser realize.Play window (for example user's right-click webpage label) when the user opens one, in this bullet window, present the control information of audio files.Among Fig. 8, two webpage labels are arranged, one of them is the searched page of Baidu.Another one is that the music box of Baidu is wherein play the song of appointing virtuous " never shrinking back " together by the player plug-in of MP3, when loading the webpage of this Baidu's music box, identify and wherein loaded MP3 player plug-in (detail is referring to the announcement among the embodiment corresponding among Fig. 7), get access to song title, singer informations and the current web page heading message etc. of this music playing.Audio files is the mp3 file of appointing virtuous " never shrinking back " together, and the information of audio files can be obtained from the webpage label, for example author, affiliated special edition, file type, duration etc.Control information can comprise preferably that then beginning, sound become large, sound diminishes and mute option, its link that provides all can excite produce one in the current web page process for the corresponding instruction of Sound control, and the AP I function that is dealt into system's operating system of browser side carries out corresponding Sound control, and the technology that concrete ins and outs also see also in the previous embodiment of the present invention discloses.As can be known shown in Figure 8, although there is not the existence of audio files in the current web page label, can views the information of the file that the sound broadcast is arranged in whole all webpage labels when in the current web page label, clicking by right key, and can carry out corresponding control operation.Also can with audio files, just repeat no more here in certain described current web page label.Need to prove, similar with Fig. 7, Fig. 8 also only is a schematic diagram, if also there is other audio files in the browser, also can in floating frame, manifest relevant information and the corresponding control information of other audio files, be that the sound broadcast of a plurality of audio files in the webpage label is controlled can be appearred in floating frame, perhaps the sound of the audio files in a plurality of webpage labels play and controlled.Control for sound among above-mentioned this embodiment is processed, and uses the scheme in the previous embodiment of the present invention to carry out, and just no longer gives unnecessary details here.
Except control information, Fig. 8 also is shown in provides some relevant linking of audio files with control in the floating frame, for example appoints the recommendation of virtuous other songs together, and this recommendation can be initiatively to be recommended by server side corresponding to browser.Further, for example can provide again the search box (i.e. search engine commonly used) of a song, make things convenient for the user to carry out more crossing obtaining of song information.
By the description of above-described embodiment as can be known, the present embodiment has increased the quiet function of independent control webpage, has promoted user's experience.
Method and apparatus according to the embodiment of the invention provides can reach following beneficial effect:
In embodiments of the present invention, when having at least one webpage label, can utilize respectively the page process of each webpage label that the sound in this webpage label is controlled, rather than by a unified mute function or function the sound in all webpage labels be carried out unified control.This shows, the embodiment of the invention can be controlled separately for the sound in each webpage label, improves the accuracy of webpage Sound control, improves user's impression and experiences.
Intrinsic not relevant with any certain computer, virtual system or miscellaneous equipment with demonstration at this algorithm that provides.Various general-purpose systems also can be with using based on the teaching at this.According to top description, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.Should be understood that and to utilize various programming languages to realize content of the present invention described here, and the top description that language-specific is done is in order to disclose preferred forms of the present invention.
In the instructions that provides herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can be in the situation that there be these details to put into practice.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the description to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes in the above.Yet the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires the more feature of feature clearly put down in writing than institute in each claim.Or rather, as following claims reflected, inventive aspect was to be less than all features of the disclosed single embodiment in front.Therefore, follow claims of embodiment and incorporate clearly thus this embodiment into, wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change and they are arranged in one or more equipment different from this embodiment the module in the equipment among the embodiment.Can be combined into a module or unit or assembly to the module among the embodiment or unit or assembly, and can be divided into a plurality of submodules or subelement or sub-component to them in addition.In such feature and/or process or unit at least some are mutually repelling, and can adopt any combination to disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and so all processes or the unit of disclosed any method or equipment make up.Unless in addition clearly statement, disclosed each feature can be by providing identical, being equal to or the alternative features of similar purpose replaces in this instructions (comprising claim, summary and the accompanying drawing followed).
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included among other embodiment, the combination of the feature of different embodiment means and is within the scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, perhaps realizes with the software module of moving at one or more processor, and perhaps the combination with them realizes.It will be understood by those of skill in the art that and to use in practice microprocessor or digital signal processor (DSP) to realize according to some or all some or repertoire of parts in the device that carries out Sound control in the browser of the embodiment of the invention.The present invention can also be embodied as be used to part or all equipment or the device program (for example, computer program and computer program) of carrying out method as described herein.Such realization program of the present invention can be stored on the computer-readable medium, perhaps can have the form of one or more signal.Such signal can be downloaded from internet website and obtain, and perhaps provides at carrier signal, perhaps provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation of the scope that does not break away from claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed in element or step in the claim.Being positioned at word " " before the element or " one " does not get rid of and has a plurality of such elements.The present invention can realize by means of the hardware that includes some different elements and by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to come imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title with these word explanations.
Herein disclosed is the device that carries out Sound control in A1, a kind of browser, comprising: set up module, be configured to create the webpage label, and set up the mapping relations between webpage label and the webpage label place page process; Search module, be configured to receive user's input to the first webpage label in sound control instruction the time, according to the webpage label of described foundation and the mapping relations between the page process, find the page process at the first webpage label place; Control module is configured in the page process of described the first webpage label that finds the sound in the first webpage label be controlled.A2, according to the described device of A1, it is characterized in that, the described module of setting up also is configured to set up mapping relations between webpage tag identifier ID and the webpage label place page process ID.A3, according to the described device of A2, it is characterized in that, the described module of searching also is configured to: receive the Sound control instruction for this first webpage label of user's input in the first webpage label, wherein, this Sound control instruction comprises the first webpage tag identifier ID; According to described the first webpage tag identifier ID, in the webpage label of described foundation and the mapping relations between the page process, search; Obtain the ID of the corresponding page process of the first webpage label.A4, according to A2 or the described device of A3, it is characterized in that, described control module also is configured to: according to searching the ID that obtains the corresponding page process of the first webpage label, the sound A PI function by operating system in this page process is controlled the sound in the first webpage label.A5, according to each described device of A1 to A4, it is characterized in that, also comprise: the window generation module, be configured to generate the floating frame that Sound control is carried out in prompting at tag head or the sonorific web page element place in the first webpage label of the first webpage label, wherein, be loaded with the entrance that receives the instruction that the sound in the first webpage label is controlled in this floating frame.A6, according to each described device of A1 to A5, it is characterized in that, the sound in described the first webpage label comprises: the sound that the video plug-in unit in the webpage and/or audio plug produce.A7, according to each described device of A1 to A6, it is characterized in that, described control module also is configured to carry out at least one in the following operation control: close the sound in the first webpage label; Open the sound in the first webpage label; Regulate the sound size in the first webpage label.A8, according to each described device of A1 to A7, it is characterized in that, also comprise: reminding module, being configured to provides prompting to the webpage label that has voice data when there is voice data in a plurality of webpage labels simultaneously.A9, according to the described device of A8, it is characterized in that, described reminding module also is configured to utilize the highlighted demonstration of tag entry that the webpage label that has voice data is pointed out.A10, according to each described device of A1 to A9, it is characterized in that, also comprise: display module, be configured to when there is voice data in a plurality of webpage labels simultaneously, in a floating frame, show the information of the voice data in described a plurality of webpage labels; Perhaps, when there is a plurality of voice data in the first webpage label simultaneously, in a floating frame, show the information of the simultaneous a plurality of voice datas of the first webpage label.A11, according to the described device of A10, it is characterized in that, described display module also is configured to show following information one of at least at described floating frame: the title of webpage label; The type of voice data in the webpage; The title of voice data in the webpage.A12, according to each described device of A5 to A11, it is characterized in that, described control module also is configured in described floating frame the sound in the first webpage label be carried out control operation.A13, according to the described device of A12, it is characterized in that, described display module also is configured in a plurality of webpage labels, and described current processed webpage label is put front demonstration.A14, according to the described device of A11, it is characterized in that, described control module also is configured to: the recommended links that the audio/video file that is not muted or has been muted is provided in described floating frame; Perhaps, provide for the relevant research tool link of described audio/video file.A15, according to each described device of A1 to A14, it is characterized in that, also comprise: preserve module, be configured to preserve the information that is carried out the audio files of control in the first webpage label; And, the information of the audio files of described preservation carried out as the part of browser client information that the browsers local side is preserved and/or network side synchronously.A16, according to each described device of A1 to A15, it is characterized in that, the described module of setting up also is configured to set up the mapping relations between described webpage label and the webpage label place page process when creating the page process at described webpage label place.
Herein disclosed is the method for carrying out Sound control in B17, a kind of browser, comprising: create the webpage label, and set up the mapping relations between webpage label and the webpage label place page process; Receive user's input to the first webpage label in sound control instruction the time, according to the webpage label of described foundation and the mapping relations between the page process, find the page process at the first webpage label place; In the page process of described the first webpage label that finds, the sound in the first webpage label is controlled.B18, according to the described method of B17, it is characterized in that, the described mapping relations of setting up between webpage label and the webpage label place page process comprise: set up the mapping relations between webpage tag identifier ID and the webpage label place page process ID.B19, according to the described method of B18, it is characterized in that, the step of the instruction that sound in the first webpage label is controlled of described reception user input comprises: receive the Sound control instruction for this first webpage label of user's input in the first webpage label, wherein, this Sound control instruction comprises the first webpage tag identifier ID; Then the webpage label of the described foundation of described foundation and the mapping relations between the page process, the step that finds the page process at the first webpage label place comprises: according to described the first webpage tag identifier ID, search in the webpage label of described foundation and the mapping relations between the page process; Obtain the ID of the corresponding page process of the first webpage label.B20, according to the described method of B19, it is characterized in that, the step of in the page process of described the first webpage label that finds the sound in the first webpage label being controlled comprises: according to searching the ID that obtains the corresponding page process of the first webpage label, the sound A PI function by operating system in this page process is controlled the sound in the first webpage label.B21, according to each described method of B17 to B20, it is characterized in that, also comprise: tag head or the sonorific web page element place in the first webpage label at the first webpage label generate the floating frame that Sound control is carried out in prompting, wherein, be loaded with the entrance that receives the instruction that the sound in the first webpage label is controlled in this floating frame.B22, according to each described method of B17 to B21, it is characterized in that, the sound in described the first webpage label comprises: the sound that the video plug-in unit in the first webpage label and/or audio plug produce.B23, according to each described method of B17 to B22, it is characterized in that, described sound in the first webpage label is controlled, comprise at least one in the following operation control: close the sound in the first webpage label; Open the sound in the first webpage label; Regulate the volume in the first webpage label.B24, according to each described method of B17 to B20, it is characterized in that, when there is voice data in a plurality of webpage labels simultaneously, provide prompting to the webpage label that has voice data.B25, according to the described method of B24, it is characterized in that, the described prompting mode that provides is to utilize the highlighted demonstration of tag entry that the webpage label that has voice data is pointed out.B26, according to each described method of B17 to B25, it is characterized in that, also comprise: when there is voice data in a plurality of webpage labels simultaneously, in a floating frame, show the information of the voice data in described a plurality of webpage labels; Perhaps when there is a plurality of voice data in the first webpage label simultaneously, in a floating frame, show the information of the simultaneous a plurality of voice datas of the first webpage label.B27, according to the described method of B26, it is characterized in that, the information that shows on the described floating frame comprise following one of at least: the title of webpage label; The type of voice data in the webpage; The title of voice data in the webpage.B28, according to each described method of B21 to B27, it is characterized in that, in described floating frame, receive user's input to after the instruction that sound is controlled in the first webpage label, comprising: in described floating frame, the sound in the first webpage label is carried out control operation.B29, according to the described method of B28, it is characterized in that, in described floating frame, the sound in the first webpage label is carried out comprising: in a plurality of webpage labels, described current processed webpage label is put front demonstration after the control operation.B30, according to the described method of B26, it is characterized in that, in described floating frame, also provide: the recommended links of the audio/video file that is not muted or has been muted; Perhaps for the relevant research tool link of described audio/video file.B 31, according to B17 to B 31 each described methods, it is characterized in that, described sound in the first webpage label is controlled after, comprising: preserve the information that is carried out the audio files of control in the first webpage label; The information of the audio files of described preservation carried out as the part of browser client information that the browsers local side is preserved and/or network side synchronously.B 32, according to each described method of B17 to B31, it is characterized in that, when creating the page process at described webpage label place, set up the mapping relations between described webpage label and the webpage label place page process.

Claims (20)

1. carry out the device of Sound control in the browser, comprising:
Set up module, be configured to create the webpage label, and set up the mapping relations between webpage label and the webpage label place page process;
Search module, be configured to receive user's input to the first webpage label in sound control instruction the time, according to the webpage label of described foundation and the mapping relations between the page process, find the page process at the first webpage label place;
Control module is configured in the page process of described the first webpage label that finds the sound in the first webpage label be controlled.
2. device according to claim 1 is characterized in that, the described module of setting up also is configured to set up mapping relations between webpage tag identifier ID and the webpage label place page process ID.
3. device according to claim 2 is characterized in that, the described module of searching also is configured to:
Receive the Sound control instruction for this first webpage label of user's input in the first webpage label, wherein, this Sound control instruction comprises the first webpage tag identifier ID;
According to described the first webpage tag identifier ID, in the webpage label of described foundation and the mapping relations between the page process, search;
Obtain the ID of the corresponding page process of the first webpage label.
4. according to claim 2 or 3 described devices, it is characterized in that, described control module also is configured to:
According to searching the ID that obtains the corresponding page process of the first webpage label, the sound A PI function by operating system in this page process is controlled the sound in the first webpage label.
5. according to claim 1 to 4 each described devices, it is characterized in that, also comprise:
The window generation module, be configured to generate the floating frame that Sound control is carried out in prompting at tag head or the sonorific web page element place in the first webpage label of the first webpage label, wherein, be loaded with the entrance that receives the instruction that the sound in the first webpage label is controlled in this floating frame.
6. according to claim 1 to 5 each described devices, it is characterized in that, the sound in described the first webpage label comprises: the sound that the video plug-in unit in the webpage and/or audio plug produce.
7. according to claim 1 to 6 each described devices, it is characterized in that, described control module also is configured to carry out at least one in the following operation control:
Close the sound in the first webpage label;
Open the sound in the first webpage label;
Regulate the sound size in the first webpage label.
8. according to claim 1 to 7 each described devices, it is characterized in that, also comprise:
Reminding module, being configured to provides prompting to the webpage label that has voice data when there is voice data in a plurality of webpage labels simultaneously.
9. device according to claim 8 is characterized in that, described reminding module also is configured to utilize the highlighted demonstration of tag entry that the webpage label that has voice data is pointed out.
10. according to claim 1 to 9 each described devices, it is characterized in that, also comprise:
Display module is configured to when there is voice data in a plurality of webpage labels simultaneously, shows the information of the voice data in described a plurality of webpage labels in a floating frame; Perhaps, when there is a plurality of voice data in the first webpage label simultaneously, in a floating frame, show the information of the simultaneous a plurality of voice datas of the first webpage label.
11. device according to claim 10 is characterized in that, described display module also is configured to show following information one of at least at described floating frame:
The title of webpage label;
The type of voice data in the webpage;
The title of voice data in the webpage.
12. to 11 each described devices, it is characterized in that according to claim 5, described control module also is configured in described floating frame the sound in the first webpage label be carried out control operation.
13. according to the described device of claim 12, it is characterized in that, described display module also is configured in a plurality of webpage labels, and described current processed webpage label is put front demonstration.
14. device according to claim 11 is characterized in that, described control module also is configured to: the recommended links that the audio/video file that is not muted or has been muted is provided in described floating frame; Perhaps, provide for the relevant research tool link of described audio/video file.
15. to 14 each described devices, it is characterized in that according to claim 1, also comprise:
Preserve module, be configured to preserve the information that is carried out the audio files of control in the first webpage label; And, the information of the audio files of described preservation carried out as the part of browser client information that the browsers local side is preserved and/or network side synchronously.
16. to 15 each described devices, it is characterized in that according to claim 1, the described module of setting up also is configured to set up the mapping relations between described webpage label and the webpage label place page process when creating the page process at described webpage label place.
17. carry out the method for Sound control in the browser, comprising:
Create the webpage label, and set up the mapping relations between webpage label and the webpage label place page process;
Receive user's input to the first webpage label in sound control instruction the time, according to the webpage label of described foundation and the mapping relations between the page process, find the page process at the first webpage label place;
In the page process of described the first webpage label that finds, the sound in the first webpage label is controlled.
18. method according to claim 17 is characterized in that, the described mapping relations of setting up between webpage label and the webpage label place page process comprise:
Set up the mapping relations between webpage tag identifier ID and the webpage label place page process ID.
19. method according to claim 18 is characterized in that, the step of the instruction that sound in the first webpage label is controlled of described reception user input comprises:
Receive the Sound control instruction for this first webpage label of user's input in the first webpage label, wherein, this Sound control instruction comprises the first webpage tag identifier ID; Then
The webpage label of the described foundation of described foundation and the mapping relations between the page process, the step that finds the page process at the first webpage label place comprises:
According to described the first webpage tag identifier ID, in the webpage label of described foundation and the mapping relations between the page process, search;
Obtain the ID of the corresponding page process of the first webpage label.
20. method according to claim 19 is characterized in that, the step of in the page process of described the first webpage label that finds the sound in the first webpage label being controlled comprises:
According to searching the ID that obtains the corresponding page process of the first webpage label, the sound A PI function by operating system in this page process is controlled the sound in the first webpage label.
CN2012105112786A 2012-12-03 2012-12-03 Method and device for sound control in browser Pending CN103034695A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN2012105112786A CN103034695A (en) 2012-12-03 2012-12-03 Method and device for sound control in browser
CN201310594645.8A CN103646046A (en) 2012-12-03 2013-11-21 Method and device for sound control in browser and browser
PCT/CN2014/091469 WO2015074548A1 (en) 2012-12-03 2014-11-18 Method for sound control in browser, and browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012105112786A CN103034695A (en) 2012-12-03 2012-12-03 Method and device for sound control in browser

Publications (1)

Publication Number Publication Date
CN103034695A true CN103034695A (en) 2013-04-10

Family

ID=48021590

Family Applications (2)

Application Number Title Priority Date Filing Date
CN2012105112786A Pending CN103034695A (en) 2012-12-03 2012-12-03 Method and device for sound control in browser
CN201310594645.8A Pending CN103646046A (en) 2012-12-03 2013-11-21 Method and device for sound control in browser and browser

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201310594645.8A Pending CN103646046A (en) 2012-12-03 2013-11-21 Method and device for sound control in browser and browser

Country Status (2)

Country Link
CN (2) CN103034695A (en)
WO (1) WO2015074548A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103646046A (en) * 2012-12-03 2014-03-19 北京奇虎科技有限公司 Method and device for sound control in browser and browser
CN103995862A (en) * 2014-05-16 2014-08-20 百度在线网络技术(北京)有限公司 Method and device for displaying web page labels
CN104065896A (en) * 2014-06-25 2014-09-24 北京奇虎科技有限公司 Method for carrying out audio and video information display in browser and device thereof
CN104080016A (en) * 2014-06-25 2014-10-01 北京奇虎科技有限公司 Method and device for displaying audio/video information in browser
CN104142857A (en) * 2013-05-06 2014-11-12 腾讯科技(深圳)有限公司 Page silencing method and device
WO2014206319A1 (en) * 2013-06-28 2014-12-31 Tencent Technology (Shenzhen) Company Limited Systems and methods for webpage sound control
CN104660793A (en) * 2013-11-21 2015-05-27 腾讯科技(深圳)有限公司 Sound control method and system for intelligent terminal and intelligent terminal
CN111124229A (en) * 2019-12-24 2020-05-08 山东舜网传媒股份有限公司 Method, system and browser for realizing webpage animation control through voice interaction

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677286B (en) * 2014-11-19 2019-11-26 腾讯科技(武汉)有限公司 A kind of browser volume adjusting method and device
US10387104B2 (en) * 2015-06-07 2019-08-20 Apple Inc. Audio control for web browser
US10275116B2 (en) 2015-06-07 2019-04-30 Apple Inc. Browser with docked tabs
CN106020960B (en) * 2016-05-30 2020-02-18 北京奇艺世纪科技有限公司 Calling method and device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8850317B2 (en) * 2007-10-17 2014-09-30 Apple Inc. Web browser audio controls
CN100570610C (en) * 2007-12-07 2009-12-16 腾讯科技(深圳)有限公司 Multi-page browser webpage subwindow disposal route and multi-page browser
CN101504658B (en) * 2009-01-23 2011-09-28 北京搜狗科技发展有限公司 Method and system for implementing message interaction in multi-tag application program
CN101650725A (en) * 2009-04-30 2010-02-17 北京搜狗科技发展有限公司 Method and system for controlling sound in browser
CN101789001B (en) * 2009-04-30 2013-07-24 北京搜狗科技发展有限公司 Method and system for controlling sound in browser
CN101923554A (en) * 2009-06-11 2010-12-22 鸿富锦精密工业(深圳)有限公司 Webpage searching method
US8499253B2 (en) * 2009-10-13 2013-07-30 Google Inc. Individualized tab audio controls
CN103019710B (en) * 2012-12-03 2016-08-03 北京奇虎科技有限公司 Audio control method and device for browser
CN103034695A (en) * 2012-12-03 2013-04-10 北京奇虎科技有限公司 Method and device for sound control in browser

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103646046A (en) * 2012-12-03 2014-03-19 北京奇虎科技有限公司 Method and device for sound control in browser and browser
CN104142857A (en) * 2013-05-06 2014-11-12 腾讯科技(深圳)有限公司 Page silencing method and device
CN104142857B (en) * 2013-05-06 2018-02-23 腾讯科技(深圳)有限公司 A kind of Jing Yin method and device of page
WO2014206319A1 (en) * 2013-06-28 2014-12-31 Tencent Technology (Shenzhen) Company Limited Systems and methods for webpage sound control
CN104660793A (en) * 2013-11-21 2015-05-27 腾讯科技(深圳)有限公司 Sound control method and system for intelligent terminal and intelligent terminal
CN103995862A (en) * 2014-05-16 2014-08-20 百度在线网络技术(北京)有限公司 Method and device for displaying web page labels
CN103995862B (en) * 2014-05-16 2018-09-07 百度在线网络技术(北京)有限公司 The display methods and device of web page tag
CN104065896A (en) * 2014-06-25 2014-09-24 北京奇虎科技有限公司 Method for carrying out audio and video information display in browser and device thereof
CN104080016A (en) * 2014-06-25 2014-10-01 北京奇虎科技有限公司 Method and device for displaying audio/video information in browser
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
CN104065896B (en) * 2014-06-25 2018-10-09 北京奇虎科技有限公司 The method and apparatus that audio/video information is shown are carried out in a kind of browser
CN111124229A (en) * 2019-12-24 2020-05-08 山东舜网传媒股份有限公司 Method, system and browser for realizing webpage animation control through voice interaction

Also Published As

Publication number Publication date
CN103646046A (en) 2014-03-19
WO2015074548A1 (en) 2015-05-28

Similar Documents

Publication Publication Date Title
CN103034695A (en) Method and device for sound control in browser
US11669579B2 (en) Method and apparatus for providing search results
CN103019710B (en) Audio control method and device for browser
CN102112985B (en) To the process of the page
US10845950B2 (en) Web browser extension
US9489403B2 (en) Method and apparatus for providing visual search engine results
CN101789001B (en) Method and system for controlling sound in browser
WO2017040437A1 (en) Generation and application of universal hypothesis ranking model
US20200012675A1 (en) Method and apparatus for processing voice request
CN103548083B (en) Based on the multimedia playback system and method for the e-book of PDF document
CN108369806B (en) Configurable generic language understanding model
KR20140126702A (en) Extension activation for related documents
CN102622222A (en) Method and system for controlling sound in browser
CN107015979B (en) Data processing method and device and intelligent terminal
US20170115856A1 (en) Intelligent embedded experience gadget selection
CN113569007A (en) Method, device and storage medium for processing knowledge service resources
US11836197B2 (en) Search processing method and apparatus based on clipboard data
CN112162905A (en) Log processing method and device, electronic equipment and storage medium
CN107168627B (en) Text editing method and device for touch screen
KR102158544B1 (en) Method and system for supporting spell checking within input interface of mobile device
CN110262844B (en) Dialog box component calling method, dialog box component calling device, dialog box component server and storage medium
CN103761230A (en) Method and device for capturing media content information of webpage by search engine
CN111062201A (en) Method and apparatus for processing information
CN113179183B (en) Service switch state control device and method
CN111198830B (en) Identification method and device of mobile storage equipment, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130410