CN102710604A - Method and system for extracting sound - Google Patents
Method and system for extracting sound Download PDFInfo
- Publication number
- CN102710604A CN102710604A CN2012101375299A CN201210137529A CN102710604A CN 102710604 A CN102710604 A CN 102710604A CN 2012101375299 A CN2012101375299 A CN 2012101375299A CN 201210137529 A CN201210137529 A CN 201210137529A CN 102710604 A CN102710604 A CN 102710604A
- Authority
- CN
- China
- Prior art keywords
- sound
- server
- controller
- sample rate
- bandwidth
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The invention provides a method and a system for extracting sound. The method includes: various types of sound transmitted by a client are received by a server, sound information of the sound is saved to a sound source table in the server, and an inquiring request is transmitted to a controller; corresponding grade coefficient of the sound is inquired in a local comparison table of sound types and grades after the inquiring request is received by the controller, corresponding bandwidth coefficient of the sound is inquired in a local comparison table of sound bandwidth coefficient according to actual bandwidth bearing the sound, and an inquiring result is returned to the server. Sampling rate of all sounds in the sound source table is determined according to the corresponding grade coefficient and bandwidth coefficient of the sound. The sounds, which are identical in sampling rate with appointed sampling rate of a user, in the sound source table are added to a target sound table in the server, and the sounds in the target sound table are processed.
Description
Technical field
The invention belongs to the instant messaging field, relate in particular to the method and system that a kind of sound extracts.
Background technology
Along with the develop rapidly of information-intensive society, various instant communication modes such as qq, video conference obtain application more and more widely.In the use of webpage version video conference, often have the various sound of separate sources, if there is dissimilar sound in the Web conference simultaneously, with the quality that has a strong impact on Internet phone-calling.Therefore, how to catch and filter out the hot issue that the sound that needs has become industry research.In addition, in daily use,, make the sound screening process receive influence of various factors, how to reach the optimum efficiency that the user needs rationally and effectively, become the problem that needs solution because how the restriction and the dissimilar sound of network environment are distinguished.
Summary of the invention
The present invention provides a kind of method and system of sound extraction to address the above problem.
The method that the present invention provides a kind of sound to extract may further comprise the steps.Server receives all types of sound that client is sent, and the acoustic information of said sound is saved to the sound source table in the said server, and initiates query requests to controller.After said controller receives said query requests; The said sound corresponding grades coefficient of inquiry in the sound type grade table of comparisons of this locality; And after in the sound bandwidth coefficient table of comparisons of this locality, inquire about the bandwidth factor of said sound correspondence according to the actual bandwidth that carries said sound, Query Result is returned to said server.Said sound corresponding grades coefficient that said server returns according to said controller and bandwidth factor are confirmed the sample rate of all sound in the table of said sound source.Said server specifies the identical sound of sample rate to be added into the target sound table in the server with the user sample rate in the table of said sound source, and the sound in the said target sound table is handled.
The system that the present invention provides a kind of sound to extract comprises client, server and controller, and said client connects said server, and said server connects said controller.Said client is used for sending dissimilar sound to said server.Said server comprises memory, calculator and processor, and said memory connects said calculator, and said calculator connects said processor.Said memory after being used for acoustic information with said sound and being saved to the sound source table of said server, is initiated query requests to controller.Said calculator, said sound corresponding grades coefficient that is used for returning according to said controller and bandwidth factor are confirmed the sample rate of said sound source all sound of table.Said processor is used for specifying the identical sound of sample rate to be added into the target sound table in the server with the user said sound source table sample rate, and the sound in the said target sound table is handled.Said controller; After being used to receive the said query requests of said server; The said sound corresponding grades coefficient of inquiry in the sound type grade table of comparisons of this locality; And after in the sound bandwidth coefficient table of comparisons of this locality, inquire about the bandwidth factor of said sound correspondence according to the actual bandwidth that carries said sound, Query Result is returned to said server.
Compared to prior art, according to the method and system that sound provided by the invention extracts, server is initiated query requests to controller after receiving sound that client sends and the acoustic information of said sound being saved to local sound source table.Said controller is inquired about said sound type corresponding grades coefficient in the sound type grade table of comparisons of this locality; In the sound bandwidth coefficient table of comparisons of this locality, inquire about the corresponding bandwidth factor of said sound according to the actual bandwidth that carries said sound, and Query Result is returned to said server.Server is confirmed the sample rate of all sound in the table of sound source according to said sound corresponding grades coefficient and bandwidth factor; And specify the identical sound of sample rate to be added into the target sound table in the server with the user sample rate, at last the sound in the target sound table is handled.So, only user's sound specified is extracted and changed, effectively remove other interference sound, improved the quality of Internet phone-calling.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
The flow chart of the method that the sound that provides for preferred embodiment according to the present invention shown in Figure 1 extracts;
The sketch map of the system that the sound that provides for preferred embodiment according to the present invention shown in Figure 2 extracts.
Embodiment
Hereinafter will and combine embodiment to specify the present invention with reference to accompanying drawing.Need to prove that under the situation of not conflicting, embodiment and the characteristic among the embodiment among the application can make up each other.
The flow chart of the method that the sound that provides for preferred embodiment according to the present invention shown in Figure 1 extracts.As shown in Figure 1, the method that the sound that preferred embodiment of the present invention provides extracts comprises step 101 ~ 103.
Step 101: server receives all types of sound that client is sent, and the acoustic information of said sound is saved to the sound source table in the said server, and initiates query requests to controller.
Particularly, after server receives the new sound that client sends, the acoustic information of this sound is kept in the local sound source table, and initiates said sound type equivalent coefficient and bandwidth factor query requests to controller.Wherein, said acoustic information comprises the unique identification AuSrcID of sound, the form AuWFX and the actual voice data AuData of sound.In addition, when the sound from client stops when server sends, server is in real time with acoustic information deletion from the sound source table of this locality of said sound.
Step 102: after said controller receives said query requests; The said sound corresponding grades coefficient of inquiry in the sound type grade table of comparisons of this locality; And after in the sound bandwidth coefficient table of comparisons of this locality, inquire about the bandwidth factor of said sound correspondence according to the actual bandwidth that carries said sound, Query Result is returned to said server.
Particularly, the sound type from client comprises advertisement sound, background sound, people's sound and other sound.Prestore in the controller sound type grade table of comparisons of each sound type and type grade corresponding relation, sound level is high more, and corresponding sound level coefficient is big more.Sound type grade table of comparisons example in the controller is as shown in table 1.
Sound type | Sound level | The sound type equivalent coefficient |
People's sound | Level Four | 9 |
Background sound | Three grades | 5 |
Advertisement sound | Secondary | 3 |
Other sound | One-level | 1 |
Table 1
In addition, also prestore in the controller network bandwidth of carrying sound and the sound bandwidth coefficient table of comparisons of sound bandwidth coefficient, the network bandwidth that carries sound is wide more, and the bandwidth factor that this sound is corresponding is big more.Sound bandwidth coefficient table of comparisons example in the said controller is as shown in table 2.
The sound title | Carry the network bandwidth (bit/s) of sound | The sound bandwidth coefficient |
Sound 1 | More than or equal to 200 | 0.8 |
Sound 2 | Greater than 10 less than 200 | 0.5 |
Sound 3 | Smaller or equal to 10 | 0.2 |
Table 2
After controller receives the query requests of said server; Respectively in the sound type grade table of comparisons of this locality (for example; Table 1) the said sound corresponding grades coefficient of inquiry; And (for example, table 2) inquired about the sound bandwidth coefficient in the sound bandwidth coefficient table of comparisons of this locality, and Query Result is returned to server.
Step 103: said sound corresponding grades coefficient that said server returns according to said controller and bandwidth factor are confirmed the sample rate of all sound in the table of said sound source.
Particularly, said server confirms that the method for the sample rate of sound described in the table of said sound source does, calculates the product of each sound corresponding grades coefficient and bandwidth factor, confirms the sample rate of corresponding said sound according to said product scope.
For example, associative list 1 and table 2, product and the sample rate corresponding relation of setting sound corresponding grades coefficient and bandwidth factor are: when above-mentioned product value greater than 4 the time, the sample rate of corresponding sound is set to 48000Hz; When product value more than or equal to 1.5 and product value smaller or equal to 4 the time, the sample rate of corresponding sound is set to 44100Hz; When product value less than 1.5 the time, the sample rate of corresponding sound is set to 22050Hz.The establishing method of the product of tut corresponding grades coefficient and bandwidth factor and sample rate corresponding relation is merely present embodiment and makes an explanation and set, and in other embodiment, can reset as required, and this present invention is not limited.
Step 104: said server specifies the identical sound of sample rate to be added into the target sound table in the server with the user sample rate in the table of said sound source, and the sound in the said target sound table is handled.
Particularly, when a certain sampled voice rate equals to specify sample rate in the table of the sound source of server, the acoustic information of this sound is added in the target sound table.When the sound from client stops when server sends, server in real time with the acoustic information of said sound from the sound source table of this locality and delete in the target sound table.
Example in the integrating step 102 and 103, if in the table of the sound source of server three dissimilar sound are arranged, and the sample rate example of each sound level coefficient, bandwidth factor and correspondence is as shown in table 3.
Table 3
According to table 3, be 48000Hz if the user specifies sample rate, the sample rate of sound 2 is identical with the appointment sample rate, and then server is added into the acoustic information of sound 2 in the target sound table from the sound source table of this locality.Next server handles accordingly to the sound in the target sound table 2.Because the sample rate of sound 1 and sound 3 is unequal with the appointment sample rate,, it is not handled so server does not add the acoustic information of sound 1 and sound 3 in the target sound table yet.
The sketch map of the system that the sound that provides for preferred embodiment according to the present invention shown in Figure 2 extracts.As shown in Figure 2, the system that the sound that preferred embodiment of the present invention provides extracts comprises client 201, server 202 and controller 203, and said client 201 connects said server 202, and said server 202 connects said controller 203.Said client 201 is used for sending dissimilar sound to said server 202.Said server 202 comprises memory 204, calculator 205 and processor 206, and said memory 204 connects said calculator 205, and said calculator 205 connects said processor 206.Said memory 204 after being used for acoustic information with said sound and being saved to the sound source table of said server 202, is initiated query requests to controller 203.Said calculator 205, said sound corresponding grades coefficient that is used for returning according to said controller 203 and bandwidth factor are confirmed the sample rate of said sound source all sound of table.Said processor 206 is used for specifying the identical sound of sample rate to be added into the target sound table in the server with the user said sound source table sample rate, and the sound in the said target sound table is handled.Said controller 203; After being used to receive the said query requests of said server 202; The said sound corresponding grades coefficient of inquiry in the sound type grade table of comparisons of this locality; And after in the sound bandwidth coefficient table of comparisons of this locality, inquire about the bandwidth factor of said sound correspondence according to the actual bandwidth that carries said sound, Query Result is returned to said server 202.Concrete operations flow process about said system is said with above-mentioned method, so repeat no more in this.
In sum, the method and system that sound that preferred embodiment according to the present invention provides extracts, server is initiated query requests to controller after receiving sound that client sends and the acoustic information of said sound being saved to local sound source table.Said controller is at local search said sound corresponding grades coefficient and bandwidth factor; And after Query Result returned to said server; Server calculates the product of said sound corresponding grades coefficient and bandwidth factor, and confirms the sample rate of all sound in the table of sound source according to the scope of product value.Specify the identical sound of sample rate to be added into the target sound table in the server with the user sample rate, at last the sound in the target sound table is handled.So, only specify the sound of sample rate to extract, effectively remove other interference sound, improved the quality of Internet phone-calling the user.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (5)
1. the method that sound extracts is characterized in that, may further comprise the steps:
Server receives all types of sound that client is sent, and the acoustic information of said sound is saved to the sound source table in the said server, and initiates query requests to controller;
After said controller receives said query requests; The said sound corresponding grades coefficient of inquiry in the sound type grade table of comparisons of this locality; And after in the sound bandwidth coefficient table of comparisons of this locality, inquire about the bandwidth factor of said sound correspondence according to the actual bandwidth that carries said sound, Query Result is returned to said server;
Said sound corresponding grades coefficient that said server returns according to said controller and bandwidth factor are confirmed the sample rate of all sound in the table of said sound source;
Said server specifies the identical sound of sample rate to be added into the target sound table in the server with the user sample rate in the table of said sound source, and the sound in the said target sound table is handled.
2. method according to claim 1; It is characterized in that; The method of confirming the sample rate of sound described in the said sound source table does, calculates the product of each sound corresponding grades coefficient and bandwidth factor, confirms the sample rate of corresponding said sound according to said product scope.
3. method according to claim 1 is characterized in that, when said client stopped the sound transmission, said server was deleted the acoustic information of said sound from said sound source table or said target sound table.
4. method according to claim 1 is characterized in that, sound type comprises advertisement sound, background sound, people's sound and other sound.
5. the system that sound extracts is characterized in that comprise client, server and controller, said client connects said server, and said server connects said controller,
Said client is used for sending dissimilar sound to said server;
Said server comprises memory, calculator and processor, and said memory connects said calculator, and said calculator connects said processor,
Said memory after being used for acoustic information with said sound and being saved to the sound source table of said server, is initiated query requests to controller;
Said calculator, said sound corresponding grades coefficient that is used for returning according to said controller and bandwidth factor are confirmed the sample rate of said sound source all sound of table;
Said processor is used for specifying the identical sound of sample rate to be added into the target sound table in the server with the user said sound source table sample rate, and the sound in the said target sound table is handled;
Said controller; After being used to receive the said query requests of said server; The said sound corresponding grades coefficient of inquiry in the sound type grade table of comparisons of this locality; And after in the sound bandwidth coefficient table of comparisons of this locality, inquire about the bandwidth factor of said sound correspondence according to the actual bandwidth that carries said sound, Query Result is returned to said server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210137529.9A CN102710604B (en) | 2012-05-07 | 2012-05-07 | Method and system for extracting sound |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210137529.9A CN102710604B (en) | 2012-05-07 | 2012-05-07 | Method and system for extracting sound |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102710604A true CN102710604A (en) | 2012-10-03 |
CN102710604B CN102710604B (en) | 2015-04-01 |
Family
ID=46903160
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210137529.9A Expired - Fee Related CN102710604B (en) | 2012-05-07 | 2012-05-07 | Method and system for extracting sound |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102710604B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107343105A (en) * | 2017-07-21 | 2017-11-10 | 维沃移动通信有限公司 | The processing method and mobile terminal of a kind of voice data |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105721590A (en) * | 2016-02-26 | 2016-06-29 | 太仓埃特奥数据科技有限公司 | Sound processing method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101740035A (en) * | 2008-11-04 | 2010-06-16 | 索尼株式会社 | Call voice processing apparatus, call voice processing method and program |
WO2012043597A1 (en) * | 2010-09-28 | 2012-04-05 | ヤマハ株式会社 | Masking sound outputting device, and masking sound outputting means |
-
2012
- 2012-05-07 CN CN201210137529.9A patent/CN102710604B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101740035A (en) * | 2008-11-04 | 2010-06-16 | 索尼株式会社 | Call voice processing apparatus, call voice processing method and program |
WO2012043597A1 (en) * | 2010-09-28 | 2012-04-05 | ヤマハ株式会社 | Masking sound outputting device, and masking sound outputting means |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107343105A (en) * | 2017-07-21 | 2017-11-10 | 维沃移动通信有限公司 | The processing method and mobile terminal of a kind of voice data |
Also Published As
Publication number | Publication date |
---|---|
CN102710604B (en) | 2015-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101179472B (en) | Network resource searching method and searching system | |
CN103297270A (en) | Application type recognition method and network equipment | |
CN103606085A (en) | Method of issuing after-sale service data and server | |
CN105243169B (en) | A kind of data query method and system | |
TW200943098A (en) | Enabling searching on abbreviated search terms via messaging | |
WO2009016544A3 (en) | Providing information about video content | |
CN102682134A (en) | Intelligent bookshelf based on radio frequency identification technology and working method thereof | |
CN104657430A (en) | Method and system for data acquisition | |
CN103793285A (en) | Method and platform server for processing online anomalies | |
CN111858760B (en) | Data processing method and device for heterogeneous database | |
CN102833262A (en) | Whois information-based phishing website gathering, identification method and system | |
CN106572048A (en) | Identification method and system of user information in social network | |
CN102789508A (en) | Distributed practical condition search engine and chat system on basis of geographical position | |
CN104767839A (en) | IP positioning method and device | |
CN108241647A (en) | Data processing and the method and apparatus of inquiry | |
CN101068190B (en) | Object sharing method, object management server and network system | |
CN102710604A (en) | Method and system for extracting sound | |
EP1293915A3 (en) | Search system and method | |
US20120303601A1 (en) | Mobile search method and system thereof | |
CN103036726A (en) | Method and device for network user management | |
CN103365892A (en) | Method and device for processing multiple contact objects | |
CN102710542B (en) | Method and system for processing sounds | |
CN104065613B (en) | Synchronous method, system and the device of a kind of off-line operation data of application | |
CN112801703A (en) | Method, device and equipment for determining advertisement conversion user | |
CN103188243A (en) | Method providing services for users in Internet and system providing services for users in Internet |
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 | ||
C56 | Change in the name or address of the patentee | ||
CP01 | Change in the name or title of a patent holder |
Address after: Suzhou City, Jiangsu province 215121 Fengting Avenue Suzhou Industrial Park No. 666 Weiting Intelligent Industrial Park Building 8 Patentee after: CODYY EDUCATION TECHNOLOGY Co.,Ltd. Address before: Suzhou City, Jiangsu province 215121 Fengting Avenue Suzhou Industrial Park No. 666 Weiting Intelligent Industrial Park Building 8 Patentee before: SUZHOU CODYY NETWORK SCIENCE & TECHNOLOGY Co.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150401 |
|
CF01 | Termination of patent right due to non-payment of annual fee |