CN107846634A - Audio and video file sharing method, device and system, storage medium and terminal equipment - Google Patents
Audio and video file sharing method, device and system, storage medium and terminal equipment Download PDFInfo
- Publication number
- CN107846634A CN107846634A CN201711016804.0A CN201711016804A CN107846634A CN 107846634 A CN107846634 A CN 107846634A CN 201711016804 A CN201711016804 A CN 201711016804A CN 107846634 A CN107846634 A CN 107846634A
- Authority
- CN
- China
- Prior art keywords
- audio
- identification code
- file
- video
- transmitting 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000000605 extraction Methods 0.000 claims description 18
- 230000015654 memory Effects 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 5
- 230000005540 biological transmission Effects 0.000 description 15
- 230000008569 process Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000002360 preparation method Methods 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 238000004321 preservation Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000004308 accommodation Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/176—Support for shared access to files; File sharing support
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/15—Conference systems
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses an audio and video file sharing method, device and system, a computer readable storage medium and a terminal device, wherein the method comprises the following steps: when the mobile terminal is in a multi-person chat mode, analyzing a received file sharing instruction to obtain an identification code of a sending terminal and a file type of an audio/video file to be shared; the identification code of the sending terminal is the identification code of the sending terminal sharing the audio and video file; creating a corresponding playing control according to the file type, and generating a control identification code of the playing control according to the identification code of the sending end and the file type; when an audio and video frame of an audio and video file is received, a file identification code of the audio and video file is extracted from the audio and video frame, and the audio and video frame is sent to a playing control corresponding to a control identification code corresponding to the file identification code to be played. By adopting the technical scheme of the invention, the timeliness of audio and video file sharing can be improved, and the user experience is improved.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of audio-video document sharing method, apparatus and system, calculating
Machine readable storage medium storing program for executing, terminal device.
Background technology
With economic and the communication technology continuous development, video conference is held a meeting as a kind of using communication network
The application of multimedia communication mode is more and more extensive.Conference member in different location can both have been heard pair by video conference
The sound of side, again it can be seen that the image of other side, it is further seen that the real-time scene in conference process, make conference member to arrive
Meeting is participated in up to meeting scene can, strange land interaction is realized, saves the time, effectively raise operating efficiency.
But during video conference is carried out, it is existing when any one conference member, which initiates audio-video document, to be shared
There is technology that shared audio-video document mostly is transferred into other conference members by way of file transmission, other conference members
It must could be played after complete audio-video document is received, cause audio-video document to realize in time shared, easily
Bring bad Consumer's Experience.
The content of the invention
Technical problem to be solved of the embodiment of the present invention is, there is provided a kind of audio-video document sharing method, device and
System, computer-readable recording medium, terminal device, it is possible to increase the shared promptness of audio-video document, and improve user's body
Test.
In order to solve the above-mentioned technical problem, the embodiments of the invention provide a kind of audio-video document sharing method, including:
When in more people's Chat modes, the file-sharing instruction received is parsed, obtains transmitting terminal identification code
With the file type of audio-video document to be shared;Wherein, the transmitting terminal identification code is the hair for sharing the audio-video document
The identification code of sending end;
Corresponding play control is created according to the file type, and according to the transmitting terminal identification code and the files classes
Type generates the control identification code of the play control;
Whenever the audio/video frames of the audio-video document are received, from the audio/video frames extraction obtain the sound and regard
The file identification code of frequency file, and the audio/video frames are sent to the control corresponding with the file identification code-phase and identified
Played in the play control corresponding to code.
Further, the file type is using file type mark representation;
It is then described that corresponding play control is created according to the file type, and according to the transmitting terminal identification code and described
The control identification code that file type generates the play control is specially:
The corresponding play control is created according to the file type identification code;
The transmitting terminal identification code is arranged to described with the result that the file type identification code is added to obtain and plays control
The control identification code of part.
Further, the file identification code by service end when receiving the file application requests that the transmitting terminal is sent
The transmitting terminal identification code and file type generation in the file application requests;
The file identification code of the audio-video document is obtained in the extraction from the audio/video frames, and the sound is regarded
Frequency frame is sent plays it into the play control corresponding to the control identification code corresponding with the file identification code-phase
Before, in addition to:
The transmitting terminal identification code and file type generation reference file mark in being instructed according to the file-sharing
Know code;
Then the extraction from the audio/video frames obtains the file identification code of the audio-video document, and the sound is regarded
Frequency frame, which is sent into the play control corresponding to the control identification code corresponding with the file identification code-phase, plays tool
Body is:
Extraction obtains the file identification code of the audio-video document from the audio/video frames;
When judging that the file identification code is identical with the reference file identification code, by the audio/video frames send to
Played in the play control corresponding to the corresponding control identification code of the reference file identification code.
Further, the play control includes display window;
Then the file identification code of the audio-video document is obtained in the extraction from the audio/video frames, and by the sound
Frame of video sends into the play control corresponding to the control identification code corresponding with the file identification code-phase and played
While, in addition to:
The user profile of the transmitting terminal is obtained according to the transmitting terminal identification code, and the user profile is sent to institute
The display window for stating play control is shown.
Further, the file type includes audio file type and video file type;The audio-video document with
The form transmission of data flow.
Further, the file-sharing instruction is receiving the file application requests of the transmitting terminal transmission by service end
When send.
The embodiment of the present invention additionally provides a kind of audio-video document sharing means, including:
Shared instruction parsing module, for when in more people's Chat modes, instructing and carrying out to the file-sharing received
Parsing, obtain the file type of transmitting terminal identification code and audio-video document to be shared;Wherein, the transmitting terminal identification code is common
Enjoy the identification code of the transmitting terminal of the audio-video document;
Play control creation module, for creating corresponding play control according to the file type, and according to the hair
Sending end identification code and the file type generate the control identification code of the play control;And
File Real-Time Sharing module, for whenever the audio/video frames of the audio-video document are received, being regarded from the sound
Extraction obtains the file identification code of the audio-video document in frequency frame, and by the audio/video frames send to the file identification
Played in the play control corresponding to code-phase corresponding to the control identification code.
The embodiment of the present invention additionally provides a kind of audio-video document shared system, including at least one transmitting terminal, service end
And at least one receiving terminal;Wherein:
The service end is used for for corresponding to each transmitting terminal, each receiving terminal and the distribution of each file type
Identification code;The service end sends file-sharing when receiving the file application requests that the transmitting terminal is sent and instructed to described
Receiving terminal, and the identification code of the transmitting terminal in the file application requests and the generation of the identification code of the file type
Corresponding file identification code;The service end is additionally operable to receive the shared audio-video document of the transmitting terminal and by the sound
Each audio/video frames of video file are forwarded to the corresponding receiving terminal successively;
Each transmitting terminal is used to send the file application requests to the service end;The transmitting terminal is receiving
After the file identification code returned to the service end, rower is entered to the audio-video document using the file identification code
Know, and the audio-video document Jing Guo the mark is sent into the service end and shared;
Each receiving terminal is used to perform the audio-video document sharing method described in any of the above-described.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, and the computer-readable recording medium includes
The computer program of storage;Wherein, where the computer program operationally controls the computer-readable recording medium
Equipment performs the audio-video document sharing method described in any of the above-described.
The embodiment of the present invention additionally provides a kind of terminal device, including at least one memory and at least one processing
Device;Wherein:
The memory includes at least one executable program of storage;
The processor is used to perform the executable program, and the processor is realized when performing the executable program
Audio-video document sharing method described in any of the above-described.
Compared with prior art, the embodiments of the invention provide a kind of audio-video document sharing method, apparatus and system, meter
Calculation machine readable storage medium storing program for executing, terminal device, by being that audio-video document distribution to be shared is unique right in more people's Chat modes
The play control answered, and whenever a frame data of audio-video document to be shared are received, will the audio/video frames data
Transmission plays into the play control, can realize that the real-time broadcasting of the audio-video document in more people's chat process is shared, and
Without waiting for that could be played after being finished to audio-video document download, so as to improve the audio-video document in more people's Chat modes
Shared promptness, and then improve Consumer's Experience.
Brief description of the drawings
Fig. 1 is the structured flowchart of a preferred embodiment of audio-video document shared system provided by the invention;
Fig. 2 is the flow chart of a preferred embodiment of audio-video document sharing method provided by the invention;
Fig. 3 is the display effect schematic diagram of a preferred embodiment of audio-video document sharing method provided by the invention;
Fig. 4 is the structured flowchart of a preferred embodiment of audio-video document sharing means provided by the invention;
Fig. 5 is the structured flowchart of a preferred embodiment of terminal device provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained all under the premise of creative work is not made
Other embodiment, belong to the scope of protection of the invention.
The embodiments of the invention provide a kind of audio-video document shared system.
It is the structured flowchart of a preferred embodiment of audio-video document shared system provided by the invention referring to Fig. 1, bag
Include at least one transmitting terminal 11, service end 12 and at least one receiving terminal 13;Wherein:
The service end 12 is used for for each transmitting terminal 11, each receiving terminal 13 and each file type distribution
Corresponding identification code;The service end 12 sends file-sharing when receiving the file application requests that the transmitting terminal 11 is sent
Instruction is to the receiving terminal 13, and the identification code of the transmitting terminal 11 in the file application requests and the files classes
File identification code corresponding to the identification code generation of type;The service end 12 is additionally operable to receive the shared sound of the transmitting terminal 11
Each audio/video frames of the audio-video document are simultaneously forwarded to the corresponding receiving terminal 13 by video file successively;
Each transmitting terminal 11 is used to send the file application requests to the service end 12;The transmitting terminal 11
After the file identification code that the service end 12 returns is received, using the file identification code to the audio-video document
It is identified, and the audio-video document Jing Guo the mark is sent into the service end 12 and shared;
Each receiving terminal 13 is used to perform the audio-video document sharing method described in any of the above-described.
It should be noted that in the present embodiment, added whenever there is new client to the shared system of above-mentioned audio-video document
During system, the service end in the system can configure corresponding and unique client identification code for the new client automatically.
In above-mentioned audio-video document shared system, when in more people's Chat modes, one or more of which visitor
Family end can initiate real-time audio-video document and share, so that audio-video document to be shared is being transferred to other clients
While end, played in real time in other clients.In the present embodiment, the client shared by audio-video document is initiated
As transmitting terminal, the shared client of the audio-video document will be received as receiving terminal.Specifically, the audio-video document was shared
Journey is mainly made up of shared preparatory stage and shared implementation stage.
In the above-mentioned shared preparatory stage, first, transmitting terminal is according to itself identification code and audio-video document to be shared
File type generates corresponding file application requests, and this document sharing request is sent to service end;The service end is receiving
To after this document sharing request, this document sharing request is parsed, obtains transmitting terminal identification code therein and to be shared
Audio-video document file type, and corresponding file-sharing is generated according to the transmitting terminal identification code and this document type and referred to
Order, and this document shared instruction is sent to the shared receiving terminal of corresponding reception audio-video document;At the same time, service end
The transmitting terminal identification code and file type obtained according to parsing generates corresponding file identification code, and this document identification code is returned
To above-mentioned transmitting terminal;Above-mentioned receiving terminal is after the file-sharing instruction of service end transmission is received, to this document shared instruction
Parsed, obtain the file type of transmitting terminal identification code therein and audio-video document to be shared;Then, the receiving terminal root
The file type obtained according to parsing generates corresponding play control, and the transmitting terminal obtained according to this document type and parsing identifies
Code configures corresponding control identification code for the play control.
In the above-mentioned shared implementation stage, the file identification code that above-mentioned service end returns is allocated to sound to be shared by transmitting terminal
Video file, and frame by frame is sent to service end frame by frame by the audio-video document by configuration;The service end is whenever receiving
During the audio/video frames that above-mentioned transmitting terminal is sent, the audio/video frames are forwarded in corresponding receiving terminal;The receiving terminal is whenever reception
To the audio/video frames of service end forwarding, then the audio/video frames are parsed, so as to obtain the file identification in the audio/video frames
Code, and the audio/video frames are sent into the play control corresponding to the control identification code corresponding with this document identification code and shown
Show.
The audio-video document shared system that the embodiment of the present invention is provided, by being to be shared in more people's Chat modes
Play control corresponding to audio-video document distribution is unique, and whenever the frame data for receiving audio-video document to be shared
When, will the audio/video frames data send into the play control and play, the audio frequency and video in more people's chat process can be realized
The real-time broadcasting of file is shared, without waiting until that audio-video document download could play after finishing, so as to improve in more people
The promptness that audio-video document in Chat mode is shared, and then improve Consumer's Experience.
The embodiment of the present invention additionally provides a kind of audio-video document sharing method.
It is the flow chart of a preferred embodiment of audio-video document sharing method provided by the invention referring to Fig. 2, including
Step S21 to S23, it is specially:
S21, when in more people's Chat modes, to receive file-sharing instruction parse, obtain transmitting terminal mark
Know the file type of code and audio-video document to be shared;Wherein, the transmitting terminal identification code is to share the audio-video document
Transmitting terminal identification code.
It should be noted that the embodiment of the present invention is performed by the receiving terminal in above-mentioned audio-video document shared system.This hair
Bright embodiment is applied to more people's Chat modes (video more than such as Video chat of two people, three people or three people of multiterminal interaction
Meeting etc.).
In the present embodiment, in more people's Chat modes, transmitting terminal is by sending file application requests to the side of service end
Formula is initiated audio-video document and shared;Service end is shared when receiving the file application requests of transmitting terminal transmission to this document
Request is parsed, so as to obtain the file type of transmitting terminal identification code therein and audio-video document to be shared, and according to
The transmitting terminal identification code and this document type generate corresponding file-sharing instruction;Then, service end is by this document shared instruction
Send to one or more receiving terminal, receive the shared preparation of audio-video document to cause each receiving terminal to carry out;Receiving terminal
After the file-sharing instruction of service end transmission is received, parsed from this document shared instruction and obtain above-mentioned transmitting terminal mark
The file type of code and audio-video document to be shared, and carried out according to the transmitting terminal identification code and this document type and connect accordingly
Receive the preparation of audio-video document to be shared.
S22, corresponding play control created according to the file type, and according to the transmitting terminal identification code and the text
Part type generates the control identification code of the play control.
In the present embodiment, receiving terminal obtains the text of above-mentioned transmitting terminal identification code and audio-video document to be shared in parsing
After part type, the standard for receiving audio-video document to be shared accordingly is carried out according to the transmitting terminal identification code and this document type
It is standby.Specifically, corresponding play control is created according to this document type first, for playing the audio frequency and video text to be shared
Part, then, the control identification code of play control is generated according to the transmitting terminal identification code and file type, for distinguishing from not
Same transmitting terminal and different types of audio-video document.
In a further advantageous embodiment, the file type is using file type mark representation, then step S22 can be with
Further comprise sub-step S2201 to S2202:
S2201, the corresponding play control created according to the file type identification code;
S2202, the transmitting terminal identification code and the result that the file type identification code is added to obtain be arranged to described
The control identification code of play control.
In the present embodiment, file type is using file type mark representation, and this document type identification code is by above-mentioned clothes
Arrange to generate in advance with each client in business end.Specifically, file type information and files classes are preserved in above-mentioned service end
The mapping table of type identification code;Transmitting terminal will include audio frequency and video to be shared during initiating audio-video document and sharing
The file application requests of the file type information of file are sent to above-mentioned service end so that the service end is asked according to this document is shared
File type information in asking inquires about above-mentioned mapping table, so that it is determined that the files classes corresponding to audio-video document to be shared
Type identification code;Then, service end sends the file-sharing instruction comprising this document type identification code to receiving terminal;The receiving terminal
After this document shared instruction is received, read from this document shared instruction and obtain transmitting terminal identification code and above-mentioned files classes
Type identification code, and after corresponding play control is created according to this document type identification code, according to this document type identification code
It is that the play control configures corresponding control identification code with above-mentioned transmitting terminal identification code.
It is highly preferred that service end, which is each client, configures synchronous source identifier SSRC as client identification code;Clothes
It is engaged in arranging using positive integer n as file type identification code between end and each client, wherein, different n values represent different
File type.
In the present embodiment, receiving terminal is obtaining transmitting terminal identification code SSRC according to the file-sharing instruction received and treated
After the file type identification code n of shared audio-video document, corresponding play control is created according to this document type identification code n,
And foregoing transmitting terminal identification code SSRC and this document type identification code n sums are arranged to the control identification code of the play control,
Then the control identification code of the play control is arranged to SSRC+n.
For example, it is assumed that the transmitting terminal identification code SSRC=5580 of a certain transmitting terminal, between service end and each client about
The file type identification code n=1 of accordatura frequency file, the file type identification code n=2 of video file, then when the transmitting terminal is initiated
When video file is shared, receiving terminal is the corresponding play control of video file creating to be shared, and is matched somebody with somebody for the play control
Put the control identification code that value is 5582 (because of 5580+2=5582).
S23, whenever the audio/video frames of the audio-video document are received, from the audio/video frames extraction obtain described
The file identification code of audio-video document, and the audio/video frames are sent to the control corresponding with the file identification code-phase
Played in the play control corresponding to identification code.
In the present embodiment, transmitting terminal sends audio-video document to be shared to service end in the form of frames.Wherein, respectively
The file identification code of the audio-video document to be shared is included in individual audio/video frames.Service end whenever receive the transmitting terminal hair
During the audio/video frames sent, the audio/video frames are transmitted to corresponding receiving terminal.Receiving terminal is whenever the sound for receiving service end forwarding
During frame of video, the file identification code for obtaining audio-video document to be shared is extracted from the audio/video frames, and according to this document mark
Know the local each play control of code inquiry, judge wherein whether identification code is consistent with this document identification code is broadcast with playing
Control is put, is played if so, then sending the audio/video frames received into the play control, if it is not, then regarding the sound received
Frequency frame abandons, and/or the corresponding miscue information of generation.
In another preferred embodiment, the file identification code is receiving the text of the transmitting terminal transmission by service end
The transmitting terminal identification code and the file type generation during part sharing request in the file application requests;In step
Before S23 is performed, in addition to:
The transmitting terminal identification code and file type generation reference file mark in being instructed according to the file-sharing
Know code.
Then above-mentioned steps S23 may further include sub-step S2301 to S2302:
S2301, extraction obtains the file identification code of the audio-video document from the audio/video frames;
S2302, when judging that the file identification code is identical with the reference file identification code, the audio/video frames are sent out
Deliver in the play control corresponding to the control identification code corresponding with the reference file identification code and play.
In the present embodiment, receiving terminal is after file-sharing instruction is received, according to the hair in this document shared instruction
Sending end identification code and file type identification code generate corresponding reference file identification code, for the audio frequency and video received to the later stage
Transmitting terminal and file type corresponding to frame are verified.Specifically, receiving terminal is after an audio/video frames are received, from the sound
Extraction obtains corresponding file identification code in frame of video, and this document identification code and said reference file identification code are compared
It is right, judge whether the two is consistent, if unanimously, illustrating that the transmitting terminal for sending the audio/video frames is total to initiate audio-video document early stage
The transmitting terminal enjoyed, and the file type of the audio/video frames is to be intended to shared file type early stage, therefore the audio/video frames are sent
Played into corresponding play control, if inconsistent, illustrate the transmitting terminal mistake or corresponding corresponding to the audio/video frames
File type mistake, therefore the audio/video frames are abandoned, and/or corresponding miscue information is generated so that user is carried out accordingly
Processing.
It is highly preferred that service end, which is each client, configures synchronous source identifier SSRC as client identification code;Clothes
It is engaged in arranging using positive integer n as file type identification code between end and each client, wherein, different n values represent different
File type.
In the present embodiment, service end is shared when receiving the file application requests of transmitting terminal transmission according to this document
Transmitting terminal identification code SSRC and file type identification code n generation file identification code SSRC1 (wherein, SSRC1=SSRC in request
+ n), and this document identification code SSRC1 is back to transmitting terminal;Receiving terminal is receiving the file-sharing instruction of service end transmission
Afterwards, the transmitting terminal identification code SSRC in this document shared instruction and file type identification code n generations reference file mark
Code SSRC2 (wherein, SSRC2=SSRC+n);In the file-sharing stage, above-mentioned file identification code SSRC1 is allocated to by transmitting terminal
After audio-video document to be shared, the audio/video frames of the audio-video document are sent to receiving terminal, receiving terminal via service end
Extraction obtains above-mentioned file identification code SSRC1 from the audio/video frames received, and by this document identification code SSRC1 and above-mentioned base
Quasi- file identification code SSRC2 compares, and judges whether the two is consistent, if unanimously, then it is assumed that the audio/video frames are initiation sound in advance
That the shared transmitting terminal of video is sent and belong to the audio/video frames for being intended to shared file type, the audio/video frames are predetermined in advance
The audio/video frames being intended in shared audio-video document, thus by audio/video frames send to the reference file identification code SSRC2 phases
Played in play control corresponding to consistent control identification code, if inconsistent, then it is assumed that the audio/video frames are not predetermined in advance
The audio/video frames being intended in shared audio-video document, therefore the audio/video frames are abandoned, and/or the corresponding miscue of generation
Information is handled accordingly for user.
In another preferred embodiment, the play control includes display window, then while step S23 is performed,
Also include:
The user profile of the transmitting terminal is obtained according to the transmitting terminal identification code, and the user profile is sent to institute
The display window for stating play control is shown.
In the present embodiment, the display window of play control is used to show the audio-video document that receiving terminal receives.Receive
End obtains after extraction obtains transmitting terminal identification code in being instructed from file-sharing according to the transmitting terminal identification code from service end
The user profile of transmitting terminal corresponding to the transmitting terminal identification code, and the user profile is sent and shown into display window
Show.
In any of the above-described individual embodiment, the file type includes audio file type and video file type;It is described
Audio-video document is transmitted in the form of data flow.
In any of the above-described individual embodiment, the file-sharing instruction is receiving what the transmitting terminal was sent by service end
Sent during file application requests.
In any of the above-described individual embodiment, file type can be audio file type, video file type, document files
Type etc..When file type is audio file type, the play control that receiving terminal is created can be music player etc..When
When file type is video file type, the play control that receiving terminal is created can be video player etc..
Audio-video document can be transmitted in the form of data flow, then above-mentioned file identification code is that above-mentioned service end is above-mentioned treats
The identification code of the data flow of shared audio-video document distribution.It should be further stated that the data flow of the audio-video document
It can independently of each other transmit, can also be fused to the data flow of the real-time video captured by the camera in more people's Chat modes
Total data stream is transmitted all the way.
The audio-video document sharing method that the embodiment of the present invention is provided, by being to be shared in more people's Chat modes
Play control corresponding to audio-video document distribution is unique, and whenever the frame data for receiving audio-video document to be shared
When, will the audio/video frames data send into the play control and play, the audio frequency and video in more people's chat process can be realized
The real-time broadcasting of file is shared, without waiting until that audio-video document download could play after finishing, so as to improve in more people
The promptness that audio-video document in Chat mode is shared, and then improve Consumer's Experience.
It is that the display effect of a preferred embodiment of audio-video document sharing method provided by the invention is shown referring to Fig. 3
It is intended to.A kind of specific work process of audio-video document sharing method provided in an embodiment of the present invention is retouched in detail below
State:
As shown in Fig. 3 (a), there are three clients to carry out video calling, including A clients, B visitor in video conference
Family end and C clients, it is assumed that A clients are transmitting terminal, and B clients and C clients are receiving terminal, and service end is each visitor
Family end configures synchronous source identifier SSRC as client identification code, and agreement is with positive integer between service end and each client
N is as file type identification code.
Transmitting terminal A sends file-sharing by clicking on button or audio-video document being dragged in into video conference window to service end
Request;Service end is parsed to this document sharing request, obtained when receiving the file application requests of transmitting terminal A transmissions
The transmitting terminal A transmitting terminal identification code SSRC and file type identification code n of audio-video document to be shared, according to the transmitting terminal mark
Know code SSRC and file type identification code n generation file identification code SSRC1 (SSRC1=SSRC+n), and by this document identification code
SSRC1 is back to transmitting terminal A, it is assumed here that transmitting terminal A transmitting terminal identification code SSRC=5590, file type identification code n=
2, file type is video file, then file identification code SSRC1=5592;Meanwhile service end is according to the transmitting terminal identification code
SSRC and file type identification code n generate corresponding file-sharing and instruct and send to receiving terminal B and receiving terminal C, below to connect
Illustrated exemplified by receiving end C, receiving terminal B situations are similarly.
Receiving terminal C is parsed from this document shared instruction and obtained after the file-sharing instruction of service end transmission is received
Obtain transmitting terminal A transmitting terminal identification code SSRC=5590 and the file type identification code n=2 of audio-video document to be shared;By
In n=2, video file is represented, receiving terminal C is that the play control of shared video file creating is video player, and should
The control identification code of video player is 5592;Meanwhile receiving terminal C identifies according to the transmitting terminal identification code SSRC and file type
Code n generates reference file identification code SSRC2 (SSRC2=SSRC+n), then reference file identification code SSRC2=5592.
The file identification code SSRC1 that service end returns is allocated to video file to be shared by transmitting terminal A, and by the video
The data flow of file is sent to receiving terminal C by service end;Receiving terminal C is extracted from the data flow and is obtained file identification code
SSRC1=5592, this document identification code SSRC1=5592 is compared with reference file identification code SSRC2, now SSRC2=
5592, it is consistent with SSRC1, then the data flow is sent into the video player that control identification code is 5592 and played;Meanwhile connect
Receiving end C determines transmitting terminal A use according to the transmitting terminal A obtained from file-sharing instruction transmitting terminal identification code SSRC=5590
Family information, and the window that the user profile is sent to video player is shown.On the other hand, if receiving terminal C is looked for not
To the reference file identification code consistent with file identification code SSRC1=5592, then the data flow is abandoned, and/or generation phase
The miscue information answered is so that user is handled accordingly.
It is two kinds of broadcast modes of shared audio-video document as shown in Fig. 3 (b) and Fig. 3 (c):Side shown in Fig. 3 (b)
Formula is that transmitting terminal A is sent the data flow of shared audio-video document as single data flow all the way, and receiving terminal C is this way
A single display window is created according to stream to be used for playing shared audio-video document, the audio-video document that this mode will be shared
It is added to as client in video conference, the picture to show audio-video document in a manner of the video conference picture for showing client
Face;Mode shown in Fig. 3 (c) is video conferences of the transmitting terminal A by the data flow and transmitting terminal A of shared audio-video document in itself
Data stream merging be that data flow all the way is sent, and not as individually data flow is sent all the way, receiving terminal C receiving this road
A subwindow can be created during data flow in the video windows of receiving terminal C in itself to be used for playing shared audio-video document, altogether
The audio-video document enjoyed shows in the form of subwindow with together with receiving terminal C video windows in itself, the shortcomings that this mode
In sacrificing flexibility, shared audio-video document can not be extracted individually, but can save transmission bandwidth, receiving terminal
C display interface need not logically make any change.
After shared audio-video document, which plays, to be terminated, broadcast window is closed, video conference is returned to as shown in Fig. 3 (a)
State.
Because shared audio-video document is transmitted in the form of data flow, receiving terminal need not download complete audio frequency and video
File, but directly the data flow received every time is handled to play display, if receiving terminal is used such as Fig. 3 (b) institutes
The mode shown, and there is receiving terminal data flow to preserve function, it is also an option that being after shared audio-video document broadcasting terminates
No preservation file, and due to audio-video document all data flows play terminate when end of transmission, preserve text
The operation of part is locally completed, and without again waiting for the transmission of file, is shared this improves audio-video document timely
Property simultaneously improves Consumer's Experience.
If transmitting terminal carried out the operations such as play position selection in shared audio-video document, certain part has been skipped
The situation of excalation just occurs in audio frequency and video, the data of audio-video document, and now, receiving terminal will be unable to receive complete sound
Video file, the function of above-mentioned preservation file is also just nonsensical, considers from Consumer's Experience angle, and transmitting terminal is playing out position
Need to send prompting message before putting the operation such as selection, to avoid receiving terminal selection from preserving file.
The embodiment of the present invention additionally provides a kind of audio-video document sharing means, can realize that the sound in above-described embodiment regards
All flows of frequency file sharing method.
It is the structured flowchart of a preferred embodiment of audio-video document sharing means provided by the invention referring to Fig. 4, bag
Include:
Shared instruction parsing module 31, for when in more people's Chat modes, the file-sharing received is instructed into
Row parsing, obtain the file type of transmitting terminal identification code and audio-video document to be shared;Wherein, the transmitting terminal identification code is
Share the identification code of the transmitting terminal of the audio-video document;
Play control creation module 32, for creating corresponding play control according to the file type, and according to described
Transmitting terminal identification code and the file type generate the control identification code of the play control;And
File Real-Time Sharing module 33, for whenever the audio/video frames of the audio-video document are received, from the sound
Extraction obtains the file identification code of the audio-video document in frame of video, and by the audio/video frames send to the files-designated
Know in the play control corresponding to code-phase corresponding to the control identification code and play.
Specifically, the file type identifies representation using file type, then the play control creation module 32 has
Body is:
Control creating unit, for creating the corresponding play control according to the file type identification code;And
Control identification code setting unit, for the transmitting terminal identification code to be added to obtain with the file type identification code
Result be arranged to the control identification code of the play control.
Specifically, the file identification code by service end the root when receiving the file application requests that the transmitting terminal is sent
Generated according to the transmitting terminal identification code in the file application requests and the file type;
The audio-video document sharing means also include:
Reference file identification code generating module, for according to the file-sharing instruct in the transmitting terminal identification code and
The file type generates reference file identification code;
Then the file Real-Time Sharing module 33 is specially:
File identification code extraction unit, the text of the audio-video document is obtained for being extracted from the audio/video frames
Part identification code;And
File broadcast unit, for when judging that the file identification code is identical with the reference file identification code, by institute
Audio/video frames are stated to send to the broadcasting control corresponding to the control identification code corresponding with the reference file identification code
Played in part.Specifically, the play control includes display window;
Then the audio-video document sharing means also include:
User profile display module, for obtaining the user profile of the transmitting terminal according to the transmitting terminal identification code, and
The display window that the user profile is sent to the play control is shown.
Specifically, the file type includes audio file type and video file type;The audio-video document is with number
Transmitted according to the form of stream.
Specifically, the file-sharing is instructed by service end when receiving the file application requests that the transmitting terminal is sent
Send.
The audio-video document sharing means that the embodiment of the present invention is provided, by being to be shared in more people's Chat modes
Play control corresponding to audio-video document distribution is unique, and whenever the frame data for receiving audio-video document to be shared
When, will the audio/video frames data send into the play control and play, the audio frequency and video in more people's chat process can be realized
The real-time broadcasting of file is shared, without waiting until that audio-video document download could play after finishing, so as to improve in more people
The promptness that audio-video document in Chat mode is shared, and then improve Consumer's Experience.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, and the computer-readable recording medium includes
The computer program of storage;Wherein, where the computer program operationally controls the computer-readable recording medium
Equipment performs the audio-video document sharing method described in any of the above-described.
The embodiment of the present invention additionally provides a kind of terminal device.
It is the structured flowchart of a preferred embodiment of terminal device provided by the invention referring to Fig. 5, including it is at least one
Memory 41 and at least one processor 42;Wherein:
The memory 41 includes at least one executable program of storage;
The processor 42 is used to perform the executable program, and the processor 42 is when performing the executable program
Realize the audio-video document sharing method described in any of the above-described.
It should be noted that Fig. 5 only enters so that a memory in the terminal device and a processor are connected as an example
Row explanation, in some specific embodiments, can also include multiple memories and/or multiple processors in the terminal device,
Its specific number and connected mode can need to be configured according to actual conditions and accommodation.
To sum up, the embodiment of the present invention is provided audio-video document sharing method, apparatus and system, computer-readable storage
Medium, terminal device, by being that audio-video document to be shared distributes unique corresponding play control in more people's Chat modes,
And whenever a frame data of audio-video document to be shared are received, will the audio/video frames data send to the broadcasting control
Played in part, can realize that the real-time broadcasting of the audio-video document in more people's chat process is shared, without waiting until that sound regards
Frequency file download could play after finishing, so as to improve the shared promptness of the audio-video document in more people's Chat modes,
And then improve Consumer's Experience.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, without departing from the technical principles of the invention, some improvement and deformation can also be made, these are improved and deformation
Also it should be regarded as protection scope of the present invention.
Claims (10)
- A kind of 1. audio-video document sharing method, it is characterised in that including:When in more people's Chat modes, the file-sharing instruction received is parsed, transmitting terminal identification code is obtained and treats The file type of shared audio-video document;Wherein, the transmitting terminal identification code is the transmitting terminal for sharing the audio-video document Identification code;Corresponding play control is created according to the file type, and given birth to according to the transmitting terminal identification code and the file type Into the control identification code of the play control;Whenever the audio/video frames of the audio-video document are received, extracted from the audio/video frames and obtain the audio frequency and video text The file identification code of part, and the audio/video frames are sent to the control identification code institute corresponding with the file identification code-phase Played in the corresponding play control.
- 2. audio-video document sharing method as claimed in claim 1, it is characterised in that the file type uses file type Identify representation;It is then described that corresponding play control is created according to the file type, and according to the transmitting terminal identification code and the file The control identification code that type generates the play control is specially:The corresponding play control is created according to the file type identification code;The transmitting terminal identification code is arranged to the play control with the result that the file type identification code is added to obtain The control identification code.
- 3. audio-video document sharing method as claimed in claim 1, it is characterised in that the file identification code is existed by service end Transmitting terminal identification code when receiving the file application requests that the transmitting terminal is sent in the file application requests Generated with the file type;The file identification code of the audio-video document is obtained in the extraction from the audio/video frames, and by the audio/video frames Send before being played into the play control corresponding to the control identification code corresponding with the file identification code-phase, also Including:The transmitting terminal identification code and file type generation reference file identification code in being instructed according to the file-sharing;The then extraction from the audio/video frames obtains the file identification code of the audio-video document, and by the audio/video frames Send to play into the play control corresponding to the control identification code corresponding with the file identification code-phase and be specially:Extraction obtains the file identification code of the audio-video document from the audio/video frames;When judging that the file identification code is identical with the reference file identification code, by the audio/video frames send to it is described Played in the play control corresponding to the corresponding control identification code of reference file identification code.
- 4. audio-video document sharing method as claimed in claim 1, it is characterised in that the play control includes display window Mouthful;Then the file identification code of the audio-video document is obtained in the extraction from the audio/video frames, and by the audio frequency and video Frame send into the play control corresponding to the control identification code corresponding with the file identification code-phase play it is same When, in addition to:The user profile of the transmitting terminal is obtained according to the transmitting terminal identification code, and the user profile is sent to described and broadcast The display window for putting control is shown.
- 5. the audio-video document sharing method as any one of Claims 1-4, it is characterised in that the file type Including audio file type and video file type;The audio-video document is transmitted in the form of data flow.
- 6. the audio-video document sharing method as any one of Claims 1-4, it is characterised in that the file-sharing Instruction is sent by service end when receiving the file application requests that the transmitting terminal is sent.
- A kind of 7. audio-video document sharing means, it is characterised in that including:Shared instruction parsing module, for when in more people's Chat modes, being parsed to the file-sharing instruction received, Obtain the file type of transmitting terminal identification code and audio-video document to be shared;Wherein, the transmitting terminal identification code is shared institute State the identification code of the transmitting terminal of audio-video document;Play control creation module, for creating corresponding play control according to the file type, and according to the transmitting terminal Identification code and the file type generate the control identification code of the play control;AndFile Real-Time Sharing module, for whenever the audio/video frames of the audio-video document are received, from the audio/video frames Middle extraction obtains the file identification code of the audio-video document, and by the audio/video frames send to the file identification code-phase Played in the play control corresponding to the corresponding control identification code.
- 8. a kind of audio-video document shared system, it is characterised in that including at least one transmitting terminal, service end and at least one Receiving terminal;Wherein:The service end is used for be identified corresponding to each transmitting terminal, each receiving terminal and the distribution of each file type Code;The service end sends file-sharing when receiving the file application requests that the transmitting terminal is sent and instructed to the reception End, and the identification code of the transmitting terminal in the file application requests and the generation of the identification code of the file type are corresponding File identification code;The service end is additionally operable to receive the shared audio-video document of the transmitting terminal and by the audio frequency and video Each audio/video frames of file are forwarded to the corresponding receiving terminal successively;Each transmitting terminal is used to send the file application requests to the service end;The transmitting terminal is receiving After the file identification code for stating service end return, the audio-video document is identified using the file identification code, and The audio-video document Jing Guo the mark is sent into the service end shared;Each receiving terminal is used to perform the audio-video document sharing method as any one of claim 1 to 6.
- 9. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium includes the calculating of storage Machine program;Wherein, the equipment where the computer program operationally controls the computer-readable recording medium performs such as Audio-video document sharing method any one of claim 1 to 6.
- 10. a kind of terminal device, it is characterised in that including at least one memory and at least one processor;Wherein:The memory includes at least one executable program of storage;The processor is used to perform the executable program, and the processor is realized when performing the executable program as weighed Profit requires the audio-video document sharing method any one of 1 to 6.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711016804.0A CN107846634B (en) | 2017-10-26 | 2017-10-26 | Audio and video file sharing method, device and system, storage medium and terminal equipment |
PCT/CN2017/116314 WO2019080309A1 (en) | 2017-10-26 | 2017-12-15 | Audio and video file sharing method, device and system, storage medium and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711016804.0A CN107846634B (en) | 2017-10-26 | 2017-10-26 | Audio and video file sharing method, device and system, storage medium and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107846634A true CN107846634A (en) | 2018-03-27 |
CN107846634B CN107846634B (en) | 2020-01-14 |
Family
ID=61662983
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711016804.0A Active CN107846634B (en) | 2017-10-26 | 2017-10-26 | Audio and video file sharing method, device and system, storage medium and terminal equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107846634B (en) |
WO (1) | WO2019080309A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111049792A (en) * | 2019-10-08 | 2020-04-21 | 广州视源电子科技股份有限公司 | Audio transmission method and device, terminal equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006146804A (en) * | 2004-11-24 | 2006-06-08 | Nippon Telegr & Teleph Corp <Ntt> | Video content providing method, device, and program |
CN102694989A (en) * | 2011-08-26 | 2012-09-26 | 新奥特(北京)视频技术有限公司 | Method and system for transmitting television program multimedia file |
CN103237191A (en) * | 2013-04-16 | 2013-08-07 | 成都飞视美视频技术有限公司 | Method for synchronously pushing audios and videos in video conference |
CN103744863A (en) * | 2013-12-13 | 2014-04-23 | 乐视致新电子科技(天津)有限公司 | Multimedia file playing method and electronic device |
CN104602133A (en) * | 2014-11-21 | 2015-05-06 | 腾讯科技(北京)有限公司 | Multimedia file shearing method and terminal as well as server |
CN106454497A (en) * | 2016-10-31 | 2017-02-22 | 乐视控股(北京)有限公司 | Method and device for screen-mirroring playing of video |
-
2017
- 2017-10-26 CN CN201711016804.0A patent/CN107846634B/en active Active
- 2017-12-15 WO PCT/CN2017/116314 patent/WO2019080309A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006146804A (en) * | 2004-11-24 | 2006-06-08 | Nippon Telegr & Teleph Corp <Ntt> | Video content providing method, device, and program |
CN102694989A (en) * | 2011-08-26 | 2012-09-26 | 新奥特(北京)视频技术有限公司 | Method and system for transmitting television program multimedia file |
CN103237191A (en) * | 2013-04-16 | 2013-08-07 | 成都飞视美视频技术有限公司 | Method for synchronously pushing audios and videos in video conference |
CN103744863A (en) * | 2013-12-13 | 2014-04-23 | 乐视致新电子科技(天津)有限公司 | Multimedia file playing method and electronic device |
CN104602133A (en) * | 2014-11-21 | 2015-05-06 | 腾讯科技(北京)有限公司 | Multimedia file shearing method and terminal as well as server |
CN106454497A (en) * | 2016-10-31 | 2017-02-22 | 乐视控股(北京)有限公司 | Method and device for screen-mirroring playing of video |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111049792A (en) * | 2019-10-08 | 2020-04-21 | 广州视源电子科技股份有限公司 | Audio transmission method and device, terminal equipment and storage medium |
CN111049792B (en) * | 2019-10-08 | 2022-03-22 | 广州视源电子科技股份有限公司 | Audio transmission method and device, terminal equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107846634B (en) | 2020-01-14 |
WO2019080309A1 (en) | 2019-05-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105763832B (en) | A kind of video interactive, control method and device | |
US20230067099A1 (en) | Method and server for performing game battle in live broadcast room, and storage medium | |
CN112235121B (en) | Method, device, equipment and storage medium for realizing online conference | |
US8593994B2 (en) | Methods and program products for organizing virtual meetings | |
CN107613242A (en) | Video conference processing method and terminal, server | |
JP2004515173A (en) | Integrated delivery architecture for multipoint video conferencing and interactive broadcast systems | |
CN102893603B (en) | Video conferencing processing method, apparatus and communication system | |
CN102185856B (en) | Team organizing video method, device and system used in team organizing game | |
CN113014847B (en) | Method and system for realizing audio and video communication based on hybrid cloud architecture | |
WO2017173966A1 (en) | Recording control method and device | |
WO2016019775A1 (en) | Conference migration method, device and system | |
CN113596381B (en) | Audio data acquisition method and device | |
CN111246150A (en) | Control method, system, server and readable storage medium for video conference | |
WO2020001610A1 (en) | Method and device for joining video | |
US9357167B2 (en) | Participating in a peer-to-peer communication session | |
CN107318052A (en) | Player method, television set and the storage medium of television video | |
CN107846609B (en) | Real-time transmission method, device and system for control room data | |
CN107846634A (en) | Audio and video file sharing method, device and system, storage medium and terminal equipment | |
CN104158673A (en) | Conference mode selection method and server | |
CN103973721B (en) | Multimedia conferencing mothed of participating, control method, transmission method, apparatus and system | |
KR102545276B1 (en) | Communication terminal based group call security apparatus and method | |
CN114629898B (en) | Multi-client collaboration method and electronic equipment | |
CN103731337B (en) | Transfer method, system and the device and agent client of text chat session | |
CN114071170B (en) | Network live broadcast interaction method and device | |
CN107995201A (en) | Data transmission method and device, server and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |