CN103442339B - A kind of method, equipment and system for realizing PTT service - Google Patents
A kind of method, equipment and system for realizing PTT service Download PDFInfo
- Publication number
- CN103442339B CN103442339B CN201310365491.5A CN201310365491A CN103442339B CN 103442339 B CN103442339 B CN 103442339B CN 201310365491 A CN201310365491 A CN 201310365491A CN 103442339 B CN103442339 B CN 103442339B
- Authority
- CN
- China
- Prior art keywords
- multicast
- data packets
- network
- tunnel
- communication channel
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of method, equipment and system for realizing PTT service, the method is applied to multicast device group, and the multicast device group includes at least two multicast devices, including:When any one multicast device in the multicast device group, which receives the communication information, sends instruction, the communication information is encapsulated as IP data packets;Include in the IP data packets and the ip multicast address corresponding to the multicast device group;Pass through the communication channel between the established multicast device and IP network, the IP data packets are sent to the network equipment in the IP network, the network equipment is triggered and sends other multicast devices of the IP data packets respectively into the multicast device group according to the ip multicast address.In the method, multicast device triggering IP network equipment sends the data packet for including the PTT service communication information, makes full use of IP network infrastructure device, the realization method of PTT service easier, cheap.
Description
Technical field
The invention belongs to field of communication technology more particularly to a kind of methods, equipment and system for realizing PTT service.
Background technology
PTT (Push-To-Talk), as the term suggests it is that a button is just spoken.In this day and age, people always want to one by
Key can just be conversed immediately, and 11 digits are first dialled like that rather than public's mobile phone.Calling subscribe one may be implemented by transmitting in PTT
Key, all called subscribers in the same channel can receive, and call set-up time is extremely short.
Conventional PTT service is presently mainly by the way of analog fm, but such mode has continued to use many decades,
With technological progress, conventional wireless professional net is also gradually to digital development, but these proprietary wireless technologys realize complicated, cost
It is high, and only speech business, it cannot achieve transmission of video.In order to realize the transmission of video in PTT service, present each producer
A kind of special broadband multimedia cluster system is mainly promoted, this system needs large-scale radio communication base station and rear end switching centre
Etc. equipment support, the use of professional switching equipment equally increases the complexity of PTT service realization.
However VoIP (Voice over Internet Protocol) technology is ripe now, in conjunction with voip technology and
Ripe wireless communication technique realizes PTT service, can greatly reduce equipment cost, and increase multi-media communication ability, including
Video and audio-frequency function.H.323, voip technology is that field of telecommunications is led with internet respectively with SIP generally there are many realization method
The standard that the camps Yu Liang great release.But its design object has essential distinction with PTT service, uses the two standard implementations PTT
System need the equipment for developing profession, such as professional gateway, professional interchanger, system implementations complexity and cost is higher,
Therefore it is not ideally suited for PTT service.
Invention content
In view of this, the present invention provides a kind of method, equipment and system for realizing PTT service, by combining IP technologies, profit
PTT service is realized with the infrastructure device that IP network provides, to realize the purpose of low cost, low complex degree.
To achieve the above object, the present invention provides the following technical solutions:
A method of realizing that PTT service, the method are applied to multicast device group, the multicast device group includes at least
Two multicast devices, the method includes:
When any one multicast device in the multicast device group, which receives the communication information, sends instruction, by the communication
Information encapsulation is IP data packets;Include in the IP data packets and the ip multicast address corresponding to the multicast device group;
By the communication channel between the established multicast device and IP network, the IP data packets are sent to described
The network equipment in IP network, trigger the network equipment according to the ip multicast address by the IP data packets respectively to described
Other multicast devices in multicast device group are sent.
Preferably, the communication information includes:Text message, audio-frequency information or video information.
Preferably, described to be somebody's turn to do by established in the case where the communication information is audio-frequency information or video information
Communication channel between multicast device and IP network, the network equipment packet IP data packets being sent in the IP network
It includes:
In the first prefixed time interval, whether communication channel between the established multicast device and IP network is intercepted
Free time, the communication channel are voice-grade channel corresponding with the audio-frequency information or video corresponding with the video information
Channel;
If the communication channel is idle in first prefixed time interval, in the second prefixed time interval, then
It is secondary to intercept whether the communication channel is idle, if in second prefixed time interval, the communication channel is idle, then passes through
The communication channel, the network equipment IP data packets being sent in the IP network.
Preferably, the communication channel by between the established multicast device and IP network, IP data packets are sent out
It send to the network equipment in the IP network, triggers the network equipment and divide the IP data packets according to the ip multicast address
Other multicast devices not into the multicast device group are sent, including:
By the communication channel between the established multicast device and IP network, the IP data packets are sent to described
The first tunnel device compatible with the multicast device in IP network;The IP data packets are forwarded by first tunnel device
To each second tunnel device corresponding with other multicast devices difference in the multicast device group, and trigger described each
Second tunnel device sends other multicast devices of the IP data packets into the multicast device group.
Preferably, it is described by first tunnel device by the IP data packets be forwarded to in the multicast device group
Other multicast devices distinguish corresponding each second tunnel device, and trigger each second tunnel device by the IP numbers
It is sent according to other multicast devices of the packet into the multicast device group, including:
The IP data packets are forwarded to relay device by first tunnel device;
The relay device is triggered to be forwarded to the IP data packets and other multicast devices in the multicast device group
Corresponding each second tunnel device respectively, and each second tunnel device is triggered by the IP data packets to described more
The other multicast devices broadcast in equipment group are sent.
A kind of multicast device for realizing PTT service, the multicast device belong in a multicast device group, and the multicast is set
Include at least two multicast devices in standby group, the multicast device includes:
Encapsulation unit, for when the multicast device receives the communication information and sends instruction, the communication information to be encapsulated
For IP data packets;Include in the IP data packets and the ip multicast address corresponding to the multicast device group;
Transmission unit is used for by the communication channel between the established multicast device and IP network, by the IP numbers
It is sent to the network equipment in the IP network according to packet, triggers the network equipment according to the ip multicast address by the IP numbers
It is sent according to other multicast devices of packet respectively into the multicast device group.
Preferably, further include:
Audio coder generates audio data frame for audio-frequency information to be carried out digital coding;
Video encoder generates video data frame for video information to be carried out digital coding;
Text decoder generates text data frame for text message to be carried out text code.
Preferably, the transmission unit includes:
Intercept subelement, in the first prefixed time interval, intercept the established multicast device and IP network it
Between communication channel it is whether idle, the communication channel be voice-grade channel corresponding with the audio-frequency information or with the video
The corresponding video channel of information;It is default second if the communication channel is idle in first prefixed time interval
In time interval, it is whether idle that the communication channel is intercepted again;
Transmission sub-unit, for when the communication channel is in idle condition in second prefixed time interval,
The network equipment IP data packets being sent to by the communication channel in the IP network.
A kind of system for realizing PTT service, including:The network equipment, the first tunnel device, transfer of ip multicast is supported to set
Multicast device described in standby, the second tunnel device and aforementioned any one;Wherein, the multicast device belongs to a multicast device
Include at least two multicast devices in group, in the multicast device group;
The multicast device, for supporting the network equipment of ip multicast to send IP data packets to described;
The network equipment for supporting ip multicast, for by the IP data packets into the multicast device group other are more
It broadcasts equipment and the first tunnel device compatible with the multicast device is sent;
First tunnel device, for the IP data packets received to be forwarded to the relay device;
The relay device, for the IP data packets to be forwarded to and other multicast devices in the multicast device group
Corresponding each second tunnel device respectively;
Second tunnel device, for by other multicast devices of the IP data packets into the multicast device group into
Row is sent.
It can be seen that beneficial effects of the present invention are:It is applied to multicast in the method disclosed by the invention for realizing PTT service
Equipment group, the multicast device group include at least two multicast devices, the method includes:When appointing in the multicast device group
When a multicast device of anticipating receives communication information transmission instruction, the communication information is encapsulated as IP data packets, and by built
Communication channel between the vertical multicast device and IP network sets the network that the IP data packets are sent in the IP network
It is standby, the network equipment is triggered according to the ip multicast address by the IP data packets its into the multicast device group respectively
He sends multicast device.In the method, communication connection is established between multicast device and IP network, transmission is used for transmission information
IP data packets to the IP network established a connection in, trigger the network equipment in the IP network by the IP data packets to
Other multicast devices are sent.The communication information is encapsulated as IP data packets by the multicast device, triggers IP network equipment utilization
IP network channel sends the data packet for including the PTT service communication information.The realization method of the method is multicast device combination IP
The existing network infrastructure device provided in network does not need to additionally develop professional equipment, therefore realization method is easy, cost compared with
It is cheap.It can be used for video communication equipment using the method simultaneously and realize that video capability, this equipment do not need dedicated exchange
The MESSAGE EXCHANGE of video can be realized in central apparatus.
Description of the drawings
Fig. 1 is a kind of flow chart of the method disclosed by the embodiments of the present invention for realizing PTT service;
Fig. 2 is another flow chart of the method disclosed by the embodiments of the present invention for realizing PTT service;
Fig. 3 is another flow chart of the method disclosed by the embodiments of the present invention for realizing PTT service;
Fig. 4 is another flow chart of the method disclosed by the embodiments of the present invention for realizing PTT service;
Fig. 5 is a kind of structural schematic diagram of the equipment disclosed by the embodiments of the present invention for realizing PTT service;
Fig. 6 is another structural schematic diagram of the equipment disclosed by the embodiments of the present invention for realizing PTT service;
Fig. 7 is another structural schematic diagram of the equipment disclosed by the embodiments of the present invention for realizing PTT service;
Fig. 8 is a kind of structural schematic diagram of the system disclosed by the embodiments of the present invention for realizing PTT service;
Fig. 9 is another structural schematic diagram of the system disclosed by the embodiments of the present invention for realizing PTT service.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Whole description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
It is disclosed by the embodiments of the present invention realize PTT service method a kind of flow as shown in Figure 1, the method be applied to it is more
Equipment group is broadcast, the multicast device group includes at least two multicast devices, the method includes:
S101:When any one multicast device in the multicast device group, which receives the communication information, sends instruction, by institute
It states the communication information and is encapsulated as IP data packets;Include with the ip multicast corresponding to the multicast device group in the IP data packets
Location;
Ip multicast communication is necessarily dependent upon ip multicast address, it is a Class D IP address in IPv4, range from
224.0.0.0 239.255.255.255 is arrived.One multicast device group corresponds to an ip multicast address, in the multicast device group
Multicast device use the same ip multicast address, such as 224.0.0.5.
When any one multicast device in the multicast group, which receives the communication information, sends instruction, indicate to send communication
The demand of information, then the communication information encode by the multicast device generates communication information message, believes in the communication
The head addition IP agreement field post package for ceasing message is IP data packets, includes IP destination address marks in the IP agreement field
Know, sets the mark to the corresponding ip multicast address of the multicast device group, such as 224.0.0.5.
S102:By the communication channel between the established multicast device and IP network, the IP data packets are sent
To the network equipment in the IP network, triggers the network equipment and distinguish the IP data packets according to the ip multicast address
Other multicast devices into the multicast device group are sent.
Being established between the multicast device and IP network has communication channel, and the multicast device will by the communication channel
The IP data packets encapsulated are sent to the network equipment in the IP network, such as router or multilayer switch.The network
Equipment knows the multicast device member in the multicast device group, and will be described according to the ip multicast address in the IP data packets
Other multicast devices of IP data packets into the multicast device group are sent.
In the disclosed method for realizing PTT service of the present embodiment, when any one multicast device in the multicast group receives
When sending instruction to the communication information, the communication information is encapsulated as IP data packets, passes through the established multicast device and IP network
The IP data packets are sent to the network equipment in the IP network by the communication channel between network, and triggering passes through the network equipment
Other multicast devices of the IP data packets into the multicast device group are sent.Such method for realizing PTT service
The middle basic network equipment using in the IP network does not need to additionally develop professional equipment, realization method simplicity and cost
It is cheap.
Further, there are different types for the communication information that PTT service may be implemented, such as text message, audio-frequency information
Or video information.Any one multicast device in the multicast device group receives communication information instruction difference, then described in representative
The communication type that multicast device to be realized is different.It is received when there is multiple arbitrary multicast devices in the multicast device group simultaneously
When being instructed to the different types of communication information, each arbitrary multicast device uses the communication channel that itself and IP network are established
Middle different channels type carries out the transmission of the communication information, does not repel and interferes between each other, is ensureing that synchronization is each more
Broadcast in equipment group each communication channel at most there are one in the case of, realize different multicast devices transmissions in same multicast group
Text, audio, video information while transmit.
The disclosed method for realizing PTT service of the present embodiment is applied to any one multicast device in multicast device group and sends
In the case of audio-frequency information or video information.Another flow such as Fig. 2 disclosed by the embodiments of the present invention for realizing PTT service method
Shown, the method is applied to multicast device group, and the multicast device group includes at least two multicast devices;The method packet
It includes:
S201:When any one multicast device in the multicast device group, which receives the communication information, sends instruction, by institute
It states the communication information and is encapsulated as IP data packets;Include with the ip multicast corresponding to the multicast device group in the IP data packets
Location;
When any one multicast device in the multicast device group receives audio-frequency information or video information communication information hair
When sending instruction, the audio-frequency information or video information are encapsulated as audio-frequency information IP data packets or video information IP data packets, institute
State a kind of format of IP data packets as shown in Table-1:
IP destination addresses | Other | Channel type | Sequence number | Multicast device identifies | Encryption instruction | The communication information |
Table -1
Wherein, the IP destination addresses are the ip multicast address of the multicast device group where the multicast device, such as
224.0.0.5;Other include UDP (user data control) protocol fields etc.;The channel type indicates the IP data packets
In data type, the data type in the IP data packets as described in representing 1 is audio-frequency information, and 2 represent in the IP data packets
Data type is video information;The sequence number indicates the sequence of the Channel message of the IP data packets;The multicast device mark
Know the identification number for the multicast device for indicating to send the IP data packets, such as No. 1;If the Channel message number in the IP data packets
It is encrypted according to by preset encryption rule, the encryption instruction indicates the encryption rule, and such as 1 indicates symmetric encipherment algorithm;
The communication information indicates the audio-frequency information or video information content that send.The sequence number, multicast device mark and encryption refer to
It is shown as option.
S202:In the first prefixed time interval, the communication letter between the established multicast device and IP network is intercepted
Whether road is idle, and the communication channel is corresponding with the corresponding voice-grade channel of the audio-frequency information or with the video information
Video channel;If the communication channel is idle in first prefixed time interval, S203 is carried out;If described first
The communication channel is not idle in prefixed time interval, then carries out S205;
First prefixed time interval is one section of fixed time interval.Any one multicast device in the multicast device group
Socket (socket) is established, the described multicast device is intercepted in one section of Fixed Time Interval and is believed with the audio that IP network is established
Whether having audio-frequency information IP data packets on road, either whether voice-grade channel control IP data packets or intercept regard on video channel
Frequency information IP data packets or video channel control IP data packets.Wherein, channel controls IP data packets as shown in table -2:
IP destination addresses | Other | Channel type | Sequence number | Multicast device identifies |
Table -2
Wherein, shown channel type indicates that voice-grade channel control or video channel control, such as 3 expression voice-grade channel controls, 4
Indicate video channel control.
When the Socket receives IP data packets in the Fixed Time Interval, by the letter for checking the IP data packets
Road type identification can learn the type of the IP data packets, i.e. audio-frequency information IP data packets, video information IP data packets, audio
Channel controls IP data packets or video channel controls IP data packets.
When the IP data packets are audio-frequency information IP data packets or video information IP data packets, the voice communication is indicated
Has multicast device on channel in the transmission for carrying out the communication information, the multicast device then terminates the transmission of the communication information, can profit
The audio-frequency information IP data packets or video information IP data packets are received with the Socket, and is decoded broadcasting, realization connects
Receive audio-frequency information or video information.
When the IP data packets are that voice-grade channel controls IP data packets or video channel control IP data packets, indicate have
Other multicast devices then terminate to intercept in the competition voice-grade channel or video channel, the multicast device.
S203:Whether in the second prefixed time interval, it is idle to intercept the communication channel again, if pre- described second
If in time interval, the communication channel is idle, then carries out S204;If in second prefixed time interval, the communication
Channel is not idle, then carries out S205;
Second prefixed time interval is the one section of random time intervals generated.The multicast device is when described random
Between be spaced in send voice-grade channel control IP data packets or video channel control IP data packets, for compete the voice-grade channel or
Video channel.The voice-grade channel is intercepted by the Socket (socket) of foundation again simultaneously or whether video channel is deposited
In the IP data packets of other multicast devices.
If in the random time intervals, the multicast device does not listen in the voice-grade channel or video channel
Audio-frequency information IP data packets or video information IP data packets indicate that the voice-grade channel or video channel are idle, then pass through described
Communication channel, the network equipment IP data packets being sent in the IP network.
If the IP data packets listened to are voice-grade channel control IP data packets or video channel control IP data packets, indicate
There is competition of other multicast devices in the progress voice-grade channel or video channel simultaneously, then the multicast device does not exit competing
The work of channel is striven, channel is sent still in the random time interval and controls IP data packets, is used for and described other is more
Broadcast equipment competitive channel.
If listen to IP data packets be audio-frequency information IP data packets or video information IP data packets when, expression had other
Multicast device more first compete communication channel success, sending the communication information, then the multicast device terminates to intercept.
It receives the IP data packets simultaneously and is decoded broadcasting, realize the reception of audio-frequency information or video information.
S204:By the communication channel, the network equipment IP data packets being sent in the IP network;
According to the channel type that the multicast device is intercepted, by the audio-frequency information IP data packets encapsulated or video information IP
Data packet is sent to the network equipment in the IP network, triggers the network equipment according to the ip multicast in the IP data packets
Address sends other multicast devices of the IP data packets respectively into the multicast device group.
S205:End is intercepted.
The disclosed method for realizing PTT service of the present embodiment is applied to any one multicast device in multicast device group and sends
In the case of audio-frequency information or video information.Before sending audio-frequency information or video information, the voice-grade channel need to be intercepted or regarded
Whether frequency channel is idle.Multicast device described in the method using being intercepted work twice before voice-grade channel or video channel
Make, it is to be intercepted in preset time interval with the presence or absence of IP data packets to intercept for the first time, if terminating to intercept in the presence of if.Second
Intercepting is intercepted in random time interval with the presence or absence of IP data packets, if there are voice-grade channel control IP data packets or videos
Channel controls IP data packets, then it represents that and other multicast devices compete the channel at the same time, do not exit the competition of channel at this time,
Continue to send channel control IP data packets, if there are audio-frequency information IP data packets or video information IP data packets, then it represents that other
Multicast device, which more first competes, arrives channel, sends the communication information using the channel in transmission, then the multicast device is then tied
Beam is intercepted.
In reality, it is understood that there may be while before being communicated there are two above multicast device progress audio-frequency information or video information simultaneously
The case where competing communication channel, if only carrying out intercepting whether work intercepts channel in one section of preset time interval for the first time
Free time, if idle send the communication information, may cause simultaneously there are two the above multicast device while sending the communication information, from
And it leads to a conflict.And the disclosed method for realizing PTT service of the present embodiment, it is detectd again in one section of random time interval
Work is listened, if the case where existing simultaneously more than two multicast devices while competitive channel, is appointed in the random time intervals
One multicast device competitive channel of meaning can successfully allow the multicast device of other while competitive channel to terminate to intercept work, from
And the generation of conflict is effectively evaded.
Same multicast device group includes at least two multicast devices, if the multicast device is in different LANs,
And there is no three-tier switch or router to carry out the forwarding of multicast packets, i.e., the described multicast device in the two LANs
In different ip multicast domains.The IP data packets that any one multicast device in the ip multicast domain is sent, need by
The reception and forwarding of tunnel device, to realize that the multicast device between different ip multicast domains in same multicast device group realizes PTT
Business.Disclosed another method for realizing PTT service of this embodiment is applied in such scene, and the flow of the method is such as
Shown in Fig. 3, including:
S301:When any one multicast device in the multicast device group, which receives the communication information, sends instruction, by institute
It states the communication information and is encapsulated as IP data packets;Include with the ip multicast corresponding to the multicast device group in the IP data packets
Location;
S302:By the communication channel between the established multicast device and IP network, the IP data packets are sent
To the first tunnel device compatible with the multicast device in the IP network;By first tunnel device by the IP data
Packet is forwarded to each second tunnel device corresponding with other multicast devices difference in the multicast device group, and triggers institute
Each second tunnel device is stated to send other multicast devices of the IP data packets into the multicast device group.
Multiple multicast devices in each ip multicast domain correspond to the same tunnel device, or each multicast device difference
A corresponding tunnel device.Multiple multicast devices in same ip multicast domain described in the present embodiment correspond to the same tunnel
Equipment.Referring to Fig. 8, ip multicast domain A corresponds to the first tunnel device 802, ip multicast domain B corresponds to the second tunnel device 803.
The tunnel device application tunneling technique.The tunneling technique refer to tunnel inlet by destination address be IP
The IP address of the IP data packet adding purpose tunnel devices of multicast address is packaged into an IP data packet, not support multicast
Route transmission in internet then carries out sealing off reverting to original data packet format in the exit for reaching tunnel.Wherein, add
The non-ip multicast address of this IP address added.The destination address is that the IP data packets of ip multicast address are known as multicast packet.
In method disclosed in the present embodiment, the same tunnel is corresponded in multiple multicast devices in same ip multicast domain
Road equipment, external interface is UDP links between the tunnel device.Referring to Fig. 8, any one multicast device in the A of ip multicast domain
When i.e. sender's multicast device 801 receives communication information transmission instruction, the multicast packet of packaging information is sent to described first
Tunnel device 802, the IP address of the second tunnel device 803 configured with ip multicast domain B in first tunnel device 802, will
The multi-case data packet header addition udp protocol field and IP agreement field post package are the data that can be transmitted between tunnel device
Packet, wherein the IP destination addresses in the IP agreement field are the IP address of second tunnel device 803.The then data
Packet is forwarded to second tunnel device 803 by the first tunnel device 802, triggers second tunnel device 803 and receives
The data packet and being disassembled reverts to original multicast packet and into the ip multicast domain B where the second tunnel device 803
Recipient's multicast device 804 is sent.
In the disclosed method for realizing PTT service of the present embodiment, the multicast device in the same multicast device group is in
In different ip multicast domains.Since the data packet that the IP destination addresses are ip multicast address cannot be between each ip multicast domain directly
Route transmission is connect, then the tunnel device in this method will seal after the IP address of the multicast packet adding purpose tunnel device
Dress, can transmit between ip multicast domain, and the PTT between the multicast device between ip multicast domain in same multicast device group is realized with this
Business.
Further, if the tunnel device external interface in the disclosed method for realizing PTT service of a upper embodiment does not have
The IP address of standby public network, then need relay device to carry out the forwarding of data packet.The present embodiment is disclosed to realize the another of PTT service
Kind method is applied in this scene, and the method flow is as shown in figure 4, include:
S401:When any one multicast device in the multicast device group, which receives the communication information, sends instruction, by institute
It states the communication information and is encapsulated as IP data packets;Include with the ip multicast corresponding to the multicast device group in the IP data packets
Location;
S402:By the communication channel between the established multicast device and IP network, by first tunnel device
The IP data packets are forwarded to relay device;It triggers the relay device and is forwarded to the IP data packets and set with the multicast
Other multicast devices in standby group distinguish corresponding each second tunnel device, and triggering each second tunnel device will
Other multicast devices of the IP data packets into the multicast device group are sent.
Referring to Fig. 9, the first tunnel device in the ip multicast domain A does not have public network IP address, then need described
Relay device 904 is forwarded, wherein the relay device 904 has public network IP address.In first tunnel device 903
And second configure the relay device 904 on tunnel device 905 IP address, first tunnel is configured in relay device 904
The IP address of road equipment 903 and the second tunnel device 905.Sender's multicast device 901 in the ip multicast domain A is by destination
Location is that the data packet of ip multicast address is sent to the first tunnel device 903, triggers first tunnel device 903 and receives the mesh
Address be ip multicast address data packet, and its head add the transfer server IP address post package be IP data
Packet is sent to the relay device 904, triggers the relay device 904 the IP data packets are forwarded to second tunnel setting
Standby 905.
In the disclosed method for realizing PTT service of the present embodiment, if tunnel device does not have public network IP address, by having
The relay device of public network IP address is forwarded, and realizes the PTT service of the multicast device between different ip multicast domains.
Present embodiment discloses a kind of structures for the multicast device for realizing PTT service as shown in figure 5, the multicast device is returned
Belong in a multicast device group, includes at least two multicast devices, the multicast device packet in the multicast device group
It includes:Encapsulation unit 501 and data transmission unit 502.
The encapsulation unit 501, for when the multicast device receives the communication information and sends instruction, the communication to be believed
Breath is encapsulated as IP data packets;Include in the IP data packets and the ip multicast address corresponding to the multicast device group;
The transmission unit 502 is used for by the communication channel between the established multicast device and IP network, by institute
The network equipment that IP data packets are sent in the IP network is stated, triggers the network equipment according to the ip multicast address by institute
Other multicast devices of IP data packets respectively into the multicast device group are stated to be sent.
For each multicast device group tool there are one ip multicast address, any one multicast device in the multicast device group is equal
PTT service is realized using the ip multicast address.Be pre-configured with the mark of the multicast device, including user name, Subscriber Number,
Place sets of numbers, wherein the sets of numbers corresponds to the ip multicast address of place multicast device group.
When any one multicast device in the multicast device group receives communication information transmission instruction, the multicast
Communication information addition IP agreement field post package is IP data packets by the encapsulation unit 501 of equipment, wherein the IP data
The destination address of packet is the ip multicast address.The IP data packets are sent to the net in the IP network by transmission unit 502
Network equipment triggers the network equipment and sends out the IP data packets to other multicast devices according to the ip multicast address
It send.IP data packets comprising the communication information are sent to IP network equipment by multicast device disclosed in the present embodiment, trigger IP network
Equipment sends the IP data packets for including the PTT service communication information, and the realization method of such PTT service takes full advantage of IP network and carries
The infrastructure device of confession does not need to develop again, and realization method is easier, cheap.
Present embodiment discloses another structures for the multicast device for realizing PTT service as shown in fig. 6, the multicast device
Applied to the communication information in transmission in the scene of audio-frequency information, video information or text message.The multicast device includes:
Audio coder 601, video encoder 602, text decoder 603, encapsulation unit 604 and transmission unit 605.
The audio coder 601 generates audio data frame for audio-frequency information to be carried out digital coding;
The video encoder 602 generates video data frame for video information to be carried out digital coding;
The text decoder 603 generates text data frame for text message to be carried out text code;
The encapsulation unit 604, for when the multicast device receives the communication information and sends instruction, the communication to be believed
Breath is encapsulated as IP data packets;Include in the IP data packets and the ip multicast address corresponding to the multicast device group;
The transmission unit 605 is used for by the communication channel between the established multicast device and IP network, by institute
The network equipment that IP data packets are sent in the IP network is stated, triggers the network equipment according to the ip multicast address by institute
Other multicast devices of IP data packets respectively into the multicast device group are stated to be sent.
Audio coder, video encoder and text in the disclosed multicast device for realizing PTT service of the present embodiment are compiled
Code device realizes the coding of audio-frequency information, video information, text message respectively, will be by the audio-frequency information of coding, video information
Or text message is sent by encapsulation, realizes the communication of voice in PTT service, video or short message.
Further, it can also include encryption unit in multicast device structure disclosed in embodiment shown in Fig. 6, be used for
Audio data frame, video data frame or the text data frame by coding is encrypted, and in packaged IP data
Instruction is encrypted in packet, shows encryption rule used in encryption unit, to ensure the safety of information transfer process.
The present embodiment is disclosed to realize that the multicast device of PTT service is applied before sending audio-frequency information or video information, needs
The case where used communication channel being intercepted.As shown in fig. 7, the structure of the multicast device includes:Audio coding
Device 701, text decoder 703, encapsulation unit 704, intercepts subelement 705 and transmission sub-unit 706 at video encoder 702.
It is described to intercept subelement 705, in the first prefixed time interval, intercepting the established multicast device and IP
Whether the communication channel between network idle, the communication channel for voice-grade channel corresponding with the audio-frequency information or with institute
State the corresponding video channel of video information;If the communication channel is idle in first prefixed time interval, the
In two prefixed time intervals, it is whether idle that the communication channel is intercepted again;
First preset time is one section of Fixed Time Interval, and the second preset time is one section of random time interval.It is described
It intercepts word cell and establishes Socket (socket) and intercept the voice-grade channel or video channel and whether there is IP data packets, i.e. audio
Information IP data packets, video information IP data packets, voice-grade channel control IP data packets or video channel control IP data packets.
The subelement of intercepting is intercepted work twice, intercepts the voice-grade channel or video channel for the first time, if institute
It states on voice-grade channel or video channel there are audio-frequency information IP data packets or video information IP data packets, then illustrates that having multicast sets
The standby transmission in progress audio-frequency information or video information;If there are voice-grade channels to control IP on the voice-grade channel or video channel
Data packet or video channel control IP data packets, then it is competing to illustrate that existing multicast device is carried out in progress audio-frequency information or video information
It strives.Both the above situation, all represents the voice-grade channel or video channel is not idle.If intercepting be not connected to the IP for the first time
Data packet is then intercepted work for the second time, if not receiving the audio-frequency information IP numbers in random interval of time
According to packet or video information IP data packets, then the channel idle is represented;If receiving the audio-frequency information IP data packets or video
Information IP data packets indicate that other multicast devices that the channel has been intercepted simultaneously compete successfully, then represent the channel not
Multiple multicasts in same multicast device group have been evaded in free time, the at this time multicast device and the transmission without data packet
Equipment simultaneously contract for fixed output quotas raw conflict by transmission data.
The transmission sub-unit 706, for being in the free time in second prefixed time interval when the communication channel
When state, the network equipment that the IP data packets is sent to by the communication channel in the IP network.
Multicast device group includes at least two multicast devices, and there may be more in same multicast device group in reality
A multicast device the case where intercepting channel simultaneously before sending audio-frequency information or video information, multicast disclosed in the present embodiment
Equipment is intercepted work twice, has been evaded multiple multicast devices in the same multicast device group while having been intercepted possible production
Raw transmission data is contracted for fixed output quotas raw conflict, and the communication information improved in communication process sends successful possibility.
The disclosed system for realizing PTT service of the present embodiment is as shown in figure 9, include:First tunnel device 903, transfer are set
Standby 904, second tunnel device 905, the network equipment 902 for supporting ip multicast and sender's multicast device 901 above-mentioned;Wherein,
The multicast device belongs in a multicast device group, includes at least two multicast devices in the multicast device group;
Described sender multicast device 901, for supporting the network equipment of ip multicast to send IP data packets to described;
The network equipment 902 for supporting ip multicast, is used for its by the IP data packets into the multicast device group
His multicast device and the first tunnel device compatible with the multicast device are sent;
Wherein, the network equipment for supporting ip multicast, it is described such as three-tier switch or the router of support ip multicast
Ip multicast equipment is used to the IP data packets that multicast device in this ip multicast domain is sent being transmitted to same more in the multicast domain
Other multicast devices in equipment group are broadcast, and are sent simultaneously to corresponding first tunnel device in this ip multicast domain.
First tunnel device 903, for the IP data packets received to be forwarded to the relay device;
The relay device 904, for the IP data packets to be forwarded to and other multicasts in the multicast device group
Equipment distinguishes corresponding each second tunnel device;
Second tunnel device 905, for setting other multicasts of the IP data packets into the multicast device group
It is standby to be sent.
Sender's multicast device 901 supports the network equipment 902 of ip multicast to send IP numbers to described in the ip multicast domain A
According to packet, recipient multicast device 907 of the network equipment 902 of ip multicast into this ip multicast domain A is supported to send IP data packets, it is real
The now PTT service in this ip multicast domain, wherein described support that the network equipment of ip multicast can be that can realize IP in ip multicast domain
Multicast packets forward the interchanger of work.Simultaneously IP data packets, first tunnel device are sent to the first tunnel device 903
903 do not have public network IP address, then the relay device 904 is needed to be forwarded, wherein the relay device 904 has public affairs
Net IP address.
The IP of the transfer server 904 is configured on first tunnel device, 903 and second tunnel device 905
Location configures the IP address of first tunnel device, 903 and second tunnel device 905 on transfer server 904.
Sender's multicast device 901 in the ip multicast domain A sends the data packet that destination address is ip multicast address
To the first tunnel device 903, triggers first tunnel device 903 and receive the data that the destination address is ip multicast address
Packet, and it is that IP data packets are sent to the transfer server to add the IP address post package of the transfer server on its head
904, it triggers the transfer server 904 and the IP data packets is forwarded to second tunnel device 905, second tunnel
Multicast device of the equipment 905 into ip multicast domain B sends IP data packets.
The combination that wireless communication technique and IP technologies are realized in the disclosed system for realizing PTT service of the present embodiment, leads to
It crosses multicast device triggering IP network equipment and sends the IP data packets for including the PTT service communication information, such realization PTT service is
System makes full use of the basic network equipment that IP network provides, and does not need to research and develop the network equipment realized for PTT service again,
Realization method is easier, cheap.In addition this system realizes both multicast devices into this ip multicast domain, further through tunnel device and
Multicast device of the relay device into other ip multicast domains sends the function of the communication information.
It should be noted that each embodiment in this specification is described in a progressive manner, each embodiment weight
Point explanation is all difference from other examples, and the same or similar parts between the embodiments can be referred to each other.
Above to it is provided by the present invention it is a kind of realizing that the method, equipment and system of PTT service are described in detail, it is right
The above description of the disclosed embodiments, enables those skilled in the art to implement or use the present invention.To these implementations
A variety of modifications of example will be apparent to those skilled in the art, and the general principles defined herein can
Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited
It is formed on the embodiments shown herein, and is to fit to consistent with the principles and novel features disclosed in this article widest
Range.
Claims (8)
1. a kind of method for realizing PTT service, which is characterized in that the method is applied to multicast device group, the multicast device
Group includes at least two multicast devices, the method includes:
When any one multicast device in the multicast device group, which receives the communication information, sends instruction, by the communication information
It is encapsulated as IP data packets;Include in the IP data packets and the ip multicast address corresponding to the multicast device group;
By the communication channel between the established multicast device and IP network, the IP data packets are sent to the IP network
The network equipment in network, trigger the network equipment according to the ip multicast address by the IP data packets respectively to the multicast
Other multicast devices in equipment group are sent;
IP data packets are sent to the IP network by the communication channel by between the established multicast device and IP network
The network equipment in network, trigger the network equipment according to the ip multicast address by the IP data packets respectively to the multicast
Other multicast devices in equipment group are sent, including:
By the communication channel between the established multicast device and IP network, the IP data packets are sent to the IP network
The first tunnel device compatible with the multicast device in network;By first tunnel device by the IP data packets be forwarded to
Other multicast devices in the multicast device group distinguish corresponding each second tunnel device, and trigger described each second
Tunnel device sends other multicast devices of the IP data packets into the multicast device group.
2. according to the method described in claim 1, it is characterized in that, the communication information includes:Text message, audio-frequency information or
Video information.
3. according to the method described in claim 2, it is characterized in that, being audio-frequency information or video information in the communication information
In the case of, the IP data packets are sent to by the communication channel by between the established multicast device and IP network
The network equipment in the IP network includes:
In the first prefixed time interval, whether the communication channel intercepted between the established multicast device and IP network is empty
Spare time, the communication channel are that voice-grade channel corresponding with the audio-frequency information or video corresponding with the video information are believed
Road;
If the communication channel is idle in first prefixed time interval, in the second prefixed time interval, detect again
Listen the communication channel whether idle, if in second prefixed time interval, the communication channel is idle, then passes through described
Communication channel, the network equipment IP data packets being sent in the IP network.
4. according to the method described in claim 1, it is characterized in that, it is described by first tunnel device by the IP data packets
It is forwarded to each second tunnel device corresponding with other multicast devices difference in the multicast device group, and described in triggering
Each second tunnel device sends other multicast devices of the IP data packets into the multicast device group, including:
The IP data packets are forwarded to relay device by first tunnel device;
It triggers the relay device and is forwarded to the IP data packets and distinguish with other multicast devices in the multicast device group
Corresponding each second tunnel device, and trigger each second tunnel device and set the IP data packets to the multicast
Other multicast devices in standby group are sent.
5. a kind of multicast device for realizing PTT service, which is characterized in that the multicast device belongs in a multicast device group,
Include at least two multicast devices in the multicast device group, the multicast device includes:
Encapsulation unit, for when the multicast device receives the communication information and sends instruction, the communication information to be encapsulated as IP
Data packet;Include in the IP data packets and the ip multicast address corresponding to the multicast device group;
Transmission unit is used for by the communication channel between the established multicast device and IP network, by the IP data packets
The network equipment being sent in the IP network triggers the network equipment according to the ip multicast address by the IP data packets
Other multicast devices into the multicast device group are sent respectively;
The transmission unit specifically includes:
By the communication channel between the established multicast device and IP network, the IP data packets are sent to the IP network
The first tunnel device compatible with the multicast device in network;By first tunnel device by the IP data packets be forwarded to
Other multicast devices in the multicast device group distinguish corresponding each second tunnel device, and trigger described each second
Tunnel device sends other multicast devices of the IP data packets into the multicast device group.
6. multicast device according to claim 5, which is characterized in that further include:
Audio coder generates audio data frame for audio-frequency information to be carried out digital coding;
Video encoder generates video data frame for video information to be carried out digital coding;
Text decoder generates text data frame for text message to be carried out text code.
7. multicast device according to claim 6, which is characterized in that the transmission unit includes:
Subelement is intercepted, in the first prefixed time interval, intercepting between the established multicast device and IP network
Whether communication channel idle, the communication channel be voice-grade channel corresponding with the audio-frequency information or with the video information
Corresponding video channel;If the communication channel is idle in first prefixed time interval, in the second preset time
In interval, it is whether idle that the communication channel is intercepted again;
Transmission sub-unit, for when the communication channel is in idle condition in second prefixed time interval, by institute
State the network equipment that IP data packets are sent to by the communication channel in the IP network.
8. a kind of system for realizing PTT service, which is characterized in that including:The network equipment, the first tunnel of ip multicast is supported to set
Multicast device described in standby, relay device, the second tunnel device and claim 5 to 7 any one;Wherein, the multicast is set
It is standby to belong in a multicast device group, include at least two multicast devices in the multicast device group;
The multicast device, for supporting the network equipment of ip multicast to send IP data packets to described;
The network equipment for supporting ip multicast, for setting other multicasts of the IP data packets into the multicast device group
First tunnel device standby and compatible with the multicast device is sent;
First tunnel device, for the IP data packets received to be forwarded to the relay device;
The relay device is distinguished for being forwarded to the IP data packets with other multicast devices in the multicast device group
Corresponding each second tunnel device;
Second tunnel device, for sending out other multicast devices of the IP data packets into the multicast device group
It send.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310365491.5A CN103442339B (en) | 2013-08-20 | 2013-08-20 | A kind of method, equipment and system for realizing PTT service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310365491.5A CN103442339B (en) | 2013-08-20 | 2013-08-20 | A kind of method, equipment and system for realizing PTT service |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103442339A CN103442339A (en) | 2013-12-11 |
CN103442339B true CN103442339B (en) | 2018-08-14 |
Family
ID=49695994
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310365491.5A Expired - Fee Related CN103442339B (en) | 2013-08-20 | 2013-08-20 | A kind of method, equipment and system for realizing PTT service |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103442339B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102350962B1 (en) * | 2015-10-30 | 2022-01-14 | 삼성전자주식회사 | Method and apparatus for supporting a plurality of PTT channels simultaneously |
TW202011771A (en) * | 2018-09-06 | 2020-03-16 | 財團法人資訊工業策進會 | Communication system, method and data forwarding device for multimedia broadcast/multicast service |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001086953A1 (en) * | 2000-05-03 | 2001-11-15 | Koninklijke Philips Electronics N.V. | Method and apparatus for adaptive position determination in video conference and other applications |
CN1756393A (en) * | 2004-09-29 | 2006-04-05 | 日本电气株式会社 | Push-to-talk communication system, mobile communication terminal and voice transmitting method |
CN102238487A (en) * | 2010-05-07 | 2011-11-09 | 北京信威通信技术股份有限公司 | Multimedia cluster scheduling system and method thereof |
CN202455421U (en) * | 2011-11-25 | 2012-09-26 | 武汉钢铁(集团)公司 | Portable wireless IP intercommunication device |
-
2013
- 2013-08-20 CN CN201310365491.5A patent/CN103442339B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001086953A1 (en) * | 2000-05-03 | 2001-11-15 | Koninklijke Philips Electronics N.V. | Method and apparatus for adaptive position determination in video conference and other applications |
CN1756393A (en) * | 2004-09-29 | 2006-04-05 | 日本电气株式会社 | Push-to-talk communication system, mobile communication terminal and voice transmitting method |
CN102238487A (en) * | 2010-05-07 | 2011-11-09 | 北京信威通信技术股份有限公司 | Multimedia cluster scheduling system and method thereof |
CN202455421U (en) * | 2011-11-25 | 2012-09-26 | 武汉钢铁(集团)公司 | Portable wireless IP intercommunication device |
Also Published As
Publication number | Publication date |
---|---|
CN103442339A (en) | 2013-12-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7929475B2 (en) | System and method for multicast communications using real time transport protocol (RTP) | |
KR100951026B1 (en) | System and method for distributing voip data packets in group communications among wireless telecommunication devices | |
CN102857873B (en) | Wideband digital cluster system based on TD-LTE (time division-long term evolution) and data transmission method thereof | |
US9642168B2 (en) | Mobile phone related indirect communication system and method | |
CN101300885B (en) | Traffic generation during inactive user plane | |
CN102469415B (en) | Method, terminal and system for point-to-multipoint calling in cluster system based on long term evolution (LTE) technology | |
US8233422B2 (en) | Radio frequency multicasting | |
JP6093037B2 (en) | Method, system, base station, and cluster EPC for establishing group call context | |
CN107370722B (en) | Network interaction method, wireless convergence relay gateway and system | |
CN101778244B (en) | Wireless video conference system and method for adding common voice user | |
CN101778485A (en) | Method and device for building circuit switch link of WiFi handheld equipment | |
CN103391516B (en) | Digital cluster system group call resource distribution method and equipment under long-term evolution structure | |
CN103458373B (en) | A kind of clustering service implementation methods and its device | |
WO2008046355A1 (en) | Method for receiving multicast broadcast service, system, base station and management equipment thereof | |
MX2010010222A (en) | Method and device for tunnelling of unicast and broadcast messages. | |
CN103442339B (en) | A kind of method, equipment and system for realizing PTT service | |
CN103428057B (en) | Way system in the arenas of IP based network | |
CN100438656C (en) | System and method for realizing group service | |
CN102572613A (en) | Digital intercom system and method based on wireless internet | |
CN105743663A (en) | Data transmission device and method | |
US9270799B2 (en) | Using indirect communication to provide a solution to use international dialing convention and incorporating phone numbers for non-phone devices | |
CN105357172A (en) | Data message transmission processing method and device | |
WO2008067722A1 (en) | A method, telephone system and telephone terminal for calling session | |
CN104053130B (en) | The message treatment method and device of a kind of junction network | |
CN102665304B (en) | Communication method of cordless communication system and device thereof |
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: 20180814 Termination date: 20200820 |
|
CF01 | Termination of patent right due to non-payment of annual fee |