CN104349199B - A kind of information synchronization method and device - Google Patents

A kind of information synchronization method and device Download PDF

Info

Publication number
CN104349199B
CN104349199B CN201410673637.7A CN201410673637A CN104349199B CN 104349199 B CN104349199 B CN 104349199B CN 201410673637 A CN201410673637 A CN 201410673637A CN 104349199 B CN104349199 B CN 104349199B
Authority
CN
China
Prior art keywords
mobile terminal
instruction
medium data
play
transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201410673637.7A
Other languages
Chinese (zh)
Other versions
CN104349199A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201410673637.7A priority Critical patent/CN104349199B/en
Publication of CN104349199A publication Critical patent/CN104349199A/en
Application granted granted Critical
Publication of CN104349199B publication Critical patent/CN104349199B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41407Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of information synchronization method and device, belong to the transmission field of digital information, applied to multi-medium information sharing system, methods described includes:First mobile terminal parses the multi-medium data, obtains the corresponding metadata of the multi-medium data;First mobile terminal sends the metadata and the multi-medium data to second mobile terminal;First mobile terminal produces the first play instruction and the second play instruction simultaneously, first play instruction triggers multi-medium data described in first mobile terminal playing, first mobile terminal sends second play instruction to second mobile terminal simultaneously, and second play instruction triggers second mobile terminal and finds the corresponding multi-medium data of the metadata and play.It is an object of the invention to provide a kind of information synchronization method and device, the shortcoming that multimedia synchronous is played can not be realized to solve existing mobile terminal.

Description

A kind of information synchronization method and device
Technical field
The present invention relates to the transmission field of digital information, in particular to a kind of information synchronization method and device.
Background technology
In recent years, mobile phone terminal intellectualized technology is progressively ripe, and it entertains the recreation for being also further dissolved into people It is central.In cellphone multimedia amusement, mobile video plays this part and account for very big proportion.At present, mobile phone player species Various, its function is even more increasingly powerful.But relatively conventional video appreciating way (such as live telecast, Computerized video on-demand system Deng), the limitation of its screen not appreciating together between user.So greatly reduce viewing video between cellphone subscriber Happiness is felt and interactive.
Inventor has found that at this stage, the player on mobile phone terminal is pure player under study for action, only realization pair The decoding of video and playing function.And the mode of video sharing remains in file distributing between mobilephone terminal user in LAN, Then the stage that single user is played, the inefficiency shared, poor user experience, it is impossible to reach and broadcasting is shared to video.
The content of the invention
, can not be real to solve existing mobile terminal it is an object of the invention to provide a kind of information synchronization method and device The shortcoming that existing multimedia synchronous is played.
In a first aspect, a kind of information synchronization method that the present invention is provided, described more applied to multi-medium information sharing system Media information shared system includes the first mobile terminal and the second mobile terminal, and first mobile terminal is stored with multimedia number According to methods described includes:
First mobile terminal parses the multi-medium data, obtains the corresponding metadata of the multi-medium data;
First mobile terminal sets up local communication network with second mobile terminal;
First mobile terminal is sent the metadata and the multi-medium data to institute by local communication network State the second mobile terminal;
First mobile terminal produces the first play instruction and the second play instruction, and first mobile terminal performs institute State the first play instruction and while send second play instruction to second mobile terminal, first play instruction is touched Send out described in the first mobile terminal playing multi-medium data described, second play instruction triggers second mobile terminal and found The corresponding multi-medium data of the metadata is simultaneously played.
With reference in a first aspect, present invention also offers the first of first aspect possible embodiment, wherein, described second It is described after play instruction triggering second mobile terminal finds the corresponding multi-medium data of the metadata and played Method also includes:
First mobile terminal sends control instruction to second mobile terminal, and the control instruction refers to including pause Make, F.F. instruction and rewind are instructed, the pause instruction triggers the second mobile terminal pause and plays the multi-medium data, Multi-medium data described in second mobile terminal fast-forward play described in the F.F. instruction triggers, described in the rewind instruction triggers Multi-medium data described in two mobile terminal fast reverse plays.
With reference to the first possible embodiment of first aspect or first aspect, the embodiment of the present invention additionally provides first party Second of possible embodiment in face, wherein, first mobile terminal is built-in with data transmission bauds and played for being delayed The preset time of the multi-medium data, first mobile terminal performs first play instruction and sends described the simultaneously Before two play instructions to second mobile terminal, including:
First mobile terminal starts the preset time, while according to the data transmission bauds by the multimedia Data are sent to second mobile terminal, and timing END instruction is produced after the preset time terminates, and perform described first Mobile terminal performs first play instruction and sends second play instruction to the step of second mobile terminal simultaneously Suddenly.
With reference in a first aspect, the embodiment of the present invention additionally provides the third possible embodiment of first aspect, wherein, institute The first mobile terminal is stated to set up after local communication network with second mobile terminal, in addition to:First mobile terminal Directly transmission instruction is received, the multi-medium data is sent straight to second mobile terminal by the direct transmission instruction triggers After to the multi-medium data end of transmission, terminate to perform this method.
With reference in a first aspect, the embodiment of the present invention additionally provides the 4th kind of possible embodiment of first aspect, wherein, institute State the first mobile terminal and set up local communication network with second mobile terminal, including:First mobile terminal, which is sent, to be passed Defeated request receives the instruction of the agreement transmission of the second mobile terminal feedback, carries out data biography to second mobile terminal It is defeated.
With reference to the first possible embodiment of first aspect or first aspect, the embodiment of the present invention additionally provides first party The 5th kind of possible embodiment in face, wherein, first mobile terminal performs first play instruction and sends institute simultaneously Before stating the second play instruction to second mobile terminal, including:First mobile terminal receives second movement eventually The instruction that the startup of end feedback is played.
With reference to the 5th kind of possible embodiment of first aspect, the embodiment of the present invention additionally provides the 6th kind of first aspect Possible embodiment, wherein, first mobile terminal receives the instruction that the startup of the second mobile terminal feedback is played, bag Include:First mobile terminal obtains the desire reproduction time node of the multi-medium data, and first mobile terminal, which is sent, to be intended to Play instruction and the desire reproduction time node are to second mobile terminal, and the desire play instruction triggering described second is moved Terminal judges whether the multi-medium data received includes the desire reproduction time node, if so, second movement is eventually Hold and send the instruction for starting broadcasting to first mobile terminal.
Second aspect, a kind of synchronizing information device provided in an embodiment of the present invention, applied to multi-medium information sharing system, The multi-medium information sharing system includes the first mobile terminal and the second mobile terminal, and first mobile terminal is stored with many Media data, first mobile terminal includes:
Resolution unit, for parsing the multi-medium data, obtains the corresponding metadata of the multi-medium data;
Transmission unit, for setting up local communication network with second mobile terminal;
Transmitting element, for being sent the metadata and the multi-medium data to institute by the local communication network State the second mobile terminal;
Broadcast unit, for producing the first play instruction and the second play instruction, first mobile terminal performs described First play instruction simultaneously sends second play instruction to second mobile terminal, the first play instruction triggering simultaneously Multi-medium data described in first mobile terminal playing, second play instruction triggers second mobile terminal and finds institute State the corresponding multi-medium data of metadata and play.
With reference to second aspect, the embodiment of the present invention additionally provides the first possible embodiment of second aspect, wherein, institute Stating broadcast unit also includes:
Subelement is controlled, second mobile terminal is triggered for second play instruction and finds the metadata correspondence The multi-medium data and after playing, send control instruction to second mobile terminal, the control instruction includes temporary Stop instruction, F.F. instruction and rewind instruction, the pause instruction trigger the second mobile terminal pause and play the multimedia Data, multi-medium data described in the second mobile terminal fast-forward play, the rewind instruction triggers described in the F.F. instruction triggers Multi-medium data described in the second mobile terminal fast reverse play.
With reference to the first possible embodiment of second aspect or second aspect, the embodiment of the present invention additionally provides second party Second of possible embodiment in face, wherein, first mobile terminal is built-in with data transmission bauds and played for being delayed The preset time of the multi-medium data, the broadcast unit includes:
Timing subelement, for starting the preset time, while according to the data transmission bauds by the multimedia Data are sent to second mobile terminal, and timing END instruction is produced after the preset time terminates, and perform described first Mobile terminal performs first play instruction and sends second play instruction to the step of second mobile terminal simultaneously Suddenly.
With reference to second aspect, the embodiment of the present invention additionally provides the third possible embodiment of second aspect, wherein, institute Stating the first mobile terminal also includes:
Inquiry unit, receives directly transmission instruction, the directly transmission instruction triggers will for first mobile terminal The multi-medium data is sent to second mobile terminal until after the multi-medium data end of transmission, end performs sheet Secondary method.
With reference to second aspect, the embodiment of the present invention additionally provides the 4th kind of possible embodiment of second aspect, wherein, institute Stating transmission unit includes:
Transmission request subelement, for sending transmission request to second mobile terminal, receives second movement eventually The instruction of the agreement transmission of end feedback, carries out data transmission.
With reference to the first possible embodiment of second aspect or second aspect, the embodiment of the present invention additionally provides second party The 5th kind of possible embodiment in face, wherein, the broadcast unit also includes:
Buffered play subelement, the instruction that the startup for receiving the second mobile terminal feedback is played.
With reference to the 5th kind of possible embodiment of second aspect, the embodiment of the present invention additionally provides the 6th kind of second aspect Possible embodiment, wherein, the buffered play subelement includes:
Subelement to be played, the desire reproduction time node for obtaining the multi-medium data, first mobile terminal Send and be intended to play instruction and the desire reproduction time node to second mobile terminal, the desire play instruction triggering described the Two mobile terminals judge whether the multi-medium data received includes the desire reproduction time node, if so, described second Mobile terminal, which is sent, starts the instruction played to first mobile terminal.
The technique effect that the present invention is realized:The present invention is set up by first mobile terminal and second mobile terminal After connection, multimedia file is sent to second mobile terminal, in the first mobile terminal playing multimedia file Multimedia file described in triggering second mobile terminal playing simultaneously, realizes first mobile terminal and described second and moves Dynamic terminal synchronously plays multimedia file.In addition, by the connection of wireless network, first mobile terminal can also with it is multiple Second mobile terminal synchronization plays multimedia file.Compared with prior art, first movement of the embodiment of the present invention Terminal be simultaneously emitted by first mobile terminal and second mobile terminal playing described in multimedia file, solve existing Mobile terminal can not realize the shortcoming that multimedia synchronous is played.
Further, the embodiment of the present invention is by sending control instruction to second mobile terminal, in the described first movement While terminal and second mobile terminal synchronization play the multi-medium data, first mobile terminal can control institute The multimedia play mode of the second mobile terminal is stated, such as pause broadcasting, fast-forward play or fast reverse play.
Further, in timing, first mobile terminal only sends the multi-medium data to described second Mobile terminal but synchronous broadcasting is not realized, second mobile terminal is had a buffer time in the timing, and And one side transmitting multimedia data can be realized while the function of playing.Further, the embodiment of the present invention is moved by described first Dynamic terminal is received after directly transmission instruction, is directly sent multi-medium data to second mobile terminal until the multimedia Data transfer is finished.
Further, the embodiment of the present invention is according to the link order, make second mobile terminal actively choose whether with First mobile terminal sets up the information connection of multi-medium data transmission.
Further, there is a certain time delay because second mobile terminal starts player, and mobile terminal is System or hardware are different, and the time delay for starting player is of different sizes, therefore the embodiment of the present invention is in first mobile terminal After the instruction for the startup broadcasting for receiving the second mobile terminal feedback, first mobile terminal just will be with described second Mobile terminal synchronization is played, and effectively prevent in the first mobile terminal playing multi-medium data, and second movement is eventually End can not be played because of time delay with first mobile terminal synchronization.
Further, the desire play instruction that the embodiment of the present invention is sent by first mobile terminal, is realized and described the Two mobile terminals are in identical reproduction time node synchronous sharing.For example, first mobile terminal is intended to from the multimedia video The 3rd minute of the reproduction time of frequency evidence start it is synchronous play, first mobile terminal, which is sent, is intended to play instruction to described the Two mobile terminals, trigger second mobile terminal and were commenced play out from the 3rd minute of the multi-medium data received, described to be broadcast Put instruction and trigger second mobile terminal first and search received multi-medium data whether have been received that 3 minutes, such as Fruit does not have, then second mobile terminal continues to the multi-medium data that first mobile terminal is sent, until described the Two mobile terminals are searched received multi-medium data and had been received that 3 minutes, then feed back one and start the instruction played To first mobile terminal, first mobile terminal is received after the startup play instruction, the step of performing synchronous play.
Other features and advantages of the present invention will be illustrated in subsequent specification, also, partly be become from specification It is clear that or by implementing the understanding of the embodiment of the present invention two.The purpose of the present invention and other advantages can be by being write Specifically noted structure is realized and obtained in specification, claims and accompanying drawing.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.By shown in accompanying drawing, above and other purpose of the invention, feature and advantage will become apparent from.In whole Identical reference indicates identical part in accompanying drawing.Deliberately accompanying drawing, emphasis are not drawn by actual size equal proportion scaling It is the purport for showing the present invention.
Fig. 1 shows a kind of method flow diagram of the first embodiment of information synchronization method provided in an embodiment of the present invention;
Fig. 2 shows a kind of method flow diagram of the second embodiment of information synchronization method provided in an embodiment of the present invention;
Fig. 3 shows a kind of circuit theory diagrams of the first embodiment of synchronizing information device provided in an embodiment of the present invention;
Fig. 4 shows a kind of circuit theory diagrams of the second embodiment of synchronizing information device provided in an embodiment of the present invention;
Fig. 5 shows a kind of circuit principle structure figure of synchronizing information device provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Whole description, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
In recent years, mobile phone terminal intellectualized technology is progressively ripe, and it entertains the recreation for being also further dissolved into people It is central.In cellphone multimedia amusement, mobile video plays this part and account for very big proportion.At present, mobile phone player species Various, its function is even more increasingly powerful.But relatively conventional video appreciating way (such as live telecast, Computerized video on-demand system Deng), the limitation of its screen not appreciating together between user.So greatly reduce viewing video between cellphone subscriber Happiness is felt and interactive.
Inventor has found that at this stage, the player on mobile phone terminal is pure player under study for action, only realization pair The decoding of video and playing function.And the mode of video sharing remains in file distributing between mobilephone terminal user in LAN, Then the stage that single user is played, the inefficiency shared, poor user experience, it is impossible to reach and broadcasting is shared to video.
Inventor solves above-mentioned the deficiencies in the prior art, and there is provided the embodiment of the present invention.The embodiment of the present invention is applied to Multi-medium information sharing system in multi-medium information sharing system, the embodiment of the present invention includes the first mobile terminal and second and moved One is not limited in dynamic terminal, the second mobile terminal quantity, multiple second mobile terminals can be included.Described first moves Dynamic terminal and second mobile terminal are fitted with the software for playing multimedia file, such as audio player or video Player etc..The first mobile terminal storage inside has multimedia file.
A kind of information synchronization method as shown in Figure 1, methods described includes:
S11:Definition multimedia file.
Have a metadata in each multimedia file, for preserve the key frame of multimedia file, file size, The information such as time span, have to obtain the metadata of multimedia file when playing multimedia file.First mobile terminal Parse the multimedia file and obtain its metadata.
S12:The second mobile terminal is given by the metadata and multimedia file transmission of multimedia file.
First mobile terminal and second mobile terminal are transmitted by way of wireless network, the wireless network Can be WLAN (Wireless Local Area Networks, WLAN) or bluetooth, infrared, wireless guarantor Very (Wireless Fidelity, Wi-Fi) focus, Wi-Fi direct, Airdrop or other wireless transmission methods.
First mobile terminal is whole to the second movement by the multimedia metadata and the multimedia file transmission End, wherein, the concrete mode by the multimedia file transmission to the second mobile terminal can be:The multimedia file is complete Portion performs subsequent step again after being sent to the second mobile terminal, can also be sent to the part of the multimedia file described Subsequent step is performed after second mobile terminal.
Wherein, the mode for giving second mobile terminal by the multimedia file transmission of part is, many from transmission is started Media file to second mobile terminal starts lasting transmission one end time, such as 1 minute or other times length, so only The content of the previous minute of multimedia file is sent to second mobile terminal.
S13:It is synchronous to play multimedia file.
Here implement in two kinds of situation:
One kind is that multimedia file is smaller, such as only tens seconds, and first mobile terminal is in very short time Just the full content of the multimedia file is sent to second mobile terminal.Now, first mobile terminal is produced First play instruction, first play instruction triggers multimedia file described in first mobile terminal playing and sends the simultaneously It is corresponding many that two play instructions find the metadata to second mobile terminal, after the second mobile terminal reception instruction Media file is simultaneously played, so as to realize that first mobile terminal and second mobile terminal synchronization play same multimedia File.
Second of situation is that the multimedia file is larger, and first mobile terminal needs the long period could be by institute The full content for stating multimedia file is sent to second mobile terminal.Now, first mobile terminal only sends described The part of multimedia file is to second mobile terminal, such as described first mobile terminal, which is persistently sent, produces after one minute One play instruction, first play instruction triggers multimedia file described in first mobile terminal playing and sends second simultaneously Play instruction to second mobile terminal, second mobile terminal finds the corresponding many matchmakers of the metadata after receiving instruction Body file is simultaneously played, so as to realize that first mobile terminal and second mobile terminal synchronization play same multimedia text Part.Now, on the one hand second mobile terminal receives remaining of the multimedia file of the first mobile terminal transmission Part, while playing the data of received multimedia file.Therefore, second mobile terminal can be while receive data one Side played data, improves the synchronous efficiency played of first mobile terminal and second mobile terminal.
Alternatively, it is also possible to first mobile terminal after S12 steps are performed, while producing the first play instruction and second Play instruction, first play instruction controls multimedia file described in first mobile terminal playing, and described second plays The multimedia file that first mobile terminal that instruction control second mobile terminal playing is received is sent.
Further, since second mobile terminal, which starts player, certain time delay, and the system of mobile terminal Or hardware is different, the time delay for starting player is of different sizes, therefore the embodiment of the present invention connects in first mobile terminal After the instruction for the startup broadcasting for receiving the second mobile terminal feedback, first mobile terminal will just be moved with described second Dynamic terminal is synchronously played, and effectively prevent in the first mobile terminal playing multi-medium data, second mobile terminal Because time delay can not be played with first mobile terminal synchronization.
Furthermore, the desire play instruction that the embodiment of the present invention is sent by first mobile terminal is realized and described second Mobile terminal is in identical reproduction time node synchronous sharing.For example, first mobile terminal is intended to from the multimedia video The 3rd minute of the reproduction time of data starts synchronous broadcasting, and first mobile terminal, which is sent, is intended to play instruction to described second Mobile terminal, triggers second mobile terminal and was commenced play out from the 3rd minute of the multi-medium data received, described to be played Instruction triggers second mobile terminal and searches whether received multi-medium data has been received that 3 minutes first, if No, then second mobile terminal continues to the multi-medium data that first mobile terminal is sent, until described second Mobile terminal is searched received multi-medium data and had been received that 3 minutes, then feeds back one and starts the instruction played extremely First mobile terminal, first mobile terminal is received after the startup play instruction, the step of performing synchronous play.
S14:Send control command.
After first mobile terminal sends first play instruction to second mobile terminal, described first moves Dynamic terminal can also send control instruction, and the control instruction includes pause instruction, F.F. instruction and rewind instruction, the pause The multi-medium data is played in second mobile terminal pause described in instruction triggers, and the second movement described in the F.F. instruction triggers is eventually Hold multi-medium data, multimedia number described in the second mobile terminal fast reverse play described in the rewind instruction triggers described in fast-forward play According to.
Therefore, when first mobile terminal and second mobile terminal synchronization play the multimedia file, institute Stating the first mobile terminal can be same in first mobile terminal and second mobile terminal by control instruction realization When step plays multimedia file, pause, the fast forward and reverse of the player of second mobile terminal are controlled.
Synchronously play, broadcast with certain in addition, the control play instruction also includes selection identical reproduction time node Put speed and play multimedia file or other broadcasting control instructions.
Therefore, after the present invention is connected by first mobile terminal and second mobile terminal foundation, by multimedia File is sent to second mobile terminal, and described second is triggered while the first mobile terminal playing multimedia file Multimedia file described in mobile terminal playing, realizes first mobile terminal and second mobile terminal synchronization plays many Media file.In addition, by the connection of wireless network, first mobile terminal can also be with multiple second mobile terminals It is synchronous to play multimedia file.
In addition, by similar bluetooth described above, red between first mobile terminal and second mobile terminal Outside, Wireless Fidelity (Wireless Fidelity, Wi-Fi) focus, Wi-Fi direct, Airdrop or other sides of being wirelessly transferred Formula sets up P2P local area network, and the broadcasting control between first mobile terminal and second mobile terminal refers to The data such as order and multimedia file and communication mechanism are all transmitted by the local area network.
In addition, the embodiment of the present invention additionally provides a kind of method flow diagram of the second embodiment of information synchronization method, such as Shown in Fig. 2, the second embodiment of methods described includes:
S21:Connection is set up in application.
First mobile terminal is synchronous with the second mobile terminal realization play multimedia file before, described the One mobile terminal sets up information transfer connection firstly the need of with second mobile terminal.First mobile terminal sends connection Instruction is to second mobile terminal, and second mobile terminal is received after the link order, second mobile terminal Perform S22:Whether agreement is connected.
Second mobile terminal is received after the link order, can eject an inquiry message, and user sees inquiry Choose whether to establish a connection with first mobile terminal after information, if you select No, then perform S24:Disconnect, this When, second mobile terminal sends the 3rd instruction to first mobile terminal, triggers first mobile terminal and described Second mobile terminal disconnects multimedia file transmission channel;If selection is, second mobile terminal sends the 4th instruction extremely First mobile terminal, triggers first mobile terminal and sets up multimedia file transmission letter with second mobile terminal Road, and perform S23:Whether synchronous sharing.Second mobile terminal and first mobile terminal are set up be connected after, described the Whether user's unrestricted choice of one mobile terminal needs synchronous sharing, when user's selection is asynchronous shared, performs S25:Transmission Multimedia file, that is, trigger first mobile terminal and send the multimedia file to second mobile terminal until number According to the end of transmission;If user selects synchronous sharing, trigger first mobile terminal and perform S11:Definition multimedia file.
S12:The second mobile terminal is given by the metadata and multimedia file transmission of multimedia file.
S26:Timing is set.
First mobile terminal presets transmission speed and preset time, first number described in first acquisition for mobile terminal According to the time span and the information of file size of the interior multimedia file.When first mobile terminal calculates described preset Between ratio with the time span of the multi-medium data;First mobile terminal is by calculating the ratio and many matchmakers The product of the file size of volume data again divided by the transmission speed, obtains timing.
For example, the time span of the multimedia file is 10 minutes, file size is 100M, and the preset time is 2 Minute, transmission speed is 2Mbps, then it is 10S to calculate obtained timing.Wherein, the preset time is the described second shifting Dynamic terminal is before synchronously playing, the reproduction time length of the multimedia file received in advance.
In addition, transmission speed can preset one, survey grid speed can also be installed in first mobile terminal Software, then performing first mobile terminal by calculating the ratio and the product of the file size of the multi-medium data Again divided by before the transmission speed, first mobile terminal and second movement are measured by the software of survey grid speed The transmission network speed of terminal, the new transmission speed measured is covered the network speed of the first mobile terminal memory storage.
S27:It is synchronous to play multimedia file after timing terminates.
S14:Send control command.
A kind of circuit structure diagram of the first embodiment of synchronizing information device provided in an embodiment of the present invention as shown in Figure 3, Including:First mobile terminal 1 00 and the second mobile terminal 200, first mobile terminal 1 00 include:
Resolution unit 101, for parsing the multi-medium data, obtains the corresponding metadata of the multi-medium data;
Transmission unit 300, for setting up local communication network with second mobile terminal 200;
Transmitting element 102, for being sent the metadata and the multi-medium data by the local communication network To second mobile terminal 200;
Broadcast unit 103, for producing the first play instruction and the second play instruction, first mobile terminal 1 00 is held Row first play instruction is simultaneously broadcast while sending second play instruction to second mobile terminal 200, described first Put the first mobile terminal 1 00 described in instruction triggers and play the multi-medium data, the second play instruction triggering described second Mobile terminal 200 finds the corresponding multi-medium data of the metadata and played.
The broadcast unit 103 includes control subelement 104, for second play instruction triggering, second movement After terminal 200 finds the corresponding multi-medium data of the metadata and played, control instruction is sent to the described second shifting Dynamic terminal 200, the control instruction includes pause instruction, F.F. instruction and rewind instruction, the pause instruction triggering described the The multi-medium data is played in the pause of two mobile terminals 200, and the F.F. of the second mobile terminal 200 described in the F.F. instruction triggers is broadcast Put the multi-medium data, multi-medium data described in the fast reverse play of the second mobile terminal 200 described in the rewind instruction triggers.
A kind of circuit theory of the second embodiment of synchronizing information device provided in an embodiment of the present invention as shown in Figure 4 Figure, on the basis of Fig. 3, the broadcast unit 103 includes:
Obtain subelement 106, the reproduction time length of the multi-medium data recorded for obtaining in the metadata With the information of file size;
First computation subunit 107, the reproduction time length for calculating the preset time and the multi-medium data Ratio;
Second computation subunit 108, for by calculating multiplying for the ratio and the file size of the multi-medium data Product again divided by the data transmission bauds, obtains timing;
First timing subelement 109, for starting the timing, while will be described according to the data transmission bauds Multi-medium data is sent to second mobile terminal, and timing END instruction is produced after the timing terminates, and performs institute State the first mobile terminal execution first play instruction and while send second play instruction moves whole to described second The step of end.
In addition, first mobile terminal is built-in with data transmission bauds and plays the multi-medium data for being delayed Preset time, the broadcast unit includes:
Second timing subelement 302, for starting the preset time, while will be described according to the data transmission bauds Multi-medium data is sent to second mobile terminal, and timing END instruction is produced after the preset time terminates, and performs institute State the first mobile terminal execution first play instruction and while send second play instruction moves whole to described second The step of end.
First mobile terminal 1 00 also includes:
Inquiry unit 111, directly transmission instruction, the direct transmission instruction triggers are received for first mobile terminal The multi-medium data is sent to second mobile terminal until after the multi-medium data end of transmission, terminating to perform This method.
The transmission unit 300 includes:
Transmission request subelement 301, for sending transmission request to second mobile terminal, receives second movement The instruction of the agreement transmission of terminal feedback, carries out data transmission.
In addition, the broadcast unit 103 also includes buffered play subelement 303, for receiving second mobile terminal The instruction that the startup of feedback is played.
The buffered play subelement 303 include subelement 304 to be played, for obtain the multi-medium data be intended to broadcast Timing node is put, it is whole to the described second movement that first mobile terminal sends desire play instruction and the desire reproduction time node End, play instruction triggering second mobile terminal that is intended to judges whether the multi-medium data received includes described be intended to Reproduction time node, if so, second mobile terminal, which is sent, starts the instruction played to first mobile terminal.
The first embodiment and second embodiment of synchronizing information device provided in an embodiment of the present invention shown in Fig. 3 and Fig. 4 Circuit theory diagrams embodiment with reference to Fig. 1 and Fig. 2 embodiment of the method embodiment, will not be repeated here.
Referring to Fig. 5, the embodiment of the present invention also provides a kind of synchronizing information device 500, including:Processor 400, memory 401, bus 402 and communication interface 403, the processor 400, communication interface 403 and memory 401 are connected by bus 402; Processor 400 is used to perform the executable module stored in memory 401, such as computer program.
Wherein, memory 401 may include high-speed random access memory (RAM:Random Access Memory), Non-labile memory (non-volatile memory), for example, at least one magnetic disk storage may also be included.By extremely A few communication interface 403 (can be wired or wireless) is realized logical between the system network element and at least one other network element Letter connection, can use internet, wide area network, LAN, Metropolitan Area Network (MAN) etc..
Bus 402 can be isa bus, pci bus or eisa bus etc..The bus can be divided into address bus, number According to bus, controlling bus etc..For ease of representing, only represented in Fig. 5 with a four-headed arrow, it is not intended that only one bus Or a type of bus.
Wherein, memory 401 is used for storage program, and the processor 400 performs the journey after execute instruction is received Sequence, the method performed by the device for the flow definition that foregoing any embodiment of the embodiment of the present invention is disclosed can apply to processor In 400, or realized by processor 400.
Processor 400 is probably a kind of IC chip, the disposal ability with signal.It is above-mentioned in implementation process Each step of method can be completed by the integrated logic circuit of the hardware in processor 400 or the instruction of software form.On The processor 400 stated can be general processor, including central processing unit (Central Processing Unit, referred to as CPU), network processing unit (Network Processor, abbreviation NP) etc.;Can also be digital signal processor (DSP), it is special Integrated circuit (ASIC), ready-made programmable gate array (FPGA) or other PLDs, discrete gate or transistor Logical device, discrete hardware components.It can realize or perform disclosed each method, step and the logic in the embodiment of the present invention Block diagram.General processor can be microprocessor or the processor can also be any conventional processor etc..With reference to this hair The step of method disclosed in bright embodiment, can be embodied directly in hardware decoding processor and perform completion, or be handled with decoding Hardware and software module combination in device perform completion.Software module can be located at random access memory, flash memory, read-only storage, In the ripe storage medium in this area such as programmable read only memory or electrically erasable programmable memory, register.This is deposited Storage media is located at memory 401, and processor 400 reads the information in memory 401, and the step of the above method is completed with reference to its hardware Suddenly.
In addition, the flow chart and block diagram in accompanying drawing show system, method and the meter of multiple embodiments according to the present invention Architectural framework in the cards, function and the operation of calculation machine program product.At this point, each square frame in flow chart or block diagram Can represent a part for a module, program segment or code, the part of the module, program segment or code comprising one or Multiple executable instructions for being used to realize defined logic function.It should also be noted that in some realizations as replacement, square frame Middle marked function can also be with different from the order marked in accompanying drawing generation.For example, two continuous square frames are actually It can perform substantially in parallel, they can also be performed in the opposite order sometimes, this is depending on involved function.Also to note Meaning, the combination of each square frame in block diagram and/or flow chart and the square frame in block diagram and/or flow chart can be with holding The special hardware based system of function or action as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
A kind of online credit of progress that the embodiment of the present invention is provided audits the computer program product of device, including storage The computer-readable recording medium of program code, the instruction that described program code includes can be used for performing previous methods embodiments Described in method, implement can be found in embodiment of the method, will not be repeated here.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
, can be with several embodiments provided herein, it should be understood that disclosed systems, devices and methods Realize by another way.Device embodiment described above is only schematical, for example, the division of the unit, It is only a kind of division of logic function, there can be other dividing mode when actually realizing, in another example, multiple units or component can To combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or beg for The coupling each other of opinion or direct-coupling or communication connection can be by some communication interfaces, device or unit it is indirect Coupling is communicated to connect, and can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposited between operating In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Nonexcludability is included, so that process, method, article or equipment including a series of key elements not only will including those Element, but also other key elements including being not expressly set out, or also include being this process, method, article or equipment Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Also there is other identical element in process, method, article or equipment including the key element.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (12)

1. a kind of information synchronization method, it is characterised in that applied to multi-medium information sharing system, the multimedia messages are shared System includes the first mobile terminal and the second mobile terminal, and first mobile terminal is stored with multi-medium data, described first Mobile terminal is built-in with data transmission bauds and the preset time for receiving the multi-medium data reproduction time length in advance, Methods described includes:
First mobile terminal parses the multi-medium data, obtains the corresponding metadata of the multi-medium data;
First mobile terminal sets up local communication network with second mobile terminal;
First mobile terminal is sent the metadata and the multi-medium data to described by local communication network Two mobile terminals;
Timing is obtained according to the preset time;
First mobile terminal starts the timing, while according to the data transmission bauds by the multi-medium data Send to second mobile terminal, timing END instruction is produced after the timing terminates;
First mobile terminal produces the first play instruction and the second play instruction, and first mobile terminal performs described the One play instruction simultaneously sends second play instruction to second mobile terminal simultaneously, and first play instruction triggers institute Multi-medium data described in the first mobile terminal playing is stated, the second play instruction triggering second mobile terminal finds described The corresponding multi-medium data of metadata is simultaneously played.
2. information synchronization method according to claim 1, it is characterised in that the second play instruction triggering described second After mobile terminal finds the corresponding multi-medium data of the metadata and played, methods described also includes:
First mobile terminal sends control instruction to second mobile terminal, the control instruction include pause instruction, F.F. instruction and rewind instruction, the pause instruction trigger the second mobile terminal pause and play the multi-medium data, institute Multi-medium data described in the second mobile terminal fast-forward play described in F.F. instruction triggers is stated, second described in the rewind instruction triggers Multi-medium data described in mobile terminal fast reverse play.
3. information synchronization method according to claim 1, it is characterised in that first mobile terminal is moved with described second Dynamic terminal is set up after local communication network, in addition to:First mobile terminal receives directly transmission instruction, described directly to pass Defeated instruction triggers by the multi-medium data send to second mobile terminal until the multi-medium data end of transmission it Afterwards, terminate to perform this method.
4. information synchronization method according to claim 1, it is characterised in that first mobile terminal is moved with described second Dynamic terminal sets up local communication network, including:First mobile terminal sends transmission request to second mobile terminal, connects The instruction of the agreement transmission of the second mobile terminal feedback is received, is carried out data transmission.
5. information synchronization method according to claim 1 or 2, it is characterised in that first mobile terminal performs described First play instruction is simultaneously sent before second play instruction to second mobile terminal simultaneously, including:Described first moves Dynamic terminal receives the instruction that the startup of the second mobile terminal feedback is played.
6. information synchronization method according to claim 5, it is characterised in that first mobile terminal receives described second The instruction that the startup of mobile terminal feedback is played, including:First mobile terminal obtain the multi-medium data be intended to play Timing node, it is whole to the described second movement that first mobile terminal sends desire play instruction and the desire reproduction time node End, play instruction triggering second mobile terminal that is intended to judges whether the multi-medium data received includes described be intended to Reproduction time node, if so, second mobile terminal, which is sent, starts the instruction played to first mobile terminal.
7. a kind of synchronizing information device, it is characterised in that applied to multi-medium information sharing system, the multimedia messages are shared System includes the first mobile terminal and the second mobile terminal, and first mobile terminal is stored with multi-medium data, described first Mobile terminal is built-in with data transmission bauds and the preset time for receiving multimedia file reproduction time length in advance, described First mobile terminal includes:
Resolution unit, for parsing the multi-medium data, obtains the corresponding metadata of the multi-medium data;
Transmission unit, for setting up local communication network with second mobile terminal;
Transmitting element, for being sent the metadata and the multi-medium data to described by the local communication network Two mobile terminals;
Timing acquisition unit, for obtaining timing according to the preset time;
Timing unit, the timing is started for first mobile terminal, while will according to the data transmission bauds The multi-medium data is sent to second mobile terminal, and timing END instruction is produced after the timing terminates;
Broadcast unit, for producing the first play instruction and the second play instruction, first mobile terminal performs described first Play instruction simultaneously sends second play instruction to second mobile terminal simultaneously, and the first play instruction triggering is described Multi-medium data described in first mobile terminal playing, second play instruction triggers second mobile terminal and finds the member The corresponding multi-medium data of data is simultaneously played.
8. synchronizing information device according to claim 7, it is characterised in that the broadcast unit also includes:
Subelement is controlled, second mobile terminal is triggered for second play instruction and finds the corresponding institute of the metadata After stating multi-medium data and playing, control instruction is sent to second mobile terminal, the control instruction refers to including pause Make, F.F. instruction and rewind are instructed, the pause instruction triggers the second mobile terminal pause and plays the multi-medium data, Multi-medium data described in second mobile terminal fast-forward play described in the F.F. instruction triggers, described in the rewind instruction triggers Multi-medium data described in two mobile terminal fast reverse plays.
9. synchronizing information device according to claim 7, it is characterised in that first mobile terminal also includes:
Inquiry unit, receives directly transmission instruction, the directly transmission instruction triggers will be described for first mobile terminal Multi-medium data is sent to second mobile terminal until after the multi-medium data end of transmission, terminating to perform this power Method.
10. synchronizing information device according to claim 7, it is characterised in that the transmission unit includes:
Transmission request subelement, for sending transmission request to second mobile terminal, receives second mobile terminal anti- The instruction of the agreement transmission of feedback, carries out data transmission.
11. the synchronizing information device according to claim 7 or 8, it is characterised in that the broadcast unit includes:
Buffered play subelement, the instruction that the startup for receiving the second mobile terminal feedback is played.
12. synchronizing information device according to claim 11, it is characterised in that the buffered play subelement includes:
Subelement to be played, the desire reproduction time node for obtaining the multi-medium data, first mobile terminal is sent Play instruction and the desire reproduction time node are intended to second mobile terminal, the desire play instruction triggering described second is moved Dynamic terminal judges whether the multi-medium data received includes the desire reproduction time node, if so, second movement Terminal, which is sent, starts the instruction played to first mobile terminal.
CN201410673637.7A 2014-11-21 2014-11-21 A kind of information synchronization method and device Expired - Fee Related CN104349199B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410673637.7A CN104349199B (en) 2014-11-21 2014-11-21 A kind of information synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410673637.7A CN104349199B (en) 2014-11-21 2014-11-21 A kind of information synchronization method and device

Publications (2)

Publication Number Publication Date
CN104349199A CN104349199A (en) 2015-02-11
CN104349199B true CN104349199B (en) 2017-09-26

Family

ID=52503870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410673637.7A Expired - Fee Related CN104349199B (en) 2014-11-21 2014-11-21 A kind of information synchronization method and device

Country Status (1)

Country Link
CN (1) CN104349199B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106921882A (en) * 2015-12-24 2017-07-04 中兴通讯股份有限公司 Control method, control device, terminal and audio sync Play System
CN105681434B (en) * 2016-01-27 2019-05-10 努比亚技术有限公司 Mobile terminal application method of data synchronization and device
CN105700846A (en) * 2016-03-18 2016-06-22 北京小米移动软件有限公司 File sharing method and device
CN108769120A (en) * 2018-04-24 2018-11-06 中航材导航技术(北京)有限公司 A method of clearance data is transmitted between EFB system terminals based on airdrop functions
CN109819302A (en) * 2019-03-05 2019-05-28 北京奇艺世纪科技有限公司 Multimedia file broadcasting control method and device
CN111277883B (en) * 2020-02-13 2022-05-20 京东方科技集团股份有限公司 Playing method, terminal and playing system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102456347A (en) * 2010-11-01 2012-05-16 喜讯无限(北京)科技有限责任公司 Realization system and method for split-type multi-channel synchronous play for multimedia file based on wireless transmission technology
CN102638774A (en) * 2012-03-31 2012-08-15 王方淇 Method and system for synchronously sharing mobile terminal data
EP2519037A1 (en) * 2010-05-07 2012-10-31 ZTE Corporation Method and network for sharing sensor data among mobile terminals
CN103533388A (en) * 2013-10-25 2014-01-22 潘伟洲 Method and system for synchronously playing multimedia files
CN104079957A (en) * 2014-06-25 2014-10-01 广东欧珀移动通信有限公司 Multimedia device synchronous operation method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101680344B1 (en) * 2010-05-06 2016-11-28 엘지전자 주식회사 Mobile terminal and control method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2519037A1 (en) * 2010-05-07 2012-10-31 ZTE Corporation Method and network for sharing sensor data among mobile terminals
CN102456347A (en) * 2010-11-01 2012-05-16 喜讯无限(北京)科技有限责任公司 Realization system and method for split-type multi-channel synchronous play for multimedia file based on wireless transmission technology
CN102638774A (en) * 2012-03-31 2012-08-15 王方淇 Method and system for synchronously sharing mobile terminal data
CN103533388A (en) * 2013-10-25 2014-01-22 潘伟洲 Method and system for synchronously playing multimedia files
CN104079957A (en) * 2014-06-25 2014-10-01 广东欧珀移动通信有限公司 Multimedia device synchronous operation method and system

Also Published As

Publication number Publication date
CN104349199A (en) 2015-02-11

Similar Documents

Publication Publication Date Title
CN104349199B (en) A kind of information synchronization method and device
CN107911437B (en) Screen sharing method and device, electronic equipment and storage medium
CN103024456A (en) Online video playing method and video playing server
CN106028092B (en) A kind of sharing method and device of TV screenshotss
TWI475855B (en) Synchronized wireless display devices
CN103916679B (en) A kind of method, equipment and system for being used to provide video information
CN108989609A (en) Video cover generation method, device, terminal device and computer storage medium
WO2017185641A1 (en) Method of generating voice overlay comment, playback method, and device and client thereof
CN107645669A (en) Multi-screen display control method, apparatus and system
CN104581229B (en) A kind of transmission of flow media data device, method and system
CN106162022B (en) A kind of method, system and the mobile terminal of quick broadcasting video
CN105100961A (en) Media preview generation method and generation apparatus
CN1855887A (en) Method and apparatus for polling transmission status in a wireless communication system
CN106303682B (en) Method, apparatus, terminal and the server of channel switching
CN104966526B (en) A kind of shuffle method and device
CN102694831A (en) Data compensation method of streaming media of mobile terminal and data compensation system thereof, and content distribution network
CN105592568A (en) Audio playing method and system
CN105072458A (en) Method for realizing time shifting in live broadcasting process of set top box based on HLS protocol
CN103024491B (en) The video broadcasting method of mobile terminal and system
CN107040848A (en) Synchronization parameter transmission method, device and the equipment of AVDTP agreements
WO2017071670A1 (en) Audio and video synchronization method, device and system
WO2017107670A1 (en) Video bit rate identification method and device
CN103197836A (en) Interactive method, device and system of multimedia information
CN104244063A (en) Conversion method and device of multiple playing devices
CN104869500B (en) Comment barrage methods of exhibiting, the apparatus and system of intelligent radio audio amplifier

Legal Events

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

Granted publication date: 20170926

Termination date: 20191121

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