CN107659575B - Broadband cluster multimedia function body and session method thereof - Google Patents

Broadband cluster multimedia function body and session method thereof Download PDF

Info

Publication number
CN107659575B
CN107659575B CN201710949341.7A CN201710949341A CN107659575B CN 107659575 B CN107659575 B CN 107659575B CN 201710949341 A CN201710949341 A CN 201710949341A CN 107659575 B CN107659575 B CN 107659575B
Authority
CN
China
Prior art keywords
session
user plane
rtp
udp port
multimedia
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201710949341.7A
Other languages
Chinese (zh)
Other versions
CN107659575A (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.)
Comba Network Systems Co Ltd
Original Assignee
Comba Telecom Systems China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Comba Telecom Systems China Ltd filed Critical Comba Telecom Systems China Ltd
Priority to CN201710949341.7A priority Critical patent/CN107659575B/en
Publication of CN107659575A publication Critical patent/CN107659575A/en
Application granted granted Critical
Publication of CN107659575B publication Critical patent/CN107659575B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0033Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information
    • 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/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/04Large scale networks; Deep hierarchical networks
    • H04W84/08Trunked mobile radio systems

Abstract

The embodiment of the invention discloses a broadband cluster multimedia functional body and a session method thereof, wherein the method comprises the following steps: extracting a source IP, a source UDP port, a destination IP and a destination UDP port of an RTP user plane data packet; using a source IP and a source UDP port as a first key value, using a target IP and a target UDP port as a second key value, and searching a matched session key word in a current session management table according to the first key value and the second key value, wherein the session key word is a user plane IP and a UDP port of a called terminal corresponding to a session; acquiring a session value corresponding to the searched session key word from a session management table, wherein the session management table comprises the session key word of each session and the session value corresponding to the session key word; and extracting the multimedia information in the RTP user plane data packet, and forwarding the RTP user plane data packet if the multimedia information is consistent with the session value. The invention simplifies the conversation process between the TCF and the TMF, ensures the forwarding efficiency of the cluster data packet and improves the transmission quality of the cluster data packet.

Description

Broadband cluster multimedia function body and session method thereof
Technical Field
The invention relates to the technical field of broadband trunking communication, in particular to a broadband trunking multimedia function body and a session method thereof.
Background
With the rapid development of the industries such as global public safety, government affairs, traffic, energy and the like, the requirements of industry users on broadband wireless data service and multimedia cluster scheduling are urgent on the basis of the traditional voice cluster. LTE (Long term evolution ) has become a choice of wireless private network broadband technology with its technical and industrial advantages, and broadband trunking technology based on LTE technology also becomes a consensus for global wireless private network development. The standardization work of Broadband Trunking (B-trunk Communication) technology based on the LTE technology is developed in China, and the technology and industry are developed rapidly by establishing independent innovation and closely connecting with the application requirements of the industry. Currently, the B-TrunC phase industry standard has been promulgated formally and becomes the first PPDR (Public Protection and disasser release) broadband trunking air interface standard recommended by ITU (International telecommunications Union). With the frequency planning of the broadband digital trunking private network released by the Ministry of industry and communications, the B-trunk C obtains policy support of 1.4GHz and 1.8GHz frequency bands. At present, the B-Trunc system is widely applied to the industries of public safety, government affairs, transportation, energy and the like.
In the B-TrunC broadband trunking alliance specification, a trunking core network architecture scheme based on an EPC system is defined, and there are a plurality of decomposition modes, which are detailed in "B-TrunC TR 001 broadband trunking communication (B-TrunC) system (first stage) overall technical requirements" based on LTE technology. According to the B-TrunC alliance standard, the core network element of the broadband Trunking system includes a TCF (Trunking Control Function) and a TMF (Trunking media Function) newly added network element. The B-TrunC network architecture diagram is shown in figure 1.
At present, there is no unified standard for a communication interface between the TCF and the TMF, and an RTP (Real-time Transport Protocol) session mode between the TCF and the TMF is often implemented by looking up a source IP address, a source port number, a destination IP address, and a destination port number in a session management table at the same time, so that the implementation logic of the session between the TCF and the TMF is relatively complex, which results in very low efficiency of querying a cluster data packet, thereby causing congestion of the data packet or loss of the data packet, etc., which cannot guarantee the forwarding efficiency of data packet transmission, and affects the transmission quality.
Disclosure of Invention
In view of the above problems, the present invention provides a broadband trunking multimedia function and a session method thereof, which overcome or at least partially solve the above problems, so as to simplify the session procedure between the TCF and the TMF, ensure the forwarding efficiency of trunking data packets, and improve the transmission quality of trunking data packets.
In one aspect of the present invention, a session method for a broadband cluster multimedia function is provided, including:
when receiving an RTP user plane data packet, extracting a source IP, a source UDP port, a destination IP and a destination UDP port of the RTP user plane data packet;
taking the source IP and the source UDP port as first key values, taking the target IP and the target UDP port as second key values, and searching matched session keywords in a current session management table according to the first key values and the second key values, wherein the session keywords are user plane IP and UDP ports of a called terminal corresponding to a session;
acquiring a session value corresponding to the searched session keyword from the session management table, wherein the session management table comprises the session keyword of each session and a session value corresponding to the session keyword, and the session value is a multimedia parameter corresponding to the session;
and extracting multimedia information in the RTP user plane data packet, and if the multimedia information is consistent with the session value, forwarding the RTP user plane data packet according to the target IP and the target UDP port.
Wherein, if the multimedia information is not consistent with the session value, the method further comprises:
and coding the multimedia information according to a predetermined coding format, and forwarding the recoded RTP user plane data packet according to the target IP and the target UDP port.
Before receiving the RTP user plane data packet, the method further includes:
receiving an RTP session creation request message sent by a TCF (control communication function), wherein the RTP session creation request message comprises a session ID, a user plane IP (Internet protocol) and UDP (user Datagram protocol) port of a called terminal and session multimedia parameters;
extracting a user plane IP (Internet protocol), a UDP (user Datagram protocol) port and a session multimedia parameter of the called terminal, taking the user plane IP and the UDP port of the called terminal as session keywords, taking the multimedia information as a corresponding session value, and creating a session table item corresponding to the session ID in the session management table;
and sending a session creation response message to the TCF, wherein the session creation response message carries a creation result of the session table entry.
Wherein after the sending the session creation response message to the TCF, further comprising:
receiving an RTP session updating request message sent by a TCF, wherein the RTP session updating request message comprises the session ID, a user plane IP (Internet protocol) and a UDP (user Datagram protocol) port of a DC (direct Current) dispatching desk;
extracting the user plane IP and the UDP port of the DC, searching a corresponding session table item in the session management table according to the session ID, and adding the user plane IP and the UDP port of the DC into a session value of the session table item to update the session table item;
and sending a session update response message to the TCF, wherein the session update response message carries an update result of the session table entry.
Wherein after the forwarding the RTP user plane packet according to the destination IP and the destination UDP port, the method further comprises:
comparing the source IP with the user plane IP of the DC;
if the source IP is not consistent with the user plane IP of the DC, comparing the target IP with the user plane IP of the DC;
and if the target IP is not consistent with the DC user plane IP, forwarding the RTP user plane data packet to the DC according to the DC user plane IP and the UDP port.
Wherein the method further comprises:
and if the source IP is consistent with the user plane IP of the DC, or the target IP is consistent with the user plane IP of the DC, ending the session data processing process.
Wherein the method further comprises:
when receiving an RTP session deletion request message sent by the TCF, extracting a session ID carried in the RTP session deletion request message;
according to the session ID carried in the RTP session deletion request message, searching a corresponding session table item in the session management table and deleting the session table item;
and sending a session deletion response message to the TCF, wherein the session deletion response message carries a deletion result of the session table entry.
In one aspect of the present invention, a broadband trunking multimedia function is provided, comprising:
the device comprises an extraction module, a source module and a destination module, wherein the extraction module is used for extracting a source IP, a source UDP port, a destination IP and a destination UDP port of an RTP user plane data packet when the RTP user plane data packet is received;
the query module is used for taking the source IP and the source UDP port as first key values, taking the target IP and the target UDP port as second key values, and searching matched session keywords in a current session management table according to the first key values and the second key values, wherein the session keywords are user plane IP and UDP ports of a called terminal corresponding to a session;
an obtaining module, configured to obtain, from the session management table, a session value corresponding to the searched session keyword, where the session management table includes the session keyword of each session and a session value corresponding to the session keyword, and the session value is a multimedia parameter corresponding to the session;
and the sending module is used for extracting the multimedia information in the RTP user plane data packet, and if the multimedia information is consistent with the session value, forwarding the RTP user plane data packet according to the target IP and the target UDP port.
And the sending module is further configured to, when the multimedia information is inconsistent with the session value, encode the multimedia information according to a pre-agreed encoding format, and forward the re-encoded RTP user plane data packet according to the destination IP and the destination UDP port.
Wherein, the broadband cluster multimedia function further comprises a receiving module and a table item creating module:
a receiving module, configured to receive an RTP session creation request message sent by a TCF before the extracting module receives an RTP user plane packet, where the RTP session creation request message includes a session ID, a user plane IP and UDP port of a called terminal, and a session multimedia parameter;
a table item creating module, configured to extract a user plane IP, a UDP port, and a session multimedia parameter of the called terminal, use the user plane IP and the UDP port of the called terminal as session keywords, use the multimedia information as a corresponding session value, and create a session table item corresponding to the session ID in the session management table;
the sending module is further configured to send a session creation response message to the TCF, where the session creation response message carries a creation result of the session entry.
The technical scheme provided in the embodiment of the application has the following technical effects or advantages:
the broadband cluster multimedia function body and the session method thereof provided by the embodiment of the invention carry out session management between the TMF and the TCF and data transmission between the TMF and the terminal and/or the dispatching desk through the self-defined T3 interface and the session management table, wherein the session key word of the session management table of the TMF only uses the combination of the user plane IP and the UDP port of the called terminal to create one table item, and the calling IP and the UDP port are not required to be used as the session key word to create another table item, so that not only half of table item management can be saved, but also in the process of data transmission, when the calling party is changed, the table item is not required to be modified, and the high-speed forwarding of the user plane is facilitated. The session management table in the embodiment of the invention simultaneously supports the session initiated by the terminal and/or the dispatching desk, and does not need to be treated differently when the table item management is carried out. The invention simplifies the conversation process between the TCF and the TMF, improves the forwarding efficiency of the cluster data packet transmission, and ensures the transmission quality of the cluster data packet.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a diagram of a B-Trunc network architecture diagram as set forth in the background;
FIG. 2 is a schematic diagram of a TMF system context according to an embodiment of the present invention;
fig. 3 is a schematic diagram of functional division of a broadband cluster multimedia function body according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an SGi interface protocol stack of a broadband cluster multimedia function body according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a D-U interface protocol stack of a broadband cluster multimedia function body according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a protocol stack of a T3 interface of a broadband cluster multimedia function according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a T3 interface message definition according to an embodiment of the present invention;
fig. 8 is a flowchart of a T3 interface message according to an embodiment of the present invention;
fig. 9 is a schematic diagram of an RTP session management table according to an embodiment of the present invention;
fig. 10 is a flowchart of a session method of a broadband cluster multimedia function according to an embodiment of the present invention;
fig. 11 is a flowchart of a session method of a broadband trunking multimedia function according to another embodiment of the present invention;
fig. 12 is a block diagram of a broadband cluster multimedia function body according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 2 schematically shows a TMF system context diagram proposed by the embodiment of the present invention. As shown in fig. 2, in the present invention, the cluster control function TCF communicates with the TMF through the T3 interface, and controls the TMF to create, modify, and delete the RTP session; the TMF carries out RTP user plane data forwarding through the SGi interface and the integrated gateway xGW; and RTP user plane data forwarding is carried out between the TMF and the DC (dispatching client) through a D-U interface. The T3 interface between the TMF and the TCF has no standard protocol specification, and is realized by adopting a custom T3 interface, so that the message transmission between the TMF and the TCF is simple and efficient.
Fig. 3 schematically shows a functional division diagram of a broadband cluster multimedia functional body according to an embodiment of the present invention, and as shown in fig. 3, a TMF is divided into 3 major parts according to functions: RTP user plane transmission section 101, RTP session management table section 102, and T3 interface communication management section 103.
The RTP user plane transmission part is mainly responsible for receiving xGW or the RTP packet sent by the DC, then searching the RTP session management table, and performing the next routing forwarding according to the table entry.
The RTP session management table part mainly realizes the management of the RTP session context in the form of table entries and provides table entry creation, modification, query and deletion operations for the other two functional parts. In this embodiment, the RTP session management table may specifically be implemented by using a HASH table, and the management of the RTP session context is implemented in the form of a HASH table entry.
The T3 interface communication management mainly provides the message communication implementation between the TMF and the TCF, and adopts a custom message format. When receiving TCF message, calling interface provided by RTP session management table according to message type to make session creation, modification and deletion operation.
Fig. 4 is a schematic diagram of an SGi interface protocol stack of a broadband cluster multimedia functional entity according to an embodiment of the present invention, where as shown in fig. 4, an application layer protocol of the SGi interface is RTP, and a transport layer protocol is UDP; fig. 5 is a schematic diagram of a D-U interface protocol stack of a broadband cluster multimedia functional body according to an embodiment of the present invention, and as shown in fig. 5, a D-U interface application layer protocol is RTP, and a transport layer protocol is UDP; fig. 6 is a schematic diagram of a T3 interface Protocol stack of a broadband cluster multimedia function body according to an embodiment of the present invention, and as shown in fig. 6, a custom Protocol (SDP) is used as an application layer Protocol of a T3 interface, and a TCP is used as a transport layer Protocol.
Fig. 7 is a schematic diagram of the T3 interface message definition according to the embodiment of the present invention, and as shown in fig. 7, a T3 interface defines a total of 4 messages: RTP session creation message rtpsessuioncreatormsg, RTP session update message rtpsessuionupdatemsg, RTP session deletion message rtpsessuiondestroymsg, RTP session response message rtpsessuionmsgcack.
Fig. 8 is a flowchart of a T3 interface message according to an embodiment of the present invention, and as shown in fig. 8, a T3 interface message flow specifically includes the following steps:
creating a session: the TMF receives an RTP session creation request message RtpSessionCreatorMsg sent by the TCF, wherein the RTP session creation request message comprises a session ID, a user plane IP (Internet protocol) and a UDP (user Datagram protocol) port of a called terminal and session multimedia parameters;
the TMF extracts the user plane IP and the UDP port of the called terminal in the RTP session establishing request message as a hash key, takes multimedia parameters as a hash value, calls an RTP session management table interface, establishes an item in the hash table and stores the hash value in the item;
and the TMF sends a session creation response message RtpSessionMsgAck back to the TCF, and the session creation response message carries the session creation result to be successful or failed.
Updating the session: the TMF receives an RTP session updating request message sent by the TCF, wherein the RTP session updating request message comprises a session ID, a DC user plane IP and a UDP port;
after receiving the RTP session update request message RtpSessionUpdateMsg, the TMF extracts a user plane IP and a UDP port of a DC in the RTP session update request message RtpSessionUpdateMsg, finds a previously created hash table entry according to a session ID in the RTP session update request message RtpSessionUpdateMsg, and adds information of the DC to a hash value;
the TMF sends a session update response message RtpSessionUpdateMsg back to the TCF, which carries the session update result success or failure.
The TMF receives an RTP session deletion request message RtpSessionMsgAck sent by the TCF, wherein the RTP session deletion request message RtpSessionMsgAck comprises a session ID.
And deleting the session: after receiving the RTP session deletion request message RtpSessionDestroyMsg, the TMF finds and deletes the previously created hash table entry according to the session ID in the RTP session deletion request message RtpSessionDestroyMsg.
The TMF sends the RTP session deletion response message RtpSessionMsgAck back to the TCF, and the message carries the session deletion result success or failure.
Table 1 shows an RTP session management table provided in the embodiment of the present invention, where the RTP session management table is implemented by using a HASH table, and the details are as follows:
table 1 RTP session management table
Conversation keyword (hash key) Session value (hash value)
RtpSessionKey1 RtpSessionltem 1
RtpSessionKey 2 RtpSessionltem 2
。。。 。。。
RtpSessiOnKey n RtpSessionltem n
Fig. 9 schematically shows a schematic diagram of an RTP session management table according to an embodiment of the present invention, as shown in fig. 9, in this embodiment, the RTP session management table is implemented by using a HASH table, a HASH key is used as a session key RtpSessionKey of the session management table, which is composed of a user plane IP and a UDP port of a called terminal, and a HASH value is used as a session value rtpsessionetem of the session management table, which is composed of a user plane IP, a UDP port, and a user plane multimedia parameter of a console DC. The RTP session management of the TMF adopts HASH table management, the table items are searched quickly and efficiently, and the high-speed forwarding of the user plane is facilitated.
Fig. 10 schematically shows a flowchart of a session method of a broadband trunking multimedia function proposed by an embodiment of the present invention. Referring to fig. 10, the embodiment of the present invention specifically includes the following steps:
s201, when receiving an RTP user interface data packet, extracting a source IP, a source UDP port, a destination IP and a destination UDP port of the RTP user interface data packet.
S202, taking the source IP and the source UDP port as first key values, taking the target IP and the target UDP port as second key values, and searching matched session keywords in a current session management table according to the first key values and the second key values, wherein the session keywords are user plane IP and UDP ports of a called terminal corresponding to a session.
S203, obtaining the session value corresponding to the searched session keyword from the session management table, where the session management table includes the session keyword of each session and the session value corresponding to the session keyword, and the session value is a multimedia parameter corresponding to the session.
S204, extracting the multimedia information in the RTP user plane data packet, and if the multimedia information is consistent with the session value, forwarding the RTP user plane data packet according to the target IP and the target UDP port.
In another embodiment of the present invention, if the multimedia information is not consistent with the session value, the method further includes the following steps:
and coding the multimedia information according to a predetermined coding format, and forwarding the recoded RTP user plane data packet according to the target IP and the target UDP port.
In practical application, before receiving an RTP user plane data packet, the method further includes a step of creating a corresponding session table entry in a session management table, and the method is specifically implemented as follows:
receiving an RTP session creation request message sent by a TCF (control communication function), wherein the RTP session creation request message comprises a session ID, a user plane IP (Internet protocol) and UDP (user Datagram protocol) port of a called terminal and session multimedia parameters;
extracting a user plane IP (Internet protocol), a UDP (user Datagram protocol) port and a session multimedia parameter of the called terminal, taking the user plane IP and the UDP port of the called terminal as session keywords, taking the multimedia information as a corresponding session value, and creating a session table item corresponding to the session ID in the session management table;
and sending a session creation response message to the TCF, wherein the session creation response message carries a creation result of the session table entry, and the creation result specifically comprises success and failure.
Further, after the sending of the session creation response message to the TCF, the method further includes a step of updating a session entry, which is specifically implemented as follows:
receiving an RTP session updating request message sent by a TCF, wherein the RTP session updating request message comprises the session ID, a user plane IP (Internet protocol) and a UDP (user Datagram protocol) port of a DC (direct Current) dispatching desk;
extracting the user plane IP and the UDP port of the DC, searching a corresponding session table item in the session management table according to the session ID, and adding the user plane IP and the UDP port of the DC into a session value of the session table item to update the session table item;
and sending a session update response message to the TCF, wherein the session update response message carries an update result of the session table entry, and the update result specifically comprises success and failure.
Correspondingly, after the RTP user plane packet is forwarded according to the destination IP and the destination UDP port, the method further includes the following steps:
comparing the source IP with the user plane IP of the DC;
if the source IP is consistent with the user plane IP of the DC, ending the session data processing process; if the source IP is not consistent with the user plane IP of the DC, comparing the target IP with the user plane IP of the DC;
if the target IP is not consistent with the user plane IP of the DC, forwarding the RTP user plane data packet to the DC according to the user plane IP of the DC and a UDP port;
and if the destination IP is consistent with the user plane IP of the DC, ending the session data processing process.
In the embodiment of the present invention, the method further includes a step of deleting the session table entry, which is specifically implemented as follows:
when receiving an RTP session deletion request message sent by the TCF, extracting a session ID carried in the RTP session deletion request message;
according to the session ID carried in the RTP session deletion request message, searching a corresponding session table item in the session management table and deleting the session table item;
and sending a session deletion response message to the TCF, wherein the session deletion response message carries a deletion result of the session table entry, and the deletion result specifically comprises success and failure.
A detailed description is given below of a session method implementation flow of a broadband cluster multimedia function in practical application by a specific embodiment, where a hash table is used to implement a session management table in this embodiment. As shown in fig. 11, the details are as follows:
step 1: creating a session, comprising: according to the service flow TCF, sending an RTP session establishment request message to the TMF, wherein the message contains a session ID, a user plane IP (Internet protocol) and a UDP (user Datagram protocol) port of a called terminal and session multimedia related parameters; after receiving the RTP session creation request message, the TMF extracts a user plane IP (Internet protocol) and a UDP (user Datagram protocol) port of the called terminal in the message as a hash key, takes multimedia parameters in the message as a hash value, calls an RTP session management table interface to create a hash table item, and stores the hash value in the table item; the TMF sends a session creation response message back to the TCF, which carries the session creation result as success or failure.
The key value of the HASH table of the TMF is a combination of the IP and UDP ports of the called party, and only one table entry is created, while the IP and UDP ports of the calling party are not used as keys to create another table entry, so that half of table entry management can be saved on one hand, and on the other hand, when the calling party changes, the table entry does not need to be modified.
RTP session management supports both terminal-initiated sessions and DC-initiated sessions, and entry management is consistent and does not require differential treatment.
Step 2: an update session comprising: according to the service flow TCF, sending an RTP session update request message to the TMF, wherein the message contains a session ID, a DC user plane IP and a UDP port; after receiving the RTP session updating request message, the TMF extracts the DC user plane IP and the UDP port in the message, finds the previously created hash table item according to the session ID in the message, and adds the DC information into the hash value; the TMF sends back a session update response message to the TCF, which carries the session update result as successful or failed.
And step 3: after receiving an RTP user side packet, the RTP user side transmission module of the TMF first decodes the IP layer and the UDP layer, and respectively forms a source IP, a source UDP port, a destination IP, and a destination UDP port into two hash keys, because the packet may be from a calling party or a called party, and cannot be determined according to the source and destination IP, and the hash key of the hash table entry is used by the called IP and UDP ports when being created, two hash keys are required to be formed, and if the packet is sent by the calling party or the called party, one hash key must find the corresponding hash value. This is why we do not need to create two hash entries, saving half the space and management effort.
And 4, step 4: the two hash keys are used for respectively searching the hash table, and the structure of the hash table is shown in FIG. 7. If the corresponding hash value is not found, the data packet is not the data in any call, and the processing flow is exited; if so, go to step 5.
And 5: and further decoding the multimedia information above the RTP layer, checking the multimedia information stored in the hash value during session creation, and entering the step 6.
Step 6: judging whether the multimedia information is consistent, if not, entering step 7; if so, go to step 8.
And 7: and converting the coding format according to the multimedia parameters negotiated by the session, and entering the step 8.
And 8: since the TMF does not need to change the IP and UDP information in the original packet, after the above processing, the packet is directly sent according to the routing table of the TMF, and the process proceeds to step 9.
And step 9: according to the cluster service mode, the DC can be used as both parties of a call, or can receive only session data by using the identity of a third party, and if the session data is the latter, whether the data needs to be forwarded to the DC needs to be judged. Because the TCF updates the DC user plane information to the TMF through the session update message, if the DC information does not exist in the hash value of the TMF, the data processing is finished; if there is DC information, indicating that DC is a participant in the session, step 10 should be entered.
Step 10: judging whether the data comes from the DC or not by comparing the source IP of the data packet with the IP of the DC, if so, indicating that the DC participates in the conversation by the calling identity or the called identity, and the data is sent to the DC without copying, thus finishing the data processing; if not, step 11 is entered.
Step 11: judging whether the data is sent to the DC or not by comparing the destination IP of the data packet with the IP of the DC, if so, because the data is sent in the step 8, the data does not need to be sent again; if not, it indicates that the data is neither from nor to the DC, and the DC participates in the session as a third party identity, and a copy of the data needs to be forwarded to the DC, and step 12 is entered.
Step 12: copying the data, respectively replacing the destination IP and destination UDP ports with the IP and UDP ports of the DC, forwarding the data to the DC according to the route, and ending the whole processing flow of the data packet.
Step 13: a delete session comprising: according to the service flow TCF, sending an RTP session deletion request message to the TMF, wherein the message is provided with a session ID; after receiving the RTP session deletion request message, the TMF finds and deletes the previously created hash table entry according to the session ID in the message; the TMF sends back a session deletion response message to the TCF, and the message carries the session deletion result to be successful or failed.
For simplicity of explanation, the method embodiments are described as a series of acts or combinations, but those skilled in the art will appreciate that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently with other steps in accordance with the embodiments of the invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
The session method of the broadband cluster multimedia function body provided by the embodiment of the invention carries out session management between the TMF and the TCF and data transmission between the TMF and the terminal and/or the dispatching desk through the self-defined T3 interface and the session management table, wherein the session key word of the session management table of the TMF only uses the combination of the user plane IP and the UDP port of the called terminal to create one table item, and does not need to adopt the calling IP and the UDP port as the session key word to create another table item, so that not only half of table item management can be saved, but also in the process of data transmission, when the calling party changes, the table item does not need to be modified, and the high-speed forwarding of the user plane is facilitated. The session management table in the embodiment of the invention simultaneously supports the session initiated by the terminal and/or the dispatching desk, and does not need to be treated differently when the table item management is carried out. The invention simplifies the conversation process between the TCF and the TMF, improves the forwarding efficiency of the cluster data packet transmission, and ensures the transmission quality of the cluster data packet.
Fig. 12 is a block diagram of a broadband cluster multimedia function body according to an embodiment of the present invention, and as shown in fig. 12, the broadband cluster multimedia function body specifically includes an extracting module 301, an inquiring module 302, an obtaining module 303, and a sending module 304, where:
the extraction module 301: when receiving an RTP user plane data packet, extracting a source IP, a source UDP port, a destination IP and a destination UDP port of the RTP user plane data packet;
the query module 302: taking the source IP and the source UDP port as first key values, taking the target IP and the target UDP port as second key values, and searching matched session keywords in a current session management table according to the first key values and the second key values, wherein the session keywords are user plane IP and UDP ports of a called terminal corresponding to a session;
the obtaining module 303: acquiring a session value corresponding to the searched session keyword from the session management table, wherein the session management table comprises the session keyword of each session and a session value corresponding to the session keyword, and the session value is a multimedia parameter corresponding to the session;
the sending module 304: and extracting multimedia information in the RTP user plane data packet, and if the multimedia information is consistent with the session value, forwarding the RTP user plane data packet according to the target IP and the target UDP port.
In another embodiment of the present invention, the sending module 304 is further configured to, when the multimedia information is inconsistent with the session value, encode the multimedia information according to a pre-agreed encoding format, and forward the re-encoded RTP user plane packet according to the destination IP and the destination UDP port.
Wherein the broadband clustered multimedia function further comprises a receiving module and an entry creation module, not shown in the figures, wherein: the receiving module is configured to receive an RTP session creation request message sent by a TCF before the extracting module receives an RTP user plane packet, where the RTP session creation request message includes a session ID, a user plane IP and UDP port of a called terminal, and a session multimedia parameter; the table item creating module is configured to extract the user plane IP, the UDP port, and the session multimedia parameter of the called terminal, use the user plane IP and the UDP port of the called terminal as session keywords, use the multimedia information as a corresponding session value, and create a session table item corresponding to the session ID in the session management table.
Correspondingly, the sending module 304 is further configured to send a session creation response message to the TCF, where the session creation response message carries a creation result of a session entry.
In an embodiment of the present invention, the broadband cluster multimedia function further includes a session update request module and an update session table entry module, which are not shown in the attached drawings, wherein: the session update request module is configured to receive an RTP session update request message sent by the TCF after the session creation response message is sent to the TCF, where the RTP session update request message includes the session ID, the user plane IP of the dispatcher station DC, and the UDP port; and the session table item updating module is used for extracting the user plane IP and the UDP port of the DC, searching a corresponding session table item in the session management table according to the session ID, and adding the user plane IP and the UDP port of the DC into the session value of the session table item to update the session table item. Correspondingly, the sending module 304 is further configured to send a session update response message to the TCF, where the session update response message carries an update result of the session entry.
In the embodiment of the present invention, the broadband cluster multimedia function further includes a source comparison module and a destination comparison module, which are not shown in the attached drawings, wherein: the source comparison module is configured to compare the source IP with the DC user plane IP after the RTP user plane packet is forwarded according to the destination IP and the destination UDP port; the destination comparison module is configured to compare the destination IP with the user plane IP of the DC when the source IP is inconsistent with the user plane IP of the DC; correspondingly, the sending module 304 is further configured to forward the RTP user plane packet to the DC according to the user plane IP and the UDP port of the DC when the destination IP is not consistent with the user plane IP of the DC.
Further, the source comparing module is further configured to end the session data processing procedure when the source IP is consistent with the user plane IP of the DC, or when the destination IP is consistent with the user plane IP of the DC.
In an optional embodiment of the present invention, the broadband trunking multimedia function further comprises a deletion request message receiving module and a session table entry deletion module, which are not shown in the drawings, wherein: the deletion request message receiving module is configured to extract a session ID carried in an RTP session deletion request message when receiving the RTP session deletion request message sent by the TCF; and the session table item deleting module is used for searching and deleting the corresponding session table item in the session management table according to the session ID carried in the RTP session deleting request message. Correspondingly, the sending module 304 is further configured to send a session deletion response message to the TCF, where the session deletion response message carries a deletion result of the session entry.
The broadband cluster multimedia function body and the session method thereof provided by the embodiment of the invention carry out session management between the TMF and the TCF and data transmission between the TMF and the terminal and/or the dispatching desk through the self-defined T3 interface and the session management table, wherein the session key word of the session management table of the TMF only uses the combination of the user plane IP and the UDP port of the called terminal to create one table item, and the calling IP and the UDP port are not required to be used as the session key word to create another table item, so that not only half of table item management can be saved, but also in the process of data transmission, when the calling party is changed, the table item is not required to be modified, and the high-speed forwarding of the user plane is facilitated. The session management table in the embodiment of the invention simultaneously supports the session initiated by the terminal and/or the dispatching desk, and does not need to be treated differently when the table item management is carried out. The invention simplifies the conversation process between the TCF and the TMF, improves the forwarding efficiency of the cluster data packet transmission, and ensures the transmission quality of the cluster data packet.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the terminal in the embodiments may be adaptively changed and disposed in one or more terminals different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or terminal so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (10)

1. A session method for a broadband trunking multimedia function, the method comprising:
when receiving an RTP user plane data packet, extracting a source IP, a source UDP port, a destination IP and a destination UDP port of the RTP user plane data packet;
taking the source IP and the source UDP port as first key values, taking the target IP and the target UDP port as second key values, and respectively searching matched session keywords in a current session management table according to the first key values and the second key values, wherein the session keywords are a user plane IP and a UDP port of a called terminal corresponding to a session;
acquiring a session value corresponding to the searched session keyword from the session management table, wherein the session management table comprises the session keyword of each session and a session value corresponding to the session keyword, and the session value is a multimedia parameter corresponding to the session;
and extracting multimedia information in the RTP user plane data packet, and if the multimedia information is consistent with the session value, forwarding the RTP user plane data packet according to the target IP and the target UDP port.
2. The method of claim 1, wherein if the multimedia information is not consistent with the session value, the method further comprises:
and coding the multimedia information according to a predetermined coding format, and forwarding the recoded RTP user plane data packet according to the target IP and the target UDP port.
3. The method of claim 1, wherein prior to receiving an RTP user plane packet, the method further comprises:
receiving an RTP session creation request message sent by a TCF (control communication function), wherein the RTP session creation request message comprises a session ID, a user plane IP (Internet protocol) and UDP (user Datagram protocol) port of a called terminal and session multimedia parameters;
extracting a user plane IP (Internet protocol), a UDP (user Datagram protocol) port and a session multimedia parameter of the called terminal, taking the user plane IP and the UDP port of the called terminal as session keywords, taking the multimedia information as a corresponding session value, and creating a session table item corresponding to the session ID in the session management table;
and sending a session creation response message to the TCF, wherein the session creation response message carries a creation result of the session table entry.
4. The method of claim 3, after the sending a session creation response message to the TCF, further comprising:
receiving an RTP session updating request message sent by a TCF, wherein the RTP session updating request message comprises the session ID, a user plane IP (Internet protocol) and a UDP (user Datagram protocol) port of a DC (direct Current) dispatching desk;
extracting the user plane IP and the UDP port of the DC, searching a corresponding session table item in the session management table according to the session ID, and adding the user plane IP and the UDP port of the DC into a session value of the session table item to update the session table item;
and sending a session update response message to the TCF, wherein the session update response message carries an update result of the session table entry.
5. The method of claim 4, wherein after said forwarding said RTP user plane packet according to said destination IP and destination UDP ports, said method further comprises:
comparing the source IP with the user plane IP of the DC;
if the source IP is not consistent with the user plane IP of the DC, comparing the target IP with the user plane IP of the DC;
and if the target IP is not consistent with the DC user plane IP, forwarding the RTP user plane data packet to the DC according to the DC user plane IP and the UDP port.
6. The method of claim 5, further comprising:
and if the source IP is consistent with the user plane IP of the DC, or the target IP is consistent with the user plane IP of the DC, ending the session data processing process.
7. The method according to any one of claims 3-6, further comprising:
when receiving an RTP session deletion request message sent by the TCF, extracting a session ID carried in the RTP session deletion request message;
according to the session ID carried in the RTP session deletion request message, searching a corresponding session table item in the session management table and deleting the session table item;
and sending a session deletion response message to the TCF, wherein the session deletion response message carries a deletion result of the session table entry.
8. A broadband trunking multimedia function comprising:
the device comprises an extraction module, a source module and a destination module, wherein the extraction module is used for extracting a source IP, a source UDP port, a destination IP and a destination UDP port of an RTP user plane data packet when the RTP user plane data packet is received;
the query module is used for taking the source IP and the source UDP port as first key values, taking the target IP and the target UDP port as second key values, and respectively searching matched session keywords in a current session management table according to the first key values and the second key values, wherein the session keywords are a user plane IP and a UDP port of a called terminal corresponding to a session;
an obtaining module, configured to obtain, from the session management table, a session value corresponding to the searched session keyword, where the session management table includes the session keyword of each session and a session value corresponding to the session keyword, and the session value is a multimedia parameter corresponding to the session;
and the sending module is used for extracting the multimedia information in the RTP user plane data packet, and if the multimedia information is consistent with the session value, forwarding the RTP user plane data packet according to the target IP and the target UDP port.
9. The broadband trunking multimedia function of claim 8 wherein the sending module is further configured to, when the multimedia message is inconsistent with the session value, encode the multimedia message according to a pre-agreed encoding format, and forward the re-encoded RTP user plane packet according to the destination IP and the destination UDP port.
10. A broadband trunking multimedia function of claim 8 further comprising a receiving module and an entry creation module:
a receiving module, configured to receive an RTP session creation request message sent by a TCF before the extracting module receives an RTP user plane packet, where the RTP session creation request message includes a session ID, a user plane IP and UDP port of a called terminal, and a session multimedia parameter;
a table item creating module, configured to extract a user plane IP, a UDP port, and a session multimedia parameter of the called terminal, use the user plane IP and the UDP port of the called terminal as session keywords, use the multimedia information as a corresponding session value, and create a session table item corresponding to the session ID in the session management table;
the sending module is further configured to send a session creation response message to the TCF, where the session creation response message carries a creation result of the session entry.
CN201710949341.7A 2017-10-12 2017-10-12 Broadband cluster multimedia function body and session method thereof Expired - Fee Related CN107659575B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710949341.7A CN107659575B (en) 2017-10-12 2017-10-12 Broadband cluster multimedia function body and session method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710949341.7A CN107659575B (en) 2017-10-12 2017-10-12 Broadband cluster multimedia function body and session method thereof

Publications (2)

Publication Number Publication Date
CN107659575A CN107659575A (en) 2018-02-02
CN107659575B true CN107659575B (en) 2020-04-17

Family

ID=61117992

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710949341.7A Expired - Fee Related CN107659575B (en) 2017-10-12 2017-10-12 Broadband cluster multimedia function body and session method thereof

Country Status (1)

Country Link
CN (1) CN107659575B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108882180B (en) * 2018-09-19 2021-08-24 京信网络系统股份有限公司 Group calling session method, device and system
CN112104589B (en) * 2019-06-18 2022-06-21 成都鼎桥通信技术有限公司 End-to-end encryption method with width integration
CN110557381B (en) * 2019-08-08 2021-09-03 武汉兴图新科电子股份有限公司 Media high-availability system based on media stream hot migration mechanism
CN110958581B (en) * 2019-12-10 2022-03-22 海能达通信股份有限公司 Method, system and related equipment for transmitting media data
CN111193941B (en) * 2020-01-07 2021-09-17 北京东土科技股份有限公司 Method, device and equipment for transmitting media data and storage medium
CN112751827B (en) * 2020-12-11 2022-07-05 武汉虹信科技发展有限责任公司 Application method and system of SIP multi-party session in broadband cluster

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003009607A2 (en) * 2001-07-18 2003-01-30 Motorola Inc Call set-up in a radio communication system
EP2271169A1 (en) * 2000-03-03 2011-01-05 Qualcomm Incorporated Method and apparatus for participating in group communication services in an existing communication system
CN103002405A (en) * 2012-12-17 2013-03-27 海能达通信股份有限公司 Group calling starting method of broadband multimedia cluster system and related device and system
CN103188617A (en) * 2011-12-27 2013-07-03 华为技术有限公司 Method for achieving trunk service, entity and system
CN103428636A (en) * 2012-05-17 2013-12-04 大唐移动通信设备有限公司 Group calling establishing method
CN104469698A (en) * 2014-11-27 2015-03-25 北京中细软移动互联科技有限公司 Cluster communication calling method and system
CN106102018A (en) * 2016-05-31 2016-11-09 海能达通信股份有限公司 Communication configuration method in the trunking communication of a kind of broadband and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2271169A1 (en) * 2000-03-03 2011-01-05 Qualcomm Incorporated Method and apparatus for participating in group communication services in an existing communication system
WO2003009607A2 (en) * 2001-07-18 2003-01-30 Motorola Inc Call set-up in a radio communication system
CN103188617A (en) * 2011-12-27 2013-07-03 华为技术有限公司 Method for achieving trunk service, entity and system
CN103428636A (en) * 2012-05-17 2013-12-04 大唐移动通信设备有限公司 Group calling establishing method
CN103002405A (en) * 2012-12-17 2013-03-27 海能达通信股份有限公司 Group calling starting method of broadband multimedia cluster system and related device and system
CN104469698A (en) * 2014-11-27 2015-03-25 北京中细软移动互联科技有限公司 Cluster communication calling method and system
CN106102018A (en) * 2016-05-31 2016-11-09 海能达通信股份有限公司 Communication configuration method in the trunking communication of a kind of broadband and device

Also Published As

Publication number Publication date
CN107659575A (en) 2018-02-02

Similar Documents

Publication Publication Date Title
CN107659575B (en) Broadband cluster multimedia function body and session method thereof
CN101300764B (en) communication system based on grouping and communication method by multimedia communication protocol in communication system based on grouping
US9826436B2 (en) Facilitation of mobility management across various radio technologies
US8005895B2 (en) Distributed routing of conferences using conference identifier
US8423652B2 (en) Service templates for an IP multimedia subsystem
US20130019021A1 (en) Data path selection method for communication session
WO2011059651A1 (en) Methods and apparatus for wan/wlan unicast and multicast communication
CN111510476A (en) Communication method, communication apparatus, computer device, and computer-readable storage medium
CN113645254B (en) Method and device for signaling addressing
US20230035572A1 (en) Scope parameter for binding indication
JP5520285B2 (en) Method for establishing communication from a mobile terminal in dual mode
EP1719319A1 (en) Method and arrangement for state memory management
CN106921625A (en) Multimedia service processing system, data is activation and method of reseptance and terminal
EP3668072B1 (en) Device for communications that include social media contents
WO2018053749A1 (en) Calling method and device, terminal and core network system
CN107852577A (en) A kind of supplementary service implementation method, terminal device and IMS service device
CN114556894A (en) Method, apparatus and computer program product for packet forwarding control protocol message bundling
CN112423244A (en) Method and device for initiating dynamic recombination by mobile terminal
US11178006B2 (en) Replacement of collaboration endpoints
JP4372629B2 (en) SIP communication control apparatus for performing FW control and FW control method thereof
CN113316096B (en) Method and system for forwarding video to group in broadband cluster
CN105491180A (en) Method for realizing network communication through back-to-back agent
EP3133770B1 (en) Home gateway ds-lite multicast method and device
US20080225831A1 (en) Methods, Apparatuses, and Computer Program Products for Processing Session Related Protocol Signaling Measures
CN115915162A (en) Data communication method, device and storage medium based on virtual extensible local area network

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
TA01 Transfer of patent application right

Effective date of registration: 20200122

Address after: 510663 Guangzhou Science City, Guangdong Shenzhou Road, No. 10

Applicant after: COMBA TELECOM SYSTEMS (CHINA) Ltd.

Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangdong, Guangzhou

Applicant before: COMBA TELECOM SYSTEMS (CHINA) Ltd.

Applicant before: COMBA TELECOM SYSTEMS (GUANGZHOU) Ltd.

Applicant before: COMBA TELECOM TECHNOLOGY (GUANGZHOU) Ltd.

Applicant before: TIANJIN COMBA TELECOM SYSTEMS Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 510663 Shenzhou Road 10, Science City, Guangdong, Guangzhou

Patentee after: Jingxin Network System Co.,Ltd.

Address before: 510663 Shenzhou Road 10, Science City, Guangdong, Guangzhou

Patentee before: COMBA TELECOM SYSTEMS (CHINA) Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200417

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