WO2021088345A1 - Ed137 protocol-based voip station gateway having master-backup architecture - Google Patents

Ed137 protocol-based voip station gateway having master-backup architecture Download PDF

Info

Publication number
WO2021088345A1
WO2021088345A1 PCT/CN2020/090123 CN2020090123W WO2021088345A1 WO 2021088345 A1 WO2021088345 A1 WO 2021088345A1 CN 2020090123 W CN2020090123 W CN 2020090123W WO 2021088345 A1 WO2021088345 A1 WO 2021088345A1
Authority
WO
WIPO (PCT)
Prior art keywords
voip
radio
gateway
station
session
Prior art date
Application number
PCT/CN2020/090123
Other languages
French (fr)
Chinese (zh)
Inventor
张朋
王虎
孙英晖
杨康
朱昆
Original Assignee
南京莱斯电子设备有限公司
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 南京莱斯电子设备有限公司 filed Critical 南京莱斯电子设备有限公司
Publication of WO2021088345A1 publication Critical patent/WO2021088345A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/006Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • 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/10Architectures or entities
    • H04L65/102Gateways
    • 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/1066Session management
    • 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/1066Session management
    • H04L65/1073Registration or de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/006Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
    • H04M7/0081Network operation, administration, maintenance, or provisioning

Definitions

  • the invention belongs to the technical field of voice communication engineering, and particularly relates to a VoIP radio gateway with a master-standby architecture based on the ED137 protocol.
  • the European Civil Aviation Equipment Organization (EUROCAE) is an international organization that specializes in the formulation of technical specifications for civil avionics equipment, and is subordinate to the European Aviation Safety Organization. It is a non-profit organization composed of aviation stakeholders in Europe and other regions.
  • the EUROCAEWG67 working group has successively released versions of the ED137 protocol, such as February (2009), ED-137A (2010), ED-137B (2012) and ED-137C (2017). This agreement is the standard and interface specification for international aviation service providers to access VoIP voice (especially VoIP radio).
  • the present invention belongs to the technical field of air traffic control voice communication engineering.
  • the main problem to be solved is that the radio access mode of the traditional air traffic control voice exchange system is the EM analog access mode, which cannot meet the urgent needs of today's VoIP radio communication.
  • the present invention discloses a VoIP (Voice over Internet Protocol) radio station based on the ED137 protocol (Interoperability Standards for VoIP ATM Radio Components).
  • the gateway adds multiple functions such as working mode, gain, and delay. It adopts a background service design method and is equipped with a web management terminal.
  • the access to VCCS conforms to the standard SIP protocol, which can realize the connection of VoIP radio stations to the VCCS system of the main and standby architecture. It can not only meet the needs of the air traffic management voice system for VoIP radio stations, but also meet the requirements of the main and backup VCCS interfaces.
  • the VoIP radio gateway of the present invention includes a core switching module, an active and standby server selection module, a media signaling interaction module, and a system operation and maintenance module;
  • the core switching module is used to implement voice switching of the VoIP radio gateway
  • the active/standby server selection module is used to automatically switch to the standby server when the active/standby server selection module detects media switching timeout after the main server hangs up;
  • the media signaling interaction module is used for state machine management of SIP signaling (Session Initiation Protocol, Session Initiation Protocol) and media transceiving of voice channels;
  • the system operation and maintenance module is used to provide web terminal management and network status detection functions.
  • the core switching module is used to realize the voice exchange of the VoIP radio gateway, and realize the radio conference, receiving and sending delay buffer, receiving and sending gain adjustment and dynamic delay compensation through the VoIP voice switching technology;
  • the core switching module uses RTP (Real Time Protocol) protocol to exchange voice and radio control commands when implementing radio conferences, and the radio control commands are in the extended RTP header;
  • RTP Real Time Protocol
  • the range of the receiving and sending delay buffer is 0 ⁇ 600ms
  • the range of the transceiver gain adjustment is -25db ⁇ +25db;
  • the dynamic delay compensation is based on measuring the network delay between the VoIP station and the VoIP station gateway, calculating the maximum delay compensation time of the CLIMAX (radio climax) group, and controlling the VoIP station delay time to achieve synchronization of the VoIP stations in the group Transmission, dynamic delay compensation range is 0 ⁇ 254ms, accuracy is 2ms.
  • the core switching module is used to implement the voice exchange of the VoIP radio gateway, and also includes the media information used to exchange the VoIP radio session and the VCCS (Voice Communication Control System) session;
  • VCCS Voice Communication Control System
  • the VoIP radio session is the prerequisite of the VCCS session. After the VoIP radio session is established, the R2S (a transmission format) keep-alive packet or the voice packet carrying the payload (voice payload) is transmitted;
  • R2S-KeepAlivePeriod R2S keep-alive interval
  • R2S-KeepAliveMultiplier R2S keep-alive packet number
  • R2S keep-alive packets generally have longer intervals and fewer bytes than voice packets.
  • the R2S keep-alive packet is transmitted between the VoIP radio and the VoIP radio gateway;
  • the VoIP radio receiver When the VoIP radio receiver receives the carrier, it will deliver the voice packet carrying the Payload to the VoIP radio gateway;
  • the VoIP radio gateway can establish a session with the VCCS;
  • the VoIP radio gateway sends the registration information of the connected VoIP radio station to the VCCS.
  • the VCCS initiates a session establishment request to the VoIP radio gateway to establish a corresponding type of VCCS session; after the VCCS session is established, standard RTP is used to transmit voice.
  • standard RTP is used to transmit voice.
  • a VoIP radio station When a VoIP radio station is used, it transmits mute, and the Mark bit (marker bit) of RTP represents PTT (Push To Talk) signal and carrier signal; when the VoIP radio station fails or is disconnected, the VoIP radio gateway will send a message to VCCS to end the VoIP radio session. request.
  • the media signaling interaction module uses the SIP state machine mechanism to implement signaling state machine management and channel media transceiving, which specifically includes the following steps:
  • Step a1 the SIP state machine independently manages the state of each VoIP station, and the initial state is the idle state;
  • Step a2 After the VoIP radio gateway is connected to the VoIP radio, it sends a session establishment request and enters the request state;
  • Step a3 the VoIP station responds to the request. If it accepts the session invitation, the SIP state machine enters the session state; if it rejects the session invitation, the SIP state machine enters the idle state again and waits for the next connection;
  • Step a4 After the SIP state machine enters the conversation state, it opens the VoIP radio channel for media transmission and reception.
  • the system operation and maintenance module is used to provide web terminal management and network status detection functions.
  • the web terminal management includes radio configuration, gateway configuration and additional function configuration; through network status detection, the VoIP radio gateway can report the dual network status to the server in real time information.
  • the system operation and maintenance module is equipped with a web (web page) front-end configuration page, and the radio configuration, gateway configuration and additional function configuration are completed through the web front-end configuration page;
  • the radio configuration includes radio name, radio IP and port, radio type, PTT mode, radio SIP account password (for example: configured as RadioRx, 192.168.1.100, 5060, Rx, Normal, 500, 123456);
  • Gateway configuration includes server IP port information and gateway SIP account password (for example: configured as 192.168.1.6, 5060, 9000, 123456);
  • Additional function configuration includes transceiver gain, transceiver delay, transceiver mode, mode suppression and CLIMAX group (for example: configured to receive 10db, send -5db, receive 40ms, send 20ms, send and receive suppression mode, group 1);
  • a pair of transceiver VoIP stations can configure the transceiver mode as transceiver isolation, transceiver suppression, and transceiver tone reduction;
  • Transceiver isolation means that the transceiver is in full-duplex mode
  • transceiver suppression means that the transceiver is in half-duplex mode
  • transceiver attenuation means that when the VoIP radio transmitter is transmitting, the VoIP radio receiver will suppress attenuation according to the mode suppression amount
  • the VoIP stations that form the same CLIMAX group can transmit simultaneously.
  • the signaling state machine of the media signaling interaction module is responsible for the SIP signaling interaction with the VCCS server, VoIP radio, RRCE (Remote Radio Control Equipment) and the web equipped with the system operation and maintenance module; network media transceiver implementation Media transceiving of VoIP radio and RRCE; switching between active and standby media and network media transceiving to achieve VCCS media interaction; dynamic compensation measurement of VoIP radio is fed back to the CLIMAX group, and the CLIMAX group controls the network delay of the same group of VoIP radios; media of VoIP radio After gain adjustment and buffer control, it exchanges with VCCS voice; the dual network status is detected and reported to the server separately.
  • the process of establishing SIP and RTP for the VoIP radio gateway session includes the following steps:
  • Step b1 After the station name, IP, port, SIP account, and SIP password are configured, the VoIP station gateway will periodically initiate a session request to the VoIP station. If a session has been established with the VoIP station, no more requests will be sent;
  • Step b2 After the VoIP station receives the request, if the configuration is correct, it will automatically answer the request, reply 100Trying (receive response message) and 200OK (normal response message), and the VoIP station gateway will reply ACK (response confirmation message) to confirm the establishment of the session;
  • Step b3 the VoIP station gateway and the VoIP station start to send and receive RTP packets in both directions.
  • the VoIP station is not sending and receiving, the two-way transmission is a keep-alive packet without load; when the VoIP station is transmitting, the VoIP station gateway sends it to The VoIP radio station is the RTP voice packet carrying the payload; when the VoIP radio station receives it, the VoIP radio station sends the RTP voice packet carrying the payload to the VoIP radio gateway;
  • Step b4 After the VoIP radio station establishes the session, it registers the VoIP radio station SIP account with the server; when the first registration is successful, the server initiates a session request to the VoIP radio gateway; after the session is established, the server and the VoIP radio gateway send RTP voice packets , Use Mark bit to represent PTT signal and carrier signal;
  • Step b5 When the VoIP radio fails or the network is disconnected, the VoIP radio gateway and the VoIP radio session are interrupted, and the radio session with the VCCS is ended.
  • the VoIP radio gateway provided by the present invention is a VoIP radio gateway equipment used in an air traffic control voice communication system (VCCS) and conforms to the ED137 protocol. It can support access to the VCCS of the main and standby redundant server architecture.
  • the main and standby server selection module provides automatic detection of server media for the VoIP radio gateway, and switches between the main and standby server media after timeout. The 60ms detection and switching interval enables the VoIP radio gateway to provide continuous voice and signal to the VCCS.
  • VoIP radio stations are divided into single VoIP radio receiver Rx, single VoIP radio transmitter Tx, and VoIP radio transceiver RTx according to the type of radio. Different types of VoIP radio stations can be connected to the VoIP radio gateway.
  • the VoIP radio gateway supports a maximum of 32 VoIP radio channels, including 16 receiving and 16 sending channels.
  • Its core exchange includes radio voice exchange and server voice exchange.
  • VCCS establishes a session through standard SIP, and uses the Mark bit of the RTP header to represent PTT signal and carrier signal transmission.
  • the VoIP radio station is connected to the VoIP radio gateway through the ED137, and transmits VoIP radio control signaling and voice through the RTP packet with an extension header.
  • the VoIP radio gateway can be transplanted across platforms and supports windows, Linux, cross-compiled arm-linux, etc.
  • the VoIP radio gateway is equipped with a parameter configuration management service, and the VoIP radio gateway server is accessed through the web page for radio parameter configuration, channel configuration, gateway device configuration, server parameter configuration, etc.
  • the VoIP radio gateway supports multiple network card devices, and the equipment can be used for network port aggregation.
  • the VoIP radio gateway can isolate the VoIP radio network from the VCCS network and provide security guarantee for VCCS network communication.
  • the VoIP radio gateway provides a variety of channel expansion functions for VCCS, including channel transceiver gain adjustment, channel transceiver delay, three channel transceiver modes, etc.
  • the active and standby server selection module is an important functional module of a VoIP radio gateway with an active and standby architecture based on the ED137 protocol.
  • the VoIP radio gateway can be connected to a single-server VCCS or a redundant VCCS with active and standby servers.
  • the VoIP radio gateway receives SIP messages from any server, and the media is to establish two sessions at the same time.
  • the VoIP radio gateway performs media switching to ensure the redundancy effect of the main and standby servers. This feature can realize that when any server fails, the system can use the VoIP radio station uninterruptedly, and even the human ears can't hear the difference.
  • the VoIP station gateway can also establish a session with Radio Remote Control Equipment (RRCE) to complete the VoIP station master and backup functions.
  • RRCE Radio Remote Control Equipment
  • the ED137 protocol stipulates the radio master and backup functions of RRCE. It can be applied to two modes of RRCE: single frequency mode and dual frequency mode. It can control two pairs of main and standby VoIP radio stations. It can also transmit the signal quality information of the VoIP radio receiver.
  • the media signaling interaction module is a basic functional module of a VoIP radio gateway with a master-standby architecture based on the ED137 protocol.
  • SIP signaling is the basic protocol of the VoIP voice system.
  • the session is established by the initiator of the session sending an INVITE request, the invited party replies with a 100Tying response and a 200OK response, and then the initiator replies with an ACK response, the session is established, and both parties begin to send keep-alive packets or media.
  • the SIP protocol is an application layer protocol, it belongs to the UDP protocol at the transport layer.
  • the UDP protocol is an unreliable transmission protocol.
  • the SIP protocol has a timeout retransmission mechanism to ensure communication reliability.
  • the ED137 protocol specifies CLIMAX delay and dynamic delay compensation functions.
  • the VoIP radio transmitters of the same CLIMAX group will periodically receive the delayed detection request message (RMM) from the VoIP radio gateway, and reply to the measurement response message (MAM).
  • the VoIP radio gateway calculates the network delay from VCCS to the VoIP radio station and the transmission delay of the VoIP radio station through RMM and MAM.
  • the VoIP radio transmitter of the same group adjusts the transmission delay.
  • the CLIMAX function can be realized (the same group of VoIP radio transmitters simultaneously transmit sound into the air).
  • the present invention discloses a VoIP radio gateway with a master-standby architecture based on the ED137 protocol.
  • This gateway can not only meet the access requirements of VoIP radio stations (or RRCE) that comply with the ED137 protocol, but also can access the main-standby architecture air traffic control VCCS In the system, and on this basis, it also provides functions such as transceiver gain adjustment, transceiver delay buffer, dynamic delay compensation, radio transceiver mode, and CLIMAX group.
  • This gateway can meet the control requirements of various civil aviation airports at home and abroad for VoIP radio. The additional function also greatly improves the usability of the VoIP radio gateway.
  • Fig. 1 is a block diagram of the composition of a VoIP radio gateway based on the active and standby architecture of the ED137 protocol of the present invention.
  • Figure 2 is a diagram of the logical structure of a VoIP radio gateway with a master-standby architecture based on the ED137 protocol of the present invention.
  • Fig. 3 is a flow chart of SIP/RTP establishment of a VoIP radio gateway session establishment based on the ED137 protocol in the active and standby architecture of the present invention.
  • Figure 4 is a CLIMAX coding diagram of a VoIP radio gateway with a master-standby architecture based on the ED137 protocol of the present invention.
  • Figure 5 is a dynamic delay detection coding diagram of a VoIP radio gateway with a master-standby architecture based on the ED137 protocol of the present invention.
  • Fig. 6 is a schematic diagram of the delay of a VoIP radio gateway with a master-standby architecture based on the ED137 protocol of the present invention.
  • Fig. 7 is a remote control coding diagram of a VoIP radio gateway radio remote control based on the ED137 protocol of the present invention.
  • Figure 8 is a connection block diagram of the voice communication system.
  • the VoIP radio gateway with active/standby architecture based on ED137 protocol provided by the present invention is designed for air traffic control voice system with active/standby redundant architecture, provides access to VoIP radio stations complying with the ED137 protocol for the voice system, and supports the dynamic delay of the ED137 protocol Compensation and access function of radio remote control equipment.
  • the VoIP radio gateway provides a wealth of additional voice functions, which can provide VoIP radio gateway radio gain, radio delay, radio transceiver mode, and CLIMAX group to achieve dynamic compensation.
  • the block diagram of the VoIP radio gateway is shown in Figure 1.
  • the VoIP radio gateway consists of a core switching module, an active and standby server selection module, a media signaling interaction module, and a system operation and maintenance module.
  • the core switching module is the voice switching module of the VoIP radio gateway. Including radio conference, receiving and dispatching delay buffer, receiving and dispatching gain adjustment, dynamic delay compensation. Radio conferences use RTP protocol for interactive voice and radio control commands. The radio control commands are in the extended RTP header, such as PTT information and carrier information.
  • Transceiver delay buffer and transceiver gain adjustment are additional functions of the VoIP radio gateway. It can realize the receiving gain and transmitting gain of each VoIP station, so that it can realize the equalization of voice input according to the physical characteristics of the unreachable VoIP station. The range of gain adjustment is (-25db ⁇ +25db).
  • the transceiver delay buffer is based on the dynamic delay, and the transceiver delay function can also be added.
  • the range of the receiving and sending delay buffer is (0 ⁇ 600ms). Dynamic delay compensation is based on measuring the network delay between the VoIP station and the VoIP station gateway, calculating the maximum delay compensation time of the CLIMAX group, and controlling the VoIP station delay time to achieve simultaneous transmission of the VoIP stations in the group.
  • the dynamic compensation range is (0 ⁇ 254ms, accuracy 2ms)
  • the active/standby server selection module is a functional module that connects the VoIP radio gateway to the air traffic control voice active/standby server. After the main server hangs up, the VoIP radio gateway detects the media switching timeout (60ms) and can automatically switch to the standby server, which can ensure continuous media and uninterrupted voice. Realize the server main and standby redundancy function.
  • the primary and secondary signaling is a dual-transmission mode, and the server master replies.
  • the media signaling interaction module includes signaling state machine management and channel media transceiving.
  • SIP uses the SIP state machine mechanism to manage the session establishment. Media sending and receiving can realize large-scale media sending and receiving.
  • the system operation and maintenance module includes web terminal management and network status detection. Radio configuration, gateway configuration, and additional function configuration can all be logged in and configured through the web page.
  • the VoIP radio gateway can report the dual network status information to the server in real time.
  • the logical structure of the VoIP radio gateway is shown in Figure 2.
  • the signaling state machine is responsible for SIP signaling interaction with VCCS server, VoIP radio, RRCE and web.
  • Network media transceiving realizes media transceiving of VoIP radio and RRCE.
  • Active and standby media switching and network media receiving and sending realize VCCS media interaction.
  • the media of the VoIP radio station is exchanged with VCCS voice after gain adjustment and buffer control. The dual network status is detected and reported to the server separately.
  • the SIP/RTP flow chart of VoIP radio gateway session establishment is shown in Figure 3.
  • the VoIP radio gateway will initiate a session request to the VoIP radio station periodically (10s). If a session has been established with the VoIP station, no more requests will be sent. After the VoIP radio station receives the request, if the configuration is correct, it will automatically answer the request and reply 100Trying and 200OK. The VoIP radio gateway replies with an ACK to confirm the establishment of the session. After that, the VoIP radio gateway and the VoIP radio start to send and receive RTP packets in both directions.
  • the VoIP station gateway When the VoIP station is not transmitting and receiving, the two-way transmission is the keep-alive packet without payload; when the VoIP station is transmitting, the VoIP station gateway sends the VoIP station the RTP voice packet carrying the payload; when the VoIP station receives, VoIP What the radio station sends to the VoIP radio gateway is the RTP voice packet carrying the payload.
  • the VoIP radio station After the VoIP radio station has established a session, it registers the VoIP radio station SIP account with the server. When the first registration is successful, the server initiates a session request to the VoIP radio gateway. After the conversation is established, the RTP voice packet is sent between the server and the VoIP radio gateway. Use Mark bit to represent PTT signal and carrier signal.
  • the CLIMAX time delay (CLD) coding diagram of the VoIP radio gateway is shown in Figure 4. Whether it is a keep-alive packet or an RTP voice packet between the VoIP station gateway and the VoIP station, it is an RTP message, which includes the RTP header and payload, and the payload is optional.
  • the RTP header includes a normal RTP header and an extended RTP header. As shown in Figure 4, the extended RTP header format, the meaning of each field is as follows:
  • PTTtype Used for VoIP radio transmitters or VoIP radio transceivers. It defines the type of PTT. PTT types include ordinary PTT, priority PTT, coupling PTT, and emergency PTT. Can be set on the VoIP radio gateway web.
  • PTT-ID PTT ID used for VoIP radio transmitter or VoIP radio transceiver, allocated to users accessing VoIP radio. Used to let the user know which user the VoIP station is currently transmitting.
  • PM PTT Mute, used for PTT mute for multi-user access to VoIP radio.
  • PTTS PTT Summation, used for simultaneous transmission of the same priority.
  • SCT Simultaneous Call Transmissions, used for multiple users to transmit the station field at the same time.
  • X Indicates whether the extended information field is used or not.
  • TYPE Extended field type.
  • VALUE Extended field content.
  • CLD CLIMAX delay
  • bit24 is 0 is relative delay
  • 1 is absolute delay
  • Bit25 ⁇ bit31 represent the delay time, the unit is 2ms, and the range is 0 ⁇ 127 (0ms ⁇ 254ms).
  • the dynamic delay detection coding diagram of the VoIP radio gateway is shown in Figure 5.
  • the keep-alive packet or RTP voice packet sent by the VoIP station gateway to the VoIP station at regular intervals (4s) carries a dynamic delay measurement message (RMM).
  • the keep-alive packet or RTP voice packet replies from the VoIP station will carry the dynamic delay.
  • Time measurement response message (MAM) the meaning of each field is as follows:
  • TQV Represents whether the time measured by the VoIP radio gateway is a relative time or an absolute time.
  • T1 It is the time sent by the VoIP radio gateway RMM, the unit is 125us.
  • TQG Represents whether the time measured by the VoIP radio gateway is a relative time or an absolute time.
  • NMR Represents whether the VoIP station needs a new measurement, such as jitter buffer failure.
  • T2 It is the time when the VoIP station receives RMM, in 125us.
  • Tsd It is the time interval between the VoIP station sending out MAM and receiving RMM, the unit is 125us.
  • Tj1 is the delay of the jitter buffer, the unit is 125us.
  • Tid It is the internal delay of the VoIP radio, the delay from the jitter buffer to the antenna, the unit is 125us.
  • the schematic diagram of VoIP radio gateway delay is shown in Figure 6.
  • the CLIMAX group synchronization transmission function requires that the VoIP radio transmission of the same CLIMAX group is synchronized transmission, that is, the time of transmission to the antenna is synchronized.
  • the VCCS system delays of all VoIP stations are equal, that is, Tv1 is equal. As long as the TdTx of all VoIP stations are equal.
  • the VoIP radio gateway packing delay and jitter buffer delay of all VoIP radio stations are equal, namely Tp1.
  • the network delay is:
  • T3 is the time when the VoIP station sends out the MAM
  • T4 is the time when the VoIP station gateway receives the MAM
  • the internal delay of the VoIP station Tid Td1+Ts1.
  • TdTx-Tp1 Tn1+Tj1+Tid.
  • the delay from the VoIP radio gateway to the antenna can be measured through RMM and MAM. Then CLD dynamically controls the transmission delay of the VoIP radio station to achieve transmission synchronization.
  • VoIP radio gateway can access RRCE, and RRCE can connect to VoIP radio to realize the main and standby functions of VoIP radio.
  • the VoIP radio remote control coding diagram is shown in Figure 7. The meaning of each field is as follows:
  • BSS-qidx compare and select signal quality.
  • MSTxF1 RRCE F1 frequency point active and standby VoIP radio transmitter enable flag.
  • MSRxF1 RRCE F1 frequency point active and standby VoIP radio receiver enable flag.
  • MSTxF2 RRCE F2 frequency point master and backup VoIP radio transmitter enable flag.
  • MSRxF2 RRCE F2 frequency point master and backup VoIP radio receiver enable flag.
  • MuRxF1 RRCE F1 frequency point VoIP radio receiver mute enable flag.
  • MuRxF2 RRCE F2 frequency point VoIP radio receiver mute enable flag.
  • SQF1 F1 frequency point carrier enable flag of RRCE.
  • SQF2 F2 frequency point carrier enable flag of RRCE.
  • F1SQI The received signal quality at F1 frequency of RRCE.
  • F2SQI The received signal quality at F2 frequency of RRCE.
  • the specific voice communication system is shown in Figure 8.
  • This set of voice communication system includes server (Server), monitoring (RCMS), switch (Switch), seat (CWP), line interface unit (Line Interface Unit), VoIP telephone gateway, VoIP radio gateway, VoIP phone and VoIP radio station.
  • the server and network switch are dual-redundant designs, and other equipment and server interfaces are connected through dual networks.
  • the VoIP radio gateway/VoIP phone gateway separates the VoIP radio/VoIP phone from the voice system network.
  • the VoIP radio gateway is used to realize the VoIP radio access to this voice communication system. This system and VoIP radio gateway have all been implemented and put into use.
  • the present invention provides a VoIP radio gateway with a master-standby architecture based on the ED137 protocol.
  • a VoIP radio gateway with a master-standby architecture based on the ED137 protocol.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides an ED137 protocol-based VoIP station gateway having a master-backup architecture. The VoIP station gateway device uses a VoIP design method to design a VoIP station access interface, a VCC access scheme, and a master-backup redundancy function strictly according to the ED137 protocol. Various additional functions, such as working modes, gains, and delay are added. Specific functions such as CLIMAX, BSS, and dynamic delay compensation are realized, greatly embodying the advantages of a VoIP station. The VoIP station gateway can access a VoIP station receiver, a VoIP station transmitter, a VoIP station transceiver, a VoIP station remote control device, etc. The VoIP station gateway is provided with a friendly front-end management terminal, and all functions thereof can be managed and configured by means of web access. The present invention satisfies not only the requirements of an airline management voice system for a VoIP station, but also the requirements of airline management safety redundancy.

Description

一种基于ED137协议的主备架构VoIP电台网关A VoIP radio gateway with active and standby architecture based on ED137 protocol 技术领域Technical field
本发明属于语音通信工程技术领域,特别涉及一种基于ED137协议的主备架构VoIP电台网关。The invention belongs to the technical field of voice communication engineering, and particularly relates to a VoIP radio gateway with a master-standby architecture based on the ED137 protocol.
背景技术Background technique
欧洲民用航空设备组织(EUROCAE)是专门制定民用航空电子设备技术规范的国际组织,隶属于欧洲航空安全组织。它是由欧洲及其他地区的航空利益攸关方组成的非盈利组织。EUROCAEWG67工作组陆续发布过ED137协议的版本有February(2009)、ED-137A(2010)、ED-137B(2012)和ED-137C(2017)等。该协议是国际航空服务提供商接入VoIP语音(特别是VoIP电台)的标准及接口规范。The European Civil Aviation Equipment Organization (EUROCAE) is an international organization that specializes in the formulation of technical specifications for civil avionics equipment, and is subordinate to the European Aviation Safety Organization. It is a non-profit organization composed of aviation stakeholders in Europe and other regions. The EUROCAEWG67 working group has successively released versions of the ED137 protocol, such as February (2009), ED-137A (2010), ED-137B (2012) and ED-137C (2017). This agreement is the standard and interface specification for international aviation service providers to access VoIP voice (especially VoIP radio).
近年来,国际上机场语音交换与控制系统(VCCS)招标的技术需求指标中,明确要求VCCS系统支持ED137协议,可接入VoIP电台等需求。然而国际上只有Frequentis、RS等知名国际供应商可以实现接入。国内语音系统的几家公司在此方面也处于起步阶段。因此语音系统的ED137协议接入,并能够完美契合语音系统的主备架构的实现已经迫在眉睫。In recent years, in the international airport voice switching and control system (VCCS) bidding technical requirements indicators, it is clearly required that the VCCS system supports the ED137 protocol and can access VoIP radio stations. However, only well-known international suppliers such as Frequentis and RS can realize access in the world. Several domestic voice system companies are also in their infancy in this regard. Therefore, the realization of the ED137 protocol access of the voice system and the perfect fit of the main and standby architecture of the voice system is imminent.
发明内容Summary of the invention
发明目的:本发明属于空管语音通信工程技术领域,解决的主要问题是传统空管语音交换系统的电台接入方式为EM模拟接入方式,无法满足当今VoIP电台通信的迫切需求。Objective of the invention: The present invention belongs to the technical field of air traffic control voice communication engineering. The main problem to be solved is that the radio access mode of the traditional air traffic control voice exchange system is the EM analog access mode, which cannot meet the urgent needs of today's VoIP radio communication.
为了解决上述技术问题,本发明公开了一种基于ED137协议(VoIP ATM无线电组件互操作性标准,Interoperability Standards for VoIP ATM Radio Components)的主备架构VoIP(网络语音电话业务,Voice over Internet Protocol)电台网关,增加工作模式、增益、延时等多种功能,采用后台服务设计方式,配备web管理终端,接入VCCS符合标准SIP协议,可实现将VoIP电台接入主备架构的VCCS系统。既可以满足空管语音系统对VoIP电台的需求,又满足主备VCCS接口需求。本发明所述的VoIP电台网关包括核心交换模块、主备服务器选择模块、媒体信令交互模块和系统运维模块;In order to solve the above technical problems, the present invention discloses a VoIP (Voice over Internet Protocol) radio station based on the ED137 protocol (Interoperability Standards for VoIP ATM Radio Components). The gateway adds multiple functions such as working mode, gain, and delay. It adopts a background service design method and is equipped with a web management terminal. The access to VCCS conforms to the standard SIP protocol, which can realize the connection of VoIP radio stations to the VCCS system of the main and standby architecture. It can not only meet the needs of the air traffic management voice system for VoIP radio stations, but also meet the requirements of the main and backup VCCS interfaces. The VoIP radio gateway of the present invention includes a core switching module, an active and standby server selection module, a media signaling interaction module, and a system operation and maintenance module;
所述核心交换模块用于实现VoIP电台网关的语音交换;The core switching module is used to implement voice switching of the VoIP radio gateway;
所述主备服务器选择模块用于,当主服务器挂掉之后,主备服务器选择模块检测到媒体切换超时,则自动切换到备服务器;The active/standby server selection module is used to automatically switch to the standby server when the active/standby server selection module detects media switching timeout after the main server hangs up;
所述媒体信令交互模块用于SIP信令(会话初始协议,Session Initiation Protocol)的状态机管理和话音通道的媒体收发;The media signaling interaction module is used for state machine management of SIP signaling (Session Initiation Protocol, Session Initiation Protocol) and media transceiving of voice channels;
所述系统运维模块用于提供网页终端管理和网络状态检测功能。The system operation and maintenance module is used to provide web terminal management and network status detection functions.
所述核心交换模块用于实现VoIP电台网关的语音交换,通过VoIP语音交换技术,实现电台会议、收发延时缓冲、收发增益调节和动态延时补偿;The core switching module is used to realize the voice exchange of the VoIP radio gateway, and realize the radio conference, receiving and sending delay buffer, receiving and sending gain adjustment and dynamic delay compensation through the VoIP voice switching technology;
其中,所述核心交换模块在实现电台会议时,使用RTP(实时传输协议,Real Time Protocol)协议用于交互话音和电台控制命令,电台控制命令是在扩展RTP头中;Wherein, the core switching module uses RTP (Real Time Protocol) protocol to exchange voice and radio control commands when implementing radio conferences, and the radio control commands are in the extended RTP header;
所述收发延时缓冲的范围是0~600ms;The range of the receiving and sending delay buffer is 0~600ms;
所述收发增益调节的范围是-25db~+25db;The range of the transceiver gain adjustment is -25db~+25db;
所述动态延时补偿是根据测量VoIP电台与VoIP电台网关之间的网络延时,计算CLIMAX(无线电高潮)组的最大延时补偿时间,控制VoIP电台延时时间,来达到组内VoIP电台同步发射,动态延时补偿的范围是0~254ms,精度2ms。The dynamic delay compensation is based on measuring the network delay between the VoIP station and the VoIP station gateway, calculating the maximum delay compensation time of the CLIMAX (radio climax) group, and controlling the VoIP station delay time to achieve synchronization of the VoIP stations in the group Transmission, dynamic delay compensation range is 0~254ms, accuracy is 2ms.
所述核心交换模块用于实现VoIP电台网关的语音交换,还包括,用于交换VoIP电台会话与VCCS(话音通信控制系统,Voice Communication Control System)会话的媒体信息;The core switching module is used to implement the voice exchange of the VoIP radio gateway, and also includes the media information used to exchange the VoIP radio session and the VCCS (Voice Communication Control System) session;
所述VoIP电台会话是VCCS会话的前提,VoIP电台会话建立好后传输R2S(一种传输格式)保活包或携带Payload(声音载荷)的话音包;The VoIP radio session is the prerequisite of the VCCS session. After the VoIP radio session is established, the R2S (a transmission format) keep-alive packet or the voice packet carrying the payload (voice payload) is transmitted;
在VoIP电台会话建立时,协商R2S-KeepAlivePeriod(R2S保活间隔)和R2S-KeepAliveMultiplier(R2S保活包数),二者的乘积是超时时间,VoIP电台与VoIP电台网关之间丢失R2S或话音包超过超时时间,则拆机;When the VoIP radio session is established, negotiate R2S-KeepAlivePeriod (R2S keep-alive interval) and R2S-KeepAliveMultiplier (R2S keep-alive packet number). The product of the two is the timeout period. R2S or voice packets are lost between the VoIP radio and the VoIP radio gateway If the timeout period is exceeded, the device will be disassembled;
R2S保活包一般间隔比话音包长,字节少。VoIP电台不工作时,VoIP电台与VoIP电台网关之间传递R2S保活包;R2S keep-alive packets generally have longer intervals and fewer bytes than voice packets. When the VoIP radio is not working, the R2S keep-alive packet is transmitted between the VoIP radio and the VoIP radio gateway;
VoIP电台接收机接收到载波时,将传递携带Payload的话音包给VoIP电台网关;When the VoIP radio receiver receives the carrier, it will deliver the voice packet carrying the Payload to the VoIP radio gateway;
VCCS系统需要发射电台时,将传递携带Payload的话音包给VoIP电台发射机,只有当VoIP电台会话建立之后,VoIP电台网关才能够与VCCS建立会话;When the VCCS system needs to transmit the radio, it will deliver the voice packet carrying the payload to the VoIP radio transmitter. Only after the VoIP radio session is established, the VoIP radio gateway can establish a session with the VCCS;
VoIP电台网关向VCCS发送已连接VoIP电台的注册信息,VCCS收到注册信息后,向VoIP电台网关发起建立会话请求,建立对应类型的VCCS会话;VCCS会话建立好后,使用标准RTP传输话音,不使用VoIP电台则传输静音,使用RTP的Mark位(标记位)代表PTT(Push To Talk)信号和载波信号;当VoIP电台故障或掉线时,VoIP电台网关会向VCCS发出结束该VoIP电台会话的请求。The VoIP radio gateway sends the registration information of the connected VoIP radio station to the VCCS. After receiving the registration information, the VCCS initiates a session establishment request to the VoIP radio gateway to establish a corresponding type of VCCS session; after the VCCS session is established, standard RTP is used to transmit voice. When a VoIP radio station is used, it transmits mute, and the Mark bit (marker bit) of RTP represents PTT (Push To Talk) signal and carrier signal; when the VoIP radio station fails or is disconnected, the VoIP radio gateway will send a message to VCCS to end the VoIP radio session. request.
所述媒体信令交互模块使用SIP状态机机制实现信令的状态机管理和通道的媒体收发,具体包括如下步骤:The media signaling interaction module uses the SIP state machine mechanism to implement signaling state machine management and channel media transceiving, which specifically includes the following steps:
步骤a1,SIP状态机独立管理各个VoIP电台状态,初始状态为空闲状态;Step a1, the SIP state machine independently manages the state of each VoIP station, and the initial state is the idle state;
步骤a2,VoIP电台网关连接上VoIP电台后,发送会话建立请求,进入请求状态;Step a2: After the VoIP radio gateway is connected to the VoIP radio, it sends a session establishment request and enters the request state;
步骤a3,VoIP电台响应请求,如果接受会话邀请,SIP状态机进入会话状态;如果拒绝会话邀请,SIP状态机重新进入空闲状态,等待下次连接;Step a3, the VoIP station responds to the request. If it accepts the session invitation, the SIP state machine enters the session state; if it rejects the session invitation, the SIP state machine enters the idle state again and waits for the next connection;
步骤a4,SIP状态机进入会话状态后,打开VoIP电台通道媒体收发。Step a4: After the SIP state machine enters the conversation state, it opens the VoIP radio channel for media transmission and reception.
所述系统运维模块用于提供网页终端管理和网络状态检测功能,其中,网页终端管理包括电台配置、网关配置和附加功能配置;通过网络状态检测,VoIP电台网关能够实时向服务器上报双网状态信息。The system operation and maintenance module is used to provide web terminal management and network status detection functions. The web terminal management includes radio configuration, gateway configuration and additional function configuration; through network status detection, the VoIP radio gateway can report the dual network status to the server in real time information.
所述系统运维模块配备web(网页)前端配置页面,通过web前端配置页面完成电台配置、网关配置和附加功能配置;The system operation and maintenance module is equipped with a web (web page) front-end configuration page, and the radio configuration, gateway configuration and additional function configuration are completed through the web front-end configuration page;
其中电台配置包括电台名称、电台IP及端口、电台类型、PTT模式、电台SIP帐号密码(例如:配置为RadioRx、192.168.1.100、5060、Rx、Normal、500、123456);The radio configuration includes radio name, radio IP and port, radio type, PTT mode, radio SIP account password (for example: configured as RadioRx, 192.168.1.100, 5060, Rx, Normal, 500, 123456);
网关配置包括服务器IP端口信息和网关SIP帐号密码(例如:配置为192.168.1.6、5060、9000、123456);Gateway configuration includes server IP port information and gateway SIP account password (for example: configured as 192.168.1.6, 5060, 9000, 123456);
附加功能配置包括收发增益、收发延迟、收发模式、模式抑制量和CLIMAX组(例如:配置为接收10db、发送-5db、接收40ms、发送20ms、收发抑制模式、组1);Additional function configuration includes transceiver gain, transceiver delay, transceiver mode, mode suppression and CLIMAX group (for example: configured to receive 10db, send -5db, receive 40ms, send 20ms, send and receive suppression mode, group 1);
一对收发VoIP电台能够配置收发模式为收发隔离、收发抑制、收发减音;A pair of transceiver VoIP stations can configure the transceiver mode as transceiver isolation, transceiver suppression, and transceiver tone reduction;
收发隔离指收发机为全双工模式;收发抑制指收发机为半双工模式;收发减音指VoIP电台发射机在发射时,VoIP电台接收机按照模式抑制量进行抑制衰减;Transceiver isolation means that the transceiver is in full-duplex mode; transceiver suppression means that the transceiver is in half-duplex mode; transceiver attenuation means that when the VoIP radio transmitter is transmitting, the VoIP radio receiver will suppress attenuation according to the mode suppression amount;
配成同一CLIMAX组的VoIP电台能够同步发射。The VoIP stations that form the same CLIMAX group can transmit simultaneously.
所述媒体信令交互模块的信令状态机负责与VCCS服务器、VoIP电台、RRCE(远控电台设备,Remote Radio Control Equipment)和系统运维模块配备的web进行SIP信令交互;网络媒体收发实现VoIP电台和RRCE的媒体收发;主备媒体切换和网络媒体收发实现VCCS媒体交互;VoIP电台的动态补偿测量后,反馈给CLIMAX组,CLIMAX组控制同一组的VoIP电台网络延时;VoIP电台的媒体经过增益调节和缓冲区控制后,与VCCS话音进行交换;双网状态单独检测上报给服务器。The signaling state machine of the media signaling interaction module is responsible for the SIP signaling interaction with the VCCS server, VoIP radio, RRCE (Remote Radio Control Equipment) and the web equipped with the system operation and maintenance module; network media transceiver implementation Media transceiving of VoIP radio and RRCE; switching between active and standby media and network media transceiving to achieve VCCS media interaction; dynamic compensation measurement of VoIP radio is fed back to the CLIMAX group, and the CLIMAX group controls the network delay of the same group of VoIP radios; media of VoIP radio After gain adjustment and buffer control, it exchanges with VCCS voice; the dual network status is detected and reported to the server separately.
所述VoIP电台网关会话建立SIP、RTP的流程包括如下步骤:The process of establishing SIP and RTP for the VoIP radio gateway session includes the following steps:
步骤b1,当配置好电台名称、IP、端口、SIP帐号、SIP密码后,VoIP电台网关会定期向VoIP电台发起会话请求,如果已经跟VoIP电台建立会话,则不再发送请求;Step b1: After the station name, IP, port, SIP account, and SIP password are configured, the VoIP station gateway will periodically initiate a session request to the VoIP station. If a session has been established with the VoIP station, no more requests will be sent;
步骤b2,VoIP电台收到请求后,如果配置正确,会自动应答请求,回复100Trying(接收应答消息)和200OK(正常响应消息),VoIP电台网关回复ACK(响应确认消息)确认会话建立;Step b2: After the VoIP station receives the request, if the configuration is correct, it will automatically answer the request, reply 100Trying (receive response message) and 200OK (normal response message), and the VoIP station gateway will reply ACK (response confirmation message) to confirm the establishment of the session;
步骤b3,VoIP电台网关与VoIP电台之间开始双向收发RTP报文,当VoIP电台不进行收发时,双向发送的是不带载荷的保活包;当VoIP电台进行发射时,VoIP电台网关发送给VoIP电台的是携带载荷的RTP话音包;当VoIP电台接收时,VoIP电台发送给VoIP电台网关的是携带载荷的RTP话音包;Step b3, the VoIP station gateway and the VoIP station start to send and receive RTP packets in both directions. When the VoIP station is not sending and receiving, the two-way transmission is a keep-alive packet without load; when the VoIP station is transmitting, the VoIP station gateway sends it to The VoIP radio station is the RTP voice packet carrying the payload; when the VoIP radio station receives it, the VoIP radio station sends the RTP voice packet carrying the payload to the VoIP radio gateway;
步骤b4,VoIP电台建立好会话后,向服务器注册VoIP电台SIP帐号;第一次注册成功时,服务器向VoIP电台网关发起会话请求;建立好会话后,服务器与VoIP电台网关之间发送RTP话音包,使用Mark位来代表PTT信号和载波信号;Step b4: After the VoIP radio station establishes the session, it registers the VoIP radio station SIP account with the server; when the first registration is successful, the server initiates a session request to the VoIP radio gateway; after the session is established, the server and the VoIP radio gateway send RTP voice packets , Use Mark bit to represent PTT signal and carrier signal;
步骤b5,当VoIP电台发生故障或网络断开时,VoIP电台网关与VoIP电台会话中断,并且结束与VCCS之间的电台会话。Step b5: When the VoIP radio fails or the network is disconnected, the VoIP radio gateway and the VoIP radio session are interrupted, and the radio session with the VCCS is ended.
本发明提供的VoIP电台网关是一种用于空管语音通信系统(VCCS)并符合ED137协议的VoIP电台网关设备。可支持接入主备冗余服务器架构的VCCS,主备服务器选择模块为VoIP电台网关提供自动检测服务器媒体,超时后切换主备服务器媒体。60ms的检测及切换间隔使得VoIP电台网关为VCCS提供连续话音及信号。VoIP电台按照电台类型分为单体VoIP电台接收机Rx、单体VoIP电台发射机Tx、VoIP电台收发一体机RTx。不同类型VoIP电台均可连接于VoIP电台网关上。VoIP电台网关最大支持32路VoIP电台通道,包含16路接收和16路发送通道。其核心交换包括电台话音交换和服务器话音交换。VCCS通过标准SIP建立会话,使用RTP头的Mark位来代表PTT信号和载波信号传输。VoIP电台通过ED137接入VoIP电台网关,并通过带扩展头的RTP包传输VoIP电台控制信令及话音。VoIP电台网关可跨平台移植,支持windows、Linux、交叉编译arm-linux等。VoIP电台网关配备参数配置管理服务,通过web网页访问VoIP电台网关服务器进行电台参数配置、通道配置、网关设备配置、服务器参数配置等。VoIP电台网关支持多网卡设备,设备可做网口聚合,VoIP电台网关可实现VoIP电 台网络与VCCS网络隔离,为VCCS网络通信提供安全保障。VoIP电台网关为VCCS提供多种通道扩展功能,包括通道收发增益调节、通道收发延时、三种通道收发模式等。The VoIP radio gateway provided by the present invention is a VoIP radio gateway equipment used in an air traffic control voice communication system (VCCS) and conforms to the ED137 protocol. It can support access to the VCCS of the main and standby redundant server architecture. The main and standby server selection module provides automatic detection of server media for the VoIP radio gateway, and switches between the main and standby server media after timeout. The 60ms detection and switching interval enables the VoIP radio gateway to provide continuous voice and signal to the VCCS. VoIP radio stations are divided into single VoIP radio receiver Rx, single VoIP radio transmitter Tx, and VoIP radio transceiver RTx according to the type of radio. Different types of VoIP radio stations can be connected to the VoIP radio gateway. The VoIP radio gateway supports a maximum of 32 VoIP radio channels, including 16 receiving and 16 sending channels. Its core exchange includes radio voice exchange and server voice exchange. VCCS establishes a session through standard SIP, and uses the Mark bit of the RTP header to represent PTT signal and carrier signal transmission. The VoIP radio station is connected to the VoIP radio gateway through the ED137, and transmits VoIP radio control signaling and voice through the RTP packet with an extension header. The VoIP radio gateway can be transplanted across platforms and supports windows, Linux, cross-compiled arm-linux, etc. The VoIP radio gateway is equipped with a parameter configuration management service, and the VoIP radio gateway server is accessed through the web page for radio parameter configuration, channel configuration, gateway device configuration, server parameter configuration, etc. The VoIP radio gateway supports multiple network card devices, and the equipment can be used for network port aggregation. The VoIP radio gateway can isolate the VoIP radio network from the VCCS network and provide security guarantee for VCCS network communication. The VoIP radio gateway provides a variety of channel expansion functions for VCCS, including channel transceiver gain adjustment, channel transceiver delay, three channel transceiver modes, etc.
所述主备服务器选择模块是基于ED137协议的主备架构VoIP电台网关的重要功能模块。VoIP电台网关即可以接入单服务器VCCS也可以接入服务器主备冗余VCCS。VoIP电台网关接收任意服务器发来的SIP消息,媒体是同时建立两路会话媒体。当超过60ms未收到主服务媒体时,VoIP电台网关做媒体切换,以保证主备服务器的冗余效果。该特性可实现当任意一个服务器出现故障时,系统对VoIP电台使用不间断,甚至人耳听不出差异。VoIP电台网关也可以与Radio Remote Control Equipment(RRCE)建立会话,以完成VoIP电台主备功能。ED137协议中规定了RRCE的电台主备功能。可适用于RRCE的两种模式:单频模式和双频模式。可控制主备两对收发VoIP电台。也可传递VoIP电台接收机的信号质量信息。The active and standby server selection module is an important functional module of a VoIP radio gateway with an active and standby architecture based on the ED137 protocol. The VoIP radio gateway can be connected to a single-server VCCS or a redundant VCCS with active and standby servers. The VoIP radio gateway receives SIP messages from any server, and the media is to establish two sessions at the same time. When the main service media is not received for more than 60ms, the VoIP radio gateway performs media switching to ensure the redundancy effect of the main and standby servers. This feature can realize that when any server fails, the system can use the VoIP radio station uninterruptedly, and even the human ears can't hear the difference. The VoIP station gateway can also establish a session with Radio Remote Control Equipment (RRCE) to complete the VoIP station master and backup functions. The ED137 protocol stipulates the radio master and backup functions of RRCE. It can be applied to two modes of RRCE: single frequency mode and dual frequency mode. It can control two pairs of main and standby VoIP radio stations. It can also transmit the signal quality information of the VoIP radio receiver.
所述媒体信令交互模块是基于ED137协议的主备架构VoIP电台网关的基础功能模块。SIP信令是VoIP语音系统的基础协议。会话的建立由会话发起方发送INVITE请求,被邀请方回复100Tying响应与200OK应答,然后发起方再回复ACK应答后,会话建立,双方开始发送保活包或媒体。当一方需要结束会话时,发送BYE结束会话请求,另一方回复200OK应答,双方清理资源。因为SIP协议是应用层协议,在传输层属于UDP协议,UDP协议是不可靠传输协议,传输过程中可能丢失报文,所以SIP协议具有超时重发机制,以保证通信可靠性。ED137协议规定了CLIMAX延时与动态延时补偿功能。同一个CLIMAX组的VoIP电台发射机,会定时收到VoIP电台网关发来的延时探测请求消息(RMM),并回复测量响应消息(MAM)。VoIP电台网关通过RMM和MAM计算出VCCS到VoIP电台的网络延时及VoIP电台发射延时。同一组的VoIP电台发射机调整发送延时。即可实现CLIMAX功能(同一组VoIP电台发射机同步发射声音到空中)。The media signaling interaction module is a basic functional module of a VoIP radio gateway with a master-standby architecture based on the ED137 protocol. SIP signaling is the basic protocol of the VoIP voice system. The session is established by the initiator of the session sending an INVITE request, the invited party replies with a 100Tying response and a 200OK response, and then the initiator replies with an ACK response, the session is established, and both parties begin to send keep-alive packets or media. When one party needs to end the session, it sends a BYE end session request, the other party replies with a 200 OK response, and both parties clean up resources. Because the SIP protocol is an application layer protocol, it belongs to the UDP protocol at the transport layer. The UDP protocol is an unreliable transmission protocol. Messages may be lost during transmission. Therefore, the SIP protocol has a timeout retransmission mechanism to ensure communication reliability. The ED137 protocol specifies CLIMAX delay and dynamic delay compensation functions. The VoIP radio transmitters of the same CLIMAX group will periodically receive the delayed detection request message (RMM) from the VoIP radio gateway, and reply to the measurement response message (MAM). The VoIP radio gateway calculates the network delay from VCCS to the VoIP radio station and the transmission delay of the VoIP radio station through RMM and MAM. The VoIP radio transmitter of the same group adjusts the transmission delay. The CLIMAX function can be realized (the same group of VoIP radio transmitters simultaneously transmit sound into the air).
有益效果:本发明公开了一种基于ED137协议的主备架构VoIP电台网关,本网关既可以满足符合ED137协议的VoIP电台(或RRCE)的接入需求,又可以接入主备架构空管VCCS系统中,并且在此基础之上还提供了收发增益调节、收发延时缓冲、动态延时补偿、电台收发模式、CLIMAX组等功能。本网关可满足国内外各个民航机场对于VoIP电台的管制需求。附加功能也大大提高了VoIP电台网关的可用性。Beneficial effects: The present invention discloses a VoIP radio gateway with a master-standby architecture based on the ED137 protocol. This gateway can not only meet the access requirements of VoIP radio stations (or RRCE) that comply with the ED137 protocol, but also can access the main-standby architecture air traffic control VCCS In the system, and on this basis, it also provides functions such as transceiver gain adjustment, transceiver delay buffer, dynamic delay compensation, radio transceiver mode, and CLIMAX group. This gateway can meet the control requirements of various civil aviation airports at home and abroad for VoIP radio. The additional function also greatly improves the usability of the VoIP radio gateway.
附图说明Description of the drawings
下面结合附图和具体实施方式对本发明做更进一步的具体说明,本发明的上述和/或其他方面的优点将会变得更加清楚。In the following, the present invention will be further described in detail with reference to the accompanying drawings and specific embodiments, and the above-mentioned and/or other advantages of the present invention will become clearer.
图1为本发明的一种基于ED137协议的主备架构VoIP电台网关组成框图。Fig. 1 is a block diagram of the composition of a VoIP radio gateway based on the active and standby architecture of the ED137 protocol of the present invention.
图2为本发明的一种基于ED137协议的主备架构VoIP电台网关逻辑结构组成图。Figure 2 is a diagram of the logical structure of a VoIP radio gateway with a master-standby architecture based on the ED137 protocol of the present invention.
图3为本发明的一种基于ED137协议的主备架构VoIP电台网关会话建立SIP/RTP流程图。Fig. 3 is a flow chart of SIP/RTP establishment of a VoIP radio gateway session establishment based on the ED137 protocol in the active and standby architecture of the present invention.
图4为本发明的一种基于ED137协议的主备架构VoIP电台网关CLIMAX编码图。Figure 4 is a CLIMAX coding diagram of a VoIP radio gateway with a master-standby architecture based on the ED137 protocol of the present invention.
图5为本发明的一种基于ED137协议的主备架构VoIP电台网关动态延时检测编码图。Figure 5 is a dynamic delay detection coding diagram of a VoIP radio gateway with a master-standby architecture based on the ED137 protocol of the present invention.
图6为本发明的一种基于ED137协议的主备架构VoIP电台网关延时示意图。Fig. 6 is a schematic diagram of the delay of a VoIP radio gateway with a master-standby architecture based on the ED137 protocol of the present invention.
图7为本发明的一种基于ED137协议的主备架构VoIP电台网关电台远控编码图。Fig. 7 is a remote control coding diagram of a VoIP radio gateway radio remote control based on the ED137 protocol of the present invention.
图8是语音通信系统连接框图。Figure 8 is a connection block diagram of the voice communication system.
具体实施方式Detailed ways
本发明提供的一种基于ED137协议的主备架构VoIP电台网关是针对主备冗余架构的空管语音系统设计,为语音系统提供接入符合ED137协议的VoIP电台,支持ED137协议的动态延时补偿和电台远控设备接入功能。另外,VoIP电台网关提供丰富的语音附加功能,可提供VoIP电台网关电台增益、电台延时、电台收发模式、CLIMAX组实现动态补偿。The VoIP radio gateway with active/standby architecture based on ED137 protocol provided by the present invention is designed for air traffic control voice system with active/standby redundant architecture, provides access to VoIP radio stations complying with the ED137 protocol for the voice system, and supports the dynamic delay of the ED137 protocol Compensation and access function of radio remote control equipment. In addition, the VoIP radio gateway provides a wealth of additional voice functions, which can provide VoIP radio gateway radio gain, radio delay, radio transceiver mode, and CLIMAX group to achieve dynamic compensation.
1、VoIP电台网关组成框图如图1所示。VoIP电台网关组成包括核心交换模块、主备服务器选择模块、媒体信令交互模块和系统运维模块。1. The block diagram of the VoIP radio gateway is shown in Figure 1. The VoIP radio gateway consists of a core switching module, an active and standby server selection module, a media signaling interaction module, and a system operation and maintenance module.
核心交换模块是VoIP电台网关的话音交换模块。包括电台会议、收发延时缓冲、收发增益调节、动态延时补偿。电台会议使用RTP协议用于交互话音和电台控制命令。电台控制命令是在扩展RTP头中,例如PTT信息和载波信息等。收发延时缓冲和收发增益调节是VoIP电台网关的附加功能。可以实现各个VoIP电台的接收增益和发射增益,这样可针对不通VoIP电台的物理特新,实现话音输入均衡。增益调节的范围是(-25db~+25db)。收发延迟缓冲是在动态延时的基础上,还可以再增加收发延时功能。收发延时缓冲的范围是(0~600ms)。动态延时补偿是根据测量VoIP电台与VoIP电台网关之间的网络延时,计算CLIMAX组的最大延时补偿时间,控制VoIP电台延时时间,来达到组内VoIP电台同步发射。动态补偿范围为(0~254ms,精度2ms)The core switching module is the voice switching module of the VoIP radio gateway. Including radio conference, receiving and dispatching delay buffer, receiving and dispatching gain adjustment, dynamic delay compensation. Radio conferences use RTP protocol for interactive voice and radio control commands. The radio control commands are in the extended RTP header, such as PTT information and carrier information. Transceiver delay buffer and transceiver gain adjustment are additional functions of the VoIP radio gateway. It can realize the receiving gain and transmitting gain of each VoIP station, so that it can realize the equalization of voice input according to the physical characteristics of the unreachable VoIP station. The range of gain adjustment is (-25db~+25db). The transceiver delay buffer is based on the dynamic delay, and the transceiver delay function can also be added. The range of the receiving and sending delay buffer is (0~600ms). Dynamic delay compensation is based on measuring the network delay between the VoIP station and the VoIP station gateway, calculating the maximum delay compensation time of the CLIMAX group, and controlling the VoIP station delay time to achieve simultaneous transmission of the VoIP stations in the group. The dynamic compensation range is (0~254ms, accuracy 2ms)
主备服务器选择模块是VoIP电台网关连接空管语音主备服务器的功能模块。主服务器挂掉之后,VoIP电台网关检测到媒体切换超时(60ms),可以自动切换到备服务器,这样可以保证媒体连续,话音不间断。实现了服务器主备冗余功能。主备信令是双发,服务器主回复的模式。The active/standby server selection module is a functional module that connects the VoIP radio gateway to the air traffic control voice active/standby server. After the main server hangs up, the VoIP radio gateway detects the media switching timeout (60ms) and can automatically switch to the standby server, which can ensure continuous media and uninterrupted voice. Realize the server main and standby redundancy function. The primary and secondary signaling is a dual-transmission mode, and the server master replies.
媒体信令交互模块包括信令的状态机管理和通道的媒体收发。建立会话SIP使用SIP状态机机制管理。媒体收发可实现大规模媒体收发。The media signaling interaction module includes signaling state machine management and channel media transceiving. SIP uses the SIP state machine mechanism to manage the session establishment. Media sending and receiving can realize large-scale media sending and receiving.
系统运维模块包括网页终端管理和网络状态检测。电台配置、网关配置、附加功能配置都可以通过网页进行登陆配置。VoIP电台网关可实时向服务器上报双网状态信息。The system operation and maintenance module includes web terminal management and network status detection. Radio configuration, gateway configuration, and additional function configuration can all be logged in and configured through the web page. The VoIP radio gateway can report the dual network status information to the server in real time.
2、VoIP电台网关逻辑结构组成图如图2所示。信令状态机负责与VCCS服务器、VoIP电台、RRCE和web进行SIP信令交互。网络媒体收发实现VoIP电台和RRCE的媒体收发。主备媒体切换和网络媒体收发实现VCCS媒体交互。VoIP电台的动态补偿测量后,反馈给CLIMAX组,CLIMAX组控制同一组的VoIP电台网络延时。VoIP电台的媒体经过增益调节和缓冲区控制后,与VCCS话音进行交换。双网状态单独检测上报给服务器。2. The logical structure of the VoIP radio gateway is shown in Figure 2. The signaling state machine is responsible for SIP signaling interaction with VCCS server, VoIP radio, RRCE and web. Network media transceiving realizes media transceiving of VoIP radio and RRCE. Active and standby media switching and network media receiving and sending realize VCCS media interaction. After the dynamic compensation measurement of the VoIP radio station, it is fed back to the CLIMAX group, and the CLIMAX group controls the network delay of the VoIP radio station in the same group. The media of the VoIP radio station is exchanged with VCCS voice after gain adjustment and buffer control. The dual network status is detected and reported to the server separately.
3、VoIP电台网关会话建立SIP/RTP流程图如图3所示。当配置好电台名称、IP、端口、SIP帐号、SIP密码等属性后,VoIP电台网关会定期(10s)向VoIP电台发起会话请求。如果已经跟VoIP电台建立会话,则不再发送请求。VoIP电台收到请求后,如果配置正确,会自动应答请求,回复100Trying和200OK。VoIP电台网关回复ACK确认会话建立。此后VoIP电台网关与VoIP电台之间开始双向收发RTP报文。当VoIP电台不进行收发时,双向发送的是不带载荷的保活包;当VoIP电台进行发射时,VoIP电台网关发送给VoIP电台的是携带载荷的RTP话音包;当VoIP电台接收时,VoIP电台发送给VoIP电台网关的是携带载荷的RTP话音包。VoIP电台建立好会话后,向服务器注册VoIP电台SIP帐号。第一次注册成功时,服务器向VoIP电 台网关发起会话请求。建立好会话后,服务器与VoIP电台网关之间发送RTP话音包。使用Mark位来代表PTT信号和载波信号。当VoIP电台发生故障或网络断开等异常时,VoIP电台网关与VoIP电台会话中断,并且结束与VCCS之间的电台会话。3. The SIP/RTP flow chart of VoIP radio gateway session establishment is shown in Figure 3. After the radio station name, IP, port, SIP account, SIP password and other attributes are configured, the VoIP radio gateway will initiate a session request to the VoIP radio station periodically (10s). If a session has been established with the VoIP station, no more requests will be sent. After the VoIP radio station receives the request, if the configuration is correct, it will automatically answer the request and reply 100Trying and 200OK. The VoIP radio gateway replies with an ACK to confirm the establishment of the session. After that, the VoIP radio gateway and the VoIP radio start to send and receive RTP packets in both directions. When the VoIP station is not transmitting and receiving, the two-way transmission is the keep-alive packet without payload; when the VoIP station is transmitting, the VoIP station gateway sends the VoIP station the RTP voice packet carrying the payload; when the VoIP station receives, VoIP What the radio station sends to the VoIP radio gateway is the RTP voice packet carrying the payload. After the VoIP radio station has established a session, it registers the VoIP radio station SIP account with the server. When the first registration is successful, the server initiates a session request to the VoIP radio gateway. After the conversation is established, the RTP voice packet is sent between the server and the VoIP radio gateway. Use Mark bit to represent PTT signal and carrier signal. When the VoIP radio station fails or the network is disconnected, the conversation between the VoIP radio gateway and the VoIP radio station is interrupted, and the radio conversation with the VCCS is ended.
4、VoIP电台网关CLIMAX时间延时(CLD)编码图如图4所示。VoIP电台网关与VoIP电台之间不论是保活包还是RTP话音包,都属于RTP报文,其包括RTP头和载荷,载荷可有可无。RTP头包括普通RTP头和扩展RTP头。如图4即扩展RTP头格式,各个字段意义如下:4. The CLIMAX time delay (CLD) coding diagram of the VoIP radio gateway is shown in Figure 4. Whether it is a keep-alive packet or an RTP voice packet between the VoIP station gateway and the VoIP station, it is an RTP message, which includes the RTP header and payload, and the payload is optional. The RTP header includes a normal RTP header and an extended RTP header. As shown in Figure 4, the extended RTP header format, the meaning of each field is as follows:
PTTtype:用于VoIP电台发射机或VoIP电台收发一体机,定义了PTT的类型,PTT类型包括普通PTT,优先PTT,耦合PTT,紧急PTT。均可在VoIP电台网关web上进行设置。PTTtype: Used for VoIP radio transmitters or VoIP radio transceivers. It defines the type of PTT. PTT types include ordinary PTT, priority PTT, coupling PTT, and emergency PTT. Can be set on the VoIP radio gateway web.
SQU:用与VoIP电台接收机或VoIP电台收发一体机,定义了载波状态信息。SQU: Used with VoIP radio receiver or VoIP radio transceiver to define the carrier status information.
PTT-ID:用于VoIP电台发射机或VoIP电台收发一体机,分配给接入VoIP电台用户的PTT ID。用于让用户得知VoIP电台当前是哪个用户在发射。PTT-ID: PTT ID used for VoIP radio transmitter or VoIP radio transceiver, allocated to users accessing VoIP radio. Used to let the user know which user the VoIP station is currently transmitting.
PM:PTT Mute,用于多用户接入VoIP电台的PTT静音。PM: PTT Mute, used for PTT mute for multi-user access to VoIP radio.
PTTS:PTT Summation,用于相同优先级同时发射。PTTS: PTT Summation, used for simultaneous transmission of the same priority.
SCT:Simultaneous Call Transmissions,用于多用户同时发射电台字段。SCT: Simultaneous Call Transmissions, used for multiple users to transmit the station field at the same time.
Reserved:预留字段。Reserved: reserved field.
X:指示扩展信息字段使用与否。X: Indicates whether the extended information field is used or not.
TYPE:扩展字段类型。TYPE: Extended field type.
LENGTH:扩展字段长度。LENGTH: Extended field length.
VALUE:扩展字段内容。VALUE: Extended field content.
CLD:CLIMAX延时,bit24为0是相对延时,1是绝对延时。bit25~bit31代表延时时间,单位2ms,范围0~127(0ms~254ms)。CLD: CLIMAX delay, bit24 is 0 is relative delay, 1 is absolute delay. Bit25~bit31 represent the delay time, the unit is 2ms, and the range is 0~127 (0ms~254ms).
5、VoIP电台网关动态延时检测编码图如图5所示。VoIP电台网关定时(4s)发送给VoIP电台的保活包或RTP话音包中,携带动态延时测量报文(RMM),VoIP电台回复的保活包或RTP话音包中,就会携带动态延时测量响应报文(MAM),其中各个字段意义如下:5. The dynamic delay detection coding diagram of the VoIP radio gateway is shown in Figure 5. The keep-alive packet or RTP voice packet sent by the VoIP station gateway to the VoIP station at regular intervals (4s) carries a dynamic delay measurement message (RMM). The keep-alive packet or RTP voice packet replies from the VoIP station will carry the dynamic delay. Time measurement response message (MAM), the meaning of each field is as follows:
TQV:代表VoIP电台网关测量时间是相对时间还是绝对时间。TQV: Represents whether the time measured by the VoIP radio gateway is a relative time or an absolute time.
T1:是VoIP电台网关RMM发出的时间,单位125us。T1: It is the time sent by the VoIP radio gateway RMM, the unit is 125us.
TQG:代表VoIP电台网关测量时间是相对时间还是绝对时间。TQG: Represents whether the time measured by the VoIP radio gateway is a relative time or an absolute time.
NMR:代表VoIP电台是否需要一个新的测量,例如抖动缓冲失效等。NMR: Represents whether the VoIP station needs a new measurement, such as jitter buffer failure.
T2:是VoIP电台收到RMM的时间,单位125us。T2: It is the time when the VoIP station receives RMM, in 125us.
Tsd:是VoIP电台发出MAM与收到RMM的时间间隔,单位125us。Tsd: It is the time interval between the VoIP station sending out MAM and receiving RMM, the unit is 125us.
Tj1:是抖动缓冲区延时,单位125us。Tj1: is the delay of the jitter buffer, the unit is 125us.
Tid:是VoIP电台内部延时,从抖动缓冲区到天线的延时,单位125us。Tid: It is the internal delay of the VoIP radio, the delay from the jitter buffer to the antenna, the unit is 125us.
6、VoIP电台网关延时示意图如图6所示。CLIMAX组同步发射功能要求同一个CLIMAX组的VoIP电台发射是同步发射,即发射到天线的时间同步。所有VoIP电台的VCCS系统时延是相等的,即Tv1相等。只要所有VoIP电台的TdTx相等即可。所有VoIP电台的VoIP电台网关打包延迟和抖动缓冲延迟均相等,即Tp1。6. The schematic diagram of VoIP radio gateway delay is shown in Figure 6. The CLIMAX group synchronization transmission function requires that the VoIP radio transmission of the same CLIMAX group is synchronized transmission, that is, the time of transmission to the antenna is synchronized. The VCCS system delays of all VoIP stations are equal, that is, Tv1 is equal. As long as the TdTx of all VoIP stations are equal. The VoIP radio gateway packing delay and jitter buffer delay of all VoIP radio stations are equal, namely Tp1.
网络延时为:The network delay is:
Figure PCTCN2020090123-appb-000001
Figure PCTCN2020090123-appb-000001
其中T3是VoIP电台发出MAM的时间,T4是VoIP电台网关收到MAM的时间。T3 is the time when the VoIP station sends out the MAM, and T4 is the time when the VoIP station gateway receives the MAM.
VoIP电台内部延时Tid=Td1+Ts1。The internal delay of the VoIP station Tid=Td1+Ts1.
所以VoIP电台网关到天线的延迟为:TdTx-Tp1=Tn1+Tj1+Tid。Therefore, the delay from the VoIP radio gateway to the antenna is: TdTx-Tp1=Tn1+Tj1+Tid.
因此可以通过RMM和MAM测量出VoIP电台网关到天线的延迟。再通过CLD动态控制VoIP电台的发送延时,来达到发送同步。Therefore, the delay from the VoIP radio gateway to the antenna can be measured through RMM and MAM. Then CLD dynamically controls the transmission delay of the VoIP radio station to achieve transmission synchronization.
7、VoIP电台网关可以接入RRCE,RRCE再连接VoIP电台,可以实现VoIP电台主备功能。VoIP电台远控编码图如图7所示。各字段意义如下:7. VoIP radio gateway can access RRCE, and RRCE can connect to VoIP radio to realize the main and standby functions of VoIP radio. The VoIP radio remote control coding diagram is shown in Figure 7. The meaning of each field is as follows:
BSS-qidx:比选信号质量。BSS-qidx: compare and select signal quality.
BSS-qidx-ml:比选方法。BSS-qidx-ml: Comparison and selection method.
MSTxF1:RRCE的F1频点主备VoIP电台发射机使能标志。MSTxF1: RRCE F1 frequency point active and standby VoIP radio transmitter enable flag.
MSRxF1:RRCE的F1频点主备VoIP电台接收机使能标志。MSRxF1: RRCE F1 frequency point active and standby VoIP radio receiver enable flag.
MSTxF2:RRCE的F2频点主备VoIP电台发射机使能标志。MSTxF2: RRCE F2 frequency point master and backup VoIP radio transmitter enable flag.
MSRxF2:RRCE的F2频点主备VoIP电台接收机使能标志。MSRxF2: RRCE F2 frequency point master and backup VoIP radio receiver enable flag.
SelTxF1:RRCE的F1频点VoIP电台发射机PTT使能标志。SelTxF1: RRCE F1 frequency point VoIP radio transmitter PTT enable flag.
SelTxF2:RRCE的F2频点VoIP电台发射机PTT使能标志。SelTxF2: RRCE F2 frequency point VoIP radio transmitter PTT enable flag.
MuRxF1:RRCE的F1频点VoIP电台接收机静音使能标志。MuRxF1: RRCE F1 frequency point VoIP radio receiver mute enable flag.
MuRxF2:RRCE的F2频点VoIP电台接收机静音使能标志。MuRxF2: RRCE F2 frequency point VoIP radio receiver mute enable flag.
SQF1:RRCE的F1频点载波使能标志。SQF1: F1 frequency point carrier enable flag of RRCE.
SQF2:RRCE的F2频点载波使能标志。SQF2: F2 frequency point carrier enable flag of RRCE.
reserved:预留。reserved: reserved.
F1SQI:RRCE的F1频点接收信号质量。F1SQI: The received signal quality at F1 frequency of RRCE.
F2SQI:RRCE的F2频点接收信号质量。F2SQI: The received signal quality at F2 frequency of RRCE.
实施例Example
根据具体应用场景,具体语音通信系统如图8所示。这套语音通信系统包括服务器(Server)、监控(RCMS)、交换机(Switch)、席位(CWP)、线路接口单元(Line Interface Unit)、VoIP电话网关、VoIP电台网关、VoIP电话和VoIP电台等。服务器和网络交换机是双冗余设计,其他设备与服务器接口均通过双网连接。VoIP电台网关/VoIP电话网关将VoIP电台/VoIP电话与语音系统网络隔断。VoIP电台网关用以实现将VoIP电台接入此语音通信系统。此系统与VoIP电台网关等均已实现并投入使用。According to specific application scenarios, the specific voice communication system is shown in Figure 8. This set of voice communication system includes server (Server), monitoring (RCMS), switch (Switch), seat (CWP), line interface unit (Line Interface Unit), VoIP telephone gateway, VoIP radio gateway, VoIP phone and VoIP radio station. The server and network switch are dual-redundant designs, and other equipment and server interfaces are connected through dual networks. The VoIP radio gateway/VoIP phone gateway separates the VoIP radio/VoIP phone from the voice system network. The VoIP radio gateway is used to realize the VoIP radio access to this voice communication system. This system and VoIP radio gateway have all been implemented and put into use.
本发明提供了一种基于ED137协议的主备架构VoIP电台网关,具体实现该技术方案的方法和途径很多,以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。本实施例中未明确的各组成部分均可用现有技术加以实现。The present invention provides a VoIP radio gateway with a master-standby architecture based on the ED137 protocol. There are many specific methods and ways to implement this technical solution. The above are only the preferred embodiments of the present invention. It should be pointed out that for common technologies in this technical field As far as personnel are concerned, without departing from the principle of the present invention, several improvements and modifications can be made, and these improvements and modifications should also be regarded as the protection scope of the present invention. All the components that are not clear in this embodiment can be implemented using existing technology.

Claims (8)

  1. 一种基于ED137协议的主备架构VoIP电台网关,其特征在于,包括核心交换模块、主备服务器选择模块、媒体信令交互模块和系统运维模块;A VoIP radio gateway with a master-standby architecture based on the ED137 protocol, which is characterized by including a core switching module, a master-standby server selection module, a media signaling interaction module, and a system operation and maintenance module;
    所述核心交换模块用于实现VoIP电台网关的语音交换;The core switching module is used to implement voice switching of the VoIP radio gateway;
    所述主备服务器选择模块用于,当主服务器挂掉之后,主备服务器选择模块检测到媒体切换超时,则自动切换到备服务器;The active/standby server selection module is used to automatically switch to the standby server when the active/standby server selection module detects media switching timeout after the main server hangs up;
    所述媒体信令交互模块用于SIP信令的状态机管理和话音通道的媒体收发;The media signaling interaction module is used for state machine management of SIP signaling and media transceiving of voice channels;
    所述系统运维模块用于提供网页终端管理和网络状态检测功能。The system operation and maintenance module is used to provide web terminal management and network status detection functions.
  2. 根据权利要求1所述的一种基于ED137协议的主备架构VoIP电台网关,其特征在于,所述核心交换模块用于实现VoIP电台网关的语音交换,通过VoIP语音交换技术,实现电台会议、收发延时缓冲、收发增益调节和动态延时补偿;A VoIP radio gateway with a master-standby architecture based on the ED137 protocol according to claim 1, wherein the core switching module is used to implement the voice exchange of the VoIP radio gateway, and realize the radio conference, receiving and sending through the VoIP voice exchange technology. Delay buffer, transceiver gain adjustment and dynamic delay compensation;
    其中,所述核心交换模块在实现电台会议时,使用RTP协议用于交互话音和电台控制命令,电台控制命令是在扩展RTP头中;Wherein, the core switching module uses the RTP protocol for interactive voice and radio control commands when realizing the radio conference, and the radio control commands are in the extended RTP header;
    所述收发延时缓冲的范围是0~600ms;The range of the receiving and sending delay buffer is 0~600ms;
    所述收发增益调节的范围是-25db~+25db;The range of the transceiver gain adjustment is -25db~+25db;
    所述动态延时补偿是根据测量VoIP电台与VoIP电台网关之间的网络延时,计算CLIMAX组的最大延时补偿时间,控制VoIP电台延时时间,来达到组内VoIP电台同步发射,动态延时补偿的范围是0~254ms,精度2ms。The dynamic delay compensation is based on measuring the network delay between the VoIP station and the VoIP station gateway, calculating the maximum delay compensation time of the CLIMAX group, and controlling the delay time of the VoIP station to achieve the synchronous transmission of the VoIP stations in the group, and the dynamic delay The range of time compensation is 0~254ms, and the accuracy is 2ms.
  3. 根据权利要求2所述的一种基于ED137协议的主备架构VoIP电台网关,其特征在于,所述核心交换模块用于实现VoIP电台网关的语音交换,还包括,用于交换VoIP电台会话与VCCS会话的媒体信息;A VoIP radio gateway with a master-standby architecture based on the ED137 protocol according to claim 2, wherein the core switching module is used to implement the voice exchange of the VoIP radio gateway, and further comprises: for exchanging VoIP radio sessions and VCCS Media information of the session;
    所述电台会话是VCCS会话的前提,电台会话建立好后传输R2S保活包或携带Payload的话音包;The radio session is the prerequisite of the VCCS session. After the radio session is established, the R2S keep-alive packet or the voice packet carrying the payload is transmitted;
    在电台会话建立时,协商R2S-KeepAlivePeriod和R2S-KeepAliveMultiplier,二者的乘积是超时时间,VoIP电台与VoIP电台网关之间丢失R2S或话音包超过超时时间,则拆机;When the radio session is established, negotiate R2S-KeepAlivePeriod and R2S-KeepAliveMultiplier. The product of the two is the timeout period. If R2S is lost between the VoIP radio station and the VoIP radio gateway or the voice packet exceeds the timeout period, the phone will be disassembled;
    VoIP电台不工作时,VoIP电台与VoIP电台网关之间传递R2S保活包;When the VoIP radio is not working, the R2S keep-alive packet is transmitted between the VoIP radio and the VoIP radio gateway;
    VoIP电台接收机接收到载波时,将传递携带Payload的话音包给VoIP电台网关;When the VoIP radio receiver receives the carrier, it will deliver the voice packet carrying the Payload to the VoIP radio gateway;
    VCCS系统需要发射电台时,将传递携带Payload的话音包给VoIP电台发射机,只有当电台会话建立之后,VoIP电台网关才能够与VCCS建立会话;When the VCCS system needs to transmit the radio, it will deliver the voice packet carrying the payload to the VoIP radio transmitter. Only after the radio session is established, the VoIP radio gateway can establish a session with VCCS;
    VoIP电台网关向VCCS发送已连接VoIP电台的注册信息,VCCS收到注册信息后,向VoIP电台网关发起建立会话请求,建立对应类型的VCCS会话;VCCS会话建立好后,使用标准RTP传输话音,不使用VoIP电台则传输静音,使用RTP的Mark位代表PTT信号和载波信号;当VoIP电台故障或掉线时,VoIP电台网关会向VCCS发出结束该电台会话的请求。The VoIP radio gateway sends the registration information of the connected VoIP radio station to the VCCS. After receiving the registration information, the VCCS initiates a session establishment request to the VoIP radio gateway to establish a corresponding type of VCCS session; after the VCCS session is established, standard RTP is used to transmit voice. Use VoIP radio to transmit mute, and use the Mark bit of RTP to represent PTT signal and carrier signal; when the VoIP radio fails or is disconnected, the VoIP radio gateway will send a request to VCCS to end the radio session.
  4. 根据权利要求3所述的一种基于ED137协议的主备架构VoIP电台网关,其特征在于,所述媒体信令交互模块使用SIP状态机机制实现信令的状态机管理和通道的媒体收发,具体包括如下步骤:The VoIP radio gateway with a master-standby architecture based on the ED137 protocol according to claim 3, wherein the media signaling interaction module uses the SIP state machine mechanism to implement signaling state machine management and channel media transceiving, specifically Including the following steps:
    步骤a1,SIP状态机独立管理各个VoIP电台状态,初始状态为空闲状态;Step a1, the SIP state machine independently manages the state of each VoIP station, and the initial state is the idle state;
    步骤a2,VoIP电台网关连接上VoIP电台后,发送会话建立请求,进入请求状态;Step a2: After the VoIP radio gateway is connected to the VoIP radio, it sends a session establishment request and enters the request state;
    步骤a3,VoIP电台响应请求,如果接受会话邀请,SIP状态机进入会话状态;如果拒绝会话邀请,SIP状态机重新进入空闲状态,等待下次连接;Step a3, the VoIP station responds to the request. If it accepts the session invitation, the SIP state machine enters the session state; if it rejects the session invitation, the SIP state machine enters the idle state again and waits for the next connection;
    步骤a4,SIP状态机进入会话状态后,打开VoIP电台通道媒体收发。Step a4: After the SIP state machine enters the conversation state, it opens the VoIP radio channel for media transmission and reception.
  5. 根据权利要求4所述的一种基于ED137协议的主备架构VoIP电台网关,其特征在于,所述系统运维模块用于提供网页终端管理和网络状态检测功能,其中,网页终端管理包括电台配置、网关配置和附加功能配置;通过网络状态检测,VoIP电台网关能够实时向服务器上报双网状态信息。A VoIP radio gateway with a master-standby architecture based on the ED137 protocol according to claim 4, wherein the system operation and maintenance module is used to provide web terminal management and network status detection functions, wherein the web terminal management includes radio configuration , Gateway configuration and additional function configuration; through network status detection, the VoIP radio gateway can report dual network status information to the server in real time.
  6. 根据权利要求5所述的一种基于ED137协议的主备架构VoIP电台网关,其特征在于,所述系统运维模块配备web前端配置页面,通过web前端配置页面完成电台配置、网关配置和附加功能配置;A VoIP radio gateway with a master-standby architecture based on the ED137 protocol according to claim 5, wherein the system operation and maintenance module is equipped with a web front-end configuration page, and radio configuration, gateway configuration and additional functions are completed through the web front-end configuration page Configuration
    其中电台配置包括电台名称、电台IP及端口、电台类型、PTT模式、电台SIP帐号密码;The radio configuration includes radio name, radio IP and port, radio type, PTT mode, radio SIP account password;
    网关配置包括服务器IP端口信息和网关SIP帐号密码;Gateway configuration includes server IP port information and gateway SIP account password;
    附加功能配置包括收发增益、收发延迟、收发模式、模式抑制量和CLIMAX组;Additional function configuration includes transceiver gain, transceiver delay, transceiver mode, mode suppression and CLIMAX group;
    一对收发VoIP电台能够配置收发模式为收发隔离、收发抑制、收发减音;A pair of transceiver VoIP stations can configure the transceiver mode as transceiver isolation, transceiver suppression, and transceiver tone reduction;
    收发隔离指收发机为全双工模式;收发抑制指收发机为半双工模式;收发减音指VoIP电台发射机在发射时,VoIP电台接收机按照模式抑制量进行抑制衰减;Transceiver isolation means that the transceiver is in full-duplex mode; transceiver suppression means that the transceiver is in half-duplex mode; transceiver attenuation means that when the VoIP radio transmitter is transmitting, the VoIP radio receiver will suppress attenuation according to the mode suppression amount;
    配成同一CLIMAX组的VoIP电台能够同步发射。The VoIP stations that form the same CLIMAX group can transmit simultaneously.
  7. 根据权利要求6所述的一种基于ED137协议的主备架构VoIP电台网关,其特征在于,所述媒体信令交互模块的信令状态机负责与VCCS服务器、VoIP电台、RRCE和系统运维模块配备的web进行SIP信令交互;网络媒体收发实现VoIP电台和RRCE的媒体收发;主备媒体切换和网络媒体收发实现VCCS媒体交互;VoIP电台的动态补偿测量后,反馈给CLIMAX组,CLIMAX组控制同一组的VoIP电台网络延时;VoIP电台的媒体经过增益调节和缓冲区控制后,与VCCS话音进行交换;双网状态单独检测上报给服务器。A VoIP radio gateway with a master-standby architecture based on the ED137 protocol according to claim 6, wherein the signaling state machine of the media signaling interaction module is responsible for communicating with the VCCS server, VoIP radio, RRCE, and system operation and maintenance module. Equipped web for SIP signaling interaction; network media transceiving implements VoIP radio and RRCE media transceiving; master and standby media switching and network media transceiving implement VCCS media interaction; VoIP radio's dynamic compensation measurement is fed back to the CLIMAX group, which is controlled by the CLIMAX group The network delay of the VoIP radio in the same group; the media of the VoIP radio is exchanged with VCCS voice after gain adjustment and buffer control; the dual network status is detected and reported to the server separately.
  8. 根据权利要求7所述的一种基于ED137协议的主备架构VoIP电台网关,其特征在于,所述VoIP电台网关会话建立SIP、RTP的流程包括如下步骤:The ED137 protocol-based active-standby architecture VoIP radio gateway according to claim 7, wherein the process of establishing SIP and RTP for the VoIP radio gateway session includes the following steps:
    步骤b1,当配置好电台名称、IP、端口、SIP帐号、SIP密码后,VoIP电台网关会定期向VoIP电台发起会话请求,如果已经跟VoIP电台建立会话,则不再发送请求;Step b1: After the station name, IP, port, SIP account, and SIP password are configured, the VoIP station gateway will periodically initiate a session request to the VoIP station. If a session has been established with the VoIP station, no more requests will be sent;
    步骤b2,VoIP电台收到请求后,如果配置正确,会自动应答请求,回复100Trying和200OK,VoIP电台网关回复ACK确认会话建立;Step b2: After the VoIP radio station receives the request, if the configuration is correct, it will automatically answer the request, reply 100Trying and 200OK, and the VoIP radio gateway will reply ACK to confirm the establishment of the session;
    步骤b3,VoIP电台网关与VoIP电台之间开始双向收发RTP报文,当VoIP电台不进行收发时,双向发送的是不带载荷的保活包;当VoIP电台进行发射时,VoIP电台网关发送给VoIP电台的是携带载荷的RTP话音包;当VoIP电台接收时,VoIP电台发送给VoIP电台网关的是携带载荷的RTP话音包;Step b3, the VoIP station gateway and the VoIP station start to send and receive RTP packets in both directions. When the VoIP station is not sending and receiving, the two-way transmission is a keep-alive packet without load; when the VoIP station is transmitting, the VoIP station gateway sends it to The VoIP radio station is the RTP voice packet carrying the payload; when the VoIP radio station receives it, the VoIP radio station sends the RTP voice packet carrying the payload to the VoIP radio gateway;
    步骤b4,VoIP电台建立好会话后,向服务器注册VoIP电台SIP帐号;第一次注册成功时,服务器向VoIP电台网关发起会话请求;建立好会话后,服务器与VoIP电台网关之间发送RTP话音包,使用Mark位来代表PTT信号和载波信号;Step b4: After the VoIP radio station establishes the session, it registers the VoIP radio station SIP account with the server; when the first registration is successful, the server initiates a session request to the VoIP radio gateway; after the session is established, the server and the VoIP radio gateway send RTP voice packets , Use Mark bit to represent PTT signal and carrier signal;
    步骤b5,当VoIP电台发生故障或网络断开时,VoIP电台网关与VoIP电台会话中断,并且结束与VCCS之间的VoIP电台会话。Step b5: When the VoIP station fails or the network is disconnected, the VoIP station gateway and the VoIP station session are interrupted, and the VoIP station session with the VCCS is ended.
PCT/CN2020/090123 2019-11-07 2020-05-14 Ed137 protocol-based voip station gateway having master-backup architecture WO2021088345A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911080931.6A CN110809097B (en) 2019-11-07 2019-11-07 Main and standby framework VoIP radio station gateway based on ED137 protocol
CN201911080931.6 2019-11-07

Publications (1)

Publication Number Publication Date
WO2021088345A1 true WO2021088345A1 (en) 2021-05-14

Family

ID=69501467

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/090123 WO2021088345A1 (en) 2019-11-07 2020-05-14 Ed137 protocol-based voip station gateway having master-backup architecture

Country Status (2)

Country Link
CN (1) CN110809097B (en)
WO (1) WO2021088345A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110809097B (en) * 2019-11-07 2021-02-26 南京莱斯电子设备有限公司 Main and standby framework VoIP radio station gateway based on ED137 protocol
CN111970290B (en) * 2020-08-24 2023-04-07 成都天奥信息科技有限公司 Multi-carrier delay compensation method based on VoIP ground-air voice communication
CN111970293B (en) * 2020-08-24 2023-04-07 成都天奥信息科技有限公司 Synchronous comparing, selecting and following technical method based on VoIP ground-air voice communication
CN113055539B (en) * 2021-03-09 2022-07-05 南京莱斯电子设备有限公司 Communication system based on VoIP dual-redundancy exchange server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100046489A1 (en) * 2003-12-19 2010-02-25 Richard Dickinson Enhanced E911 network access for a call center using session initiation protocol (SIP) messaging
CN108173858A (en) * 2017-12-29 2018-06-15 成都天奥信息科技有限公司 A kind of VOIP real-time voice webmaster processing systems based on vxworks operating system
CN110809097A (en) * 2019-11-07 2020-02-18 南京莱斯电子设备有限公司 Main and standby framework VoIP radio station gateway based on ED137 protocol

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8379637B2 (en) * 2008-05-27 2013-02-19 Microsoft Corporation Bypassing routing rules during a conversation
CN102065076B (en) * 2010-10-26 2013-07-17 中国电子科技集团公司第二十八研究所 Implementation method of SIP (Session Initiation Protocol)-based regional ground-to-air radio station voice networking system
KR101143497B1 (en) * 2010-10-26 2012-05-09 시큐아이닷컴 주식회사 Defense module against sip flooding attacks for voip message communication proxy server and its method
CN103199915A (en) * 2013-03-01 2013-07-10 上海交通大学 Empty heaven and earth collaborative multimedia network system
CN106356063A (en) * 2016-08-28 2017-01-25 桂林市晶准测控技术有限公司 Text recognition method and system for voice control
CN107819484B (en) * 2017-11-03 2019-06-11 南京莱斯电子设备有限公司 A kind of remote station access access system based on wireless network
CN107888596A (en) * 2017-11-16 2018-04-06 中国电子科技集团公司第二十八研究所 A kind of analog radio training system based on soft switch
CN108011770B (en) * 2018-01-19 2021-08-24 成都天奥信息科技有限公司 Multistage distributed monitoring system of very high frequency ground-to-air communication sharing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100046489A1 (en) * 2003-12-19 2010-02-25 Richard Dickinson Enhanced E911 network access for a call center using session initiation protocol (SIP) messaging
CN108173858A (en) * 2017-12-29 2018-06-15 成都天奥信息科技有限公司 A kind of VOIP real-time voice webmaster processing systems based on vxworks operating system
CN110809097A (en) * 2019-11-07 2020-02-18 南京莱斯电子设备有限公司 Main and standby framework VoIP radio station gateway based on ED137 protocol

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HU DAN: "Design of VHF Radio Gateway for Vo IP Air Traffic Management System", TELECOMMUNICATION ENGINEERING, vol. 59, no. 3, 31 March 2019 (2019-03-31), pages 282 - 287, XP055811457, ISSN: 1001-893x, DOI: 10.3969/j.issn.1001-893x.2019.03.007 *

Also Published As

Publication number Publication date
CN110809097B (en) 2021-02-26
CN110809097A (en) 2020-02-18

Similar Documents

Publication Publication Date Title
WO2021088345A1 (en) Ed137 protocol-based voip station gateway having master-backup architecture
EP1510090B1 (en) Method for controlling parties in real-time data group communication using acknowledgement packets
CN102685689B (en) Pt service method
US10548024B2 (en) Cloud communication center system and method for processing data in a cloud communication system
US6847635B1 (en) Method to transmit silence compressed voice over IP efficiently in DOCSIS cable networks
US8830898B2 (en) Fast inter system push to talk operation
US8599754B2 (en) Method, device, and system for configuring multicast broadcast single frequency network resources
US20070165636A1 (en) Methods, systems, and computer program products for providing transcoder free operation (TrFO) and interworking between unlicensed mobile access (UMA) and universal mobile telecommunications system (UMTS) call legs using a media gateway
CN101820523B (en) Method and system for processing session
CN111970293B (en) Synchronous comparing, selecting and following technical method based on VoIP ground-air voice communication
KR20050101506A (en) System and method for monitoring push to talk over cellular simultaneous session
WO2011088656A1 (en) Method and system for implementing three-party call of videophone by mobile terminals
US8054822B2 (en) Synchronization of call traffic in the forward direction over backhaul links
CN101185310A (en) Method of copying voice messages in the form of text messages in a packet communication network
US20130278707A1 (en) Video communication method and terminal
WO2009071005A1 (en) Method, system, server and client for transmitting media stream data
CN103347252A (en) Multimedia trunking communication system, communication terminal and switching center
WO2012003771A1 (en) Method and system for transmitting data in ring network
EP2425619B1 (en) Method and device for establishing simultaneous incoming circuit switched calls
EP2051429B1 (en) Apparatus and method for setting timer and counter in mobile communication system
CN100542338C (en) Voice transfer and call signaling exchange method in the code division multiple access digital cluster system
US20180227342A1 (en) Media stream management system
Darilion et al. A service environment for air traffic control based on SIP
Kampichler et al. Improvements in Operational Efficiency at Airports Using Lte Networks for Communications
Darilion et al. Event-based radio communication signalling using the session initiation protocol

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20884638

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20884638

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20884638

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20884638

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 15/05/2023)