A multi-hole terminal discovery device
By using a multi-homed terminal discovery device and leveraging service cluster logs and policy matching, the problem of parameter anomalies caused by address access errors in multi-homed terminal communication was resolved, enabling effective discovery and accurate output of anomalies.
Patent Information
- Application Number
- CN202211235801.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-10
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2042-10-10
AI Technical Summary
In 3GPP cellular systems, during the communication process of multi-homed terminals, abnormal parameters are often caused by address access errors, making it difficult to effectively detect and resolve communication anomalies.
The multi-homed terminal discovery device uses service cluster logs to determine the address of the multi-homed terminal, and combines policy matching and priority determination to perform address verification, thereby achieving effective discovery of anomalies.
It enables accurate matching and verification of communication status of multi-hole terminals, effectively detects and outputs abnormal situations, and improves the efficiency and accuracy of communication anomaly detection.
Smart Images

Figure CN115665722B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of network communication technology, and in particular to a multi-hole terminal discovery device. Background Technology
[0002] In 3GPP cellular systems, cellular terminals can access several IP networks in parallel by establishing so-called PDN connections with each packet data network they wish to access. Common typical use cases are as follows:
[0003] The UE may need to access the Internet in parallel with the operator's IP Multimedia Subsystem and the user's corporate intranet. On each PDN connection, the UE is assigned an IP address. In the Internet Engineering Task Force's terminology, the UE is an IP address with multiple IP interfaces and is called a multi-homed host. In other words, a multi-homed host may have multiple IP addresses at the same time in the network.
[0004] In determining the communication status of the same multi-hole terminal, the captured logs are usually used to identify existing communication problems. However, this process revolves around the abnormality of parameters. The root cause is usually the abnormal parameters caused by incorrect address access. Therefore, it is necessary to find the abnormal address in order to determine the abnormality of communication.
[0005] Therefore, the present invention proposes a multi-hole terminal detection device. Summary of the Invention
[0006] This invention provides a multi-homed terminal discovery device, which can initially determine the address of the same multi-homed terminal from the logs of the service cluster, and then determine the corresponding address from the multi-homed terminal itself. By matching and verifying the addresses obtained by the two methods, the existing communication situation can be determined, thereby realizing the effective discovery of anomalies and the effective discovery of multi-homed terminals with anomalies.
[0007] This invention provides a multi-hole terminal detection device, comprising:
[0008] The first determination module is used to determine several first addresses associated with each multi-hole terminal at the current moment based on the communication connection logs of the service cluster.
[0009] The strategy matching module is used to determine the set of terminal interfaces for each multi-hole terminal and retrieve the set of interface service strategies that match each terminal interface from the strategy database.
[0010] The priority determination module is used to obtain and parse the communication connection instructions of each multi-hole terminal at the current moment, determine the policy priority of each interface service policy in the set of interface service policies matched by each terminal interface, and obtain the unique service policy.
[0011] The address acquisition module is used to determine the interface service layout of the corresponding multi-hole terminal according to the unique service strategy, and obtain several second addresses from the layout-address database.
[0012] The communication determination module is used to match and verify several first addresses and several second addresses of the same multi-hole terminal, determine the communication status of the same multi-hole terminal, and output and display it.
[0013] Preferably, the first determining module includes:
[0014] The list construction unit is used to obtain the communication connection logs of the service cluster at the current moment and construct a connection list for each server, wherein the connection list contains several terminal interface connection identifiers;
[0015] The address acquisition unit is used to determine all first identifiers of the same multi-hole terminal according to all connection lists, and then obtain several first addresses of the same multi-hole terminal.
[0016] Preferably, the strategy matching module includes:
[0017] The interface set acquisition unit is used to obtain the terminal interface set of each multi-hole terminal from the terminal database;
[0018] The task determination unit is used to determine the interface attributes of each terminal interface in the set of terminal interfaces matched by each multi-hole terminal and the historical execution tasks of the corresponding interface, and to obtain the retrieval task for each terminal interface.
[0019] The strategy determination unit is used to retrieve a set of interface service strategies that match the corresponding terminal interface from the strategy database according to the retrieval task.
[0020] The interface service policy set includes several interface service policies matched to the corresponding terminal interface.
[0021] Preferably, the priority determination module includes:
[0022] The instruction parsing unit is used to parse the communication connection instructions of each multi-hole terminal acquired at the current moment, obtain the parsing result, determine the working task of the corresponding multi-hole terminal from the parsing result, and determine the first interface in the working state of the corresponding multi-hole terminal based on the task-interface database.
[0023] The construction unit is used to determine the interface attributes, allowed execution content, and current execution content of each first interface, and to construct the service logic representation of the corresponding first interface;
[0024] The priority determination unit is used to match the service logic representation with each service policy in the set of matching interface service policies one by one, obtain the corresponding policy matching degree, and then obtain the policy priority.
[0025] A unique determining unit is used to extract the maximum policy priority. If the maximum policy priority is less than the preset priority, the latest service policy corresponding to the first interface is reconstructed according to the service logic representation and used as the unique service policy.
[0026] If the maximum policy priority is greater than or equal to the preset priority, then the service policy that matches the maximum policy priority will be used as the unique service policy.
[0027] Preferably, the address acquisition module includes:
[0028] The layout determination unit is used to determine the initial service layout based on the first interface of the determined multi-hole terminal;
[0029] The policy parsing unit is used to parse the unique service policy and determine the first access address corresponding to the first interface from the policy-address database.
[0030] The layout optimization unit is used to optimize the initial service layout based on the communication connection instructions to obtain the interface service layout, and to query historical combined addresses from the layout-address database.
[0031] The address acquisition unit is used to extract the set of addresses related to the same interface from all historical combined addresses and obtain the second access address.
[0032] The interface address determination unit is used to determine a reasonable access address for the corresponding first interface based on the first access address and the second access address.
[0033] The terminal address determination unit is used to obtain the second address of the same multi-hole terminal according to all reasonable access addresses.
[0034] Preferably, the communication determination module includes:
[0035] The address consistency determination unit is used to obtain the same address among a number of first addresses and a number of second addresses in the same multi-hole terminal, as well as the first different address among the number of first addresses and the second different address among the number of second addresses;
[0036] A value determination unit is used to determine the qualified execution value of the communication connection instruction based on all identical addresses;
[0037] Simultaneously, based on all first different addresses, a first value of the communication connection instruction is determined; and simultaneously, based on all second different addresses, a second value of the communication connection instruction is determined.
[0038] The first calculation unit is used to calculate the first cumulative sum of the qualified execution value and the first value, and to calculate the second cumulative sum of the qualified execution value and the second value.
[0039] The second calculation unit is used to calculate the first ratio of the qualified execution value to the first cumulative sum, and at the same time, calculate the second ratio of the qualified execution value to the second cumulative sum;
[0040] The behavior acquisition unit is used to acquire, from a preset mapping table, abnormal communication behaviors and normal communication behaviors that match the first ratio, the second ratio, the first different address, and the second different address, and output and display them.
[0041] Preferably, the behavior acquisition unit includes:
[0042] A determination block is used to determine a first identifier of the abnormal communication behavior and a matching first display interface, and at the same time, to determine a second identifier of the normal communication behavior and a matching second display interface;
[0043] A creation block is used to create a first display group of a first identifier and a first display interface in the same abnormal behavior, and to create a second display group of a second identifier and a second display interface in the same normal behavior;
[0044] The output block is used to obtain and display the output image according to the first position of the first display group and the second position of the second display group.
[0045] Preferably, the representation building unit includes:
[0046] The first analysis block is used to analyze the interface attributes of each first interface based on the attribute representation model to obtain the first representation;
[0047] The second analysis block is used to analyze the allowed execution content of each first interface based on the content representation model to obtain a second representation. At the same time, it analyzes the current execution content of each first interface based on the content representation model to obtain a third representation.
[0048] The representation is a combination block used to combine the first representation, the second representation, and the third representation to obtain the service logic representation of the corresponding first interface.
[0049] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings.
[0050] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description
[0051] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings:
[0052] Figure 1 This is a structural diagram of a multi-hole terminal discovery device according to an embodiment of the present invention. Detailed Implementation
[0053] The preferred embodiments of the present invention will be described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are for illustration and explanation only and are not intended to limit the present invention.
[0054] This invention provides a multi-hole terminal detection device, such as... Figure 1 As shown, it includes:
[0055] The first determination module is used to determine several first addresses associated with each multi-hole terminal at the current moment based on the communication connection logs of the service cluster.
[0056] The strategy matching module is used to determine the set of terminal interfaces for each multi-hole terminal and retrieve the set of interface service strategies that match each terminal interface from the strategy database.
[0057] The priority determination module is used to obtain and parse the communication connection instructions of each multi-hole terminal at the current moment, determine the policy priority of each interface service policy in the set of interface service policies matched by each terminal interface, and obtain the unique service policy.
[0058] The address acquisition module is used to determine the interface service layout of the corresponding multi-hole terminal according to the unique service strategy, and obtain several second addresses from the layout-address database.
[0059] The communication determination module is used to match and verify several first addresses and several second addresses of the same multi-hole terminal, determine the communication status of the same multi-hole terminal, and output and display it.
[0060] In this embodiment, the current moment refers to the moment when the multi-hole terminal 1 receives the communication connection instruction and begins to execute according to the communication connection instruction, and then obtains the service cluster's work log at that moment, that is, the work log includes the communication connection log at that moment.
[0061] In this embodiment, the communication connection log includes the connection status between different multi-homed terminals and different servers, the connection status between different interfaces of the same multi-homed terminal and the server, and includes different addresses.
[0062] In this embodiment, server 1 is connected to interface 1 in multi-hole terminal 1, and server 2 is connected to interface 2 in multi-hole terminal 1, etc.
[0063] In this embodiment, the terminal interface set refers to all the interfaces contained on the multi-hole terminal.
[0064] In this embodiment, the policy database is pre-set and includes different sets of terminal interfaces, the terminal interfaces contained in the set, and the matching service policies. Thus, the set of interface service policies for the same interface can be obtained. Since the tasks executed by the same multi-hole terminal on the same interface under different instructions may be different, the set of interface service policies for each interface can be obtained.
[0065] In this embodiment, instruction parsing is mainly to determine the final service policy of each terminal interface in the same multi-hole terminal. That is, after the execution is decomposed, the content that the corresponding interface needs to execute can be determined. Then, the priority is determined by matching it with the policy one by one. The unique service policy is obtained by matching the highest priority corresponding to the set.
[0066] In this embodiment, the service strategy refers to the service content that the corresponding interface needs to perform, such as acquiring data 1 or transmitting data 1 after establishing a communication connection.
[0067] In this embodiment, the interface service layout is a comprehensive construction of the interfaces of the multi-hole terminal that are in working state and the service strategies of the interfaces that are in working state.
[0068] In this embodiment, the layout-address database includes different interface service layouts and historical combination addresses that match the layout.
[0069] In this embodiment, the second address is obtained based on historical combined addresses.
[0070] In this embodiment, the matching verification is considered to determine the same address and different address between the first address and the second address, thereby understanding the communication status of the multi-hole terminal and realizing effective output display.
[0071] The beneficial effects of the above technical solution are: by initially determining the address of the same multi-homed terminal from the logs of the service cluster, and then determining the corresponding address from the multi-homed terminal itself, the existing communication situation can be determined by matching and verifying the addresses obtained by the two methods, thereby achieving effective discovery of anomalies and thus effective discovery of multi-homed terminals with anomalies.
[0072] This invention provides a multi-hole terminal detection device, wherein the first determining module includes:
[0073] The list construction unit is used to obtain the communication connection logs of the service cluster at the current moment and construct a connection list for each server, wherein the connection list contains several terminal interface connection identifiers;
[0074] The address acquisition unit is used to determine all first identifiers of the same multi-hole terminal according to all connection lists, and then obtain several first addresses of the same multi-hole terminal.
[0075] In this embodiment, the communication connection log includes the communication connection status between different interfaces and the server, as well as the relevant communication connection addresses.
[0076] In this embodiment, the connection list includes the identifiers of different terminal interfaces in different multi-hole terminals on the same server, and the identifier of each terminal interface is unique. The identifiers contained in the same multi-hole terminal are obtained from multiple connection lists, and then the first address is obtained. The first address matches the corresponding connection identifier one by one.
[0077] The beneficial effect of the above technical solution is that by obtaining the server's communication connection logs, a list can be constructed, thereby effectively obtaining the first address and providing a valid basis for subsequent address verification and matching.
[0078] This invention provides a multi-homed terminal discovery device, wherein the strategy matching module includes:
[0079] The interface set acquisition unit is used to obtain the terminal interface set of each multi-hole terminal from the terminal database;
[0080] The task determination unit is used to determine the interface attributes of each terminal interface in the set of terminal interfaces matched by each multi-hole terminal and the historical execution tasks of the corresponding interface, and to obtain the retrieval task for each terminal interface.
[0081] The strategy determination unit is used to retrieve a set of interface service strategies that match the corresponding terminal interface from the strategy database according to the retrieval task.
[0082] The interface service policy set includes several interface service policies matched to the corresponding terminal interface.
[0083] In this embodiment, the terminal database contains different terminal types and interfaces that match the types, thereby enabling the acquisition of a set of terminal interfaces for related multi-hole terminals.
[0084] In this embodiment, the interface attributes are factory-set.
[0085] In this embodiment, historical execution tasks refer to historical tasks executed based on the interface. These historical tasks can be obtained by establishing communication connections based on different instructions. However, there may be irrelevant execution tasks in this process. Therefore, irrelevant execution tasks are removed to obtain the retrieval tasks, and then the service policy for each interface can be obtained.
[0086] The beneficial effects of the above technical solution are: by obtaining the set of interfaces and based on the interface attributes and tasks, it is easy to call the set of interface service strategies, which provides a basis for subsequent interface address analysis.
[0087] This invention provides a multi-hole terminal detection device, wherein the priority determination module includes:
[0088] The instruction parsing unit is used to parse the communication connection instructions of each multi-hole terminal acquired at the current moment, obtain the parsing result, determine the working task of the corresponding multi-hole terminal from the parsing result, and determine the first interface in the working state of the corresponding multi-hole terminal based on the task-interface database.
[0089] The construction unit is used to determine the interface attributes, allowed execution content, and current execution content of each first interface, and to construct the service logic representation of the corresponding first interface;
[0090] The priority determination unit is used to match the service logic representation with each service policy in the set of matching interface service policies one by one, obtain the corresponding policy matching degree, and then obtain the policy priority.
[0091] A unique determining unit is used to extract the maximum policy priority. If the maximum policy priority is less than the preset priority, the latest service policy corresponding to the first interface is reconstructed according to the service logic representation and used as the unique service policy.
[0092] If the maximum policy priority is greater than or equal to the preset priority, then the service policy that matches the maximum policy priority will be used as the unique service policy.
[0093] In this embodiment, the parsing of instructions is obtained based on the instruction parsing model, which is pre-trained based on different instructions and the parsing results of the instructions as samples. This allows the generation of working tasks for the multi-hole terminal. For example, working task 1 matches interfaces 1, 2, and 3 in the multi-hole terminal from the task-interface database and finds them to be in a working state. These are considered the first interfaces, while the remaining interfaces are in a waiting state.
[0094] In this embodiment, due to the different attributes of the interfaces and the different content executed by the interfaces, a service logic representation is constructed, wherein the representation is obtained based on different model training.
[0095] In this embodiment, during the process of matching the service logic representation with the policy set, each service policy needs to be matched from the policy-representation database to obtain the policy representation of the service policy.
[0096] By matching the service logic representation with the policy representation, the policy matching degree can be obtained. After determining the policy matching degree, the relevant policy priority is retrieved according to the service policy type-matching degree-priority mapping table. This mapping table includes different service policy types, policy matching degrees, and related policy priorities.
[0097] By comparing the highest priority, a unique service strategy can be effectively determined.
[0098] The determination of strategy matching degree includes:
[0099] P = sim{s1, s2}
[0100] Where P represents the corresponding policy matching degree; s1 represents the corresponding service logic representation; and s2 represents the corresponding policy representation.
[0101] The beneficial effects of the above technical solution are: by parsing the instructions to determine the interface in the working state, and then constructing a service logic representation based on the interface attributes, allowed working content and current execution content, and obtaining a unique service strategy by matching it with different service strategies, thus providing a basis for subsequently determining the second address.
[0102] This invention provides a multi-homed terminal discovery device, wherein the address acquisition module includes:
[0103] The layout determination unit is used to determine the initial service layout based on the first interface of the determined multi-hole terminal;
[0104] The policy parsing unit is used to parse the unique service policy and determine the first access address corresponding to the first interface from the policy-address database.
[0105] The layout optimization unit is used to optimize the initial service layout based on the communication connection instructions to obtain the interface service layout, and to query historical combined addresses from the layout-address database.
[0106] The address acquisition unit is used to extract the set of addresses related to the same interface from all historical combined addresses and obtain the second access address.
[0107] The interface address determination unit is used to determine a reasonable access address for the corresponding first interface based on the first access address and the second access address.
[0108] The terminal address determination unit is used to obtain the second address of the same multi-hole terminal according to all reasonable access addresses.
[0109] In this embodiment, the determination of the first interface is only a preliminary determination of the interface based on the location distribution of the terminal to obtain the initial service layout.
[0110] In this embodiment, the policy-address database includes different unique service policies and access addresses that match the unique service policies, thereby obtaining the first matching access address.
[0111] In this embodiment, optimizing the initial service layout based on instructions is to perform reasonable analysis on each interface, which is equivalent to adding a unique identifier to each first interface on the initial service layout, thereby achieving optimization of the initial service layout.
[0112] In this embodiment, the layout-address database contains different interface service layouts and different combinations that match the layout, which in turn obtains historical combination addresses.
[0113] In this embodiment, since the historical combined address is a set 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 sets of addresses.
[0114] For example: In historical address combination 1, there are addresses 01 and 02 for interfaces 1 and 2; in historical address combination 2, there are addresses 01 and 00 for interfaces 1 and 2; in historical address combination 3, there are addresses 01 and 00 for interfaces 1 and 2. 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.
[0115] The second access address for interface 1 is 01, and the second access address for interface 2 is 02.
[0116] In this embodiment, if the first access address for interface 1 is also 01, then the appropriate access address is address 01.
[0117] The beneficial effects of the above technical solution are: by determining the initial layout and optimizing the initial layout based on the strategy, it is easier to obtain the combined address, then extract the address set of the same interface to obtain the second access address, and finally determine whether it is reasonable by combining it with the first location address. This can effectively ensure the rationality of the terminal's final address determination and provide an effective basis for detecting anomalies.
[0118] This invention provides a multi-hole terminal discovery device, wherein the communication determination module includes:
[0119] The address consistency determination unit is used to obtain the same address among a number of first addresses and a number of second addresses in the same multi-hole terminal, as well as the first different address among the number of first addresses and the second different address among the number of second addresses;
[0120] A value determination unit is used to determine the qualified execution value of the communication connection instruction based on all identical addresses;
[0121] Simultaneously, based on all first different addresses, a first value of the communication connection instruction is determined; and simultaneously, based on all second different addresses, a second value of the communication connection instruction is determined.
[0122] The first calculation unit is used to calculate the first cumulative sum of the qualified execution value and the first value, and to calculate the second cumulative sum of the qualified execution value and the second value.
[0123] The second calculation unit is used to calculate the first ratio of the qualified execution value to the first cumulative sum, and at the same time, calculate the second ratio of the qualified execution value to the second cumulative sum;
[0124] The behavior acquisition unit is used to acquire, from a preset mapping table, abnormal communication behaviors and normal communication behaviors that match the first ratio, the second ratio, the first different address, and the second different address, and output and display them.
[0125] In this embodiment, the first address is 01, 02, 03, 04, and the second address is 01, 02, 03, 05. Among them, the same address is 01, 02, 03, the first different address is 04, and the second different address is 05.
[0126] In this embodiment, the qualified execution value is determined as follows:
[0127]
[0128] Where Y represents the corresponding qualified execution value; n1 represents the number of identical addresses; r i1 This indicates the valid value of the instruction at the i1th address; g i1 This represents the instruction weight value at the i1th address; (ri1 g i1 ) max Represents n1 r i1 g i1 The maximum value in; r i1 g i1 This represents the valid value at the i1th address.
[0129] In this embodiment, the method for determining the first value and the method for determining the second value are similar to the method for calculating the qualified execution value, and will not be described again here.
[0130] In this embodiment, the preset mapping table includes different ratios and addresses, and may include behaviors that match the ratios and addresses.
[0131] The beneficial effects of the above technical solution are: by determining the similarities and differences between the first address and the second address, the existing qualified execution values, as well as the first value and the second value, can be effectively calculated, which facilitates the subsequent determination of abnormal and normal behaviors and provides an effective basis for discovering anomalies.
[0132] This invention provides a multi-homed terminal discovery device, wherein the behavior acquisition unit includes:
[0133] A determination block is used to determine a first identifier of the abnormal communication behavior and a matching first display interface, and at the same time, to determine a second identifier of the normal communication behavior and a matching second display interface;
[0134] A creation block is used to create a first display group of a first identifier and a first display interface in the same abnormal behavior, and to create a second display group of a second identifier and a second display interface in the same normal behavior;
[0135] The output block is used to obtain and display the output image according to the first position of the first display group and the second position of the second display group.
[0136] In this embodiment, the identifiers that match the behavior are determined from the behavior database, and thus the relevant identifiers and interfaces can be matched.
[0137] In this embodiment, the first display group includes a first identifier and an identifier consistent with the display interface.
[0138] The beneficial effect of the above technical solution is that by determining the display groups of abnormal behavior and normal behavior and displaying them in the corresponding positions, the effective output of abnormal behavior can be guaranteed.
[0139] This invention provides a multi-hole terminal discovery device, wherein the representation construction unit includes:
[0140] The first analysis block is used to analyze the interface attributes of each first interface based on the attribute representation model to obtain the first representation;
[0141] The second analysis block is used to analyze the allowed execution content of each first interface based on the content representation model to obtain a second representation. At the same time, it analyzes the current execution content of each first interface based on the content representation model to obtain a third representation.
[0142] The representation is a combination block used to combine the first representation, the second representation, and the third representation to obtain the service logic representation of the corresponding first interface.
[0143] In this embodiment, the attribute representation model is trained based on different interface attributes and representations that match the interface attributes as samples.
[0144] In this embodiment, the content representation model is trained based on different allowed content, current content, and matching scores as samples.
[0145] In this embodiment, the representation can be different identifiers to represent the representation and thus 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 third representation.
[0146] The beneficial effects of the above technical solution are: different models can be used to effectively represent attributes and content, thereby realizing the service logic representation of the interface.
[0147] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.
Claims
1. A multi-pit terminal discovery apparatus, characterized by comprising: include: The first determination module is used to determine several first addresses associated with each multi-hole terminal at the current moment based on the communication connection logs of the service cluster. The strategy matching module is used to determine the set of terminal interfaces for each multi-hole terminal and retrieve the set of interface service strategies that match each terminal interface from the strategy database. The priority determination module is used to obtain and parse the communication connection instructions of each multi-hole terminal at the current moment, determine the policy priority of each interface service policy in the set of interface service policies matched by each terminal interface, and obtain the unique service policy. The address acquisition module is used to determine the interface service layout of the corresponding multi-hole terminal according to the unique service strategy, and obtain several second addresses from the layout-address database. The communication determination module is used to match and verify several first addresses and several second addresses of the same multi-hole terminal, determine the communication status of the same multi-hole terminal, and output and display it. The priority determination module includes: The instruction parsing unit is used to parse the communication connection instructions of each multi-hole terminal acquired at the current moment, obtain the parsing result, determine the working task of the corresponding multi-hole terminal from the parsing result, and determine the first interface in the working state of the corresponding multi-hole terminal based on the task-interface database. The construction unit is used to determine the interface attributes, allowed execution content, and current execution content of each first interface, and to construct the service logic representation of the corresponding first interface; The priority determination unit is used to match the service logic representation with each service policy in the set of matching interface service policies one by one, obtain the corresponding policy matching degree, and then obtain the policy priority. A unique determining unit is used to extract the maximum policy priority. If the maximum policy priority is less than the preset priority, the latest service policy corresponding to the first interface is reconstructed according to the service logic representation and used as the unique service policy. If the maximum policy priority is greater than or equal to the preset priority, then the service policy that matches the maximum policy priority will be used as the only service policy. The communication determination module includes: The address consistency determination unit is used to obtain the same address among a number of first addresses and a number of second addresses in the same multi-hole terminal, as well as the first different address among the number of first addresses and the second different address among the number of second addresses; A value determination unit is used to determine the qualified execution value of the communication connection instruction based on all identical addresses; The qualified execution value is determined as follows: wherein Y represents a corresponding qualified execution value, n1 represents the number of same addresses, r i1 represents the instruction qualified value of the ith same address, g i1 represents the instruction weight value of the ith same address, (r i1 g i1 ) max represents the maximum value of n1 r i1 g i1 , r i1 g i1 represents the effective value of the ith same address; Simultaneously, based on all first different addresses, a first value of the communication connection instruction is determined; simultaneously, based on all second different addresses, a second value of the communication connection instruction is determined, wherein the method for determining the first value and the method for determining the second value are the same as the method for calculating the qualified execution value. The first calculation unit is used to calculate the first cumulative sum of the qualified execution value and the first value, and to calculate the second cumulative sum of the qualified execution value and the second value. The second calculation unit is used to calculate the first ratio of the qualified execution value to the first cumulative sum, and at the same time, calculate the second ratio of the qualified execution value to the second cumulative sum; The behavior acquisition unit is configured to acquire, from a preset mapping table, a communication abnormal behavior and a communication normal behavior matched with the first ratio, the second ratio, the first different address, and the second different address, and output and display.
2. The multi-sink terminal discovery apparatus of claim 1, wherein, The first determination module comprises: The list construction unit is configured to acquire a communication connection log of the service cluster at the current moment, and construct a connection list of each server, wherein the connection list contains a plurality of terminal interface connection identifiers. The address acquisition unit is configured to determine all first identifiers of a same multi-hole terminal according to all connection lists, and further acquire a plurality of first addresses of the same multi-hole terminal.
3. The multi-pit terminal discovery device of claim 1, wherein, The strategy matching module comprises: The interface set acquisition unit is configured to acquire a terminal interface set of each multi-hole terminal from a terminal database. The task determination unit is configured to determine an interface attribute of each terminal interface in the terminal interface set matched by each multi-hole terminal and a historical execution task of the corresponding interface, and obtain a call task for each terminal interface. The strategy determination unit is configured to call a set of interface service strategies matched with the corresponding terminal interface from a strategy database according to the call task. The interface service strategy set comprises a plurality of interface service strategies matched with the corresponding terminal interface.
4. The multi-pit terminal discovery apparatus of claim 1, wherein, The address acquisition module comprises: The layout determination unit is configured to determine an initial service layout according to the determined first interface of the same multi-hole terminal. The strategy analysis unit is configured to analyze the unique service strategy, and determine a first access address of the corresponding first interface from a strategy-address database. The layout optimization unit is configured to optimize the initial service layout based on the communication connection instruction, obtain an interface service layout, and query a historical combination address from the layout-address database. The address acquisition unit is configured to extract an address set related to the interface from all historical combination addresses, and obtain a second access address. The interface address determination unit is configured to determine a reasonable access address of the corresponding first interface based on the first access address and the second access address. The terminal address determination unit is configured to obtain a second address of the same multi-hole terminal according to all reasonable access addresses.
5. The multi-pit terminal discovery apparatus of claim 1, wherein, The behavior acquisition unit comprises: The determination block is configured to determine a first identifier of the communication abnormal behavior and a matched first display interface, and simultaneously determine a second identifier of the communication normal behavior and a matched second display interface. The establishment block is configured to establish a first display group of the first identifier and the first display interface in the same abnormal behavior, and establish a second display group of the second identifier and the second display interface in the same normal behavior. The output block is configured to obtain an output graph and output and display according to a first position of the first display group and a second position of the second display group.
6. The multi-pit terminal discovery apparatus of claim 1, wherein, The representation construction unit comprises: The first analysis block is configured to analyze the interface attribute of each first interface based on the attribute representation model, and obtain a first representation. The second analysis block is configured to analyze the allowed execution content of each first interface based on the content representation model, and obtain a second representation, and simultaneously analyze the current execution content of each first interface based on the content representation model, and obtain a third representation. The third analysis block is configured to analyze the interface attribute of each first interface based on the attribute representation model, and obtain a fourth representation. a combination block configured to combine the first representation, the second representation and the third representation to obtain a service logic representation corresponding to the first interface.
Citation Information
Patent Citations
Locator information optimal selection system and method based on ID (Identity) and Locator separation
CN102065013A
Multi-homed terminals
CN103843375A