CN102710604B - Method and system for extracting sound - Google Patents
Method and system for extracting sound Download PDFInfo
- Publication number
- CN102710604B CN102710604B CN201210137529.9A CN201210137529A CN102710604B CN 102710604 B CN102710604 B CN 102710604B CN 201210137529 A CN201210137529 A CN 201210137529A CN 102710604 B CN102710604 B CN 102710604B
- Authority
- CN
- China
- Prior art keywords
- sound
- server
- sampling rate
- bandwidth
- controller
- 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.)
- Expired - Fee Related
Links
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 instant messaging field, particularly relate to the method and system that a kind of sound extracts.
Background technology
Along with the develop rapidly of information society, various instant communication mode such as qq, video conference obtain applying more and more widely.In the use procedure of webpage version video conference, often have the various sound of separate sources, if there is dissimilar sound in Web conference simultaneously, will the quality of Internet phone-calling be had a strong impact on.Therefore, how to catch and the sound filtering out needs has become the hot issue of industry research.In addition, in daily use, because how the restriction of network environment and dissimilar sound are distinguished, make sound screening process be subject to the impact of many factors, how to reach the optimum efficiency that user needs rationally and effectively, become the problem needing to solve.
Summary of the invention
The invention provides the method and system of a kind of sound extraction to solve the problem.
The invention provides a kind of method that sound extracts, comprise the following steps.The all types of sound that server receives client sends, are saved to the sound source table in described server by the acoustic information of described sound, and initiate inquiry request to controller.After described controller receives described inquiry request, equivalent coefficient corresponding to described sound is inquired about in the sound type grade table of comparisons of this locality, and after inquiring about bandwidth factor corresponding to described sound according to the actual bandwidth of the described sound of carrying in the sound bandwidth coefficient vs table of this locality, Query Result is returned to described server.The equivalent coefficient that the described sound that described server returns according to described controller is corresponding and bandwidth factor determine the sampling rate of all sound in described sound source table.The sound that sampling rate and user in described sound source table specify sampling rate identical is added into the target sound table in server by described server, and processes the sound in described target sound table.
The invention provides the system that a kind of sound extracts, comprise client, server and controller, server described in described client's side link, described server connects described controller.Described client, for sending dissimilar sound to described server.Described server, comprises storer, counter and processor, and described storer connects described counter, and described counter connects described processor.Described storer, after the acoustic information of described sound being saved to the sound source table in described server, initiates inquiry request to controller.Described counter, the equivalent coefficient that the described sound for returning according to described controller is corresponding and bandwidth factor determine the sampling rate of all sound in described sound source table.Described processor, the sound for specifying sampling rate identical sampling rate and user in described sound source table is added into the target sound table in server, and processes the sound in described target sound table.Described controller, for receive described server described inquiry request after, equivalent coefficient corresponding to described sound is inquired about in the sound type grade table of comparisons of this locality, and after inquiring about bandwidth factor corresponding to described sound according to the actual bandwidth of the described sound of carrying in the sound bandwidth coefficient vs table of this locality, Query Result is returned to described server.
Compared to prior art, according to the method and system that sound provided by the invention extracts, the sound that server receives client sends also, after the acoustic information of described sound being saved to local sound source table, initiates inquiry request to controller.Described controller inquires about equivalent coefficient corresponding to described sound type in the sound type grade table of comparisons of this locality, actual bandwidth according to the described sound of carrying inquires about bandwidth factor corresponding to described sound in the sound bandwidth coefficient vs table of this locality, and Query Result is returned to described server.Server is according to the sampling rate of all sound in equivalent coefficient corresponding to described sound and bandwidth factor determination sound source table, and target sound table sampling rate is added into the sound that user specifies sampling rate identical in server, finally the sound in target sound table is processed.So, the sound of only specifying user extracts and changes, and effectively removes other interference sound, improves the quality of Internet phone-calling.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Figure 1 shows that the process flow diagram of the method that the sound that preferred embodiment according to the present invention provides extracts;
Figure 2 shows that the schematic diagram of the system that the sound that preferred embodiment according to the present invention provides extracts.
Embodiment
Hereinafter also describe the present invention in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
Figure 1 shows that the process flow diagram of the method that the sound that preferred embodiment according to the present invention provides 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: all types of sound that server receives client sends, is saved to the sound source table in described server by the acoustic information of described sound, and initiates inquiry request to controller.
Specifically, after the new sound that server receives client sends, the acoustic information of this sound is kept in local sound source table, and initiates described sound type equivalent coefficient and bandwidth factor inquiry request to controller.Wherein, described acoustic information comprises the voice data AuData of the unique identification AuSrcID of sound, the form AuWFX of sound and reality.In addition, when the sound from client stops sending to server, the acoustic information of described sound is deleted by server in real time from the sound source table of this locality.
Step 102: after described controller receives described inquiry request, equivalent coefficient corresponding to described sound is inquired about in the sound type grade table of comparisons of this locality, and after inquiring about bandwidth factor corresponding to described sound according to the actual bandwidth of the described sound of carrying in the sound bandwidth coefficient vs table of this locality, Query Result is returned to described server.
Specifically, the sound type from client comprises ad sound, background sound, people's sound and other sound.Prestore in controller the sound type grade table of comparisons of each sound type and type classification corresponding relation, and sound level is higher, and corresponding sound level coefficient is larger.The sound type grade table of comparisons in controller is such as shown in table 1.
Sound type | Sound level | Sound type equivalent coefficient |
People's sound | Level Four | 9 |
Background sound | Three grades | 5 |
Ad sound | Secondary | 3 |
Other sound | One-level | 1 |
Table 1
In addition, also prestore in controller the carrying network bandwidth of sound and the sound bandwidth coefficient vs table of sound bandwidth coefficient, and the network bandwidth of carrying sound is wider, and the bandwidth factor that this sound is corresponding is larger.Sound bandwidth coefficient vs table in described controller is such as shown in table 2.
Sound title | The network bandwidth (bit/s) of carrying sound | Sound bandwidth coefficient |
Sound 1 | Be more than or equal to 200 | 0.8 |
Sound 2 | Be greater than 10 and be less than 200 | 0.5 |
Sound 3 | Be less than or equal to 10 | 0.2 |
Table 2
After controller receives the inquiry request of described server, respectively in the sound type grade table of comparisons of this locality (such as, table 1) inquire about equivalent coefficient corresponding to described sound, and in the sound bandwidth coefficient vs table of this locality (such as, table 2) inquiry sound bandwidth coefficient, and Query Result is returned to server.
Step 103: the equivalent coefficient that the described sound that described server returns according to described controller is corresponding and bandwidth factor determine the sampling rate of all sound in described sound source table.
Specifically, described server determines that the method for the sampling rate of sound described in described sound source table is, calculates the product of equivalent coefficient corresponding to each sound and bandwidth factor, determines the sampling rate of corresponding described sound according to described product scope.
Such as, associative list 1 and table 2, product and the sampling rate corresponding relation of the equivalent coefficient that setting sound is corresponding and bandwidth factor are: when above-mentioned product value is greater than 4, the sampling rate of corresponding sound is set to 48000Hz; When product value is more than or equal to 1.5 and product value is less than or equal to 4, the sampling rate of corresponding sound is set to 44100Hz; When product value is less than 1.5, the sampling rate of corresponding sound is set to 22050Hz.The product of the equivalent coefficient that tut is corresponding and bandwidth factor and the establishing method of sampling rate corresponding relation are only the present embodiment and make an explanation and set, and in other embodiment, can reset as required, be not construed as limiting this present invention.
Step 104: the sound that sampling rate and user in described sound source table specify sampling rate identical is added into the target sound table in server by described server, and processes the sound in described target sound table.
Specifically, when in the sound source table of server, a certain sampled voice rate equals to specify sampling rate, the acoustic information of this sound is added in target sound table.When the sound from client stops sending to server, the acoustic information of described sound is deleted by server in real time from the sound source table of this locality and in target sound table.
Example in integrating step 102 and 103, if there are three dissimilar sound in the sound source table of server, and the sampling rate of each sound level coefficient, bandwidth factor and correspondence is such as shown in table 3.
Table 3
According to table 3, if user specifies sampling rate to be 48000Hz, the sampling rate of sound 2 is identical with appointment sampling rate, then the acoustic information of sound 2 is added in target sound table by server from the sound source table of this locality.Next server handles accordingly to the sound 2 in target sound table.Because the sampling rate of sound 1 and sound 3 is unequal with appointment sampling rate, therefore server does not add the acoustic information of sound 1 and sound 3 in target sound table, does not process it yet.
Figure 2 shows that the schematic diagram of the system that the sound that preferred embodiment according to the present invention provides 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 described client 201 connects described server 202, and described server 202 connects described controller 203.Described client 201, for sending dissimilar sound to described server 202.Described server 202, comprises storer 204, counter 205 and processor 206, and described storer 204 connects described counter 205, and described counter 205 connects described processor 206.Described storer 204, after the acoustic information of described sound being saved to the sound source table in described server 202, initiates inquiry request to controller 203.Described counter 205, the equivalent coefficient that the described sound for returning according to described controller 203 is corresponding and bandwidth factor determine the sampling rate of all sound in described sound source table.Described processor 206, the sound for specifying sampling rate identical sampling rate and user in described sound source table is added into the target sound table in server, and processes the sound in described target sound table.Described controller 203, for receive described server 202 described inquiry request after, equivalent coefficient corresponding to described sound is inquired about in the sound type grade table of comparisons of this locality, and after inquiring about bandwidth factor corresponding to described sound according to the actual bandwidth of the described sound of carrying in the sound bandwidth coefficient vs table of this locality, Query Result is returned to described server 202.About the concrete operations flow process of said system with described in said method, therefore repeat no more in this.
In sum, the method and system that the sound that preferred embodiment according to the present invention provides extracts, the sound that server receives client sends also, after the acoustic information of described sound being saved to local sound source table, initiates inquiry request to controller.The described controller equivalent coefficient that sound is corresponding described in local search and bandwidth factor, and after Query Result is returned to described server, server calculates the product of equivalent coefficient corresponding to described sound and bandwidth factor, and according to the sampling rate of all sound in the scope determination sound source table of product value.Sampling rate is added into the target sound table in server with the sound that user specifies sampling rate identical, finally the sound in target sound table is processed.So, only specify the sound of sampling rate to extract to user, effectively remove other interference sound, improve the quality of Internet phone-calling.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (3)
1. a method for sound extraction, is characterized in that, comprise the following steps:
The all types of sound that server receives client sends, are saved to the sound source table in described server by the acoustic information of described sound, and initiate inquiry request to controller;
After described controller receives described inquiry request, equivalent coefficient corresponding to described sound is inquired about in the sound type grade table of comparisons of this locality, and after inquiring about bandwidth factor corresponding to described sound according to the actual bandwidth of the described sound of carrying in the sound bandwidth coefficient vs table of this locality, Query Result is returned to described server;
The equivalent coefficient that the described sound that described server returns according to described controller is corresponding and bandwidth factor determine the sampling rate of all sound in described sound source table;
The sound that sampling rate and user in described sound source table specify sampling rate identical is added into the target sound table in server by described server, and processes the sound in described target sound table;
Determine that the method for the sampling rate of sound described in described sound source table is, calculates the product of equivalent coefficient corresponding to each sound and bandwidth factor, determine the sampling rate of corresponding described sound according to described product scope.
2. method according to claim 1, is characterized in that, when described client stops sound sending, the acoustic information of described sound is deleted by described server from described sound source table or described target sound table.
3. method according to claim 1, is characterized in that, sound type comprises ad sound, background sound, people's sound and other sound.
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 CN102710604A (en) | 2012-10-03 |
CN102710604B true 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 |
---|---|---|---|---|
CN105721590A (en) * | 2016-02-26 | 2016-06-29 | 太仓埃特奥数据科技有限公司 | Sound processing method |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107343105B (en) * | 2017-07-21 | 2020-09-22 | 维沃移动通信有限公司 | Audio data processing method and mobile terminal |
Citations (1)
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5849411B2 (en) * | 2010-09-28 | 2016-01-27 | ヤマハ株式会社 | Maska sound output device |
-
2012
- 2012-05-07 CN CN201210137529.9A patent/CN102710604B/en not_active Expired - Fee Related
Patent Citations (1)
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 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105721590A (en) * | 2016-02-26 | 2016-06-29 | 太仓埃特奥数据科技有限公司 | Sound processing method |
Also Published As
Publication number | Publication date |
---|---|
CN102710604A (en) | 2012-10-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2011130348A3 (en) | Method and system for facial recognition applications including avatar support | |
WO2001061569A3 (en) | A system and method for automating the assembly, processing and delivery of documents | |
WO2006045060A3 (en) | System and method for resolving transactions | |
WO2006108158A3 (en) | Trading system with internal order matching | |
EP3162094A1 (en) | Matching users in a location-based service | |
CN104463718A (en) | Intellectual property service system based on mobile terminal | |
CN108234784A (en) | Intelligent cloud customer service system | |
CN104636473A (en) | Data processing method and system based on electronic payment behaviors | |
CN102710604B (en) | Method and system for extracting sound | |
CN102710542B (en) | Method and system for processing sounds | |
US20120303601A1 (en) | Mobile search method and system thereof | |
CN103617298A (en) | Data connecting method and data connector | |
CN105096136A (en) | Help-seeking service system and help-seeking request processing method | |
CA2990710A1 (en) | Method for establishing interaction relationship, and interaction device | |
WO2017128680A1 (en) | Transaction processing method and transaction system | |
CN104517192A (en) | Intellectual property valuation system | |
CN104951533B (en) | A kind of information business card querying method and system | |
CN103488712A (en) | Automatized testing method and automatized testing system | |
CN104616155A (en) | Steel trade industry online inquiring and ordering method and steel trade industry online inquiring and ordering system | |
CN103067362B (en) | Push method and system for resource information | |
CN103873564A (en) | Method for realizing SignalR duplex communication under balanced load condition of multiple servers | |
CN104796498B (en) | A kind of data processing method, apparatus and system | |
TW200723046A (en) | Method and apparatus for managing multi-stream input/output requests in a network file server | |
CN105653614A (en) | Methods and apparatuses for acquiring and providing contact information | |
CN101751460A (en) | Data binding method, device and system |
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 |