Movatterモバイル変換


[0]ホーム

URL:


CN104602133A - Multimedia file shearing method and terminal as well as server - Google Patents

Multimedia file shearing method and terminal as well as server
Download PDF

Info

Publication number
CN104602133A
CN104602133ACN201410676967.1ACN201410676967ACN104602133ACN 104602133 ACN104602133 ACN 104602133ACN 201410676967 ACN201410676967 ACN 201410676967ACN 104602133 ACN104602133 ACN 104602133A
Authority
CN
China
Prior art keywords
client
multimedia file
server
dialog box
play
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
Application number
CN201410676967.1A
Other languages
Chinese (zh)
Other versions
CN104602133B (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.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing 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 Tencent Technology Beijing Co LtdfiledCriticalTencent Technology Beijing Co Ltd
Priority to CN201410676967.1ApriorityCriticalpatent/CN104602133B/en
Publication of CN104602133ApublicationCriticalpatent/CN104602133A/en
Application grantedgrantedCritical
Publication of CN104602133BpublicationCriticalpatent/CN104602133B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention discloses a multimedia file shearing method and a terminal as well as a server, wherein the method comprises the following steps: a first client side sends a sharing request order to a server, wherein the sharing request order is used for indicating the server to share the multimedia file stored at a network side to the first client side and the second client side; the first client side receives data flow of the multimedia file sent by the server; the first client side plays the multimedia file in a dialog box on the first client side according to the data flow of the multimedia file, wherein the dialog box is used for registering a first account number of the first client side and a second account number of a second client side to perform dialog. The multimedia file shearing method can be used for solving a technical problem that the multimedia file shearing operation is increased in complexity due to an existing multimedia file shearing mode.

Description

Multimedia file shares method and terminal and server
Technical field
The present invention relates to computer realm, share method and terminal and server in particular to a kind of multimedia file.
Background technology
Nowadays, along with the development of the communication technology, increasing user no longer meets voice dialogue, but brings into use video conversation, thus realizes can also seeing the other side and residing environment thereof while dialogue.Further, just when the both sides of video conversation if desired share certain multimedia file, at present, conventional mode realizes data sharing by third party's instrument, such as, requestor requests shares a local file video A, and recipient, after receiving this video A, needs by the corresponding application tool in this locality (as player a) just can be opened and watches this video A; Or requestor requests is shared a certain at line file video B, corresponding for video B online address can only be sent to recipient by requesting party, behind the recipient address that only connection request side shares when networking, could watch video B.
That is, in currently available technology when video conversation, if desired multimedia file is carried out when sharing, requesting party and recipient can only switch and could realize the shared of multimedia file by carrying out multiple solutions between video window and third party's instrument, but, which adds the complexity of multimedia file sharing operation, and, traditional mode is adopted to carry out multimedia file when sharing, requesting party and recipient also exist and watch the time difference in viewing process, being equivalent to both sides is only the filename that have shared multimedia file, and the in fact inreal shared broadcasting realizing multimedia file.Further, if recipient does not install third party's instrument, then recipient cannot watch the multimedia file that requesting party shares, thus have impact on sharing of multimedia file further.
For above-mentioned problem, at present effective solution is not yet proposed.
Summary of the invention
Embodiments provide a kind of multimedia file and share method and terminal and server, the technical problem increased with the complexity at least solving the multimedia file sharing operation owing to adopting existing multimedia file sharing mode to cause.
According to an aspect of the embodiment of the present invention, provide a kind of multimedia file and share method, comprise: the first user end to server sends sharing request instruction, wherein, above-mentioned sharing request instruction is used to indicate above-mentioned server and the above-mentioned multimedia file being stored in network side is shared to above-mentioned first client and the second client; Above-mentioned first client receives the data flow of the above-mentioned multimedia file that above-mentioned server sends; Above-mentioned first client plays above-mentioned multimedia file according in the dialog box of the data flow of above-mentioned multimedia file in above-mentioned first client, wherein, above-mentioned dialog box engages in the dialogue with the second account signing in above-mentioned second client for the first account signing in above-mentioned first client.
According to the another aspect of the embodiment of the present invention, additionally provide a kind of multimedia file and share method, comprise: the sharing request instruction that the second client reception server sends, wherein, above-mentioned sharing request instruction is used to indicate above-mentioned server and the above-mentioned multimedia file being stored in network side is shared to the first client and above-mentioned second client; Above-mentioned second client sends to share to above-mentioned server and confirms instruction; Above-mentioned second client receives the data flow of the above-mentioned multimedia file that above-mentioned server sends, and play above-mentioned multimedia file according in dialog box in above-mentioned second client of the data flow of above-mentioned multimedia file, wherein, above-mentioned dialog box engages in the dialogue with the first account signing in above-mentioned first client for the second account signing in above-mentioned second client.
According to the another aspect of the embodiment of the present invention, additionally provide a kind of multimedia file and share method, comprise: server receives the first sharing request instruction that the first client sends, wherein, above-mentioned first sharing request instruction is used to indicate above-mentioned server and the above-mentioned multimedia file being stored in network side is shared to above-mentioned first client and the second client; Above-mentioned server sends the second sharing request instruction to above-mentioned second client, wherein, above-mentioned second sharing request instruction for ask above-mentioned second client to accept to play the above-mentioned multimedia file shared; If the broadcasting of playing above-mentioned multimedia file that is used to indicate that above-mentioned server receives above-mentioned second client transmission confirms instruction, then give above-mentioned first client and above-mentioned second client by the data flow of above-mentioned multimedia file.
According to the another aspect of the embodiment of the present invention, additionally provide a kind of multimedia file shared terminal, comprise: transmitting element, for sending sharing request instruction by the first user end to server, wherein, above-mentioned sharing request instruction is used to indicate above-mentioned server and the above-mentioned multimedia file being stored in network side is shared to above-mentioned first client and the second client; First receiving element, for receiving the data flow of the above-mentioned multimedia file that above-mentioned server sends by above-mentioned first client; First broadcast unit, for playing above-mentioned multimedia file by above-mentioned first client according in the dialog box of the data flow of above-mentioned multimedia file in above-mentioned first client, wherein, above-mentioned dialog box engages in the dialogue with the second account signing in above-mentioned second client for the first account signing in above-mentioned first client.
According to the another aspect of the embodiment of the present invention, additionally provide a kind of multimedia file shared terminal, comprise: the first receiving element, for the sharing request instruction sent by the second client reception server, wherein, above-mentioned sharing request instruction is used to indicate above-mentioned server and the above-mentioned multimedia file being stored in network side is shared to the first client and above-mentioned second client; Transmitting element, for sending shared confirmation instruction by above-mentioned second client to above-mentioned server; First broadcast unit, for being received the data flow of the above-mentioned multimedia file that above-mentioned server sends by above-mentioned second client, and play above-mentioned multimedia file according in dialog box in above-mentioned second client of the data flow of above-mentioned multimedia file, wherein, above-mentioned dialog box engages in the dialogue with the first account signing in above-mentioned first client for the second account signing in above-mentioned second client.
According to the another aspect of the embodiment of the present invention, additionally provide a kind of multimedia file shared server, comprise: receiving element, for receiving the first sharing request instruction that the first client sends, wherein, above-mentioned first sharing request instruction is used to indicate above-mentioned server and the above-mentioned multimedia file being stored in network side is shared to above-mentioned first client and the second client; First transmitting element, for sending the second sharing request instruction to above-mentioned second client, wherein, above-mentioned second sharing request instruction for ask above-mentioned second client to accept to play the above-mentioned multimedia file shared; Second transmitting element, for receive that above-mentioned second client sends be used to indicate the broadcasting of playing above-mentioned multimedia file confirm instruction time, by the data flow of above-mentioned multimedia file to above-mentioned first client and above-mentioned second client.
In embodiments of the present invention, the communication link between the first client and the second client is set up by server, and utilize this server to send the data flow of the multimedia file that will share to the first client, thus make sign in the first account of the first client and sign in the window sharing same multimedia file of the second account by talking with of the second client, overcome in prior art owing to realizing by third party's instrument the problem that multimedia file shares caused complicated operation, and then while achieving and simplifying the operation, also assures that dialogue both sides synchronously can share same multimedia file, improve Consumer's Experience.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the application scenarios schematic diagram sharing method according to a kind of optional multimedia file of the embodiment of the present invention;
Fig. 2 is the flow chart sharing method according to a kind of optional multimedia file of the embodiment of the present invention;
Fig. 3 is the schematic diagram sharing method according to the optional multimedia file of the another kind of the embodiment of the present invention;
Fig. 4 is the schematic diagram sharing method according to another optional multimedia file of the embodiment of the present invention;
Fig. 5 is the schematic diagram sharing method according to another optional multimedia file of the embodiment of the present invention;
Fig. 6 is the schematic diagram sharing method according to another optional multimedia file of the embodiment of the present invention;
Fig. 7 is the schematic diagram sharing method according to another optional multimedia file of the embodiment of the present invention;
Fig. 8 is the schematic diagram sharing method according to another optional multimedia file of the embodiment of the present invention;
Fig. 9 is the schematic diagram sharing method according to another optional multimedia file of the embodiment of the present invention;
Figure 10 is the schematic diagram sharing method according to another optional multimedia file of the embodiment of the present invention;
Figure 11 is the schematic diagram sharing method according to another optional multimedia file of the embodiment of the present invention;
Figure 12 is the schematic diagram sharing method according to another optional multimedia file of the embodiment of the present invention;
Figure 13 is the schematic diagram sharing method according to another optional multimedia file of the embodiment of the present invention;
Figure 14 is the schematic diagram sharing method according to another optional multimedia file of the embodiment of the present invention;
Figure 15 is the schematic diagram of a kind of optional multimedia file shared terminal according to the embodiment of the present invention;
Figure 16 is the schematic diagram according to the optional multimedia file shared terminal of the another kind of the embodiment of the present invention;
Figure 17 is the schematic diagram of a kind of optional multimedia file shared server according to the embodiment of the present invention.
Embodiment
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first ", " second " etc. in specification of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged in the appropriate case, so as embodiments of the invention described herein can with except here diagram or describe those except order implement.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
Embodiment 1
According to the embodiment of the present invention, provide the embodiment that a kind of multimedia file shares method, above-mentioned multimedia file is shared method and be can be, but not limited to be applied in network environment as shown in Figure 1, the terminal 102-1 being provided with the first client sends the request instruction sharing play multimedia file to server 104, server 104 is after the broadcasting obtaining the terminal 102-2 transmission being provided with the second client confirms instruction, the above-mentioned multimedia file being stored in network side is shared to the terminal 102-1 being provided with the first client and the terminal 102-2 being provided with the second client, directly can share with the second account of the first account and the second client that make the first client engaged in the dialogue and play same multimedia file.Alternatively, in the present embodiment, above-mentioned network can include but not limited to: wide area network, metropolitan area network, local area network (LAN).Alternatively, in the present embodiment, above-mentioned terminal can include but not limited to following one of at least: mobile phone, panel computer, notebook computer, PC.Above-mentioned just a kind of example, the present embodiment does not do any restriction to this.
According to the embodiment of the present invention, provide a kind of multimedia file and share method, as shown in Figure 2, the method comprises:
S202, the first user end to server sends sharing request instruction, and wherein, sharing request instruction is used to indicate server and the multimedia file being stored in network side is shared to the first client and the second client;
S204, the data flow of the multimedia file that the first client reception server sends;
S206, the first client is according to play multimedia file in the dialog box of the data flow of multimedia file in the first client, and wherein, dialog box engages in the dialogue with the second account signing in the second client for the first account signing in the first client.
Alternatively, in the present embodiment, above-mentioned multimedia file is shared method and be can be, but not limited to be applied in the process of communication session, thus realize sharing same multimedia file by the dialog box in the client that directly utilizes dialogue both sides to log in, and then overcome in prior art and share the higher problem of caused operation complexity owing to carrying out multimedia file by third party's instrument.Such as, shown in composition graphs 1, Fig. 3, the second account ID_2 of the second client logs on the first client logs first account ID_1 and terminal 102-2 on terminal 102-1 carries out video conversation, as Fig. 3 (a) is depicted as the head portrait of dialogue both sides.In dialog procedure, first user end to server 104 have sent the sharing request instruction sharing multimedia file (film M as shown in Figure 3) with the second client, server 104 is after the broadcasting receiving the second client transmission confirms instruction, the data flow of above-mentioned film M is sent to the first client, wherein, above-mentioned film M plays in the dialog box of the first client, as Fig. 3 (b) the window be shown in dialog box play.Above-mentioned citing is a kind of example, and the present embodiment does not do any restriction to this.
Alternatively, in the present embodiment, before the first user end to server sends sharing request instruction, also comprise:
S1, receives the second client being used to indicate the first client and dialogue and carries out the shared control command of multimedia file;
S2, respond above-mentioned control command display multimedia file list, and receive file selection instruction, wherein, file selection instruction is for selecting the multimedia file that will share;
S3, generates sharing request instruction according to above-mentioned file selection instruction.
Alternatively, in the present embodiment, in dialog box in the first client during play multimedia file, the both sides that first client and the second client engage in the dialogue can also proceed to talk with, wherein, the mode of dialogue comprise following one of at least: text conversation, voice dialogue, video conversation.
Alternatively, in the present embodiment, above-mentioned dialog box can include but not limited to following one of at least: video window, comprise the client dialog box of video window.Wherein, when above-mentioned dialog box is video window, when the first above-mentioned multimedia file of client terminal playing, can also but be not limited to play the image being provided with the camera in the terminal of the second client and photographing in a certain region of video window, and then to realize and the other side carries out voice dialogue and/or video conversation.When above-mentioned dialog box is the client dialog box comprising video window, when the first above-mentioned multimedia file of client terminal playing, can also but a certain region display text conversation frame be not limited at this dialog box, to realize the text conversation with the other side.
Alternatively, in the present embodiment, in the dialog box in the first client during play multimedia file, in this dialog box can also but be not limited to the indication information that displays the play, wherein, above-mentioned broadcasting indication information can include but not limited to following one of at least:
1) whether the second client is used to indicate just at the indication information of play multimedia file;
2) indication information of multimedia file playing progress rate is on a second client used to indicate.
Alternatively, in the present embodiment, in the dialog box in the first client during play multimedia file, Play Control can also be carried out to above-mentioned multimedia file, wherein, above-mentioned Play Control can include but not limited to following one of at least: F.F., rewind, time-out, closedown.Alternatively, in the present embodiment, receive be used to indicate the mode that the Play Control instruction of Play Control carried out to multimedia file can include but not limited to following one of at least: Play Control operation detected in this locality, receive server and respond the Play Control instruction that request that the second client sends produces.
Alternatively, in the present embodiment, in dialog box in the first client during play multimedia file, if after the Play Control instruction of instruction " closedown " this multimedia file being detected, also comprise: turn back to former dialog box and proceed dialogue, stop two-party conversation.
Specifically be described in conjunction with following example, for video conversation, suppose that the first client 402 and the second client 404 carry out video conversation, wherein, the head portrait (as Suo Shi Fig. 3 (a)) of dialogue both sides is shown in dialog box in first client 402, then, first client 402 shares film M by server request and the second client 404, server is after the broadcasting receiving the second client 404 confirms instruction, the first client 402 and the second client 404 is given by the data flow of film M, this film M can be seen by dialog box to make both sides simultaneously, as shown in Figure 4, the other side's (namely captured by the second client 404) head portrait and film M will be shown in the dialog box of the first client 402, simultaneously the second client 404 also will show the other side's (namely captured by the first client 402) head portrait and film M, thus realize directly by dialog box play multimedia file, reach the object reducing operation complexity.
By the embodiment that the application provides, the communication link between the first client and the second client is set up by server, and utilize this server to send the data flow of the multimedia file that will share to the first client, thus make sign in the first account of the first client and sign in the window sharing same multimedia file of the second account by talking with of the second client, overcome in prior art owing to realizing by third party's instrument the problem that multimedia file shares caused complicated operation, and then while achieving and simplifying the operation, also assures that dialogue both sides synchronously can share same multimedia file, improve Consumer's Experience.
As the optional scheme of one, the first client comprises according to play multimedia file in the dialog box of the data flow of multimedia file in the first client:
S1, the data flow of the first client to multimedia file is decoded, and obtains the Frame of multimedia file;
S2, the Frame that the first client broadcast decoder in dialog box obtains.
Alternatively, in the present embodiment, before the data flow of the first client to multimedia file is decoded, also comprise: server obtains the multimedia file that will share according to the instruction of sharing request instruction, and downloaded, resolve, send according to predetermined protocol again subpackage, packing.Further, the first client receive server send multimedia data stream after, can directly decode and broadcast decoder after Frame, wherein, above-mentioned Frame can include but not limited to: audio frame, image are just.
Specifically be described in conjunction with following example, as shown in Figure 5, server obtains the memory address of the multimedia file that will share, from this memory address downloading multimedia file, as shown in step S502, then step S504 is performed, resolve this multimedia file, by the multimedia file that the obtains RTP (RTP according to standard, Real-time Transport Protocol) re-start packing and the subpackage of data, as step S506, and perform step S508, above-mentioned multimedia file data stream is sent to the first client 502 and the second client 504.Then as step S510-S516, the multimedia file data stream that reception server sends by the first client 502 and the second client 504, and utilize the Frame of the decoder of audio frequency and video engine to multimedia file to decode.Alternatively, above-mentioned steps S512 operates with the reception of step S514 and can be, but not limited to: synchronously perform reception, asynchronous execution receives.
By the embodiment that the application provides, directly the data flow of the multimedia file received is carried out decoding display in client, and without the need to performing complicated sharing operation, reach and the logic of complexity is transferred to server process, thus reduce the workload of client, and then achieve loading velocity when improving client terminal playing multimedia file.
As the optional scheme of one, the first client comprises according to play multimedia file in the dialog box of the data flow of multimedia file in the first client:
S1, the first client is play multimedia file in the first area of dialog box, and wherein, dialog box also comprises: second area, and second area is for receiving the information of input; 3rd region, the 3rd region is for showing the information from the second client.
Alternatively, in the present embodiment, the above-mentioned information from the second client can include but not limited to following one of at least: the broadcasting indication information being provided with play multimedia file in the image captured by the camera in the terminal of the second client, the second client.Wherein, the image of above-mentioned camera shooting can be, but not limited to the head portrait of the user for using the second client.Wherein, above-mentioned broadcasting indication information include but not limited to following one of at least: be used to indicate the second client whether just play multimedia file indication information, be used to indicate the indication information of multimedia file playing progress rate on a second client.
Alternatively, in the present embodiment, above-mentioned dialog box can be, but not limited to: the client dialog box comprising video window, as shown in Figure 6 at the first half display video window of above-mentioned dialog box.
Specifically be described in conjunction with following example, as shown in Figure 6, first client plays the multimedia file shared in the first area (player window of the first half in dialog box as shown in Figure 6) of dialog box, the text message of input is received in second area (the text conversation window of the latter half in dialog box as shown in Figure 6), to realize continuing to keep actual conversation with the other side, and the 3rd region (window in the upper left corner as shown in Figure 6) display from the second client information (such as, Figure 6 shows that the head portrait captured by camera in the terminal being provided with the second client).
By the embodiment that the application provides, while play multimedia file in the dialog box of the first client, also by keeping the actual conversation with the second client from the information of the second client, achieve the dialogue of broadcasting limit, limit, make dialogue both sides on the basis of shared multimedia file, the viewing gains in depth of comprehension to multimedia file can also be shared.
As the optional scheme of one, dialog box is video conversation window, and wherein, the first client comprises according to play multimedia file in the dialog box of the data flow of multimedia file in the first client:
S1, first client is play multimedia file in the 4th region of video conversation window, wherein, video conversation window also comprises: the 5th region, 5th region is for showing the image received, and wherein, image is taken by the camera installed in the terminal of the second client and obtained, or image is the image in the multimedia file of current broadcasting in the second client.
Alternatively, in the present embodiment, the above-mentioned information from the second client can also include but not limited to except above-mentioned information: the image in the multimedia file of current broadcasting in the second client.
Alternatively, in the present embodiment, above-mentioned dialog box can be, but not limited to: video window, is displayed in full screen video conversation window as shown in Figure 7.
Specifically be described in conjunction with following example, as shown in Figure 7, first client plays the multimedia file shared in the 4th region (player window of the latter half in dialog box as shown in Figure 7) of dialog box, in the information (such as, Figure 7 shows that image in the multimedia file of second client in current broadcasting) of the 5th region the window of the upper left corner (in the dialog box as shown in Figure 7) display from the second client.
By the embodiment that the application provides, while played in full screen multimedia file in the dialog box of the first client, also by keeping the actual conversation with the second client from the information of the second client, when watching local shared multimedia file, the situation that the other side watches can also be seen, achieve when played in full screen shares multimedia file, can talk with to make dialogue both sides on the basis of shared multimedia file on broadcasting limit, limit, the viewing gains in depth of comprehension to multimedia file can also be shared.
As the optional scheme of one, in the first client according in the dialog box of the data flow of multimedia file in the first client during play multimedia file, also comprise:
S1, the first client displays the play indication information on dialog box, wherein, plays instruction and whether is used to indicate the second client just at play multimedia file; And/or
S2, the first client displays the play tempo instructions information on dialog box, and wherein, playing progress rate indication information is used to indicate multimedia file playing progress rate on a second client.
Specifically be described in conjunction with following example, as shown in Figure 8, can be, but not limited in the dialog box of the first client arrange an indicator light, when this indicator light lights, represent the second client playing the first client share cross media file; When indicator light extinguishes, represent the second client stopped broadcasting first client share cross media file.
Again such as, as shown in Figure 9, can be, but not limited to arrange a progress bar in the dialog box of the first client, wherein, this progress bar is used to indicate multimedia file playing progress rate on a second client, and as shown in the figure, the second client plays to 40%.
By the embodiment that the application provides, by arranging for pointing out multimedia file at the broadcasting indication information of the broadcasting situation of the second client in dialog box, achieve while multimedia file is shared in first client this locality viewing, the broadcasting situation of multimedia file in the second client can also be seen, while reaching shared multimedia file, the broadcast state of multimedia file can also be shared, further improve the result of broadcast that multimedia file is shared.
As the optional scheme of one, after the first client is according to play multimedia file in the dialog box of the data flow of multimedia file in the first client, also comprise:
S1, the first client judges whether to detect that Play Control operates in this locality, or whether receive Play Control instruction from server, wherein, Play Control instruction is responded by server that request that the second client sends produces;
S2, detect that Play Control operates if judge in this locality, then the first client end response Play Control operation carries out Play Control to the multimedia file play in dialog box, and sends the instruction being used to indicate the second client and operating the multimedia file execution Play Control play on a second client to server;
S3, receive Play Control instruction if judge from server, then the first client end response Play Control instruction carries out Play Control to the multimedia file play in dialog box.
Alternatively, in the present embodiment, the Play Control instruction that above-mentioned server produces can be, but not limited to: after the second client detects Play Control operation, to the Play Control signaling that the request of server transmission Play Control produces.Wherein, the mode of operation of above-mentioned Play Control operation can include but not limited to following one of at least: click, drag.Wherein, the operation of above-mentioned Play Control can include but not limited to following one of at least: F.F., rewind, time-out, closedown.
Specifically be described in conjunction with following example, as shown in Figure 10, can be, but not limited in the dialog box of the first client arrange Play Control operation keys, such as, when local operation multimedia file being performed to F.F. 10s (as shown in phantom in FIG.) being detected, after then proceeding to 10s soon from multimedia file (such as, picture frame corresponding to position 15m20s) starts to continue to play, this Play Control is operated the operational order produced simultaneously and send to server, to make server, this operational order is sent to the second client, thus control the multimedia file also F.F. 10s that plays in the dialog box of the second client simultaneously.
By the embodiment that the application provides, judge whether to detect that Play Control operates in this locality by the first client, or, whether receive from server and respond by server the Play Control instruction that request that the second client sends produces, thus the multimedia file achieved sharing carries out Play Control in real time, further, also achieve the Synchronization Control to shared both sides, synchronous broadcasting can be realized to make dialogue both sides.
As the optional scheme of one, before the first user end to server sends sharing request instruction, also comprise:
S1, the first client display multimedia file list, wherein, multimedia file list comprises: one or more title being stored in the multimedia file to be played of network side, and multimedia file to be played comprises: multimedia file;
S2, the first client receives file selection instruction, and wherein, file selection instruction is for selecting multimedia file;
S3, the first client end response file selection instruction generates sharing request instruction.
Alternatively, in the present embodiment, above-mentioned multimedia file list can include but not limited to the title of the multimedia file one or more to be played being stored in network side.Wherein, the title of above-mentioned multimedia file to be played can be selected according to following at least one principle: area, time, type.
Specifically be described in conjunction with following example, as shown in figure 11, first client is after click is shared, demonstrate multimedia file list as shown in figure 12, after receiving file selection instruction, the first client will respond above-mentioned file selection instruction and generate sharing request instruction, such as, suppose that film B is selected in the instruction of file selection instruction, then will generate the sharing request instruction sharing film B.
By the embodiment that the application provides, by selecting the multimedia file that will share in the multimedia file list of display, and then generate sharing request instruction, thus make the first client of engaging in the dialogue and the second client can share same multimedia file.
As the optional scheme of one, the first client generates sharing request instruction and comprises:
S1, the first client carries the network storage address of multimedia file at network side or the mark of multimedia file in sharing request instruction.
Alternatively, in the present embodiment, can be, but not limited in above-mentioned sharing request instruction carry following at least one information: multimedia file in the network storage address of network side, multimedia file is in the mark of database.Wherein, when the client for talking with belongs to same company with the multimedia file shared, directly can obtain by the mark ID of intra-company's database the multimedia file that will share.
Specifically be described in conjunction with following example, to carry the sharing request instruction of multimedia file in the network storage address of network side, server is after receiving above-mentioned sharing request instruction, by the multimedia file will shared with acquisition by the application server corresponding to access address above mentioned, and its download parsing is preserved.
By the embodiment that the application provides, by corresponding to shared multimedia file in the network storage address of network side or the mark of multimedia file, realize obtaining by the identifier lookup of the above-mentioned network storage address of server by utilizing or multimedia file the multimedia file that will share, and then give the first client and the second client by the data flow of this multimedia file, reach the object of shared multimedia file.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that can add required general hardware platform by software according to the method for above-described embodiment and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention.
Embodiment 2
The embodiment of the present invention also provides another kind of multimedia file to share embodiment of the method, and the applied environment of this embodiment is identical with embodiment 1, and the present embodiment does not repeat them here.
According to the embodiment of the present invention, additionally provide a kind of multimedia file and share method, as shown in figure 13, the method comprises:
S1302, the sharing request instruction that the second client reception server sends, wherein, sharing request instruction is used to indicate server and the multimedia file being stored in network side is shared to the first client and the second client;
S1304, the second user end to server sends to share and confirms instruction;
S1306, the data flow of the multimedia file that the second client reception server sends, and according to play multimedia file in the data flow of multimedia file dialog box on a second client, wherein, dialog box engages in the dialogue with the first account signing in the first client for the second account signing in the second client.
Alternatively, in the present embodiment, above-mentioned multimedia file is shared method and be can be, but not limited to be applied in the process of communication session, thus realize sharing same multimedia file by the dialog box in the client that directly utilizes dialogue both sides to log in, and then overcome in prior art and share the higher problem of caused operation complexity owing to carrying out multimedia file by third party's instrument.Such as, shown in composition graphs 1, Fig. 3, the second account ID_2 of the second client logs on the first client logs first account ID_1 and terminal 102-2 on terminal 102-1 carries out video conversation, as Fig. 3 (a) is depicted as the head portrait of dialogue both sides.In dialog procedure, first user end to server 104 have sent the sharing request instruction sharing multimedia file (film M as shown in Figure 3) with the second client, server 104 is after the broadcasting receiving the second client transmission confirms instruction, the data flow of above-mentioned film M is sent to the first client, wherein, above-mentioned film M plays in the dialog box of the first client, as Fig. 3 (b) the window be shown in dialog box play.Above-mentioned citing is a kind of example, and the present embodiment does not do any restriction to this.
Alternatively, in the present embodiment, before the first user end to server sends sharing request instruction, also comprise:
S1, receives the second client being used to indicate the first client and dialogue and carries out the shared control command of multimedia file;
S2, respond above-mentioned control command display multimedia file list, and receive file selection instruction, wherein, file selection instruction is for selecting the multimedia file that will share;
S3, generates sharing request instruction according to above-mentioned file selection instruction.
Alternatively, in the present embodiment, in dialog box in the first client during play multimedia file, the both sides that first client and the second client engage in the dialogue can also proceed to talk with, wherein, the mode of dialogue comprise following one of at least: text conversation, voice dialogue, video conversation.
Alternatively, in the present embodiment, above-mentioned dialog box can include but not limited to following one of at least: video window, comprise the client dialog box of video window.Wherein, when above-mentioned dialog box is video window, when the first above-mentioned multimedia file of client terminal playing, can also but be not limited to play the image being provided with the camera in the terminal of the second client and photographing in a certain region of video window, and then to realize and the other side carries out voice dialogue and/or video conversation.When above-mentioned dialog box is the client dialog box comprising video window, when the first above-mentioned multimedia file of client terminal playing, can also but a certain region display text conversation frame be not limited at this dialog box, to realize the text conversation with the other side.
Alternatively, in the present embodiment, in the dialog box in the first client during play multimedia file, in this dialog box can also but be not limited to the indication information that displays the play, wherein, above-mentioned broadcasting indication information can include but not limited to following one of at least:
1) whether the second client is used to indicate just at the indication information of play multimedia file;
2) indication information of multimedia file playing progress rate is on a second client used to indicate.
Alternatively, in the present embodiment, in the dialog box in the first client during play multimedia file, Play Control can also be carried out to above-mentioned multimedia file, wherein, above-mentioned Play Control can include but not limited to following one of at least: F.F., rewind, time-out, closedown.Alternatively, in the present embodiment, receive be used to indicate the mode that the Play Control instruction of Play Control carried out to multimedia file can include but not limited to following one of at least: Play Control operation detected in this locality, receive server and respond the Play Control instruction that request that the second client sends produces.
Alternatively, in the present embodiment, in dialog box in the first client during play multimedia file, if after the Play Control instruction of instruction " closedown " this multimedia file being detected, also comprise: turn back to former dialog box and proceed dialogue, stop two-party conversation.
Specifically be described in conjunction with following example, for video conversation, suppose that the first client 402 and the second client 404 carry out video conversation, wherein, the head portrait (as Suo Shi Fig. 3 (a)) of dialogue both sides is shown in dialog box in first client 402, then, first client 402 shares film M by server request and the second client 404, server is after the broadcasting receiving the second client 404 confirms instruction, the first client 402 and the second client 404 is given by the data flow of film M, this film M can be seen by dialog box to make both sides simultaneously, as shown in Figure 4, the other side's (namely captured by the second client 404) head portrait and film M will be shown in the dialog box of the first client 402, simultaneously the second client 404 also will show the other side's (namely captured by the first client 402) head portrait and film M, thus realize directly by dialog box play multimedia file, reach the object reducing operation complexity.
By the embodiment that the application provides, the communication link between the first client and the second client is set up by server, and utilize this server to send the data flow of the multimedia file that will share to the first client, thus make sign in the first account of the first client and sign in the window sharing same multimedia file of the second account by talking with of the second client, overcome in prior art owing to realizing by third party's instrument the problem that multimedia file shares caused complicated operation, and then while achieving and simplifying the operation, also assures that dialogue both sides synchronously can share same multimedia file, improve Consumer's Experience.
As the optional scheme of one, after the second client is according to play multimedia file in the data flow of multimedia file dialog box on a second client, also comprise:
S1, the second client judges whether to detect that Play Control operates in this locality, or whether receive Play Control instruction from server, wherein, Play Control instruction is responded by server that request that the first client sends produces;
S2, detect that Play Control operates if judge in this locality, then the second client end response Play Control operation carries out Play Control to the multimedia file play in dialog box, and sends the instruction being used to indicate the first client and operating the multimedia file execution Play Control play in the first client to server;
S3, receives Play Control instruction if judge from server, then responds Play Control instruction and carry out Play Control to the multimedia file play in dialog box.
Alternatively, in the present embodiment, the Play Control instruction that above-mentioned server produces can be, but not limited to: after the second client detects Play Control operation, to the Play Control signaling that the request of server transmission Play Control produces.Wherein, the mode of operation of above-mentioned Play Control operation can include but not limited to following one of at least: click, drag.Wherein, the operation of above-mentioned Play Control can include but not limited to following one of at least: F.F., rewind, time-out, closedown.
Specifically be described in conjunction with following example, as shown in Figure 10, can be, but not limited in the dialog box of the first client arrange Play Control operation keys, such as, when local operation multimedia file being performed to F.F. 10s (as shown in phantom in FIG.) being detected, after then proceeding to 10s soon from multimedia file (such as, picture frame corresponding to position 15m20s) starts to continue to play, this Play Control is operated the operational order produced simultaneously and send to server, to make server, this operational order is sent to the second client, thus control the multimedia file also F.F. 10s that plays in the dialog box of the second client simultaneously.
By the embodiment that the application provides, judge whether to detect that Play Control operates in this locality by the first client, or, whether receive from server and respond by server the Play Control instruction that request that the second client sends produces, thus the multimedia file achieved sharing carries out Play Control in real time, further, also achieve the Synchronization Control to shared both sides, synchronous broadcasting can be realized to make dialogue both sides.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Embodiment 3
The embodiment of the present invention also provides another multimedia file to share embodiment of the method, and the applied environment of this embodiment is identical with embodiment 1, and the present embodiment does not repeat them here.
According to the embodiment of the present invention, additionally provide a kind of multimedia file and share method, as shown in figure 14, the method comprises:
S1402, server receives the first sharing request instruction that the first client sends, and wherein, the first sharing request instruction is used to indicate server and the multimedia file being stored in network side is shared to the first client and the second client;
S1404, server sends the second sharing request instruction to the second client, wherein, the second sharing request instruction for ask the second client to accept to play the multimedia file shared;
S1406, if server receives the broadcasting confirmation instruction being used to indicate play multimedia file that the second client sends, then gives the first client and the second client by the data flow of multimedia file.
Alternatively, in the present embodiment, above-mentioned multimedia file is shared method and be can be, but not limited to be applied in the process of communication session, thus realize sharing same multimedia file by the dialog box in the client that directly utilizes dialogue both sides to log in, and then overcome in prior art and share the higher problem of caused operation complexity owing to carrying out multimedia file by third party's instrument.Such as, shown in composition graphs 1, Fig. 3, the second account ID_2 of the second client logs on the first client logs first account ID_1 and terminal 102-2 on terminal 102-1 carries out video conversation, as Fig. 3 (a) is depicted as the head portrait of dialogue both sides.In dialog procedure, first user end to server 104 have sent the sharing request instruction sharing multimedia file (film M as shown in Figure 3) with the second client, server 104 is after the broadcasting receiving the second client transmission confirms instruction, the data flow of above-mentioned film M is sent to the first client, wherein, above-mentioned film M plays in the dialog box of the first client, as Fig. 3 (b) the window be shown in dialog box play.Above-mentioned citing is a kind of example, and the present embodiment does not do any restriction to this.
Alternatively, in the present embodiment, can include but not limited in above-mentioned first sharing request instruction: share recipient's title, the title sharing multimedia file and address.Can include but not limited in above-mentioned second sharing request instruction: sharing request party name, share multimedia file title, for asking whether to receive the request message of this sharing request.
Alternatively, in the present embodiment, before the first user end to server sends sharing request instruction, also comprise:
S1, receives the second client being used to indicate the first client and dialogue and carries out the shared control command of multimedia file;
S2, respond above-mentioned control command display multimedia file list, and receive file selection instruction, wherein, file selection instruction is for selecting the multimedia file that will share;
S3, generates sharing request instruction according to above-mentioned file selection instruction.
Alternatively, in the present embodiment, in dialog box in the first client during play multimedia file, the both sides that first client and the second client engage in the dialogue can also proceed to talk with, wherein, the mode of dialogue comprise following one of at least: text conversation, voice dialogue, video conversation.
Alternatively, in the present embodiment, above-mentioned dialog box can include but not limited to following one of at least: video window, comprise the client dialog box of video window.Wherein, when above-mentioned dialog box is video window, when the first above-mentioned multimedia file of client terminal playing, can also but be not limited to play the image being provided with the camera in the terminal of the second client and photographing in a certain region of video window, and then to realize and the other side carries out voice dialogue and/or video conversation.When above-mentioned dialog box is the client dialog box comprising video window, when the first above-mentioned multimedia file of client terminal playing, can also but a certain region display text conversation frame be not limited at this dialog box, to realize the text conversation with the other side.
Alternatively, in the present embodiment, in the dialog box in the first client during play multimedia file, in this dialog box can also but be not limited to the indication information that displays the play, wherein, above-mentioned broadcasting indication information can include but not limited to following one of at least:
1) whether the second client is used to indicate just at the indication information of play multimedia file;
2) indication information of multimedia file playing progress rate is on a second client used to indicate.
Alternatively, in the present embodiment, in the dialog box in the first client during play multimedia file, Play Control can also be carried out to above-mentioned multimedia file, wherein, above-mentioned Play Control can include but not limited to following one of at least: F.F., rewind, time-out, closedown.Alternatively, in the present embodiment, receive be used to indicate the mode that the Play Control instruction of Play Control carried out to multimedia file can include but not limited to following one of at least: Play Control operation detected in this locality, receive server and respond the Play Control instruction that request that the second client sends produces.
Alternatively, in the present embodiment, in dialog box in the first client during play multimedia file, if after the Play Control instruction of instruction " closedown " this multimedia file being detected, also comprise: turn back to former dialog box and proceed dialogue, stop two-party conversation.
Specifically be described in conjunction with following example, for video conversation, suppose that the first client 402 and the second client 404 carry out video conversation, wherein, the head portrait (as Suo Shi Fig. 3 (a)) of dialogue both sides is shown in dialog box in first client 402, then, first client 402 shares film M by server request and the second client 404, server is after the broadcasting receiving the second client 404 confirms instruction, the first client 402 and the second client 404 is given by the data flow of film M, this film M can be seen by dialog box to make both sides simultaneously, as shown in Figure 4, the other side's (namely captured by the second client 404) head portrait and film M will be shown in the dialog box of the first client 402, simultaneously the second client 404 also will show the other side's (namely captured by the first client 402) head portrait and film M, thus realize directly by dialog box play multimedia file, reach the object reducing operation complexity.
By the embodiment that the application provides, the communication link between the first client and the second client is set up by server, and utilize this server to send the data flow of the multimedia file that will share to the first client, thus make sign in the first account of the first client and sign in the window sharing same multimedia file of the second account by talking with of the second client, overcome in prior art owing to realizing by third party's instrument the problem that multimedia file shares caused complicated operation, and then while achieving and simplifying the operation, also assures that dialogue both sides synchronously can share same multimedia file, improve Consumer's Experience.
As the optional scheme of one, comprise the data flow of multimedia file to the first client and the second client:
S1, server obtains the network storage address of multimedia file from sharing request instruction, or server obtains the mark of multimedia file from sharing request instruction, and obtains the network storage address of multimedia file according to mark;
S2, the data flow of multimedia file to obtain multimedia file, and is given the first client and the second client according to predetermined condition by server access network storage address.
Specifically be described in conjunction with following example, to carry the sharing request instruction of multimedia file in the network storage address of network side, server is after receiving above-mentioned sharing request instruction, by the multimedia file will shared with acquisition by the application server corresponding to access address above mentioned, and its download parsing is preserved.
By the embodiment that the application provides, by corresponding to shared multimedia file in the network storage address of network side or the mark of multimedia file, realize obtaining by the identifier lookup of the above-mentioned network storage address of server by utilizing or multimedia file the multimedia file that will share, and then give the first client and the second client by the data flow of this multimedia file, reach the object of shared multimedia file.
As the optional scheme of one, comprise the data flow of multimedia file to the first client and the second client according to predetermined condition:
S1, server obtains the first client and the second client place network of network transmission speed;
S2, server sends the transmission speed of the data flow of multimedia file to the first client and the second client according to network transfer speeds adjustment, to make the first client and the second client synchronization play multimedia file.
Alternatively, in the present embodiment, while transmission RTP packet, also want timed sending RTCP (RTP Control Protocol, RTP Control Protocol) control bag, the response controlling bag by the RTCP terminal being provided with the first client fed back and the terminal place network of network transmission speed being provided with the second client, judge whether to need adjustment to send the transmission speed of the data flow of multimedia file to the first client and the second client.
Specifically be described in conjunction with following example, supposing that the response data packet controlling to wrap by RTCP feeds back the network transfer speeds obtaining the first client is 20M/s, the network transfer speeds of the second client is 25M/s, and before according to 15M/s transmission, then need the transmission speed adjusting the data flow sending multimedia file.
By the embodiment that the application provides, the transmission speed of the data flow of the multimedia file sending to the first client and the second client is adjusted in real time by server, realize controlling flexibly the first client and the second client the multimedia file shared, reach the object making the synchronous play multimedia file of dialogue both sides.
Embodiment 4
According to the embodiment of the present invention, provide a kind of embodiment of multimedia file shared terminal, above-mentioned multimedia file shared terminal can be, but not limited to be applied to the terminal 102-1 in network environment as shown in Figure 1, the terminal 102-1 being provided with the first client sends the request instruction sharing play multimedia file to server 104, server 104 is after the broadcasting obtaining the terminal 102-2 transmission being provided with the second client confirms instruction, the above-mentioned multimedia file being stored in network side is shared to the terminal 102-1 being provided with the first client and the terminal 102-2 being provided with the second client, directly can share with the second account of the first account and the second client that make the first client engaged in the dialogue and play same multimedia file.Alternatively, in the present embodiment, above-mentioned network can include but not limited to: wide area network, metropolitan area network, local area network (LAN).Alternatively, in the present embodiment, above-mentioned terminal can include but not limited to following one of at least: mobile phone, panel computer, notebook computer, PC.Above-mentioned just a kind of example, the present embodiment does not do any restriction to this.
According to the embodiment of the present invention, provide a kind of multimedia file shared terminal, as shown in figure 15, this terminal comprises:
1) transmitting element 1502, for sending sharing request instruction by the first user end to server, wherein, sharing request instruction is used to indicate server and the multimedia file being stored in network side is shared to the first client and the second client;
2) the first receiving element 1504, for the data flow of the multimedia file by the first client reception server transmission;
3) the first broadcast unit 1506, for by the first client according to play multimedia file in the dialog box of the data flow of multimedia file in the first client, wherein, dialog box engages in the dialogue with the second account signing in the second client for the first account signing in the first client.
Alternatively, in the present embodiment, above-mentioned multimedia file is shared method and be can be, but not limited to be applied in the process of communication session, thus realize sharing same multimedia file by the dialog box in the client that directly utilizes dialogue both sides to log in, and then overcome in prior art and share the higher problem of caused operation complexity owing to carrying out multimedia file by third party's instrument.Such as, shown in composition graphs 1, Fig. 3, the second account ID_2 of the second client logs on the first client logs first account ID_1 and terminal 102-2 on terminal 102-1 carries out video conversation, as Fig. 3 (a) is depicted as the head portrait of dialogue both sides.In dialog procedure, first user end to server 104 have sent the sharing request instruction sharing multimedia file (film M as shown in Figure 3) with the second client, server 104 is after the broadcasting receiving the second client transmission confirms instruction, the data flow of above-mentioned film M is sent to the first client, wherein, above-mentioned film M plays in the dialog box of the first client, as Fig. 3 (b) the window be shown in dialog box play.Above-mentioned citing is a kind of example, and the present embodiment does not do any restriction to this.
Alternatively, in the present embodiment, before the first user end to server sends sharing request instruction, also comprise:
S1, receives the second client being used to indicate the first client and dialogue and carries out the shared control command of multimedia file;
S2, respond above-mentioned control command display multimedia file list, and receive file selection instruction, wherein, file selection instruction is for selecting the multimedia file that will share;
S3, generates sharing request instruction according to above-mentioned file selection instruction.
Alternatively, in the present embodiment, in dialog box in the first client during play multimedia file, the both sides that first client and the second client engage in the dialogue can also proceed to talk with, wherein, the mode of dialogue comprise following one of at least: text conversation, voice dialogue, video conversation.
Alternatively, in the present embodiment, above-mentioned dialog box can include but not limited to following one of at least: video window, comprise the client dialog box of video window.Wherein, when above-mentioned dialog box is video window, when the first above-mentioned multimedia file of client terminal playing, can also but be not limited to play the image being provided with the camera in the terminal of the second client and photographing in a certain region of video window, and then to realize and the other side carries out voice dialogue and/or video conversation.When above-mentioned dialog box is the client dialog box comprising video window, when the first above-mentioned multimedia file of client terminal playing, can also but a certain region display text conversation frame be not limited at this dialog box, to realize the text conversation with the other side.
Alternatively, in the present embodiment, in the dialog box in the first client during play multimedia file, in this dialog box can also but be not limited to the indication information that displays the play, wherein, above-mentioned broadcasting indication information can include but not limited to following one of at least:
1) whether the second client is used to indicate just at the indication information of play multimedia file;
2) indication information of multimedia file playing progress rate is on a second client used to indicate.
Alternatively, in the present embodiment, in the dialog box in the first client during play multimedia file, Play Control can also be carried out to above-mentioned multimedia file, wherein, above-mentioned Play Control can include but not limited to following one of at least: F.F., rewind, time-out, closedown.Alternatively, in the present embodiment, receive be used to indicate the mode that the Play Control instruction of Play Control carried out to multimedia file can include but not limited to following one of at least: Play Control operation detected in this locality, receive server and respond the Play Control instruction that request that the second client sends produces.
Alternatively, in the present embodiment, in dialog box in the first client during play multimedia file, if after the Play Control instruction of instruction " closedown " this multimedia file being detected, also comprise: turn back to former dialog box and proceed dialogue, stop two-party conversation.
Specifically be described in conjunction with following example, for video conversation, suppose that the first client 402 and the second client 404 carry out video conversation, wherein, the head portrait (as Suo Shi Fig. 3 (a)) of dialogue both sides is shown in dialog box in first client 402, then, first client 402 shares film M by server request and the second client 404, server is after the broadcasting receiving the second client 404 confirms instruction, the first client 402 and the second client 404 is given by the data flow of film M, this film M can be seen by dialog box to make both sides simultaneously, as shown in Figure 4, the other side's (namely captured by the second client 404) head portrait and film M will be shown in the dialog box of the first client 402, simultaneously the second client 404 also will show the other side's (namely captured by the first client 402) head portrait and film M, thus realize directly by dialog box play multimedia file, reach the object reducing operation complexity.
By the embodiment that the application provides, the communication link between the first client and the second client is set up by server, and utilize this server to send the data flow of the multimedia file that will share to the first client, thus make sign in the first account of the first client and sign in the window sharing same multimedia file of the second account by talking with of the second client, overcome in prior art owing to realizing by third party's instrument the problem that multimedia file shares caused complicated operation, and then while achieving and simplifying the operation, also assures that dialogue both sides synchronously can share same multimedia file, improve Consumer's Experience.
As the optional scheme of one, the first broadcast unit 1506 comprises:
1) decoder module, for being decoded by the data flow of the first client to multimedia file, obtains the Frame of multimedia file;
2) the first playing module, for the Frame obtained by the first client broadcast decoder in dialog box.
Alternatively, in the present embodiment, before the data flow of the first client to multimedia file is decoded, also comprise: server obtains the multimedia file that will share according to the instruction of sharing request instruction, and downloaded, resolve, send according to predetermined protocol again subpackage, packing.Further, the first client receive server send multimedia data stream after, can directly decode and broadcast decoder after Frame, wherein, above-mentioned Frame can include but not limited to: audio frame, image are just.
Specifically be described in conjunction with following example, as shown in Figure 5, server obtains the memory address of the multimedia file that will share, from this memory address downloading multimedia file, as shown in step S502, then step S504 is performed, resolve this multimedia file, by the multimedia file that the obtains RTP (RTP according to standard, Real-time Transport Protocol) re-start packing and the subpackage of data, as step S506, and perform step S508, above-mentioned multimedia file data stream is sent to the first client 502 and the second client 504.Then as step S510-S516, the multimedia file data stream that reception server sends by the first client 502 and the second client 504, and utilize the Frame of the decoder of audio frequency and video engine to multimedia file to decode.Alternatively, above-mentioned steps S512 operates with the reception of step S514 and can be, but not limited to: synchronously perform reception, asynchronous execution receives.
By the embodiment that the application provides, directly the data flow of the multimedia file received is carried out decoding display in client, and without the need to performing complicated sharing operation, reach and the logic of complexity is transferred to server process, thus reduce the workload of client, and then achieve loading velocity when improving client terminal playing multimedia file.
As the optional scheme of one, the first broadcast unit 1506 comprises:
1) the second playing module, for passing through the first client play multimedia file in the first area of dialog box, wherein, dialog box also comprises: second area, and second area is for receiving the information of input; 3rd region, the 3rd region is for showing the information from the second client.
Alternatively, in the present embodiment, the above-mentioned information from the second client can include but not limited to following one of at least: the broadcasting indication information being provided with play multimedia file in the image captured by the camera in the terminal of the second client, the second client.Wherein, the image of above-mentioned camera shooting can be, but not limited to the head portrait of the user for using the second client.Wherein, above-mentioned broadcasting indication information include but not limited to following one of at least: be used to indicate the second client whether just play multimedia file indication information, be used to indicate the indication information of multimedia file playing progress rate on a second client.
Alternatively, in the present embodiment, above-mentioned dialog box can be, but not limited to: the client dialog box comprising video window, as shown in Figure 6 at the first half display video window of above-mentioned dialog box.
Specifically be described in conjunction with following example, as shown in Figure 6, first client plays the multimedia file shared in the first area (player window of the first half in dialog box as shown in Figure 6) of dialog box, the text message of input is received in second area (the text conversation window of the latter half in dialog box as shown in Figure 6), to realize continuing to keep actual conversation with the other side, and the 3rd region (window in the upper left corner as shown in Figure 6) display from the second client information (such as, Figure 6 shows that the head portrait captured by camera in the terminal being provided with the second client).
By the embodiment that the application provides, while play multimedia file in the dialog box of the first client, also by keeping the actual conversation with the second client from the information of the second client, achieve the dialogue of broadcasting limit, limit, make dialogue both sides on the basis of shared multimedia file, the viewing gains in depth of comprehension to multimedia file can also be shared.
As the optional scheme of one, dialog box is video conversation window, and the first broadcast unit 1506 comprises:
1) the 3rd playing module, for passing through the first client play multimedia file in the 4th region of video conversation window, wherein, video conversation window also comprises: the 5th region, 5th region is for showing the image received, and wherein, image is taken by the camera installed in the terminal of the second client and obtained, or image is the image in the multimedia file of current broadcasting in the second client.
Alternatively, in the present embodiment, the above-mentioned information from the second client can also include but not limited to except above-mentioned information: the image in the multimedia file of current broadcasting in the second client.
Alternatively, in the present embodiment, above-mentioned dialog box can be, but not limited to: video window, is displayed in full screen video conversation window as shown in Figure 7.
Specifically be described in conjunction with following example, as shown in Figure 7, first client plays the multimedia file shared in the 4th region (player window of the latter half in dialog box as shown in Figure 7) of dialog box, in the information (such as, Figure 7 shows that image in the multimedia file of second client in current broadcasting) of the 5th region the window of the upper left corner (in the dialog box as shown in Figure 7) display from the second client.
By the embodiment that the application provides, while played in full screen multimedia file in the dialog box of the first client, also by keeping the actual conversation with the second client from the information of the second client, when watching local shared multimedia file, the situation that the other side watches can also be seen, achieve when played in full screen shares multimedia file, can talk with to make dialogue both sides on the basis of shared multimedia file on broadcasting limit, limit, the viewing gains in depth of comprehension to multimedia file can also be shared.
As the optional scheme of one, above-mentioned terminal also comprises:
1) the second broadcast unit, for in the first client according in the dialog box of the data flow of multimedia file in the first client during play multimedia file, to be displayed the play on dialog box indication information by the first client, wherein, play instruction and whether be used to indicate the second client just at play multimedia file; And/or
2) the 3rd broadcast unit, the first client displays the play tempo instructions information on dialog box, and wherein, playing progress rate indication information is used to indicate multimedia file playing progress rate on a second client.
Specifically be described in conjunction with following example, as shown in Figure 8, can be, but not limited in the dialog box of the first client arrange an indicator light, when this indicator light lights, represent the second client playing the first client share cross media file; When indicator light extinguishes, represent the second client stopped broadcasting first client share cross media file.
Again such as, as shown in Figure 9, can be, but not limited to arrange a progress bar in the dialog box of the first client, wherein, this progress bar is used to indicate multimedia file playing progress rate on a second client, and as shown in the figure, the second client plays to 40%.
By the embodiment that the application provides, by arranging for pointing out multimedia file at the broadcasting indication information of the broadcasting situation of the second client in dialog box, achieve while multimedia file is shared in first client this locality viewing, the broadcasting situation of multimedia file in the second client can also be seen, while reaching shared multimedia file, the broadcast state of multimedia file can also be shared, further improve the result of broadcast that multimedia file is shared.
As the optional scheme of one, above-mentioned terminal also comprises:
1) judging unit, for after the first client is according to play multimedia file in the dialog box of the data flow of multimedia file in the first client, judge whether to detect that Play Control operates in this locality by the first client, or, whether receive Play Control instruction from server, wherein, Play Control instruction responds by server the request that the second client sends and produces;
2) the first control unit, for when judging to detect that Play Control operates in this locality, by the first client end response Play Control operation, Play Control is carried out to the multimedia file play in dialog box, and send the instruction being used to indicate the second client and the multimedia file execution Play Control play on a second client is operated to server;
3) the second control unit, for when judging to receive Play Control instruction from server, carries out Play Control by the first client end response Play Control instruction to the multimedia file play in dialog box.
Alternatively, in the present embodiment, the Play Control instruction that above-mentioned server produces can be, but not limited to: after the second client detects Play Control operation, to the Play Control signaling that the request of server transmission Play Control produces.Wherein, the mode of operation of above-mentioned Play Control operation can include but not limited to following one of at least: click, drag.Wherein, the operation of above-mentioned Play Control can include but not limited to following one of at least: F.F., rewind, time-out, closedown.
Specifically be described in conjunction with following example, as shown in Figure 10, can be, but not limited in the dialog box of the first client arrange Play Control operation keys, such as, when local operation multimedia file being performed to F.F. 10s (as shown in phantom in FIG.) being detected, after then proceeding to 10s soon from multimedia file (such as, picture frame corresponding to position 15m20s) starts to continue to play, this Play Control is operated the operational order produced simultaneously and send to server, to make server, this operational order is sent to the second client, thus control the multimedia file also F.F. 10s that plays in the dialog box of the second client simultaneously.
By the embodiment that the application provides, judge whether to detect that Play Control operates in this locality by the first client, or, whether receive from server and respond by server the Play Control instruction that request that the second client sends produces, thus the multimedia file achieved sharing carries out Play Control in real time, further, also achieve the Synchronization Control to shared both sides, synchronous broadcasting can be realized to make dialogue both sides.
As the optional scheme of one, above-mentioned terminal also comprises:
1) display unit, before sending sharing request instruction at the first user end to server, by the first client display multimedia file list, wherein, multimedia file list comprises: one or more title being stored in the multimedia file to be played of network side, and multimedia file to be played comprises: multimedia file;
2) the second receiving element, for receiving file selection instruction by the first client, wherein, file selection instruction is for selecting multimedia file;
3) generation unit, for generating sharing request instruction by the first client end response file selection instruction.
Alternatively, in the present embodiment, above-mentioned multimedia file list can include but not limited to the title of the multimedia file one or more to be played being stored in network side.Wherein, the title of above-mentioned multimedia file to be played can be selected according to following at least one principle: area, time, type.
Specifically be described in conjunction with following example, as shown in figure 11, first client is after click is shared, demonstrate multimedia file list as shown in figure 12, after receiving file selection instruction, the first client will respond above-mentioned file selection instruction and generate sharing request instruction, such as, suppose that film B is selected in the instruction of file selection instruction, then will generate the sharing request instruction sharing film B.
By the embodiment that the application provides, by selecting the multimedia file that will share in the multimedia file list of display, and then generate sharing request instruction, thus make the first client of engaging in the dialogue and the second client can share same multimedia file.
As the optional scheme of one, generation unit comprises:
1) generation module, for carrying the network storage address of multimedia file at network side or the mark of multimedia file by the first client in sharing request instruction.
Alternatively, in the present embodiment, can be, but not limited in above-mentioned sharing request instruction carry following at least one information: multimedia file in the network storage address of network side, multimedia file is in the mark of database.Wherein, when the client for talking with belongs to same company with the multimedia file shared, directly can obtain by the mark ID of intra-company's database the multimedia file that will share.
Specifically be described in conjunction with following example, to carry the sharing request instruction of multimedia file in the network storage address of network side, server is after receiving above-mentioned sharing request instruction, by the multimedia file will shared with acquisition by the application server corresponding to access address above mentioned, and its download parsing is preserved.
By the embodiment that the application provides, by corresponding to shared multimedia file in the network storage address of network side or the mark of multimedia file, realize obtaining by the identifier lookup of the above-mentioned network storage address of server by utilizing or multimedia file the multimedia file that will share, and then give the first client and the second client by the data flow of this multimedia file, reach the object of shared multimedia file.
Embodiment 5
The embodiment of the present invention also provides another kind of multimedia file shared terminal embodiment, the applied environment of this embodiment is identical with embodiment 1, above-mentioned multimedia file shared terminal can be, but not limited to be applied to the terminal 102-2 in network environment as shown in Figure 1, and the present embodiment does not repeat them here.
According to the embodiment of the present invention, additionally provide a kind of multimedia file shared terminal, as shown in figure 16, this terminal comprises:
1) the first receiving element 1602, for the sharing request instruction sent by the second client reception server, wherein, sharing request instruction is used to indicate server and the multimedia file being stored in network side is shared to the first client and the second client;
2) transmitting element 1604, confirms instruction for sending to share by the second user end to server;
3) the first broadcast unit 1606, for the data flow of the multimedia file by the second client reception server transmission, and according to play multimedia file in the data flow of multimedia file dialog box on a second client, wherein, dialog box engages in the dialogue with the first account signing in the first client for the second account signing in the second client.
Alternatively, in the present embodiment, above-mentioned multimedia file is shared method and be can be, but not limited to be applied in the process of communication session, thus realize sharing same multimedia file by the dialog box in the client that directly utilizes dialogue both sides to log in, and then overcome in prior art and share the higher problem of caused operation complexity owing to carrying out multimedia file by third party's instrument.Such as, shown in composition graphs 1, Fig. 3, the second account ID_2 of the second client logs on the first client logs first account ID_1 and terminal 102-2 on terminal 102-1 carries out video conversation, as Fig. 3 (a) is depicted as the head portrait of dialogue both sides.In dialog procedure, first user end to server 104 have sent the sharing request instruction sharing multimedia file (film M as shown in Figure 3) with the second client, server 104 is after the broadcasting receiving the second client transmission confirms instruction, the data flow of above-mentioned film M is sent to the first client, wherein, above-mentioned film M plays in the dialog box of the first client, as Fig. 3 (b) the window be shown in dialog box play.Above-mentioned citing is a kind of example, and the present embodiment does not do any restriction to this.
Alternatively, in the present embodiment, before the first user end to server sends sharing request instruction, also comprise:
S1, receives the second client being used to indicate the first client and dialogue and carries out the shared control command of multimedia file;
S2, respond above-mentioned control command display multimedia file list, and receive file selection instruction, wherein, file selection instruction is for selecting the multimedia file that will share;
S3, generates sharing request instruction according to above-mentioned file selection instruction.
Alternatively, in the present embodiment, in dialog box in the first client during play multimedia file, the both sides that first client and the second client engage in the dialogue can also proceed to talk with, wherein, the mode of dialogue comprise following one of at least: text conversation, voice dialogue, video conversation.
Alternatively, in the present embodiment, above-mentioned dialog box can include but not limited to following one of at least: video window, comprise the client dialog box of video window.Wherein, when above-mentioned dialog box is video window, when the first above-mentioned multimedia file of client terminal playing, can also but be not limited to play the image being provided with the camera in the terminal of the second client and photographing in a certain region of video window, and then to realize and the other side carries out voice dialogue and/or video conversation.When above-mentioned dialog box is the client dialog box comprising video window, when the first above-mentioned multimedia file of client terminal playing, can also but a certain region display text conversation frame be not limited at this dialog box, to realize the text conversation with the other side.
Alternatively, in the present embodiment, in the dialog box in the first client during play multimedia file, in this dialog box can also but be not limited to the indication information that displays the play, wherein, above-mentioned broadcasting indication information can include but not limited to following one of at least:
1) whether the second client is used to indicate just at the indication information of play multimedia file;
2) indication information of multimedia file playing progress rate is on a second client used to indicate.
Alternatively, in the present embodiment, in the dialog box in the first client during play multimedia file, Play Control can also be carried out to above-mentioned multimedia file, wherein, above-mentioned Play Control can include but not limited to following one of at least: F.F., rewind, time-out, closedown.Alternatively, in the present embodiment, receive be used to indicate the mode that the Play Control instruction of Play Control carried out to multimedia file can include but not limited to following one of at least: Play Control operation detected in this locality, receive server and respond the Play Control instruction that request that the second client sends produces.
Alternatively, in the present embodiment, in dialog box in the first client during play multimedia file, if after the Play Control instruction of instruction " closedown " this multimedia file being detected, also comprise: turn back to former dialog box and proceed dialogue, stop two-party conversation.
Specifically be described in conjunction with following example, for video conversation, suppose that the first client 402 and the second client 404 carry out video conversation, wherein, the head portrait (as Suo Shi Fig. 3 (a)) of dialogue both sides is shown in dialog box in first client 402, then, first client 402 shares film M by server request and the second client 404, server is after the broadcasting receiving the second client 404 confirms instruction, the first client 402 and the second client 404 is given by the data flow of film M, this film M can be seen by dialog box to make both sides simultaneously, as shown in Figure 4, the other side's (namely captured by the second client 404) head portrait and film M will be shown in the dialog box of the first client 402, simultaneously the second client 404 also will show the other side's (namely captured by the first client 402) head portrait and film M, thus realize directly by dialog box play multimedia file, reach the object reducing operation complexity.
By the embodiment that the application provides, the communication link between the first client and the second client is set up by server, and utilize this server to send the data flow of the multimedia file that will share to the first client, thus make sign in the first account of the first client and sign in the window sharing same multimedia file of the second account by talking with of the second client, overcome in prior art owing to realizing by third party's instrument the problem that multimedia file shares caused complicated operation, and then while achieving and simplifying the operation, also assures that dialogue both sides synchronously can share same multimedia file, improve Consumer's Experience.
As the optional scheme of one, above-mentioned terminal also comprises:
1) judging unit, for after the second client is according to play multimedia file in the data flow of multimedia file dialog box on a second client, judge whether to detect that Play Control operates in this locality by the second client, or, whether receive Play Control instruction from server, wherein, Play Control instruction responds by server the request that the first client sends and produces;
2) the first control unit, for when judging to detect that Play Control operates in this locality, by the second client end response Play Control operation, Play Control is carried out to the multimedia file play in dialog box, and send the instruction being used to indicate the first client and the multimedia file execution Play Control play in the first client is operated to server;
3) the second control unit, for when judging to receive Play Control instruction from server, carries out Play Control by the second client end response Play Control instruction to the multimedia file play in dialog box.
Alternatively, in the present embodiment, the Play Control instruction that above-mentioned server produces can be, but not limited to: after the second client detects Play Control operation, to the Play Control signaling that the request of server transmission Play Control produces.Wherein, the mode of operation of above-mentioned Play Control operation can include but not limited to following one of at least: click, drag.Wherein, the operation of above-mentioned Play Control can include but not limited to following one of at least: F.F., rewind, time-out, closedown.
Specifically be described in conjunction with following example, as shown in Figure 10, can be, but not limited in the dialog box of the first client arrange Play Control operation keys, such as, when local operation multimedia file being performed to F.F. 10s (as shown in phantom in FIG.) being detected, after then proceeding to 10s soon from multimedia file (such as, picture frame corresponding to position 15m20s) starts to continue to play, this Play Control is operated the operational order produced simultaneously and send to server, to make server, this operational order is sent to the second client, thus control the multimedia file also F.F. 10s that plays in the dialog box of the second client simultaneously.
By the embodiment that the application provides, judge whether to detect that Play Control operates in this locality by the first client, or, whether receive from server and respond by server the Play Control instruction that request that the second client sends produces, thus the multimedia file achieved sharing carries out Play Control in real time, further, also achieve the Synchronization Control to shared both sides, synchronous broadcasting can be realized to make dialogue both sides.
Embodiment 6
The embodiment of the present invention also provides another multimedia file shared server embodiment, the applied environment of this embodiment is identical with embodiment 1, above-mentioned multimedia file shared server can be, but not limited to the server 104 be applied in network environment as shown in Figure 1, and the present embodiment does not repeat them here.
According to the embodiment of the present invention, additionally provide a kind of multimedia file shared server, as shown in figure 17, this server comprises:
1) receiving element 1702, for receiving the first sharing request instruction that the first client sends, wherein, the first sharing request instruction is used to indicate server and the multimedia file being stored in network side is shared to the first client and the second client;
2) the first transmitting element 1704, for sending the second sharing request instruction to the second client, wherein, the second sharing request instruction for ask the second client to accept to play the multimedia file shared;
3) the second transmitting element 1706, during for confirming instruction in the broadcasting being used to indicate play multimedia file receiving the second client transmission, gives the first client and the second client by the data flow of multimedia file.
Alternatively, in the present embodiment, above-mentioned multimedia file is shared method and be can be, but not limited to be applied in the process of communication session, thus realize sharing same multimedia file by the dialog box in the client that directly utilizes dialogue both sides to log in, and then overcome in prior art and share the higher problem of caused operation complexity owing to carrying out multimedia file by third party's instrument.Such as, shown in composition graphs 1, Fig. 3, the second account ID_2 of the second client logs on the first client logs first account ID_1 and terminal 102-2 on terminal 102-1 carries out video conversation, as Fig. 3 (a) is depicted as the head portrait of dialogue both sides.In dialog procedure, first user end to server 104 have sent the sharing request instruction sharing multimedia file (film M as shown in Figure 3) with the second client, server 104 is after the broadcasting receiving the second client transmission confirms instruction, the data flow of above-mentioned film M is sent to the first client, wherein, above-mentioned film M plays in the dialog box of the first client, as Fig. 3 (b) the window be shown in dialog box play.Above-mentioned citing is a kind of example, and the present embodiment does not do any restriction to this.
Alternatively, in the present embodiment, can include but not limited in above-mentioned first sharing request instruction: share recipient's title, the title sharing multimedia file and address.Can include but not limited in above-mentioned second sharing request instruction: sharing request party name, share multimedia file title, for asking whether to receive the request message of this sharing request.
Alternatively, in the present embodiment, before the first user end to server sends sharing request instruction, also comprise:
S1, receives the second client being used to indicate the first client and dialogue and carries out the shared control command of multimedia file;
S2, respond above-mentioned control command display multimedia file list, and receive file selection instruction, wherein, file selection instruction is for selecting the multimedia file that will share;
S3, generates sharing request instruction according to above-mentioned file selection instruction.
Alternatively, in the present embodiment, in dialog box in the first client during play multimedia file, the both sides that first client and the second client engage in the dialogue can also proceed to talk with, wherein, the mode of dialogue comprise following one of at least: text conversation, voice dialogue, video conversation.
Alternatively, in the present embodiment, above-mentioned dialog box can include but not limited to following one of at least: video window, comprise the client dialog box of video window.Wherein, when above-mentioned dialog box is video window, when the first above-mentioned multimedia file of client terminal playing, can also but be not limited to play the image being provided with the camera in the terminal of the second client and photographing in a certain region of video window, and then to realize and the other side carries out voice dialogue and/or video conversation.When above-mentioned dialog box is the client dialog box comprising video window, when the first above-mentioned multimedia file of client terminal playing, can also but a certain region display text conversation frame be not limited at this dialog box, to realize the text conversation with the other side.
Alternatively, in the present embodiment, in the dialog box in the first client during play multimedia file, in this dialog box can also but be not limited to the indication information that displays the play, wherein, above-mentioned broadcasting indication information can include but not limited to following one of at least:
1) whether the second client is used to indicate just at the indication information of play multimedia file;
2) indication information of multimedia file playing progress rate is on a second client used to indicate.
Alternatively, in the present embodiment, in the dialog box in the first client during play multimedia file, Play Control can also be carried out to above-mentioned multimedia file, wherein, above-mentioned Play Control can include but not limited to following one of at least: F.F., rewind, time-out, closedown.Alternatively, in the present embodiment, receive be used to indicate the mode that the Play Control instruction of Play Control carried out to multimedia file can include but not limited to following one of at least: Play Control operation detected in this locality, receive server and respond the Play Control instruction that request that the second client sends produces.
Alternatively, in the present embodiment, in dialog box in the first client during play multimedia file, if after the Play Control instruction of instruction " closedown " this multimedia file being detected, also comprise: turn back to former dialog box and proceed dialogue, stop two-party conversation.
Specifically be described in conjunction with following example, for video conversation, suppose that the first client 402 and the second client 404 carry out video conversation, wherein, the head portrait (as Suo Shi Fig. 3 (a)) of dialogue both sides is shown in dialog box in first client 402, then, first client 402 shares film M by server request and the second client 404, server is after the broadcasting receiving the second client 404 confirms instruction, the first client 402 and the second client 404 is given by the data flow of film M, this film M can be seen by dialog box to make both sides simultaneously, as shown in Figure 4, the other side's (namely captured by the second client 404) head portrait and film M will be shown in the dialog box of the first client 402, simultaneously the second client 404 also will show the other side's (namely captured by the first client 402) head portrait and film M, thus realize directly by dialog box play multimedia file, reach the object reducing operation complexity.
By the embodiment that the application provides, the communication link between the first client and the second client is set up by server, and utilize this server to send the data flow of the multimedia file that will share to the first client, thus make sign in the first account of the first client and sign in the window sharing same multimedia file of the second account by talking with of the second client, overcome in prior art owing to realizing by third party's instrument the problem that multimedia file shares caused complicated operation, and then while achieving and simplifying the operation, also assures that dialogue both sides synchronously can share same multimedia file, improve Consumer's Experience.
As the optional scheme of one, the second transmitting element 1706 comprises:
1) acquisition module, for obtaining the network storage address of multimedia file from sharing request instruction, or server obtains the mark of multimedia file from sharing request instruction, and obtains the network storage address of multimedia file according to mark;
2) sending module, for accesses network memory address to obtain multimedia file, and gives the first client and the second client according to predetermined condition by the data flow of multimedia file.
Specifically be described in conjunction with following example, to carry the sharing request instruction of multimedia file in the network storage address of network side, server is after receiving above-mentioned sharing request instruction, by the multimedia file will shared with acquisition by the application server corresponding to access address above mentioned, and its download parsing is preserved.
By the embodiment that the application provides, by corresponding to shared multimedia file in the network storage address of network side or the mark of multimedia file, realize obtaining by the identifier lookup of the above-mentioned network storage address of server by utilizing or multimedia file the multimedia file that will share, and then give the first client and the second client by the data flow of this multimedia file, reach the object of shared multimedia file.
As the optional scheme of one, sending module comprises:
1) submodule is obtained, for obtaining the first client and the second client place network of network transmission speed;
2) submodule is sent, for sending the transmission speed of the data flow of multimedia file to the first client and the second client according to network transfer speeds adjustment, to make the first client and the second client synchronization play multimedia file.
Alternatively, in the present embodiment, while transmission RTP packet, also want timed sending RTCP (RTP Control Protocol, RTP Control Protocol) control bag, the response controlling bag by the RTCP terminal being provided with the first client fed back and the terminal place network of network transmission speed being provided with the second client, judge whether to need adjustment to send the transmission speed of the data flow of multimedia file to the first client and the second client.
Specifically be described in conjunction with following example, supposing that the response data packet controlling to wrap by RTCP feeds back the network transfer speeds obtaining the first client is 20M/s, the network transfer speeds of the second client is 25M/s, and before according to 15M/s transmission, then need the transmission speed adjusting the data flow sending multimedia file.
By the embodiment that the application provides, the transmission speed of the data flow of the multimedia file sending to the first client and the second client is adjusted in real time by server, realize controlling flexibly the first client and the second client the multimedia file shared, reach the object making the synchronous play multimedia file of dialogue both sides.
Embodiment 7
The embodiment of the present invention also provides another multimedia file shared terminal embodiment, and the applied environment of this embodiment is identical with embodiment 1, and the present embodiment does not repeat them here.
According to the embodiment of the present invention, additionally provide a kind of terminal sharing method for implementing above-mentioned multimedia file, this terminal comprises:
1) memory, be set to buffer memory the Frame of multimedia file shared.
2) processor, is set to the data stream of the multimedia file received, to obtain the Frame of multimedia file.
3) communication interface, be set to send sharing request instruction to server, and the data flow of the multimedia file of reception server transmission, wherein, sharing request instruction is used to indicate server and the multimedia file being stored in network side is shared to the first client and the second client.
Alternatively, in the present embodiment, above-mentioned memory can also be used for storing other data stored in the shared procedure in above-described embodiment 1.
Alternatively, the concrete example in the present embodiment can with reference to the example described in above-described embodiment 1 and embodiment 2, and the present embodiment does not repeat them here.
Embodiment 8
The embodiment of the present invention also provides another multimedia file shared server embodiment, and the applied environment of this embodiment is identical with embodiment 1, and the present embodiment does not repeat them here.
According to the embodiment of the present invention, additionally provide a kind of server sharing method for implementing above-mentioned multimedia file, this server comprises:
1) memory, be set to store the multimedia file shared.
2) processor, is set to resolve and downloads shared multimedia file, and by multimedia file according to predetermined condition again subpackage and packing.
3) communication interface, is set to the sharing request instruction that reception first client sends, and by the data flow of multimedia file that gets to the first client and the second client.
Alternatively, in the present embodiment, above-mentioned memory can also be used for storing other data stored in the shared procedure in above-described embodiment 1.
Alternatively, the concrete example in the present embodiment can with reference to the example described in above-described embodiment 3, and the present embodiment does not repeat them here.
Embodiment 9
The embodiment of the present invention also provides another multimedia file to share storage medium embodiment, and the applied environment of this embodiment is identical with embodiment 1, and the present embodiment does not repeat them here.
Alternatively, in the present embodiment, storage medium is set to store the program code for performing following steps:
S1, send sharing request instruction by the first user end to server, wherein, sharing request instruction is used to indicate server and the multimedia file being stored in network side is shared to the first client and the second client;
S2, the data flow of the multimedia file sent by the first client reception server;
S3, by the first client according to play multimedia file in the dialog box of the data flow of multimedia file in the first client, wherein, dialog box engages in the dialogue with the second account signing in the second client for the first account signing in the first client.
Alternatively, in the present embodiment, above-mentioned storage medium can include but not limited to: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
Alternatively, the concrete example in the present embodiment can with reference to the example described in above-described embodiment 1, and the present embodiment does not repeat them here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
If the integrated unit in above-described embodiment using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in the storage medium that above computer can read.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in storage medium, comprises all or part of step of some instructions in order to make one or more computer equipment (can be personal computer, server or the network equipment etc.) perform method described in each embodiment of the present invention.
In the above embodiment of the present invention, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed client, the mode by other realizes.Wherein, device embodiment described above is only schematic, the such as division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of unit or module or communication connection can be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (30)

CN201410676967.1A2014-11-212014-11-21Multimedia file sharing method and terminal and serverActiveCN104602133B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201410676967.1ACN104602133B (en)2014-11-212014-11-21Multimedia file sharing method and terminal and server

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201410676967.1ACN104602133B (en)2014-11-212014-11-21Multimedia file sharing method and terminal and server

Publications (2)

Publication NumberPublication Date
CN104602133Atrue CN104602133A (en)2015-05-06
CN104602133B CN104602133B (en)2018-09-18

Family

ID=53127566

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201410676967.1AActiveCN104602133B (en)2014-11-212014-11-21Multimedia file sharing method and terminal and server

Country Status (1)

CountryLink
CN (1)CN104602133B (en)

Cited By (28)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105450651A (en)*2015-12-042016-03-30浙江宇视科技有限公司Monitoring video code stream dynamic route selection method and device
WO2016197859A1 (en)*2015-06-112016-12-15阿里巴巴集团控股有限公司Method and device for synchronously broadcasting multimedia data
CN106550279A (en)*2016-04-072017-03-29乐视控股(北京)有限公司Interactive live implementation method, apparatus and system
CN106790172A (en)*2016-12-292017-05-31东软集团股份有限公司A kind of file sharing method and server, client
CN107846634A (en)*2017-10-262018-03-27广州视源电子科技股份有限公司Audio and video file sharing method, device and system, storage medium and terminal equipment
CN108322793A (en)*2018-03-012018-07-24北京奇艺世纪科技有限公司A kind of shared video broadcasting method, device and electronic equipment
CN110019058A (en)*2017-10-132019-07-16腾讯科技(深圳)有限公司The sharing method and device of file operation
CN111083528A (en)*2019-12-232020-04-28维沃移动通信有限公司Information playing method, information sending method and electronic equipment
CN111147919A (en)*2019-12-312020-05-12维沃移动通信有限公司 A playback adjustment method, electronic device and computer-readable storage medium
CN111696499A (en)*2020-04-302020-09-22深圳传音控股股份有限公司Multimedia on demand method, mobile terminal and computer readable storage medium
CN111818383A (en)*2020-07-142020-10-23北京字节跳动网络技术有限公司Video data generation method, system, device, electronic equipment and storage medium
CN112910764A (en)*2017-09-292021-06-04苹果公司User interface for multi-user communication sessions
CN113485972A (en)*2021-08-022021-10-08安徽文香科技有限公司Multimedia sharing method, device, mobile terminal and storage medium
WO2021227646A1 (en)*2020-05-152021-11-18华为技术有限公司File sharing method and terminal device
US11431891B2 (en)2021-01-312022-08-30Apple Inc.User interfaces for wide angle video conference
US11513667B2 (en)2020-05-112022-11-29Apple Inc.User interface for audio message
US11770600B2 (en)2021-09-242023-09-26Apple Inc.Wide angle video conference
US11822761B2 (en)2021-05-152023-11-21Apple Inc.Shared-content session user interfaces
US11849255B2 (en)2018-05-072023-12-19Apple Inc.Multi-participant live communication user interface
US11893214B2 (en)2021-05-152024-02-06Apple Inc.Real-time communication user interface
US11895391B2 (en)2018-09-282024-02-06Apple Inc.Capturing and displaying images with multiple focal planes
US11907605B2 (en)2021-05-152024-02-20Apple Inc.Shared-content session user interfaces
US12170579B2 (en)2021-03-052024-12-17Apple Inc.User interfaces for multi-participant live communication
US12267622B2 (en)2021-09-242025-04-01Apple Inc.Wide angle video conference
US12301979B2 (en)2021-01-312025-05-13Apple Inc.User interfaces for wide angle video conference
US12302035B2 (en)2010-04-072025-05-13Apple Inc.Establishing a video conference during a phone call
US12368946B2 (en)2021-09-242025-07-22Apple Inc.Wide angle video conference
US12381924B2 (en)2021-05-152025-08-05Apple Inc.Real-time communication user interface

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20010049740A1 (en)*2000-03-222001-12-06Karpoff Wayne T.Method and system for providing multimedia information on demand over wide area networks
CN1650278A (en)*2001-12-122005-08-03诺基亚公司 Synchronized media playback and messaging system
CN101141472A (en)*2006-09-082008-03-12腾讯科技(深圳)有限公司Method and system for implementing broadcast state synchronization between chatting room members
CN101141470A (en)*2006-09-052008-03-12腾讯科技(深圳)有限公司Resource sharing method and system
CN103748610A (en)*2011-03-292014-04-23Ti广场技术株式会社 Method and system for providing multimedia content sharing service while performing communication service

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20010049740A1 (en)*2000-03-222001-12-06Karpoff Wayne T.Method and system for providing multimedia information on demand over wide area networks
CN1650278A (en)*2001-12-122005-08-03诺基亚公司 Synchronized media playback and messaging system
CN101141470A (en)*2006-09-052008-03-12腾讯科技(深圳)有限公司Resource sharing method and system
CN101141472A (en)*2006-09-082008-03-12腾讯科技(深圳)有限公司Method and system for implementing broadcast state synchronization between chatting room members
CN103748610A (en)*2011-03-292014-04-23Ti广场技术株式会社 Method and system for providing multimedia content sharing service while performing communication service

Cited By (44)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US12302035B2 (en)2010-04-072025-05-13Apple Inc.Establishing a video conference during a phone call
WO2016197859A1 (en)*2015-06-112016-12-15阿里巴巴集团控股有限公司Method and device for synchronously broadcasting multimedia data
CN105450651A (en)*2015-12-042016-03-30浙江宇视科技有限公司Monitoring video code stream dynamic route selection method and device
CN105450651B (en)*2015-12-042021-07-02浙江宇视科技有限公司 A method and device for monitoring video stream dynamic routing
CN106550279A (en)*2016-04-072017-03-29乐视控股(北京)有限公司Interactive live implementation method, apparatus and system
CN106790172B (en)*2016-12-292020-03-17东软集团股份有限公司File sharing method, server and client
CN106790172A (en)*2016-12-292017-05-31东软集团股份有限公司A kind of file sharing method and server, client
US12210730B2 (en)2017-09-292025-01-28Apple Inc.User interface for multi-user communication session
CN113162843B (en)*2017-09-292023-09-29苹果公司User interface for multi-user communication session
US11435877B2 (en)2017-09-292022-09-06Apple Inc.User interface for multi-user communication session
CN112910764A (en)*2017-09-292021-06-04苹果公司User interface for multi-user communication sessions
CN113162843A (en)*2017-09-292021-07-23苹果公司User interface for multi-user communication sessions
CN110019058A (en)*2017-10-132019-07-16腾讯科技(深圳)有限公司The sharing method and device of file operation
CN110019058B (en)*2017-10-132022-12-06腾讯科技(深圳)有限公司Sharing method and device for file operation
WO2019080309A1 (en)*2017-10-262019-05-02广州视源电子科技股份有限公司Audio and video file sharing method, device and system, storage medium and terminal device
CN107846634A (en)*2017-10-262018-03-27广州视源电子科技股份有限公司Audio and video file sharing method, device and system, storage medium and terminal equipment
CN108322793A (en)*2018-03-012018-07-24北京奇艺世纪科技有限公司A kind of shared video broadcasting method, device and electronic equipment
CN108322793B (en)*2018-03-012021-11-05北京奇艺世纪科技有限公司Shared video playing method and device and electronic equipment
US11849255B2 (en)2018-05-072023-12-19Apple Inc.Multi-participant live communication user interface
US11895391B2 (en)2018-09-282024-02-06Apple Inc.Capturing and displaying images with multiple focal planes
CN111083528A (en)*2019-12-232020-04-28维沃移动通信有限公司Information playing method, information sending method and electronic equipment
CN111147919A (en)*2019-12-312020-05-12维沃移动通信有限公司 A playback adjustment method, electronic device and computer-readable storage medium
CN111696499A (en)*2020-04-302020-09-22深圳传音控股股份有限公司Multimedia on demand method, mobile terminal and computer readable storage medium
US11513667B2 (en)2020-05-112022-11-29Apple Inc.User interface for audio message
US12265696B2 (en)2020-05-112025-04-01Apple Inc.User interface for audio message
WO2021227646A1 (en)*2020-05-152021-11-18华为技术有限公司File sharing method and terminal device
CN111818383A (en)*2020-07-142020-10-23北京字节跳动网络技术有限公司Video data generation method, system, device, electronic equipment and storage medium
US11431891B2 (en)2021-01-312022-08-30Apple Inc.User interfaces for wide angle video conference
US11671697B2 (en)2021-01-312023-06-06Apple Inc.User interfaces for wide angle video conference
US12301979B2 (en)2021-01-312025-05-13Apple Inc.User interfaces for wide angle video conference
US11467719B2 (en)2021-01-312022-10-11Apple Inc.User interfaces for wide angle video conference
US12170579B2 (en)2021-03-052024-12-17Apple Inc.User interfaces for multi-participant live communication
US11907605B2 (en)2021-05-152024-02-20Apple Inc.Shared-content session user interfaces
US11928303B2 (en)2021-05-152024-03-12Apple Inc.Shared-content session user interfaces
US11822761B2 (en)2021-05-152023-11-21Apple Inc.Shared-content session user interfaces
US12242702B2 (en)2021-05-152025-03-04Apple Inc.Shared-content session user interfaces
US12260059B2 (en)2021-05-152025-03-25Apple Inc.Shared-content session user interfaces
US11893214B2 (en)2021-05-152024-02-06Apple Inc.Real-time communication user interface
US12381924B2 (en)2021-05-152025-08-05Apple Inc.Real-time communication user interface
CN113485972A (en)*2021-08-022021-10-08安徽文香科技有限公司Multimedia sharing method, device, mobile terminal and storage medium
US12267622B2 (en)2021-09-242025-04-01Apple Inc.Wide angle video conference
US11812135B2 (en)2021-09-242023-11-07Apple Inc.Wide angle video conference
US11770600B2 (en)2021-09-242023-09-26Apple Inc.Wide angle video conference
US12368946B2 (en)2021-09-242025-07-22Apple Inc.Wide angle video conference

Also Published As

Publication numberPublication date
CN104602133B (en)2018-09-18

Similar Documents

PublicationPublication DateTitle
CN104602133A (en)Multimedia file shearing method and terminal as well as server
CN107580783B (en)Method, system and storage medium for synchronizing media content between different devices
EP3886452B1 (en)Method for sharing media content, terminal device, and content sharing system
CN111131891B (en)Audio and video playing method and device, playing equipment and system
WO2017185641A1 (en)Method of generating voice overlay comment, playback method, and device and client thereof
TW201441931A (en)Method and apparatus for sending multiple images in instant communication application
EP3024223B1 (en)Videoconference terminal, secondary-stream data accessing method, and computer storage medium
CN103037243A (en)Method and system for switching network videos among multiple intelligent terminals and intelligent terminals
CN114554277B (en)Multimedia processing method, device, server and computer readable storage medium
CN106331763A (en)Method of playing slicing media files seamlessly and device of realizing the method
CN113727177A (en)Screen-projecting resource playing method and device, equipment and medium thereof
CN111356023B (en)Playing mode determining method and device
CN111835988B (en)Subtitle generation method, server, terminal equipment and system
CN106792237B (en)Message display method and system
CN104837046A (en)Multi-media file processing method and device
US11825170B2 (en)Apparatus and associated methods for presentation of comments
US10491681B2 (en)Method and a device for enriching a call
US9407895B2 (en)Apparatus and method for controlling a video
CN106162234A (en)A kind of method and device sharing TV programme
CN110996118A (en)Cover synthesis method, device, server and storage medium
US10812549B1 (en)Techniques for secure screen, audio, microphone and camera recording on computer devices and distribution system therefore
CN108377243B (en)Live streaming transmission method and device
JP2021197722A (en) Systems and methods for exchanging ultra-short media content
CN113079397A (en)Multimedia resource playing method and device
KR20130046892A (en)Data management apparatus, system and method for dividing display

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp