CN109587225A - Information push method, device, server, network node based on NDN network - Google Patents

Information push method, device, server, network node based on NDN network Download PDF

Info

Publication number
CN109587225A
CN109587225A CN201811393276.5A CN201811393276A CN109587225A CN 109587225 A CN109587225 A CN 109587225A CN 201811393276 A CN201811393276 A CN 201811393276A CN 109587225 A CN109587225 A CN 109587225A
Authority
CN
China
Prior art keywords
information
file
interest packet
subscriber
packet
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.)
Pending
Application number
CN201811393276.5A
Other languages
Chinese (zh)
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.)
Quantum Cloud Future (beijing) Mdt Infotech Ltd
Original Assignee
Quantum Cloud Future (beijing) Mdt Infotech 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 Quantum Cloud Future (beijing) Mdt Infotech Ltd filed Critical Quantum Cloud Future (beijing) Mdt Infotech Ltd
Priority to CN201811393276.5A priority Critical patent/CN109587225A/en
Publication of CN109587225A publication Critical patent/CN109587225A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a kind of information push method based on NDN network, device, server, network node and storage mediums.The information push method belongs to electronic communication technology field, comprising: sends interest packet solicited message, the interest packet solicited message includes the information of file, subscriber identity;Interest packet is received, the interest packet is the information that the corresponding subscriber of the subscriber identity sends according to the information of the file;Data packet is sent to the subscriber, the data packet includes the file.The embodiment of the present invention has the advantages that file server actively can send interest packet request message to subscriber, the subscriber is when receiving interest packet request message, just send interest packet, network congestion caused by sending interest packet so as to avoid in the prior art, subscriber continues not stop paying out.

Description

Information push method, device, server, network node based on NDN network
Technical field
The present embodiments relate to electronic communication technology fields, and in particular to a kind of message push side based on NDN network Method, device, server, network node.
Background technique
It names data network (Named Data Networking, NDN) for a kind of framework based on data, is made with data Unique identification for the entity in network, using " name " as data.NDN defines the data of two kinds of formats, one is with In the data for sending request, " interest packet (Interest packet) " can be described as;Another kind is the data comprising content, can be claimed For " data packet (data packet) ".The data of every kind of format all use name as unique identification, such as: the name of interest packet Word obtains the request of content for the unique identification interest packet, and the name of data packet is for the interior of the unique identification packet load Hold.
The driving force communicated in NDN network is only responsible for publication content often from subscriber, publisher, this just needs to order Reader continue not stop paying out send interest packet with asked whether new content publication to publisher, to know whether to have issued in new Hold.Cause the quantity of interest packet on network more in this way, may cause network congestion when interest packet reaches certain amount grade.
Summary of the invention
For this purpose, the embodiment of the present invention provides a kind of information push method based on NDN network, device, server, network section Point and storage medium, with solve in the prior art due to subscriber continue not stop paying out send interest packet caused by network congestion ask Topic.
To achieve the goals above, embodiments of the present invention provide the following technical solutions:
In the first aspect of embodiments of the present invention, a kind of information push method based on NDN network is provided, is wrapped It includes: sending interest packet solicited message, the interest packet solicited message includes the information of file, subscriber identity;Interest packet is received, The interest packet is the information that the corresponding subscriber of the subscriber identity sends according to the information of the file;To the subscription Person sends data packet, and the data packet includes the file.
In one embodiment of the invention, before the transmission interest packet solicited message, the information push method Further include: obtain information, the Subscriber Information of the file;It is ordered according to the information of the file, Subscriber Information's generation Reader's mark.
In another embodiment of the invention, described that the subscription is generated according to the information of the file, Subscriber Information Person's mark includes generating the subscriber identity, the reference according to the information of the file, Subscriber Information and reference information Information includes distributor information and/or random value;The information of the file includes following any one or more: the text of the file Part name, md5 value, store path, URL, publisher, issuing time.
In yet another embodiment of the present invention, after the transmission interest packet solicited message, the message push side Method further include: when being not received by confirmation message in the preset time after the transmission interest packet solicited message, send The interest packet solicited message.
In the second aspect of embodiments of the present invention, a kind of information push method based on NDN network is provided, is wrapped It includes: receiving the interest packet solicited message that file server is sent, the interest packet solicited message includes the information of file, subscriber Mark;Interest packet is sent to the file server, the interest packet is the corresponding subscriber of the subscriber identity according to institute State the information that the information of file is sent;The data packet that file server is sent is received, the data packet includes the file.
In the third aspect of embodiments of the present invention, a kind of message driving means based on NDN network is provided, is wrapped Include: the first transmission unit, for sending interest packet solicited message, the interest packet solicited message includes the information of file, subscribes to Person's mark;First receiving unit, for receiving interest packet, the interest packet be the corresponding subscriber of the subscriber identity according to The information that the information of the file is sent;First transmission unit is also used to send data packet, the number to the subscriber It include the file according to packet.
In the fourth aspect of embodiments of the present invention, a kind of message driving means based on NDN network is provided, is wrapped Include: the second receiving unit, for receiving the interest packet solicited message of file server transmission, the interest packet solicited message includes The information of file, subscriber identity;Second transmission unit, for sending interest packet, the interest packet to the file server The information sent for the corresponding subscriber of the subscriber identity according to the information of the file;Second receiving unit, for connecing The data packet that file server is sent is received, the data packet includes the file.
In the 5th aspect of embodiments of the present invention, provide a kind of file server, including first processor and First memory;Wherein, the first memory store code;The first processor executes the code, for executing the Information push method described in one side.
In the 6th aspect of embodiments of the present invention, provide a kind of NDN network node, including second processor and Second memory;Wherein, the second memory store code;The second processor executes the code, for executing the Information push method described in two aspects.
In the 7th aspect of embodiments of the present invention, a kind of computer-readable storage medium for storing program is provided Matter, described program includes instruction, when described instruction is computer-executed, the computer is made to execute message described in first aspect Information push method described in method for pushing or second aspect.
Embodiment according to the present invention, the information push method provided in an embodiment of the present invention based on NDN network, dress It sets, server, network node and storage medium have the advantages that file server actively can send interest packet to subscriber Request message, which just sends interest packet when receiving interest packet request message, so as to avoid in the prior art, Subscriber continues not stop paying out send interest packet caused by network congestion.
Detailed description of the invention
It, below will be to embodiment party in order to illustrate more clearly of embodiments of the present invention or technical solution in the prior art Formula or attached drawing needed to be used in the description of the prior art are briefly described.It should be evident that the accompanying drawings in the following description is only It is merely exemplary, it for those of ordinary skill in the art, without creative efforts, can also basis The attached drawing of offer, which is extended, obtains other implementation attached drawings.
Fig. 1 is a kind of information push method flow chart based on NDN network that one embodiment of the invention provides;
Fig. 2 is the information push method flow chart based on NDN network that another embodiment of the present invention provides;
Fig. 3 is the message driving means structural schematic diagram based on NDN network that another embodiment of the present invention provides;
Fig. 4 is the message driving means structural schematic diagram based on NDN network that another embodiment of the present invention provides;
Fig. 5 is a kind of file server structural schematic diagram that another embodiment of the present invention provides;
Fig. 6 is a kind of NDN network node structure schematic diagram that another embodiment of the present invention provides.
In figure: 31. first transmission units, 32. first receiving units, 41. second receiving units, 42. second transmission units, 51. first processor, 52. first memories, 61. second processors, 62. second memories.
Specific embodiment
Embodiments of the present invention are illustrated by particular specific embodiment below, those skilled in the art can be by this explanation Content disclosed by book is understood other advantages and efficacy of the present invention easily, it is clear that described embodiment is the present invention one Section Example, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
It include multiple NDN nets in the applicable framework of information push method provided in an embodiment of the present invention based on NDN network Network node, at least one node in multiple NDN network nodes can be file server.One in multiple NDN network nodes A or multiple nodes can be terminal used in subscriber.In file server file publishing, file server is according to hair The information of the file of cloth sends interest packet solicited message to subscriber, and terminal used in subscriber is receiving the request of interest packet When information, interest packet is just sent, to obtain the file of publication.If terminal used in subscriber is not received by interest packet and asks Information is sought, then does not send interest packet.
In order to facilitate narration, the terminal in embodiments of the present invention using subscriber is known as subscriber, by file service Device is known as publisher.
Next it is specifically introduced in the scheme of the embodiment of the present invention.
Embodiment 1
A kind of information push method based on NDN network is present embodiments provided, the executing subject of this method is file clothes Business device.With reference to Fig. 1, which includes the following steps.
Step 11 sends interest packet solicited message, and the interest packet solicited message includes the information of file, subscriber's mark Know.
Interest packet solicited message is what file server was sent, i.e., what publisher sent sends interest for the person of pulling subscription The information of packet.
Subscriber identity is a unique identification code in NDN network, is used for unique identification subscriber.
In one example, before the transmission interest packet solicited message, file server obtains the letter of the file Breath, Subscriber Information;The subscriber identity is generated according to the information of the file, Subscriber Information.In this example, some Or content of certain several Subscriber subscriptions in terms of certain, file server in file publishing obtain the information of the file of publication With the information of subscriber, so as to obtain the subscriber for having subscribed this document, or to the subscriber that this document is interested in, into And it can be with the subscriber identity of these subscribers.
In one example, described to include according to the information of the file, Subscriber Information's generation subscriber identity The subscriber identity is generated according to the information of the file, Subscriber Information and reference information, the reference information includes hair Cloth person information and/or random value;The information of the file includes following any one or more: filename, the md5 of the file Value, store path, URL, publisher, issuing time.The filename of the file, md5 value, store path, URL, publisher, hair Cloth time etc. is determined for the file of publication.
In one example, after the transmission interest packet solicited message, the information push method further include: when When being not received by confirmation message in the preset time after the transmission interest packet solicited message, the interest packet request is sent Information.In the example, when the terminal of subscriber receives interest packet solicited message, to file server feedback acknowledgment information, To indicate to have received interest packet solicited message.If within a preset time, file server is not received by confirmation message, then may be used To think that subscriber is not received by interest packet solicited message, i.e., interest packet solicited message sends failure, and then sends again emerging Interesting packet solicited message.Preset time can be manager's pre-set time, or file server is network-like to NDN Condition is assessed, the time being arranged according to assessment result.Network in the prior art is also referred to the assessment of NDN Network status Appraisal procedure, details are not described herein again.
Step 12 receives interest packet, and the interest packet is the corresponding subscriber of the subscriber identity according to the file Information send information.
That is, in the present embodiment, when being not received by interest packet solicited message, packet of not taking up is only being received When to interest packet solicited message, interest packet is just sent.
It include subscriber identity in interest packet solicited message, therefore, interest packet solicited message can be forwarded in NDN network To terminal used in subscriber.
Step 13, Xiang Suoshu subscriber send data packet, and the data packet includes the file.
When receiving the data packet of subscriber's transmission, file server sends data packet to subscriber, so that subscriber The file of available publication.
Information push method provided in this embodiment based on NDN network has the following advantages: file server can be actively Interest packet request message is sent to subscriber, which just sends interest packet when receiving interest packet request message, thus Avoid in the prior art, subscriber continues not stop paying out send interest packet caused by network congestion.
Embodiment 2
Present embodiments provide a kind of information push method based on NDN network, the executing subject of the information push method For NDN network node.With reference to Fig. 2, which includes the following steps:
Step 21 receives the interest packet solicited message that file server is sent, and the interest packet solicited message includes file Information, subscriber identity;
Step 22, Xiang Suoshu file server send interest packet, and the interest packet, which is that the subscriber identity is corresponding, to be ordered The information that reader sends according to the information of the file;
Step 23 receives the data packet that file server is sent, and the data packet includes the file.
The content that information push method provided in this embodiment can be recorded with reference implementation example 1, details are not described herein again.
Information push method provided in this embodiment based on NDN network has the following advantages: file server can be actively Interest packet request message is sent to subscriber, which just sends interest packet when receiving interest packet request message, thus Avoid in the prior art, subscriber continues not stop paying out send interest packet caused by network congestion.
Embodiment 3
A kind of message driving means based on NDN network is present embodiments provided, as shown in Figure 3, comprising:
First transmission unit 31, for sending interest packet solicited message, the interest packet solicited message includes the letter of file Breath, subscriber identity;
First receiving unit 32, for receiving interest packet, the interest packet is the corresponding subscriber of the subscriber identity The information sent according to the information of the file;
First transmission unit 31 is also used to send data packet to the subscriber, and the data packet includes the text Part.
The function of message driving means each functional unit provided in this embodiment based on NDN network can be with reference implementation example 1 content recorded realizes that details are not described herein again.
Message driving means provided in this embodiment based on NDN network has the following advantages: file server can be actively Interest packet request message is sent to subscriber, which just sends interest packet when receiving interest packet request message, thus Avoid in the prior art, subscriber continues not stop paying out send interest packet caused by network congestion.
Embodiment 4
A kind of message driving means based on NDN network is present embodiments provided, as shown in Figure 4, comprising:
Second receiving unit 41, for receiving the interest packet solicited message of file server transmission, the interest packet request Information includes the information of file, subscriber identity;
Second transmission unit 42, for sending interest packet to the file server, the interest packet is the subscriber Identify the information that corresponding subscriber sends according to the information of the file;
Second receiving unit 41, for receiving the data packet of file server transmission, the data packet includes the file.
The function of message driving means each functional unit provided in this embodiment based on NDN network can be with reference implementation example 1 content recorded realizes that details are not described herein again.
Message driving means provided in this embodiment based on NDN network has the following advantages: file server can be actively Interest packet request message is sent to subscriber, which just sends interest packet when receiving interest packet request message, thus Avoid in the prior art, subscriber continues not stop paying out send interest packet caused by network congestion.
Embodiment 5
A kind of file server is present embodiments provided, as shown in figure 5, including first processor 51 and first memory 52;Wherein,
52 store code of first memory;
The first processor 51 executes the code, for executing information push method described in embodiment 1.
File server provided in this embodiment has the following advantages: file server actively can send interest to subscriber Packet request message, the subscriber send interest packet, just when receiving interest packet request message so as to avoid the prior art In, subscriber continues not stop paying out send interest packet caused by network congestion.
Embodiment 6
A kind of NDN network node is present embodiments provided, as shown in fig. 6, including second processor 61 and second memory 62;Wherein,
62 store code of second memory;
The second processor 61 executes the code, for executing information push method described in embodiment 1.
NDN network node provided in this embodiment has the following advantages: file server can actively send to subscriber emerging Interesting packet request message, the subscriber send interest packet, just when receiving interest packet request message so as to avoid the prior art In, subscriber continues not stop paying out send interest packet caused by network congestion.
Embodiment 7
A kind of computer readable storage medium for storing program is present embodiments provided, described program includes instruction, described Instruction is when being computer-executed, and the computer is made to execute information push method described in embodiment 1 or as described in example 2 disappear Cease method for pushing.
The computer readable storage medium of storage program provided in this embodiment has the following advantages: file server can be led Trend subscriber sends interest packet request message, which just sends interest packet when receiving interest packet request message, from And avoid in the prior art, subscriber continues not stop paying out send interest packet caused by network congestion.
Although above having used general explanation and specific embodiment, the present invention is described in detail, at this On the basis of invention, it can be made some modifications or improvements, this will be apparent to those skilled in the art.Therefore, These modifications or improvements without departing from theon the basis of the spirit of the present invention are fallen within the scope of the claimed invention.

Claims (10)

1. a kind of information push method based on NDN network characterized by comprising
Interest packet solicited message is sent, the interest packet solicited message includes the information of file, subscriber identity;
Interest packet is received, the interest packet is what the corresponding subscriber of the subscriber identity sent according to the information of the file Information;
Data packet is sent to the subscriber, the data packet includes the file.
2. information push method according to claim 1, which is characterized in that the transmission interest packet solicited message it Before, the information push method further include:
Obtain information, the Subscriber Information of the file;
The subscriber identity is generated according to the information of the file, Subscriber Information.
3. information push method according to claim 2, which is characterized in that the information according to the file, subscription Person's information generates the subscriber identity
The subscriber identity, the reference information packet are generated according to the information of the file, Subscriber Information and reference information Include distributor information and/or random value;
The information of the file includes following any one or more:
The filename of the file, md5 value, store path, URL, publisher, issuing time.
4. information push method according to claim 1, which is characterized in that the transmission interest packet solicited message it Afterwards, the information push method further include:
When being not received by confirmation message in the preset time after the transmission interest packet solicited message, send described emerging Interesting packet solicited message.
5. a kind of information push method based on NDN network characterized by comprising
The interest packet solicited message that file server is sent is received, the interest packet solicited message includes the information of file, subscribes to Person's mark;
Interest packet is sent to the file server, the interest packet is the corresponding subscriber of the subscriber identity according to described The information that the information of file is sent;
The data packet that file server is sent is received, the data packet includes the file.
6. a kind of message driving means based on NDN network characterized by comprising
First transmission unit, for sending interest packet solicited message, the interest packet solicited message includes the information of file, subscribes to Person's mark;
First receiving unit, for receiving interest packet, the interest packet is the corresponding subscriber of the subscriber identity according to institute State the information that the information of file is sent;
First transmission unit is also used to send data packet to the subscriber, and the data packet includes the file.
7. a kind of message driving means based on NDN network characterized by comprising
Second receiving unit, for receiving the interest packet solicited message of file server transmission, the interest packet request packet Include information, the subscriber identity of file;
Second transmission unit, for sending interest packet to the file server, the interest packet is the subscriber identity couple The information that the subscriber answered sends according to the information of the file;
Second receiving unit, for receiving the data packet of file server transmission, the data packet includes the file.
8. a kind of file server, which is characterized in that including first processor and first memory;Wherein,
The first memory store code;
The first processor executes the code, requires the described in any item information push methods of 1-4 for perform claim.
9. a kind of NDN network node, which is characterized in that including second processor and second memory;Wherein,
The second memory store code;
The second processor executes the code, for information push method described in perform claim requirement 5.
10. a kind of computer readable storage medium for storing program, which is characterized in that described program includes instruction, described instruction When being computer-executed, the computer perform claim is made to require the described in any item information push methods of 1-4 or claim 5 The information push method.
CN201811393276.5A 2018-11-21 2018-11-21 Information push method, device, server, network node based on NDN network Pending CN109587225A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811393276.5A CN109587225A (en) 2018-11-21 2018-11-21 Information push method, device, server, network node based on NDN network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811393276.5A CN109587225A (en) 2018-11-21 2018-11-21 Information push method, device, server, network node based on NDN network

Publications (1)

Publication Number Publication Date
CN109587225A true CN109587225A (en) 2019-04-05

Family

ID=65923674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811393276.5A Pending CN109587225A (en) 2018-11-21 2018-11-21 Information push method, device, server, network node based on NDN network

Country Status (1)

Country Link
CN (1) CN109587225A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110099226A1 (en) * 2009-03-17 2011-04-28 Nec (China) Co., Ltd. Method of requesting for location information of resources on network, user node and server for the same
CN103095710A (en) * 2013-01-17 2013-05-08 北京交通大学 Broadcast encryption transmission method in network based on identification and centering on contents
CN104052661A (en) * 2013-03-11 2014-09-17 华为技术有限公司 Container name server and container name analysis method
CN105743983A (en) * 2016-03-04 2016-07-06 中山大学 Named data vehicle-mounted network data distribution method based on navigation route
CN107181683A (en) * 2017-05-23 2017-09-19 中山大学 With reference to name data network and the In-vehicle networking data distribution route maintenance method of road name

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110099226A1 (en) * 2009-03-17 2011-04-28 Nec (China) Co., Ltd. Method of requesting for location information of resources on network, user node and server for the same
CN103095710A (en) * 2013-01-17 2013-05-08 北京交通大学 Broadcast encryption transmission method in network based on identification and centering on contents
CN104052661A (en) * 2013-03-11 2014-09-17 华为技术有限公司 Container name server and container name analysis method
CN105743983A (en) * 2016-03-04 2016-07-06 中山大学 Named data vehicle-mounted network data distribution method based on navigation route
CN107181683A (en) * 2017-05-23 2017-09-19 中山大学 With reference to name data network and the In-vehicle networking data distribution route maintenance method of road name

Similar Documents

Publication Publication Date Title
CN106528432B (en) The construction method and device of test scene data bury a test method
CN104980289B (en) Information push method, device and system
CN103905508B (en) Cloud platform application dispositions method and device
CN104714965B (en) Static resource De-weight method, static resource management method and device
CN105359487B (en) The method for going reference monitoring NAT behavior by the URI in web browser
CN104301443A (en) Method and system for calling end capacity ports on web page
CN110109766B (en) Data interaction method and device based on cross-department and cross-platform data sharing exchange
CN106412034B (en) Method for processing business and device
CN101521633A (en) Method and device for delivering message in instant communication
CN107357890A (en) A kind of web page files processing method, apparatus and system and storage device
CN109379271A (en) A kind of service interaction method based on IM, equipment and storage medium
CN106055612A (en) Data paging display method and terminal equipment
CN110910143A (en) Identity identification generation method, device, related node and medium
US20100211674A1 (en) Community generation support system, community generation support method, and community generation support program
CN101170540A (en) A XML document management method, client and server
CN105281987B (en) Router and data uploading method, device, system
CN109218447A (en) Media file distribution method and file distributing platform
CN104216739B (en) A kind of download process method and device, terminal
CN109213955A (en) Data processing method and relevant device
CN109587225A (en) Information push method, device, server, network node based on NDN network
CN103678332A (en) System, browser and method for displaying page
CN110136018A (en) A kind of intelligence adds method, equipment and the system of social good friend
CN106295309A (en) The management method of a kind of announcement information and equipment
CN114448776A (en) Link tracking method and device
CN109688204A (en) Document down loading method, device based on NDN network, node, terminal

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190405

RJ01 Rejection of invention patent application after publication