CN110460633A - A kind of internet of things networking internodal data synchronization transfer method of content oriented - Google Patents
A kind of internet of things networking internodal data synchronization transfer method of content oriented Download PDFInfo
- Publication number
- CN110460633A CN110460633A CN201910582584.0A CN201910582584A CN110460633A CN 110460633 A CN110460633 A CN 110460633A CN 201910582584 A CN201910582584 A CN 201910582584A CN 110460633 A CN110460633 A CN 110460633A
- Authority
- CN
- China
- Prior art keywords
- data
- request
- packet
- transmission
- content
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Abstract
The invention discloses a kind of internet of things networking internodal data synchronization transfer method of content oriented, it can be realized and transmit the one-to-one matching of packet and synchronous transmitting-receiving between data transmit-receive end, to guarantee that data are relatively reliable, efficient transmission.It is characterized in that, the beginning and end of communicating pair data synchronous transfer is realized with three-way handshake communication synchronization mode, i.e. before data transmission, request of data end and data publishing side are attached confirmation by the transmitting of content transmission packet three times, and the transmitting that whens the data transfer ends carries out content transmission packet three times again carries out data transmission the confirmation terminated.Main working process is that one end in communicating pair sends the transmission packet for indicating to be confirmed whether to send request, and the other end sends the transmission packet for indicating that request data transmission starts or terminates, and finally passback indicates the transmission packet of response request.By transmitting transmitting, the matching of packet three times, clock synchronism when data transmission ensure that.
Description
Technical field
The present invention relates to the internet of things networking communications fields, especially for the internet of things networking internodal data of content oriented
The clock synchronization issue of transmission.
Background technique
Information centre's network (Information-Centric Networking, ICN) is a kind of completely new interconnection Netcom
Believe architectural framework.The architectural framework establishes traffic model on the basis of mark data, drives by using content requestor
Dynamic communication pattern fundamentally changes the encapsulating structure and addressing system of IP packet, is conducive to that mobile communication equipment is transregional to be cut
It changes, reduces communication delay, solve and can not cope with high-speed mobile communications under conventional internet framework, IP address space exhausts, net
The problems such as transmission efficiency is low for network, safety is poor.
Naming data network (Name Data Networking, NDN) is the one of Future-oriented Internet Architecture special item
A basic research information centre network articles, NDN architecture is similar compared on the whole with TCP/IP architecture, is all point
Layer " hourglass " type structure, it is such design so that NDN agreement be similarly provided with it is general can spreadability, finally become very clever
It is living.Its communication is based on two transmission Packet types, and one is request packet (Interest), another kind is data packet (Data), and two
Person matches according to complete or opposite name.Any network node for receiving the request packet, can satisfy this if possessed
The data of a request packet just reply a data packet, to send receiving end for data content.The transmission of data packet is only made
For the response to request packet, data packet itself does not need to carry out routing forwarding, it is only simply transmitted along request packet
Reverse path returns.This communication strategy is driven by requesting party completely, helps to realize the balance of data flow in network to reach
The effect of flow control.Data packet during transmission can be by router cache, to meet subsequent identical data resource
Request, to realize the multiplexing of data.It truly realizes content to share, intelligently forward, reduces network load, improve
The transmission rates of data in a network, for scalability, mobility required for Internet of Things provide support.
In the automated data transmission process of the internet of things networking of content oriented, once transmission packet title is not matched into
Function, data transmission will be interrupted, and will lead to transmission packet time-out for a long time, need artificially to carry out data transmission the recovery of process.Cause
This, in order to carry out more efficient, reliable transmission, how to guarantee to transmit between data transmit-receive end the one-to-one matching of packet with it is synchronous
Transmitting-receiving is a problem to be solved.
Summary of the invention
For the prior art, a kind of internet of things networking internodal data synchronous transfer side of content oriented proposed by the present invention
Method realizes the beginning and end of communicating pair data synchronous transfer mainly with three-way handshake communication synchronization mode, passes in data
Before defeated, request of data end and data publishing side are attached confirmation, the data transfer ends by the transmitting of content transmission packet three times
The transmitting that Shi Zaici carries out content transmission packet three times carries out data transmission the confirmation terminated, to realize the one-to-one matching of data
And synchronous transfer.
The internet of things networking internodal data synchronization transfer method of content oriented of the present invention, comprising:
Before data transmission, when establishing data transmission connection, request of data end, which is sent, indicates that request starts data transmission
Request packet waits the confirmation of data publication end;After data publication end receives the request packet, content routing table is inquired, if the content
There is the entry of same names or longest common prefix title in routing table, then return content-data packet corresponding with the entry,
Data publication end enters preparation transmission state;After request of data end acknowledges receipt of above content data packet, then start to send out to data
Cloth end sends the request packet of request actual data, which is sent, and communication both ends are successfully established connection;Then, data
Publishing side and data request end start to carry out data transmission;
In the data transfer ends, when needing turn-off data transmission connection, request of data end receives last a content-data
Packet;Request of data end, which is sent, indicates that request stops the request packet of data transmission, waits the confirmation of data publication end;It receives at data publication end
To after the request packet, content routing table is inquired, if there is the entry of same names or longest common prefix in content routing table,
Content-data packet corresponding with the entry is then returned, data publication end enters stopping transmission state, which has sent
Finish, communication both ends disconnect;Data publication end and data request end data transmission procedure stop.
Compared with prior art, the present invention, which can be realized, transmits the one-to-one matching of packet between data transmit-receive end and receives with synchronous
Hair, to guarantee that data are relatively reliable, efficient transmission.
Detailed description of the invention
Fig. 1 is the course of work signal that communicating pair establishes that connection starts data transmission and disconnects stopping data transmission
Figure.
Specific embodiment
Technical solution of the present invention is described in further detail in the following with reference to the drawings and specific embodiments, it is described specific
Embodiment is only explained the present invention, is not intended to limit the invention.
A kind of internet of things networking internodal data synchronization transfer method of content oriented proposed by the present invention, can satisfy face
The transmission synchronous to the internet of things networking internodal data clock of content.Realize beginning and the knot of communicating pair data synchronous transfer
Beam need to carry out the confirmation process of content transmission packet three times, comprising:
Before data transmission, when establishing data transmission connection, request of data end, which is sent, indicates that request starts data transmission
Request packet waits the confirmation of data publication end;After data publication end receives the request packet, content routing table is inquired, if the content
There is the entry of same names or longest common prefix title in routing table, then return content-data packet corresponding with the entry,
Data publication end enters preparation transmission state;After request of data end acknowledges receipt of above content data packet, then start to send out to data
Cloth end sends the request packet of request actual data, which is sent, and communication both ends are successfully established connection;Then, data
Publishing side and data request end start to carry out data transmission;
In the data transfer ends, when needing turn-off data transmission connection, request of data end receives last a content-data
Packet;Request of data end, which is sent, indicates that request stops the request packet of data transmission, waits the confirmation of data publication end;It receives at data publication end
To after the request packet, content routing table is inquired, if there is the entry of same names or longest common prefix in content routing table,
Content-data packet corresponding with the entry is then returned, data publication end enters stopping transmission state, which has sent
Finish, communication both ends disconnect;Data publication end and data request end data transmission procedure stop.
For above-mentioned overall operation process, steps are as follows for concrete implementation:
1, when communicating pair need to establish data transmission connection, request of data end sends the request packet of " request data transmission ";
2, data publication end receives the request packet, inquires content routing table, if having same names or longest public in table
The entry of prefix altogether, then the content along the reverse path passback corresponding entry of request packet transmission is the data packet of " ready ";
3, request of data end receives the content-data packet, and confirmation packet content is " ready ", then starts to data
Publishing side sends the request packet of request actual data;
4, data publication end returns corresponding content-data packet;
5, when communicating pair needs turn-off data transmission connection, request of data end sends the request packet of " stopping data transmission ";
6, data publication end receives the request packet, inquires content routing table, if having same names or longest public in table
The entry of prefix altogether, then the content along the reverse path passback corresponding entry of request packet transmission is the data packet of " stopping passback ";
7, request of data end receives the content-data packet, and confirmation packet content is " stopping passback ", then data communication mistake
Journey terminates.
Embodiment:
In the present invention, realize that the specific example of data synchronous transfer is as described below using the Internet of Things of name data network:
Start before carrying out data transmission, carries out transmitting packet confirmation process three times.For the first time: when establishing connection, request of data
End sends the request packet named with " ndn/request ", indicates that request carries out data transmission, and waits the confirmation of data publication end;The
Secondary: data publication end receives the request packet, content routing table is inquired, if having same names or longest common prefix in table
Entry, then along request packet transmission reverse path passback corresponding entry with " ready " be content data packet, make and answering
It answers, agrees to start data transmission procedure, data publication end enters numerical nomenclature and is packaged, prepares transmission state;For the third time: number
This content-data packet is received according to request end, confirms packet content, then starts to send number to data publication end if it is " ready "
According to request packet, this packet is sent, and communication both ends are successfully established connection.After connection is established, data publication end and data request end
Start to carry out data transmission, as shown in Fig. 1 left half.
When need to stop data transmission, packet confirmation process is transmitted three times again.For the first time: normal data transfer situation
Under, request of data end receives last a content-data packet, waits the confirmation of request of data end;Second: request of data end is sent
With the request packet that " ndn/over " is named, the confirmation of data publication end is waited;For the third time: data publication end receives the request packet, looks into
Content routing table is ask, if there is the entry of same names or longest common prefix in table, along the opposite road of request packet transmission
What diameter returned corresponding entry take " ok " as the data packet of content, is responded, and agrees to stop data transmission procedure, data hair
Cloth end, which enters, stops data packing, transmission state.This packet is sent, and communication both ends disconnect, data publication end and data
Request end data transmission procedure stops, as shown in Fig. 1 right half.
To sum up, the internet of things networking internodal data synchronization transfer method of content oriented of the present invention, main working process be,
One end in communicating pair sends the transmission packet for indicating to be confirmed whether to send request, and the other end, which is sent, indicates that request data passes
The transmission packet of defeated beginning or end, finally passback indicates the transmission packet of response request.By transmitting transmitting, the matching of packet three times,
It ensure that clock synchronism when data transmission.
Although above in conjunction with attached drawing, invention has been described, and the invention is not limited to above-mentioned specific implementations
Mode, the above mentioned embodiment is only schematical, rather than restrictive, and those skilled in the art are at this
Under the enlightenment of invention, without deviating from the spirit of the invention, many variations can also be made, these belong to of the invention
Within protection.
Claims (2)
1. a kind of internet of things networking internodal data synchronization transfer method of content oriented, which is characterized in that logical with three-way handshake
Believe that synchronous mode realizes the beginning and end of communicating pair data synchronous transfer, before data transmission, request of data end and data
Publishing side is attached confirmation by the transmitting of content transmission packet three times, and whens the data transfer ends carries out content transmission three times again
The transmitting of packet carries out data transmission the confirmation terminated, to realize the one-to-one matching and synchronous transfer of data.
2. the internet of things networking internodal data synchronization transfer method of content oriented according to claim 1, which is characterized in that
Before data transmission, when establishing data transmission connection, request of data end, which is sent, indicates that request starts the request packet of data transmission, waits
The confirmation of data publication end;After data publication end receives the request packet, content routing table is inquired, if having phase in the content routing table
With the entry of title or longest common prefix title, then return content-data packet corresponding with the entry, data publication end into
Enter to prepare transmission state;After request of data end acknowledges receipt of above content data packet, then starts to send to data publication end and request
The request packet of actual data, the request packet are sent, and communication both ends are successfully established connection;Then, data publication end and data
Request end starts to carry out data transmission;
The data transfer ends, when turn-off data transmission connects, request of data end receives last a content-data packet;Request of data
End, which is sent, indicates that request stops the request packet of data transmission, waits the confirmation of data publication end;Data publication end receives the request packet
Afterwards, content routing table is inquired, if there is the entry of same names or longest common prefix in content routing table, returns and is somebody's turn to do
The corresponding content-data packet of entry, data publication end enter stopping transmission state, which is sent, and communicate both ends
It disconnects;Data publication end and data request end data transmission procedure stop.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910582584.0A CN110460633A (en) | 2019-06-29 | 2019-06-29 | A kind of internet of things networking internodal data synchronization transfer method of content oriented |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910582584.0A CN110460633A (en) | 2019-06-29 | 2019-06-29 | A kind of internet of things networking internodal data synchronization transfer method of content oriented |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110460633A true CN110460633A (en) | 2019-11-15 |
Family
ID=68481867
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910582584.0A Pending CN110460633A (en) | 2019-06-29 | 2019-06-29 | A kind of internet of things networking internodal data synchronization transfer method of content oriented |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110460633A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2533492A2 (en) * | 2011-06-09 | 2012-12-12 | Samsung Electronics Co., Ltd. | A node device and method to prevent overvlow of pending interest table in name based network system |
CN103167191A (en) * | 2011-12-19 | 2013-06-19 | 中国科学院声学研究所 | Detection method of speaker in telephone conference based on NDN |
US20130166668A1 (en) * | 2011-12-21 | 2013-06-27 | Samsung Electronics Co., Ltd. | Method and apparatus to process interest messages and data messages based on priorities in content-centric network (ccn) |
CN103457999A (en) * | 2013-08-06 | 2013-12-18 | 北京大学深圳研究生院 | P2P document transmission method based on NDN network architecture |
CN104052661A (en) * | 2013-03-11 | 2014-09-17 | 华为技术有限公司 | Container name server and container name analysis method |
US20160043963A1 (en) * | 2014-08-11 | 2016-02-11 | Cisco Technology, Inc. | Maintaining Named Data Networking (NDN) Flow Balance with Highly Variable Data Object Sizes |
CN106878310A (en) * | 2017-02-22 | 2017-06-20 | 吉林大学 | A kind of method of real-time streaming data distribution under name data network |
CN107454142A (en) * | 2017-06-29 | 2017-12-08 | 北京邮电大学 | Non- the obstruction content buffering method and device of a kind of content router |
-
2019
- 2019-06-29 CN CN201910582584.0A patent/CN110460633A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2533492A2 (en) * | 2011-06-09 | 2012-12-12 | Samsung Electronics Co., Ltd. | A node device and method to prevent overvlow of pending interest table in name based network system |
CN103167191A (en) * | 2011-12-19 | 2013-06-19 | 中国科学院声学研究所 | Detection method of speaker in telephone conference based on NDN |
US20130166668A1 (en) * | 2011-12-21 | 2013-06-27 | Samsung Electronics Co., Ltd. | Method and apparatus to process interest messages and data messages based on priorities in content-centric network (ccn) |
CN104052661A (en) * | 2013-03-11 | 2014-09-17 | 华为技术有限公司 | Container name server and container name analysis method |
CN103457999A (en) * | 2013-08-06 | 2013-12-18 | 北京大学深圳研究生院 | P2P document transmission method based on NDN network architecture |
US20160043963A1 (en) * | 2014-08-11 | 2016-02-11 | Cisco Technology, Inc. | Maintaining Named Data Networking (NDN) Flow Balance with Highly Variable Data Object Sizes |
CN106878310A (en) * | 2017-02-22 | 2017-06-20 | 吉林大学 | A kind of method of real-time streaming data distribution under name data network |
CN107454142A (en) * | 2017-06-29 | 2017-12-08 | 北京邮电大学 | Non- the obstruction content buffering method and device of a kind of content router |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101296238B (en) | Method and equipment for remaining persistency of security socket layer conversation | |
CN101141420B (en) | Method and system for performing data communication between private network and public network | |
CN101909257B (en) | Method and system for realizing concurrency access of multiple bearer protocols by M2M platform | |
JPH08204746A (en) | Inter-lan connection router | |
CN104170346A (en) | Method, system, and proxy device for data transmission | |
CN107135547A (en) | A kind of data processing method and device in multi-link system | |
CN103227773A (en) | Method and system for establishing virtual private dial-up network connection | |
CN102984070A (en) | Method for realizing data forwarding through unnumbered interface of Ethernet | |
CN104168273A (en) | Method and system for achieving TCP proxy in thin AP mode | |
CN1863140B (en) | Method for improving network resource utilization ratio of wireless communication system | |
CN106332102A (en) | Heterogeneous network architecture in internet of things | |
CN110460633A (en) | A kind of internet of things networking internodal data synchronization transfer method of content oriented | |
JP3535440B2 (en) | Frame transfer method | |
CN101753406B (en) | Device for realizing the twice route of automatic tunnel and massage transmitting method | |
CN105959239A (en) | Communication method of 3D optical on-chip network | |
CN103379130A (en) | Network access system and method based on application layer data | |
CN102681969B (en) | Based on the long frame data transmission method of CAN | |
CN106455127B (en) | A kind of integrated base station and base station stacking system | |
CN100496024C (en) | A method to forward the channel message and a network device | |
CN102420745A (en) | 3G (the third Generation) communication method and system | |
CN103532954B (en) | The coding network system at a kind of data-oriented center and method of work thereof | |
EP1593230A1 (en) | Terminating a session in a network | |
JP7220930B1 (en) | Photoelectric matching method and system | |
JP3830352B2 (en) | Communication protocol conversion method and apparatus | |
CN110445599B (en) | Content-oriented Internet of things networking data communication synchronous transmission method |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20191115 |