[go: up one dir, main page]

CN110855424A - Method and device for synthesizing asymmetric flow xDR in DPI field - Google Patents

Method and device for synthesizing asymmetric flow xDR in DPI field Download PDF

Info

Publication number
CN110855424A
CN110855424A CN201910968707.4A CN201910968707A CN110855424A CN 110855424 A CN110855424 A CN 110855424A CN 201910968707 A CN201910968707 A CN 201910968707A CN 110855424 A CN110855424 A CN 110855424A
Authority
CN
China
Prior art keywords
cdr
synthesis server
traffic
synthesis
xdr
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
CN201910968707.4A
Other languages
Chinese (zh)
Other versions
CN110855424B (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.)
Wuhan Green Network Co.,Ltd.
Original Assignee
Wuhan Greenet Information Service 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 Wuhan Greenet Information Service Co Ltd filed Critical Wuhan Greenet Information Service Co Ltd
Priority to CN201910968707.4A priority Critical patent/CN110855424B/en
Publication of CN110855424A publication Critical patent/CN110855424A/en
Application granted granted Critical
Publication of CN110855424B publication Critical patent/CN110855424B/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
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0643Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/41Flow control; Congestion control by acting on aggregated flows or links
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the technical field of DPI, and provides a method and a device for synthesizing asymmetric flow xDR in the field of DPI. The method comprises the steps of generating a message abstract which can be used for determining the uplink flow and the downlink flow of the same session according to one or more items in the five-element group data; determining the total number N of synthesis servers capable of providing the call ticket synthesis service currently; and each DPI device sends the uplink flow and/or the downlink flow stored by the DPI device to a target call ticket synthesis server appointed by the distribution strategy according to the same preset distribution strategy. After the uplink and downlink flows of the session in the network are processed by the DPI equipment loaded in different machine rooms, the DPI equipment can synthesize accurate and complete xDR call ticket records and provide the xDR call ticket records to an upper application big data analysis platform to ensure the accuracy of the platform analysis result, and meanwhile, the xDR call ticket quantity generated by asymmetric flow is reduced, and the processing pressure of the upper big data platform is reduced.

Description

一种DPI领域非对称流量xDR合成的方法和装置A kind of method and device for asymmetric flow xDR synthesis in DPI field

【技术领域】【Technical field】

本发明涉及DPI技术领域,特别是涉及一种DPI领域非对称流量xDR合成的方法和装置。The present invention relates to the technical field of DPI, in particular to a method and device for synthesizing asymmetric flow xDR in the field of DPI.

【背景技术】【Background technique】

目前在深度包检测技术(Deep Packet Inspection,简写为:DPI)领域,不同运营商和网络上,DPI设备部署在互联网数据中心(Internet Data Center,简称为:IDC)机房出口、移动网出口、城域网出口等地方。DPI需要在这些出口点上采集经过的流量进行解析,并生成xDR(全称为:X Detailed Record)话单,其典型的一种系统架构如图1所示。At present, in the field of Deep Packet Inspection (DPI) technology, on different operators and networks, DPI devices are deployed at the Internet Data Center (Internet Data Center, referred to as: IDC) computer room exit, mobile network exit, urban Area network exit and other places. DPI needs to collect and analyze the traffic passing through these exit points, and generate xDR (full name: X Detailed Record) bills. A typical system architecture is shown in Figure 1.

在实际应用中,根据业务不同,DPI设备分为分流器、前置机和xDR服务器。其中分流器的作用对接入的流量进行负载分流,同时保证同一会话的流量能负载到同一台前置机/xDR服务器完成处理;前置机是DPI的核心设备,它主要完成原始流量的预处理,包括对流量的应用进行识别、解析、统计等,例如对http会话的识别,获取相应的url,统计本次会话的请求和回复的总流量等等;xDR服务器主要是生成最终不同应用的xDR话单,例如http的话单、DNS话单、ftp话单、email话单等等。从流量的接入到xDR话单生成过程中对应用的识别是关键,前置机会根据某一次会话的上行流量或者下行流量识别成对应的应用如http视频、qq、微信、爱奇艺等等并生成对应的会话信息传递给xDR服务器,xDR服务器根据会话信息生成对应应用的xDR话单。In practical applications, DPI devices are divided into splitters, front-end machines, and xDR servers according to different services. The function of the splitter is to split the load of the incoming traffic, and at the same time ensure that the traffic of the same session can be loaded to the same front-end/xDR server for processing; the front-end is the core device of DPI, which mainly completes the pre-processing of the original traffic. Processing, including identification, analysis, and statistics of traffic applications, such as identification of http sessions, acquisition of corresponding urls, and statistics of the total traffic of requests and responses in this session, etc. The xDR server mainly generates different final applications. xDR bills, such as http bills, DNS bills, ftp bills, email bills, etc. The key is to identify the application in the process from the access of traffic to the generation of xDR bills. The front-end machine identifies the corresponding application according to the upstream or downstream traffic of a certain session, such as http video, qq, WeChat, iQiyi, etc. The corresponding session information is generated and transmitted to the xDR server, and the xDR server generates an xDR CDR of the corresponding application according to the session information.

虽然在同一个机房内,流量经过前端分流器以后能保证同一会话的流量能够汇聚到同一台DPI前置机处理,并通过后端分流器将同一会话信息数据汇聚到xDR服务器上生成xDR话单。但是目前实际应用中,很多会话特别是IPv6会话的上行流量和下行流量被负载到了不同的机房,如图2所示。Although in the same equipment room, after the traffic passes through the front-end splitter, it can ensure that the traffic of the same session can be aggregated to the same DPI front-end for processing, and the same session information data is aggregated to the xDR server through the back-end splitter to generate xDR bills . However, in current practical applications, the upstream traffic and downstream traffic of many sessions, especially IPv6 sessions, are loaded to different computer rooms, as shown in Figure 2.

一次email会话的上行流量被负载到了机房A,下行流量被负载到了机房B。A机房通过上行流量识别出是email应用,输出了email的xDR话单;而B机房通过下行流量,无法识别是email应用,最终输出的是一个未知应用的xDR话单,最终传给应用大数据平台分析会产生很多问题:第一,对应用的分析数据源不准确导致最终分析结果偏差大;第二,上下行流量分开后原本一个会话只需要输出一份话单,现在输出两份,大大增加了上层应用大数据分析平台的性能负担。而如果将一个机房的流量汇聚到另一个机房可以解决现有的问题,但是需要较大的带宽资源(100G甚至是TB级别),基本不可行。The upstream traffic of an email session is loaded to computer room A, and the downstream traffic is loaded to computer room B. Computer room A recognizes that it is an email application through the upstream traffic, and outputs the xDR bill of email; while the computer room B cannot identify the email application through the downstream traffic, and finally outputs an xDR bill of an unknown application, which is finally transmitted to the application big data Platform analysis will cause many problems: first, inaccurate analysis data sources for applications lead to large deviations in the final analysis results; second, after the upstream and downstream traffic are separated, only one CDR needs to be output for each session, but now two copies are output, which greatly It increases the performance burden of the upper-layer application big data analysis platform. However, if the traffic of one computer room is aggregated to another computer room, the existing problem can be solved, but it requires large bandwidth resources (100G or even TB level), which is basically unfeasible.

鉴于此,克服该现有技术所存在的缺陷是本技术领域亟待解决的问题。In view of this, overcoming the defects of the prior art is an urgent problem to be solved in the technical field.

【发明内容】[Content of the invention]

本发明要解决的技术问题是提供一种DPI领域非对称流量xDR合成的方法。The technical problem to be solved by the present invention is to provide a method for asymmetric flow xDR synthesis in the DPI field.

本发明进一步要解决的技术问题是提供一种DPI领域非对称流量xDR合成的方法。The further technical problem to be solved by the present invention is to provide a method for asymmetric flow xDR synthesis in the DPI field.

本发明采用如下技术方案:The present invention adopts following technical scheme:

第一方面,本发明提供了一种DPI领域非对称流量xDR合成的方法,包括:In a first aspect, the present invention provides a method for asymmetric flow xDR synthesis in the DPI field, including:

根据五元组数据中的一项或者多项,生成可用于确定同一会话上行流量和下行流量的消息摘要;Generate a message digest that can be used to determine the upstream and downstream traffic of the same session according to one or more of the five-tuple data;

确定当前可提供话单合成服务的合成服务器总数量N;Determine the total number N of synthesis servers that can currently provide CDR synthesis services;

各DPI设备根据预设的同一分配策略,向分配策略所指定的目标话单合成服务器,发送自身存储的上行流量和/或下行流量;Each DPI device sends the upstream traffic and/or downstream traffic stored by itself to the target CDR synthesis server specified by the allocation strategy according to the same preset allocation strategy;

其中,所述分配策略中包括根据所述消息摘要和合成服务器总数量N,为各DPI设备指定目标话单合成服务器的方法。Wherein, the allocation strategy includes a method of specifying a target CDR synthesis server for each DPI device according to the message digest and the total number N of synthesis servers.

优选的,所述根据五元组数据中的一项或者多项,生成可用于确定同一会话上行流量和下行流量的消息摘要,具体包括:Preferably, generating a message digest that can be used to determine the upstream traffic and downstream traffic of the same session according to one or more of the five-tuple data, specifically including:

根据五元组中的源IP、目的IP、源端口和目的端口,通过HASH算法得到所述消息摘要;或者,According to the source IP, destination IP, source port and destination port in the quintuple, obtain the message digest through the HASH algorithm; or,

根据五元组中的源IP、目的IP、源端口、目的端口和协议,通过HASH算法得到所述消息摘要;或者,According to the source IP, destination IP, source port, destination port and protocol in the quintuple, obtain the message digest through the HASH algorithm; or,

根据五元组中的源IP和目的IP,通过HASH算法得到所述消息摘要。According to the source IP and destination IP in the quintuple, the message digest is obtained through the HASH algorithm.

优选的,所述HASH算法包括:Preferably, the HASH algorithm includes:

MD4、MD5和/或SHA-1。MD4, MD5 and/or SHA-1.

优选的,所述分配策略中包括根据所述消息摘要和合成服务器总数量N,为各DPI设备指定目标话单合成服务器的方法,具体为:Preferably, the allocation strategy includes a method for specifying a target CDR synthesis server for each DPI device according to the message digest and the total number N of synthesis servers, specifically:

在各话单合成服务器是以0,1,…,N进行编号时,根据所述消息摘要直接与所述总数量N进行求余运算得到所述目标话单合成服务器的编号;或者,When each CDR synthesis server is numbered by 0, 1, ..., N, the number of the target CDR synthesis server is obtained by directly performing a remainder operation with the total number N according to the message digest;

获取统计得到的消息摘要的分布区间,并将所述分布区间根据所述总数量N进行区间划分,则根据生成的消息摘要所属分布区间确定目标话单合成服务器。The distribution interval of the statistically obtained message digest is obtained, and the distribution interval is divided according to the total number N, and the target CDR synthesis server is determined according to the distribution interval to which the generated message digest belongs.

优选的,若第m话单合成服务器要进行离线维护,则所述方法还包括:Preferably, if the mth CDR synthesis server is to be maintained offline, the method further includes:

话单合成服务器管理单元,向各DPI设备发送更新分配策略的请求消息;其中,所述更新分配策略的请求消息中包括,更新话单合成服务器和编号映射关系,或者,发送更新话单合成服务器和区域划分映射关系;The CDR synthesis server management unit sends a request message for updating the allocation strategy to each DPI device; wherein the request message for updating the allocation strategy includes updating the CDR synthesis server and the number mapping relationship, or sending an update CDR synthesis server Mapping relationship with regional division;

话单合成服务器管理单元,向所述第m话单合成服务器获取其已经获取到的上行流量和/或下行流量;a CDR synthesis server management unit, obtaining from the mth CDR synthesis server the upstream traffic and/or downlink traffic that it has acquired;

话单合成服务器管理单元,按照更新后的分配策略,将从第m话单合成服务器获取其已经获取到的上行流量和/或下行流量,转发给更新后的分配策略所指定的目的话单合成服务器。The CDR synthesis server management unit, according to the updated allocation policy, obtains the obtained upstream traffic and/or downlink traffic from the m-th CDR synthesis server, and forwards it to the destination CDR synthesis specified by the updated allocation policy server.

优选的,若话单合成服务器群中要新增第N+1话单合成服务器时,则所述方法包括:Preferably, if the N+1th bill synthesis server is to be added to the bill synthesis server group, the method includes:

话单合成服务器管理单元,向各DPI设备发送更新分配策略的请求消息;其中,所述更新分配策略的请求消息中包括,更新话单合成服务器和编号映射关系,或者,发送更新话单合成服务器和区域划分映射关系;The CDR synthesis server management unit sends a request message for updating the allocation strategy to each DPI device; wherein the request message for updating the allocation strategy includes updating the CDR synthesis server and the number mapping relationship, or sending an update CDR synthesis server Mapping relationship with regional division;

话单合成服务器管理单元,向所述第N+1话单合成服务器同时发送更新前的分配策略和更新后的分配策略;A bill synthesis server management unit, sending the pre-update allocation strategy and the updated allocation strategy to the N+1th bill synthesis server at the same time;

在上线后的预设时间内,若所述第N+1话单合成服务器,获取到的上行流量或下行流量,无法组成完整话单时,将相应的上行流量或下行流量按照更新前的分配策略转发给所述更新前的分配策略所执行的目的话单合成服务器。Within the preset time after going online, if the obtained upstream traffic or downstream traffic cannot form a complete bill by the N+1 CDR synthesis server, the corresponding upstream traffic or downstream traffic will be allocated according to the pre-updated distribution. The policy is forwarded to the destination CDR synthesis server executed by the pre-update allocation policy.

第二方面,本发明还提供了一种DPI领域非对称流量xDR合成的方法,若话单合成服务器群中的第m话单合成服务器要进行离线维护,系统包括:In the second aspect, the present invention also provides a method for asymmetric traffic xDR synthesis in the DPI field. If the mth CDR synthesis server in the CDR synthesis server group is to be maintained offline, the system includes:

向各DPI设备发送更新分配策略的请求消息;其中,所述更新分配策略的请求消息中包括,更新话单合成服务器和编号映射关系,或者,发送更新话单合成服务器和区域划分映射关系;Send a request message for updating the allocation strategy to each DPI device; wherein, the request message for updating the allocation strategy includes updating the CDR synthesis server and the numbering mapping relationship, or, sending and updating the CDR synthesis server and the area division mapping relationship;

向所述第m话单合成服务器获取其已经获取到的上行流量和/或下行流量;Obtain the upstream traffic and/or downstream traffic that it has obtained from the mth CDR synthesis server;

按照更新后的分配策略,将从第m话单合成服务器获取其已经获取到的上行流量和/或下行流量,转发给更新后的分配策略所指定的目的话单合成服务器。According to the updated allocation strategy, the obtained upstream traffic and/or downstream traffic will be obtained from the mth CDR synthesis server, and forwarded to the destination CDR synthesis server specified by the updated allocation strategy.

优选的,所述分配策略包括:Preferably, the allocation strategy includes:

在各话单合成服务器是以0,1,…,N进行编号时,根据所述消息摘要直接与所述总数量N进行求余运算得到所述目标话单合成服务器的编号;或者,When each CDR synthesis server is numbered by 0, 1, ..., N, the number of the target CDR synthesis server is obtained by directly performing a remainder operation with the total number N according to the message digest;

获取统计得到的消息摘要的分布区间,并将所述分布区间根据所述总数量N进行区间划分,则根据生成的消息摘要所属分布区间确定目标话单合成服务器。The distribution interval of the statistically obtained message digest is obtained, and the distribution interval is divided according to the total number N, and the target CDR synthesis server is determined according to the distribution interval to which the generated message digest belongs.

优选的,若话单合成服务器群中要新增第N+1话单合成服务器时,则所述方法还包括:Preferably, if the N+1th bill synthesis server is to be added to the bill synthesis server group, the method further includes:

向各DPI设备发送更新分配策略的请求消息;其中,所述更新分配策略的请求消息中包括,更新话单合成服务器和编号映射关系,或者,发送更新话单合成服务器和区域划分映射关系;Send a request message for updating the allocation strategy to each DPI device; wherein, the request message for updating the allocation strategy includes updating the CDR synthesis server and the numbering mapping relationship, or, sending and updating the CDR synthesis server and the area division mapping relationship;

向所述第N+1话单合成服务器同时发送更新前的分配策略和更新后的分配策略;Sending both the pre-update allocation strategy and the updated allocation strategy to the N+1th CDR synthesis server;

在上线后的预设时间内,若所述第N+1话单合成服务器,获取到的上行流量或下行流量,无法组成完整话单时,将相应的上行流量或下行流量按照更新前的分配策略转发给所述更新前的分配策略所执行的目的话单合成服务器。Within the preset time after going online, if the obtained upstream traffic or downstream traffic cannot form a complete bill by the N+1 CDR synthesis server, the corresponding upstream traffic or downstream traffic will be allocated according to the pre-updated distribution. The policy is forwarded to the destination CDR synthesis server executed by the pre-update allocation policy.

第三方面,本发明还提供了一种DPI领域非对称流量xDR合成的方法,用于实现第一方面所述的一种DPI领域非对称流量xDR合成方法,所述装置包括:In a third aspect, the present invention also provides a method for synthesizing asymmetric flow xDR in the DPI field, which is used to realize the method for synthesizing asymmetric flow xDR in the DPI field described in the first aspect, and the device includes:

至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被程序设置为执行第一方面所述的一种DPI领域非对称流量xDR合成方法。at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being programmed to perform the first aspect An asymmetric flow xDR synthesis method in the DPI field described.

第四方面,本发明还提供了一种非易失性计算机存储介质,所述计算机存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个处理器执行,用于完成第一方面所述的一种DPI领域非对称流量xDR合成方法。In a fourth aspect, the present invention also provides a non-volatile computer storage medium storing computer-executable instructions, the computer-executable instructions being executed by one or more processors for completing the first A DPI field asymmetric flow xDR synthesis method described in the aspect.

本发明对于网络中会话的上下行流量被负载到了不同机房的DPI设备处理后,DPI设备能够合成出准确、完整的xDR话单记录提供给上层应用大数据分析平台保障平台分析结果的准确性,同时减少非对称流量产生xDR话单量,减轻上层大数据平台的处理压力。尤其是在合成服务器具备有多个(组)的情况下,有效的改善了同一会话的上下游话单被分配到了不同合成服务器中问题情况的发生。以及改善了现有技术中利用合成服务器之间的交互方式,实现还原落单话单(例如:仅有上行流量或者仅有下行流量)效率低的问题。In the present invention, after the upstream and downstream traffic of the session in the network is processed by the DPI equipment in different computer rooms, the DPI equipment can synthesize an accurate and complete xDR bill record and provide it to the upper-layer application big data analysis platform to ensure the accuracy of the platform analysis results. At the same time, the amount of xDR bills generated by asymmetric traffic is reduced, and the processing pressure of the upper-layer big data platform is relieved. Especially in the case that there are multiple (groups) of composite servers, the problem that the upstream and downstream bills of the same session are allocated to different composite servers is effectively improved. In addition, the problem of low efficiency in restoring a placed CDR (for example, only upstream traffic or only downstream traffic) in the prior art is improved by using the interaction mode between synthetic servers in the prior art.

【附图说明】【Description of drawings】

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单地介绍。显而易见地,下面所描述的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to describe the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative efforts.

图1是本发明实施例提供的现有的一种DPI和xDR服务器部署关系图;Fig. 1 is an existing DPI and xDR server deployment relationship diagram provided by an embodiment of the present invention;

图2是本发明实施例提供的现有的最简单的一种DPI领域流量xDR转发系统架构图;2 is an architecture diagram of the simplest existing xDR forwarding system for DPI field traffic provided by an embodiment of the present invention;

图3是本发明实施例提供的一种DPI领域非对称流量xDR合成的方法流程图;3 is a flowchart of a method for synthesizing asymmetric traffic xDR in the DPI field provided by an embodiment of the present invention;

图4是本发明实施例提供的一种DPI领域非对称流量xDR合成的系统架构图;4 is a system architecture diagram of a DPI field asymmetric traffic xDR synthesis provided by an embodiment of the present invention;

图5是本发明实施例提供的另一种DPI领域非对称流量xDR合成的方法流程图;5 is a flowchart of another method for synthesizing asymmetric traffic xDR in the DPI field provided by an embodiment of the present invention;

图6是本发明实施例提供的另一种DPI领域非对称流量xDR合成的方法流程图;6 is a flowchart of another method for synthesizing asymmetric traffic xDR in the DPI field provided by an embodiment of the present invention;

图7是本发明实施例提供的另一种DPI领域非对称流量xDR合成的方法流程图;7 is a flowchart of another method for synthesizing asymmetric traffic xDR in the DPI field provided by an embodiment of the present invention;

图8是本发明实施例提供的另一种DPI领域非对称流量xDR合成的方法流程图;8 is a flowchart of another method for synthesizing asymmetric traffic xDR in the DPI field provided by an embodiment of the present invention;

图9是本发明实施例提供的另一种DPI领域非对称流量xDR合成的方法流程图;9 is a flowchart of another method for synthesizing asymmetric traffic xDR in the DPI field provided by an embodiment of the present invention;

图10是本发明实施例提供的另一种DPI领域非对称流量xDR合成装置结构图。FIG. 10 is a structural diagram of another asymmetric flow xDR synthesis device in the DPI field provided by an embodiment of the present invention.

【具体实施方式】【Detailed ways】

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

在本发明的描述中,术语“内”、“外”、“纵向”、“横向”、“上”、“下”、“顶”、“底”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明而不是要求本发明必须以特定的方位构造和操作,因此不应当理解为对本发明的限制。In the description of the present invention, the orientation or positional relationship indicated by the terms "inner", "outer", "longitudinal", "lateral", "upper", "lower", "top", "bottom", etc. are based on the drawings The orientation or positional relationship shown is only for the convenience of describing the present invention rather than requiring the present invention to be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention.

在本发明各实施例中,xDR话单是指移动网、固网等网络中流量的一些关键信息字段的记录,例如某个用户访问某个网站,会产生一条或者多条xDR记录。In various embodiments of the present invention, xDR bills refer to records of some key information fields of traffic in networks such as mobile networks and fixed networks. For example, when a user visits a website, one or more xDR records will be generated.

同源同宿是指处理网络流量过程中,能够保证一次回话(例如http请求)的请求和响应流量汇聚到同一台DPI设备中处理。Homologation means that in the process of processing network traffic, the request and response traffic that can ensure that a call back (such as http request) is converged to the same DPI device for processing.

五元组:在网络流量中能够标识是同一个会话的依据,主要为源IP、目的IP、源端口、目的端口、协议。Five-tuple: The basis for identifying the same session in network traffic, mainly source IP, destination IP, source port, destination port, and protocol.

非对称流量:指网络中上行、下行不经过同一个机房处理的流量;例如某个机房只处理单上行的流量,某个机房只处理单下行的流量。Asymmetric traffic: Refers to the traffic that is not processed by the same computer room for uplink and downlink in the network; for example, a computer room only processes a single uplink traffic, and a certain computer room only processes a single downlink traffic.

非对称xDR话单:指处理了非对称流量后生成的只有上行流量或者只有下行流量的xDR话单。Asymmetric xDR CDR: refers to an xDR CDR with only upstream traffic or only downstream traffic generated after processing asymmetric traffic.

如图4所示,在原有的部署方案基础上,增加话单合成服务器群。话单合成服务器群对单上行或单下行流量的xDR话单进行合成,最终生成完整的xDR话单。方案的核心是DPI设备需要增加非对称话单的能力,保证同一个会话的非对称话单能够同时汇聚到同一台话单合成服务器上。As shown in Figure 4, based on the original deployment solution, a CDR synthesis server group is added. The CDR synthesis server group synthesizes the xDR CDRs of a single upstream or single downstream traffic, and finally generates a complete xDR CDR. The core of the solution is that the DPI device needs to increase the capability of asymmetric CDRs to ensure that the asymmetric CDRs of the same session can be aggregated to the same CDR synthesis server at the same time.

DPI设备进行xDR会话上报处理的主要逻辑原理如下:The main logic principle of xDR session reporting processing by DPI devices is as follows:

DPI设备在处理会话流量生成话单时先判断xDR话单是否是对称的话单(有上下行流量),如果是则直接发送给大数据分析平台使用,如果不是则将该条xDR话单发送给话单合成服务器合成。选择目的合成服务器算法如下:When the DPI device processes the session traffic and generates the CDR, it first determines whether the xDR CDR is a symmetric CDR (with upstream and downstream traffic), and if so, it is directly sent to the big data analysis platform for use, if not, the xDR CDR is sent to CDR synthesis server synthesis. The algorithm for selecting the destination synthesis server is as follows:

1、假设有N台话单合成服务器,每个服务器对应的IP是IP1、IP2、IP3…IPN;N为自然数;1. Suppose there are N CDR synthesis servers, and the corresponding IPs of each server are IP 1 , IP 2 , IP 3 ... IP N ; N is a natural number;

2、在选择话单合成服务器时根据非对称xDR的五元组hash出一个key;2. When selecting the CDR synthesis server, generate a key according to the quintuple hash of the asymmetric xDR;

3、用算出来key做key%m运算,得到n,IPn就是该非对称xDR要发送到的合成服务器的IP;3. Use the calculated key to perform key%m operation to obtain n, and IP n is the IP of the synthesis server to which the asymmetric xDR is to be sent;

4、按照两个机房,每个机房接入的流量500G,存在70%的非对称流量,每天产生的xDR话单为量为216TB,其中有70%的xDR话单存在问题,同时有75.6TB的xDR话单是由于非对称流量原因产生的额外话单。如使用该方案后,每天产生将减少75.6TB,对上层大数据分析平台带来的性能损耗减少35%左右,同时保证xDR话单的上下行流量完整。4. According to two computer rooms, the traffic connected to each computer room is 500G, and there is 70% asymmetric traffic. The amount of xDR bills generated every day is 216TB, of which 70% of the xDR bills have problems and 75.6TB. The xDR CDRs are additional CDRs due to asymmetric traffic. If this solution is used, the daily production will be reduced by 75.6TB, the performance loss of the upper-layer big data analysis platform will be reduced by about 35%, and the integrity of the upstream and downstream traffic of the xDR CDR will be ensured.

下面所描述的本发明各个实施方式中所涉及到的技术特征只要彼此之间未构成冲突就可以相互组合。The technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

实施例1:Embodiment 1:

本发明实施例1提供了一种DPI领域非对称流量xDR合成的方法,本发明实施例的执行主体可以是多种形式,可以是直接将该执行方法过程运行在如图2所示的机房中;也可以单独设立一个主机作为如图4所示的,包含有多个话单合成服务器架构中,相应话单合成服务器群的代理,专门用于接收来自各机房的话单,并根据本发明实施例所述方法执行后,确定相应话单所要转发的具体合成服务器对象。如图3所述,本发明实施例方法包括:Embodiment 1 of the present invention provides a method for xDR synthesis of asymmetric traffic in the DPI field. The execution body of the embodiment of the present invention may be in various forms, and the execution method may be directly executed in the computer room as shown in FIG. 2 . ; It is also possible to set up a single host as shown in Figure 4, including a plurality of bill synthesis server architectures, the agent of the corresponding bill synthesis server group, specially used to receive bills from each computer room, and implemented according to the present invention After the method described in the example is executed, the specific composite server object to be forwarded by the corresponding bill is determined. As shown in FIG. 3 , the method according to the embodiment of the present invention includes:

在步骤201中,根据五元组数据中的一项或者多项,生成可用于确定同一会话上行流量和下行流量的消息摘要。In step 201, a message digest that can be used to determine the upstream traffic and downstream traffic of the same session is generated according to one or more items in the five-tuple data.

在本发明实施例中,所述根据五元组数据中的一项或者多项,生成可用于确定同一会话上行流量和下行流量的消息摘要,典型的几种方式包括:In this embodiment of the present invention, generating a message digest that can be used to determine the upstream traffic and downstream traffic of the same session according to one or more of the five-tuple data, typical methods include:

方式一、根据五元组中的源IP、目的IP、源端口和目的端口,通过HASH算法得到所述消息摘要。Manner 1: According to the source IP, destination IP, source port and destination port in the quintuple, the message digest is obtained through a HASH algorithm.

方式二、根据五元组中的源IP、目的IP、源端口、目的端口和协议,通过HASH算法得到所述消息摘要。Manner 2: According to the source IP, the destination IP, the source port, the destination port and the protocol in the quintuple, the message digest is obtained through a HASH algorithm.

方式三、根据五元组中的源IP和目的IP,通过HASH算法得到所述消息摘要。Manner 3: According to the source IP and the destination IP in the quintuple, the message digest is obtained through a HASH algorithm.

上述三种方式对于最终的处理影响不大,处于计算效率的考虑,采用方式一所花费的计算时间会更少,且已经足以满足区分话单的作用。The above three methods have little effect on the final processing, and considering the calculation efficiency, the calculation time spent in the first method will be less, and it is sufficient to satisfy the function of distinguishing the CDRs.

在步骤202中,确定当前可提供话单合成服务的合成服务器总数量N。In step 202, the total number N of synthesis servers that can currently provide the CDR synthesis service is determined.

这里的确定动作可以是预先存储本发明实施例的执行主体上,也可以是在本发明实施例执行主体启动后,向主管所述合成服务器数量管理的对象获取;例如本发明实施例开始之初所介绍的代理;或者,如图4所示的由大数据分析平台进行维护。进一步的,若所述合成服务器总数量是由单独的第三方进行维护(例如代理或者大数据分析平台),则在相应第三方确定合成服务器总数量有变动的情况下,优选的是直接发送更新请求运行本发明方法实施例的主体,以便其更新本地存储或者获取到的合成服务器总数量N。The determination action here may be pre-stored on the execution body of the embodiment of the present invention, or may be obtained from the object in charge of the number management of the synthesis server after the execution body of the embodiment of the present invention is started; for example, at the beginning of the embodiment of the present invention The agent introduced; alternatively, maintained by a big data analytics platform as shown in Figure 4. Further, if the total number of synthetic servers is maintained by a separate third party (such as an agent or a big data analysis platform), then in the case where the corresponding third party determines that the total number of synthetic servers has changed, it is preferable to send an update directly. The main body of the method embodiment of the present invention is requested to run, so that it updates the locally stored or acquired total number N of synthesis servers.

在步骤203中,各DPI设备根据预设的同一分配策略,向分配策略所指定的目标话单合成服务器,发送自身存储的上行流量和/或下行流量;In step 203, each DPI device sends the upstream traffic and/or downstream traffic stored by itself to the target CDR synthesis server specified by the allocation strategy according to the same preset allocation strategy;

其中,所述分配策略中包括根据所述消息摘要和合成服务器总数量N,为各DPI设备指定目标话单合成服务器的方法。Wherein, the allocation strategy includes a method of specifying a target CDR synthesis server for each DPI device according to the message digest and the total number N of synthesis servers.

本发明实施例对于网络中会话的上下行流量被负载到了不同机房的DPI设备处理后,DPI设备能够合成出准确、完整的xDR话单记录提供给上层应用大数据分析平台保障平台分析结果的准确性,同时减少非对称流量产生xDR话单量,减轻上层大数据平台的处理压力。尤其是在话单合成服务器具备有多个(组)的情况下,有效的改善了同一会话的上下游话单被分配到了不同话单合成服务器中问题情况的发生。以及改善了现有技术中利用话单合成服务器之间的交互方式,实现还原落单话单(例如:仅有上行流量或者仅有下行流量)效率低的问题。In the embodiment of the present invention, after the upstream and downstream traffic of the session in the network is loaded to the DPI equipment in different computer rooms for processing, the DPI equipment can synthesize an accurate and complete xDR bill record and provide it to the upper-layer application big data analysis platform to ensure the accuracy of the platform analysis results. At the same time, the amount of xDR bills generated by asymmetric traffic is reduced, and the processing pressure of the upper big data platform is relieved. Especially in the case that there are multiple (groups) of CDR synthesis servers, the problem that the upstream and downstream CDRs of the same session are allocated to different CDR synthesis servers is effectively improved. In addition, the existing technology uses the interaction between the CDR synthesis servers to improve the problem of low efficiency in restoring the CDR (for example, only the upstream traffic or only the downstream traffic).

结合本发明实施例,在步骤201中三种方式所采用的所述HASH算法,具体实现过程中可以包括:MD4、MD5和SHA-1中的任意一种或者多种组合。其中,MD4(RFC 1320)是MIT的Ronald L.Rivest在1990年设计的,MD是Message Digest的缩写。它适用在32位字长的处理器上用高速软件实现——它是基于32位操作数的位操作来实现的。MD5(RFC 1321)是Rivest于1991年对MD4的改进版本,它对输入仍以512位分组,其输出是4个32位字的级联,与MD4相同;MD5比MD4来得复杂,并且速度较之要慢一点,但更安全,在抗分析和抗差分方面表现更好。SHA1是由NIST NSA设计为同DSA一起使用的,它对长度小于2^64的输入,产生长度为160bit的散列值,因此抗穷举(brute-force)性更好;SHA-1设计时基于和MD4相同原理,并且模仿了该算法。With reference to the embodiment of the present invention, the HASH algorithm adopted in the three manners in step 201 may include any one or a combination of multiples of MD4, MD5 and SHA-1 in a specific implementation process. Among them, MD4 (RFC 1320) was designed by Ronald L. Rivest of MIT in 1990, and MD is the abbreviation of Message Digest. It is suitable for high-speed software implementation on 32-bit word-length processors - it is based on bit manipulation of 32-bit operands. MD5 (RFC 1321) is an improved version of MD4 by Rivest in 1991. It still groups the input in 512 bits, and its output is a concatenation of 4 32-bit words, which is the same as MD4; MD5 is more complicated than MD4, and the speed is faster. It's slower, but safer, and is better at anti-analysis and anti-difference. SHA1 is designed by NIST NSA to be used with DSA. It generates a hash value of length 160bit for input whose length is less than 2^64, so it is more resistant to brute-force; SHA-1 is designed when Based on the same principle as MD4, and imitating the algorithm.

在本发明实施例的步骤203中,涉及所述分配策略中包括根据所述消息摘要和合成服务器总数量N,为各DPI设备指定目标话单合成服务器的方法。基于本发明特定实现场景的不同,给予了以下两种可行实现方式,具体为:In step 203 of the embodiment of the present invention, the allocation strategy includes a method for specifying a target CDR synthesis server for each DPI device according to the message digest and the total number N of synthesis servers. Based on the difference of the specific implementation scenarios of the present invention, the following two feasible implementation modes are given, specifically:

方式1、在各话单合成服务器是以0,1,…,N进行编号时,根据所述消息摘要直接与所述总数量N进行求余运算得到所述目标话单合成服务器的编号。Manner 1: When each CDR synthesis server is numbered with 0, 1, . . . , N, the number of the target CDR synthesis server is obtained by directly performing a remainder operation with the total number N according to the message digest.

所述方式1是本发明实施例优选的实现方式,其步进实现起来简便,而且在具体操作过程中发现其在分配平均性角度来说更高。但是,由于要进行一轮求余运算,相对而言计算所占用的资源比方式2更多。The mode 1 is a preferred implementation mode of the embodiment of the present invention, and its step-by-step implementation is simple, and in the specific operation process, it is found that it is higher in terms of distribution evenness. However, since one round of remainder operation needs to be performed, relatively speaking, the calculation takes up more resources than Mode 2.

方式2、获取统计得到的消息摘要的分布区间,并将所述分布区间根据所述总数量N进行区间划分,则根据生成的消息摘要所属分布区间确定目标话单合成服务器。Manner 2: Obtain the distribution interval of the statistically obtained message digest, and divide the distribution interval into intervals according to the total number N, and then determine the target CDR synthesis server according to the distribution interval to which the generated message digest belongs.

所述方式2简单理解就是将消息摘要(计算得到的HASH值)作为自然数,并根据其参数所占字节划定区域范围,并将所述区域范围通过分布区间的方式,对号入座给各话单合成服务器,简单的用参数值进行具例:对于分布区间为[1000,2000]作为话单合成服务器1的分布区间,则相应的若计算出某一话单的消息摘要值为1500,则相应的会被指定转交给所述话单合成服务器1进行xDR合成。相比较方式1而言,方式2的效率会更高,适合于有大量数据待处理的情况。The simple understanding of the method 2 is that the message digest (the calculated HASH value) is used as a natural number, and the area range is delimited according to the bytes occupied by its parameters. For the synthesis server, simply use the parameter values as an example: for the distribution interval [1000, 2000] as the distribution interval of the CDR synthesis server 1, if the message digest value of a CDR is calculated to be 1500, then the corresponding will be designated and forwarded to the CDR synthesis server 1 for xDR synthesis. Compared with method 1, method 2 is more efficient, and is suitable for situations where there is a large amount of data to be processed.

因此,存在一种优选的实现方式,即根据当前话单业务总量,设置一业务总量阈值,若低于所述业务总量阈值则采用上述方式1,提高各话单服务器的资源占用平摊率,若高于所述业务总量阈值则采用上述方式2,降低本发明实施例执行主体的计算资源占用,从而提高了整个方案的适应能力。Therefore, there is a preferred implementation method, that is, according to the current total amount of billing services, a total business threshold is set, and if it is lower than the total business threshold, the above method 1 is adopted to improve the resource occupation level of each billing server. If the amortization rate is higher than the total business threshold, the above-mentioned method 2 is adopted to reduce the occupation of computing resources of the execution body of the embodiment of the present invention, thereby improving the adaptability of the entire solution.

在本发明实施例方法过程描述过程中,已经介绍了可能发生话单合成服务器故障、掉线、更新等问题,因此,若第m话单合成服务器要进行离线维护(所述第m话单合成服务器属于原始N个话单合成服务器中的一员),则如图5所示,所述方法还包括:In the process description process of the method in the embodiment of the present invention, it has been introduced that the failure, disconnection, and update of the CDR synthesis server may occur. Therefore, if the mth CDR synthesis server needs to perform offline maintenance (the mth CDR synthesis server The server is a member of the original N CDR synthesis servers), then as shown in FIG. 5 , the method further includes:

在步骤301中,话单合成服务器管理单元(可以理解为上述代理的一种表现形式,但是,也可以实现为由任一主体划分出一部分资源,并运行表现为上述话单合成服务器管理单元,并通过接受各话单合成服务器的心跳消息,来确定其是否正常工作),向各DPI设备发送更新分配策略的请求消息;其中,所述更新分配策略的请求消息中包括,更新话单合成服务器和编号映射关系,或者,发送更新话单合成服务器和区域划分映射关系。In step 301, the CDR synthesis server management unit (which can be understood as a form of representation of the above-mentioned agent, however, can also be implemented as a part of resources divided by any subject, and runs as the CDR synthesis server management unit, And by accepting the heartbeat message of each bill synthesis server, to determine whether it is working normally), and send a request message for updating the allocation strategy to each DPI device; wherein, the request message for updating the allocation strategy includes: updating the bill synthesis server and number mapping relationship, or, send and update the CDR synthesis server and area division mapping relationship.

在步骤302中,话单合成服务器管理单元,向所述第m话单合成服务器获取其已经获取到的上行流量和/或下行流量。In step 302, the bill synthesis server management unit obtains the obtained upstream traffic and/or downstream traffic from the mth bill synthesis server.

这里是基于一个正常维护过程进行阐述的,即第m话单合成服务器要进行维护的话,其是要向话单合成服务器管理单元上报请求的,在此基础上,话单合成服务器管理单元自然能够在接收到第m话单合成服务器要进行维护上报请求后,向第m话单合成服务器获取已经获取到的上行流量和/或下行流量。The explanation here is based on a normal maintenance process, that is, if the mth CDR synthesis server needs to be maintained, it needs to report the request to the CDR synthesis server management unit. On this basis, the CDR synthesis server management unit can naturally After receiving the request for maintenance reporting by the mth CDR synthesis server, obtain the acquired upstream traffic and/or downlink traffic from the mth CDR synthesis server.

在步骤303中,话单合成服务器管理单元,按照更新后的分配策略,将从第m话单合成服务器获取其已经获取到的上行流量和/或下行流量,转发给更新后的分配策略所指定的目的话单合成服务器。In step 303, the CDR synthesis server management unit, according to the updated allocation policy, obtains the acquired upstream traffic and/or downlink traffic from the m-th CDR synthesis server, and forwards it to those specified in the updated allocation policy The destination CDR synthesis server.

这里的更新后的分配策略所指定的目的话单合成服务器,是指更新了映射关系后,根据从第m话单合成服务器获取已经获取到的上行流量和/或下行流量,从新计算各上行流量和/或下行流量的Hash值,并下发给相应目的话单合成服务器。例如:从第m话单合成服务器获取已经获取到的上行流量和/或下行流量中的某一下行流量按照上述方式1计算值为4(4表示其自身正常工作下的映射值,因此历史上被分配给了所述第m话单合成服务器);而因为第m话单合成服务器要维护,此时总合成服务器数量又原来的N便为N-1,此时,利用更新后的映射关系,并按照方式1计算值可能就是5,此时,要按照更新后的映射关系将其转发给与5建立有映射关系的话单合成服务器(在本实施例中也被描述为目的话单合成服务器)。The destination CDR synthesis server specified by the updated allocation policy here means that after the mapping relationship is updated, according to the acquired upstream traffic and/or downstream traffic obtained from the m-th CDR synthesis server, each upstream traffic is recalculated. and/or the Hash value of downlink traffic, and deliver it to the corresponding destination CDR synthesis server. For example: obtain the obtained upstream traffic and/or a certain downstream traffic from the mth CDR synthesis server, and calculate the value according to the above method 1 to 4 (4 represents the mapping value under its own normal operation, so historically is assigned to the m-th CDR synthesis server); and because the m-th CDR synthesis server needs to be maintained, the total number of synthesis servers and the original N is N-1. At this time, the updated mapping relationship is used. , and the calculated value according to method 1 may be 5. At this time, according to the updated mapping relationship, it should be forwarded to the CDR synthesis server that has a mapping relationship with 5 (also described as the destination CDR synthesis server in this embodiment). ).

本发明实施例步骤301-303保证了在发生话单合成服务器出现突发情况下,能够仍然保证不丢数据的条件下,完成方法过程的有效延续。Steps 301 to 303 in this embodiment of the present invention ensure that in the event of an emergency on the CDR synthesis server, the effective continuation of the method process can be completed under the condition that no data is lost.

上面已经通过附图5的方法过程,介绍了若第m话单合成服务器要进行离线维护的情况,这里将进一步结合本发明实施例,阐述若话单合成服务器群中要新增第N+1话单合成服务器时,相应的方法实现过程。如图6所示,所述方法还包括:The above has introduced the situation that if the mth CDR synthesis server needs to perform offline maintenance through the method process of FIG. The corresponding method implementation process when the bill synthesis server is used. As shown in Figure 6, the method further includes:

在步骤401中,话单合成服务器管理单元,向各DPI设备发送更新分配策略的请求消息;其中,所述更新分配策略的请求消息中包括,更新话单合成服务器和编号映射关系,或者,发送更新话单合成服务器和区域划分映射关系。In step 401, the CDR synthesis server management unit sends a request message for updating the allocation strategy to each DPI device; wherein the request message for updating the allocation strategy includes updating the CDR synthesis server and the number mapping relationship, or sending Updated the mapping relationship between the CDR synthesis server and the area division.

在步骤402中,话单合成服务器管理单元,向所述第N+1话单合成服务器同时发送更新前的分配策略和更新后的分配策略;In step 402, the management unit of the bill synthesis server sends both the pre-update allocation strategy and the updated allocation strategy to the N+1th bill synthesis server;

在步骤403中,在上线后的预设时间内,若所述第N+1话单合成服务器,获取到的上行流量或下行流量,无法组成完整话单时,将相应的上行流量或下行流量按照更新前的分配策略转发给所述更新前的分配策略所执行的目的话单合成服务器。其中,所述预设时间可以依据单一会话完成历史所需最长时间而定。In step 403, within a preset time after going online, if the obtained upstream traffic or downstream traffic cannot form a complete bill, if the N+1 th CDR synthesis server obtains a complete CDR, the corresponding upstream traffic or downstream traffic It is forwarded to the destination CDR synthesis server executed by the pre-update allocation policy according to the pre-update allocation policy. The preset time may be determined according to the longest time required for a single session to complete the history.

实施例2:Example 2:

与实施例1相对应,本发明实施例是直接站在用于管理维护话单服务器一侧进行阐述,如何实现在发生话单合成服务器群中的第m话单合成服务器要进行离线维护时的方法过程,如图7所示,方法包括:Corresponding to Embodiment 1, in this embodiment of the present invention, an explanation is made directly on the side of the CDR server used for managing and maintaining the CDR, and how to implement the process when the mth CDR synthesis server in the CDR server group needs to perform offline maintenance. The method process, as shown in Figure 7, the method includes:

在步骤501中,向各DPI设备发送更新分配策略的请求消息;其中,所述更新分配策略的请求消息中包括,更新话单合成服务器和编号映射关系,或者,发送更新话单合成服务器和区域划分映射关系。In step 501, a request message for updating the allocation strategy is sent to each DPI device; wherein, the request message for updating the allocation strategy includes updating the CDR synthesis server and the number mapping relationship, or sending the update CDR synthesis server and area Divide the mapping relationship.

在步骤502中,向所述第m话单合成服务器获取其已经获取到的上行流量和/或下行流量。In step 502, the obtained upstream traffic and/or downstream traffic is obtained from the mth CDR synthesis server.

这里是基于一个正常维护过程进行阐述的,即第m话单合成服务器要进行维护的话,其是要向话单合成服务器管理单元上报请求的,在此基础上,话单合成服务器管理单元自然能够在接收到第m话单合成服务器要进行维护上报请求后,向第m话单合成服务器获取已经获取到的上行流量和/或下行流量。The explanation here is based on a normal maintenance process, that is, if the mth CDR synthesis server needs to be maintained, it needs to report the request to the CDR synthesis server management unit. On this basis, the CDR synthesis server management unit can naturally After receiving the request for maintenance reporting by the mth CDR synthesis server, obtain the acquired upstream traffic and/or downlink traffic from the mth CDR synthesis server.

在步骤503中,按照更新后的分配策略,将从第m话单合成服务器获取其已经获取到的上行流量和/或下行流量,转发给更新后的分配策略所指定的目的话单合成服务器。In step 503, according to the updated allocation strategy, the obtained upstream traffic and/or downstream traffic will be obtained from the mth CDR synthesis server, and forwarded to the destination CDR synthesis server specified by the updated allocation strategy.

这里的更新后的分配策略所指定的目的话单合成服务器,是指更新了映射关系后,根据从第m话单合成服务器获取已经获取到的上行流量和/或下行流量,从新计算各上行流量和/或下行流量的Hash值,并下发给相应目的话单合成服务器。例如:从第m话单合成服务器获取已经获取到的上行流量和/或下行流量中的某一下行流量按照上述方式1计算值为4(4表示其自身正常工作下的映射值,因此历史上被分配给了所述第m话单合成服务器);而因为第m话单合成服务器要维护,此时总合成服务器数量又原来的N便为N-1,此时,利用更新后的映射关系,并按照方式1计算值可能就是5,此时,要按照更新后的映射关系将其转发给与5建立有映射关系的话单合成服务器(在本实施例中也被描述为目的话单合成服务器)。The destination CDR synthesis server specified by the updated allocation policy here means that after the mapping relationship is updated, according to the acquired upstream traffic and/or downstream traffic obtained from the m-th CDR synthesis server, each upstream traffic is recalculated. and/or the Hash value of downlink traffic, and deliver it to the corresponding destination CDR synthesis server. For example: obtain the obtained upstream traffic and/or a certain downstream traffic from the mth CDR synthesis server, and calculate the value according to the above method 1 to 4 (4 represents the mapping value under its own normal operation, so historically is assigned to the m-th CDR synthesis server); and because the m-th CDR synthesis server needs to be maintained, the total number of synthesis servers and the original N is N-1. At this time, the updated mapping relationship is used. , and the calculated value according to method 1 may be 5. At this time, according to the updated mapping relationship, it should be forwarded to the CDR synthesis server that has a mapping relationship with 5 (also described as the destination CDR synthesis server in this embodiment). ).

本发明实施例保证了在发生话单合成服务器出现突发情况下,能够仍然保证不丢数据的条件下,完成方法过程的有效延续。The embodiments of the present invention ensure that the method and process can be effectively continued under the condition that no data is lost in the event of a sudden occurrence of the bill synthesis server.

结合本发明实施例,优选的,所述分配策略包括:With reference to the embodiment of the present invention, preferably, the allocation strategy includes:

在各话单合成服务器是以0,1,…,N进行编号时,根据所述消息摘要直接与所述总数量N进行求余运算得到所述目标话单合成服务器的编号;或者,When each CDR synthesis server is numbered by 0, 1, ..., N, the number of the target CDR synthesis server is obtained by directly performing a remainder operation with the total number N according to the message digest;

获取统计得到的消息摘要的分布区间,并将所述分布区间根据所述总数量N进行区间划分,则根据生成的消息摘要所属分布区间确定目标话单合成服务器。The distribution interval of the statistically obtained message digest is obtained, and the distribution interval is divided according to the total number N, and the target CDR synthesis server is determined according to the distribution interval to which the generated message digest belongs.

基于本发明实施例,若话单合成服务器群中要新增第N+1话单合成服务器时,则如图8所示,所述方法还包括:Based on the embodiment of the present invention, if the N+1th bill synthesis server is to be added to the bill synthesis server group, as shown in FIG. 8 , the method further includes:

在步骤601中,向各DPI设备发送更新分配策略的请求消息;其中,所述更新分配策略的请求消息中包括,更新话单合成服务器和编号映射关系,或者,发送更新话单合成服务器和区域划分映射关系。In step 601, a request message for updating the allocation strategy is sent to each DPI device; wherein, the request message for updating the allocation strategy includes updating the CDR synthesis server and the number mapping relationship, or sending the update CDR synthesis server and area Divide the mapping relationship.

在步骤602中,向所述第N+1话单合成服务器同时发送更新前的分配策略和更新后的分配策略。In step 602, the allocation strategy before the update and the allocation strategy after the update are simultaneously sent to the N+1th bill synthesis server.

在步骤603中,在上线后的预设时间内,若所述第N+1话单合成服务器,获取到的上行流量或下行流量,无法组成完整话单时,将相应的上行流量或下行流量按照更新前的分配策略转发给所述更新前的分配策略所执行的目的话单合成服务器。In step 603, within a preset time after going online, if the obtained upstream traffic or downstream traffic cannot form a complete bill, if the N+1 bill synthesis server obtains a complete bill, the corresponding upstream traffic or downstream traffic It is forwarded to the destination CDR synthesis server executed by the pre-update allocation policy according to the pre-update allocation policy.

实施例3:Example 3:

本发明实施例从更高位的视角,展示本发明实施例1和实施例2方法过程在整个系统架构层面下,其如何嵌入实现。以图4所示系统架构为例,如图9所示,方法过程包括This embodiment of the present invention shows, from a higher-level perspective, how the method and process of Embodiment 1 and Embodiment 2 of the present invention are embedded and implemented at the level of the entire system architecture. Taking the system architecture shown in FIG. 4 as an example, as shown in FIG. 9 , the method process includes:

在步骤701中,xDR话单上报。In step 701, the xDR CDR is reported.

在步骤702中,进行xDR话单是否是对称话单判断,即是否同时拥有上下行数据。若判断结果是“是”则执行步骤703;若判断结果是“否”则执行步骤704。In step 702, it is judged whether the xDR bill is a symmetric bill, that is, whether it has both uplink and downlink data. If the judgment result is "Yes", step 703 is executed; if the judgment result is "No", step 704 is executed.

在步骤703中,对称xDR话单发送给最终的应用大数据分析平台。结束本轮xDR话单发送过程。In step 703, the symmetric xDR bill is sent to the final application big data analysis platform. End the current xDR CDR sending process.

在步骤704中,执行本发明实施例1所提出的选择目标话单合成服务器方法。其中,实施例2的方法过程,可以并行的在本发明实施例方法过程中执行,并能够实现无缝的接轨。In step 704, the method for selecting a target CDR synthesis server proposed in Embodiment 1 of the present invention is executed. Wherein, the method process of Embodiment 2 can be executed in parallel in the method process of the embodiment of the present invention, and can achieve seamless integration.

在步骤705中,非对称xDR发送给目的话单合成服务器,并有目的合话单成服务器合并出对称xDR话单后,发送给最终的大数据平台。结束本轮xDR话单发送过程。In step 705, the asymmetric xDR is sent to the destination CDR synthesis server, and the symmetric xDR CDR is merged by the purpose-integrated CDR server and sent to the final big data platform. End the current xDR CDR sending process.

实施例4:Example 4:

如图10所示,是本发明实施例的一种DPI领域非对称流量xDR合成装置的架构示意图。本实施例的一种DPI领域非对称流量xDR合成装置包括一个或多个处理器21以及存储器22。其中,图10中以一个处理器21为例。As shown in FIG. 10 , it is a schematic structural diagram of an asymmetric traffic xDR synthesis device in the DPI field according to an embodiment of the present invention. A device for synthesizing an asymmetric traffic xDR in the DPI field in this embodiment includes one or more processors 21 and a memory 22 . Among them, one processor 21 is taken as an example in FIG. 10 .

处理器21和存储器22可以通过总线或者其他方式连接,图10中以通过总线连接为例。The processor 21 and the memory 22 may be connected through a bus or in other ways, and the connection through a bus is taken as an example in FIG. 10 .

存储器22作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序和非易失性计算机可执行程序,如实施例1中的一种DPI领域非对称流量xDR合成方法。处理器21通过运行存储在存储器22中的非易失性软件程序和指令,从而执行一种DPI领域非对称流量xDR合成方法。As a non-volatile computer-readable storage medium, the memory 22 can be used to store non-volatile software programs and non-volatile computer-executable programs, such as a DPI field asymmetric flow xDR synthesis method in Embodiment 1 . The processor 21 executes an asymmetric flow xDR synthesis method in the DPI field by running the non-volatile software programs and instructions stored in the memory 22 .

存储器22可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器22可选包括相对于处理器21远程设置的存储器,这些远程存储器可以通过网络连接至处理器21。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。Memory 22 may include high speed random access memory, and may also include nonvolatile memory, such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, the memory 22 may optionally include memory located remotely from the processor 21, and these remote memories may be connected to the processor 21 through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

所述程序指令/模块存储在所述存储器22中,当被所述一个或者多个处理器21执行时,执行上述实施例1中的一种DPI领域非对称流量xDR合成方法,例如,执行以上描述的图5-图9所示的各个步骤。The program instructions/modules are stored in the memory 22, and when executed by the one or more processors 21, execute a DPI field asymmetric traffic xDR synthesis method in the above Embodiment 1, for example, execute the above Describe the various steps shown in Figures 5-9.

本领域普通技术人员可以理解实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random AccessMemory)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: Read memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.

Claims (10)

1.一种DPI领域非对称流量xDR合成的方法,其特征在于,包括:1. a method for synthesizing asymmetric flow xDR in the DPI field, is characterized in that, comprising: 根据五元组数据中的一项或者多项,生成可用于确定同一会话上行流量和下行流量的消息摘要;Generate a message digest that can be used to determine the upstream and downstream traffic of the same session according to one or more of the five-tuple data; 确定当前可提供话单合成服务的合成服务器总数量N;Determine the total number N of synthesis servers that can currently provide CDR synthesis services; 各DPI设备根据预设的同一分配策略,向分配策略所指定的目标话单合成服务器,发送自身存储的上行流量和/或下行流量;Each DPI device sends the upstream traffic and/or downstream traffic stored by itself to the target CDR synthesis server specified by the allocation strategy according to the same preset allocation strategy; 其中,所述分配策略中包括根据所述消息摘要和合成服务器总数量N,为各DPI设备指定目标话单合成服务器的方法。Wherein, the allocation strategy includes a method of specifying a target CDR synthesis server for each DPI device according to the message digest and the total number N of synthesis servers. 2.根据权利要求1所述的DPI领域非对称流量xDR合成的方法,其特征在于,所述根据五元组数据中的一项或者多项,生成可用于确定同一会话上行流量和下行流量的消息摘要,具体包括:2. The method for combining asymmetric traffic xDR in the DPI field according to claim 1, wherein, according to one or more of the five-tuple data, generate a A summary of the message, including: 根据五元组中的源IP、目的IP、源端口和目的端口,通过HASH算法得到所述消息摘要;或者,According to the source IP, destination IP, source port and destination port in the quintuple, obtain the message digest through the HASH algorithm; or, 根据五元组中的源IP、目的IP、源端口、目的端口和协议,通过HASH算法得到所述消息摘要;或者,According to the source IP, destination IP, source port, destination port and protocol in the quintuple, obtain the message digest through the HASH algorithm; or, 根据五元组中的源IP和目的IP,通过HASH算法得到所述消息摘要。According to the source IP and destination IP in the quintuple, the message digest is obtained through the HASH algorithm. 3.根据权利要求2所述的DPI领域非对称流量xDR合成的方法,其特征在于,所述HASH算法包括:3. the method for DPI field asymmetric flow xDR synthesis according to claim 2, is characterized in that, described HASH algorithm comprises: MD4、MD5和/或SHA-1。MD4, MD5 and/or SHA-1. 4.根据权利要求1所述的DPI领域非对称流量xDR合成的方法,其特征在于,所述分配策略中包括根据所述消息摘要和合成服务器总数量N,为各DPI设备指定目标话单合成服务器的方法,具体为:4. The method for asymmetric traffic xDR synthesis in the DPI field according to claim 1, wherein the allocation strategy comprises specifying a target CDR synthesis for each DPI device according to the message digest and the total number N of synthesis servers. The server method, specifically: 在各话单合成服务器是以0,1,…,N进行编号时,根据所述消息摘要直接与所述总数量N进行求余运算得到所述目标话单合成服务器的编号;或者,When each CDR synthesis server is numbered by 0, 1, ..., N, the number of the target CDR synthesis server is obtained by directly performing a remainder operation with the total number N according to the message digest; 获取统计得到的消息摘要的分布区间,并将所述分布区间根据所述总数量N进行区间划分,则根据生成的消息摘要所属分布区间确定目标话单合成服务器。The distribution interval of the statistically obtained message digest is obtained, and the distribution interval is divided according to the total number N, and the target CDR synthesis server is determined according to the distribution interval to which the generated message digest belongs. 5.根据权利要求4所述的DPI领域非对称流量xDR合成的方法,其特征在于,若第m话单合成服务器要进行离线维护,则所述方法还包括:5. The method for asymmetric traffic xDR synthesis in the DPI field according to claim 4, wherein if the mth bill synthesis server is to be maintained offline, the method further comprises: 话单合成服务器管理单元,向各DPI设备发送更新分配策略的请求消息;其中,所述更新分配策略的请求消息中包括,更新话单合成服务器和编号映射关系,或者,发送更新话单合成服务器和区域划分映射关系;The CDR synthesis server management unit sends a request message for updating the allocation strategy to each DPI device; wherein the request message for updating the allocation strategy includes updating the CDR synthesis server and the number mapping relationship, or sending an update CDR synthesis server Mapping relationship with regional division; 话单合成服务器管理单元,向所述第m话单合成服务器获取其已经获取到的上行流量和/或下行流量;a CDR synthesis server management unit, obtaining from the mth CDR synthesis server the upstream traffic and/or downlink traffic that it has acquired; 话单合成服务器管理单元,按照更新后的分配策略,将从第m话单合成服务器获取其已经获取到的上行流量和/或下行流量,转发给更新后的分配策略所指定的目的话单合成服务器。The CDR synthesis server management unit, according to the updated allocation policy, obtains the obtained upstream traffic and/or downlink traffic from the m-th CDR synthesis server, and forwards it to the destination CDR synthesis specified by the updated allocation policy server. 6.根据权利要求4所述的DPI领域非对称流量xDR合成的方法,其特征在于,若话单合成服务器群中要新增第N+1话单合成服务器时,则所述方法包括:6. The method for asymmetric traffic xDR synthesis in the DPI field according to claim 4, wherein, if the N+1th CDR synthesis server is to be added to the CDR synthesis server group, the method comprises: 话单合成服务器管理单元,向各DPI设备发送更新分配策略的请求消息;其中,所述更新分配策略的请求消息中包括,更新话单合成服务器和编号映射关系,或者,发送更新话单合成服务器和区域划分映射关系;The CDR synthesis server management unit sends a request message for updating the allocation strategy to each DPI device; wherein the request message for updating the allocation strategy includes updating the CDR synthesis server and the number mapping relationship, or sending an update CDR synthesis server Mapping relationship with regional division; 话单合成服务器管理单元,向所述第N+1话单合成服务器同时发送更新前的分配策略和更新后的分配策略;A bill synthesis server management unit, sending the pre-update allocation strategy and the updated allocation strategy to the N+1th bill synthesis server at the same time; 在上线后的预设时间内,若所述第N+1话单合成服务器,获取到的上行流量或下行流量,无法组成完整话单时,将相应的上行流量或下行流量按照更新前的分配策略转发给所述更新前的分配策略所执行的目的话单合成服务器。Within the preset time after going online, if the obtained upstream traffic or downstream traffic cannot form a complete bill by the N+1 CDR synthesis server, the corresponding upstream traffic or downstream traffic will be allocated according to the pre-updated distribution. The policy is forwarded to the destination CDR synthesis server executed by the pre-update allocation policy. 7.一种DPI领域非对称流量xDR合成的方法,其特征在于,若话单合成服务器群中的第m话单合成服务器要进行离线维护,系统包括:7. A method for asymmetric traffic xDR synthesis in the DPI field, characterized in that, if the mth bill synthesis server in the bill synthesis server group is to be maintained offline, the system comprises: 向各DPI设备发送更新分配策略的请求消息;其中,所述更新分配策略的请求消息中包括,更新话单合成服务器和编号映射关系,或者,发送更新话单合成服务器和区域划分映射关系;Send a request message for updating the allocation strategy to each DPI device; wherein, the request message for updating the allocation strategy includes updating the CDR synthesis server and the numbering mapping relationship, or, sending and updating the CDR synthesis server and the area division mapping relationship; 向所述第m话单合成服务器获取其已经获取到的上行流量和/或下行流量;Obtain the upstream traffic and/or downstream traffic that it has obtained from the mth CDR synthesis server; 按照更新后的分配策略,将从第m话单合成服务器获取其已经获取到的上行流量和/或下行流量,转发给更新后的分配策略所指定的目的话单合成服务器。According to the updated allocation strategy, the obtained upstream traffic and/or downstream traffic will be obtained from the mth CDR synthesis server, and forwarded to the destination CDR synthesis server specified by the updated allocation strategy. 8.根据权利要求7所述的DPI领域非对称流量xDR合成的方法,其特征在于,所述分配策略包括:8. The method for asymmetric traffic xDR synthesis in the DPI field according to claim 7, wherein the allocation strategy comprises: 在各话单合成服务器是以0,1,…,N进行编号时,根据所述消息摘要直接与所述总数量N进行求余运算得到所述目标话单合成服务器的编号;或者,When each CDR synthesis server is numbered by 0, 1, ..., N, the number of the target CDR synthesis server is obtained by directly performing a remainder operation with the total number N according to the message digest; 获取统计得到的消息摘要的分布区间,并将所述分布区间根据所述总数量N进行区间划分,则根据生成的消息摘要所属分布区间确定目标话单合成服务器。The distribution interval of the statistically obtained message digest is obtained, and the distribution interval is divided according to the total number N, and the target CDR synthesis server is determined according to the distribution interval to which the generated message digest belongs. 9.根据权利要求7所述的DPI领域非对称流量xDR合成的方法,其特征在于,若话单合成服务器群中要新增第N+1话单合成服务器时,则所述方法还包括:9. The method for asymmetric traffic xDR synthesis in the DPI field according to claim 7, wherein, if the N+1th CDR synthesis server is to be newly added to the CDR synthesis server group, the method further comprises: 向各DPI设备发送更新分配策略的请求消息;其中,所述更新分配策略的请求消息中包括,更新话单合成服务器和编号映射关系,或者,发送更新话单合成服务器和区域划分映射关系;Send a request message for updating the allocation strategy to each DPI device; wherein, the request message for updating the allocation strategy includes updating the CDR synthesis server and the numbering mapping relationship, or, sending and updating the CDR synthesis server and the area division mapping relationship; 向所述第N+1话单合成服务器同时发送更新前的分配策略和更新后的分配策略;Sending both the pre-update allocation strategy and the updated allocation strategy to the N+1th CDR synthesis server; 在上线后的预设时间内,若所述第N+1话单合成服务器,获取到的上行流量或下行流量,无法组成完整话单时,将相应的上行流量或下行流量按照更新前的分配策略转发给所述更新前的分配策略所执行的目的话单合成服务器。Within the preset time after going online, if the obtained upstream traffic or downstream traffic cannot form a complete bill by the N+1 CDR synthesis server, the corresponding upstream traffic or downstream traffic will be allocated according to the pre-updated distribution. The policy is forwarded to the destination CDR synthesis server executed by the pre-update allocation policy. 10.一种DPI领域非对称流量xDR合成的装置,其特征在于,所述装置包括:10. A device for asymmetric flow xDR synthesis in the DPI field, wherein the device comprises: 至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被程序设置为执行权利要求1-9任一所述的DPI领域非对称流量xDR合成的方法。at least one processor; and, a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being programmed to perform claims 1- 9. Any one of the described methods for xDR synthesis of asymmetric flow in the DPI field.
CN201910968707.4A 2019-10-12 2019-10-12 Method and device for synthesizing asymmetric flow xDR in DPI field Active CN110855424B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910968707.4A CN110855424B (en) 2019-10-12 2019-10-12 Method and device for synthesizing asymmetric flow xDR in DPI field

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910968707.4A CN110855424B (en) 2019-10-12 2019-10-12 Method and device for synthesizing asymmetric flow xDR in DPI field

Publications (2)

Publication Number Publication Date
CN110855424A true CN110855424A (en) 2020-02-28
CN110855424B CN110855424B (en) 2023-04-07

Family

ID=69597428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910968707.4A Active CN110855424B (en) 2019-10-12 2019-10-12 Method and device for synthesizing asymmetric flow xDR in DPI field

Country Status (1)

Country Link
CN (1) CN110855424B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114301960A (en) * 2021-12-15 2022-04-08 山石网科通信技术股份有限公司 Processing method and device for asymmetric flow of cluster, electronic equipment and storage medium
WO2023024951A1 (en) * 2021-08-23 2023-03-02 中兴通讯股份有限公司 Signaling collection monitoring system and method, and network device and storage medium
WO2024046464A1 (en) * 2022-09-02 2024-03-07 中兴通讯股份有限公司 Xdr generation method and device, and computer readable medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170019316A1 (en) * 2010-08-22 2017-01-19 Qwilt, Inc. System and method for caching popular content respective of a content strong server in an asymmetrical routing topology
CN106941517A (en) * 2017-02-10 2017-07-11 北京浩瀚深度信息技术股份有限公司 A method and device for synthesizing quintuple call records under asymmetric conditions
CN108206788A (en) * 2016-12-16 2018-06-26 中国移动通信有限公司研究院 The business recognition method and relevant device of a kind of flow
CN108282412A (en) * 2018-01-19 2018-07-13 世纪龙信息网络有限责任公司 Network shunt method, apparatus, system and computer equipment
CN108683598A (en) * 2018-04-20 2018-10-19 武汉绿色网络信息服务有限责任公司 A kind of asymmetrical network flow processing method and processing unit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170019316A1 (en) * 2010-08-22 2017-01-19 Qwilt, Inc. System and method for caching popular content respective of a content strong server in an asymmetrical routing topology
CN108206788A (en) * 2016-12-16 2018-06-26 中国移动通信有限公司研究院 The business recognition method and relevant device of a kind of flow
CN106941517A (en) * 2017-02-10 2017-07-11 北京浩瀚深度信息技术股份有限公司 A method and device for synthesizing quintuple call records under asymmetric conditions
CN108282412A (en) * 2018-01-19 2018-07-13 世纪龙信息网络有限责任公司 Network shunt method, apparatus, system and computer equipment
CN108683598A (en) * 2018-04-20 2018-10-19 武汉绿色网络信息服务有限责任公司 A kind of asymmetrical network flow processing method and processing unit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
潘洁、高峰等: "基于DPI不对称流量的同源同宿解决方案", 《电信科学》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023024951A1 (en) * 2021-08-23 2023-03-02 中兴通讯股份有限公司 Signaling collection monitoring system and method, and network device and storage medium
CN114301960A (en) * 2021-12-15 2022-04-08 山石网科通信技术股份有限公司 Processing method and device for asymmetric flow of cluster, electronic equipment and storage medium
CN114301960B (en) * 2021-12-15 2024-03-15 山石网科通信技术股份有限公司 Processing method and device for cluster asymmetric traffic, electronic equipment and storage medium
WO2024046464A1 (en) * 2022-09-02 2024-03-07 中兴通讯股份有限公司 Xdr generation method and device, and computer readable medium

Also Published As

Publication number Publication date
CN110855424B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
US11463511B2 (en) Model-based load balancing for network data plane
US11467922B2 (en) Intelligent snapshot generation and recovery in a distributed system
Cerroni et al. Live migration of virtual network functions in cloud-based edge networks
CN105765921B (en) Method, system, and apparatus for DIAMETER routing utilizing software-defined networking capabilities
EP3905589B1 (en) Slice resource deployment method and apparatus, and slice manager and computer storage medium
CN107332913A (en) A kind of Optimization deployment method of service function chain in 5G mobile networks
JP7627313B2 (en) Method for Propagating Data Packets in a Network of Nodes - Patent application
CN110855424B (en) Method and device for synthesizing asymmetric flow xDR in DPI field
WO2014194869A1 (en) Request processing method, device and system
US12199867B2 (en) Method and apparatus for processing DetNet data packet
JPWO2018220708A1 (en) Resource allocation system, management device, method and program
CN109040232A (en) Load balancing method, device and equipment for video conference and storage medium thereof
US20140229586A1 (en) Dynamically allocating network resources for communication session
CN109039694B (en) Global network resource allocation method and device for service
CN105210324B (en) Policy and charging rule function virtualization method, device and system
Lin et al. Adaptive broadcast routing assignment algorithm for blockchain synchronization services
CN107113323A (en) A kind of date storage method, device and system
Clayman et al. Virtualized cache placement in an sdn/nfv assisted sand architecture
CN109714208A (en) A kind of equipment is included in method, storage medium and the electronic equipment of network management
CN105959252A (en) Method and device for processing conversion log
CN106878356A (en) A scheduling method and computing nodes
CN114554496A (en) 5G network slice resource allocation method based on machine learning
CN116170396B (en) IM message transmission method and system
CN118611994B (en) Electronic signature management method and system based on unified service platform
CN111147378B (en) A kind of route distribution method and electronic device based on encrypted service

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 430000 rooms 01, 01, 01, 6 / F, building 2, Guanggu Software Park, phase 6, No. 4, Middle Road, Donghu New Technology Development Zone, Wuhan, Hubei Province

Patentee after: Wuhan Green Network Co.,Ltd.

Country or region after: China

Address before: 430000 rooms 01, 01, 01, 6 / F, building 2, Guanggu Software Park, phase 6, No. 4, Middle Road, Donghu New Technology Development Zone, Wuhan, Hubei Province

Patentee before: WUHAN GREENET INFORMATION SERVICE Co.,Ltd.

Country or region before: China