News content distribution system based on wireless mobile communication network
Technical Field
The invention belongs to the technical field of content distribution, and particularly relates to a news content distribution system based on a wireless mobile communication network.
Background
In recent years, the service demands mainly based on news content in a mobile communication system continue to increase at a high speed, so that great challenges are brought to the existing network, and the network is urgently required to be adjusted in corresponding aspects. The five-year VNI forecast report published by CISCO corporation shows that the total news content in 2021 global system for mobile communications will increase on the scale of millions of minutes per second, which increases at a rate that not only exacerbates the spectrum resource shortage and network congestion risk, but also promotes the transition of traditional connection-centric communications toward new content-centric communications. Therefore, designing a high-efficiency content distribution method capable of adapting to future content-centric communication is one of the main directions of network development, and has very important practical significance.
As an early classical solution, the content delivery network (Content Delivery Network, CDN) is a solution for high-strength content delivery requirements in a wide-area network (in a centralized or burst manner) developed based on mechanisms such as content/server mirroring and HTTP request redirection, and the CDN is mainly used for solving the problem of slow web page loading speed in the network, and mainly uses edge servers of various areas to perform load balancing and dispatch delivery of the delivered content through a control platform, so that a user can obtain the requested content from the edge servers, thereby achieving the effects of reducing network transmission delay, saving transmission bandwidth and improving user network experience.
The Chinese patent with the publication number of CN113329050B discloses a content distribution method and a system, wherein the content distribution method comprises the following steps: determining a content distribution network topology; wherein the nodes in the content distribution network comprise: a source content server, a content distribution node, and an end user; the content distribution node includes: satellite distribution nodes and cloud distribution nodes; determining a distribution decision based on an end user request, the content distribution network topology, historical information and preset constraint conditions; the distribution decision satisfies that the distribution efficiency reaches the maximum when the distribution decision accords with a preset constraint condition; and based on the distribution decision, realizing the distribution of the target content to be distributed. The distribution efficiency of the internet content in the global scope can be effectively improved.
For example, chinese patent with publication number CN107621874B discloses a content distribution method and system, the method includes the following steps: in the process of interaction between the intelligent robot and the user, the user intention is identified, whether the content required by the user can be provided for the user is judged, and when the judgment result is negative, a content request prompt is generated; receiving content request information sent by a user through a content distribution platform, and acquiring/purchasing content matched with the content acquisition/purchase demand, wherein the content request information comprises user identity information, intelligent robot identity information and content acquisition/purchase demand information; after the acquisition/purchase is successful, the intelligent robot is distributed to the corresponding intelligent robot or client. The intelligent robot can indirectly acquire/purchase the content required by the user through the intelligent robot, so that the content of the intelligent robot is expanded, the user requirement is met, the personalized customization of the user is realized, and the user experience is improved.
Disclosure of Invention
According to the method, when a user inputs the domain name of a news website in a browser and clicks to access, the domain name is analyzed through the domain name analysis server, the cache node placement is set based on the node demand distribution uniformity through the content distribution strategy, the news content resource distribution utility, the computing utility and the cache utility are calculated, the news content resource is reasonably distributed to interested users, the user client side obtains the request content and then displays the request content in the browser, the news content distribution efficiency is improved, and the news content distribution cost is reduced.
In order to achieve the above purpose, the present invention provides the following technical solutions:
a news content-distribution system based on a wireless mobile communication network, comprising:
the wireless communication module is used for wireless transmission of the news content data and distributing the news content data to a user browser page;
the storage module comprises a storage server, wherein the storage server is used for storing news information and news information related attributes, the storage server stores the news information in units of groups, and different types of news contents are respectively stored in different groups;
the tracking module is used for connecting the user client and the storage server, playing roles of caching and load balancing, and recording the states of all groups of the storage servers and the group memory servers;
and the news content distribution module is used for searching related news information by a user through keywords, caching and placing the news information on an edge network node by utilizing a content distribution strategy, and extracting content from a caching node closest to the user when the user requests browsing and transmitting the content to the user.
Specifically, the tracking module includes:
the cache server is used for caching news content frequently accessed by a user at a network edge relatively close to the user, and the user can directly acquire data from the cache server without acquiring the news content from a remote server when accessing the news content;
the tracking server is used for enabling the client and the storage server to reach a load balancing state, and after the storage server is started, the tracking server is connected to report the group to which the tracking server belongs and various state information of the tracking server, and the storage server information stored on the tracking server can enable the tracking server to establish a mapping table of the storage group and the storage server in a memory.
Specifically, the news content distribution system based on the wireless mobile communication network comprises a news content distribution method based on the wireless mobile communication network, and the news content distribution method based on the wireless mobile communication network comprises the following specific steps:
step S1: the user inputs the domain name of the news website in the browser and clicks and accesses the news website, the browser sends the domain name to a domain name resolution server for resolution through a wireless mobile communication network, and the CNAME corresponding to the domain name is obtained through resolution;
step S2: the browser sends the CNAME to the domain name resolution server again for resolution, wherein the global load balancing server sends the IP address of the CDN cache server which is closest to the user and is most suitable to the CNAME to the client according to the position information of the client and the load condition of the CDN system at present;
step S3: the browser initiates an access request to the cache server according to the IP address of the cache server, obtains the IP address of the website server through the domain name and the internal DNS resolution server after obtaining the access request, and initiates the access request to the website;
step S4: after the caching server obtains the requested content data, the content distribution strategy is used for caching the news content data interested by the user, the news content data are extracted from the latest caching nodes and are sent to the user client, and the user client displays the news content data in the browser after obtaining the requested content, so that the news content distribution is completed.
Specifically, the step S4 includes a content distribution policy, where the content distribution policy includes the following steps:
step S401: setting a tree network T= (V, E), wherein V represents a set formed by nodes of a tree, E represents a set of edges, and simultaneously, setting L as an attribute of each node layer in the tree network, L as the maximum height of the tree, i as a request node and j as a service node;
step S402: setting upFor the uniformity of demand distribution of node i, g i Representing a network resulting from node i becoming a cache nodeLower cache utility increment limit, g when i is a leaf node i The calculation formula of (2) is as follows: />Wherein r is i Representing the caching utility of the requesting node, y i =1 indicates that the presence service node j is assigned to the requesting node i, y i =0 means that no serving node is assigned to the requesting node i,
when i is not a leaf node, g i The calculation formula of (2) is as follows:
wherein i-represents the indicated maximum g i,k Corresponding child node reference numerals g i,k Representing the utility delta lower bound for child node k of node i,l i indicating the number of layers, a, that node i is located in the tree structure i~ The representation indicates the maximum g i,k The corresponding sub-node summarized requirement, y i~ =1 indicates that the presence service node j is assigned to the requesting node i to y i~ =0 means that no serving node j is assigned to the requesting node i to;
step S403: the state vector of the cache node placement node i is s i ,s i The expression of (2) is:wherein a is i Representing the summarized requirement of the request node i;
step S404: setting gamma as the number of cache nodes, psi as the number of users predicted by the selected receiving requirement, and p A For the accuracy of word prediction, U is a set of all users, U I User set of interest for content, U R To accept a set of users for demand prediction, T M-L For a symmetrical tree with a height L and a branch number M, the number relationship is expressed as follows: u is U ψ ||=ψ,||U I ||=bM L-1 ,||U||=cM L-1 Wherein b represents the requirement of each requesting node, namely the number of content interested users directly connected with the requesting node, and c represents the total number of users directly connected with each leaf node, namely the sum of the number of content interested users and the number of content uninteresting users;
step S405: the news content resource allocation utility G (psi, gamma) is calculated according to the following calculation formula:
G(ψ,γ)=Q(ψ)+R(γ),
wherein Q (ψ) represents the computational utility,r (γ) represents buffering utility, R (γ) =m L-1 (1+log M γ);
Step S406: based on the symmetrical tree network, news content resources are reasonably distributed to interested users through news content resource distribution effectiveness, calculation effectiveness and caching effectiveness, so that news content distribution efficiency is improved, and news content distribution cost is reduced.
Compared with the prior art, the invention has the beneficial effects that:
1. the invention provides a news content distribution system based on a wireless mobile communication network, which has the advantages of simple flow, low investment and operation cost and low production and working cost, and improves the distribution efficiency on the basis of the news content distribution system.
2. When a user inputs a domain name of a news website in a browser and clicks for access, the domain name resolution server analyzes the domain name, sets cache node placement based on node demand distribution uniformity through a content distribution strategy and based on a symmetrical tree network, calculates news content resource distribution utility, calculation utility and cache utility, reasonably distributes news content resources to interested users, and displays the news content after a user client obtains request content in the browser, so that news content distribution efficiency is improved, and news content distribution cost is reduced.
Drawings
FIG. 1 is a flow chart of a news content distribution method based on a wireless mobile communication network according to the present invention;
FIG. 2 is a schematic diagram of a news content-distribution system based on a wireless mobile communication network according to the present invention;
FIG. 3 is an exemplary network diagram of a symmetrical tree of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments.
Referring to fig. 1-3, an embodiment of the present invention is provided: a news content-distribution system based on a wireless mobile communication network, comprising:
the wireless communication module is used for wireless transmission of the news content data and distributing the news content data to a user browser page;
the storage module comprises a storage server, wherein the storage server is used for storing news information and news information related attributes, the storage server stores the news information in units of groups, and different types of news contents are respectively stored in different groups;
the tracking module is used for connecting the user client and the storage server, playing roles of caching and load balancing, and recording the states of all groups of the storage servers and the group memory servers;
and the news content distribution module is used for searching related news information by a user through keywords, caching and placing the news information on an edge network node by utilizing a content distribution strategy, and extracting content from a caching node closest to the user when the user requests browsing and transmitting the content to the user.
The tracking module comprises:
the cache server is used for caching news content frequently accessed by a user at a network edge relatively close to the user, and the user can directly acquire data from the cache server without acquiring the news content from a remote server when accessing the news content;
the tracking server is used for enabling the client and the storage server to reach a load balancing state, and after the storage server is started, the tracking server is connected to report the group to which the tracking server belongs and various state information of the tracking server, and the storage server information stored on the tracking server can enable the tracking server to establish a mapping table of the storage group and the storage server in a memory.
The news content distribution system based on the wireless mobile communication network comprises a news content distribution method based on the wireless mobile communication network, and the news content distribution method based on the wireless mobile communication network comprises the following specific steps:
step S1: the user inputs the domain name of the news website in the browser and clicks and accesses the news website, the browser sends the domain name to a domain name resolution server for resolution through a wireless mobile communication network, and the CNAME corresponding to the domain name is obtained through resolution;
step S2: the browser sends the CNAME to the domain name resolution server again for resolution, wherein the global load balancing server sends the IP address of the CDN cache server which is closest to the user and is most suitable to the CNAME to the client according to the position information of the client and the load condition of the CDN system at present;
step S3: the browser initiates an access request to the cache server according to the IP address of the cache server, obtains the IP address of the website server through the domain name and the internal DNS resolution server after obtaining the access request, and initiates the access request to the website;
step S4: after the caching server obtains the requested content data, the content distribution strategy is used for caching the news content data interested by the user, the news content data are extracted from the latest caching nodes and are sent to the user client, and the user client displays the news content data in the browser after obtaining the requested content, so that the news content distribution is completed.
Step S4 includes a content distribution policy, which specifically includes the following steps:
step S401: setting a tree network T= (V, E), wherein V represents a set formed by nodes of a tree, E represents a set of edges, and simultaneously, setting L as an attribute of each node layer in the tree network, L as the maximum height of the tree, i as a request node and j as a service node;
the step complements the description: l represents the attribute of each node layer in the tree network, which is equal to the distance from the designated node to the root node plus 1, and the node with the layer attribute of l is also called the first layer of the tree, and the largest l in the tree is called the height of the tree.
Step S402: setting upFor the uniformity of demand distribution of node i, g i Representing the lower limit of the increment of the network caching utility caused by the fact that the node i becomes the caching node, and g when i is a leaf node i The calculation formula of (2) is as follows: />Wherein r is i Representing the caching utility of the requesting node, y i =1 indicates that the presence service node j is assigned to the requesting node i, y i =0 means that no serving node is assigned to the requesting node i,
when i is not a leaf node, g i The calculation formula of (2) is as follows:
wherein i-represents the indicated maximum g i,k Corresponding child node reference numerals g i,k Representing the utility delta lower bound for child node k of node i,l i indicating the number of layers, a, that node i is located in the tree structure i~ The representation indicates the maximum g i,k The corresponding sub-node summarized requirement, y i~ =1 indicates that the presence service node j is assigned to the requesting node i to y i~ =0 means that no serving node j is assigned to the requesting node i to;
the step complements the description:is one ofThe number of the binary variables is 0-1, 1 represents that the node demand distribution is uniform, 0 represents that the node demand distribution is non-uniform, and the following three necessary conditions are met: if ai=0, then +.>If node i is a leaf node and a i Not equal to 0, then->If node i is not a leaf node and a i Only one non-zero element is included, then +.>Wherein a is i Representing the summarized requirement of the request node i;
when i is not a leaf node, there are 4 cases, first, when i is not a cache node, the lower limit of the cache utility increment is determined by its child nodes, that is, equal to the maximum value of the lower limits of the cache utility increment of all child nodes, and second, when i is a cache node, g i Is taken by the lower limit g of the buffer utility increment of all child nodes i,k And the caching utility of the node i is determined together, and thirdly, when the node i is a caching node but the child node of i-pair is not a caching node, the new caching node can reduce the requirement of the node i-pair to be served, but the value of the node i-pair cannot exceed a i~ So the buffer utility increment lower limit is defined by g i~ Become g i~ -a i~ ×l i Fourth, node i is already a cache node, and the child nodes corresponding to i-i are also cache nodes, and at this time, the new cache node service demand reduction phenomenon is considered in node i-i, so that repeated consideration in node i is not needed.
Step S403: the state vector of the cache node placement node i is s i ,s i The expression of (2) is:wherein a is i Representing the summarized requirement of the request node i;
step S404: setting gamma as the number of cache nodes, psi as the number of users predicted by the selected receiving requirement, and p A For the accuracy of word prediction, U is a set of all users, U I User set of interest for content, U R To accept a set of users for demand prediction, T M-L For a symmetrical tree with a height L and a branch number M, the number relationship is expressed as follows: u is U ψ ||=ψ,||U I ||=bM L-1 ,||U||=cM L-1 Wherein b represents the requirement of each requesting node, namely the number of content interested users directly connected with the requesting node, and c represents the total number of users directly connected with each leaf node, namely the sum of the number of content interested users and the number of content uninteresting users;
step S405: the news content resource allocation utility G (psi, gamma) is calculated according to the following calculation formula:
G(ψ,γ)=Q(ψ)+R(γ),
wherein Q (ψ) represents the computational utility,r (γ) represents buffering utility, R (γ) =m L-1 (1+log M γ);
The step complements the description: the effective mechanism of the cache resource is that the distance between the content and the user is shortened, and the effective mechanism of the computing resource is that the content pre-pushing aiming at all recommended users is realized through one-time multicasting, so that the content transmission frequency is reduced.
Step S406: based on the symmetrical tree network, news content resources are reasonably distributed to interested users through news content resource distribution effectiveness, calculation effectiveness and caching effectiveness, so that news content distribution efficiency is improved, and news content distribution cost is reduced.
It will be appreciated by persons skilled in the art that the foregoing description is a preferred embodiment of the invention, and is not intended to limit the invention, but rather to limit the invention to the specific embodiments described, and that modifications may be made to the technical solutions described in the foregoing embodiments, or equivalents may be substituted for elements thereof, for the purposes of those skilled in the art. Modifications, equivalents, and alternatives falling within the spirit and principles of the invention are intended to be included within the scope of the invention.