CN115442232A - CDN distributed management platform interface monitoring method and system - Google Patents
CDN distributed management platform interface monitoring method and system Download PDFInfo
- Publication number
- CN115442232A CN115442232A CN202210948408.6A CN202210948408A CN115442232A CN 115442232 A CN115442232 A CN 115442232A CN 202210948408 A CN202210948408 A CN 202210948408A CN 115442232 A CN115442232 A CN 115442232A
- Authority
- CN
- China
- Prior art keywords
- interface
- management platform
- data
- 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.)
- Granted
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 38
- 238000000034 method Methods 0.000 title claims abstract description 33
- 239000000523 sample Substances 0.000 claims description 29
- 230000002159 abnormal effect Effects 0.000 claims description 19
- 230000008569 process Effects 0.000 claims description 14
- 230000004044 response Effects 0.000 claims description 9
- 238000007726 management method Methods 0.000 abstract description 113
- 238000001514 detection method Methods 0.000 description 7
- 238000007689 inspection Methods 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/04—Network management architectures or arrangements
- H04L41/042—Network management architectures or arrangements comprising distributed management centres cooperatively managing the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing 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 method and a system for monitoring a CDN distributed management platform interface. The invention can realize the comprehensive monitoring of the interface states of all interfaces of the management platform of the CDN distributed node, and the interface states are effectively monitored no matter in a single CDN distributed node or a CDN distributed node cluster in the whole CDN system, so as to ensure that the interface data obtained by the application program at the CDN distributed node is accurate, ensure that the interface data is not distorted and lost, and ensure the safety, effectiveness and integrity of the interface data.
Description
Technical Field
The invention relates to the technical field of content delivery networks, in particular to a method and a system for monitoring a CDN distributed management platform interface.
Background
A CDN (Content Delivery Network) is a technology for enabling a user to access an internet service provided by a CDN distributed node nearby by setting CDN distributed nodes at various locations in a Network, and the technology is widely applied to the field of an operator IPTV. The existing CDN system is generally composed of a central control system and at least one CDN distributed node, the CDN distributed nodes are generally divided into provincial central nodes, city nodes, edge nodes and the like, each CDN distributed node is provided with an independent management platform to manage and monitor each CDN distributed node in a unified mode, the service pressure of the central control system is reduced, and other nodes cannot be abnormal when a single CDN distributed node breaks down.
In order to issue configuration management information of a CDN distributed node, a common manner is interface data delivery, that is, interface data delivery is implemented by setting a corresponding interface at a management platform of the CDN distributed node, where the purpose of issuing data includes letting an application at the CDN distributed node know in real time how to schedule users to which CDN distributed node, which users are prohibited from playing at the CDN distributed node, and which content needs to be offline for copyright reasons, and the like, which may refer to an example diagram of interface data of a single interface of the management platform shown in fig. 1 in detail.
However, the following problems often exist in issuing data in the above manner:
1. how to monitor the interface states of all interfaces of a management platform of each CDN distributed node to ensure that interface data acquired by an application program is correct, wherein under normal conditions, two dimensions are correct, namely, the data in the previous and subsequent times are not changed, and the data in the previous and subsequent times are changed, but the change is artificially confirmed interface data;
2. how to deal with the problem of updating and upgrading the management platform of the CDN distributed node, that is, how to ensure that when the management platform of a single CDN distributed node is updated and upgraded, an application program of the node can still obtain data when obtaining interface data, but not return an error status code; on the other hand, after updating and upgrading, how to ensure that interface data before and after upgrading are consistent, if the management platform is upgraded normally in the upgrading process, but the database upgrading fails, detailed data in the interface returns errors, and a common solution cannot find the detailed errors, but displays that the upgrading is successful when the management platform of the node can be started normally.
Disclosure of Invention
The invention aims to provide a method and a system for monitoring interfaces of a CDN distributed management platform, which are used for at least solving the technical problems of monitoring the interface states of all the interfaces of the management platform of each CDN distributed node, updating and upgrading the management platform of the CDN distributed node and the like.
The purpose of the invention is realized by the following technical scheme:
in one aspect, the present invention provides a method for monitoring interfaces of a CDN distributed management platform, including the following steps:
s1, a central control system issues a corresponding interface list to a CDN distributed node;
s2, in the daily monitoring process, detecting and comparing 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 (2) comprises:
step S21, obtaining interface historical data H of the interface i And 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 historical interface data H through a comparison algorithm i And interface current data N i Whether version and data in the step (2) are consistent or not is judged to obtain an interface data comparison result DIFF, wherein DIFF = DIFF (H) i ,N i ) =0 or 1;
meanwhile, comparing the interface historical data H by an encryption comparison algorithm i And interface current data N i In (1)Whether the data are consistent or not is judged 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 according to the symbol function and obtaining an interface comparison result R of the interface i Expressed as:
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 historical data H i And interface current data N i (ii) a If R is i =0, current data N using the interface i Updating interface history data H i 。
In some possible embodiments, in step S3, the interface check result Nr of the CDN distributed node is calculated by a symbolic function, and is expressed as:
in some possible embodiments, step S2 further comprises:
when a management platform of the CDN distributed nodes is updated, the CDN distributed nodes receive an update instruction from a central control system, the management platform suspends service, and if an application program at the CDN distributed nodes requests to access interface data at the moment, interface data at the last moment before updating are returned;
after the updating and upgrading are completed, acquiring interface data for one time, detecting and comparing 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 steps of:
and S4, the CDN distributed nodes report interface check results Nr to the central control system, and if the interface is abnormal, the central control system issues abnormal interface information to the CDN distributed nodes.
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, the interface management module is responsible for managing interface lists of all CDN distributed nodes and issuing the interface lists to the corresponding CDN distributed nodes, and meanwhile, the interface management module can receive interface check results Nr reported by interface probe modules from the CDN distributed nodes and issue 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 an interface of the management platform to obtain an interface check result Nr, and reporting the interface check result Nr to the interface management module.
In some possible embodiments, the central control system further includes a management platform update module, and the management platform update module is responsible for issuing an update upgrade instruction to all CDN distributed nodes.
The technical scheme of the embodiment of the invention at least has the following advantages and beneficial effects:
1. the interface monitoring method and the system for the CDN distributed management platform 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 effectively monitored 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 nodes are accurate, the interface data are not distorted and lost, and the safety, the effectiveness and the integrity of the interface data are ensured.
2. The invention provides a method and a system for monitoring an interface of a CDN distributed management platform, which ensure the real-time availability of interface data in the updating and upgrading process of the management platform of CDN distributed nodes, so that an application program can still obtain corresponding interface data in the updating and upgrading process of the management platform, and simultaneously detect and compare the interface data of the interface after the updating and upgrading of the management platform are finished, report the success of the updating and upgrading of the management platform after the interface data are confirmed to be error-free, ensure that the interface data are normal when the management platform is updated and upgraded, and ensure that a subsequent application program can obtain accurate interface data.
Drawings
FIG. 1 is a diagram illustrating an example of interface data for a single interface according to an embodiment of the present invention;
FIG. 2 is an architecture diagram of a monitoring system provided by an embodiment of the present invention;
fig. 3 is an illustration of an interface list representation of all CDN distributed nodes provided by the embodiment of the present invention;
fig. 4 is a flowchart illustrating 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 illustrating 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
On one hand, this embodiment provides a CDN distributed management platform interface monitoring system, please refer 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, and the interface management module is responsible for managing interface lists of all CDN distributed nodes and issuing the interface lists to corresponding CDN distributed nodes, that is, when a certain CDN distributed node comes online, the interface management module can issue an interface list corresponding to the certain CDN distributed node in time. 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, \ 8230;, interface n ] for subsequent use by the corresponding CDN distributed nodes, and the storage format of the data in the interface list in the interface management module is shown in fig. 3 as an example.
Meanwhile, the interface management module can also receive an interface check result Nr reported by an interface probe module from the CDN distributed node, and when the interface check result Nr shows that an interface abnormality exists, the interface management module can issue abnormal interface information to the CDN distributed node, at this time, the application program at the CDN distributed node cannot acquire interface data from an interface that has an abnormal condition, and for an interface that has an abnormal condition, after the interface needs to be artificially confirmed or the state is restored to normal, the interface management module can issue interface data to a corresponding application program.
In addition, with 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 instruction to the CDN distributed nodes when the management platform of the CDN distributed nodes needs to be updated, and starting to update the management platform after the CDN distributed nodes receive the update instruction.
In this embodiment, with reference to the content shown in fig. 2, the CDN distributed node includes modules such as a management platform, an interface probe module, an application program, and a database, where the interface probe module is responsible for detecting and comparing all interfaces of the management platform to obtain an interface inspection result Nr to determine whether an interface of the management platform is abnormal, and meanwhile, the interface probe module can also report the interface inspection result Nr to the interface management module, where the interface management module stores the interface inspection result Nr in a central control system after receiving the interface inspection result Nr for subsequent monitoring and warning, and if the interface inspection result Nr indicates that an interface is abnormal, the interface management module issues abnormal interface information to the CDN distributed node; in addition, the interface probe module can also receive an update and upgrade instruction sent by the management platform update module, and the interface probe module acquires interface data of all interfaces of the management platform at the last moment before update and upgrade, so that the interface probe module can return the interface data at the last moment before update and upgrade of the management platform to the application program if the application program requests to acquire the interface data in the update and upgrade process of the management platform, the application program can normally request to access the interface data in the upgrade process, and the real-time availability of the interface data is guaranteed.
On the other hand, in this embodiment, a method for monitoring interfaces of a CDN distributed management platform is provided, and for convenience of understanding, a monitoring process of all interfaces of a management platform of one CDN distributed node is described as an example, and with reference to 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.
And S2, in the actual monitoring process, the monitoring process aiming at all the interfaces of the management platform is divided into two conditions, 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 detects and compares interface data of each interface of the management platform according to the received interface list to obtain interface comparison results R of all interfaces of the management platform of the CDN distributed node i Wherein R is i The interface comparison result of the interface with serial number i is shown, for example, the interface comparison result of the interface with serial number 1 is shown as R 1 By analogy, the interface comparison result of the interface with the serial number n is represented as R n 。
It can be understood that, in the daily monitoring process, the interface data based on the interface is not automatically updated, so that the interface data of each interface of the management platform can be regularly detected and compared by using the interface probe module, so as to monitor the state of each interface of the management platform in real time.
When the management platform of the CDN distributed nodes is updated, the interface probe modules of the CDN distributed nodes receive an update instruction issued by the management platform update module of the central control system, the management platform suspends service and starts updating, meanwhile, the interface probe modules acquire interface data of all interfaces of the management platform at the last moment before updating, if an application program at the CDN distributed nodes requests to access the interface data at the moment, the interface probe modules are used for returning the interface data at the last moment before updating to the application program, namely, when the management platform is updated, the application program at the CDN distributed nodes can also acquire the interface data at the last moment before updating of the management platform, the application program can normally request to access the interface data in the updating process, and the real-time availability of the interface data is guaranteed.
Meanwhile, based on the situations that the data of the database is lost and the management platform is successfully upgraded but the interface cannot respond after the update and upgrade of the management platform are completed, the interface probe module acquires the interface data once after the update and upgrade of the management platform are completed and detects and compares the interface data of each interface of the management platform, namely, whether the interface data before and after the update are consistent is compared to obtain an interface comparison result R i And further judging whether the management platform is upgraded successfully, and uploading the upgrade result to the management platform update module, wherein the specific judgment criteria will be elaborated in detail later. That is, compared with daily monitoring, when the management platform is updated, only one detection and comparison of the interface data is needed 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 comprises the following steps:
step S21, obtaining interface historical data H of the interface by the interface probe module i And interface current data N i And judges whether the interface response status code is 200. Note that the interface history data H i Interface current data N for the interface data of the last probe alignment i For this detection of interface data during alignment, and at the same time, when the detection alignment is performed for the first time, interface history data H of the interface should be initialized i 。
Step S22, if the interface response status code is 200, interface historical data H is processed according to the interface specification (refer to figure 1) i And interface current data N i And (6) judging.
Firstly, comparing interface historical data H through a comparison algorithm i And interface current data N i Version and ofWhether the data are consistent or not 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 And interface the current data N i The version in (1) is consistent with the data, and if DIFF = DIFF (H) i ,N i ) =1, representing interface history data H i And interface the current data N i Version and data in (1) are not consistent.
Meanwhile, comparing the interface historical data H by an encryption comparison algorithm i And interface current data N i 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 And interface the current data N i If ENC = ENC (H) i ,N i ) =1, representing interface history data H i And interface the current data N i Is inconsistent.
It will be appreciated that the interface history H is provided by the interface history data for the interface i And interface current data N i The final interface comparison result R can be improved by carrying out two judgments i The accuracy of (2).
Step S23, if the interface response status code is not 200, directly judging that the status of the interface is abnormal, and directly assigning a value 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 symbolic function i Note that the Sign function Sign (x) has a characteristic that when x =0, the calculation result is 0, and when x =0, the calculation result is x>When 0, the calculation result is 1, when x<When 0, the calculation result is-1. Therefore, in calculating the interface check result R of a single interface i And when the interface is in a normal state, the symbol function is utilized to carry out corresponding judgment, so that the state of the interface can be effectively judged. Wherein, the interface comparison result R i Expressed as:
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, interface history data H indicating the current interface i Interface with the current data N i If the data is consistent, the interface is in a normal state; if R is i =1, interface history data H indicating the current interface i Interface with the current data N i If not, the interface is in an abnormal state.
It should be noted that, in the actual detection and comparison process, if R is i =1, keep interface historical data H i And interface current data N i (ii) a If R is i =0, current data N using the interface i Updating interface history data H i To ensure the interface data of the interface is in the latest state.
It can be understood that the detection comparison can be performed by adopting a multi-process simultaneous comparison mode, that is, all interfaces of the management platform of the CDN distributed node are detected and compared simultaneously by the interface probe module to improve the efficiency of the detection comparison until the interface comparison result R of all the interfaces of the management platform is obtained i 。
S3, the to-be-interfaced probe module obtains interface comparison results R of all interfaces of the management platform i And then, summarizing and calculating by an interface probe module to obtain an interface checking result Nr of the CDN distributed node.
The interface check result Nr of the CDN distributed node is also calculated by a symbolic function, and is expressed as:
it can be understood that, if Nr =0, the interface check result indicates that all interfaces of the management platform of the CDN distributed node are in a normal state, and if Nr =1, the interface check result indicates that at least part of the interfaces of the management platform of the CDN distributed node are in an abnormal state. It should be noted that, in the management platform update stage of the CDN distributed node, if Nr =0, it indicates that the interface data of all the interfaces before and after the management platform update is consistent, which indicates that the management platform update is successful; otherwise, if Nr =1, it indicates that the interface data of at least part of the interfaces before and after the update of the management platform are inconsistent, which indicates that the update of the management platform fails, and at this time, after the artificial confirmation, the interface probe module may be used to perform the daily monitoring, detecting, and comparing in the next period, so as to reduce the problems of interface data loss, falsification, inconsistency, and the like in the update process of the management platform to the maximum extent.
And S4, after the interface probe module of the CDN distributed node obtains an 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 an interface management module of a central control system, if an interface abnormal condition exists, namely Nr =1, the interface management module of the central control system issues abnormal interface information to the CDN distributed node, interface data of the interface with the abnormal condition is ensured not to be acquired by an application program at the CDN distributed node, and the interface data can be issued to a corresponding application program until the interface data is artificially confirmed or the state is recovered to be normal.
It can be understood that, in the stage of updating and upgrading the management platform, the interface probe module reports the interface check result Nr to the interface management module of the central control system, and at the same time, the interface check result Nr needs to be reported to the management platform updating module, so as to know whether the management platform is updated and upgraded successfully in real time through the management platform updating module.
Therefore, the interface monitoring method and system for the CDN distributed management platform provided by this embodiment can realize comprehensive monitoring of interface states of all interfaces of a management platform for CDN distributed nodes, where the interface states are all in effective monitoring no matter a single CDN distributed node or a CDN distributed node cluster in the entire CDN system, so as to ensure that interface data obtained by an application at the CDN distributed node is accurate, ensure that the interface data is not tampered, and ensure the safety, validity, and integrity of the interface data.
In addition, in the updating and upgrading process of the management platform of the CDN distributed node, the real-time availability of interface data is guaranteed, so that an application program can still obtain 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 an interface are detected and compared, the success of updating and upgrading of the management platform is reported only after the interface data are confirmed to be error-free, the interface data are normal when the management platform is updated and upgraded, and the follow-up application program can obtain accurate interface data.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (8)
1. A CDN distributed management platform interface monitoring method is characterized by comprising the following steps:
s1, a central control system issues a corresponding interface list to a CDN distributed node;
s2, in the daily monitoring process, detecting and comparing 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.
2. The method for monitoring the interfaces of the CDN distributed management platform as recited in claim 1, wherein 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 comprises the following steps:
step S21, obtaining interface historical data H of the interface i And interface current data N i Judging whether the interface response state code is 200;
s22, if the interface response status code is 200, comparing historical interface data H through a comparison algorithm i And interface current data N i Whether the version and data in (1) are consistent or not to obtainInterface data alignment result DIFF, wherein DIFF = DIFF (H) i ,N i ) =0 or 1;
meanwhile, comparing the interface historical data H by an encryption comparison algorithm i And interface current data N i 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 according to the symbol function and obtaining an interface comparison result R of the interface i Expressed as:
R i =Sign(DIFF(H i ,N i )+ENC(H i ,N i ) ) =0 or 1.
3. The CDN distributed management platform interface monitoring method of claim 2 wherein if R is i =1, keep interface historical data H i And interface current data N i (ii) a If R is i =0, current data N using the interface i Updating interface history data H i 。
5. the CDN distributed management platform interface monitoring method of claim 1, wherein step S2 further comprises:
when the management platform of the CDN distributed nodes is updated, the CDN distributed nodes receive an update instruction from a central control system, the management platform suspends service, and if the application degree of the CDN distributed nodes requests to access interface data at the moment, the interface data of the last moment before updating is returned;
after the updating and upgrading are completed, interface data acquisition is carried out for one time, and the interface data of each interface of the management platform are detected and compared to obtain an interface comparison result R i 。
6. The CDN distributed management platform interface monitoring method of claim 1, further comprising the steps of:
and S4, reporting an interface checking result Nr to the central control system by the CDN distributed node, and issuing abnormal interface information to the CDN distributed node by the central control system if an interface abnormal condition exists.
7. The utility model provides a CDN distributed management platform interface monitored control system, includes central control system and at least one CDN distributed node, its characterized in that:
the central control system comprises an interface management module, the interface management module is responsible for managing interface lists of all CDN distributed nodes and issuing the interface lists to the corresponding CDN distributed nodes, and meanwhile, the interface management module can receive interface check results Nr reported by interface probe modules of the CDN distributed nodes and issue 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 an interface of the management platform to obtain an interface check result Nr, and reporting the interface check result Nr to the interface management module.
8. The CDN distributed management platform interface monitoring system of claim 7, wherein: the central control system further comprises a management platform updating module, and the management platform updating module is responsible for issuing updating and upgrading instructions to all CDN distributed nodes.
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 true CN115442232A (en) | 2022-12-06 |
CN115442232B 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)
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 |
-
2022
- 2022-08-09 CN CN202210948408.6A patent/CN115442232B/en active Active
Patent Citations (9)
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 |
---|---|
CN115442232B (en) | 2023-07-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10579453B2 (en) | Stream-processing data | |
US7698242B2 (en) | Systems and methods to maintain process control systems using information retrieved from a database storing general-type information and specific-type information | |
CN101699399B (en) | Software update system and method | |
US20090265587A1 (en) | Knowledge-based failure recovery support system | |
US8775552B1 (en) | Methods and systems for distribution of technical manuals | |
CN101771594B (en) | Data storage system and data storage method | |
CN109299124B (en) | Method and apparatus for updating a model | |
CN118400266A (en) | Vehicle remote upgrade method, device, equipment, medium and program product | |
CN110990046A (en) | Upgrading method based on dynamic file | |
CN114779747A (en) | Vehicle fault cause determination system and method | |
CN115442232A (en) | CDN distributed management platform interface monitoring method and system | |
US20200064489A1 (en) | Method for monitoring an integrity of reference stations of a correction service system, correction service system, method for operating a satellite-assisted navigation system and satellite-assisted navigation system | |
EP1489499A1 (en) | Tool and associated method for use in managed support for electronic devices | |
JP4852070B2 (en) | Plant monitoring and control system | |
KR20230037743A (en) | Cloud-based smart factory platform service provision system and its method | |
CN113110390A (en) | Vehicle fault identification method and device, electronic equipment and storage medium | |
CN110554963B (en) | Application rollback method, device and storage medium | |
CN116957764A (en) | Account data processing method and device, electronic equipment and storage medium | |
US7058666B1 (en) | Automatic database monitoring system | |
CN116719791A (en) | Information processing method, device, electronic equipment and storage medium | |
CN116708488A (en) | Water conservancy Internet of things equipment state synchronization method, device, equipment and storage medium | |
CN118826297B (en) | Self-healing method, equipment and medium of secondary fusion ring main unit | |
CN109947618A (en) | Application Status monitoring method, equipment and system | |
CN113886896B (en) | Method and system for recognizing tampered program data | |
CN116028078B (en) | Software remote upgrading method based on VPN technology |
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 |