A self-discovery acquisition index mapping method based on overlapping character weights

Through the self-discovery acquisition indicator mapping method based on overlapping character weights, the problem of timely entry of dynamic self-discovery acquisition indicators is solved, and real-time entry and synchronization of new indicators generated by container cloud nodes is realized.

CN114282064BActive Publication Date: 2025-03-21SHANGHAI SNC NET INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111538757.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-15
Publication Date
2025-03-21
Estimated Expiration
2041-12-15

AI Technical Summary

Technical Problem

It is difficult for the existing technology to track and enter dynamic self-discovery and acquisition indicators in a timely manner, especially when the life cycle of the container cloud node changes, it is impossible to enter newly generated indicators in real time.

Method used

The self-discovery acquisition index mapping method based on overlapping character weights is adopted, overlapping characters are extracted through standardized classification, and the self-discovery index rules are entered using the combination of overlapping characters plus variable placeholder characters, and the overlapping character weights are matched and mapped.

Benefits of technology

This greatly reduces the amount of indicators, realizes timely reception and synchronization of self-discovery indicators and dynamic indicators of external platforms, and is consistent with the indicators of external monitoring platforms in real time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114282064B_ABST
    Figure CN114282064B_ABST
Patent Text Reader

Abstract

The present invention discloses a self-discovery acquisition index mapping method based on overlapping character weights, comprising the following steps: S1) firstly standardize and classify the self-discovery indexes and extract the overlapping characters; S2) input the self-discovery index rules according to the combination of overlapping characters plus variable placeholder characters; S3) receive the external self-discovery indexes through overlapping character weights and character position mapping. The self-discovery acquisition index mapping method based on overlapping character weights provided by the present invention maps the matching indexes through the mapping rules of common characters plus variable placeholders, and selects the mapping objects based on the weights of overlapping characters; thereby, the input amount of the indexes can be greatly reduced, the self-discovery indexes or dynamic indexes of the external platform can be received in time, and the indexes of the external monitoring platform can be synchronized in real time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a self-discovery acquisition index mapping method, and in particular to a self-discovery acquisition index mapping method based on overlapping character weights. Background Art

[0002] As the IT architecture of enterprises develops, the corresponding supporting resources and application services are also increasing. In order to better perceive the operation of the entire system ecosystem in a timely manner, enterprises have introduced a number of monitoring platforms, and the number of monitoring indicators has also increased.

[0003] For the convenience of management, enterprises tend to unify the monitoring indicators and collected data of each monitoring platform, which requires the unified management platform to receive and map the monitoring indicators of each platform. At present, the common practice is to enter the indicators of each monitoring platform into the unified management platform so that the indicator data of each platform can be mapped and matched when it is pushed.

[0004] The current technical solutions have the following problems:

[0005] 1. It is impossible to timely track and input the dynamically generated self-discovery collection indicators, such as file system, network card, etc.;

[0006] 2. Container cloud nodes will be recycled and created during their life cycle, continuously generating new indicators, and existing technical solutions cannot achieve real-time entry. Summary of the invention

[0007] The technical problem to be solved by the present invention is to provide a self-discovery collection indicator mapping method based on overlapping character weights, which can greatly reduce the input amount of indicators, timely receive self-discovery indicators or dynamic indicators from external platforms, and keep synchronized with external monitoring platform indicators in real time.

[0008] The technical solution adopted by the present invention to solve the above-mentioned technical problems is to provide a self-discovery acquisition indicator mapping method based on overlapping character weights, comprising the following steps: S1) firstly standardize and classify the self-discovery indicators and extract overlapping characters; S2) enter the self-discovery indicator rules according to the combination of overlapping characters and variable placeholder characters; S3) receive external self-discovery indicators through overlapping character weights and character position mapping.

[0009] The above-mentioned self-discovery collection indicator mapping method based on overlapping character weights, wherein the overlapping characters extracted in step S1 include device names and indicator names, step S2 adds variable placeholder characters between the device name and the indicator name, and step S3 matches the overlapping characters with the highest weight calculated.

[0010] In the above-mentioned self-discovery acquisition indicator mapping method based on overlapping character weights, the step S3 first matches the device name, then skips the variable placeholder characters and continues to match the subsequent indicator names. The more overlapping characters are matched, the higher the calculated weight is.

[0011] The above-mentioned self-discovery collection indicator mapping method based on overlapping character weights, wherein the device name is a network card, and the overlapping characters extracted in step S1 include the network card output error packet rate per second, the network card output error packet number per second, the network card output packet loss rate per second, the network card output packet loss number per second, the network card output traffic per second, the network card output total packet number per second, the network card input error packet rate per second, the network card input error packet number per second, the network card input packet loss rate per second, the network card input packet loss number per second, the network card input traffic per second, the network card input total packet number per second and the network card total traffic per second.

[0012] The above-mentioned self-discovery collection indicator mapping method based on overlapping character weights, wherein the step S2 adds variable placeholder characters after the network card, and the step S3 first matches the host through the IP address, and then performs self-discovery indicator matching mapping after the host matches successfully, and then matches the one with the highest weight calculated by the overlapping characters.

[0013] The above-mentioned self-discovery collection indicator mapping method based on overlapping character weights, wherein the step S3 first matches the overlapping character "network card", then skips the variable placeholder character and continues to match subsequent overlapping characters, and the weight is increased accordingly for each successful matching of an overlapping character. If all overlapping characters match, the weight is calculated to be the highest value of 100.

[0014] Compared with the prior art, the present invention has the following beneficial effects: the present invention provides a self-discovery collection indicator mapping method based on overlapping character weights, which maps matching indicators through mapping rules of common characters plus variable placeholders, and selects mapping objects based on overlapping character calculation weights; thereby greatly reducing the amount of indicator input, timely receiving self-discovery indicators or dynamic indicators from external platforms, and keeping synchronization with external monitoring platform indicators in real time. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 This is a flow chart of the self-discovery acquisition index mapping method based on overlapping character weights of the present invention;

[0016] Figure 2 A self-discovery acquisition index mapping matching schematic diagram is constructed for the present invention;

[0017] Figure 3 This is a schematic diagram of matching the overlapping characters with the highest weight calculated by the present invention;

[0018] Figure 4 A schematic diagram of the configuration of self-discovery mapping rules for a network card device according to the present invention;

[0019] Figure 5 This is a schematic diagram of successful mapping of self-discovery collection indicators for network card devices according to the present invention. DETAILED DESCRIPTION

[0020] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0021] Figure 1 The present invention is a flow chart of the self-discovery acquisition index mapping method based on overlapping character weights.

[0022] See also Figure 1 The present invention provides a self-discovery acquisition index mapping method based on overlapping character weights, comprising the following steps:

[0023] S1) firstly standardize and classify the self-discovery indicators and extract the overlapping characters;

[0024] S2) inputting self-discovery indicator rules according to the combination of overlapping characters and variable placeholder characters;

[0025] S3) receiving external self-discovery indicators through overlapping character weights and character position mapping.

[0026] The self-discovery acquisition indicator mapping method based on overlapping character weights provided by the present invention is characterized in that the overlapping characters extracted in step S1 include device names and indicator names, step S2 adds variable placeholder characters between the device name and the indicator name, and step S3 calculates the overlapping characters with the highest weight for matching.

[0027] The present invention provides a self-discovery acquisition indicator mapping method based on overlapping character weights. In step S3, the device name is first matched, and then variable placeholder characters are skipped to continue matching subsequent indicator names. The more overlapping characters are matched, the higher the calculated weight is.

[0028] The following uses the network card as an example. The device name is the network card. Add variable placeholder characters after the network card, such as Figure 2 As shown, extract the common characters of external self-discovery or dynamic indicator clusters and construct self-discovery mapping rules:

[0029] "The number of errors output by the network card ({#NET_CARD}) per second", where {#NET_CARD} is a variable placeholder.

[0030] Multiple self-discovery mapping rules are matched by calculating the highest weight based on overlapping characters, such as Figure 3 As shown, when mapping matching, the overlapping characters "network card" are matched first, and then the variable placeholder characters are skipped to continue matching the subsequent overlapping characters. The weight is increased accordingly for each overlapping character that is successfully matched. If all overlapping characters match, the weight is calculated to be the highest value 100.

[0031] The overlapping characters extracted by the present invention include the network card output error packet rate per second, the number of network card output error packets per second, the network card output packet loss rate per second, the network card output packet loss number per second, the network card output flow per second, the network card output total packet number per second, the network card input error packet rate per second, the network card input error packet number per second, the network card input packet loss rate per second, the network card input packet loss number per second, the network card input flow per second, the network card input total packet number per second and the network card total flow per second. The self-discovery mapping rule configuration is as follows: Figure 4 When matching, the host is matched by IP address first. After the host is matched successfully, the self-discovery indicator matching mapping is performed. Then the overlapping characters are used to calculate the highest weight for matching. The mapping effect is as follows Figure 5 shown.

[0032] To summarize, the present invention provides a self-discovered collection indicator mapping method based on overlapping character weights, which maps matching indicators through mapping rules of common characters plus variable placeholders, and selects mapping objects based on weights calculated based on overlapping characters; thereby, the amount of indicator input can be greatly reduced, self-discovered indicators or dynamic indicators from external platforms can be received in a timely manner, and indicators from external monitoring platforms can be synchronized in real time.

[0033] Although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art may make some modifications and improvements without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be based on the definition of the claims.

Claims

1. A self-discovery acquisition index mapping method based on overlapping character weights, characterized in that: The steps include: S1) firstly standardize and classify the self-discovery indicators and extract the overlapping characters; S2) inputting self-discovery indicator rules according to the combination of overlapping characters and variable placeholder characters; S3) receiving external self-discovery indicators through overlapping character weights and character position mapping; The overlapping characters extracted in step S1 include the device name and the indicator name, the step S2 adds variable placeholder characters between the device name and the indicator name, and the step S3 calculates the highest weight based on the overlapping characters for matching; The step S3 first matches the device name, then skips the variable placeholder characters and continues to match the subsequent indicator names. The more overlapping characters are matched, the higher the calculated weight is.

2. The self-discovery acquisition index mapping method based on overlapping character weights as claimed in claim 1, characterized in that: The device name is a network card, and the overlapping characters extracted in step S1 include the network card output error packet rate per second, the number of network card output error packets per second, the network card output packet loss rate per second, the network card output packet loss number per second, the network card output traffic per second, the network card output total packet number per second, the network card input error packet rate per second, the network card input error packet number per second, the network card input packet loss rate per second, the network card input packet loss number per second, the network card input traffic per second, the network card input total packet number per second and the network card total traffic per second.

3. The self-discovery acquisition index mapping method based on overlapping character weights as claimed in claim 2, characterized in that: The step S2 adds variable placeholder characters after the network card, and the step S3 first performs host matching through the IP address, and then performs self-discovery index matching mapping after the host matching is successful, and then matches with the highest weight calculated by overlapping characters.

4. The self-discovery acquisition index mapping method based on overlapping character weights as claimed in claim 3, characterized in that: The step S3 first matches the overlapping characters "network card", then skips the variable placeholder characters and continues to match subsequent overlapping characters. The weight is increased accordingly for each overlapping character successfully matched. If all overlapping characters match, the weight is calculated to be the highest value 100.

Citation Information

Patent Citations

  • Local network client-side performance analysis method based on flow data

    CN106789442A

  • Method and system for converting ranges into overlapping prefixes for a longest prefix match

    US20030219017A1