CN102306499A - Method for realization of audio recording - Google Patents
Method for realization of audio recording Download PDFInfo
- Publication number
- CN102306499A CN102306499A CN2011100590749A CN201110059074A CN102306499A CN 102306499 A CN102306499 A CN 102306499A CN 2011100590749 A CN2011100590749 A CN 2011100590749A CN 201110059074 A CN201110059074 A CN 201110059074A CN 102306499 A CN102306499 A CN 102306499A
- Authority
- CN
- China
- Prior art keywords
- streaming media
- webpage
- media server
- unit
- user
- 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
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The invention belongs to the technical field of networks, and in particular relates to a method for realization of audio recording. The method comprises the following steps of: accessing a webpage by a user; automatically establishing connection with a streaming media server when webpage loading is completed; opening a local microphone of the user on the webpage to determine an audio recording source when the user sends a recording operation instruction out; sending sound of the local microphone of the user to the streaming media server in a stream mode by the webpage; and recording audio stream sent by the webpage and saving in the streaming media server by the streaming media server. By the method, audio can be directly recorded and saved in the server on the webpage, and the method has high generality, practicality and convenience.
Description
Technical field
The invention belongs to networking technology area, relate in particular to a kind of method that realizes audio recording.
Background technology
In daily life, people all like with diary, mode such as take pictures write down oneself, relatives or friend's life drop.Though it is fine that above-mentioned document mode has brought for people's life,, also there is self defective.Because people not only rest on static aspect to the pursuit of life document, the demand of dynamic aspect (like voice etc.) has been arranged also.
Current, people can pass through approach recorded speech such as DV, mobile phone, software installation, but price is comparatively high, and need a large amount of hardware supported.Development along with Internet technology; Audio frequency apparatuses such as microphone can be installed on the computer; To remedy the unicity that people exchange; Meanwhile; Also there is inconvenience, installs and some professional softwares are set, record and in time to share after accomplishing etc. with other people like need; Do not possess practicality, cheapness property, convenience, can't fully satisfy different levels user's demand; In internet, applications, voice mail, song are recorded etc. and all need be applied to the audio recording technology.
Along with the network teleconference of webpage version and the long-distance educational system of webpage version are progressively popularized, a large amount of important meetings need real-time audio to record and back up.Especially in the industry of commercial field and high confidentiality, it is particularly important that the audio recording function of webpage version seems, also do not have concrete implementation at present.
Summary of the invention
The invention provides a kind of method that realizes audio recording, realized simultaneously group's audio frequency and many people audio frequency are carried out the real-time recording backup, solved conventional audio and recorded problems such as the existing program of mode is overelaborate.
For achieving the above object, technical scheme of the present invention is:
A kind of method that realizes audio recording may further comprise the steps:
1) user capture webpage, when webpage loaded completion, automatic foundation was connected with streaming media server;
2) when the user sends the operational order of recording, the microphone of opening subscriber's local at webpage is to confirm the audio recording source;
3) webpage sends to streaming media server to the sound of subscriber's local microphone through the form that flows;
4) streaming media server will be recorded the audio stream that webpage sends and be kept in the streaming media server;
5) stop recording operation when instruction when the user sends, webpage is closed the subscriber's local microphone, stops audio recording.
In the technique scheme, wherein step 1) comprises following process:
1a) user capture webpage, and load the Flash plug-in unit, the interface that calls the Flash plug-in unit through JavaScript is set up persistent network with streaming media server and is connected;
The connection identifier that imports into when 1b) calling the Flash card i/f through JavaScript is created new FLV stream medium data and is preserved file, and the file connection identifier that is imported into by name adds current timestamp, does not bear the same name with other file of having recorded guaranteeing.
In the technique scheme, step 2 wherein) comprise following process:
The user begins to record button through what click the page; Begin to record interface through what JavaScript called the Flash plug-in unit; This moment, the Flash plug-in unit can load the subscriber's local microphone on webpage; The user need select to agree that the Flash plug-in unit calls local microphone, if microphone loads unsuccessful or the user refuses the Flash plug-in unit and calls local microphone then do not record.
In the technique scheme, wherein step 3) comprises following process:
When microphone loaded successfully, the Flash plug-in unit can get access to the stream of microphone, and sent to streaming media server.
In the technique scheme, wherein step 4) comprises following process:
When streaming media server receives the audio stream that the Flash plug-in unit sends over, can call the interface of streaming media server automatically, the audio stream that the Flash plug-in unit sends over is preserved hereof.
In the technique scheme, wherein step 5) comprises following process:
5a), the user stops recording operation when instruction when sending; Webpage calls the Flash card i/f through JavaScript; The Flash plug-in unit is closed permanent connection of setting up with streaming media server through processing, and streaming media service this moment will stop audio frequency being recorded and preserve the stream of having recorded;
5b) when the Flash plug-in unit close with being connected of Streaming Media after, the Flash plug-in unit can call the Flash interface and close the microphone of having opened, the user can play through the FLV DST PLAYER and be kept at the file of recording success on the streaming media server this moment.
The present invention compared with prior art has following advantage:
1) user does not need too many operation and setting, gets final product through operation easily.
2) directly can on webpage, carry out on-line operation, any software need be installed.
3) do not take user's space, the file of recording directly is kept on the streaming media server.
4) file of having recorded can directly be shared with other user and check through the link that streaming media server provides, convenient, fast.
5) file of recording is a stream media format, and file is little and be of high quality, and can play in the webpage player, also can on the common table top player, play, and is supportive strong.
6) can arbitrarily begin to record, stop to record, and begin to record and create new files in stream media at every turn, make things convenient for user oneself operation.
The invention solves conventional audio and record problems such as the existing program of mode is overelaborate; This technology can be simultaneously be carried out the real-time recording backup to group's audio frequency and many people audio frequency, for the long-distance educational system of the webpage version network teleconference and webpage version universal very significant meaning is arranged.Simultaneously, also, the technician records group's voice communication and the solution of many people voice communication in the instant messaging for providing a kind of quick grasp.This technology realizes that principle is simple, can embed easily in the various internet, applications.
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:
Fig. 1 is the detail flowchart of the embodiment of the invention 1;
Fig. 2 is the embodiment of the invention 2 detail flowcharts.
Embodiment
Below will with reference to the accompanying drawings and combine embodiment to describe the present invention in detail.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 present invention includes following steps:
1) user capture webpage; And loading Flash plug-in unit; The interface that calls the Flash plug-in unit through JavaScript is set up persistent network with streaming media server and is connected; The connection identifier that imports into when calling the Flash card i/f through JavaScript; Create new FLV stream medium data and preserve file; The file connection identifier that is imported into by name adds current timestamp, does not bear the same name with other file of having recorded guaranteeing;
2) user begins to record button through what click the page; Begin to record interface through what JavaScript called the Flash plug-in unit; This moment, the Flash plug-in unit can load the microphone of subscriber's local on webpage; The user need select to agree that the Flash plug-in unit calls local microphone, if microphone loads unsuccessful or the user refuses the Flash plug-in unit and calls local microphone then do not record;
3) when microphone loads successfully, the Flash plug-in unit can get access to the stream of microphone, and sends to streaming media server;
4) when streaming media server receives the audio stream that the Flash plug-in unit sends over, can call the interface of streaming media server automatically, the audio stream that the Flash plug-in unit sends over is preserved hereof;
5) when sending, the user stops recording operation when instruction; Webpage calls the Flash card i/f through JavaScript; The Flash plug-in unit is closed permanent connection of setting up with streaming media server through processing; Streaming media service this moment will stop audio frequency being recorded and preserve the stream of having recorded; When the Flash plug-in unit close with being connected of Streaming Media after; The Flash plug-in unit can call the Flash interface and close the microphone of having opened, and the user can play through the FLV DST PLAYER and be kept at the file of recording success on the streaming media server this moment.
Streaming Media described in the embodiment step 1) is meant: adopt the media formats of the mode of stream transmission in the Internet and Intranet broadcast.
Embodiment step 2) FLV described in is meant: FLV is the abbreviation of FLASH VIDEO, is a kind of stream medium audio and video form.
Following further explain method of the present invention:
Referring to the accompanying drawing in the Figure of description 1, accompanying drawing 2; The user capture webpage; And loading Flash plug-in unit; The interface that calls the Flash plug-in unit through JavaScript is set up persistent network with streaming media server and is connected; The connection identifier that imports into when calling the Flash card i/f through JavaScript; Create new FLV stream medium data and preserve file, the file connection identifier that is imported into by name adds current timestamp, does not bear the same name with other file of having recorded guaranteeing; The user begins to record button through what click the page; Begin to record interface through what JavaScript called the Flash plug-in unit; This moment, the Flash plug-in unit can load the microphone of subscriber's local on webpage; The user need select to agree that the Flash plug-in unit calls local microphone, if microphone loads unsuccessful or the user refuses the Flash plug-in unit and calls local microphone then do not record; When microphone loaded successfully, the Flash plug-in unit can get access to the stream of microphone, and sent to streaming media server; When streaming media server receives the audio stream that the Flash plug-in unit sends over, can call the interface of streaming media server automatically, the audio stream that the Flash plug-in unit sends over is preserved hereof; When sending, the user stops recording operation when instruction; Webpage calls the Flash card i/f through JavaScript; The Flash plug-in unit is closed permanent connection of setting up with streaming media server through processing; Streaming media service this moment will stop audio frequency being recorded and preserve the stream of having recorded; When the Flash plug-in unit close with being connected of Streaming Media after; The Flash plug-in unit can call the Flash interface and close the microphone of having opened, and the user can play through the FLV DST PLAYER and be kept at the file of recording success on the streaming media server this moment.
Fig. 1 is the detail flowchart of the embodiment of the invention 1, and detailed step is following:
Step 101: beginning;
Step 102: user capture webpage;
Step 103: connect with streaming media server;
Step 104: initiate record command to streaming media server;
Step 105: open the subscriber's local microphone;
Step 106: send audio frequency and flow to streaming media server;
Step 107: streaming media server is preserved audio stream;
Step 108: finish.
Fig. 2 is the embodiment of the invention 2 detail flowcharts, and detailed step is following:
Step 201: beginning;
Step 202: user capture webpage;
Step 203: load the Flash plug-in unit, forever be connected with streaming media server foundation;
Step 204:JavaScript calls the Flash card i/f, imports sign into, sets up new files in stream media;
Step 205: the user clicks and begins to record button, calls the Flash card i/f, loads the subscriber's local microphone;
Step 206: microphone detects, and does not pass through if detect, and then execution in step 207; Otherwise, execution in step 208;
Step 207: detect and do not pass through, do not record;
Step 208: when microphone loaded successfully, the Flash plug-in unit sent microphone audio and flows to streaming media server;
Step 209: streaming media server is preserved audio frequency and is flow to streaming media server;
Step 210: the user clicks and stops to record button;
Step 211: call the Flash interface through JavaScript, the Flash plug-in unit is closed the permanent transmission that is connected and stops audio stream of setting up with streaming media server;
Step 212:JavaScript calls Flash card i/f mute microphone (MIC);
Step 213: finish.
Obviously; Those skilled in the art should be understood that; Each step of above-mentioned the present invention can realize with the general calculation device; They can concentrate on the single calculation element; Perhaps be distributed on the network that a plurality of calculation element forms; Alternatively; They can be realized with the executable program code of calculation element; Thereby; They can be stored in the memory storage and carry out, and in some cases, can carry out step shown or that describe with the order that is different from here by calculation element; Perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, 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 (9)
1. a method that realizes audio recording is characterized in that, may further comprise the steps:
1) user capture webpage, when webpage loaded completion, automatic foundation was connected with streaming media server;
2) when the user sends the operational order of recording, the microphone of opening subscriber's local at webpage is to confirm the audio recording source;
3) webpage sends to streaming media server to the microphone voice of subscriber's local through the form that flows;
4) streaming media server will be recorded the audio stream that webpage sends and be kept in the streaming media server;
5) stop recording operation when instruction when the user sends, webpage is closed the subscriber's local microphone, stops audio recording.
2. the method for claim 1 is characterized in that, wherein step 1) comprises following process:
1a) user capture webpage, and load the Flash plug-in unit, the interface that calls the Flash plug-in unit through JavaScript is set up persistent network with streaming media server and is connected;
The connection identifier that imports into when 1b) calling the Flash card i/f through JavaScript; Create new stream medium audio and video form FLV stream medium data and preserve file; The file connection identifier that is imported into by name adds current timestamp, does not bear the same name with other file of having recorded guaranteeing.
3. the method for claim 1 is characterized in that, wherein step 2) comprise following process:
The user begins to record button through what click the page; Begin to record interface through what JavaScript called the Flash plug-in unit; This moment, the Flash plug-in unit can load the microphone of subscriber's local on webpage; The user need select to agree that the Flash plug-in unit calls local microphone, if microphone loads unsuccessful or the user refuses the Flash plug-in unit and calls local microphone then do not record.
4. the method for claim 1 is characterized in that, wherein step 3) comprises following process:
When microphone loaded successfully, the Flash plug-in unit can get access to the stream of microphone, and sent to streaming media server.
5. the method for claim 1; It is characterized in that; Wherein step 4) comprises following process: when streaming media server receives the audio stream that the Flash plug-in unit sends over, can call the interface of streaming media server automatically, the audio stream that the Flash plug-in unit sends over is preserved hereof.
6. the method for claim 1 is characterized in that, wherein step 5) comprises following process:
5a), the user stops recording operation when instruction when sending; Webpage calls the Flash card i/f through JavaScript; The Flash plug-in unit is closed permanent connection of setting up with streaming media server through processing, and streaming media service this moment will stop audio frequency being recorded and preserve the stream of having recorded;
5b) when the Flash plug-in unit close with being connected of Streaming Media after, the Flash plug-in unit can call the Flash interface and close the microphone of having opened, the user play through the FLV DST PLAYER and was kept at the file of recording success on the streaming media server this moment.
7. method that realizes audio recording, it is characterized in that: the user sends to streaming media server through webpage with audio-frequency information; Said streaming media server is preserved and is play according to instruction.
8. method according to claim 7 is characterized in that: said user capture webpage, and automatic foundation is connected with said streaming media server; When said user sent the operational order of recording, the microphone of opening said subscriber's local at webpage was to confirm the audio recording source; Webpage sends to said streaming media server to the microphone voice of said subscriber's local through the form that flows; Said streaming media server will be recorded the audio stream that said webpage sends and be kept in the said streaming media server; Stop recording operation when instruction when said user sends, said webpage is closed said subscriber's local microphone, stops audio recording.
9. method according to claim 7; It is characterized in that: said user capture webpage; Automatically set up and be: the said webpage of said user capture with the process that is connected of said streaming media server; And loading the Flash plug-in unit, the interface that calls the Flash plug-in unit through JavaScript is set up persistent network with said streaming media server and is connected; The connection identifier that imports into when calling the Flash card i/f through JavaScript is created new stream medium audio and video form FLV stream medium data and is preserved file, and the file connection identifier that is imported into by name adds current timestamp.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100590749A CN102306499A (en) | 2010-09-17 | 2011-03-14 | Method for realization of audio recording |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010291193.2 | 2010-09-17 | ||
CN201010291193 | 2010-09-17 | ||
CN2011100590749A CN102306499A (en) | 2010-09-17 | 2011-03-14 | Method for realization of audio recording |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102306499A true CN102306499A (en) | 2012-01-04 |
Family
ID=45380345
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011100590749A Pending CN102306499A (en) | 2010-09-17 | 2011-03-14 | Method for realization of audio recording |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102306499A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107342930A (en) * | 2016-12-19 | 2017-11-10 | 厦门二五八网络科技集团股份有限公司 | A kind of method and system that speech communication is realized between webpage and client |
CN107547908A (en) * | 2016-06-28 | 2018-01-05 | 真相网络科技(北京)有限公司 | A kind of intelligent Web audio frequency and video automatic recording evidence collecting method and system |
CN110277110A (en) * | 2019-06-27 | 2019-09-24 | 深圳前海微众银行股份有限公司 | A kind of recording of Webpage, playback method, device and terminal |
CN110955402A (en) * | 2019-10-12 | 2020-04-03 | 平安银行股份有限公司 | Recording method, device and equipment based on webpage and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001065862A2 (en) * | 2000-03-02 | 2001-09-07 | Tivo, Inc. | System and method for internet access to personal television service |
CN101115076A (en) * | 2007-09-10 | 2008-01-30 | 蒋晓海 | Method for implementing information issue and sharing of mobile browser |
CN101272469A (en) * | 2007-03-23 | 2008-09-24 | 杨子江 | Recording system and method used for teaching and meeting place |
CN101689206A (en) * | 2007-07-12 | 2010-03-31 | 索尼爱立信移动通讯有限公司 | System and method for generating a thumbnail image for an audiovisual file |
US20100198981A1 (en) * | 2009-02-02 | 2010-08-05 | Wistron Corp. | Method and system for multimedia audio video transfer |
-
2011
- 2011-03-14 CN CN2011100590749A patent/CN102306499A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001065862A2 (en) * | 2000-03-02 | 2001-09-07 | Tivo, Inc. | System and method for internet access to personal television service |
CN101272469A (en) * | 2007-03-23 | 2008-09-24 | 杨子江 | Recording system and method used for teaching and meeting place |
CN101689206A (en) * | 2007-07-12 | 2010-03-31 | 索尼爱立信移动通讯有限公司 | System and method for generating a thumbnail image for an audiovisual file |
CN101115076A (en) * | 2007-09-10 | 2008-01-30 | 蒋晓海 | Method for implementing information issue and sharing of mobile browser |
US20100198981A1 (en) * | 2009-02-02 | 2010-08-05 | Wistron Corp. | Method and system for multimedia audio video transfer |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107547908A (en) * | 2016-06-28 | 2018-01-05 | 真相网络科技(北京)有限公司 | A kind of intelligent Web audio frequency and video automatic recording evidence collecting method and system |
CN107547908B (en) * | 2016-06-28 | 2020-11-06 | 真相网络科技(北京)有限公司 | Intelligent internet audio and video automatic recording and evidence obtaining method and system |
CN107342930A (en) * | 2016-12-19 | 2017-11-10 | 厦门二五八网络科技集团股份有限公司 | A kind of method and system that speech communication is realized between webpage and client |
CN110277110A (en) * | 2019-06-27 | 2019-09-24 | 深圳前海微众银行股份有限公司 | A kind of recording of Webpage, playback method, device and terminal |
CN110277110B (en) * | 2019-06-27 | 2023-10-10 | 深圳前海微众银行股份有限公司 | Recording and playing method and device of network page and terminal |
CN110955402A (en) * | 2019-10-12 | 2020-04-03 | 平安银行股份有限公司 | Recording method, device and equipment based on webpage and storage medium |
CN110955402B (en) * | 2019-10-12 | 2023-01-20 | 平安银行股份有限公司 | Recording method, device and equipment based on webpage and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101326801B (en) | Method and apparatus for capturing sound during telephone conference period | |
WO2012138742A1 (en) | Automated system for combining and publishing network-based audio programming | |
CN107833064B (en) | System and method for integrating telephone with cloud CRM | |
US8787538B2 (en) | Automated communication techniques | |
US8280418B2 (en) | System for supporting video message service and method thereof | |
CN101478717A (en) | Call recording method, system and mobile communication terminal | |
WO2019062667A1 (en) | Method and device for transmitting conference content | |
CN102316298A (en) | Method for realizing audio and video recording | |
CN103929555B (en) | A kind of IP recording system voice flow mirror method | |
CN102306499A (en) | Method for realization of audio recording | |
WO2018228463A1 (en) | Identity recognition method, apparatus, system for an office platform and server | |
CN103026697A (en) | Service server device, service provision method, and service provision program | |
CN103201981A (en) | Intercommunication method and system for multi-conference system | |
CN108320761B (en) | Audio recording method, intelligent recording device and computer readable storage medium | |
CN104580772A (en) | Teleconference system conference summary pushing method based on audio | |
US20100061276A1 (en) | Dedicated Call User Interface (UI) for Organizing Collaborative Exchange During A Telephony or Softphone Call | |
CN102307289A (en) | Method for recording video | |
WO2016150333A1 (en) | Method and system for realizing intercommunication of voice mailbox system and syncretic communication systems | |
CN101742002A (en) | Method, device and system for managing service information | |
CN101257691A (en) | Mobile terminal with voice prompting function and voice prompting method | |
CN100571374C (en) | Video recording and real time play-back method | |
CN102833386A (en) | Method and system for storing operating record and mobile terminal | |
CN101287094A (en) | Method and system for implementing media operation of multimedia meetings | |
CN102143189A (en) | Method and system for realizing video recording on webpage | |
CN113192526B (en) | Audio processing method and audio processing device |
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: 20120104 |