CN102325182B - Audio-video sharing method and system - Google Patents

Audio-video sharing method and system Download PDF

Info

Publication number
CN102325182B
CN102325182B CN 201110267449 CN201110267449A CN102325182B CN 102325182 B CN102325182 B CN 102325182B CN 201110267449 CN201110267449 CN 201110267449 CN 201110267449 A CN201110267449 A CN 201110267449A CN 102325182 B CN102325182 B CN 102325182B
Authority
CN
China
Prior art keywords
shared
sharing
server
audio
terminal
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
Application number
CN 201110267449
Other languages
Chinese (zh)
Other versions
CN102325182A (en
Inventor
舒海东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Parabola Information Technology Co Ltd
Original Assignee
Chongqing Parabola Information Technology 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 Chongqing Parabola Information Technology Co Ltd filed Critical Chongqing Parabola Information Technology Co Ltd
Priority to CN 201110267449 priority Critical patent/CN102325182B/en
Publication of CN102325182A publication Critical patent/CN102325182A/en
Application granted granted Critical
Publication of CN102325182B publication Critical patent/CN102325182B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides an audio-video sharing method and system. According to the audio-video sharing method and system provided by the invention, a particular sharing transmission means is used; storage and sharing release processing works of audio-video data are completed through an FMS (Flash Media Server); acquired audio and video data after being subjected to encoding through a streaming medium are uploaded with an RTMP (Real Time Messaging Protocol) to the FMS by using an upload terminal; the uploaded audio and video data after being subjected to combination and encoding are released with the RTMP to a share user terminal by using the FMS so that the audio-video data upload and sharing release are simultaneously with real-time transmission performance and the real-time sharing of the audio-video data can be realized; the problem of occupation of the storage space of two-side terminals of the upload and the sharing is solved with the help of the RTMP so that a long time audio-video sharing of a mobile terminal is ensured to be possible; and the audio-video sharing method and system are combined with a sharing service, so that a user is convenient to timely request on the shared audio-video data at different times and places or on terminals, and the service application range is promoted to expand.

Description

A kind of audio frequency and video are shared method and system
Technical field
The present invention relates to internet technique and ICT (information and communication technology) field, particularly a kind of audio frequency and video of the instant share service of audio frequency and video that can provide are shared method and system.
Background technology
In recent years, internet technique and mobile communication network technology development are rapid, and a lot of network gatewaies are all carried out multi-form data information sharing business, for example data information sharing website, blog, microblogging, network individual space etc.; And, along with electronic equipments such as computer, portable terminal are universal day by day, people have got used to logining the shared service issue and obtaining shared data message by communication network by terminal or portable terminal gradually, make China progressively enter the epoch of whole people's data information sharing.Simultaneously, these progressive variation and multi-levelization of also progressively having brought data information sharing, people share data message from the form of passing through broadcast distribution, download/reprinting simply, develop the instantaneity demand that data information sharing step by step, so that realize remote living broadcast, the interchange of long-range real time information or recreational use etc. by instant sharing.Provide the network gateway of data information sharing also to begin to utilize one after another various technology that the instant share service of data message is provided, to satisfy this emerging customer demand, open up new value-added service.
At present, the data message of extensively being shared mainly comprises three types of lteral data, image data and audio, video datas.Instant the sharing of realizing lteral data and image data is fairly simple, because the data volume of lteral data and image data is smaller, the transfer of data time-delay is very short, under existing communication network condition, the ageing instant demand for experience of sharing that all can enough satisfy people of lteral data file and image data file transfer.And audio, video data is big and have a time remaining because of its data volume, it is shared that existing shared service all only supports recording of audio, video data to upload mostly, be difficult to satisfy the instant demand of sharing, and the recording of audio, video data uploaded and needed to preserve the audio, video data of recording and upload, also need when receive playing to download and preserve the audio, video data that is shared and carry out this locality and read broadcast, therefore take the memory space of transmission terminal and shared terminal respectively, for the very limited portable terminal of data space, then can't carry out long audio frequency and video sharing operation.These constraints have all restricted audio, video data shared relevant carrying out immediately in the shared service.
Summary of the invention
At above shortcomings in the prior art, the object of the present invention is to provide a kind of audio frequency and video to share method, solve the instant sharing problem of audio, video data shared service on the one hand, solve the problem that takies the great amount of terminals memory space in the audio, video data shared procedure on the other hand.For realizing this purpose, the present invention has adopted following technological means:
A kind of audio frequency and video are shared method, comprise the steps:
A) go up transmission terminal and be connected to shared portal server by communication network, the registered user of login shared service uploads audio, video data to shared portal server request; The described transmission terminal of going up is terminal or the portable terminal of supporting online and possessing audio frequency, video acquisition function and Streaming Media encoding function; Described shared portal server provides the WEB server of shared service service, and data communication is connected with database server and FMS server, described database server is used for setting up and each registered user's of storage shared service data information sharing is tabulated, and described FMS server is used for storage and shares the issue audio, video data;
When b) sharing portal server and receive described request from last transmission terminal, set up uploading of FMS server and last transmission terminal and communicate to connect passage, notice is uploaded terminal request successfully then;
C) go up when transmission terminal is notified ask successfully, start audio frequency, video acquisition function, and the voice data of collection and video data are carried out after Streaming Media encodes, communicate to connect passage and be uploaded to the FMS server by described uploading with the RTMP agreement;
D) the FMS server will be gone up the audio, video data that voice data and video data merge, coding is treated to the FLV form that transmission terminal is uploaded, the audio, video data to the FLV form carries out buffer memory between buffer area merging, setting up in the coding processing procedure, the audio, video data of recording the FLV form that obtains of merging, encode simultaneously is stored in the memory space of FMS server, and notice share portal server with the memory address between described buffer area as sharing during data information sharing that the chained address is distributed to sharing users tabulates; When described merging, coding were finished dealing with and recorded end, the FMS server notification was shared portal server the memory address that the memory address of audio, video data in FMS server stores space of recording replaces as shared chained address between described buffer area is distributed in the data information sharing tabulation of sharing users; Described sharing users refers to that the registered user who logins with last transmission terminal establishes the registered user of data information sharing relation in shared service;
E) the sharing users terminal to sharing portal server, is obtained corresponding data information sharing tabulation by network connection after the sharing users described in the login shared service, sends sharing request by linking to described shared chained address to shared portal server; Described sharing users terminal is terminal or the portable terminal of supporting online and possessing stream media playing function;
When f) sharing portal server and receive sharing request from the sharing users terminal, set up the common share communication interface channel of FMS server and sharing users terminal, judged the type of requested shared chained address then by the FMS server, if requested shared chained address is the memory address between the buffer area of FMS server setting, the FMS server reads audio, video data then between described buffer area, is sent to the sharing users terminal with the RTMP agreement by described common share communication interface channel and plays; If the memory address that requested shared chained address is FMS server stores space, the FMS server is then transferred corresponding audio, video data from memory space, be sent to the sharing users terminal with the RTMP agreement by described common share communication interface channel and play.
Correspondingly, the present invention should provide a kind of audio frequency and video shared system that realizes said method.For realizing this purpose, the present invention has adopted following technological means:
A kind of audio frequency and video shared system comprises transmission terminal, shares portal server and sharing users terminal; The described transmission terminal of going up is terminal or the portable terminal of supporting online and possessing audio frequency, video acquisition function and Streaming Media encoding function; Described shared portal server provides the WEB server of shared service service, and data communication is connected with database server and FMS server, described database server is used for setting up and each registered user's of storage shared service data information sharing is tabulated, and described FMS server is used for storage and shares the issue audio, video data; Described sharing users terminal is terminal or the portable terminal of supporting online and possessing stream media playing function;
Last transmission terminal is connected to shared portal server by communication network, in order to login the registered user of shared service, upload audio, video data to shared portal server request, when the shared portal server of wait receives from the described request of last transmission terminal, set up uploading of FMS server and last transmission terminal and communicate to connect passage, notice is uploaded the terminal request success then, last transmission terminal is notified when asking successfully, start audio frequency, the video acquisition function, after the voice data gathered and video data carried out the Streaming Media coding, communicate to connect passage and be uploaded to the FMS server by uploading with the RTMP agreement;
The FMS server is used for going up the audio, video data that voice data and video data merge, coding is treated to the FLV form that transmission terminal is uploaded, the audio, video data to the FLV form carries out buffer memory between buffer area merging, setting up in the coding processing procedure, the audio, video data of recording the FLV form that obtains of merging, encode simultaneously is stored in the memory space of FMS server, and notice share portal server with the memory address between described buffer area as sharing during data information sharing that the chained address is distributed to sharing users tabulates; When described merging, coding were finished dealing with and recorded end, the FMS server notification was shared portal server the memory address that the memory address of audio, video data in FMS server stores space of recording replaces as shared chained address between described buffer area is distributed in the data information sharing tabulation of sharing users; Described sharing users refers to that the registered user who logins with last transmission terminal establishes the registered user of data information sharing relation in shared service;
The sharing users terminal is extremely shared portal server by network connection, obtain corresponding data information sharing tabulation described in the shared service after the sharing users in order to login, send sharing request by linking to described shared chained address to shared portal server, when the shared portal server of wait receives from the sharing request of sharing users terminal, set up the common share communication interface channel of FMS server and sharing users terminal, judged the type of requested shared chained address then by the FMS server, if requested shared chained address is the memory address between the buffer area of FMS server setting, the FMS server reads audio, video data then between described buffer area, is sent to the sharing users terminal with the RTMP agreement by described common share communication interface channel and plays; If the memory address that requested shared chained address is FMS server stores space, the FMS server is then transferred corresponding audio, video data from memory space, be sent to the sharing users terminal with the RTMP agreement by described common share communication interface channel and play.
Than prior art, the present invention has following beneficial effect:
1, audio frequency and video of the present invention are shared method and system and have been adopted special shared transmission means, by FMS server (Flash Media Server, the Flash multimedia server) finishes storage and the shared release processing work of audio, video data, because the FMS server is generally supported the transmission of RTMP protocol data, last transmission terminal is with the audio frequency of gathering, video data is encoded later with RTMP agreement (Real Time Messaging Protocol through Streaming Media, the real-time messages transportation protocol) is uploaded to the FMS server, the FMS server is with the audio frequency of uploading, video data merges, behind the coding again with the RTMP protocol issuance to the sharing users terminal, therefore can so that audio, video data upload and shared issue has the real-time Transmission performance simultaneously, can realize that the instant of audio, video data share.
2, audio frequency and video of the present invention are shared the host-host protocol that method and system have adopted the RTMP agreement to upload and issue as stream medium audio and video, last transmission terminal transfer to the FMS server by the Streaming Media coded format data in real time that this host-host protocol can directly obtain its collection in real time, coding, has therefore avoided last transmission terminal to carry out audio, video data recording in upload procedure and has preserved processing; Simultaneously, sound, video data issue playing process by the RTMP agreement, be behind the common share communication interface channel of setting up FMS server and sharing users terminal, by the FMS server end with the RTMP agreement with the audio, video data real time propelling movement to the sharing users terminal plays, and under the RTMP agreement, play sequential and carry out real time remote control by the FMS server end, the sharing users terminal only need be play-overed the audio, video data that the FMS server end issues, and carries out this locality and reads play operation and need not to store the audio, video data that issues; Thus, solved and taken the problem of uploading, sharing both sides' terminal storage space, made portable terminal carry out the shared possibility that becomes of long audio frequency and video.
3, audio frequency and video of the present invention are shared in the method and system, the FMS server is treated to FLV form (Flash Video with audio frequency, video data merging, the coding of uploading, the Flash video format) shares issue after again, on the one hand because under the RTMP agreement, the issue of audio, video data and Play Control are all operated by the FMS server, the FMS server merges, can finish when encoding audio frequency, audio video synchronization to audio frequency, the video data of uploading to be handled, and avoids the audio, video data generation sound that the sharing users terminal receives, the situation of drawing step-out; On the other hand, different terminals, the audio frequency that portable terminal is uploaded, video data format is not quite similar, probably can't be at other terminals, play-over on the portable terminal, the FMS server merges it, the format standard play of audio, video data issue that has been encoded to the FLV uniform format, the audio-video document of FLV form can directly be play (because existing web browser all is integrated with the Flash playing function) in web browser simultaneously, and support terminal and the portable terminal of online that web browser generally is installed, thereby solved the audio frequency of the different-format of uploading, possibly of video data can't be at other terminals, the problem of play-overing on the portable terminal; On the one hand, compression ratio height, the data volume of FLV form audio, video data are little again, and the real-time Transmission that is suitable for audio, video data is play, and can better guarantee to adopt the RTMP agreement to issue the fluency of broadcast.
4, audio frequency and video of the present invention are shared in the method and system, when the FMS server merges at the audio frequency that will upload, video data, coding is treated to the FLV form and carries out buffer memory, also it being carried out recording and storing handles, even guaranteeing that the sharing users terminal can not uploaded in audio frequency, the video data process at last transmission terminal obtains instant sharing, obtain the link program request by the data information sharing tabulation in the time of also can logining shared service afterwards and share; Simultaneously, audio frequency and video of the present invention are shared method and system and are combined with shared service, the mode that employing issue audio, video data in shared service registered user's data information sharing tabulation is shared the chained address provides link to share, made things convenient for the user in different time, different location, audio, video data is shared in instant or program request on different terminals, helps the range of application of activating business.
Description of drawings
Fig. 1 is the frame construction figure of audio frequency and video shared system of the present invention;
Fig. 2 shares the FB(flow block) of method for audio frequency and video of the present invention.
Embodiment
Because it is shared that shared services such as existing blog, microblogging, network individual space all only support recording of audio, video data to upload mostly, even if sharing end realization streaming media playing, still be difficult to satisfy transmit leg to recipient's the instant demand of sharing synchronously, be difficult to therefore carry out that audio frequency and video are live, video telephone etc. in time shared relevant value-added service with audio frequency and video.At this present situation, the present invention proposes that a kind of audio frequency and video that can overcome the prior art constraint are shared method and corresponding to the audio frequency and video shared system of this method, these audio frequency and video are shared method and system and have been adopted special shared transmission means, finish storage and the shared release processing work of audio, video data by the FMS server, because the FMS server is generally supported the transmission of RTMP protocol data, last transmission terminal is with the audio frequency of gathering, video data is uploaded to the FMS server with the RTMP agreement later through the Streaming Media coding, the FMS server is with the audio frequency of uploading, video data merges, behind the coding again with the RTMP protocol issuance to the sharing users terminal, therefore can so that audio, video data upload and shared issue has the real-time Transmission performance simultaneously, realize that the instant of audio, video data share.
As shown in Figure 1, audio frequency and video shared system of the present invention mainly is made of last transmission terminal 1, shared portal server 2 and sharing users terminal 5.Last transmission terminal 1 is terminal or the portable terminal of supporting online and possessing audio frequency, video acquisition function and Streaming Media encoding function; Share the WEB server that portal server 2 provides the shared service service, and data communication is connected with database server 3 and FMS server 4, wherein, database server 3 is used for setting up and each registered user's of storage shared service data information sharing is tabulated, and FMS server 4 is used for storage and shares the issue audio, video data; Sharing users terminal 5 is terminal or portable terminals of supporting online and possessing stream media playing function.Last transmission terminal 1 is connected to by communication network shares portal server 2, in order to login the registered user of shared service, upload audio, video data to shared portal server 2 requests, when the shared portal server 2 of wait receives from the described request of last transmission terminal, set up FMS server 4 and communicate to connect passage with uploading of last transmission terminal 1, the last transmission terminal 1 of notice is asked successfully then, last transmission terminal 1 is notified when asking successfully, start audio frequency, the video acquisition function, after the voice data gathered and video data carried out the Streaming Media coding, communicate to connect passage and be uploaded to FMS server 4 by uploading with the RTMP agreement.FMS server 4 is used for going up the audio, video data that voice data and video data merge, coding is treated to the FLV form that transmission terminal is uploaded, the audio, video data to the FLV form carries out buffer memory between buffer area merging, setting up in the coding processing procedure, the audio, video data of recording the FLV form that obtains of merging, encode simultaneously is stored in the memory space of FMS server, and notice share portal server 2 with the memory address between described buffer area as sharing during data information sharing that the chained address is distributed to sharing users tabulates; When described merging, coding were finished dealing with and recorded end, FMS server 4 notices were shared portal server 2 memory address that the memory address of audio, video data in FMS server stores space of recording replaces as shared chained address between described buffer area are distributed in the data information sharing tabulation of sharing users.Sharing users terminal 5 is extremely shared portal server 2 by network connection, obtain corresponding data information sharing tabulation described in the shared service after the sharing users in order to login, send sharing request by linking to described shared chained address to shared portal server 2, when the shared portal server 2 of wait receives from the sharing request of sharing users terminal, set up the common share communication interface channel of FMS server 4 and sharing users terminal 5, judged the type of requested shared chained address then by FMS server 4, if requested shared chained address is the memory address between the buffer area of FMS server setting, 4 of FMS servers read audio, video data between described buffer area, are sent to sharing users terminal 5 with the RTMP agreement by described common share communication interface channel and play; If the memory address that requested shared chained address is FMS server stores space, 4 of FMS servers are transferred corresponding audio, video data from memory space, be sent to sharing users terminal 5 with the RTMP agreement by described common share communication interface channel and play.Sharing users of the present invention refers to that the registered user who logins with last transmission terminal establishes the registered user of data information sharing relation in shared service; Specifically set up in which way as for the data information sharing relation, then can determine according to the actual needs of shared service or according to the concrete shared model that shared service provides, be carried out the relevant treatment of data information sharing relation by the shared portal server that the shared service service is provided; The present invention does not relate to the improvement to data message shared relationship aspect, just this is not more narrated.Constitute and to see according to said system, the very suitable B/S network architecture (Browser/Server that adopts of audio frequency and video shared system of the present invention, the browser/server network architecture), certainly, adopt C/S network architecture (Client/Server, client/server network framework) also can realize; Simultaneously, if the sharing users terminal also can be supported sound, video acquisition function, obviously the sharing users terminal also can be used as the last transmission terminal in this audio frequency and video shared system, can also further carry out the online relay of audio frequency and video and share.
Audio frequency and video shared system of the present invention is carried out the shared FB(flow block) of audio frequency and video as shown in Figure 2, and concrete grammar is as follows:
A) go up transmission terminal and be connected to shared portal server by communication network, the registered user of login shared service uploads audio, video data to shared portal server request; The described transmission terminal of going up is terminal or the portable terminal of supporting online and possessing audio frequency, video acquisition function and Streaming Media encoding function; Described shared portal server provides the WEB server of shared service service, and data communication is connected with database server and FMS server, described database server is used for setting up and each registered user's of storage shared service data information sharing is tabulated, and described FMS server is used for storage and shares the issue audio, video data;
When b) sharing portal server and receive described request from last transmission terminal, set up uploading of FMS server and last transmission terminal and communicate to connect passage, notice is uploaded terminal request successfully then;
C) go up when transmission terminal is notified ask successfully, start audio frequency, video acquisition function, and the voice data of collection and video data are carried out after Streaming Media encodes, communicate to connect passage and be uploaded to the FMS server by described uploading with the RTMP agreement;
D) the FMS server will be gone up the audio, video data that voice data and video data merge, coding is treated to the FLV form that transmission terminal is uploaded, the audio, video data to the FLV form carries out buffer memory between buffer area merging, setting up in the coding processing procedure, the audio, video data of recording the FLV form that obtains of merging, encode simultaneously is stored in the memory space of FMS server, and notice share portal server with the memory address between described buffer area as sharing during data information sharing that the chained address is distributed to sharing users tabulates; When described merging, coding were finished dealing with and recorded end, the FMS server notification was shared portal server the memory address that the memory address of audio, video data in FMS server stores space of recording replaces as shared chained address between described buffer area is distributed in the data information sharing tabulation of sharing users; Described sharing users refers to that the registered user who logins with last transmission terminal establishes the registered user of data information sharing relation in shared service;
E) the sharing users terminal to sharing portal server, is obtained corresponding data information sharing tabulation by network connection after the sharing users described in the login shared service, sends sharing request by linking to described shared chained address to shared portal server; Described sharing users terminal is terminal or the portable terminal of supporting online and possessing stream media playing function;
When f) sharing portal server and receive sharing request from the sharing users terminal, set up the common share communication interface channel of FMS server and sharing users terminal, judged the type of requested shared chained address then by the FMS server, if requested shared chained address is the memory address between the buffer area of FMS server setting, the FMS server reads audio, video data then between described buffer area, is sent to the sharing users terminal with the RTMP agreement by described common share communication interface channel and plays; If the memory address that requested shared chained address is FMS server stores space, the FMS server is then transferred corresponding audio, video data from memory space, be sent to the sharing users terminal with the RTMP agreement by described common share communication interface channel and play.
Audio frequency and video of the present invention are shared the host-host protocol that method and system have adopted the RTMP agreement to upload and issue as stream medium audio and video, be because the RTMP agreement is a kind of real-time streaming host-host protocol, last transmission terminal transfer to the FMS server by the Streaming Media coded format data in real time that this host-host protocol can directly obtain its collection in real time, coding, has therefore avoided last transmission terminal to carry out audio, video data recording in upload procedure and has preserved processing; Simultaneously, sound, video data issue playing process by the RTMP agreement, be behind the common share communication interface channel of setting up FMS server and sharing users terminal, by the FMS server end with the RTMP agreement with the audio, video data real time propelling movement to the sharing users terminal plays, and under the RTMP agreement, play sequential and carry out real time remote control by the FMS server end, the sharing users terminal only need be play-overed the audio, video data that the FMS server end issues, and carries out this locality and reads play operation and need not to store the audio, video data that issues; Thus, both can realize that the audio frequency and video that transmission terminal is enjoyed the family terminal together shared immediately, and solve again and taken the problem of uploading, sharing both sides' terminal storage space, and make the portable terminal of limited storage space also can carry out long audio frequency and video and share.Yet, consider from the globality of system's realization and operation, only overcome the above-mentioned constraint that exists in the prior art not enough, because the data volume of voice data and video data not reciprocity (data volume of video data is greater than voice data usually), if the FSM server adopts the RTMP agreement that audio frequency, video data are issued transmission respectively and control is play, the influence because of transmission rate causes the client terminal sound, draws and play step-out easily; Simultaneously, in the market terminal and portable terminal are multifarious, different terminals, portable terminal collection, the audio frequency of uploading, video data format are not quite similar, if the FSM server with the direct forwarding of audio frequency, video data of uploading might occur receiving, the client terminal factor of playing audio-video data is incompatible according to form and the problem that can't play-over, thereby can not reach the instant purpose of playing of sharing.Further address these problems again, share in the method and system in audio frequency and video of the present invention, the FMS server after being treated to the FLV form issues audio frequency, video data merging, the coding of uploading again, when merging, encode audio frequency, the video data of uploading, can finish the FMS server audio frequency, audio video synchronization processing on the one hand, processing synchronously can be by the mark timestamp, abandon existing network transmitting synchronous technological means such as delayed data frame realizes, avoids the audio, video data generation sound that the sharing users terminal receives, the situation of drawing step-out; On the other hand, the FMS server with the audio frequency uploaded, video data merge, the format standard play of audio, video data issue that has been encoded to the FLV uniform format, the audio-video document of FLV form can directly be play (because existing web browser all is integrated with the Flash playing function) in web browser simultaneously, and support terminal and the portable terminal of online that web browser generally is installed, thereby solved the problem that the audio frequency, video data of the different-format of uploading may be play-overed at other terminals, portable terminal; On the one hand, compression ratio height, the data volume of FLV form audio, video data are little again, and the real-time Transmission that is suitable for audio, video data is play, and can better guarantee to adopt the RTMP agreement to issue the fluency of broadcast.
To utilize technical solution of the present invention to realize that the microblogging visual telephone service based on the microblogging shared service is example, the present invention is described further below.
Embodiment:
Microblogging, be also referred to as microblogging visitor (MicroBlog), in the microblogging shared service, the registered user can be by its corresponding its people's of data information sharing list builder who distributes data message community, and by the intercommunal intersection issue of different pieces of information information or the realization data information sharing of exchanging visits, be present pandemic a kind of data information sharing business.Yet, present microblogging shared service only supports the broadcasting of lteral data, image data or audio, video data, reprinting to share usually, constraint based on prior art, fail always also effectively to realize that the instant of audio, video data share, thus have no idea well by the shared service platform carry out that audio frequency and video are live, video call etc. in time shares relevant value-added service with audio frequency and video.Utilize audio frequency and video shared system of the present invention, just can overcome existing constraint, realize that the audio frequency and video between the different microblogging users are shared immediately.For example, use audio frequency and video shared system of the present invention and realize that the idiographic flow of microblogging net cast business in the microblogging shared service is as follows:
A) need carry out the live user of audio frequency and video uses terminal or the portable terminal supporting online and possess audio frequency, video acquisition function and Streaming Media encoding function to be connected to the shared portal server of microblogging as last transmission terminal by communication network, the registered user of login microblogging shared service shares the portal server request to microblogging and uploads audio, video data; Terminal or the portable terminal supporting online and possess audio frequency, video acquisition function and Streaming Media encoding function can pass through existing techniques in realizing, the Streaming Media encoding software for example is installed and is connected with microphone and the computer of camera, the shooting smart mobile phone of Streaming Media encoding software etc. perhaps is installed; Streaming Media encoding software at computer platform is profuse, and operation system of smart phone such as Symbian, Android also are to support the Streaming Media coding simultaneously, and the Streaming Media coding techniques is prior art; In the present embodiment, the Streaming Media of video data coding has adopted H.264 coding techniques, streaming media playing then to adopt Flash streaming media playing technology.Microblogging is shared the WEB server that portal server provides the service of microblogging shared service, and data communication is connected with database server and FMS server, database server is used for setting up and each registered user's of storage microblogging shared service data information sharing is tabulated, and the FMS server is used for storage and shares the issue audio, video data.
When b) microblogging is shared portal server and received described request from last transmission terminal, set up uploading of FMS server and last transmission terminal and communicate to connect passage, notice is uploaded terminal request successfully then.
C) go up when transmission terminal is notified ask successfully, start audio frequency, video acquisition function, and the voice data of collection is carried out after ACC encodes, H.264 video data encodes, communicate to connect passage and be uploaded to the FMS server by described uploading with the RTMP agreement.
D) the FMS server will be gone up the voice data of the ACC coding that transmission terminal uploads and H.264 the video data of coding merges, encoding is treated to the audio, video data of FLV form, the audio, video data to the FLV form carries out buffer memory between buffer area merging, setting up in the coding processing procedure, the audio, video data of recording the FLV form that obtains of merging, encode simultaneously is stored in the memory space of FMS server, and the notice microblogging share portal server with the memory address between described buffer area as sharing during data information sharing that the chained address is distributed to sharing users tabulates; When described merging, coding were finished dealing with and recorded end, FMS server notification microblogging was shared portal server the memory address that the memory address of audio, video data in FMS server stores space of recording replaces as shared chained address between described buffer area is distributed in the data information sharing tabulation of sharing users; Sharing users described here refers to that the registered user who logins with last transmission terminal establishes the registered user of data information sharing relation in the microblogging shared service.
E) the sharing users terminal is shared portal server by network connection to microblogging, obtain corresponding data information sharing tabulation described in the login microblogging shared service after the sharing users, share portal server transmission sharing request by linking to described shared chained address to microblogging; The sharing users terminal is terminal or the portable terminal of supporting online and possessing stream media playing function; Streaming media playing then adopts Flash streaming media playing technology to realize.
When f) microblogging is shared portal server and is received sharing request from the sharing users terminal, set up the common share communication interface channel of FMS server and sharing users terminal, judged the type of requested shared chained address then by the FMS server, if requested shared chained address is the memory address between the buffer area of FMS server setting, the FMS server reads audio, video data then between described buffer area, is sent to the sharing users terminal with the RTMP agreement by described common share communication interface channel and plays; If the memory address that requested shared chained address is FMS server stores space, the FMS server is then transferred corresponding audio, video data from memory space, be sent to the sharing users terminal with the RTMP agreement by described common share communication interface channel and play.
Can see by this embodiment, if last transmission terminal upload again audio frequency, video data during, the sharing users terminal has also been logined the sharing users in the microblogging shared service simultaneously, the shared chained address that links to audio, video data that then can be online is then read audio, video data by the FMS server and is sent to the sharing users terminal with the RTMP agreement and carries out online instant broadcast and share from the buffer memory interval; This shows that audio frequency and video real-time interaction communication means of the present invention can be realized the instant shared of audio frequency and video after having overcome many constraints of prior art, thereby it is professional to carry out the audio frequency and video on-the-spot broadcasting at the microblogging shared service.If the sharing users terminal is not logined the microblogging shared service simultaneously with last transmission terminal, because when the FMS server merges at the audio frequency that will upload, video data, coding is treated to the FLV form and carries out buffer memory, also it being carried out recording and storing handles, obtain the link program request by the data information sharing tabulation when sharing users terminal also can be logined shared service afterwards and share, the audio frequency and video that therefore can't miss the good friend provides are shared information.
Above-described embodiment is that the present invention will be described as a kind of embodiment, is not limitation of the present invention.Share in the method and system in audio frequency and video of the present invention, the Streaming Media coded system of audio frequency, video data is also not only limited to and above-described embodiment, also can adopt other stream encryption technology of prior art to realize.Simultaneously, audio frequency and video of the present invention are shared method and system and not only can be applied in the middle of the microblogging shared service, also can be applied in the middle of the data information sharing business of various ways such as website, blog, network individual space; And, audio frequency and video of the present invention are shared method and system and are combined with shared service, the mode that employing issue audio, video data in shared service registered user's data information sharing tabulation is shared the chained address provides link to share, made things convenient for the user in different time, different location, audio, video data is shared in instant or program request on different terminals, helps the range of application of activating business.
Explanation is at last, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although with reference to preferred embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not breaking away from aim and the scope of technical solution of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.

Claims (2)

1. audio frequency and video are shared method, it is characterized in that, comprise the steps:
A) go up transmission terminal and be connected to shared portal server by communication network, the registered user of login shared service uploads audio, video data to shared portal server request; The described transmission terminal of going up is terminal or the portable terminal of supporting online and possessing audio frequency, video acquisition function and Streaming Media encoding function; Described shared portal server provides the WEB server of shared service service, and data communication is connected with database server and FMS server, described database server is used for setting up and each registered user's of storage shared service data information sharing is tabulated, and described FMS server is used for storage and shares the issue audio, video data;
When b) sharing portal server and receive described request from last transmission terminal, set up uploading of FMS server and last transmission terminal and communicate to connect passage, notice is uploaded terminal request successfully then;
C) go up when transmission terminal is notified ask successfully, start audio frequency, video acquisition function, and the voice data of collection and video data are carried out after Streaming Media encodes, communicate to connect passage and be uploaded to the FMS server by described uploading with the RTMP agreement;
D) the FMS server will be gone up the audio, video data that voice data and video data merge, coding is treated to the FLV form that transmission terminal is uploaded, the audio, video data to the FLV form carries out buffer memory between buffer area merging, setting up in the coding processing procedure, the audio, video data of recording the FLV form that obtains of merging, encode simultaneously is stored in the memory space of FMS server, and notice share portal server with the memory address between described buffer area as sharing during data information sharing that the chained address is distributed to sharing users tabulates; When described merging, coding were finished dealing with and recorded end, the FMS server notification was shared portal server the memory address that the memory address of audio, video data in FMS server stores space of recording replaces as shared chained address between described buffer area is distributed in the data information sharing tabulation of sharing users; Described sharing users refers to that the registered user who logins with last transmission terminal establishes the registered user of data information sharing relation in shared service;
E) the sharing users terminal to sharing portal server, is obtained corresponding data information sharing tabulation by network connection after the sharing users described in the login shared service, sends sharing request by linking to described shared chained address to shared portal server; Described sharing users terminal is terminal or the portable terminal of supporting online and possessing stream media playing function;
When f) sharing portal server and receive sharing request from the sharing users terminal, set up the common share communication interface channel of FMS server and sharing users terminal, judged the type of requested shared chained address then by the FMS server, if requested shared chained address is the memory address between the buffer area of FMS server setting, the FMS server reads audio, video data then between described buffer area, is sent to the sharing users terminal with the RTMP agreement by described common share communication interface channel and plays; If the memory address that requested shared chained address is FMS server stores space, the FMS server is then transferred corresponding audio, video data from memory space, be sent to the sharing users terminal with the RTMP agreement by described common share communication interface channel and play.
2. an audio frequency and video shared system is characterized in that, comprises transmission terminal, shares portal server and sharing users terminal; The described transmission terminal of going up is terminal or the portable terminal of supporting online and possessing audio frequency, video acquisition function and Streaming Media encoding function; Described shared portal server provides the WEB server of shared service service, and data communication is connected with database server and FMS server, described database server is used for setting up and each registered user's of storage shared service data information sharing is tabulated, and described FMS server is used for storage and shares the issue audio, video data; Described sharing users terminal is terminal or the portable terminal of supporting online and possessing stream media playing function;
Last transmission terminal is connected to shared portal server by communication network, in order to login the registered user of shared service, upload audio, video data to shared portal server request, when the shared portal server of wait receives from the described request of last transmission terminal, set up uploading of FMS server and last transmission terminal and communicate to connect passage, notice is uploaded the terminal request success then, last transmission terminal is notified when asking successfully, start audio frequency, the video acquisition function, after the voice data gathered and video data carried out the Streaming Media coding, communicate to connect passage and be uploaded to the FMS server by uploading with the RTMP agreement;
The FMS server is used for going up the audio, video data that voice data and video data merge, coding is treated to the FLV form that transmission terminal is uploaded, the audio, video data to the FLV form carries out buffer memory between buffer area merging, setting up in the coding processing procedure, the audio, video data of recording the FLV form that obtains of merging, encode simultaneously is stored in the memory space of FMS server, and notice share portal server with the memory address between described buffer area as sharing during data information sharing that the chained address is distributed to sharing users tabulates; When described merging, coding were finished dealing with and recorded end, the FMS server notification was shared portal server the memory address that the memory address of audio, video data in FMS server stores space of recording replaces as shared chained address between described buffer area is distributed in the data information sharing tabulation of sharing users; Described sharing users refers to that the registered user who logins with last transmission terminal establishes the registered user of data information sharing relation in shared service;
The sharing users terminal is extremely shared portal server by network connection, obtain corresponding data information sharing tabulation described in the shared service after the sharing users in order to login, send sharing request by linking to described shared chained address to shared portal server, when the shared portal server of wait receives from the sharing request of sharing users terminal, set up the common share communication interface channel of FMS server and sharing users terminal, judged the type of requested shared chained address then by the FMS server, if requested shared chained address is the memory address between the buffer area of FMS server setting, the FMS server reads audio, video data then between described buffer area, is sent to the sharing users terminal with the RTMP agreement by described common share communication interface channel and plays; If the memory address that requested shared chained address is FMS server stores space, the FMS server is then transferred corresponding audio, video data from memory space, be sent to the sharing users terminal with the RTMP agreement by described common share communication interface channel and play.
CN 201110267449 2011-09-09 2011-09-09 Audio-video sharing method and system Expired - Fee Related CN102325182B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110267449 CN102325182B (en) 2011-09-09 2011-09-09 Audio-video sharing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110267449 CN102325182B (en) 2011-09-09 2011-09-09 Audio-video sharing method and system

Publications (2)

Publication Number Publication Date
CN102325182A CN102325182A (en) 2012-01-18
CN102325182B true CN102325182B (en) 2013-08-07

Family

ID=45452851

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110267449 Expired - Fee Related CN102325182B (en) 2011-09-09 2011-09-09 Audio-video sharing method and system

Country Status (1)

Country Link
CN (1) CN102325182B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107094172A (en) * 2017-04-14 2017-08-25 成都小鸟冲冲冲科技有限公司 A kind of sharing method of audio bag

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248858B (en) * 2012-02-09 2018-06-08 联想(北京)有限公司 A kind of electronic equipment and data transmission method
CN103686197B (en) * 2012-09-11 2016-12-21 三星电子(中国)研发中心 The method of the program source of extension television set and television set
CN103534679B (en) * 2012-12-12 2017-06-27 华为终端有限公司 Media Stream shared method and terminal
WO2014101065A1 (en) * 2012-12-27 2014-07-03 东莞宇龙通信科技有限公司 Control terminal and method for resource sharing
CN103179197B (en) * 2013-03-05 2015-08-12 福建星网视易信息系统有限公司 A kind of system and method realizing digital audio-visual terminal file network and share
CN103391481A (en) * 2013-07-12 2013-11-13 亿览在线网络技术(北京)有限公司 Data interaction method, device and system based on real-time messaging protocol
CN104348700B (en) * 2013-07-31 2018-11-06 波利康公司 Method and system for issuing microblog
CN103533315A (en) * 2013-09-11 2014-01-22 天脉聚源(北京)传媒科技有限公司 Method and device for processing audio/video data
CN103491454A (en) * 2013-09-30 2014-01-01 天脉聚源(北京)传媒科技有限公司 Method, system and device for sharing audio and video resources
CN105898624A (en) * 2015-11-13 2016-08-24 乐视云计算有限公司 Video distribution method, visual product terminal and cloud ecology video system
CN105681817A (en) * 2016-01-05 2016-06-15 王成 Intelligent terminal video and audio collection, transmission and playing system and method
CN105827484B (en) * 2016-05-11 2019-10-11 厦门美图移动科技有限公司 A kind of test pictures synchronous display method and system
CN105915944A (en) * 2016-05-31 2016-08-31 乐视控股(北京)有限公司 Video sharing method and device
CN106303428B (en) * 2016-08-18 2019-06-28 杭州蛮牛科技有限公司 A kind of security protection cloud platform
CN107835452A (en) * 2017-10-17 2018-03-23 广东欧珀移动通信有限公司 Data processing method and related product
CN108184139A (en) * 2017-12-29 2018-06-19 深圳Tcl新技术有限公司 Record sharing method, equipment, system and the storage medium of program
CN111147433A (en) * 2018-11-05 2020-05-12 自然萌(上海)教育科技有限公司 Natural education sharing system and method
CN110225040B (en) * 2019-06-14 2021-12-24 维沃移动通信有限公司 Information processing method and terminal equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100421469C (en) * 2005-12-23 2008-09-24 华为技术有限公司 System and method for realizing video frequency information sharing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002019716A1 (en) * 2000-08-31 2002-03-07 Mixed Signals Technologies, Inc. Systems and method for interacting with users over a communications network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100421469C (en) * 2005-12-23 2008-09-24 华为技术有限公司 System and method for realizing video frequency information sharing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107094172A (en) * 2017-04-14 2017-08-25 成都小鸟冲冲冲科技有限公司 A kind of sharing method of audio bag

Also Published As

Publication number Publication date
CN102325182A (en) 2012-01-18

Similar Documents

Publication Publication Date Title
CN102325182B (en) Audio-video sharing method and system
CN102325181B (en) Instant audio/video interactive communication method based on sharing service and instant audio/video interactive communication system based on sharing service
CN106331581B (en) Method and device for communication between mobile terminal and video network terminal
CN108055496B (en) Live broadcasting method and system for video conference
CN102075728B (en) The method and system of a kind of shared audio frequency and/or video
CN105144673B (en) Reduced latency server-intervention audio-video communication
CN102104762B (en) Media recording method, equipment and system of IMS (Internet Management Specification) video conference
CN102263988B (en) Message service realization method of internet protocol television (IPTV) and system thereof
US20090234935A1 (en) System and method for managing distribution of rich media content
WO2015117513A1 (en) Video conference control method and system
CN105100954A (en) Interactive response system and method based on Internet communication and streaming media live broadcast
CN102045537A (en) Method and device for connecting video conference system and video monitoring system
CN102131114B (en) Method and system for providing playlist
CN105791884A (en) Streaming media live broadcast method and streaming media live broadcast system
CN102811373A (en) Method for carrying out video broadcast on Internet and mobile Internet by mobile terminal
CN103329521A (en) Methods, apparatuses and computer program products for pausing video streaming content
CN101365096A (en) Method for providing video content, related service apparatus and system
CN201781576U (en) Real-time video stream transcoding server and video monitoring system comprising same
CN101242513A (en) Dual-stream transmission method in video conference and video conference system
US20170187986A1 (en) Live streaming media method, publish side live, server and terminal
CN102821325B (en) Information interaction system and method based on community wireless nodes
CN105391976A (en) Multimedia trunking communication video scheduling method and system
CN105872579A (en) Streaming media live broadcast method, releasing terminal, client and system
CN107801049A (en) A kind of real-time video transmission, player method and device
CN100414877C (en) Realization system and method for lecture file using net broadcasted slide

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
C14 Grant of patent or utility model
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130807

Termination date: 20160909

CF01 Termination of patent right due to non-payment of annual fee