CN103634229B - A kind of Inter-chip communication method and control device - Google Patents
A kind of Inter-chip communication method and control device Download PDFInfo
- Publication number
- CN103634229B CN103634229B CN201310613805.9A CN201310613805A CN103634229B CN 103634229 B CN103634229 B CN 103634229B CN 201310613805 A CN201310613805 A CN 201310613805A CN 103634229 B CN103634229 B CN 103634229B
- Authority
- CN
- China
- Prior art keywords
- message
- receiving
- data frame
- specify information
- fragment
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of Inter-chip communication method and control device, methods described includes:In the first transmitting terminal:Obtain the specify information of message to be sent;The specify information of the message is sent to the first receiving terminal, and, send the message to the first receiving terminal successively using the message fragment of designated length as granularity;In the first receiving terminal:The specify information of the message is received, and, data frame is filled according to the specify information and the message fragment received successively, to complete the encapsulation to the data frame.Transmitting terminal in the present embodiment to receiving terminal send message when, be no longer transmitted in units of single message, but message is decomposed, specify information when being changed to be transmitted in units of the message fragment of designated length, and sending needed for first transmitting and receiving terminal(Such as message length), so that receiving terminal need not cache whole message again, the problem of cache resources for solving receiving terminal are largely taken.
Description
Technical field
The embodiment of the present invention relates generally to field of data communication, is filled more particularly, to a kind of Inter-chip communication method and control
Put.
Background technology
In inter-chip communication, transmitting terminal often sends message to receiving terminal.Typically can not due to sending with receiving process
Accomplish absolute synchronization or due to otherwise reason, it usually needs set certain spatial cache to be used for caching report in receiving terminal
Text.
In some scenes, receiving terminal could learn some specific letters after complete message is received according to complete message
Breath, to be further processed.With DP(Data Process, data processing)Chip is by Interlaken interfaces to OTN
(Optical Transport Network, optical transport network)Chip is sent exemplified by message:OTN chips receive DP chips hair
After the message come, next step needs to be packaged into GFP data frames and then is mapped to OTN pipelines, but before encapsulation gfp frame is started, needs
First to know the length of message, therefore in the prior art, OTN chips need to first carry out the caching of whole message when receiving message,
After a complete message has been cached, message length can be just calculated to generate message length domain, and then could be long by message
Degree domain is packaged into the data frame of GFP forms with message data.
Inventor has found that this receiving terminal needs to cache the way of whole message, significantly during the present invention is realized
The cache resources of receiving terminal are consumed, especially in multiple channel communication, the problem of cache resources of receiving terminal are largely taken
More highlight.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of Inter-chip communication method and control device, to reduce piece
Between when communicating to the occupancy of receiving terminal cache resources.
In order to solve the above-mentioned technical problem, the embodiment of the invention discloses following technical scheme:
First aspect includes there is provided a kind of Inter-chip communication method, methods described:
In the first transmitting terminal:
Obtain the specify information of message to be sent;
The specify information of the message is sent to the first receiving terminal, and, using the message fragment of designated length as granularity land
Continue to the first receiving terminal and send the message;
In the first receiving terminal:
The specify information of the message is received, and,
Data frame is filled according to the specify information and the message fragment received successively, to complete to the number
According to the encapsulation of frame.
It is preferred that, data frame is filled according to the specify information and the message fragment received successively, including:
The message fragment received successively is cached;
When the message fragment in caching reaches specified requirements, taken out successively using the specify information and from caching
Message fragment the data frame is filled.
It is preferred that, the length information for designating the information as message of the message.
It is preferred that, the data frame is GFP data frames.
It is preferred that, the designated length is the message data length for being mapped to OTN pipelines.
Second aspect is used between the second transmitting terminal and the second receiving terminal there is provided a kind of Inter-chip communication method, methods described
Communication, second transmitting terminal has multiple sendaisles, and second receiving terminal has multiple receiving channels, the transmission
Passage is corresponded with the receiving channel;
Methods described includes:
In the second transmitting terminal:
For each sendaisle:Obtain and send specifying for message to be sent in currently transmitted passage to the first receiving terminal
Information;
Scheduling is interleaved using the message fragment of designated length as granularity between each sendaisle, will each send logical
Message to be sent in road is sent to corresponding receiving channel on the second receiving terminal successively;
In the second receiving terminal:
For each receiving channel:The specify information of message is received, and, receive according to the specify information and successively
Message fragment the data frame corresponding to current receiving channel is filled, to complete the encapsulation to the data frame.
It is preferred that, according to the specify information and the message fragment received successively to the number corresponding to current receiving channel
It is filled according to frame, including:
The message fragment received successively is cached;
When the message fragment in caching reaches specified requirements, taken out successively using the specify information and from caching
Message fragment the data frame corresponding to current receiving channel is filled.
It is preferred that, the length information for designating the information as message of the message.
It is preferred that, the data frame is GFP data frames.
It is preferred that, the designated length is the message data length for being mapped to OTN pipelines.
The third aspect is there is provided a kind of inter-chip communication control device, and described device includes the first hair for the first transmitting terminal
Send module and the first receiving module for the first receiving terminal;
First sending module includes:
First information acquiring unit, the specify information for obtaining transmitting terminal message to be sent;
First transmitting element, the specify information for sending the message to receiving terminal, and, with the message of designated length
Fragment is that granularity sends the message to receiving terminal successively;
First receiving module includes:
First specify information receiving unit, the specify information for receiving the message;
First data frame fills unit, for according to the specify information and the message fragment received successively to data frame
It is filled, to complete the encapsulation to the data frame.
It is preferred that, the first data frame fills unit includes:
First caching subelement, for being cached to the message fragment received successively;
First filling promoter unit, for when the message fragment in caching reaches specified requirements, triggering first to be filled
Handle subelement;
First filling processing subelement, for the message fragment taken out successively using the specify information and from caching
The data frame is filled.
Fourth aspect is there is provided a kind of inter-chip communication control device, and described device includes the second hair for the second transmitting terminal
Module and the second receiving module for the second receiving terminal are sent, second transmitting terminal has multiple sendaisles, described second
Receiving terminal has multiple receiving channels, and the sendaisle is corresponded with the receiving channel;
Second sending module includes:
Second information acquisition unit, for for each sendaisle, obtaining message to be sent in currently transmitted passage
Specify information;
Second transmitting element, the specify information for sending message in each passage to receiving terminal, and, in each transmission
Scheduling is interleaved using the message fragment of designated length as granularity between passage, by the message land to be sent in each sendaisle
Continue the corresponding receiving channel on receiving terminal to send;
Second receiving module includes:
Second specify information receiving unit, the specify information for receiving the message in each receiving channel;
Second data frame fills unit, for each receiving channel, is received according to the specify information and successively
Message fragment is filled to the data frame corresponding to current receiving channel, to complete the encapsulation to the data frame.
It is preferred that, the second data frame fills unit includes:
Second caching subelement, for being cached to the message fragment that current receiving channel is received successively;
Second filling promoter unit, for reaching specified bar when the message fragment in the corresponding caching of current receiving channel
During part, the filling processing subelement of triggering second;
Second filling processing subelement, for the message fragment taken out successively using the specify information and from caching
The data frame corresponding to current receiving channel is filled.
Some beneficial effects of the present invention can include:
Transmitting terminal in the embodiment of the present invention to receiving terminal send message when, no longer sent out in units of single message
Reception is first sent when sending, but message is decomposed, be changed to be transmitted in units of the message fragment of designated length, and sending
Specify information needed for end(Such as message length), so that receiving terminal need not cache whole message again, solve receiving terminal
Cache resources the problem of largely taken.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary, this can not be limited
It is open.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the communication schematic diagram in the method for the embodiment of the present invention one;
Fig. 2 is the communication schematic diagram in the method for the embodiment of the present invention two;
Fig. 3 is the structural representation of existing GFP data frames;
Fig. 4 is the structural representation of existing GFP data frames;
Fig. 5 is DP chips and OTN chip communication schematic diagrames in the prior art;
Fig. 6 is DP chips and OTN chip communication schematic diagrames in the embodiment of the present invention three;
Fig. 7 is the schematic diagram of the device of the embodiment of the present invention four;
Fig. 8 is the schematic diagram of the device of the embodiment of the present invention five.
Pass through above-mentioned accompanying drawing, it has been shown that the present invention clearly embodiment, will hereinafter be described in more detail.These accompanying drawings
It is not intended to limit the scope of present inventive concept by any mode with word description, but is by reference to specific embodiment
Those skilled in the art illustrate idea of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
For the comprehensive understanding present invention, numerous concrete details are refer in the following detailed description, but this area skill
Art personnel are it should be understood that the present invention can be realized without these details.In other embodiments, it is not described in detail known
Method, process, component and circuit, in order to avoid undesirably result in embodiment obscure.
Fig. 1 is the communication schematic diagram in the method for the embodiment of the present invention one.
A kind of Inter-chip communication method is present embodiments provided, methods described includes:
In the first transmitting terminal:
S101, the specify information for obtaining message to be sent.
The specify information is the message relevant information needed for receiving terminal, the length of such as message, some last words of message
The included content of section, or the mark of certain in message is apart from the byte number at message end, etc., to this present embodiment without limit
System.
In the prior art, usual receiving terminal can only can just know this specify information after complete message is received, and originally
Embodiment then changes strategy, first obtains the specify information in transmitting terminal, and directly provided to receiving terminal from transmitting terminal.
In the present embodiment or some other embodiments of the invention, the approach that transmitting terminal obtains the specify information has many
Kind, for example, can require that the message transmitting party of more upper level is provided, or in the whole message of Sender side Storage by calculating report
Literary length or the content by reading in some last bytes of message, obtain corresponding specify information, etc..
S102, the specify information to the first receiving terminal transmission message, and, the message fragment using designated length is grain
Degree sends the message to the first receiving terminal successively.The present embodiment is sent no longer by granularity of single message, but further will
Single message is decomposed, and the transmission of message is carried out with this smaller granularity of message fragment, and first specified described when sending
Delivering.
In the first receiving terminal:
S103, the specify information for receiving the message, and,
S104, according to the specify information and the message fragment received successively data frame is filled, to complete pair
The encapsulation of the data frame.
The specify information is directly provided by transmitting terminal, and such receiving terminal refers to without waiting for harvesting whole message and obtain this again
Determine information.For the other parts of message, receive end edge reception message fragment side and data frame is filled, be finally completed encapsulation
Process.Packet buffer so shared by receiving terminal need not be again using single message as yardstick, but using message fragment as yardstick
, so as to greatly reduce the occupancy cached to receiving terminal.
In the present embodiment or some other embodiments of the invention, preferably:
Data frame is filled according to the specify information and the message fragment received successively, can be included:
The message fragment received successively is cached;
When the message fragment in caching reaches specified requirements, taken out successively using the specify information and from caching
Message fragment the data frame is filled.
The specify information first received no doubt needs to be filled into data frame, but the filling of data frame generally should be a company
Continuous process, it is impossible to interrupt, so not taken in above step upon receiving specify information or upon receiving message fragment
The way being filled is taken out, but first waits the message fragment accumulation in caching to reach certain condition(As quantity reaches certain
Individual numerical value)Afterwards, filling process is just started, while taking out message fragment from caching while being filled with to data frame, it is ensured that fill out
The continuity of process is filled, until the filling of whole message is finished.
In addition, in the present embodiment or some other embodiments of the invention, the data frame can be GFP data frames.Institute
It can be the message data length for being mapped to OTN pipelines to state designated length, naturally it is also possible to be other numerical value, be such as mapped to every time
Integral multiple of message data length of OTN pipelines etc..The specified requirements can be set according to concrete scene, for example, can set
Reach that some numerical value takes out for the message fragment number of caching, it can also be provided that the message fragment total amount of data of caching reaches
Some numerical value is taking-up, etc..This present embodiment and is not limited.
Transmitting terminal in the present embodiment to receiving terminal send message when, be no longer transmitted in units of single message, and
First transmitting and receiving terminal institute when being to decompose message, be changed to be transmitted in units of the message fragment of designated length, and sending
The specify information needed(Such as message length), so that receiving terminal need not cache whole message again, solve the slow of receiving terminal
Deposit the problem of resource is largely taken.
Fig. 2 is the communication schematic diagram in the method for the embodiment of the present invention two.
The present embodiment is based on a upper embodiment, is the further expansion to a upper embodiment.A upper embodiment is considered as
It is single passage(Channel, chn)The situation of communication, transmitting terminal only sends message with a passage, and receiving terminal is also only with one
Channel reception message.And the present embodiment is then increasingly complex multiple channel communication, this few passage shares a coffret and passed
It is defeated, the wheel streaming message by way of scheduling.
A kind of Inter-chip communication method is present embodiments provided, for the communication between the second transmitting terminal and the second receiving terminal,
Second transmitting terminal has multiple sendaisles, and second receiving terminal has multiple receiving channels, the sendaisle with
The receiving channel is corresponded;
Methods described includes:
In the second transmitting terminal:
S201, for each sendaisle:Obtain and send message to be sent in currently transmitted passage to the first receiving terminal
Specify information.
S202, it is interleaved scheduling by granularity of the message fragment of designated length between each sendaisle, will be each
Message to be sent in sendaisle is sent to corresponding receiving channel on the second receiving terminal successively.
Those of ordinary skill in the art are it is easily understood that the intertexture scheduling between multichannel is a kind of whole between multichannel
The different scheduling mode of packet scheduling, in the scheduling that interweaves, each passage message to be sent is divided into fragment, first selects one
Individual passage sends a fragment of message in the passage, and another passage of reselection sends a fragment of message in the passage, such as
This circulation, interweave selection, and this present embodiment is repeated no more.
In the second receiving terminal, for each receiving channel:
S203, the specify information for receiving message, and,
S204, according to the specify information and the message fragment received successively to the data corresponding to current receiving channel
Frame is filled, to complete the encapsulation to the data frame.
In the present embodiment or some other embodiments of the invention, preferably:
The data frame corresponding to current receiving channel is entered according to the specify information and the message fragment received successively
Row filling, including:
The message fragment received successively is cached;
When the message fragment in caching reaches specified requirements, taken out successively using the specify information and from caching
Message fragment the data frame corresponding to current receiving channel is filled.
Transmitting terminal in the present embodiment to receiving terminal send message when, be no longer transmitted in units of single message, and
First transmitting and receiving terminal institute when being to decompose message, be changed to be transmitted in units of the message fragment of designated length, and sending
The specify information needed(Such as message length), so that receiving terminal need not cache whole message again, solve the slow of receiving terminal
Deposit the problem of resource is largely taken.
With reference to concrete scene, the present invention is further described.
In SDH(Synchronous Digital Hierarchy, SDH)、PDH(Plesiochronous
Digital Hierarchy, plesiochronous data system)、OTN(Optical Transport Network, optical transport network)Deng
In network, in order to realize the transmission of customer data, generic framing procedure, GFP can be used(GFP, Generic Framing
Procedure), i.e., customer data is first packaged into GFP data frames, advised according still further to ITU-T(ITU-T G.707、ITU-T
G.8040、ITU-T G.709)In regulation concurrently transmitted on SDH, PDH, OTN network.
GFP data frames are byte-aligneds, shown in Figure 3, by core heading(Core Header)And payload section
(Payload area)Constitute.Core heading(Core Header)Again by 16bit message length instructions field(payload
length indicator)With 16bit verification bit(cHEC)Constitute;Payload section(Payload area)Again by payload head
(Payload headers), customer data(Client payload information field), FCS verification domain
(Optional payload FCS)Constitute, further can be found in shown in Fig. 4., it is necessary to first obtain client's number before encapsulation gfp frame
According to length information.
In the prior art, DP chips and OTN chip communication modes are shown in Figure 5.DP chips pass through with OTN chips
Interlaken interfaces are connected.DP chips carry out whole packet scheduling by granularity of single message in each interchannel, that is, select one to lead to
Road sends a message, and then another passage of reselection sends a message.Each channel reception of OTN chips to message with
Afterwards, it will carry out the caching of whole message, until the current message in the passage receives complete, message length is then calculated
Domain, and message length domain and message data are packaged into the data frame of GFP forms.
Fig. 6 is DP chips and OTN chip communication schematic diagrames in the embodiment of the present invention three.In the present embodiment:
DP chips are changed to intertexture scheduling mode in each interchannel, i.e., in each interchannel with certain length(Such as mapping every time
To the message data length of OTN pipelines)Message fragment for granularity carry out message between intertexture scheduling, and in advance each message is long
Degree information is placed on before start of message (SOM) position(In such as two bytes before start of message (SOM) position), connect by Interlaken
The whole message of mouth by message length information and below is sent to OTN chips.DP chips the need for function in itself because configure
There is larger caching, therefore message to be sent can be entirely stored in the caching of DP chips, and report to be sent is calculated in the caching
The length of text.
During each channel reception message of OTN chips, what is first received is message length information, then waits current channel
The message fragment data accumulation received in correspondence caching reaches certain amount depth(Alternatively referred to as start waterline), just can open
The encapsulation of GFP data frames, obtained message length and the message fragment taken out from caching are filled to corresponding GFP data
Frame, as transmitting terminal sends message fragment successively, receiving terminal also ceaselessly takes out message fragment from caching, to the GFP numbers
Continuously filled according to frame, until current message is stuffed entirely with finishing, complete encapsulation.Because the filling of data frame is a continuous mistake
Journey, it is impossible to interrupt, so needing first to wait the message fragment data accumulation in caching to reach certain amount depth when starting, then is opened
Open filling process.
Transmitting terminal in the present embodiment to receiving terminal send message when, be no longer transmitted in units of single message, and
First transmitting and receiving terminal institute when being to decompose message, be changed to be transmitted in units of the message fragment of designated length, and sending
The specify information needed(Such as message length), so that receiving terminal need not cache whole message again, solve the slow of receiving terminal
Deposit the problem of resource is largely taken.
Fig. 7 is the schematic diagram of the device of the embodiment of the present invention four.
The present embodiment is corresponding with above method embodiment, and there is provided a kind of inter-chip communication control device, described device bag
Include the first sending module 701 for the first transmitting terminal and the first receiving module 702 for the first receiving terminal;
First sending module 701 includes:
First information acquiring unit 7011, the specify information for obtaining transmitting terminal message to be sent;
First transmitting element 7012, the specify information for sending the message to receiving terminal, and, with designated length
Message fragment is that granularity sends the message to receiving terminal successively;
First receiving module 702 includes:
First specify information receiving unit 7021, the specify information for receiving the message;
First data frame fills unit 7022, for according to the specify information and the message fragment logarithm received successively
It is filled according to frame, to complete the encapsulation to the data frame.
It is preferred that, the first data frame fills unit 7022 can include:
First caching subelement, for being cached to the message fragment received successively;
First filling promoter unit, for when the message fragment in caching reaches specified requirements, triggering first to be filled
Handle subelement;
First filling processing subelement, for the message fragment taken out successively using the specify information and from caching
The data frame is filled.
Fig. 8 is the schematic diagram of the device of the embodiment of the present invention five.
The present embodiment is corresponding with above method embodiment, and there is provided a kind of inter-chip communication control device, described device bag
Include the second sending module 801 for the second transmitting terminal and the second receiving module 802 for the second receiving terminal, second hair
Sending end has multiple sendaisles, and second receiving terminal has multiple receiving channels, and the sendaisle receives logical with described
Road is corresponded;
Second sending module 801 includes:
Second information acquisition unit 8011, for for each sendaisle, obtaining pending in currently transmitted passage deliver newspaper
The specify information of text;
Second transmitting element 8012, the specify information for sending message in each passage to receiving terminal, and, at each
Scheduling is interleaved using the message fragment of designated length as granularity between sendaisle, pending in each sendaisle is delivered newspaper
Text is sent to corresponding receiving channel on receiving terminal successively;
Second receiving module 802 includes:
Second specify information receiving unit 8021, the specify information for receiving the message in each receiving channel;
Second data frame fills unit 8022, for each receiving channel, receiving according to the specify information and successively
To message fragment the data frame corresponding to current receiving channel is filled, to complete the encapsulation to the data frame.
It is preferred that, the second data frame fills unit 8022 includes:
Second caching subelement, for being cached to the message fragment that current receiving channel is received successively;
Second filling promoter unit, for reaching specified bar when the message fragment in the corresponding caching of current receiving channel
During part, the filling processing subelement of triggering second;
Second filling processing subelement, for the message fragment taken out successively using the specify information and from caching
The data frame corresponding to current receiving channel is filled.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component
The unit of explanation can be or may not be physically separate, and the part shown as unit can be or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Selection some or all of module therein is needed to realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not
In the case of paying creative work, you can to understand and implement.
The present invention can be described in the general context of computer executable instructions, such as program
Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type
Part, data structure etc..The present invention can also be put into practice in a distributed computing environment, in these DCEs, by
Remote processing devices connected by communication network perform task.In a distributed computing environment, program module can be with
Positioned at including in the local and remote computer-readable storage medium including storage device.
Can one of ordinary skill in the art will appreciate that realizing that all or part of step in above method embodiment is
To instruct the hardware of correlation to complete by program, described program can be stored in computer read/write memory medium,
The storage medium designated herein obtained, such as:ROM, RAM, magnetic disc, CD etc..
It should also be noted that, herein, such as first and second or the like relational terms are used merely to one
Entity or operation make a distinction with another entity or operation, and not necessarily require or imply between these entities or operation
There is any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to contain
Lid nonexcludability is included, so that process, method, article or equipment including a series of key elements not only will including those
Element, but also other key elements including being not expressly set out, or also include being this process, method, article or equipment
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that
Also there is other identical element in process, method, article or equipment including the key element.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.Herein
In apply specific case carried out by lock and has been stated for the principle and embodiment of the present invention, the explanation of above example is only intended to side
The method and its core concept of the assistant solution present invention;Simultaneously for those of ordinary skill in the art, the think of according to the present invention
Think, will change in specific embodiments and applications.In summary, this specification content should not be construed as pair
The limitation of the present invention.Any modification, equivalent substitution and improvements made within the spirit and principles of the invention etc., are included
Within the scope of the present invention.
Claims (8)
1. a kind of Inter-chip communication method, it is characterised in that methods described includes:
In the first transmitting terminal:
Obtain the specify information of message to be sent, the length information for designating the information as message of the message;
The specify information of the message is sent to the first receiving terminal, and, using the message fragment of designated length as granularity successively to
First receiving terminal sends the message;
In the first receiving terminal:
The specify information of the message is received, and,
Data frame is filled according to the specify information and the message fragment received successively, to complete to the data frame
Encapsulation;
Wherein, data frame is filled according to the specify information and the message fragment received successively, including:
The message fragment received successively is cached;
When the message fragment in caching reaches specified requirements, the report taken out successively using the specify information and from caching
Literary fragment is filled to the data frame.
2. according to the method described in claim 1, it is characterised in that the data frame is GFP data frames.
3. method according to claim 2, it is characterised in that the designated length is the message number for being mapped to OTN pipelines
According to length.
4. a kind of Inter-chip communication method, it is characterised in that methods described is used for logical between the second transmitting terminal and the second receiving terminal
News, second transmitting terminal has multiple sendaisles, and second receiving terminal has multiple receiving channels, the sendaisle
Corresponded with the receiving channel;
Methods described includes:
In the second transmitting terminal:
For each sendaisle:Obtain and sent to the second receiving terminal the specified letter of message to be sent in currently transmitted passage
Breath, the length information for designating the information as message of the message;
Scheduling is interleaved using the message fragment of designated length as granularity between each sendaisle, by each sendaisle
Message to be sent sent successively to corresponding receiving channel on the second receiving terminal;
In the second receiving terminal:
For each receiving channel:The specify information of message is received, and, according to the specify information and the report received successively
Literary fragment is filled to the data frame corresponding to current receiving channel, to complete the encapsulation to the data frame;
Wherein, the data frame corresponding to current receiving channel is entered according to the specify information and the message fragment received successively
Row filling, including:
The message fragment received successively is cached;
When the message fragment in caching reaches specified requirements, the report taken out successively using the specify information and from caching
Literary fragment is filled to the data frame corresponding to current receiving channel.
5. method according to claim 4, it is characterised in that the data frame is GFP data frames.
6. method according to claim 5, it is characterised in that the designated length is the message number for being mapped to OTN pipelines
According to length.
7. a kind of inter-chip communication control device, it is characterised in that described device includes sending mould for the first of the first transmitting terminal
Block and the first receiving module for the first receiving terminal;
First sending module includes:
First information acquiring unit, specify information for obtaining transmitting terminal message to be sent, the message is designated the information as
The length information of message;
First transmitting element, the specify information for sending the message to receiving terminal, and, with the message fragment of designated length
The message is sent for granularity to receiving terminal successively;
First receiving module includes:
First specify information receiving unit, the specify information for receiving the message;
First data frame fills unit, for being carried out according to the specify information and the message fragment received successively to data frame
Filling, to complete the encapsulation to the data frame;
Wherein, the first data frame fills unit includes:
First caching subelement, for being cached to the message fragment received successively;
First filling promoter unit, for when the message fragment in caching reaches specified requirements, the first filling of triggering to be handled
Subelement;
First filling processing subelement, for the message fragment taken out successively using the specify information and from caching to institute
Data frame is stated to be filled.
8. a kind of inter-chip communication control device, it is characterised in that described device includes sending mould for the second of the second transmitting terminal
Block and the second receiving module for the second receiving terminal, second transmitting terminal have multiple sendaisles, and described second receives
End has multiple receiving channels, and the sendaisle is corresponded with the receiving channel;
Second sending module includes:
Second information acquisition unit, for for each sendaisle, obtaining specifying for message to be sent in currently transmitted passage
Information, the length information for designating the information as message of the message;
Second transmitting element, the specify information for sending message in each passage to second receiving terminal, and, at each
Scheduling is interleaved using the message fragment of designated length as granularity between sendaisle, pending in each sendaisle is delivered newspaper
Text is sent to corresponding receiving channel on second receiving terminal successively;
Second receiving module includes:
Second specify information receiving unit, the specify information for receiving the message in each receiving channel;
Second data frame fills unit, for each receiving channel, according to the specify information and the message received successively
Fragment is filled to the data frame corresponding to current receiving channel, to complete the encapsulation to the data frame;
Wherein, the second data frame fills unit includes:
Second caching subelement, for being cached to the message fragment that current receiving channel is received successively;
Second filling promoter unit, for reaching specified requirements when the message fragment in the corresponding caching of current receiving channel
When, the filling processing subelement of triggering second;
Second filling processing subelement, for the message fragment taken out successively using the specify information and from caching to working as
The data frame corresponding to preceding receiving channel is filled.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310613805.9A CN103634229B (en) | 2013-11-26 | 2013-11-26 | A kind of Inter-chip communication method and control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310613805.9A CN103634229B (en) | 2013-11-26 | 2013-11-26 | A kind of Inter-chip communication method and control device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103634229A CN103634229A (en) | 2014-03-12 |
CN103634229B true CN103634229B (en) | 2017-09-29 |
Family
ID=50214869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310613805.9A Active CN103634229B (en) | 2013-11-26 | 2013-11-26 | A kind of Inter-chip communication method and control device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103634229B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105306373B (en) * | 2014-07-29 | 2019-03-15 | 杭州迪普科技股份有限公司 | A kind of IGMP message processing method and device |
CN108322543A (en) * | 2018-02-13 | 2018-07-24 | 南京达沙信息科技有限公司 | A kind of refrigeration mode meteorology software management system and its method |
CN110086574B (en) * | 2019-04-29 | 2020-09-29 | 京信通信系统(中国)有限公司 | Message processing method and device, computer equipment and storage medium |
CN111181682A (en) * | 2019-12-31 | 2020-05-19 | 北京华环电子股份有限公司 | Implementation method for GFP frame fragmentation transmission based on FPGA |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1525708A (en) * | 2003-02-27 | 2004-09-01 | 松下电器产业株式会社 | WLAN device |
CN101129024A (en) * | 2005-02-22 | 2008-02-20 | 英特尔公司 | Performing network medium reservation in a wireless network and section or aggregation of MAC protocol data unit |
CN101855856A (en) * | 2007-10-01 | 2010-10-06 | 摩托罗拉公司 | Method for reporting status in the wireless communication system |
CN102647361A (en) * | 2005-09-20 | 2012-08-22 | 松下电器产业株式会社 | Data packet sending method and receiving method, sending device and receiving device |
WO2013115121A1 (en) * | 2012-01-31 | 2013-08-08 | シャープ株式会社 | Generation device, reproduction device, data structure, generation method, reproduction method, control program, and recording medium |
-
2013
- 2013-11-26 CN CN201310613805.9A patent/CN103634229B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1525708A (en) * | 2003-02-27 | 2004-09-01 | 松下电器产业株式会社 | WLAN device |
CN101129024A (en) * | 2005-02-22 | 2008-02-20 | 英特尔公司 | Performing network medium reservation in a wireless network and section or aggregation of MAC protocol data unit |
CN102647361A (en) * | 2005-09-20 | 2012-08-22 | 松下电器产业株式会社 | Data packet sending method and receiving method, sending device and receiving device |
CN101855856A (en) * | 2007-10-01 | 2010-10-06 | 摩托罗拉公司 | Method for reporting status in the wireless communication system |
WO2013115121A1 (en) * | 2012-01-31 | 2013-08-08 | シャープ株式会社 | Generation device, reproduction device, data structure, generation method, reproduction method, control program, and recording medium |
Also Published As
Publication number | Publication date |
---|---|
CN103634229A (en) | 2014-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3694274B1 (en) | Service data transmission method and apparatus | |
US10608766B2 (en) | Multi-service transport and receiving method and apparatus | |
CN106301678A (en) | Method, communication equipment and the communication system that a kind of data process | |
JP2018525863A (en) | Method and apparatus for maintaining flexible Ethernet service in an optical transmission network | |
CN102104548B (en) | Method and device for receiving and processing data packets | |
WO2015035883A1 (en) | Data migration method and communication node | |
CN103634229B (en) | A kind of Inter-chip communication method and control device | |
JP6784777B2 (en) | Service transmission method and first transmission device | |
CN102088644B (en) | Transmission apparatus and signal mapping method | |
CN107800528A (en) | A kind of methods, devices and systems for transmitting synchronizing information | |
US6816509B2 (en) | Data mapper and method for flexible mapping of control and data information within a SONET payload | |
KR102450095B1 (en) | Data transmission method, transmission device, and reception device | |
CN102377678B (en) | Data transmission and processing method and device | |
CN104426772A (en) | Precision time protocol (PTP) message transmitting and receiving methods and PTP message transmitting and receiving equipment | |
US8644347B2 (en) | Transporting optical data units in an optical transport network | |
WO2018086564A1 (en) | Method, device and system for bearing frame number of multichannel passive optical network, and storage medium | |
JP2020519100A (en) | Method, apparatus and system for transmitting traffic in flex ethernet protocol | |
DE69917639T2 (en) | Arrangement for processing sonet or SDH DS0 frames for channel assignment | |
WO2016101555A1 (en) | Cross scheduling method and device, and storage medium | |
CN111181682A (en) | Implementation method for GFP frame fragmentation transmission based on FPGA | |
TWI251407B (en) | Methods and apparatus for indicating packet boundaries in frames | |
EP3244576B1 (en) | Slave device control method | |
CN106341352A (en) | Method and device for transmitting inter-domain interface data in optical transport network | |
EP3046333B1 (en) | Service sending, receiving methods and apparatuses | |
EP3972179A1 (en) | Control word transmission method, apparatus, and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |