CN113709761A - Content distribution method, system, device and storage medium based on dynamic position - Google Patents

Content distribution method, system, device and storage medium based on dynamic position Download PDF

Info

Publication number
CN113709761A
CN113709761A CN202010431154.1A CN202010431154A CN113709761A CN 113709761 A CN113709761 A CN 113709761A CN 202010431154 A CN202010431154 A CN 202010431154A CN 113709761 A CN113709761 A CN 113709761A
Authority
CN
China
Prior art keywords
satellite
node
dynamic
content distribution
cache node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010431154.1A
Other languages
Chinese (zh)
Other versions
CN113709761B (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.)
Tsinghua University
Original Assignee
Tsinghua University
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 Tsinghua University filed Critical Tsinghua University
Priority to CN202010431154.1A priority Critical patent/CN113709761B/en
Publication of CN113709761A publication Critical patent/CN113709761A/en
Application granted granted Critical
Publication of CN113709761B publication Critical patent/CN113709761B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0226Traffic management, e.g. flow control or congestion control based on location or mobility
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/04Large scale networks; Deep hierarchical networks
    • H04W84/06Airborne or Satellite Networks

Abstract

The embodiment of the invention relates to the technical field of content distribution networks, and discloses a content distribution method, a system, equipment and a storage medium based on dynamic positions. The embodiment of the invention firstly receives a content request sent by a user terminal; and determining a target cache node from the on-satellite cache nodes in the current area at the current moment so that the user terminal can access the target cache node to perform content access behavior. Obviously, the CDN node management method disclosed in the embodiments of the present invention fixes a sky area, can schedule on-satellite cache nodes in the sky area, and in view of the satellite motion characteristics of the on-satellite cache nodes themselves, makes the on-satellite cache nodes existing in the sky area not to be fixed any more, solves the technical problem caused by the existing fixed cache node management method when a satellite is added as a cache node to the CDN and the satellite device is not properly configured, and can also cope with situations such as increased content delivery delay and overall network bandwidth waste caused by non-adaptation.

Description

Content distribution method, system, device and storage medium based on dynamic position
Technical Field
The present invention relates to the field of content distribution network technologies, and in particular, to a method, a system, a device, and a storage medium for content distribution based on dynamic location.
Background
With the continuous development of Content Delivery Networks (CDNs), there are still many adverse conditions in the current CDNs.
For example, the existing CDN facilities mainly include ground network facilities, and in a part of areas lacking the ground internet and a large number of ocean areas where the ground CDN cannot be accessed, the ground CDN still cannot meet the access gap due to the construction requirements of the ground infrastructure.
Meanwhile, with the rapid increase of global network traffic and the improvement of user network experience requirements, the bandwidth pressure of the ground CDN increases year by year.
Therefore, to cope with the above situation, the CDN may gradually expand from a terrestrial device to a satellite device.
In view of the inherent architecture mode of the terrestrial CDN, which is composed of data center nodes and cache nodes, and the cache nodes constrained by the data center nodes are fixed, this management structure can be abbreviated as a fixed management structure of the CDN, but in the case of gradual expansion of the CDN to satellite devices, such a fixed management structure is not applicable. The situation that the satellite may be in a high-speed motion state relative to the ground is considered, and the use of the fixed management structure can cause the periodic oscillation of the structures of the data center node and the satellite equipment, so that the content distribution delay is increased, the whole network bandwidth is wasted, and the like.
Therefore, the technical problem that the CDN node management mode is not adaptive to the satellite equipment exists at present.
Disclosure of Invention
In order to solve the technical problem that a CDN node management mode is not adaptive to satellite equipment, embodiments of the present invention provide a content distribution method, system, device, and storage medium based on a dynamic location.
In a first aspect, an embodiment of the present invention provides a content distribution method based on a dynamic location, including:
receiving a content request sent by a user terminal;
and determining a target cache node from the on-satellite cache nodes in the current area at the current moment so that the user terminal can access the target cache node to perform content access behavior.
Preferably, the determining a target cache node from the on-satellite cache nodes currently located in the current area of interest for the user terminal to access the target cache node for performing a content access behavior specifically includes:
and determining a target cache node from the current ground cache node and the on-satellite cache node in the current area of the field at the current moment so that the user terminal can access the target cache node to perform content access behavior.
Preferably, the determining a target cache node from the on-satellite cache nodes currently located in the current area of interest for the user terminal to access the target cache node for performing a content access behavior specifically includes:
acquiring a dynamic binding table corresponding to a current airspace area, wherein the dynamic binding table is used for binding on-satellite cache nodes which are located in the current airspace area at the current moment;
and determining a target cache node from the dynamic binding table so that the user terminal can access the target cache node to perform content access behavior.
Preferably, before receiving the content request sent by the user terminal, the dynamic location-based content distribution method further includes:
detecting the position change condition of the on-satellite cache nodes in the current area;
and changing the binding state of the on-satellite cache nodes recorded in the dynamic binding table according to the position change condition to obtain a new dynamic binding table.
Preferably, after the obtaining of the dynamic binding table corresponding to the current empty area, the dynamic location-based content distribution method further includes:
determining an expected node change situation according to a satellite running track at an expected moment;
creating a modification process table according to the expected node change condition;
judging whether the dynamic binding table is expired;
and if the dynamic binding table is expired, updating the dynamic binding table based on the modification process table.
Preferably, the determining whether the dynamic binding table is expired specifically includes:
detecting whether the current time is the target time in the target table item in the modification process table to obtain a detection result;
and judging whether the dynamic binding table is expired or not according to the detection result.
Preferably, after updating the dynamic binding table based on the modification process table if the dynamic binding table is expired, the dynamic location-based content distribution method further includes:
judging whether to update the modification process table;
and if the modification process table is updated, returning to the step of determining the expected node change situation according to the satellite running track at the expected time.
In a second aspect, an embodiment of the present invention provides a dynamic location-based content distribution system, including:
the request receiving module is used for receiving a content request sent by a user terminal;
and the node selection module is used for determining a target cache node from the on-satellite cache nodes in the current area of the field at the current moment so that the user terminal can access the target cache node to perform content access behavior.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of the dynamic location-based content distribution method provided in the first aspect of the present invention when executing the program.
In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the dynamic location-based content distribution method provided in the first aspect of the present invention.
The content distribution method, the system, the equipment and the storage medium based on the dynamic position provided by the embodiment of the invention firstly receive a content request sent by a user terminal; and determining a target cache node from the on-satellite cache nodes in the current area at the current moment so that the user terminal can access the target cache node to perform content access behavior. Obviously, the CDN node management method disclosed in the embodiments of the present invention fixes a sky area, can schedule on-satellite cache nodes in the sky area, and in view of the satellite motion characteristics of the on-satellite cache nodes themselves, makes the on-satellite cache nodes existing in the sky area not to be fixed any more, solves the technical problem caused by the existing fixed cache node management method when a satellite is added as a cache node to the CDN and the satellite device is not properly configured, and can also cope with situations such as increased content delivery delay and overall network bandwidth waste caused by non-adaptation.
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, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flowchart of a dynamic location-based content distribution method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for dynamic location-based content distribution according to another embodiment of the present invention;
FIG. 3 is a schematic diagram of a satellite position change process according to another embodiment of the present invention;
FIG. 4 is a flow chart of a method for dynamic location-based content distribution according to yet another embodiment of the present invention;
fig. 5 is a node operation diagram based on CDN architecture according to still another embodiment of the present invention;
fig. 6 is a schematic structural diagram of a dynamic location-based content distribution system according to an embodiment of the present invention;
fig. 7 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a dynamic location-based content distribution method according to an embodiment of the present invention, as shown in fig. 1, the method includes:
s1, the content request sent by the user terminal is received.
The execution main body of the embodiment of the invention is electronic equipment. In terms of the CDN architecture, the CDN architecture is composed of a data center node and cache nodes, and one data center node manages a plurality of cache nodes. The electronic device of the embodiment of the invention is specifically a data center node.
Since the cache nodes of the existing CDN are mainly based on ground devices, the fixed management structure of the CDN is only applicable to ground devices, but not to satellite devices in operation.
It can be understood that, due to the introduction of the satellite device, the embodiment of the present invention will provide a new management structure, which can be denoted as a dynamic management structure, and is different from the fixed management structure.
In particular, with respect to a dynamic management structure, a data center node no longer fixedly constrains several cache nodes, and the cache nodes that a data center node constrains may vary.
It should be understood that the data volume of the airspace position is newly introduced, that is, each data center node fixedly manages a piece of satellite equipment in the airspace range, and the satellite equipment in the airspace range can fly in or fly out.
As can be seen, the fixed management structure will fix the nodes; the dynamic management structure described in the embodiments of the present invention will fix the void area, but the nodes in the void area may change dynamically.
Just because the data center node corresponding to the embodiment of the invention only restricts the satellite equipment in the empty range of the field, the satellite motion behavior can not cause the shock of the access delay of the user, and can not cause the increase of the content distribution delay and the waste of the whole network bandwidth.
S2, determining a target cache node from the on-satellite cache nodes in the current area at the current moment, so that the user terminal can access the target cache node to perform content access behavior.
Specifically, the data center node receives a content request directly sent by the user terminal or indirectly sent by the user terminal, where the indirect sending means that an intermediate device, such as a Domain Name System (DNS) device, may exist between the user terminal and the data center node. The embodiments of the invention are not limiting.
The user terminal may be a device used by a user, such as a smart phone, a computer, and the like.
Then, a plurality of on-satellite cache nodes, namely satellite equipment, exist in the current airspace managed by the data center node, a target cache node is selected from the on-satellite cache nodes, and the user terminal is informed, so that the user terminal can directly access the target cache node to perform content access behaviors.
For example, the data center node feeds back feedback information recorded with the target cache node to the user terminal, and the user terminal determines the target cache node from the feedback information, so that the data center node can redirect the target cache node to the terminal side user.
Dynamic position refers to the variability of the position of the satellite device due to the motion behavior of the satellite.
As can be seen, in view of the high speed movement of the non-stationary orbit satellite relative to the ground, the data center node in the embodiment of the present invention may perform dynamic maintenance on the cache node.
The content distribution method based on the dynamic position provided by the embodiment of the invention firstly receives a content request sent by a user terminal; and determining a target cache node from the on-satellite cache nodes in the current area at the current moment so that the user terminal can access the target cache node to perform content access behavior. Obviously, the CDN node management method disclosed in the embodiments of the present invention fixes a sky area, can schedule on-satellite cache nodes in the sky area, and in view of the satellite motion characteristics of the on-satellite cache nodes themselves, makes the on-satellite cache nodes existing in the sky area not to be fixed any more, solves the technical problem caused by the existing fixed cache node management method when a satellite is added as a cache node to the CDN and the satellite device is not properly configured, and can also cope with situations such as increased content delivery delay and overall network bandwidth waste caused by non-adaptation.
Fig. 2 is a flowchart of a content distribution method based on dynamic location according to another embodiment of the present invention, where the another embodiment of the present invention is based on the embodiment shown in fig. 1.
In this embodiment, the determining a target cache node from the on-satellite cache nodes currently located in the current area of interest, so that the user terminal accesses the target cache node to perform a content access behavior, specifically includes:
and determining a target cache node from the current ground cache node and the on-satellite cache node in the current area of the field at the current moment so that the user terminal can access the target cache node to perform content access behavior.
In a specific implementation, the cache node may be implemented by a ground device or a satellite device. One data center node can restrict ground equipment, namely a ground cache node, can restrict an on-satellite cache node, and can restrict two types of on-satellite cache nodes simultaneously.
In addition, the request capability of the user terminals is also different, for example, some user terminals can access the ground cache node, some user terminals can access the satellite cache node, and some user terminals can access both types of the user terminals.
According to the content distribution method based on the dynamic position, provided by the embodiment of the invention, the data center node can simultaneously manage two types of cache nodes, namely the ground cache node and the satellite cache node.
Further, the satellite device may adopt a new dynamic management structure for node management, and the ground cache node may still adopt an old fixed management structure.
Therefore, as the content distribution network gradually expands from the ground to the satellite equipment and the development of the satellite technology, the satellite constellation network and the ground network can be used together to construct an integrated content distribution network.
The integrated CDN mainly comprises an on-satellite cache node, a ground cache node and a data center node; the data center node may be at the surface.
In addition, as for technical contents beyond the mechanism of integrated CDN node management already mentioned in the embodiments of the present invention, other CDN application mechanisms not mentioned may be consistent with a conventional terrestrial CDN.
Further, the on-satellite cache nodes may include both high and low orbit satellites.
As for the static fixed management structure of the existing CDN oriented to the ground device, such a fixed management structure is particularly not suitable for the low-earth satellite network, because the low-earth satellite network moves at a high speed relative to the ground, and the ground CDN system does not consider high dynamic changes of the topology between nodes, and the dynamic changes of the topology of the satellite network will cause the fixed management structure to stretch and compress along with the satellite movement, thereby causing the satellite distribution system to vibrate with the user access delay along with the satellite movement, and further causing conditions such as an increase in content distribution delay, a waste of the entire network bandwidth, and the like. Obviously, the embodiment of the present invention can cope with this drawback.
Further, regarding the new dynamic management structure, in the embodiment of the present invention, by fixing the head space region, the farthest transmission distance between the data center node and the bound cache satellite is equal to the longest distance from the data center node to the edge of the head space region, thereby constraining the performance bottom line of the integrated content distribution system.
Moreover, as the number of ground data centers increases, the distribution delay of the integrated content distribution system will be further reduced.
Meanwhile, due to the division of the airspace, the condition that a plurality of data center nodes control the same cache node can be avoided, so that the reasonable allocation of the data center nodes to the satellite cache nodes in the control area in load balance is kept, and the accuracy of cache node selection is effectively guaranteed.
On the basis of the foregoing embodiment, preferably, the S2 specifically includes:
s21, acquiring a dynamic binding table corresponding to the current airspace area, wherein the dynamic binding table is used for binding the on-satellite cache nodes in the current airspace area at the current moment.
S22, determining a target cache node from the dynamic binding table, so that the user terminal can access the target cache node for content access behavior.
It can be understood that the embodiment of the present invention may provide a class of implementation manners for performing node management based on the airspace area.
Specifically, a dynamic binding table, which can be abbreviated as table a, can be maintained at the data center node side. The table a records on-satellite cache nodes bound by the data center node, specifically, on-satellite cache nodes currently located in the current area of the field.
Therefore, each data center node correspondingly has a dynamic binding table, and each data center node manages a vacant area.
Further, as for the dynamic binding table, a time and a satellite device set bound by the data center node at the corresponding time are recorded in the dynamic binding table.
On the basis of the foregoing embodiment, preferably, before receiving the content request sent by the user terminal, the dynamic location-based content distribution method further includes:
detecting the position change condition of the on-satellite cache nodes in the current area;
and changing the binding state of the on-satellite cache nodes recorded in the dynamic binding table according to the position change condition to obtain a new dynamic binding table.
In particular, satellite devices located in area a may be monitored in real time in view of their motion characteristics, e.g., there are satellite device a1, satellite device a 2; at the next time, when the satellite apparatus a1 flies out of the area a and the satellite apparatus A3 flies into the area a, the satellite apparatus a2 and the satellite apparatus A3 actually exist in the area a.
Therefore, the old dynamic binding table can be modified again according to the position change condition of each satellite device to obtain a new dynamic binding table.
It can be seen that each data center node fixedly controls a airspace range, and dynamically binds and unbinds on-satellite cache nodes in the airspace ranges of the flying-in and flying-off positions, specifically, the data center node can dynamically bind on-satellite cache nodes in the airspace range of the position territory and can dynamically unbind on-satellite cache nodes out of the airspace range of the position territory.
Further, the embodiment of the present invention may provide a specific satellite position change process for understanding, which can be seen in the schematic diagram shown in fig. 3.
Specifically, the satellite number of the satellite device can be represented in the form of sa.b, the satellite device is S1.1, S1.2, S1.3, S1.4, S2.1, S2.2, S2.3, S2.4 and S3.2; fig. 3 also includes 2 dynamic binding tables representing different times, i.e., t and t ', where the dynamic binding table t corresponds to the Time t, and the dynamic binding table t ' corresponds to the Time t '.
The dynamic binding table can be used for inquiring the current schedulable cache node in the integrated load balancing process of the data center node, and the modification process table is used for updating the dynamic binding table.
The method comprises the steps that the data center node at the Time t is bound to the satellite cache node, wherein the data center node at the Time t is bound to the satellite cache node, and the data center node at the Time t' is bound to the satellite cache node.
As the Time is transited from Time t to Time t ', part of the satellites fly out of the position airspace range of the data center node and part of the satellites fly in due to high-speed movement of the satellites relative to the ground, so that the nodes S1.1, S2.1 and S2.2 which leave the position airspace can be deleted from the dynamic binding table of the data center node, meanwhile, S1.3, S1.4, S2.4 and S3.2 are added, and the table entry changes as shown in the dynamic binding table t'.
Fig. 4 is a flowchart of a content distribution method based on dynamic location according to another embodiment of the present invention, which is based on the embodiment shown in fig. 2.
In this embodiment, after S21, the method for distributing content based on dynamic location further includes:
and S211, determining the expected node change situation according to the satellite running track at the expected time.
It is understood that, the embodiment of the present invention may provide another type of table, that is, a modification process table, which may be abbreviated as table B, and the update behavior of the dynamic binding table may be performed through table B.
For ease of description, the dynamic binding before updating may be represented as table a1, and the dynamic binding after updating may be represented as table a 2.
In view of the regularity of the movement behavior of the satellites, the specific positions of the satellite devices at the expected time can be determined, and therefore, whether each satellite device will be in a certain area in the future can be known.
The expected node change condition is recorded with the departure and the entry of the satellite device based on the satellite device recorded in the dynamic binding table before updating.
S212, a modified process table is created according to the expected node change situation.
Specifically, table a1 at a certain time t may be determined first, and then table B for table a1 at a certain time p in the future may be determined.
Wherein, for the purpose of Table B, modifying Table A1 using Table B, Table A1 can be changed to Table A2.
S213, judging whether the dynamic binding table is expired.
S214, if the dynamic binding table is expired, updating the dynamic binding table based on the modification process table.
Then, it can be determined whether the dynamic binding table at the current time is expired, and if so, table a1 is modified by using table B, so that table a1 can be changed into table a 2.
For example, if the current time has been changed from the previous time t to the next time p, table a1 corresponding to the previous time t may be changed to table a2 corresponding to the next time p.
Further, if the dynamic binding table is not expired, the update operation of the dynamic binding table may be skipped and the next operation may be performed.
The content distribution method based on the dynamic position provided by the embodiment of the invention can use the modification process table to update the dynamic binding table.
Further, in the case of the modification process table oriented to the dynamic binding table, the modification process table includes modification entries.
Specifically, the modification process table may be composed of a series of modification times arranged from small to large, and modification table entries corresponding to the modification times.
The modified entry includes an add command and a delete command, and of course, the command contents of the add and delete commands may be empty.
For example, see the modification procedure table shown below,
TABLE 1 modified Process Table
Figure BDA0002500571760000111
Wherein, the time t1 and t2 both represent modification time, "Add [ S1.3, S1.4] Del [ ]," Add [ S2.4, S3.2] Del [ S1.1S 2.1] "all represent modification table entry.
Wherein Add characterizes an Add command and Del characterizes a delete command.
For example, when the time reaches time t1, S1.3 and S1.4 may be added to the dynamic binding table; when the time reaches the time t2, S2.4 and S3.2 may be added to the dynamic binding table, and S1.1 and S2.1 that are originally in the dynamic binding table may be deleted.
On the basis of the foregoing embodiment, preferably, the determining whether the dynamic binding table is expired specifically includes:
detecting whether the current time is the target time in the target table item in the modification process table to obtain a detection result;
and judging whether the dynamic binding table is expired or not according to the detection result.
Specifically, as for the basis for determining whether the dynamic binding table is expired, for example, the modification process table may be composed of a change time and a change operation, and it may be detected whether the change time is a certain change time.
The target time in the target table entry in the modification process table may be the minimum table entry time, i.e., the time of the closest table entry.
If the minimum table entry time is reached, the dynamic binding table is considered to be overdue;
if the minimum entry time does not arrive at this time, that is, the current time is less than the target time, the dynamic binding table may be considered as not expired.
Further, if the dynamic binding table is expired, the dynamic binding table may be updated based on the modification procedure table.
On the basis of the foregoing embodiment, preferably, after updating the dynamic binding table based on the modification procedure table if the dynamic binding table is expired, the dynamic location-based content distribution method further includes:
judging whether to update the modification process table;
and if the modification process table is updated, returning to the step of determining the expected node change situation according to the satellite running track at the expected time.
And if the modified process table is not updated, returning to execute the step of judging whether the dynamic binding table is expired.
In a specific implementation, after the dynamic binding table is updated, it may be further determined whether the modified process table needs to be updated, and if the modified process table is to be updated, the step may return to execute S211.
Further, if the dynamic binding table is not expired, it is also determined whether to update the modification process table.
Further, with respect to the update behavior of a particular modified process table, the target modified entry in the modified process table may be removed.
Further, as for the judgment basis for judging whether to update the modified process table, it may be judged whether the remaining entries in the modified process table are less than or equal to the entry threshold, and whether to update the modified process table is judged according to the judgment result.
For example, if the number of remaining entries is less than or equal to the entry threshold and the number of entries is too few, the update operation of the modified process table may be triggered; if the remaining entries are greater than the entry threshold, the modification process table may not be updated.
Further, if the change time corresponding To the last table entry in the modification process table is To ', the modification process table in the future T period may be calculated by using To ' as the start time, which is equivalent To performing the table entry updating process again by using the time To ' as the initial time.
Further, in the case of a content request sent by a user terminal, the content request may be used to perform a content request action.
Specifically, the user terminal may send a content request to the data center node, and the data center node may make a load balancing decision according to an Internet Protocol Address (IP Address) of the user terminal.
Compared with the conventional load balancing process, the embodiment of the invention adds the query behavior of the data center node to the current schedulable heaven and earth cache nodes, and can obtain the cache node selected by the user, namely the target cache node, according to the load conditions of different nodes after query, thereby providing a proper cache node for the terminal user.
In addition, since the dynamic binding table of the cache node may change over time, query behavior may be performed when the data center node performs load balancing scheduling for users.
More specifically, for the data center node, a network port may be opened for monitoring, and when a new content request is monitored, the data center node may first determine that the source of the client IP address of the request is an IP _ client, where the IP _ client is an IP address of a user terminal that issues the content request.
Then, the heaven and earth cache nodes which are currently available for scheduling can be inquired, and the heaven and earth cache nodes comprise ground cache nodes and satellite cache nodes.
The ground cache nodes for scheduling are basically fixed, but the satellite cache nodes for scheduling need to query the dynamic binding table of the current data center node to obtain the data.
Obviously, unlike the existing CDN load balancing mechanism, the embodiment of the present invention introduces a dynamically bound schedulable node.
Then, according to the load balancing strategy and by combining factors such as distance, cache hit and the like, the IP address of the cache node recommended to the user can be selected, and redirection of the content request is completed.
Fig. 5 is a node operation diagram based on a CDN architecture according to still another embodiment of the present invention, specifically, a ground data center is the data center node.
Fig. 6 is a schematic structural diagram of a dynamic location-based content distribution system according to an embodiment of the present invention, and as shown in fig. 6, the system includes: a request receiving module 301 and a node selecting module 302;
a request receiving module 301, configured to receive a content request sent by a user terminal;
the node selection module 302 is configured to determine a target cache node from the on-satellite cache nodes currently located in the current area, so that the user terminal can access the target cache node to perform a content access behavior.
The content distribution system based on the dynamic position provided by the embodiment of the invention firstly receives a content request sent by a user terminal; and determining a target cache node from the on-satellite cache nodes in the current area at the current moment so that the user terminal can access the target cache node to perform content access behavior. Obviously, the CDN node management method disclosed in the embodiments of the present invention fixes a sky area, can schedule on-satellite cache nodes in the sky area, and in view of the satellite motion characteristics of the on-satellite cache nodes themselves, makes the on-satellite cache nodes existing in the sky area not to be fixed any more, solves the technical problem caused by the existing fixed cache node management method when a satellite is added as a cache node to the CDN and the satellite device is not properly configured, and can also cope with situations such as increased content delivery delay and overall network bandwidth waste caused by non-adaptation.
The system embodiment provided in the embodiments of the present invention is for implementing the above method embodiments, and for details of the process and the details, reference is made to the above method embodiments, which are not described herein again.
Fig. 7 is a schematic entity structure diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 7, the electronic device may include: a processor (processor)401, a communication Interface (communication Interface)402, a memory (memory)403 and a bus 404, wherein the processor 401, the communication Interface 402 and the memory 403 complete communication with each other through the bus 404. The communication interface 402 may be used for information transfer of an electronic device. Processor 401 may call logic instructions in memory 403 to perform a method comprising:
receiving a content request sent by a user terminal;
and determining a target cache node from the on-satellite cache nodes in the current area at the current moment so that the user terminal can access the target cache node to perform content access behavior.
In addition, the logic instructions in the memory 403 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-described method embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented by a processor to perform the method provided by the foregoing embodiments, for example, including:
receiving a content request sent by a user terminal;
and determining a target cache node from the on-satellite cache nodes in the current area at the current moment so that the user terminal can access the target cache node to perform content access behavior.
The above-described embodiments of the apparatus are merely illustrative, and 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 modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for dynamic location-based content distribution, comprising:
receiving a content request sent by a user terminal;
and determining a target cache node from the on-satellite cache nodes in the current area at the current moment so that the user terminal can access the target cache node to perform content access behavior.
2. The dynamic location-based content distribution method according to claim 1, wherein the determining a target cache node from the on-board cache nodes currently located in the current area of interest for the user terminal to access the target cache node for performing a content access behavior specifically includes:
and determining a target cache node from the current ground cache node and the on-satellite cache node in the current area of the field at the current moment so that the user terminal can access the target cache node to perform content access behavior.
3. The dynamic location-based content distribution method according to claim 1, wherein the determining a target cache node from the on-board cache nodes currently located in the current area of interest for the user terminal to access the target cache node for performing a content access behavior specifically includes:
acquiring a dynamic binding table corresponding to a current airspace area, wherein the dynamic binding table is used for binding on-satellite cache nodes which are located in the current airspace area at the current moment;
and determining a target cache node from the dynamic binding table so that the user terminal can access the target cache node to perform content access behavior.
4. A dynamic location-based content distribution method according to claim 3, wherein before receiving a content request sent by a user terminal, the dynamic location-based content distribution method further comprises:
detecting the position change condition of the on-satellite cache nodes in the current area;
and changing the binding state of the on-satellite cache nodes recorded in the dynamic binding table according to the position change condition to obtain a new dynamic binding table.
5. The dynamic location-based content distribution method according to claim 3, wherein after obtaining the dynamic binding table corresponding to the current head space region, the dynamic location-based content distribution method further comprises:
determining an expected node change situation according to a satellite running track at an expected moment;
creating a modification process table according to the expected node change condition;
judging whether the dynamic binding table is expired;
and if the dynamic binding table is expired, updating the dynamic binding table based on the modification process table.
6. The dynamic location-based content distribution method according to claim 5, wherein the determining whether the dynamic binding table is expired specifically includes:
detecting whether the current time is the target time in the target table item in the modification process table to obtain a detection result;
and judging whether the dynamic binding table is expired or not according to the detection result.
7. The dynamic location-based content distribution method according to claim 5, wherein after updating the dynamic binding table based on the modification procedure table if the dynamic location-based content distribution method is expired, the dynamic location-based content distribution method further comprises:
judging whether to update the modification process table;
and if the modification process table is updated, returning to the step of determining the expected node change situation according to the satellite running track at the expected time.
8. A dynamic location based content distribution system, comprising:
the request receiving module is used for receiving a content request sent by a user terminal;
and the node selection module is used for determining a target cache node from the on-satellite cache nodes in the current area of the field at the current moment so that the user terminal can access the target cache node to perform content access behavior.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor, when executing the program, carries out the steps of the dynamic location based content distribution method according to any of claims 1 to 7.
10. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor, performs the steps of the dynamic location based content distribution method according to any one of claims 1 to 7.
CN202010431154.1A 2020-05-20 2020-05-20 Content distribution method, system, device and storage medium based on dynamic position Active CN113709761B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010431154.1A CN113709761B (en) 2020-05-20 2020-05-20 Content distribution method, system, device and storage medium based on dynamic position

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010431154.1A CN113709761B (en) 2020-05-20 2020-05-20 Content distribution method, system, device and storage medium based on dynamic position

Publications (2)

Publication Number Publication Date
CN113709761A true CN113709761A (en) 2021-11-26
CN113709761B CN113709761B (en) 2023-12-12

Family

ID=78645718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010431154.1A Active CN113709761B (en) 2020-05-20 2020-05-20 Content distribution method, system, device and storage medium based on dynamic position

Country Status (1)

Country Link
CN (1) CN113709761B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100706399B1 (en) * 2006-02-13 2007-04-10 주식회사 팬택앤큐리텔 Apparatus and method for controlling contents download in the mobile communication terminal
US20080246660A1 (en) * 2007-04-09 2008-10-09 Seiko Epson Corporation Present position locating method, positioning device, and electronic instrument
WO2011157150A2 (en) * 2011-05-31 2011-12-22 华为技术有限公司 Data processing method, cache node, cooperating controller and system
CN107231183A (en) * 2016-03-24 2017-10-03 北京信威通信技术股份有限公司 The generation method and device of routing policy information, method for routing and device
CN108737500A (en) * 2018-04-20 2018-11-02 青岛海尔科技有限公司 Target resource acquisition, providing method, device, storage medium and computer equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100706399B1 (en) * 2006-02-13 2007-04-10 주식회사 팬택앤큐리텔 Apparatus and method for controlling contents download in the mobile communication terminal
US20080246660A1 (en) * 2007-04-09 2008-10-09 Seiko Epson Corporation Present position locating method, positioning device, and electronic instrument
WO2011157150A2 (en) * 2011-05-31 2011-12-22 华为技术有限公司 Data processing method, cache node, cooperating controller and system
CN107231183A (en) * 2016-03-24 2017-10-03 北京信威通信技术股份有限公司 The generation method and device of routing policy information, method for routing and device
CN108737500A (en) * 2018-04-20 2018-11-02 青岛海尔科技有限公司 Target resource acquisition, providing method, device, storage medium and computer equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
杨林海;: "基于CDN的网站访问加速技术研究", 江西科学, no. 02 *
王卫东;王程;王慧文;徐?;: "基于流量预测的物联网卫星节点动态缓存分配路由策略", 通信学报, no. 02 *
陈天骄;刘江;丁睿;刘亮;: "基于星地解耦的低轨卫星网络编址和路由策略", 信息通信技术, no. 06 *

Also Published As

Publication number Publication date
CN113709761B (en) 2023-12-12

Similar Documents

Publication Publication Date Title
US8068512B2 (en) Efficient utilization of cache servers in mobile communication system
KR102100710B1 (en) Method for transmitting packet of node and content owner in content centric network
CN105791344B (en) Method, system, load balancer and the service bus device of gray scale issuing service processing
CN103347068B (en) A kind of based on Agent cluster network-caching accelerated method
CN102546738A (en) System and method for allocating resources based on events in a network environment
CN107231395A (en) Date storage method, device and system
CN105450780A (en) CDN system and source tracing method thereof
CN104320410A (en) All-service CDN system based on HTTP and working method thereof
JP2011525312A (en) Method and apparatus for prefetching data in a mobile network environment using edge data storage
CN102137139A (en) Method and device for selecting cache replacement strategy, proxy server and system
CN106941507A (en) The dispatching method and device of request message
CN102238137A (en) Method, system and device for downloading
KR20120066116A (en) Web service information processing method and web service compositing method and apparatus using the same
CN102638483A (en) Method, device and system for determining content distribution nodes
CN104394182A (en) Method for realizing content delivery network acceleration and source server
CN103312716A (en) Internet information accessing method and system
US20200320154A1 (en) A webpage loading method, webpage loading system and server
CN102158518B (en) Data transmission method in content distribution network (CDN), network node and system
CN103905574A (en) DNS service access method and DNS data synchronization method and device
CN114760482B (en) Live broadcast source returning method and device
Sinky et al. Adaptive edge-centric cloud content placement for responsive smart cities
CN108984433A (en) Cache data control method and equipment
CN102238202A (en) Method and device for storing and searching index information
CN109873855A (en) A kind of resource acquiring method and system based on block chain network
CN110392119A (en) A kind of data transmission method and base station

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