CN110430101B - Service index data acquisition method, device, equipment and system applied to CDN - Google Patents

Service index data acquisition method, device, equipment and system applied to CDN Download PDF

Info

Publication number
CN110430101B
CN110430101B CN201910802260.3A CN201910802260A CN110430101B CN 110430101 B CN110430101 B CN 110430101B CN 201910802260 A CN201910802260 A CN 201910802260A CN 110430101 B CN110430101 B CN 110430101B
Authority
CN
China
Prior art keywords
equipment
index data
service index
acquisition
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910802260.3A
Other languages
Chinese (zh)
Other versions
CN110430101A (en
Inventor
裴志强
黄福鑫
党水利
王江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Linkingcloud Painting Technology Co ltd
Original Assignee
Hangzhou Linkingcloud Painting Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Linkingcloud Painting Technology Co ltd filed Critical Hangzhou Linkingcloud Painting Technology Co ltd
Priority to CN201910802260.3A priority Critical patent/CN110430101B/en
Publication of CN110430101A publication Critical patent/CN110430101A/en
Application granted granted Critical
Publication of CN110430101B publication Critical patent/CN110430101B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/12Network monitoring probes

Abstract

The application relates to a method, a device, equipment and a system for acquiring service index data applied to a CDN (content delivery network), wherein the method comprises the following steps: the method comprises the steps that acquisition equipment in a node sends service index data acquisition requests to all equipment in the node, each equipment returns service index data to the acquisition equipment according to the received service index acquisition requests, and the acquisition equipment receives the service index data of each equipment and then sends the service index data to a central server in the CDN system. Based on the method, each device in the node is prevented from respectively sending the service index data of the device to the central server, the bandwidth of the central server is saved, and the bandwidth cost of the central server is reduced.

Description

Service index data acquisition method, device, equipment and system applied to CDN
Technical Field
The present application relates to the field of content delivery network technologies, and in particular, to a method, an apparatus, a device, and a system for acquiring service index data applied to a CDN.
Background
A Content Delivery Network (CDN) is mainly used to alleviate congestion of a backbone network and accelerate a user access speed, and in order to ensure quality of service of the CDN, operation indexes of various services of a cache node need to be acquired. Because the CDN is generally layered, a plurality of nodes are provided inside the hierarchy, and each node may be provided with a plurality of devices, during acquisition, an acquisition script is often required to be deployed in each device in the node, and then the acquired service index data is respectively sent to the central server, which may cause the central server to occupy a larger bandwidth when receiving the service index data acquired by the acquisition script of each device, thereby increasing the bandwidth cost of the central server.
Disclosure of Invention
In order to overcome the problems in the related art at least to a certain extent, the application provides a service index data acquisition method, device, equipment and system applied to the CDN.
According to a first aspect of the present application, a method for acquiring service index data applied to a CDN is provided, where the method is applied to an acquisition device in a node, and the method includes:
sending a service index data acquisition request to all equipment in the node; all the devices comprise other devices and preset acquisition devices; so that the other equipment and the acquisition equipment send service index data to the acquisition equipment according to the service index data acquisition request; the other equipment is equipment except the acquisition equipment in the node;
receiving the service indicator data;
and sending the service index data to a central server of the CDN system.
Optionally, the acquisition device is selected from each device in the node through a preset rule;
before sending a service index data acquisition request to other devices, the service index data acquisition method applied to the CDN further includes:
acquiring a priority list of each device in a node;
judging the priority of the equipment according to the priority list;
when the equipment is the equipment with the highest priority in the active equipment of the node, the equipment is set as the acquisition equipment; the active device is a device in a running state in the node.
Optionally, the sending the service index data to a central server of the CDN system includes:
integrating the service index data of the other devices and the service index data of the acquisition device to obtain node-level service index data;
and sending the node-level service index data to a central server of the CDN system.
According to a second aspect of the present application, there is provided a service index data acquisition method applied to a CDN, where the method is applied to other devices except for an acquisition device in a node, and the method includes:
receiving a service index data acquisition request sent by acquisition equipment;
and sending the service index data to the acquisition equipment according to the service index data acquisition request so that the acquisition equipment sends the service index data to a central server of the CDN system.
Optionally, the acquisition device is selected from each device in the node through a preset rule;
before acquiring the service index data of the self, the service index data acquisition method applied to the CDN further includes:
acquiring a priority list of each device in a node;
judging the priority of the equipment according to the priority list;
when the equipment is the equipment with the highest priority in the active equipment of the node, the equipment is set as the acquisition equipment; the active device is a device in a running state in the node.
According to a third aspect of the present application, there is provided a service index data acquisition device applied to a CDN, which is applied to an acquisition device in a node, and includes:
the first sending module is used for sending a service index data acquisition request to all equipment in the node; all the devices comprise other devices and preset acquisition devices; so that the other equipment and the acquisition equipment send service index data to the acquisition equipment according to the service index data acquisition request; the other equipment is equipment except the acquisition equipment in the node;
a first receiving module, configured to receive the service index data;
and the second sending module is used for sending the service index data to a central server of the CDN system.
Optionally, the acquisition device is selected from each device in the node through a preset rule;
the service index data acquisition device applied to the CDN further comprises:
the first acquisition module is used for acquiring a priority list of each device in the node;
the first judging module is used for judging the priority of the equipment according to the priority list;
the first setting module is used for setting the equipment as the acquisition equipment when the equipment is the equipment with the highest priority in the active equipment of the node; the active device is a device in a running state in the node.
Optionally, the second sending module includes:
the integration processing unit is used for integrating the service index data of the other equipment to obtain node-level service index data;
and the sending unit is used for sending the node-level service index data to a central server of the CDN system.
According to a fourth aspect of the present application, there is provided a service index data acquisition apparatus applied to a CDN, where the service index data acquisition apparatus is applied to a node except for an acquisition device, and the apparatus includes:
the second receiving module is used for receiving a service index data acquisition request sent by the acquisition equipment;
and the third sending module is used for sending the service index data to the acquisition equipment according to the service index data acquisition request so that the acquisition equipment sends the service index data to a central server of the CDN system.
Optionally, the acquisition device is selected from each device in the node through a preset rule;
the service index data acquisition device applied to the CDN further comprises:
the second acquisition module is used for acquiring a priority list of each device in the node;
the second judging module is used for judging the priority of the equipment according to the priority list;
the second setting module is used for setting the equipment as the acquisition equipment when the equipment is the equipment with the highest priority in the active equipment of the node; the active device is a device in a running state in the node.
According to a fifth aspect of the present application, a service index data acquisition device applied to a CDN is provided, where the service index data acquisition device applied to the CDN is an acquisition device in a node, and the service index data acquisition device includes:
the system comprises a first processor and a first memory connected with the first processor;
the first memory is configured to store a computer program, where the computer program is at least configured to execute the service index data acquisition method applied to the CDN according to the first aspect of the present application;
the first processor is configured to invoke and execute the computer program in the first memory.
According to a sixth aspect of the present application, a service index data acquisition device applied to a CDN is provided, where the service index data acquisition device applied to the CDN is another device in a node except for an acquisition device, and the device includes:
the second processor and a second memory connected with the second processor;
the second memory is used for storing a computer program, and the computer program is at least used for executing the service index data acquisition method applied to the CDN in the second aspect of the present application;
the second processor is configured to invoke and execute the computer program in the second memory.
According to a seventh aspect of the present application, there is provided a service index data collection system applied to a CDN, including:
the acquisition device of the fifth aspect of the present application;
a further device according to the sixth aspect of the present application in communicative connection with the acquisition device;
and the central server is in communication connection with the acquisition equipment in the CDN system.
The technical scheme provided by the application can comprise the following beneficial effects: firstly, a preset acquisition device in a node sends a service index data acquisition request to all devices in the node, other devices and the acquisition device return service index data to the acquisition device according to the received service index acquisition request, and the acquisition device sends the service index data to a central server in the CDN system after receiving the service index data of all the devices. Based on the method, each device in the node is prevented from respectively sending the service index data of the device to the central server, the bandwidth of the central server is saved, and the bandwidth cost of the central server is reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic flowchart of a service index data acquisition method applied to a CDN according to an embodiment of the present disclosure.
Fig. 2 is a schematic flowchart of a service index data acquisition method applied to the CDN according to a second embodiment of the present application.
Fig. 3 is a schematic flowchart of a service index data acquisition method applied to the CDN according to a third embodiment of the present application.
Fig. 4 is a schematic structural diagram of a service index data acquisition device applied to a CDN according to a fourth embodiment of the present application.
Fig. 5 is a schematic structural diagram of a service index data acquisition device applied to a CDN according to a fifth embodiment of the present application.
Fig. 6 is a schematic structural diagram of a service index data acquisition device applied to a CDN according to a sixth embodiment of the present application.
Fig. 7 is a schematic structural diagram of a service index data acquisition device applied to a CDN according to a seventh embodiment of the present application.
Fig. 8 is a schematic structural diagram of a service index data acquisition system applied to a CDN according to an eighth embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The CDN is mainly used for relieving congestion of a backbone network and accelerating the access speed of a user. The principle is that CDN edge nodes are utilized to cache resources of a remote source station to the local so as to accelerate the access speed of a user to the resources. If the resources accessed by the user are not found in the CDN edge node, the edge node can return the source to request the resources from the source station, the resources retrieved from the source station are sent to the user and are locally stored in the edge node, and when other users request the same resources, the resources are directly retrieved from the local and returned to the user.
In order to ensure the quality of the CDN service, the operation indexes of each service of the cache node need to be monitored, so that the problem of service index acquisition is involved. The service indexes of each running service process on one device are easy to collect, and only one collection script needs to be deployed on the device and is regularly executed for collection. However, sometimes, a service index at a node level needs to be concerned, and the purpose cannot be achieved by using a collection method for single equipment.
Currently, a single device is generally collected first, and then the collected data is uploaded to a central server, which classifies and summarizes the data according to nodes. However, the disadvantages of this approach are evident: the edge nodes have a lot of devices, so that the bandwidth occupation of the central server node is large (the bandwidth cost of the central server node is generally large); and handling the upload requests of a large number of edge node devices also puts a heavy strain on the central server.
In order to solve the technical problem that the bandwidth of the central server is occupied greatly because each device in the node respectively sends the service index data to the central server, the present application provides a method, an apparatus, a device and a system for acquiring service index data applied to the CDN, and the following description is provided in an embodiment.
Example one
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a method for acquiring service index data applied to a CDN according to an embodiment of the present disclosure. In this embodiment, the interaction between the collection device in the node, the other devices except the collection device in the node, and the central server is taken as an example for explanation.
As shown in fig. 1, the method for acquiring service index data applied to the CDN provided in this embodiment includes:
step 101, each device in the node acquires a priority list.
It should be noted that the priority list is preset, and the priority list may include an order of priorities of devices in the node and device identifiers of the devices in the node, where the device identifiers may be codes compiled in advance for the devices, or may be IP addresses of the devices in the network, as long as the device identifiers can be addressed to the devices. For example, there are A, B, C three devices in the node, and the priority order of each device agreed in the priority list is, from high to low, an a device, a B device, and a C device, where the device identifier takes the IP address of each device as an example, the IP address of the a device is 192.168.21.1, the IP address of the B device is 192.168.21.2, and the IP address of the C device is 192.168.21.3, then the priority list may be as shown in table 1, where priority 1 is the highest in table 1, and the larger the number is, the lower the priority is.
Device name Priority level Equipment label (IP address)
A equipment 1 192.168.21.1
B device 2 192.168.21.2
C equipment 3 192.168.21.3
TABLE 1
And 102, each device in the node judges the priority of the device in the node.
Taking the above device a, device B, and device C as examples, the device a determines that its own priority is the first bit, the device B determines that its own priority is the second bit, and the device C determines that its own priority is the third bit.
And 103, determining the acquisition equipment to be equipment for acquiring all equipment service index data in the node according to a preset convention by the acquisition equipment.
And step 104, determining that the other equipment except the acquisition equipment in the node is equipment which does not acquire service index data of all equipment in the node according to a preset convention.
It should be noted that the preset convention may be that the active device with the highest priority is a device that collects service index data of all devices in the node, that is, a collection device, and the other devices are devices that do not collect service index data of all devices in the node, that is, other devices. The active device may be a device in a node in an operating state, where the operating state referred to herein may refer to a power-on state, or may refer to a power-on state without a fault. Taking the above-mentioned device a, device B, and device C as an example, since the priority order is device a, device B, and device C in sequence, when all three devices are active devices, device a is an acquisition device, and device B and device C are other devices; when only the device B and the device C are active devices, the device B is a collecting device, and the device A and the device C are other devices.
And 105, sending a service index data acquisition request to all the equipment in the node by the acquisition equipment.
And 106, each device receives a service index data acquisition request.
And step 107, each device sends respective service index data to the acquisition device according to the service index data acquisition request.
When each device transmits the service index data, the device identifier of the device can be associated with the service index data of the device, and then the service index data is transmitted. It should be noted that each device includes an acquisition device and other devices in the node except the acquisition device.
And step 108, receiving the service index data of each device by the acquisition device.
And step 109, integrating the acquired service index data of other equipment and the acquired service index data of the acquisition equipment by the acquisition equipment to obtain node-level service index data.
The integration processing in this step may be a processing method of summarizing the service index data sent by each device according to the device identifier of each other device. This step may relieve the central server from the pressure of processing the data. Of course, the collection device may directly send the service index data of each other device to the central server without performing integration processing.
And step 110, the acquisition equipment sends the node-level service index data to a central server.
Firstly, a collection device in a node sends service index data acquisition requests to all devices in the node, each device returns service index data to the collection device according to the received service index acquisition requests, and the collection device sends the service index data to a central server in the CDN system after receiving the service index data of each device. Based on the method, each device in the node is prevented from respectively sending the service index data of the device to the central server, the bandwidth of the central server is saved, and the bandwidth cost of the central server is reduced.
Example two
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a service index data acquisition method applied to a CDN according to a second embodiment of the present disclosure. The present embodiment takes the execution on the acquisition device side as an example for explanation.
As shown in fig. 2, the method for acquiring service index data applied to the CDN provided in this embodiment includes:
step 21, sending service index data acquisition requests to all devices in the nodes; all the devices comprise other devices and preset acquisition devices; so that the other equipment and the acquisition equipment send service index data to the acquisition equipment according to the service index data acquisition request; and the other equipment is equipment in the node except the acquisition equipment.
And step 22, receiving service index data.
And step 23, sending the service index data to a central server of the CDN system.
Firstly, a collection device in a node sends service index data acquisition requests to all devices in the node, each device returns service index data to the collection device according to the received service index acquisition requests, and the collection device sends the service index data to a central server in the CDN system after receiving the service index data of each device. Based on the method, each device in the node is prevented from respectively sending the service index data of the device to the central server, the bandwidth of the central server is saved, and the bandwidth cost of the central server is reduced.
It should be noted that, for the specific explanation of the above steps in this embodiment, reference may be made to the first embodiment of the present application, which is not described again in this embodiment.
Further, the selection of the collection device may be performed in various manners, for example, the collection device may be directly designated, and one device in the node is directly designated as the collection device at an initial operation stage to collect the service index data of all devices in the node, however, the manner loses the capability of collecting the service index data when the designated collection device is damaged due to a fault, and is poor in stability, so that another manner may be provided, for example, the current collection device is automatically generated by a selection manner according to priority, and the specific steps of the manner are as follows:
first, before being elected as an acquisition device, the acquisition device of this embodiment acquires a priority list of each device in a node, and then determines its own priority according to the priority list, and elects itself as the acquisition device when it is a device with the highest priority among node active devices, and certainly, if there is an active device with a higher priority than its own priority in a node, it cannot be elected as the acquisition device and is converted into another device in the node.
For the detailed explanation of each term or step in the above steps, reference may be made to the first embodiment of the present application, which is not described herein again.
In addition, in order to reduce the pressure of the central server on processing data, the collecting device may process the service index data of each other device before sending the service index data to the central server, and therefore, step 23 may include:
integrating the service index data of other equipment and the service index data of the acquisition equipment to obtain node-level service index data; and sending the node-level service index data to a central server of the CDN system.
Specifically, the detailed explanation of each term or step in the above steps can refer to the first embodiment of the present application, and is not repeated herein.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic flowchart of a service index data acquisition method applied to a CDN according to a third embodiment of the present application. In this embodiment, the execution of the other device sides except the acquisition device in the node is taken as an example for explanation.
As shown in fig. 3, the method for acquiring service index data applied to the CDN provided in this embodiment includes:
step 31, receiving a service index data acquisition request sent by acquisition equipment;
and step 32, sending the service index data to the acquisition equipment according to the service index data acquisition request so that the acquisition equipment sends the service index data to a central server of the CDN system.
First, before being elected as an acquisition device, the acquisition device of this embodiment acquires a priority list of each device in a node, and then determines its own priority according to the priority list, and elects itself as the acquisition device when it is a device with the highest priority among node active devices, and certainly, if there is an active device with a higher priority than its own priority in a node, it cannot be elected as the acquisition device and is converted into another device in the node.
Further, the acquisition equipment is selected from all equipment in the nodes through a preset rule;
before acquiring the self service index data, the service index data acquisition method applied to the CDN further includes:
acquiring a priority list of each device in a node;
judging the priority of the equipment according to the priority list;
when the equipment is the equipment with the highest priority in the active equipment of the node, the equipment is set as acquisition equipment; the active device is a device in a node that is in a running state.
Specifically, the detailed explanation of each term or step in the above steps can refer to the first embodiment of the present application, and is not repeated herein.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of a service index data acquisition device applied to a CDN according to a fourth embodiment of the present disclosure. The device of the embodiment is applied to the acquisition equipment in the node.
As shown in fig. 4, the service index data acquisition device applied to the CDN of the present embodiment includes:
a first sending module 41, configured to send a service index data acquisition request to all devices in a node; all the devices comprise other devices and preset acquisition devices; so that the other equipment and the acquisition equipment send service index data to the acquisition equipment according to the service index data acquisition request; the other equipment is equipment except the acquisition equipment in the node;
a first receiving module 42, configured to receive service index data;
and a second sending module 43, configured to send the service index data to a central server of the CDN system.
Further, the acquisition equipment is selected from all equipment in the nodes through a preset rule;
the service index data acquisition device applied to the CDN further comprises:
the first acquisition module is used for acquiring a priority list of each device in the node;
the first judging module is used for judging the priority of the equipment according to the priority list;
the first setting module is used for setting the equipment as acquisition equipment when the equipment is the equipment with the highest priority in the active equipment of the node; the active device is a device in a node that is in a running state.
Optionally, the second sending module includes:
the integration processing unit is used for integrating the service index data of other equipment and the service index data of the acquisition equipment to obtain node-level service index data;
and the sending unit is used for sending the node-level service index data to a central server of the CDN system.
EXAMPLE five
Referring to fig. 5, fig. 5 is a schematic structural diagram of a service index data acquisition device applied to a CDN according to a fifth embodiment of the present disclosure. The device of the embodiment is applied to other equipment except the acquisition equipment in the node.
As shown in fig. 5, the service index data acquisition device applied to the CDN provided in this embodiment includes:
a second receiving module 51, configured to receive a service index data acquisition request sent by a collection device;
the third sending module 52 is configured to send the service index data to the collection device according to the service index data obtaining request, so that the collection device sends the service index data to the central server of the CDN system.
Further, the acquisition equipment is selected from all equipment in the nodes through a preset rule;
the service index data acquisition device applied to the CDN further comprises:
the second acquisition module is used for acquiring a priority list of each device in the node;
the second judging module is used for judging the priority of the equipment according to the priority list;
the second setting module is used for setting the equipment as acquisition equipment when the equipment is the equipment with the highest priority in the active equipment of the node; the active device is a device in a node that is in a running state.
EXAMPLE six
Referring to fig. 6, fig. 6 is a schematic structural diagram of a service index data acquisition device applied to a CDN according to a sixth embodiment of the present disclosure. The service index data acquisition equipment applied to the CDN is acquisition equipment in the node.
As shown in fig. 6, the service index data acquisition device applied to the CDN provided in this embodiment includes:
a first processor 61, and a first memory 62 connected to the first processor;
the first memory is used for storing a computer program, and the computer program is at least used for executing the service index data acquisition method applied to the CDN in the second embodiment of the application;
the first processor is used for calling and executing the computer program in the first memory.
EXAMPLE seven
Referring to fig. 7, fig. 7 is a schematic structural diagram of a service index data acquisition device applied to a CDN according to a seventh embodiment of the present disclosure. The service index data acquisition equipment applied to the CDN is other equipment except the acquisition equipment in the node.
As shown in fig. 7, the service index data acquisition device applied to the CDN provided in this embodiment includes:
a second processor 71, and a second memory 72 connected to the second processor;
the second memory is used for storing a computer program, and the computer program is at least used for executing the service index data acquisition method applied to the CDN in the third embodiment of the application;
the second processor is used for calling and executing the computer program in the second memory.
Example eight
Referring to fig. 8, fig. 8 is a schematic structural diagram of a service index data acquisition system applied to a CDN according to an eighth embodiment of the present disclosure.
As shown in fig. 8, the service index data acquisition system applied to the CDN provided in this embodiment includes:
the acquisition device 81 according to the sixth embodiment of the present application;
a further device 82 as in embodiment seven of the present application in communicative connection with the acquisition device;
a central server 83 in the CDN system communicatively connected to the acquisition device.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that, in the description of the present application, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present application, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (7)

1. A service index data acquisition method applied to a CDN is applied to acquisition equipment in a node, and is characterized by comprising the following steps:
acquiring a priority list of each device in a node; judging the priority of the equipment according to the priority list; when the equipment is the equipment with the highest priority in the active equipment of the node, the equipment is set as acquisition equipment; the active device is a device in a running state in the node;
sending a service index data acquisition request to all equipment in the node; all the devices comprise other devices and preset acquisition devices; so that the other equipment and the acquisition equipment send service index data to the acquisition equipment according to the service index data acquisition request; the other equipment is equipment except the acquisition equipment in the node; the acquisition equipment is selected from each equipment in the nodes through a preset rule;
receiving the service indicator data;
integrating the service index data of the other devices and the service index data of the acquisition device to obtain node-level service index data; and sending the node-level service index data to a central server of the CDN system.
2. A service index data acquisition method applied to a CDN is applied to other equipment except acquisition equipment in a node, and is characterized by comprising the following steps:
acquiring a priority list of each device in a node; judging the priority of the equipment according to the priority list; when the equipment is the equipment with the highest priority in the active equipment of the node, the equipment is set as acquisition equipment; the active device is a device in a running state in the node;
receiving a service index data acquisition request sent by acquisition equipment;
and sending the service index data to the acquisition equipment according to the service index data acquisition request so that the acquisition equipment sends the service index data to a central server of the CDN system.
3. The utility model provides a be applied to CDN's service index data acquisition device, is applied to the collection equipment in the node, its characterized in that includes:
the first acquisition module is used for acquiring a priority list of each device in the node; judging the priority of the equipment according to the priority list; when the equipment is the equipment with the highest priority in the active equipment of the node, the equipment is set as acquisition equipment; the active device is a device in a running state in the node;
the first sending module is used for sending a service index data acquisition request to all equipment in the node; all the devices comprise other devices and preset acquisition devices; so that the other equipment and the acquisition equipment send service index data to the acquisition equipment according to the service index data acquisition request; the other equipment is equipment except the acquisition equipment in the node;
a first receiving module, configured to receive the service index data;
the second sending module is used for integrating the service index data of each other device and the service index data of the acquisition device to obtain node-level service index data; and sending the node-level service index data to a central server of the CDN system.
4. The utility model provides a be applied to CDN's service index data acquisition device, is applied to in the node other equipment except acquisition device, its characterized in that includes:
the second acquisition module is used for acquiring a priority list of each device in the node; judging the priority of the equipment according to the priority list; when the equipment is the equipment with the highest priority in the active equipment of the node, the equipment is set as acquisition equipment; the active device is a device in a running state in the node;
the second receiving module is used for receiving a service index data acquisition request sent by the acquisition equipment;
and the third sending module is used for sending the service index data to the acquisition equipment according to the service index data acquisition request so that the acquisition equipment sends the service index data to a central server of the CDN system.
5. The utility model provides a be applied to CDN's service index data acquisition equipment, be applied to CDN's service index data acquisition equipment for the collection equipment in the node, its characterized in that includes:
the system comprises a first processor and a first memory connected with the first processor;
the first memory is for storing a computer program;
the first processor is configured to call and execute the computer program in the first memory to implement the method for acquiring service index data applied to the CDN as recited in claim 1.
6. The utility model provides a be applied to CDN's service index data acquisition equipment, be applied to CDN's service index data acquisition equipment for other equipment except acquisition device in the node, its characterized in that includes:
the second processor and a second memory connected with the second processor;
the second memory is for storing a computer program;
the second processor is configured to call and execute the computer program in the second memory to implement the method for acquiring service index data applied to the CDN as recited in claim 2.
7. The utility model provides a be applied to CDN's service index data acquisition system which characterized in that includes:
the acquisition device of claim 5;
the other device of claim 6 communicatively connected to the acquisition device;
and the central server is in communication connection with the acquisition equipment in the CDN system.
CN201910802260.3A 2019-08-28 2019-08-28 Service index data acquisition method, device, equipment and system applied to CDN Active CN110430101B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910802260.3A CN110430101B (en) 2019-08-28 2019-08-28 Service index data acquisition method, device, equipment and system applied to CDN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910802260.3A CN110430101B (en) 2019-08-28 2019-08-28 Service index data acquisition method, device, equipment and system applied to CDN

Publications (2)

Publication Number Publication Date
CN110430101A CN110430101A (en) 2019-11-08
CN110430101B true CN110430101B (en) 2021-09-03

Family

ID=68417942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910802260.3A Active CN110430101B (en) 2019-08-28 2019-08-28 Service index data acquisition method, device, equipment and system applied to CDN

Country Status (1)

Country Link
CN (1) CN110430101B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108156252A (en) * 2018-01-04 2018-06-12 北京奇艺世纪科技有限公司 A kind of data access method, device, server and client
CN108347360A (en) * 2018-02-07 2018-07-31 网宿科技股份有限公司 The acquisition method and network server of network testing data
CN109787827A (en) * 2019-01-18 2019-05-21 网宿科技股份有限公司 A kind of method and device of CDN network monitoring
CN109951399A (en) * 2019-03-25 2019-06-28 网宿科技股份有限公司 Processing method, server and the interchanger of request of data

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101394313B (en) * 2007-09-18 2012-04-04 华为技术有限公司 Service state monitoring method for peer-to-peer network nodes
CN102223261A (en) * 2011-05-17 2011-10-19 中兴通讯股份有限公司 Method and device for sampling message
CN103841042B (en) * 2014-02-19 2017-09-19 华为技术有限公司 The method and apparatus that data are transmitted under high operational efficiency
CN104574876B (en) * 2015-01-16 2017-06-16 移康智能科技(上海)股份有限公司 A kind of method for managing and monitoring and system based in monitoring system
CN108206847B (en) * 2016-12-19 2020-09-04 腾讯科技(深圳)有限公司 CDN management system, method and device
CN107395665B (en) * 2017-05-22 2020-04-24 创新先进技术有限公司 Block chain service acceptance and service consensus method and device
CN109218138B (en) * 2018-10-22 2021-06-04 西南石油大学 Network node monitoring method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108156252A (en) * 2018-01-04 2018-06-12 北京奇艺世纪科技有限公司 A kind of data access method, device, server and client
CN108347360A (en) * 2018-02-07 2018-07-31 网宿科技股份有限公司 The acquisition method and network server of network testing data
CN109787827A (en) * 2019-01-18 2019-05-21 网宿科技股份有限公司 A kind of method and device of CDN network monitoring
CN109951399A (en) * 2019-03-25 2019-06-28 网宿科技股份有限公司 Processing method, server and the interchanger of request of data

Also Published As

Publication number Publication date
CN110430101A (en) 2019-11-08

Similar Documents

Publication Publication Date Title
CN112868206B (en) Method, system and computer readable medium for providing service broker functionality
CN108370341B (en) Resource allocation method, virtual network function manager and network element management system
CN109618002B (en) Micro-service gateway optimization method, device and storage medium
US20210219222A1 (en) Network slice selection method and apparatus
CN110012437B (en) Method, device and system for sending multicast message
CN109167674B (en) Service node scoring method, Domain Name System (DNS) scheduling method and server
EP2136483A1 (en) A method, system and device of mapping system information block
CN102291465B (en) Load balancing method, device and system
CN111966289B (en) Partition optimization method and system based on Kafka cluster
CN111934947B (en) Speed measurement method, speed measurement scheduling server, terminal equipment and readable storage medium
WO2020078381A1 (en) Data aggregation method, device, equipment, storage medium and system
CN111585815B (en) Port data acquisition method and device
CN109561450B (en) Interaction method and device for load information
CN105247834A (en) Method for allocating network resources in virtual network function, composer and manager
CN110430101B (en) Service index data acquisition method, device, equipment and system applied to CDN
CN112956223A (en) Method, network function node and computer readable medium for event subscription management
CN105493444A (en) Fault management apparatus, device and method for network function virtualization (nfv)
CN110650135B (en) Node processing method, related equipment and computer readable storage medium
CN104735097A (en) Information collecting method and system
US20220369212A1 (en) Discovery of Which NEF or AF is Serving a UE
CN116055496B (en) Monitoring data acquisition method and device, electronic equipment and storage medium
KR100612254B1 (en) Apparatus and method of manage performance data in network management system using snmp
US20220141913A1 (en) Core network for mobile communication system
CN101557436B (en) Resource monitoring method and device thereof
CN113098914B (en) Message bus system, message transmission method and device, and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant