[go: up one dir, main page]

CN115665722A - A multi-home terminal discovery device - Google Patents

A multi-home terminal discovery device Download PDF

Info

Publication number
CN115665722A
CN115665722A CN202211235801.7A CN202211235801A CN115665722A CN 115665722 A CN115665722 A CN 115665722A CN 202211235801 A CN202211235801 A CN 202211235801A CN 115665722 A CN115665722 A CN 115665722A
Authority
CN
China
Prior art keywords
interface
address
terminal
policy
service
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
CN202211235801.7A
Other languages
Chinese (zh)
Other versions
CN115665722B (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 Zhutai Technology Co ltd
Original Assignee
Shenzhen Zhutai Technology 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 Zhutai Technology Co ltd filed Critical Shenzhen Zhutai Technology Co ltd
Priority to CN202211235801.7A priority Critical patent/CN115665722B/en
Publication of CN115665722A publication Critical patent/CN115665722A/en
Application granted granted Critical
Publication of CN115665722B publication Critical patent/CN115665722B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a multi-hole terminal discovery device, comprising: the first determining module is used for determining a plurality of first addresses related to each multi-hole terminal based on the communication connection log; the strategy matching module is used for calling an interface service strategy set matched with each terminal interface from the strategy database; the priority determining module is used for analyzing the communication connection instruction and determining the strategy priority of each strategy; the address acquisition module is used for determining an interface service layout corresponding to the multi-hole terminal according to the unique service strategy and obtaining a plurality of second addresses from a layout-address database; and the communication determining module is used for matching and verifying the first addresses and the second addresses of the same multi-hole terminal, determining the communication conditions of the same multi-hole terminal and outputting and displaying the communication conditions. The existing communication condition is determined through the matching verification of the addresses acquired in the two modes, the abnormal effective discovery is realized, and the abnormal multi-hole terminal is further effectively discovered.

Description

一种多穴终端发现装置A multi-home terminal discovery device

技术领域technical field

本发明涉及网络通信技术领域,特别涉及一种多穴终端发现装置。The invention relates to the technical field of network communication, in particular to a multi-homed terminal discovery device.

背景技术Background technique

在3GPP蜂窝系统中,蜂窝终端可通过与它想接入的每个分组数据网络建立所谓的PDN连接来并行接入若干I P网络,常见的典型使用情况如下:In a 3GPP cellular system, a cellular terminal can access several IP networks in parallel by establishing a so-called PDN connection with each packet data network it wants to access. Common typical use cases are as follows:

UE可能需要与运营商的I P多媒体子系统并行并且与用户的企业内联网并行地进行访问互联网,在每个PDN连接上,UE被分配到I P地址上,在互联网工程任务组说法中,UE是具有多个I P接口的I P地址,被称为多穴主机,也就是在网络中多穴主机可能同时拥有多个I P地址。The UE may need to access the Internet in parallel with the operator's IP multimedia subsystem and in parallel with the user's corporate intranet. On each PDN connection, the UE is assigned an IP address. In the terms of the Internet Engineering Task Force, the UE is An IP address with multiple IP interfaces is called a multi-homed host, that is, a multi-homed host may have multiple IP addresses at the same time in the network.

在对同个多穴终端的通信情况进行确定的过程中,一般会按照捕捉的日志,来确定存在的通信问题,但是在此过程中,会围绕参数存在的异常进行展开,但是根源一般是因为地址访问的错误导致的参数异常,所以需要去发现地址的异常,进而来确定通信的异常。In the process of determining the communication status of the same multi-homed terminal, the existing communication problems are generally determined according to the captured logs, but in this process, the abnormalities in the parameters will be developed, but the root cause is generally because The parameter is abnormal caused by the error of address access, so it is necessary to find the abnormality of the address, and then determine the abnormality of communication.

因此,本发明提出一种多穴终端发现装置。Therefore, the present invention proposes a multi-homed terminal discovery device.

发明内容Contents of the invention

本发明提供一种多穴终端发现装置,用以通过从服务集群的日志来初步确定同个多穴终端的地址,进而从多穴终端本身来确定相应的地址,通过两种方式所获取地址的匹配验证,来确定存在的通信情况,实现对异常的有效发现,进而实现对存在异常的多穴终端的有效发现。The present invention provides a device for discovering multi-homed terminals, which is used to initially determine the address of the same multi-homed terminal from the log of the service cluster, and then determine the corresponding address from the multi-homed terminal itself. Matching verification is used to determine the existing communication conditions, realize the effective discovery of abnormalities, and then realize the effective discovery of abnormal multi-homed terminals.

本发明提供一种多穴终端发现装置,包括:The present invention provides a multi-home terminal discovery device, including:

第一确定模块,用于基于服务集群的通信连接日志,确定当下时刻与每个多穴终端相关的若干第一地址;The first determination module is configured to determine a plurality of first addresses related to each multi-home terminal at the current moment based on the communication connection log of the service cluster;

策略匹配模块,用于确定每个多穴终端的终端接口集合,并从策略数据库中调取与每个终端接口匹配的接口服务策略集合;A policy matching module, configured to determine the terminal interface set of each multi-home terminal, and retrieve the interface service policy set matched with each terminal interface from the policy database;

优先级确定模块,用于获取当下时刻每个多穴终端的通信连接指令并进行解析,分别确定每个终端接口匹配的接口服务策略集合中每个接口服务策略的策略优先级,并获取唯一服务策略;The priority determination module is used to obtain and analyze the communication connection instructions of each multi-homed terminal at the moment, respectively determine the policy priority of each interface service policy in the interface service policy set matched by each terminal interface, and obtain the unique service Strategy;

地址获取模块,用于根据所述唯一服务策略确定对应多穴终端的接口服务布局,并从布局-地址数据库中,得到若干个第二地址;The address acquisition module is used to determine the interface service layout corresponding to the multi-home terminal according to the unique service strategy, and obtain several second addresses from the layout-address database;

通信确定模块,用于将同个多穴终端的若干第一地址与若干第二地址进行匹配验证,确定所述同个多穴终端的通信情况并输出显示。The communication determination module is used to verify the matching of several first addresses and several second addresses of the same multi-home terminal, determine the communication status of the same multi-home terminal, and output and display.

优选的,所述第一确定模块,包括:Preferably, the first determination module includes:

列表构建单元,用于获取当下时刻所述服务集群的通信连接日志,构建每个服务器的连接列表,其中,所述连接列表中包含若干终端接口连接标识;A list construction unit, configured to obtain the communication connection log of the service cluster at the moment, and construct a connection list for each server, wherein the connection list includes a number of terminal interface connection identifiers;

地址获取单元,用于按照所有连接列表,确定同个多穴终端的所有第一标识,进而获取得到所述同个多穴终端的若干第一地址。The address acquiring unit is configured to determine all first identifiers of the same multi-home terminal according to all connection lists, and then acquire several first addresses of the same multi-home terminal.

优选的,所述策略匹配模块,包括:Preferably, the strategy matching module includes:

接口集合获取单元,用于从终端数据库中获取每个多穴终端的终端接口集合;an interface set acquisition unit, configured to acquire the terminal interface set of each multi-home terminal from the terminal database;

任务确定单元,用于确定每个多穴终端匹配的终端接口集合中每个终端接口的接口属性以及对应接口的历史执行任务,并得到针对每个终端接口的调取任务;A task determining unit, configured to determine the interface attributes of each terminal interface in the set of terminal interfaces matched by each multi-home terminal and the historical execution tasks of the corresponding interfaces, and obtain the calling task for each terminal interface;

策略确定单元,用于按照所述调取任务从策略数据库中调取与对应终端接口匹配的接口服务策略集合;A policy determining unit, configured to call an interface service policy set matching the corresponding terminal interface from the policy database according to the calling task;

其中,所述接口服务策略集合包括对应终端接口所匹配的若干个接口服务策略。Wherein, the set of interface service policies includes several interface service policies matched by corresponding terminal interfaces.

优选的,所述优先级确定模块,包括:Preferably, the priority determination module includes:

指令解析单元,用于对当下时刻获取的每个多穴终端的通信连接指令进行解析,得到解析结果,并从解析结果中确定对应多穴终端的工作任务,并基于任务-接口数据库,确定对应多穴终端中处于工作状态的第一接口;The instruction analysis unit is used to analyze the communication connection instruction of each multi-home terminal acquired at the moment, obtain the analysis result, and determine the corresponding work task of the multi-home terminal from the analysis result, and determine the corresponding task based on the task-interface database. The first interface in the working state in the multi-home terminal;

表示构建单元,用于确定每个第一接口的接口属性、允许执行内容以及当下执行内容,并构建对应第一接口的服务逻辑表示;Represents a construction unit, which is used to determine the interface attributes, allowed execution content, and current execution content of each first interface, and construct a service logic representation corresponding to the first interface;

优先级确定单元,用于将所述服务逻辑表示与匹配的接口服务策略集合中每个服务策略进行一一匹配,获取相对应的策略匹配度,进而得到策略优先级;A priority determining unit, configured to match the service logic representation with each service policy in the matching interface service policy set one by one, obtain the corresponding policy matching degree, and then obtain the policy priority;

唯一确定单元,用于提取最大策略优先级,若所述最大策略优先级小于预设优先级,则按照所述服务逻辑表示,重新构建得到对应第一接口的最新服务策略,并作为唯一服务策略;The unique determination unit is used to extract the maximum policy priority. If the maximum policy priority is less than the preset priority, according to the service logic representation, the latest service policy corresponding to the first interface is reconstructed and used as the only service policy ;

若所述最大策略优先级大于或等于预设优先级,则将与所述最大策略优先级匹配的服务策略作为唯一服务策略。If the maximum policy priority is greater than or equal to the preset priority, the service policy matching the maximum policy priority is used as the only service policy.

优选的,所述地址获取模块,包括:Preferably, the address obtaining module includes:

布局确定单元,用于根据所确定的同个多穴终端的第一接口,确定初始服务布局;a layout determining unit, configured to determine an initial service layout according to the determined first interface of the same multi-home terminal;

策略解析单元,用于解析所述唯一服务策略,从策略-地址数据库中确定对应第一接口的第一访问地址;a policy parsing unit, configured to parse the unique service policy, and determine the first access address corresponding to the first interface from the policy-address database;

布局优化单元,用于基于所述通信连接指令对所述初始服务布局进行优化,得到接口服务布局,并从所述布局-地址数据库中查询历史组合地址;A layout optimization unit, configured to optimize the initial service layout based on the communication connection instruction, obtain an interface service layout, and query historical combined addresses from the layout-address database;

地址获取单元,用于从所有历史组合地址中提取同接口相关的地址集合,获取得到第二访问地址;The address obtaining unit is used to extract the address set related to the interface from all the historical combination addresses, and obtain the second access address;

接口地址确定单元,用于基于所述第一访问地址以及第二访问地址,确定对应第一接口的合理访问地址;An interface address determining unit, configured to determine a reasonable access address corresponding to the first interface based on the first access address and the second access address;

终端地址确定单元,用于按照所有合理访问地址,得到所述同个多穴终端的第二地址。The terminal address determining unit is configured to obtain the second address of the same multi-homed terminal according to all reasonable access addresses.

优选的,所述通信确定模块,包括:Preferably, the communication determination module includes:

地址一致确定单元,用于获取同个多穴终端中若干第一地址与若干第二地址中的相同地址以及若干第一地址中的第一不同地址、若干第二地址中的第二不同地址;The address consistency determination unit is used to obtain the same address among the several first addresses and the several second addresses in the same multi-home terminal, the first different address among the several first addresses, and the second different address among the several second addresses;

值确定单元,用于基于所有相同地址,确定所述通信连接指令的合格执行值;a value determination unit, configured to determine the qualified execution value of the communication connection instruction based on all the same addresses;

同时,基于所有第一不同地址,确定所述通信连接指令的第一值,同时,基于所有第二不同地址,确定所述通信连接指令的第二值;At the same time, determining a first value of the communication connection instruction based on all first different addresses, and simultaneously determining a second value of the communication connection instruction based on all second different addresses;

第一计算单元,用于计算所述合格执行值与第一值的第一累计和以及计算所述合格执行值与第二值的第二累加和;a first calculation unit, configured to calculate a first cumulative sum of the eligible execution value and a first value and calculate a second cumulative sum of the qualified execution value and a second value;

第二计算单元,用于计算所述合格执行值与第一累加和的第一比值,同时,计算所述合格执行值与第二累加和的第二比值;a second calculation unit, configured to calculate a first ratio between the qualified performance value and the first cumulative sum, and at the same time, calculate a second ratio between the qualified performance value and the second cumulative sum;

行为获取单元,用于从预设映射表中,获取与第一比值、第二比值、第一不同地址以及第二不同地址所匹配的通信异常行为以及通信正常行为,并输出显示。The behavior obtaining unit is used to obtain the abnormal communication behavior and the normal communication behavior matched with the first ratio, the second ratio, the first different address and the second different address from the preset mapping table, and output and display.

优选的,所述行为获取单元,包括:Preferably, the behavior acquisition unit includes:

确定块,用于确定所述通信异常行为的第一标识以及匹配的第一显示接口,同时,确定所述通信正常行为的第二标识以及匹配的第二显示接口;A determination block, configured to determine the first identification of the abnormal communication behavior and the matching first display interface, and at the same time, determine the second identification of the normal communication behavior and the matching second display interface;

建立块,用于建立同个异常行为中第一标识与第一显示接口的第一显示组以及建立同个正常行为中第二标识与第二显示接口的第二显示组;A building block, which is used to create a first display group of the first logo and the first display interface in the same abnormal behavior and a second display group of the second logo and the second display interface in the same normal behavior;

输出块,用于按照第一显示组的第一位置以及第二显示组的第二位置,得到输出图并输出显示。The output block is configured to obtain an output image and output the display according to the first position of the first display group and the second position of the second display group.

优选的,所述表示构建单元,包括:Preferably, said representation building units include:

第一分析块,用于基于属性表示模型对每个第一接口的接口属性进行分析,得到第一表示;The first analysis block is configured to analyze the interface attributes of each first interface based on the attribute representation model to obtain the first representation;

第二分析块,用于基于内容表示模型对每个第一接口的允许执行内容进行分析,得到第二表示,同时,基于所述内容表示模型对每个第一接口的当下执行内容进行分析,得到第三表示;The second analysis block is configured to analyze the allowed execution content of each first interface based on the content representation model to obtain a second representation, and at the same time, analyze the current execution content of each first interface based on the content representation model, get the third representation;

表示组合块,用于基于所述第一表示、第二表示以及第三表示,组合得到对应第一接口的服务逻辑表示。The representation combination block is configured to combine the service logic representation corresponding to the first interface based on the first representation, the second representation and the third representation.

本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.

下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。The technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments.

附图说明Description of drawings

附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明的实施例一起用于解释本发明,并不构成对本发明的限制。在附图中:The accompanying drawings are used to provide a further understanding of the present invention, and constitute a part of the description, and are used together with the embodiments of the present invention to explain the present invention, and do not constitute a limitation to the present invention. In the attached picture:

图1为本发明实施例中一种多穴终端发现装置的结构图。FIG. 1 is a structural diagram of a device for discovering multi-homed terminals in an embodiment of the present invention.

具体实施方式Detailed ways

以下结合附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

本发明提供一种多穴终端发现装置,如图1所示,包括:The present invention provides a multi-home terminal discovery device, as shown in Figure 1, including:

第一确定模块,用于基于服务集群的通信连接日志,确定当下时刻与每个多穴终端相关的若干第一地址;The first determination module is configured to determine a plurality of first addresses related to each multi-home terminal at the current moment based on the communication connection log of the service cluster;

策略匹配模块,用于确定每个多穴终端的终端接口集合,并从策略数据库中调取与每个终端接口匹配的接口服务策略集合;A policy matching module, configured to determine the terminal interface set of each multi-home terminal, and retrieve the interface service policy set matching each terminal interface from the policy database;

优先级确定模块,用于获取当下时刻每个多穴终端的通信连接指令并进行解析,分别确定每个终端接口匹配的接口服务策略集合中每个接口服务策略的策略优先级,并获取唯一服务策略;The priority determination module is used to obtain and analyze the communication connection instructions of each multi-homed terminal at the moment, respectively determine the policy priority of each interface service policy in the interface service policy set matched by each terminal interface, and obtain the unique service Strategy;

地址获取模块,用于根据所述唯一服务策略确定对应多穴终端的接口服务布局,并从布局-地址数据库中,得到若干个第二地址;The address acquisition module is used to determine the interface service layout corresponding to the multi-home terminal according to the unique service strategy, and obtain several second addresses from the layout-address database;

通信确定模块,用于将同个多穴终端的若干第一地址与若干第二地址进行匹配验证,确定所述同个多穴终端的通信情况并输出显示。The communication determination module is used to verify the matching of several first addresses and several second addresses of the same multi-home terminal, determine the communication status of the same multi-home terminal, and output and display.

该实施例中,当下时刻指的是多穴终端1在接收到通信连接指令并开始按照通信连接指令开始执行时的时刻,进而来获取该时刻下服务集群的工作日志,也就是该工作日志中是包含该时刻下的通信连接日志在内的。In this embodiment, the current moment refers to the moment when the multi-homed terminal 1 receives the communication connection instruction and starts to execute according to the communication connection instruction, and then obtains the work log of the service cluster at this moment, that is, the work log in the work log It includes the communication connection log at that moment.

该实施例中,通信连接日志是包含不同多穴终端与不同服务器的连接情况、同个多穴终端的不同接口与服务器的连接情况等,且是包含不同的地址在内的。In this embodiment, the communication connection log includes connections between different multi-homed terminals and different servers, connections between different interfaces of the same multi-homed terminal and servers, etc., and includes different addresses.

该实施例中,服务器1与多穴终端1中的接口1通信连接,服务器2与多穴终端1中的接口2通信连接等。In this embodiment, the server 1 is communicatively connected to the interface 1 in the multi-home terminal 1, the server 2 is communicatively connected to the interface 2 in the multi-home terminal 1, and so on.

该实施例中,终端接口集合指的是该多穴终端上所包含的所有接口。In this embodiment, the set of terminal interfaces refers to all interfaces contained in the multi-homed terminal.

该实施例中,策略数据库是预先设置好的,且包括不同的终端接口集合、集合包含的终端接口以及匹配的服务策略在内的,进而可以获取到同个接口的接口服务策略集合,由于,同个多穴终端在不同的指令在同个接口执行的任务可能是不一样的,因此,可以获取得到每个接口的接口服务策略集合。In this embodiment, the policy database is pre-set and includes different terminal interface sets, terminal interfaces included in the set, and matching service policies, and then the interface service policy set of the same interface can be obtained, because, The tasks performed by the same multi-homed terminal on the same interface may be different in different instructions, therefore, the interface service policy set of each interface can be obtained.

该实施例中,指令解析主要是为了确定同个多穴终端中每个终端接口的最终服务策略,也就是在对执行进行拆解之后,可以确定对应接口所需要执行的内容,进而通过与策略的一一匹配,来确定优先级,且唯一服务策略,是从该集合对应的最高优先级所匹配得到的。In this embodiment, the instruction parsing is mainly to determine the final service policy of each terminal interface in the same multi-homed terminal, that is, after the execution is disassembled, the content that the corresponding interface needs to execute can be determined, and then through the policy One-to-one matching to determine the priority, and the unique service policy is obtained by matching the highest priority corresponding to the set.

该实施例中,服务策略指的是对应接口需要执行的服务内容,比如,建立通信连接之后,对数据1进行获取,或者对数据1进行传输等。In this embodiment, the service policy refers to the service content that needs to be executed by the corresponding interface, for example, after the communication connection is established, the data 1 is acquired or the data 1 is transmitted.

该实施例中,接口服务布局是包括多穴终端的处于工作状态的接口以及处于工作状态的接口的服务策略综合构建得到的。In this embodiment, the interface service layout is obtained through comprehensive construction including the interfaces in the working state of the multi-homed terminal and the service policies of the interfaces in the working state.

该实施例中,布局-地址数据库中是包括不同的接口服务布局以及与该布局匹配的历史组合地址在内的。In this embodiment, the layout-address database includes different interface service layouts and historical combination addresses matching the layouts.

该实施例中,第二地址是基于历史组合地址所获取的。In this embodiment, the second address is obtained based on historical combined addresses.

该实施例中,匹配验证视为为了确定第一地址与第二地址中的相同地址以及不同地址,进而来多穴终端的通信情况,实现有效输出显示。In this embodiment, the matching verification is regarded as determining the same address and different addresses among the first address and the second address, and then the communication situation of the multi-homed terminal, so as to realize effective output and display.

上述技术方案的有益效果是:通过从服务集群的日志来初步确定同个多穴终端的地址,进而从多穴终端本身来确定相应的地址,通过两种方式所获取地址的匹配验证,来确定存在的通信情况,实现对异常的有效发现,进而实现对存在异常的多穴终端的有效发现。The beneficial effect of the above technical solution is: the address of the same multi-homed terminal is preliminarily determined from the log of the service cluster, and then the corresponding address is determined from the multi-homed terminal itself, and the matching verification of the addresses obtained by the two methods is used to determine The existing communication situation realizes the effective discovery of abnormalities, and then realizes the effective discovery of abnormal multi-homed terminals.

本发明提供一种多穴终端发现装置,所述第一确定模块,包括:The present invention provides a multi-home terminal discovery device, the first determination module includes:

列表构建单元,用于获取当下时刻所述服务集群的通信连接日志,构建每个服务器的连接列表,其中,所述连接列表中包含若干终端接口连接标识;A list construction unit, configured to obtain the communication connection log of the service cluster at the moment, and construct a connection list for each server, wherein the connection list includes a number of terminal interface connection identifiers;

地址获取单元,用于按照所有连接列表,确定同个多穴终端的所有第一标识,进而获取得到所述同个多穴终端的若干第一地址。The address acquiring unit is configured to determine all first identifiers of the same multi-home terminal according to all connection lists, and then acquire several first addresses of the same multi-home terminal.

该实施例中,通信连接日志是不同接口与服务器的通信连接情况以及相关的通信连接地址在内的。In this embodiment, the communication connection log includes communication connection conditions between different interfaces and the server and related communication connection addresses.

该实施例中,连接列表是同个服务器包含不同的多穴终端中不同终端接口的标识在内的,且每个终端接口的标识都是唯一的,从多个连接列表中获取对应的同个多穴终端所包含的标识,进而来获取得到第一地址,其中,第一地址与相对应的连接标识一一匹配。In this embodiment, the connection list is that the same server contains the identifiers of different terminal interfaces in different multi-homed terminals, and the identifiers of each terminal interface are unique. The identification contained in the multi-home terminal is further obtained to obtain the first address, wherein the first address is matched one by one with the corresponding connection identification.

上述技术方案的有益效果是:通过获取服务器的通信连接日志,来构建列表,进而可以有效的获取得到第一地址,为后续通过地址的验证匹配提供有效基础。The beneficial effect of the above technical solution is: the list is constructed by obtaining the communication connection log of the server, and then the first address can be obtained effectively, which provides an effective basis for subsequent verification and matching of addresses.

本发明提供一种多穴终端发现装置,所述策略匹配模块,包括:The present invention provides a multi-home terminal discovery device, the policy matching module includes:

接口集合获取单元,用于从终端数据库中获取每个多穴终端的终端接口集合;an interface set acquisition unit, configured to acquire the terminal interface set of each multi-home terminal from the terminal database;

任务确定单元,用于确定每个多穴终端匹配的终端接口集合中每个终端接口的接口属性以及对应接口的历史执行任务,并得到针对每个终端接口的调取任务;A task determination unit, configured to determine the interface attributes of each terminal interface in the set of terminal interfaces matched by each multi-homed terminal and the historical execution tasks of the corresponding interfaces, and obtain the calling task for each terminal interface;

策略确定单元,用于按照所述调取任务从策略数据库中调取与对应终端接口匹配的接口服务策略集合;A policy determining unit, configured to call an interface service policy set matching the corresponding terminal interface from the policy database according to the calling task;

其中,所述接口服务策略集合包括对应终端接口所匹配的若干个接口服务策略。Wherein, the set of interface service policies includes several interface service policies matched by corresponding terminal interfaces.

该实施例中,终端数据库中包含不同的终端类型以及与类型匹配的接口在内,进而可以获取得到相关多穴终端的终端接口集合。In this embodiment, the terminal database includes different terminal types and interfaces matching the types, and then the set of terminal interfaces of related multi-homed terminals can be obtained.

该实施例中,接口属性是出厂设定好的。In this embodiment, the interface attributes are factory-set.

该实施例中,历史执行任务指的是基于该接口所执行的历史任务,且该历史任务可以是基于不同的指令下建立通信连接所得到的,但是在此过程中会存在无关的执行任务,因此,对无关执行任务进行剔除,得到调取任务,进而可以获取得到针对每个接口的服务策略。In this embodiment, the historical execution task refers to the historical task executed based on the interface, and the historical task can be obtained based on establishing a communication connection under different instructions, but there will be irrelevant execution tasks in the process, Therefore, the irrelevant execution tasks are eliminated to obtain the calling tasks, and then the service policy for each interface can be obtained.

上述技术方案的有益效果是:通过获取接口集合,并基于接口属性以及任务,便于调取得到接口服务策略集合,为后续进行接口地址分析提供基础。The beneficial effect of the above technical solution is: by obtaining the interface set, and based on the interface attributes and tasks, it is convenient to call and obtain the interface service policy set, which provides a basis for subsequent interface address analysis.

本发明提供一种多穴终端发现装置,所述优先级确定模块,包括:The present invention provides a multi-home terminal discovery device, the priority determination module includes:

指令解析单元,用于对当下时刻获取的每个多穴终端的通信连接指令进行解析,得到解析结果,并从解析结果中确定对应多穴终端的工作任务,并基于任务-接口数据库,确定对应多穴终端中处于工作状态的第一接口;The instruction analysis unit is used to analyze the communication connection instruction of each multi-home terminal acquired at the moment, obtain the analysis result, and determine the corresponding work task of the multi-home terminal from the analysis result, and determine the corresponding task based on the task-interface database. The first interface in the working state in the multi-home terminal;

表示构建单元,用于确定每个第一接口的接口属性、允许执行内容以及当下执行内容,并构建对应第一接口的服务逻辑表示;Represents a construction unit, which is used to determine the interface attributes, allowed execution content, and current execution content of each first interface, and construct a service logic representation corresponding to the first interface;

优先级确定单元,用于将所述服务逻辑表示与匹配的接口服务策略集合中每个服务策略进行一一匹配,获取相对应的策略匹配度,进而得到策略优先级;A priority determination unit, configured to match the service logic representation with each service policy in the matching interface service policy set one by one, obtain the corresponding policy matching degree, and then obtain the policy priority;

唯一确定单元,用于提取最大策略优先级,若所述最大策略优先级小于预设优先级,则按照所述服务逻辑表示,重新构建得到对应第一接口的最新服务策略,并作为唯一服务策略;The unique determination unit is used to extract the maximum policy priority. If the maximum policy priority is less than the preset priority, according to the service logic representation, the latest service policy corresponding to the first interface is reconstructed and used as the only service policy ;

若所述最大策略优先级大于或等于预设优先级,则将与所述最大策略优先级匹配的服务策略作为唯一服务策略。If the maximum policy priority is greater than or equal to the preset priority, the service policy matching the maximum policy priority is used as the only service policy.

该实施例中,对指令的解析是基于指令解析模型解析得到的,且该模型是预先基于不同的指令以及对该指令的解析结果为样本训练得到的,进而可以得到针对该多穴终端的工作任务,比如,工作任务1从任务-接口数据库中匹配到多穴终端中的接口1、2、3处于工作状态,此视为第一接口,剩余接口则处于等待状态。In this embodiment, the analysis of the instruction is obtained based on the analysis of the instruction analysis model, and the model is pre-trained based on different instructions and the analysis results of the instruction as samples, and then the work for the multi-homed terminal can be obtained. Tasks, for example, work task 1 matches interfaces 1, 2, and 3 in the multi-homed terminal from the task-interface database to be in the working state, this is regarded as the first interface, and the remaining interfaces are in the waiting state.

该实施例中,由于接口的属性不同以及接口所执行的内容不同,因此,构建得到服务逻辑表示,其中,表示是基于不同的模型训练得到的。In this embodiment, because the attributes of the interfaces are different and the contents executed by the interfaces are different, a logical representation of the service is constructed, wherein the representations are trained based on different models.

该实施例中,在进行服务逻辑表示与策略集合匹配的过程中,需要将每个服务策略从策略-表示数据库中进行匹配,进而得到服务策略的策略表示。In this embodiment, in the process of matching the service logic representation with the policy set, each service policy needs to be matched from the policy-representation database, and then the policy representation of the service policy is obtained.

将服务逻辑表示与策略表示进行匹配,可以得到策略匹配度,在确定出策略匹配度之后,按照服务策略类型-匹配度-优先级映射表,调取得到相关的策略优先级,其中,该映射表是包括不同的服务策略类型、策略匹配度以及相关的策略优先级在内的。By matching the service logic representation with the policy representation, the policy matching degree can be obtained. After the policy matching degree is determined, the relevant policy priority is retrieved according to the service policy type-matching degree-priority mapping table, where the mapping The table includes different service policy types, policy matching degrees, and related policy priorities.

通过对最大优先级进行比较,可以有效的确定出唯一服务策略。By comparing the maximum priority, the unique service policy can be effectively determined.

其中,策略匹配度的确定包括:Among them, the determination of policy matching includes:

P=sim{s1,s2}P=sim{s1,s2}

其中,P表示对应的策略匹配度;s1表示对应服务逻辑表示;s2表示对应策略表示。Among them, P represents the corresponding policy matching degree; s1 represents the logical representation of the corresponding service; s2 represents the corresponding policy representation.

上述技术方案的有益效果是:通过对指令进行解析确定处于工作状态的接口,进而根据接口属性、允许工作内容以及当下执行内容,构建服务逻辑表示,且通过与不同的服务策略进行匹配,来获取唯一服务策略,为后续确定第二地址提供基础。The beneficial effect of the above technical solution is: by analyzing the instructions to determine the interface in the working state, and then constructing the service logic representation according to the interface attributes, allowed work content and current execution content, and matching with different service strategies to obtain The unique service policy provides a basis for subsequent determination of the second address.

本发明提供一种多穴终端发现装置,所述地址获取模块,包括:The present invention provides a multi-home terminal discovery device, the address acquisition module includes:

布局确定单元,用于根据所确定的同个多穴终端的第一接口,确定初始服务布局;a layout determining unit, configured to determine an initial service layout according to the determined first interface of the same multi-home terminal;

策略解析单元,用于解析所述唯一服务策略,从策略-地址数据库中确定对应第一接口的第一访问地址;a policy parsing unit, configured to parse the unique service policy, and determine the first access address corresponding to the first interface from the policy-address database;

布局优化单元,用于基于所述通信连接指令对所述初始服务布局进行优化,得到接口服务布局,并从所述布局-地址数据库中查询历史组合地址;A layout optimization unit, configured to optimize the initial service layout based on the communication connection instruction, obtain an interface service layout, and query historical combined addresses from the layout-address database;

地址获取单元,用于从所有历史组合地址中提取同接口相关的地址集合,获取得到第二访问地址;The address obtaining unit is used to extract the address set related to the interface from all the historical combination addresses, and obtain the second access address;

接口地址确定单元,用于基于所述第一访问地址以及第二访问地址,确定对应第一接口的合理访问地址;An interface address determining unit, configured to determine a reasonable access address corresponding to the first interface based on the first access address and the second access address;

终端地址确定单元,用于按照所有合理访问地址,得到所述同个多穴终端的第二地址。The terminal address determining unit is configured to obtain the second address of the same multi-homed terminal according to all reasonable access addresses.

该实施例中,第一接口的确定只是初步确定该接口基于终端的位置分布,来得到初始服务布局。In this embodiment, the determination of the first interface is only a preliminary determination of the interface based on the location distribution of the terminals to obtain the initial service layout.

该实施例中,策略-地址数据库中是包括不同的唯一服务策略以及与唯一服务策略匹配的访问地址在内的,进而可以得到匹配的第一访问地址。In this embodiment, the policy-address database includes different unique service policies and access addresses matching the unique service policies, so that the matching first access address can be obtained.

该实施例中,基于指令对初始服务布局进行优化,是为了对对每个接口进行合理的分析,相当于是向初始服务布局上的每个第一接口添加专有标识,进而实现对初始服务布局的优化。In this embodiment, the purpose of optimizing the initial service layout based on instructions is to conduct a reasonable analysis of each interface, which is equivalent to adding a dedicated identifier to each first interface on the initial service layout, thereby realizing the optimization of the initial service layout. Optimization.

该实施例中,布局-地址数据库中是包含不同的接口服务布局以及与该布局匹配的不同组合,进而也就是获取得到历史组合地址。In this embodiment, the layout-address database contains different interface service layouts and different combinations matching the layouts, and thus obtains historical combination addresses.

该实施例中,由于历史组合地址是针对同个接口服务布局的多组地址,因此,可以从多组地址中提取同个接口服务布局中同个接口的地址集合。In this embodiment, since the historical combined addresses are multiple groups of addresses for the same interface service layout, the address set of the same interface in the same interface service layout can be extracted from the multiple groups of addresses.

比如:历史组合地址1中,存在针对接口1、2的地址01、02,历史组合地址2中,存在针对接口1、2的地址01、00,历史组合地址3中,存在针对接口1、2的地址01、00,此时,针对接口1的地址集合为:地址01、地址01、地址01,针对接口2的地址集合为:地址02、地址00、地址01。For example: in historical combined address 1, there are addresses 01 and 02 for interfaces 1 and 2; in historical combined address 2, there are addresses 01 and 00 for interfaces 1 and 2; in historical combined address 3, there are addresses for interfaces 1 and 2 address 01, 00, at this time, the address set for interface 1 is: address 01, address 01, address 01, and the address set for interface 2 is: address 02, address 00, address 01.

其中,针对接口1的第二访问地址为01,针对接口2的第二访问地址为02。Wherein, the second access address for interface 1 is 01, and the second access address for interface 2 is 02.

该实施例中,如果针对接口1的第一访问地址也是01,此时合理访问地址就为地址01。In this embodiment, if the first access address for interface 1 is also 01, the reasonable access address at this time is address 01.

上述技术方案的有益效果是:通过确定初始布局以及基于策略对初始布局进行优化,便于获取组合地址,进而提取同接口的地址集合,得到第二访问地址,最后通过与第一方位地址来综合确定是否合理,可以有效的保证终端最后确定地址的合理性,为发现异常提供有效基础。The beneficial effect of the above technical solution is: by determining the initial layout and optimizing the initial layout based on the strategy, it is convenient to obtain the combined address, and then extract the address set of the same interface to obtain the second access address, and finally determine it comprehensively with the first azimuth address Whether it is reasonable or not, it can effectively guarantee the rationality of the final address determined by the terminal, and provide an effective basis for finding abnormalities.

本发明提供一种多穴终端发现装置,所述通信确定模块,包括:The present invention provides a multi-home terminal discovery device, the communication determination module includes:

地址一致确定单元,用于获取同个多穴终端中若干第一地址与若干第二地址中的相同地址以及若干第一地址中的第一不同地址、若干第二地址中的第二不同地址;The address consistency determination unit is used to obtain the same address among the several first addresses and the several second addresses in the same multi-home terminal, the first different address among the several first addresses, and the second different address among the several second addresses;

值确定单元,用于基于所有相同地址,确定所述通信连接指令的合格执行值;a value determination unit, configured to determine the qualified execution value of the communication connection instruction based on all the same addresses;

同时,基于所有第一不同地址,确定所述通信连接指令的第一值,同时,基于所有第二不同地址,确定所述通信连接指令的第二值;At the same time, determining a first value of the communication connection instruction based on all first different addresses, and simultaneously determining a second value of the communication connection instruction based on all second different addresses;

第一计算单元,用于计算所述合格执行值与第一值的第一累计和以及计算所述合格执行值与第二值的第二累加和;a first calculation unit, configured to calculate a first cumulative sum of the eligible execution value and a first value and calculate a second cumulative sum of the qualified execution value and a second value;

第二计算单元,用于计算所述合格执行值与第一累加和的第一比值,同时,计算所述合格执行值与第二累加和的第二比值;a second calculation unit, configured to calculate a first ratio between the qualified performance value and the first cumulative sum, and at the same time, calculate a second ratio between the qualified performance value and the second cumulative sum;

行为获取单元,用于从预设映射表中,获取与第一比值、第二比值、第一不同地址以及第二不同地址所匹配的通信异常行为以及通信正常行为,并输出显示。The behavior obtaining unit is used to obtain the abnormal communication behavior and the normal communication behavior matched with the first ratio, the second ratio, the first different address and the second different address from the preset mapping table, and output and display.

该实施例中,第一地址中:01、02、03、04,第二地址中:01、02、03、05,其中,相同地址为01、02、03,第一不同地址为04,第二不同地址为05。In this embodiment, the first address: 01, 02, 03, 04, the second address: 01, 02, 03, 05, wherein, the same address is 01, 02, 03, the first different address is 04, the second address Two different addresses are 05.

该实施例中,合格执行值的确定方式如下:In this embodiment, the method of determining the qualified execution value is as follows:

Figure BDA0003882736840000121
Figure BDA0003882736840000121

其中,Y表示对应的合格执行值;n1表示相同地址的个数;ri1表示第i1个相同地址的指令合格值;gi1表示第i1个相同地址的指令权重值;(ri1gi1)max表示n1个ri1gi1中的最大值;ri1gi1表示第i1个相同地址的有效值。Among them, Y represents the corresponding qualified execution value; n1 represents the number of identical addresses; r i1 represents the qualified value of the i1th instruction with the same address; g i1 represents the instruction weight value of the i1th identical address; (r i1 g i1 ) max represents the maximum value among n1 r i1 g i1 ; r i1 g i1 represents the effective value of the i1th same address.

该实施例中,第一值的确定方式与第二值的确定方式与合格执行值的计算方式类似,此处不再赘述。In this embodiment, the method for determining the first value is similar to the method for determining the second value and the method for calculating the qualified execution value, and will not be repeated here.

该实施例中,预设映射表是包括不同的比值以及地址在内的,且可以包括与比值和地址所匹配的行为在内。In this embodiment, the preset mapping table includes different ratios and addresses, and may include behaviors that match the ratios and addresses.

上述技术方案的有益效果是:通过确定第一地址与第二地址的相同与不同,可以有效的计算存在的合格执行值以及第一值、第二值,为后续确定异常行为以及正常行为提供方便,为发现异常提供有效基础。The beneficial effect of the above technical solution is: by determining the sameness or difference between the first address and the second address, the existing qualified execution value, the first value, and the second value can be effectively calculated, which provides convenience for subsequent determination of abnormal behavior and normal behavior , providing an effective basis for finding anomalies.

本发明提供一种多穴终端发现装置,所述行为获取单元,包括:The present invention provides a multi-home terminal discovery device, the behavior acquisition unit includes:

确定块,用于确定所述通信异常行为的第一标识以及匹配的第一显示接口,同时,确定所述通信正常行为的第二标识以及匹配的第二显示接口;A determination block, configured to determine the first identification of the abnormal communication behavior and the matching first display interface, and at the same time, determine the second identification of the normal communication behavior and the matching second display interface;

建立块,用于建立同个异常行为中第一标识与第一显示接口的第一显示组以及建立同个正常行为中第二标识与第二显示接口的第二显示组;A building block, which is used to create a first display group of the first logo and the first display interface in the same abnormal behavior and a second display group of the second logo and the second display interface in the same normal behavior;

输出块,用于按照第一显示组的第一位置以及第二显示组的第二位置,得到输出图并输出显示。The output block is configured to obtain an output image and output the display according to the first position of the first display group and the second position of the second display group.

该实施例中,与行为匹配得标识都是从行为数据库中确定出来的,进而可以匹配得到相关的标识以及接口。In this embodiment, the identifiers matched with the behavior are all determined from the behavior database, and then related identifiers and interfaces can be obtained through matching.

该实施例中,第一显示组包括第一标识以及与显示接口一致的标识在内。In this embodiment, the first display group includes the first identifier and an identifier consistent with the display interface.

上述技术方案的有益效果是:通过确定异常行为与正常行为的显示组,并在相应的位置上进行显示,可以保证异常的有效输出。The beneficial effect of the above technical solution is that by determining the display group of abnormal behavior and normal behavior and displaying them at corresponding positions, effective output of abnormality can be guaranteed.

本发明提供一种多穴终端发现装置,所述表示构建单元,包括:The present invention provides a device for discovering multi-homed terminals, and the representation construction unit includes:

第一分析块,用于基于属性表示模型对每个第一接口的接口属性进行分析,得到第一表示;The first analysis block is configured to analyze the interface attributes of each first interface based on the attribute representation model to obtain the first representation;

第二分析块,用于基于内容表示模型对每个第一接口的允许执行内容进行分析,得到第二表示,同时,基于所述内容表示模型对每个第一接口的当下执行内容进行分析,得到第三表示;The second analysis block is configured to analyze the allowed execution content of each first interface based on the content representation model to obtain a second representation, and at the same time, analyze the current execution content of each first interface based on the content representation model, get the third representation;

表示组合块,用于基于所述第一表示、第二表示以及第三表示,组合得到对应第一接口的服务逻辑表示。The representation combination block is configured to combine the service logic representation corresponding to the first interface based on the first representation, the second representation and the third representation.

该实施例中,属性表示模型是基于不同的接口属性以及与接口属性匹配的表示为样本训练得到的。In this embodiment, the attribute representation model is obtained through sample training based on different interface attributes and representations matching the interface attributes.

该实施例中,内容表示模型是基于不同的允许内容、当下内容以及匹配分表示为样本训练得到的。In this embodiment, the content representation model is obtained by training samples based on different allowed content, current content and matching scores.

该实施例中,表示可以是不同的标识符号,来对表示进行代表进而得到服务逻辑表示,比如,前3位字符为第一表示,中间2位字符为第二表示,末尾3位字符为第三表示。In this embodiment, the representation can be different identification symbols to represent the representation and obtain the service logic representation. For example, the first 3 characters are the first representation, the middle 2 characters are the second representation, and the last 3 characters are the second representation. Three said.

上述技术方案的有益效果是:通过不同的模型可以对属性、内容进行有效的表示,进而实现对接口的服务逻辑表示。The beneficial effect of the above-mentioned technical solution is that attributes and contents can be effectively represented through different models, and then the service logic representation of the interface can be realized.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (8)

1.一种多穴终端发现装置,其特征在于,包括:1. A multi-home terminal discovery device, characterized in that, comprising: 第一确定模块,用于基于服务集群的通信连接日志,确定当下时刻与每个多穴终端相关的若干第一地址;The first determination module is configured to determine a plurality of first addresses related to each multi-home terminal at the current moment based on the communication connection log of the service cluster; 策略匹配模块,用于确定每个多穴终端的终端接口集合,并从策略数据库中调取与每个终端接口匹配的接口服务策略集合;A policy matching module, configured to determine the terminal interface set of each multi-home terminal, and retrieve the interface service policy set matched with each terminal interface from the policy database; 优先级确定模块,用于获取当下时刻每个多穴终端的通信连接指令并进行解析,分别确定每个终端接口匹配的接口服务策略集合中每个接口服务策略的策略优先级,并获取唯一服务策略;The priority determination module is used to obtain and analyze the communication connection instructions of each multi-homed terminal at the moment, respectively determine the policy priority of each interface service policy in the interface service policy set matched by each terminal interface, and obtain the unique service Strategy; 地址获取模块,用于根据所述唯一服务策略确定对应多穴终端的接口服务布局,并从布局-地址数据库中,得到若干个第二地址;The address acquisition module is used to determine the interface service layout corresponding to the multi-home terminal according to the unique service strategy, and obtain several second addresses from the layout-address database; 通信确定模块,用于将同个多穴终端的若干第一地址与若干第二地址进行匹配验证,确定所述同个多穴终端的通信情况并输出显示。The communication determination module is used to verify the matching of several first addresses and several second addresses of the same multi-home terminal, determine the communication status of the same multi-home terminal, and output and display. 2.如权利要求1所述的多穴终端发现装置,其特征在于,所述第一确定模块,包括:2. The device for discovering multi-homed terminals according to claim 1, wherein the first determination module includes: 列表构建单元,用于获取当下时刻所述服务集群的通信连接日志,构建每个服务器的连接列表,其中,所述连接列表中包含若干终端接口连接标识;A list construction unit, configured to obtain the communication connection log of the service cluster at the moment, and construct a connection list for each server, wherein the connection list includes a number of terminal interface connection identifiers; 地址获取单元,用于按照所有连接列表,确定同个多穴终端的所有第一标识,进而获取得到所述同个多穴终端的若干第一地址。The address acquiring unit is configured to determine all first identifiers of the same multi-home terminal according to all connection lists, and then acquire several first addresses of the same multi-home terminal. 3.如权利要求1所述的多穴终端发现装置,其特征在于,所述策略匹配模块,包括:3. The multi-home terminal discovery device according to claim 1, wherein the policy matching module includes: 接口集合获取单元,用于从终端数据库中获取每个多穴终端的终端接口集合;an interface set acquisition unit, configured to acquire the terminal interface set of each multi-home terminal from the terminal database; 任务确定单元,用于确定每个多穴终端匹配的终端接口集合中每个终端接口的接口属性以及对应接口的历史执行任务,并得到针对每个终端接口的调取任务;A task determination unit, configured to determine the interface attributes of each terminal interface in the set of terminal interfaces matched by each multi-homed terminal and the historical execution tasks of the corresponding interfaces, and obtain the calling task for each terminal interface; 策略确定单元,用于按照所述调取任务从策略数据库中调取与对应终端接口匹配的接口服务策略集合;A policy determining unit, configured to call an interface service policy set matching the corresponding terminal interface from the policy database according to the calling task; 其中,所述接口服务策略集合包括对应终端接口所匹配的若干个接口服务策略。Wherein, the set of interface service policies includes several interface service policies matched by corresponding terminal interfaces. 4.如权利要求1所述的多穴终端发现装置,其特征在于,所述优先级确定模块,包括:4. The device for discovering multi-homed terminals according to claim 1, wherein the priority determination module includes: 指令解析单元,用于对当下时刻获取的每个多穴终端的通信连接指令进行解析,得到解析结果,并从解析结果中确定对应多穴终端的工作任务,并基于任务-接口数据库,确定对应多穴终端中处于工作状态的第一接口;The instruction analysis unit is used to analyze the communication connection instruction of each multi-home terminal obtained at the moment, obtain the analysis result, and determine the corresponding work task of the multi-home terminal from the analysis result, and determine the corresponding task based on the task-interface database. The first interface in the working state in the multi-home terminal; 表示构建单元,用于确定每个第一接口的接口属性、允许执行内容以及当下执行内容,并构建对应第一接口的服务逻辑表示;Represents a construction unit, which is used to determine the interface attributes, allowed execution content, and current execution content of each first interface, and construct a service logic representation corresponding to the first interface; 优先级确定单元,用于将所述服务逻辑表示与匹配的接口服务策略集合中每个服务策略进行一一匹配,获取相对应的策略匹配度,进而得到策略优先级;A priority determination unit, configured to match the service logic representation with each service policy in the matching interface service policy set one by one, obtain the corresponding policy matching degree, and then obtain the policy priority; 唯一确定单元,用于提取最大策略优先级,若所述最大策略优先级小于预设优先级,则按照所述服务逻辑表示,重新构建得到对应第一接口的最新服务策略,并作为唯一服务策略;The unique determination unit is used to extract the maximum policy priority. If the maximum policy priority is less than the preset priority, according to the service logic representation, the latest service policy corresponding to the first interface is reconstructed and used as the only service policy ; 若所述最大策略优先级大于或等于预设优先级,则将与所述最大策略优先级匹配的服务策略作为唯一服务策略。If the maximum policy priority is greater than or equal to the preset priority, the service policy matching the maximum policy priority is used as the only service policy. 5.如权利要求1所述的多穴终端发现装置,其特征在于,所述地址获取模块,包括:5. The device for discovering multi-homed terminals according to claim 1, wherein the address acquisition module includes: 布局确定单元,用于根据所确定的同个多穴终端的第一接口,确定初始服务布局;a layout determining unit, configured to determine an initial service layout according to the determined first interface of the same multi-home terminal; 策略解析单元,用于解析所述唯一服务策略,从策略-地址数据库中确定对应第一接口的第一访问地址;a policy parsing unit, configured to parse the unique service policy, and determine the first access address corresponding to the first interface from the policy-address database; 布局优化单元,用于基于所述通信连接指令对所述初始服务布局进行优化,得到接口服务布局,并从所述布局-地址数据库中查询历史组合地址;A layout optimization unit, configured to optimize the initial service layout based on the communication connection instruction, obtain an interface service layout, and query historical combined addresses from the layout-address database; 地址获取单元,用于从所有历史组合地址中提取同接口相关的地址集合,获取得到第二访问地址;The address obtaining unit is used to extract the address set related to the interface from all the historical combination addresses, and obtain the second access address; 接口地址确定单元,用于基于所述第一访问地址以及第二访问地址,确定对应第一接口的合理访问地址;An interface address determining unit, configured to determine a reasonable access address corresponding to the first interface based on the first access address and the second access address; 终端地址确定单元,用于按照所有合理访问地址,得到所述同个多穴终端的第二地址。The terminal address determining unit is configured to obtain the second address of the same multi-homed terminal according to all reasonable access addresses. 6.如权利要求1所述的多穴终端发现装置,其特征在于,所述通信确定模块,包括:6. The device for discovering multi-homed terminals according to claim 1, wherein the communication determining module comprises: 地址一致确定单元,用于获取同个多穴终端中若干第一地址与若干第二地址中的相同地址以及若干第一地址中的第一不同地址、若干第二地址中的第二不同地址;The address consistency determination unit is used to obtain the same address among the several first addresses and the several second addresses in the same multi-home terminal, the first different address among the several first addresses, and the second different address among the several second addresses; 值确定单元,用于基于所有相同地址,确定所述通信连接指令的合格执行值;a value determination unit, configured to determine the qualified execution value of the communication connection instruction based on all the same addresses; 同时,基于所有第一不同地址,确定所述通信连接指令的第一值,同时,基于所有第二不同地址,确定所述通信连接指令的第二值;At the same time, determining a first value of the communication connection instruction based on all first different addresses, and simultaneously determining a second value of the communication connection instruction based on all second different addresses; 第一计算单元,用于计算所述合格执行值与第一值的第一累计和以及计算所述合格执行值与第二值的第二累加和;a first calculation unit, configured to calculate a first cumulative sum of the eligible execution value and a first value and calculate a second cumulative sum of the qualified execution value and a second value; 第二计算单元,用于计算所述合格执行值与第一累加和的第一比值,同时,计算所述合格执行值与第二累加和的第二比值;a second calculation unit, configured to calculate a first ratio between the qualified performance value and the first cumulative sum, and at the same time, calculate a second ratio between the qualified performance value and the second cumulative sum; 行为获取单元,用于从预设映射表中,获取与第一比值、第二比值、第一不同地址以及第二不同地址所匹配的通信异常行为以及通信正常行为,并输出显示。The behavior obtaining unit is used to obtain the abnormal communication behavior and the normal communication behavior matched with the first ratio, the second ratio, the first different address and the second different address from the preset mapping table, and output and display. 7.如权利要求1所述的多穴终端发现装置,其特征在于,所述行为获取单元,包括:7. The device for discovering multi-homed terminals according to claim 1, wherein the behavior acquiring unit comprises: 确定块,用于确定所述通信异常行为的第一标识以及匹配的第一显示接口,同时,确定所述通信正常行为的第二标识以及匹配的第二显示接口;A determination block, configured to determine the first identification of the abnormal communication behavior and the matching first display interface, and at the same time, determine the second identification of the normal communication behavior and the matching second display interface; 建立块,用于建立同个异常行为中第一标识与第一显示接口的第一显示组以及建立同个正常行为中第二标识与第二显示接口的第二显示组;A building block, which is used to create a first display group of the first logo and the first display interface in the same abnormal behavior and a second display group of the second logo and the second display interface in the same normal behavior; 输出块,用于按照第一显示组的第一位置以及第二显示组的第二位置,得到输出图并输出显示。The output block is configured to obtain an output image and output the display according to the first position of the first display group and the second position of the second display group. 8.如权利要求5所述的多穴终端发现装置,其特征在于,所述表示构建单元,包括:8. The device for discovering multi-homed terminals according to claim 5, wherein the representation construction unit comprises: 第一分析块,用于基于属性表示模型对每个第一接口的接口属性进行分析,得到第一表示;The first analysis block is configured to analyze the interface attributes of each first interface based on the attribute representation model to obtain the first representation; 第二分析块,用于基于内容表示模型对每个第一接口的允许执行内容进行分析,得到第二表示,同时,基于所述内容表示模型对每个第一接口的当下执行内容进行分析,得到第三表示;The second analysis block is configured to analyze the allowed execution content of each first interface based on the content representation model to obtain a second representation, and at the same time, analyze the current execution content of each first interface based on the content representation model, get the third representation; 表示组合块,用于基于所述第一表示、第二表示以及第三表示,组合得到对应第一接口的服务逻辑表示。The representation combination block is configured to combine the service logic representation corresponding to the first interface based on the first representation, the second representation and the third representation.
CN202211235801.7A 2022-10-10 2022-10-10 A multi-hole terminal detection device Active CN115665722B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211235801.7A CN115665722B (en) 2022-10-10 2022-10-10 A multi-hole terminal detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211235801.7A CN115665722B (en) 2022-10-10 2022-10-10 A multi-hole terminal detection device

Publications (2)

Publication Number Publication Date
CN115665722A true CN115665722A (en) 2023-01-31
CN115665722B CN115665722B (en) 2025-12-05

Family

ID=84986533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211235801.7A Active CN115665722B (en) 2022-10-10 2022-10-10 A multi-hole terminal detection device

Country Status (1)

Country Link
CN (1) CN115665722B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7450560B1 (en) * 1998-03-05 2008-11-11 3Com Corporation Method for address mapping in a network access system and a network access device for use therewith
US20100153969A1 (en) * 2008-12-12 2010-06-17 Microsoft Corporation Communication interface selection on multi-homed devices
CN102065013A (en) * 2010-12-17 2011-05-18 北京邮电大学 Locator information optimal selection system and method based on ID (Identity) and Locator separation
CN103843375A (en) * 2011-08-05 2014-06-04 Lg电子株式会社 Multi-homed terminals
KR101962408B1 (en) * 2017-11-29 2019-03-26 한전케이디엔주식회사 Automatic Detection System for Multi Homed Host and Method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7450560B1 (en) * 1998-03-05 2008-11-11 3Com Corporation Method for address mapping in a network access system and a network access device for use therewith
US20100153969A1 (en) * 2008-12-12 2010-06-17 Microsoft Corporation Communication interface selection on multi-homed devices
CN102065013A (en) * 2010-12-17 2011-05-18 北京邮电大学 Locator information optimal selection system and method based on ID (Identity) and Locator separation
CN103843375A (en) * 2011-08-05 2014-06-04 Lg电子株式会社 Multi-homed terminals
KR101962408B1 (en) * 2017-11-29 2019-03-26 한전케이디엔주식회사 Automatic Detection System for Multi Homed Host and Method thereof

Also Published As

Publication number Publication date
CN115665722B (en) 2025-12-05

Similar Documents

Publication Publication Date Title
CN111431758B (en) Cloud network equipment testing method and device, storage medium and computer equipment
CN104579822B (en) Mobile application automated performance testing system and method based on Http agreements
CN109714209B (en) A method and system for diagnosing website access faults
CN113127356A (en) Pressure measurement method and device, electronic equipment and storage medium
CN106130913A (en) A strategy-based routing method for routers with multiple WAN ports in the case of multi-operator access
CN109669795A (en) Crash info processing method and processing device
CN109905292B (en) Terminal equipment identification method, system and storage medium
CN110543368A (en) Distributed service health examination method and system
CN110650042A (en) Electric power communication network health degree evaluation method and terminal equipment
CN106506269A (en) Execute method, system, computing device and the test system of test assignment
CN104852823A (en) Process monitoring method, device and system
CN112527453B (en) Virtualization information simulation system, method and computer-readable storage medium
CN118433069A (en) Method, device, equipment and medium for detecting cross-server cable connection status
CN111224815B (en) Data center equipment access method, device and related components
CN106250315A (en) A kind of automatic imitation request-reply system and method for configurableization
CN115665722A (en) A multi-home terminal discovery device
CN106992893A (en) Router management method and device
US20160292245A1 (en) Method and Device for Implementing Matching Between Acquisition System and Analysis System
CN111522681B (en) Fault positioning method and device for WEB production system and storage medium
CN103378989A (en) Method and device for obtaining performance test data
CN116192607B (en) Fault alarm method and device
CN111444156B (en) Fault diagnosis method based on cloud computing
CN112488491B (en) Reliability Evaluation Method of Train Control Vehicle Equipment Access Process Based on Petri Net
CN113760707B (en) Interface testing method, device, equipment and computer-readable storage medium
CN109842689B (en) Method and device for selecting server access

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