CN107786464A - A kind of method and device for realizing inter-node communication - Google Patents
A kind of method and device for realizing inter-node communication Download PDFInfo
- Publication number
- CN107786464A CN107786464A CN201710862582.8A CN201710862582A CN107786464A CN 107786464 A CN107786464 A CN 107786464A CN 201710862582 A CN201710862582 A CN 201710862582A CN 107786464 A CN107786464 A CN 107786464A
- Authority
- CN
- China
- Prior art keywords
- message
- link
- queue
- bearing
- link layer
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/52—Queue scheduling by attributing bandwidth to queues
- H04L47/527—Quantum based scheduling, e.g. credit or deficit based scheduling or token bank
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/90—Buffering arrangements
- H04L49/9057—Arrangements for supporting packet reassembly or resequencing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/161—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
- H04L69/162—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/30—Definitions, standards or architectural aspects of layered protocol stacks
- H04L69/32—Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
- H04L69/322—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
- H04L69/324—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC
Abstract
Description
Claims (10)
- A kind of 1. method for realizing inter-node communication, it is characterised in that this method comprises the following steps:Step S1, communication node is logically layered and carries out tissue, make communication node logical layered architecture include management level, Link layer and bearing bed;Wherein:Management level, for providing a user the operate interface of given link, including the transmitting-receiving of the establishment interface and data of link connects Mouthful;Link layer, for providing the establishment of link to management level, user data sends and receives, and to bearing bed provides message Send and receive;Bearing bed, it is carried on logical channel, relies on carried logical channel transmitting-receiving message, will receive Message be reported to link layer, and the transmission of message is provided to link layer, and a bearing bed is responsible for multiple link layer messages Send and receive;Also, it is associated between the management level and link layer as local terminal using transmission buffering queue, link layer and bearing bed Between using confirm queue be associated;Closed as between the bearing bed and link layer of opposite end using receiving cache queue Connection, is associated between link layer and management level using upstream queue;Step S2, the link establishment interface provided by management level, establishes local terminal communication node using link layer and is communicated with opposite end The link to be communicated between node;Step S3, message is sent to opposite end communication node by the transmission data-interface that local terminal communication node management level provide;Hair Deliver newspaper text when, message to be sent is put into the transmission buffering queue of given link and notifying link layer by management level, link layer Using segmentation sending method, message to be sent, which is put into, to be confirmed in queue and sends to opposite end communication node by bearing bed to report Text;Step S4, the reception data-interface provided by the management level of opposite end communication node receives message;When receiving message, pass through Bearing bed will receive message and be put into the receiving cache queue of link simultaneously notifying link layer, the report that link layer will then receive Text is put into the upstream queue of link, and management level obtain the message data of reception from upstream queue.
- 2. the method as claimed in claim 1 for realizing inter-node communication, it is characterised in that:In step S2, built using link layer The vertical link to be communicated between local terminal communication node and opposite end communication node, specifically includes following steps:Step S201, local terminal communication node establishes message using link layer to opposite end communication node transmission link;Step S202, after opposite end communication node receives link establishment message, transmission link establishes response message, and starts the link heart Jump mechanism;Step S203, after local terminal communication node receives link establishment response message, stop transmission link and establish request message, by chain Line state is set to link setup state, and starts link heartbeat mechanism, completes the foundation of communication link.
- 3. the method as claimed in claim 1 for realizing inter-node communication, it is characterised in that:The link layer is delivered newspaper pending The data of text are filled into the payload of multiple link packet bursts, and multiple link packet bursts are packaged into a bearing message Being put into confirms in queue.
- 4. the method as claimed in claim 3 for realizing inter-node communication, it is characterised in that:In step S3, link layer, which uses, to be divided Section sending method, message to be sent, which is put into, to be confirmed in queue and sends message, tool to opposite end communication node by bearing bed Body comprises the following steps:Step S301, link layer inspection confirms whether have space to deposit message to be sent in queue, if so, then from transmission buffering queue It is middle to obtain message to be sent, it is transferred to step S302;Otherwise, S301 is re-executed;Step S302, judge currently whether there is bearing message to be sent, if so, being transferred to step S303;Otherwise, it is transferred to step S305;Step S303, check whether the payload length of current bearing message to be sent exceedes the length of default bearing message, If being not above, step S306 is transferred to, if exceeding, is transferred to step S304;Step S304, being put into current bearing message to be sent is confirmed in queue, and the bearing message to be sent is removed, and is turned Enter step S305;Step S305, a new bearing message to be sent is created, is then transferred to step S302;Step S306, a link packet burst is distributed from current bearing message to be sent, and it is to be sent by what is got The data of message are filled into the link packet burst, are transferred to step S307;Step S307, judge to confirm not confirming whether number exceedes the preset value specified in queue, it is described not confirm number=card The dequeue number of real queue-have proven to number, the dequeue number for confirming queue is the sum of the bearing message sent, described Have proven to the number that number is the bearing message that have received response;If exceeding, return to step S302, if not exceeded, being then transferred to Step S308;Step S308, from confirm queue in obtain bearing message, judge opposite end communication node whether congestion, if not congestion, leads to The transmission interface for crossing bearing bed offer sends bearing message to opposite end communication node, and the dequeue number for confirming queue is incremented by; If congestion, return to step S307.
- 5. the method as claimed in claim 3 for realizing inter-node communication, it is characterised in that:In step S4, bearing bed will receive It is put into message in the receiving cache queue of link and the message received is then put into link by notifying link layer, link layer Upstream queue in, specifically include following steps:Step S401, whether the bearing message that bearing bed inspection receives is legal, if illegal, packet loss;If legal, will hold Carry message and be put into the receiving cache queue of link simultaneously notifying link layer;Step S402, link layer checks whether the bearing message in receiving cache queue has received, if not received, is transferred to step Rapid S403;If reception is complete, step S411 is transferred to;Step S403, bearing message is obtained from receiving cache queue, is transferred to step S404;Whether the type for step S404, checking the bearing message got is data message type, if so, being then transferred to step S405;Otherwise, it is transferred to step S410;Step S405, check whether the sequence number of bearing message is consistent with the packet receiving sequence of link layer, if unanimously, being transferred to step S406; Otherwise, return to step S402;Step S406, judge whether the link packet burst contained by bearing message has all recombinated, if so, return to step S402; Otherwise, it is transferred to step S407;Step S407, the link packet burst of bearing message is obtained, is transferred to step S408;Step S408, judge whether the sequence number of link packet burst is consistent with the bearing message sequence number of last time, if inconsistent, After creating a new link packet to be received, step S409 is transferred to;If consistent, step S409 is directly transferred to;Step S409, the link packet burst of same sequence number is re-assembled in link packet to be received, by link to be received Message is put into the upstream queue of link, and empties link packet to be received, is transferred to step S406;Step S410, data answering message is sent to local terminal communication node, and the bearing message of non-data type of message is carried out Processing, return to step S402;Step S411, data answering message is sent to local terminal communication node.
- 6. the method for realizing inter-node communication as any one of claim 1 to 5, it is characterised in that:The management level The operate interface provided a user also includes class Select operate interfaces and Link State, the inquiry operation interface of statistics.
- 7. the method for realizing inter-node communication as any one of claim 1 to 5, it is characterised in that:The link layer The heartbeat mechanism of detecting link state is also provided, and supports congestion control, flow control, the function of largest buffered control.
- 8. the method for realizing inter-node communication as any one of claim 1 to 5, it is characterised in that:The bearing bed It is additionally operable to read the information of logical channel in configuration file, the content of the configuration file includes logical channel type, communication ends Message ceases.
- 9. the method for realizing inter-node communication as any one of claim 1 to 5, it is characterised in that:The bearing bed It can be carried on a variety of logical channels, a variety of logical channels include UDP, MAC physical layer, I2C buses.
- A kind of 10. device for realizing inter-node communication based on claim 1 methods described, it is characterised in that:The device is located at In each communication node, including logical layered architecture creation module, communication link establish module, message sends processing module and message Receiving processing module;The logical layered architecture creation module is used for:Communication node is logically layered and carries out tissue, makes communication node Logical layered architecture includes management level, link layer and bearing bed;The communication link is established module and is used for:The link establishment interface provided by management level, local terminal is established using link layer The link to be communicated between communication node and opposite end communication node;The message sends processing module and is used for:When as local terminal, the transmission data-interface provided by management level is to opposite end Communication node sends message;When sending message, message to be sent is put into the transmission buffering queue of given link by management level And notifying link layer, for link layer using segmentation sending method, message to be sent, which is put into, confirms in queue and passes through bearing bed Message is sent to opposite end communication node;The message receiving processing module is used for:When as opposite end, the reception data-interface provided by management level receives report Text;When receiving message, message will be received by bearing bed and be put into the receiving cache queue of link simultaneously notifying link layer, chain The message received is then put into the upstream queue of link by road floor, and management level obtain the message number of reception from upstream queue According to.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710862582.8A CN107786464B (en) | 2017-09-22 | 2017-09-22 | Method and device for realizing communication between nodes |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710862582.8A CN107786464B (en) | 2017-09-22 | 2017-09-22 | Method and device for realizing communication between nodes |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107786464A true CN107786464A (en) | 2018-03-09 |
CN107786464B CN107786464B (en) | 2020-04-21 |
Family
ID=61433539
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710862582.8A Active CN107786464B (en) | 2017-09-22 | 2017-09-22 | Method and device for realizing communication between nodes |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107786464B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109922537A (en) * | 2019-03-29 | 2019-06-21 | 广州邦讯信息系统有限公司 | Data link layer and its implementation applied to wireless communication |
CN113438182A (en) * | 2021-03-30 | 2021-09-24 | 南京大学 | Flow control system and flow control method based on credit |
CN113724485A (en) * | 2021-09-03 | 2021-11-30 | 重庆邮电大学 | Rapid intensive information acquisition method |
CN114356825A (en) * | 2021-12-17 | 2022-04-15 | 郑州信大捷安信息技术股份有限公司 | SPI two-way communication method and system based on chip |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101009865A (en) * | 2007-01-30 | 2007-08-01 | 中兴通讯股份有限公司 | Data processing method for the packet service transfer link of the wireless communication system of the terminal |
CN101252534A (en) * | 2008-03-28 | 2008-08-27 | 清华大学 | Method for improving mobile self-organizing network communication capacity through link layer message combination |
CN102014067A (en) * | 2010-12-14 | 2011-04-13 | 北京星网锐捷网络技术有限公司 | Message fragment sending method, device and network equipment |
CN103036904A (en) * | 2012-12-27 | 2013-04-10 | 东方通信股份有限公司 | Method of data reliable transmission with user datagram protocol (UDP) in communication network |
US20160352873A1 (en) * | 2015-05-29 | 2016-12-01 | Samsung Electronics Co., Ltd. | Transmitting apparatus, receiving apparatus, and method for controlling the same |
CN106850188A (en) * | 2017-01-24 | 2017-06-13 | 中国航天系统科学与工程研究院 | A kind of data transmission system based on multichannel isomery one-way transmission path |
-
2017
- 2017-09-22 CN CN201710862582.8A patent/CN107786464B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101009865A (en) * | 2007-01-30 | 2007-08-01 | 中兴通讯股份有限公司 | Data processing method for the packet service transfer link of the wireless communication system of the terminal |
CN101252534A (en) * | 2008-03-28 | 2008-08-27 | 清华大学 | Method for improving mobile self-organizing network communication capacity through link layer message combination |
CN102014067A (en) * | 2010-12-14 | 2011-04-13 | 北京星网锐捷网络技术有限公司 | Message fragment sending method, device and network equipment |
CN103036904A (en) * | 2012-12-27 | 2013-04-10 | 东方通信股份有限公司 | Method of data reliable transmission with user datagram protocol (UDP) in communication network |
US20160352873A1 (en) * | 2015-05-29 | 2016-12-01 | Samsung Electronics Co., Ltd. | Transmitting apparatus, receiving apparatus, and method for controlling the same |
CN106850188A (en) * | 2017-01-24 | 2017-06-13 | 中国航天系统科学与工程研究院 | A kind of data transmission system based on multichannel isomery one-way transmission path |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109922537A (en) * | 2019-03-29 | 2019-06-21 | 广州邦讯信息系统有限公司 | Data link layer and its implementation applied to wireless communication |
CN109922537B (en) * | 2019-03-29 | 2024-03-15 | 广州邦讯信息系统有限公司 | Wireless module and implementation method thereof |
CN113438182A (en) * | 2021-03-30 | 2021-09-24 | 南京大学 | Flow control system and flow control method based on credit |
CN113724485A (en) * | 2021-09-03 | 2021-11-30 | 重庆邮电大学 | Rapid intensive information acquisition method |
CN114356825A (en) * | 2021-12-17 | 2022-04-15 | 郑州信大捷安信息技术股份有限公司 | SPI two-way communication method and system based on chip |
CN114356825B (en) * | 2021-12-17 | 2024-02-13 | 郑州信大捷安信息技术股份有限公司 | SPI two-way communication method and system based on chip |
Also Published As
Publication number | Publication date |
---|---|
CN107786464B (en) | 2020-04-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107786464A (en) | A kind of method and device for realizing inter-node communication | |
CN101877604B (en) | Method and system for transmitting files | |
CN102497429B (en) | Multi-redundancy processing method for train-ground data transmission in rail transit | |
CN101932128B (en) | Data receiving, transmitting and processing method and equipment for data link layer | |
CN100461770C (en) | Data processing method for the packet service transfer link of the wireless communication system of the terminal | |
CN101588227A (en) | Method for performing buffer status reporting and related communication device | |
DE19730159B4 (en) | Communication method and system | |
CN101616439A (en) | Wireless self-return method in the evolvement network, Apparatus and system | |
CN108667559A (en) | A kind of communication means and equipment | |
CN106953797A (en) | A kind of method and apparatus of the RDMA data transfers based on Dynamic link library | |
CN102739349A (en) | Method and device for frame confirmation | |
CN102447606A (en) | Flow control method and device for data transmission | |
CN105933325A (en) | Kernel mode RPC (Remote Procedure CALL) communication acceleration method based on NFSoRDMA (Network File System over Remote Direct Memory Access) | |
CN106304188B (en) | A kind of AM RLC is for retransmitting the receiving handling method of the optimization of data | |
CN101854735A (en) | Method for processing data of RLC layer and PDCP layer when RRC connection is released under LTE system | |
CN103442091B (en) | Data transmission method and device | |
CN106572030A (en) | Multipath sending control method and multipath sending control system in distributed network | |
CN107645747A (en) | A kind of method and apparatus for sending and receiving data | |
WO2019015487A1 (en) | Data retransmission method, rlc entity and mac entity | |
CN103346961A (en) | Method and system for data packaging exchanging | |
CN107592361A (en) | A kind of data transmission method based on double IB networks, device, equipment | |
CN100512506C (en) | Method for transferring status report | |
CN103582013B (en) | The downlink transmission method of PDCP data | |
CN105323729B (en) | A kind of note transmission method and device | |
CN206181067U (en) | MII interface and GPMC interface data communication system |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200819 Address after: 430000 part of the third floor of cable building, Guandong science and Technology Park, Donghu New Technology Development Zone, Wuhan, Hubei Province Patentee after: Wuhan Changjiang Computing Technology Co.,Ltd. Address before: 430000 East Lake high tech Development Zone, Hubei Province, No. 6, No., high and new technology development zone, No. four Patentee before: FIBERHOME TELECOMMUNICATION TECHNOLOGIES Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A method and device for realizing communication between nodes Effective date of registration: 20210531 Granted publication date: 20200421 Pledgee: Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd. Pledgor: Wuhan Changjiang Computing Technology Co.,Ltd. Registration number: Y2021420000031 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
PC01 | Cancellation of the registration of the contract for pledge of patent right |
Date of cancellation: 20230914 Granted publication date: 20200421 Pledgee: Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd. Pledgor: Wuhan Changjiang Computing Technology Co.,Ltd. Registration number: Y2021420000031 |
|
PC01 | Cancellation of the registration of the contract for pledge of patent right |