CN113709761B - 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 PDFInfo
- Publication number
- CN113709761B CN113709761B CN202010431154.1A CN202010431154A CN113709761B CN 113709761 B CN113709761 B CN 113709761B CN 202010431154 A CN202010431154 A CN 202010431154A CN 113709761 B CN113709761 B CN 113709761B
- Authority
- CN
- China
- Prior art keywords
- node
- dynamic
- satellite
- cache node
- user terminal
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 92
- 230000004048 modification Effects 0.000 claims description 49
- 238000012986 modification Methods 0.000 claims description 49
- 230000008569 process Effects 0.000 claims description 31
- 230000008859 change Effects 0.000 claims description 28
- 230000006399 behavior Effects 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 6
- 238000001514 detection method Methods 0.000 claims description 6
- 230000033001 locomotion Effects 0.000 abstract description 13
- 239000002699 waste material Substances 0.000 abstract description 7
- 238000007726 management method Methods 0.000 description 29
- 238000010586 diagram Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 5
- 230000007246 mechanism Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 230000010355 oscillation Effects 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/0226—Traffic management, e.g. flow control or congestion control based on location or mobility
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/08—Load balancing or load distribution
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/04—Large scale networks; Deep hierarchical networks
- H04W84/06—Airborne or Satellite Networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Astronomy & Astrophysics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
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 the content request sent by the user terminal; and determining a target cache node from the on-satellite cache nodes in the current domain at the current moment so as to enable the user terminal to access the target cache node for content access. Obviously, the CDN node management mode disclosed by the embodiment of the invention fixes the pilot space, can schedule the on-board cache nodes in the pilot space, and also enables the on-board cache nodes in the pilot space to be no longer fixed in view of the satellite motion characteristics of the on-board cache nodes, so that the technical problems caused by the existing management mode of the fixed cache nodes and the discomfort of satellite equipment when the satellite is added into the CDN as the cache nodes are solved, and meanwhile, the situations of content distribution delay increase, overall network bandwidth waste and the like caused by the discomfort can be also dealt with.
Description
Technical Field
The present invention relates to the field of content distribution networks, and in particular, to a method, a system, an apparatus, and a storage medium for distributing content based on dynamic location.
Background
With the continuous development of content delivery networks (CDNs, content Delivery Network), there are still a number of disadvantages with current CDNs.
For example, the present CDN facilities mainly use ground network facilities, and in the case of a large number of ocean areas that lack a ground internet and cannot access to the ground CDN, the ground CDN is still difficult to 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 is increased year by year.
Therefore, in order to cope with the above situation, CDNs may be gradually extended from terrestrial devices to satellite devices.
Whereas the architecture mode of the inherent ground CDN is composed of a data center node and a cache node, and the cache node constrained by the data center node is fixed, this management structure may be simply referred to as a fixed management structure of the CDN, but in the face of the current situation that the CDN gradually expands to satellite devices, such a fixed management structure is not applicable. The method considers that the satellite can be in a high-speed motion state relative to the ground, and the fixed management structure can cause periodic oscillation of the data center node and the satellite equipment, so that the conditions of content distribution delay increase, waste of the whole network bandwidth and the like are caused.
Therefore, the technical problem that the CDN node management mode is not adapted 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, the embodiment of the invention provides a content distribution method, a system, equipment and a storage medium based on dynamic positions.
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 domain at the current moment so as to enable the user terminal to access the target cache node for content access.
Preferably, the determining a target cache node from the on-board cache nodes in the current domain at the current moment to enable the user terminal to access the target cache node for content access, specifically includes:
and determining a target cache node from the current ground cache node and the on-satellite cache node in the current domain space at the current moment so as to enable the user terminal to access the target cache node for content access.
Preferably, the determining a target cache node from the on-board cache nodes in the current domain at the current moment to enable the user terminal to access the target cache node for content access, specifically includes:
acquiring a dynamic binding table corresponding to a current empty area, wherein the dynamic binding table is used for binding on-board cache nodes in the current empty area at the current moment;
and determining a target cache node from the dynamic binding table so that the user terminal accesses 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 a space cache node in the current domain;
and changing the binding state of the on-board caching node recorded in the dynamic binding table according to the position change condition so as to obtain a new dynamic binding table.
Preferably, after the obtaining of the dynamic binding table corresponding to the current empty area, the content distribution method based on the dynamic position further includes:
determining the change condition of an expected node according to the satellite running track at the expected time;
creating a modification process table according to the expected node change condition;
judging whether the dynamic binding table is out of date;
and if the dynamic binding table is out of date, 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 out of date according to the detection result.
Preferably, after updating the dynamic binding table based on the modification procedure table if the dynamic binding table expires, 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 condition 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 the user terminal;
and the node selection module is used for determining a target cache node from the on-satellite cache nodes in the current domain space at the current moment so as to enable the user terminal to access the target cache node for content access.
In a third aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the steps of a dynamic location-based content distribution method provided in the first aspect of the present invention are implemented when the processor executes the program.
In a fourth aspect, embodiments of the present invention provide a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of a 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 the content request sent by the user terminal; and determining a target cache node from the on-satellite cache nodes in the current domain at the current moment so as to enable the user terminal to access the target cache node for content access. Obviously, the CDN node management mode disclosed by the embodiment of the invention fixes the pilot space, can schedule the on-board cache nodes in the pilot space, and also enables the on-board cache nodes in the pilot space to be no longer fixed in view of the satellite motion characteristics of the on-board cache nodes, so that the technical problems caused by the existing management mode of the fixed cache nodes and the discomfort of satellite equipment when the satellite is added into the CDN as the cache nodes are solved, and meanwhile, the situations of content distribution delay increase, overall network bandwidth waste and the like caused by the discomfort can be also dealt with.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a content distribution method based on dynamic location according to an embodiment of the present invention;
FIG. 2 is a flowchart of a content distribution method based on dynamic location according to still another embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a satellite position change process according to another embodiment of the present invention;
FIG. 4 is a flowchart of a content distribution method based on dynamic location according to still 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 diagram of a dynamic location-based content distribution system according to an embodiment of the present invention;
fig. 7 is a schematic entity structure diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a flowchart of a content distribution method based on dynamic location according to an embodiment of the present invention, as shown in fig. 1, where the method includes:
s1, receiving a content request sent by a user terminal.
The execution main body of the embodiment of the invention is electronic equipment. In the case of a CDN architecture, the CDN architecture is composed of data center nodes and cache nodes, and one data center node manages a plurality of cache nodes. The electronic equipment of the embodiment of the invention is specifically a data center node.
Since the cache node of the CDN is mainly ground equipment, the fixed management structure of the CDN is only applicable to the ground equipment and is not applicable to the satellite equipment in operation.
It can be appreciated that the embodiment of the present invention, due to the introduction of the satellite device, will provide a new management structure, which can be referred to as a dynamic management structure, different from the above-mentioned fixed management structure.
In particular, with respect to dynamic management structures, one data center node no longer fixedly constrains several cache nodes, and one data center node constrained cache node is variable.
It should be understood that the embodiment of the present invention newly introduces the data amount of the pilot space, that is, each data center node fixedly controls a satellite device in a pilot space, and the satellite device in the pilot space can fly in or fly out.
It can be seen that the fixed management structure will fix the nodes; the dynamic management structure described in the embodiment of the invention fixes the empty area, but the nodes in the empty area can be dynamically changed.
Just because the data center node corresponding to the embodiment of the invention only constrains satellite equipment in the empty scope of the field, the satellite motion behavior can not cause oscillation of user access time delay, and the increase of content distribution time delay and the waste of the whole network bandwidth can not be caused.
S2, determining a target cache node from the on-board cache nodes in the current domain at the current moment, so that the user terminal accesses the target cache node to perform content access behavior.
Specifically, the data center node first receives a content request directly transmitted by the user terminal or indirectly transmitted, where the indirectly transmitted refers to that there may be an intermediate device, such as a domain name system (DNS, domain Name System) device, between the user terminal and the data center node. The embodiments of the present invention are not limited.
The user terminal may be a device used by a user, such as a smart phone, a computer, or the like.
Then, a plurality of on-board cache nodes, namely satellite equipment, exist in the current pilot space managed by the data center node, one target cache node is selected from the on-board cache nodes, and the user terminal is informed of the target cache node, 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 the 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 user at the terminal side.
Where dynamic position refers to the variability of the device position of the satellite device due to satellite motion behavior.
It can be seen that, in view of the high-speed motion of the non-stationary orbiting satellites relative to the ground, the data center node in the embodiments of the present invention can dynamically maintain 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 domain at the current moment so as to enable the user terminal to access the target cache node for content access. Obviously, the CDN node management mode disclosed by the embodiment of the invention fixes the pilot space, can schedule the on-board cache nodes in the pilot space, and also enables the on-board cache nodes in the pilot space to be no longer fixed in view of the satellite motion characteristics of the on-board cache nodes, so that the technical problems caused by the existing management mode of the fixed cache nodes and the discomfort of satellite equipment when the satellite is added into the CDN as the cache nodes are solved, and meanwhile, the situations of content distribution delay increase, overall network bandwidth waste and the like caused by the discomfort can be also dealt with.
Fig. 2 is a flowchart of a content distribution method based on a dynamic location according to another embodiment of the present invention, which is based on the embodiment shown in fig. 1.
In this embodiment, the determining, from the on-board cache nodes in the current domain at the current moment, a target cache node for the user terminal to access the target cache node to perform 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 domain space at the current moment so as to enable the user terminal to access the target cache node for content access.
In a specific implementation, the cache node may be implemented by a ground device or a satellite device. A data center node can restrict ground equipment, namely ground cache nodes, can restrict on-board cache nodes, and can restrict both types of the on-board cache nodes.
In addition, there is a difference in the request capability of the ue, for example, some ues may access the ground cache node, some ues may access the on-board cache node, and some ues may access both types.
According to the content distribution method based on the dynamic position, which is 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 on-board cache node.
Further, the satellite device may employ a new dynamic management structure for node management, and the ground cache node may still employ an old fixed management structure.
It can be seen that as the content distribution network gradually expands from the ground to satellite devices and the satellite technology itself evolves, a satellite constellation networking may be used to build an integrated content distribution network with the ground network.
Wherein, the integrated CDN mainly comprises an on-board cache node, a ground cache node and a data center node; the data center node may be at the surface.
In addition, regarding technical content beyond the mentioned mechanism of integrated CDN node management in the embodiment of the present invention, other CDN application mechanisms that are not mentioned may be consistent with a conventional terrestrial CDN.
Further, the on-board caching node may include both high-orbit satellites and low-orbit satellites.
For the static fixed management structure of the traditional CDN facing the ground equipment, the fixed management structure is particularly not suitable for a low-orbit satellite network, because the low-orbit satellite network moves at a high speed relative to the ground, but the ground CDN system does not consider the high dynamic change of the topology between nodes, the dynamic change of the topology of the satellite network can lead the fixed management structure to stretch and compress along with the movement of the satellite, thereby leading the satellite distribution system to shake of user access delay along with the movement of the satellite, and further leading to the conditions of content distribution delay increase, waste of the whole network bandwidth and the like. Clearly, embodiments of the present invention address this shortcoming.
Further, with respect to the new dynamic management structure, the furthest 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 empty area by fixing the empty area, so that the performance bottom line of the integrated content distribution system is constrained.
Moreover, as the number of ground data centers increases, the distribution delay of the integrated content distribution system will further decrease.
Meanwhile, due to the division of the pilot space, the condition that a plurality of data center nodes control the same cache node can be avoided, so that reasonable allocation of the data center nodes to the load balance of the satellite cache nodes in the management and control area is maintained, and the accuracy of cache node selection is effectively guaranteed.
On the basis of the foregoing embodiment, preferably, S2 specifically includes:
s21, a dynamic binding table corresponding to the current empty area is obtained, wherein the dynamic binding table is used for binding on-board cache nodes in the current empty 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 to perform content access behavior.
It can be appreciated that the embodiments of the present invention may provide a class of implementation of node management based on a null region.
Specifically, a dynamic binding table may be maintained at the data center node side, which may be abbreviated as table a. The table A records on-board cache nodes bound by the data center node, and specifically, the on-board cache nodes in the current domain at the current moment.
It can be seen that each data center node has a dynamic binding table corresponding to it, and each data center node manages a pilot space.
Further, as for the dynamic binding table, the satellite equipment set bound by the data center node at the moment and the corresponding moment is recorded in the dynamic binding table.
On the basis of the foregoing embodiment, preferably, before the receiving the content request sent by the user terminal, the dynamic location-based content distribution method further includes:
detecting the position change condition of a space cache node in the current domain;
and changing the binding state of the on-board caching node recorded in the dynamic binding table according to the position change condition so as to obtain a new dynamic binding table.
Specifically, in view of the motion characteristics of the satellite devices, the satellite devices in the area a can be monitored in real time, for example, the satellite devices A1 and A2 exist in the area a; when the satellite device A1 flies out of the area a at the next time, the satellite device A3 flies into the area a, and the satellite devices A2 and A3 are actually present in the area a.
Therefore, the old dynamic binding table can be modified again according to the position change condition of each satellite device so as to obtain a new dynamic binding table.
Therefore, each data center node fixedly controls a pilot range, and dynamic binding and unbinding are carried out on the on-board cache nodes in the pilot range of the flying-in and flying-out positions, specifically, the data center nodes can dynamically bind on-board cache nodes in the empty region of the position and can dynamically unbinding on-board cache nodes out of the pilot range of the position.
Further, embodiments of the present invention may provide a specific satellite position change process for understanding, see the schematic diagram shown in fig. 3.
Specifically, the satellite numbers of the satellite devices can be represented in the form of sa.b, and the satellite devices have S1.1, S1.2, S1.3, S1.4, S2.1, S2.2, S2.3, S2.4, and S3.2; fig. 3 also contains 2 dynamic binding tables representing different moments, namely t and t ', wherein the dynamic binding table t corresponds to the moment Time t, and the dynamic binding table t ' corresponds to the moment 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 empty range of the data center node at the Time of Time t is circled by a dotted line frame, the on-satellite cache node in the dotted line is the cache node currently bound by the data center node, and the empty range of the data center node at the Time of Time t' is the same.
As Time is transited from Time t to Time t ', part of satellites fly out of the position empty range of the data center node and part of satellites fly in due to high-speed movement of the satellites relative to the ground, so that nodes S1.1, S2.1 and S2.2 which are separated from the position empty can be deleted from a dynamic binding table of the data center node, S1.3, S1.4, S2.4 and S3.2 are added, and the table entry changes are shown as a dynamic binding table t'.
Fig. 4 is a flowchart of a content distribution method based on dynamic location according to still another embodiment of the present invention, which is based on the embodiment shown in fig. 2.
In this embodiment, after S21, the content distribution method based on a dynamic location further includes:
s211, determining the expected node change condition according to the satellite running track at the expected time.
It can be appreciated that another type of table, i.e., a modification process table, may be simply referred to 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 table before update may be denoted as table A1, and the dynamic binding table after update may be denoted as table A2.
In view of the regularity of satellite motion behavior, the specific location of the satellite device at the expected time can be determined, so that it can be known whether each satellite device will be in a certain area in the future.
The expected node change condition is based on the satellite equipment recorded in the dynamic binding table before updating, and the flying-in and the flying-out of the satellite equipment are recorded.
S212, creating a modification process table according to the expected node change condition.
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, table A1 can be changed into table A2 by modifying table A1 using table B in terms of the function of table B.
S213, judging whether the dynamic binding table is out of date.
And S214, if the dynamic binding table is out of date, 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 out of date, if so, the table B is used to modify the table A1, and the table A1 can be changed into the table A2.
For example, if the current time is changed from the previous time t to the next time p, the table A1 corresponding to the previous time t may be changed to the table A2 corresponding to the next time p.
Further, if not expired, the updating operation of the dynamic binding table can be skipped, and the next operation is executed.
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 a modification procedure table for a dynamic binding table, the modification procedure table includes modification table entries therein.
In particular, the modification procedure table may be constituted by a series of modification items of modification time points arranged from small to large, corresponding to the modification time points.
The modification table entry includes an add command and a delete command, of course, the command contents of the add and delete commands may be empty.
For example, see the modified procedure table shown below,
TABLE 1 modification of Process Table
Wherein, the time t1 and t2 each represent a modification time, "Add [ S1.3, S1.4] Del [ ]," Add [ S2.4, S3.2] Del [ S1.1S 2.1] "each represent a modification table item.
Wherein Add characterizes the Add command and Del characterizes the delete command.
For example, when the time reaches the time t1, S1.3 and S1.4 may be added to the dynamic binding table; when the moment reaches the moment t2, S2.4 and S3.2 can be added in the dynamic binding table, and S1.1 and S2.1 existing in the dynamic binding table can 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 out of date according to the detection result.
Specifically, as for the criterion for determining whether the dynamic binding table is out of date, for example, the modification procedure table may be composed of a change time and a change operation, and it may be detected whether it is a certain change time.
The target time in the target table in the modification process table may be the smallest table time, i.e. the closest table time.
If the minimum table entry time is reached at this time, the dynamic binding table can be considered to be expired;
if the smallest entry time is not reached at this time, i.e., the current time is less than the target time, the dynamic binding table may be deemed not to expire.
Further, if the dynamic binding table expires, 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 expires, 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 condition according to the satellite running track at the expected time.
In addition, if the modification process table is not updated, the step of judging whether the dynamic binding table is out of date is executed.
In a specific implementation, after updating the dynamic binding table, it may also be determined whether the modification procedure table needs to be updated, and if the modification procedure table needs to be updated, the execution may return to S211.
Further, if the dynamic binding table is not expired, it is also determined whether to update the modification procedure table.
Further, with respect to the updating behavior of a particular modification procedure table, the target modification table entry in the modification procedure table may be removed.
Further, regarding the basis of judging whether to update the modification process table, it may be judged whether the remaining entries in the modification process table are less than or equal to the entry threshold, and whether to update the modification process table is judged according to the judgment result.
For example, if the remaining entries are less than or equal to the entry threshold, the entries are too few, and an update operation of modifying the procedure table may be triggered; if the remaining entries are greater than the entry threshold, the modification procedure table may not be updated.
Further, if the change time corresponding To the last entry in the modification process table is To ', the modification process table in the future T period may be calculated using To ' as the start time, which is equivalent To re-performing the update process of the entry using To ' as the initial time.
Further, in terms of content requests sent by the user terminal, the content requests may be used to conduct content request actions.
In particular, the user terminal may send a content request to a data center node, which may make a load balancing decision based on the internet protocol address (IP address, internet Protocol Address) of the user terminal.
Compared with the conventional load balancing process, the embodiment of the invention increases the query behavior of the data center node to the current schedulable world cache node, and the cache node selected by the user, namely the target cache node, can be obtained according to the load conditions of different nodes after query, so that a proper cache node can be provided for the terminal user.
In addition, because the dynamic binding table of the cache node can change with time, query behavior can be performed when the data center node faces to user load balancing scheduling.
More specifically, for the data center node, a network port may be opened to monitor, 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 ip_client, where ip_client refers to the IP address of the user terminal that sends the content request.
Then, the current available space-to-ground cache nodes can be queried, wherein the space-to-ground cache nodes comprise ground cache nodes and on-board cache nodes.
The ground available scheduling cache nodes are basically fixed, but the available scheduling on-board cache nodes need to be obtained by inquiring a dynamic binding table of the current data center node.
Obviously, unlike the existing CDN load balancing mechanism, the embodiment of the invention introduces dynamically bound schedulable nodes.
Then, according to the load balancing strategy and combining factors such as distance, cache hit and the like, the IP address of the cache node recommended to the user can be selected, so that the 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, and specifically, a ground data center is the data center node.
Fig. 6 is a schematic structural diagram of a content distribution system based on dynamic location according to an embodiment of the present invention, 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 in the current domain at the current moment, so that the user terminal accesses the target cache node to perform 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 domain at the current moment so as to enable the user terminal to access the target cache node for content access. Obviously, the CDN node management mode disclosed by the embodiment of the invention fixes the pilot space, can schedule the on-board cache nodes in the pilot space, and also enables the on-board cache nodes in the pilot space to be no longer fixed in view of the satellite motion characteristics of the on-board cache nodes, so that the technical problems caused by the existing management mode of the fixed cache nodes and the discomfort of satellite equipment when the satellite is added into the CDN as the cache nodes are solved, and meanwhile, the situations of content distribution delay increase, overall network bandwidth waste and the like caused by the discomfort can be also dealt with.
The system embodiment provided in the embodiment of the present invention is for implementing the above method embodiments, and specific flow and details refer to the above method embodiments, which are not repeated herein.
Fig. 7 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention, where, as shown in fig. 7, the electronic device may include: a processor (processor) 401, a communication interface (Communications 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. The processor 401 may call logic instructions in the 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 domain at the current moment so as to enable the user terminal to access the target cache node for content access.
Further, 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 sold or used as a stand alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform 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, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, embodiments of the present invention also provide a non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor is implemented to perform the method provided in the above 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 domain at the current moment so as to enable the user terminal to access the target cache node for content access.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the 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 scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (8)
1. A method of dynamic location-based content distribution, comprising:
receiving a content request sent by a user terminal;
determining a target cache node from the on-satellite cache nodes in the current domain at the current moment so as to enable the user terminal to access the target cache node for content access;
determining a target cache node from on-satellite cache nodes in a current domain at the current moment so that the user terminal accesses the target cache node to perform content access behavior, wherein the method specifically comprises the following steps:
acquiring a dynamic binding table corresponding to a current empty area, wherein the dynamic binding table is used for binding on-board cache nodes in the current empty area at the current moment;
determining a target cache node from the dynamic binding table so that the user terminal accesses the target cache node to perform content access behavior;
before receiving the content request sent by the user terminal, the content distribution method based on the dynamic position further comprises the following steps:
detecting the position change condition of a space cache node in the current domain;
and changing the binding state of the on-board caching node recorded in the dynamic binding table according to the position change condition so as to obtain a new dynamic binding table.
2. The dynamic location-based content distribution method according to claim 1, wherein the determining a target cache node from on-board cache nodes in a current domain at a current moment for the user terminal to access the target cache node for content access comprises:
and determining a target cache node from the current ground cache node and the on-satellite cache node in the current domain space at the current moment so as to enable the user terminal to access the target cache node for content access.
3. The dynamic location based content distribution method according to claim 1, wherein after the obtaining of the dynamic binding table corresponding to the current lead area, the dynamic location based content distribution method further comprises:
determining the change condition of an expected node according to the satellite running track at the expected time;
creating a modification process table according to the expected node change condition;
judging whether the dynamic binding table is out of date;
and if the dynamic binding table is out of date, updating the dynamic binding table based on the modification process table.
4. The method for distributing content based on dynamic location according to claim 3, wherein said determining whether said dynamic binding table is expired comprises:
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 out of date according to the detection result.
5. The dynamic location based content distribution method according to claim 3, wherein after updating the dynamic binding table based on the modification procedure table if it expires, 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 condition according to the satellite running track at the expected time.
6. A dynamic location-based content distribution system, comprising:
the request receiving module is used for receiving a content request sent by the user terminal;
the node selection module is used for determining a target cache node from the on-satellite cache nodes in the current domain at the current moment so as to enable the user terminal to access the target cache node for content access;
determining a target cache node from on-satellite cache nodes in a current domain at the current moment so that the user terminal accesses the target cache node to perform content access behavior, wherein the method specifically comprises the following steps:
acquiring a dynamic binding table corresponding to a current empty area, wherein the dynamic binding table is used for binding on-board cache nodes in the current empty area at the current moment;
determining a target cache node from the dynamic binding table so that the user terminal accesses the target cache node to perform content access behavior;
before receiving the content request sent by the user terminal, the content distribution method based on the dynamic position further comprises the following steps:
detecting the position change condition of a space cache node in the current domain;
and changing the binding state of the on-board caching node recorded in the dynamic binding table according to the position change condition so as to obtain a new dynamic binding table.
7. 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 implements the steps of the dynamic location based content distribution method according to any of claims 1 to 5 when the program is executed.
8. A non-transitory computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements the steps of the dynamic location based content distribution method according to any of claims 1 to 5.
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 CN113709761A (en) | 2021-11-26 |
CN113709761B true 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 (4)
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 |
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7961142B2 (en) * | 2007-04-09 | 2011-06-14 | Seiko Epson Corporation | Present position locating method, positioning device, and electronic instrument |
-
2020
- 2020-05-20 CN CN202010431154.1A patent/CN113709761B/en active Active
Patent Citations (4)
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 |
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)
Title |
---|
基于CDN的网站访问加速技术研究;杨林海;;江西科学(第02期) * |
基于星地解耦的低轨卫星网络编址和路由策略;陈天骄;刘江;丁睿;刘亮;;信息通信技术(第06期) * |
基于流量预测的物联网卫星节点动态缓存分配路由策略;王卫东;王程;王慧文;徐玭;;通信学报(第02期) * |
Also Published As
Publication number | Publication date |
---|---|
CN113709761A (en) | 2021-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8966121B2 (en) | Client-side management of domain name information | |
US8068512B2 (en) | Efficient utilization of cache servers in mobile communication system | |
Shojafar et al. | FLAPS: bandwidth and delay-efficient distributed data searching in Fog-supported P2P content delivery networks | |
CN103841045B (en) | A kind of internet method for caching and processing, content detection subsystem and Cache systems | |
WO2006046486A1 (en) | Resource management system, resource information providing method, and program | |
CN103888934B (en) | A kind of mobile terminal cache management device and management method | |
CN111464611A (en) | Method for efficiently accessing service between fixed cloud and edge node in dynamic complex scene | |
CN102137139A (en) | Method and device for selecting cache replacement strategy, proxy server and system | |
CN106021126B (en) | Cache data processing method, server and configuration equipment | |
CN103312716A (en) | Internet information accessing method and system | |
US9760370B2 (en) | Load balancing using predictable state partitioning | |
CN112583895B (en) | TCP communication method, system and device | |
Park et al. | Smart base station-assisted partial-flow device-to-device offloading system for video streaming services | |
Sinky et al. | Adaptive edge-centric cloud content placement for responsive smart cities | |
CN109951317B (en) | User-driven popularity perception model-based cache replacement method | |
CN113709761B (en) | Content distribution method, system, device and storage medium based on dynamic position | |
JP5109901B2 (en) | Session data sharing method | |
CN110191362B (en) | Data transmission method and device, storage medium and electronic equipment | |
CN109788075B (en) | Private network system, data acquisition method and edge server | |
Wei et al. | ORDER: A dynamic replication algorithm for periodic transactions in distributed real-time databases | |
CN115840862A (en) | Method and system for quickly querying targets in large-scale scene of network target range | |
CN110035092A (en) | A kind of implicit cache policy based on LCD in ICN network | |
JP7044033B2 (en) | Access control methods, access control devices, and data processing devices | |
CN113542373A (en) | Routing service discovery device and method for PAAS platform | |
Banditwattanawong et al. | Temporal Acceleration for Cloud-CDN-Fog-Edge Hierarchy by Leveraging Proximal Object Replicas |
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 |