CN112422342B - Method and device for acquiring service data - Google Patents

Method and device for acquiring service data Download PDF

Info

Publication number
CN112422342B
CN112422342B CN202011294848.1A CN202011294848A CN112422342B CN 112422342 B CN112422342 B CN 112422342B CN 202011294848 A CN202011294848 A CN 202011294848A CN 112422342 B CN112422342 B CN 112422342B
Authority
CN
China
Prior art keywords
cdn
service
node
acceleration
data center
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011294848.1A
Other languages
Chinese (zh)
Other versions
CN112422342A (en
Inventor
殷昭印
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202011294848.1A priority Critical patent/CN112422342B/en
Publication of CN112422342A publication Critical patent/CN112422342A/en
Application granted granted Critical
Publication of CN112422342B publication Critical patent/CN112422342B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/044Network management architectures or arrangements comprising hierarchical management structures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1021Server selection for load balancing based on client or server locations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a method and a device for acquiring service data, relates to the technical field of communication, and can improve the efficiency of UE (user equipment) in acquiring the service data. The method comprises the following steps: acquiring state information of a plurality of data center devices, wherein the state information of one data center device comprises the size of available resources of the data center device and a corresponding hierarchy of the data center device in a network; determining, as a CDN mirror node, a data center device in the multiple data center devices, where the available resource size is greater than or equal to an available resource threshold and a corresponding hierarchy in the network is a high hierarchy, and the CDN mirror node is used to cache service data in the source station device; and determining the data center equipment with the corresponding low hierarchy in the network as a CDN cache node, wherein the CDN cache node is used for providing the service data for the UE.

Description

Method and device for acquiring service data
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a method and a device for acquiring service data.
Background
Currently, a User Equipment (UE) may send a service data request message to a Content Delivery Network (CDN) cache server, and obtain service data from the CDN cache server.
The existing CDN cache server may be selected manually, specifically, an operation and maintenance person counts an area of a certain area (e.g., a certain province or city) and the number of UEs in the area, and then determines whether to configure the CDN cache server for the area according to the area of the area and the number of UEs in the area, for example, at least one CDN cache server may be configured for an area with a large area and many UEs.
However, the above method for manually selecting the CDN cache server may be unreasonable, for example, the area of a certain region is small, the number of UEs is small, and the region may not be configured with a corresponding CDN cache server, so that the UE in the region may need to go to another distant region (specifically, in the CDN cache server corresponding to the other region) to obtain service data, which affects the efficiency of the UE in obtaining the service data.
Disclosure of Invention
The embodiment of the invention provides a method and a device for acquiring service data, which can improve the efficiency of UE (user equipment) in acquiring the service data.
In a first aspect, an embodiment of the present invention provides a method for acquiring service data, including: acquiring state information of a plurality of data center devices, wherein the state information of one data center device comprises the size of available resources of the data center device and a corresponding hierarchy of the data center device in a network, and the corresponding hierarchy of the data center device in the network is the same as the hierarchy of network devices connected with the data center device in the network; determining, as a CDN mirror node, a data center device in the multiple data center devices, where the available resource size is greater than or equal to an available resource threshold and a corresponding hierarchy in the network is a high hierarchy, and the CDN mirror node is used to cache service data in the source station device; and determining the data center equipment with the corresponding low hierarchy in the network as a CDN cache node, wherein the CDN cache node is used for providing the service data for the UE.
In a second aspect, an embodiment of the present invention provides a method for acquiring service data, including: the method comprises the steps that a CDN management server receives a service acceleration request message, the service acceleration request message comprises a service type of a service to be accelerated, the service acceleration request message is used for requesting the CDN management server to determine at least one target CDN mirror image node and a plurality of target CDN cache nodes, the at least one target CDN mirror image node is used for caching service data corresponding to the service to be accelerated, and the target CDN cache nodes are used for providing the service data for UE; the CDN management server determines the at least one target CDN mirror node and the plurality of target CDN cache nodes; the CDN management server sends a first acceleration instruction message to the at least one target CDN mirror image node, where the first acceleration instruction message includes a service type of the service to be accelerated and an Internet Protocol (IP) address of a source station device, and the first acceleration instruction message is used to instruct the at least one target CDN mirror node to obtain service data corresponding to the service to be accelerated from the source station device; the CDN management server receives a first acceleration completion message sent by the at least one target CDN mirror image node, wherein the first acceleration completion message is used for informing the CDN management server that the at least one target CDN mirror image node has completed the acceleration process of the service data; the CDN management server sends a second acceleration indication message to the target CDN cache nodes, wherein the second acceleration indication message comprises the service type of the service to be accelerated and the IP address of the at least one target CDN mirror image node, and the second acceleration indication message is used for indicating the target CDN cache nodes to obtain service data corresponding to the service to be accelerated from the at least one target CDN mirror image node; the CDN management server receives a second acceleration completion message sent by the target CDN cache nodes, where the second acceleration completion message is used to notify the CDN management server that the target CDN cache nodes have completed the acceleration process of the service data.
In a third aspect, an embodiment of the present invention provides an apparatus for acquiring service data, including: the device comprises an acquisition module and a determination module; the acquiring module is used for acquiring the state information of a plurality of data center devices, wherein the state information of one data center device comprises the size of available resources of the data center device and the corresponding hierarchy of the data center device in a network, and the corresponding hierarchy of the data center device in the network is the same as the hierarchy of network devices connected with the data center device in the network; the determining module is configured to determine, as a CDN mirror node, a data center device in the multiple data center devices, where the size of available resources is greater than or equal to an available resource threshold and a corresponding hierarchy in the network is a high hierarchy, and the CDN mirror node is used to cache service data in the source station device; and determining, as a CDN cache node, a data center device of the multiple data center devices, which is at a lower hierarchy level in a network and corresponds to the data center device, where the CDN cache node is configured to provide the service data for the UE.
In a fourth aspect, an embodiment of the present invention provides an apparatus for acquiring service data, including: the device comprises a receiving module, a determining module and a sending module; the receiving module is configured to receive a service acceleration request message, where the service acceleration request message includes a service type of a service to be accelerated, the service acceleration request message is used by an obtaining device that requests the service data to determine at least one target CDN mirror node and a plurality of target CDN cache nodes, the at least one target CDN mirror node is used to cache service data corresponding to the service to be accelerated, and the plurality of target CDN cache nodes are used to provide the service data for the UE; the determining module is configured to determine the at least one target CDN mirror node and the plurality of target CDN cache nodes; the sending module is configured to send a first acceleration indication message to the at least one target CDN mirror image node, where the first acceleration indication message includes a service type of the service to be accelerated and an IP address of a source station device, and the first acceleration indication message is used to indicate the at least one target CDN mirror node to obtain service data corresponding to the service to be accelerated from the source station device; the receiving module is further configured to receive a first acceleration completion message sent by the at least one target CDN mirror node, where the first acceleration completion message is used to notify an obtaining device of the service data that the at least one target CDN mirror node has completed an acceleration process of the service data; the sending module is further configured to send a second acceleration indication message to the target CDN cache nodes, where the second acceleration indication message includes a service type of the service to be accelerated and an IP address of the at least one target CDN mirror node, and the second acceleration indication message is used to indicate the target CDN cache nodes to obtain service data corresponding to the service to be accelerated from the at least one target CDN mirror node; the receiving module is further configured to receive a second acceleration completion message sent by the target CDN cache nodes, where the second acceleration completion message is used to notify the obtaining device of the service data that the target CDN cache nodes have completed the acceleration process of the service data.
In a fifth aspect, an embodiment of the present invention provides another apparatus for acquiring service data, including: a processor, a memory, a bus, and a communication interface; the memory is used for storing computer execution instructions, the processor is connected with the memory through a bus, and when the service data acquisition device runs, the processor executes the computer execution instructions stored in the memory, so that the service data acquisition device executes the service data acquisition method provided by the first aspect.
In a sixth aspect, an embodiment of the present invention provides another apparatus for acquiring service data, including: a processor, a memory, a bus, and a communication interface; the memory is used for storing computer execution instructions, the processor is connected with the memory through a bus, and when the service data acquisition device runs, the processor executes the computer execution instructions stored in the memory, so that the service data acquisition device executes the service data acquisition method provided by the second aspect.
In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, which includes a computer program, and when the computer program runs on a computer, the computer is caused to execute the method for acquiring service data provided in the first aspect.
In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium, which includes a computer program, and when the computer program runs on a computer, the computer is caused to execute the method for acquiring service data provided in the second aspect.
In a ninth aspect, an embodiment of the present invention provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the method for acquiring service data of the first aspect and any implementation manner thereof.
In a tenth aspect, an embodiment of the present invention provides a computer program product including instructions, which, when run on a computer, causes the computer to execute the method for acquiring service data of the second aspect and any implementation manner thereof.
According to the method and the device for acquiring the service data, provided by the embodiment of the invention, a node determination server firstly acquires the state information of a plurality of data center equipment, wherein the state information of one data center equipment comprises the size of available resources of the data center equipment and the corresponding level of the data center equipment in a network; then, the node determination server determines data center equipment, of the multiple data center equipment, of which the available resource size is larger than or equal to the available resource threshold and which is at a high level in a corresponding level in the network, as a CDN mirror node; and then, the node determination server determines the data center equipment with a corresponding low hierarchy in the network as a CDN cache node. In the embodiment of the invention, because the CDN mirror image node can acquire the service data from the source station equipment and the CDN cache node can acquire the service data from the CDN mirror image node, the UE can acquire the service data from the CDN cache node (namely, the low-level data center equipment) with a short communication distance, and the efficiency of the UE for acquiring the service data can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a first schematic diagram of a network architecture of a 5G communication system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a network architecture of a 5G communication system according to an embodiment of the present invention;
fig. 3 is a hardware schematic diagram of a node determination server according to an embodiment of the present invention;
fig. 4 is a first schematic diagram illustrating a method for acquiring service data according to an embodiment of the present invention;
fig. 5 is a second schematic diagram of a method for acquiring service data according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a CDN cache node according to an embodiment of the present invention;
fig. 7 is a first schematic structural diagram of a node determination server according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a node determination server according to an embodiment of the present invention;
fig. 9 is a first schematic structural diagram of a CDN management server according to an embodiment of the present invention;
fig. 10 is a second schematic structural diagram of a CDN management server according to an embodiment of the present invention.
Detailed Description
The following describes in detail a method and an apparatus for acquiring service data according to an embodiment of the present invention with reference to the accompanying drawings.
The terms "first" and "second" etc. in the description and drawings of the present application are used to distinguish different objects and not to describe a specific order of the objects, e.g., a first acceleration indicating message and a second acceleration indicating message etc. are used to distinguish different acceleration indicating messages and not to describe a specific order of the acceleration indicating messages.
Furthermore, the terms "including" and "having," and any variations thereof, as referred to in the description of the present application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "such as" in an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The term "and/or" as used herein includes the use of either or both of the two methods.
In the description of the present application, the meaning of "a plurality" means two or more unless otherwise specified.
Based on the problems existing in the background art, embodiments of the present invention provide a method and an apparatus for acquiring service data, where a node determination server first acquires state information of a plurality of data center devices, where the state information of one data center device includes the size of an available resource of the data center device and a corresponding hierarchy of the data center device in a network; then, the node determination server determines that the data center equipment with the available resource size larger than or equal to the available resource threshold and corresponding high hierarchy level in the network is the CDN mirror image node; and then, the node determination server determines the data center equipment with a corresponding low hierarchy in the network as a CDN cache node. In the embodiment of the invention, because the CDN mirror image node can acquire the service data from the source station equipment and the CDN cache node can acquire the service data from the CDN mirror image node, the UE can acquire the service data from the CDN cache node (namely, the low-level data center equipment) with a short communication distance, and the efficiency of the UE for acquiring the service data can be improved.
The method and apparatus for acquiring service data provided in the embodiment of the present invention may be applied to a wireless communication system, and take the wireless communication system as a 5G communication system as an example, as shown in fig. 1, the 5G communication system includes a UE 101, a base station level network device 102, an access level network device 103, a convergence level network device 104, a core level network device 105, a provincial level network device 106, a large area level network device 107, a group level network device 108, a data center device 109, a data center device 110, a data center device 111, a data center device 112, a data center device 113, a data center device 114, a data center device 115, and a node determination server 116. In general, in practical applications, the connections between the above-mentioned devices or service functions may be wireless connections, and fig. 1 illustrates the connections between the devices by solid lines for convenience of intuitively representing the connections between the devices.
The multiple network devices (including the base station level network device 102, the access level network device 103, the aggregation level network device 104, the core level network device 105, the provincial level network device 106, the large area level network device 107, and the group level network device 108) may be routing devices such as switches, and are used for the UE 101 to access the network.
The plurality of data center devices (including data center device 109, data center device 110, data center device 111, data center device 112, data center device 113, data center device 114, and data center device 115) are used for caching service data. In the embodiment of the invention, the corresponding hierarchy of a certain data center device in the network is the same as the hierarchy of the network device which has a connection relation with the data center device. For example, the hierarchy level of the data center device 109 is the same as that of the base station level network device 102, and is a base station level.
In this embodiment of the present invention, the node determination server 116 is configured to obtain state information of the multiple data center devices, and determine a CDN mirror node and a CDN cache node based on the state information of the multiple data center devices.
In combination with the 5G communication system architecture, the node determination server 116 determines a CDN mirror node and a CDN cache node based on the state information of the multiple data center devices, as shown in fig. 2, the CDN mirror node 201, the CDN mirror node 202, the CDN cache node 203, the CDN cache node 204, the CDN cache node 205, and the CDN cache node 206, and the 5G communication system shown in fig. 2 further includes a source station device 207 and a CDN management server 208.
The source station device 207 is configured to store service data corresponding to a service to be accelerated.
In the embodiment of the present invention, the CDN mirror node (including the CDN mirror node 201 and the CDN mirror node 202) is configured to obtain (or cache) service data corresponding to a service to be accelerated from the source station device 207. The CDN cache node (including the CDN cache node 203, the CDN cache node 204, the CDN cache node 205, and the CDN cache node 206) is configured to obtain (or cache) service data corresponding to a service to be accelerated from the CDN mirror node 201 or the CDN mirror node 202, and the CDN cache node is further configured to provide the service data for the UE 101.
The CDN management server 208 is configured to send a first acceleration indication message to a CDN mirror node (e.g., the CDN mirror node 201), that is, instruct the CDN mirror node 201 to obtain the service data from the source device 207.
Optionally, the 5G communication system may include one or more network devices, one or more data center devices, one or more CDN mirror nodes, and one or more CDN cache nodes. In the embodiment of the present invention, the number of the network device, the data center device, the CDN mirror node, and the CDN cache node in the 5G communication system is not limited.
Fig. 3 is a schematic diagram of a hardware structure of a node determination server according to an embodiment of the present invention. As shown in fig. 3, the node determination server 30 includes a processor 301, a memory 302, a network interface 303, and the like.
The processor 301 is a core component of the node determination server 30, and the processor 301 is configured to run an operating system of the node determination server 30 and application programs (including a system application program and a third-party application program) on the node determination server 30, so as to implement an obtaining method for performing service processing by the node determination server 30.
In this embodiment, the processor 301 may be a Central Processing Unit (CPU), a microprocessor, a Digital Signal Processor (DSP), an application-specific integrated circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof, which is capable of implementing or executing various exemplary logic blocks, modules, and circuits described in connection with the disclosure of the embodiment of the present invention; a processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
Alternatively, the processor 301 of the node determination server 30 includes one or more CPUs, which are single-core CPUs (single-CPUs) or multi-core CPUs (multi-CPUs).
The memory 302 includes, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical memory, or the like. The memory 302 holds the code for the operating system.
Optionally, the processor 301 implements the method for acquiring service data in the embodiment of the present invention by reading the instruction stored in the memory 302, or the processor 301 implements the method for acquiring service data provided in the embodiment of the present invention by using an instruction stored inside. In the case that the processor 301 implements the method for acquiring service data provided by the embodiment of the present invention by reading the memory, the memory stores an instruction for implementing the method for acquiring service data provided by the embodiment of the present invention.
The network interface 303 is a wired interface, such as a Fiber Distributed Data Interface (FDDI) interface or a Gigabit Ethernet (GE) interface. Alternatively, the network interface 303 is a wireless interface. The network interface 303 is used for the node determination server 30 to communicate with other devices.
The memory 302 is used to store status information of a plurality of data center devices. The at least one processor 301 further performs the method described in the embodiments of the present invention according to the state information of the plurality of data center devices stored in the memory 302. For more details of the processor 301 to implement the above functions, reference is made to the following description of various method embodiments.
Optionally, the node determination server 30 further includes a bus, and the processor 301 and the memory 302 are connected to each other through the bus 304, or are connected to each other in other manners.
Optionally, the node determination server 30 further includes an input/output interface 305, where the input/output interface 305 is configured to connect with an input device, and receive a CDN node (including a CDN mirror node and a CDN cache node) deployment request input by a user through the input device. Input devices include, but are not limited to, a keyboard, a touch screen, a microphone, and the like. The input/output interface 305 is further configured to connect with an output device, and output a deployment result of the processor 301 (i.e., determine which data center devices of the multiple data center devices are CDN mirror nodes and which data center devices are CDN cache nodes). Output devices include, but are not limited to, a display, a printer, and the like.
It should be understood that, in the embodiment of the present invention, the hardware structure of the CDN management server is similar to the hardware structure of the node determination server shown in fig. 3, and the description about the hardware structure of the CDN management server may refer to the description about the hardware structure of the node determination server, which is not described in detail herein.
The method and the device for acquiring the service data provided by the embodiment of the invention are applied to a scene that the UE acquires the service data from the CDN (content delivery network), particularly CDN cache nodes in the CDN. The node determination server may first determine a CDN mirror node and a CDN cache node from among a plurality of data center devices. Furthermore, the CDN management server may instruct the target CDN mirror node to obtain, from the source station device, the service data corresponding to the service to be accelerated, and instruct the target CDN cache node to obtain, from the target CDN mirror node, the service data corresponding to the service to be accelerated, so that the UE may obtain the service data from the target CDN cache node.
With reference to the communication systems shown in fig. 1 and fig. 2, the method for obtaining service data provided in the embodiment of the present invention is described below from the perspective of the node determination server shown in fig. 1 and the perspective of interaction of multiple devices (including a CDN management server, a CDN mirror node, and a CDN cache node) in fig. 2, so as to explain a process in which the node determination server determines the CDN mirror node and the CDN cache node, and a process in which the UE obtains service data corresponding to a service to be accelerated from multiple target CDN cache nodes.
For the process of determining the CDN mirror node and the CDN cache node by the node determination server, as shown in fig. 4, the method for acquiring service data provided by the embodiment of the present invention may include S101 to S103.
S101, the node determination server acquires state information of a plurality of data center devices.
The state information of one data center device comprises the available resource size of the data center device and the corresponding hierarchy of the data center device in the network, and the corresponding hierarchy of the data center in the network is the same as the hierarchy of the network device connected with the data center in the network.
It should be understood that after a certain data center device is connected with a network device in the same hierarchy, the data center device is not connected with network devices in other hierarchies. For example, as shown in fig. 1, the data center device 110 is connected to the access level network device 103, that is, the hierarchy corresponding to the data center device 110 is the access level, and the data center device 110 has no connection relationship with other network devices (that is, the base station level network device 102, the aggregation level network device 104, and the core level network device 105, etc.).
S102, the node determination server determines that the data center equipment, of the multiple data center equipment, of which the available resource size is larger than or equal to an available resource threshold and the corresponding hierarchy is a high hierarchy in the network is the CDN mirror node.
It is understood that the size of the available resource of a data center device is greater than or equal to the threshold of the available resource, indicating that the available resource of the data center device is larger. The corresponding hierarchy of one data center device in the network is a high level, which means that the coverage area of the data center device is large, and the communication distance between the data center device and the UE is long.
In the embodiment of the present invention, the CDN mirror node is configured to cache service data in the source station device, that is, obtain the service data from the source station device, and the source station device may be understood as a service server for storing the service data.
In an implementation manner of the embodiment of the present invention, the high level includes a cluster level, a large district level, and a province level. That is, the node determination server may determine that the available resource size is greater than or equal to the available resource threshold, and the data center device at the corresponding level in the network is at the cluster level, the large district level, or the provincial level as the CDN mirror node. Optionally, in the embodiment of the present invention, data center devices whose corresponding hierarchies in the network are cluster level, large district level, or provincial level are collectively referred to as a cluster level data center device, a large district level data center device, or a provincial level data center device, respectively.
Exemplarily, in connection with the communication system shown in fig. 1, since the hierarchy of the provincial network device 106, the hierarchy of the large district level network device 107 and the hierarchy of the group level network device 108 are provincial level, large district level and collective group level, respectively; the node determination server may determine that the hierarchy corresponding to the data center device 113 in the network, the hierarchy corresponding to the data center device 114 in the network, and the hierarchy corresponding to the data center device 115 in the network are respectively a province level, a large district level, and a cluster level (that is, the hierarchies corresponding to the 3 data center devices in the network are all Gao Cengji), that is, the node determination server determines that the 3 data center devices are respectively a province level data center device, a large district level data center device, and a cluster level data center device. Further, the node determination service may determine at least one data center device from the 3 data center devices, and determine the at least one data center device as a CDN mirror node, where the at least one data center device is a data center device of the 3 data center devices whose available resource size is greater than or equal to an available resource threshold.
And S103, the node determination server determines the data center equipment with the corresponding low hierarchy in the network as a CDN cache node.
It should be understood that, a hierarchy of a data center device in a network is a low hierarchy level, which indicates that a coverage area of the data center device is small, and a communication distance between the data center device and a UE is short, and further indicates that a time delay for the UE to obtain service data from the data center device is small, and the data center device may be determined as a CDN cache node. It can be understood that the CDN cache node is configured to provide service data for the UE, and specifically, the CDN cache node may obtain the service data from the CDN mirror node and store the service data.
In one implementation of the embodiment of the present invention, the low-level layer includes a core level, a convergence level, an access level, and a base station level. That is, the node determination server may determine, as the CDN cache node, a data center device whose corresponding hierarchy in the network is a core level, a convergence level, an access level, or a base station level. Optionally, in the embodiment of the present invention, data center devices whose corresponding hierarchies in the network are a core level, a convergence level, an access level, and a base station level are collectively referred to as a core level data center device, a convergence level data center device, an access level data center device, and a base station level data center device, respectively.
Exemplarily, in connection with the communication system shown in fig. 1, the hierarchy of the base station level network device 102, the hierarchy of the access level network device 103, the hierarchy of the aggregation level network device 104 and the hierarchy of the core level network device 105 are core level, aggregation level, access level and base station level, respectively; the node determination server may determine that a hierarchy corresponding to the data center device 109 in the network, a hierarchy corresponding to the data center device 110 in the network, a hierarchy corresponding to the data center device 111 in the network, and a hierarchy corresponding to the data center device 112 in the network are respectively a core level, a convergence level, an access level, and a base station level (that is, the hierarchies corresponding to the 4 data center devices in the network are all low levels), that is, the node determination server determines that the 4 data center devices are respectively a base station level data center device, an access level data center device, a convergence level data center device, and a core level data center device. Further, the node determination server determines that the 4 data center devices are CDN cache nodes.
In an implementation manner of the embodiment of the present invention, the status information of the multiple data center devices further includes respective available resource types of the multiple data center devices.
After S103, the method for acquiring service data provided by the present invention further includes:
the node determination server determines the types of the service data which can be cached by the CDN cache node according to the respective available resource types of the multiple data center devices.
It should be understood that the available resources in the embodiments of the present invention include computing resources, storage resources, and the like. As for the computing resources, the computing resources include CPU resources, graphics Processing Unit (GPU) resources, artificial Intelligence (AI) resources, and the like, specifically, the CPU resources are used for processing general computing tasks, such as video playing services and the like, the GPU resources are used for processing image rendering services and the like, and the AI resources are used for processing machine learning services and the like. For storage resources, including disks and tapes, etc. The magnetic disk includes a hard disk and a floppy disk, and the hard disk includes a Hard Disk Drive (HDD) and a Solid State Drive (SSD). Specifically, the magnetic tape has a large capacity but a slow storage speed, and is generally used for data backup in a specific industry; the SDD has higher storage speed, smaller capacity and higher storage cost; while the storage speed and capacity of HDDs is intermediate between that of tapes and SSDs.
For example, assuming that the node determination server determines a certain data center device as a CDN cache node, and a computing resource of the data center device includes a GPU resource, and a storage resource of the data center device includes an HDD, the node determination server determines that the CDN cache node can store service data corresponding to an image promotion service in a storage manner of the HDD.
In the method for acquiring service data provided by the embodiment of the present invention, a node determination server first acquires state information of a plurality of data center devices, where the state information of one data center device includes the size of available resources of the data center device and a corresponding hierarchy of the data center device in a network; then, the node determination server determines data center equipment, of the multiple data center equipment, of which the available resource size is larger than or equal to the available resource threshold and which is at a high level in a corresponding level in the network, as a CDN mirror node; and then, the node determination server determines the data center equipment with a corresponding low hierarchy in the network as a CDN cache node. In the embodiment of the invention, because the CDN mirror image node can acquire the service data from the source station equipment and the CDN cache node can acquire the service data from the CDN mirror image node, the UE can acquire the service data from the CDN cache node (namely, the low-level data center equipment) with a short communication distance, and the efficiency of the UE for acquiring the service data can be improved.
As for the process of obtaining, by the UE, the service data corresponding to the service to be accelerated from the multiple target CDN cache nodes, as shown in fig. 5, the method for obtaining the service data provided in the embodiment of the present invention may include S201 to S212.
S201, the CDN management server receives a service acceleration request message.
The service acceleration request message includes a service type of a service to be accelerated, the service acceleration request message is used for requesting the CDN management server to determine at least one target CDN mirror node and a plurality of target CDN cache nodes, the at least one target CDN mirror node is used for caching service data corresponding to the service to be accelerated, and the plurality of target CDN cache nodes are used for providing service data corresponding to the service to be accelerated for the UE.
It should be understood that the service acceleration request message received by the CDN management server is sent by a provider (or owner) device of data to be accelerated (i.e., service data corresponding to a service to be accelerated). When provider equipment of data to be accelerated needs to accelerate the data to be accelerated (which may be understood as reducing the time delay for UE to acquire the data to be accelerated), a service acceleration request message may be sent to the CDN management server. The service to be accelerated may be one service or a plurality of services, and the number of the services to be accelerated is not specifically limited in the embodiment of the present invention.
S202, the CDN management server determines at least one target CDN mirror node and a plurality of target CDN cache nodes.
In an implementation manner of the embodiment of the present invention, the service acceleration request message further includes a user range corresponding to the service to be accelerated, a time delay corresponding to the service to be accelerated, a resource type corresponding to the service to be accelerated, and the like.
Optionally, the CDN management server may determine at least one target CDN mirror node from the plurality of CDN mirror nodes according to a user range corresponding to the service to be accelerated.
It should be understood that the user range corresponding to the service to be accelerated indicates the size of the area to which the service to be accelerated faces, for example, if the user range corresponding to the service to be accelerated is a province, a CDN mirror node whose corresponding hierarchy is a province level (that is, a data center device corresponding to the CDN mirror node is a province level data center device) may be selected from a plurality of CDN mirror nodes, and the CDN mirror node is determined as the at least one target CDN mirror node. In conjunction with fig. 2, the CDN management server determines CDN mirror node 202 as the at least one target CDN mirror node.
Optionally, the CDN management server may determine a plurality of target CDN cache nodes from the plurality of CDN cache nodes according to a time delay corresponding to the service to be accelerated.
It should be understood that the time delay corresponding to the service to be accelerated is a time delay for the UE to acquire service data corresponding to the service to be accelerated. The CDN management server may determine a plurality of target CDN cache nodes from the plurality of CDN cache nodes according to a time delay corresponding to the service to be accelerated and a time delay corresponding to the plurality of CDN cache nodes. The time delay corresponding to one CDN cache node is a time delay for the UE to obtain the service data from the CDN cache node.
For example, with reference to fig. 2, assuming that a time delay corresponding to a service to be accelerated is 10ms (millisecond), a time delay corresponding to the CDN cache node 203 is 20ms, a time delay corresponding to the CDN cache node 204 is 15ms, a time delay corresponding to the CDN cache node 205 is 10ms, and a time delay corresponding to the CDN cache node 206 is 5ms, the CDN management server determines that the CDN cache node 205 and the CDN cache node 206 are target CDN cache nodes from the 4 CDN cache nodes.
Optionally, the CDN management server may further determine a plurality of target CDN cache nodes from the plurality of CDN cache nodes according to the resource type corresponding to the service to be accelerated.
Illustratively, if the computation resource is a GPU resource and the storage resource is an SSD in the resource type corresponding to the service to be accelerated, the CDN management server determines, from the plurality of CDN cache nodes, a CDN cache node whose computation resource is the GPU resource and whose storage resource is the SSD, and determines the CDN cache node as the target CDN cache node.
S203, the CDN management server sends a first acceleration indication message to at least one target CDN mirror image node.
Wherein the first acceleration indication message comprises the service type of the service to be accelerated and the IP address of the source station device, the first acceleration indication information is used for indicating the at least one target CDN mirror node to obtain service data corresponding to a service to be accelerated from the source station device.
In conjunction with the description of the above embodiments, it should be understood that the source station device is configured to store service data corresponding to a service to be accelerated.
S204, at least one target CDN mirror image node receives a first acceleration indication message sent by a CDN management server.
S205, at least one target CDN mirror image node obtains service data corresponding to the service to be accelerated from the source station equipment.
Optionally, one target CDN mirror node in the at least one target CDN mirror node may cache all service data corresponding to the service to be accelerated, that is, a plurality of target CDN cache nodes may obtain all service data corresponding to the service to be accelerated from the target CDN mirror node; the target CDN mirror node may also cache part of service data corresponding to a service to be accelerated, and when a plurality of target CDN cache nodes need to obtain all of the service data corresponding to the service to be accelerated from the at least one target CDN mirror node, other parts of the service data may be obtained from other target CDN mirror nodes (that is, target mirror nodes other than the target CDN mirror node in the at least one target CDN mirror node), that is, the at least one target CDN mirror node caches all of the service data corresponding to the service to be accelerated together.
S206, at least one target CDN mirror image node sends a first acceleration completion message to a CDN management server.
The first acceleration completion message is used for notifying the CDN management server that the at least one target CDN mirror node has completed an acceleration process of service data corresponding to a service to be accelerated.
It should be understood that at least one target CDN mirror image node has completed an acceleration process of service data corresponding to a service to be accelerated, which indicates that the at least one target CDN mirror node has completed an acquisition process of the service data, that is, the at least one target CDN mirror node has acquired service data corresponding to the service to be accelerated from the source station device.
S207, the CDN management server receives a first acceleration completion message sent by at least one target CDN mirror image node.
S208, the CDN management server sends a second acceleration indication message to the target CDN cache nodes.
The second acceleration indication message is used for indicating the target CDN cache nodes to acquire service data corresponding to the service to be accelerated from the at least one target CDN mirror image node.
It should be understood that, after receiving a first acceleration completion message sent by at least one target CDN mirror node, the CDN management server may determine that service data corresponding to a service to be accelerated is already stored in the at least one target CDN mirror node, and thus, the CDN management server may send a second acceleration indication message to a plurality of target CDN cache nodes, that is, instruct the plurality of target CDN cache nodes to obtain the service data from the at least one target CDN mirror node, and further provide the service data to the UE.
S209, the multiple target CDN cache nodes receive the second acceleration instruction message sent by the CDN management server.
S210, a plurality of target CDN cache nodes acquire service data corresponding to a service to be accelerated from at least one target CDN mirror image node.
In combination with the description in S205, similarly, one target CDN cache node in the multiple target CDN cache nodes may cache all service data corresponding to the service to be accelerated; the target CDN cache node may also cache part of the service data corresponding to the service to be accelerated, and when the UE needs to obtain all of the service data corresponding to the service to be accelerated from the multiple target CDN cache nodes, other parts of the service data may be obtained from other target CDN cache nodes, that is, all of the service data corresponding to the service to be accelerated is cached by the multiple target CDN cache nodes together.
S211, the target CDN cache nodes send a second acceleration completion message to the CDN management server.
The second acceleration completion message is used for notifying the CDN management server that the target CDN cache nodes have completed the acceleration process of the service data corresponding to the service to be accelerated.
It should be understood that the multiple target CDN cache nodes have already completed the acceleration process of the service data corresponding to the service to be accelerated, which means that the multiple target CDN cache nodes have already obtained the service data from at least one target CDN mirror node, that is, the multiple target CDN cache nodes may provide the service data for the UE.
S212, the UE sends a service data request message to a plurality of target CDN cache nodes.
The service data request message includes a service type of a service to be accelerated, and the service data request message is used for requesting to acquire service data corresponding to the service to be accelerated.
In the method for acquiring service data provided by the embodiment of the present invention, a CDN management server receives a service acceleration request message, where the service acceleration request message includes a service type of a service to be accelerated, the service acceleration request message is used to request the CDN management server to determine at least one target CDN mirror node and a plurality of target CDN cache nodes, the at least one target CDN mirror node is used to cache service data corresponding to the service to be accelerated, and the plurality of target CDN cache nodes are used to provide the service data for a UE; the method comprises the steps that a CDN management server determines at least one target CDN mirror image node and a plurality of target CDN cache nodes, and sends a first acceleration indication message to the at least one target CDN mirror image node, namely, the at least one target CDN mirror image node is indicated to acquire service data corresponding to a service to be accelerated from source station equipment, after the at least one target CDN mirror image node completes an acceleration process of the service data (namely, the service data is acquired), a first acceleration completion message is sent to the CDN management server, namely, the CDN management server is notified, and the at least one target CDN mirror image node completes the acceleration process of the service data; then, the CDN management server sends a second acceleration instruction message to the target CDN cache nodes, that is, instructs the target CDN cache nodes to obtain the service data from the at least one target CDN mirror node, and then, the target CDN cache nodes send a second acceleration completion message to the CDN management server, that is, notifies the CDN management server that the target CDN cache nodes have completed an acceleration process of the service data, the target CDN cache nodes have stored the service data, and further, the UE may obtain the service data corresponding to the service to be accelerated from the target CDN cache nodes. In the embodiment of the invention, the CDN management server can determine at least one target CDN mirror image node and a plurality of target CDN cache nodes and instruct the at least one target CDN mirror image node and the plurality of target CDN cache nodes to respectively acquire service data corresponding to a service to be accelerated from the source station equipment and the at least one target CDN mirror image node, so that the UE can acquire the service data from the plurality of target CDN cache nodes with close communication distances, and the efficiency of the UE in acquiring the service data can be improved.
In an implementation manner of the embodiment of the present invention, the method for acquiring service data provided in the embodiment of the present invention may further include steps a to D.
Step A, CDN the management server sends a first acceleration stop message to at least one target CDN mirror node.
The first acceleration stop message is used for indicating the at least one target CDN mirror image node to stop acquiring service data corresponding to the service to be accelerated from the source station device.
It should be understood that, when the provider device does not need to accelerate the service data, that is, when the target CDN cache node is not needed to provide the service data with smaller time delay for the UE, the provider device may send an indication message to the CDN management server, that is, indicate the CDN management server to instruct at least one target CDN mirror node to stop the acceleration process of the service data.
It can be understood that at least one target CDN mirror node stops the acceleration process of the service data, i.e., the at least one target CDN mirror node stops obtaining the service data from the source station device. And deleting the acquired service data corresponding to the service to be accelerated by at least one target CDN mirror image node.
Step B, CDN the management server receives a first stop completion message sent by at least one target CDN mirror node.
The first acceleration completion message is used for notifying the CDN management server that the at least one target CDN mirror node has stopped an acceleration process of service data corresponding to a service to be accelerated.
It should be understood that at least one target CDN mirror node sends a first stop completion message to the CDN management server after stopping the acceleration process of the service data and deleting the service data corresponding to the service to be accelerated (or acquired) stored in (or acquired by) the at least one target CDN mirror node; after receiving the first stop completion message, the CDN management server may instruct a plurality of target CDN cache nodes to also stop the acceleration process of the service data.
Step C, CDN the management server sends a second acceleration stop message to the plurality of target CDN cache nodes.
The second acceleration stop message is used for instructing the target CDN cache nodes to stop acquiring the service data corresponding to the service to be accelerated from the at least one target CDN mirror image node.
Similarly, the CDN management server instructs the target CDN cache nodes to stop the acceleration process of the service data, and deletes the service data corresponding to the service to be accelerated (or obtained) cached in (or obtained from) the target CDN cache nodes.
Step D, CDN the management server receives a second stop completion message sent by the target CDN cache nodes.
The second stop completion message is used to notify the CDN management server that the target CDN cache nodes have stopped the acceleration process of the service data corresponding to the service to be accelerated.
At this point, the at least one target CDN mirror node and the plurality of target CDN cache nodes have stopped the acceleration process of the service data, and the at least one target CDN mirror node and the plurality of target CDN cache nodes also have not existed (or deleted) the service data. When the UE needs to acquire the service data corresponding to the service to be accelerated, the acceleration process of the service data corresponding to the above S201-S212 needs to be executed again.
According to the method example, the functional modules of the node determination server, the CDN management server, the CDN mirror node, the CDN cache node, and the like may be divided, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, the division of the modules in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In the case of an integrated unit, fig. 6 shows a schematic diagram of a possible structure of the CDN cache node involved in the above embodiment. As shown in fig. 6, the CDN cache node 40 may include: a management unit 401, a proxy unit 402, a service unit 403 and a service unit 404. The management unit 401 is configured to manage the CDN cache node 40, and specifically, is configured to manage the number of proxy units and service units in the CDN cache node 40, for example, when no proxy unit exists in the CDN cache node 40, the management unit 401 may create a proxy unit (e.g., the proxy unit 402); when a service unit exists in the CDN cache node (or an available service unit is insufficient), the management unit 401 may create a service unit (for example, the service unit 403 and the service unit 404), or may expand the service unit. In this embodiment of the present invention, the proxy unit 402 may select at least one service unit from a plurality of service units (i.e., the service unit 403 and the service unit 403) according to load conditions of the service units, and obtain service data from the service unit. The service unit 403 and the service unit 404 are configured to store (or buffer) service data, for example, service data corresponding to the service to be accelerated.
It should be noted that, the above-mentioned 1 management unit, 1 proxy unit, and 2 service units related in fig. 6 are only an example of a structure of a CDN cache node, and in the embodiment of the present invention, the number of the management unit, the proxy unit, and the service unit included in the CDN cache node is not specifically limited.
It should be understood that the structure of the CDN mirror node involved in the embodiment of the present invention is the same as or similar to the structure of the CDN cache node shown in fig. 6, and details are not described here.
In the case of dividing each functional module by corresponding functions, fig. 7 shows a schematic diagram of a possible structure of the node management server in the foregoing embodiment, and as shown in fig. 7, the apparatus 50 for acquiring service data may include: an acquisition module 501 and a determination module 502.
The obtaining module 501 is configured to obtain status information of a plurality of data center devices, where the status information of one data center device includes an available resource size of the data center device and a corresponding hierarchy of the data center device in a network, and the corresponding hierarchy of the data center device in the network is the same as a hierarchy of a network device connected to the data center device in the network.
A determining module 502, configured to determine, as a CDN mirror node, a data center device in the multiple data center devices, where the available resource size is greater than or equal to an available resource threshold and a corresponding hierarchy in the network is a high hierarchy, and the CDN mirror node is used to cache service data in the source station device; and determining, as a CDN cache node, a data center device of the multiple data center devices, which is at a lower hierarchy level in a network and corresponds to the data center device, where the CDN cache node is configured to provide the service data for the UE.
Optionally, the high hierarchy includes a cluster level, a large district level, and a province level, and the low hierarchy includes a core level, a sink level, an access level, and a base station level.
Optionally, the determining module 502 is further configured to determine a type of service data cacheable by the CDN cache node according to the respective available resource types of the multiple data center devices.
In the case of an integrated unit, fig. 8 shows a schematic diagram of a possible structure of the node management server involved in the above embodiment. As shown in fig. 8, the service data acquiring device 60 may include: a processing module 601 and a communication module 602. The processing module 601 may be used to control and manage the action of the service data acquisition device 60. The communication module 602 may be used to support the communication between the acquiring apparatus 60 of the service data and other entities. Optionally, as shown in fig. 8, the service data acquiring apparatus 60 may further include a storage module 603 for storing the program code and data of the service data acquiring apparatus 60.
The processing module 601 may be a processor or a controller (e.g., the processor 301 shown in fig. 3). The communication module 602 may be a transceiver, a transceiver circuit, or a communication interface, etc. (e.g., may be the network interface 303 as shown in fig. 3 described above). The storage module 603 may be a memory (e.g., may be the memory 302 described above with reference to fig. 3).
When the processing module 601 is a processor, the communication module 602 is a transceiver, and the storage module 603 is a memory, the processor, the transceiver, and the memory may be connected via a bus. The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc.
In a case of dividing each functional module by corresponding functions, fig. 9 shows a schematic diagram of a possible structure of the CDN management server in the foregoing embodiment, and as shown in fig. 9, the obtaining device 70 for service data may include: a receiving module 701, a determining module 702 and a sending module 703.
A receiving module 701, configured to receive a service acceleration request message, where the service acceleration request message includes a service type of a service to be accelerated, and the service acceleration request message is used to request the obtaining device 70 of the service data to determine at least one target CDN mirror node and a plurality of target CDN cache nodes, where the at least one target CDN mirror node is used to cache service data corresponding to the service to be accelerated, and the plurality of target CDN cache nodes are used to provide the service data for the UE.
A determining module 702 is configured to determine the at least one target CDN mirror node and the plurality of target CDN cache nodes.
A sending module 703 is configured to send a first acceleration indication message to the at least one target CDN mirror image node, where the first acceleration indication message includes a service type of the service to be accelerated and an IP address of the source station device, and the first acceleration indication message is used to indicate the at least one target CDN mirror node to obtain service data corresponding to the service to be accelerated from the source station device.
The receiving module 701 is further configured to receive a first acceleration completion message sent by the at least one target CDN mirror node, where the first acceleration completion message is used to notify the obtaining apparatus 70 of the service data that the at least one target CDN mirror node has completed an acceleration process of the service data.
The sending module 703 is further configured to send a second acceleration indication message to the multiple target CDN cache nodes, where the second acceleration indication message includes a service type of the service to be accelerated and an IP address of the at least one target CDN mirror node, and the second acceleration indication message is used to indicate the multiple target CDN cache nodes to obtain service data corresponding to the service to be accelerated from the at least one target CDN mirror node.
The receiving module 701 is further configured to receive a second acceleration completion message sent by the multiple target CDN cache nodes, where the second acceleration completion message is used to notify the obtaining apparatus 70 of the service data that the multiple target CDN cache nodes have completed the acceleration process of the service data.
Optionally, the sending module 703 is further configured to send a first acceleration stop message to the at least one target CDN mirror node, where the first acceleration stop message includes a service type of the service to be accelerated, and the first acceleration stop message is used to instruct the at least one target CDN mirror node to stop obtaining service data corresponding to the service to be accelerated from the source station device.
The receiving module 701 is further configured to receive a first stop completion message sent by the at least one target CDN mirror node, where the first stop completion message is used to notify the obtaining apparatus 70 of the service data that the at least one target CDN mirror node has stopped the acceleration process of the service data.
The sending module 703 is further configured to send a second acceleration stop message to the multiple target CDN cache nodes, where the second acceleration stop message includes a service type of the service to be accelerated, and the second acceleration stop message is used to instruct the multiple target CDN cache nodes to stop obtaining service data corresponding to the service to be accelerated from the at least one target CDN mirror node.
The receiving module 701 is further configured to receive a second stop completion message sent by the target CDN cache nodes, where the second stop completion message is used to notify the obtaining apparatus 70 of the service data that the target CDN cache nodes have stopped the acceleration process of the service data.
In the case of integrated units, fig. 10 shows a schematic diagram of a possible structure of the CDN management server involved in the above-described embodiment. As shown in fig. 10, the service data acquiring device 80 may include: a processing module 801 and a communication module 802. The processing module 801 may be used to control and manage the operation of the service data acquisition device 80. The communication module 802 may be used to support the communication between the service data acquisition device 80 and other entities. Optionally, as shown in fig. 10, the service data acquiring apparatus 80 may further include a storage module 803, configured to store the program code and data of the service data acquiring apparatus 80.
The processing module 801 may be a processor or a controller (e.g., the processor 301 shown in fig. 3). The communication module 802 may be a transceiver, a transceiver circuit, or a communication interface, etc. (e.g., may be the network interface 303 as shown in fig. 3 described above). The storage module 803 may be a memory (e.g., may be the memory 302 described above with reference to fig. 3).
When the processing module 801 is a processor, the communication module 802 is a transceiver, and the storage module 803 is a memory, the processor, the transceiver, and the memory may be connected via a bus. The bus may be a PCI bus or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented using a software program, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions described in accordance with the embodiments of the invention are all or partially effected when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optics, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or can comprise one or more data storage devices, such as a server, a data center, etc., that can be integrated with the medium. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., SSD), among others.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A method for acquiring service data is characterized by comprising the following steps:
acquiring state information of a plurality of data center devices, wherein the state information of one data center device comprises the size of available resources of the data center device and the corresponding hierarchy of the data center device in a network, and the hierarchy of the data center device in the network is the same as the hierarchy of network devices connected with the data center device in the network;
determining, as a Content Delivery Network (CDN) mirror image node, a data center device of which the available resource size is greater than or equal to an available resource threshold and a corresponding level in a network is a high level, among the plurality of data center devices, wherein the CDN mirror image node is used for caching service data in a source station device, and the high level includes a cluster level, a large district level and a provincial level;
and determining data center equipment of which the corresponding hierarchy in the network is a low hierarchy among the plurality of data center equipment as a CDN cache node, wherein the CDN cache node is used for acquiring service data from a CDN mirror image node and providing the service data for User Equipment (UE), and the low hierarchy comprises a core level, a convergence level, an access level and a base station level.
2. The method according to claim 1, wherein the status information of the plurality of data center devices further includes available resource types of the plurality of data center devices;
after determining, as a CDN cache node, a data center device of the multiple data center devices whose corresponding hierarchy is a low hierarchy in a network, the method further includes:
and determining the types of the service data which can be cached by the CDN cache node according to the respective available resource types of the plurality of data center devices.
3. A method for acquiring service data is characterized by comprising the following steps:
a Content Delivery Network (CDN) management server receives a service acceleration request message, wherein the service acceleration request message comprises a service type of a service to be accelerated, the service acceleration request message is used for requesting the CDN management server to determine at least one target CDN mirror image node and a plurality of target CDN cache nodes, the at least one target CDN mirror image node is used for caching service data corresponding to the service to be accelerated, the target CDN cache nodes are used for acquiring service data from the target CDN mirror image nodes and providing the service data for User Equipment (UE), the at least one target CDN mirror image node is data center equipment with a high hierarchy corresponding to the network, the high hierarchy comprises a cluster level, a large area level and a provincial level, the target CDN cache nodes are data center equipment with a low hierarchy corresponding to the network, the low hierarchy comprises a core level, a cluster level, an access level and a base station level, and the hierarchy corresponding to the data center equipment in the network is the same as the hierarchy of the network equipment connected with the data center equipment in the network;
the CDN management server determines the at least one target CDN mirror node and the plurality of target CDN cache nodes;
the CDN management server sends a first acceleration indication message to the at least one target CDN mirror image node, wherein the first acceleration indication message comprises the service type of the service to be accelerated and the IP address of source station equipment, and the first acceleration indication message is used for indicating the at least one target CDN mirror image node to acquire service data corresponding to the service to be accelerated from the source station equipment;
the CDN management server receives a first acceleration completion message sent by the at least one target CDN mirror image node, wherein the first acceleration completion message is used for informing the CDN management server that the at least one target CDN mirror image node has completed the acceleration process of the service data;
the CDN management server sends a second acceleration indication message to the target CDN cache nodes, wherein the second acceleration indication message comprises the service type of the service to be accelerated and the IP address of the at least one target CDN mirror image node, and the second acceleration indication message is used for indicating the target CDN cache nodes to obtain service data corresponding to the service to be accelerated from the at least one target CDN mirror image node;
the CDN management server receives second acceleration completion messages sent by the target CDN cache nodes, the second acceleration completion messages are used for informing the CDN management server that the target CDN cache nodes complete the acceleration process of the service data.
4. The method of claim 3, further comprising:
the CDN management server sends a first acceleration stop message to the at least one target CDN mirror image node, wherein the first acceleration stop message comprises a service type of the service to be accelerated, and the first acceleration stop message is used for indicating the at least one target CDN mirror image node to stop acquiring service data corresponding to the service to be accelerated from the source station equipment;
the CDN management server receives a first stop completion message sent by the at least one target CDN mirror image node, wherein the first stop completion message is used for notifying the CDN management server that the at least one target CDN mirror image node stops the acceleration process of the service data;
the CDN management server sends a second acceleration stop message to the target CDN cache nodes, wherein the second acceleration stop message comprises the service type of the service to be accelerated, and the second acceleration stop message is used for indicating the target CDN cache nodes to stop acquiring service data corresponding to the service to be accelerated from the at least one target CDN mirror image node;
the CDN management server receives second stop completion messages sent by the target CDN cache nodes, the second acceleration completion messages are used for informing the CDN management server that the target CDN cache nodes stop the acceleration process of the service data.
5. An apparatus for acquiring service data, comprising: the device comprises an acquisition module and a determination module;
the acquiring module is configured to acquire state information of a plurality of data center devices, where the state information of one data center device includes an available resource size of the data center device and a corresponding hierarchy of the data center device in a network, and the corresponding hierarchy of the data center device in the network is the same as a hierarchy of a network device connected to the data center device in the network;
the determining module is configured to determine, as a CDN mirror node of a content delivery network, a data center device of the multiple data center devices, where an available resource size is greater than or equal to an available resource threshold and a corresponding level in a network is a high level, where the CDN mirror node is used to cache service data in a source station device, and the high level includes a clique level, a large district level, and a provincial level; and determining, as a CDN cache node, a data center device of the multiple data center devices, which is at a low level in a network and corresponds to the hierarchy, where the CDN cache node is configured to obtain service data from a CDN mirror node and provide the service data for a user equipment UE, and the low level includes a core level, a convergence level, an access level, and a base station level.
6. The apparatus for acquiring service data according to claim 5,
the determining module is further configured to determine, according to the respective available resource types of the multiple data center devices, a type of service data cacheable by the CDN cache node.
7. An apparatus for acquiring service data, comprising: the device comprises a receiving module, a determining module and a sending module;
the receiving module is configured to receive a service acceleration request message, where the service acceleration request message includes a service type of a service to be accelerated, the service acceleration request message is used to request an obtaining device of the service data to determine at least one target content delivery network CDN mirror node and multiple target CDN cache nodes, the at least one target CDN mirror node is used to cache service data corresponding to the service to be accelerated, the multiple target CDN cache nodes are used to obtain the service data from the target CDN mirror nodes and provide the service data for a user equipment UE, the at least one target CDN mirror node is a data center device whose corresponding level in a network is a high level, the high level includes a cluster level, a large area level and a province level, the multiple target CDN cache nodes are data center devices whose corresponding level in the network is a low level, the low level includes a core level, a cluster level, an access level and a base station level, and a level corresponding to a data center device in the network is the same as a network device connected to the data center device in the network;
the determining module is configured to determine the at least one target CDN mirror node and the plurality of target CDN cache nodes;
the sending module is configured to send a first acceleration indication message to the at least one target CDN mirror image node, where the first acceleration indication message includes a service type of the service to be accelerated and an internet protocol IP address of a source station device, and the first acceleration indication message is used to indicate the at least one target CDN mirror node to obtain service data corresponding to the service to be accelerated from the source station device;
the receiving module is further configured to receive a first acceleration completion message sent by the at least one target CDN mirror node, where the first acceleration completion message is used to notify an obtaining device of the service data that the at least one target CDN mirror node has completed an acceleration process of the service data;
the sending module is further configured to send a second acceleration indication message to the target CDN cache nodes, where the second acceleration indication message includes a service type of the service to be accelerated and an IP address of the at least one target CDN mirror node, and the second acceleration indication message is used to instruct the target CDN cache nodes to obtain service data corresponding to the service to be accelerated from the at least one target CDN mirror node;
the receiving module is further configured to receive a second acceleration completion message sent by the multiple target CDN cache nodes, where the second acceleration completion message is used to notify the obtaining device of the service data, and the multiple target CDN cache nodes have completed an acceleration process of the service data.
8. The apparatus for acquiring service data according to claim 7,
the sending module is further configured to send a first acceleration stop message to the at least one target CDN mirror image node, where the first acceleration stop message includes a service type of the service to be accelerated, and the first acceleration stop message is used to instruct the at least one target CDN mirror node to stop obtaining service data corresponding to the service to be accelerated from the source station device;
the receiving module is further configured to receive a first stop completion message sent by the at least one target CDN mirror node, where the first stop completion message is used to notify the obtaining apparatus of the service data that the at least one target CDN mirror node has stopped the acceleration process of the service data;
the sending module is further configured to send a second acceleration stop message to the target CDN cache nodes, where the second acceleration stop message includes a service type of the service to be accelerated, and the second acceleration stop message is used to instruct the target CDN cache nodes to stop obtaining service data corresponding to the service to be accelerated from the at least one target CDN mirror node;
the receiving module is further configured to receive a second stop completion message sent by the target CDN cache nodes, where the second acceleration completion message is used to notify the obtaining device of the service data, and the target CDN cache nodes have stopped the acceleration process of the service data.
CN202011294848.1A 2020-11-18 2020-11-18 Method and device for acquiring service data Active CN112422342B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011294848.1A CN112422342B (en) 2020-11-18 2020-11-18 Method and device for acquiring service data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011294848.1A CN112422342B (en) 2020-11-18 2020-11-18 Method and device for acquiring service data

Publications (2)

Publication Number Publication Date
CN112422342A CN112422342A (en) 2021-02-26
CN112422342B true CN112422342B (en) 2023-04-07

Family

ID=74773359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011294848.1A Active CN112422342B (en) 2020-11-18 2020-11-18 Method and device for acquiring service data

Country Status (1)

Country Link
CN (1) CN112422342B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917042A (en) * 2012-10-12 2013-02-06 中兴通讯股份有限公司 Method and device for realizing internet services based on convergence of CDN (content distribution network) and network
CN103841150A (en) * 2012-11-26 2014-06-04 华为技术有限公司 Data delivery method and device based on content delivery network CDN
CN104320410A (en) * 2014-11-11 2015-01-28 南京优速网络科技有限公司 All-service CDN system based on HTTP and working method thereof
CN108306971A (en) * 2018-02-02 2018-07-20 网宿科技股份有限公司 A kind of method and system of the acquisition request of transmission data resource
CN108737500A (en) * 2018-04-20 2018-11-02 青岛海尔科技有限公司 Target resource acquisition, providing method, device, storage medium and computer equipment
CN109802997A (en) * 2018-12-20 2019-05-24 华为技术服务有限公司 A kind of selection method and its relevant device of node device
CN109962961A (en) * 2017-12-26 2019-07-02 中国移动通信集团广西有限公司 A kind of reorientation method and system of content distribution network CDN service node
CN111181849A (en) * 2018-11-09 2020-05-19 北京嘀嘀无限科技发展有限公司 Return source path determining method, determining device, computer equipment and storage medium
CN111327461A (en) * 2020-01-23 2020-06-23 华为技术有限公司 Domain name management method, device, equipment and medium based on CDN system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2912830B1 (en) * 2014-01-08 2016-01-06 Telefonaktiebolaget L M Ericsson (publ) Method, node and distributed system for configuring a network of cdn caching nodes

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917042A (en) * 2012-10-12 2013-02-06 中兴通讯股份有限公司 Method and device for realizing internet services based on convergence of CDN (content distribution network) and network
CN103841150A (en) * 2012-11-26 2014-06-04 华为技术有限公司 Data delivery method and device based on content delivery network CDN
CN104320410A (en) * 2014-11-11 2015-01-28 南京优速网络科技有限公司 All-service CDN system based on HTTP and working method thereof
CN109962961A (en) * 2017-12-26 2019-07-02 中国移动通信集团广西有限公司 A kind of reorientation method and system of content distribution network CDN service node
CN108306971A (en) * 2018-02-02 2018-07-20 网宿科技股份有限公司 A kind of method and system of the acquisition request of transmission data resource
CN108737500A (en) * 2018-04-20 2018-11-02 青岛海尔科技有限公司 Target resource acquisition, providing method, device, storage medium and computer equipment
CN111181849A (en) * 2018-11-09 2020-05-19 北京嘀嘀无限科技发展有限公司 Return source path determining method, determining device, computer equipment and storage medium
CN109802997A (en) * 2018-12-20 2019-05-24 华为技术服务有限公司 A kind of selection method and its relevant device of node device
CN111327461A (en) * 2020-01-23 2020-06-23 华为技术有限公司 Domain name management method, device, equipment and medium based on CDN system

Also Published As

Publication number Publication date
CN112422342A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
US10235047B2 (en) Memory management method, apparatus, and system
CN108780404A (en) Effective real-time migration of remote access data
CN114153754B (en) Data transmission method and device for computing cluster and storage medium
CN113765980A (en) Current limiting method, device, system, server and storage medium
US9560127B2 (en) Systems, methods and algorithms for logical movement of data objects
CN110933140B (en) CDN storage allocation method, system and electronic equipment
CN112600761B (en) Resource allocation method, device and storage medium
CN105791381A (en) Access control method and apparatus
CN111124299A (en) Data storage management method, device, equipment, system and storage medium
CN111385255B (en) Asynchronous call implementation method and device, server and server cluster
CN110222034A (en) A kind of database maintenance method and device
CN112068765A (en) Method, apparatus and computer program product for managing a storage system
CN112422342B (en) Method and device for acquiring service data
CN110557341A (en) Method and device for limiting data current
US10616317B2 (en) Method and system for affinity load balancing
US20170046269A1 (en) Cost sensitive browser cache cleanup based on weighted probabilistic cached item usage
US11941445B2 (en) RLC channel management for low memory 5G devices
CN112714420B (en) Network access method and device of wifi hotspot providing equipment and electronic equipment
CN115190180A (en) Method and device for scheduling network resource request during sudden increase of network resource request
CN111859225B (en) Program file access method, apparatus, computing device and medium
CN107707620B (en) Method and device for processing IO (input/output) request
CN114095907A (en) Bluetooth connection control method, device and equipment
CN115220640A (en) Method, electronic device and computer program product for processing data
CN112163176A (en) Data storage method and device, electronic equipment and computer readable medium
CN110933122A (en) Method, apparatus, and computer storage medium for managing server

Legal Events

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