[go: up one dir, main page]

CN116155870A - VoIP telephone message transmission method of high-speed magnetic levitation train-ground communication system - Google Patents

VoIP telephone message transmission method of high-speed magnetic levitation train-ground communication system Download PDF

Info

Publication number
CN116155870A
CN116155870A CN202310166245.0A CN202310166245A CN116155870A CN 116155870 A CN116155870 A CN 116155870A CN 202310166245 A CN202310166245 A CN 202310166245A CN 116155870 A CN116155870 A CN 116155870A
Authority
CN
China
Prior art keywords
voip
address
message
protocol
communication system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310166245.0A
Other languages
Chinese (zh)
Other versions
CN116155870B (en
Inventor
李廷军
何鹏程
杨海宁
樊勇
程钰间
李兴昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
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 University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN202310166245.0A priority Critical patent/CN116155870B/en
Publication of CN116155870A publication Critical patent/CN116155870A/en
Application granted granted Critical
Publication of CN116155870B publication Critical patent/CN116155870B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种高速磁悬浮车地通信系统的VoIP电话报文传输方法,以高速磁悬浮列车或地面控制中心作为信号发送方,另一方为信号接收方;包括以下步骤:S1、将VoIP电话报文通过TCP/IP协议传输到信号发送方的通信设备;S2、对VoIP电话报文进行解析,对IP地址进行分配;S3、对VoIP电话报文的应用层内容进行处理;S4、通过非TCP/IP协议将组帧后的信号传输到信号接收方基站;S5、对接收到的组帧信号进行解析,确定是RTP/RTCP还是SIP:若是RTP/RTCP协议则直接进行VoIP包装;若是SIP协议则将进行解封装并组包,然后进行VoIP包装;S6、根据目的端口或信令要求将报文传输到对应设备。本发明基于不同协议的数据结构拆包和组包,实现VoIP调度电话在非TCP/IP协议的高速磁浮车地通信系统中传输。

Figure 202310166245

The invention discloses a VoIP telephone message transmission method of a high-speed maglev vehicle-ground communication system, using a high-speed maglev train or a ground control center as a signal sender, and the other as a signal receiver; including the following steps: S1, sending a VoIP telephone message The text is transmitted to the communication device of the signal sender through the TCP/IP protocol; S2, analyze the VoIP telephony message, and assign the IP address; S3, process the application layer content of the VoIP telephony message; S4, pass non-TCP The /IP protocol transmits the signal after the framing to the signal receiver base station; S5, analyzes the received framing signal to determine whether it is RTP/RTCP or SIP: if it is the RTP/RTCP protocol, then directly carry out VoIP packaging; if it is the SIP protocol Then decapsulate and package, and then perform VoIP packaging; S6, transmit the message to the corresponding device according to the destination port or signaling requirements. The invention unpacks and packs based on the data structure of different protocols, and realizes the transmission of the VoIP dispatching telephone in the communication system of the high-speed maglev vehicle without the TCP/IP protocol.

Figure 202310166245

Description

高速磁悬浮车地通信系统的VoIP电话报文传输方法VoIP telephony message transmission method for high-speed maglev vehicle-ground communication system

技术领域technical field

本发明属于通信技术领域,具体涉及一种高速磁悬浮车地通信系统的VoIP电话报文传输方法。The invention belongs to the technical field of communication, and in particular relates to a VoIP telephone message transmission method of a communication system of a high-speed magnetic levitation vehicle.

背景技术Background technique

在高速磁悬浮列车上装有IP调度电话,其功能主要是用于列车调度员指挥列车运行而设置的专用电话。列车调度通话方式主要有:同一列车上不同位置上通话,列车与地面控制中心的通话,不同列车间通话等。其中同一列车上的不同位置上通话,由于其在同一网段下,与常用的基于VoIP(Voice of IP)的报文传输一样,直接采用基于VoIP的TCP/IP报文传输。而另外两种情况下,除了需要使用基于VoIP协议之外,还需要通过高速磁浮列车的车地通信系统才能实现。An IP dispatching telephone is installed on the high-speed maglev train, and its function is mainly a special telephone set for the train dispatcher to direct the train operation. The train dispatching communication methods mainly include: communication at different positions on the same train, communication between the train and the ground control center, communication between different trains, etc. Wherein the conversation on different positions on the same train, because it is under the same network segment, is the same as the message transmission based on VoIP (Voice of IP) commonly used, directly adopts the TCP/IP message transmission based on VoIP. In the other two cases, in addition to using the VoIP-based protocol, it also needs to be realized through the vehicle-ground communication system of the high-speed maglev train.

目前常用的VoIP电话报文传输是基于TCP/IP协议在网络中完成的,其在应用层主要是基于SIP/RTP(RTCP)完成信令控制和语音媒体流的传输,在传输层则是基于UDP协议,网络层为IP协议,最终到数据链路层是由HDLC协议完成。At present, the commonly used VoIP telephony message transmission is completed in the network based on the TCP/IP protocol. The application layer is mainly based on SIP/RTP (RTCP) to complete the signaling control and voice media stream transmission, and the transport layer is based on The UDP protocol, the network layer is the IP protocol, and finally the data link layer is completed by the HDLC protocol.

VoIP调度电话的通信过程如图1所示。其具体传输过程为:VoIP协议首先要利用SIP建立连接,SIP是一种应用层的信令协议,通常由起始行、消息头和可选的消息体组成。要使两部IP电话建立通话,需要电话发起端、服务器和电话接收端三方一起完成请求、应答、响铃等一系列操作,同时基于SIP的报文传输,每次发送的字节数并不是固定帧长。通话过程中是基于RTP和RTCP协议,将已经通过模数转换和语言编码压缩后的语言信号完成应用层的打包。其中RTP主要是负责媒体流的数据传输,RTCP完成媒体流的传输控制。基于RTP和RTCP的数据格式和大小较为固定。完成应用层的封装后,再依次送入运输层和网络传输层进行UDP的组包以及IP的组包,经过简单的HDLC协议组帧后便可以在网络中传输。相反,电话接收端或服务器将接收到的信号分别对应于每层完成解包的数据处理,一直到应用层的SIP或RTP协议格式,完成解码恢复出信令或语音信号。The communication process of the VoIP dispatch phone is shown in Figure 1. The specific transmission process is as follows: the VoIP protocol first needs to use SIP to establish a connection. SIP is a signaling protocol at the application layer, and usually consists of a start line, a message header, and an optional message body. To establish a call between two IP phones, a series of operations such as request, answer, and ringing are required to be completed by the call initiator, the server, and the call receiver. At the same time, based on SIP message transmission, the number of bytes sent each time is not Fixed frame length. The call process is based on the RTP and RTCP protocols, and the language signal that has been compressed through analog-to-digital conversion and language coding is packaged at the application layer. Among them, RTP is mainly responsible for the data transmission of the media stream, and RTCP completes the transmission control of the media stream. The data format and size based on RTP and RTCP are relatively fixed. After the encapsulation of the application layer is completed, it is sent to the transport layer and the network transport layer in turn for UDP grouping and IP grouping, and can be transmitted in the network after being framed by a simple HDLC protocol. On the contrary, the telephone receiver or server will process the received signal corresponding to each layer to complete the unpacking data processing, until the SIP or RTP protocol format of the application layer, and complete the decoding to recover the signaling or voice signal.

高速磁浮车地通信系统针对IP调度电话留有专门的业务接口,但由于该业务接口容量有限,且属于非传统TCP/IP协议的报文传输,无法与VoIP报文直接相连接,因此需要将VoIP的报文进行重新打包组帧和地址管理,完成在车地通信系统中的报文传输。而且由于RTP/RTCP和SIP属于应用层协议,基于NAT技术下的VoIP语音电话,还需要完成RTP、SIP到NAT的跨越,即由内网先到公网传输,再在公网中传输到目标公网后,目标公网再传输到其内网。在基于现有的高速磁浮车地通信系统上需要进行类似的IP地址管理分配,以实现IP电话业务在非TCP/IP的高速磁浮车地通信系统中的报文传输。The communication system of the high-speed maglev vehicle has a special service interface for IP dispatching telephones. However, due to the limited capacity of the service interface and the transmission of messages belonging to non-traditional TCP/IP protocols, it cannot be directly connected to VoIP messages. Therefore, it is necessary to VoIP messages are repackaged and framed and address managed to complete message transmission in the vehicle-to-ground communication system. And because RTP/RTCP and SIP belong to the application layer protocol, the VoIP voice phone based on NAT technology needs to complete the leap from RTP, SIP to NAT, that is, the internal network first transmits to the public network, and then transmits to the target in the public network. After the public network, the target public network is transmitted to its internal network. Similar management and allocation of IP addresses is required on the existing high-speed maglev vehicle communication system to realize message transmission of IP telephone services in the non-TCP/IP high-speed maglev vehicle communication system.

本发明针对于高速磁浮车地通信系统的VoIP调度电话报文传输,实现了IP电话报文与该车地通信系统的兼容,解决了VoIP电话业务在磁浮车地通信系统中传输时,协议不一致,帧长不定,以及地址管理等问题,在高速磁浮车地通信领域具有重要的应用价值和工程意义。The present invention is aimed at the VoIP scheduling telephone message transmission of the communication system of the high-speed maglev vehicle, realizes the compatibility between the IP telephone message and the communication system of the vehicle, and solves the inconsistent protocol when the VoIP telephone service is transmitted in the communication system of the maglev vehicle , the frame length is not fixed, and address management and other issues have important application value and engineering significance in the field of high-speed maglev vehicle-to-ground communication.

发明内容Contents of the invention

本发明的目的在于克服现有技术的不足,提供一种通过针对VoIP电话的信令数据和通话数据对车地通信系统业务接口的帧结构进行设计,基于不同协议的数据结构拆包和组包,实现了VoIP调度电话在非TCP/IP协议的高速磁浮车地通信系统中传输的高速磁悬浮车地通信系统的VoIP电话报文传输方法。The purpose of the present invention is to overcome the deficiencies in the prior art, to provide a frame structure of the service interface of the vehicle-ground communication system by aiming at the signaling data and call data of the VoIP phone, unpacking and grouping based on the data structure of different protocols , realizing the VoIP telephony message transmission method of the high-speed maglev vehicle-ground communication system for the VoIP dispatching telephone to be transmitted in the non-TCP/IP protocol high-speed maglev vehicle-ground communication system.

本发明的目的是通过以下技术方案来实现的:高速磁悬浮车地通信系统的VoIP电话报文传输方法,在高速磁悬浮列车和地面控制中心之间进行通信,以高速磁悬浮列车或地面控制中心作为信号发送方,则另一方为信号接收方;包括以下步骤:The purpose of the present invention is achieved by the following technical solutions: the VoIP telephone message transmission method of the high-speed magnetic levitation vehicle-ground communication system communicates between the high-speed magnetic levitation train and the ground control center, and uses the high-speed magnetic levitation train or the ground control center as the signal sender, the other party is the signal receiver; including the following steps:

S1、将信号发送方的VoIP电话报文通过TCP/IP协议传输到信号发送方的通信设备;S1, transmitting the VoIP telephone message of the signal sender to the communication device of the signal sender through the TCP/IP protocol;

S2、信号发送方的通信设备对VoIP电话报文进行解析,对IP地址进行分配;S2. The communication device of the signal sender analyzes the VoIP telephony message, and allocates the IP address;

S3、对解析后的VoIP电话报文的应用层内容进行处理,包括以下子步骤:S3. Processing the application layer content of the parsed VoIP telephony message, including the following sub-steps:

S31、确定VoIP业务接口的空间大小;S31. Determine the space size of the VoIP service interface;

S32、判断协议类型,根据协议类型的不同进行处理:S32. Determine the protocol type, and process according to the different protocol types:

若VoIP电话报文的应用层中是RTP/RTCP媒体流数据包,则不需要拆包,直接将数据包送入车地通信系统中VoIP业务接口组帧部分进行组帧;If the application layer of the VoIP telephone message is an RTP/RTCP media stream data packet, it does not need to be unpacked, and the data packet is directly sent to the framing part of the VoIP service interface in the vehicle-ground communication system for framing;

若VoIP电话报文的应用层中是SIP信令数据包,则首先确定数据包的长度是否超过车地通信系统中VoIP业务接口的大小,若超过则按照业务接口大小将数据包进行拆包;然后将送入车地通信系统中VoIP业务接口组帧部分进行组帧;If the application layer of the VoIP telephone message is a SIP signaling packet, first determine whether the length of the packet exceeds the size of the VoIP service interface in the vehicle-to-ground communication system, if it exceeds, the packet is unpacked according to the size of the service interface; Then frame the VoIP service interface framing part sent to the vehicle-ground communication system;

S4、信号发送方基站通过非TCP/IP协议将组帧后的信号传输到信号接收方基站;S4. The base station of the signal sender transmits the framed signal to the base station of the signal receiver through a non-TCP/IP protocol;

S5、信号接收方基站的VoIP业务接口解帧部分对接收到的组帧信号进行解析,确定是RTP/RTCP还是SIP:若是RTP/RTCP协议则直接进行VoIP包装,重新组成VoIP电话报文;若是SIP协议则将接收到的报文进行解封装并将解封装后的报文进行组包,然后进行VoIP包装,重新组成VoIP电话报文;S5. The VoIP service interface deframing part of the signal receiver base station analyzes the received framing signal to determine whether it is RTP/RTCP or SIP: if it is the RTP/RTCP protocol, it will directly perform VoIP packaging and recompose the VoIP phone message; if it is The SIP protocol decapsulates the received message and packs the decapsulated message, and then performs VoIP packaging to recompose the VoIP telephone message;

S6、根据目的端口或信令要求将报文传输到对应设备。S6. Transmit the packet to the corresponding device according to the destination port or signaling requirements.

所述VoIP电话报文由语音媒体流或信令组成,在应用层使用RTP/RTCP或SIP封装后再在运输层使用UDP进行封装组帧,在网络层使用IP进行封装,数据链路层最后封装,经过OSI四层封装组成VoIP数据包。The VoIP telephony message is composed of voice media stream or signaling, encapsulated by RTP/RTCP or SIP at the application layer, then encapsulated and framed by UDP at the transport layer, encapsulated by IP at the network layer, and finally encapsulated at the data link layer Encapsulation, through OSI four-layer encapsulation to form VoIP data packets.

步骤S2中,对IP地址进行分配的方法为:从信号发送方的IP电话传输到信号发送方的通信设备,目标IP地址即为信号发送方通信设备的IP地址,源IP地址则是信号发送方的IP电话;将应用层中基于SIP或RTP/RTCP的报文的源IP地址设为信息发送方IP电话的内网地址,目标IP地址设为信息接收方调度服务器或信息接收方IP电话的内网地址;在传输的时候,需要将IP电话或服务器的IP地址转换成车载通信设备或地面通信设备的地址,完成TCP/IP网络传输地址与非TCP/IP网络传输地址的转换。In step S2, the method for allocating the IP address is as follows: from the IP phone of the signal sender to the communication device of the signal sender, the target IP address is the IP address of the signal sender’s communication device, and the source IP address is the IP address of the signal sender Set the source IP address of the message based on SIP or RTP/RTCP in the application layer as the intranet address of the IP phone of the information sender, and set the destination IP address as the scheduling server of the information receiver or the IP phone of the information receiver Intranet address; when transmitting, it is necessary to convert the IP address of the IP phone or server into the address of the vehicle communication device or ground communication device, and complete the conversion of the TCP/IP network transmission address and the non-TCP/IP network transmission address.

所述步骤S31具体实现方法为:基于RTP协议完成应用层的封装之后的大小来确定车地通信系统中VoIP业务接口的长度;再根据帧结构的设计,确定其标识符的长度;则整个业务接口的大小为VoIP业务接口的长度与标识符的长度之和。The specific implementation method of the step S31 is: determine the length of the VoIP service interface in the vehicle-to-ground communication system based on the size after the RTP protocol completes the encapsulation of the application layer; then determine the length of its identifier according to the design of the frame structure; then the entire service The size of the interface is the sum of the length of the VoIP service interface and the length of the identifier.

所述步骤S32中,VoIP业务接口组帧部分进行组帧后的信号包括首部、数据内容部分和尾部;In the step S32, the signal after the framing of the VoIP service interface framing part includes a header, a data content part and a tail;

首部包括帧头、功能类型、目的地址、源地址和数据内容的大小,以特殊字符作为帧头;第二部分为功能类型,表明该数据是基于RTP、RTCP还是SIP协议;同时首部还需要确定设备目的地址和源地址,其源地址和目标地址则根据其应用层的源IP地址和目标IP地址并通过查表来确定;The header includes the frame header, function type, destination address, source address and the size of the data content, with special characters as the frame header; the second part is the function type, indicating whether the data is based on RTP, RTCP or SIP protocol; at the same time, the header needs to be determined Device destination address and source address, its source address and destination address are determined by looking up the table according to the source IP address and destination IP address of its application layer;

数据内容部分包括帧头、总片数、片序号、有效数据长度和首部CRC校验;The data content part includes the frame header, the total number of slices, the slice number, the effective data length and the first CRC check;

尾部包括帧校验以及由特殊字符组成的帧尾。The tail includes a frame check and a frame tail composed of special characters.

本发明的有益效果是:本发明通过针对VoIP电话的信令数据和通话数据对车地通信系统业务接口的帧结构进行设计,使得可变帧长的VoIP报文变成了固定帧长的报文进行传输。基于不同协议的数据结构拆包和组包,实现了VoIP调度电话在非TCP/IP协议的高速磁浮车地通信系统中传输,解决了VoIP调度电话在当前高速磁浮车地通信系统中其业务接口下由于字节太长,目的不定,IP地址管理导致无法兼容的问题。通过使用本发明的方法可以使得VoIP调度电话在列车上正常稳定的使用。The beneficial effects of the present invention are: the present invention designs the frame structure of the service interface of the vehicle-ground communication system by aiming at the signaling data and call data of the VoIP phone, so that the VoIP message with variable frame length becomes a message with fixed frame length. The text is transmitted. Based on the data structure unpacking and grouping of different protocols, the transmission of VoIP dispatching calls in the non-TCP/IP protocol high-speed maglev vehicle ground communication system is realized, and the service interface of VoIP dispatching telephones in the current high-speed maglev vehicle ground communication system is solved. Due to the byte is too long, the purpose is uncertain, and the IP address management leads to incompatibility. By using the method of the invention, the VoIP dispatching phone can be used normally and stably on the train.

附图说明Description of drawings

图1为VoIP传输过程;Fig. 1 is the VoIP transmission process;

图2为高速磁浮业务接口;Figure 2 is a high-speed maglev service interface;

图3为VoIP报文传输流程图;Fig. 3 is a flowchart of VoIP packet transmission;

图4为VoIP报文处理,(1)为VoIP报文的帧结构,(2)为VoIP报文的解析,(3)为对SIP协议的数据包拆分和重组,(4)为调度电话业务接口帧结构;Fig. 4 is the processing of VoIP message, (1) is the frame structure of VoIP message, (2) is the analysis of VoIP message, (3) is the packet splitting and reorganization to SIP agreement, (4) is dispatching telephone Business interface frame structure;

图5为VoIP报文地址管理。Figure 5 shows VoIP packet address management.

具体实施方式Detailed ways

在高速磁悬浮列车中,用于列车调度员指挥列车运行而设置的专用电话,是基于VoIP(Voice of IP)网络模型的IP电话。在图1中表示了VoIP电话传输过程,由用户与代理服务器组成,用户之间要通话,需要利用SIP信令协议:首先经过代理服务器建立连接,即由用户1向代理服务器发起请求,服务器再转向用户2,完成一系列响铃响应等流程之后,用户1和用户2开始建立通话。通话传输过程则是将语音信息进行AD采样和压缩编码,再进行RTP封装和IP协议封装后发送,接收部分则是做IP封装的处理和RTP数据包的处理。最后通过解码解压缩以及DA转换后变成语音信息。以上数据传输都是基于TCP/IP协议的网络进行传输的。In the high-speed maglev train, the special telephone set for the train dispatcher to direct the train operation is an IP telephone based on the VoIP (Voice of IP) network model. Figure 1 shows the VoIP telephone transmission process, which is composed of users and proxy servers. To talk between users, the SIP signaling protocol needs to be used: first, a connection is established through the proxy server, that is, user 1 initiates a request to the proxy server, and the server then Turning to user 2, after completing a series of processes such as ringing and responding, user 1 and user 2 start to establish a call. The call transmission process is to carry out AD sampling and compression coding on the voice information, and then send it after RTP encapsulation and IP protocol encapsulation, and the receiving part is to process IP encapsulation and RTP data packets. Finally, through decoding, decompression and DA conversion, it becomes voice information. The above data transmission is based on the network of TCP/IP protocol for transmission.

高速磁悬浮车地通信系统针对不同的业务分别制作了不同的业务接口,由图2所示,业务接口1为列车诊断,业务2接口为调度电话,一直到业务接口n。每个业务接口根据不同的需要,指定了不同的帧结构和字节大小。The high-speed maglev vehicle-ground communication system has different service interfaces for different services. As shown in Figure 2, service interface 1 is train diagnosis, service 2 interface is dispatching telephone, and service interface n. Each service interface specifies different frame structures and byte sizes according to different needs.

本发明主要是根据VoIP中RTP(RTCP),SIP等协议结构特征,VoIP传输架构,以及磁浮车地通信业务接口特性等,完成相关协议的拆包组包、业务接口帧结构设计、IP地址管理分配等过程。本发明在高速磁浮车地通信系统业务中,基于RTP(RTCP)/SIP协议报文帧结构如图4(1)所示,其VoIP传输在车内或地面都采用TCP/IP网络传输,而车地或车车通信则基于该无线通信系统下的业务接口。而对于VoIP业务接口分配的空间大小,由于SIP协议组成的报文大小不定,并且一般远大于系统的业务接口的空间,需要将基于SIP协议的报文进行拆包发送和接收组包。RTP和RTCP协议报文大小较为固定,但由于传输过程存在多种协议传输,因此需要对业务接口进行专门的帧结构设计,以便接收端能够识别到该业务接口的功能,并做后续处理。并且由于VoIP电话传输过程在车地通信中也需要完成IP地址跨越,需要专门设计。下面结合附图进一步说明本发明的技术方案。The present invention mainly completes unpacking and grouping of relevant protocols, design of business interface frame structure, and IP address management based on the structural characteristics of protocols such as RTP (RTCP) and SIP in VoIP, the VoIP transmission framework, and the characteristics of the communication service interface of the maglev vehicle. distribution process. The present invention is in the communication system business of high-speed maglev vehicle, based on RTP (RTCP)/SIP protocol message frame structure as shown in Figure 4 (1), its VoIP transmission all adopts TCP/IP network transmission in the vehicle or on the ground, and Vehicle-to-ground or vehicle-to-vehicle communication is based on the service interface under the wireless communication system. As for the size of the space allocated by the VoIP service interface, since the size of the message composed of the SIP protocol is variable and generally much larger than the space of the service interface of the system, it is necessary to unpack the message based on the SIP protocol to send and receive the package. The size of RTP and RTCP protocol packets is relatively fixed, but since there are multiple protocols in the transmission process, it is necessary to design a special frame structure for the service interface so that the receiving end can recognize the function of the service interface and perform subsequent processing. And because the VoIP phone transmission process also needs to complete the IP address spanning in the vehicle-to-ground communication, a special design is required. The technical solution of the present invention will be further described below in conjunction with the accompanying drawings.

如图3所示,本发明的高速磁悬浮车地通信系统的VoIP电话报文传输方法,在高速磁悬浮列车和地面控制中心之间进行通信,以高速磁悬浮列车或地面控制中心作为信号发送方,则另一方为信号接收方,本实施例以列车作为信号发送方;包括以下步骤:As shown in Figure 3, the VoIP telephone message transmission method of the high-speed maglev vehicle-ground communication system of the present invention communicates between the high-speed maglev train and the ground control center, and uses the high-speed maglev train or the ground control center as the signal sender, then The other party is the signal receiver, and the present embodiment uses the train as the signal sender; including the following steps:

S1、将车内IP电话的VoIP电话报文通过TCP/IP协议传输到车载通信设备;调度电话也需要根据其需求设计帧结构和空间大小。首先确定调度电话空间大小:基于VoIP的电话报文传输方式在通话媒体流是基于RTP(RTCP)协议,RTCP协议是对媒体流信息控制,而在信令部分则是基于SIP协议。如图4(1)所示,所述VoIP电话报文由语音媒体流或信令组成,在应用层使用RTP/RTCP或SIP封装后再在运输层使用UDP进行封装组帧,在网络层使用IP进行封装,数据链路层最后封装,经过OSI四层封装组成VoIP数据包。S1. Transmit the VoIP telephony message of the in-vehicle IP telephone to the in-vehicle communication device through the TCP/IP protocol; the dispatching telephone also needs to design the frame structure and space size according to its requirements. Firstly, determine the size of the scheduling phone space: the VoIP-based phone message transmission method is based on the RTP (RTCP) protocol in the call media stream, and the RTCP protocol controls the media stream information, while the signaling part is based on the SIP protocol. As shown in Figure 4 (1), the VoIP telephony message is composed of voice media streams or signaling, encapsulated using RTP/RTCP or SIP at the application layer, and then encapsulated and framed using UDP at the transport layer, and used at the network layer IP is encapsulated, the data link layer is finally encapsulated, and VoIP data packets are formed through OSI four-layer encapsulation.

S2、车载通信设备对VoIP电话报文进行解析,对IP地址进行分配;因为IP电话在应用层是基于RTP或SIP协议的,里面是有其目标IP地址和源地址的。而高速磁浮车地通信系统的车载基站和地面基站的空口信号是非TCP/IP传输的通信信号,无法直接传输基于VoIP的IP封装后的网络报文。因此无法直接将各层源IP地址和目标IP地址设置成源IP电话和目标IP电话,因此需要对IP地址进行分配;网络传输过程,寻址方式主要是通过传输层和网络层的IP地址,因此传输层和网络层的目标IP地址和源IP地址以传输途径而定,对IP地址进行分配的方法为:由于是双向通信,收发两端IP地址分配方式都一样,以列车为信号发送方,从车载IP电话传输到车载通信设备,目标IP地址即为车载通信设备的IP地址,源IP地址则是车内IP电话;将应用层中基于SIP或RTP/RTCP的报文的源IP地址设为车内IP电话的内网地址,目标IP地址设为地面调度服务器或地面调度IP电话的内网地址;在传输的时候,需要将电话或服务器的IP地址转换成车载通信设备或地面通信设备的地址,完成TCP/IP网络传输地址与非TCP/IP网络传输地址的转换。接收端则是地面的通信设备,地面通信设备在完成报文解析,重新组包之后,又根据其内容完成TCP/IP网络协议报文传输。如图5所示,A车的车载IP电话B向D地的地面IP电话E通话,需要利用基于SIP协议的信令在A车的车载电话B、D地的服务器F和D地的IP电话G,通过一系列的握手完成两个IP电话的连接,再通过RTP协议的媒体流完成通话。首先车载IP电话需要利用网络TCP/IP协议的方式传输报文,其网络层和传输层的源IP地址则是192.168.23.4(1004),为网络传输中的IP电话的实际IP地址,目标IP地址为192.168.23.5(1005)为车载通信设备的实际传输使用的IP地址。而在车载通信设备上,VOIP的报文传输有两种方式,一是基于TCP/IP的报文传输,其传输方向是车载通信设备到IP电话,因此源地址为车载通信设备的实际IP地址,而目标IP则为车载电话的IP地址;二是基于车地通信系统的非TPC/IP协议的报文传输,其传输内容是基于VOIP的应用层,其地址为事先规定的物理设备地址,如车载通信设备上源地址是0x010001,而目标设备地址则是0x0f000f,为地面通信设备的物理地址。地面通信设备与车载通信设备类似,有两种不同的报文传输方式。后续再根据VOIP的功能,类型等完成服务器,IP电话的TCP/IP报文传输。完成报文处理后,车载通信设备和地面通信设备继续搭建和解析业务接口,实际传输过程中不需要考虑应用层的IP地址,而是根据其应用层的源IP地址来确定其业务接口功能为调度电话和源地址。由此,可以不用考虑应用层内的目标IP地址和源地址就可以完成VOIP的报文传输。S2. The in-vehicle communication device parses the VoIP telephony message and assigns an IP address; because the IP telephony is based on the RTP or SIP protocol at the application layer, which contains its target IP address and source address. However, the air interface signals of the vehicle-mounted base station and the ground base station of the high-speed maglev vehicle-ground communication system are non-TCP/IP-transmitted communication signals, and cannot directly transmit IP-encapsulated network messages based on VoIP. Therefore, it is impossible to directly set the source IP address and target IP address of each layer as the source IP phone and target IP phone, so the IP address needs to be allocated; the network transmission process, the addressing method is mainly through the IP address of the transport layer and the network layer, Therefore, the destination IP address and source IP address of the transport layer and the network layer are determined by the transmission path. The method of assigning the IP address is as follows: since it is a two-way communication, the IP address assignment methods of the sending and receiving ends are the same, and the train is used as the signal sender. , from the vehicle-mounted IP phone to the vehicle-mounted communication device, the target IP address is the IP address of the vehicle-mounted communication device, and the source IP address is the IP phone in the vehicle; the source IP address of the message based on SIP or RTP/RTCP in the application layer Set as the internal network address of the IP phone in the vehicle, and set the target IP address as the internal network address of the ground dispatching server or the ground dispatching IP phone; when transmitting, it is necessary to convert the IP address of the phone or server to the vehicle communication device or ground communication The address of the device completes the conversion between the TCP/IP network transmission address and the non-TCP/IP network transmission address. The receiving end is the communication equipment on the ground. After the ground communication equipment completes the message analysis and repackages, it completes the TCP/IP network protocol message transmission according to its content. As shown in Figure 5, when the on-board IP phone B in car A talks to the ground IP phone E in D, it is necessary to use signaling based on the SIP protocol to communicate between the on-board phone B in A, the server F in D, and the IP phone in D. G. Complete the connection between two IP phones through a series of handshakes, and then complete the call through the media stream of the RTP protocol. First of all, the vehicle-mounted IP phone needs to use the network TCP/IP protocol to transmit messages. The source IP address of the network layer and the transport layer is 192.168.23.4 (1004), which is the actual IP address of the IP phone in network transmission, and the destination IP address The address 192.168.23.5 (1005) is the IP address used for the actual transmission of the vehicle communication device. On the vehicle communication device, there are two ways of VOIP message transmission, one is based on TCP/IP message transmission, the transmission direction is from the vehicle communication device to the IP phone, so the source address is the actual IP address of the vehicle communication device , and the target IP is the IP address of the car phone; the second is the message transmission based on the non-TPC/IP protocol of the vehicle-ground communication system, the transmission content is based on the VOIP application layer, and its address is the physical device address specified in advance. For example, the source address of the vehicle communication device is 0x010001, and the target device address is 0x0f000f, which is the physical address of the ground communication device. The ground communication equipment is similar to the vehicle communication equipment, and there are two different message transmission methods. Then complete the TCP/IP message transmission of the server and IP phone according to the function and type of VOIP. After the message processing is completed, the on-vehicle communication equipment and the ground communication equipment continue to build and analyze the service interface. In the actual transmission process, the IP address of the application layer does not need to be considered, but the function of the service interface is determined according to the source IP address of the application layer. Dispatch calls and source addresses. Thus, the VOIP message transmission can be completed without considering the destination IP address and source address in the application layer.

S3、对解析后的VoIP电话报文的应用层内容进行处理,包括以下子步骤:S3. Processing the application layer content of the parsed VoIP telephony message, including the following sub-steps:

S31、确定VoIP业务接口的空间大小;VoIP电话报文传输是在不同协议下的传输,由于RTP(RTCP)协议其后续的传输层,网络层等字节数都是固定大小,且不会修改应用层的内容,因此以基于RTP协议完成应用层的封装之后的大小来确定车地通信系统中VoIP业务接口的长度;再根据帧结构的设计,确定其标识符的长度;则整个业务接口的大小为VoIP业务接口的长度与标识符的长度之和。由于在运输层和网络层以及数据链路层上因为封装而增加的字节数是固定的,一般为50字节。在应用层如果是基于RTP协议组成的媒体流数据包,其字节数也为固定的字节数,一般为214个字节。RTCP数据包的字节则更小一些,一般只有RTP大小的一半。而基于SIP协议组成的信令数据包字节数则根据其内容不同,字节数目较长且不固定,一般在400到1200字节之间。由于业务接口传输的数据主要是VoIP的应用层,因此以基于RTP协议完成应用层的封装之后的大小来确定高速磁浮车地通信系统中VoIP业务接口的数据空间大小,即设定该业务接口的大小为:214字节,并且设计标识符一共有11个字节,因此高速磁浮车地通信系统中对应VoIP业务的帧大小为:225字节。S31, determine the space size of VoIP service interface; VoIP telephony message transmission is the transmission under different protocols, because its follow-up transport layer of RTP (RTCP) agreement, the number of bytes such as network layer is all fixed size, and can not revise The content of the application layer, so the length of the VoIP service interface in the vehicle-to-ground communication system is determined by the size after the application layer is encapsulated based on the RTP protocol; then the length of the identifier is determined according to the design of the frame structure; the entire service interface The size is the sum of the length of the VoIP service interface and the length of the identifier. Since the number of bytes increased due to encapsulation on the transport layer, network layer, and data link layer is fixed, it is generally 50 bytes. At the application layer, if it is a media stream data packet based on the RTP protocol, the number of bytes is also a fixed number of bytes, generally 214 bytes. The bytes of RTCP packets are smaller, generally only half the size of RTP. The number of bytes of the signaling data packet based on the SIP protocol is different according to its content, and the number of bytes is long and not fixed, generally between 400 and 1200 bytes. Since the data transmitted by the service interface is mainly the application layer of VoIP, the size of the data space of the VoIP service interface in the high-speed maglev vehicle communication system is determined by the size after the application layer is encapsulated based on the RTP protocol, that is, the size of the service interface is set. The size is: 214 bytes, and the design identifier has a total of 11 bytes, so the frame size corresponding to the VoIP service in the communication system of the high-speed maglev vehicle is: 225 bytes.

S32、判断协议类型,根据协议类型的不同进行处理:S32. Determine the protocol type, and process according to the different protocol types:

设定业务接口大小之后,基于RTP和RTCP协议的媒体流数据能够一次性传完,因此若VoIP电话报文的应用层中是RTP/RTCP媒体流数据包,不需要拆包,直接将数据包送入车地通信系统中VoIP业务接口组帧部分进行组帧;After setting the size of the service interface, the media stream data based on the RTP and RTCP protocols can be transmitted at one time. Therefore, if the application layer of the VoIP phone message contains RTP/RTCP media stream data packets, there is no need to unpack the packets, and the data packets can be directly Send it to the framing part of the VoIP service interface in the vehicle-ground communication system for framing;

而基于SIP协议的信令数据可能无法一次传输,因此若超过业务接口的空间大小,对基于SIP协议的信令数据进行分片是有必要的。因此若VoIP电话报文的应用层中是SIP信令数据包,因涉及到拆分数据,其按照4字节标识符与210字节数据内容对VoIP业务接口重新设计。首先确定数据包的长度是否超过车地通信系统中VoIP业务接口给SIP信令数据包分配的大小(210字节),若超过则将数据包进行拆包;然后将送入车地通信系统中VoIP业务接口组帧部分进行组帧。拆包后每片数据被拆成固定合适的大小,若最后一片数量不满足大小规定,也封成一片处理。将基于SIP协议的信令数据包拆包后,还需添加标识符使后续接收组包的时候能够恢复成原有的报文。其具体拆包方式如图3和图4(2)和(3)所示。将完成SIP协议后并包装到网络层的信令数据包按照每片字节大小为210字节数分片,若最后一片字节大小不足210字节,用0补足字节。其中4字节的标识符设计是:帧头占8个bit,设计为:0x80(1000_0000),总包数位宽占4bit,即分的一共可能有0到15个分包,分包序号同样占4bit,每一个序号代表其是第几分包;例如0101_0100,即一次传输总共分了5个分包,该分包为第4个分包。有效信令长度的位宽占8bit,代表信令中有效的信令数据的长度,除了最后一个分包,该值都为1101_0010,最后一个分包根据其实际的有效信令数据长度赋值,例如0_1011_1110,代表最后一个分包有效数据为190个字节。最后一位为7bit的首部CRC校验码,以及1bit的0表示标识符的最后一位。The signaling data based on the SIP protocol may not be transmitted at one time, so if the space size of the service interface is exceeded, it is necessary to fragment the signaling data based on the SIP protocol. Therefore, if the application layer of the VoIP telephony message is a SIP signaling packet, because it involves splitting data, it redesigns the VoIP service interface according to the 4-byte identifier and 210-byte data content. First determine whether the length of the data packet exceeds the size (210 bytes) allocated to the SIP signaling data packet by the VoIP service interface in the vehicle-to-ground communication system. If it exceeds, the data packet will be unpacked; then it will be sent to the vehicle-to-ground communication system The framing part of the VoIP service interface performs framing. After unpacking, each piece of data is disassembled into a fixed and appropriate size. If the number of the last piece does not meet the size requirements, it will also be sealed into one piece for processing. After unpacking the signaling data packet based on the SIP protocol, an identifier needs to be added so that the original message can be restored when receiving the group packet subsequently. The specific unpacking method is shown in Figure 3 and Figure 4 (2) and (3). After completing the SIP protocol and packaging the signaling data packets to the network layer, the size of each piece of bytes is 210 bytes. If the size of the last piece of bytes is less than 210 bytes, fill the bytes with 0. Among them, the 4-byte identifier design is: the frame header occupies 8 bits, and the design is: 0x80 (1000_0000), and the total packet width occupies 4 bits, that is, there may be 0 to 15 subpackages in total, and the subpackage sequence number also occupies 4bit, each serial number represents which subpackage it is; for example, 0101_0100, that is, a total of 5 subpackets are divided into one transmission, and this subpackage is the fourth subpackage. The bit width of the effective signaling length is 8 bits, which represents the length of the effective signaling data in the signaling. Except for the last packet, the value is 1101_0010. The last packet is assigned according to its actual effective signaling data length, for example 0_1011_1110, which means that the last packet valid data is 190 bytes. The last bit is the 7-bit header CRC check code, and the 1-bit 0 indicates the last bit of the identifier.

其中标识符的设计为:1、最高位为帧头,一般以特殊字符作为其帧头;2、分包的总包数,以及每一包的分包序号;3、给出每一分包的有效数据长度。一般情况下,除最后一个分包数据有效长度不一定是最大值以外,其他每分包数据都会存满为固定的最大值,而最后一个分包的数量可能会不够,由有效数据的长度来确定最后一分包的有效数据。另外再添加首部的校验和,来确定该帧数据传输过程中是否出错,若出错,则重新传输。The design of the identifier is as follows: 1. The highest bit is the frame header, generally with special characters as its frame header; 2. The total number of subpackages, and the subpackage sequence number of each package; 3. Give each subpackage effective data length. In general, except that the effective length of the last subpacket data is not necessarily the maximum value, each other subpacket data will be filled to a fixed maximum value, and the number of the last subpacket may not be enough, depending on the length of the effective data. Determine the valid data of the last packet. In addition, the checksum of the header is added to determine whether there is an error in the frame data transmission process, and if there is an error, retransmit.

业务接口需要将数据重新封装成帧,以适应高速磁浮的通信系统。VoIP业务接口组帧部分进行组帧后的信号包括首部、数据内容部分和尾部,如图4(4)所示。首部包括帧头、功能类型、目的地址、源地址和数据内容的大小,以特殊字符作为帧头;第二部分为功能类型,表明该数据是基于RTP、RTCP还是SIP协议;同时首部还需要确定设备目的地址和源地址,其源地址和目标地址则根据其应用层的源IP地址和目标IP地址并通过查表来确定,以便后续传输处理能够知晓数据来源和目的;The service interface needs to repackage the data into frames to adapt to the high-speed maglev communication system. The signal after framing in the framing part of the VoIP service interface includes a header, a data content part and a tail, as shown in FIG. 4(4). The header includes the frame header, function type, destination address, source address and the size of the data content, with special characters as the frame header; the second part is the function type, indicating whether the data is based on RTP, RTCP or SIP protocol; at the same time, the header needs to be determined The destination address and source address of the device, its source address and destination address are determined according to the source IP address and destination IP address of the application layer and by looking up the table, so that the subsequent transmission process can know the source and purpose of the data;

数据内容部分包括帧头、总片数、片序号、有效数据长度和首部CRC校验;The data content part includes the frame header, the total number of slices, the slice number, the effective data length and the first CRC check;

尾部包括帧校验以及由特殊字符组成的帧尾。The tail includes a frame check and a frame tail composed of special characters.

本实施例中,数据内容是以RTP(RTCP)或SIP分包后的一包数据,再加以首部和尾部组成该业务接口整体,首部和尾部一共占11个字节。其中首部设计成:以16bit的特殊字符作为帧头,例如:0x5a5a。再以2bit长度确定功能类型,即00(缺省),01代表采用的RTP协议,10代表采样的RTCP协议,11代表采用的SIP协议。目的地址和源地址各自都占24bit,提前将每一个列车或每一个基站上每一台调度电话或服务器编号制成表,根据应用层的地址确定通话的源端和目的端,并通过查表填充。尾部主要是以7bitCRC的校验和6bit的帧尾确定,帧尾同样采用特殊字符:0b00_0000,代表整帧的结束。In this embodiment, the data content is a packet of data sub-packetized by RTP (RTCP) or SIP, plus a header and a tail to form the entire service interface. The header and the tail occupy 11 bytes in total. The header is designed to use 16bit special characters as the frame header, for example: 0x5a5a. Then determine the function type with a length of 2 bits, that is, 00 (default), 01 represents the adopted RTP protocol, 10 represents the sampled RTCP protocol, and 11 represents the adopted SIP protocol. Both the destination address and the source address occupy 24 bits, and the number of each dispatching phone or server on each train or each base station is tabulated in advance, and the source and destination of the call are determined according to the address of the application layer, and through table lookup filling. The tail is mainly determined by the 7bit CRC checksum and the 6bit frame end, and the frame end also uses special characters: 0b00_0000, which represents the end of the entire frame.

S4、车载基站通过非TCP/IP协议将组帧后的信号传输到地面基站;车载通信设备根据源IP确定业务接口是否为调度电话,根据原VoIP应用层的目标IP来确定业务接口的目标是地面通信设备。再根据应用层的内容来确定业务接口的协议类型是RTP还是SIP,并通过标识符在业务接口中表示。业务接口的数据部分则是基于RTP/SIP协议的应用层,并进行相应拆包和重新设计之后的数据。S4. The vehicle-mounted base station transmits the framed signal to the ground base station through a non-TCP/IP protocol; the vehicle-mounted communication device determines whether the service interface is a dispatching phone according to the source IP, and determines the target of the service interface according to the target IP of the original VoIP application layer. ground communication equipment. Then determine whether the protocol type of the service interface is RTP or SIP according to the content of the application layer, and express it in the service interface through an identifier. The data part of the business interface is based on the application layer of the RTP/SIP protocol, and the data after corresponding unpacking and redesign.

S5、地面处理的过程与车内发送报文的处理过程相反,地面基站的VoIP业务接口解帧部分对接收到的组帧信号进行解析,解析其接收到的帧结构,首先根据其业务接口的功能来确定后续的网络层和传输层目标IP,根据其传输路径确定传输层/网络层的源IP,并根据标识符来确定其类型是RTP还是SIP;若是RTP协议则直接进行VoIP包装,重新组成VoIP电话报文;若是SIP协议则将接收到的报文进行解封装并将解封装后的报文进行组包,然后进行VoIP包装,重新组成VoIP电话报文;地面设备的报文传输到车内IP电话的流程一样,最后通过整体流程按照信令建立连接,媒体流完成语音数据交互,便能够完成VoIP调度电话的正常通话。S5. The process of ground processing is opposite to the process of sending messages in the vehicle. The VoIP service interface deframing part of the ground base station analyzes the received framing signal and parses the received frame structure. Function to determine the subsequent network layer and transport layer target IP, determine the source IP of the transport layer/network layer according to its transmission path, and determine whether its type is RTP or SIP according to the identifier; if it is the RTP protocol, directly carry out VoIP packaging, and repackage Form the VoIP telephone message; if it is the SIP protocol, the received message will be decapsulated and the decapsulated message will be packaged, and then VoIP packaging will be carried out to recompose the VoIP telephone message; the message of the ground equipment will be transmitted to The process of the IP phone in the car is the same. Finally, the connection is established according to the signaling through the overall process, and the media stream completes the voice data interaction, and then the normal call of the VoIP dispatching phone can be completed.

S6、根据目的端口或信令要求将报文传输到地面IP电话或者地面服务器。S6. Transmitting the message to the ground IP phone or the ground server according to the destination port or signaling requirements.

本领域的普通技术人员将会意识到,这里所述的实施例是为了帮助读者理解本发明的原理,应被理解为本发明的保护范围并不局限于这样的特别陈述和实施例。本领域的普通技术人员可以根据本发明公开的这些技术启示做出各种不脱离本发明实质的其它各种具体变形和组合,这些变形和组合仍然在本发明的保护范围内。Those skilled in the art will appreciate that the embodiments described here are to help readers understand the principles of the present invention, and it should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific modifications and combinations based on the technical revelations disclosed in the present invention without departing from the essence of the present invention, and these modifications and combinations are still within the protection scope of the present invention.

Claims (5)

1. The VoIP telephone message transmission method of the high-speed maglev train-ground communication system is characterized in that communication is carried out between the high-speed maglev train and a ground control center, the high-speed maglev train or the ground control center is used as a signal sender, and the other party is used as a signal receiver; the method is characterized by comprising the following steps of:
s1, transmitting a VoIP phone message of a signal sender to communication equipment of the signal sender through a TCP/IP protocol;
s2, the communication equipment of the signal sender analyzes the VoIP phone message and distributes the IP address;
s3, processing the application layer content of the parsed VoIP phone message, which comprises the following sub-steps:
s31, determining the space size of a VoIP service interface;
s32, judging the protocol type, and processing according to the different protocol types:
if the application layer of the VoIP phone message is an RTP/RTCP media stream data packet, directly sending the data packet into a VoIP service interface framing part in a train-ground communication system for framing without unpacking;
if the application layer of the VoIP phone message is a SIP signaling data packet, firstly determining whether the length of the data packet exceeds the size of a VoIP service interface in the train-ground communication system, and unpacking the data packet according to the size of the service interface if the length of the data packet exceeds the size of the VoIP service interface; then framing the VoIP service interface framing part sent into the train-ground communication system;
s4, the base station of the signal sender transmits the signals after framing to the base station of the signal receiver through a non-TCP/IP protocol;
s5, the VoIP service interface frame de-framing part of the base station of the signal receiver analyzes the received framing signals and determines whether RTP/RTCP or SIP: if the RTP/RTCP protocol is adopted, voIP packaging is directly carried out, and VoIP phone messages are recombined; if the SIP protocol is adopted, the received message is unpacked, the unpacked message is packed, and then VoIP packaging is carried out, so that a VoIP telephone message is recombined;
s6, transmitting the message to the corresponding equipment according to the destination port or the signaling requirement.
2. The method for transmitting VoIP packets in a high-speed maglev train-ground communication system according to claim 1, wherein the VoIP packets consist of voice media streams or signaling, encapsulated by RTP/RTCP or SIP at the application layer, encapsulated by UDP at the transport layer for framing, encapsulated by IP at the network layer, encapsulated by data link layer, and encapsulated by OSI four layers to form VoIP packets.
3. The method for transmitting VoIP messages in a high-speed maglev train-ground communication system according to claim 1, wherein in step S2, the method for assigning IP addresses comprises: the IP telephone of the signal sender is transmitted to the communication equipment of the signal sender, the target IP address is the IP address of the communication equipment of the signal sender, and the source IP address is the IP telephone of the signal sender; setting a source IP address of a message based on SIP or RTP/RTCP in an application layer as an intranet address of an IP telephone of an information sender, and setting a target IP address as an intranet address of an information receiver scheduling server or an information receiver IP telephone; when in transmission, the IP address of the IP telephone or the server needs to be converted into the address of the vehicle-mounted communication equipment or the ground communication equipment, so that the conversion of the TCP/IP network transmission address and the non-TCP/IP network transmission address is completed.
4. The method for transmitting VoIP messages in a high-speed maglev train-ground communication system according to claim 1, wherein the specific implementation method of step S31 is as follows: determining the length of a VoIP service interface in the train-ground communication system based on the size of the RTP after the encapsulation of the application layer is completed; determining the length of the identifier according to the design of the frame structure; the size of the entire service interface is the sum of the length of the VoIP service interface and the length of the identifier.
5. The method for transmitting VoIP messages in a high-speed maglev train-ground communication system according to claim 1, wherein the signal after framing by the VoIP service interface framing portion in step S32 includes a header portion, a data content portion and a tail portion;
the header comprises a frame header, a function type, a destination address, a source address and the size of data content, and special characters are used as the frame header; the second part is a function type, indicating whether the data is based on RTP, RTCP or SIP protocol; meanwhile, the header also needs to determine the destination address and the source address of the equipment, and the source address and the destination address are determined according to the source IP address and the destination IP address of the application layer and by looking up a table;
the data content part comprises a frame header, a total number of slices, a slice sequence number, an effective data length and a header CRC check;
the trailer includes a frame check and a frame trailer consisting of special characters.
CN202310166245.0A 2023-02-24 2023-02-24 VoIP telephone message transmission method for high-speed magnetic levitation vehicle-ground communication system Active CN116155870B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310166245.0A CN116155870B (en) 2023-02-24 2023-02-24 VoIP telephone message transmission method for high-speed magnetic levitation vehicle-ground communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310166245.0A CN116155870B (en) 2023-02-24 2023-02-24 VoIP telephone message transmission method for high-speed magnetic levitation vehicle-ground communication system

Publications (2)

Publication Number Publication Date
CN116155870A true CN116155870A (en) 2023-05-23
CN116155870B CN116155870B (en) 2024-12-13

Family

ID=86340517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310166245.0A Active CN116155870B (en) 2023-02-24 2023-02-24 VoIP telephone message transmission method for high-speed magnetic levitation vehicle-ground communication system

Country Status (1)

Country Link
CN (1) CN116155870B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060187900A1 (en) * 2005-02-22 2006-08-24 Akbar Imran M Method and system for providing private virtual secure Voice over Internet Protocol communications
CN101552848A (en) * 2009-05-20 2009-10-07 杭州华三通信技术有限公司 Session method and apparatus based on session initiation protocol
CN102299962A (en) * 2011-08-24 2011-12-28 中兴通讯股份有限公司 Cloud-based Voice over Internet Protocol (VoIP) system, device and method
CN114475713A (en) * 2022-01-24 2022-05-13 电子科技大学 Multi-source data fusion tapping system and method for high-speed maglev vehicle-ground communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060187900A1 (en) * 2005-02-22 2006-08-24 Akbar Imran M Method and system for providing private virtual secure Voice over Internet Protocol communications
CN101552848A (en) * 2009-05-20 2009-10-07 杭州华三通信技术有限公司 Session method and apparatus based on session initiation protocol
CN102299962A (en) * 2011-08-24 2011-12-28 中兴通讯股份有限公司 Cloud-based Voice over Internet Protocol (VoIP) system, device and method
CN114475713A (en) * 2022-01-24 2022-05-13 电子科技大学 Multi-source data fusion tapping system and method for high-speed maglev vehicle-ground communication system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
HAINING YANG,ET AL: ""The effect of vacuum tunnel on millimeter-wave propagation in high-speed maglev train communication"", 《2021 ASSOCIATION FOR COMPUTING MACHINERY》, 31 December 2021 (2021-12-31) *
SHANQIANG FU, YI TIAN, BOYU LIU: ""Research on data transmission monitoring system of high-speed maglev operation control communication unit"", 《INTERNATIONAL CONFERENCE ON INTELLIGENT SYSTEMS, COMMUNICATIONS, AND COMPUTER NETWORKS》, 31 December 2022 (2022-12-31) *
YONG FAN · MIKKO VALKAMA: ""Enhanced VoIP Support in OFDMA-based Packet Radio Networks"", 《WIRELESS PERS COMMUN》, 31 December 2012 (2012-12-31) *
李廷军, 周正欧: "嵌入式网络设备的MAC及IP地址的设置", 成都电子机械高等专科学校学报, no. 02, 30 June 2004 (2004-06-30) *

Also Published As

Publication number Publication date
CN116155870B (en) 2024-12-13

Similar Documents

Publication Publication Date Title
EP1604535B1 (en) Telecommunications apparatuses and method for communicating internet protocol packet data
CN100525289C (en) System and method for VOIP wireless terminal
CN101317404B (en) Method and system for transmitting IP packets, negotiating bandwidth saving capability, and saving network bandwidth
US7558240B2 (en) Radio telecommunications apparatus and method for communications internet data packets containing different types of data
FI106591B (en) Method of transmitting data transfer flows
US8310988B2 (en) Method of MAC header generation and data transmitting
US8897211B2 (en) System and methods for providing service-specific support for multimedia traffic in wireless networks
JP4024797B2 (en) Method and apparatus for transmitting IP packets between a radio network controller of a mobile radio network and other devices
JP2006522518A5 (en)
KR20060054662A (en) Apparatus and method for header compression in broadband wireless communication system
WO2010020197A1 (en) Data transmission method, communication equipment and communication system
CN102118792B (en) Method and device for transmitting data packets
CN100566330C (en) Hardware, terminal and method for transmitting voice signals in a packet-switched communication network
CN112887497B (en) Communication method, apparatus and computer storage medium
US9148257B2 (en) Method and apparatus for reducing delays in a packets switched network
KR100689473B1 (en) Protocol header compression device and method in communication system
CN105323250B (en) A data transmission method based on PTT public network trunking intercom system
CN116155870B (en) VoIP telephone message transmission method for high-speed magnetic levitation vehicle-ground communication system
CN101155141A (en) Packet Voice Packet Transmission Method and System
CN101309205A (en) A data transmission method, communication system, base station controller, and media gateway
CN102118356A (en) Message transmission method and transmission device
CN101562911B (en) Wireless access system air interface RTP agent technology supporting end-to-end application
CN100454906C (en) Method and gateway for transmitting voice stream based on network bearer in wireless packet network
CN100428733C (en) Error recovery method and device for IP header compression in mobile communication network
CN109257772A (en) A kind of sending, receiving method and user equipment of RTP data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant