WO2020000724A1 - Method, electronic device and medium for processing communication load between hosts of cloud platform - Google Patents

Method, electronic device and medium for processing communication load between hosts of cloud platform Download PDF

Info

Publication number
WO2020000724A1
WO2020000724A1 PCT/CN2018/107693 CN2018107693W WO2020000724A1 WO 2020000724 A1 WO2020000724 A1 WO 2020000724A1 CN 2018107693 W CN2018107693 W CN 2018107693W WO 2020000724 A1 WO2020000724 A1 WO 2020000724A1
Authority
WO
WIPO (PCT)
Prior art keywords
host nodes
nodes
cloud platform
host
unconnected
Prior art date
Application number
PCT/CN2018/107693
Other languages
French (fr)
Chinese (zh)
Inventor
刘洪晔
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020000724A1 publication Critical patent/WO2020000724A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing

Definitions

  • the present application relates to the field of computer technology, and in particular, to a method for processing a communication load between hosts on a cloud platform, an electronic device, and a readable storage medium.
  • a threshold is generally used to adjust the communication resources of the host node in the cloud platform.
  • the maximum connection threshold When the host node in the cloud platform exceeds the maximum connection threshold, the host node is processed again, such as suspending the work of the host node.
  • the existing working mode of resolving problems when they occur often results in tight processing time and poor results, which affects the execution of normal business.
  • the maximum connection threshold that is uniformly set is relatively low, it will cause more host nodes to reserve more processing space, and it will also cause a lot of waste of resources, that is, the cloud cannot be timely and reasonable.
  • the communication resources of the host nodes under the platform are adjusted.
  • the purpose of this application is to provide a method for processing a communication load between hosts on a cloud platform, an electronic device, and a readable storage medium, so as to adjust the communication resources of the host nodes under the cloud platform in a timely and reasonable manner.
  • the present application provides an electronic device, the electronic device includes a memory and a processor, and the memory stores a processing system for a communication load between cloud platform hosts that can run on the processor.
  • the processing system for the communication load between cloud platform hosts is executed by the processor, the following steps are implemented:
  • the communication resources of the host nodes under the cloud platform are adjusted according to the connection possibility between any two unconnected host nodes among all the host nodes.
  • the present application further provides a method for processing a communication load between cloud platform hosts.
  • the method for processing a communication load between cloud platform hosts includes:
  • the communication resources of the host nodes under the cloud platform are adjusted according to the connection possibility between any two unconnected host nodes among all the host nodes.
  • the present application also provides a computer-readable storage medium that stores a processing system for communication load between cloud platform hosts and a processing system for communication load between cloud platform hosts. It can be executed by at least one processor, so that the at least one processor executes the steps of the method for processing a communication load between hosts of a cloud platform as described above.
  • the method for processing a communication load between hosts of a cloud platform, an electronic device, and a readable storage medium calculate a similarity value between any two unconnected host nodes of all host nodes under the cloud platform through preset calculation rules, Analyze the connection possibility between any two unconnected host nodes in all host nodes based on the calculated similarity value; according to the connection possibility between any two unconnected host nodes in all host nodes, Adjust the communication resources of the host node.
  • a node is a host node with a high probability of being connected in order to adjust the communication resources of the host node under the cloud platform in a timely and reasonable manner.
  • FIG. 1 is a schematic diagram of an operating environment of a preferred embodiment of a processing system 10 for a communication load between hosts of a cloud platform of the present application;
  • FIG. 2 is a schematic flowchart of an embodiment of a method for processing a communication load between hosts of a cloud platform of this application.
  • FIG. 1 is a schematic diagram of an operating environment of a preferred embodiment of a processing system 10 for a communication load between hosts of a cloud platform of the present application.
  • the processing system 10 for a communication load between hosts of the cloud platform is installed and runs in the electronic device 1.
  • the electronic device 1 may include, but is not limited to, a memory 11, a processor 12, and a display 13.
  • FIG. 1 only shows the electronic device 1 with components 11-13, but it should be understood that it is not required to implement all the illustrated components, and more or fewer components may be implemented instead.
  • the memory 11 is at least one type of readable computer storage medium.
  • the memory 11 may be an internal storage unit of the electronic device 1, such as a hard disk or a memory of the electronic device 1.
  • the memory 11 may also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in hard disk, a smart memory card (SMC), and a secure digital device. (Secure Digital, SD) card, Flash card, etc.
  • the memory 11 may further include both an internal storage unit of the electronic device 1 and an external storage device.
  • the memory 11 is configured to store application software installed on the electronic device 1 and various types of data, such as program code of the processing system 10 for the communication load between hosts of the cloud platform.
  • the memory 11 may also be used to temporarily store data that has been output or will be output.
  • the processor 12 may be a central processing unit (CPU), a microprocessor, or other data processing chip, configured to run program codes or process data stored in the memory 11, such as A processing system 10 or the like that executes the communication load between hosts of the cloud platform.
  • CPU central processing unit
  • microprocessor or other data processing chip, configured to run program codes or process data stored in the memory 11, such as A processing system 10 or the like that executes the communication load between hosts of the cloud platform.
  • the display 13 may be an LED display, a liquid crystal display, a touch-type liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like.
  • the display 13 is used to display information processed in the electronic device 1 and to display a visual user interface, such as a host node with a high possibility of connection, and communication resource allocation of a cloud platform.
  • the components 11-13 of the electronic device 1 communicate with each other through a system bus.
  • the processing system 10 for the communication load between the hosts of the cloud platform includes at least one computer-readable instruction stored in the memory 11, and the at least one computer-readable instruction can be executed by the processor 12 to implement the embodiments of the present application.
  • Step S1 obtaining all host nodes under the cloud platform
  • Step S2 Calculate the similarity value between any two unconnected host nodes in all host nodes based on a preset calculation rule, and analyze the difference between any two unconnected host nodes in all host nodes based on the calculated similarity value. Connection possibilities;
  • step S3 the communication resources of the host nodes under the cloud platform are adjusted according to the connection possibilities between any two unconnected host nodes among all the host nodes.
  • the processing system for the communication load between hosts of the cloud platform receives a communication resource adjustment request for a host node under the cloud platform from a user, for example, receiving a communication resource adjustment sent by a user through a terminal such as a mobile phone, a tablet computer, or a self-service terminal device.
  • Requests such as receiving communication resource adjustment requests sent by users on pre-installed clients in mobile phones, tablets, and self-service terminal devices, or receiving user browser systems in mobile phones, tablets, and self-service terminal devices
  • the communication resource adjustment request sent on the Internet for example, receiving a communication resource adjustment sent by a user through a terminal such as a mobile phone, a tablet computer, or a self-service terminal device.
  • the communication load resources between the host nodes under the cloud platform can be adjusted.
  • a link prediction method is used to adjust the communication load resources between host nodes under the cloud platform.
  • the two host nodes are similar host nodes on the same business line, the business items or processing tasks performed by the two host nodes will be similar, such as calling the same database node, executing the same business logic, etc., because The two host nodes are host nodes on the same service line, and the connection between the two host nodes is also relatively large, such as data connection between the two host nodes.
  • the possibility of connection between the two host nodes can be predicted by the similarity between the two host nodes, and the similarity between the two host nodes.
  • the two host nodes look at all host nodes, including first-order connected nodes, second-order connected nodes, and even N-order connected. Nodes (that is, nodes that need to be connected through N connections).
  • the formula for calculating and analyzing the similarity between two host nodes from the multi-dimensional information of the first-order connected node, the second-order connected node, and even the N-order connected node is as follows:
  • s xy aA xy + a 2 (A 2 ) xy + a 3 (A 3 ) xy + a n (A n ) xy
  • x and y are any two unconnected host nodes under the cloud platform; a is a preset adjustable weight parameter, 0 ⁇ a ⁇ 1; (A n ) xy is the distance between the host nodes x and y is The number of connected links of n, that is, A xy is a first-order connected node, and (A 2 ) xy is a second-order connected node.
  • s xy is the similarity value between the host nodes x and y finally calculated.
  • the complexity and accuracy of the algorithm can be balanced by adjusting the weight parameter a and the highest connection order n.
  • the weight parameter a can be adjusted to reduce the influence of the higher-order connected node on the calculation result of the similarity s xy , and then reduce the final connection between the higher-order connected node and the two host nodes. The effect of the possibility of predicting the outcome.
  • the value of the weight parameter a may be adjusted to enhance the influence of the higher-order connected nodes on the calculation result of the similarity s xy , and then the higher-order connected nodes are strengthened to the two The influence of the prediction result of the possibility of final connection between the host nodes.
  • a maximum connection threshold is set for all host nodes in the cloud platform in advance.
  • the host node in the cloud platform exceeds the maximum connection threshold, Perform communication resource adjustment processing on the host node, such as allocating additional communication resources.
  • the preset maximum connection thresholds of these related host nodes that may have a large communication load may be reduced to perform more sensitive early warnings in advance. Allocate resource space on relevant host nodes to cope with possible connections and ensure that normal business execution is not affected.
  • the maximum connection thresholds of other host nodes that do not have a large communication load can be kept constant or increased appropriately to ensure the full use of resources.
  • This embodiment calculates the similarity value between any two unconnected host nodes among all the host nodes under the cloud platform by using a preset calculation rule, and analyzes any two unconnected nodes among all the host nodes according to the calculated similarity value.
  • the possibility of connection between the host nodes; the communication resources of the host nodes under the cloud platform are adjusted according to the connection possibility between any two unconnected host nodes among all the host nodes.
  • a node is a host node with a high probability of being connected in order to adjust the communication resources of the host node under the cloud platform in a timely and reasonable manner.
  • the method further includes:
  • the related information of the preset number of host nodes corresponding to the top similarity value can be sent via SMS, WeChat, and QQ messages. And email to the preset terminal for manual allocation of additional communication resources to the preset number of host nodes in advance before the traffic actually increases.
  • FIG. 2 is a schematic flowchart of an embodiment of a method for processing a communication load between hosts on a cloud platform of this application.
  • the method for processing a communication load between hosts on a cloud platform includes the following steps:
  • Step S10 obtaining all host nodes under the cloud platform
  • Step S20 Calculate the similarity value between any two unconnected host nodes in all host nodes based on a preset calculation rule, and analyze the difference between any two unconnected host nodes in all host nodes based on the calculated similarity value. Connection possibilities;
  • step S30 the communication resources of the host nodes under the cloud platform are adjusted according to the connection possibilities between any two unconnected host nodes among all the host nodes.
  • the processing system for the communication load between hosts of the cloud platform receives a communication resource adjustment request for the host node under the cloud platform from the user, for example, the communication resource adjustment sent by the user through a terminal such as a mobile phone, tablet computer, or self-service terminal Requests, such as receiving communication resource adjustment requests sent by users on pre-installed clients in mobile phones, tablets, and self-service terminal devices, or receiving user browser systems in mobile phones, tablets, and self-service terminal devices
  • a terminal such as a mobile phone, tablet computer, or self-service terminal Requests, such as receiving communication resource adjustment requests sent by users on pre-installed clients in mobile phones, tablets, and self-service terminal devices, or receiving user browser systems in mobile phones, tablets, and self-service terminal devices
  • the communication resource adjustment request sent on the Internet for example, the communication resource adjustment sent by the user through a terminal such as a mobile phone, tablet computer, or self-service terminal Requests, such as receiving communication resource adjustment requests sent by users on pre-installed clients in mobile phones, tablets, and self-
  • the communication load resources between the host nodes under the cloud platform can be adjusted.
  • a link prediction method is used to adjust the communication load resources between host nodes under the cloud platform.
  • the two host nodes are similar host nodes on the same business line, the business items or processing tasks performed by the two host nodes will be similar, such as calling the same database node, executing the same business logic, etc., because The two host nodes are host nodes on the same service line, and the connection between the two host nodes is also relatively large, such as data connection between the two host nodes.
  • the possibility of connection between the two host nodes can be predicted by the similarity between the two host nodes, and the similarity between the two host nodes.
  • the two host nodes look at all host nodes, including first-order connected nodes, second-order connected nodes, and even N-order connected. Nodes (that is, nodes that need to be connected through N connections).
  • the formula for calculating and analyzing the similarity between two host nodes from the multi-dimensional information of the first-order connected node, the second-order connected node, and even the N-order connected node is as follows:
  • s xy aA xy + a 2 (A 2 ) xy + a 3 (A 3 ) xy + a n (A n ) xy
  • x and y are any two unconnected host nodes under the cloud platform; a is a preset adjustable weight parameter, 0 ⁇ a ⁇ 1; (A n ) xy is the distance between the host nodes x and y is The number of connected links of n, that is, A xy is a first-order connected node, and (A 2 ) xy is a second-order connected node.
  • s xy is the similarity value between the host nodes x and y finally calculated.
  • the complexity and accuracy of the algorithm can be balanced by adjusting the weight parameter a and the highest connection order n.
  • the weight parameter a can be adjusted to reduce the influence of the higher-order connected node on the calculation result of the similarity s xy , and then reduce the final connection between the higher-order connected node and the two host nodes. The effect of the possibility of predicting the outcome.
  • the value of the weight parameter a may be adjusted to enhance the influence of the higher-order connected nodes on the calculation result of the similarity s xy , and then the higher-order connected nodes are strengthened to the two The influence of the prediction result of the possibility of final connection between the host nodes.
  • a maximum connection threshold is set for all host nodes in the cloud platform in advance.
  • the host node in the cloud platform exceeds the maximum connection threshold, Perform communication resource adjustment processing on the host node, such as allocating additional communication resources.
  • the preset maximum connection thresholds of these related host nodes that may have a large communication load may be reduced to perform more sensitive early warnings in advance. Allocate resource space on relevant host nodes to cope with possible connections and ensure that normal business execution is not affected.
  • the maximum connection thresholds of other host nodes that do not have a large communication load can be kept constant or increased appropriately to ensure the full use of resources.
  • This embodiment calculates the similarity value between any two unconnected host nodes among all the host nodes under the cloud platform by using a preset calculation rule, and analyzes any two unconnected nodes among all the host nodes according to the calculated similarity value.
  • the possibility of connection between the host nodes; the communication resources of the host nodes under the cloud platform are adjusted according to the connection possibility between any two unconnected host nodes among all the host nodes.
  • a node is a host node with a high probability of being connected in order to adjust the communication resources of the host node under the cloud platform in a timely and reasonable manner.
  • the method further includes:
  • the related information of the preset number of host nodes corresponding to the top similarity value can be sent via SMS, WeChat, and QQ messages. And email to the preset terminal for manual allocation of additional communication resources to the preset number of host nodes in advance before the traffic actually increases.
  • the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores a processing system for communication load between cloud platform hosts, and the processing system for communication load between cloud platform hosts may be processed by at least one processor. And execute, so that the at least one processor executes the steps of the method for processing the communication load between cloud platform hosts as in the above embodiment, and the specific implementation process of steps S10, S20, and S30 of the method for processing the communication load between cloud platform hosts. As mentioned above, it will not be repeated here.
  • the technical solution of this application that is essentially or contributes to the existing technology can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, The optical disc) includes several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the embodiments of the present application.
  • a terminal device which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present application relates to a method, electronic device and readable storage medium for processing a communication load between hosts of a cloud platform, the method comprising: obtaining all host nodes under a cloud platform; calculating a similarity value between any two unconnected host nodes among all of the host nodes on the basis of preset calculation rules, and analyzing a connection possibility between any two unconnected host nodes among all of the host nodes according to the calculated similarity value; and adjusting communication resources of the host nodes under the cloud platform according to the connection possibility between any two unconnected host nodes among all of the host nodes. Since by employing the present application the similarity between two host nodes can be analyzed and calculated for the large number of host nodes under the cloud platform so as to predict the connection possibility between the two host nodes, it is possible to predict in advance the possibility of related host nodes having large communication loads, i.e. host nodes having a high connection possibility, and thus it is possible to promptly and reasonably adjust the communication resources of the host nodes under the cloud platform.

Description

云平台主机间通信负载的处理方法、电子装置及介质Processing method for communication load between cloud platform hosts, electronic device and medium
本申请要求于2018年6月29日提交中国专利局,申请号为201810694759.2、发明名称为“云平台主机间通信负载的处理方法、电子装置及介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on June 29, 2018 under the application number 201810694759.2. And the invention name is "Processing Method, Electronic Device, and Medium for Communication Load Between Cloud Platform Hosts". Incorporated by reference in this application.
技术领域Technical field
本申请涉及计算机技术领域,尤其涉及一种云平台主机间通信负载的处理方法、电子装置及可读存储介质。The present application relates to the field of computer technology, and in particular, to a method for processing a communication load between hosts on a cloud platform, an electronic device, and a readable storage medium.
背景技术Background technique
随着云平台的发展,云平台内的主机数量也在大量增加,各个主机节点之间的连接方式也会变得越来越复杂。为了防止云平台内主机节点由于连接较多导致通信负载过大的情况发生,现有技术中普遍采用设定阈值的方式来对云平台内主机节点的通信资源进行调节处理,即统一设定一最大连接阈值,当云平台内主机节点超过最大连接阈值时,再对该主机节点进行处理如暂停该主机节点的工作。现有的这种出现问题再解决问题的工作模式,往往导致处理时间比较紧迫,且效果不好,对正常业务的执行造成影响。若将统一设定的最大连接阈值设置的比较低,则会导致较多的该主机节点预留出较多的处理空间,又会带来很大的资源浪费,即无法及时并合理的对云平台下主机节点的通信资源进行调节。With the development of the cloud platform, the number of hosts in the cloud platform is also increasing, and the connection methods between the host nodes will become more and more complicated. In order to prevent the host node in the cloud platform from overloading the communication load due to the large number of connections, in the prior art, a threshold is generally used to adjust the communication resources of the host node in the cloud platform. The maximum connection threshold. When the host node in the cloud platform exceeds the maximum connection threshold, the host node is processed again, such as suspending the work of the host node. The existing working mode of resolving problems when they occur often results in tight processing time and poor results, which affects the execution of normal business. If the maximum connection threshold that is uniformly set is relatively low, it will cause more host nodes to reserve more processing space, and it will also cause a lot of waste of resources, that is, the cloud cannot be timely and reasonable. The communication resources of the host nodes under the platform are adjusted.
发明内容Summary of the invention
本申请的目的在于提供一种云平台主机间通信负载的处理方法、电子装置及可读存储介质,旨在及时并合理的对云平台下主机节点的通信资源进行调节。The purpose of this application is to provide a method for processing a communication load between hosts on a cloud platform, an electronic device, and a readable storage medium, so as to adjust the communication resources of the host nodes under the cloud platform in a timely and reasonable manner.
为实现上述目的,本申请提供一种电子装置,所述电子装置包括存储器、 处理器,所述存储器上存储有可在所述处理器上运行的云平台主机间通信负载的处理系统,所述云平台主机间通信负载的处理系统被所述处理器执行时实现如下步骤:In order to achieve the above object, the present application provides an electronic device, the electronic device includes a memory and a processor, and the memory stores a processing system for a communication load between cloud platform hosts that can run on the processor. When the processing system for the communication load between cloud platform hosts is executed by the processor, the following steps are implemented:
获取云平台下的所有主机节点;Get all host nodes under the cloud platform;
基于预设计算规则计算所有主机节点中任意两个未连接的主机节点之间的相似度值,并根据计算出的相似度值分析所有主机节点中任意两个未连接的主机节点之间的连接可能性;Calculate the similarity value between any two unconnected host nodes in all host nodes based on preset calculation rules, and analyze the connection between any two unconnected host nodes in all host nodes based on the calculated similarity value possibility;
根据所有主机节点中任意两个未连接的主机节点之间的连接可能性对云平台下主机节点的通信资源进行调节。The communication resources of the host nodes under the cloud platform are adjusted according to the connection possibility between any two unconnected host nodes among all the host nodes.
此外,为实现上述目的,本申请还提供一种云平台主机间通信负载的处理方法,所述云平台主机间通信负载的处理方法包括:In addition, in order to achieve the foregoing object, the present application further provides a method for processing a communication load between cloud platform hosts. The method for processing a communication load between cloud platform hosts includes:
获取云平台下的所有主机节点;Get all host nodes under the cloud platform;
基于预设计算规则计算所有主机节点中任意两个未连接的主机节点之间的相似度值,并根据计算出的相似度值分析所有主机节点中任意两个未连接的主机节点之间的连接可能性;Calculate the similarity value between any two unconnected host nodes in all host nodes based on preset calculation rules, and analyze the connection between any two unconnected host nodes in all host nodes based on the calculated similarity value possibility;
根据所有主机节点中任意两个未连接的主机节点之间的连接可能性对云平台下主机节点的通信资源进行调节。The communication resources of the host nodes under the cloud platform are adjusted according to the connection possibility between any two unconnected host nodes among all the host nodes.
进一步地,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质存储有云平台主机间通信负载的处理系统,所述云平台主机间通信负载的处理系统可被至少一个处理器执行,以使所述至少一个处理器执行如上述的云平台主机间通信负载的处理方法的步骤。Further, in order to achieve the above object, the present application also provides a computer-readable storage medium that stores a processing system for communication load between cloud platform hosts and a processing system for communication load between cloud platform hosts. It can be executed by at least one processor, so that the at least one processor executes the steps of the method for processing a communication load between hosts of a cloud platform as described above.
本申请提出的云平台主机间通信负载的处理方法、电子装置及可读存储介质,通过预设计算规则计算云平台下所有主机节点中任意两个未连接的主机节点之间的相似度值,并根据计算出的相似度值分析所有主机节点中任意两个未连接的主机节点之间的连接可能性;根据所有主机节点中任意两个未 连接的主机节点之间的连接可能性对云平台下主机节点的通信资源进行调节。由于针对云平台下数量众多的主机节点能分析计算两个主机节点之间的相似性来预测两个主机节点之间的连接可能性,即可提前预测出可能会出现通信负载较大的相关主机节点即连接可能性大的主机节点,以便及时并合理的对云平台下主机节点的通信资源进行调节。The method for processing a communication load between hosts of a cloud platform, an electronic device, and a readable storage medium according to the present application, calculate a similarity value between any two unconnected host nodes of all host nodes under the cloud platform through preset calculation rules, Analyze the connection possibility between any two unconnected host nodes in all host nodes based on the calculated similarity value; according to the connection possibility between any two unconnected host nodes in all host nodes, Adjust the communication resources of the host node. Because a large number of host nodes under the cloud platform can analyze and calculate the similarity between the two host nodes to predict the connection possibility between the two host nodes, it can be predicted in advance that related hosts that may have a large communication load A node is a host node with a high probability of being connected in order to adjust the communication resources of the host node under the cloud platform in a timely and reasonable manner.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请云平台主机间通信负载的处理系统10较佳实施例的运行环境示意图;FIG. 1 is a schematic diagram of an operating environment of a preferred embodiment of a processing system 10 for a communication load between hosts of a cloud platform of the present application;
图2为本申请云平台主机间通信负载的处理方法一实施例的流程示意图。FIG. 2 is a schematic flowchart of an embodiment of a method for processing a communication load between hosts of a cloud platform of this application.
具体实施方式detailed description
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solution, and advantages of the present application clearer, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the application, and are not used to limit the application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
需要说明的是,在本申请中涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。It should be noted that the descriptions related to "first", "second", etc. in this application are for descriptive purposes only, and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated . Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but must be based on those that can be realized by a person of ordinary skill in the art. When the combination of technical solutions conflicts or cannot be achieved, such a combination of technical solutions should be considered nonexistent. Is not within the scope of protection claimed in this application.
本申请提供一种云平台主机间通信负载的处理系统。请参阅图1,是本申请云平台主机间通信负载的处理系统10较佳实施例的运行环境示意图。The present application provides a processing system for a communication load between cloud platform hosts. Please refer to FIG. 1, which is a schematic diagram of an operating environment of a preferred embodiment of a processing system 10 for a communication load between hosts of a cloud platform of the present application.
在本实施例中,所述的云平台主机间通信负载的处理系统10安装并运行于电子装置1中。该电子装置1可包括,但不仅限于,存储器11、处理器12及显示器13。图1仅示出了具有组件11-13的电子装置1,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。In this embodiment, the processing system 10 for a communication load between hosts of the cloud platform is installed and runs in the electronic device 1. The electronic device 1 may include, but is not limited to, a memory 11, a processor 12, and a display 13. FIG. 1 only shows the electronic device 1 with components 11-13, but it should be understood that it is not required to implement all the illustrated components, and more or fewer components may be implemented instead.
所述存储器11为至少一种类型的可读计算机存储介质,所述存储器11在一些实施例中可以是所述电子装置1的内部存储单元,例如该电子装置1的硬盘或内存。所述存储器11在另一些实施例中也可以是所述电子装置1的外部存储设备,例如所述电子装置1上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器11还可以既包括所述电子装置1的内部存储单元也包括外部存储设备。所述存储器11用于存储安装于所述电子装置1的应用软件及各类数据,例如所述云平台主机间通信负载的处理系统10的程序代码等。所述存储器11还可以用于暂时地存储已经输出或者将要输出的数据。The memory 11 is at least one type of readable computer storage medium. In some embodiments, the memory 11 may be an internal storage unit of the electronic device 1, such as a hard disk or a memory of the electronic device 1. The memory 11 may also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in hard disk, a smart memory card (SMC), and a secure digital device. (Secure Digital, SD) card, Flash card, etc. Further, the memory 11 may further include both an internal storage unit of the electronic device 1 and an external storage device. The memory 11 is configured to store application software installed on the electronic device 1 and various types of data, such as program code of the processing system 10 for the communication load between hosts of the cloud platform. The memory 11 may also be used to temporarily store data that has been output or will be output.
所述处理器12在一些实施例中可以是一中央处理器(Central Processing Unit,CPU),微处理器或其他数据处理芯片,用于运行所述存储器11中存储的程序代码或处理数据,例如执行所述云平台主机间通信负载的处理系统10等。In some embodiments, the processor 12 may be a central processing unit (CPU), a microprocessor, or other data processing chip, configured to run program codes or process data stored in the memory 11, such as A processing system 10 or the like that executes the communication load between hosts of the cloud platform.
所述显示器13在一些实施例中可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。所述显示器13用于显示在所述电子装置1中处理的信息以及用于显示可视化的用户界面,例如连接可能性较大的主机节点、云平台的通信资源分配情况等。所述电子装置1的部件11-13通过系统总线相互通信。In some embodiments, the display 13 may be an LED display, a liquid crystal display, a touch-type liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display 13 is used to display information processed in the electronic device 1 and to display a visual user interface, such as a host node with a high possibility of connection, and communication resource allocation of a cloud platform. The components 11-13 of the electronic device 1 communicate with each other through a system bus.
云平台主机间通信负载的处理系统10包括至少一个存储在所述存储器11中的计算机可读指令,该至少一个计算机可读指令可被所述处理器12执行,以实现本申请各实施例。The processing system 10 for the communication load between the hosts of the cloud platform includes at least one computer-readable instruction stored in the memory 11, and the at least one computer-readable instruction can be executed by the processor 12 to implement the embodiments of the present application.
其中,上述云平台主机间通信负载的处理系统10被所述处理器12执行时实现如下步骤:Wherein, when the processing system 10 for the communication load between the hosts of the cloud platform is executed by the processor 12, the following steps are implemented:
步骤S1,获取云平台下的所有主机节点;Step S1, obtaining all host nodes under the cloud platform;
步骤S2,基于预设计算规则计算所有主机节点中任意两个未连接的主机节点之间的相似度值,并根据计算出的相似度值分析所有主机节点中任意两个未连接的主机节点之间的连接可能性;Step S2: Calculate the similarity value between any two unconnected host nodes in all host nodes based on a preset calculation rule, and analyze the difference between any two unconnected host nodes in all host nodes based on the calculated similarity value. Connection possibilities;
步骤S3,根据所有主机节点中任意两个未连接的主机节点之间的连接可能性对云平台下主机节点的通信资源进行调节。In step S3, the communication resources of the host nodes under the cloud platform are adjusted according to the connection possibilities between any two unconnected host nodes among all the host nodes.
本实施例中,云平台主机间通信负载的处理系统接收用户发出的针对云平台下主机节点的通信资源调节请求,例如,接收用户通过手机、平板电脑、自助终端设备等终端发送的通信资源调节请求,如接收用户在手机、平板电脑、自助终端设备等终端中预先安装的客户端上发送来的通信资源调节请求,或接收用户在手机、平板电脑、自助终端设备等终端中的浏览器系统上发送来的通信资源调节请求。In this embodiment, the processing system for the communication load between hosts of the cloud platform receives a communication resource adjustment request for a host node under the cloud platform from a user, for example, receiving a communication resource adjustment sent by a user through a terminal such as a mobile phone, a tablet computer, or a self-service terminal device. Requests, such as receiving communication resource adjustment requests sent by users on pre-installed clients in mobile phones, tablets, and self-service terminal devices, or receiving user browser systems in mobile phones, tablets, and self-service terminal devices The communication resource adjustment request sent on the Internet.
在收到通信资源调节请求后,即可针对云平台下主机节点间的通信负载资源进行调节处理。具体的,本实施例中是基于链路预测的方式来针对云平台下主机节点间的通信负载资源进行调节处理,通过对整个主机网络连接历史数据进行分析发现:两个主机节点如果有很多共同邻居节点,那么这两个主机节点相似;两个未连接的主机节点如果有很多的共同邻居节点,则这两个主机节点更倾向于连边即这两个未连接的主机节点将来倾向于连接的可能性较大。例如,若这两个主机节点为同一业务线上的相似主机节点,则这两个主机节点执行的业务项或处理事情会很相似如会调用相同的数据库节 点、执行相同的业务逻辑等,由于这两个主机节点为同一业务线上的主机节点,这两个主机节点之间的连接可能性也较大,如这两个主机节点之间连接进行数据交互等。After receiving the communication resource adjustment request, the communication load resources between the host nodes under the cloud platform can be adjusted. Specifically, in this embodiment, a link prediction method is used to adjust the communication load resources between host nodes under the cloud platform. Through analysis of the historical data of the entire host network connection, it is found that if two host nodes have a lot in common Neighbor nodes, then the two host nodes are similar; if two unconnected host nodes have a lot of common neighbor nodes, the two host nodes are more likely to be connected, that is, the two unconnected host nodes will tend to be connected in the future More likely. For example, if the two host nodes are similar host nodes on the same business line, the business items or processing tasks performed by the two host nodes will be similar, such as calling the same database node, executing the same business logic, etc., because The two host nodes are host nodes on the same service line, and the connection between the two host nodes is also relatively large, such as data connection between the two host nodes.
基于上述分析,本实施例中针对云平台下数量众多的主机节点,可通过两个主机节点之间的相似性来预测两个主机节点之间的连接可能性,两个主机节点之间的相似性越高,则两个主机节点之间的连接可能性越大。具体地,扩展来说,针对云平台下数量众多的主机节点及其之间的链路,两个主机节点对于所有主机节点来看,包括一阶相连节点,二阶相连节点,乃至N阶相连节点(即需要经过N个连接才能相连的节点),若从一阶相连节点,二阶相连节点,乃至N阶相连节点这些多维度信息来计算分析两个主机节点之间的相似性,则能使得最终对这两个主机节点之间的连接可能性的预测会更加准确。其中,从一阶相连节点,二阶相连节点,乃至N阶相连节点这些多维度信息来计算分析两个主机节点之间的相似性的公式如下:Based on the above analysis, for the large number of host nodes under the cloud platform in this embodiment, the possibility of connection between the two host nodes can be predicted by the similarity between the two host nodes, and the similarity between the two host nodes. The higher the performance, the more likely the connection between the two host nodes is. Specifically, in terms of expansion, for a large number of host nodes under the cloud platform and the links between them, the two host nodes look at all host nodes, including first-order connected nodes, second-order connected nodes, and even N-order connected. Nodes (that is, nodes that need to be connected through N connections). If the multi-dimensional information from first-order connected nodes, second-order connected nodes, and even N-order connected nodes is used to calculate and analyze the similarity between two host nodes, then This makes the final prediction of the connection possibility between these two host nodes more accurate. Among them, the formula for calculating and analyzing the similarity between two host nodes from the multi-dimensional information of the first-order connected node, the second-order connected node, and even the N-order connected node is as follows:
s xy=aA xy+a 2(A 2) xy+a 3(A 3) xy+a n(A n) xy s xy = aA xy + a 2 (A 2 ) xy + a 3 (A 3 ) xy + a n (A n ) xy
其中,x、y为云平台下的任意两个未连接的主机节点;a是预设可调的权重参数,0<a<1;(A n) xy是主机节点x、y之间距离为n的连接链路数量,即A xy是一阶相连节点,(A 2) xy是二阶相连节点,例如,对于二阶相连节点,若主机节点x、y之间距离为2的连接链路包括x-B-y、x-C-y、x-D-y这三条,则主机节点x、y之间距离为2的连接链路数量为3,即(A 2) xy为3。s xy为最终计算出的主机节点x、y之间的相似度值。 Among them, x and y are any two unconnected host nodes under the cloud platform; a is a preset adjustable weight parameter, 0 <a <1; (A n ) xy is the distance between the host nodes x and y is The number of connected links of n, that is, A xy is a first-order connected node, and (A 2 ) xy is a second-order connected node. For example, for a second-order connected node, if the distance between the host nodes x and y is 2 Including three xBy, xCy, and xDy, the number of connecting links with a distance of 2 between the host nodes x and y is 3, that is, (A 2 ) xy is 3. s xy is the similarity value between the host nodes x and y finally calculated.
需要说明的是,上述公式中,可通过对权重参数a以及最高连接阶数n的调整来平衡算法复杂度与准确度。如,在一些场景中,若需考虑低阶连接的影响较大,即两个主机节点之间在一阶相连节点、二阶相连节点等之间的相似性对这两个主机节点之间最终连接的可能性影响较大,则可调低权重参数a的值,以削弱高阶相连节点对相似性s xy计算结果的影响,继而减小高 阶相连节点对两个主机节点之间最终连接可能性的预测结果的影响。相反,若需考虑更多维度的信息来计算相似度,则可调高权重参数a的值,以加强高阶相连节点对相似性s xy计算结果的影响,继而加强高阶相连节点对两个主机节点之间最终连接可能性的预测结果的影响。 It should be noted that in the above formula, the complexity and accuracy of the algorithm can be balanced by adjusting the weight parameter a and the highest connection order n. For example, in some scenarios, if it is necessary to consider the low-order connection, the similarity between the two host nodes in the first-order connected node, the second-order connected node, etc. The possibility of connection has a greater impact. Then, the value of the weight parameter a can be adjusted to reduce the influence of the higher-order connected node on the calculation result of the similarity s xy , and then reduce the final connection between the higher-order connected node and the two host nodes. The effect of the possibility of predicting the outcome. On the contrary, if it is necessary to consider the information of more dimensions to calculate the similarity, the value of the weight parameter a may be adjusted to enhance the influence of the higher-order connected nodes on the calculation result of the similarity s xy , and then the higher-order connected nodes are strengthened to the two The influence of the prediction result of the possibility of final connection between the host nodes.
在依照上述公式计算得到云平台下任意两个未连接的主机节点之间的相似度值后,可将计算得到的所有相似度值按高低顺序进行排序,取排序靠前的若干个(如10个)作为可能会出现通信负载较大的连接,针对可能会出现通信负载较大的连接可进行预警调节操作。由于通常情况下After the similarity values between any two unconnected host nodes under the cloud platform are calculated according to the above formula, all the calculated similarity values can be sorted in order of high and low, and the first few (such as 10 A) As a connection that may have a large communication load, an early warning adjustment operation may be performed for a connection that may have a large communication load. Since usually
为了防止云平台内主机节点由于连接较多导致通信负载过大的情况发生,会预先为云平台下的所有主机节点统一设定最大连接阈值,当云平台内主机节点超过最大连接阈值时,再对该主机节点进行通信资源调节处理如分配额外的通信资源等。本实施例中在找出可能会出现通信负载较大的主机节点后,可将这些可能会出现通信负载较大的相关主机节点的预设最大连接阈值调低,进行更加敏感的预警,以提前分配资源空间在相关主机节点上来应对可能出现的连接,保证正常业务的执行不会受到影响。同时,其他不会出现通信负载较大的主机节点的最大连接阈值可保持不变或适当调高,以保证资源的充分利用。In order to prevent the host node in the cloud platform from overloading the communication load due to more connections, a maximum connection threshold is set for all host nodes in the cloud platform in advance. When the host node in the cloud platform exceeds the maximum connection threshold, Perform communication resource adjustment processing on the host node, such as allocating additional communication resources. In this embodiment, after finding host nodes that may have a large communication load, the preset maximum connection thresholds of these related host nodes that may have a large communication load may be reduced to perform more sensitive early warnings in advance. Allocate resource space on relevant host nodes to cope with possible connections and ensure that normal business execution is not affected. At the same time, the maximum connection thresholds of other host nodes that do not have a large communication load can be kept constant or increased appropriately to ensure the full use of resources.
本实施例通过预设计算规则计算云平台下所有主机节点中任意两个未连接的主机节点之间的相似度值,并根据计算出的相似度值分析所有主机节点中任意两个未连接的主机节点之间的连接可能性;根据所有主机节点中任意两个未连接的主机节点之间的连接可能性对云平台下主机节点的通信资源进行调节。由于针对云平台下数量众多的主机节点能分析计算两个主机节点之间的相似性来预测两个主机节点之间的连接可能性,即可提前预测出可能会出现通信负载较大的相关主机节点即连接可能性大的主机节点,以便及 时并合理的对云平台下主机节点的通信资源进行调节。This embodiment calculates the similarity value between any two unconnected host nodes among all the host nodes under the cloud platform by using a preset calculation rule, and analyzes any two unconnected nodes among all the host nodes according to the calculated similarity value. The possibility of connection between the host nodes; the communication resources of the host nodes under the cloud platform are adjusted according to the connection possibility between any two unconnected host nodes among all the host nodes. Because a large number of host nodes under the cloud platform can analyze and calculate the similarity between the two host nodes to predict the connection possibility between the two host nodes, it can be predicted in advance that related hosts that may have a large communication load A node is a host node with a high probability of being connected in order to adjust the communication resources of the host node under the cloud platform in a timely and reasonable manner.
在一可选的实施例中,在上述图1的实施例的基础上,所述云平台主机间通信负载的处理系统10被所述处理器12执行时,还包括:In an optional embodiment, on the basis of the above-mentioned embodiment of FIG. 1, when the processing system 10 for the communication load between hosts of the cloud platform is executed by the processor 12, the method further includes:
将排名靠前的相似度值对应的预设数量的主机节点发送至预设终端,如可将排名靠前的相似度值对应的预设数量的主机节点的相关信息通过短信、微信、QQ消息、邮件等方式发送至预设终端,以供人工在流量真正增长前提前为所述预设数量的主机节点分配额外的通信资源。Send a preset number of host nodes corresponding to the top similarity value to the preset terminal. For example, the related information of the preset number of host nodes corresponding to the top similarity value can be sent via SMS, WeChat, and QQ messages. And email to the preset terminal for manual allocation of additional communication resources to the preset number of host nodes in advance before the traffic actually increases.
如图2所示,图2为本申请云平台主机间通信负载的处理方法一实施例的流程示意图,该云平台主机间通信负载的处理方法包括以下步骤:As shown in FIG. 2, FIG. 2 is a schematic flowchart of an embodiment of a method for processing a communication load between hosts on a cloud platform of this application. The method for processing a communication load between hosts on a cloud platform includes the following steps:
步骤S10,获取云平台下的所有主机节点;Step S10, obtaining all host nodes under the cloud platform;
步骤S20,基于预设计算规则计算所有主机节点中任意两个未连接的主机节点之间的相似度值,并根据计算出的相似度值分析所有主机节点中任意两个未连接的主机节点之间的连接可能性;Step S20: Calculate the similarity value between any two unconnected host nodes in all host nodes based on a preset calculation rule, and analyze the difference between any two unconnected host nodes in all host nodes based on the calculated similarity value. Connection possibilities;
步骤S30,根据所有主机节点中任意两个未连接的主机节点之间的连接可能性对云平台下主机节点的通信资源进行调节。In step S30, the communication resources of the host nodes under the cloud platform are adjusted according to the connection possibilities between any two unconnected host nodes among all the host nodes.
本实施例中,云平台主机间通信负载的处理系统接收用户发出的针对云平台下主机节点的通信资源调节请求,例如,接收用户通过手机、平板电脑、自助终端设备等终端发送的通信资源调节请求,如接收用户在手机、平板电脑、自助终端设备等终端中预先安装的客户端上发送来的通信资源调节请求,或接收用户在手机、平板电脑、自助终端设备等终端中的浏览器系统上发送来的通信资源调节请求。In this embodiment, the processing system for the communication load between hosts of the cloud platform receives a communication resource adjustment request for the host node under the cloud platform from the user, for example, the communication resource adjustment sent by the user through a terminal such as a mobile phone, tablet computer, or self-service terminal Requests, such as receiving communication resource adjustment requests sent by users on pre-installed clients in mobile phones, tablets, and self-service terminal devices, or receiving user browser systems in mobile phones, tablets, and self-service terminal devices The communication resource adjustment request sent on the Internet.
在收到通信资源调节请求后,即可针对云平台下主机节点间的通信负载资源进行调节处理。具体的,本实施例中是基于链路预测的方式来针对云平 台下主机节点间的通信负载资源进行调节处理,通过对整个主机网络连接历史数据进行分析发现:两个主机节点如果有很多共同邻居节点,那么这两个主机节点相似;两个未连接的主机节点如果有很多的共同邻居节点,则这两个主机节点更倾向于连边即这两个未连接的主机节点将来倾向于连接的可能性较大。例如,若这两个主机节点为同一业务线上的相似主机节点,则这两个主机节点执行的业务项或处理事情会很相似如会调用相同的数据库节点、执行相同的业务逻辑等,由于这两个主机节点为同一业务线上的主机节点,这两个主机节点之间的连接可能性也较大,如这两个主机节点之间连接进行数据交互等。After receiving the communication resource adjustment request, the communication load resources between the host nodes under the cloud platform can be adjusted. Specifically, in this embodiment, a link prediction method is used to adjust the communication load resources between host nodes under the cloud platform. Through analysis of the historical data of the entire host network connection, it is found that if two host nodes have a lot in common Neighbor nodes, then the two host nodes are similar; if two unconnected host nodes have a lot of common neighbor nodes, the two host nodes are more likely to be connected, that is, the two unconnected host nodes will tend to be connected in the future More likely. For example, if the two host nodes are similar host nodes on the same business line, the business items or processing tasks performed by the two host nodes will be similar, such as calling the same database node, executing the same business logic, etc., because The two host nodes are host nodes on the same service line, and the connection between the two host nodes is also relatively large, such as data connection between the two host nodes.
基于上述分析,本实施例中针对云平台下数量众多的主机节点,可通过两个主机节点之间的相似性来预测两个主机节点之间的连接可能性,两个主机节点之间的相似性越高,则两个主机节点之间的连接可能性越大。具体地,扩展来说,针对云平台下数量众多的主机节点及其之间的链路,两个主机节点对于所有主机节点来看,包括一阶相连节点,二阶相连节点,乃至N阶相连节点(即需要经过N个连接才能相连的节点),若从一阶相连节点,二阶相连节点,乃至N阶相连节点这些多维度信息来计算分析两个主机节点之间的相似性,则能使得最终对这两个主机节点之间的连接可能性的预测会更加准确。其中,从一阶相连节点,二阶相连节点,乃至N阶相连节点这些多维度信息来计算分析两个主机节点之间的相似性的公式如下:Based on the above analysis, for the large number of host nodes under the cloud platform in this embodiment, the possibility of connection between the two host nodes can be predicted by the similarity between the two host nodes, and the similarity between the two host nodes. The higher the performance, the more likely the connection between the two host nodes is. Specifically, in terms of expansion, for a large number of host nodes under the cloud platform and the links between them, the two host nodes look at all host nodes, including first-order connected nodes, second-order connected nodes, and even N-order connected. Nodes (that is, nodes that need to be connected through N connections). If the multi-dimensional information from first-order connected nodes, second-order connected nodes, and even N-order connected nodes is used to calculate and analyze the similarity between two host nodes, then This makes the final prediction of the connection possibility between these two host nodes more accurate. Among them, the formula for calculating and analyzing the similarity between two host nodes from the multi-dimensional information of the first-order connected node, the second-order connected node, and even the N-order connected node is as follows:
s xy=aA xy+a 2(A 2) xy+a 3(A 3) xy+a n(A n) xy s xy = aA xy + a 2 (A 2 ) xy + a 3 (A 3 ) xy + a n (A n ) xy
其中,x、y为云平台下的任意两个未连接的主机节点;a是预设可调的权重参数,0<a<1;(A n) xy是主机节点x、y之间距离为n的连接链路数量,即A xy是一阶相连节点,(A 2) xy是二阶相连节点,例如,对于二阶相连节点,若主机节点x、y之间距离为2的连接链路包括x-B-y、x-C-y、x-D-y这三条,则主机节点x、y之间距离为2的连接链路数量为3,即(A 2) xy为3。s xy 为最终计算出的主机节点x、y之间的相似度值。 Among them, x and y are any two unconnected host nodes under the cloud platform; a is a preset adjustable weight parameter, 0 <a <1; (A n ) xy is the distance between the host nodes x and y is The number of connected links of n, that is, A xy is a first-order connected node, and (A 2 ) xy is a second-order connected node. For example, for a second-order connected node, if the distance between the host nodes x and y is 2 Including three xBy, xCy, and xDy, the number of connecting links with a distance of 2 between the host nodes x and y is 3, that is, (A 2 ) xy is 3. s xy is the similarity value between the host nodes x and y finally calculated.
需要说明的是,上述公式中,可通过对权重参数a以及最高连接阶数n的调整来平衡算法复杂度与准确度。如,在一些场景中,若需考虑低阶连接的影响较大,即两个主机节点之间在一阶相连节点、二阶相连节点等之间的相似性对这两个主机节点之间最终连接的可能性影响较大,则可调低权重参数a的值,以削弱高阶相连节点对相似性s xy计算结果的影响,继而减小高阶相连节点对两个主机节点之间最终连接可能性的预测结果的影响。相反,若需考虑更多维度的信息来计算相似度,则可调高权重参数a的值,以加强高阶相连节点对相似性s xy计算结果的影响,继而加强高阶相连节点对两个主机节点之间最终连接可能性的预测结果的影响。 It should be noted that in the above formula, the complexity and accuracy of the algorithm can be balanced by adjusting the weight parameter a and the highest connection order n. For example, in some scenarios, if it is necessary to consider the low-order connection, the similarity between the two host nodes in the first-order connected node, the second-order connected node, etc. The possibility of connection has a greater impact. Then, the value of the weight parameter a can be adjusted to reduce the influence of the higher-order connected node on the calculation result of the similarity s xy , and then reduce the final connection between the higher-order connected node and the two host nodes. The effect of the possibility of predicting the outcome. On the contrary, if it is necessary to consider the information of more dimensions to calculate the similarity, the value of the weight parameter a may be adjusted to enhance the influence of the higher-order connected nodes on the calculation result of the similarity s xy , and then the higher-order connected nodes are strengthened to the two The influence of the prediction result of the possibility of final connection between the host nodes.
在依照上述公式计算得到云平台下任意两个未连接的主机节点之间的相似度值后,可将计算得到的所有相似度值按高低顺序进行排序,取排序靠前的若干个(如10个)作为可能会出现通信负载较大的连接,针对可能会出现通信负载较大的连接可进行预警调节操作。由于通常情况下After the similarity values between any two unconnected host nodes under the cloud platform are calculated according to the above formula, all the calculated similarity values can be sorted in order of high and low, and the first few (such as 10 A) As a connection that may have a large communication load, an early warning adjustment operation may be performed for a connection that may have a large communication load. Since usually
为了防止云平台内主机节点由于连接较多导致通信负载过大的情况发生,会预先为云平台下的所有主机节点统一设定最大连接阈值,当云平台内主机节点超过最大连接阈值时,再对该主机节点进行通信资源调节处理如分配额外的通信资源等。本实施例中在找出可能会出现通信负载较大的主机节点后,可将这些可能会出现通信负载较大的相关主机节点的预设最大连接阈值调低,进行更加敏感的预警,以提前分配资源空间在相关主机节点上来应对可能出现的连接,保证正常业务的执行不会受到影响。同时,其他不会出现通信负载较大的主机节点的最大连接阈值可保持不变或适当调高,以保证资源的充分利用。In order to prevent the host node in the cloud platform from overloading the communication load due to more connections, a maximum connection threshold is set for all host nodes in the cloud platform in advance. When the host node in the cloud platform exceeds the maximum connection threshold, Perform communication resource adjustment processing on the host node, such as allocating additional communication resources. In this embodiment, after finding host nodes that may have a large communication load, the preset maximum connection thresholds of these related host nodes that may have a large communication load may be reduced to perform more sensitive early warnings in advance. Allocate resource space on relevant host nodes to cope with possible connections and ensure that normal business execution is not affected. At the same time, the maximum connection thresholds of other host nodes that do not have a large communication load can be kept constant or increased appropriately to ensure the full use of resources.
本实施例通过预设计算规则计算云平台下所有主机节点中任意两个未 连接的主机节点之间的相似度值,并根据计算出的相似度值分析所有主机节点中任意两个未连接的主机节点之间的连接可能性;根据所有主机节点中任意两个未连接的主机节点之间的连接可能性对云平台下主机节点的通信资源进行调节。由于针对云平台下数量众多的主机节点能分析计算两个主机节点之间的相似性来预测两个主机节点之间的连接可能性,即可提前预测出可能会出现通信负载较大的相关主机节点即连接可能性大的主机节点,以便及时并合理的对云平台下主机节点的通信资源进行调节。This embodiment calculates the similarity value between any two unconnected host nodes among all the host nodes under the cloud platform by using a preset calculation rule, and analyzes any two unconnected nodes among all the host nodes according to the calculated similarity value. The possibility of connection between the host nodes; the communication resources of the host nodes under the cloud platform are adjusted according to the connection possibility between any two unconnected host nodes among all the host nodes. Because a large number of host nodes under the cloud platform can analyze and calculate the similarity between the two host nodes to predict the connection possibility between the two host nodes, it can be predicted in advance that related hosts that may have a large communication load A node is a host node with a high probability of being connected in order to adjust the communication resources of the host node under the cloud platform in a timely and reasonable manner.
在一可选的实施例中,在上述实施例的基础上,该方法还包括:In an optional embodiment, based on the above embodiment, the method further includes:
将排名靠前的相似度值对应的预设数量的主机节点发送至预设终端,如可将排名靠前的相似度值对应的预设数量的主机节点的相关信息通过短信、微信、QQ消息、邮件等方式发送至预设终端,以供人工在流量真正增长前提前为所述预设数量的主机节点分配额外的通信资源。Send a preset number of host nodes corresponding to the top similarity value to the preset terminal. For example, the related information of the preset number of host nodes corresponding to the top similarity value can be sent via SMS, WeChat, and QQ messages. And email to the preset terminal for manual allocation of additional communication resources to the preset number of host nodes in advance before the traffic actually increases.
此外,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质存储有云平台主机间通信负载的处理系统,所述云平台主机间通信负载的处理系统可被至少一个处理器执行,以使所述至少一个处理器执行如上述实施例中的云平台主机间通信负载的处理方法的步骤,该云平台主机间通信负载的处理方法的步骤S10、S20、S30等具体实施过程如上文所述,在此不再赘述。In addition, the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores a processing system for communication load between cloud platform hosts, and the processing system for communication load between cloud platform hosts may be processed by at least one processor. And execute, so that the at least one processor executes the steps of the method for processing the communication load between cloud platform hosts as in the above embodiment, and the specific implementation process of steps S10, S20, and S30 of the method for processing the communication load between cloud platform hosts. As mentioned above, it will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情 况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this article, the terms "including", "including" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, It also includes other elements not explicitly listed, or elements inherent to such a process, method, article, or device. Where there are no more restrictions, the element limited by the sentence "including a ..." does not exclude the existence of other identical elements in the process, method, article or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件来实现,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the foregoing implementation manners, those skilled in the art can clearly understand that the methods in the foregoing embodiments can be implemented by using software plus a necessary universal hardware platform, and of course, can also be implemented by hardware, but in many cases the former is Better implementation. Based on such an understanding, the technical solution of this application that is essentially or contributes to the existing technology can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, The optical disc) includes several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the embodiments of the present application.
以上参照附图说明了本申请的优选实施例,并非因此局限本申请的权利范围。上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。另外,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The preferred embodiments of the present application have been described above with reference to the accompanying drawings, and thus do not limit the scope of rights of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the superiority or inferiority of the embodiments. In addition, although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than here.
本领域技术人员不脱离本申请的范围和实质,可以有多种变型方案实现本申请,比如作为一个实施例的特征可用于另一实施例而得到又一实施例。凡在运用本申请的技术构思之内所作的任何修改、等同替换和改进,均应在本申请的权利范围之内。Those skilled in the art can implement this application without departing from the scope and essence of this application. For example, the features of one embodiment can be used in another embodiment to obtain another embodiment. Any modification, equivalent replacement and improvement made within the application of the technical concept of this application shall fall within the scope of rights of this application.

Claims (20)

  1. 一种电子装置,其特征在于,所述电子装置包括存储器、处理器,所述存储器上存储有可在所述处理器上运行的云平台主机间通信负载的处理系统,所述云平台主机间通信负载的处理系统被所述处理器执行时实现如下步骤:An electronic device is characterized in that the electronic device includes a memory and a processor, and the memory stores a processing system for a communication load between cloud platform hosts that can run on the processor, and the cloud platform hosts When the processing system of the communication load is executed by the processor, the following steps are implemented:
    获取云平台下的所有主机节点;Get all host nodes under the cloud platform;
    基于预设计算规则计算所有主机节点中任意两个未连接的主机节点之间的相似度值,并根据计算出的相似度值分析所有主机节点中任意两个未连接的主机节点之间的连接可能性;Calculate the similarity value between any two unconnected host nodes in all host nodes based on preset calculation rules, and analyze the connection between any two unconnected host nodes in all host nodes based on the calculated similarity value possibility;
    根据所有主机节点中任意两个未连接的主机节点之间的连接可能性对云平台下主机节点的通信资源进行调节。The communication resources of the host nodes under the cloud platform are adjusted according to the connection possibility between any two unconnected host nodes among all the host nodes.
  2. 如权利要求1所述的电子装置,其特征在于,所述计算所有主机节点中任意两个未连接的主机节点x、y之间的相似度值的公式如下:The electronic device according to claim 1, wherein the formula for calculating the similarity value between any two unconnected host nodes x, y among all host nodes is as follows:
    s xy=aA xy+a 2(A 2) xy+a 3(A 3) xy+a n(A n) xy s xy = aA xy + a 2 (A 2 ) xy + a 3 (A 3 ) xy + a n (A n ) xy
    其中,a是预设权重参数,0<a<1;(A n) xy是主机节点x、y之间距离为n的连接链路数量,n>1;s xy为计算出的主机节点x、y之间的相似度值。 Wherein, a is a predetermined weighting parameter, 0 <a <1; ( A n) xy is the host node x, y is the distance between the connecting link number n,, n>1; s xy is calculated host node x , Y similarity value.
  3. 如权利要求2所述的电子装置,其特征在于,所述云平台主机间通信负载的处理系统被所述处理器执行实现所述根据计算出的相似度值分析所有主机节点中任意两个未连接的主机节点之间的连接可能性时,包括:The electronic device according to claim 2, wherein the processing system for processing the communication load between hosts of the cloud platform is executed by the processor to implement the analysis of any two unscheduled nodes among all host nodes based on the calculated similarity value. Connection possibilities between connected host nodes include:
    所有主机节点中两个未连接的主机节点之间的相似度值越大,则分析该两个未连接的主机节点之间的连接可能性越大。The greater the similarity value between two unconnected host nodes in all the host nodes, the greater the possibility of analyzing the connection between the two unconnected host nodes.
  4. 如权利要求1所述的电子装置,其特征在于,所述云平台主机间通信负载的处理系统被所述处理器执行实现所述根据所有主机节点中任意两个未连接的主机节点之间的连接可能性对云平台下主机节点的通信资源进行调节的步骤,包括:The electronic device according to claim 1, wherein the processing system for processing the communication load between hosts of the cloud platform is executed by the processor to implement the communication between any two unconnected host nodes according to any of the host nodes. The steps of adjusting the communication resources of the host node under the cloud platform by connection possibility include:
    将所有主机节点中任意两个未连接的主机节点之间计算出的相似度值按照从高到低的顺序进行排序;Sort the calculated similarity values between any two unconnected host nodes in all host nodes in descending order;
    选择排名靠前的相似度值对应的预设数量的主机节点作为待调整节点;Select a preset number of host nodes corresponding to the top similarity value as the nodes to be adjusted;
    将所述待调整节点的预设最大连接阈值调低,保持云平台上除所述待调整节点之外的其他主机节点的预设最大连接阈值不变,以提前分配通信资源给所述待调整节点来应对可能出现的连接。Lowering the preset maximum connection threshold of the node to be adjusted and keeping the preset maximum connection threshold of other host nodes on the cloud platform except the node to be adjusted unchanged to allocate communication resources to the to-be-adjusted in advance Nodes to handle possible connections.
  5. 如权利要求2所述的电子装置,其特征在于,所述云平台主机间通信负载的处理系统被所述处理器执行实现所述根据所有主机节点中任意两个未连接的主机节点之间的连接可能性对云平台下主机节点的通信资源进行调节的步骤,包括:The electronic device according to claim 2, wherein the processing system for processing a communication load between hosts of the cloud platform is executed by the processor to implement the communication between any two unconnected host nodes according to any of the host nodes. The steps of adjusting the communication resources of the host node under the cloud platform by connection possibility include:
    将所有主机节点中任意两个未连接的主机节点之间计算出的相似度值按照从高到低的顺序进行排序;Sort the calculated similarity values between any two unconnected host nodes in all host nodes in descending order;
    选择排名靠前的相似度值对应的预设数量的主机节点作为待调整节点;Select a preset number of host nodes corresponding to the top similarity value as the nodes to be adjusted;
    将所述待调整节点的预设最大连接阈值调低,保持云平台上除所述待调整节点之外的其他主机节点的预设最大连接阈值不变,以提前分配通信资源给所述待调整节点来应对可能出现的连接。Lowering the preset maximum connection threshold of the node to be adjusted and keeping the preset maximum connection threshold of other host nodes on the cloud platform except the node to be adjusted unchanged to allocate communication resources to the to-be-adjusted in advance Nodes to handle possible connections.
  6. 如权利要求3所述的电子装置,其特征在于,所述云平台主机间通信负载的处理系统被所述处理器执行实现所述根据所有主机节点中任意两个未连接的主机节点之间的连接可能性对云平台下主机节点的通信资源进行调节的步骤,包括:The electronic device according to claim 3, wherein the processing system for processing the communication load between hosts of the cloud platform is executed by the processor to implement the communication between any two unconnected host nodes according to any of the host nodes The steps of adjusting the communication resources of the host node under the cloud platform by connection possibility include:
    将所有主机节点中任意两个未连接的主机节点之间计算出的相似度值按照从高到低的顺序进行排序;Sort the calculated similarity values between any two unconnected host nodes in all host nodes in descending order;
    选择排名靠前的相似度值对应的预设数量的主机节点作为待调整节点;Select a preset number of host nodes corresponding to the top similarity value as the nodes to be adjusted;
    将所述待调整节点的预设最大连接阈值调低,保持云平台上除所述待调整节点之外的其他主机节点的预设最大连接阈值不变,以提前分配通信资源 给所述待调整节点来应对可能出现的连接。Lowering the preset maximum connection threshold of the node to be adjusted and keeping the preset maximum connection threshold of other host nodes on the cloud platform except the node to be adjusted unchanged to allocate communication resources to the to-be-adjusted in advance Nodes to handle possible connections.
  7. 如权利要求4-6任一项所述的电子装置,其特征在于,还包括:The electronic device according to any one of claims 4 to 6, further comprising:
    将排名靠前的相似度值对应的预设数量的主机节点发送至预设终端,以供人工提前为所述预设数量的主机节点分配额外的通信资源。Send a preset number of host nodes corresponding to the top similarity value to a preset terminal for manual allocation of additional communication resources to the preset number of host nodes in advance.
  8. 一种云平台主机间通信负载的处理方法,其特征在于,所述云平台主机间通信负载的处理方法包括:A method for processing a communication load between cloud platform hosts is characterized in that the method for processing a communication load between cloud platform hosts includes:
    获取云平台下的所有主机节点;Get all host nodes under the cloud platform;
    基于预设计算规则计算所有主机节点中任意两个未连接的主机节点之间的相似度值,并根据计算出的相似度值分析所有主机节点中任意两个未连接的主机节点之间的连接可能性;Calculate the similarity value between any two unconnected host nodes in all host nodes based on preset calculation rules, and analyze the connection between any two unconnected host nodes in all host nodes based on the calculated similarity value possibility;
    根据所有主机节点中任意两个未连接的主机节点之间的连接可能性对云平台下主机节点的通信资源进行调节。The communication resources of the host nodes under the cloud platform are adjusted according to the connection possibility between any two unconnected host nodes among all the host nodes.
  9. 如权利要求8所述的云平台主机间通信负载的处理方法,其特征在于,所述计算所有主机节点中任意两个未连接的主机节点x、y之间的相似度值的公式如下:The method for processing communication load between cloud platform hosts according to claim 8, wherein the formula for calculating the similarity value between any two unconnected host nodes x, y among all host nodes is as follows:
    s xy=aA xy+a 2(A 2) xy+a 3(A 3) xy+a n(A n) xy s xy = aA xy + a 2 (A 2 ) xy + a 3 (A 3 ) xy + a n (A n ) xy
    其中,a是预设权重参数,0<a<1;(A n) xy是主机节点x、y之间距离为n的连接链路数量,n>1;s xy为计算出的主机节点x、y之间的相似度值。 Wherein, a is a predetermined weighting parameter, 0 <a <1; ( A n) xy is the host node x, y is the distance between the connecting link number n,, n>1; s xy is calculated host node x , Y similarity value.
  10. 如权利要求8所述的云平台主机间通信负载的处理方法,其特征在于,所述根据计算出的相似度值分析所有主机节点中任意两个未连接的主机节点之间的连接可能性包括:The method for processing communication load between hosts on a cloud platform according to claim 8, wherein the analyzing the connection possibility between any two unconnected host nodes among all host nodes according to the calculated similarity value comprises :
    所有主机节点中两个未连接的主机节点之间的相似度值越大,则分析该两个未连接的主机节点之间的连接可能性越大。The greater the similarity value between two unconnected host nodes in all the host nodes, the greater the possibility of analyzing the connection between the two unconnected host nodes.
  11. 如权利要求8所述的云平台主机间通信负载的处理方法,其特征在于,所述根据所有主机节点中任意两个未连接的主机节点之间的连接可能性 对云平台下主机节点的通信资源进行调节的步骤包括:The method for processing a communication load between hosts of a cloud platform according to claim 8, wherein the communication of the host nodes under the cloud platform is based on the connection possibility between any two unconnected host nodes among all the host nodes. The steps to adjust resources include:
    将所有主机节点中任意两个未连接的主机节点之间计算出的相似度值按照从高到低的顺序进行排序;Sort the calculated similarity values between any two unconnected host nodes in all host nodes in descending order;
    选择排名靠前的相似度值对应的预设数量的主机节点作为待调整节点;Select a preset number of host nodes corresponding to the top similarity value as the nodes to be adjusted;
    将所述待调整节点的预设最大连接阈值调低,保持云平台上除所述待调整节点之外的其他主机节点的预设最大连接阈值不变,以提前分配通信资源给所述待调整节点来应对可能出现的连接。Lowering the preset maximum connection threshold of the node to be adjusted and keeping the preset maximum connection threshold of other host nodes on the cloud platform except the node to be adjusted unchanged to allocate communication resources to the to-be-adjusted in advance Nodes to handle possible connections.
  12. 如权利要求9所述的云平台主机间通信负载的处理方法,其特征在于,所述根据所有主机节点中任意两个未连接的主机节点之间的连接可能性对云平台下主机节点的通信资源进行调节的步骤包括:The method for processing communication load between hosts of a cloud platform according to claim 9, characterized in that the communication to the host nodes under the cloud platform is based on the connection possibility between any two unconnected host nodes among all host nodes. The steps to adjust resources include:
    将所有主机节点中任意两个未连接的主机节点之间计算出的相似度值按照从高到低的顺序进行排序;Sort the calculated similarity values between any two unconnected host nodes in all host nodes in descending order;
    选择排名靠前的相似度值对应的预设数量的主机节点作为待调整节点;Select a preset number of host nodes corresponding to the top similarity value as the nodes to be adjusted;
    将所述待调整节点的预设最大连接阈值调低,保持云平台上除所述待调整节点之外的其他主机节点的预设最大连接阈值不变,以提前分配通信资源给所述待调整节点来应对可能出现的连接。Lowering the preset maximum connection threshold of the node to be adjusted and keeping the preset maximum connection threshold of other host nodes on the cloud platform except the node to be adjusted unchanged to allocate communication resources to the to-be-adjusted in advance Nodes to handle possible connections.
  13. 如权利要求10所述的云平台主机间通信负载的处理方法,其特征在于,所述根据所有主机节点中任意两个未连接的主机节点之间的连接可能性对云平台下主机节点的通信资源进行调节的步骤包括:The method for processing communication load between hosts on a cloud platform according to claim 10, wherein the communication to the host nodes under the cloud platform is based on the connection possibility between any two unconnected host nodes among all the host nodes. The steps to adjust resources include:
    将所有主机节点中任意两个未连接的主机节点之间计算出的相似度值按照从高到低的顺序进行排序;Sort the calculated similarity values between any two unconnected host nodes in all host nodes in descending order;
    选择排名靠前的相似度值对应的预设数量的主机节点作为待调整节点;Select a preset number of host nodes corresponding to the top similarity value as the nodes to be adjusted;
    将所述待调整节点的预设最大连接阈值调低,保持云平台上除所述待调整节点之外的其他主机节点的预设最大连接阈值不变,以提前分配通信资源给所述待调整节点来应对可能出现的连接。Lowering the preset maximum connection threshold of the node to be adjusted and keeping the preset maximum connection threshold of other host nodes on the cloud platform except the node to be adjusted unchanged to allocate communication resources to the to-be-adjusted in advance Nodes to handle possible connections.
  14. 如权利要求11-13任一项所述的云平台主机间通信负载的处理方法,其特征在于,还包括:The method for processing communication load between cloud platform hosts according to any one of claims 11-13, further comprising:
    将排名靠前的相似度值对应的预设数量的主机节点发送至预设终端,以供人工提前为所述预设数量的主机节点分配额外的通信资源。Send a preset number of host nodes corresponding to the top similarity value to a preset terminal for manual allocation of additional communication resources to the preset number of host nodes in advance.
  15. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有云平台主机间通信负载的处理系统,所述云平台主机间通信负载的处理系统被处理器执行时实现如下步骤:A computer-readable storage medium is characterized in that the computer-readable storage medium stores a processing system for a communication load between cloud platform hosts, and the processing system for a communication load between cloud platform hosts is implemented as follows when executed by a processor: step:
    获取云平台下的所有主机节点;Get all host nodes under the cloud platform;
    基于预设计算规则计算所有主机节点中任意两个未连接的主机节点之间的相似度值,并根据计算出的相似度值分析所有主机节点中任意两个未连接的主机节点之间的连接可能性;Calculate the similarity value between any two unconnected host nodes in all host nodes based on preset calculation rules, and analyze the connection between any two unconnected host nodes in all host nodes based on the calculated similarity value possibility;
    根据所有主机节点中任意两个未连接的主机节点之间的连接可能性对云平台下主机节点的通信资源进行调节。The communication resources of the host nodes under the cloud platform are adjusted according to the connection possibility between any two unconnected host nodes among all the host nodes.
  16. 如权利要求15所述的计算机可读存储介质,其特征在于,所述计算所有主机节点中任意两个未连接的主机节点x、y之间的相似度值的公式如下:The computer-readable storage medium of claim 15, wherein the formula for calculating the similarity value between any two unconnected host nodes x, y among all host nodes is as follows:
    s xy=aA xy+a 2(A 2) xy+a 3(A 3) xy+a n(A n) xy s xy = aA xy + a 2 (A 2 ) xy + a 3 (A 3 ) xy + a n (A n ) xy
    其中,a是预设权重参数,0<a<1;(A n) xy是主机节点x、y之间距离为n的连接链路数量,n>1;s xy为计算出的主机节点x、y之间的相似度值。 Wherein, a is a predetermined weighting parameter, 0 <a <1; ( A n) xy is the host node x, y is the distance between the connecting link number n,, n>1; s xy is calculated host node x , Y similarity value.
  17. 如权利要求16所述的计算机可读存储介质,其特征在于,所述云平台主机间通信负载的处理系统被所述处理器执行实现所述根据计算出的相似度值分析所有主机节点中任意两个未连接的主机节点之间的连接可能性时,包括:The computer-readable storage medium according to claim 16, wherein the processing system for processing the communication load between hosts of the cloud platform is executed by the processor to implement analysis of any of the host nodes based on the calculated similarity value. When connection possibilities between two unconnected host nodes include:
    所有主机节点中两个未连接的主机节点之间的相似度值越大,则分析该两个未连接的主机节点之间的连接可能性越大。The greater the similarity value between two unconnected host nodes in all the host nodes, the greater the possibility of analyzing the connection between the two unconnected host nodes.
  18. 如权利要求15所述的计算机可读存储介质,其特征在于,所述云平台主机间通信负载的处理系统被所述处理器执行实现所述根据所有主机节点中任意两个未连接的主机节点之间的连接可能性对云平台下主机节点的通信资源进行调节的步骤,包括:The computer-readable storage medium according to claim 15, wherein the processing system for processing the communication load between hosts of the cloud platform is executed by the processor to implement the two unconnected host nodes according to any two of the host nodes. The possibility of adjusting the communication resources of the host node under the cloud platform includes the following steps:
    将所有主机节点中任意两个未连接的主机节点之间计算出的相似度值按照从高到低的顺序进行排序;Sort the calculated similarity values between any two unconnected host nodes in all host nodes in descending order;
    选择排名靠前的相似度值对应的预设数量的主机节点作为待调整节点;Select a preset number of host nodes corresponding to the top similarity value as the nodes to be adjusted;
    将所述待调整节点的预设最大连接阈值调低,保持云平台上除所述待调整节点之外的其他主机节点的预设最大连接阈值不变,以提前分配通信资源给所述待调整节点来应对可能出现的连接。Lowering the preset maximum connection threshold of the node to be adjusted and keeping the preset maximum connection threshold of other host nodes on the cloud platform except the node to be adjusted unchanged to allocate communication resources to the to-be-adjusted in advance Nodes to handle possible connections.
  19. 如权利要求16所述的计算机可读存储介质,其特征在于,所述云平台主机间通信负载的处理系统被所述处理器执行实现所述根据所有主机节点中任意两个未连接的主机节点之间的连接可能性对云平台下主机节点的通信资源进行调节的步骤,包括:The computer-readable storage medium of claim 16, wherein the processing system for processing the communication load between hosts of the cloud platform is executed by the processor to implement the two unconnected host nodes according to any two of the host nodes. The possibility of adjusting the communication resources of the host node under the cloud platform includes the following steps:
    将所有主机节点中任意两个未连接的主机节点之间计算出的相似度值按照从高到低的顺序进行排序;Sort the calculated similarity values between any two unconnected host nodes in all host nodes in descending order;
    选择排名靠前的相似度值对应的预设数量的主机节点作为待调整节点;Select a preset number of host nodes corresponding to the top similarity value as the nodes to be adjusted;
    将所述待调整节点的预设最大连接阈值调低,保持云平台上除所述待调整节点之外的其他主机节点的预设最大连接阈值不变,以提前分配通信资源给所述待调整节点来应对可能出现的连接。Lowering the preset maximum connection threshold of the node to be adjusted and keeping the preset maximum connection threshold of other host nodes on the cloud platform except the node to be adjusted unchanged to allocate communication resources to the to-be-adjusted in advance Nodes to handle possible connections.
  20. 如权利要求17所述的计算机可读存储介质,其特征在于,所述云平台主机间通信负载的处理系统被所述处理器执行实现所述根据所有主机节点中任意两个未连接的主机节点之间的连接可能性对云平台下主机节点的通信资源进行调节的步骤,包括:The computer-readable storage medium according to claim 17, wherein the processing system for processing the communication load between hosts of the cloud platform is executed by the processor to implement the two unconnected host nodes according to any two of the host nodes. The possibility of adjusting the communication resources of the host node under the cloud platform includes the following steps:
    将所有主机节点中任意两个未连接的主机节点之间计算出的相似度值 按照从高到低的顺序进行排序;Sort the calculated similarity values between any two unconnected host nodes in all host nodes in descending order;
    选择排名靠前的相似度值对应的预设数量的主机节点作为待调整节点;Select a preset number of host nodes corresponding to the top similarity value as the nodes to be adjusted;
    将所述待调整节点的预设最大连接阈值调低,保持云平台上除所述待调整节点之外的其他主机节点的预设最大连接阈值不变,以提前分配通信资源给所述待调整节点来应对可能出现的连接。Lowering the preset maximum connection threshold of the node to be adjusted and keeping the preset maximum connection threshold of other host nodes on the cloud platform except the node to be adjusted unchanged to allocate communication resources to the to-be-adjusted in advance Nodes to handle possible connections.
PCT/CN2018/107693 2018-06-29 2018-09-26 Method, electronic device and medium for processing communication load between hosts of cloud platform WO2020000724A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810694759.2A CN109194703B (en) 2018-06-29 2018-06-29 Processing method of communication load between cloud platform hosts, electronic device and medium
CN201810694759.2 2018-06-29

Publications (1)

Publication Number Publication Date
WO2020000724A1 true WO2020000724A1 (en) 2020-01-02

Family

ID=64948644

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/107693 WO2020000724A1 (en) 2018-06-29 2018-09-26 Method, electronic device and medium for processing communication load between hosts of cloud platform

Country Status (2)

Country Link
CN (1) CN109194703B (en)
WO (1) WO2020000724A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290165B (en) * 2019-04-04 2022-01-28 平安科技(深圳)有限公司 Method for regulating and controlling communication load between network hosts, electronic device and readable storage medium
CN110890977B (en) * 2019-10-15 2022-06-21 平安科技(深圳)有限公司 Host node monitoring method and device of cloud platform and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103916438A (en) * 2013-01-06 2014-07-09 上海计算机软件技术开发中心 Cloud testing environment scheduling method and system based on load forecast
WO2016040743A1 (en) * 2014-09-11 2016-03-17 Amazon Technologies, Inc. Dynamic virtual resource request rate control for utilizing physical resources
CN106817251A (en) * 2016-12-23 2017-06-09 烟台中科网络技术研究所 A kind of link prediction method and device based on node similarity
CN108063810A (en) * 2017-12-12 2018-05-22 浙江工业大学 A kind of recommendation method based on the filtering of network part structural information

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595780B (en) * 2013-11-08 2017-01-04 中国人民解放军理工大学 Cloud computing resource scheduling method based on the weight that disappears
CN104765820B (en) * 2015-04-07 2018-05-11 浙江大学 A kind of service dependence of non-intrusion type finds method
CN107480213B (en) * 2017-07-27 2021-12-24 上海交通大学 Community detection and user relation prediction method based on time sequence text network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103916438A (en) * 2013-01-06 2014-07-09 上海计算机软件技术开发中心 Cloud testing environment scheduling method and system based on load forecast
WO2016040743A1 (en) * 2014-09-11 2016-03-17 Amazon Technologies, Inc. Dynamic virtual resource request rate control for utilizing physical resources
CN106817251A (en) * 2016-12-23 2017-06-09 烟台中科网络技术研究所 A kind of link prediction method and device based on node similarity
CN108063810A (en) * 2017-12-12 2018-05-22 浙江工业大学 A kind of recommendation method based on the filtering of network part structural information

Also Published As

Publication number Publication date
CN109194703A (en) 2019-01-11
CN109194703B (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN108089921B (en) Server for cloud big data operation architecture and operation resource optimization method thereof
US10469309B1 (en) Management of computing system alerts
US9806955B2 (en) Network service incident prediction
CN108322320B (en) Service survivability analysis method and device
US20150172204A1 (en) Dynamically Change Cloud Environment Configurations Based on Moving Workloads
US20190347134A1 (en) Capacity Expansion Method and Apparatus
CN109543891B (en) Method and apparatus for establishing capacity prediction model, and computer-readable storage medium
CN111669379B (en) Behavior abnormity detection method and device
CN115277566B (en) Load balancing method and device for data access, computer equipment and medium
CN114095567A (en) Data access request processing method and device, computer equipment and medium
WO2020000724A1 (en) Method, electronic device and medium for processing communication load between hosts of cloud platform
CN108733536B (en) Monitoring management system and method
US10936968B2 (en) Ticket routing
JP7098735B2 (en) Optimization of large-scale data analysis
CN112565391A (en) Method, apparatus, device and medium for adjusting instances in an industrial internet platform
CN115190010B (en) Distributed recommendation method and device based on software service dependency relationship
CN111245928A (en) Resource adjusting method based on super-fusion architecture, Internet of things server and medium
KR102464688B1 (en) Method and apparatus for detrmining event level of monitoring result
Slim et al. On virtual network functions' placement in future distributed edge cloud
CN113138772B (en) Construction method and device of data processing platform, electronic equipment and storage medium
US11550692B2 (en) Integrated event processing and policy enforcement
US10866876B2 (en) Dynamically configurable operation information collection
CN113779098B (en) Data processing method, device, electronic equipment and storage medium
US20230344840A1 (en) Method, apparatus, system, and non-transitory computer readable medium for identifying and prioritizing network security events
CN117852043A (en) Determination method and device for abnormal device, electronic device and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18923856

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18923856

Country of ref document: EP

Kind code of ref document: A1