Method and device for collecting service quality data of heterogeneous network
By generating and determining service quality data acquisition tasks in heterogeneous networks, combined with the data connection model, the problem of incomplete service quality data acquisition in CDN live broadcast downlink is solved, and more accurate path selection and higher data acquisition success rate are achieved.
Patent Information
- Application Number
- CN202510169495.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-14
- Publication Date
- 2025-05-23
AI Technical Summary
In the downward trend of CDN live broadcast, it is difficult to effectively collect service quality data across the entire network, resulting in a high rate of dynamic route selection failure, some quality damage and network accidents cannot be covered, which leads to user complaints.
By generating service quality data acquisition tasks in heterogeneous networks, determining the attributes of the computer room network facilities, and determining the data connection mode based on the attributes, thereby collecting service quality data. The method includes a module that generates, determines and sends a quality of service data acquisition task, and the processor, memory and communication interface complete communication with each other through a communication bus.
The service quality data collection of heterogeneous networks is realized, the accuracy of route selection is improved, customer complaints caused by quality damage or network accidents are avoided, and the success rate of service quality data collection is improved.
Smart Images

Figure CN120034467A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of Internet technology, and specifically to a method and device for collecting service quality data of a heterogeneous network. Background Art
[0002] CDN live streaming is mainly responsible for the distribution of streaming media audio and video streams. It distributes the live streaming of the upstream streaming point into a tree structure to meet the requests of large-scale users. In this distribution process, it is necessary to select a suitable relay room through dynamic routing to connect the upstream streaming and the downstream playback room, so that the entire live streaming can maintain low latency and zero jamming. The basis for dynamic routing is the complete service quality data (Qos data) of the entire network. Currently, there are only Qos data of the three major operators, with a high failure rate. Since the routing of some small operators, dedicated networks, and core dedicated rooms cannot be covered, some quality is damaged and related network accidents occur, which in turn leads to user complaints. Summary of the invention
[0003] In view of the above problems, the present application is proposed to provide a method, apparatus, computing device, computer storage medium and computer program product for collecting quality of service data of heterogeneous networks that overcome the above problems or at least partially solve the above problems.
[0004] According to one aspect of an embodiment of the present application, a method for collecting quality of service data of a heterogeneous network is provided, comprising:
[0005] Generate a service quality data collection task according to the computer rooms in the heterogeneous network, wherein the service quality data collection task involves a first computer room and a second computer room, and the computer room level of the first computer room is lower than the computer room level of the second computer room;
[0006] Determine network facility attributes of the first computer room and / or the second computer room;
[0007] Determine a data connection mode between the first computer room and the second computer room according to network facility attributes of the first computer room and / or the second computer room;
[0008] According to the data connection mode, a service quality data collection task is sent to the first computer room or the second computer room, so that the first computer room collects the service quality data of the second computer room according to the data connection mode.
[0009] Furthermore, network facility attributes include: operator attributes, network attributes, and computer room attributes.
[0010] Further, the data association mode includes: a first data association mode;
[0011] Determining the data connection mode between the first computer room and the second computer room according to the network facility attributes of the first computer room and / or the second computer room further includes:
[0012] If the network attributes of the first computer room and the second computer room are both the first preset network attributes, and / or, if the operator attributes of the first computer room and the second computer room are both the first operator attributes, and the actual operators corresponding to the first computer room and the second computer room are the same, then a first data connection mode is generated, and the first data connection mode is to connect the second computer room from the first computer room in a pull mode.
[0013] Further, the data association mode includes: a first data association mode and a second data association mode;
[0014] Determining the data connection mode between the first computer room and the second computer room according to the network facility attributes of the first computer room and / or the second computer room further includes:
[0015] If the network attribute of the first computer room is the second preset network attribute and the computer room attribute of the first computer room is the first preset computer room attribute, a first data connection mode and a second data connection mode are generated, wherein the priority of the first data connection mode is higher than the priority of the second data connection mode, the first data connection mode is to connect to the second computer room from the first computer room in a pull mode, and the second data connection mode is to connect to the NAT address of the first computer room from the second computer room in a push mode.
[0016] Further, the data association mode includes: a third data association mode and a fourth data association mode;
[0017] Determining the data connection mode between the first computer room and the second computer room according to the network facility attributes of the first computer room and / or the second computer room further includes:
[0018] If the operator attribute of the first computer room is the first operator attribute, and the computer room attribute of the second computer room is the first preset computer room attribute, then a third data connection mode and a fourth data connection mode are generated, wherein the priority of the third data connection mode is higher than the priority of the fourth data connection mode, the third data connection mode is to connect to the first computer room from the second computer room in push mode, and the fourth data connection mode is to connect to the NAT address of the second computer room from the first computer room in pull mode.
[0019] Further, the data association mode includes: a first data association mode and a third data association mode;
[0020] Determining the data connection mode between the first computer room and the second computer room according to the network facility attributes of the first computer room and / or the second computer room further includes:
[0021] If the operator attribute of the first computer room is the first operator attribute, the computer room attribute of the second computer room is the second preset computer room attribute and the operator attribute of the second computer room is the second operator attribute, then the first data connection mode and the third data connection mode are generated, wherein the priority of the first data connection mode is higher than the priority of the third data connection mode, the first data connection mode is to connect the second computer room from the first computer room in pull mode, and the third data connection mode is to connect the first computer room from the second computer room in push mode.
[0022] Further, according to the data connection mode, sending the service quality data collection task to the first computer room or the second computer room further includes:
[0023] If the data connection mode is the first data connection mode or the second data connection mode, a service quality data collection task is sent to the first computer room;
[0024] If the data connection mode is the second data connection mode or the third data connection mode, a service quality data collection task is sent to the second computer room.
[0025] Furthermore, the method further includes: determining whether the network attributes of the first computer room and the second computer room are the same; and / or
[0026] If the operator attributes of the first computer room and the second computer room are both the first operator attributes, determining whether the actual operators corresponding to the first computer room and the second computer room are the same;
[0027] If the network attributes of the first computer room and the second computer room are different, and / or the actual operators corresponding to the first computer room and the second computer room are different, the service quality data collection task is deleted;
[0028] If the network attributes of the first computer room and the second computer room are the same, and / or the actual operators corresponding to the first computer room and the second computer room are the same, the data connection mode between the first computer room and the second computer room is determined according to the network facility attributes of the first computer room and / or the second computer room.
[0029] Furthermore, the method further includes: obtaining the data association mode of the last successful collection of service quality data;
[0030] Determine whether the data connection mode for successfully collecting the service quality data last time is the same as the data connection mode determined according to the network facility attributes of the first computer room and / or the second computer room;
[0031] According to the data connection mode, sending a service quality data collection task to the first computer room or the second computer room so that the first computer room collects the service quality data of the second computer room according to the data connection mode further includes:
[0032] If they are different, a service quality data collection task is sent to the first computer room or the second computer room according to the data connection mode of the last successful collection of service quality data, so that the first computer room collects the service quality data of the second computer room according to the data connection mode of the last successful collection of service quality data.
[0033] According to another aspect of an embodiment of the present application, a service quality data collection device for a heterogeneous network is provided, comprising:
[0034] A generating module, adapted to generate a service quality data collection task according to a computer room in a heterogeneous network, wherein the service quality data collection task involves a first computer room and a second computer room, and a computer room level of the first computer room is lower than a computer room level of the second computer room;
[0035] A first determination module, adapted to determine network facility attributes of the first computer room and / or the second computer room;
[0036] A second determination module, adapted to determine a data connection mode between the first computer room and the second computer room according to network facility attributes of the first computer room and / or the second computer room;
[0037] The sending module is adapted to send a service quality data collection task to the first computer room or the second computer room according to the data connection mode, so that the first computer room collects the service quality data of the second computer room according to the data connection mode.
[0038] According to another aspect of the embodiment of the present application, there is provided a computing device, including: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;
[0039] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the service quality data collection method of the heterogeneous network.
[0040] According to another aspect of the embodiments of the present application, a computer storage medium is provided, in which at least one executable instruction is stored, and the executable instruction enables a processor to perform operations corresponding to the service quality data collection method for heterogeneous networks as described above.
[0041] According to another aspect of the embodiments of the present application, a computer program product is provided, including at least one executable instruction, wherein the executable instruction enables a processor to perform operations corresponding to the above-mentioned method for collecting quality of service data of heterogeneous networks.
[0042] According to the solution provided in the embodiment of the present application, a suitable data connection mode is determined for different heterogeneous networks, so that the service quality data of the heterogeneous networks can be collected. This facilitates route selection based on the collected service quality data of the heterogeneous networks, avoiding customer complaints due to quality damage or network accidents. The data connection mode of the current round of service quality data collection tasks is determined in combination with the data connection mode of the previous round of successful service quality data collection, which can improve the connection success rate and improve the service quality data collection success rate.
[0043] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the embodiment of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the specific implementation method of the embodiment of the present application is listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only used for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the embodiments of the present application. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0045] Figure 1 This is a schematic diagram of a CDN content delivery network;
[0046] Figure 2 A schematic diagram showing a process of a method for collecting quality of service data of a heterogeneous network according to an embodiment of the present application is shown;
[0047] Figure 3 A schematic diagram showing a process of a method for collecting quality of service data of a heterogeneous network according to another embodiment of the present application is shown;
[0048] Figure 4 It is a structural block diagram of the service quality data collection system for heterogeneous networks;
[0049] Figure 5 A structural block diagram of a service quality data collection device for a heterogeneous network according to an embodiment of the present application is shown;
[0050] Figure 6 A schematic diagram of the structure of a computing device according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0051] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0052] First, the terms involved in one or more embodiments of the present application are explained.
[0053] QoS (Quality of Service) refers to the ability of a network to use various basic technologies to provide better service capabilities for specified network communications;
[0054] QoS data: refers to the indicator that measures the current network service capabilities. In the point live CDN, it is mainly measured by information such as bandwidth, delay (rtt), and packet loss rate (lost);
[0055] Heterogeneous network: refers to a network that has inconsistent access capabilities with the general public network provided by the three major domestic operators (China Telecom, China Unicom, and China Mobile). It mainly includes various small operators (such as China Radio and Television, Wasu, etc.), dedicated line networks (a network that can only interact with other networks at designated aggregation points, otherwise it can only communicate between dedicated lines), dedicated computer rooms (with unequal access restrictions, usually due to restrictions such as firewalls or network routing not supported), etc.
[0056] Figure 1 This is a schematic diagram of a CDN content distribution network, such as Figure 1 As shown in the figure, the CDN content distribution network mainly includes: edge computer room, secondary source station, video cloud edge computing cluster (EC), among which, the video cloud edge computing cluster (EC) receives the original video stream and transmits it to the secondary source station through RTMP or HlsV7 protocol; the secondary source station transmits the video stream to the edge computer room through RTMP protocol or transmits the video stream to the edge computer room through HlsV7 protocol; the edge computer room receives the video stream from the secondary source station, converts the video stream into FLV format and transmits it to FLV users or transmits the video stream in HlsV7 format to HlsV7 users. The traffic cost of CDN live broadcast distribution is determined by the tree structure of distribution, such as Figure 1 As shown in the figure, the black link represents the user's pulled stream, and the red link represents the back-to-source required for the user to pull the stream. The secondary source station needs to be selected based on the QOS data.
[0057] However, network heterogeneity mainly includes the following networks or services, and may have the following problems:
[0058] 1. Small operators: Small operators are generally second-tier operators, that is, they contract certain IP network facilities of different three major operators in different regions, and then package them for commercial activities (for example, Wasu may use China Unicom in Zhejiang and China Telecom in Jiangsu). Therefore, when selecting the second-tier route, it is necessary to detect and select the second-tier source station according to the actual operator corresponding to the small operator used by the current computer room (due to recent changes in operator policies, cross-operator access has become increasingly unstable); another type is that some small operators, in some areas of the computer room, can only be actively accessed by the outside, but not from the inside, and some cannot be accessed from the outside, but can only be accessed from the inside; at the same time, this restriction is not fixed and can be changed;
[0059] 2. Private line network: In order to reduce the cost of public network back-to-source bandwidth, a private line network is built between the secondary source stations. The back-to-source between the secondary source stations can be through the private line network. The private line network can only communicate with the computer room on the private line network. At the same time, the private line may have faults and QoS detection is required. At the same time, some small operators also have private line networks between L1 and L2.
[0060] 3. Dedicated computer room: In addition to carrying video CDN services, some core dedicated computer rooms are mainly used to undertake the core computer room functions of the entire company. All business servers are deployed in this computer room, so the security level of this computer room is very high. Its characteristics are that there is no problem in accessing the outside from the inside, while accessing the inside from the outside can only be accessed through NAT. However, due to availability and other related issues in the computer room, the NAT computer room needs to change configuration frequently, so this type of computer room is generally preferred for internal access. But when this type of computer room encounters some small operators that can only be accessed from the inside, it can only be downgraded to NAT.
[0061] In view of the above problems, the inventors of the present application have proposed a service quality data collection solution for heterogeneous networks through creative work, which is described below in conjunction with specific embodiments:
[0062] Figure 2 A schematic diagram of a process for collecting service quality data of a heterogeneous network according to an embodiment of the present application is shown. The method is executed by a central service detection service. Figure 2 As shown, the method comprises the following steps:
[0063] Step S201, generating a service quality data collection task according to a computer room in a heterogeneous network, wherein the service quality data collection task involves a first computer room and a second computer room, and the computer room level of the first computer room is lower than that of the second computer room.
[0064] Specifically, the central service detection service stores information about all computer rooms in the entire network, including location, network facility attributes, connection status, etc. When receiving a query request sent by the routing service, the central service detection service generates service quality data collection tasks for the two computer rooms based on the current network topology and requirements. These tasks are designed to collect key performance indicators (KPIs), such as bandwidth, latency, packet loss rate, etc., to evaluate and optimize the communication quality between the two computer rooms. The computer room level refers to the level of the computer room in the current network topology. Typically, the computer room level of the first computer room is lower than that of the second computer room, and service quality data collection tasks can be generated from low-level computer rooms to high-level computer rooms.
[0065] Step S202, determining the network facility attributes of the first computer room and / or the second computer room.
[0066] Network facility attributes are key parameters that describe the network service capabilities of the computer room. Network facility attributes include: operator attributes, network attributes, and computer room attributes. Specifically, operator attributes can be divided into: small operators (SO) or large operators (LO). Large operators usually have a wider network coverage and service support capabilities, while small operators may focus on specific regions or industries.
[0067] Network attributes can be divided into: dedicated network (DS) and non-dedicated network (NDS). Dedicated network provides a dedicated channel with high stability and security; while non-dedicated network uses the public Internet, which is lower in cost but may have security risks and instability factors;
[0068] The attributes of computer rooms can be divided into: core dedicated computer room (CD) or non-core dedicated computer room (NCD).
[0069] By querying the database in the central service detection service, the network facility attributes of the first computer room and / or the specific network facility attributes of the second computer room can be obtained. By determining the specific network facility attributes of the first computer room and / or the second computer room, it is convenient to accurately determine the data connection mode between the first computer room and the second computer room in the subsequent process, which directly affects the efficiency and reliability of data transmission.
[0070] Step S203: determining a data connection mode between the first computer room and the second computer room according to network facility attributes of the first computer room and / or the second computer room.
[0071] After determining the network facility attributes of the first computer room and / or the network facility attributes of the second computer room, the data connection mode between the first computer room and the second computer room can be determined according to the network facility attributes of the first computer room and / or the second computer room, wherein the data connection mode reflects the method of establishing a connection and sending data between the first computer room and the second computer room, so that the recipient of the service quality data collection task can be determined through the data connection mode. Common modes include push mode and pull mode, and the data connection mode in this embodiment specifically considers who is connected to whom in what mode. For example, the first computer room is connected to the second computer room in pull mode, and the first computer room receives the service quality data collection task issued by the central service detection service. It should be noted that this is only an example and does not have any limiting effect.
[0072] Step S204: sending a service quality data collection task to the first computer room or the second computer room according to the data connection mode, so that the first computer room collects the service quality data of the second computer room according to the data connection mode.
[0073] After determining the data connection mode between the first computer room and the second computer room, a service quality data collection task can be sent to the first computer room or the second computer room according to the data connection mode, so that the first computer room can collect the service quality data of the second computer room according to the data connection mode, wherein the service quality data collection task can include: adopted protocol information, detection data size, duration, number of retries, etc. The service quality data can include information such as bandwidth, delay (rtt), packet loss rate (lost), etc.
[0074] According to the method provided in the embodiment of the present application, a suitable data connection mode is determined for different heterogeneous networks, so that the service quality data of the heterogeneous networks can be collected. This facilitates route selection based on the collected service quality data of the heterogeneous networks, thereby avoiding customer complaints caused by quality impairment or network accidents.
[0075] Figure 3 A schematic diagram of a process for collecting quality of service data of a heterogeneous network according to another embodiment of the present application is shown. Figure 3 As shown, the method comprises the following steps:
[0076] Step S301: Generate a service quality data collection task according to a computer room in a heterogeneous network, wherein the service quality data collection task involves a first computer room and a second computer room, and the computer room level of the first computer room is lower than that of the second computer room.
[0077] For example, the CDN content distribution network includes: a source station (assuming it is called L3), a secondary source station (assuming it is called L2) and an edge node (assuming it is called L1). At this time, the first computer room is L1 and the second computer room is L2, or the first computer room is L2 and the second computer room is L3. This is only an example and does not have any limiting effect.
[0078] Step S302, determining the network facility attributes of the first computer room and / or the second computer room.
[0079] Step S301-Step S302 and Figure 2 Steps S201 and S202 in the illustrated embodiment are similar and will not be described in detail here.
[0080] Step S303, determine whether the network attributes of the first computer room and the second computer room are the same, and / or, if the operator attributes of the first computer room and the second computer room are both the first operator attributes, determine whether the actual operators corresponding to the first computer room and the second computer room are the same; if the network attributes of the first computer room and the second computer room are different, and / or, the actual operators corresponding to the first computer room and the second computer room are different, execute step S304; if the network attributes of the first computer room and the second computer room are the same, and / or, the actual operators corresponding to the first computer room and the second computer room are the same, execute step S305.
[0081] Normally, a computer room on a dedicated network can only communicate with other computer rooms on a dedicated network, but cannot communicate with computer rooms on a non-dedicated network. In order to avoid detection failure, it is necessary to filter the service quality data collection tasks according to the network attributes of the first computer room and the second computer room after determining the network facility attributes of the first computer room and the second computer room, and delete the service quality data collection tasks whose network attributes of the first computer room are different from those of the second computer room, and only retain the service quality data collection tasks whose network attributes of the first computer room and the second computer room are the same.
[0082] In order to avoid failure caused by cross-operator task detection, it is necessary to filter out service quality data collection tasks that are not from the same operator. Therefore, when the operator attributes of the first computer room and the second computer room are both the second operator attributes (where the second operator attributes are large operators), it is possible to directly determine whether the operator attributes of the first computer room and the second computer room are the same. If they are different, the corresponding service quality data collection tasks are deleted. If they are the same, the corresponding service quality data collection tasks are retained.
[0083] When the operator attribute of the first computer room and the second computer room is the first operator attribute, wherein the first operator attribute is a small operator, it is necessary to first determine the actual operators corresponding to the first computer room and the second computer room, and then determine whether the actual operators corresponding to the first computer room and the second computer room are the same. If they are different, delete the corresponding service quality data collection task; if they are the same, retain the corresponding service quality data collection task.
[0084] Normally, the computer room attributes of the two computer rooms involved in the service quality data collection task will not both be the first preset computer room attributes (i.e., the core computer room). Therefore, the service quality data collection task in which the computer room attributes of the first computer room and the second computer room are both the first preset computer room attributes can be deleted.
[0085] It should be noted that when the room attribute of a certain room is the first preset room attribute (i.e., core room), the operator attribute of the room is the second operator attribute (i.e., large operator), and small operators cannot meet the services required by the core room. By filtering the service quality data collection task, the situation of being unable to connect can be filtered out, thereby improving the detection efficiency of service quality data.
[0086] Step S304, delete the service quality data collection task, and then jump to step S305.
[0087] Step S305, determining whether the network attribute of the first computer room is the first preset network attribute, if so, executing step S306, if not, executing step S307.
[0088] Specifically, the first preset network attribute is a dedicated line network. Here, it is judged whether the network attribute of the first computer room is the first preset network attribute to determine whether the first computer room is a dedicated line computer room. Normally, a dedicated line computer room can only detect the network of a dedicated line computer room. Therefore, when it is determined that the first computer room is a dedicated line computer room, it can be determined that the second computer room with a heavy service quality data collection task is also a dedicated line computer room. Therefore, the pull mode can be adopted and the execution of step S307 can be jumped. When it is determined that the first computer room is not a dedicated line computer room, it can be determined that both the first computer room and the second computer room are not dedicated line computer rooms, and the execution of step S308 can be jumped.
[0089] Generally, network attributes can be divided into first preset network attributes and second preset network attributes (non-dedicated network, also called public network). When it is determined that the network attributes of the first computer room are not the first preset network attributes, it can be determined that the network attributes of the first computer room are the second preset network attributes.
[0090] Step S306: Generate a first data connection mode, where the first data connection mode is to connect the first computer room to the second computer room in a pull mode.
[0091] When it is determined that the network attribute of the first computer room is the first preset network attribute, a first data connection mode can be generated. The first data connection mode is to connect the first computer room to the second computer room in a pull mode. That is, the first computer room needs to pull service quality data from the second computer room, thereby simulating the actual data flow.
[0092] Step S307, determining whether the operator attribute of the first computer room is the first operator attribute, if not, executing step S308; if yes, executing step S309.
[0093] Normally, operator attributes can be divided into first operator attributes (i.e., small operators) and second operator attributes (i.e., large operators). Here, the main purpose is to determine whether the operator attribute of the first computer room is a small operator. Therefore, when it is determined that the operator attribute of the first computer room is not a small operator, its operator attribute can be determined to be a large operator. For network heterogeneity, small operators and core computer rooms are usually mutually exclusive. Therefore, when it is determined that the operator attribute of the first computer room is a small operator, it can be determined that the computer room attribute of the first computer room is a non-core computer room.
[0094] Step S308, if the computer room attribute of the first computer room is the first preset computer room attribute, a first data connection mode and a second data connection mode are generated, wherein the priority of the first data connection mode is higher than the priority of the second data connection mode, the first data connection mode is to connect the first computer room to the second computer room in a pull mode, and the second data connection mode is to connect the second computer room to the NAT address of the first computer room in a push mode.
[0095] Normally, the attributes of a computer room can be divided into the first preset computer room attributes (i.e., the core computer room) and the second preset computer room attributes (i.e., the non-core computer room). For a heterogeneous network, when the operator attribute of the first computer room is a large operator and the network attribute of the first computer room is a non-dedicated line network, the computer room attributes of the first computer room can only be the first preset computer room attributes, i.e., the core computer room.
[0096] Therefore, the first data connection mode and the second data connection mode can be generated according to the priority. The priority of the first data connection mode is higher than that of the second data connection mode. The first data connection mode is to connect the first computer room to the second computer room in a pull mode, that is, the first computer room pulls the service quality data from the second computer room. The second data connection mode is to connect the second computer room to the NAT address of the first computer room in a push mode, wherein the NAT address is a public IP address converted from the private IP address of the first computer room. By connecting to the NAT address of the first computer room, normal connectivity between the computer rooms can be guaranteed, and the second computer room pushes the service quality data to the first computer room.
[0097] Therefore, the priority is to send tasks and subsequently collect service quality data according to the first data connection mode. If the first data connection mode fails, tasks will be sent and subsequent service quality data will be collected according to the second data connection mode. Among them, the push mode is that the second computer room actively initiates the connection with the first computer room, which is consistent with the data transmission direction, thereby simulating the real data flow.
[0098] Step S309, determining whether the operator attribute of the second computer room is the first operator attribute, if so, executing step S306; if not, executing step S310.
[0099] Normally, the operator attribute can be divided into the first operator attribute (i.e., a small operator) and the second operator attribute (i.e., a large operator). Here, the main purpose is to determine whether the operator attribute of the second computer room is a small operator. Therefore, when it is determined that the operator attribute of the second computer room is not a small operator, its operator attribute can be determined to be a large operator. For network heterogeneity, small operators and core computer rooms are usually mutually exclusive. Therefore, when it is determined that the operator attribute of the second computer room is a small operator, it can be determined that the computer room attribute of the second computer room is a non-core computer room. Therefore, when it is determined that the operator attribute of the second computer room is a small operator, the execution of step S306 can be skipped to generate a first data connection mode. The first data connection mode is to connect the second computer room from the first computer room in a pull mode. That is to say, the first computer room needs to pull data from the second computer room, thereby simulating the real data flow.
[0100] Step S310, determining whether the room attribute of the second room is the first preset room attribute, if so, executing step S311; if not, executing step S312.
[0101] When it is determined that the operator attribute of the second computer room is a large operator, it is possible to continue to determine whether the computer room attribute of the second computer room is a core computer room. When the second computer room is a core computer room, step S311 can be executed. When the second computer room is a non-core computer room, it can be determined that the second computer room corresponds to a large operator, and step S312 can be executed.
[0102] Step S311, generate a third data connection mode and a fourth data connection mode, wherein the priority of the third data connection mode is higher than the priority of the fourth data connection mode, the third data connection mode is to connect the first computer room from the second computer room in push mode, and the fourth data connection mode is to connect the NAT address of the second computer room from the first computer room in pull mode.
[0103] Therefore, the third data connection mode and the fourth data connection mode can be generated according to the priority. The priority of the third data connection mode is higher than that of the fourth data connection mode. The third data connection mode is to connect the first computer room from the second computer room in a push mode, wherein the second computer room actively sends the service quality data to the first computer room. The fourth data connection mode is to connect the NAT address of the second computer room from the first computer room in a pull mode, wherein the NAT address is a public IP address converted from the private IP address of the second computer room. By connecting to the NAT address of the second computer room, normal connectivity between the computer rooms can be guaranteed, and the first computer room actively obtains the service quality data of the second computer room from the NAT address of the second computer room.
[0104] Therefore, the priority is to send tasks and subsequently collect service quality data according to the third data connection mode. If the third data connection mode fails, the fourth data connection mode will be used to send tasks and subsequently collect service quality data. Among them, the push mode is that the second computer room actively initiates the connection with the first computer room, which is consistent with the data transmission direction, thereby simulating the real data flow.
[0105] Step S312, generate a first data connection mode and a third data connection mode, wherein the priority of the first data connection mode is higher than the priority of the third data connection mode, the first data connection mode is to connect the first computer room to the second computer room in a pull mode, and the third data connection mode is to connect the second computer room to the first computer room in a push mode.
[0106] Therefore, the first data connection mode and the third data connection mode can be generated according to priority. The priority of the first data connection mode is higher than that of the third data connection mode. The first data connection mode is to connect the first computer room to the second computer room in a pull mode, wherein the first computer room actively obtains the service quality data of the second computer room from the second computer room. The third data connection mode is to connect the second computer room to the first computer room in a push mode, wherein the second computer room actively sends the service quality data of the second computer room to the first computer room.
[0107] Step S313, if the data connection mode is the first data connection mode or the second data connection mode, a service quality data collection task is sent to the first computer room, so that the first computer room collects the service quality data of the second computer room according to the first data connection mode or the second data connection mode; if the data connection mode is the second data connection mode or the third data connection mode, a service quality data collection task is sent to the second computer room, so that the first computer room collects the service quality data of the second computer room according to the second data connection mode or the third data connection mode.
[0108] If the data connection mode is the first data connection mode or the second data connection mode, a service quality data collection task is sent to the first computer room, that is, the first computer room is the source computer room, and the second computer room is the target computer room. After the task is sent, the first computer room can collect the service quality data of the second computer room according to the first data connection mode or the second data connection mode; if the data connection mode is the second data connection mode or the third data connection mode, a service quality data collection task is sent to the second computer room, that is, the first computer room is the target computer room, and the second computer room is the source computer room. After the task is sent, the first computer room collects the service quality data of the second computer room according to the second data connection mode or the third data connection mode. Among them, the source computer room refers to the computer room that receives the generated service quality data collection task, and the target computer room refers to the computer room where the source computer room that executes the task is to detect.
[0109] In an optional implementation of the present application, the data association mode of the last successful collection of service quality data can also be obtained, and then it is determined whether the data association mode of the last successful collection of service quality data is the same as the data association mode determined according to the network facility attributes of the first computer room and / or the second computer room; if different, the data association mode of the last successful collection of service quality data is determined as the data association mode corresponding to this service quality data collection task, and then, according to the data association mode of the last successful collection of service quality data, the service quality data collection task is sent to the first computer room or the second computer room, so that the first computer room collects the service quality data of the second computer room according to the data association mode of the last successful collection of service quality data. Determining the data association mode of this round of service quality data collection tasks in combination with the data association mode of the last round of successful collection of service quality data can improve the association success rate and improve the success rate of service quality data collection.
[0110] According to the method provided in the embodiment of the present application, a suitable data connection mode is determined for different heterogeneous networks, so that the service quality data of the heterogeneous networks can be collected. This facilitates route selection based on the collected service quality data of the heterogeneous networks, avoiding customer complaints due to quality damage or network accidents. The data connection mode of the current round of service quality data collection tasks is determined in combination with the data connection mode of the previous round of successful service quality data collection, which can improve the connection success rate and improve the service quality data collection success rate.
[0111] Figure 4 The structural block diagram of the service quality data collection system for heterogeneous networks is shown in Figure 2. Figure 4As shown, the routing service can send a service quality data query request to the central service detection service for routing. The central service detection service can generate a service quality data collection task based on the service quality data query request, and send it to the corresponding computer room (such as L1CT in the figure). Each computer room reports the detection results (i.e., service quality data) to the central service detection service. The central service detection service can send the service quality data to the routing service for the routing service to perform routing based on the service quality data.
[0112] Figure 5 FIG. 4 shows a structural block diagram of a device for collecting quality of service data of a heterogeneous network according to an embodiment of the present application. Figure 5 As shown, the device comprises:
[0113] A generating module 501 is adapted to generate a service quality data collection task according to a computer room in a heterogeneous network, wherein the service quality data collection task involves a first computer room and a second computer room, and a computer room level of the first computer room is lower than a computer room level of the second computer room;
[0114] A first determination module 502, adapted to determine network facility attributes of the first computer room and / or the second computer room;
[0115] A second determination module 503, adapted to determine a data connection mode between the first computer room and the second computer room according to network facility attributes of the first computer room and / or the second computer room;
[0116] The sending module 504 is adapted to send a service quality data collection task to the first computer room or the second computer room according to the data connection mode, so that the first computer room collects the service quality data of the second computer room according to the data connection mode.
[0117] Optionally, the network facility attributes include: operator attributes, network attributes, and computer room attributes.
[0118] Optionally, the data association mode includes: a first data association mode;
[0119] The second determination module is further suitable for: if the network attributes of the first computer room and the second computer room are both first preset network attributes, and / or, if the operator attributes of the first computer room and the second computer room are both first operator attributes, and the actual operators corresponding to the first computer room and the second computer room are the same, then a first data connection mode is generated, and the first data connection mode is to connect the second computer room from the first computer room in a pull mode.
[0120] Optionally, the data association mode includes: a first data association mode and a second data association mode;
[0121] The second determination module is further adapted to: if the network attribute of the first computer room is the second preset network attribute and the computer room attribute of the first computer room is the first preset computer room attribute, then generating a first data connection mode and a second data connection mode, wherein the priority of the first data connection mode is higher than the priority of the second data connection mode, the first data connection mode is to connect the first computer room to the second computer room in a pull mode, and the second data connection mode is to connect the second computer room to the NAT address of the first computer room in a push mode.
[0122] Optionally, the data association mode includes: a third data association mode and a fourth data association mode;
[0123] The second determination module is further adapted to: if the operator attribute of the first computer room is the first operator attribute, and the computer room attribute of the second computer room is the first preset computer room attribute, then a third data connection mode and a fourth data connection mode are generated, wherein the priority of the third data connection mode is higher than the priority of the fourth data connection mode, the third data connection mode is to connect the first computer room from the second computer room in a push mode, and the fourth data connection mode is to connect the NAT address of the second computer room from the first computer room in a pull mode.
[0124] Optionally, the data association mode includes: a first data association mode and a third data association mode;
[0125] The second determination module is further suitable for: if the operator attribute of the first computer room is the first operator attribute, the computer room attribute of the second computer room is the second preset computer room attribute and the operator attribute of the second computer room is the second operator attribute, then generating a first data connection mode and a third data connection mode, wherein the priority of the first data connection mode is higher than the priority of the third data connection mode, the first data connection mode is to connect the second computer room from the first computer room in a pull mode, and the third data connection mode is to connect the first computer room from the second computer room in a push mode.
[0126] Optionally, the sending module is further adapted to: if the data association mode is the first data association mode or the second data association mode, send the service quality data collection task to the first computer room;
[0127] If the data connection mode is the second data connection mode or the third data connection mode, a service quality data collection task is sent to the second computer room.
[0128] Optionally, the device further includes: a first judgment module, adapted to judge whether the network attributes of the first computer room and the second computer room are the same; and / or
[0129] If the operator attributes of the first computer room and the second computer room are both the first operator attributes, determining whether the actual operators corresponding to the first computer room and the second computer room are the same;
[0130] A deletion module, adapted to delete the service quality data collection task if the network attributes of the first computer room and the second computer room are different, and / or the actual operators corresponding to the first computer room and the second computer room are different;
[0131] The second determination module is further adapted to: if the network attributes of the first computer room and the second computer room are the same, and / or the actual operators corresponding to the first computer room and the second computer room are the same, then determine the data connection mode between the first computer room and the second computer room according to the network facility attributes of the first computer room and / or the second computer room.
[0132] Optionally, the device further comprises: an acquisition module adapted to acquire a data association mode of the last successful collection of service quality data;
[0133] A second judgment module is adapted to judge whether the data association mode of the last successful collection of service quality data is the same as the data association mode determined according to the network facility attributes of the first computer room and / or the second computer room;
[0134] The sending module is further adapted to: if different, sending a service quality data collection task to the first computer room or the second computer room according to the data connection mode of the last successful collection of service quality data, so that the first computer room collects the service quality data of the second computer room according to the data connection mode of the last successful collection of service quality data.
[0135] The description of each module above refers to the corresponding description in the method embodiment and will not be repeated here.
[0136] According to the device provided in the embodiment of the present application, a suitable data connection mode is determined for different heterogeneous networks, so that the service quality data of the heterogeneous networks can be collected. This facilitates route selection based on the collected service quality data of the heterogeneous networks, avoiding customer complaints due to quality damage or network accidents. The data connection mode of the current round of service quality data collection tasks is determined in combination with the data connection mode of the previous round of successful service quality data collection, which can improve the connection success rate and improve the service quality data collection success rate.
[0137] An embodiment of the present application provides a non-volatile computer storage medium, which stores at least one executable instruction or computer program, which enables a processor to perform operations corresponding to the service quality data collection method for a heterogeneous network in any of the above method embodiments.
[0138] An embodiment of the present application provides a computer program product, which includes at least one executable instruction or computer program, which can enable a processor to perform operations corresponding to the service quality data collection method for a heterogeneous network in any of the above method embodiments.
[0139] Figure 6 A schematic diagram of the structure of an embodiment of a computing device of the present application is shown. The specific embodiment of the present application does not limit the specific implementation of the computing device.
[0140] like Figure 6 As shown, the computing device may include: a processor (processor) 602 , a communications interface (Communications Interface) 604 , a memory (memory) 606 , and a communication bus 608 .
[0141] The processor 602, the communication interface 604, and the memory 606 communicate with each other via the communication bus 608. The communication interface 604 is used to communicate with other devices such as a client or other server network elements. The processor 602 is used to execute the program 610, which can specifically execute the relevant steps in the above-mentioned embodiment of the service quality data collection method for a heterogeneous network of computing devices.
[0142] Specifically, the program 610 may include program codes, which include computer operation instructions.
[0143] The processor 602 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the computing device may be processors of the same type, such as one or more CPUs; or may be processors of different types, such as one or more CPUs and one or more ASICs.
[0144] The memory 606 is used to store the program 610. The memory 606 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0145] The program 610 can be specifically used to enable the processor 602 to execute the service quality data collection method for the heterogeneous network in any of the above-mentioned method embodiments. The specific implementation of each step in the program 610 can refer to the corresponding descriptions in the corresponding steps and units in the above-mentioned heterogeneous network service quality data collection embodiment, which will not be repeated here. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-mentioned devices and modules can refer to the corresponding process description in the above-mentioned method embodiment, which will not be repeated here.
[0146] The algorithm and display provided herein are not inherently related to any specific computer, virtual system or other equipment. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious to construct the structure required for this type of system. In addition, the present application embodiment is not directed to any specific programming language yet. It should be understood that various programming languages can be utilized to realize the content of the present application embodiment described herein, and the above description of specific languages is to disclose the best mode of implementation of the present application embodiment.
[0147] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0148] Similarly, it should be understood that in order to streamline the present disclosure and help understand one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present application, the various features of the embodiments of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be interpreted as reflecting the following intention: the claimed embodiments of the present application require more features than the features clearly stated in each claim. More specifically, as reflected in the claims below, the inventive aspects are less than all the features of the single embodiment disclosed above. Therefore, the claims following the specific embodiment are hereby explicitly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the embodiment of the present application.
[0149] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0150] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the embodiments of the present application and to form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.
[0151] The various component embodiments of the embodiments of the present application can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components according to the embodiments of the present application. The embodiments of the present application can also be implemented as a device or apparatus program (e.g., computer program and computer program product) for executing part or all of the methods described herein. Such a program implementing the embodiments of the present application can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0152] It should be noted that the above embodiments illustrate rather than limit the embodiments of the present application, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets should not be constructed as a limitation to the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The embodiments of the present application may be implemented by means of hardware including several different elements and by means of appropriately programmed computers. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names.
Claims
1. A method for collecting service quality data of a heterogeneous network, comprising: Generate a service quality data collection task according to a computer room in a heterogeneous network, wherein the service quality data collection task involves a first computer room and a second computer room, and a computer room level of the first computer room is lower than a computer room level of the second computer room; Determining network facility attributes of the first computer room and / or the second computer room; Determine a data connection mode between the first computer room and the second computer room according to network facility attributes of the first computer room and / or the second computer room; According to the data connection mode, a service quality data collection task is sent to the first computer room or the second computer room, so that the first computer room collects the service quality data of the second computer room according to the data connection mode.
2. The method according to claim 1, wherein: The network facility attributes include: operator attributes, network attributes, and computer room attributes.
3. The method according to claim 2, wherein: The data association mode includes: a first data association mode; The step of determining the data connection mode between the first computer room and the second computer room according to the network facility attributes of the first computer room and / or the second computer room further includes: If the network attributes of the first computer room and the second computer room are both the first preset network attributes, and / or, if the operator attributes of the first computer room and the second computer room are both the first operator attributes, and the actual operators corresponding to the first computer room and the second computer room are the same, then a first data connection mode is generated, and the first data connection mode is to connect the second computer room from the first computer room in a pull mode.
4. The method according to any one of claims 2 to 3, wherein: The data association mode includes: a first data association mode and a second data association mode; The step of determining the data connection mode between the first computer room and the second computer room according to the network facility attributes of the first computer room and / or the second computer room further includes: If the network attribute of the first computer room is the second preset network attribute and the computer room attribute of the first computer room is the first preset computer room attribute, a first data connection mode and a second data connection mode are generated, wherein the priority of the first data connection mode is higher than the priority of the second data connection mode, the first data connection mode is to connect to the second computer room from the first computer room in a pull mode, and the second data connection mode is to connect to the NAT address of the first computer room from the second computer room in a push mode.
5. The method according to any one of claims 2 to 4, wherein: The data association mode includes: a third data association mode and a fourth data association mode; The step of determining the data connection mode between the first computer room and the second computer room according to the network facility attributes of the first computer room and / or the second computer room further includes: If the operator attribute of the first computer room is the first operator attribute, and the computer room attribute of the second computer room is the first preset computer room attribute, then a third data connection mode and a fourth data connection mode are generated, wherein the priority of the third data connection mode is higher than the priority of the fourth data connection mode, the third data connection mode is to connect to the first computer room from the second computer room in push mode, and the fourth data connection mode is to connect to the NAT address of the second computer room from the first computer room in pull mode.
6. The method according to any one of claims 2 to 5, wherein: The data association mode includes: a first data association mode and a third data association mode; The step of determining the data connection mode between the first computer room and the second computer room according to the network facility attributes of the first computer room and / or the second computer room further includes: If the operator attribute of the first computer room is the first operator attribute, the computer room attribute of the second computer room is the second preset computer room attribute and the operator attribute of the second computer room is the second operator attribute, then the first data connection mode and the third data connection mode are generated, wherein the priority of the first data connection mode is higher than the priority of the third data connection mode, the first data connection mode is to connect the second computer room from the first computer room in pull mode, and the third data connection mode is to connect the first computer room from the second computer room in push mode.
7. The method according to any one of claims 3 to 6, wherein: The sending of the service quality data collection task to the first computer room or the second computer room according to the data connection mode further comprises: If the data connection mode is the first data connection mode or the second data connection mode, sending a service quality data collection task to the first computer room; If the data connection mode is the second data connection mode or the third data connection mode, a service quality data collection task is sent to the second computer room.
8. The method according to any one of claims 2 to 7, wherein: The method further includes: determining whether the network attributes of the first computer room and the second computer room are the same; and / or If the operator attributes of the first computer room and the second computer room are both the first operator attributes, determining whether the actual operators corresponding to the first computer room and the second computer room are the same; If the network attributes of the first computer room and the second computer room are different, and / or the actual operators corresponding to the first computer room and the second computer room are different, then deleting the service quality data collection task; If the network attributes of the first computer room and the second computer room are the same, and / or the actual operators corresponding to the first computer room and the second computer room are the same, the data connection mode between the first computer room and the second computer room is determined according to the network facility attributes of the first computer room and / or the second computer room.
9. The method according to any one of claims 1 to 8, wherein: The method further comprises: obtaining the data association mode of the last successful collection of service quality data; Determine whether the data connection mode for successfully collecting the service quality data last time is the same as the data connection mode determined according to the network facility attributes of the first computer room and / or the second computer room; According to the data connection mode, sending a service quality data collection task to the first computer room or the second computer room so that the first computer room collects the service quality data of the second computer room according to the data connection mode further includes: If they are different, a service quality data collection task is sent to the first computer room or the second computer room according to the data connection mode of the last successful collection of service quality data, so that the first computer room collects the service quality data of the second computer room according to the data connection mode of the last successful collection of service quality data.
10. A service quality data collection device for a heterogeneous network, comprising: A generating module, adapted to generate a service quality data collection task according to a computer room in a heterogeneous network, wherein the service quality data collection task involves a first computer room and a second computer room, and a computer room level of the first computer room is lower than a computer room level of the second computer room; A first determination module, adapted to determine network facility attributes of the first computer room and / or the second computer room; A second determination module, adapted to determine a data connection mode between the first computer room and the second computer room according to network facility attributes of the first computer room and / or the second computer room; The sending module is adapted to send a service quality data collection task to the first computer room or the second computer room according to the data connection mode, so that the first computer room collects the service quality data of the second computer room according to the data connection mode.
11. A computing device comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations corresponding to the service quality data collection method for heterogeneous networks as described in any one of claims 1-9.
12. A computer storage medium, wherein at least one executable instruction is stored in the storage medium, and the executable instruction enables a processor to execute operations corresponding to the method for collecting quality of service data of a heterogeneous network as described in any one of claims 1 to 9.
13. A computer program product, comprising at least one executable instruction, wherein the executable instruction enables a processor to execute operations corresponding to the method for collecting quality of service data of a heterogeneous network according to any one of claims 1 to 9.