CN113472812A - Message data processing method and device and computer readable storage medium - Google Patents

Message data processing method and device and computer readable storage medium Download PDF

Info

Publication number
CN113472812A
CN113472812A CN202111018182.1A CN202111018182A CN113472812A CN 113472812 A CN113472812 A CN 113472812A CN 202111018182 A CN202111018182 A CN 202111018182A CN 113472812 A CN113472812 A CN 113472812A
Authority
CN
China
Prior art keywords
message data
processor
target
data processing
processing method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111018182.1A
Other languages
Chinese (zh)
Other versions
CN113472812B (en
Inventor
卢瑞昕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Dinstar Co ltd
Original Assignee
Shenzhen Dinstar Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Dinstar Co ltd filed Critical Shenzhen Dinstar Co ltd
Priority to CN202111018182.1A priority Critical patent/CN113472812B/en
Publication of CN113472812A publication Critical patent/CN113472812A/en
Application granted granted Critical
Publication of CN113472812B publication Critical patent/CN113472812B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]

Abstract

The invention discloses a message data processing method, a device and a computer readable storage medium, wherein the message data processing method comprises the following steps: when message data are received, analyzing the signaling characteristics of the message data; determining a target processor corresponding to the message data from the processor array according to the signaling characteristics; and sending the message data to the target processor so as to process the target message data through the target processor. The message data are distributed to the corresponding processors in the processor array of the boundary session controller for processing through the shunt of the boundary session controller, and the concurrent processing efficiency of the message data can be improved.

Description

Message data processing method and device and computer readable storage medium
Technical Field
The present invention relates to the field of packet processing technologies, and in particular, to a packet data processing method and apparatus, and a computer-readable storage medium.
Background
With the wide application of the IP voice technology, the security problem of voice communication is increasingly outstanding, so that a large number of operators or large-scale enterprises begin to deploy a large number of devices such as SBCs (Session Border controllers) to process message data in the voice communication service, so as to prevent hackers and other illegal attacks while performing communication adaptation scheduling.
However, for massive message data, the efficiency of the existing SBC device for concurrently processing the message data needs to be further improved.
Disclosure of Invention
The invention mainly aims to provide a message data processing method, a message data processing device and a computer readable storage medium, and aims to improve the concurrent processing efficiency of message data while ensuring call connection.
In order to achieve the above object, the present invention provides a message data processing method applied to a splitter of a border session controller, where the splitter is used to distribute message data to each processor of a processor array of the border session controller, and the message data processing method includes the following steps:
when message data are received, analyzing the signaling characteristics of the message data;
determining a target processor corresponding to the message data from the processor array according to the signaling characteristics;
and sending the message data to the target processor so as to process the target message data through the target processor.
Optionally, the step of determining, from the processor array, a target processor corresponding to the packet data according to the signaling feature includes:
determining target message data corresponding to the same calling terminal according to the signaling characteristics;
and determining a corresponding target processor according to the target message data.
Optionally, the signaling feature comprises at least one of a protocol type, a signaling port, and a call identification.
Optionally, the step of determining target packet data corresponding to the same calling terminal according to the signaling feature includes:
and determining the message data with the same calling identifier as target message data.
Optionally, the step of determining the message data with the same call identifier as the target message data includes:
screening first message data corresponding to the calling item from the message data according to the protocol type;
screening out legal second message data from the first message data according to the signaling port;
and determining the second message data with the same calling identifier as target message data.
Optionally, the step of determining a corresponding target processor according to the target packet data includes:
acquiring a call identifier of the target message data;
and determining the target processor from the processor array according to the call identifier and a preset mapping relation table, wherein the preset mapping relation table comprises mapping relations between the call identifier and each processor in the processor array.
Optionally, the method further comprises:
deleting the table entries which are not accessed in the preset time interval in the preset mapping relation table.
Optionally, the step of sending the message data to the target processor includes:
acquiring address information of the target processor;
updating the message data according to the address information;
and sending the updated message data to the target processor.
In addition, in order to achieve the above object, the present invention further provides a message data processing apparatus, where the message data processing apparatus includes a memory, a processor, and a message data processing program stored on the processor and capable of running on the processor, and the processor implements the steps of the message data processing method when executing the message data processing program.
In addition, to achieve the above object, the present invention also provides a computer readable storage medium having a message data processing program stored thereon, which when executed by a processor, implements the steps of the message data processing method as described above.
In the embodiment of the invention, when the shunt of the boundary session controller receives the message data, the message data is processed by analyzing the signaling characteristics of the message data, determining the target processor corresponding to the message data from the processor array according to the signaling characteristics, then sending the message data to the target processor, and processing the message data through the target processor, so that the shunt of the boundary session controller can shunt the message data corresponding to the received communication items to the corresponding processors in the processor array for processing, thereby avoiding the problem that the concurrent processing efficiency of the message data is low due to the fact that the shunt cannot be effectively carried out on massive message data. That is, the message data corresponding to the received communication transaction is shunted by the shunt of the border session controller, so that the concurrent processing efficiency of the message data can be improved, and the timeliness of the communication session can be further improved.
Drawings
Fig. 1 is a schematic structural diagram of a message data processing apparatus in a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a message data processing method according to a first embodiment of the present invention;
fig. 3 is a flowchart illustrating a message data processing method according to a second embodiment of the present invention;
fig. 4 is a schematic diagram of an exemplary embodiment of a message data processing method according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the invention is: when a flow divider of a boundary session controller receives message data, analyzing the signaling characteristics of the message data; determining a target processor corresponding to the message data from the processor array according to the signaling characteristics; and sending the message data to the target processor so as to process the target message data through the target processor.
The existing border session controller cannot perform better concurrent processing on call items initiated by different users while ensuring call connection, so that the concurrent processing efficiency of message data needs to be further improved. Therefore, the solution proposed by the present invention aims to enable the SBC device to improve the concurrent processing efficiency of the message data while ensuring call connection.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a message data processing apparatus in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the message data processing apparatus may include: a communication bus 1002, a processor 1001, such as a CPU, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the message data processing apparatus configuration shown in FIG. 1 does not constitute a limitation of the message data processing apparatus and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
In the message data processing apparatus shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the message data processing program stored in the memory 1005 and perform the relevant steps of the following message data processing method embodiments.
Referring to fig. 2, fig. 2 is a flowchart of a first embodiment of a message data processing method according to the present invention, in this embodiment, the message data processing method includes the following steps:
step S10: when message data are received, analyzing the signaling characteristics of the message data;
it should be noted that, the message data processing method provided in this embodiment is applied to a splitter of a border session controller, where the splitter of the border session controller may be in communication connection with a processor array of the border session controller, and is used to distribute message data to corresponding processors in the processor array of the border session controller, so as to improve the efficiency of concurrently processing message data of the border session controller while ensuring call connection.
In a VoIP (Voice over Internet Protocol, Voice over IP) call, an SBC is often inserted into a signaling and/or media path between a calling party and a called party, and is used to manage an SIP (Session Initiation Protocol) Session between the calling party and the called party, so as to improve the security of the Session, and the like. However, when facing a voice session initiated by multiple calling parties, the SBC correspondingly receives packet data corresponding to multiple voice sessions. Thus, in the case of massive message data, if the SBC processes the message data through only one processor, the load of the processor increases, which not only reduces the processing efficiency of the message data, but also increases the development cost of the session controller due to the high requirement on the processing performance of the processor itself. Therefore, the SBC in this embodiment is provided with a processor array, and can perform parallel processing on voice sessions initiated by different callers at the same time, so as to improve the processing efficiency of message data. And to perform parallel processing on voice sessions initiated by different calling parties at the same time, the SBC needs to distinguish and shunt message data corresponding to voice sessions initiated by different calling parties, so as to shunt appropriate message data to an appropriate processor, thereby implementing multi-processor high-concurrency voice call signaling processing. Therefore, the SBC in this embodiment is further provided with a splitter, configured to split the received packet data. Optionally, the splitter in this embodiment may be a high-speed application layer splitter developed based on an FPGA, and the high-speed processing capability based on the FPGA enables the splitter to reach the linear-speed processing capability, so that a forwarding bottleneck of a non-linear-speed device can be avoided.
Specifically, after entering from the network port of the SBC, the packet data directly flows into the splitter of the SBC, and when receiving the packet data, the splitter of the SBC may analyze the signaling characteristics of the packet data first, so as to implement the splitting and concurrent processing of the packet data according to the signaling characteristics. Here, the signaling characteristics of the message data may include: a data transmission protocol adopted by the message data, a signaling port for message data transmission, a Call-ID of the message data, and the like.
Step S20: determining a target processor corresponding to the message data from the processor array according to the signaling characteristics;
one call is composed of a plurality of sip signalings, namely, one call corresponds to a plurality of message data, and the message data corresponding to the same call needs to be sent to the same processor, so that the integrity of the message data can be ensured, and the call connection can be correctly carried out. Thus, upon receiving the message data, the message data needs to be sent to the appropriate target processor for processing. Therefore, on one hand, the situation that the call connection cannot be met due to the fact that the signaling message is incomplete due to the fact that the message data distribution is wrong can be avoided, and on the other hand, the situation that the message data processing of other processors is influenced due to the fact that the message data distribution is wrong to an improper processor can be avoided, and further the whole message data processing efficiency is influenced.
That is, after the signaling feature of the message data is obtained, the target processor corresponding to the message data may be determined according to the signaling feature. Specifically, if the message data is the first message data corresponding to the same call, a target processor matched with the message data can be found from the processor array according to a preset rule, so that the concurrent processing efficiency of the message data is improved. The method specifically comprises the following steps: and determining a target processor from the processor array according to the occupation situation, the processing capacity and the like of each processor in the processor array. For example, a processor with a low occupancy rate can be found from the processor array as a target processor corresponding to the message data, so that the problem that the concurrent processing efficiency of the message data cannot be effectively improved due to unreasonable processor allocation when the processing capacity of each processor in the processor array is not constant is prevented. Of course, when the mapping relationship between the signaling feature and each processor in the processor array is pre-configured, the target processor array corresponding to the message data can be directly screened from the processor array according to the signaling feature and the pre-configured mapping relationship.
If the message data is not the first message data corresponding to the same call, the message data needs to be sent to the processor where other message data (such as the first message data) corresponding to the same call is located, so as to meet the call connection. At this time, the processor in which other message data corresponding to the same call in the processor array is located is determined as the target processor corresponding to the message data. At this time, in order to find the target processor corresponding to the message data, specifically, the following steps may be performed: searching target message data with the same signaling characteristics as the message data from the processor array, and determining a processor where the target message data is located as a target processor; or when the mapping relation between the signaling characteristics and the processor is configured in advance, the target processor corresponding to the message data is directly determined according to the preset mapping relation and the signaling characteristics.
Step S30: sending the message data to the target processor so as to process the target message data through the target processor;
and after the target processor is determined, the message data are sent to the target processor, and the target message data can be processed through the target processor. Therefore, each piece of message data received by the shunt can be reasonably sent to a proper processor in the processor array for processing, so that the concurrent processing efficiency of the message data can be improved on the basis of meeting the call connection.
In one embodiment, in order to effectively send the message data to the target processor, the message data needs to be reconstructed to update the address information of the target processor into the message data, so that the splitter splits the message data to the target processor according to the address information. Specifically, after the target processor is determined, address information of the target processor needs to be acquired, and the message data is updated according to the address information of the target processor, so that the shunt can send the updated message data to the target processor according to the updated address information, so that the target processor can forward the message data.
In this embodiment, the splitter of the border session controller analyzes the signaling characteristics of the received message data, determines the processor corresponding to the message data from the processor array of the border session controller according to the signaling characteristics, and then sends the message data to the target processor, and processes the message data through the target processor, so that when a single processor is used for processing, the processing efficiency is too low due to too high occupancy rate of the processor, or when a plurality of processors are used for processing, the processing efficiency is low due to the fact that the message data cannot be effectively split. That is, the message data is shunted by the shunt according to the signaling characteristics of the message data, so that the processing efficiency of the message data can be improved.
Based on the above embodiments, a second embodiment of the message data processing method of the present invention is provided. Referring to fig. 3, in this embodiment, the message data processing method includes the following steps:
step S10: when message data are received, analyzing the signaling characteristics of the message data;
step S11: determining target message data corresponding to the same calling terminal according to the signaling characteristics;
step S12: determining a corresponding target processor according to the target message data;
step S30: and sending the message data to the target processor so as to process the message data through the target processor.
It should be noted that the target message data corresponding to the same calling terminal refers to the message data corresponding to the call event generated after the same calling terminal initiates a call event at the same time.
In order to satisfy the call connection function, the message data corresponding to the same call needs to be sent to the same processor for processing, so that the integrity of the message data corresponding to the same call can be ensured. Therefore, in this embodiment, in order to reasonably distribute the message data on the basis of ensuring call connection, the target message data corresponding to each calling terminal needs to be distinguished from the received message data, and then the target message data corresponding to each calling terminal is sent to the corresponding target processor, so as to implement distribution and concurrent processing of the message data corresponding to different calling terminals. Specifically, the target message data corresponding to each calling terminal may be distinguished from the received message data according to the signaling characteristics of the message data. The signaling characteristics of the message data may include at least one of a protocol type, a signaling port, and a call identifier, so as to perform a message offloading function.
When determining target message data corresponding to the same call terminal according to the signaling characteristics, because the call identifier (e.g., a unique call identifier number in the whole call process) in the signaling characteristics of the message data can uniquely identify each piece of message data corresponding to the same call terminal, that is, the call identifiers of the message data corresponding to different call terminals are different, in an embodiment, the target message data corresponding to the same call terminal can be determined according to the call identifier of the message data, so that the target message data corresponding to the same call terminal is shunted to the same processor for processing. Specifically, the message data with the same call identifier may be determined as the target message data corresponding to the same call terminal.
However, in the message data received by the flow divider, there may be situations that part of the message data does not carry the call identifier or part of the message data cannot pass through the signaling port, and thus, in the case of massive message data, if the call identifier of each message is searched one by one, not only a lot of time is consumed, but also part of the message data screened according to the call identifier may be message data not carrying the call identifier or invalid data that cannot pass through the signaling port, so that not only the screening load of the signaling port is increased, but also the message data of the processor is redundant, which is not beneficial to improving the processing efficiency of the message data. Therefore, in order to improve the efficiency of message data processing, the message data can be distinguished together with the protocol type, the signaling port and the call identifier of the message data, so that the target message data corresponding to the same call terminal can be distinguished more orderly, the classification efficiency of the message data is improved, and the processing efficiency of the message data is further improved.
Specifically, since the message data received by the splitter includes not only UDP protocol message data or TCP protocol message data, but also configuration message data of a transport layer protocol and a port for configuring SIP signaling and other message data (e.g., ethernet message data, etc.), the call transaction initiated by the calling terminal is transmitted based on the SIP signaling of the UDP protocol or the TCP protocol. Therefore, in order to determine the target message data corresponding to the same calling terminal, the first message data corresponding to the call item may be first screened from the message data received by the flow splitter according to the protocol type of each message data. That is, the message data whose protocol type is the UDP protocol or the TCP protocol in the received message data may be determined as the first message data. In addition, the configuration message can configure not only the transport layer protocol of the SIP signaling but also the signaling port of the SIP signaling, so that after the first message data corresponding to the call item is screened out, the legal second message data can be further screened out from the first message data according to the configured signaling port. That is, it can be further determined which is the legal first packet data that can pass through the corresponding signaling port and which is the first packet data that cannot pass through the signaling port according to the signaling port, and then the legal second packet data is screened out from the first packet data. Further, after the second message data are screened out, all the second message data are effective data which need to be processed and forwarded through the processor, at this time, because the call identifier can uniquely identify the target message data corresponding to the same terminal, the second message data with the same call identifier can be determined as the target message data according to the call identifier. Therefore, the target data corresponding to the same calling terminal can be distinguished step by step, and the message data distributed to each processor can pass through the corresponding signaling port and are all valid data.
When determining the corresponding target processor according to the target message data, in order to reasonably send the target message data corresponding to the same calling terminal to the corresponding processor, so that not only the shunting function can be achieved, but also the call connection can be ensured, the association relationship can be established between the target message data corresponding to each calling terminal and the corresponding target processor in advance, and the target processor corresponding to the target message data corresponding to each calling terminal can be rapidly determined based on the association relationship. Specifically, since the call identifier of the target packet data corresponding to the same call terminal is unique and the physical address corresponding to the same processor is also unique, a mapping relationship between each call identifier and the physical address of the same processor can be established to associate the target packet data corresponding to each call terminal with the corresponding target processor. Therefore, after the target message data corresponding to each calling terminal is determined, the calling identifier of the target message data corresponding to each calling terminal can be further obtained, and then the target processor corresponding to the target message data of each calling terminal can be determined from the processor array according to the calling identifier and the pre-established mapping relation, so that the reasonable distribution of the message data is realized on the basis of ensuring the call connection.
Optionally, in order to improve the lookup efficiency, so as to quickly determine the processor corresponding to the target packet data corresponding to each call terminal, a Hash table (also called a Hash table) may be established according to the call identifier of the target packet data corresponding to each call terminal and the physical address of each processor, so that the physical address of the corresponding processor may be quickly found by accessing the data structure of the Hash table with the call identifier of the target packet data as a key code value, and the processor corresponding to the physical address is determined as the target processor.
Optionally, in order to improve the processing efficiency of the splitter, a mapping relationship between the call identifier and each processor in the processor array, which is established in advance, needs to be aged periodically. The specific aging rules may be: and deleting the table entries which are not accessed within the preset time in the preset mapping relation table, and/or deleting the table entries with the storage time length exceeding the preset time length in the preset mapping relation table, and the like, so that the influence on the data query efficiency and the processing efficiency of the splitter due to the redundancy of the preset mapping relation table is avoided. When the preset mapping relationship is aged, the aging may be performed before the target processor is determined from the processor array according to the call identifier and the preset mapping relationship table, or the aging may be performed after the target processor is determined from the processor array according to the call identifier and the preset mapping relationship table, which is not specifically limited herein.
In this embodiment, the flow splitter determines target packet data corresponding to the same call terminal through signaling characteristics of the packet data, and determines a corresponding target processor according to the target packet data, so that the target packet data corresponding to the same call terminal can be sent to the same processor for processing.
Based on the foregoing embodiments, an exemplary embodiment of the message data processing method according to the present invention is provided, as shown in fig. 4.
It should be noted that the shunt in this embodiment is constructed by using an Altera cycle series FPGA, and can satisfy most applications in the current control field. In addition, at the front end of the shunt, a first-in first-out (FIFO) queue can be adopted to buffer part of messages which are not processed in time, so that the loss of Ethernet messages caused by processing failure in time is prevented. Based on the high-speed processing performance of the FPGA, the input cache does not need too large cache, so that the cache pressure can be reduced, and the processing load of the shunt is further reduced. Optionally, the splitter may be deployed on a dedicated network board of the SBC device, and may support 4-way gigabit network or 1-way gigabit network input, so that the capability of processing g.711 calls more than 10000 ways in parallel may be achieved.
Optionally, the SBC device has a plurality of media processing boards for processing the coding of the voice media packet, and the splitter of the SBC device also has a dedicated sip signaling processing board for processing a large-scale call signaling.
External network data can enter the SBC equipment through the network board, when the SBC equipment has a plurality of network ports working simultaneously, the external network data firstly enters a shunt on the network board of the SBC equipment for convergence, converged messages are uniformly stored in an FIFO (First Input First Output, First in First out) queue, after a series of high-speed shunting processing, SIP signaling is reconstructed, and the purpose MAC of the messages is mainly replaced, so that the SIP signaling can be accurately and completely sent to a proper CPU for processing.
In a specific flow distribution process, a message may be initially selected to quickly locate a protocol type of each message data, where the specific protocol type may include: configuration messages, other messages, and TCP/UDP messages, etc. The configuration message is used for configuring a transport layer protocol and a port of the SIP signaling; other messages comprise other Ethernet messages and are directly sent to an output queue for sending; only TCP/UDP messages need to be sent to the signaling processing unit of the shunt for processing and subsequent processing, so as to realize reasonable shunt on the basis of ensuring call connection. Further, after the TCP/UDP packet data in the packet data is shunted to the signaling processing unit, the packet data corresponding to the sip signaling may be filtered according to the configuration information of the packet data and sent to the core processing unit of the shunt. Further, the core processing unit may locate sip callids (call identifiers) of message data corresponding to the sip signaling, perform query using a hash algorithm to find a mac corresponding to a suitable processor, and reconstruct the corresponding message data based on the found mac of the processor. In order to improve the data searching efficiency and improve the shunting efficiency of the shunt, a hash table can be used for inquiring. When the hash table is used for inquiring, the hash table needs to be aged periodically to delete the list item corresponding to the calling Callid which does not exist, so that the occupied space of the hash table is released, and the processing efficiency of the shunt is further improved.
That is, the flow divider may first filter out a TCP/UDP message from received message data, then filter out a legal SIP signaling message according to a set signaling port, and then perform message flow division according to the callid of the SIP signaling, so as to flow the message data corresponding to the same call to the same processor for processing. The Callid is a field for marking a unique call in the sip signaling, and the Callid of each call is different and unique; the shunt finds the appropriate CPU which is processing the call according to the Callid quickly, constructs a new Ethernet message according to the mac address of the CPU, and sends the new Ethernet message to the correct CPU for the CPU to carry out reasonable processing.
In addition, an embodiment of the present invention further provides a message data processing apparatus, where the message data processing apparatus includes a memory, a processor, and a message data processing program that is stored on the processor and can be run on the processor, and the processor implements the steps of the message data processing method when executing the message data processing program.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a message data processing program is stored on the computer-readable storage medium, and when being executed by a processor, the message data processing program implements the steps of the message data processing method described above.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, a television, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A message data processing method applied to a splitter of a border session controller, where the splitter is used to distribute message data to each processor of a processor array of the border session controller, and the message data processing method includes the following steps:
when message data are received, analyzing the signaling characteristics of the message data;
determining a target processor corresponding to the message data from the processor array according to the signaling characteristics;
and sending the message data to the target processor so as to process the message data through the target processor.
2. The message data processing method of claim 1, wherein the step of determining the destination processor from the processor array corresponding to the message data based on the signaling characteristics comprises:
determining target message data corresponding to the same calling terminal according to the signaling characteristics;
and determining a corresponding target processor according to the target message data.
3. The message data processing method of claim 2, wherein the signaling characteristic comprises at least one of a protocol type, a signaling port, and a call identification.
4. The message data processing method according to claim 3, wherein the step of determining the target message data corresponding to the same calling terminal according to the signaling characteristics comprises:
and determining the message data with the same calling identifier as target message data.
5. The message data processing method according to claim 4, wherein the step of determining the message data having the same call identifier as the target message data comprises:
screening first message data corresponding to the calling item from the message data according to the protocol type;
screening out legal second message data from the first message data according to the signaling port;
and determining the second message data with the same calling identifier as target message data.
6. The message data processing method of claim 2, wherein the step of determining a corresponding destination processor from the destination message data comprises:
acquiring a call identifier of the target message data;
and determining the target processor from the processor array according to the call identifier and a preset mapping relation table, wherein the preset mapping relation table comprises mapping relations between the call identifier and each processor in the processor array.
7. The message data processing method according to claim 6, wherein the method further comprises:
deleting the table entries which are not accessed in the preset time interval in the preset mapping relation table.
8. The message data processing method of claim 1, wherein the step of sending the message data to the target processor comprises:
acquiring address information of the target processor;
updating the message data according to the address information;
and sending the updated message data to the target processor.
9. A message data processing apparatus comprising a memory, a processor and a message data processing program stored on the memory and executable on the processor, the processor implementing the steps of the message data processing method according to any one of claims 1 to 8 when executing the message data processing program.
10. A computer-readable storage medium, having stored thereon a message data processing program which, when executed by a processor, implements the steps of the message data processing method according to any one of claims 1-8.
CN202111018182.1A 2021-09-01 2021-09-01 Message data processing method and device and computer readable storage medium Active CN113472812B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111018182.1A CN113472812B (en) 2021-09-01 2021-09-01 Message data processing method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111018182.1A CN113472812B (en) 2021-09-01 2021-09-01 Message data processing method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113472812A true CN113472812A (en) 2021-10-01
CN113472812B CN113472812B (en) 2021-12-03

Family

ID=77866936

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111018182.1A Active CN113472812B (en) 2021-09-01 2021-09-01 Message data processing method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113472812B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4288658A (en) * 1979-11-06 1981-09-08 Frederick Electronics Corporation Apparatus for generating telex signaling sequences in a distributed processing telex exchange
US20030214971A1 (en) * 2002-05-20 2003-11-20 Sheldon David Charles System and method for mapping a PSTN trunk to a packet network endpoint
US20060007855A1 (en) * 2004-07-07 2006-01-12 Tran Hieu T Prioritization of network traffic
CN1723680A (en) * 2003-07-12 2006-01-18 韩国通信株式会社 Method and apparatus for changing and pushing a sound source of a supplementary service using a ring back tone on calling
CN102664815A (en) * 2012-05-21 2012-09-12 华为技术有限公司 Load sharing method, device and system for message traffic
US20170244637A1 (en) * 2016-02-19 2017-08-24 Citrix Systems, Inc. Systems and methods for routing network packets between multi-core intermediaries
CN110647494A (en) * 2019-10-09 2020-01-03 盛科网络(苏州)有限公司 Multiprocessor communication method and device
CN111163018A (en) * 2019-12-02 2020-05-15 华为技术有限公司 Network equipment and method for reducing transmission delay thereof
CN113176940A (en) * 2021-03-29 2021-07-27 新华三信息安全技术有限公司 Data flow splitting method and device and network equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4288658A (en) * 1979-11-06 1981-09-08 Frederick Electronics Corporation Apparatus for generating telex signaling sequences in a distributed processing telex exchange
US20030214971A1 (en) * 2002-05-20 2003-11-20 Sheldon David Charles System and method for mapping a PSTN trunk to a packet network endpoint
CN1723680A (en) * 2003-07-12 2006-01-18 韩国通信株式会社 Method and apparatus for changing and pushing a sound source of a supplementary service using a ring back tone on calling
US20060007855A1 (en) * 2004-07-07 2006-01-12 Tran Hieu T Prioritization of network traffic
CN102664815A (en) * 2012-05-21 2012-09-12 华为技术有限公司 Load sharing method, device and system for message traffic
US20170244637A1 (en) * 2016-02-19 2017-08-24 Citrix Systems, Inc. Systems and methods for routing network packets between multi-core intermediaries
CN110647494A (en) * 2019-10-09 2020-01-03 盛科网络(苏州)有限公司 Multiprocessor communication method and device
CN111163018A (en) * 2019-12-02 2020-05-15 华为技术有限公司 Network equipment and method for reducing transmission delay thereof
CN113176940A (en) * 2021-03-29 2021-07-27 新华三信息安全技术有限公司 Data flow splitting method and device and network equipment

Also Published As

Publication number Publication date
CN113472812B (en) 2021-12-03

Similar Documents

Publication Publication Date Title
US10659342B2 (en) Flow entry configuration method, apparatus, and system
US11848866B2 (en) Dynamic loop detection and suppression
US20050232229A1 (en) Communication control unit and filtering method in communication control unit
JP2004166000A (en) Band management system
US20130294449A1 (en) Efficient application recognition in network traffic
CN107659575B (en) Broadband cluster multimedia function body and session method thereof
CN108390954B (en) Message transmission method and device
US10645030B2 (en) Augmentation of pattern matching with divergence histograms
CN110290044B (en) Method, device and storage medium for shunting VPN (virtual private network) and backbone network
US11159920B2 (en) Processing signalling messages in a network node
WO2010051731A1 (en) Method, media gateway and system for managing filtering rules
GB2479651A (en) Overload handling of messages with importance ratings, possibly dependent upon messages stage in connection setup
CN105429881B (en) A kind of method for forwarding multicast message and device
US20170163809A1 (en) Method and Device for Recording Multimedia Data
CN113472812B (en) Message data processing method and device and computer readable storage medium
CN110995744B (en) Message transmission method and device, software defined network switch and storage medium
CN110661922B (en) Call control method, network device and system
CN110719225B (en) Method, device and storage medium for controlling stream media path based on IP network
CN113676411B (en) Network communication method, session edge controller and storage medium
WO2017193960A1 (en) Data stream distribution method and apparatus, and communication system
CN108989313B (en) Message processing method and device and computer readable storage medium
US8462929B1 (en) System, method, and computer program product for storing data associated with origination processing of a call
CN113438170A (en) Method, storage medium and system for libvirt to manage flow table rules of OVS
CN117834471A (en) Method, system, device and storage medium for realizing cloud IPPBX anomaly detection
CN116319557A (en) Message processing method and distributed equipment

Legal Events

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