CN105978847A - Data synchronization method and system - Google Patents

Data synchronization method and system Download PDF

Info

Publication number
CN105978847A
CN105978847A CN201510883358.8A CN201510883358A CN105978847A CN 105978847 A CN105978847 A CN 105978847A CN 201510883358 A CN201510883358 A CN 201510883358A CN 105978847 A CN105978847 A CN 105978847A
Authority
CN
China
Prior art keywords
multicast
terminal
address
packet
router
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510883358.8A
Other languages
Chinese (zh)
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.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin 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 Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201510883358.8A priority Critical patent/CN105978847A/en
Publication of CN105978847A publication Critical patent/CN105978847A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/611Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast
    • 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/4302Content synchronisation processes, e.g. decoder synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • H04W56/002Mutual synchronization

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention provides a data synchronization method and system. The method concretely comprises: sending a data packet to a receiving terminal, wherein the data packet carries the audio and video data to be synchronized, and the target address of the data packet is a multicast address of a multicast group including the receiving terminal. According to the embodiment of the invention, the data synchronization method and system are able to realize the data synchronization of a sending terminal and more than two receiving terminals, and are suitable for the condition of long distance between the sending terminal and the receiving terminal.

Description

A kind of method of data synchronization and system
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method of data synchronization and system.
Background technology
Along with mobile terminal and the development of network technology, user can pass through mobile phone, computer, TV, PAD Listen to etc. terminal and watch audio frequency and video.Audio frequency and video multiterminal synchronize play-back technology and refer to carry out in a terminal While audio and video playing, other-end can carry out with present terminal Tong Bu broadcasting.
The scheme that existing a kind of audio frequency and video multiterminal synchronize to play is by DLNA (digital living network Alliance, DIGITAL LIVING NETWORK ALLIANCE) technology carries out realizing, but Owing to DLNA technology is all based on point-to-point technology, it is typically only capable to realize between two terminals Synchronize to play;Therefore, the scheme that above-mentioned audio frequency and video multiterminal synchronize to play cannot meet at least three terminal Carry out the demand (sight of such as news briefing etc.) synchronizing to play;
The scheme that existing another kind of audio frequency and video multiterminal synchronize to play is to be carried out by needs by deconcentrator The terminal synchronizing to play carries out wired connection, but, this scheme uses wired connection mode, Send terminal with receive between terminal distant when to need to be connected the longest line ability the most permissible, Therefore for send terminal and receive between terminal distant in the case of, the program is the most uncomfortable With.
Summary of the invention
The embodiment of the present invention provides a kind of method of data synchronization and system, in order to solve existing audio frequency and video multiterminal The scheme synchronizing to play cannot meet at least three terminal and carry out synchronizing the demand of broadcasting, is not suitable for sending The problem of the distant situation between terminal and reception terminal, it is achieved send terminal and connect with two or more Receive the data syn-chronization of terminal, and the distant feelings sending between terminal and reception terminal can be applicable to Condition.
The embodiment of the present invention provides a kind of method of data synchronization, including:
Packet is sent to receiving terminal;Wherein, described packet carries audio, video data to be synchronized, The destination address of described packet is the multicast address of multicast group belonging to described reception terminal.
The embodiment of the present invention also provides for a kind of method of data synchronization, including:
Multicast group according to multicast address incoming multicast router;
Receive that described multicast router forwards, from the packet sending terminal;Wherein, described data Bag carries audio, video data to be synchronized.
The embodiment of the present invention provides one to send terminal, including:
Transmitting element, for receiving terminal transmission packet;Wherein, described packet carries and needs together The audio, video data of step, the destination address of described packet is the multicast of multicast group belonging to described reception terminal Address.
The embodiment of the present invention also provides for a kind of reception terminal, including:
Access unit, for the multicast group according to multicast address incoming multicast router;And
Receive unit, that described multicast router forwards, from the packet sending terminal for receiving; Wherein, described packet carries audio, video data to be synchronized.
The embodiment of the present invention also provides for a kind of data synchronous system, including: send terminal and receive terminal; Wherein,
Described transmission terminal, including:
Transmitting element, for receiving terminal transmission packet;Wherein, described packet carries and needs together The audio, video data of step, the destination address of described packet is the multicast of multicast group belonging to described reception terminal Address;
Described reception terminal, including:
Access unit, for the multicast group according to multicast address incoming multicast router;
Receive unit, that described multicast router forwards, from the packet sending terminal for receiving; Wherein, described packet carries audio, video data to be synchronized.
To sum up, a kind of method of data synchronization of embodiment of the present invention offer and system, can be by sending terminal Packet is sent, to realize the data syn-chronization with above-mentioned reception terminal to receiving terminal;Wherein, described number Can carry audio, video data to be synchronized according to bag, the destination address of described packet is described reception eventually The multicast address of multicast group belonging to end;Carry out synchronizing to play by needs by deconcentrator relative to existing scheme Terminal carry out wired connection, due in the embodiment of the present invention send terminal by by carrying to be synchronized The packet of audio, video data is sent to the multicast address that multicast group is corresponding, to be sent to by above-mentioned packet Reception terminal corresponding to multicast group, the reception terminal quantity comprised due to multicast group can not limit, because of This embodiment of the present invention is capable of the data syn-chronization sending terminal with two or more reception terminal;
Further, since the embodiment of the present invention is use multicast router to utilize channel radio between multiple terminals Letter technology communicates, for send terminal and receive between terminal distant in the case of, this Bright embodiment is it can be avoided that limited by the data/address bus of transmission data, and therefore the embodiment of the present invention can be fitted For sending the distant situation between terminal and reception terminal.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that under, Accompanying drawing during face describes is some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of steps of a kind of method of data synchronization embodiment two of the present invention;
Fig. 2 is a kind of structural representation receiving terminal embodiment one of the present invention;
Fig. 3 is the structural representation of a kind of data synchronous system embodiment one of the present invention;
Fig. 4 is the structural representation of a kind of data synchronous system embodiment two of the present invention;
Fig. 5 is the structural representation of a kind of data synchronous system embodiment three of the present invention;And
Fig. 6 is the structural representation of a kind of data synchronous system embodiment four of the present invention;.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise The every other embodiment obtained, broadly falls into the scope of protection of the invention.
Embodiment of the method one
The invention provides a kind of method of data synchronization embodiment one, can apply to send terminal, specifically May include steps of:
Packet is sent to receiving terminal;Wherein, described packet can carry audio frequency and video to be synchronized Data, the destination address of described packet is the multicast address of multicast group belonging to described reception terminal.
The embodiment of the present invention can be applicable in the terminals such as mobile phone, computer, TV, PAD, in order to realize send out Make arrangements for his funeral and hold the data syn-chronization between reception terminal.
In a kind of alternative embodiment of the present invention, specifically can obtain described reception eventually as follows The multicast address of multicast group described in end bar: bind multicast belonging to described reception terminal by Socket socket The multicast address of group.
In the embodiment of the present invention, belonging to above-mentioned reception terminal, the multicast address of multicast group is specifically as follows 224.0.2.0 to the arbitrary multicast address in 238.255.255.255, send terminal can by with receive eventually The operation personnel of end determines above-mentioned multicast address through consultation, and binds above-mentioned group by Socket socket Broadcasting address, the embodiment of the present invention is to concrete multicast address and specifically determines that mode is not specifically limited.
In the embodiment of the present invention, above-mentioned audio, video data to be synchronized is specifically as follows transmission terminal from service Device receive audio, video data, it is also possible to for by image first-class equipment gather audio, video data, or Send the audio, video data of terminal local storage, the above-mentioned audio, video data to be synchronized of the embodiment of the present invention Source is not particularly limited.
In the embodiment of the present invention, send audio, video data to be synchronized according to multicast address to receiving terminal, Reaching to send the detailed process of purpose of terminal and the data syn-chronization receiving terminal can be: transmission terminal Above-mentioned audio, video data to be synchronized can be sent to the multicast address of connected multicast router, so that After above-mentioned multicast router receives above-mentioned audio, video data, above-mentioned audio, video data can be transmitted to described The reception terminal comprised in the multicast group that multicast address is corresponding, to reach the number sending terminal with receiving terminal According to the purpose synchronized.
In the embodiment of the present invention, above-mentioned multicast router is specifically as follows the route that can support multicast protocol Device;Sending terminal can use RTP (Real-time Transport Protocol, RTP) to assist View or UDP (User Datagram Protocol, UDP) agreement are to Multicast Routing The multicast address of device sends audio, video data to be synchronized.
In the embodiment of the present invention, above-mentioned audio, video data to be synchronized is specifically as follows RTP packet, also I.e. send terminal and according to Real-time Transport Protocol, above-mentioned audio, video data to be synchronized can be packaged into RTP data Bag, and be sent to above-mentioned RTP packet receive terminal.
It is appreciated that above-mentioned audio, video data to be synchronized is specifically as follows RTP packet and is only used as this The audio, video data a kind of form in transmitting procedure in bright embodiment, and it is real to the present invention for being not understood to Executing in example, a kind of restriction of the form of above-mentioned audio, video data, it practice, above-mentioned audio, video data also may be used To have other form, such as: UDP message bag;Above-mentioned audio, video data is transmitted by the embodiment of the present invention In form be not specifically limited.
In a kind of application example of the present invention, it is assumed that the multicast address receiving terminal binding is specially 224.112.1.5;The above-mentioned multicast address 224.112.1.5 sending terminal to multicast router sends RTP number According to bag;After then multicast router receives above-mentioned RTP packet, true according to multicast address 224.112.1.5 Determined correspondence multicast group be multicast group R, in this multicast group R specifically may include that reception terminal 1, Receive terminal 2 and receive terminal 3, then above-mentioned RTP packet is transmitted to above-mentioned reception by multicast router Terminal 1, reception terminal 2 and reception terminal 3, to realize above-mentioned transmission terminal and to receive terminal 1, receive Data syn-chronization between terminal 2 and reception terminal 3.
Such as: in the scene of news conference, send the terminal audio, video data by camera acquisition scene, And send above-mentioned audio, video data to the multicast address of multicast router, so that multicast router can be by Above-mentioned audio, video data is transmitted in the multicast group that above-mentioned multicast address is corresponding the reception terminal comprised, above-mentioned Receive terminal and be specifically as follows the playback equipment of control room, to realize receive eventually multiple at the scene of news conference Data syn-chronization between end and transmission terminal, and then the purpose of picture synchronization.
To sum up, a kind of method of data synchronization that the embodiment of the present invention provides, can be by sending terminal to reception Terminal sends packet, to realize the data syn-chronization with above-mentioned reception terminal;Wherein, described packet is taken With audio, video data to be synchronized, the destination address of described packet is multicast belonging to described reception terminal The multicast address of group;The terminal carrying out synchronizing to play by needs by deconcentrator relative to existing scheme is carried out Wired connection, owing to sending terminal by carrying audio, video data to be synchronized in the embodiment of the present invention Packet be sent to the multicast address that multicast group is corresponding, with above-mentioned packet is sent to multicast group institute right The reception terminal answered, the reception terminal quantity comprised due to multicast group can not limit, and therefore the present invention is real Execute the data syn-chronization that example is capable of sending terminal with two or more reception terminal;
Further, since the embodiment of the present invention is use multicast router to utilize channel radio between multiple terminals Letter technology communicates, for send terminal and receive between terminal distant in the case of, this Bright embodiment is it can be avoided that limited by the data/address bus of transmission data, and therefore the embodiment of the present invention can be fitted For sending the distant situation between terminal and reception terminal.
Embodiment of the method two
With reference to Fig. 1, it is shown that the flow chart of steps of the present invention a kind of method of data synchronization embodiment two, tool Body may include that
Step 101, multicast group according to multicast address incoming multicast router;
Step 102, receive audio, video data that described multicast router is transmitted to, from transmitting terminal.
In a kind of alternative embodiment of the present invention, the step of the multicast group of above-mentioned incoming multicast router, Specifically may include that and send member's money according to Internet igmpinternet IGMP to described multicast router Lattice report message;Wherein, described membership report message comprises the preset multicast ground that multicast group is corresponding Location, so that described terminal is added described preset according to described preset multicast address by described multicast router Multicast group corresponding to multicast address.
In the embodiment of the present invention, the process being in reception terminal can pass through IGMP (Internet Group Management Protocol, Internet igmpinternet) agreement sends membership qualification to multicast router Report message, this membership report message specifically can comprise multicast address, so that multicast router energy Enough according to described member multicasts address, described receiving terminal is added the multicast group that described multicast address is corresponding;On State after terminal accesses this multicast group, data message can be received from the multicast address that this multicast group is corresponding;
In a kind of alternative embodiment of the present invention, the above-mentioned group according to multicast address incoming multicast router Broadcast the step of group, specifically may include that the multicast address preset by the binding of Socket socket.
In the embodiment of the present invention, it is predetermined that above-mentioned preset multicast address is specifically as follows operation personnel 24.0.2.0 to the arbitrary multicast address in 238.255.255.255, the embodiment of the present invention is to above-mentioned preset Multicast address is not specifically limited.
In a kind of application example of the present invention, it is assumed that the multicast address receiving terminal binding is 224.112.1.5;Then receive the multicast ground that terminal comprises in the membership report that multicast router sends Location is: 224.112.1.5, after multicast router receives above-mentioned membership report, by above-mentioned reception eventually End adds in multicast group R corresponding for this multicast address 224.112.1.5 so that above-mentioned multicast router to When member's receiving terminal in multicast group R forwards the RTP packet of transmitting terminal, due to above-mentioned reception terminal position In this multicast group R, the most above-mentioned reception terminal be able to receive that above-mentioned multicast router forwards, from The audio, video data of transmitting terminal;Above-mentioned audio, video data is specifically as follows RTP packet, the most above-mentioned reception This RTP packet can be resolved by terminal according to Real-time Transport Protocol, to obtain the original sound sending terminal Video data, so that it is Tong Bu with the audio, video data sending terminal to receive terminal.
Such as: in the scene of news conference, above-mentioned reception terminal is specifically as follows the playback equipment of control room, Same multicast address all bound by above-mentioned playback equipment, so, above-mentioned playback equipment can simultaneously from Same multicast address receives the showing by camera acquisition sent from the transmission terminal that news conference is on-the-spot The audio, video data of field, to realize in the scene of news conference multiple reception terminal and to send data between terminal Synchronize, and then the purpose of picture synchronization.
To sum up, a kind of method of data synchronization that the embodiment of the present invention provides, can be route by incoming multicast The multicast group of device;Receive packet that described multicast router forwards, from transmitting terminal;Contrast existing A kind of audio frequency and video multiterminal scheme of synchronizing to play can only realize synchronization between two terminals and play, due to The terminal being in receiving terminal in the embodiment of the present invention can pass through what incoming multicast group send with receiving end/sending end Packet, owing to the member terminal quantity of multicast group can not be limited, namely the terminal of multiple receiving terminal can To access same multicast group, and receive the packet that same transmitting terminal sends, to realize multiple terminal Data syn-chronization, therefore the embodiment of the present invention is capable of sending terminal and two or more and receives the number of terminal According to synchronization;
Needs are carried out same by deconcentrator by the scheme contrasting existing another kind of audio frequency and video multiterminal synchronization broadcasting The terminal that step is play carries out wired connection, owing to using between transmitting terminal and receiving terminal in the embodiment of the present invention Multicast router utilizes wireless communication technology to communicate, for send terminal and receive between terminal away from In the case of farther out, the embodiment of the present invention it can be avoided that by transmission data data/address bus limited, because of This embodiment of the present invention can be applicable to the distant situation sending between terminal and reception terminal.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as one it be The combination of actions of row, but those skilled in the art should know, and the embodiment of the present application is not by described The restriction of sequence of movement because according to the embodiment of the present application, some step can use other orders or Person is carried out simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description Belong to preferred embodiment, necessary to involved action not necessarily the embodiment of the present application.
Send terminal embodiment
The invention provides a kind of transmission terminal embodiment, specifically may include that
Transmitting element, may be used for receiving terminal transmission packet;Wherein, described packet carries Audio, video data to be synchronized, the destination address of described packet is multicast group belonging to described reception terminal Multicast address;
In a kind of alternative embodiment of the present invention, above-mentioned transmitting element, specifically may include that
First binding subelement, may be used for binding group belonging to described reception terminal by Socket socket Broadcast the multicast address of group.
Receive terminal embodiment
With reference to Fig. 2, it is shown that a kind of structural representation receiving terminal embodiment one of the present invention, specifically may be used To include: access unit 201 and reception unit 202;Wherein,
Above-mentioned access unit 201, may be used for the multicast group according to multicast address incoming multicast router;
Receive unit 202, may be used for receiving that described multicast router forwards, from sending terminal Packet;Wherein, described packet carries audio, video data to be synchronized.
In a kind of alternative embodiment of the present invention, above-mentioned access unit 201, specifically may include that
Igmpinternet access subunit, may be used for according to Internet igmpinternet IGMP to described Multicast router sends membership report message;Wherein, described membership report message comprises multicast The preset multicast address that group is corresponding, so that described multicast router will according to described preset multicast address Described reception terminal adds the multicast group that described preset multicast address is corresponding.
In the another kind of alternative embodiment of the present invention, above-mentioned access unit 201, specifically may include that
Second binding subelement, may be used for the multicast address preset by the binding of Socket socket.
System embodiment one
With reference to Fig. 3, it is shown that the structural representation of the present invention a kind of data synchronous system embodiment one, tool Body may include that transmission terminal 301 and receives terminal 302;Wherein,
Above-mentioned transmission terminal 301, specifically may include that
Transmitting element 3011, may be used for receiving terminal transmission packet;Wherein, described packet is taken With audio, video data to be synchronized, the destination address of described packet is multicast belonging to described reception terminal The multicast address of group;
Above-mentioned reception terminal 302, specifically may include that
Access unit 3021, may be used for the multicast group according to multicast address incoming multicast router;
Receive unit 3022, may be used for receiving that described multicast router forwards, from sending terminal Packet;Wherein, described packet carries audio, video data to be synchronized.
System embodiment two
With reference to Fig. 4, it is shown that the structural representation of the present invention a kind of data synchronous system embodiment two, tool Body may include that transmission terminal 401 and receives terminal 402;Wherein,
Above-mentioned transmission terminal 401, specifically may include that
Transmitting element 4011, may be used for receiving terminal transmission packet;Wherein, described packet is taken With audio, video data to be synchronized, the destination address of described packet is multicast belonging to described reception terminal The multicast address of group;
Above-mentioned reception terminal 402, specifically may include that
Access unit 4021, may be used for the multicast group according to multicast address incoming multicast router;
Receive unit 4022, may be used for receiving that described multicast router forwards, from sending terminal Packet;Wherein, described packet carries audio, video data to be synchronized;
Wherein, above-mentioned transmitting element 4011, specifically may include that
First binding subelement 40111, may be used for binding described reception terminal by Socket socket The multicast address of affiliated multicast group.
System embodiment three
With reference to Fig. 5, it is shown that the structural representation of the present invention a kind of data synchronous system embodiment three, tool Body may include that transmission terminal 501 and receives terminal 502;Wherein,
Above-mentioned transmission terminal 501, specifically may include that
Transmitting element 5011, may be used for receiving terminal transmission packet;Wherein, described packet is taken With audio, video data to be synchronized, the destination address of described packet is multicast belonging to described reception terminal The multicast address of group;
Above-mentioned reception terminal 502, specifically may include that
Access unit 5021, may be used for the multicast group according to multicast address incoming multicast router;
Receive unit 5022, may be used for receiving that described multicast router forwards, from sending terminal Packet;Wherein, described packet carries audio, video data to be synchronized;
Wherein, above-mentioned transmitting element 5011, specifically may include that
First binding subelement 50111, may be used for binding described reception terminal by Socket socket The multicast address of affiliated multicast group;
Described access unit 5021, specifically may include that
Igmpinternet access subunit 50211, may be used for according to Internet igmpinternet IGMP Membership report message is sent to described multicast router;Wherein, described membership report message bag Containing the preset multicast address that multicast group is corresponding, so that described multicast router is according to described preset multicast Described reception terminal is added the multicast group that described preset multicast address is corresponding by address.
System embodiment four
With reference to Fig. 6, it is shown that the structural representation of the present invention a kind of data synchronous system embodiment four, tool Body may include that transmission terminal 601 and receives terminal 602;Wherein,
Above-mentioned transmission terminal 601, specifically may include that
Transmitting element 6011, may be used for receiving terminal transmission packet;Wherein, described packet is taken With audio, video data to be synchronized, the destination address of described packet is multicast belonging to described reception terminal The multicast address of group;
Above-mentioned reception terminal 602, specifically may include that
Access unit 6021, may be used for the multicast group according to multicast address incoming multicast router;
Receive unit 6022, may be used for receiving that described multicast router forwards, from sending terminal Packet;Wherein, described packet carries audio, video data to be synchronized;
Wherein, above-mentioned transmitting element 6011, specifically may include that
First binding subelement 60111, may be used for binding described reception terminal by Socket socket The multicast address of affiliated multicast group;
Described access unit 6021, specifically may include that
Second binding subelement 60211, may be used for the multicast ground preset by the binding of Socket socket Location.
For sending terminal, receiving terminal and data syn-chronization system embodiment, owing to it is real with method Executing example basic simlarity, so describe is fairly simple, relevant part sees the part explanation of embodiment of the method ?.
Device embodiment described above is only schematically, wherein said illustrates as separating component Unit can be or may not be physically separate, the parts shown as unit can be or Person may not be physical location, i.e. may be located at a place, or can also be distributed to multiple network On unit.Some or all of module therein can be selected according to the actual needs to realize the present embodiment The purpose of scheme.Those of ordinary skill in the art are not in the case of paying performing creative labour, the most permissible Understand and implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive each reality The mode of executing can add the mode of required general hardware platform by software and realize, naturally it is also possible to by firmly Part.Based on such understanding, the portion that prior art is contributed by technique scheme the most in other words Dividing and can embody with the form of software product, this computer software product can be stored in computer can Read in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that one Computer equipment (can be personal computer, server, or the network equipment etc.) performs each to be implemented The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, rather than to it Limit;Although the present invention being described in detail with reference to previous embodiment, the ordinary skill of this area Personnel it is understood that the technical scheme described in foregoing embodiments still can be modified by it, or Person carries out equivalent to wherein portion of techniques feature;And these amendments or replacement, do not make corresponding skill The essence of art scheme departs from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (14)

1. a method of data synchronization, it is characterised in that being applied to send terminal, described method includes:
Packet is sent to receiving terminal;Wherein, described packet carries audio, video data to be synchronized, The destination address of described packet is the multicast address of multicast group belonging to described reception terminal.
Method the most according to claim 1, it is characterised in that connect described in obtaining as follows The multicast address of multicast group belonging to receipts terminal:
The multicast address of multicast group belonging to described reception terminal is bound by Socket socket.
3. a method of data synchronization, it is characterised in that being applied to receive terminal, described method includes:
Multicast group according to multicast address incoming multicast router;
Receive that described multicast router forwards, from the packet sending terminal;Wherein, described data Bag carries audio, video data to be synchronized.
Method the most according to claim 3, it is characterised in that described according to multicast address access group Broadcast the step of the multicast group of router, including:
Send membership report according to Internet igmpinternet IGMP to described multicast router to disappear Breath;Wherein, described membership report message comprises the preset multicast address that multicast group is corresponding, so that Described reception terminal is added described preset group according to described preset multicast address by described multicast router Broadcast the multicast group that address is corresponding.
Method the most according to claim 3, it is characterised in that described according to multicast address access group Broadcast the step of the multicast group of router, including:
By the multicast address that the binding of Socket socket is preset.
6. one kind sends terminal, it is characterised in that including:
Transmitting element, for receiving terminal transmission packet;Wherein, described packet carries and needs together The audio, video data of step, the destination address of described packet is the multicast of multicast group belonging to described reception terminal Address.
Transmission terminal the most according to claim 6, it is characterised in that described transmitting element, including:
First binding subelement, for binding multicast group belonging to described reception terminal by Socket socket Multicast address.
8. one kind receives terminal, it is characterised in that including:
Access unit, for the multicast group according to multicast address incoming multicast router;And
Receive unit, that described multicast router forwards, from the packet sending terminal for receiving; Wherein, described packet carries audio, video data to be synchronized.
Reception unit the most according to claim 8, it is characterised in that described access unit, including:
Igmpinternet access subunit, is used for according to Internet igmpinternet IGMP to described multicast Router sends membership report message;Wherein, described membership report message comprises multicast group pair The preset multicast address answered so that described multicast router according to described preset multicast address by described Receive terminal and add the multicast group that described preset multicast address is corresponding.
Reception unit the most according to claim 8, it is characterised in that described access unit, bag Include:
Second binding subelement, for the multicast address preset by the binding of Socket socket.
11. 1 kinds of data synchronous systems, it is characterised in that including: send terminal and receive terminal;Its In,
Described transmission terminal, including:
Transmitting element, for receiving terminal transmission packet;Wherein, described packet carries and needs together The audio, video data of step, the destination address of described packet is the multicast of multicast group belonging to described reception terminal Address;
Described reception terminal, including:
Access unit, for the multicast group according to multicast address incoming multicast router;
Receive unit, that described multicast router forwards, from the packet sending terminal for receiving; Wherein, described packet carries audio, video data to be synchronized.
12. systems according to claim 11, it is characterised in that described transmitting element, including:
First binding subelement, for binding multicast group belonging to described reception terminal by Socket socket Multicast address.
13. according to the system described in claim 11 or 12, it is characterised in that described access unit, Including:
Igmpinternet access subunit, is used for according to Internet igmpinternet IGMP to described multicast Router sends membership report message;Wherein, described membership report message comprises multicast group pair The preset multicast address answered so that described multicast router according to described preset multicast address by described Receive terminal and add the multicast group that described preset multicast address is corresponding.
14. according to the system described in claim 11 or 12, it is characterised in that described access unit, Including:
Second binding subelement, for the multicast address preset by the binding of Socket socket.
CN201510883358.8A 2015-12-03 2015-12-03 Data synchronization method and system Pending CN105978847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510883358.8A CN105978847A (en) 2015-12-03 2015-12-03 Data synchronization method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510883358.8A CN105978847A (en) 2015-12-03 2015-12-03 Data synchronization method and system

Publications (1)

Publication Number Publication Date
CN105978847A true CN105978847A (en) 2016-09-28

Family

ID=56988251

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510883358.8A Pending CN105978847A (en) 2015-12-03 2015-12-03 Data synchronization method and system

Country Status (1)

Country Link
CN (1) CN105978847A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111246222A (en) * 2020-03-20 2020-06-05 深圳宇翊技术股份有限公司 Method for realizing multicast control audio and video synchronization of PIS (peer to peer system) in recorded broadcast and broadcast-on-demand states
CN114143132A (en) * 2021-11-15 2022-03-04 云知声(上海)智能科技有限公司 Method and system for realizing intelligent linkage of multi-terminal equipment based on RTP-MESH

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247541A (en) * 2007-02-12 2008-08-20 中国移动通信集团公司 Method for implementing multimedia multicast service of mobile communications network
CN101552686A (en) * 2008-03-31 2009-10-07 中兴通讯股份有限公司 Synchronous data transmission method among broadcasting service element locations of multimedia multicasting
EP2369840A1 (en) * 2008-12-12 2011-09-28 Huawei Technologies Co., Ltd. Channel switching method, device and system
CN103391277A (en) * 2012-05-10 2013-11-13 华为技术有限公司 Media playing method, device and system
CN104935443A (en) * 2014-03-17 2015-09-23 中兴通讯股份有限公司 Multicast data processing method, device and system, transmitting equipment, and receiving client

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247541A (en) * 2007-02-12 2008-08-20 中国移动通信集团公司 Method for implementing multimedia multicast service of mobile communications network
CN101552686A (en) * 2008-03-31 2009-10-07 中兴通讯股份有限公司 Synchronous data transmission method among broadcasting service element locations of multimedia multicasting
EP2369840A1 (en) * 2008-12-12 2011-09-28 Huawei Technologies Co., Ltd. Channel switching method, device and system
CN103391277A (en) * 2012-05-10 2013-11-13 华为技术有限公司 Media playing method, device and system
CN104935443A (en) * 2014-03-17 2015-09-23 中兴通讯股份有限公司 Multicast data processing method, device and system, transmitting equipment, and receiving client

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111246222A (en) * 2020-03-20 2020-06-05 深圳宇翊技术股份有限公司 Method for realizing multicast control audio and video synchronization of PIS (peer to peer system) in recorded broadcast and broadcast-on-demand states
CN111246222B (en) * 2020-03-20 2022-04-08 深圳宇翊技术股份有限公司 Method for realizing multicast control audio and video synchronization of PIS (peer to peer system) in recorded broadcast and broadcast-on-demand states
CN114143132A (en) * 2021-11-15 2022-03-04 云知声(上海)智能科技有限公司 Method and system for realizing intelligent linkage of multi-terminal equipment based on RTP-MESH
CN114143132B (en) * 2021-11-15 2023-08-04 云知声(上海)智能科技有限公司 Method and system for realizing intelligent linkage of multi-terminal equipment based on RTP-MESH

Similar Documents

Publication Publication Date Title
US9288263B2 (en) Two tier multiple sliding window mechanism for multidestination media applications
WO2016202887A1 (en) Providing low & high quality streams
CN103338348A (en) Implementation method, system and server for audio-video conference over internet
KR101647938B1 (en) Method and System for Providing Media Streaming By Interworking Heterogeneous Network through a Mobile Communication Network
CN104426832A (en) Multi-terminal multichannel independent playing method and device
CN108282277A (en) A kind of packet loss repeating method, apparatus and system
CN103843323B (en) A kind of multimedia conference realization method, relevant device and system
CN105959732A (en) Method and device for pushing television program
CN103517033B (en) Video conference processing method and mobile terminals
US20150002613A1 (en) Electronic conference system, band management system, and storage medium having band management program stored therein
CN108965428A (en) The transmission method of live data, device, electronic equipment, system
CN105978847A (en) Data synchronization method and system
EP3053361A1 (en) Communications platform
CN109889922A (en) Retransmission method, device, equipment and the storage medium of stream medium data
CN103546302A (en) Multicast transmission using a unicast protocol
CN108650639A (en) Ad hoc network networking method and system
CN113347578A (en) Audio data transmission method, device and system, storage medium and earphone
CN107147917B (en) For obtaining method, mobile terminal and the system of video
CN111212253B (en) Monitoring processing method and device in video conference, electronic equipment and storage medium
CN105634911A (en) Session establishing method and device
WO2017112052A1 (en) Direct connection network
KR101970200B1 (en) Method and system for multiple social network service live broadcasting at the same time based on image record apparatus
US20220060528A1 (en) End-to-end system for streaming of multimedia contents on wireless networks
CN102300036A (en) Video data scheduling method of interactive studio
CN107786836B (en) Method and device for realizing audio and video session service

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160928

WD01 Invention patent application deemed withdrawn after publication