Automated testing method, apparatus and system, and computing device cluster

By configuring the dial test information and deploying monitoring hooks on the control platform, traffic monitoring between the cloud platform and non-cloud networks is realized, which solves the problem of low operation and maintenance flexibility in existing technologies and improves tenant experience and operation and maintenance convenience. .

WO2024174537A1PCT designated stage expired Publication Date: 2024-08-29HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD

Patent Information

Application Number
PCT/CN2023/123547
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-24
Filing Date
2023-10-09
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Existing cloud computing technology is difficult to be compatible with traffic monitoring between multiple cloud platforms and non-cloud networks, resulting in tenants' data center network operation and maintenance having low flexibility and low experience.

Method used

Provide a dial test method and device, configure dial test information through the control platform, generate dial test tasks, realize traffic monitoring between different cloud platforms and non-cloud networks, use monitoring hooks to deploy and analyze modules, collect and summarize dial test data , to achieve unified operation and maintenance of multiple platforms.

Benefits of technology

It improves tenants' traffic monitoring flexibility and operation and maintenance convenience for data center networks, improves tenants' experience, and enables unified operation and maintenance of multiple platforms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023123547_29082024_PF_FP_ABST
    Figure CN2023123547_29082024_PF_FP_ABST
Patent Text Reader

Abstract

Provided are an automated testing method, apparatus and system, and a computing device cluster. In embodiments, the method comprises: acquiring automated testing information configured by a user, the automated testing information comprising an identifier of a source instance and an identifier of a destination instance, wherein the source instance is operated on a first platform, the destination instance is operated on a second platform, and the first platform and the second platform belong to different manufacturers; generating an automated testing task on the basis of the automated testing information, wherein the automated testing task is used for instructing the source instance to send automated testing data to the destination instance; and operating the automated testing task, and acquiring automated testing result data from the first platform and the second platform. Therefore, by means of the technical solution provided in the embodiments of the present application, a tenant is enabled to implement unified operation and maintenance of a plurality of platforms in a data center network, the convenience of implementing operation and maintenance on the plurality of platforms in the data center network by the tenant is improved, and the experience of the tenant is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Dial-up testing method, device, system and computing device cluster

[0001] This application claims priority to a Chinese patent application filed with the State Intellectual Property Office of China on February 24, 2023, with application number 202310166595.7 and entitled “Dialing Method, Apparatus, System and Computing Device Cluster,” the entire contents of which are incorporated herein by reference. Technical Field

[0002] The present application relates to the field of cloud computing technology, and in particular to a dialing method, apparatus, system, and computing device cluster. Background Art

[0003] With the popularization of cloud computing and the expansion of data center networks, a tenant can rent resources from multiple cloud computing data centers to achieve different computing purposes. In other words, a tenant's data center network can be composed of cloud resources provided by multiple cloud providers.

[0004] Currently, cloud providers can issue measurement instructions through their own cloud management platforms to monitor the traffic between cloud platforms provided by the cloud providers. However, they are not compatible with monitoring traffic between cloud platforms provided by other cloud providers or non-cloud networks, resulting in low flexibility and poor tenant experience.

[0005] Summary of the Invention

[0006] The embodiments of the present application provide a dialing method, apparatus, system, and computing device cluster, which enable tenants to monitor the traffic between cloud platforms provided by different cloud providers, and the traffic between cloud platforms and non-cloud networks, thereby enabling tenants to monitor the connectivity between various nodes in the tenant's data center network, thereby improving the flexibility of traffic monitoring of the tenant's data center network and enhancing the tenant's experience.

[0007] In a first aspect, an embodiment of the present application provides a dialing test method, applied to a control platform, the method comprising:

[0008] Obtaining user-configured dialing information, the dialing information including an identifier of a source instance and an identifier of a destination instance, wherein the source instance runs on the first platform, the destination instance runs on the second platform, and the first platform and the second platform belong to different manufacturers;

[0009] Generate a dialing test task based on the dialing test information, wherein the dialing test task is used to instruct the source instance to send the dialing test data to the destination instance;

[0010] The dialing test task is run, and dialing test result data is obtained from the first platform and the second platform.

[0011] Here, users are tenants who lease cloud resources from cloud providers.

[0012] In some embodiments, at least one of the first platform and the second platform is a cloud platform.

[0013] In an embodiment of the present application, a user can configure dialing information through a control platform, where the dialing information includes a dialing source instance and a destination instance, and generate a dialing task based on the user-configured source dialing information. When the dialing task is run, the source instance sends dialing data to the destination instance, enabling dialing of two instances on different platforms. During the dialing process, information generated by the dialing data from the source instance to the destination instance can be collected, enabling monitoring of the connectivity between the source and destination instances. In this way, tenants can achieve unified operation and maintenance of multiple platforms in the data center network, improving the convenience of tenants in operating and maintaining multiple platforms in the data center network and enhancing the tenant experience.

[0014] In a possible implementation, the first platform and / or the second platform is a private cloud platform.

[0015] In this way, users can use the private cloud administrator account to uniformly manage multiple platforms in the user's data center network, such as unified operation and maintenance of multiple platforms, thereby improving the convenience of tenants in operating and maintaining multiple platforms in the data center network.

[0016] In a possible implementation, the method further includes:

[0017] receiving a first input from a user;

[0018] According to the first input, a monitoring hook is issued to multiple platforms belonging to the user, where the multiple platforms include the first platform and the second platform, so that the monitoring hook monitors connectivity between instances in the multiple platforms.

[0019] In some examples, the monitoring hook can be a script or code.

[0020] In this way, users can deploy monitoring hooks to multiple platforms through the control platform, thereby monitoring the connectivity between instances in multiple platforms, thereby achieving unified operation and maintenance of multiple platforms and improving the convenience of multi-platform operation and maintenance.

[0021] In a possible implementation, the first input carries an identity identifier, and sending monitoring hooks to multiple platforms belonging to the user based on the first input includes:

[0022] According to the identity identifier, obtaining a monitoring hook corresponding to the identity identifier from a plurality of preset monitoring hooks;

[0023] Send monitoring hooks to the multiple platforms.

[0024] This allows users to configure multiple monitoring hooks in advance. Different monitoring hooks monitor traffic in different ways. Each monitoring hook corresponds to a different identity. The control platform uses the user-entered identity to determine the monitoring hook required from multiple pre-configured monitoring hooks, improving the convenience of unified multi-platform operation and maintenance and the user experience.

[0025] In a possible implementation, the first input includes a monitoring policy, and the monitoring policy is used to indicate a manner in which the monitoring hook monitors data;

[0026] Based on the first input, a monitoring hook is sent to multiple platforms belonging to the user, including:

[0027] According to the monitoring strategy, the monitoring hook is issued to multiple platforms belonging to the user;

[0028] The monitoring strategy at least includes traffic packet capture.

[0029] In this way, users can configure monitoring strategies according to their own needs, so that the control platform can generate monitoring hooks that meet user needs, improving the convenience of unified operation and maintenance of multiple platforms and the user experience.

[0030] In a possible implementation, the monitoring hook includes an identifier of the dialing data, so that the monitoring hook monitors the dialing data according to the data identifier.

[0031] In this way, the monitoring hook can monitor the dial test data according to the data identifier, thereby monitoring the connectivity between the two instances, enabling users to perform unified operation and maintenance on multiple platforms.

[0032] In a possible implementation, the method further includes:

[0033] The dial test result data is aggregated to obtain address information of instances on the traffic path between the instances and fault information on the instances.

[0034] In this way, users can determine whether there is an instance failure between two instances based on the summarized dial test result data, and then perform operation and maintenance on the platform with the failure.

[0035] In a possible implementation, the method further includes:

[0036] The address information and fault information of the instance are displayed, so as to be used for operating and maintaining the instance according to the address information and fault information of the instance.

[0037] In this way, users can intuitively find the instance where the fault occurs, thereby performing unified operation and maintenance on multiple platforms, improving the convenience of data center network operation and maintenance for users.

[0038] In a possible implementation, the dial test information further includes an identifier of the dial test data, and the acquiring of the dial test result data from the first platform and the second platform includes:

[0039] The data carrying the identifier is obtained from the first platform and the second platform, and the dialing test result data is generated.

[0040] In this way, the control platform can monitor the path of the dialing data from the source instance to the destination instance, thereby monitoring the connectivity between the source instance and the destination instance.

[0041] In a second aspect, an embodiment of the present application provides a dialing test device, applied to a control platform, the device comprising:

[0042] an acquisition module, configured to acquire user-configured dialing information, the dialing information including an identifier of a source instance and an identifier of a destination instance, wherein the source instance runs on the first platform, the destination instance runs on the second platform, and the first platform and the second platform belong to different manufacturers;

[0043] A generating module, configured to generate a dialing test task based on the dialing test information, wherein the dialing test task is configured to instruct the source instance to send dialing test data to the destination instance;

[0044] The running module is used to run the dialing test task and obtain the dialing test result data from the first platform and the second platform.

[0045] Here, users are tenants who lease cloud resources from cloud providers.

[0046] In some embodiments, at least one of the first platform and the second platform is a cloud platform.

[0047] In an embodiment of the present application, a user can configure dialing information through a control platform, where the dialing information includes a dialing source instance and a destination instance, and generate a dialing task based on the user-configured source dialing information. When the dialing task is run, the source instance sends dialing data to the destination instance, enabling dialing of two instances on different platforms. During the dialing process, information generated by the dialing data from the source instance to the destination instance can be collected, enabling monitoring of the connectivity between the source and destination instances. In this way, tenants can achieve unified operation and maintenance of multiple platforms in the data center network, improving the convenience of tenants in operating and maintaining multiple platforms in the data center network and enhancing the tenant experience.

[0048] In a possible implementation, the first platform and / or the second platform is a private cloud platform.

[0049] In this way, users can use the private cloud administrator account to uniformly manage multiple platforms in the user's data center network, such as unified operation and maintenance of multiple platforms, thereby improving the convenience of tenants in operating and maintaining multiple platforms in the data center network.

[0050] In a possible implementation, the apparatus further includes:

[0051] A receiving module, configured to receive a first input from a user;

[0052] A deployment module is used to send monitoring hooks to multiple platforms belonging to the user based on the first input, and the multiple platforms include the first platform and the second platform, so that the monitoring hooks can monitor the traffic of the multiple platforms.

[0053] In some examples, the monitoring hook can be a script or code.

[0054] In this way, users can deploy monitoring hooks to multiple platforms through the control platform, thereby monitoring the connectivity between instances in multiple platforms, thereby achieving unified operation and maintenance of multiple platforms and improving the convenience of multi-platform operation and maintenance.

[0055] In a possible implementation, the first input carries an identity identifier, and the deployment module is configured to:

[0056] According to the identity identifier, obtaining a monitoring hook corresponding to the identity identifier from a plurality of preset monitoring hooks;

[0057] Send monitoring hooks to the multiple platforms.

[0058] This allows users to configure multiple monitoring hooks in advance. Different monitoring hooks monitor traffic in different ways. Each monitoring hook corresponds to a different identity. The control platform uses the user-entered identity to determine the monitoring hook required from multiple pre-configured monitoring hooks, improving the convenience of unified multi-platform operation and maintenance and the user experience.

[0059] In a possible implementation, the first input includes a monitoring policy, and the monitoring policy is used to indicate a manner in which the monitoring hook monitors data;

[0060] The deployment module is used to send the monitoring hook to multiple platforms belonging to the user according to the monitoring strategy;

[0061] The monitoring strategy at least includes traffic packet capture.

[0062] In this way, users can configure monitoring strategies according to their own needs, so that the control platform can generate monitoring hooks that meet user needs, improving the convenience of unified operation and maintenance of multiple platforms and the user experience.

[0063] In a possible implementation, the monitoring hook includes an identifier of the dialing data, so that the monitoring hook monitors the dialing data according to the data identifier.

[0064] In this way, the monitoring hook can monitor the dial test data according to the data identifier, thereby monitoring the connectivity between the two instances, enabling users to perform unified operation and maintenance on multiple platforms.

[0065] In a possible implementation, the apparatus further includes:

[0066] The analysis module is used to summarize the dial test result data to obtain the address information of the instances on the traffic path between the instances and the fault information of the instances.

[0067] In this way, users can determine whether there is an instance failure between two instances based on the summarized dial test result data, and then perform operation and maintenance on the platform with the failure.

[0068] In a possible implementation, the apparatus further includes:

[0069] The display module is used to display the address information and fault information of the instance, so as to be used for operating and maintaining the instance according to the address information and fault information of the instance.

[0070] In this way, users can intuitively find the instance where the fault occurs, thereby performing unified operation and maintenance on multiple platforms, improving the convenience of data center network operation and maintenance for users.

[0071] In a possible implementation, the dial test information further includes an identifier of the dial test data, and the operation module is configured to obtain data carrying the identifier from the first platform and the second platform to generate the dial test result data.

[0072] In this way, the control platform can monitor the path of the dialing data from the source instance to the destination instance, thereby monitoring the connectivity between the source instance and the destination instance.

[0073] In a third aspect, an embodiment of the present application provides a dial testing system, the system comprising a control platform, a first platform, and a second platform;

[0074] The control platform is used to execute the method provided in the first aspect or any possible implementation manner of the first aspect to monitor the traffic between the first platform and the second platform.

[0075] In a fourth aspect, an embodiment of the present application provides a computing device cluster, comprising at least one computing device, each computing device comprising a processor and a memory;

[0076] The processor of the at least one computing device is configured to execute instructions stored in a memory of the at least one computing device, so that the computing device cluster executes the method provided in the first aspect or any possible implementation manner of the first aspect.

[0077] In a fifth aspect, an embodiment of the present application provides a dialing device, characterized in that the device runs computer program instructions to perform the method provided in the first aspect or any possible implementation of the first aspect. Exemplarily, the device can be a chip or a processor.

[0078] In one example, the apparatus may include a processor, which may be coupled to a memory, read instructions from the memory, and execute the method provided in the first aspect or any possible implementation of the first aspect according to the instructions. The memory may be integrated into a chip or processor, or may be independent of the chip or processor.

[0079] In a sixth aspect, an embodiment of the present application provides a computer storage medium, in which instructions are stored. When the instructions are executed on a computer, the computer executes the method provided in the first aspect or any possible implementation of the first aspect.

[0080] In a seventh aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method provided in the first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0081] FIG1 is a system architecture diagram of a cloud computing data center provided by an embodiment of the present application;

[0082] FIG2 is a system architecture diagram of a data center network provided in an embodiment of the present application;

[0083] FIG3 is a system architecture diagram of a dial test system provided in an embodiment of the present application;

[0084] FIG4 is a flow chart of a dialing test method provided in an embodiment of the present application;

[0085] FIG5a is a schematic diagram showing an exemplary structure of a dialing and testing system provided in an embodiment of the present application;

[0086] FIG5 b is a schematic diagram illustrating an exemplary structure of a dialing and testing system provided in an embodiment of the present application;

[0087] FIG6 is a flow chart of a method for determining a path failure between instances provided in an embodiment of the present application;

[0088] 7 is a schematic diagram of a transmission path of dial test data provided in an embodiment of the present application;

[0089] FIG8 is a schematic diagram of a dialing test method executed by a dialing test system provided in an embodiment of the present application.

[0090] FIG9 is a flow chart of another dialing method provided in an embodiment of the present application;

[0091] FIG10 is a schematic diagram of an interface provided in an embodiment of the present application;

[0092] FIG11 is a structural diagram of a dialing and testing device provided in an embodiment of the present application;

[0093] FIG12 is a schematic diagram of the structure of a computing device provided in an embodiment of the present application;

[0094] FIG13 is a schematic diagram of the structure of a computing device cluster provided in an embodiment of the present application;

[0095] FIG14 is a schematic diagram of the structure of another computing device cluster provided in an embodiment of the present application. DETAILED DESCRIPTION

[0096] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.

[0097] In the description of the embodiments of the present application, words such as "exemplary," "for example," or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary," "for example," or "for example" in the embodiments of the present application should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary," "for example," or "for example" is intended to present the relevant concepts in a concrete manner.

[0098] In the description of the embodiments of this application, the term "and / or" is simply a description of the association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent the following three situations: A exists alone, B exists alone, and A and B exist at the same time. In addition, unless otherwise specified, the term "plurality" means two or more. For example, "multiple systems" refers to two or more systems, and "multiple terminals" refers to two or more terminals.

[0099] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly identifying the technical features being referred to. Thus, features specified as "first" or "second" may explicitly or implicitly include one or more of such features. The terms "include," "comprising," "having," and their variations all mean "including but not limited to," unless otherwise specifically emphasized.

[0100] The following is an explanation of some of the terms used in this embodiment. It should be noted that these explanations are for the purpose of facilitating understanding by those skilled in the art and are not intended to limit the scope of protection claimed by the present invention.

[0101] Cloud users: Cloud users are organizations (such as operators, enterprises, institutions, etc.) or individuals. Cloud users agree with cloud platform providers to use the Internet Technology (IT) resources available in the cloud platform. They are also called tenants.

[0102] Cloud network: Cloud network is a cloud-centric virtualized network infrastructure for cloud users.

[0103] Connectivity: If two nodes can be reached from one node to another regardless of the number of steps between them, then the two nodes are connected.

[0104] Cloud provider: A cloud provider is an organization that owns IT resources and can provide them to tenants for leasing.

[0105] Reachability: Reachability refers to the connectivity of traffic from one node to another.

[0106] Dial test data: data generated when executing a dial test task.

[0107] FIG1 is a system architecture diagram of a cloud computing data center provided by an embodiment of the present application. As shown in FIG1 , a cloud computing data center 10 includes at least one computing device 11 and a cloud network device 12 .

[0108] The computing device may be a server or other device. In some embodiments, the server involved in the embodiments of the present application may be a hardware server or a virtual server embedded in a virtualized environment. For example, the server involved in the embodiments of the present application may be a virtual machine (VM) executed on a hardware server that includes one or more other virtual machines.

[0109] As shown in Figure 1, each computing device may include a computing node 101 and / or a network node 102. In some embodiments, one computing device includes a computing node and another computing device includes a network node. In other embodiments, the computing device includes both a computing node and a network node.

[0110] Compute nodes form the core of a cloud computing data center, providing computing, memory, and other resources for running instances. A compute node includes at least one instance, such as a virtual machine. In other scenarios, instances can be containers, bare metal servers, and so on. For example, as shown in Figure 1, a compute node includes VM1 and VM2. The compute node also includes network cards (NICs). These NICs include a virtual NIC 101-1 and a physical NIC 101-2. Compute nodes communicate with network nodes in the cloud computing data center through physical NICs. Virtual NICs correspond to virtual machines, which communicate with various modules in the compute node through these NICs.

[0111] A network node is used to provide network resources for running instances. In some embodiments, a network node may include at least one network element, such as a switch. A network element can be a physical network element, such as a physical switch, or a virtual network element embedded in a virtualized environment, such as a virtual switch. A network node is used to enable communication between different computing nodes.

[0112] The cloud network device is used to communicate with the Internet 13, so that tenants can access the cloud computing data center through the Internet through the client 14. For example, as shown in Figure 1, the cloud network device may include a physical switch 12-1, a cloud computing data center 12-2, and a router 12-3.

[0113] In some embodiments, the cloud computing data center also includes nodes such as storage nodes and cloud management platforms. Among them, the storage node can be a node for providing storage resources. The cloud management platform is used to provide an access interface (such as an interface or API). The tenant can operate the client remote access access interface to register a cloud account and password on the cloud management platform and log in to the cloud management platform. After the cloud management platform successfully authenticates the cloud account and password, the tenant can further pay to select and purchase a virtual machine with specific specifications (processor, memory, disk) on the cloud management platform. After the payment is successfully purchased, the cloud management platform provides the remote login account and password of the purchased virtual machine. The client can remotely log in to the virtual machine and install and run the tenant's application in the virtual machine.

[0114] With the prevalence of cloud computing and the expansion of data center networks, a tenant can rent resources from multiple cloud computing data centers to achieve different computing goals. Here, each cloud platform in the data center network is the tenant's private cloud. As shown in Figure 2, a tenant's data center network 20 can be a system composed of multiple cloud platforms, such as cloud platform A and cloud platform B, and a non-cloud network 201. Nodes in multiple cloud platforms can communicate via the network. Currently, monitoring the connectivity between instances in multiple cloud platforms and non-cloud networks is a key area of ​​focus for tenants performing network operations and maintenance. However, because a tenant's data center network includes multiple cloud platforms and non-cloud networks, the dial-up testing solutions used in related technologies, which operate by issuing measurement instructions and collecting measurement information through the control plane of a single cloud platform, are incompatible with the connectivity between instances in the tenant's other cloud platforms and non-cloud networks. This, in turn, prevents tenants from performing unified operations and maintenance of their data center network, resulting in low flexibility and a poor user experience.

[0115] Based on this, an embodiment of the present application provides a dialing test method, which enables the tenant to configure the dialing test information, that is, the source instance and destination instance of the dialing test, through a control platform belonging to the tenant side. The source instance and the destination instance run on different platforms respectively, and the manufacturers of the platforms where the source instance and the destination instance are located are different. In this way, the control platform can perform dialing tests on the source instance and the destination instance based on the dialing test information, thereby obtaining the information generated by the dialing test data from the source instance to the destination instance during the dialing test process, and thus monitor the connectivity between the source instance and the destination instance based on the information. In this way, the unified operation and maintenance of multiple platforms in the data center network by tenants can be realized, which improves the convenience of tenants in operating and maintaining multiple platforms in the data center network and improves the tenant experience.

[0116] Next, we introduce a dialing test system to which the dialing test method provided in an embodiment of the present invention may be applied. Figure 3 shows a schematic diagram of the architecture of a dialing test system provided in an embodiment of the present application. As shown in Figure 3, the dialing test system provided in an embodiment of the present application includes cloud platform A, cloud platform B, non-cloud network C, and other platforms.

[0117] Cloud Platform A, Cloud Platform B, and non-cloud network C are all part of the same tenant's data center network. Cloud Platform A and Cloud Platform B are cloud computing data centers provided by different cloud providers, such as different enterprises. The specific architectures of Cloud Platform A and Cloud Platform B can be found in the data center network description in Figure 1 and will not be further described here.

[0118] In order to uniformly perform network operation and maintenance on cloud platform A, cloud platform B, and non-cloud networks, thereby monitoring the connectivity between the two instances, the dialing test system provided in the embodiment of the present application further includes a control platform 30.

[0119] As shown in FIG3 , the control platform includes a display module 30 - 1 , a dialing test task management module 30 - 2 , a monitoring hook deployment module 30 - 3 and a dialing test result analysis module 30 - 4 .

[0120] The display module is used to display the path information of the dialing data between two instances and the connectivity between the two nodes to the tenant. In some embodiments, the display module allows the tenant to orchestrate monitoring hooks and configure their monitoring policies, such as the nodes to capture packets. The two nodes can belong to the same cloud platform, different cloud platforms, or one node belongs to the cloud platform and the other to a non-cloud network.

[0121] In some embodiments, the display module can be a terminal with a display, such as a computer or a mobile phone. A client is installed on the terminal, and tenants can use the client to call interfaces to access various modules in the control platform, such as the monitoring hook deployment module and the dial test result analysis module.

[0122] In this embodiment, as one possible implementation, the dial test task management module, monitoring hook deployment module, and dial test result analysis module in the control platform can be deployed in a cloud platform, such as Cloud Platform B. The display module is deployed in a terminal capable of communicating with the cloud platform. As another possible implementation, the entire control platform is deployed in the terminal. In addition to the aforementioned control platform deployment methods, other possible control platform deployment methods may also be included, which are not specifically limited in this embodiment of the application.

[0123] The monitoring hook deployment module is used to send monitoring hooks to nodes in the cloud platform or non-cloud network, thereby deploying the monitoring hooks on the nodes in the cloud platform or non-cloud network.

[0124] The dial test task management module is used to formulate dial test tasks and send them to the dial test task management module deployed on the cloud platform or non-cloud network.

[0125] The dial test result analysis module is used to receive the dial test path information reported by the cloud platform or non-cloud network, and integrate the dial test path information in each cloud platform or non-cloud network to generate complete traffic path information across cloud or non-cloud environments, analyze the traffic path information, and provide demarcation and positioning information for the fault information.

[0126] It should be noted that the dialing test task management module 30-2, monitoring hook deployment module 30-3, and dialing test result analysis module 30-4 in the control platform can be deployed in the node or on an instance in the node. In some embodiments, the dialing test task management module 30-2, monitoring hook deployment module 30-3, and dialing test result analysis module 30-4 in the control platform can be process-level services.

[0127] In some embodiments, to enable the control platform to uniformly monitor connectivity between instances on the cloud platform and non-cloud networks, both the cloud platform and the non-cloud network include a monitoring hook management module and a dial test data analysis module. The monitoring hook management module is configured to receive monitoring hooks issued by the control platform and deploy corresponding monitoring hooks on nodes on the cloud platform or non-cloud network. Furthermore, the monitoring hook management module is configured to receive dial test tasks issued by the control platform and dispatch them to monitoring hooks deployed on nodes along the traffic path. A traffic path, in this context, refers to the path formed by the instances through which traffic must pass to reach another instance.

[0128] The dial test data analysis module is used to collect the information generated when the dial test data captured by the monitoring hook passes through the instance, aggregate the information within the platform, and report the aggregated information to the control platform, that is, report the dial test result data.

[0129] Monitoring hooks are used to construct dial test data based on dial test tasks. The dial test data is injected from the source instance, passes through the instance, and reaches the destination instance. Monitoring hooks are deployed on each node along the traffic path to monitor the dial test data passing through the node.

[0130] In some embodiments, the dial test data includes multiple packets. According to the amount of dial test data passing through the node and the amount of dial test data actually constructed, it is determined whether packet loss occurs at the node.

[0131] In an embodiment of the present application, the monitoring hook can also monitor the physical switch in the platform. Specifically, the function of the physical switch can be realized by enabling the Layer 3 remote port mirroring (Encapsulated Remote Switch Port Analyzer, ERSPAN) function of the physical switch.

[0132] The above is a brief overview of the multi-platform inter-instance dialing system provided by the embodiments of the present application. Next, taking the connectivity between VM-A1 on cloud platform A and VM-B1 on cloud platform B in Figure 3 as an example, in conjunction with Figures 5a and 5b, the dialing method performed by the dialing system provided by the embodiments of the present application is described in detail.

[0133] Figure 4 is a flow chart of a dialing test method provided in an embodiment of the present application. As shown in Figure 4, the dialing test method provided in an embodiment of the present application includes the following steps S401 to S410.

[0134] S401, the control platform displays the arrangement interface of the monitoring hook through the display module.

[0135] Tenants can operate on the display module to call the interface provided by the control platform, and then the display module displays the monitoring hook layout interface. The monitoring hook is used to indicate the data that needs to be monitored. In the embodiment of the present application, the data that the monitoring hook needs to monitor is dial test data.

[0136] In some embodiments, the monitoring hook can be viewed as a strategy for monitoring dial test data, wherein during the execution of the strategy, operations to be performed include packet capture of the dial test data, information to be captured, and the flow of the captured information.

[0137] As a possible implementation, the monitoring hook can be code or a script. For example, while the code is running, it can capture the dialing data of the instance, thereby obtaining information (such as the ID of the node where the instance is located and the ID of the port where the packet is captured), and send the obtained information to the control platform.

[0138] S402: The control platform determines the monitoring hook.

[0139] Monitoring hooks can be selected or arranged by tenants according to their own needs, so that they can monitor dial test data, such as capturing packets of dial test data.

[0140] As a possible implementation method, the monitoring hook orchestration interface can display multiple preset monitoring hooks, and the tenant can select a monitoring hook that meets the needs from the multiple preset monitoring hooks.

[0141] As another possible implementation, tenants can use the orchestration interface to input the information required to orchestrate a monitoring hook based on their needs. The control platform then generates the monitoring hook based on this information. Specifically, the tenant can use the orchestration interface to input the node identifier, monitoring policy, and identifier of the data to be monitored. The monitoring policy refers to how the monitoring hook monitors dial data, such as capturing data packets as it passes through an instance.

[0142] Here, the data identifier may be an identity identifier of the dialing test data, an identity identifier of the dialing test task, or a name of the dialing test task.

[0143] As shown in the orchestration interface of Figure 5a, the tenant inputs the identification of the dial test data through the identification control 51. Here, the monitoring hook can monitor whether the data passing through the instance is the dial test data through the identification.

[0144] S403, the control platform sends the monitoring hook to nodes in multiple platforms in the tenant's data center network.

[0145] As a possible implementation, monitoring hooks can be deployed on instances in nodes across all platforms in a tenant's data center network. For example, as shown in Figure 5a, the control platform sends monitoring hooks to all virtual machines in cloud platform A and cloud platform B, namely VM-A1, VM-A2, VM-A3, VM-B1, VM-B2, and VM-B3.

[0146] Monitoring hooks are deployed on each node to monitor the dial test data passing through the node, thereby obtaining information generated as the dial test data passes through the node, such as the ID of the instance through which the dial test data passes. The control platform can collect the information obtained by the monitoring hooks and perform statistical analysis on the information from different platforms to determine the connectivity between instances.

[0147] As a possible implementation, the monitoring hook can capture dial test data from the network card on the instance and the network card on the node. For example, as shown in Figure 5b, monitoring hook 1 can capture dial test data from the network card on VM-A1 and the network card on the computing node.

[0148] The above S401 to S403 is a pre-set process, which requires deploying monitoring hooks on nodes in multiple platforms so that the control platform can monitor the dial test data during the execution of the dial test task based on the monitoring hooks. Next, the execution process of the dial test task is described in detail.

[0149] S404: The control platform displays a deployment interface of the dialing test task through a display module.

[0150] Tenants can use the display module to create a dialing task. A dialing task indicates the starting and ending environments of the dialing data, for example, the instance that serves as the starting point of the dialing data and the instance that serves as the end point of the dialing data.

[0151] The dial test task deployment interface displays the required information for tenants, such as the starting and ending environments for the test data. Tenants enter the instance identifier and other information for the instance they wish to test, including the source IP address, destination IP address, source port, destination port, and communication protocol.

[0152] For example, as shown in Figure 3, a tenant needs to measure the connectivity between VM-A1 in cloud platform A and VM-B1 in cloud platform B. VM-A1 in cloud platform A is the source instance, and VM-B1 in cloud platform B is the destination instance. The tenant uses the deployment interface to enter the IP addresses of VM-A1 and VM-B1 in cloud platform A and B, as well as the port addresses of VM-A1 and VM-B1 and the communication protocol between VM-A1 and VM-B1.

[0153] S405: The control platform receives task information input by the tenant through the display module.

[0154] S406: The control platform generates a dialing test task according to the task information.

[0155] S407: The control platform sends a dialing test task to the monitoring hook corresponding to the source instance indicated by the starting environment.

[0156] The source instance is the starting point for executing a dial test task. A dial test task includes task-related information, such as the starting and ending environments of the test data. For example, this information includes the source IP address, destination IP address, source port, destination port, communication protocol, and the network card used to capture the test data.

[0157] S408: The monitoring hook corresponding to the source instance sends the dialing test data to the source instance according to the dialing test task.

[0158] S409: The source instance sends the dialing data to the destination instance.

[0159] S410: The destination instance sends a confirmation message to the source instance according to the dialing data.

[0160] The dial test data can be traffic generated by at least one message. Specifically, the monitoring hook generates the dial test data based on task-related information within the dial test task. To enable monitoring hooks on other platforms to monitor the dial test data, the dial test data can also be colored, for example, by including an identifier of the dial test data carried by the monitoring hook within the dial test data. For example, the dial test data may include the name of the dial test task or the identity of the dial test data.

[0161] As shown in Figure 5b, the tenant enters information about the starting environment through control 53, information about the ending environment through control 54, and the communication protocol between the starting and ending environments through control 55, such as VM-A1's IP address, the address of the network card on VM-A1, VM-B1's IP address, the address of the network card on VM-B1, and the communication protocol between VM-A1 and VM-B1. The control platform generates a dialing task, which includes VM-A1's IP address, the address of the network card on VM-A1, VM-B1's IP address, the address of the network card on VM-B1, and the communication protocol between VM-A1 and VM-B1. Based on VM-A1's IP address, the control platform sends the dialing task to monitoring hook 1 corresponding to VM-A1.

[0162] Monitoring hook 1 constructs the dial test data based on the start and end environment information in the dial test task, applies color to the data, and adds the dial test data identifier from the monitoring hook to the data. Virtual machine VM-A1 sends the dial test data. The data flows from virtual machine VM-A1 to virtual machine VM-B1.

[0163] In some embodiments, to monitor whether a node is faulty, dialing data can be sent from a source instance to a destination instance via multiple messages, thereby determining whether a node has experienced a fault such as packet loss based on the number of messages received by the node. For detailed descriptions, please refer to the description of the embodiment corresponding to FIG6 below.

[0164] When the dial test data is sent from the source instance to the destination instance by multiple messages, the monitoring hook can color each dial test message.

[0165] During the transmission of dial test data, monitoring hooks in the nodes it passes through can monitor the data. These monitoring hooks obtain information and report it to the control platform. The control platform uses this information to determine faults in the paths between instances. The following describes the method for determining faults in the paths between instances.

[0166] Figure 6 is a flow chart of a method for determining path failures between instances provided in an embodiment of the present application. The method for determining path failures between instances provided in an embodiment of the present application can be applied to the dial-test system shown in Figure 3. As shown in Figure 6, the method for determining path failures between instances provided in an embodiment of the present application includes steps S601 to S605.

[0167] S601: The monitoring hook captures dial test data to obtain first dial test information.

[0168] The first dial test information is used to indicate the time when the monitoring hook captures the dial test data, the amount of the captured dial test data, the identifier of the instance through which the dial test data passes, and the like.

[0169] For example, as shown in Figure 5b, the dial test data passes through the virtual machine VM-A2, the monitoring hook 2 captures the message ID as message 1, the time of capturing message 1 is 1657953711530, and the number of messages captured with the message ID as message 1 is 8. Then the first dial test information is shown in Table 1.

[0170] Table 1

[0171] Here, only some of the monitoring hooks in all nodes can capture the dial test data. For example, as shown in Figure 7, after the dial test data flows out of virtual machine VM-A1, it passes through virtual machines VM-A2, VM-A3, and VM-B3 to reach virtual machine VM-B1. Monitoring hooks 1 through 6 all monitor data in real time, but only the monitoring hooks in the nodes where virtual machines VM-A1 through VM-A3, VM-B3, and VM-B1 reside (i.e., monitoring hooks 1 through 3, 4, and 6) can capture the dial test data.

[0172] S602: The platform integrates the first dial test information to obtain second dial test information.

[0173] The platform includes multiple nodes, and the dial test data may pass through at least one node in a platform. In the case where the dial test data passes through multiple nodes in a platform, there are multiple first dial test information.

[0174] For example, as shown in Figure 7, the dial test data passes through two nodes in cloud platform B, namely the nodes where monitoring hook 4 and monitoring hook 6 are located. The first dial test information obtained by monitoring hook 4 is shown in Table 2, and the first dial test information obtained by monitoring hook 6 is shown in Table 3.

[0175] Table 2

[0176] Table 3

[0177] In some embodiments, as shown in Figure 8, monitoring hook 4 reports the obtained first dial test information to the dial test data analysis module, and monitoring hook 6 reports the obtained first dial test information to the dial test data analysis module. The dial test data analysis module integrates the two first dial test information to obtain second dial test information.

[0178] For example, after the dial test data analysis module integrates the information in Table 2 and Table 3, the second dial test information obtained is shown in Table 4.

[0179] Table 4

[0180] In some embodiments, the second dial test information may also include

[0181] S603: The platform reports the second dial test information to the control platform.

[0182] S604: The control platform analyzes the second dial test information to obtain dial test result information.

[0183] S605: The control platform displays the dialing test result information.

[0184] The dial test result information is used to indicate the dial test path from the source instance to the destination instance, the node where packet loss occurs, the time when the dial test data enters and exits the platform, the delay of the node transmitting the dial test data, the delay of the path transmitting data, and the path where packet loss occurs.

[0185] The control platform can collect the second dial test information from multiple platforms, integrate and analyze the second dial test information from multiple platforms, and thus obtain information such as the transmission path of the dial test data, the node where packet loss occurs, and the time when the dial test data enters and leaves the platform.

[0186] For example, as shown in Figure 8, the dial test data is divided into 10 packets and sent from virtual machine VM-A1 to virtual machine VM-B1. Among them, monitoring hook 6 captures 8 packets of message 1 and 10 packets of message 2. Therefore, the dial test result analysis module in the control platform determines that the node where monitoring hook 6 is located has experienced packet loss.

[0187] As another example, as shown in Figure 8, the dial test data is divided into 10 packets and sent from virtual machine VM-A1 to virtual machine VM-B1. Monitoring hooks 1, 2, 4, and 6 all capture 10 packets 1, and monitoring hook 6 captures 8 packets 1. The dial test result analysis module in the control platform determines that node A-3 has experienced packet loss.

[0188] In another example, the cloud platform includes two master nodes, i.e., master-master nodes. During the execution of the dial test task, if the dial test data only passes through one of the master nodes and not the other, then the other master node is abnormal.

[0189] The above is an exemplary description of the dial testing method performed by the dial testing system. Next, based on the dial testing system and the dial testing method described in the above embodiments, another dial testing method provided by the embodiments of the present application is described in detail.

[0190] Figure 9 is a flow chart of a dialing test method provided in an embodiment of the present application. The dialing test method provided in an embodiment of the present application can be applied to the control platform of the dialing test system corresponding to Figure 3. As shown in Figure 9, the dialing test method provided in an embodiment of the present application includes the following steps S901 to S903.

[0191] S901: Acquire user-configured dialing information, where the dialing information includes an identifier of a source instance and an identifier of a destination instance. The source instance runs on a first platform, and the destination instance runs on a second platform. The first platform and the second platform belong to different manufacturers.

[0192] S902: Generate a dialing test task based on the dialing test information. The dialing test task is used to instruct the source instance to send dialing test data to the destination instance.

[0193] The dialing information is used to indicate the starting environment and the ending environment for the dialing task. The dialing information includes the identifiers of the source instance and the destination instance, such as the IP address of the source instance and the IP address of the destination instance. For example, the dialing information may be the task information described in S406.

[0194] In the embodiments of the present application, the control platform is a user-facing platform. Users can use the control platform to configure dialing information for multiple platforms in their data center network. It should be noted that the users involved in the embodiments of the present application refer to cloud users, i.e., tenants described in the embodiments corresponding to Figures 4 to 8.

[0195] In some embodiments, the control platform has a human-computer interaction function, and the user configures the dialing information through human-computer interaction with the control platform. As shown in the deployment interface of Figure 5b, the user can configure the dialing information through the deployment interface. For details, please refer to the detailed description of S404 in the embodiment corresponding to Figure 4, which will not be repeated here.

[0196] In the embodiment of the present application, the first platform and the second platform are both platforms in the user's data center network, such as cloud platform A, cloud platform B, and non-cloud network C shown in Figure 3. The first platform and the second platform belong to different vendors. For example, the cloud provider of cloud platform A is A, and the cloud provider of cloud platform B is B.

[0197] In some embodiments, the first platform and / or the second platform is a private cloud platform.

[0198] The dial test data can be divided into at least one message and sent from the source instance to the destination instance. The dial test task can refer to the identifiers of the source instance and the destination instance. For details of S902, please refer to the detailed description of S406 in the embodiment corresponding to Figure 4, and will not be repeated here.

[0199] S903: Run the dial test task and obtain dial test result data from the first platform and the second platform.

[0200] After the control platform generates a dial test task, it can run the dial test task.

[0201] As one possible implementation, running a dial test task can mean that after the control platform generates a dial test task, the display module prompts the user whether to perform the dial test and displays a confirmation control. As shown in Figure 10, the interface displays the message "Do you want to perform the dial test?" and displays controls 1001 and 1002. If the user clicks control 1001, the user confirms the dial test, and the control platform issues the dial test task to the monitoring hook in the node where the source instance resides. If the user clicks control 1002, the user cancels the dial test.

[0202] As another possible implementation method, after the control platform generates the dial test task, it directly sends the dial test task to the monitoring hook in the node where the source instance is located.

[0203] In this embodiment of the present application, after the dial test task is assigned to the monitoring hook, the monitoring hook constructs the dial test data. The source instance then sends the dial test data to the destination instance, completing the dial test. During the dial test, the monitoring hooks in the nodes through which the dial test data passes can monitor the dial test data and obtain the dial test result data. The detailed process can be found in the detailed description of S601 to S603 in the embodiment corresponding to FIG6 , and will not be further elaborated here.

[0204] In the embodiment of the present application, after the control platform runs the dial test task, it can obtain the dial test result data from at least the first platform and the second platform.

[0205] In some embodiments, the dial test information carries an identifier of the dial test data, such as the dial test data ID, the name of the dial test data, or the name of the dial test task. The dial test data carries the identifier of the dial test data. As the dial test data passes through the platform, a monitoring hook in the platform can monitor the dial test data based on the identifier in the dial test data, thereby obtaining data carrying the identifier of the dial test data. The first platform and the second platform can upload the data carrying the identifier of the dial test data to the control platform. After obtaining the data carrying the identifier of the dial test data reported by the platform, the control platform analyzes and organizes the data to generate dial test result data.

[0206] It should be noted that the dial test result data generated by different platforms are different.

[0207] In the embodiment of the present application, during the dial test process, when the first platform transmits the dial test data to the second platform, the dial test data may pass through other platforms or directly reach the second platform from the first platform. In the case where the dial test data needs to pass through other platforms, the control platform can also obtain the dial test result data from the other platforms.

[0208] The specific process of the control platform obtaining the dial test result data can be found in the detailed description of S601 to S603 in the embodiment corresponding to FIG6 , wherein the dial test result data is equivalent to the second dial test information recorded in S601 to S603 and will not be described in detail here.

[0209] In some embodiments, the control platform aggregates the dial test result data from all platforms to obtain the address information of the instances on the traffic path between the instances and the fault information of the instances. For details, please refer to the detailed description of S604 and S605 in the embodiment corresponding to Figure 6, which will not be repeated here.

[0210] In some embodiments, the control platform can also display the address information and fault information of the instance, so that the operation and maintenance staff on the user side can perform operation and maintenance on the failed instance or platform.

[0211] In some embodiments, before S901, a monitoring hook pre-setting process is also included. Specifically, the control platform can receive a first input from the user and, based on the first input, send a monitoring hook to multiple platforms belonging to the user, the multiple platforms including the first platform and the second platform, so that the monitoring hook can monitor traffic on the multiple platforms.

[0212] Specifically, the control platform can display a monitoring hook arrangement interface, as shown in FIG5a, through which the user can input information for arranging the monitoring hook, such as the identification of the dialing data.

[0213] As a possible implementation, the first input may further include an identity identifier, which is the identity identifier of the monitoring hook desired by the user. The control platform may pre-set multiple monitoring hooks. The control platform determines the monitoring hook corresponding to the identity identifier from among the pre-set monitoring hooks based on the identity identifier, and distributes the monitoring hook corresponding to the identity identifier to each node in the multiple platforms.

[0214] In another possible implementation, the first input includes a monitoring policy, which indicates how the monitoring hook monitors data, such as monitoring the hook by capturing packets. The monitoring policy may also indicate other functions of the monitoring hook, such as the information to be captured when monitoring the dial test data and the identifier of the monitored dial test data.

[0215] The control platform generates a monitoring hook according to the method of monitoring dial test data indicated by the monitoring policy.

[0216] In the embodiment of the present application, the monitoring hook includes a representation of the dial test data, such as an ID of the dial test data, an ID of the dial test task, or a name of the dial test task, etc. The monitoring hook monitors the dial test data according to the ID of the dial test data, such as capturing packets of the dial test data.

[0217] According to an embodiment of the present application, a control platform belonging to the tenant side is used to enable the tenant to configure the dialing information, that is, the source instance and destination instance of the dialing. The source instance and the destination instance run on different platforms, and the platforms where the source instance and the destination instance are located are manufactured by different manufacturers. In this way, the control platform can perform dialing on the source instance and the destination instance based on the dialing information, thereby obtaining the information generated by the dialing data from the source instance to the destination instance during the dialing process, and thus monitor the connectivity between the source instance and the destination instance based on the information. In this way, the unified operation and maintenance of multiple platforms in the data center network by tenants can be achieved, which improves the convenience of tenants in operating and maintaining multiple platforms in the data center network and improves the tenant experience.

[0218] Based on the same concept as the embodiment of the method of the present invention, the embodiment of the present invention also provides a dialing device. The dialing device includes several modules, each of which is used to perform each step of the personal information identification method provided in the embodiment of the present invention. The division of modules is not limited herein. Those skilled in the art will clearly understand that in actual applications, the steps of the dialing method provided in the embodiment of the present invention can be assigned to different modules as needed, that is, the internal structure of the device can be divided into different modules to perform all or part of the functions described above. The modules in the embodiment can be integrated into a single processing unit, each unit can exist physically separately, or two or more modules can be integrated into a single unit. The integrated unit can be implemented in the form of hardware or software functional units. In addition, the specific names of the modules are only for the purpose of distinguishing them from each other and are not intended to limit the scope of protection of the present invention. The specific working processes of the modules in the above-mentioned device can refer to the corresponding processes in the aforementioned method embodiment and will not be repeated here.

[0219] For example, the dialing test device is used to perform the dialing test method provided by the embodiment of the present invention. FIG11 is a structural diagram of the dialing test device provided by the embodiment of the present application. As shown in FIG11, the dialing test device provided by the embodiment of the present application includes:

[0220] An acquisition module 1101 is configured to acquire user-configured dialing information, the dialing information including an identifier of a source instance and an identifier of a destination instance, wherein the source instance runs on a first platform and the destination instance runs on a second platform, and the first platform and the second platform belong to different manufacturers;

[0221] A generating module 1102 is configured to generate a dialing test task based on the dialing test information, where the dialing test task is configured to instruct the source instance to send dialing test data to the destination instance.

[0222] The running module 1103 is used to run the dialing test task and obtain the dialing test result data from the first platform and the second platform.

[0223] Here, users are tenants who lease cloud resources from cloud providers.

[0224] In some embodiments, at least one of the first platform and the second platform is a cloud platform.

[0225] In an embodiment of the present application, a user can configure dialing information through a control platform, where the dialing information includes a dialing source instance and a destination instance, and generate a dialing task based on the user-configured source dialing information. When the dialing task is run, the source instance sends dialing data to the destination instance, enabling dialing of two instances on different platforms. During the dialing process, information generated by the dialing data from the source instance to the destination instance can be collected, enabling monitoring of the connectivity between the source and destination instances. In this way, tenants can achieve unified operation and maintenance of multiple platforms in the data center network, improving the convenience of tenants in operating and maintaining multiple platforms in the data center network and enhancing the tenant experience.

[0226] In a possible implementation, the first platform and / or the second platform is a private cloud platform.

[0227] In this way, users can use the private cloud administrator account to uniformly manage multiple platforms in the user's data center network, such as unified operation and maintenance of multiple platforms, thereby improving the convenience of tenants in operating and maintaining multiple platforms in the data center network.

[0228] In a possible implementation, the apparatus further includes:

[0229] A receiving module, configured to receive a first input from a user;

[0230] A deployment module is used to send monitoring hooks to multiple platforms belonging to the user according to the first input, and the multiple platforms include a first platform and a second platform, so that the monitoring hooks can monitor traffic on the multiple platforms.

[0231] In some examples, the monitoring hook can be a script or code.

[0232] In this way, users can deploy monitoring hooks to multiple platforms through the control platform, thereby monitoring the connectivity between instances in multiple platforms, thereby achieving unified operation and maintenance of multiple platforms and improving the convenience of multi-platform operation and maintenance.

[0233] In one possible implementation, the first input carries an identity identifier, and the deployment module is configured to:

[0234] According to the identity identifier, a monitoring hook corresponding to the identity identifier is obtained from multiple preset monitoring hooks;

[0235] Send monitoring hooks to multiple platforms.

[0236] This allows users to configure multiple monitoring hooks in advance. Different monitoring hooks monitor traffic in different ways. Each monitoring hook corresponds to a different identity. The control platform uses the user-entered identity to determine the monitoring hook required from multiple pre-configured monitoring hooks, improving the convenience of unified multi-platform operation and maintenance and the user experience.

[0237] In a possible implementation, the first input includes a monitoring policy, which is used to indicate how the monitoring hook monitors data;

[0238] The deployment module is used to send monitoring hooks to multiple platforms belonging to the user according to the monitoring strategy;

[0239] The monitoring strategy at least includes traffic packet capture.

[0240] In this way, users can configure monitoring strategies according to their own needs, so that the control platform can generate monitoring hooks that meet user needs, improving the convenience of unified operation and maintenance of multiple platforms and the user experience.

[0241] In a possible implementation, the monitoring hook includes an identifier of the dialing data, so that the monitoring hook monitors the dialing data according to the data identifier.

[0242] In this way, the monitoring hook can monitor the dial test data according to the data identifier, thereby monitoring the connectivity between the two instances, enabling users to perform unified operation and maintenance on multiple platforms.

[0243] In a possible implementation, the apparatus further includes:

[0244] The analysis module is used to summarize the dial test result data to obtain the address information of the instances on the traffic path between the instances and the fault information of the instances.

[0245] In this way, users can determine whether there is an instance failure between two instances based on the summarized dial test result data, and then perform operation and maintenance on the platform with the failure.

[0246] In a possible implementation, the apparatus further includes:

[0247] The display module is used to display the address information and fault information of the instance, so as to operate and maintain the instance according to the address information and fault information of the instance.

[0248] In this way, users can intuitively find the instance where the fault occurs, thereby performing unified operation and maintenance on multiple platforms, improving the convenience of data center network operation and maintenance for users.

[0249] In a possible implementation, the dial test information further includes an identifier of the dial test data, and the running module is configured to obtain data carrying the identifier from the first platform and the second platform to generate dial test result data.

[0250] In this way, the control platform can monitor the path of the dialing data from the source instance to the destination instance, thereby monitoring the connectivity between the source instance and the destination instance.

[0251] According to an embodiment of the present application, a control platform belonging to the tenant side is used to enable the tenant to configure the dialing information, that is, the source instance and destination instance of the dialing. The source instance and the destination instance run on different platforms, and the platforms where the source instance and the destination instance are located are manufactured by different manufacturers. In this way, the control platform can perform dialing on the source instance and the destination instance based on the dialing information, thereby obtaining the information generated by the dialing data from the source instance to the destination instance during the dialing process, and thus monitor the connectivity between the source instance and the destination instance based on the information. In this way, the unified operation and maintenance of multiple platforms in the data center network by tenants can be achieved, which improves the convenience of tenants in operating and maintaining multiple platforms in the data center network and improves the tenant experience.

[0252] The acquisition module, generation module, and execution module can all be implemented via software or hardware. For example, taking the acquisition module as an example, the acquisition module can be an application that displays a page on a display device, and the user inputs information through the page displayed on the display device, such as the dialing information described in the embodiments of this application, so that the acquisition module can obtain the dialing information input by the user. Similarly, the implementation of the generation module and the execution module can refer to the implementation of the acquisition module.

[0253] As an example of a software functional unit, the module acquisition module may include code running on a computing instance. The computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Furthermore, the computing instance may be one or more. For example, the acquisition module may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the code may be distributed in the same region or in different regions. Furthermore, the multiple hosts / virtual machines / containers used to run the code may be distributed in the same availability zone (AZ) or in different AZs, each AZ including one data center or multiple geographically close data centers. Typically, a region may include multiple AZs.

[0254] Similarly, multiple hosts / virtual machines / containers running the code can be distributed within the same virtual private cloud (VPC) or across multiple VPCs. Typically, a VPC is set up within a region. Cross-region communication between two VPCs within the same region, or between VPCs in different regions, requires a communication gateway within each VPC to interconnect the VPCs.

[0255] As an example of a hardware functional unit, the acquisition module may include at least one computing device, such as a server. Alternatively, the acquisition module may be implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD may be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0256] The multiple computing devices included in the acquisition module can be distributed in the same region or in different regions. The multiple computing devices included in the acquisition module can be distributed in the same AZ or in different AZs. Similarly, the multiple computing devices included in the acquisition module can be distributed in the same VPC or in multiple VPCs. The multiple computing devices can be any combination of servers, ASICs, PLDs, CPLDs, FPGAs, GALs, and other computing devices.

[0257] It should be noted that, in other embodiments, the acquisition module can be used to execute any step in the dialing test method, the generation module can be used to execute any step in the dialing test method, and the operation module can be used to execute any step in the dialing test method. The steps that the acquisition module, the generation module, and the operation module are responsible for implementing can be specified as needed. The full functions of the dialing test device are realized by respectively implementing different steps in the dialing test method through the acquisition module, the generation module, and the operation module.

[0258] The present application also provides a dial testing system, as shown in FIG3 , including a control platform, a first platform, and a second platform:

[0259] The control platform is used to execute the dialing test method provided in the embodiment of the present application, so as to monitor the dialing test data between the first platform and the second platform.

[0260] The control platform, the first platform, and the second platform can all be implemented through software or hardware. For example, the implementation of the control platform is described below. Similarly, the implementation of the first platform and the second platform can refer to the implementation of the control platform.

[0261] As an example of a software functional unit, the control platform may include code running on a computing instance. The computing instance may be at least one of a physical host (computing device), a virtual machine, a container, and other computing devices. Furthermore, the computing device may be one or more. For example, the control platform may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the application may be distributed in the same region or in different regions. The multiple hosts / virtual machines / containers used to run the code may be distributed in the same AZ or in different AZs, and each AZ includes one data center or multiple geographically close data centers. Typically, a region may include multiple AZs.

[0262] Similarly, the multiple hosts / virtual machines / containers running the code can be distributed within the same VPC or across multiple VPCs. Typically, a VPC is located within a region. Cross-region communication between two VPCs within the same region, or between VPCs in different regions, requires a communication gateway within each VPC to interconnect the VPCs.

[0263] A module is an example of a hardware functional unit. The control platform may include at least one computing device, such as a server. Alternatively, the control platform may be implemented using an ASIC or a PLD. The PLD may be implemented using a CPLD, FPGA, GAL, or any combination thereof.

[0264] The multiple computing devices included in the control platform can be distributed in the same region or in different regions. They can be distributed in the same AZ or in different AZs. Similarly, they can be distributed in the same VPC or in multiple VPCs. These multiple computing devices can be any combination of servers, ASICs, PLDs, CPLDs, FPGAs, GALs, and other computing devices.

[0265] This application also provides a computing device 1200. As shown in Figure 12, computing device 1200 includes a bus 1201, a processor 1202, a memory 1203, and a communication interface 1204. Processor 1202, memory 1206, and communication interface 1204 communicate with each other via bus 1201. Computing device 1200 can be a server or a terminal device. It should be understood that this application does not limit the number of processors and memories in computing device 1200.

[0266] Bus 1201 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, among others. Buses may be classified as address buses, data buses, control buses, and the like. For ease of illustration, FIG12 shows only one line, but this does not imply a single bus or type of bus. Bus 1201 may include a path for transmitting information between various components of computing device 1200 (e.g., memory 1203, processor 1202, and communication interface 1204).

[0267] The processor 1202 may include any one or more processors such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0268] The memory 1203 may include a volatile memory, such as a random access memory (RAM). The processor 1202 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).

[0269] The memory 1203 stores executable program codes, and the processor 1202 executes the executable program codes to respectively implement the functions of the acquisition module, the generation module, and the operation module, thereby implementing the dialing test method.

[0270] Alternatively, the memory 1203 stores executable codes, and the processor 1202 executes the executable codes to respectively implement the functions of the control platform, the first platform, and the second platform, thereby implementing the dialing method.

[0271] The communication interface 1204 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the computing device 1200 and other devices or a communication network.

[0272] Embodiments of the present application also provide a computing device cluster. The computing device cluster includes at least one computing device. The computing device can be a server, such as a central server, an edge server, or a local server in a local data center. In some embodiments, the computing device can also be a terminal device such as a desktop computer, a laptop computer, or a smartphone.

[0273] As shown in Figure 13, the computing device cluster includes at least one computing device 1200. The memory 1203 in one or more computing devices 1200 in the computing device cluster may store the same instructions for executing the dialing method.

[0274] In some possible implementations, the memory 1203 of one or more computing devices 1200 in the computing device cluster may also store partial instructions for executing the dialing method. In other words, the combination of one or more computing devices 1200 can jointly execute the instructions for executing the dialing method.

[0275] It should be noted that the memory 1203 in different computing devices 1200 in the computing device cluster can store different instructions, each for executing a portion of the functions of the control platform. In other words, the instructions stored in the memory 1203 in different computing devices 1200 can implement the functions of one or more of the acquisition module, generation module, and execution module.

[0276] In some possible implementations, one or more computing devices in a computing device cluster may be connected via a network. The network may be a wide area network (WAN) or a local area network (LAN), etc. FIG14 illustrates a possible implementation. As shown in FIG14 , two computing devices 1200A and 1200B are connected via a network. Specifically, the network is connected via a communication interface in each computing device. In this type of possible implementation, the memory 1203 in the computing device 1200A stores instructions for executing the functions of the acquisition module. Simultaneously, the memory 1203 in the computing device 1200B stores instructions for executing the functions of the generation module and the operation module.

[0277] The connection method between the computing device clusters shown in Figure 14 can be considered to be that the dialing method provided in this application requires interaction between multiple platforms and a large amount of data analysis, so it is considered to entrust the functions implemented by the generation module and the operation module to the computing device 1200B for execution.

[0278] It should be understood that the functionality of the computing device 1200A shown in FIG14 may also be implemented by multiple computing devices 1200. Similarly, the functionality of the computing device 1200B may also be implemented by multiple computing devices 1200.

[0279] The present application also provides another computing device cluster. The connection relationship between the computing devices in the computing device cluster can be similar to the connection method of the computing device cluster described in Figures 13 and 14. The difference is that the memory 1203 in one or more computing devices 1200 in the computing device cluster can store the same instructions for executing the dialing method.

[0280] In some possible implementations, the memory 1203 of one or more computing devices 1200 in the computing device cluster may also store partial instructions for executing the dialing method. In other words, the combination of one or more computing devices 1200 can jointly execute the instructions for executing the dialing method.

[0281] It should be noted that the memory 1203 in different computing devices 1200 in the computing device cluster can store different instructions for executing partial functions of the dialing system. In other words, the instructions stored in the memory 1203 in different computing devices 1200 can implement the functions of one or more devices in the control platform, the first platform, and the second platform.

[0282] Embodiments of the present application also provide a computer program product comprising instructions. The computer program product may be software or a program product comprising instructions that can be executed on a computing device or stored in any usable medium. When the computer program product is executed on at least one computing device, the computer program product causes the at least one computing device to perform a dialing method, or a dialing method.

[0283] The embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center that contains one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive). The computer-readable storage medium includes instructions that instruct the computing device to execute the dialing method, or instruct the computing device to execute the dialing method.

[0284] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the protection scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A dialing method, characterized in that: Applied to a control platform, the method comprises: Acquire dialing information configured by a user, the dialing information including an identifier of a source instance and an identifier of a destination instance, wherein the source instance runs on a first platform, the destination instance runs on a second platform, and the first platform and the second platform belong to different manufacturers; Based on the dialing test information, generate a dialing test task, where the dialing test task is used to instruct the source instance to send the dialing test data to the destination instance; The dialing test task is run, and dialing test result data is obtained from the first platform and the second platform.

2. The method according to claim 1, characterized in that The first platform and / or the second platform is a private cloud platform.

3. The method according to claim 1, characterized in that The method further comprises: receiving a first input from a user; According to the first input, a monitoring hook is sent to multiple platforms belonging to the user, where the multiple platforms include the first platform and the second platform, so that the monitoring hook performs traffic monitoring on the multiple platforms.

4. The method according to claim 3, characterized in that The first input carries an identity identifier, and sending monitoring hooks to multiple platforms belonging to the user according to the first input includes: According to the identity identifier, obtaining a monitoring hook corresponding to the identity identifier from a plurality of preset monitoring hooks; Send monitoring hooks to the multiple platforms.

5. The method according to claim 3, characterized in that: The first input includes a monitoring strategy, and the monitoring strategy is used to indicate the way in which the monitoring hook monitors data; According to the first input, a monitoring hook is sent to multiple platforms belonging to the user, including: According to the monitoring strategy, the monitoring hook is sent to multiple platforms belonging to the user; The monitoring strategy at least includes traffic packet capture.

6. The method according to claims 3-5, characterized in that: The monitoring hook includes an identifier of the dialing data, so that the monitoring hook can monitor the dialing data according to the identifier of the dialing data.

7. The method according to claim 1, characterized in that The method further comprises: The dial test result data is summarized to obtain address information of instances on the traffic path between the instances and fault information of the instances.

8. The method according to claim 7, characterized in that The method further comprises: The address information and fault information of the instance are displayed, so as to be used for operating and maintaining the instance according to the address information and fault information of the instance.

9. The method according to any one of claims 1 to 8, characterized in that: The dial test information also includes an identifier of the dial test data, and the acquiring the dial test result data from the first platform and the second platform includes: The data carrying the identifier is obtained from the first platform and the second platform to generate the dialing result data.

10. A dialing device, characterized in that: Applied to a control platform, the device comprises: an acquisition module, configured to acquire dialing information configured by a user, wherein the dialing information includes an identifier of a source instance and an identifier of a destination instance, wherein the source instance runs on a first platform, the destination instance runs on a second platform, and the first platform and the second platform belong to different manufacturers; A generating module, configured to generate a dialing test task based on the dialing test information, wherein the dialing test task is used to instruct the source instance to send dialing test data to the destination instance; The running module is used to run the dialing test task and obtain the dialing test result data from the first platform and the second platform.

11. The device according to claim 10, characterized in that The first platform and / or the second platform is a private cloud platform.

12. The device according to claim 10, characterized in that The device also includes: A receiving module, used for receiving a first input from a user; A deployment module is used to send monitoring hooks to multiple platforms belonging to the user according to the first input, and the multiple platforms include the first platform and the second platform, so that the monitoring hooks can monitor the traffic of the multiple platforms.

13. The device according to claim 12, characterized in that The first input carries an identity identifier, and the deployment module is used to: According to the identity identifier, obtaining a monitoring hook corresponding to the identity identifier from a plurality of preset monitoring hooks; Send monitoring hooks to the multiple platforms.

14. The device according to claim 12, characterized in that The first input includes a monitoring strategy, and the monitoring strategy is used to indicate the way in which the monitoring hook monitors data; The deployment module is used to send the monitoring hook to multiple platforms belonging to the user according to the monitoring strategy; The monitoring strategy at least includes traffic packet capture.

15. The device according to claims 12-14, characterized in that The monitoring hook includes an identifier of the dialing data, so that the monitoring hook can monitor the dialing data according to the identifier of the dialing data.

16. The device according to claim 10, characterized in that The device also includes: The analysis module is used to summarize the dialing test result data to obtain the address information of the instances on the traffic path between the instances and the fault information of the instances.

17. The device according to claim 16, characterized in that The device also includes: The display module is used to display the address information and fault information of the instance, so as to operate and maintain the instance according to the address information and fault information of the instance.

18. The device according to any one of claims 10 to 17, characterized in that: The dialing test information also includes an identifier of the dialing test data, and the operation module is used to obtain data carrying the identifier from the first platform and the second platform to generate the dialing test result data.

19. A dialing test system, characterized in that: The system includes a control platform, a first platform, and a second platform; The control platform is used to execute the method described in any one of claims 1 to 9 to monitor the dialing data between the first platform and the second platform.

20. A computing device cluster, characterized in that: comprising at least one computing device, each computing device comprising a processor and a memory; The processor of the at least one computing device is configured to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method according to any one of claims 1 to 9.

21. A computer program product comprising instructions, characterized in that When the instructions are executed by a computing device cluster, the computing device cluster executes the method according to any one of claims 1 to 9.

22. A computer-readable storage medium, characterized in that: The method comprises computer program instructions. When the computer program instructions are executed by a computing device cluster, the computing device cluster performs the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Dial testing method, device and system and computing device cluster

    CN118590425A

  • Dial testing method, dial testing system, and computational node

    CN107005441A

  • Service monitoring method and system for cloud service infrastructure

    CN108683569A

  • Service availability monitoring system, method, apparatus and device

    CN109005085A

  • Network dial testing method and device, equipment and storage medium

    CN114024876A

Cited By

  • Dial testing point state monitoring method, system and device

    CN119583549A