Data center dynamic environment monitoring system communication protocol optimization method

By building the communication protocol library and evaluation indicators of the dynamic ring monitoring system of the data center, calculating the weight and total scores of each protocol, and selecting the optimal communication protocol, it solves the problem of communication protocol selection in the dynamic ring monitoring system of the data center, and improves the The convenience of system integration and data interaction promotes intelligent analysis of monitoring data.

CN119030897APending Publication Date: 2024-11-26NAT COMP NETWORK & INFORMATION SECURITY MANAGEMENT CENT
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410989001.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

The prior art is difficult to scientifically select suitable communication protocols in the data center dynamic ring monitoring system, resulting in difficulty in system integration and inconvenient data interaction, affecting the intelligent analysis of monitoring data.

Method used

By building alternative communication protocol database and evaluation indicators, the weights and total scores of each protocol are calculated, the optimal communication protocol is determined, the TCP/IP communication network model screening protocol is adopted, and the application is based on real-time, simplicity, ease of testing, and Broadness, compatibility and security are quantified and normalized.

Benefits of technology

Quantitative calculation of the preferred process of communication protocol is realized, data interaction and integration between systems is improved, and intelligent analysis of monitoring data is facilitated.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119030897A_ABST
    Figure CN119030897A_ABST
Patent Text Reader

Abstract

The invention discloses a data center dynamic environment monitoring system communication protocol optimization method, which comprises the following steps: constructing an alternative communication protocol library and an evaluation index selected by a communication protocol based on a data center dynamic environment monitoring system, and calculating the weight of the evaluation index; for each alternative communication protocol, the value of the evaluation index of the alternative communication protocol is quantified and normalized; and according to the weight of the evaluation index of each alternative communication protocol and the normalization result of the value of the corresponding evaluation index, calculating the total score of each alternative communication protocol, and determining an optimal communication protocol. The optimization process of the communication protocol can be quantitatively calculated, and the evaluation index type can be flexibly selected based on the specific characteristics of the data center bearer service. Through standardization of a communication protocol, data interaction and system integration among different monitoring systems are facilitated, and intelligent analysis of monitoring data is facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data center infrastructure operation and maintenance, and more specifically to a method for optimizing a communication protocol for a data center dynamic environment monitoring system. Background Art

[0002] In order to ensure the normal operation of the power system of the data center, and thus ensure the continuous operation of the big data, cloud computing, large models and other businesses carried by the data center, it is necessary to monitor the operating status of the power system in real time. The data center dynamic environment monitoring system is the system to achieve this purpose. In order to ensure the standardization level of data transmission of the data center dynamic environment monitoring system, reduce the difficulty of system integration, and facilitate intelligent analysis of data, it is necessary to establish data transmission standards for the dynamic environment monitoring system.

[0003] The data transmission of the dynamic environment monitoring system is mainly divided into two categories: one is the data transmission between the sensor and the monitoring system, and the other is the data transmission between different monitoring systems. For the former, the characteristics of data transmission are small data volume but a wide variety of data, such as temperature and humidity, voltage, current, power, pressure, etc.; limited by the sensor itself, the degree of customization is low, and the protocol type supported by the sensor itself is usually used. For the latter, the characteristic of data transmission is that the data volume is usually large, often with tens of thousands or even hundreds of thousands of monitoring points. Since the hardware devices carried are mostly monitoring hosts and servers, the equipment performance is good, and the customization of communication protocols can be supported through software development.

[0004] Therefore, it is necessary to establish a data transmission standard between data center dynamic environment monitoring systems, and the communication protocol is the key core of the data transmission standard. How to scientifically select a communication protocol suitable for the data transmission characteristics of the data center dynamic environment monitoring system is an urgent problem that technical personnel in this field need to solve. Summary of the invention

[0005] In view of this, the present invention provides a method for optimizing the communication protocol of a data center dynamic environment monitoring system to improve the standardization level of dynamic environment monitoring system construction, facilitate data interaction between different systems, and intelligent analysis of monitoring data.

[0006] In order to achieve the above object, the present invention adopts the following technical solution:

[0007] A method for optimizing a communication protocol of a data center dynamic environment monitoring system, comprising:

[0008] Based on the data center dynamic environment monitoring system, build an alternative communication protocol library and evaluation indicators for communication protocol selection, and calculate the weights of the evaluation indicators;

[0009] For each candidate communication protocol, the values ​​of its evaluation indicators are quantified and normalized;

[0010] According to the weight of the evaluation index of each candidate communication protocol and the normalized result of the corresponding evaluation index value, the total score of each candidate communication protocol is calculated to determine the optimal communication protocol.

[0011] Furthermore, the method of constructing an alternative communication protocol library is:

[0012] Obtain the corresponding communication protocol based on the level of TCP / IP communication network model;

[0013] Based on the application data of the communication protocol in the monitoring industry and the data center dynamic environment monitoring industry, screening is performed to form a library of alternative communication protocols.

[0014] Furthermore, the alternative communication protocol library includes TCP protocol, HTTP protocol, Websocket and MQTT protocol.

[0015] Furthermore, the evaluation indicators selected by the communication protocol include:

[0016] Required evaluation indicators: real-time and simplicity;

[0017] Alternative evaluation indicators: testability, wide application, compatibility and security.

[0018] Further, calculating the weight of the evaluation index includes the following steps:

[0019] S31, set a judgment matrix, the dimension of the judgment matrix is ​​n*n, where n is the number of evaluation indicators; for each element a of the matrix ij It represents the comparison result of the i-th evaluation index relative to the j-th evaluation index;

[0020] S32, solving the eigenvalues ​​and eigenvectors of the judgment matrix to obtain the maximum eigenvalue λ max and the corresponding eigenvector w, normalizing the eigenvector w to obtain the weights of each factor at different levels;

[0021] S33, perform consistency check on the judgment matrix, calculate consistency index CI and consistency ratio CR; where CI = (λ max -n) / (n-1), CR=CI / RI, where RI is the random consistency index;

[0022] When the consistency ratio CR is less than a preset threshold, it is considered that the judgment matrix passes the consistency check, otherwise, the value of the judgment matrix is ​​adjusted until the judgment matrix passes the consistency check.

[0023] Furthermore, the way to quantify the values ​​of its evaluation indicators is as follows:

[0024] The real-time performance is the time required to obtain the maximum number of transmission monitoring indicators based on the test results of the actual environment or the simulated environment;

[0025] The simplicity is determined by the level of the communication protocol in the TCP / IP communication network model and the transmission mode; the level value is positively correlated with the order from bottom to top; the value of point-to-point transmission in the transmission mode is greater than the value of proxy transmission; wherein the difference between two adjacent levels is less than or equal to the difference between two different transmission modes;

[0026] The testability is determined by the number of communication protocol testing tools used and the corresponding scores of whether the common browsers support them; each test tool has a score of x, and the common browser support has a score of 3x;

[0027] The breadth of application is determined based on the industry type and the relevant applications of the corresponding industry; each relevant application is scored as x;

[0028] The compatibility is determined based on the percentage of compatibility with the already constructed system;

[0029] The security is determined according to the number of security policies supported; each policy supported is scored as x.

[0030] Furthermore, the normalization process is divided into three categories:

[0031] The first category is that when the value is greater than the preset range, the normalized value is 0. Within the preset range, the smaller the value, the better. The applicable evaluation index is real-time performance, and the function form is:

[0032]

[0033] In the formula, a is the maximum acceptable time determined according to the maintenance work needs;

[0034] The second category is that the larger the value, the better. The applicable evaluation indicators are simplicity, testability, wide application and safety. The function form is:

[0035]

[0036] In the formula, x min and x max is the minimum and maximum value of the corresponding indicator;

[0037] The third category is that the quantized value is between 0 and 1, and no normalization is required. The applicable evaluation index is compatibility, and the function form is:

[0038]

[0039] When there are no compatibility considerations, the compatibility is a value of 1, and when there are compatibility considerations, it is a quantized value.

[0040] Further, calculating the total score of each candidate communication protocol to determine the optimal communication protocol includes:

[0041] The final total score of each candidate communication protocol is calculated according to the formula:

[0042]

[0043] In the formula, Q is the total score, n is the number of evaluation indicators, and w i is the weight of the i-th evaluation index, q i is the value of the i-th evaluation index after normalization; the communication protocol with the largest total score is determined as the optimal communication protocol.

[0044] It can be seen from the above technical solution that, compared with the prior art, the present invention discloses a method for optimizing the communication protocol of a data center dynamic environment monitoring system, which fully considers the various evaluation indicators that need to be paid attention to when selecting the communication protocol, and at the same time provides a quantification method for taking evaluation indicators suitable for the actual situation of data center dynamic environment monitoring and a calculation function for normalization of quantified values, and further provides a calculation formula for the total score; in addition, a method for selecting alternative communication protocols is also provided.

[0045] The method proposed in the present invention enables the optimization process of the communication protocol to be quantified and calculated, and the type of evaluation index can be flexibly selected based on the specific characteristics of the data center's business. By standardizing the communication protocol, it is helpful for data interaction and system integration between different monitoring systems, and facilitates the intelligent analysis of monitoring data. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0047] Figure 1 A flow chart of the method for optimizing the communication protocol of the data center dynamic environment monitoring system provided by the present invention.

[0048] Figure 2 A hierarchical analysis model diagram preferably used for the communication protocol of the data center dynamic environment monitoring system provided by the present invention.

[0049] Figure 3 This is a flow chart of the normalization process of the evaluation index values ​​provided by the present invention. DETAILED DESCRIPTION

[0050] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0051] The embodiment of the present invention discloses a method for optimizing a communication protocol of a data center dynamic environment monitoring system, including:

[0052] Based on the data center dynamic environment monitoring system, build an alternative communication protocol library and evaluation indicators for communication protocol selection, and calculate the weights of the evaluation indicators;

[0053] For each candidate communication protocol, the values ​​of its evaluation indicators are quantified and normalized;

[0054] According to the weight of the evaluation index of each candidate communication protocol and the normalized result of the corresponding evaluation index value, the total score of each candidate communication protocol is calculated to determine the optimal communication protocol.

[0055] The present invention enables the optimization process of the communication protocol to be quantified and calculated, and can flexibly select the type of evaluation index based on the specific characteristics of the data center's business. By standardizing the communication protocol, it helps data interaction and system integration between different monitoring systems, and facilitates intelligent analysis of monitoring data.

[0056] Combine the following Figure 1 As shown, the technical solution of the present invention is described in detail:

[0057] The present invention mainly comprises the following steps S1 to S6:

[0058] S1. Build an alternative communication protocol library;

[0059] The alternative communication protocol library is constructed in the following way: first, based on the hierarchy of the TCP / IP communication network model, commonly used communication protocols are obtained, with a focus on the communication protocols at the transport layer and the application layer; then, based on the application of the communication protocols in the monitoring industry, especially the data center dynamic environment monitoring industry, further screening is performed to form an alternative communication protocol library, which usually includes TCP protocol, HTTP protocol, Websocket and MQTT protocol, etc.

[0060] Among them, TCP, or Transmission Control Protocol, is a connection-oriented, reliable, byte-stream-based transport layer communication protocol; in a simplified computer network model, it completes the functions specified by the fourth layer, the transport layer.

[0061] HTTP protocol is Hypertext Transfer Protocol, which is an application layer protocol used for distributed, collaborative and hypermedia information systems. It is the basis of data communication on the World Wide Web and is also the most widely used network transmission protocol on the Internet.

[0062] The WebSocket protocol is a network protocol based on TCP that implements full-duplex communication between browsers and servers, allowing servers to actively send information to clients.

[0063] MQTT stands for Message Queuing Telemetry Transport, an instant messaging protocol that is an important part of the Internet of Things. The protocol supports all platforms and can connect almost all networked objects to the outside world. It is used as a communication protocol for sensors and actuators.

[0064] S2. Construct evaluation indicators for communication protocol selection:

[0065] For the application scenarios of data center dynamic environment monitoring systems, the evaluation indicators should at least include communication efficiency (i.e. real-time) and simplicity; alternative evaluation indicators may include testability, wide application, compatibility, security, etc.

[0066] in,

[0067] Real-time performance refers to the maximum transmission volume of the data center dynamic environment monitoring system, for example, the time required to transmit all the data of 100,000 monitoring indicators at one time;

[0068] Simplicity refers to the ease of interface protocol development;

[0069] Testability refers to the support level of common browsers and professional testing tools;

[0070] Wide application refers to its application in data centers of different industries;

[0071] Compatibility refers to the support level of the monitoring system that has been built in the early stage;

[0072] Security refers to whether corresponding security protection measures are supported.

[0073] S3. Calculate the weight of each evaluation index: This includes three sub-steps:

[0074] S31, set a judgment matrix, the dimension of the judgment matrix is ​​n*n, where n is the number of evaluation indicators to be considered; for each element a of the matrix ij Indicates the comparison result of the i-th evaluation index relative to the j-th evaluation index, the selection of the number of evaluation indicators and a ijThe setting needs to be based on the actual situation of the data center. For example, if the data center uses a physically isolated local area network and has good security protection measures in the network, then security is not an indicator that needs to be considered; if the data center has just been built or the preferred communication protocol is only applicable to the newly built system, then compatibility is not an indicator that needs to be considered. ij When setting up a system, real-time performance is usually more important.

[0075] S32, solve the eigenvalue and eigenvector of the judgment matrix to obtain the maximum eigenvalue λ max And the corresponding eigenvector w, normalize the eigenvector w to get the weights of each factor at different levels.

[0076] S33, perform consistency test on the judgment matrix, calculate consistency index CI and consistency ratio CR; where CI = (λ max -n) / (n-1), CR=CI / RI, where n is the dimension of the judgment matrix and RI is the random consistency index. When the consistency ratio CR is less than 0.1, the judgment matrix is ​​considered to pass the consistency test; otherwise, the value of the judgment matrix is ​​adjusted, and steps S31 to S33 are repeated until the judgment matrix passes the consistency test.

[0077] S4. Establish a quantitative method for determining the value of evaluation indicators;

[0078] For real-time performance, the time required to transmit the maximum number of monitoring indicators can be obtained based on the test results of the actual environment or the simulated environment. The time is used as a quantitative value. The shorter the time, the better the real-time performance.

[0079] For simplicity, two aspects are mainly considered. First, the communication protocol to be selected is located at the level of the TCP / IP communication network model. The levels from bottom to top are network interface layer, network layer, transport layer, and application layer. The higher the level, the better the simplicity. Second, the transmission mode of the communication protocol to be selected is point-to-point transmission, or it requires a proxy. Point-to-point transmission is simpler.

[0080] For quantification, the network interface layer, network layer, transport layer, and application layer are defined as natural numbers from small to large, such as 1, 2, 3, and 4; the communication protocol transmission mode is also defined as a natural number, the point-to-point transmission has a larger value, and the difference between it and the proxy transmission mode should not be less than the difference between the two adjacent layers in the TCP / IP communication network model. For example, point-to-point transmission can be defined as 3, and proxy transmission can be defined as 1. In this way, if a communication protocol to be selected is located in the transport layer and uses point-to-point transmission, its simplicity score is 6.

[0081] For testability, determine the communication protocol testing tool sets that may be used during construction and maintenance, such as Postman, JMeter, etc. The total number should not exceed M (M is usually less than 5). For each test tool that supports the communication protocol to be selected, the testability score will increase by 1. If the general browser supports it, the testability score will increase by 3. For example, if the communication protocol to be selected is supported by 3 test tools but not by the general browser, its testability score is 3.

[0082] Regarding the breadth of applications, data centers are divided into enterprise data centers of large Internet companies, enterprise data centers of telecom operators, enterprise data centers of financial companies, government data centers and IDC data centers (providing leasing services) according to industry types. If there is a related application in one industry, the application breadth score will be increased by 1.

[0083] Compatibility is quantified according to the percentage of compatibility with existing systems. For example, if it is compatible with 10% of existing systems, the quantified value of compatibility is 10%; if there are no compatibility issues with existing systems, the quantified value of compatibility is 100%.

[0084] For security, build a set of commonly used security policies, such as access authentication, IP address binding, etc. For each policy supported, the security score increases by 1.

[0085] S5. normalizing the values ​​of the evaluation indexes;

[0086] There are mainly three categories. The first category is that when the value is greater than a certain range, the normalized value is 0. Within a certain range, the smaller the value, the better. The applicable evaluation indicator is real-time performance, and the function form is:

[0087]

[0088] In the formula, a is the maximum acceptable time determined according to the needs of maintenance work. For example, if the real-time requirement is 10 seconds, the transmission of the maximum full amount of monitoring indicator values ​​needs to be completed within 10 seconds.

[0089] The second category is that the larger the value, the better. The applicable evaluation indicators are simplicity, testability, wide application, and security. The function form is:

[0090]

[0091] In the formula, x min and x maxThe minimum and maximum values ​​that this indicator may take. Taking simplicity as an example, assuming that the network interface layer, network layer, transport layer, and application layer are defined as 1, 2, 3, and 4; point-to-point transmission is defined as 3, and the need for proxy transmission is defined as 1, then the minimum value that may be taken is 2, and the maximum value that may be taken is 7.

[0092] The third category is that the quantized value is between 0 and 1, and no normalization is required. The applicable evaluation index is compatibility, and the function form is:

[0093]

[0094] When compatibility does not need to be considered, the compatibility is 100% (ie, a value of 1); when compatibility needs to be considered, it is a quantized value.

[0095] S6. Determine the optimal communication protocol. For each candidate communication protocol, obtain the quantized value of the evaluation index according to step S3, normalize the quantized value according to step S4, and calculate the final total score according to the following formula:

[0096]

[0097] In the formula, Q is the total score, n is the number of evaluation indicators, and w i is the weight of the ith evaluation index, which is obtained by step S2, qi is the value of the ith evaluation index after normalization, and finally, the communication protocol with the largest total score is the most suitable communication protocol.

[0098] Embodiment 1, refer to Figure 1 Shown:

[0099] S1 is to build an alternative communication protocol library. In this embodiment, four alternative communication protocols are selected, namely TCP, HTTP, Websocket, and MQTT.

[0100] S2 is the evaluation index for constructing the communication protocol, refer to Figure 2 As shown, a hierarchical analysis model diagram of the preferred communication protocol of the data center dynamic environment monitoring system is given. The required evaluation indicators include real-time and simplicity, and the optional evaluation indicators include testability, wide application, compatibility, and security. This embodiment selects four evaluation indicators, namely real-time, simplicity, testability, and wide application.

[0101] S3 is used to calculate the weight of each evaluation index.

[0102] The construction of the S31 weight judgment matrix is ​​as follows, and the dimension of the matrix is ​​4. A reasonable value is shown in Table 1 below. Real-time performance is the most important, followed by simplicity, and then testability and wide application.

[0103]

[0104] Table 1

[0105] S32 solves the eigenvalues ​​and eigenvectors of the judgment matrix and obtains the maximum eigenvalue λ max And the corresponding eigenvector w, normalize the eigenvector w, and get the weights of each factor at different levels. The calculation results are shown in Table 2:

[0106] Judgment Matrix Real-time Simplicity Testability Wide application range A 0.55 0.25 0.1 0.1

[0107] Table 2

[0108] S33 performs consistency test on the judgment matrix and calculates the consistency index CI and consistency ratio CR; where CI = (λ max -n) / (n-1), CR = CI / RI, where n is the dimension of the judgment matrix and RI is the random consistency index. When the consistency ratio CR is less than 0.1, the judgment matrix is ​​considered to pass the consistency test.

[0109] As shown in Table 3 below, it can be seen from the calculation results that the consistency check has passed.

[0110] Judgment Matrix <![CDATA[λ max ]]> CI RI CR A 4.04 0.014 0.89 0.016

[0111] Table 3

[0112] S4-S6 is for each candidate communication protocol, according to S4 to obtain the quantitative value of the evaluation index; according to S5 to normalize the quantized value, refer to Figure 3 As shown; finally, the final total score is calculated to determine the optimal communication protocol.

[0113] The quantitative method of the evaluation indicators is as follows:

[0114] For real-time performance, the time required to transmit the maximum monitoring indicator is obtained based on the test results of the actual environment or simulated environment. The time is used as a quantitative value. The less time is used, the better the real-time performance. The information of the model environment is as follows:

[0115] Simulate the test network environment: use the local network of the LAN environment; use python Flask to build the server, and use Postman as the client for testing.

[0116] Data size of simulated transmission: JSON format data, size 3.7M. Assuming that the size of each measurement point is 100B (GUID, value, timestamp), 3.7M is equivalent to 37,000 measurement points.

[0117] The real-time performance of the four alternative protocols are 40.4ms for TCP protocol, 42.3ms for HTTP protocol, 183.2ms for Websocket protocol, and 85.9ms for MQTT protocol.

[0118] For simplicity, two aspects are mainly considered. First, the communication protocol to be selected is located in the level of the TCP / IP communication network model. The levels are network interface layer, network layer, transport layer, and application layer from bottom to top. The higher the level, the better the simplicity. Second, whether the transmission mode of the communication protocol to be selected is point-to-point transmission or requires a proxy. Point-to-point transmission is simpler. For quantification, the network interface layer, network layer, transport layer, and application layer are defined as natural numbers from small to large, which are 1, 3, 5, and 7 respectively; point-to-point transmission is defined as 3, and the need for proxy transmission is defined as 1. Among the four protocols, TCP belongs to the transport layer protocol, and the other three belong to the application layer protocol; MQTT requires a proxy for transmission, and the other three can be transmitted point-to-point. Therefore, in terms of simplicity, TCP protocol 8, HTTP protocol 10, Websocket protocol 10, and MQTT protocol 8.

[0119] For testability, the communication protocol testing tool set that may be used in the construction and maintenance process contains two tools, namely Postman and JMeter. For each test tool that supports the communication protocol to be selected, the testability score is increased by 1. If the general browser supports it, the testability score is increased by 3. The protocols supported by Postman include HTTP and Websocket, the protocols supported by JMeter include HTTP, Websocket, and MQTT, and the protocols supported by general browsers include HTTP and Websocket. Therefore, in terms of testability, the TCP protocol is 0, the HTTP protocol is 5, the Websocket protocol is 5, and the MQTT protocol is 1.

[0120] Regarding the application breadth, data centers are mainly divided into enterprise data centers of large Internet companies, enterprise data centers of telecom operators, enterprise data centers of financial companies, government data centers, and IDC data centers (providing rental services) according to industry types. For each industry with related applications, the application breadth score is increased by 1. At present, the TCP protocol has a certain application in the enterprise data centers of telecom operators, and the HTTP protocol has a certain application in the enterprise data centers and IDC data centers (providing rental services) of large Internet companies. Therefore, in terms of application breadth, the TCP protocol is 1, the HTTP protocol is 2, the Websocket protocol is 0, and the MQTT protocol is 0.

[0121] The normalization method of the evaluation index is as follows: It is mainly divided into three categories. The first category is that when the value is greater than a certain range, the normalized value is 0. Within a certain range, the smaller the value, the better. The evaluation index applicable to this method is real-time performance, and the function form is:

[0122]

[0123] In the formula, a is the function parameter, which is selected as 200ms here. Therefore, the normalized results are: TCP protocol 0.798, HTTP protocol 0.789, Websocket protocol 0.084, MQTT protocol 0.571.

[0124] The second type is that the larger the value, the better. The evaluation indicators applicable to this type of method are simplicity, testability, and wide application. The function form is:

[0125]

[0126] In the formula, x min and x max is the minimum and maximum value that the indicator can take.

[0127] For simplicity, x min and x max They are 2 and 10 respectively, so the normalized results are 0.75 for TCP protocol, 1 for HTTP protocol, 1 for Websocket protocol, and 0.75 for MQTT protocol.

[0128] For testability, x min and x max They are 0 and 5 respectively, so the normalized results are 0 for TCP protocol, 1 for HTTP protocol, 1 for Websocket protocol, and 0.2 for MQTT protocol.

[0129] For wide application, x min and x max They are 0 and 5 respectively, so the normalized results are 0.2 for TCP protocol, 0.4 for HTTP protocol, 0 for Websocket protocol, and 0 for MQTT protocol.

[0130] The detailed results are shown in the table below. The final total score is calculated according to the following formula:

[0131]

[0132] In the formula, Q is the total score, n is the number of evaluation indicators, and w i is the weight of the i-th evaluation index, and the weight values ​​are obtained from step 2, which are 0.55, 0, 25, 0.1, and 0.1 respectively; q iis the value of the i-th evaluation index after normalization. Finally, as shown in Table 4 below, the total score of HTTP is the largest. In the case of this embodiment, the HTTP protocol is the most suitable communication protocol.

[0133]

[0134] Table 4

[0135] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0136] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for optimizing the communication protocol of a data center dynamic environment monitoring system, characterized in that: include: Based on the data center dynamic environment monitoring system, build an alternative communication protocol library and evaluation indicators for communication protocol selection, and calculate the weights of the evaluation indicators; For each candidate communication protocol, the values ​​of its evaluation indicators are quantified and normalized; According to the weight of the evaluation index of each candidate communication protocol and the normalized result of the corresponding evaluation index value, the total score of each candidate communication protocol is calculated to determine the optimal communication protocol.

2. A method for optimizing communication protocol of a data center dynamic environment monitoring system according to claim 1, characterized in that: The way to build an alternative communication protocol library is: Obtain the corresponding communication protocol based on the level of TCP / IP communication network model; Based on the application data of the communication protocol in the monitoring industry and the data center dynamic environment monitoring industry, screening is performed to form a library of alternative communication protocols.

3. A method for optimizing communication protocol of a data center dynamic environment monitoring system according to claim 2, characterized in that: The alternative communication protocol library includes TCP protocol, HTTP protocol, Websocket and MQTT protocol.

4. A method for optimizing communication protocol of a data center dynamic environment monitoring system according to claim 3, characterized in that: The evaluation indicators selected by the communication protocol include: Required evaluation indicators: real-time and simplicity; Alternative evaluation indicators: testability, wide application, compatibility and security.

5. A method for optimizing communication protocol of a data center dynamic environment monitoring system according to claim 4, characterized in that: Calculating the weight of the evaluation index includes the following steps: S31, set a judgment matrix, the dimension of the judgment matrix is ​​n*n, where n is the number of evaluation indicators; for each element a of the matrix ij It represents the comparison result of the i-th evaluation index relative to the j-th evaluation index; S32, solving the eigenvalues ​​and eigenvectors of the judgment matrix to obtain the maximum eigenvalue λ max and the corresponding eigenvector w, normalizing the eigenvector w to obtain the weights of each factor at different levels; S33, perform consistency check on the judgment matrix, calculate consistency index CI and consistency ratio CR; where CI = (λ max -n) / (n-1), CR=CI / RI, where RI is the random consistency index; When the consistency ratio CR is less than a preset threshold, it is considered that the judgment matrix passes the consistency check, otherwise, the value of the judgment matrix is ​​adjusted until the judgment matrix passes the consistency check.

6. A method for optimizing communication protocol of a data center dynamic environment monitoring system according to claim 5, characterized in that: The way to quantify the value of its evaluation index is: The real-time performance is the time required to obtain the maximum number of transmission monitoring indicators based on the test results of the actual environment or the simulated environment; The simplicity is determined by the level of the communication protocol in the TCP / IP communication network model and the transmission mode; the level value is positively correlated with the order from bottom to top; the value of point-to-point transmission in the transmission mode is greater than the value of proxy transmission; wherein the difference between two adjacent levels is less than or equal to the difference between two different transmission modes; The testability is determined by the number of communication protocol testing tools used and the corresponding scores of whether the common browsers support them; each test tool has a score of x, and the common browser support has a score of 3x; The breadth of application is determined based on the industry type and the relevant applications of the corresponding industry; each relevant application is scored as x; The compatibility is determined based on the percentage of compatibility with the already constructed system; The security is determined according to the number of security policies supported; each policy supported is scored as x.

7. A method for optimizing communication protocol of a data center dynamic environment monitoring system according to claim 6, characterized in that: The normalization process is divided into three categories: The first category is that when the value is greater than the preset range, the normalized value is 0. Within the preset range, the smaller the value, the better. The applicable evaluation index is real-time performance, and the function form is: In the formula, a is the maximum acceptable time determined according to the maintenance work needs; The second category is that the larger the value, the better. The applicable evaluation indicators are simplicity, testability, wide application and safety. The function form is: In the formula, x min and x max is the minimum and maximum value of the corresponding indicator; The third category is that the quantized value is between 0 and 1, and no normalization is required. The applicable evaluation index is compatibility, and the function form is: When there are no compatibility considerations, the compatibility is a value of 1, and when there are compatibility considerations, it is a quantized value.

8. A method for optimizing a communication protocol of a data center dynamic environment monitoring system according to any one of claims 1 to 7, characterized in that: Calculating the total score of each candidate communication protocol to determine the optimal communication protocol includes: The final total score of each candidate communication protocol is calculated according to the formula: In the formula, Q is the total score, n is the number of evaluation indicators, and w i is the weight of the i-th evaluation index, q i is the value of the i-th evaluation index after normalization; the communication protocol with the largest total score is determined as the optimal communication protocol.

Citation Information

Cited By

  • Protocol compatibility scheme of power and environment monitoring system

    CN119363842A

  • A protocol compatible architecture for dynamic environment monitoring system

    CN119363842B

  • Data center dynamic environment monitoring system communication protocol optimization method

    CN120475084A