WO2015180331A1 - Method and system for shunting mixed communication data - Google Patents

Method and system for shunting mixed communication data Download PDF

Info

Publication number
WO2015180331A1
WO2015180331A1 PCT/CN2014/087359 CN2014087359W WO2015180331A1 WO 2015180331 A1 WO2015180331 A1 WO 2015180331A1 CN 2014087359 W CN2014087359 W CN 2014087359W WO 2015180331 A1 WO2015180331 A1 WO 2015180331A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
interface
plane data
mixed
preset
Prior art date
Application number
PCT/CN2014/087359
Other languages
French (fr)
Chinese (zh)
Inventor
牛蔚华
李壮志
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015180331A1 publication Critical patent/WO2015180331A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and system for distributing hybrid communication data.
  • the rapid development of mobile Internet services has led to a spurt of mobile core network traffic.
  • the increase of user plane data and control plane data traffic and the complexity of the service put forward higher requirements for equipment performance.
  • one solution is to separate the access and processing.
  • the access device is responsible for the separation of the protocol and the balanced allocation of traffic; the processing device is responsible for the deep analysis of the service. This will not only solve the processing performance problems, but also facilitate the flexible expansion of the monitoring system.
  • the data received by the monitoring system is mixed message data.
  • the mixed message data is separated, it is often necessary to completely associate the control plane message and the user plane message in each session process. Complex and less efficient.
  • a primary object of the present invention is to provide a shunting method and system for mixing communication data, aiming at improving the shunt efficiency of mixed communication data.
  • the embodiment provides a method for distributing the mixed communication data, including: parsing the received first mixed message data, where the first mixed message data includes multiple messages; The separation rule separates the parsed first mixed message data into control plane data of each interface, and user plane data of each interface or any interface; control plane data of each interface to be separated, and each interface or any The user plane data of the interface is output through the corresponding physical interface.
  • the step of separating the parsed first mixed message data into the control plane data of each interface according to the preset first separation rule, and the user plane data of each interface or any interface includes: acquiring the mixed message The protocol information of each packet data in the data, and the packet data with the same protocol information and the preset protocol information is separated from the parsed first mixed message data, as the control plane data of the first interface; The port information of each packet data in the first mixed message data is separated into the user plane data including the first interface and the user plane of the second interface according to the obtained port information.
  • the second mitigation data and the third mixed message data are separated into user interface data of any interface according to a preset second separation rule, and control planes of the second interface and the third interface data.
  • the step of separating the second mitigation data and the third mixed message data into the user plane data of any interface according to the preset second separation rule, and the control plane data of the second interface and the third interface comprises:
  • the preset communication protocol parses the second mixed message data, and separates the mixed message data into fourth mixed message data including user plane data of the first interface and the second interface, and the second interface Controlling surface data; separating user plane data of the second interface from the fourth mixed message data according to preset IP information; according to preset port information of the third interface or a preset third interface communication protocol,
  • the third interface control plane data is separated from the third mixed message data.
  • the step of separating the third interface control plane data from the third mixed message data according to the port information of the preset third interface or the preset third interface communication protocol comprises: determining the third Whether the port information of each packet data in the mixed packet data matches the port information of the preset third interface; the port information of each packet data in the third mixed packet data and the port information of the preset third interface
  • the third interface user plane data control plane data is separated from the third hybrid packet data according to the preset port information of the third interface; and the port information of each packet data in the third hybrid packet data.
  • the packet data in the third mixed message data is parsed according to the preset third interface communication protocol, to be used in the third mixed message data.
  • the third interface user plane data control plane data is separated.
  • the step of outputting the control plane data of the separated interfaces and the user plane data of each interface or any interface through the corresponding physical interface respectively includes: acquiring control plane data of each interface, and each interface or any The destination IP address of the user plane data of the interface, and divides the control plane data of each interface and the user plane data of each interface or any interface into multiple data streams according to the obtained destination IP information; according to the preset purpose
  • the mapping between the IP information and the physical port determines the physical port corresponding to each data stream, and outputs each data stream through the corresponding physical port.
  • the present invention further provides a shunting system for mixing communication data, comprising: a parsing module, configured to parse the received first mixed message data, wherein the mixed message data includes a plurality of messages; a separation module, The method is configured to separate the parsed first mixed message data into control plane data of each interface, and user interface data of each interface or any interface according to a preset first separation rule; and output modules are set to separate each interface
  • the control plane data, and the user plane data of each interface or any interface are respectively encapsulated and output.
  • the separating module includes: a first separating sub-module, configured to obtain protocol information of each packet data in the mixed packet data, and parse the packet data with the same protocol information and preset protocol information by parsing
  • the first mixed message data is separated as the control plane data of the first interface;
  • the second separated sub-module is set to And obtaining the port information of each packet data in the separated first mixed message data, and separating the separated first mixed message data into user plane data including the first interface and the second interface according to the obtained port information.
  • the second separation rule separates the second mitigation data and the third mixed message data into user plane data of any interface, and control plane data of the second interface and the third interface.
  • the third separating sub-module includes: a first separating unit configured to parse the second mixed message data according to a preset communication protocol, and separate the second mixed message data into a first The fourth mixed message data of the control plane data of the interface and the second interface, and the control plane data of the second interface; the second separating unit is configured to be separated from the fourth mixed message data according to the preset IP information The user interface data of the second interface; the third separation unit separates the third interface control plane from the third mixed message data according to the preset port information of the third interface or the preset third interface communication protocol data.
  • the third separating unit includes: a determining subunit, configured to determine whether the port information of each packet data in the third mixed message data matches the port information of the preset third interface; the first separating subunit When the port information of each packet data in the third mixed packet data matches the port information of the preset third interface, the third mixed packet data is used according to the preset port information of the third interface.
  • Separating the third interface user plane data control plane data; the second separation subunit is configured to: when the port information of each packet data in the third hybrid packet data does not match the port information of the preset third interface, And parsing each of the third mixed message data according to the preset third interface communication protocol, to separate the third interface user plane data control plane data from the third mixed message data.
  • the output module includes: an obtaining unit, acquiring control plane data of each interface, and destination IP information of user interface data of each interface or any interface; and separating unit configured to set each according to the acquired destination IP information
  • the control plane data of the interface, and the user plane data of each interface or any interface are respectively divided into multiple data streams; the output unit is set to determine the corresponding data stream according to the mapping relationship between the preset destination IP information and the physical port.
  • the physical port outputs each data stream through the corresponding physical port.
  • the received mixed message is parsed, wherein the mixed message includes multiple messages; the first parsed according to the preset first separation rule
  • the mixed message data is separated into the control plane data of each interface, and the user plane data of each interface or any interface, and the separated control plane data of each interface, and the user plane data of each interface or any interface respectively
  • the control plane data and the user plane data are directly associated with each other, and the received user plane data and the control plane data are directly correlated to improve the efficiency of the split communication data.
  • FIG. 1 is a schematic flow chart of a preferred embodiment of a method for distributing hybrid communication data according to the present invention
  • step S20 of FIG. 1 is a schematic flow chart of a preferred embodiment of step S20 of FIG. 1;
  • step S23 of FIG. 2 is a schematic flow chart of a preferred embodiment of step S23 of FIG. 2;
  • step S233 in FIG. 3 is a schematic flow chart of a preferred embodiment of step S233 in FIG. 3;
  • FIG. 5 is a schematic flow chart of a preferred embodiment of step S30 of FIG. 1;
  • FIG. 6 is a schematic flow chart of a preferred embodiment of a shunt system for mixing communication data according to the present invention.
  • FIG. 1 is a schematic flowchart diagram of a preferred embodiment of a method for distributing hybrid communication data according to the present invention.
  • Step S10 parsing the received first mixed message data, where the mixed message data includes multiple messages
  • the first mixed message includes user plane data and control plane data of multiple data interfaces
  • the user plane data refers to service data, such as voice data or packet service data.
  • the control plane refers to the signaling data (such as the communication link establishment command issued by the controller) to control the establishment, maintenance and release of a call flow.
  • the voice or video data sent by the user through the communication terminal is the user plane data
  • the data established and released by the control server is the control plane data
  • the user plane data in the passing process is mixed to form a first mixed message, where the first mixed message data is transmitted to the monitoring platform for monitoring, and the monitoring platform parses the received first mixed message data.
  • Step S20 Separating the parsed first mixed message data into control plane data of each interface according to a preset first separation rule, and user interface data of each interface or any interface;
  • the user plane data is sequentially transmitted by multiple interfaces. Therefore, the service data output by each interface is the same, and only the user plane data output of any interface needs to be separated to reduce the system. Overhead, and reduce the physical transmission port settings, reduce costs; to ensure the accuracy of data transmission, you can also obtain the user plane data of each interface; and because the function of each interface is different, the generated control plane data is also different, so Need to get control surface data for each interface.
  • the preset rule may be identifier information in the packet header, such as protocol information (such as protocol number), and port information (such as port number), and or the code segment information in the packet and or preset IP information. Etc., the operator can flexibly set according to its communication rules.
  • step S30 the control plane data of the separated interfaces and the user plane data of each interface or any interface are respectively output through the corresponding physical interfaces.
  • control plane data and the user plane data of different interfaces can be output through the corresponding physical ports, and the user plane data or control plane data of different interfaces are sent to the corresponding terminal or server.
  • the received mixed message is parsed, wherein the mixed message includes multiple messages; and the first mixed sample is parsed according to a preset first separation rule.
  • the message data is separated into the control plane data of each interface, and the user plane data of each interface or any interface, and the separated control plane data of each interface and the user plane data of each interface or any interface are respectively passed.
  • the corresponding physical interface output does not need to separately associate the control plane data and the user plane data, and directly associates the received user plane data with the control plane data, thereby improving the efficiency of shunting the mixed communication data.
  • step S20 includes:
  • Step S21 Obtain protocol information of each packet data in the mixed packet data, and separate the packet data whose protocol information is the same as the preset protocol information from the parsed first mixed packet data, as the first interface.
  • Control surface data
  • Step S22 Obtain port information of each packet data in the separated first mixed message data, and separate the separated first mixed message data into user plane data including the first interface according to the obtained port information.
  • Step S23 separating the second mitigation data and the third mixed message data into user plane data of any interface and control plane data of the second interface and the third interface according to a preset second separation rule.
  • the first mixed message data may include user plane data of the first interface, the second interface, and the third interface, and control plane data, where the first interface, the second interface, and the third interface are preferably IuPS, Gn and Gb interfaces.
  • the IuPS, Gn, and Gb interfaces as the first interface, the second interface, and the third interface respectively: the protocol information in the packet header information of the IUPS control plane data, and the control plane and user plane of other ports.
  • the protocol information may be The protocol number, the protocol name, or the protocol code are compared, and the obtained protocol information is compared with the preset protocol information, and the packet matching the protocol information in the packet header and the preset protocol information is taken as the first
  • the control plane data of the interface in this embodiment, the protocol information is preferably the number of the SCTP (STREAM CONTROL TRANSMISSION PROTOCOL) protocol; since the user plane data of the IuPS and the Gn and the port information of the control plane data are the same, Therefore, each received packet in the first mixed packet data may be parsed according to a preset communication protocol, and the SCTP (STREAM CONTROL TRANSMISSION PROTOCOL) protocol; since the user plane data of the IuPS and the Gn and the port information of the control plane data are the same
  • the text is used as the second mixed message data of the user plane data of the first interface, the user plane data of the second interface, and the control plane data, and the packet information of the other packet headers does not match the preset port information.
  • the third mixed message data including the third interface data and other data.
  • the corresponding second separation rule may be determined according to the user plane data to be obtained, that is, the user plane data to be obtained is the first port.
  • the user plane data is different from the second separation rule when the user plane data to be obtained is the user plane data of the second port, so that the interface corresponding to the user plane data to be obtained can be determined, and according to the preset interface and the Separating the mapping relationship between the rules and obtaining the second separation rule corresponding to the determined interface.
  • step S23 includes:
  • Step S231 parsing the second mixed message data according to a preset communication protocol, and separating the second mixed message data into a fourth mixed message including user plane data of the first interface and the second interface. Data, and control plane data of the second interface;
  • Step S232 separating user plane data of the second interface from the fourth mixed message data according to preset IP information
  • Step S233 Separate the third interface control plane data from the third mixed message data according to the preset port information of the third interface or the preset third interface communication protocol.
  • IuPS, Gn, and Gb interfaces as the first interface, the second interface, and the third interface, respectively.
  • the preset communication protocol is preferably a GTP protocol
  • the preset encoding end of each parsed message can be obtained.
  • the information when the code segment information preset in the parsed message matches the pre-stored code segment information, the parsed message is the control plane data of the second interface, and is preset in the parsed message.
  • the parsed message is the fourth mixed message data including the control plane data of the first interface and the second interface.
  • the IP information of the GGSNs may be pre-stored.
  • IP information of each packet data may be acquired at the same time, and the IP information is encapsulated in the header of each packet.
  • the user interface data of the second interface is separated from the fourth mixed message data according to the IP information of the packet header, and the packet whose header IP information matches the preset IP information is the second interface.
  • the user plane data, the packet whose header IP information does not match the preset IP information is the user plane data of the third interface.
  • the pre-stored IP information can be updated in real time.
  • a control message for creating, updating, and deleting a PDP Packet Data Protocol
  • the PDP creation message and the PDP update message are parsed to obtain corresponding destination IP information and source IP information, and the pre-stored IP information is updated according to the acquired destination IP information and source IP information.
  • step S23 specifically includes:
  • Step S234 parsing the second mixed message data according to a preset communication protocol, and separating control plane data of the second interface from the second mixed message data;
  • Step S235 Separate the third interface control plane data and the user plane data from the third mixed message data according to the preset port information of the third interface or the preset third interface communication protocol.
  • control plane data of the third interface is different from the user plane data
  • the user plane data and the control plane data can be directly separated from the control plane data and the user plane data including the third interface according to the port information.
  • step S23 includes:
  • Step S236 parsing the second mixed message data according to a preset communication protocol, and separating the second mixed message data into a fourth mixed message including user plane data of the first interface and the second interface. Data, and control plane data of the second interface;
  • Step S237 separating user plane data of the first interface from the fourth mixed message data according to preset IP information
  • Step S238 The third interface control plane data is separated from the third mixed message data according to the preset port information of the third interface or the preset third interface communication protocol.
  • the step S23 may be optimized to obtain the user plane data to be extracted, and determine a second separation rule corresponding to the user plane data to be extracted according to the mapping relationship between the preset user plane data and the second separation rule, where the second separation rule corresponding to the user plane data to be extracted is selected.
  • the second separation rule is steps S231-S233.
  • the second separation rule is step S234-S235.
  • the second separation rule is steps S236-S238.
  • the step S233 of FIG. 4 specifically includes:
  • Step S2331 Determine whether the port information of each packet data in the third mixed packet data matches the port information of the preset third interface
  • Step S2332 When the port information of each packet data matches the port information of the preset third interface in the third mixed packet data, the third mixed packet data is used according to the preset port information of the third interface. Separating the third interface user plane data control plane data;
  • Step S2333 When the port information of each packet data does not match the port information of the preset third interface in the third mixed packet data, the third mixed message data is used according to the preset third interface communication protocol. Each of the message data is parsed to separate the third interface user plane data control plane data from the third hybrid message data.
  • the control plane data and the user plane data of the third interface may be directly determined according to the preset port information;
  • the control plane data and the user plane data of the third interface may not be accurately confirmed according to the pre-stored port information, and the preset communication may be performed according to the preset communication.
  • the protocol distinguishes the control plane data and the user plane data of the third interface.
  • the user plane data of the third interface and the control plane tempo board are distinguished according to the preset communication protocol, and the efficiency is high.
  • each packet data in the third hybrid packet data may be parsed according to a preset communication protocol, to obtain a preset of each packet data.
  • Field information such as SAPI field information
  • the preset field information of the control plane data is different, and the third interface user plane data and the control plane data can be directly distinguished according to the preset field information.
  • the method includes:
  • Step S31 Obtain control plane data of each interface, and destination IP information of user interface data of each interface or any interface, and control data of each interface according to the obtained destination IP information, and each interface or any interface.
  • User plane data is divided into multiple data streams;
  • Step S32 Determine a physical port corresponding to each data stream according to a preset mapping relationship between the destination IP information and the physical port, and output each data stream through the corresponding physical port.
  • the mapping between the destination IP information and the physical port may be preset, and the splitting of the Gn user plane data is taken as an example: the Gn user plane data includes multiple destination IP information, and the purpose of acquiring the Gn user plane data is IP information, and according to the mapping relationship between the destination IP information and the physical port, the Gn user plane data is divided into different data streams and output by the corresponding physical port.
  • the destination IP information matches the acquired IP information in the mapping relationship between the preset destination IP information and the physical port, for a preset purpose.
  • the physical port corresponding to each data stream is determined according to the mapping relationship between the preset destination IP information and the physical port, and each data stream is determined.
  • the control plane data of each interface is used according to the preset priority, and each The user plane data of the interface or any interface is output through the physical port of the corresponding priority.
  • the destination IP address may not be pre-stored in the server.
  • FIG. 6 is a schematic flowchart diagram of a preferred embodiment of a shunt system for mixing communication data according to the present invention.
  • the functional block diagram shown in FIG. 6 is merely an exemplary diagram of a preferred embodiment, and the function of the shunting system of the mixed communication data shown in FIG. 6 by those skilled in the art.
  • the module can be easily supplemented by a new function module; the name of each function module is a custom name, and is used only for each program function block of the shunt system to assist in understanding the mixed communication data, and is not used to limit the technical solution of the present invention.
  • the core of the technical solution of the invention is the function to be achieved by the functional modules of the respective defined names.
  • This embodiment provides a shunting system for mixing communication data, including:
  • the parsing module 10 is configured to parse the received first mixed message data, where the mixed message data includes multiple messages;
  • the first mixed message includes user plane data and control plane data of multiple data interfaces
  • the user plane data refers to service data, such as voice data or packet service data.
  • the control plane refers to the signaling data (such as the communication link establishment command issued by the controller) to control the establishment, maintenance and release of a call flow.
  • the voice or video data sent by the user through the communication terminal is the user plane data
  • the data established and released by the control server is the control plane data
  • the user plane data in the passing process is mixed to form a first mixed message, where the first mixed message data is transmitted to the monitoring platform for monitoring, and the monitoring platform parses the received first mixed message data.
  • the separation module 20 is configured to separate the parsed first mixed message data into control plane data of each interface according to a preset first separation rule, and user interface data of each interface or any interface;
  • the user plane data is sequentially transmitted by multiple interfaces. Therefore, the service data output by each interface is the same, and only the user plane data output of any interface needs to be separated to reduce the system. Overhead, and reduce the physical transmission port settings, reduce costs; to ensure the accuracy of data transmission, you can also obtain the user plane data of each interface; and because the function of each interface is different, the generated control plane data is also different, so Need to get control surface data for each interface.
  • the preset rule may be identifier information in the packet header, such as protocol information (such as protocol number), and port information (such as port number), and or the code segment information in the packet and or preset IP information. Etc., the operator can flexibly set according to its communication rules.
  • the output module 30 is configured to separately encapsulate the control plane data of each interface, and the user plane data of each interface or any interface, and output the data.
  • control plane data and the user plane data of different interfaces can be output through the corresponding physical ports, and the user plane data or control plane data of different interfaces are sent to the corresponding terminal or server.
  • the traffic distribution system of the hybrid communication data parses the received mixed message, where the mixed message includes multiple messages; the first mixed sample is parsed according to a preset first separation rule.
  • the message data is separated into the control plane data of each interface, and the user plane data of each interface or any interface, and the separated control plane data of each interface and the user plane data of each interface or any interface are respectively passed.
  • the corresponding physical interface output does not need to separately associate the control plane data and the user plane data, and directly associates the received user plane data with the control plane data, thereby improving the efficiency of shunting the mixed communication data.
  • the separation module 20 includes:
  • the first separating sub-module 21 is configured to obtain protocol information of each packet data in the mixed packet data, and separate the packet data with the same protocol information from the preset protocol information from the parsed first mixed packet data. Come out as the control plane data of the first interface;
  • the second separation sub-module 22 is configured to obtain the port information of each packet data in the separated first mixed message data, and separate the separated first mixed message data into the first interface according to the obtained port information.
  • User plane data, user plane data of the second interface, and second mixed message data of the control plane data, and third mixed message data including the third interface user plane data, control plane data, and other data;
  • the third separating sub-module 23 is configured to separate the second mitigation data and the third mixed message data into user plane data of any interface according to a preset second separating rule, and control planes of the second interface and the third interface data.
  • the first mixed message data may include user plane data of the first interface, the second interface, and the third interface, and control plane data, where the first interface, the second interface, and the third interface are preferably IuPS, Gn and Gb interfaces.
  • the IuPS, Gn, and Gb interfaces as the first interface, the second interface, and the third interface respectively: the protocol information in the packet header information of the IUPS control plane data, and the control plane and user plane of other ports.
  • the protocol information may be The protocol number, the protocol name, or the protocol code are compared, and the obtained protocol information is compared with the preset protocol information, and the packet matching the protocol information in the packet header and the preset protocol information is taken as the first
  • the control plane data of the interface in this embodiment, the protocol information is preferably the number of the SCTP (STREAM CONTROL TRANSMISSION PROTOCOL) protocol; since the user plane data of the IuPS and the Gn and the port information of the control plane data are the same, Therefore, each received packet in the first mixed packet data may be parsed according to a preset communication protocol, and the SCTP (STREAM CONTROL TRANSMISSION PROTOCOL) protocol; since the user plane data of the IuPS and the Gn and the port information of the control plane data are the same
  • the text is used as the second mixed message data of the user plane data of the first interface, the user plane data of the second interface, and the control plane data, and the packet information of the other packet headers does not match the preset port information.
  • the third mixed message data including the third interface data and other data.
  • the corresponding second separation rule may be determined according to the user plane data to be obtained, that is, the user plane data to be obtained is the first port.
  • the user plane data is different from the second separation rule when the user plane data to be obtained is the user plane data of the second port, so that the interface corresponding to the user plane data to be obtained can be determined, and according to the preset interface and the Separating the mapping relationship between the rules and obtaining the second separation rule corresponding to the determined interface.
  • the third separating sub-module 23 includes:
  • the first separating unit 231 is configured to parse the second mixed message data according to a preset communication protocol, and separate the second mixed message data into a control plane data including the first interface and the second interface. Four mixed message data, and control plane data of the second interface;
  • the second separating unit 232 is configured to separate user plane data of the second interface from the fourth mixed message data according to preset IP information
  • the third separating unit 233 is configured to separate the third interface control plane data from the third mixed message data according to the preset port information of the third interface or the preset third interface communication protocol.
  • IuPS, Gn, and Gb interfaces as the first interface, the second interface, and the third interface, respectively.
  • the preset communication protocol is preferably a GTP protocol
  • the preset encoding end of each parsed message can be obtained.
  • the information when the code segment information preset in the parsed message matches the pre-stored code segment information, the parsed message is the control plane data of the second interface, and is preset in the parsed message.
  • the parsed message is the fourth mixed message data including the control plane data of the first interface and the second interface.
  • the IP information of the GGSNs may be pre-stored.
  • IP information of each packet data may be acquired at the same time, and the IP information is encapsulated in the header of each packet.
  • the user interface data of the second interface is separated from the fourth mixed message data according to the IP information of the packet header, and the packet whose header IP information matches the preset IP information is the second interface.
  • the user plane data, the packet whose header IP information does not match the preset IP information is the user plane data of the third interface.
  • the pre-stored IP information can be updated in real time.
  • the PDP Packet Data Protocol
  • the PDP creation message and the PDP update message can be newly created, updated, and deleted. And control the PDP creation message and the PDP update message to obtain the corresponding destination IP information and the source IP information, and update the pre-stored IP information according to the acquired destination IP information and the source IP information.
  • control plane data extracted by the foregoing solution is the control plane data of the second interface.
  • the third separation submodule 23 includes:
  • the fourth separating unit 234 is configured to parse the second mixed message data according to a preset communication protocol, and separate the control plane data of the second interface from the second mixed message data;
  • the fifth separating unit 235 is configured to separate the third interface control plane data and the user plane data from the third mixed packet data according to the preset port information of the third interface or the preset third interface communication protocol. .
  • control plane data of the third interface is different from the user plane data
  • the user plane data and the control plane data can be directly separated from the control plane data and the user plane data including the third interface according to the port information.
  • the third separation submodule 23 includes:
  • the sixth separating unit 236 is configured to parse the second mixed message data according to a preset communication protocol, and separate the second mixed message data into user plane data including the first interface and the second interface. Fourth mixed message data, and control plane data of the second interface;
  • the seventh separating unit 237 is configured to separate user plane data of the first interface from the fourth mixed message data according to preset IP information;
  • the eighth separating unit 238 is configured to separate the third interface control plane data from the third mixed message data according to the preset port information of the third interface or the preset third interface communication protocol.
  • the third separation sub-module 23 can be optimized to obtain the user plane data to be extracted currently, and determine the corresponding number of the user plane data to be extracted according to the mapping relationship between the preset user plane data and the second separation rule. Separating the rules, and separating the second mitigation data and the third mixed message data into user plane data of any interface and control plane data of the second interface and the third interface according to the determined second separation rule.
  • the third separating submodule 23 When the user plane data to be extracted is the user plane data of the second interface, the third separating submodule 23 includes first to third separating units; when the user plane data to be extracted is the user plane data of the third interface, The third separating sub-module 23 includes fourth to fifth separating units; and when the user plane data to be extracted is user plane data of the first interface, the third separating sub-module 23 includes sixth to eighth separating units.
  • the scheme makes the shunting method of the mixed communication data more widely used and improves its versatility.
  • the third separating unit 233 includes:
  • the determining subunit 2331 is configured to determine whether the port information of each packet data in the third mixed message data matches the port information of the preset third interface;
  • the first separating sub-unit 2332 is configured to: when the port information of each packet data in the third mixed message data matches the port information of the preset third interface, according to the port information of the preset third interface, Separating the third interface user plane data control plane data from the third mixed message data;
  • the second separating sub-unit 2333 is configured to: when the port information of each packet data in the third mixed message data does not match the port information of the preset third interface, according to the preset third interface communication protocol, the third Each of the message data in the mixed message data is parsed to separate the third interface user plane data control plane data from the third mixed message data.
  • the control plane data and the user plane data of the third interface may be directly determined according to the preset port information;
  • the control plane data and the user plane data of the third interface may not be accurately confirmed according to the pre-stored port information, and the preset communication may be performed according to the preset communication.
  • the protocol distinguishes the control plane data and the user plane data of the third interface.
  • the user plane data of the third interface and the control plane tempo board are distinguished according to the preset communication protocol, and the efficiency is high.
  • each packet data in the third hybrid packet data may be parsed according to a preset communication protocol, to obtain a preset of each packet data.
  • the field information (such as the SAPI field information), because the third interface user plane data and the preset field information of the control plane data are different, the third interface user plane data and the control plane data can be directly distinguished according to the preset field information.
  • the output module 30 includes:
  • the obtaining unit 31 acquires control plane data of each interface, and destination IP information of user interface data of each interface or any interface;
  • the separating unit 32 is configured to divide the control plane data of each interface and the user plane data of each interface or any interface into multiple data streams according to the acquired destination IP information;
  • the output unit 33 is configured to determine a physical port corresponding to each data stream according to a preset mapping relationship between the destination IP information and the physical port, and output each data stream through the corresponding physical port.
  • the mapping between the destination IP information and the physical port may be preset, and the splitting of the Gn user plane data is taken as an example: the Gn user plane data includes multiple destination IP information, and the purpose of acquiring the Gn user plane data is IP information, and according to the mapping relationship between the destination IP information and the physical port, the Gn user plane data is divided into different data streams and output by the corresponding physical port.
  • the destination IP information matches the acquired IP information in the mapping relationship between the preset destination IP information and the physical port, for a preset purpose.
  • the physical port corresponding to each data stream is determined according to the mapping relationship between the preset destination IP information and the physical port, and each data stream is determined.
  • the control plane data of each interface is used according to the preset priority, and each The user plane data of the interface or any interface is output through the physical port of the corresponding priority.
  • the destination IP address may not be pre-stored in the server.
  • the received user plane data and the control plane data are directly associated with each other without first separately associated control plane data and user plane data, thereby improving the efficiency of splitting the mixed communication data.

Abstract

The present invention relates to a method and system for shunting mixed communication data. The method comprises: parsing received mixed packet, wherein the mixed packet contains a plurality of packets; and according to a preset first separation rule, separating the parsed first mixed packet data into control plane data of various interfaces and user plane data of various interfaces or any one interface, and outputting the separated control plane data of various interfaces and user plane data of various interfaces or any one interface respectively through corresponding physical interfaces, so that the received user plane data and control plane data are directly associated without needing to separately associate the control plane data and the user plane data in advance, thereby improving the efficiency of shunting mixed communication data.

Description

混合通信数据的分流方法和系统Method and system for shunting mixed communication data 技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种混合通信数据的分流方法和系统。The present invention relates to the field of communications technologies, and in particular, to a method and system for distributing hybrid communication data.
背景技术Background technique
移动互联网业务的快速发展导致了移动核心网流量的井喷式增长。对数据监测系统来说,用户面数据以及控制面数据流量的增大和业务的复杂对设备性能提出了更高要求。为提高数据监测系统的数据处理效率,一种解决思路是将接入和处理独立开来,接入设备负责协议的分离和流量的均衡调配;处理设备负责业务的深层次分析。这样既能解决处理性能问题,也便于监测系统的灵活扩展。The rapid development of mobile Internet services has led to a spurt of mobile core network traffic. For the data monitoring system, the increase of user plane data and control plane data traffic and the complexity of the service put forward higher requirements for equipment performance. In order to improve the data processing efficiency of the data monitoring system, one solution is to separate the access and processing. The access device is responsible for the separation of the protocol and the balanced allocation of traffic; the processing device is responsible for the deep analysis of the service. This will not only solve the processing performance problems, but also facilitate the flexible expansion of the monitoring system.
现有技术中,监控系统接收到的数据往是混合报文数据,在对该混合报文数据进行分离时,往往需要对每个会话过程中的控制面消息和用户面消息进行完整关联,实现复杂且效率较低。In the prior art, the data received by the monitoring system is mixed message data. When the mixed message data is separated, it is often necessary to completely associate the control plane message and the user plane message in each session process. Complex and less efficient.
发明内容Summary of the invention
本发明的主要目的是提供一种混合通信数据的分流方法和系统,旨在提高混合通信数据的分流效率。SUMMARY OF THE INVENTION A primary object of the present invention is to provide a shunting method and system for mixing communication data, aiming at improving the shunt efficiency of mixed communication data.
本实施例提出一种混合通信数据的分流方法,包括:对接收到的第一混合报文数据进行解析,其中所述第一混合报文数据中包含多个报文;按照预设的第一分离规则将解析后的第一混合报文数据分离为各个接口的控制面数据,以及各个接口或者任一接口的用户面数据;将分离出的各个接口的控制面数据,以及各个接口或者任一接口的用户面数据分别通过对应的物理接口输出。The embodiment provides a method for distributing the mixed communication data, including: parsing the received first mixed message data, where the first mixed message data includes multiple messages; The separation rule separates the parsed first mixed message data into control plane data of each interface, and user plane data of each interface or any interface; control plane data of each interface to be separated, and each interface or any The user plane data of the interface is output through the corresponding physical interface.
优选地,按照预设的第一分离规则将解析后的第一混合报文数据,分离为各个接口的控制面数据,以及各个接口或者任一接口的用户面数据的步骤包括:获取混合报文数据中各个报文数据的协议信息,并将协议信息与预设的协议信息相同的报文数据由解析后的第一混合报文数据中分离出来,作为第一接口的控制面数据;获取分离后的第一混合报文数据中各个报文数据的端口信息,根据获取到的端口信息将分离后的第一混合报文数据分离为包含第一接口的用户面数据、第二接口的用户面数据和控制面数据的第二混合报文数据,以及包含第三接口用户面数据、控制面数据以及其它数 据的第三混合报文数据;按照预设的第二分离规则将第二缓和数据以及第三混合报文数据分离为任一接口的用户面数据,以及第二接口和第三接口的控制面数据。Preferably, the step of separating the parsed first mixed message data into the control plane data of each interface according to the preset first separation rule, and the user plane data of each interface or any interface includes: acquiring the mixed message The protocol information of each packet data in the data, and the packet data with the same protocol information and the preset protocol information is separated from the parsed first mixed message data, as the control plane data of the first interface; The port information of each packet data in the first mixed message data is separated into the user plane data including the first interface and the user plane of the second interface according to the obtained port information. Second mixed message data of data and control plane data, and user interface data including third interface, control plane data, and other numbers According to the third mixed message data, the second mitigation data and the third mixed message data are separated into user interface data of any interface according to a preset second separation rule, and control planes of the second interface and the third interface data.
优选地,按照预设的第二分离规则将第二缓和数据以及第三混合报文数据分离为任一接口的用户面数据,以及第二接口和第三接口的控制面数据的步骤包括:根据预设的通信协议对所述第二混合报文数据进行解析,将该混合报文数据分离为包含第一接口和第二接口的用户面数据的第四混合报文数据,以及第二接口的控制面数据;根据预设IP信息由所述第四混合报文数据中分离出第二接口的用户面数据;根据预设的第三接口的端口信息或者预设的第三接口通信协议,由所述第三混合报文数据中分离出第三接口控制面数据。Preferably, the step of separating the second mitigation data and the third mixed message data into the user plane data of any interface according to the preset second separation rule, and the control plane data of the second interface and the third interface comprises: The preset communication protocol parses the second mixed message data, and separates the mixed message data into fourth mixed message data including user plane data of the first interface and the second interface, and the second interface Controlling surface data; separating user plane data of the second interface from the fourth mixed message data according to preset IP information; according to preset port information of the third interface or a preset third interface communication protocol, The third interface control plane data is separated from the third mixed message data.
优选地,所述根据预设的第三接口的端口信息或者预设的第三接口通信协议,由所述第三混合报文数据中分离出第三接口控制面数据的步骤包括:判断第三混合报文数据中各个报文数据的端口信息与预设的第三接口的端口信息是否匹配;在第三混合报文数据中各个报文数据的端口信息与预设的第三接口的端口信息匹配时,根据预设的第三接口的端口信息由所述第三混合报文数据中分离出第三接口用户面数据控制面数据;在第三混合报文数据中各个报文数据的端口信息与预设的第三接口的端口信息不匹配时,根据预设的第三接口通信协议对第三混合报文数据中的各个报文数据进行解析,以由所述第三混合报文数据中分离出第三接口用户面数据控制面数据。Preferably, the step of separating the third interface control plane data from the third mixed message data according to the port information of the preset third interface or the preset third interface communication protocol comprises: determining the third Whether the port information of each packet data in the mixed packet data matches the port information of the preset third interface; the port information of each packet data in the third mixed packet data and the port information of the preset third interface When matching, the third interface user plane data control plane data is separated from the third hybrid packet data according to the preset port information of the third interface; and the port information of each packet data in the third hybrid packet data. When the port information of the preset third interface does not match, the packet data in the third mixed message data is parsed according to the preset third interface communication protocol, to be used in the third mixed message data. The third interface user plane data control plane data is separated.
优选地,将分离出的各个接口的控制面数据,以及各个接口或者任一接口的用户面数据分别通过对应的物理接口输出的步骤包括:获取各个接口的控制面数据,以及各个接口或者任一接口的用户面数据的目的IP信息,并根据获取到的目的IP信息将各个接口的控制面数据,以及各个接口或者任一接口的用户面数据分别分为多个数据流;根据预设的目的IP信息和物理端口的映射关系,确定各个数据流所对应的物理端口,将各个数据流通过对应的物理端口输出。Preferably, the step of outputting the control plane data of the separated interfaces and the user plane data of each interface or any interface through the corresponding physical interface respectively includes: acquiring control plane data of each interface, and each interface or any The destination IP address of the user plane data of the interface, and divides the control plane data of each interface and the user plane data of each interface or any interface into multiple data streams according to the obtained destination IP information; according to the preset purpose The mapping between the IP information and the physical port determines the physical port corresponding to each data stream, and outputs each data stream through the corresponding physical port.
本发明还提出一种混合通信数据的分流系统,包括:解析模块,设置为对接收到的第一混合报文数据进行解析,其中所述混合报文数据中包含多个报文;分离模块,设置为按照预设的第一分离规则将解析后的第一混合报文数据分离为各个接口的控制面数据,以及各个接口或者任一接口的用户面数据;输出模块,设置为将分离各个接口的控制面数据,以及各个接口或者任一接口的用户面数据分别封装后输出。The present invention further provides a shunting system for mixing communication data, comprising: a parsing module, configured to parse the received first mixed message data, wherein the mixed message data includes a plurality of messages; a separation module, The method is configured to separate the parsed first mixed message data into control plane data of each interface, and user interface data of each interface or any interface according to a preset first separation rule; and output modules are set to separate each interface The control plane data, and the user plane data of each interface or any interface are respectively encapsulated and output.
优选地,所述分离模块包括:第一分离子模块,设置为获取混合报文数据中各个报文数据的协议信息,并将协议信息与预设的协议信息相同的报文数据由解析后的第一混合报文数据中分离出来,作为第一接口的控制面数据;第二分离子模块,设置为 获取分离后的第一混合报文数据中各个报文数据的端口信息,根据获取到的端口信息将分离后的第一混合报文数据分离为包含第一接口的用户面数据、第二接口的用户面数据和控制面数据的第二混合报文数据,以及包含第三接口用户面数据、控制面数据以及其它数据的第三混合报文数据;第三分离子模块,设置为按照预设的第二分离规则将第二缓和数据以及第三混合报文数据分离为任一接口的用户面数据,以及第二接口和第三接口的控制面数据。Preferably, the separating module includes: a first separating sub-module, configured to obtain protocol information of each packet data in the mixed packet data, and parse the packet data with the same protocol information and preset protocol information by parsing The first mixed message data is separated as the control plane data of the first interface; the second separated sub-module is set to And obtaining the port information of each packet data in the separated first mixed message data, and separating the separated first mixed message data into user plane data including the first interface and the second interface according to the obtained port information. Second mixed message data of user plane data and control plane data, and third mixed message data including third interface user plane data, control plane data, and other data; and a third separation submodule configured to follow preset The second separation rule separates the second mitigation data and the third mixed message data into user plane data of any interface, and control plane data of the second interface and the third interface.
优选地,所述第三分离子模块包括:第一分离单元,设置为根据预设的通信协议对所述第二混合报文数据进行解析,将该第二混合报文数据分离为包含第一接口和第二接口的控制面数据的第四混合报文数据,以及第二接口的控制面数据;第二分离单元,设置为根据预设IP信息由所述第四混合报文数据中分离出第二接口的用户面数据;第三分离单元,根据预设的第三接口的端口信息或者预设的第三接口通信协议,由所述第三混合报文数据中分离出第三接口控制面数据。Preferably, the third separating sub-module includes: a first separating unit configured to parse the second mixed message data according to a preset communication protocol, and separate the second mixed message data into a first The fourth mixed message data of the control plane data of the interface and the second interface, and the control plane data of the second interface; the second separating unit is configured to be separated from the fourth mixed message data according to the preset IP information The user interface data of the second interface; the third separation unit separates the third interface control plane from the third mixed message data according to the preset port information of the third interface or the preset third interface communication protocol data.
优选地,所述第三分离单元包括:判断子单元,设置为判断第三混合报文数据中各个报文数据的端口信息与预设的第三接口的端口信息是否匹配;第一分离子单元,设置为在第三混合报文数据中各个报文数据的端口信息与预设的第三接口的端口信息匹配时,根据预设的第三接口的端口信息由所述第三混合报文数据中分离出第三接口用户面数据控制面数据;第二分离子单元,设置为在第三混合报文数据中各个报文数据的端口信息与预设的第三接口的端口信息不匹配时,根据预设的第三接口通信协议对第三混合报文数据中的各个报文数据进行解析,以由所述第三混合报文数据中分离出第三接口用户面数据控制面数据。Preferably, the third separating unit includes: a determining subunit, configured to determine whether the port information of each packet data in the third mixed message data matches the port information of the preset third interface; the first separating subunit When the port information of each packet data in the third mixed packet data matches the port information of the preset third interface, the third mixed packet data is used according to the preset port information of the third interface. Separating the third interface user plane data control plane data; the second separation subunit is configured to: when the port information of each packet data in the third hybrid packet data does not match the port information of the preset third interface, And parsing each of the third mixed message data according to the preset third interface communication protocol, to separate the third interface user plane data control plane data from the third mixed message data.
优选地,所述输出模块包括:获取单元,获取各个接口的控制面数据,以及各个接口或者任一接口的用户面数据的目的IP信息;分离单元,设置为根据获取到的目的IP信息将各个接口的控制面数据,以及各个接口或者任一接口的用户面数据分别分为多个数据流;输出单元,设置为根据预设的目的IP信息和物理端口的映射关系,确定各个数据流所对应的物理端口,将各个数据流通过对应的物理端口输出。Preferably, the output module includes: an obtaining unit, acquiring control plane data of each interface, and destination IP information of user interface data of each interface or any interface; and separating unit configured to set each according to the acquired destination IP information The control plane data of the interface, and the user plane data of each interface or any interface are respectively divided into multiple data streams; the output unit is set to determine the corresponding data stream according to the mapping relationship between the preset destination IP information and the physical port. The physical port outputs each data stream through the corresponding physical port.
本发明提出的混合通信数据的分流方法和系统,对接收到的混合报文进行解析,其中所述混合报文中包含多个报文;按照预设的第一分离规则将解析后的第一混合报文数据,分离为各个接口的控制面数据,以及各个接口或者任一接口的用户面数据,并将分离出的各个接口的控制面数据,以及各个接口或者任一接口的用户面数据分别通过对应的物理接口输出,不用先单独关联控制面数据以及用户面数据,直接对接收到的用户面数据和控制面数据进行关联,提高对混合通信数据分流的效率。 The method and system for distributing the mixed communication data provided by the present invention, the received mixed message is parsed, wherein the mixed message includes multiple messages; the first parsed according to the preset first separation rule The mixed message data is separated into the control plane data of each interface, and the user plane data of each interface or any interface, and the separated control plane data of each interface, and the user plane data of each interface or any interface respectively Through the corresponding physical interface output, the control plane data and the user plane data are directly associated with each other, and the received user plane data and the control plane data are directly correlated to improve the efficiency of the split communication data.
附图说明DRAWINGS
图1为本发明混合通信数据的分流方法较佳实施例的流程示意图;1 is a schematic flow chart of a preferred embodiment of a method for distributing hybrid communication data according to the present invention;
图2为图1中步骤S20的较佳实施例的流程示意图;2 is a schematic flow chart of a preferred embodiment of step S20 of FIG. 1;
图3为图2中步骤S23的较佳实施例的流程示意图;3 is a schematic flow chart of a preferred embodiment of step S23 of FIG. 2;
图4为图3中步骤S233的较佳实施例的流程示意图;4 is a schematic flow chart of a preferred embodiment of step S233 in FIG. 3;
图5为图1中步骤S30的较佳实施例的流程示意图;FIG. 5 is a schematic flow chart of a preferred embodiment of step S30 of FIG. 1;
图6为本发明混合通信数据的分流系统较佳实施例的流程示意图。FIG. 6 is a schematic flow chart of a preferred embodiment of a shunt system for mixing communication data according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
下面结合附图及具体实施例就本发明的技术方案做进一步的说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The technical solution of the present invention will be further described below with reference to the accompanying drawings and specific embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
参照图1,图1为本发明混合通信数据的分流方法较佳实施例的流程示意图。Referring to FIG. 1, FIG. 1 is a schematic flowchart diagram of a preferred embodiment of a method for distributing hybrid communication data according to the present invention.
本实施例提出的混合通信数据的分流方法,包括:The method for distributing the mixed communication data proposed in this embodiment includes:
步骤S10,对接收到的第一混合报文数据进行解析,其中所述混合报文数据中包含多个报文;Step S10, parsing the received first mixed message data, where the mixed message data includes multiple messages;
在本实施例中,该第一混合报文中包含多个数据接口的用户面数据以及控制面数据,用户面数据是指业务数据,比如语音数据或者分组业务数据。控制面是指走信令数据(如控制器下发的通信链路建立等指令),用来控制一个呼叫流程建立、维护及释放。例如,在一个通话过程中,用户通过通信终端发送的语音或者视频数据均为用户面数据,而控制服务器下发的呼叫建立以及释放的数据均为控制面数据,该通过过程中的用户面数据以及控制面数据混合形成第一混合报文,该第一混合报文数据均传输至监控平台进行监控,监控平台对接收到的第一混合报文数据进行解析。In this embodiment, the first mixed message includes user plane data and control plane data of multiple data interfaces, and the user plane data refers to service data, such as voice data or packet service data. The control plane refers to the signaling data (such as the communication link establishment command issued by the controller) to control the establishment, maintenance and release of a call flow. For example, in a call, the voice or video data sent by the user through the communication terminal is the user plane data, and the data established and released by the control server is the control plane data, and the user plane data in the passing process. And the control plane data is mixed to form a first mixed message, where the first mixed message data is transmitted to the monitoring platform for monitoring, and the monitoring platform parses the received first mixed message data.
步骤S20,按照预设的第一分离规则将解析后的第一混合报文数据分离为各个接口的控制面数据,以及各个接口或者任一接口的用户面数据; Step S20: Separating the parsed first mixed message data into control plane data of each interface according to a preset first separation rule, and user interface data of each interface or any interface;
在本实施例中,用于用户面数据由多个接口依次进行传输,故,每个接口输出的业务数据均相同,则仅需要分离出任一接口的的用户面数据输出即可,以减少系统开销,并减少物理传输端口的设置,降低成本;为保证数据传输的准确性,也可获取各个接口的用户面数据;而由于每个接口的功能不同,所产生的控制面数据也不同,故需要获取每个接口的控制面数据。In this embodiment, the user plane data is sequentially transmitted by multiple interfaces. Therefore, the service data output by each interface is the same, and only the user plane data output of any interface needs to be separated to reduce the system. Overhead, and reduce the physical transmission port settings, reduce costs; to ensure the accuracy of data transmission, you can also obtain the user plane data of each interface; and because the function of each interface is different, the generated control plane data is also different, so Need to get control surface data for each interface.
该预设的规则可为报文头中的标识信息如协议信息(如协议编号)、及或端口信息(如端口号),及或报文中的字码段信息及或预设的IP信息等,可由运营商根据其通信规则进行灵活设定。The preset rule may be identifier information in the packet header, such as protocol information (such as protocol number), and port information (such as port number), and or the code segment information in the packet and or preset IP information. Etc., the operator can flexibly set according to its communication rules.
步骤S30,将分离出的各个接口的控制面数据,以及各个接口或者任一接口的用户面数据分别通过对应的物理接口输出。In step S30, the control plane data of the separated interfaces and the user plane data of each interface or any interface are respectively output through the corresponding physical interfaces.
在本实施例中,不同的接口的控制面数据以及用户面数据均可通过其对应的物理端口输出,保证将不同接口的用户面数据或者控制面数据发送至对应的终端或者服务器。In this embodiment, the control plane data and the user plane data of different interfaces can be output through the corresponding physical ports, and the user plane data or control plane data of different interfaces are sent to the corresponding terminal or server.
本实施例提出的混合通信数据的分流方法,对接收到的混合报文进行解析,其中所述混合报文中包含多个报文;按照预设的第一分离规则将解析后的第一混合报文数据,分离为各个接口的控制面数据,以及各个接口或者任一接口的用户面数据,并将分离出的各个接口的控制面数据,以及各个接口或者任一接口的用户面数据分别通过对应的物理接口输出,不用先单独关联控制面数据以及用户面数据,直接对接收到的用户面数据和控制面数据进行关联,提高对混合通信数据分流的效率。The method for offloading the mixed communication data in the embodiment, the received mixed message is parsed, wherein the mixed message includes multiple messages; and the first mixed sample is parsed according to a preset first separation rule. The message data is separated into the control plane data of each interface, and the user plane data of each interface or any interface, and the separated control plane data of each interface and the user plane data of each interface or any interface are respectively passed. The corresponding physical interface output does not need to separately associate the control plane data and the user plane data, and directly associates the received user plane data with the control plane data, thereby improving the efficiency of shunting the mixed communication data.
其中,参照图2,步骤S20包括:Wherein, referring to FIG. 2, step S20 includes:
步骤S21,获取混合报文数据中各个报文数据的协议信息,并将协议信息与预设的协议信息相同的报文数据由解析后的第一混合报文数据中分离出来,作为第一接口的控制面数据;Step S21: Obtain protocol information of each packet data in the mixed packet data, and separate the packet data whose protocol information is the same as the preset protocol information from the parsed first mixed packet data, as the first interface. Control surface data;
步骤S22,获取分离后的第一混合报文数据中各个报文数据的端口信息,根据获取到的端口信息将分离后的第一混合报文数据分离为包含第一接口的用户面数据、第二接口的用户面数据和控制面数据的第二混合报文数据,以及包含第三接口用户面数据、控制面数据以及其它数据的第三混合报文数据;Step S22: Obtain port information of each packet data in the separated first mixed message data, and separate the separated first mixed message data into user plane data including the first interface according to the obtained port information. User interface data of the second interface and second mixed message data of the control plane data, and third mixed message data including the third interface user plane data, control plane data, and other data;
步骤S23,按照预设的第二分离规则将第二缓和数据以及第三混合报文数据分离为任一接口的用户面数据,以及第二接口和第三接口的控制面数据。 Step S23, separating the second mitigation data and the third mixed message data into user plane data of any interface and control plane data of the second interface and the third interface according to a preset second separation rule.
在本实施例中,第一混合报文数据可包括第一接口、第二接口以及第三接口的用户面数据以及控制面数据,该第一接口、第二接口和第三接口优选为IuPS、Gn和Gb接口。In this embodiment, the first mixed message data may include user plane data of the first interface, the second interface, and the third interface, and control plane data, where the first interface, the second interface, and the third interface are preferably IuPS, Gn and Gb interfaces.
以下以第一接口、第二接口和第三接口分别为IuPS、Gn和Gb接口为例进行说明:由于IUPS控制面数据的报文头信息中的协议信息,与其它端口的控制面和用户面数据的协议信息不同,则可根据预设的通信协议对接收到的第一混合报文数据中的各个报文进行解析,以获取各个报文的报文头中的协议信息,该协议信息可为协议编号、协议名称或者协议代码等,并将获取到的协议信息与预设的协议信息进行比对,将获取报文头中的协议信息与预设的协议信息匹配的报文作为第一接口的控制面数据,在本实施例中,该协议信息优选为SCTP(STREAM CONTROL TRANSMISSION PROTOCOL,流控制传输协议)协议的编号;由于IuPS和Gn的用户面数据和控制面数据的端口信息相同,故可根据预设的通信协议对接收到的第一混合报文数据中的各个报文进行解析,该端口信息可包括端口编号或者端口名称等,该端口编号优选为(General Data Transfer Platform)通用数据传输平台)的端口编号,如2123、2152以及3386等,将获取报文头中的端口信息与预设的端口信息匹配的报文作为包含第一接口的用户面数据、第二接口的用户面数据和控制面数据的第二混合报文数据,其它报文头中的端口信息与预设的端口信息不匹配的报文作为包含第三接口数据以及其它数据的第三混合报文数据。The following describes the IuPS, Gn, and Gb interfaces as the first interface, the second interface, and the third interface respectively: the protocol information in the packet header information of the IUPS control plane data, and the control plane and user plane of other ports. If the protocol information of the data is different, the received packet in the first mixed packet data may be parsed according to the preset communication protocol, so as to obtain protocol information in the packet header of each packet, the protocol information may be The protocol number, the protocol name, or the protocol code are compared, and the obtained protocol information is compared with the preset protocol information, and the packet matching the protocol information in the packet header and the preset protocol information is taken as the first The control plane data of the interface, in this embodiment, the protocol information is preferably the number of the SCTP (STREAM CONTROL TRANSMISSION PROTOCOL) protocol; since the user plane data of the IuPS and the Gn and the port information of the control plane data are the same, Therefore, each received packet in the first mixed packet data may be parsed according to a preset communication protocol, and the port information may include a port number or Port name, etc., the port number is preferably the port number of the (General Data Transfer Platform) general data transmission platform, such as 2123, 2152, and 3386, etc., and the port information in the packet header is matched with the preset port information. The text is used as the second mixed message data of the user plane data of the first interface, the user plane data of the second interface, and the control plane data, and the packet information of the other packet headers does not match the preset port information. The third mixed message data including the third interface data and other data.
在本实施例中,由于得到的用户面数据为任一接口的用户面数据,则可根据所要得到的用户面数据来确定对应的第二分离规则,即所要得到的用户面数据为第一端口的用户面数据,与所要得到的用户面数据为第二端口的用户面数据时的第二分离规则不同,故可确定所要得到的用户面数据所对应的接口,并根据预设的接口与第二分离规则之间的映射关系,获取确定的接口所对应的第二分离规则。In this embodiment, since the obtained user plane data is the user plane data of any interface, the corresponding second separation rule may be determined according to the user plane data to be obtained, that is, the user plane data to be obtained is the first port. The user plane data is different from the second separation rule when the user plane data to be obtained is the user plane data of the second port, so that the interface corresponding to the user plane data to be obtained can be determined, and according to the preset interface and the Separating the mapping relationship between the rules and obtaining the second separation rule corresponding to the determined interface.
其中,参照图3,步骤S23包括:Wherein, referring to FIG. 3, step S23 includes:
步骤S231,根据预设的通信协议对所述第二混合报文数据进行解析,将所述第二混合报文数据分离为包含第一接口和第二接口的用户面数据的第四混合报文数据,以及第二接口的控制面数据;Step S231, parsing the second mixed message data according to a preset communication protocol, and separating the second mixed message data into a fourth mixed message including user plane data of the first interface and the second interface. Data, and control plane data of the second interface;
步骤S232,根据预设IP信息由所述第四混合报文数据中分离出第二接口的用户面数据;Step S232, separating user plane data of the second interface from the fourth mixed message data according to preset IP information;
步骤S233,根据预设的第三接口的端口信息或者预设的第三接口通信协议,由所述第三混合报文数据中分离出第三接口控制面数据。 Step S233: Separate the third interface control plane data from the third mixed message data according to the preset port information of the third interface or the preset third interface communication protocol.
以下以第一接口、第二接口和第三接口分别为IuPS、Gn和Gb接口为例进行说明:The following describes the IuPS, Gn, and Gb interfaces as the first interface, the second interface, and the third interface, respectively.
在本实施例中,该预设的通信协议优选为GTP协议,根据该预设的通信协议解析该第二混合报文数据的报文时,可获取解析后的各个报文的预设编码端信息,在解析后的报文中预设的编码段信息与预存的编码段信息匹配时,则该解析后的报文为第二接口的控制面数据,在解析后的报文中预设的编码段信息与预存的编码段信息不匹配时,则该解析后的报文为包含第一接口和第二接口的控制面数据的第四混合报文数据。In this embodiment, the preset communication protocol is preferably a GTP protocol, and when the second mixed message data is parsed according to the preset communication protocol, the preset encoding end of each parsed message can be obtained. The information, when the code segment information preset in the parsed message matches the pre-stored code segment information, the parsed message is the control plane data of the second interface, and is preset in the parsed message. When the coded segment information does not match the pre-stored code segment information, the parsed message is the fourth mixed message data including the control plane data of the first interface and the second interface.
在本实施例中,由于Gn接口的用户面数据为两个GGSN(Gateway GSN,网关GSN)之间的通信数据,可预存GGSN的IP信息。在本实施例中,在根据预设的通信协议对所述第二混合报文数据进行解析的过程中,可同时获取各个报文数据的IP信息,并将IP信息封装在各个报文的头部,则直接根据报文头部的IP信息由所述第四混合报文数据中分离出第二接口的用户面数据,头部IP信息与预设的IP信息匹配的报文为第二接口的用户面数据,头部IP信息与预设的IP信息不匹配的报文为第三接口的用户面数据。In this embodiment, since the user plane data of the Gn interface is communication data between two GGSNs (Gateway GSNs, gateway GSNs), the IP information of the GGSNs may be pre-stored. In this embodiment, in the process of parsing the second mixed packet data according to a preset communication protocol, IP information of each packet data may be acquired at the same time, and the IP information is encapsulated in the header of each packet. The user interface data of the second interface is separated from the fourth mixed message data according to the IP information of the packet header, and the packet whose header IP information matches the preset IP information is the second interface. The user plane data, the packet whose header IP information does not match the preset IP information is the user plane data of the third interface.
为保证提取第二端口的用户面数据更加准确,可实时更新预存的IP信息,在本实施例中,可实时接收PDP(Packet Data Protocol,分组数据协议)创建、更新以及删除的控制消息,并解析PDP创建消息和PDP更新消息,以得到对应的目的IP信息以及源IP信息,并根据获取到的目的IP信息以及源IP信息更新预存的IP信息。In order to ensure that the user plane data of the second port is extracted more accurately, the pre-stored IP information can be updated in real time. In this embodiment, a control message for creating, updating, and deleting a PDP (Packet Data Protocol) can be received in real time, and The PDP creation message and the PDP update message are parsed to obtain corresponding destination IP information and source IP information, and the pre-stored IP information is updated according to the acquired destination IP information and source IP information.
上述方案提取出的控制面数据为第二接口的控制面数据,在提取出的控制面数据为第三接口的用户面数据时,步骤S23具体包括:The control plane data extracted by the foregoing solution is the control plane data of the second interface. When the extracted control plane data is the user plane data of the third interface, step S23 specifically includes:
步骤S234,根据预设的通信协议对所述第二混合报文数据进行解析,由所述第二混合报文数据分离出第二接口的控制面数据;Step S234, parsing the second mixed message data according to a preset communication protocol, and separating control plane data of the second interface from the second mixed message data;
步骤S235,根据预设的第三接口的端口信息或者预设的第三接口通信协议,由所述第三混合报文数据中分离出第三接口控制面数据和用户面数据。Step S235: Separate the third interface control plane data and the user plane data from the third mixed message data according to the preset port information of the third interface or the preset third interface communication protocol.
由于第三接口的控制面数据与用户面数据不同,则可直接根据端口信息由包含第三接口的控制面数据和用户面数据的中分离出用户面数据和控制面数据。Since the control plane data of the third interface is different from the user plane data, the user plane data and the control plane data can be directly separated from the control plane data and the user plane data including the third interface according to the port information.
在提取出的控制面数据为第一接口的用户面数据时,步骤S23包括:When the extracted control plane data is the user plane data of the first interface, step S23 includes:
步骤S236,根据预设的通信协议对所述第二混合报文数据进行解析,将所述第二混合报文数据分离为包含第一接口和第二接口的用户面数据的第四混合报文数据,以及第二接口的控制面数据; Step S236, parsing the second mixed message data according to a preset communication protocol, and separating the second mixed message data into a fourth mixed message including user plane data of the first interface and the second interface. Data, and control plane data of the second interface;
步骤S237,根据预设IP信息由所述第四混合报文数据中分离出第一接口的用户面数据;Step S237, separating user plane data of the first interface from the fourth mixed message data according to preset IP information;
步骤S238,根据预设的第三接口的端口信息或者预设的第三接口通信协议,由所述第三混合报文数据中分离出第三接口控制面数据。Step S238: The third interface control plane data is separated from the third mixed message data according to the preset port information of the third interface or the preset third interface communication protocol.
故步骤S23可优化为,获取当前所要提取的用户面数据,根据预设的用户面数据与第二分离规则的映射关系,确定所要提取的用户面数据所对应的第二分离规则,在所要提取的用户面数据为第二接口的用户面数据时,第二分离规则为步骤S231-S233,在所要提取的用户面数据为第三接口的用户面数据时,第二分离规则为步骤S234-S235,在所要提取的用户面数据为第一接口的用户面数据时,第二分离规则为步骤S236-S238。该方案使得该混合通信数据的分流方法应用更加广泛,提高其通用性。Therefore, the step S23 may be optimized to obtain the user plane data to be extracted, and determine a second separation rule corresponding to the user plane data to be extracted according to the mapping relationship between the preset user plane data and the second separation rule, where the second separation rule corresponding to the user plane data to be extracted is selected. When the user plane data is the user plane data of the second interface, the second separation rule is steps S231-S233. When the user plane data to be extracted is the user plane data of the third interface, the second separation rule is step S234-S235. When the user plane data to be extracted is the user plane data of the first interface, the second separation rule is steps S236-S238. The scheme makes the shunting method of the mixed communication data more widely used and improves its versatility.
其中,参照图4步骤S233具体包括:The step S233 of FIG. 4 specifically includes:
步骤S2331,判断第三混合报文数据中各个报文数据的端口信息是否与预设的第三接口的端口信息匹配;Step S2331: Determine whether the port information of each packet data in the third mixed packet data matches the port information of the preset third interface;
步骤S2332,在第三混合报文数据中各个报文数据的端口信息与预设的第三接口的端口信息匹配时,根据预设的第三接口的端口信息由所述第三混合报文数据中分离出第三接口用户面数据控制面数据;Step S2332: When the port information of each packet data matches the port information of the preset third interface in the third mixed packet data, the third mixed packet data is used according to the preset port information of the third interface. Separating the third interface user plane data control plane data;
步骤S2333,在第三混合报文数据中各个报文数据的端口信息与预设的第三接口的端口信息不匹配时,根据预设的第三接口通信协议对第三混合报文数据中的各个报文数据进行解析,以由所述第三混合报文数据中分离出第三接口用户面数据控制面数据。Step S2333: When the port information of each packet data does not match the port information of the preset third interface in the third mixed packet data, the third mixed message data is used according to the preset third interface communication protocol. Each of the message data is parsed to separate the third interface user plane data control plane data from the third hybrid message data.
在本实施例中,由于第三接口的用户面数据以及控制面数据的端口信息不同,则可直接根据预设的端口信息确定第三接口的控制面数据以及用户面数据;当在系统较为庞大时,第三接口用户面数据以及控制面数据中携带的端口信息类型较多,故根据预存的端口信息可能无法准确确认第三接口的控制面数据以及用户面数据,则可根据预设的通信协议区分第三接口的控制面数据和用户面数据。在本实施例中,在获取到的端口信息与预设的端口信息不匹配时,才根据预设的通信协议区分第三接口的用户面数据和控制面火速局,效率较高。在根据预设的协议确定第三接口用户面数据以及控制面数据时,可根据预设的通信协议对第三混合报文数据中各个报文数据进行解析,以获取各个报文数据的预设字段信息(如SAPI字段信息),由于第三接口用户面数据 以及控制面数据的预设字段信息不同,则根据该预设字段信息可直接区分第三接口用户面数据以及控制面数据。In this embodiment, because the user plane data of the third interface and the port information of the control plane data are different, the control plane data and the user plane data of the third interface may be directly determined according to the preset port information; When the third interface user plane data and the control plane data carry more port information types, the control plane data and the user plane data of the third interface may not be accurately confirmed according to the pre-stored port information, and the preset communication may be performed according to the preset communication. The protocol distinguishes the control plane data and the user plane data of the third interface. In this embodiment, when the obtained port information does not match the preset port information, the user plane data of the third interface and the control plane tempo board are distinguished according to the preset communication protocol, and the efficiency is high. When the third interface user plane data and the control plane data are determined according to the preset protocol, each packet data in the third hybrid packet data may be parsed according to a preset communication protocol, to obtain a preset of each packet data. Field information (such as SAPI field information), due to the third interface user plane data And the preset field information of the control plane data is different, and the third interface user plane data and the control plane data can be directly distinguished according to the preset field information.
其中,参照图5步骤S30包括:Wherein, referring to step S30 of FIG. 5, the method includes:
步骤S31,获取各个接口的控制面数据,以及各个接口或者任一接口的用户面数据的目的IP信息,并根据获取到的目的IP信息将各个接口的控制面数据,以及各个接口或者任一接口的用户面数据分别分为多个数据流;Step S31: Obtain control plane data of each interface, and destination IP information of user interface data of each interface or any interface, and control data of each interface according to the obtained destination IP information, and each interface or any interface. User plane data is divided into multiple data streams;
步骤S32,根据预设的目的IP信息和物理端口的映射关系,确定各个数据流所对应的物理端口,将各个数据流通过对应的物理端口输出。Step S32: Determine a physical port corresponding to each data stream according to a preset mapping relationship between the destination IP information and the physical port, and output each data stream through the corresponding physical port.
在本实施例中,可预设目的IP信息与物理端口之间的映射关系,以Gn用户面数据的分流为例:Gn用户面数据包含多个目的IP信息,获取该Gn用户面数据的目的IP信息,并根据目的IP信息与物理端口的映射关系,将该Gn用户面数据分为不同的数据流,并由对应的物理端口输出。In this embodiment, the mapping between the destination IP information and the physical port may be preset, and the splitting of the Gn user plane data is taken as an example: the Gn user plane data includes multiple destination IP information, and the purpose of acquiring the Gn user plane data is IP information, and according to the mapping relationship between the destination IP information and the physical port, the Gn user plane data is divided into different data streams and output by the corresponding physical port.
本领域技术人员可以理解的是,为提高数据分流的准确性,确定预设的目的IP信息和物理端口的映射关系中,是否有目的IP信息与获取到的IP信息匹配,在预设的目的IP信息和物理端口的映射关系中有目的IP信息获取到的目的IP信息匹配时,根据预设的目的IP信息和物理端口的映射关系,确定各个数据流所对应的物理端口,将各个数据流通过对应的物理端口输出;在预设的目的IP信息和物理端口的映射关系中没有目的IP信息获取到的目的IP信息匹配时,按照预设的优先级将各个接口的控制面数据,以及各个接口或者任一接口的用户面数据通过对应优先级的物理端口输出。It can be understood by those skilled in the art that, in order to improve the accuracy of data offloading, it is determined whether the destination IP information matches the acquired IP information in the mapping relationship between the preset destination IP information and the physical port, for a preset purpose. When the destination IP information obtained by the destination IP information is matched in the mapping between the IP information and the physical port, the physical port corresponding to each data stream is determined according to the mapping relationship between the preset destination IP information and the physical port, and each data stream is determined. When the destination IP information obtained by the destination IP information is not matched in the mapping between the preset destination IP information and the physical port, the control plane data of each interface is used according to the preset priority, and each The user plane data of the interface or any interface is output through the physical port of the corresponding priority.
其中,由于服务器中可能并未预存有获取到的目的IP信息,为提高数据分流的准确性,则可直接采用获取到的目的IP信息的个数除以物理端口的数量,以确定每个端口所要传输的数据流的数量;在获取到的目的IP信息的数量小于物理端口的数量时,则根据预设的优先级选择对应的物理端口。The destination IP address may not be pre-stored in the server. To improve the accuracy of data offloading, you can directly use the number of acquired destination IP information divided by the number of physical ports to determine each port. The number of data streams to be transmitted; when the number of acquired destination IP information is smaller than the number of physical ports, the corresponding physical port is selected according to a preset priority.
参照图6,图6为本发明混合通信数据的分流系统较佳实施例的流程示意图。Referring to FIG. 6, FIG. 6 is a schematic flowchart diagram of a preferred embodiment of a shunt system for mixing communication data according to the present invention.
需要强调的是,对本领域的技术人员来说,图6所示功能模块图仅仅是一个较佳实施例的示例图,本领域的技术人员围绕图6所示的混合通信数据的分流系统的功能模块,可轻易进行新的功能模块的补充;各功能模块的名称是自定义名称,仅用于辅助理解该混合通信数据的分流系统的各个程序功能块,不用于限定本发明的技术方案,本发明技术方案的核心是,各自定义名称的功能模块所要达成的功能。 It should be emphasized that, for those skilled in the art, the functional block diagram shown in FIG. 6 is merely an exemplary diagram of a preferred embodiment, and the function of the shunting system of the mixed communication data shown in FIG. 6 by those skilled in the art. The module can be easily supplemented by a new function module; the name of each function module is a custom name, and is used only for each program function block of the shunt system to assist in understanding the mixed communication data, and is not used to limit the technical solution of the present invention. The core of the technical solution of the invention is the function to be achieved by the functional modules of the respective defined names.
本实施例提出一种混合通信数据的分流系统,包括:This embodiment provides a shunting system for mixing communication data, including:
解析模块10,设置为对接收到的第一混合报文数据进行解析,其中所述混合报文数据中包含多个报文;The parsing module 10 is configured to parse the received first mixed message data, where the mixed message data includes multiple messages;
在本实施例中,该第一混合报文中包含多个数据接口的用户面数据以及控制面数据,用户面数据是指业务数据,比如语音数据或者分组业务数据。控制面是指走信令数据(如控制器下发的通信链路建立等指令),用来控制一个呼叫流程建立、维护及释放。例如,在一个通话过程中,用户通过通信终端发送的语音或者视频数据均为用户面数据,而控制服务器下发的呼叫建立以及释放的数据均为控制面数据,该通过过程中的用户面数据以及控制面数据混合形成第一混合报文,该第一混合报文数据均传输至监控平台进行监控,监控平台对接收到的第一混合报文数据进行解析。In this embodiment, the first mixed message includes user plane data and control plane data of multiple data interfaces, and the user plane data refers to service data, such as voice data or packet service data. The control plane refers to the signaling data (such as the communication link establishment command issued by the controller) to control the establishment, maintenance and release of a call flow. For example, in a call, the voice or video data sent by the user through the communication terminal is the user plane data, and the data established and released by the control server is the control plane data, and the user plane data in the passing process. And the control plane data is mixed to form a first mixed message, where the first mixed message data is transmitted to the monitoring platform for monitoring, and the monitoring platform parses the received first mixed message data.
分离模块20,设置为按照预设的第一分离规则将解析后的第一混合报文数据分离为各个接口的控制面数据,以及各个接口或者任一接口的用户面数据;The separation module 20 is configured to separate the parsed first mixed message data into control plane data of each interface according to a preset first separation rule, and user interface data of each interface or any interface;
在本实施例中,用于用户面数据由多个接口依次进行传输,故,每个接口输出的业务数据均相同,则仅需要分离出任一接口的的用户面数据输出即可,以减少系统开销,并减少物理传输端口的设置,降低成本;为保证数据传输的准确性,也可获取各个接口的用户面数据;而由于每个接口的功能不同,所产生的控制面数据也不同,故需要获取每个接口的控制面数据。In this embodiment, the user plane data is sequentially transmitted by multiple interfaces. Therefore, the service data output by each interface is the same, and only the user plane data output of any interface needs to be separated to reduce the system. Overhead, and reduce the physical transmission port settings, reduce costs; to ensure the accuracy of data transmission, you can also obtain the user plane data of each interface; and because the function of each interface is different, the generated control plane data is also different, so Need to get control surface data for each interface.
该预设的规则可为报文头中的标识信息如协议信息(如协议编号)、及或端口信息(如端口号),及或报文中的字码段信息及或预设的IP信息等,可由运营商根据其通信规则进行灵活设定。The preset rule may be identifier information in the packet header, such as protocol information (such as protocol number), and port information (such as port number), and or the code segment information in the packet and or preset IP information. Etc., the operator can flexibly set according to its communication rules.
输出模块30,设置为将分离各个接口的控制面数据,以及各个接口或者任一接口的用户面数据分别封装后输出。The output module 30 is configured to separately encapsulate the control plane data of each interface, and the user plane data of each interface or any interface, and output the data.
在本实施例中,不同的接口的控制面数据以及用户面数据均可通过其对应的物理端口输出,保证将不同接口的用户面数据或者控制面数据发送至对应的终端或者服务器。In this embodiment, the control plane data and the user plane data of different interfaces can be output through the corresponding physical ports, and the user plane data or control plane data of different interfaces are sent to the corresponding terminal or server.
本实施例提出的混合通信数据的分流系统,对接收到的混合报文进行解析,其中所述混合报文中包含多个报文;按照预设的第一分离规则将解析后的第一混合报文数据,分离为各个接口的控制面数据,以及各个接口或者任一接口的用户面数据,并将分离出的各个接口的控制面数据,以及各个接口或者任一接口的用户面数据分别通过 对应的物理接口输出,不用先单独关联控制面数据以及用户面数据,直接对接收到的用户面数据和控制面数据进行关联,提高对混合通信数据分流的效率。The traffic distribution system of the hybrid communication data provided in this embodiment parses the received mixed message, where the mixed message includes multiple messages; the first mixed sample is parsed according to a preset first separation rule. The message data is separated into the control plane data of each interface, and the user plane data of each interface or any interface, and the separated control plane data of each interface and the user plane data of each interface or any interface are respectively passed. The corresponding physical interface output does not need to separately associate the control plane data and the user plane data, and directly associates the received user plane data with the control plane data, thereby improving the efficiency of shunting the mixed communication data.
其中,分离模块20包括:The separation module 20 includes:
第一分离子模块21,设置为获取混合报文数据中各个报文数据的协议信息,并将协议信息与预设的协议信息相同的报文数据由解析后的第一混合报文数据中分离出来,作为第一接口的控制面数据;The first separating sub-module 21 is configured to obtain protocol information of each packet data in the mixed packet data, and separate the packet data with the same protocol information from the preset protocol information from the parsed first mixed packet data. Come out as the control plane data of the first interface;
第二分离子模块22,设置为获取分离后的第一混合报文数据中各个报文数据的端口信息,根据获取到的端口信息将分离后的第一混合报文数据分离为包含第一接口的用户面数据、第二接口的用户面数据和控制面数据的第二混合报文数据,以及包含第三接口用户面数据、控制面数据以及其它数据的第三混合报文数据;The second separation sub-module 22 is configured to obtain the port information of each packet data in the separated first mixed message data, and separate the separated first mixed message data into the first interface according to the obtained port information. User plane data, user plane data of the second interface, and second mixed message data of the control plane data, and third mixed message data including the third interface user plane data, control plane data, and other data;
第三分离子模块23,设置为按照预设的第二分离规则将第二缓和数据以及第三混合报文数据分离为任一接口的用户面数据,以及第二接口和第三接口的控制面数据。The third separating sub-module 23 is configured to separate the second mitigation data and the third mixed message data into user plane data of any interface according to a preset second separating rule, and control planes of the second interface and the third interface data.
在本实施例中,第一混合报文数据可包括第一接口、第二接口以及第三接口的用户面数据以及控制面数据,该第一接口、第二接口和第三接口优选为IuPS、Gn和Gb接口。In this embodiment, the first mixed message data may include user plane data of the first interface, the second interface, and the third interface, and control plane data, where the first interface, the second interface, and the third interface are preferably IuPS, Gn and Gb interfaces.
以下以第一接口、第二接口和第三接口分别为IuPS、Gn和Gb接口为例进行说明:由于IUPS控制面数据的报文头信息中的协议信息,与其它端口的控制面和用户面数据的协议信息不同,则可根据预设的通信协议对接收到的第一混合报文数据中的各个报文进行解析,以获取各个报文的报文头中的协议信息,该协议信息可为协议编号、协议名称或者协议代码等,并将获取到的协议信息与预设的协议信息进行比对,将获取报文头中的协议信息与预设的协议信息匹配的报文作为第一接口的控制面数据,在本实施例中,该协议信息优选为SCTP(STREAM CONTROL TRANSMISSION PROTOCOL,流控制传输协议)协议的编号;由于IuPS和Gn的用户面数据和控制面数据的端口信息相同,故可根据预设的通信协议对接收到的第一混合报文数据中的各个报文进行解析,该端口信息可包括端口编号或者端口名称等,该端口编号优选为(General Data Transfer Platform)通用数据传输平台)的端口编号,如2123、2152以及3386等,将获取报文头中的端口信息与预设的端口信息匹配的报文作为包含第一接口的用户面数据、第二接口的用户面数据和控制面数据的第二混合报文数据,其它报文头中的端口信息与预设的端口信息不匹配的报文作为包含第三接口数据以及其它数据的第三混合报文数据。 The following describes the IuPS, Gn, and Gb interfaces as the first interface, the second interface, and the third interface respectively: the protocol information in the packet header information of the IUPS control plane data, and the control plane and user plane of other ports. If the protocol information of the data is different, the received packet in the first mixed packet data may be parsed according to the preset communication protocol, so as to obtain protocol information in the packet header of each packet, the protocol information may be The protocol number, the protocol name, or the protocol code are compared, and the obtained protocol information is compared with the preset protocol information, and the packet matching the protocol information in the packet header and the preset protocol information is taken as the first The control plane data of the interface, in this embodiment, the protocol information is preferably the number of the SCTP (STREAM CONTROL TRANSMISSION PROTOCOL) protocol; since the user plane data of the IuPS and the Gn and the port information of the control plane data are the same, Therefore, each received packet in the first mixed packet data may be parsed according to a preset communication protocol, and the port information may include a port number or Port name, etc., the port number is preferably the port number of the (General Data Transfer Platform) general data transmission platform, such as 2123, 2152, and 3386, etc., and the port information in the packet header is matched with the preset port information. The text is used as the second mixed message data of the user plane data of the first interface, the user plane data of the second interface, and the control plane data, and the packet information of the other packet headers does not match the preset port information. The third mixed message data including the third interface data and other data.
在本实施例中,由于得到的用户面数据为任一接口的用户面数据,则可根据所要得到的用户面数据来确定对应的第二分离规则,即所要得到的用户面数据为第一端口的用户面数据,与所要得到的用户面数据为第二端口的用户面数据时的第二分离规则不同,故可确定所要得到的用户面数据所对应的接口,并根据预设的接口与第二分离规则之间的映射关系,获取确定的接口所对应的第二分离规则。In this embodiment, since the obtained user plane data is the user plane data of any interface, the corresponding second separation rule may be determined according to the user plane data to be obtained, that is, the user plane data to be obtained is the first port. The user plane data is different from the second separation rule when the user plane data to be obtained is the user plane data of the second port, so that the interface corresponding to the user plane data to be obtained can be determined, and according to the preset interface and the Separating the mapping relationship between the rules and obtaining the second separation rule corresponding to the determined interface.
其中,第三分离子模块23包括:The third separating sub-module 23 includes:
第一分离单元231,设置为根据预设的通信协议对所述第二混合报文数据进行解析,将该第二混合报文数据分离为包含第一接口和第二接口的控制面数据的第四混合报文数据,以及第二接口的控制面数据;The first separating unit 231 is configured to parse the second mixed message data according to a preset communication protocol, and separate the second mixed message data into a control plane data including the first interface and the second interface. Four mixed message data, and control plane data of the second interface;
第二分离单元232,设置为根据预设IP信息由所述第四混合报文数据中分离出第二接口的用户面数据;The second separating unit 232 is configured to separate user plane data of the second interface from the fourth mixed message data according to preset IP information;
第三分离单元233,设置为根据预设的第三接口的端口信息或者预设的第三接口通信协议,由所述第三混合报文数据中分离出第三接口控制面数据。The third separating unit 233 is configured to separate the third interface control plane data from the third mixed message data according to the preset port information of the third interface or the preset third interface communication protocol.
以下以第一接口、第二接口和第三接口分别为IuPS、Gn和Gb接口为例进行说明:The following describes the IuPS, Gn, and Gb interfaces as the first interface, the second interface, and the third interface, respectively.
在本实施例中,该预设的通信协议优选为GTP协议,根据该预设的通信协议解析该第二混合报文数据的报文时,可获取解析后的各个报文的预设编码端信息,在解析后的报文中预设的编码段信息与预存的编码段信息匹配时,则该解析后的报文为第二接口的控制面数据,在解析后的报文中预设的编码段信息与预存的编码段信息不匹配时,则该解析后的报文为包含第一接口和第二接口的控制面数据的第四混合报文数据。In this embodiment, the preset communication protocol is preferably a GTP protocol, and when the second mixed message data is parsed according to the preset communication protocol, the preset encoding end of each parsed message can be obtained. The information, when the code segment information preset in the parsed message matches the pre-stored code segment information, the parsed message is the control plane data of the second interface, and is preset in the parsed message. When the coded segment information does not match the pre-stored code segment information, the parsed message is the fourth mixed message data including the control plane data of the first interface and the second interface.
在本实施例中,由于Gn接口的用户面数据为两个GGSN(Gateway GSN,网关GSN)之间的通信数据,可预存GGSN的IP信息。在本实施例中,在根据预设的通信协议对所述第二混合报文数据进行解析的过程中,可同时获取各个报文数据的IP信息,并将IP信息封装在各个报文的头部,则直接根据报文头部的IP信息由所述第四混合报文数据中分离出第二接口的用户面数据,头部IP信息与预设的IP信息匹配的报文为第二接口的用户面数据,头部IP信息与预设的IP信息不匹配的报文为第三接口的用户面数据。In this embodiment, since the user plane data of the Gn interface is communication data between two GGSNs (Gateway GSNs, gateway GSNs), the IP information of the GGSNs may be pre-stored. In this embodiment, in the process of parsing the second mixed packet data according to a preset communication protocol, IP information of each packet data may be acquired at the same time, and the IP information is encapsulated in the header of each packet. The user interface data of the second interface is separated from the fourth mixed message data according to the IP information of the packet header, and the packet whose header IP information matches the preset IP information is the second interface. The user plane data, the packet whose header IP information does not match the preset IP information is the user plane data of the third interface.
为保证提取第二端口的用户面数据更加准确,可实时更新预存的IP信息,在本实施例中,可实时接收PDP(Packet Data Protocol,分组数据协议)创建、更新以及删除 的控制消息,并解析PDP创建消息和PDP更新消息,以得到对应的目的IP信息以及源IP信息,并根据获取到的目的IP信息以及源IP信息更新预存的IP信息。In order to ensure that the user plane data of the second port is extracted more accurately, the pre-stored IP information can be updated in real time. In this embodiment, the PDP (Packet Data Protocol) can be newly created, updated, and deleted. And control the PDP creation message and the PDP update message to obtain the corresponding destination IP information and the source IP information, and update the pre-stored IP information according to the acquired destination IP information and the source IP information.
上述方案提取出的控制面数据为第二接口的控制面数据,在提取出的控制面数据为第三接口的用户面数据时,第三分离子模块23包括:The control plane data extracted by the foregoing solution is the control plane data of the second interface. When the extracted control plane data is the user plane data of the third interface, the third separation submodule 23 includes:
第四分离单元234,设置为根据预设的通信协议对所述第二混合报文数据进行解析,由所述第二混合报文数据分离出第二接口的控制面数据;The fourth separating unit 234 is configured to parse the second mixed message data according to a preset communication protocol, and separate the control plane data of the second interface from the second mixed message data;
第五分离单元235,设置为根据预设的第三接口的端口信息或者预设的第三接口通信协议,由所述第三混合报文数据中分离出第三接口控制面数据和用户面数据。The fifth separating unit 235 is configured to separate the third interface control plane data and the user plane data from the third mixed packet data according to the preset port information of the third interface or the preset third interface communication protocol. .
由于第三接口的控制面数据与用户面数据不同,则可直接根据端口信息由包含第三接口的控制面数据和用户面数据的中分离出用户面数据和控制面数据。Since the control plane data of the third interface is different from the user plane data, the user plane data and the control plane data can be directly separated from the control plane data and the user plane data including the third interface according to the port information.
在提取出的控制面数据为第一接口的用户面数据时,第三分离子模块23包括:When the extracted control plane data is the user plane data of the first interface, the third separation submodule 23 includes:
第六分离单元236,设置为根据预设的通信协议对所述第二混合报文数据进行解析,将所述第二混合报文数据分离为包含第一接口和第二接口的用户面数据的第四混合报文数据,以及第二接口的控制面数据;The sixth separating unit 236 is configured to parse the second mixed message data according to a preset communication protocol, and separate the second mixed message data into user plane data including the first interface and the second interface. Fourth mixed message data, and control plane data of the second interface;
第七分离单元237,设置为根据预设IP信息由所述第四混合报文数据中分离出第一接口的用户面数据;The seventh separating unit 237 is configured to separate user plane data of the first interface from the fourth mixed message data according to preset IP information;
第八分离单元238,设置为根据预设的第三接口的端口信息或者预设的第三接口通信协议,由所述第三混合报文数据中分离出第三接口控制面数据。The eighth separating unit 238 is configured to separate the third interface control plane data from the third mixed message data according to the preset port information of the third interface or the preset third interface communication protocol.
故,第三分离子模块23可优化为,设置为获取当前所要提取的用户面数据,根据预设的用户面数据与第二分离规则的映射关系,确定所要提取的用户面数据所对应的第二分离规则,并根据确定的第二分离规则将第二缓和数据以及第三混合报文数据分离为任一接口的用户面数据,以及第二接口和第三接口的控制面数据。在所要提取的用户面数据为第二接口的用户面数据时,第三分离子模块23包括第一至第三分离单元;在所要提取的用户面数据为第三接口的用户面数据时,第三分离子模块23包括第四至第五分离单元;在所要提取的用户面数据为第一接口的用户面数据时,第三分离子模块23包括第六至第八分离单元。该方案使得该混合通信数据的分流方法应用更加广泛,提高其通用性。Therefore, the third separation sub-module 23 can be optimized to obtain the user plane data to be extracted currently, and determine the corresponding number of the user plane data to be extracted according to the mapping relationship between the preset user plane data and the second separation rule. Separating the rules, and separating the second mitigation data and the third mixed message data into user plane data of any interface and control plane data of the second interface and the third interface according to the determined second separation rule. When the user plane data to be extracted is the user plane data of the second interface, the third separating submodule 23 includes first to third separating units; when the user plane data to be extracted is the user plane data of the third interface, The third separating sub-module 23 includes fourth to fifth separating units; and when the user plane data to be extracted is user plane data of the first interface, the third separating sub-module 23 includes sixth to eighth separating units. The scheme makes the shunting method of the mixed communication data more widely used and improves its versatility.
其中,所述第三分离单元233包括: The third separating unit 233 includes:
判断子单元2331,设置为判断第三混合报文数据中各个报文数据的端口信息是否与预设的第三接口的端口信息匹配;The determining subunit 2331 is configured to determine whether the port information of each packet data in the third mixed message data matches the port information of the preset third interface;
第一分离子单元2332,设置为在第三混合报文数据中各个报文数据的端口信息与预设的第三接口的端口信息匹配时,根据预设的第三接口的端口信息由所述第三混合报文数据中分离出第三接口用户面数据控制面数据;The first separating sub-unit 2332 is configured to: when the port information of each packet data in the third mixed message data matches the port information of the preset third interface, according to the port information of the preset third interface, Separating the third interface user plane data control plane data from the third mixed message data;
第二分离子单元2333,设置为在第三混合报文数据中各个报文数据的端口信息与预设的第三接口的端口信息不匹配时,根据预设的第三接口通信协议对第三混合报文数据中的各个报文数据进行解析,以由所述第三混合报文数据中分离出第三接口用户面数据控制面数据。The second separating sub-unit 2333 is configured to: when the port information of each packet data in the third mixed message data does not match the port information of the preset third interface, according to the preset third interface communication protocol, the third Each of the message data in the mixed message data is parsed to separate the third interface user plane data control plane data from the third mixed message data.
在本实施例中,由于第三接口的用户面数据以及控制面数据的端口信息不同,则可直接根据预设的端口信息确定第三接口的控制面数据以及用户面数据;当在系统较为庞大时,第三接口用户面数据以及控制面数据中携带的端口信息类型较多,故根据预存的端口信息可能无法准确确认第三接口的控制面数据以及用户面数据,则可根据预设的通信协议区分第三接口的控制面数据和用户面数据。在本实施例中,在获取到的端口信息与预设的端口信息不匹配时,才根据预设的通信协议区分第三接口的用户面数据和控制面火速局,效率较高。在根据预设的协议确定第三接口用户面数据以及控制面数据时,可根据预设的通信协议对第三混合报文数据中各个报文数据进行解析,以获取各个报文数据的预设字段信息(如SAPI字段信息),由于第三接口用户面数据以及控制面数据的预设字段信息不同,则根据该预设字段信息可直接区分第三接口用户面数据以及控制面数据。In this embodiment, because the user plane data of the third interface and the port information of the control plane data are different, the control plane data and the user plane data of the third interface may be directly determined according to the preset port information; When the third interface user plane data and the control plane data carry more port information types, the control plane data and the user plane data of the third interface may not be accurately confirmed according to the pre-stored port information, and the preset communication may be performed according to the preset communication. The protocol distinguishes the control plane data and the user plane data of the third interface. In this embodiment, when the obtained port information does not match the preset port information, the user plane data of the third interface and the control plane tempo board are distinguished according to the preset communication protocol, and the efficiency is high. When the third interface user plane data and the control plane data are determined according to the preset protocol, each packet data in the third hybrid packet data may be parsed according to a preset communication protocol, to obtain a preset of each packet data. The field information (such as the SAPI field information), because the third interface user plane data and the preset field information of the control plane data are different, the third interface user plane data and the control plane data can be directly distinguished according to the preset field information.
其中,输出模块30包括:The output module 30 includes:
获取单元31,获取各个接口的控制面数据,以及各个接口或者任一接口的用户面数据的目的IP信息;The obtaining unit 31 acquires control plane data of each interface, and destination IP information of user interface data of each interface or any interface;
分离单元32,设置为根据获取到的目的IP信息将各个接口的控制面数据,以及各个接口或者任一接口的用户面数据分别分为多个数据流;The separating unit 32 is configured to divide the control plane data of each interface and the user plane data of each interface or any interface into multiple data streams according to the acquired destination IP information;
输出单元33,设置为根据预设的目的IP信息和物理端口的映射关系,确定各个数据流所对应的物理端口,将各个数据流通过对应的物理端口输出。The output unit 33 is configured to determine a physical port corresponding to each data stream according to a preset mapping relationship between the destination IP information and the physical port, and output each data stream through the corresponding physical port.
在本实施例中,可预设目的IP信息与物理端口之间的映射关系,以Gn用户面数据的分流为例:Gn用户面数据包含多个目的IP信息,获取该Gn用户面数据的目的 IP信息,并根据目的IP信息与物理端口的映射关系,将该Gn用户面数据分为不同的数据流,并由对应的物理端口输出。In this embodiment, the mapping between the destination IP information and the physical port may be preset, and the splitting of the Gn user plane data is taken as an example: the Gn user plane data includes multiple destination IP information, and the purpose of acquiring the Gn user plane data is IP information, and according to the mapping relationship between the destination IP information and the physical port, the Gn user plane data is divided into different data streams and output by the corresponding physical port.
本领域技术人员可以理解的是,为提高数据分流的准确性,确定预设的目的IP信息和物理端口的映射关系中,是否有目的IP信息与获取到的IP信息匹配,在预设的目的IP信息和物理端口的映射关系中有目的IP信息获取到的目的IP信息匹配时,根据预设的目的IP信息和物理端口的映射关系,确定各个数据流所对应的物理端口,将各个数据流通过对应的物理端口输出;在预设的目的IP信息和物理端口的映射关系中没有目的IP信息获取到的目的IP信息匹配时,按照预设的优先级将各个接口的控制面数据,以及各个接口或者任一接口的用户面数据通过对应优先级的物理端口输出。It can be understood by those skilled in the art that, in order to improve the accuracy of data offloading, it is determined whether the destination IP information matches the acquired IP information in the mapping relationship between the preset destination IP information and the physical port, for a preset purpose. When the destination IP information obtained by the destination IP information is matched in the mapping between the IP information and the physical port, the physical port corresponding to each data stream is determined according to the mapping relationship between the preset destination IP information and the physical port, and each data stream is determined. When the destination IP information obtained by the destination IP information is not matched in the mapping between the preset destination IP information and the physical port, the control plane data of each interface is used according to the preset priority, and each The user plane data of the interface or any interface is output through the physical port of the corresponding priority.
其中,由于服务器中可能并未预存有获取到的目的IP信息,为提高数据分流的准确性,则可直接采用获取到的目的IP信息的个数除以物理端口的数量,以确定每个端口所要传输的数据流的数量;在获取到的目的IP信息的数量小于物理端口的数量时,则根据预设的优先级选择对应的物理端口。The destination IP address may not be pre-stored in the server. To improve the accuracy of data offloading, you can directly use the number of acquired destination IP information divided by the number of physical ports to determine each port. The number of data streams to be transmitted; when the number of acquired destination IP information is smaller than the number of physical ports, the corresponding physical port is selected according to a preset priority.
以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above description is only a preferred embodiment of the present invention, and thus does not limit the scope of the invention, and the equivalent structural transformations made by the description of the present invention and the contents of the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.
工业实用性Industrial applicability
如上所述,通过上述实施例及优选实施方式,不用先单独关联控制面数据以及用户面数据,直接对接收到的用户面数据和控制面数据进行关联,提高对混合通信数据分流的效率。 As described above, according to the foregoing embodiment and the preferred embodiment, the received user plane data and the control plane data are directly associated with each other without first separately associated control plane data and user plane data, thereby improving the efficiency of splitting the mixed communication data.

Claims (10)

  1. 一种混合通信数据的分流方法,包括:A method for distributing mixed communication data, comprising:
    对接收到的第一混合报文数据进行解析,其中所述第一混合报文数据中包含多个报文;Parsing the received first mixed message data, where the first mixed message data includes multiple messages;
    按照预设的第一分离规则将解析后的第一混合报文数据分离为各个接口的控制面数据,以及各个接口或者任一接口的用户面数据;Separating the parsed first mixed message data into control plane data of each interface according to a preset first separation rule, and user interface data of each interface or any interface;
    将分离出的各个接口的控制面数据,以及各个接口或者任一接口的用户面数据分别通过对应的物理接口输出。The control plane data of each separated interface and the user plane data of each interface or any interface are respectively output through corresponding physical interfaces.
  2. 根据权利要求1所述的方法,其中,所述按照预设的第一分离规则将解析后的第一混合报文数据分离为各个接口的控制面数据,以及各个接口或者任一接口的用户面数据的步骤包括:The method according to claim 1, wherein the parsing the first mixed message data is separated into control plane data of each interface according to a preset first separation rule, and a user plane of each interface or any interface The steps of the data include:
    获取混合报文数据中各个报文数据的协议信息,并将协议信息与预设的协议信息相同的报文数据由解析后的第一混合报文数据中分离出来,作为第一接口的控制面数据;Obtaining protocol information of each packet data in the mixed packet data, and separating the packet data with the same protocol information and the preset protocol information from the parsed first mixed packet data, as a control plane of the first interface data;
    获取分离后的第一混合报文数据中各个报文数据的端口信息,根据获取到的端口信息将分离后的第一混合报文数据分离为包含第一接口的用户面数据、第二接口的用户面数据和控制面数据的第二混合报文数据,以及包含第三接口用户面数据、控制面数据以及其它数据的第三混合报文数据;And obtaining the port information of each packet data in the separated first mixed message data, and separating the separated first mixed message data into user plane data including the first interface and the second interface according to the obtained port information. Second mixed message data of user plane data and control plane data, and third mixed message data including third interface user plane data, control plane data, and other data;
    按照预设的第二分离规则将第二混合数据以及第三混合报文数据分离为任一接口的用户面数据,以及第二接口和第三接口的控制面数据。The second mixed data and the third mixed message data are separated into user plane data of any interface and control plane data of the second interface and the third interface according to a preset second separation rule.
  3. 根据权利要求2所述的方法,其中,所述按照预设的第二分离规则将第二混合数据以及第三混合报文数据分离为任一接口的用户面数据,以及第二接口和第三接口的控制面数据的步骤包括:The method according to claim 2, wherein said separating the second mixed data and the third mixed message data into user plane data of any interface according to a preset second separation rule, and the second interface and the third The steps of the control plane data of the interface include:
    根据预设的通信协议对所述第二混合报文数据进行解析,将该第二混合报文数据分离为包含第一接口和第二接口的用户面数据的第四混合报文数据,以及第二接口的控制面数据;Parsing the second mixed message data according to a preset communication protocol, and separating the second mixed message data into fourth mixed message data including user plane data of the first interface and the second interface, and Control plane data of the second interface;
    根据预设IP信息由所述第四混合报文数据中分离出第二接口的用户面数据; Separating user plane data of the second interface from the fourth mixed message data according to preset IP information;
    根据预设的第三接口的端口信息或者预设的第三接口通信协议,由所述第三混合报文数据中分离出第三接口控制面数据。The third interface control plane data is separated from the third mixed message data according to the preset port information of the third interface or the preset third interface communication protocol.
  4. 根据权利要求3所述的方法,其中,所述根据预设的第三接口的端口信息或者预设的第三接口通信协议,由所述第三混合报文数据中分离出第三接口控制面数据的步骤包括:The method according to claim 3, wherein the third interface control plane is separated from the third mixed message data according to the port information of the preset third interface or the preset third interface communication protocol. The steps of the data include:
    判断第三混合报文数据中各个报文数据的端口信息与预设的第三接口的端口信息是否匹配;Determining whether the port information of each packet data in the third mixed packet data matches the port information of the preset third interface;
    在第三混合报文数据中各个报文数据的端口信息与预设的第三接口的端口信息匹配时,根据预设的第三接口的端口信息由所述第三混合报文数据中分离出第三接口用户面数据控制面数据;When the port information of each packet data matches the port information of the preset third interface in the third mixed packet data, the port information of the third interface is separated from the third mixed packet data according to the preset port information. Third interface user plane data control plane data;
    在第三混合报文数据中各个报文数据的端口信息与预设的第三接口的端口信息不匹配时,根据预设的第三接口通信协议对第三混合报文数据中的各个报文数据进行解析,以由所述第三混合报文数据中分离出第三接口用户面数据控制面数据。If the port information of each packet data does not match the port information of the preset third interface in the third mixed packet data, each packet in the third mixed packet data is used according to the preset third interface communication protocol. The data is parsed to separate the third interface user plane data control plane data from the third mixed message data.
  5. 根据权利要求1所述的方法,其中,所述将分离出的各个接口的控制面数据,以及各个接口或者任一接口的用户面数据分别通过对应的物理接口输出的步骤包括:The method according to claim 1, wherein the step of outputting the control plane data of the separated interfaces and the user plane data of each interface or any interface through the corresponding physical interface respectively comprises:
    获取各个接口的控制面数据,以及各个接口或者任一接口的用户面数据的目的IP信息,并根据获取到的目的IP信息将各个接口的控制面数据,以及各个接口或者任一接口的用户面数据分别分为多个数据流;Obtain control plane data of each interface, and destination IP information of user interface data of each interface or any interface, and control data of each interface according to the obtained destination IP information, and user plane of each interface or any interface The data is divided into multiple data streams;
    根据预设的目的IP信息和物理端口的映射关系,确定各个数据流所对应的物理端口,将各个数据流通过对应的物理端口输出。The physical port corresponding to each data stream is determined according to the preset mapping relationship between the destination IP information and the physical port, and each data stream is output through the corresponding physical port.
  6. 一种混合通信数据的分流系统,包括:A shunt system for mixing communication data, comprising:
    解析模块,设置为对接收到的第一混合报文数据进行解析,其中所述混合报文数据中包含多个报文;The parsing module is configured to parse the received first mixed message data, where the mixed message data includes multiple messages;
    分离模块,设置为按照预设的第一分离规则将解析后的第一混合报文数据分离为各个接口的控制面数据,以及各个接口或者任一接口的用户面数据;The separation module is configured to separate the parsed first mixed message data into control plane data of each interface according to a preset first separation rule, and user interface data of each interface or any interface;
    输出模块,设置为将分离各个接口的控制面数据,以及各个接口或者任一接口的用户面数据分别封装后输出。 The output module is configured to separately separate the control plane data of each interface and the user plane data of each interface or any interface.
  7. 根据权利要求6所述的系统,其中,所述分离模块包括:The system of claim 6 wherein said separation module comprises:
    第一分离子模块,设置为获取混合报文数据中各个报文数据的协议信息,并将协议信息与预设的协议信息相同的报文数据由解析后的第一混合报文数据中分离出来,作为第一接口的控制面数据;The first separating sub-module is configured to obtain protocol information of each packet data in the mixed packet data, and separate the packet data whose protocol information is the same as the preset protocol information from the parsed first mixed packet data. , as control plane data of the first interface;
    第二分离子模块,设置为获取分离后的第一混合报文数据中各个报文数据的端口信息,根据获取到的端口信息将分离后的第一混合报文数据分离为包含第一接口的用户面数据、第二接口的用户面数据和控制面数据的第二混合报文数据,以及包含第三接口用户面数据、控制面数据以及其它数据的第三混合报文数据;The second separation sub-module is configured to obtain the port information of each packet data in the separated first mixed message data, and separate the separated first mixed message data into the first interface according to the obtained port information. User plane data, user plane data of the second interface, and second mixed message data of the control plane data, and third mixed message data including the third interface user plane data, control plane data, and other data;
    第三分离子模块,设置为按照预设的第二分离规则将第二混合数据以及第三混合报文数据分离为任一接口的用户面数据,以及第二接口和第三接口的控制面数据。The third separating submodule is configured to separate the second mixed data and the third mixed message data into user plane data of any interface according to a preset second separating rule, and control plane data of the second interface and the third interface .
  8. 根据权利要求7所述的系统,其中,所述第三分离子模块包括:The system of claim 7 wherein said third separate sub-module comprises:
    第一分离单元,设置为根据预设的通信协议对所述第二混合报文数据进行解析,将该第二混合报文数据分离为包含第一接口和第二接口的控制面数据的第四混合报文数据,以及第二接口的控制面数据;a first separating unit, configured to parse the second mixed message data according to a preset communication protocol, and separate the second mixed message data into fourth information including control plane data of the first interface and the second interface Mixed message data, and control plane data of the second interface;
    第二分离单元,设置为根据预设IP信息由所述第四混合报文数据中分离出第二接口的用户面数据;a second separating unit, configured to separate user plane data of the second interface from the fourth mixed message data according to preset IP information;
    第三分离单元,根据预设的第三接口的端口信息或者预设的第三接口通信协议,由所述第三混合报文数据中分离出第三接口控制面数据。The third separating unit separates the third interface control plane data from the third mixed message data according to the preset port information of the third interface or the preset third interface communication protocol.
  9. 根据权利要求8所述的系统,其中,所述第三分离单元包括:The system of claim 8 wherein said third separation unit comprises:
    判断子单元,设置为判断第三混合报文数据中各个报文数据的端口信息与预设的第三接口的端口信息是否匹配;The determining subunit is configured to determine whether the port information of each packet data in the third mixed packet data matches the port information of the preset third interface;
    第一分离子单元,设置为在第三混合报文数据中各个报文数据的端口信息与预设的第三接口的端口信息匹配时,根据预设的第三接口的端口信息由所述第三混合报文数据中分离出第三接口用户面数据控制面数据;a first separating subunit, configured to: when the port information of each packet data in the third mixed packet data matches the port information of the preset third interface, according to the port information of the preset third interface Separating the third interface user plane data control plane data from the three mixed message data;
    第二分离子单元,设置为在第三混合报文数据中各个报文数据的端口信息与预设的第三接口的端口信息不匹配时,根据预设的第三接口通信协议对第三混合报文数据中的各个报文数据进行解析,以由所述第三混合报文数据中分离出第三接口用户面数据控制面数据。 a second separating subunit, configured to: when the port information of each packet data in the third mixed message data does not match the port information of the preset third interface, according to the preset third interface communication protocol, the third hybrid Each of the message data in the message data is parsed to separate the third interface user plane data control plane data from the third mixed message data.
  10. 根据权利要求6所述的系统,其中,所述输出模块包括:The system of claim 6 wherein said output module comprises:
    获取单元,设置为获取各个接口的控制面数据,以及各个接口或者任一接口的用户面数据的目的IP信息;The obtaining unit is configured to obtain control plane data of each interface, and destination IP information of user interface data of each interface or any interface;
    分离单元,设置为根据获取到的目的IP信息将各个接口的控制面数据,以及各个接口或者任一接口的用户面数据分别分为多个数据流;The separating unit is configured to divide the control plane data of each interface and the user plane data of each interface or any interface into multiple data streams according to the obtained destination IP information;
    输出单元,设置为根据预设的目的IP信息和物理端口的映射关系,确定各个数据流所对应的物理端口,将各个数据流通过对应的物理端口输出。 The output unit is configured to determine a physical port corresponding to each data stream according to a preset mapping relationship between the destination IP information and the physical port, and output each data stream through the corresponding physical port.
PCT/CN2014/087359 2014-05-30 2014-09-24 Method and system for shunting mixed communication data WO2015180331A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410240353.9A CN105207967B (en) 2014-05-30 2014-05-30 The shunt method and system of mixed communication data
CN201410240353.9 2014-05-30

Publications (1)

Publication Number Publication Date
WO2015180331A1 true WO2015180331A1 (en) 2015-12-03

Family

ID=54697998

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/087359 WO2015180331A1 (en) 2014-05-30 2014-09-24 Method and system for shunting mixed communication data

Country Status (2)

Country Link
CN (1) CN105207967B (en)
WO (1) WO2015180331A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110753008A (en) * 2018-07-24 2020-02-04 普天信息技术有限公司 Network data processing device and method based on DPAA
WO2024000214A1 (en) * 2022-06-29 2024-01-04 华为技术有限公司 Communication method in vehicle and related apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102217412A (en) * 2010-11-01 2011-10-12 华为技术有限公司 Method and apparatus for transmitting cpri signals via coaxial cable
CN103024817A (en) * 2011-09-23 2013-04-03 中兴通讯股份有限公司 Data transmission method and system
CN103686859A (en) * 2012-09-17 2014-03-26 中兴通讯股份有限公司 Shunting method and system based on multi-network combined transmission and access network element

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1214590C (en) * 2002-05-29 2005-08-10 华为技术有限公司 Control of wireless access network separated from service function and its comunication method
CN101009644B (en) * 2006-12-25 2011-03-30 华为技术有限公司 A holding method for cross-Iur interface connection of the multicast service and DRNC

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102217412A (en) * 2010-11-01 2011-10-12 华为技术有限公司 Method and apparatus for transmitting cpri signals via coaxial cable
CN103024817A (en) * 2011-09-23 2013-04-03 中兴通讯股份有限公司 Data transmission method and system
CN103686859A (en) * 2012-09-17 2014-03-26 中兴通讯股份有限公司 Shunting method and system based on multi-network combined transmission and access network element

Also Published As

Publication number Publication date
CN105207967B (en) 2019-07-12
CN105207967A (en) 2015-12-30

Similar Documents

Publication Publication Date Title
US10091090B2 (en) Packet forwarding in software defined networking
CN102143035B (en) Data traffic processing method, network device and network system
CN103347013B (en) A kind of OpenFlow network system and method strengthening programmability
CN103986651A (en) SDN controller and control method thereof
JP2017518710A (en) Service flow processing method, apparatus, and device
RU2016131430A (en) SDN CONTROLLER, DATA PROCESSING CENTER SYSTEM AND ROUTING CONNECTION METHOD
EP2753030A1 (en) Flow identification method, device, and system
KR20040055825A (en) System and method for delivering data streams of multiple data types at different priority levels
CN103532672A (en) Processing method of disordered fragmentation messages in SDN and application
KR20030094851A (en) Apparatus for providing QoS on IP router and method for forwarding VoIP traffic
WO2013059991A1 (en) Data message processing method and system, message forwarding device
WO2016062142A1 (en) Method, apparatus and system for converged transmission of packets
CN104734949B (en) A kind of method and device for realizing flow table configuration
TWI625050B (en) Sdn-enabled network communication method and system
CN104301249A (en) Method and device for issuing software defined network (SDN) flow table
EP1953963A4 (en) Method and system for realizing network connection service
US10182132B2 (en) Method, apparatus and system for communication between OpenFlow device and IP network device
WO2015024411A1 (en) Method of obtaining capacity information of serving node, and control platform
RU2014101701A (en) DEVICE AND METHOD FOR COMMUTING MEDIA FLOWS IN REAL TIME
CN104753791B (en) A kind of data package processing method, device and system
KR20160122226A (en) Communication system, control device, communication control method and program
WO2015180331A1 (en) Method and system for shunting mixed communication data
CN111669333A (en) Data transmission method and device, computing equipment and storage medium
EP3226494A1 (en) Switch, devices and methods for receiving and forwarding ethernet packets
WO2017024818A1 (en) Method and device for processing data message

Legal Events

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

Ref document number: 14893557

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14893557

Country of ref document: EP

Kind code of ref document: A1