CN110557439B - Network content management method and block chain content network platform - Google Patents

Network content management method and block chain content network platform Download PDF

Info

Publication number
CN110557439B
CN110557439B CN201910727503.1A CN201910727503A CN110557439B CN 110557439 B CN110557439 B CN 110557439B CN 201910727503 A CN201910727503 A CN 201910727503A CN 110557439 B CN110557439 B CN 110557439B
Authority
CN
China
Prior art keywords
content
chain
data packet
content data
block chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910727503.1A
Other languages
Chinese (zh)
Other versions
CN110557439A (en
Inventor
任梦璇
薛淼
刘千仞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201910727503.1A priority Critical patent/CN110557439B/en
Publication of CN110557439A publication Critical patent/CN110557439A/en
Application granted granted Critical
Publication of CN110557439B publication Critical patent/CN110557439B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/742Route cache; Operation thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data

Abstract

The embodiment of the invention discloses a network content management method and a block chain content network platform, and relates to the technical field of communication. The CCN network content data can be cached in advance by adopting a block chain technology, so that the time delay of a user for acquiring the content data is reduced. The method comprises the following steps: firstly, a block chain content network platform sends a service strategy to a sub-chain peer node through a parent chain peer node according to a received identifier of the sub-chain peer node; then, determining that the content data packet is not cached in the first router according to the service strategy through the child chain peer node, and sending the service strategy to the block chain SDK plug-in; after renting, acquiring the content data packet according to the source information of the content data packet by determining that the interest source table PIT contains the source information of the content data packet; and sending the content data packet to the first router through the block chain SDK plug-in, monitoring that the first router caches the content data packet, and not deleting the content data packet within the strategy duration. The embodiment of the invention is applied to a network system.

Description

Network content management method and block chain content network platform
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a network content management method and a block chain content network platform.
Background
Video and voice communication traffic on the internet is increasing day by day, and a data transmission bottleneck existing in a Transmission Control Protocol (TCP)/internet protocol address (IP) system structure will be further highlighted undoubtedly by the high definition video on demand service. Peer-to-Peer (P2P) systems such as Bit Torrent are widely used for multimedia data transmission, but their transmission efficiency is not ideal, because the Peer can only obtain data blocks from a small part of the Peer, and in general, has only limited information when the Peer downloads the same content and network topology. An information-centric networking (ICN) has been developed in this context, which changes the current end-to-end communication mechanism of the internet, strips content from the location of a terminal, and provides services such as storage and multiparty communication through a publish/subscribe paradigm. The ICN proposes to change the point of interest of the user from the terminal to the content, i.e. the user does not care where to obtain the data he wants, but only what the wanted content is.
Content-centric Networking (CCN) is a specific implementation of the most studied ICN. There are two main types of packets in the CCN: a content request packet (interest packet) and a content data packet (data packet). In CCN, content is determined by the identification of the content, similar to an IP address prefix, for example: "/aaa.cn/video/wigeta.mpg", wherein aaa.cn is the full-web recognizable name, video is the content type, and wigeta.mpg is the content name. The request packet is used to transmit a request for content, and the node receiving the request transmits response data through the content packet if the request can be satisfied. The IO of the CCN adopts hierarchical naming, the global routing system at least needs to process IO name prefix at the content provider level, and the forwarding state of each packet guides the data packet to the user along the transmission path. The number of name prefixes of the CCN will also reach the level of size of the secondary domain name.
The CCN network mainly uses a content-centric request response mechanism and a caching technology, and does not have a content pull technology, so that users who access content in the first batch may suffer from a high delay, and cannot perform content pre-caching according to business needs and usage scenarios, thereby reducing the experience of the users.
Disclosure of Invention
Embodiments of the present invention provide a network content management method and a block chain content network platform, which can implement pre-caching of CCN network content data by using a block chain technology, thereby reducing a time delay for a user to acquire the content data.
In order to achieve the purpose, the invention adopts the following technical scheme:
in a first aspect, a network content management method is provided, which is applied to a blockchain content network platform, where the blockchain content network platform includes a parent-chain peer node, a child-chain registration node, and a blockchain SDK (software development kit) plug-in, and the method includes: a block chain content network platform receives a service strategy sent by an operator through a parent chain peer node; the service strategy comprises caching an appointed content data packet and strategy duration in an appointed sub-chain peer node; the service strategy carries the identifier of the sub-chain peer node; the block chain content network platform sends the service strategy to the sub-chain peer node through the parent chain peer node according to the identifier of the sub-chain peer node; the block chain content network platform determines that the content data packet is not cached in the first router through the sub-chain peer node according to the service strategy, and then sends the service strategy to the block chain SDK plug-in; the block chain content network platform acquires the content data packet according to the source information of the content data packet by determining that the interest source table PIT (pending interest table) contains the source information of the content data packet; and the block chain content network platform sends the content data packet to the first router through the block chain SDK plug-in, monitors the first router to cache the content data packet, and does not delete the content data packet within the strategy duration.
In the method, a block chain content network platform firstly sends a received service strategy to a sub-chain peer node through a parent chain peer node according to the received identifier of the sub-chain peer node; the service strategy comprises caching an appointed content data packet and strategy duration in an appointed sub-chain peer node; then, determining that the content data packet is not cached in the first router according to the service strategy through the child chain peer node, and sending the service strategy to the block chain SDK plug-in; finally, the source information of the content data packet contained in the interest source table PIT is determined through the deployed block chain SDK plug-in, and the pulling of the specific content data packet is realized, so that the problems that the content-centered request response mechanism and the caching technology are mainly used in the existing CCN, the content pulling technology is not available, the first user accessing the content may suffer from high time delay, and the content can not be cached in advance according to the operation requirement and the use scene are solved. In addition, the embodiment of the invention reduces the possibility of data being tampered in the transmission process by utilizing the block chain technology, thereby ensuring the security of data transmission in the network.
In a second aspect, a blockchain content network platform is provided, the blockchain content network platform comprising: the first control unit is used for receiving the service strategy sent by the operator through the parent chain peer node; the service strategy comprises caching an appointed content data packet and strategy duration in an appointed sub-chain peer node; the service strategy carries the identifier of the sub-chain peer node; the first control unit is also used for sending the service strategy to the sub-chain peer node through the parent-chain peer node according to the identifier of the sub-chain peer node; the second control unit is used for determining that the content data packet is not cached in the first router through the sub-chain peer node according to the service strategy sent by the first control unit through the mother chain peer node, and then sending the service strategy to the block chain SDK plug-in; the second control unit is further configured to determine, through the block chain SDK plug-in, that the interest source table PIT includes the source information of the content data packet, and then obtain the content data packet according to the source information of the content data packet; and the second control unit is also used for sending the content data packet to the first router through the SDK plug-in of the block chain, monitoring that the first router caches the content data packet, and not deleting the content data packet within the strategy duration.
It can be understood that the block chain content network platform provided above is used to execute the method corresponding to the first aspect provided above, and therefore, the beneficial effects that can be achieved by the block chain content network platform may refer to the beneficial effects of the method corresponding to the first aspect above and the corresponding scheme in the following detailed description, which are not described herein again.
In a third aspect, a blockchain content network platform is provided, the structure of the blockchain content network platform includes a processor and a memory, the memory is used for coupling with the processor and storing necessary program instructions and data of the blockchain content network platform, and the processor is used for executing the program instructions stored in the memory, so that the blockchain content network platform executes the method of the first aspect.
In a fourth aspect, there is provided a computer storage medium having computer program code stored therein, which when run on a blockchain content network platform, causes the blockchain content network platform to perform the method of the first aspect.
In a fifth aspect, there is provided a computer program product having stored thereon the above-mentioned computer software instructions, which, when run on a blockchain content network platform, cause the blockchain content network platform to execute the procedure of the method according to the first aspect as described above.
Drawings
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 only a part of the embodiments of the present invention, and not all of the embodiments. 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 an architecture diagram of a block chain content network platform according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a network content management method according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a router content pull according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a block chain content network platform according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another blockchain content network platform according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another block chain content network platform according to an embodiment of the present invention.
Detailed Description
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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
It should be noted that, in the embodiments of the present invention, "of", "corresponding" and "corresponding" may be sometimes used in combination, and it should be noted that, when the difference is not emphasized, the intended meaning is consistent.
For the convenience of clearly describing the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, the words "first", "second", and the like are used for distinguishing the same items or similar items with basically the same functions and actions, and those skilled in the art can understand that the words "first", "second", and the like are not limited in number or execution order.
In the internet, an ICN adopts an information-centered network communication model to replace a traditional address-centered network communication model, a communication mode is evolved from a host to a network, a forwarding mechanism is evolved from traditional store-and-forward to cache-and-forward, a system structure supports host movement, and the problem of efficient transmission of mass information is solved. CCN is the most relevant ICN solution in existence. The basic communication mode of the CCN is centered around named content, user requests named content, content publishers (servers) publish and transmit named content, CCN routers cache and transmit named content.
The CCN network mainly uses a content-centric request response mechanism and a caching technology, and does not have a content pull technology, so that users who access content in the first batch may suffer from a high delay, and cannot perform content pre-caching according to business needs and usage scenarios, thereby reducing the experience of the users.
Based on the foregoing technical background and technical problem, referring to fig. 1, an embodiment of the present invention provides an architecture diagram of a blockchain content network platform, where the blockchain content network platform includes a parent chain, a child chain, and a blockchain SDK plug-in; the parent chain comprises parent chain peer nodes and child chain registration nodes on all child chains; the sub-chain comprises a sub-chain registration node and a sub-chain cluster consisting of at least one sub-chain peer node; and the block chain SDK plug-in unit communicates with the sub-chain peer node corresponding to the block chain SDK plug-in unit. The parent chain peer node is responsible for managing each node in the block chain content network platform; the master chain peer node controls all nodes in the block chain content network platform and issues a certificate and a public and private key for each node; the sub-chain registration node is responsible for interaction between the sub-chain Peer node and the parent chain Peer node, and can be one of the sub-chain Peer nodes or a special node; the block chain SDK plug-in mainly generates content pull Interest messages according to a service strategy and generates a cache limited strategy according to the service strategy; can be deployed in all routers in the CCN network. The sub-chain peer node, the sub-chain registration node and the parent-chain peer node all participate in consensus computation and data reading and intelligent contract execution: and operating an intelligent contract to synchronize the account book, calculating content cache information summary information through the intelligent contract, and then uploading the content cache information summary information to a parent chain peer node through a child chain registration node. In addition, 1 subchain registration node and M subchain Peer nodes form a subchain (M is variable and the number of Peer nodes on each subchain is not necessarily the same according to flexible division of areas, manufacturers, network domains and the like), each subchain is connected with a parent chain through a subchain registration node, and all the subchain registration nodes and the parent chain Peer nodes form the parent chain. In the blockchain content network platform, the sub-chain peer node and the sub-chain registration node, and the sub-chain registration node and the parent chain peer node are communicated through a set intelligent contract.
Referring to fig. 2, an embodiment of the present invention provides a network content management method, which is applied to a blockchain content network platform, where the blockchain content network platform includes a parent chain peer node, a child chain registration node, and a blockchain SDK plug-in, and the method includes:
201. a block chain content network platform receives a service strategy sent by an operator through a parent chain peer node; the service strategy comprises caching an appointed content data packet and strategy duration in an appointed sub-chain peer node; the service strategy carries the identifier of the sub-chain peer node.
202. And the block chain content network platform sends the service strategy to the sub-chain peer node through the parent chain peer node according to the identifier of the sub-chain peer node.
Wherein, step 202 specifically includes:
the method specifically comprises the following steps:
2021. and the block chain content network platform positions the sub-chain registration node through the parent chain peer node according to the identifier of the sub-chain peer node.
2022. And the block chain content network platform sends the service strategy to the sub-chain registration node through the parent chain peer node according to the position of the sub-chain registration node.
2023. And the block chain content network platform sends the service strategy to the sub-chain peer node through the sub-chain registration node according to the identifier of the sub-chain peer node.
203. And the block chain content network platform determines that the content data packet is not cached in the first router through the sub-chain peer node according to the service strategy, and then sends the service strategy to the block chain SDK plug-in.
In one implementation, step 203 is followed by:
s11, the blockchain content network platform determines that the interest source table PIT does not contain the source information of the content data packet through the blockchain SDK plug-in.
S12, the block chain content network platform determines that the forwarding information base FIB (forward information base) contains the forwarding information of the content data packet through the block chain SDK plug-in, and then obtains the content data packet according to the forwarding information of the content data packet.
In one implementation, step 203 is followed by:
s21, the blockchain content network platform determines that the interest source table PIT does not contain the source information of the content data packet through the blockchain SDK plug-in.
S22, the block chain content network platform determines that the forwarding information base FIB does not contain the forwarding information of the content data packet through the block chain SDK plug-in.
The FIB is mainly used to record forwarding information of content request packets and forwarding information of prefixes of different content names. If a port (forwarding information) of the receiving apparatus with respect to the content packet is recorded in the FIB, the content packet is acquired from the receiving apparatus according to the port of the receiving apparatus.
S23, the block chain content network platform generates the content request message of the content data packet through the block chain SDK plug-in.
S24, the block chain content network platform sends the content request messages to other routers in sequence according to a preset sequence through the block chain SDK plug-in, and receives the content data packets returned by the second router; the second router is a router which receives the content request message according to a preset sequence and caches the content data packet first in other routers.
204. And the block chain content network platform determines that the interest source table PIT contains the source information of the content data packet through the block chain SDK plug-in, and acquires the content data packet according to the source information of the content data packet.
It should be noted that the PIT is mainly used for a source port that records various content request packets, so that the corresponding content is forwarded back according to the port after being received, and if the corresponding content has been requested, a requested source port and the requested content are recorded. That is, if the PIT records the source port of the content request packet that needs to be obtained, the content request packet is obtained from the device corresponding to the source port according to the source port of the content request packet.
205. And the block chain content network platform sends the content data packet to the first router through the block chain SDK plug-in, monitors the first router to cache the content data packet, and does not delete the content data packet within the strategy duration.
Optionally, the content request packet and the content data packet corresponding to the content request packet may be generated with respective corresponding service IDs; carrying the service ID in the process of forwarding the content request message; and comparing the service ID after receiving the content data packet to confirm whether the content data packet is the content data packet correspondingly acquired by the content request message. The service ID of the content request packet and the service ID of the content data packet may be the same or different, and when different, the service IDs of the two may be set correspondingly; for example, the service ID of the content request packet and the service ID of the content data packet may be set to 1. In addition, the block chain content network platform may further include, after or before sending the content request messages to other routers in sequence according to a preset sequence through the block chain SDK plug-in: recording the content request message in the PIT; and recording a preset special value (such as U) of a port of the content request message entering the first router in the PIT.
For better understanding, referring to fig. 3, steps 203, S11, S12, S21, S22, S23 and S24 are exemplarily illustrated, and specific steps are as follows:
301. and the block chain content network platform determines that the content data packet is not cached in the first router through the sub-chain peer node according to the service strategy, and then sends the service strategy to the block chain SDK plug-in. It jumps to step 302.
302. And the block chain content network platform generates a content request message and a service ID of the content request message according to the service strategy through the block chain SDK plug-in.
303. And if the block chain content network platform determines that the PIT contains the source information of the content data packet through the block chain SDK plug-in. It jumps to step 308, otherwise it jumps to step 304.
304. And if the block chain content network platform determines that the FIB contains the forwarding information of the content data packet through the block chain SDK plug-in. It jumps to step 310, otherwise it jumps to step 305.
305. And the block chain content network platform sequentially sends the content request messages to other routers according to a preset sequence through the block chain SDK plug-in. It jumps to step 306.
306. And the block chain content network platform records the content request message in the PIT through the block chain SDK plug-in. It jumps to step 307.
307. The block chain content network platform records a port of a content request message entering the first router as a preset special value U in the PIT through the block chain SDK plug-in. And (6) ending.
308. The block chain content network platform records a port of a content request message entering the first router as a preset special value U in the PIT through the block chain SDK plug-in. It jumps to step 309.
309. And discarding the content request message. And (6) ending.
310. And selecting multi-interface forwarding according to the FIB. And (6) ending.
It should be noted that step 302 may be added at any step after the blockchain content network platform receives the service policy through the blockchain SDK plug-in. In addition, fig. 3 is only briefly described, and the specific flow mainly includes text description.
In addition, when the first router caches the content data packet, the method may include the following steps: step1) the router receives the content data packet message; step2) the router checks whether the service ID in the content data packet message matches with the service ID in the content request message; if the data message is matched with the normal data message, jumping to step3, otherwise, processing according to the processing flow of the normal data message; step3) to check whether the port of the matched content request message entering the first router in the PIT is a preset special value U; if yes, jumping to step4, otherwise, processing according to the processing flow of the normal data message; step4) to see if there is a content packet in the first router's cache; if yes, discarding the received content data packet; if not, the content data packet is cached and then the received content data packet is discarded.
In one implementation mode, the block link point configuration mainly includes that all routers in the CCN are used as alliance links on Peer nodes of sub-chains, the sub-chain configuration can be divided according to regions (or other rules), each M Peer nodes form one sub-chain, one Peer node is selected from the sub-chains to serve as a sub-chain registration node, and the sub-chain registration node is responsible for carrying out account book synchronization with a parent chain; the initialization process of the block chain content network platform comprises the following steps: step1) the parent chain peer node forms a federation chain digital certificate and sends the federation chain digital certificate to each router node; step2) each node receives the certificate and then installs the certificate, and starts the block chain peer node of the node; step3) after detecting that the corresponding peer node (including the sub-chain and the mother chain) is started, the management node performs configuration operation of the service and the intelligent contract; step4) all steps are completed and initialization is completed.
In one implementation manner, the account book synchronization process of the parent chain peer node, the child chain peer node, and the child chain registration node includes the following steps: step1) the sub-chain Peer node calculates the cache data to form the summary information of the content name data; step2), triggering intelligent contracts alpha inside all the sub-chains, and sharing the cached summary information and other information (Peer addresses, PeerIDs and the like) inside all the sub-chain Peer nodes inside the sub-chains as accounts inside the sub-chains through the intelligent contracts until the accounts are completely updated; after receiving the account book information, each sub-chain Peer node verifies the validity of the account book information and performs data synchronization after the account book information passes the validity; step3), triggering an intelligent contract beta in a parent chain, summarizing account book information and other information (child chain addresses, child chain IDs and the like) in the child chain by a child chain registration node, broadcasting the information in the parent chain through the intelligent contract beta, and verifying and storing the account book information of other child chain registration nodes; after receiving the account book information, the parent chain peer node and each child chain registration node firstly carry out validity verification and then carry out data synchronization after the account book information passes the validity verification; step4) the child chain registration node and the parent chain Peer node store all child chain account book information, but the account book does not distinguish Peer nodes, but only distinguishes the child chain; step5) repeating the above steps after every S time interval, and updating the account book content.
In the method, a block chain content network platform firstly sends a received service strategy to a sub-chain peer node through a parent chain peer node according to the received identifier of the sub-chain peer node; the service strategy comprises caching an appointed content data packet and strategy duration in an appointed sub-chain peer node; then, determining that the content data packet is not cached in the first router according to the service strategy through the child chain peer node, and sending the service strategy to the block chain SDK plug-in; finally, the source information of the content data packet contained in the interest source table PIT is determined through the deployed block chain SDK plug-in, and the pulling of the specific content data packet is realized, so that the problems that the content-centered request response mechanism and the caching technology are mainly used in the existing CCN, the content pulling technology is not available, the first user accessing the content may suffer from high time delay, and the content can not be cached in advance according to the operation requirement and the use scene are solved. In addition, the embodiment of the invention reduces the possibility of data being tampered in the transmission process by utilizing the block chain technology, thereby ensuring the security of data transmission in the network.
The embodiment of the present invention may perform functional module division on the blockchain content network platform according to the method embodiment, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, the division of the modules in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In the case of dividing the functional modules according to the respective functions, fig. 4 shows a schematic diagram of a possible structure of the blockchain content network platform 20 involved in the above embodiment, where the blockchain content network platform 20 includes:
a first control unit 21, configured to receive, through a parent peer node, a service policy sent by an operator; the service strategy comprises caching an appointed content data packet and strategy duration in an appointed sub-chain peer node; the service strategy carries the identifier of the sub-chain peer node.
The first control unit 21 is further configured to send the service policy to the child chain peer node through the parent chain peer node according to the identifier of the child chain peer node.
The second control unit 22 is configured to determine, by the sub-chain peer node, that the content data packet is not cached in the first router according to the service policy sent by the first control unit 21 through the parent chain peer node, and send the service policy to the block chain SDK plug-in.
The second control unit 22 is further configured to determine, through the block chain SDK plug-in, that the interest source table PIT includes the source information of the content data packet, and then obtain the content data packet according to the source information of the content data packet.
The second control unit 22 is further configured to send the content data packet to the first router through the block chain SDK plug-in, monitor that the first router caches the content data packet, and not delete the content data packet within the policy duration.
In an exemplary scheme, the first control unit 21 is specifically configured to locate, by the parent-chain peer node, a position of the child-chain registration node according to the identity of the child-chain peer node.
The first control unit 21 is further configured to send the service policy to the child chain registration node through the parent chain peer node according to the location of the child chain registration node.
The first control unit 21 is further configured to send the service policy to the child chain peer node through the child chain registration node according to the identifier of the child chain peer node;
in an exemplary embodiment, the second control unit 22 is further configured to determine, through the blockchain SDK plug-in, that the source information of the content data packet is not contained in the interest source table PIT.
The second control unit 22 is further configured to determine, through the block chain SDK plug-in, that the forwarding information of the content data packet is included in the forwarding information base FIB, and then obtain the content data packet according to the forwarding information of the content data packet.
In an exemplary embodiment, the second control unit 22 is further configured to determine, through the blockchain SDK plug-in, that the source information of the content data packet is not contained in the interest source table PIT.
The second control unit 22 is further configured to determine, by the block chain SDK plug-in, that the forwarding information of the content data packet is not included in the forwarding information base FIB.
The second control unit 22 is further configured to generate a content request message of the content data packet through the block chain SDK plug-in.
The second control unit 22 is further configured to sequentially send the content request messages to other routers according to a preset sequence through the block chain SDK plug-in, and receive a content data packet returned by the second router; the second router is a router which receives the content request message according to a preset sequence and caches the content data packet first in other routers.
Since the blockchain content network platform in the embodiment of the present invention can be applied to implement the method embodiment, the technical effect obtained by the blockchain content network platform can also refer to the method embodiment, and the embodiment of the present invention is not described herein again.
Fig. 5 shows a possible structure diagram of the blockchain content network platform 20 involved in the above embodiments, in case of using integrated units. The blockchain content network platform 20 includes: a processing module 501, a communication module 502 and a storage module 503. The processing module 501 is used to control and manage the actions of the blockchain content network platform 20, for example, the processing module 501 is used to support the blockchain content network platform 20 to execute the processes 201 to 205 in fig. 2. The communication module 502 is used to support communication of the blockchain content network platform 20 with other entities. The memory module 503 is used to store program codes and data of the blockchain content network platform 20.
The processing module 501 may be a processor or a controller, and may be, for example, a Central Processing Unit (CPU), a general-purpose processor, a Digital Signal Processor (DSP), an application-specific integrated circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a DSP and a microprocessor, or the like. The communication module 502 may be a transceiver, a transceiving circuit or a communication interface, etc. The storage module 503 may be a memory.
When the processing module 501 is a processor as shown in fig. 6, the communication module 502 is a transceiver as shown in fig. 6, and the storage module 503 is a memory as shown in fig. 6, the blockchain content network platform 20 according to the embodiment of the present application may be the following blockchain content network platform 20.
Referring to fig. 6, the blockchain content network platform 20 includes: a processor 601, a transceiver 602, a memory 603, and a bus 604.
The processor 601, the transceiver 602, and the memory 603 are connected to each other through a bus 604; the bus 604 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The processor 601 may be a general processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more ics for controlling the execution of programs in accordance with the present invention.
The memory 603 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be self-contained and coupled to the processor via a bus. The memory may also be integral to the processor.
The memory 603 is used for storing application program codes for executing the scheme of the application, and the processor 601 controls the execution. The transceiver 602 is configured to receive content input by an external device, and the processor 601 is configured to execute application program codes stored in the memory 603, so as to implement the network content management method in the embodiment of the present application.
It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses, devices and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented using a software program, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). Computer-readable storage media can be any available media that can be accessed by a computer or can comprise one or more data storage devices, such as servers, data centers, and the like, that can be integrated with the media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The embodiment of the present invention further provides a computer program product, which can be directly loaded into the memory and contains software codes, and after being loaded and executed by the computer, the computer program product can implement the network content management method.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A network content management method is applied to a blockchain content network platform, wherein the blockchain content network platform comprises a parent chain peer node, a child chain registration node and a blockchain SDK plug-in, and the method comprises the following steps:
the block chain content network platform receives a service strategy sent by an operator through the parent chain peer node; wherein, the service policy comprises caching the appointed content data packet and policy duration in the appointed sub-chain peer node; the service strategy carries the identifier of the sub-chain peer node;
the block chain content network platform sends the service strategy to the sub-chain peer node through the parent chain peer node according to the identifier of the sub-chain peer node;
the block chain content network platform determines that the content data packet is not cached in the first router according to the service strategy through the sub-chain peer node, and then sends the service strategy to the block chain SDK plug-in unit;
the block chain content network platform determines that the interest source table PIT contains the source information of the content data packet through the block chain SDK plug-in, and then acquires the content data packet according to the source information of the content data packet;
and the block chain content network platform sends the content data packet to a first router through the block chain SDK plug-in, monitors the first router to cache the content data packet, and does not delete the content data packet within the strategy duration.
2. The content management method according to claim 1, wherein the block chain content network platform sends the service policy to the child chain peer node through the parent chain peer node according to the identifier of the child chain peer node, and specifically includes:
the block chain content network platform positions the position of the sub-chain registration node through the parent chain peer node according to the identifier of the sub-chain peer node;
the block chain content network platform sends the service strategy to the sub-chain registration node through the parent chain peer node according to the position of the sub-chain registration node;
and the block chain content network platform sends the service strategy to the sub-chain peer node through the sub-chain registration node according to the identifier of the sub-chain peer node.
3. The content management method according to claim 1, wherein the blockchain content network platform, after determining that the content packet is not cached in the first router according to the service policy through the child chain peer node, sends the service policy to the blockchain SDK plug-in, further comprises:
the block chain content network platform determines that the interest source table PIT does not contain the source information of the content data packet through the block chain SDK plug-in;
and the block chain content network platform determines that the forwarding information of the content data packet is contained in a Forwarding Information Base (FIB) through the block chain SDK plug-in, and acquires the content data packet according to the forwarding information of the content data packet.
4. The method according to claim 1, wherein the blockchain content network platform, after determining that the content packet is not cached in the first router according to the service policy through the child chain peer node, sends the service policy to the blockchain SDK plug-in, further comprising:
the block chain content network platform determines that the interest source table PIT does not contain the source information of the content data packet through the block chain SDK plug-in;
the block chain content network platform determines that the forwarding information of the content data packet is not contained in a Forwarding Information Base (FIB) through the block chain SDK plug-in;
the block chain content network platform generates a content request message of the content data packet through the block chain SDK plug-in;
the block chain content network platform sequentially sends the content request messages to other routers according to a preset sequence through the block chain SDK plug-in, and receives the content data packet returned by a second router; the second router is a router which receives the content request message according to a preset sequence and caches the content data packet in the first router among other routers of the content request message.
5. A blockchain content networking platform, comprising:
the first control unit is used for receiving the service strategy sent by the operator through the parent chain peer node; the service strategy comprises caching an appointed content data packet and strategy duration in an appointed sub-chain peer node; the service strategy carries the identifier of the sub-chain peer node;
the first control unit is further configured to send the service policy to the child chain peer node through the parent chain peer node according to the identifier of the child chain peer node;
a second control unit, configured to determine, by the child chain peer node, that the content data packet is not cached in the first router according to the service policy sent by the first control unit through the parent chain peer node, and send the service policy to the block chain SDK plug-in;
the second control unit is further configured to determine, by the block chain SDK plug-in, that the interest source table PIT includes the source information of the content data packet, and acquire the content data packet according to the source information of the content data packet;
the second control unit is further configured to send the content data packet to the first router through the block chain SDK plug-in, monitor that the first router caches the content data packet, and not delete the content data packet within the policy duration.
6. The blockchain content network platform of claim 5, comprising:
the first control unit is specifically configured to locate, by the parent-chain peer node, a position of the child-chain registration node according to an identifier of the child-chain peer node;
the first control unit is further configured to send the service policy to the child chain registration node through the parent chain peer node according to the position of the child chain registration node;
the first control unit is further configured to send the service policy to the child chain peer node through the child chain registration node according to the identifier of the child chain peer node.
7. The blockchain content network platform of claim 5, further comprising:
the second control unit is further configured to determine, by the block chain SDK plug-in, that the interest source table PIT does not include the source information of the content data packet;
the second control unit is further configured to determine, through the block chain SDK plug-in, that forwarding information of the content data packet is included in a forwarding information base FIB, and then obtain the content data packet according to the forwarding information of the content data packet.
8. The blockchain content network platform of claim 5, further comprising:
the second control unit is further configured to determine, by the block chain SDK plug-in, that the interest source table PIT does not include the source information of the content data packet;
the second control unit is further configured to determine, by the block chain SDK plug-in, that forwarding information of the content data packet is not included in a forwarding information base FIB;
the second control unit is further configured to generate a content request packet of the content data packet through the block chain SDK plug-in;
the second control unit is further configured to sequentially send the content request packets to other routers according to a preset sequence through the block chain SDK plug-in, and receive the content data packet returned by the second router; the second router is a router which receives the content request message according to a preset sequence and caches the content data packet in the first router among other routers of the content request message.
9. A blockchain content network platform, wherein the structure of the blockchain content network platform comprises a processor and a memory, the memory is used for coupling with the processor and storing necessary program instructions and data of the blockchain content network platform, and the processor is used for executing the program instructions stored in the memory, so that the blockchain content network platform executes the network content management method according to any one of claims 1 to 4.
10. A computer storage medium having computer program code stored therein, which when run on a blockchain content network platform causes the blockchain content network platform to perform the network content management method of any one of claims 1 to 4.
CN201910727503.1A 2019-08-07 2019-08-07 Network content management method and block chain content network platform Active CN110557439B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910727503.1A CN110557439B (en) 2019-08-07 2019-08-07 Network content management method and block chain content network platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910727503.1A CN110557439B (en) 2019-08-07 2019-08-07 Network content management method and block chain content network platform

Publications (2)

Publication Number Publication Date
CN110557439A CN110557439A (en) 2019-12-10
CN110557439B true CN110557439B (en) 2022-02-11

Family

ID=68737135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910727503.1A Active CN110557439B (en) 2019-08-07 2019-08-07 Network content management method and block chain content network platform

Country Status (1)

Country Link
CN (1) CN110557439B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111259298B (en) * 2020-01-16 2023-06-27 深圳市华海同创科技有限公司 Topic generation method based on block chain, node server and storage medium
CN112800183B (en) * 2021-02-25 2023-09-26 国网河北省电力有限公司电力科学研究院 Content name data processing method and terminal equipment
CN113098984B (en) * 2021-06-02 2021-08-31 支付宝(杭州)信息技术有限公司 Method for forming multi-layer block chain system based on registration mechanism and block chain system
CN113569279B (en) * 2021-07-06 2024-03-26 招商银行股份有限公司 Data processing method, apparatus, device, medium and computer program product
CN113489733B (en) * 2021-07-13 2022-07-29 郑州轻工业大学 Content center network privacy protection method based on block chain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103001870A (en) * 2012-12-24 2013-03-27 中国科学院声学研究所 Collaboration caching method and system for content center network
CN106254069A (en) * 2016-09-07 2016-12-21 广东工业大学 Multi-layer security method for secret protection for content center network
CN106888171A (en) * 2015-12-15 2017-06-23 中国移动通信集团公司 A kind of processing method and processing device of data service
CN110035081A (en) * 2019-04-11 2019-07-19 中国电子科技集团公司电子科学研究院 A kind of publish/subscribe architectural framework based on block chain

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018125989A2 (en) * 2016-12-30 2018-07-05 Intel Corporation The internet of things
CN107301544A (en) * 2017-06-26 2017-10-27 北京泛融科技有限公司 A kind of safe Wallet System of block chain
CN110457918B (en) * 2019-01-09 2022-09-09 腾讯科技(深圳)有限公司 Method, device, node and medium for filtering illegal contents in block chain data
CN112187880B (en) * 2020-09-10 2022-03-18 中国联合网络通信集团有限公司 Network content management method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103001870A (en) * 2012-12-24 2013-03-27 中国科学院声学研究所 Collaboration caching method and system for content center network
CN106888171A (en) * 2015-12-15 2017-06-23 中国移动通信集团公司 A kind of processing method and processing device of data service
CN106254069A (en) * 2016-09-07 2016-12-21 广东工业大学 Multi-layer security method for secret protection for content center network
CN110035081A (en) * 2019-04-11 2019-07-19 中国电子科技集团公司电子科学研究院 A kind of publish/subscribe architectural framework based on block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
墨客科普,详解MOAC子链;淼淼淼淼;《知乎 https://zhuanlan.zhihu.com/p/68306447》;20190606;正文 *

Also Published As

Publication number Publication date
CN110557439A (en) 2019-12-10

Similar Documents

Publication Publication Date Title
CN110557439B (en) Network content management method and block chain content network platform
CN107819829B (en) Method and system for accessing block chain, block chain node point equipment and user terminal
WO2019200920A1 (en) Method for implementing instant messaging system on basis of block chain, and medium and computing device
JP7432686B2 (en) Probabilistic relay for efficient propagation in blockchain networks
US20100293294A1 (en) Peer-to-peer communication optimization
US9116893B2 (en) Network connected media gateway for communication networks
EP3639229A1 (en) Blockchain network interaction controller
JP2007058275A (en) Node device, shared information updating processing program, shared information updating method, and information-sharing system
CN112235420B (en) Data synchronization method, system and related equipment based on block chain
CN107733950B (en) Method and device for accessing website
KR102160494B1 (en) Network nodes, endpoint nodes, and how to receive messages of interest
EP3176994B1 (en) Explicit content deletion commands in a content centric network
US11025738B2 (en) Systems and methods for determining a destination location for transmission of packetized data in a network system based on an application server attribute
JP2016059039A (en) Interest keep alive in intermediate router in ccn
JP2013542681A (en) Content sharing method and apparatus using group change information in content-centric network environment
KR20140007363A (en) Site-aware distributed file system access from outside enterprise network
US20140258490A1 (en) Communication method of administration node, requesting node, and normal node for deleting invalid content using content revocation list in content centric network
US20130054691A1 (en) Flexible rule based multi-protocol peer-to-peer caching
CN110557438B (en) Network content management method and block chain content network platform
CN111835801B (en) File downloading method, device, server, edge equipment, terminal and medium
JP5716745B2 (en) Data transfer system
US9755949B2 (en) Network failover and loop detection in hierarchical networks
WO2018214792A1 (en) Method and device for traffic control of user equipment
US8881242B2 (en) Information communication system, information communication method, node apparatus and recording medium
US9444724B2 (en) Router, method for using cache when content server is unreachable, and program

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