PC-side cloud content distribution network switching method, device, equipment and medium

Through the combination of data burying point and configuration platform, error report data is automatically collected and analyzed, abnormal domain names are obtained and switched to disaster recovery domain names, which solves the problem of rapid switching when the cloud content distribution network is abnormal, improves business stability and troubleshooting efficiency, and reduces Eliminates dependence on cloud vendor alerts.

CN115396286BActive Publication Date: 2024-10-25SHUI YOU INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211027090.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-25
Publication Date
2024-10-25
Estimated Expiration
2042-08-25

AI Technical Summary

Technical Problem

When the existing cloud content distribution network is abnormal, user feedback channels have problems such as incomplete information, long troubleshooting time, and dependence on cloud vendor alarm information, resulting in unstable business and the inability to quickly switch to a normal network.

Method used

Collect error data through data burying points, aggregate and analyze to determine characteristic information, obtain abnormal domain names, and issue disaster recovery domain names through the configuration platform to realize automatic switching of the PC side to the multi-cloud content distribution network to avoid users reporting and relying on cloud vendor alarms.

Benefits of technology

It achieves rapid switching when the cloud content distribution network is abnormal, reduces business interruption time, improves business stability, and reduces troubleshooting costs and the risk of relying on cloud vendor alerts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115396286B_ABST
    Figure CN115396286B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, equipment and medium for switching a cloud content distribution network on a PC side, which relates to the field of computer technology, including: collecting error data from each PC side through data embedding points; performing aggregate analysis on the error data to determine the characteristic information of the PC side where the error data is located; processing the characteristic information to obtain the abnormal domain name corresponding to the error data; determining the disaster recovery domain name of the abnormal domain name through a preset configuration platform, and sending the disaster recovery domain name to the target PC side according to the characteristic information, so that the target PC side can determine the target cloud content distribution network from the preset multi-cloud content distribution network according to the disaster recovery domain name, and use the target cloud content distribution network to switch the current cloud content distribution network. It can be seen that the present application greatly improves the stability of the business by embedding points on the PC side to collect error data, analyzing the error data to determine the disaster recovery domain name of the abnormal domain name, and then quickly switching the disaster recovery domain name.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method, device, equipment and medium for switching a cloud content distribution network on a PC. Background Art

[0002] The static files of the business front end will provide static resources such as JS (JavaScript) scripts, CSS (Cascading Style Sheets) resources, pictures, and other interfaces based on the cloud vendor CDN (Content Delivery Network). The business stability of the cloud vendor CDN's external capabilities is important to the user experience. The stability of the cloud vendor CDN includes whether the edge node is abnormal and whether the node IP (Internet Protocol, the protocol for interconnection between networks) changes frequently. Abnormalities in the cloud vendor CDN will cause a white screen on the product page, loading failures, etc.

[0003] There are two main methods for abnormal feedback of cloud vendor CDN at present: 1. Report error information feedback notification based on user online information, abnormal work order and other feedback channels. This method mainly uses users to report business abnormalities. The defects are: there are cases where users do not use or report very few abnormalities; remote users troubleshoot problems, which consumes a lot of time; when the number of feedback users increases sharply, more manpower costs are required to investigate and sort out whether it is a regional problem, and it is impossible to conduct intuitive analysis and historical data backtracking, which is not convenient for statistical fault impact. 2. Based on the alarm detection notification provided by the cloud vendor CDN, this method is to filter, identify and judge the alarm information provided by the cloud CDN vendor. The defects are: excessive reliance on the alarm information provided by the cloud vendor CDN, the alarm information has delays or incomplete coverage of the area, and when the cloud vendor CDN fails, the business party and the user are helpless and can only hope that the cloud vendor CDN team will recover quickly, and the business is unavailable during this period, which seriously affects the business reputation.

[0004] Therefore, when an abnormality occurs in a cloud content distribution network, how to quickly switch to a normal cloud content distribution network and greatly improve the stability of the service is an urgent problem to be solved in this field. Summary of the invention

[0005] In view of this, the purpose of the present invention is to provide a PC-side cloud content distribution network switching method, device, equipment and medium, which can quickly switch to a normal cloud content distribution network when an abnormality occurs in the cloud content distribution network and greatly improve the stability of the service. The specific scheme is as follows:

[0006] In a first aspect, the present application discloses a method for switching a cloud content distribution network on a PC, comprising:

[0007] The error data of each PC terminal is collected through data embedding points, wherein the error data is data generated by the abnormal loading of the domain name of the cloud content distribution network by each PC terminal;

[0008] Performing aggregation analysis on the error data according to a preset aggregation dimension to determine characteristic information of the PC where the error data is located; processing the characteristic information of the error data to obtain an abnormal domain name corresponding to the error data;

[0009] A disaster recovery domain name of the abnormal domain name is determined through a preset configuration platform, and the disaster recovery domain name is sent to a target PC terminal according to the characteristic information, so that the target PC terminal determines a target cloud content distribution network from a preset multi-cloud content distribution network according to the disaster recovery domain name, and uses the target cloud content distribution network to switch the current cloud content distribution network in the target PC terminal.

[0010] Optionally, the performing aggregation analysis on the error data according to a preset aggregation dimension to determine feature information of the PC where the error data is located includes:

[0011] The error data is aggregated and analyzed according to the location dimension to determine the IP address and location information of the PC where the error data is located.

[0012] Optionally, sending the disaster recovery domain name information to the target PC according to the characteristic information includes:

[0013] According to the IP address and location information of the PC where the error data is located, the disaster recovery domain name information is sent to the target PC.

[0014] Optionally, after processing the characteristic information of the error data to obtain the abnormal domain name corresponding to the error data, the method further includes:

[0015] A regional alarm notification is made according to the location information of the error data.

[0016] Optionally, the cloud content distribution network switching method further includes:

[0017] Collect data from each PC through data embedding points;

[0018] Accordingly, the performing of aggregation analysis on the error data according to a preset aggregation dimension to determine characteristic information of the PC where the error data is located includes:

[0019] The error data is extracted from the data, and the error data is aggregated and analyzed according to a preset aggregation dimension to determine feature information of the PC where the error data is located.

[0020] Optionally, after determining the disaster recovery domain name of the abnormal domain name through a preset configuration platform, the method further includes:

[0021] Configuring the abnormal domain name in the default configuration item of the target PC as the disaster recovery domain name;

[0022] Correspondingly, according to the characteristic information, the disaster recovery domain name is sent to the target PC end, including:

[0023] According to the characteristic information, the current configuration item is sent to the target PC.

[0024] Optionally, the PC-side cloud content distribution network switching method further includes:

[0025] Obtaining a configuration item sending request sent by the PC through the preset configuration platform, and determining whether the configuration item corresponding to the PC has been modified;

[0026] If the configuration item corresponding to the target PC has not been modified, sending the default configuration item of the PC to the PC;

[0027] If the configuration item corresponding to the PC has been modified, the current disaster recovery domain name is re-determined according to the domain name in the configuration item corresponding to the PC, and the domain name in the configuration item is replaced with the current disaster recovery domain name, and then the current configuration is sent to the PC.

[0028] In a second aspect, the present application discloses a cloud content distribution network switching device on a PC side, comprising:

[0029] A data collection module, used to collect error data of each PC terminal through data embedding points, wherein the error data is data generated by abnormal loading of the domain name of the cloud content distribution network by each PC terminal;

[0030] The abnormal domain name determination module is used to perform aggregation analysis on the error data according to a preset aggregation dimension to determine the characteristic information of the PC where the error data is located; process the characteristic information of the error data to obtain the abnormal domain name corresponding to the error data;

[0031] A disaster recovery domain name determination module, used to determine the disaster recovery domain name of the abnormal domain name through a preset configuration platform;

[0032] The target cloud content distribution network switching module is used to send the disaster recovery domain name to the target PC terminal according to the characteristic information, so that the target PC terminal determines the target cloud content distribution network from the preset multi-cloud content distribution network according to the disaster recovery domain name, and uses the target cloud content distribution network to switch the current cloud content distribution network in the target PC terminal.

[0033] In a third aspect, the present application discloses an electronic device, comprising:

[0034] Memory, used to store computer programs;

[0035] The processor is used to execute the computer program to implement the aforementioned PC-side cloud content distribution network switching method disclosed above.

[0036] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the aforementioned PC-side cloud content distribution network switching method is implemented.

[0037] It can be seen that the present application proposes a cloud content distribution network switching method for a PC terminal, comprising: collecting error data of each PC terminal through data embedding points, wherein the error data is data generated by the abnormal loading of the domain name of the cloud content distribution network by each PC terminal; aggregating and analyzing the error data according to a preset aggregation dimension to determine the characteristic information of the PC terminal where the error data is located; processing the characteristic information of the error data to obtain the abnormal domain name corresponding to the error data; determining the disaster recovery domain name of the abnormal domain name through a preset configuration platform, and sending the disaster recovery domain name to the target PC terminal according to the characteristic information, so that the target PC terminal determines the target cloud content distribution network from the preset multi-cloud content distribution network according to the disaster recovery domain name, and uses the target cloud content distribution network to switch the current cloud content distribution network in the target PC terminal. It can be seen that the present application collects error data by embedding points on the PC side, and determines the disaster recovery domain name of the abnormal domain name corresponding to the error data by analyzing the error data, and then sends the disaster recovery domain name to the target PC side, so that the target PC side can determine the target cloud content distribution network from the preset multi-cloud content distribution network according to the disaster recovery domain name, and use the target cloud content distribution network to quickly switch the current cloud content distribution network in the target PC side. Since the present application does not require users to report and feedback business anomalies, the present application does not have the problem of consuming a lot of time and being unable to perform intuitive analysis due to troubleshooting problems for remote users. In addition, since the present application does not need to use the alarm detection notification provided by the cloud vendor CDN, the present application does not have the problem of business instability caused by excessive reliance on the alarm information provided by the cloud vendor CDN. That is, the present application can quickly switch available cloud content distribution networks and greatly improve business stability. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0039] Figure 1 This is a flow chart of a PC-side cloud content distribution network switching method disclosed in this application;

[0040] Figure 2 This is a flowchart of a specific PC-side cloud content distribution network switching method disclosed in this application;

[0041] Figure 3 A flowchart of configuring a disaster recovery domain name for a configuration platform disclosed in this application;

[0042] Figure 4 This is a schematic diagram of the architecture of a cloud content distribution network switching method for a PC disclosed in this application;

[0043] Figure 5 This is a schematic diagram of the structure of a cloud content distribution network switching device on a PC disclosed in this application;

[0044] Figure 6 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION

[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0046] The drawbacks of using users to report business anomalies are: there are cases where users do not use or report very few anomalies; remote users troubleshoot problems and waste a lot of time. The drawbacks of using cloud vendor CDN’s built-in alarm detection notifications to determine business anomalies are: excessive reliance on alarm information provided by cloud vendor CDN, which may be delayed or cover incomplete areas, which means that the business is unstable.

[0047] To this end, the embodiment of the present application proposes a cloud content distribution network switching solution for the PC side, which can quickly switch to a normal cloud content distribution network when an abnormality occurs in the cloud content distribution network and greatly improve the stability of the business.

[0048] The present application embodiment discloses a method for switching a cloud content distribution network on a PC. Figure 1 As shown, the method includes:

[0049] Step S11: Collect error data of each PC terminal through data embedding points, wherein the error data is data generated by abnormal loading of the domain name of the cloud content distribution network by each PC terminal.

[0050] In this embodiment, the error data generated by the abnormal loading of the domain name of the cloud content distribution network in each PC terminal is collected through a data buried point.

[0051] In a specific implementation, this embodiment can collect data from each PC terminal through data embedding points, and extract the error data from the data.

[0052] Step S12: performing aggregation analysis on the error data according to a preset aggregation dimension to determine characteristic information of the PC where the error data is located; processing the characteristic information of the error data to obtain an abnormal domain name corresponding to the error data.

[0053] In a specific implementation, the error data is aggregated and analyzed according to the location dimension to determine the IP address and location information of the PC where the error data is located. Correspondingly, the disaster recovery domain name information is sent to the target PC according to the characteristic information, including: sending the disaster recovery domain name information to the target PC according to the IP address and location information of the PC where the error data is located. Furthermore, this embodiment can issue a regional alarm notification according to the location information of the error data and save the error data, which is conducive to subsequent data analysis. The location dimension can specifically include dimensions such as cities and regions, and the location information is also information such as the city and region where the PC is located. In this way, the present application can issue corresponding regional fault alarm notifications according to the location information, thereby reducing the cost of users reporting abnormal problems and technicians remotely troubleshooting problems.

[0054] In this embodiment, the abnormal domain name corresponding to the error data is obtained by processing the IP address and location information of the error data.

[0055] Step S13: Determine the disaster recovery domain name of the abnormal domain name through a preset configuration platform, and send the disaster recovery domain name to the target PC according to the characteristic information, so that the target PC can determine the target cloud content distribution network from the preset multi-cloud content distribution network according to the disaster recovery domain name, and use the target cloud content distribution network to switch the current cloud content distribution network in the target PC.

[0056] In this embodiment, the preset multi-cloud content distribution network includes a content distribution network provided by a multi-cloud vendor.

[0057] From the above, it can be seen that the present embodiment can determine the disaster recovery domain name of the abnormal domain name through a preset configuration platform, and send the disaster recovery domain name to the target PC end according to the characteristic information, so as to realize automatic switching of the target cloud content distribution network on the PC end, without the need for user reporting and feedback of business abnormalities. Therefore, the present application does not have the problem of consuming a lot of time and being unable to perform intuitive analysis due to troubleshooting problems for remote users. In addition, since the present application does not need to use the alarm detection notification provided by the cloud vendor CDN, the present application does not have the problem of business instability caused by excessive reliance on the alarm information provided by the cloud vendor CDN. That is, the present application can quickly switch the available cloud content distribution network and greatly improve the stability of the business.

[0058] It can be seen that the present application proposes a cloud content distribution network switching method for a PC terminal, comprising: collecting error data of each PC terminal through data embedding points, wherein the error data is data generated by the abnormal loading of the domain name of the cloud content distribution network by each PC terminal; aggregating and analyzing the error data according to a preset aggregation dimension to determine the characteristic information of the PC terminal where the error data is located; processing the characteristic information of the error data to obtain the abnormal domain name corresponding to the error data; determining the disaster recovery domain name of the abnormal domain name through a preset configuration platform, and sending the disaster recovery domain name to the target PC terminal according to the characteristic information, so that the target PC terminal determines the target cloud content distribution network from the preset multi-cloud content distribution network according to the disaster recovery domain name, and uses the target cloud content distribution network to switch the current cloud content distribution network in the target PC terminal. It can be seen that the present application collects error data by embedding points on the PC side, and determines the disaster recovery domain name of the abnormal domain name corresponding to the error data by analyzing the error data, and then sends the disaster recovery domain name to the target PC side, so that the target PC side can determine the target cloud content distribution network from the preset multi-cloud content distribution network according to the disaster recovery domain name, and use the target cloud content distribution network to quickly switch the current cloud content distribution network in the target PC side. Since the present application does not require users to report and feedback business anomalies, the present application does not have the problem of consuming a lot of time and being unable to perform intuitive analysis due to troubleshooting problems for remote users. In addition, since the present application does not need to use the alarm detection notification provided by the cloud vendor CDN, the present application does not have the problem of business instability caused by excessive reliance on the alarm information provided by the cloud vendor CDN. That is, the present application can quickly switch available cloud content distribution networks and greatly improve business stability.

[0059] The embodiment of the present application discloses a specific method for switching a cloud content distribution network on a PC. Compared with the previous embodiment, this embodiment further explains and optimizes the technical solution. Figure 2 As shown, specifically including:

[0060] Step S21: Collect error data of each PC terminal through data embedding points, wherein the error data is data generated by abnormal loading of the domain name of the cloud content distribution network by each PC terminal.

[0061] Step S22: performing aggregation analysis on the error data according to a preset aggregation dimension to determine characteristic information of the PC where the error data is located; processing the characteristic information of the error data to obtain an abnormal domain name corresponding to the error data.

[0062] Among them, the more specific working process of step S21 and step S22 can be found in the aforementioned disclosed embodiment, and will not be described in detail here.

[0063] Step S23: determining the disaster recovery domain name of the abnormal domain name through a preset configuration platform, and configuring the abnormal domain name in the default configuration item of the target PC as the disaster recovery domain name, and then sending the current configuration item to the target PC according to the characteristic information, so that the target PC can determine the target cloud content distribution network from the preset multi-cloud content distribution network according to the disaster recovery domain name, and use the target cloud content distribution network to switch the current cloud content distribution network in the target PC.

[0064] In this embodiment, after the disaster recovery domain name of the abnormal domain name is determined through a preset configuration platform, the abnormal domain name in the default configuration item of the target PC is configured as the disaster recovery domain name, and accordingly, according to the characteristic information, the disaster recovery domain name is sent to the target PC, including: according to the characteristic information, the current configuration item is sent to the target PC. Among them, the disaster recovery domain name is used to provide a complete CDN link service, realize the domain name isolation of multi-cloud CDN in architecture, and provide equivalent domain name services for business parties to ensure the multi-effect of disaster recovery on the PC side. The disaster recovery domain name can access multiple domain names of the same resource through the same path, for example: cdn1.cdnhwc1.com / src / js / test.js and cdn1.mcchcdn.com / src / js / test.js can return the same content, then cdn1.cdnhwc1.com and cdn1.mcchcdn.com are disaster recovery domain names. In this way, the PC side in the present application can automatically obtain the configuration to achieve the effect of automatically switching the target cloud content distribution network on the PC side.

[0065] In addition, this embodiment can also obtain the configuration item sending request sent by the PC through the preset configuration platform, and determine whether the configuration item corresponding to the PC has been modified; if the configuration item corresponding to the target PC has not been modified, the default configuration item of the PC is sent to the PC; if the configuration item corresponding to the PC has been modified, the current disaster recovery domain name is re-determined according to the domain name in the configuration item corresponding to the PC, and the domain name in the configuration item is replaced with the current disaster recovery domain name, and then the current configuration is sent to the PC. For details, see Figure 3As shown, after the PC is started, it obtains the configuration of the configuration center. If the acquisition fails, the default configuration item is used. If the acquisition succeeds, the resource configuration is monitored, that is, it is determined whether the configuration item corresponding to the PC has been modified. If so, the corresponding disaster recovery domain name is re-determined from the cloud CDN vendor according to the domain name in the configuration, and the domain name in the configuration item is replaced with the current disaster recovery domain name, and then the current configuration is sent to the PC. If not, the default configuration CDN address is used and sent to the PC.

[0066] It can be seen that the present application proposes a cloud content distribution network switching method for a PC terminal, comprising: collecting error data of each PC terminal through data embedding points, wherein the error data is data generated by the abnormal loading of the domain name of the cloud content distribution network by each PC terminal; performing aggregation analysis on the error data according to a preset aggregation dimension to determine the characteristic information of the PC terminal where the error data is located; processing the characteristic information of the error data to obtain the abnormal domain name corresponding to the error data; determining the disaster recovery domain name of the abnormal domain name through a preset configuration platform, and configuring the abnormal domain name in the default configuration item of the target PC terminal as the disaster recovery domain name, and then sending the current configuration item to the target PC terminal according to the characteristic information, so that the target PC terminal determines the target cloud content distribution network from the preset multi-cloud content distribution network according to the disaster recovery domain name, and uses the target cloud content distribution network to switch the current cloud content distribution network in the target PC terminal. It can be seen that the present application collects error data by embedding points on the PC terminal, and analyzes the error data by analyzing the characteristic information of the error data. The abnormal domain name corresponding to the error data is determined by analysis, and then the disaster recovery domain name of the abnormal domain name is determined through a preset configuration platform, and the abnormal domain name in the default configuration item of the target PC is configured as the disaster recovery domain name, and then according to the characteristic information, the current configuration item is sent to the target PC and the disaster recovery domain name is sent to the target PC, so that the target PC determines the target cloud content distribution network from the preset multi-cloud content distribution network according to the disaster recovery domain name, and uses the target cloud content distribution network to quickly switch the current cloud content distribution network in the target PC. Since the present application does not need to report and feedback business anomalies through users, the present application does not consume a lot of time and cannot perform intuitive analysis due to troubleshooting problems for remote users. In addition, since the present application does not need to use the alarm detection notification provided by the cloud vendor CDN, the present application does not have the problem of business instability caused by excessive reliance on the alarm information provided by the cloud vendor CDN. That is, the present application can quickly switch the available cloud content distribution network and greatly improve the stability of the business. In addition, the PC terminal in the present application can automatically obtain configuration to achieve the effect of automatically switching the target cloud content distribution network on the PC terminal.

[0067] Based on the PC-side cloud content distribution network switching method, this application may specifically include the following contents, see Figure 4 shown. Figure 4 A schematic diagram of the architecture of a cloud content distribution network switching method on a PC side is proposed for this application.

[0068] Specifically include: (1) End-side point-of-sale data collection: used to automatically collect PC-side error data and report it to the monitoring information analysis platform; (2) Monitoring information analysis platform: used to aggregate and analyze the error data according to location dimensions, such as region, city, and time period dimensions, to determine the characteristic information of the PC where the error data is located, such as the IP address and location information of the PC, and to summarize the information, which is also a real-time inspection of CDN availability, and send the summarized information to the monitoring platform; (3) The monitoring platform processes the summarized information to obtain the abnormal domain name corresponding to the error data, and provides point-of-sale availability monitoring and alarm from the project dimension and the market dimension, and then performs regional alarm notification according to the location information of the error data, thereby providing detailed information for problem location and troubleshooting. At the same time, the abnormal domain name is sent to the configuration platform; (4) The configuration platform determines the disaster recovery domain name of the abnormal domain name, and configures the abnormal domain name in the default configuration item of the PC as the disaster recovery domain name, and then sends it to the corresponding PC. So that the PC side can determine the target cloud content distribution network from the multi-cloud content distribution network vendors according to the disaster recovery domain name, and use the target cloud content distribution network to switch the current cloud content distribution network in the PC side. In addition, since the present application does not need to use the alarm detection notification provided by the cloud vendor CDN, the present application does not have the problem of business instability caused by excessive reliance on the alarm information provided by the cloud vendor CDN, that is, the present application can quickly switch the available cloud content distribution network and greatly improve the stability of the business. In addition, the PC side in the present application can automatically obtain the configuration to achieve the effect of automatically switching the target cloud content distribution network on the PC side.

[0069] Correspondingly, the embodiment of the present application also discloses a cloud content distribution network switching device on a PC side, see Figure 5 As shown, the device comprises:

[0070] The data collection module 11 is used to collect the error data of each PC terminal through data embedding points, wherein the error data is the data generated by the abnormal loading of the domain name of the cloud content distribution network by each PC terminal;

[0071] The abnormal domain name determination module 12 is used to perform aggregation analysis on the error data according to a preset aggregation dimension to determine the characteristic information of the PC where the error data is located; process the characteristic information of the error data to obtain the abnormal domain name corresponding to the error data;

[0072] A disaster recovery domain name determination module 13 is used to determine the disaster recovery domain name of the abnormal domain name through a preset configuration platform;

[0073] The target cloud content distribution network switching module 14 is used to send the disaster recovery domain name to the target PC terminal according to the characteristic information, so that the target PC terminal determines the target cloud content distribution network from the preset multi-cloud content distribution network according to the disaster recovery domain name, and uses the target cloud content distribution network to switch the current cloud content distribution network in the target PC terminal.

[0074] Among them, for more specific working processes of the above-mentioned modules, please refer to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.

[0075] It can be seen that the present application proposes a cloud content distribution network switching method for a PC terminal, comprising: collecting error data of each PC terminal through data embedding points, wherein the error data is data generated by the abnormal loading of the domain name of the cloud content distribution network by each PC terminal; aggregating and analyzing the error data according to a preset aggregation dimension to determine the characteristic information of the PC terminal where the error data is located; processing the characteristic information of the error data to obtain the abnormal domain name corresponding to the error data; determining the disaster recovery domain name of the abnormal domain name through a preset configuration platform, and sending the disaster recovery domain name to the target PC terminal according to the characteristic information, so that the target PC terminal determines the target cloud content distribution network from the preset multi-cloud content distribution network according to the disaster recovery domain name, and uses the target cloud content distribution network to switch the current cloud content distribution network in the target PC terminal. It can be seen that the present application collects error data by embedding points on the PC side, and determines the disaster recovery domain name of the abnormal domain name corresponding to the error data by analyzing the error data, and then sends the disaster recovery domain name to the target PC side, so that the target PC side can determine the target cloud content distribution network from the preset multi-cloud content distribution network according to the disaster recovery domain name, and use the target cloud content distribution network to quickly switch the current cloud content distribution network in the target PC side. Since the present application does not require users to report and feedback business anomalies, the present application does not have the problem of consuming a lot of time and being unable to perform intuitive analysis due to troubleshooting problems for remote users. In addition, since the present application does not need to use the alarm detection notification provided by the cloud vendor CDN, the present application does not have the problem of business instability caused by excessive reliance on the alarm information provided by the cloud vendor CDN. That is, the present application can quickly switch available cloud content distribution networks and greatly improve business stability.

[0076] Furthermore, an embodiment of the present application also provides an electronic device. Figure 6 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.

[0077] Figure 6 A schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a display screen 23, an input / output interface 24, a communication interface 25, a power supply 26, and a communication bus 27. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the cloud content distribution network switching method of the PC end disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0078] In this embodiment, the power supply 26 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 25 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 24 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0079] In addition, the memory 22, as a carrier for storing resources, may be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon may include a computer program 221, and the storage method may be temporary storage or permanent storage. In addition to including a computer program that can be used to complete the cloud content distribution network switching method on the PC side executed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 221 may further include a computer program that can be used to complete other specific tasks.

[0080] Furthermore, an embodiment of the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the aforementioned cloud content distribution network switching method for a PC is implemented.

[0081] For the specific steps of the method, reference may be made to the corresponding contents disclosed in the aforementioned embodiments, which will not be described in detail here.

[0082] The various embodiments in this application are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0083] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0084] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0085] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0086] The above is a detailed introduction to a cloud content distribution network switching method, device, equipment, and storage medium for a PC provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for switching a cloud content distribution network on a PC. It is characterized in that include: The error data of each PC terminal is collected through data embedding points, wherein the error data is data generated by the abnormal loading of the domain name of the cloud content distribution network by each PC terminal; Performing aggregation analysis on the error data according to a preset aggregation dimension to determine characteristic information of the PC where the error data is located; processing the characteristic information of the error data to obtain an abnormal domain name corresponding to the error data; Determine a disaster recovery domain name of the abnormal domain name through a preset configuration platform, and send the disaster recovery domain name to a target PC terminal according to the characteristic information, so that the target PC terminal determines a target cloud content distribution network from a preset multi-cloud content distribution network according to the disaster recovery domain name, and uses the target cloud content distribution network to switch the current cloud content distribution network in the target PC terminal; The performing of aggregation analysis on the error data according to a preset aggregation dimension to determine characteristic information of the PC where the error data is located includes: Performing aggregate analysis on the error data according to the location dimension to determine the IP address and location information of the PC where the error data is located; The step of sending the disaster recovery domain name information to the target PC terminal according to the characteristic information includes: According to the IP address and location information of the PC where the error data is located, the disaster recovery domain name information is sent to the target PC.

2. The method for switching cloud content distribution network on a PC according to claim 1, It is characterized in that After processing the characteristic information of the error data to obtain the abnormal domain name corresponding to the error data, the method further includes: A regional alarm notification is made according to the location information of the error data.

3. The PC-side cloud content distribution network switching method according to claim 1, It is characterized in that Also includes: Collect data from each PC through data embedding points; Accordingly, the performing of aggregation analysis on the error data according to a preset aggregation dimension to determine characteristic information of the PC where the error data is located includes: The error data is extracted from the data, and the error data is aggregated and analyzed according to a preset aggregation dimension to determine feature information of the PC where the error data is located.

4. The PC-side cloud content distribution network switching method according to claim 1, It is characterized in that After the disaster recovery domain name of the abnormal domain name is determined by the preset configuration platform, the method further includes: Configuring the abnormal domain name in the default configuration item of the target PC as the disaster recovery domain name; Correspondingly, according to the characteristic information, the disaster recovery domain name is sent to the target PC end, including: According to the characteristic information, the current configuration item is sent to the target PC.

5. The PC-side cloud content distribution network switching method according to any one of claims 1 to 4, It is characterized in that Also includes: Obtaining a configuration item sending request sent by the PC through the preset configuration platform, and determining whether the configuration item corresponding to the PC has been modified; If the configuration item corresponding to the target PC is not modified, sending the default configuration item of the PC to the PC; If the configuration item corresponding to the PC has been modified, the current disaster recovery domain name is re-determined according to the domain name in the configuration item corresponding to the PC, and the domain name in the configuration item is replaced with the current disaster recovery domain name, and then the current configuration is sent to the PC.

6. A cloud content distribution network switching device for PC, It is characterized in that include: A data collection module, used to collect error data of each PC terminal through data embedding points, wherein the error data is data generated by abnormal loading of the domain name of the cloud content distribution network by each PC terminal; The abnormal domain name determination module is used to perform aggregation analysis on the error data according to a preset aggregation dimension to determine the characteristic information of the PC where the error data is located; process the characteristic information of the error data to obtain the abnormal domain name corresponding to the error data; A disaster recovery domain name determination module, used to determine the disaster recovery domain name of the abnormal domain name through a preset configuration platform; a target cloud content distribution network switching module, configured to send the disaster recovery domain name to a target PC terminal according to the feature information, so that the target PC terminal determines a target cloud content distribution network from a preset multi-cloud content distribution network according to the disaster recovery domain name, and uses the target cloud content distribution network to switch the current cloud content distribution network in the target PC terminal; The performing of aggregation analysis on the error data according to a preset aggregation dimension to determine characteristic information of the PC where the error data is located includes: Performing aggregate analysis on the error data according to the location dimension to determine the IP address and location information of the PC where the error data is located; The step of sending the disaster recovery domain name information to the target PC terminal according to the characteristic information includes: According to the IP address and location information of the PC where the error data is located, the disaster recovery domain name information is sent to the target PC.

7. An electronic device, It is characterized in that include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the cloud content distribution network switching method for a PC as described in any one of claims 1 to 5.

8. A computer-readable storage medium, It is characterized in that Used to store computer programs; wherein, when the computer program is executed by a processor, the cloud content distribution network switching method for a PC as described in any one of claims 1 to 5 is implemented.