CDN network topology awareness method and apparatus, and electronic device
By obtaining CDN log files to generate topology structure diagrams, combining streaming analysis and data visualization technology, the topology perception problem in CDN network monitoring and management is solved, and the full management and control of the CDN network is realized, and the availability of the network is improved. and stability.
Patent Information
- Application Number
- PCT/CN2024/095758
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-06-26
- Filing Date
- 2024-05-28
- Publication Date
- 2025-01-02
AI Technical Summary
The existing CDN technology lacks topological structure awareness function and cannot achieve comprehensive monitoring and management of CDN network element equipment.
By obtaining network topology information in CDN log files, a CDN network topology diagram is generated, streaming log file analysis technology and data visualization technology are used to support interactive operations, and all-round management and control of the CDN network is achieved.
It provides an efficient, accurate and intuitive CDN network monitoring and management solution to help operation and maintenance personnel understand the overall architecture and topology of the CDN network and improves the availability and stability of the network.
Smart Images

Figure CN2024095758_02012025_PF_FP_ABST
Abstract
Description
CDN network topology perception method, device and electronic device
[0001] Cross-references
[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on June 26, 2023, with application number 2023107631757 and invention name “CDN network topology perception method, device and electronic device”. The entire contents of the application are incorporated by reference into this application. Technical Field
[0003] The present application relates to the technical field of content delivery network (CDN), and in particular to a CDN network topology perception method, device and electronic device. Background Art
[0004] In Internet applications, CDN technology is an important means to ensure the quality of Internet services. CDN technology improves the speed and quality of users' access to Internet services by distributing and caching content globally.
[0005] Related CDN monitoring and management solutions primarily rely on the Simple Network Management Protocol (SNMP) to obtain status information about CDN network elements, thereby understanding their usage and performance. However, these solutions lack topology awareness, making it impossible to obtain a CDN network topology diagram and, consequently, to fully monitor and manage CDN network elements.
[0006] Summary of the Invention
[0007] The purpose of the embodiments of the present application is to provide a CDN network topology perception method, device and electronic device, which can solve the problem of being unable to obtain a CDN network topology diagram and thus being unable to fully monitor and manage CDN network element devices.
[0008] To solve the above technical problems, the embodiments of the present application are implemented through the following aspects.
[0009] In a first aspect, an embodiment of the present application provides a CDN network topology perception method, comprising: obtaining a CDN log file, wherein the CDN log file includes CDN network topology information; and generating a CDN network topology structure diagram based on the CDN log file.
[0010] In a second aspect, an embodiment of the present application provides a CDN network topology perception device, comprising: an acquisition module for acquiring a CDN log file, wherein the CDN log file includes CDN network topology information; and a generation module for generating a CDN network topology structure diagram based on the CDN log file.
[0011] In a third aspect, an embodiment of the present application provides an electronic device comprising: a memory, a processor, and computer-executable instructions stored on the memory and executable on the processor, wherein the computer-executable instructions, when executed by the processor, implement the steps of the method described in the first aspect.
[0012] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which is used to store computer-executable instructions. When the computer-executable instructions are executed by a processor, the steps of the method described in the first aspect are implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0014] FIG1 is a schematic diagram showing a flow chart of a CDN network topology perception method provided by an embodiment of the present application;
[0015] FIG2 shows a system block diagram of a CDN network topology perception method provided by an embodiment of the present application;
[0016] FIG3 shows a schematic diagram of the structure of a CDN network topology perception device provided in an embodiment of the present application;
[0017] FIG4 is a schematic diagram of the hardware structure of an electronic device that executes the CDN network topology perception method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0019] FIG1 illustrates a flow chart of a CDN network topology awareness method provided by an embodiment of the present application. This method can be performed by an electronic device, such as a terminal device or a server device. In other words, the method can be performed by software or hardware installed on the terminal device or server device. The server device includes, but is not limited to, a single server, a server cluster, a cloud server, or a cloud server cluster. As shown in FIG1 , the method may include the following steps.
[0020] S10: Obtain a CDN log file, where the CDN log file includes CDN network topology information.
[0021] S20: Generate a CDN network topology diagram based on the CDN log file.
[0022] The CDN network topology diagram in each embodiment of the present application may include at least one of the following: CDN network element service operation information, CDN network link status information, and CDN network element hardware indicator information. Based on the above CDN network topology diagram, CDN operation and maintenance personnel can intuitively understand the usage and performance status of the CDN network, thereby better monitoring, managing and maintaining the CDN network.
[0023] In one embodiment, generating a CDN network topology diagram based on the CDN log file in this step includes: performing streaming analysis and calculation on the CDN log file based on CDN log file analysis technology and network topology perception technology to generate a CDN network topology diagram.
[0024] This embodiment adopts the streaming log file analysis technology, which is more conducive to obtaining a real-time CDN network topology diagram and improving the accuracy of the obtained CDN network topology diagram compared to the static log file analysis technology.
[0025] In one embodiment, after generating a CDN network topology diagram based on the CDN log file, the method further includes: displaying the CDN network topology diagram in a graphical manner based on data visualization technology, which can help CDN operation and maintenance personnel intuitively understand the usage and performance status of the CDN network.
[0026] In one embodiment, after graphically displaying the CDN network topology diagram using data visualization technology, the method further includes: receiving an interactive instruction, wherein the interactive instruction includes at least one of the following: a query instruction, a monitoring instruction, and a configuration instruction; and executing an operation corresponding to the interactive instruction. This embodiment can support interactive operations and achieve comprehensive management and control of the CDN network.
[0027] The above-mentioned interaction instructions may include configuration instructions, and the execution of operations corresponding to the interaction instructions includes at least one of the following: adding CDN network elements to the CDN network based on the configuration instructions; exiting CDN network elements in the CDN network based on the configuration instructions; scheduling CDN network elements in the CDN network based on the configuration instructions to achieve all-round management and control of the CDN network.
[0028] The CDN network topology perception method provided in the embodiment of the present application obtains CDN log files, which include CDN network topology information. Based on the CDN log files, a CDN network topology diagram can be generated, which can help CDN operation and maintenance personnel understand the overall architecture and topology of the CDN network, thereby better monitoring, managing and maintaining the CDN network.
[0029] The CDN network topology perception method provided in the embodiment of the present application can analyze the data in the CDN log file, construct a CDN network topology structure diagram, present the CDN network topology structure diagram in a graphical manner, and support interactive operations to achieve all-round management and control of the CDN network.
[0030] The above embodiments employ a variety of key technologies, such as CDN log file analysis technology, network topology awareness technology, data visualization technology, and interactive operation technology. The functions implemented by these technologies are introduced below.
[0031] CDN log file analysis technology can obtain key data from CDN log files, analyze and process them to build a CDN network topology diagram and provide interactive operations.
[0032] Network topology awareness technology is the core technology for building a CDN network topology diagram. It can build a CDN network topology diagram based on the data in the CDN log files to show the overall architecture and topology of the CDN network.
[0033] Data visualization technology is used to display the CDN network topology in a graphical manner to help CDN operation and maintenance personnel understand the overall architecture and topology of the CDN network more intuitively.
[0034] Interactive operation technology is used to support CDN operation and maintenance personnel to perform interactive operations, including query, monitoring and configuration, for example, joining, exiting or scheduling CDN network elements in the CDN network to achieve all-round management and control of the CDN network.
[0035] The embodiments of the present application relate to a CDN network topology perception and visualization system in the field of network monitoring and management technology. Its technical solution can analyze CDN log files, construct a CDN network topology diagram, and graphically display the overall architecture and topology of the CDN network. It can also support interactive operations to achieve all-round management and control of the CDN network.
[0036] The embodiment of this application adopts multiple key technologies such as CDN log file analysis technology, network topology perception technology, data visualization technology, and interactive operation technology to provide an efficient, accurate, and intuitive CDN network monitoring and management solution, which can help CDN operation and maintenance personnel better understand the overall architecture and topology of the CDN network, thereby better managing and maintaining the CDN network.
[0037] The method of any of the above embodiments further includes the following steps: obtaining CDN routing request information, wherein the CDN routing request information is used to request a routing result; based on the CDN routing request information, the CDN network topology diagram, and the CDN routing selection model, obtaining a routing result that matches the CDN routing request; wherein the CDN routing selection model is used to output a routing result; the CDN routing request information includes at least one of the following: user IP address, MD5 data of user requested content, and user special request file information.
[0038] In one embodiment, the method further includes: generating or iteratively training the CDN routing selection model using a reinforcement learning algorithm based on training set data; wherein the training set data includes: the CDN routing request information, the CDN network topology diagram, and routing results that match the CDN routing request.
[0039] This embodiment uses reinforcement learning AI technology to implement intelligent routing, thereby improving the CDN service quality and user experience. In practical applications, this embodiment can help CDN providers implement more efficient content distribution networks, improve user access speed and quality, and thus enhance user stickiness and satisfaction.
[0040] To illustrate in detail the CDN network topology perception method provided in the embodiment of the present application, the following will be described in combination with a specific application scenario and a specific embodiment.
[0041] The embodiments of the present application are applicable to the monitoring and management of CDN networks, and the application environment mainly includes the following aspects.
[0042] CDN network operators: CDN network operators are the primary application targets. They need to monitor and manage CDN networks to ensure the availability and stability of CDN networks. By using the CDN network topology awareness method proposed in this application, CDN network operators can fully understand the overall architecture and topology of the CDN network and can manage and adjust the CDN network as needed.
[0043] CDN service providers are key partners of CDN network operators. They need to provide high-quality, high-speed CDN services to meet customer needs. By using the CDN network topology awareness method proposed in this application, CDN service providers can promptly understand the usage and performance of the CDN network and adjust and optimize CDN services as needed.
[0044] CDN service customers: CDN service customers are the end users of CDN network operators and CDN service providers. They require fast and stable CDN services to ensure the normal operation of their businesses. By using the CDN network topology awareness method proposed in this application, CDN service customers can understand the quality and performance of CDN services and can promptly report any issues and needs to CDN network operators and CDN service providers.
[0045] CDN network operators and service providers are key personnel in CDN networks. They monitor and manage the CDN network to ensure its availability and stability. By using the CDN network topology awareness method proposed in this application, CDN network operators can gain a comprehensive understanding of the overall architecture and topology of the CDN network and manage and adjust the CDN network as needed.
[0046] The CDN network topology perception method provided in the embodiments of this application is applicable to multiple application scenarios, including CDN network operators, CDN service providers, CDN service customers, and CDN network operation and maintenance personnel. It can provide a convenient, efficient, and intuitive solution for monitoring and management of CDN networks. The application environment of this application has wide applicability and practicality, and can meet the needs of various CDN network application scenarios.
[0047] The system block diagram of the CDN network topology perception method of the present application embodiment is shown in Figure 2. It consists of four layers: the hardware layer, the data layer, the application layer, and the main control layer. The following will explain the functions of each of these four layers and the functions of the modules within each layer.
[0048] Main control module
[0049] The master control module is the core component of the CDN network topology perception and visualization system, connecting to the network topology perception module, interactive management module, and visualization module. The master control module is primarily responsible for controlling the various parameters input to the CDN network topology perception and visualization system, including log file paths, collection cycles, and monitoring targets. It also outputs monitoring results and management control commands through the UI. The master control module also coordinates the interaction and collaboration between the various modules of the CDN network topology perception and visualization system to ensure the normal operation of the entire system.
[0050] Network topology awareness module
[0051] The network topology awareness module is the data collection and processing module of the CDN network topology awareness and visualization system, connected to the log file system. It is primarily responsible for collecting network topology information from CDN log files and, through algorithmic processing, generating a diagram of the overall CDN network topology. This module provides awareness of the CDN network's overall architecture, providing foundational data for subsequent monitoring and management.
[0052] Visualization Module
[0053] The visualization module is the output module of the CDN network topology awareness and visualization system, connecting to the network topology awareness module and the log file system. The visualization module is primarily responsible for displaying the CDN network topology diagram in a graphical format and updating it in real time. The visualization module's primary function is to provide CDN operations and management personnel with a more intuitive understanding of the CDN network's overall architecture and performance, providing visual support for subsequent management and adjustments.
[0054] Interactive Management Module
[0055] The interactive management module is the management module of the CDN network topology perception and visualization system, connecting to the log file system and the main control module. It is primarily responsible for managing and adjusting the CDN network, including operations such as adding, removing, and scheduling CDN network elements. The interactive management module's primary function is to enable interactive management of the CDN network, making it more convenient for CDN operations and management personnel to operate the CDN network.
[0056] Journaling file systems
[0057] The log file system is the data storage and management module of the CDN network topology awareness and visualization system. It connects to the network topology awareness module, visualization module, and interactive management module. The log file system is primarily responsible for storing CDN log files and CDN network topology diagrams and provides corresponding data management and query interfaces. The log file system's primary function is to store and manage CDN log files and CDN network topology diagrams, and to provide access and query capabilities to other modules.
[0058] CDN network element equipment
[0059] CDN network elements are core components of the CDN network and are connected to data collection probes. They are primarily responsible for transmitting CDN network performance metrics and status information to the data collection probes. Their primary function is to monitor and collect CDN network performance.
[0060] Data acquisition probe
[0061] The data collection probe is the data collection module of the CDN network topology awareness and visualization system. It connects to CDN network elements and the log file system. The data collection probe is primarily responsible for collecting performance indicators and status information from CDN network elements and sending this information to the network topology awareness module and interactive management module for processing and analysis. The data collection probe's primary function is to enable real-time performance monitoring and data collection for the CDN network.
[0062] Hardware layer
[0063] The hardware layer is the underlying physical foundation of the CDN network topology awareness and visualization system, primarily consisting of CDN network elements and data collection probes. CDN network elements are core components of the CDN network, and data collection probes enable data interaction with the CDN network topology awareness and visualization system. Data collection probes are the data collection module of the CDN network topology awareness and visualization system. By connecting to CDN network elements and the log file system, they enable real-time performance monitoring and data collection of the CDN network.
[0064] Data Layer
[0065] The data layer is the data processing and storage layer of the CDN network topology awareness and visualization system. It primarily includes the log file system and CDN log files. The log file system is primarily responsible for storing CDN log files and CDN network topology diagrams and provides corresponding data management and query interfaces. CDN log files are important records of CDN network performance and status, providing the foundational data for data processing and analysis in the CDN network topology awareness and visualization system.
[0066] Application Layer
[0067] The application layer is the core functional layer of the CDN network topology perception and visualization system, primarily comprising the network topology perception module, visualization module, and interactive management module. The network topology perception module is primarily responsible for collecting network topology information from CDN log files and, through algorithmic processing, generating an overall topology diagram of the CDN network. The visualization module is primarily responsible for displaying the CDN network topology diagram in a graphical format and updating it in real time. The interactive management module is primarily responsible for managing and adjusting the CDN network, including operations such as adding, removing, and scheduling CDN network elements.
[0068] Main control layer
[0069] The main control layer serves as the control center for the CDN network topology perception and visualization system, primarily comprising the main control module. As the core control module of the CDN network topology perception and visualization system, the main control module connects to the application and data layers to input and output various parameters of the CDN network topology perception and visualization system, including log file paths, collection cycles, and monitoring objects. Monitoring results and management control commands are also output through the UI. The main function of the main control layer is to coordinate and manage the interaction and collaboration between the various modules of the CDN network topology perception and visualization system, ensuring the normal operation of the entire system.
[0070] When executing the embodiment of the present application, the main control module sets topology perception parameters: First, the user needs to set parameters such as the CDN network monitoring object and collection period in the main control module to start the CDN network topology perception and visualization system. The user can enter the corresponding parameters through the UI interface or command line and send them to the network topology perception module.
[0071] The data collection probe collects data from CDN network element devices. Subsequently, the data collection probe initiates monitoring and collection procedures for the CDN network element devices and periodically sends data collection requests to the CDN network element devices, obtaining performance indicators and status information. The data collection probe stores this information in the log file system, providing the basis for subsequent data processing and analysis.
[0072] The network topology perception module generates a CDN network topology diagram: The network topology perception module extracts network topology information from CDN log files and processes it using an algorithm to generate a diagram of the overall CDN network topology. The network topology perception module sends this image information to the visualization module and interactive management module for display and operation.
[0073] The visualization module displays the CDN network topology diagram: This module graphically displays the CDN network topology and dynamically updates the graphical information based on real-time data collection results. Users can operate and manage the diagram through the UI, such as zooming, dragging, and annotation, to meet their monitoring and management needs.
[0074] Through this end-to-end example, users can gain real-time insights into CDN network performance and status. Visualizing the network's topology and performance indicators through graphical visualization allows for better monitoring and management. Furthermore, the CDN network topology awareness and visualization system can automatically add and remove CDN network elements, as well as schedule them, making the entire CDN network more optimized and efficient.
[0075] This application relates to a network topology perception and visualization system based on CDN log files. Through multiple key technologies, it achieves CDN network topology perception, visualization, and interactive management, resolving existing shortcomings and unresolved technical issues in CDN network monitoring and management, and achieving significant technical results. Key technical points include the following:
[0076] Topology awareness technology based on CDN log files: Traditional CDN network monitoring and management solutions primarily obtain CDN node status information through network management protocols such as SNMP. However, this application achieves topology awareness of the CDN network by analyzing CDN log files. This embodiment of the application utilizes CDN node log information to analyze the relationships and topology between CDN nodes, constructing a CDN network topology diagram. This also supports interactive operations, enabling comprehensive management and control of the CDN network.
[0077] Data visualization-based CDN network monitoring and management solutions: This data visualization-based CDN monitoring and management solution graphically displays CDN node status information, helping CDN operators gain a more intuitive understanding of CDN network usage and performance. Data visualization technology further enhances this solution by graphically displaying the CDN network topology, helping CDN operators better understand the overall architecture and topology of the CDN network.
[0078] Interactive CDN Network Monitoring and Management Solution: Traditional CDN network monitoring and management solutions primarily rely on network management protocols like SNMP to obtain CDN node status information. However, the interactive operation technology proposed in this application enables CDN operators to perform interactive operations, including querying, monitoring, and configuration, to achieve comprehensive management and control of the CDN network. Compared to traditional solutions, this interactive operation technology is more flexible and intuitive, better meeting the needs of CDN operators.
[0079] Efficient, accurate, and intuitive CDN network monitoring and management solution: This application utilizes multiple key technologies, such as CDN log file analysis, network topology awareness, data visualization, and interactive operation, to achieve efficient, accurate, and intuitive monitoring and management of CDN networks. Compared to traditional solutions, this solution provides a more precise understanding of CDN network usage and performance, enabling more flexible and intuitive management and control of the CDN network, effectively improving the availability and stability of the CDN network.
[0080] CDN network monitoring and management solution for CDN operation and maintenance personnel: The CDN network monitoring and management solution of this application is aimed at CDN operation and maintenance personnel, providing a convenient, efficient and intuitive CDN network monitoring and management solution, which can help CDN operation and maintenance personnel better understand the overall architecture and topology of the CDN network, so as to better manage and maintain the CDN network.
[0081] In summary, the network topology perception and visualization system based on CDN log files involved in this application, by adopting a variety of key technologies, realizes CDN network topology perception, visualization, and interactive management, solving the defects and unresolved technical problems in CDN network monitoring and management in the prior art. It has the advantages of high efficiency, accuracy, intuitiveness, convenience, and high flexibility, can effectively improve the availability and stability of CDN networks, and provides CDN operation and maintenance personnel with a convenient, efficient, and intuitive CDN network monitoring and management solution. Therefore, the invention of this application has obvious technical advantages and innovations, and is a novel and practical technical solution.
[0082] FIG3 shows a schematic structural diagram of a CDN network topology perception device provided in an embodiment of the present application, which includes the following modules.
[0083] The acquisition module 302 is configured to acquire a CDN log file, where the CDN log file includes CDN network topology information.
[0084] The generating module 304 is configured to generate a CDN network topology diagram based on the CDN log file.
[0085] In an embodiment of the present application, a CDN log file is obtained, which includes CDN network topology information. Based on the CDN log file, a CDN network topology diagram can be generated, which can help CDN operation and maintenance personnel understand the overall architecture and topology of the CDN network, thereby better monitoring, managing and maintaining the CDN network.
[0086] In one embodiment, the generating module 304 is configured to perform streaming analysis and calculation on the CDN log file based on CDN log file analysis technology and network topology awareness technology to generate a CDN network topology diagram.
[0087] In one embodiment, the device further includes a display module for displaying the CDN network topology diagram in a graphical manner based on data visualization technology.
[0088] In one embodiment, the CDN network topology diagram includes at least one of the following: CDN network element service operation status information, CDN network link status information, and CDN network element hardware indicator information.
[0089] In one embodiment, the device further includes an interaction module for receiving an interaction instruction, wherein the interaction instruction includes at least one of the following: a query instruction, a monitoring instruction, and a configuration instruction; and executing an operation corresponding to the interaction instruction.
[0090] In one embodiment, the interaction instructions include configuration instructions, and the interaction module is used for at least one of the following: 1) adding CDN network elements to the CDN network based on the configuration instructions; 2) exiting CDN network elements in the CDN network based on the configuration instructions; 3) scheduling CDN network elements in the CDN network based on the configuration instructions.
[0091] In one embodiment, the device further includes a routing output module for obtaining CDN routing request information, wherein the CDN routing request information is used to request a routing result; based on the CDN routing request information, the CDN network topology diagram and the CDN routing selection model, a routing result matching the CDN routing request is obtained; wherein the CDN routing selection model is used to output the routing result.
[0092] In one embodiment, the device further includes a model training module for generating or iteratively training the CDN routing model using a reinforcement learning algorithm based on training set data; wherein the training set data includes: the CDN routing request information, the CDN network topology diagram, and the routing results matching the CDN routing request.
[0093] The device 300 provided in the embodiment of the present application can execute the various methods described in the above method embodiments and realize the functions and beneficial effects of the various methods described in the above method embodiments, which will not be repeated here.
[0094] FIG4 shows a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application. Referring to the figure, at the hardware level, the electronic device includes a processor, and optionally, an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage device. Of course, the electronic device may also include hardware required for other services.
[0095] The processor, network interface, and memory can be interconnected via an internal bus, such as an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. These buses can be classified as address buses, data buses, and control buses. For ease of illustration, the figure uses only one bidirectional arrow, but this does not imply that there is only one bus or only one type of bus.
[0096] The memory is used to store programs. Specifically, the program may include program code, which includes computer operating instructions. The memory may include internal memory and non-volatile memory, and provides instructions and data to the processor.
[0097] The processor reads the corresponding computer program from the non-volatile memory into the internal memory and then runs it, logically forming a device for locating the target user. The processor executes the program stored in the memory and is specifically configured to perform the methods disclosed in the embodiments shown in Figures 1-2 and to achieve the functions and benefits of the various methods described in the preceding method embodiments, which will not be further described here.
[0098] The methods disclosed in the embodiments shown in Figures 1-2 of the present application can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits in the processor or software instructions. The above processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The various methods, steps, and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory, and the processor reads the information in the memory and, in conjunction with its hardware, completes the steps of the above method.
[0099] The electronic device can also execute the methods described in the above method embodiments and realize the functions and beneficial effects of the methods described in the above method embodiments, which will not be described in detail here.
[0100] Of course, in addition to software implementation, the electronic device of this application does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0101] An embodiment of the present application also proposes a computer-readable storage medium, which stores one or more programs. When the one or more programs are executed by an electronic device including multiple applications, the electronic device executes the method disclosed in the embodiment shown in Figures 1-2 and realizes the functions and beneficial effects of the various methods described in the previous method embodiments, which will not be repeated here.
[0102] The computer-readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0103] Furthermore, an embodiment of the present application also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the following process is implemented: the method disclosed in the embodiment shown in Figures 1-2 and the functions and beneficial effects of the various methods described in the previous method embodiments are implemented, which will not be repeated here.
[0104] In short, the above description is only a preferred embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
[0105] The systems, devices, modules, or units described in the above embodiments may be implemented by computer chips or entities, or by products having certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0106] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0107] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0108] The various embodiments in this specification are described in a progressive manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiments are generally similar to the method embodiments, so the description is relatively simple. For relevant parts, refer to the description of the method embodiments.
Claims
1. A CDN network topology perception method, comprising: Obtaining a CDN log file, wherein the CDN log file includes CDN network topology information; A CDN network topology diagram is generated based on the CDN log file.
2. The method according to claim 1, wherein: Generating a CDN network topology diagram based on the CDN log file includes: Based on CDN log file analysis technology and network topology perception technology, streaming analysis and calculation are performed on the CDN log file to generate a CDN network topology diagram.
3. The method according to claim 1 or 2, wherein: After generating the CDN network topology diagram based on the CDN log file, the method further includes: Based on data visualization technology, the CDN network topology diagram is displayed in a graphical manner.
4. The method according to claim 3, wherein: The CDN network topology diagram includes at least one of the following: CDN network element business operation information, CDN network link information, CDN network element hardware indicator information.
5. The method according to claim 3, wherein: After displaying the CDN network topology diagram in a graphical manner based on data visualization technology, the method further includes: Receiving an interactive instruction, wherein the interactive instruction includes at least one of the following: a query instruction, a monitoring instruction, and a configuration instruction; Execute an operation corresponding to the interaction instruction.
6. The method according to claim 5, wherein: The interaction instruction includes a configuration instruction, and the performing of an operation corresponding to the interaction instruction includes at least one of the following: Adding CDN network elements to the CDN network based on the configuration instructions; Exiting a CDN network element in the CDN network based on the configuration instruction; CDN network elements in the CDN network are scheduled based on the configuration instructions.
7. The method according to any one of claims 1 to 6, wherein: The method further comprises: Obtain CDN routing request information, where the CDN routing request information is used to request a routing result; Based on the CDN routing request information, the CDN network topology diagram and the CDN routing selection model, a routing result matching the CDN routing request is obtained; wherein the CDN routing selection model is used to output the routing result.
8. The method according to claim 7, wherein: The method further comprises: Based on the training set data, a reinforcement learning algorithm is used to generate or iteratively train the CDN routing selection model; The training set data includes: the CDN routing request information, the CDN network topology diagram, and the routing results matching the CDN routing request.
9. A CDN network topology perception device, comprising: An acquisition module, used to acquire a CDN log file, wherein the CDN log file includes CDN network topology information; A generation module is used to generate a CDN network topology diagram based on the CDN log file.
10. An electronic device comprising: processor; as well as A memory arranged to store computer executable instructions which, when executed, cause the processor to perform the steps of the method of any one of claims 1 to 8.
11. A computer-readable medium storing one or more programs, which, when executed by an electronic device including a plurality of application programs, causes the electronic device to execute the steps of the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Method and system for constructing topologic CDN (content delivery network) model
CN105827454A
Website content distribution network architecture determination method and device and readable storage medium
CN116132249A
Efficient transport network architecture for content delivery network
US20150382088A1
Cited By
Statistical method, system and device for CDN infrastructure data and medium
CN119484234A