CN115442232B - CDN distributed management platform interface monitoring method and system - Google Patents

CDN distributed management platform interface monitoring method and system Download PDF

Info

Publication number
CN115442232B
CN115442232B CN202210948408.6A CN202210948408A CN115442232B CN 115442232 B CN115442232 B CN 115442232B CN 202210948408 A CN202210948408 A CN 202210948408A CN 115442232 B CN115442232 B CN 115442232B
Authority
CN
China
Prior art keywords
interface
data
management platform
cdn
cdn distributed
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
CN202210948408.6A
Other languages
Chinese (zh)
Other versions
CN115442232A (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.)
China Comservice Enrising Information Technology Co Ltd
Original Assignee
China Comservice Enrising Information 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 China Comservice Enrising Information Technology Co Ltd filed Critical China Comservice Enrising Information Technology Co Ltd
Priority to CN202210948408.6A priority Critical patent/CN115442232B/en
Publication of CN115442232A publication Critical patent/CN115442232A/en
Application granted granted Critical
Publication of CN115442232B publication Critical patent/CN115442232B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/042Network management architectures or arrangements comprising distributed management centres cooperatively managing the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention relates to the technical field of content delivery networks, and provides a CDN distributed management platform interface monitoring method and system. The invention can realize the comprehensive monitoring of the interface states of all interfaces of the management platform of the CDN distributed node, whether the CDN distributed node is a single CDN distributed node or a CDN distributed node cluster in the whole CDN system, the interface states are in effective monitoring so as to ensure that the interface data acquired by an application program at the CDN distributed node is accurate, the interface data is not tampered and lost, and the safety, the effectiveness and the integrity of the interface data are ensured.

Description

CDN distributed management platform interface monitoring method and system
Technical Field
The invention relates to the technical field of content delivery networks, in particular to a CDN distributed management platform interface monitoring method and system.
Background
CDN (Content Delivery Network ) is a technology that enables users to access internet services provided by CDN distributed nodes in a near-future manner by arranging CDN distributed nodes around the network, and is widely used in the IPTV field of operators. The existing CDN system is generally composed of a central control system and at least one CDN distributed node, where the CDN distributed node is generally divided into a provincial central node, a local market node, an edge node, and the like, and each CDN distributed node is equipped with an independent management platform, so as to uniformly manage and monitor each CDN distributed node, reduce service pressure of the central control system, and avoid abnormality of other nodes when a single CDN distributed node fails.
For delivering configuration management information of a CDN distributed node, a common manner is interface data delivery, that is, by setting a corresponding interface at a management platform of the CDN distributed node to implement delivering data, an application at the CDN distributed node is enabled to know how to schedule a user to which CDN distributed node, which users are prohibited from playing at the CDN distributed node, which content needs to be offline for copyright reasons, etc., which can be referred to in detail by referring to an interface data example diagram of a single interface of the management platform shown in fig. 1.
However, issuing data in the above manner tends to have the following problems:
1. how to monitor the interface states of all interfaces of the management platform of each CDN distributed node so as to ensure that the interface data acquired by an application program are correct, and in general, the system has two dimensions, namely, the front data and the rear data are unchanged, and the front data and the rear data are changed, but the change is the interface data confirmed by people;
2. how to solve the problem of updating and upgrading the management platform of the CDN distributed node, namely how to ensure that an application program of the node can still acquire data when acquiring interface data, rather than returning an error state code, when the management platform of a single CDN distributed node is updated and upgraded; on the other hand, after updating and upgrading, how to ensure that the interface data before and after upgrading are consistent, if the management platform is normally upgraded in the upgrading process, but the database is failed to upgrade, detailed data in the interface will return errors, and the common solution cannot find the detailed errors, but displays successful upgrading when the management platform of the node can be normally started.
Disclosure of Invention
The invention aims to provide a CDN distributed management platform interface monitoring method and system, which at least solve the technical problems of how to monitor the interface states of all interfaces of the management platform of each CDN distributed node, update and upgrade of the management platform of the CDN distributed node and the like.
The aim of the invention is achieved by the following technical scheme:
in one aspect, the invention provides a method for monitoring interfaces of a CDN distributed management platform, which comprises the following steps:
step S1, a central control system transmits a corresponding interface list to CDN distributed nodes;
s2, in the daily monitoring process, detecting and comparing the interface data of each interface of the management platform to obtain an interface comparison result R i
S3, obtaining interface comparison results R of all interfaces of the management platform i And summarizing and calculating to obtain an interface check result Nr of the CDN distributed node.
In some possible embodiments, in step S2, the interface data of one of the interfaces of the management platform is detected and compared to obtain an interface comparison result R i The process of (1) comprises:
s21, acquiring interface history data H of an interface i Interface current data N i Judging whether the interface response state code is 200;
s22, if the interface response state code is 200, comparing the interface historical data H through a comparison algorithm i Interface current data N i Whether or not the version and the data in (b) agree to obtain an interface data comparison result DIFF, wherein diff=diff (H i ,N i ) =0 or 1;
at the same time, the interface history data H is compared by the encryption contrast algorithm i Interface current data N i Whether the data in (a) are consistent or not to obtain an interface data encryption comparison result ENC, wherein enc=enc (H i ,N i ) =0 or 1;
step S23, if the interface response status code is not 200, directly assigning DIFF (H i ,N i )=2,ENC(H i ,N i )=2;
S24, calculating and obtaining an interface comparison result R of the interface according to the symbol function i The expression is as follows:
R i =Sign(DIFF(H i ,N i )+ENC(H i ,N i ) =0 or 1.
In some possible embodiments, if R i =1, keep interface history data H i Interface current data N i The method comprises the steps of carrying out a first treatment on the surface of the If R is i =0, using interface current data N i Update interfaceHistory data H i
In some possible embodiments, in step S3, the interface check result Nr of the CDN distributed node is calculated by a sign function, expressed as:
in some possible embodiments, step S2 further comprises:
when the management platform of the CDN distributed node is updated, the CDN distributed node receives an update and upgrade instruction from the central control system, the management platform pauses service, and if an application program at the CDN distributed node requests to access interface data at the moment, the last moment of interface data before the update is returned;
after updating and upgrading are completed, carrying out primary interface data acquisition, and carrying out detection comparison on the interface data of each interface of the management platform to obtain an interface comparison result R i
In some possible embodiments, the method further comprises the step of:
and S4, reporting an interface checking result Nr to the central control system by the CDN distributed node, and if an interface abnormal condition exists, transmitting abnormal interface information to the CDN distributed node by the central control system.
On the other hand, the invention provides a CDN distributed management platform interface monitoring system, which comprises a central control system and at least one CDN distributed node;
the central control system comprises an interface management module, wherein the interface management module is responsible for managing interface lists of all CDN distributed nodes and issuing interface lists to corresponding CDN distributed nodes, and meanwhile, the interface management module can receive interface inspection results Nr reported by an interface probe module of the CDN distributed nodes and issuing abnormal interface information to the CDN distributed nodes;
the CDN distributed node comprises a management platform and an interface probe module, wherein the interface probe module is responsible for detecting and comparing interfaces of the management platform to obtain an interface inspection result Nr, and reporting the interface inspection result Nr to the interface management module.
In some possible embodiments, the central control system further includes a management platform update module, where the management platform update module is responsible for issuing update and upgrade instructions to all CDN distributed nodes.
The technical scheme of the embodiment of the invention has at least the following advantages and beneficial effects:
1. the CDN distributed management platform interface monitoring method and system provided by the invention can realize comprehensive monitoring of the interface states of all interfaces of the management platform of the CDN distributed nodes, and the interface states are in effective monitoring no matter a single CDN distributed node or a CDN distributed node cluster in the whole CDN system, so that the interface data acquired by an application program at the CDN distributed node are ensured to be accurate, the interface data are ensured not to be tampered and lost, and the safety, the effectiveness and the integrity of the interface data are ensured.
2. According to the CDN distributed management platform interface monitoring method and system, in the process of updating and upgrading the management platform of the CDN distributed node, real-time availability of interface data is guaranteed, so that an application program can still acquire corresponding interface data in the process of updating and upgrading the management platform, meanwhile, after the updating and upgrading of the management platform are finished, the interface data of the interface are detected and compared, the success of updating and upgrading of the management platform is reported after the interface data are confirmed, the normal interface data in the process of updating and upgrading the management platform is ensured, and the fact that a subsequent application program can acquire the accurate interface data is ensured.
Drawings
FIG. 1 is a diagram illustrating an example of interface data for a single interface provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram of a monitoring system according to an embodiment of the present invention;
FIG. 3 is an illustration of an interface column representation of all CDN distributed nodes provided by an embodiment of the present invention;
fig. 4 is a flowchart of interface data detection and comparison performed by a single CDN distributed node according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of interface data comparison performed by a single interface according to an embodiment of the present invention;
fig. 6 is a flowchart of updating and upgrading a management platform of a CDN distributed node according to an embodiment of the present invention.
Detailed Description
In one aspect, the present embodiment provides a monitoring system for an interface of a CDN distributed management platform, referring to fig. 2, the monitoring system includes a central control system and at least one CDN distributed node, and the number of CDN distributed nodes is not specifically limited herein.
In this embodiment, in combination with the content shown in fig. 2, the central control system includes an interface management module, where the interface management module is responsible for managing interface lists of all CDN distributed nodes and issuing interface lists to corresponding CDN distributed nodes, that is, when a certain CDN distributed node is online, the interface management module can timely issue an interface list corresponding to the CDN distributed node. The interface list of all CDN distributed nodes may be stored in the interface management module in the form of [ interface 1, interface 2, interface 3, …, interface n ] so as to be provided for the corresponding CDN distributed nodes to use later, and the storage format of the data of the interface list in the interface management module is shown in fig. 3.
Meanwhile, the interface management module can also receive an interface inspection result Nr reported by the interface probe module of the CDN distributed node, and when the interface inspection result Nr shows that the interface is abnormal, the interface management module can issue abnormal interface information to the CDN distributed node, at this time, an application program at the CDN distributed node cannot acquire interface data from an interface with abnormal conditions, and for the interface with abnormal conditions, the interface data can be issued to a corresponding application program after the interface is manually confirmed or the state is recovered normally.
In addition, with continued reference to fig. 2, the central control system further includes a management platform update module, where the management platform update module is responsible for issuing an update and upgrade instruction to the CDN distributed node when the management platform of the CDN distributed node needs to be updated and upgraded, and starting to upgrade the management platform after the CDN distributed node receives the update and upgrade instruction.
In this embodiment, in combination with the content shown in fig. 2, the CDN distributed node includes a management platform, an interface probe module, an application program, a database, and other modules, where the interface probe module is responsible for performing detection comparison on all interfaces of the management platform to obtain an interface check result Nr, so as to determine whether an abnormal condition exists in an interface of the management platform, and meanwhile, the interface probe module is capable of reporting the interface check result Nr to the interface management module, where the interface management module stores the interface check result Nr in the central control system after receiving the interface check result Nr, so as to provide a subsequent monitoring alarm, and if the interface check result Nr shows that there is an interface abnormality, the interface management module issues abnormal interface information to the CDN distributed node; in addition, the interface probe module can also receive the update and upgrade instruction issued by the management platform update module, and the interface probe module acquires the interface data of all interfaces of the management platform at the last moment before update and upgrade, so that in the process of updating and upgrade of the management platform, if an application program requests to acquire the interface data, the interface probe module can return the interface data of the management platform at the last moment before update and upgrade to the application program, and the application program can normally request to access the interface data in the process of upgrade, thereby ensuring the real-time availability of the interface data.
On the other hand, in order to facilitate understanding, the present embodiment provides a method for monitoring interfaces of a CDN distributed management platform, and in the following, a monitoring process of all interfaces of a management platform of a CDN distributed node will be described as an example, and in conjunction with the contents shown in fig. 4 to fig. 6, the monitoring method includes the following steps:
s1, when a certain CDN distributed node is on line, an interface management module of a central control system issues a corresponding interface list to an interface probe module of the CDN distributed node.
Step S2, in the actual monitoring process, the monitoring process aiming at all interfaces of the management platform is often divided into two cases, namely a daily monitoring process and a management platform updating and upgrading process.
In the daily monitoring process, the interface probe module of the CDN distributed node is connected with the CDN distributed node according to the interfaceThe received interface list carries out detection comparison on the interface data of each interface of the management platform to obtain an interface comparison result R of all interfaces of the management platform of the CDN distributed node i Wherein R is i Interface comparison results of interfaces with a sequence number i, e.g., interface comparison results of interfaces with a sequence number 1 are denoted as R 1 Similarly, the interface comparison result of the interface with the serial number n is expressed as R n
It can be understood that in the daily monitoring process, the interface data based on the interfaces are not automatically updated, so that the interface probe module can be utilized to periodically detect and compare the interface data of each interface of the management platform, so as to realize the real-time monitoring of the state of each interface of the management platform.
When the management platform of the CDN distributed node is updated, the interface probe module of the CDN distributed node receives an update and upgrade instruction sent by the management platform update module of the central control system, the management platform pauses service and starts updating and upgrading, meanwhile, the interface probe module acquires interface data of all interfaces of the management platform at the last moment before updating and upgrading, if an application program at the CDN distributed node requests to access the interface data at the moment, the interface probe module is utilized to return the last moment of interface data to the application program before upgrading, namely, when the management platform is updated and upgraded, the application program at the CDN distributed node can acquire the last moment of interface data before the management platform is upgraded, the application program can normally request to access the interface data in the upgrading process, and the real-time availability of the interface data is ensured.
Meanwhile, based on the conditions that the data of the database is lost after the update and the upgrade of the management platform are finished, the update of the management platform is successful, but the interfaces cannot respond, and the like, after the update and the upgrade of the management platform are finished, the interface probe module performs interface data acquisition once, and the interface data of each interface of the management platform is detected and compared, namely, whether the interface data before and after the update are consistent is compared, so that an interface comparison result R is obtained i Further judging whether the management platform is successfully upgraded or not, and uploading the updated and upgraded result to the management platform updating moduleThe specific judgment criteria will be described in detail later. In other words, compared with daily monitoring, when the management platform is updated, only the detection comparison of the interface data is needed once after the update and the upgrade of the management platform are completed.
Specifically, in step S2, the interface data of one of the interfaces of the management platform is detected and compared to obtain an interface comparison result R i The process of (1) comprises:
s21, acquiring interface historical data H of an interface by an interface probe module i Interface current data N i And judges whether the interface response status code is 200. It should be noted that interface history data H i For the last time the interface data is detected and compared, the current data N of the interface i For the interface data in the detection and comparison, the interface history data H of the interface should be initialized in the detection and comparison for the first time i
S22, if the interface response status code is 200, the interface history data H is displayed according to the interface specification (refer to FIG. 1) i Interface current data N i And judging.
First, the interface history data H is compared by a comparison algorithm i Interface current data N i Whether or not the version and the data in (b) agree to obtain an interface data comparison result DIFF, wherein diff=diff (H i ,N i ) =0 or 1, if diff=diff (H i ,N i ) =0, representing interface history data H i Interface current data N i If version and data in (a) agree with each other, diff=diff (H i ,N i ) =1, representing interface history data H i Interface current data N i The version and the data of the file are inconsistent.
At the same time, the interface history data H is compared by the encryption contrast algorithm i Interface current data N i Whether the data in (a) are consistent or not to obtain an interface data encryption comparison result ENC, wherein enc=enc (H i ,N i ) =0 or 1, if enc=enc (H i ,N i ) =0, representing interface history data H i Interface withCurrent data N i If the data in (a) match, enc=enc (H i ,N i ) =1, representing interface history data H i Interface current data N i Is inconsistent with the data in the database.
It can be appreciated that the interface history data H is passed through the interface to the interface i Interface current data N i The final interface comparison result R can be improved by performing two-time judgment i Accuracy of (3).
S23, if the interface response status code is not 200, directly determining that the status of the interface is abnormal, directly assigning DIFF (H) i ,N i )=2,ENC(H i ,N i )=2;
S24, calculating and obtaining an interface comparison result R of the interface according to the symbol function i Note that the characteristic of the Sign function Sign (x) is 0 when x=0, and x is>0, the result is 1, when x<At 0, the calculation result is-1. Thus, the interface check result R of a single interface is calculated i And when the symbol function is used for carrying out corresponding judgment, the state of the interface can be effectively judged. Wherein, interface comparison result R i The expression is as follows:
R i =Sign(DIFF+ENC)=Sign(DIFF(H i ,N i )+ENC(H i ,N i ) =0 or 1.
At this time, if R i =0, representing the interface history data H of the current interface i Interface current data N i Consistent, the interface is in a normal state; if R is i =1, representing the interface history data H of the current interface i Interface current data N i Inconsistent, the interface is in an abnormal state.
It should be noted that, during the actual detection contrast process, if R i =1, keep interface history data H i Interface current data N i The method comprises the steps of carrying out a first treatment on the surface of the If R is i =0, using interface current data N i Updating interface history data H i To ensure that the interface data for that interface is in the most up-to-date state.
It will be appreciated that multiple processes may be employed simultaneouslyThe comparison mode is used for detecting and comparing, namely, all interfaces of the management platform of the CDN distributed node are detected and compared through the interface probe module at the same time, so that the efficiency of detecting and comparing is improved, and the interface comparison result R of all interfaces of the management platform is obtained i
S3, obtaining an interface comparison result R of all interfaces of the management platform by the interface probe module i And then, summarizing and calculating by an interface probe module to obtain an interface check result Nr of the CDN distributed node.
The interface check result Nr of the CDN distributed node is also calculated by a sign function, expressed as:
it can be understood that, if nr=0, it indicates that all interfaces of the management platform of the CDN distributed node are in a normal state, and if nr=1, it indicates that at least some interfaces of the management platform of the CDN distributed node are in an abnormal state. It should be noted that, in the update and upgrade stage of the management platform of the CDN distributed node, if nr=0, it indicates that the interface data of all interfaces before and after the update and upgrade of the management platform are consistent, which indicates that the update and upgrade of the management platform is successful; otherwise, if nr=1, it indicates that the interface data of at least part of the interfaces before and after the update and upgrade of the management platform are inconsistent, which indicates that the update and upgrade of the management platform fails, and after the update and upgrade of the management platform is required to be confirmed by personnel, the interface probe module can be used for daily monitoring and detecting and comparing in the next period, so as to reduce the problems of interface data loss, tamper, inconsistency and the like in the upgrade process of the management platform to the greatest extent.
Step S4, after the interface probe module of the CDN distributed node obtains the interface check result Nr, the interface probe module of the CDN distributed node reports the interface check result Nr of the CDN distributed node to the interface management module of the central control system, if an interface abnormality exists, namely, nr=1, the interface management module of the central control system issues abnormal interface information to the CDN distributed node, and it is ensured that interface data of an interface with the abnormality is not acquired by an application program at the CDN distributed node until the interface data can be issued to a corresponding application program after manual confirmation or state restoration is normal.
It can be understood that, in the update and upgrade stage of the management platform, the interface probe module reports the interface inspection result Nr to the interface management module of the central control system, and meanwhile, the interface inspection result Nr needs to be reported to the management platform update module, so as to know whether the update and upgrade of the management platform is successful in real time through the management platform update module.
Therefore, the interface state of all interfaces of the management platform of the CDN distributed node can be comprehensively monitored, whether a single CDN distributed node or a CDN distributed node cluster in the whole CDN system is used, the interface state is in effective monitoring, so that the interface data acquired by an application program at the CDN distributed node are ensured to be accurate, the interface data are ensured not to be tampered and lost, and the safety, the effectiveness and the integrity of the interface data are ensured.
In addition, in the updating and upgrading process of the management platform of the CDN distributed node, the real-time availability of the interface data is guaranteed, so that the application program can still acquire the corresponding interface data in the updating and upgrading process of the management platform, meanwhile, after the updating and upgrading of the management platform are completed, the interface data of the interface are detected and compared, the success of updating and upgrading of the management platform is reported after the interface data are confirmed to be correct, the interface data are ensured to be normal when the management platform is updated and upgraded, and the follow-up application program can acquire the accurate interface data.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (7)

1. The CDN distributed management platform interface monitoring method is characterized by comprising the following steps of:
s1, a central control system transmits a corresponding interface list to CDN distributed nodes;
s2, in the daily monitoring process, the CDN distributed node detects and compares the interface data of each interface of the management platform to obtain an interface comparison result R i
S3, the CDN distributed node obtains interface comparison results R of all interfaces of the management platform i Summarizing and calculating to obtain an interface check result Nr of the CDN distributed node;
in step S2, the CDN distributed node performs probe comparison on the interface data of one of the interfaces of the management platform to obtain an interface comparison result R i The process of (1) comprises:
s21, acquiring interface history data H of an interface i Interface current data N i Judging whether the interface response state code is 200;
s22, if the interface response state code is 200, comparing the interface historical data H through a comparison algorithm i Interface current data N i Whether or not the version and the data in (b) agree to obtain an interface data comparison result DIFF, wherein diff=diff (H i ,N i ) =0 or 1;
at the same time, the interface history data H is compared by the encryption contrast algorithm i Interface current data N i Whether the data in (a) are consistent or not to obtain an interface data encryption comparison result ENC, wherein enc=enc (H i ,N i ) =0 or 1;
s23, if the interface response status code is not 200, direct assignment of DIFF (H i ,N i )=2,ENC(H i ,N i )=2;
S24, calculating and obtaining an interface comparison result R of the interface according to the symbol function i The expression is as follows:
R i =Sign(DIFF(H i ,N i )+ENC(H i ,N i ) =0 or 1.
2. The CDN distributed management platform interface of claim 1The method for monitoring the mouth is characterized in that if R i =1, keep interface history data H i Interface current data N i The method comprises the steps of carrying out a first treatment on the surface of the If R is i =0, using interface current data N i Updating interface history data H i
3. The CDN distributed management platform interface monitoring method of claim 1, wherein in step S3, an interface check result Nr of the CDN distributed node is calculated by a sign function, expressed as:
4. the CDN distributed management platform interface monitoring method of claim 1, wherein step S2 further comprises:
when the management platform of the CDN distributed node is updated, the CDN distributed node receives an update and upgrade instruction from the central control system, the management platform pauses service, and if the application degree at the CDN distributed node requests to access interface data at the moment, the last moment of interface data before the update is returned;
after updating and upgrading are completed, carrying out primary interface data acquisition, and carrying out detection comparison on the interface data of each interface of the management platform to obtain an interface comparison result R i
5. The CDN distributed management platform interface monitoring method of claim 1, further comprising the step of:
s4, the CDN distributed node reports an interface checking result Nr to the central control system, and if an interface abnormal condition exists, the central control system transmits abnormal interface information to the CDN distributed node.
6. The CDN distributed management platform interface monitoring system comprises a central control system and at least one CDN distributed node, and is characterized in that,
the central control system comprises an interface management module, wherein the interface management module is responsible for managing interface lists of all CDN distributed nodes and issuing interface lists to corresponding CDN distributed nodes, and meanwhile, the interface management module can receive interface inspection results Nr reported by an interface probe module of the CDN distributed nodes and issuing abnormal interface information to the CDN distributed nodes;
the CDN distributed node comprises a management platform and an interface probe module, wherein the interface probe module is responsible for detecting and comparing interfaces of the management platform to obtain an interface inspection result Nr, and reporting the interface inspection result Nr to the interface management module;
in the daily monitoring process, the CDN distributed node detects and compares the interface data of each interface of the management platform to obtain an interface comparison result R i Obtaining an interface comparison result R i The process of (1) comprises:
s21, acquiring interface history data H of an interface i Interface current data N i Judging whether the interface response state code is 200;
s22, if the interface response state code is 200, comparing the interface historical data H through a comparison algorithm i Interface current data N i Whether or not the version and the data in (b) agree to obtain an interface data comparison result DIFF, wherein diff=diff (H i ,N i ) =0 or 1;
at the same time, the interface history data H is compared by the encryption contrast algorithm i Interface current data N i Whether the data in (a) are consistent or not to obtain an interface data encryption comparison result ENC, wherein enc=enc (H i ,N i ) =0 or 1;
s23, if the interface response status code is not 200, direct assignment of DIFF (H i ,N i )=2,ENC(H i ,N i )=2;
S24, calculating and obtaining an interface comparison result R of the interface according to the symbol function i The expression is as follows:
R i =Sign(DIFF(H i ,N i )+ENC(H i ,N i ) =0 or 1;
subsequently, the CDN distributed node obtains interface comparison results R of all interfaces of the management platform i Summarizing and calculating to obtain an interface inspection result Nr of the CDN distributed node, wherein the interface inspection result Nr of the CDN distributed node is calculated through a symbol function and expressed as:
7. the CDN distributed management platform interface monitoring system of claim 6 wherein: the central control system also comprises a management platform updating module which is responsible for issuing updating and upgrading instructions to all CDN distributed nodes.
CN202210948408.6A 2022-08-09 2022-08-09 CDN distributed management platform interface monitoring method and system Active CN115442232B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210948408.6A CN115442232B (en) 2022-08-09 2022-08-09 CDN distributed management platform interface monitoring method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210948408.6A CN115442232B (en) 2022-08-09 2022-08-09 CDN distributed management platform interface monitoring method and system

Publications (2)

Publication Number Publication Date
CN115442232A CN115442232A (en) 2022-12-06
CN115442232B true CN115442232B (en) 2023-07-25

Family

ID=84243148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210948408.6A Active CN115442232B (en) 2022-08-09 2022-08-09 CDN distributed management platform interface monitoring method and system

Country Status (1)

Country Link
CN (1) CN115442232B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677522A (en) * 2014-11-04 2016-06-15 国网山东省电力公司青岛供电公司 Power grid system data interface calibration method
CN106487574A (en) * 2016-04-01 2017-03-08 国家计算机网络与信息安全管理中心 Automatic operating safeguards monitoring system
CN106484908A (en) * 2016-10-31 2017-03-08 成都轻松益家电子商务有限公司 A kind of multisystem comparison of data consistency method based on middleware
CN106549800A (en) * 2016-10-31 2017-03-29 北京奇鱼时代科技有限公司 For the method and apparatus of the batch verification data interface in network system
CN108270627A (en) * 2018-04-02 2018-07-10 江苏中控安芯信息安全技术有限公司 A kind of autonomous controllable intelligent detection method of network security hardware and system
CN110086658A (en) * 2019-04-11 2019-08-02 平安科技(深圳)有限公司 Interface switching method, device and computer readable storage medium
CN110716878A (en) * 2019-10-11 2020-01-21 赛诺贝斯(北京)营销技术股份有限公司 Automatic interface testing method, device and system
CN110740071A (en) * 2018-07-18 2020-01-31 优信拍(北京)信息科技有限公司 network interface monitoring method, device and system
CN113961423A (en) * 2021-10-28 2022-01-21 中国联合网络通信集团有限公司 API interface safety management method, device, equipment and medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677522A (en) * 2014-11-04 2016-06-15 国网山东省电力公司青岛供电公司 Power grid system data interface calibration method
CN106487574A (en) * 2016-04-01 2017-03-08 国家计算机网络与信息安全管理中心 Automatic operating safeguards monitoring system
CN106484908A (en) * 2016-10-31 2017-03-08 成都轻松益家电子商务有限公司 A kind of multisystem comparison of data consistency method based on middleware
CN106549800A (en) * 2016-10-31 2017-03-29 北京奇鱼时代科技有限公司 For the method and apparatus of the batch verification data interface in network system
CN108270627A (en) * 2018-04-02 2018-07-10 江苏中控安芯信息安全技术有限公司 A kind of autonomous controllable intelligent detection method of network security hardware and system
CN110740071A (en) * 2018-07-18 2020-01-31 优信拍(北京)信息科技有限公司 network interface monitoring method, device and system
CN110086658A (en) * 2019-04-11 2019-08-02 平安科技(深圳)有限公司 Interface switching method, device and computer readable storage medium
CN110716878A (en) * 2019-10-11 2020-01-21 赛诺贝斯(北京)营销技术股份有限公司 Automatic interface testing method, device and system
CN113961423A (en) * 2021-10-28 2022-01-21 中国联合网络通信集团有限公司 API interface safety management method, device, equipment and medium

Also Published As

Publication number Publication date
CN115442232A (en) 2022-12-06

Similar Documents

Publication Publication Date Title
CN105763369B (en) A kind of terminal unit remote software version distribution method and system
US7698242B2 (en) Systems and methods to maintain process control systems using information retrieved from a database storing general-type information and specific-type information
AU751854B2 (en) Data health monitor for financial information communications networks
US20090265587A1 (en) Knowledge-based failure recovery support system
US20010008024A1 (en) Upgrade control method and data processing system
CN100394394C (en) Fault tolerant duplex computer system and its control method
US8914798B2 (en) Production control for service level agreements
US8032432B2 (en) System and method for tracking a billing cycle
CN115442232B (en) CDN distributed management platform interface monitoring method and system
CN112561095B (en) State monitoring and asset management coordinated control method and device
JP2019003440A (en) Maintenance management system, abnormality detection device, and maintenance plan creation device
EP1489499A1 (en) Tool and associated method for use in managed support for electronic devices
JP2009215001A (en) Remote updating system of elevator control program
JP4852070B2 (en) Plant monitoring and control system
CN110738343A (en) platform reservation method, device and storage medium
JP2002169704A (en) Method and system for surrogate processing and computer system
JP2008234572A (en) Market quality analysis system and market quality analysis method
JP2011192201A (en) Remote maintenance system and remote maintenance method
CN114253906A (en) Method and device for managing configuration file, configuration distribution system and storage medium
JP3912187B2 (en) Production line process management system
JPH11203184A (en) Automatic data base matching method in nms duplex system
JPH08263345A (en) Data base updating management method
CN117981006A (en) Equipment monitoring system
CN116483949A (en) File comparison method and device
CN116415959A (en) Method for real-time analysis of non-financial transaction quality based on response code

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