CN103634229A - Inter-chip communication method and control device - Google Patents
Inter-chip communication method and control device Download PDFInfo
- Publication number
- CN103634229A CN103634229A CN201310613805.9A CN201310613805A CN103634229A CN 103634229 A CN103634229 A CN 103634229A CN 201310613805 A CN201310613805 A CN 201310613805A CN 103634229 A CN103634229 A CN 103634229A
- Authority
- CN
- China
- Prior art keywords
- message
- appointed information
- frame
- successively
- buffer memory
- 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
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses an inter-chip communication method and a control device. The method comprises the steps of at a first sending end, acquiring the designated information of a message to be sent; sending the designated information of the message to a first receiving end and successively sending the message to the first receiving end by taking a message fragment with the designated length as the particle size; at the first receiving end, receiving the designated information of the message and filling a data frame according to the designated information and the successively received message fragments to finish the package for the data frame. In the embodiment of the invention, when the message is sent to a receiving end from a sending end, the message is sent in the mode of taking the message fragment with the designated length as a unit by decomposing instead of in a mode of taking a single message as the unit, and during sending, the designated information (such as the message length) needed by the receiving end is sent firstly, so the receiving end does not need to cache the whole message and the problem of large cache resource occupation at the receiving end is solved.
Description
Technical field
The embodiment of the present invention relates generally to data communication field, especially relates to a kind of inter-chip communication method and control device.
Background technology
In inter-chip communication, transmitting terminal often can send message to receiving terminal.Because send and receive process generally cannot be accomplished absolute synchronization or due to otherwise reason, conventionally need to certain spatial cache be set at receiving terminal and be used for buffer memory message.
In some scenes, receiving terminal could be learnt some customizing messages according to complete message after receiving complete message, to be for further processing.With DP(Data Process, data processing) chip passes through Interlaken interface to OTN(Optical Transport Network, optical transport network) to send message be example to chip: OTN chip receives after the message that DP chip sends, next step need to be packaged into GFP Frame and then be mapped to OTN pipeline, but starting to encapsulate before gfp frame, need to first know the length of message, therefore in the prior art, OTN chip need first carry out the buffer memory of whole message while receiving message, when buffer memory after a complete message, just can calculate message length to generate message length territory, and then message length territory and message data could be packaged into the Frame of GFP form.
Inventor finds in realizing process of the present invention, and this receiving terminal needs the way of the whole message of buffer memory, has greatly consumed the cache resources of receiving terminal, and especially, when multiple channel communication, the problem that the cache resources of receiving terminal is taken in a large number highlights more.
Summary of the invention
In view of this, the object of the embodiment of the present invention is to provide a kind of inter-chip communication method and control device, taking receiving terminal cache resources when reducing inter-chip communication.
In order to solve the problems of the technologies described above, the embodiment of the invention discloses following technical scheme:
First aspect, provides a kind of inter-chip communication method, and described method comprises:
At the first transmitting terminal:
Obtain the appointed information of message to be sent;
To the first receiving terminal, send the appointed information of described message, and the message fragment of designated length of take sends described message to the first receiving terminal successively as granularity;
At the first receiving terminal:
Receive the appointed information of described message, and,
According to described appointed information and the message fragment that receives successively, Frame is filled, to complete the encapsulation to described Frame.
Preferably, according to described appointed information and the message fragment that receives successively, Frame is filled, comprising:
The message fragment receiving is successively carried out to buffer memory;
When the message fragment in buffer memory reaches specified requirements, use described appointed information and the message fragment of taking out is successively filled described Frame from buffer memory.
Preferably, the length information that designates the information as message of described message.
Preferably, described Frame is GFP Frame.
Preferably, described designated length is the message data length that is mapped to OTN pipeline.
Second aspect, a kind of inter-chip communication method is provided, and described method is for the communication between the second transmitting terminal and the second receiving terminal, and described the second transmitting terminal has a plurality of sendaisles, described the second receiving terminal has a plurality of receive paths, and described sendaisle is corresponding one by one with described receive path;
Described method comprises:
At the second transmitting terminal:
For each sendaisle: the appointed information of obtaining and send to the first receiving terminal message to be sent in current sendaisle;
The message fragment of designated length of take between each sendaisle is the granularity scheduling that interweaves, and the message to be sent in each sendaisle is sent to corresponding receive path on the second receiving terminal successively;
At the second receiving terminal:
For each receive path: receive the appointed information of message, and, according to described appointed information and the message fragment that receives successively, the corresponding Frame of current receive path is filled, to complete the encapsulation to described Frame.
Preferably, according to described appointed information and the message fragment that receives successively, the corresponding Frame of current receive path is filled, comprising:
The message fragment receiving is successively carried out to buffer memory;
When the message fragment in buffer memory reaches specified requirements, use described appointed information and the message fragment of taking out is successively filled the corresponding Frame of current receive path from buffer memory.
Preferably, the length information that designates the information as message of described message.
Preferably, described Frame is GFP Frame.
Preferably, described designated length is the message data length that is mapped to OTN pipeline.
The third aspect, provides a kind of inter-chip communication control device, and described device comprises for the first sending module of the first transmitting terminal with for the first receiver module of the first receiving terminal;
Described the first sending module comprises:
First information acquiring unit, for obtaining the appointed information of transmitting terminal message to be sent;
The first transmitting element, for send the appointed information of described message to receiving terminal, and the message fragment of designated length of take sends described message to receiving terminal successively as granularity;
Described the first receiver module comprises:
The first appointed information receiving element, for receiving the appointed information of described message;
The first Frame filler cells, for according to described appointed information and the message fragment that receives successively, Frame being filled, to complete the encapsulation to described Frame.
Preferably, described the first Frame filler cells comprises:
The first buffer memory subelement, carries out buffer memory for the message fragment to receiving successively;
First fills promoter unit, while reaching specified requirements for the message fragment when buffer memory, triggers the first filling and processes subelement;
First fills processing subelement, for the message fragment of using described appointed information and taking out successively from buffer memory, described Frame is filled.
Fourth aspect, a kind of inter-chip communication control device is provided, described device comprises for the second sending module of the second transmitting terminal with for the second receiver module of the second receiving terminal, described the second transmitting terminal has a plurality of sendaisles, described the second receiving terminal has a plurality of receive paths, and described sendaisle is corresponding one by one with described receive path;
Described the second sending module comprises:
The second information acquisition unit, for for each sendaisle, obtains the appointed information of message to be sent in current sendaisle;
The second transmitting element, for send the appointed information of each passage message to receiving terminal, and the message fragment of designated length of take between each sendaisle is the granularity scheduling that interweaves, the message to be sent in each sendaisle is sent to corresponding receive path on receiving terminal successively;
Described the second receiver module comprises:
The second appointed information receiving element, for receiving the appointed information of the message of each receive path;
The second Frame filler cells, for to each receive path, fills the corresponding Frame of current receive path according to described appointed information and the message fragment that receives successively, to complete the encapsulation to described Frame.
Preferably, described the second Frame filler cells comprises:
The second buffer memory subelement, carries out buffer memory for the message fragment that current receive path is received successively;
Second fills promoter unit, while reaching specified requirements for the message fragment when buffer memory corresponding to current receive path, triggers the second filling and processes subelement;
Second fills processing subelement, for the message fragment of using described appointed information and taking out successively from buffer memory, the corresponding described Frame of current receive path is filled.
Beneficial effects more of the present invention can comprise:
When the transmitting terminal in the embodiment of the present invention sends message to receiving terminal, the single message of no longer take sends as unit, but message is decomposed, change into and take the message fragment of designated length and send as unit, and the required appointed information (as message length) of first transmitting and receiving terminal while sending, thereby make receiving terminal not need again the whole message of buffer memory, solved the problem that the cache resources of receiving terminal is taken in a large number.
Should be understood that, it is only exemplary that above general description and details are hereinafter described, and can not limit the disclosure.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the communication schematic diagram in the embodiment of the present invention one method;
Fig. 2 is the communication schematic diagram in the embodiment of the present invention two methods;
Fig. 3 is the structural representation of existing GFP Frame;
Fig. 4 is the structural representation of existing GFP Frame;
Fig. 5 is DP chip and OTN chip communication schematic diagram in prior art;
Fig. 6 is DP chip and OTN chip communication schematic diagram in the embodiment of the present invention three;
Fig. 7 is the schematic diagram of the embodiment of the present invention four devices;
Fig. 8 is the schematic diagram of the embodiment of the present invention five devices.
By above-mentioned accompanying drawing, the clear and definite embodiment of the present invention has been shown, will there is more detailed description hereinafter.These accompanying drawings and text description are not in order to limit the scope of the present invention design by any mode, but by reference to specific embodiment for those skilled in the art illustrate concept of the present 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 clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
For complete understanding the present invention, mentioned in the following detailed description numerous concrete details, but it should be appreciated by those skilled in the art that the present invention can realize without these details.In other embodiments, be not described in detail known method, process, assembly and circuit, in order to avoid unnecessarily cause embodiment fuzzy.
Fig. 1 is the communication schematic diagram in the embodiment of the present invention one method.
The present embodiment provides a kind of inter-chip communication method, and described method comprises:
At the first transmitting terminal:
S101, obtain the appointed information of message to be sent.
Described appointed information is the required message relevant information of receiving terminal, the length of message for example, the content that the more last bytes of message comprise, or in message certain sign apart from the byte number at message end, etc., this present embodiment is not limited.
In the prior art, receiving terminal can only just can be known this appointed information after receiving complete message conventionally, and the present embodiment has changed strategy, first at transmitting terminal, obtains this appointed information, and directly to receiving terminal, is provided by transmitting terminal.
In the present embodiment or the present invention some other embodiment, the approach that transmitting terminal obtains described appointed information has multiple, for example, can require the more message transmitting party of upper level to provide, or when the whole message of Sender side Storage by calculating the length of message or by reading the content in the more last bytes of message, obtain corresponding appointed information, etc.
S102, to the first receiving terminal, send the appointed information of described message, and the message fragment of designated length of take sends described message to the first receiving terminal successively as granularity.The present embodiment no longer be take single message as granularity transmission, but further single message is decomposed, and carries out the transmission of message, and first described appointed information is sent when sending with this less granularity of message fragment.
At the first receiving terminal:
S103, receive the appointed information of described message, and,
S104, according to described appointed information and the message fragment that receives successively, Frame is filled, to complete the encapsulation to described Frame.
Described appointed information is directly provided by transmitting terminal, and receiving terminal harvests whole message without wait and obtains this appointed information again like this.For other parts of message, fill Frame on the receiving terminal edge joint civilian fragment limit of receiving telegraph, and finally completes encapsulation process.The shared packet buffer of receiving terminal does not need to take single message as yardstick again like this, but take message fragment as yardstick, thereby has greatly reduced taking receiving terminal buffer memory.
In the present embodiment or the present invention some other embodiment, preferred:
According to described appointed information and the message fragment that receives successively, Frame is filled, can comprise:
The message fragment receiving is successively carried out to buffer memory;
When the message fragment in buffer memory reaches specified requirements, use described appointed information and the message fragment of taking out is successively filled described Frame from buffer memory.
The appointed information of first receiving no doubt needs to be filled in Frame, but the filling of Frame should be a continuous process conventionally, can not interrupt, so do not take in step above just receive appointed information or just receive that message fragment take out the way of filling, but first wait for that the message fragment accumulation in buffer memory reaches after certain condition (as quantity reaches certain numerical value), just start filling process, from buffer memory, take out message fragment on one side and be filled to Frame on one side, guarantee the continuity of filling process, until whole message is filled complete.
In addition, in the present embodiment or the present invention some other embodiment, described Frame can be GFP Frame.Described designated length can certainly be other numerical value for being mapped to the message data length of OTN pipeline, as being mapped to the integral multiple etc. of the message data length of OTN pipeline at every turn.Described specified requirements can be set according to concrete scene, and the message fragment number that for example can be set to buffer memory reaches certain numerical value takes out, and the message fragment total amount of data that also can be set to buffer memory reaches certain numerical value takes out, etc.This present embodiment is not all limited.
When the transmitting terminal in the present embodiment sends message to receiving terminal, the single message of no longer take sends as unit, but message is decomposed, change into and take the message fragment of designated length and send as unit, and the required appointed information (as message length) of first transmitting and receiving terminal while sending, thereby make receiving terminal not need again the whole message of buffer memory, solved the problem that the cache resources of receiving terminal is taken in a large number.
Fig. 2 is the communication schematic diagram in the embodiment of the present invention two methods.
The present embodiment, based on a upper embodiment, is the further expansion to a upper embodiment.A upper embodiment can be regarded as the situation of single passage (Channel, chn) communication, and transmitting terminal only sends message with a passage, and receiving terminal also only receives message with a passage.The present embodiment is more complicated multiple channel communication, and these a few passages share a coffret transmission, by the mode of dispatching, transmit in turn message.
The present embodiment provides a kind of inter-chip communication method, for the communication between the second transmitting terminal and the second receiving terminal, described the second transmitting terminal has a plurality of sendaisles, and described the second receiving terminal has a plurality of receive paths, and described sendaisle is corresponding one by one with described receive path;
Described method comprises:
At the second transmitting terminal:
S201, for each sendaisle: the appointed information of obtaining and send to the first receiving terminal message to be sent in current sendaisle.
S202, the message fragment of designated length of take between each sendaisle are the granularity scheduling that interweaves, and the message to be sent in each sendaisle is sent to corresponding receive path on the second receiving terminal successively.
Those of ordinary skills hold is intelligiblely, interweaving scheduling between multichannel is the different scheduling mode of whole packet scheduling between a kind of and multichannel, in the scheduling that interweaves, each passage message to be sent is divided into fragment, first select a passage to send a fragment of message in this passage, then select another passage to send a fragment of message in this passage, so circulate, the selection that interweaves, repeats no more this present embodiment.
At the second receiving terminal, for each receive path:
The appointed information of S203, reception message, and,
S204, according to described appointed information and the message fragment that receives successively, the corresponding Frame of current receive path is filled, to complete the encapsulation to described Frame.
In the present embodiment or the present invention some other embodiment, preferred:
According to described appointed information and the message fragment that receives successively, the corresponding Frame of current receive path is filled, comprising:
The message fragment receiving is successively carried out to buffer memory;
When the message fragment in buffer memory reaches specified requirements, use described appointed information and the message fragment of taking out is successively filled the corresponding Frame of current receive path from buffer memory.
When the transmitting terminal in the present embodiment sends message to receiving terminal, the single message of no longer take sends as unit, but message is decomposed, change into and take the message fragment of designated length and send as unit, and the required appointed information (as message length) of first transmitting and receiving terminal while sending, thereby make receiving terminal not need again the whole message of buffer memory, solved the problem that the cache resources of receiving terminal is taken in a large number.
Below in conjunction with concrete scene, the present invention is further described.
At SDH(Synchronous Digital Hierarchy, SDH (Synchronous Digital Hierarchy)), PDH(Plesiochronous Digital Hierarchy, accurate synchrodata system), OTN(Optical Transport Network, optical transport network) etc. in network, in order to realize the transmission of customer data, can adopt generic framing procedure, GFP (GFP, Generic Framing Procedure), first customer data is packaged into GFP Frame, according to ITU-T suggestion, (ITU-T G.707 again, ITU-T G.8040, ITU-T is G.709) in be defined in SDH, PDH, on OTN network, carry out concurrent transmission.
GFP Frame is byte-aligned, shown in Figure 3, core heading (Core Header) and payload section (Payload area), consists of.Core heading (Core Header) is indicated again the verification bit(cHEC of territory (payload length indicator) and 16bit by the message length of 16bit) form; Payload section (Payload area) consists of payload head (Payload headers), customer data (Client payload information field), FCS verification territory (Optional payload FCS) again, further can be shown in Figure 4.Before encapsulation gfp frame, need to first obtain the length information of customer data.
In prior art, DP chip and OTN chip communication modes are shown in Figure 5.DP chip is connected by Interlaken interface with OTN chip.DP chip be take single message and at each interchannel, is carried out whole packet scheduling as granularity, selects a passage to send a message, and then selects another passage to send a message.After each passage of OTN chip receives message, will carry out the buffer memory of whole message, until that the current message in this passage receives is complete, then calculate message length territory, and message length territory and message data are packaged into the Frame of GFP form.
Fig. 6 is DP chip and OTN chip communication schematic diagram in the embodiment of the present invention three.In the present embodiment:
DP chip changes at each interchannel the scheduling mode that interweaves into, at each interchannel, take the message fragment of certain length (such as be mapped to the message data length of OTN pipeline at every turn) and carry out the scheduling that interweaves between message as granularity, and before in advance each message length information being placed on to start of message (SOM) position (for example, in two bytes before start of message (SOM) position), by Interlaken interface, message length information and whole message are below sent to OTN chip.DP chip itself disposes larger buffer memory because of the needs of function, thus message to be sent can global storage in the buffer memory of DP chip, in this buffer memory, calculate the length of message to be sent.
When each passage of OTN chip receives message, what first receive is message length information, then wait for that the message fragment data accumulation receiving reaches some degree of depth (also can be described as and start waterline) in the corresponding buffer memory of prepass, just can open the encapsulation of GFP Frame, the message length obtaining and the message fragment of taking out from buffer memory are filled to corresponding GFP Frame, along with transmitting terminal is sent message fragment successively, receiving terminal also ceaselessly takes out message fragment from buffer memory, this GFP Frame is filled continuously, until the whole fillings of current message are complete, complete encapsulation.Because the filling of Frame is a continuous process, can not interrupt, thus while starting, need to first wait for that the message fragment data accumulation in buffer memory reaches some degree of depth, then open filling process.
When the transmitting terminal in the present embodiment sends message to receiving terminal, the single message of no longer take sends as unit, but message is decomposed, change into and take the message fragment of designated length and send as unit, and the required appointed information (as message length) of first transmitting and receiving terminal while sending, thereby make receiving terminal not need again the whole message of buffer memory, solved the problem that the cache resources of receiving terminal is taken in a large number.
Fig. 7 is the schematic diagram of the embodiment of the present invention four devices.
The present embodiment is corresponding with said method embodiment, and a kind of inter-chip communication control device is provided, and described device comprises for the first sending module 701 of the first transmitting terminal with for the first receiver module 702 of the first receiving terminal;
Described the first sending module 701 comprises:
First information acquiring unit 7011, for obtaining the appointed information of transmitting terminal message to be sent;
The first transmitting element 7012, for send the appointed information of described message to receiving terminal, and the message fragment of designated length of take sends described message to receiving terminal successively as granularity;
Described the first receiver module 702 comprises:
The first appointed information receiving element 7021, for receiving the appointed information of described message;
The first Frame filler cells 7022, for according to described appointed information and the message fragment that receives successively, Frame being filled, to complete the encapsulation to described Frame.
Preferably, described the first Frame filler cells 7022 can comprise:
The first buffer memory subelement, carries out buffer memory for the message fragment to receiving successively;
First fills promoter unit, while reaching specified requirements for the message fragment when buffer memory, triggers the first filling and processes subelement;
First fills processing subelement, for the message fragment of using described appointed information and taking out successively from buffer memory, described Frame is filled.
Fig. 8 is the schematic diagram of the embodiment of the present invention five devices.
The present embodiment is corresponding with said method embodiment, a kind of inter-chip communication control device is provided, described device comprises for the second sending module 801 of the second transmitting terminal with for the second receiver module 802 of the second receiving terminal, described the second transmitting terminal has a plurality of sendaisles, described the second receiving terminal has a plurality of receive paths, and described sendaisle is corresponding one by one with described receive path;
Described the second sending module 801 comprises:
The second information acquisition unit 8011, for for each sendaisle, obtains the appointed information of message to be sent in current sendaisle;
The second transmitting element 8012, for send the appointed information of each passage message to receiving terminal, and, the message fragment of designated length of take between each sendaisle is the granularity scheduling that interweaves, and the message to be sent in each sendaisle is sent to corresponding receive path on receiving terminal successively;
Described the second receiver module 802 comprises:
The second appointed information receiving element 8021, for receiving the appointed information of the message of each receive path;
The second Frame filler cells 8022, for to each receive path, fills the corresponding Frame of current receive path according to described appointed information and the message fragment that receives successively, to complete the encapsulation to described Frame.
Preferably, described the second Frame filler cells 8022 comprises:
The second buffer memory subelement, carries out buffer memory for the message fragment that current receive path is received successively;
Second fills promoter unit, while reaching specified requirements for the message fragment when buffer memory corresponding to current receive path, triggers the second filling and processes subelement;
Second fills processing subelement, for the message fragment of using described appointed information and taking out successively from buffer memory, the corresponding described Frame of current receive path is filled.
For device embodiment, because it corresponds essentially to embodiment of the method, so relevant part is referring to the part explanation of embodiment of the method.Device embodiment described above is only schematic, the wherein said unit as separating component explanation can or can not be also physically to separate, the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of module wherein to realize the object of the present embodiment scheme.Those of ordinary skills, in the situation that not paying creative work, are appreciated that and implement.
The present invention can describe in the general context of the computer executable instructions of being carried out by computer, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract data type, program, object, assembly, data structure etc.Also can in distributed computing environment (DCE), put into practice the present invention, in these distributed computing environment (DCE), by the teleprocessing equipment being connected by communication network, be executed the task.In distributed computing environment (DCE), program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
One of ordinary skill in the art will appreciate that all or part of step realizing in said method execution mode is to come the hardware that instruction is relevant to complete by program, described program can be stored in computer read/write memory medium, here alleged storage medium, as: ROM, RAM, magnetic disc, CD etc.
Also it should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.Applied specific case herein and principle of the present invention and execution mode have been carried out to lock stated, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications.In sum, this description should not be construed as limitation of the present invention.All any modifications of doing within the spirit and principles in the present invention, be equal to replacement, improvement etc., be all included in protection scope of the present invention.
Claims (14)
1. an inter-chip communication method, is characterized in that, described method comprises:
At the first transmitting terminal:
Obtain the appointed information of message to be sent;
To the first receiving terminal, send the appointed information of described message, and the message fragment of designated length of take sends described message to the first receiving terminal successively as granularity;
At the first receiving terminal:
Receive the appointed information of described message, and,
According to described appointed information and the message fragment that receives successively, Frame is filled, to complete the encapsulation to described Frame.
2. method according to claim 1, is characterized in that, according to described appointed information and the message fragment that receives successively, Frame is filled, and comprising:
The message fragment receiving is successively carried out to buffer memory;
When the message fragment in buffer memory reaches specified requirements, use described appointed information and the message fragment of taking out is successively filled described Frame from buffer memory.
3. method according to claim 1 and 2, is characterized in that, the length information that designates the information as message of described message.
4. method according to claim 3, is characterized in that, described Frame is GFP Frame.
5. method according to claim 4, is characterized in that, described designated length is the message data length that is mapped to OTN pipeline.
6. an inter-chip communication method, it is characterized in that, described method is for the communication between the second transmitting terminal and the second receiving terminal, and described the second transmitting terminal has a plurality of sendaisles, described the second receiving terminal has a plurality of receive paths, and described sendaisle is corresponding one by one with described receive path;
Described method comprises:
At the second transmitting terminal:
For each sendaisle: the appointed information of obtaining and send to the first receiving terminal message to be sent in current sendaisle;
The message fragment of designated length of take between each sendaisle is the granularity scheduling that interweaves, and the message to be sent in each sendaisle is sent to corresponding receive path on the second receiving terminal successively;
At the second receiving terminal:
For each receive path: receive the appointed information of message, and, according to described appointed information and the message fragment that receives successively, the corresponding Frame of current receive path is filled, to complete the encapsulation to described Frame.
7. method according to claim 6, is characterized in that, according to described appointed information and the message fragment that receives successively, the corresponding Frame of current receive path is filled, and comprising:
The message fragment receiving is successively carried out to buffer memory;
When the message fragment in buffer memory reaches specified requirements, use described appointed information and the message fragment of taking out is successively filled the corresponding Frame of current receive path from buffer memory.
8. according to the method described in claim 6 or 7, it is characterized in that the length information that designates the information as message of described message.
9. method according to claim 8, is characterized in that, described Frame is GFP Frame.
10. method according to claim 9, is characterized in that, described designated length is the message data length that is mapped to OTN pipeline.
11. 1 kinds of inter-chip communication control device, is characterized in that, described device comprises for the first sending module of the first transmitting terminal with for the first receiver module of the first receiving terminal;
Described the first sending module comprises:
First information acquiring unit, for obtaining the appointed information of transmitting terminal message to be sent;
The first transmitting element, for send the appointed information of described message to receiving terminal, and the message fragment of designated length of take sends described message to receiving terminal successively as granularity;
Described the first receiver module comprises:
The first appointed information receiving element, for receiving the appointed information of described message;
The first Frame filler cells, for according to described appointed information and the message fragment that receives successively, Frame being filled, to complete the encapsulation to described Frame.
12. devices according to claim 11, is characterized in that, described the first Frame filler cells comprises:
The first buffer memory subelement, carries out buffer memory for the message fragment to receiving successively;
First fills promoter unit, while reaching specified requirements for the message fragment when buffer memory, triggers the first filling and processes subelement;
First fills processing subelement, for the message fragment of using described appointed information and taking out successively from buffer memory, described Frame is filled.
13. 1 kinds of inter-chip communication control device, it is characterized in that, described device comprises for the second sending module of the second transmitting terminal with for the second receiver module of the second receiving terminal, described the second transmitting terminal has a plurality of sendaisles, described the second receiving terminal has a plurality of receive paths, and described sendaisle is corresponding one by one with described receive path;
Described the second sending module comprises:
The second information acquisition unit, for for each sendaisle, obtains the appointed information of message to be sent in current sendaisle;
The second transmitting element, for send the appointed information of each passage message to receiving terminal, and the message fragment of designated length of take between each sendaisle is the granularity scheduling that interweaves, the message to be sent in each sendaisle is sent to corresponding receive path on receiving terminal successively;
Described the second receiver module comprises:
The second appointed information receiving element, for receiving the appointed information of the message of each receive path;
The second Frame filler cells, for to each receive path, fills the corresponding Frame of current receive path according to described appointed information and the message fragment that receives successively, to complete the encapsulation to described Frame.
14. devices according to claim 13, is characterized in that, described the second Frame filler cells comprises:
The second buffer memory subelement, carries out buffer memory for the message fragment that current receive path is received successively;
Second fills promoter unit, while reaching specified requirements for the message fragment when buffer memory corresponding to current receive path, triggers the second filling and processes subelement;
Second fills processing subelement, for the message fragment of using described appointed information and taking out successively from buffer memory, the corresponding described Frame of current receive path 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 true CN103634229A (en) | 2014-03-12 |
CN103634229B 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) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105306373A (en) * | 2014-07-29 | 2016-02-03 | 杭州迪普科技有限公司 | 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 |
CN110086574A (en) * | 2019-04-29 | 2019-08-02 | 京信通信***(中国)有限公司 | Message processing method, 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 | 松下电器产业株式会社 | Wireless lan apparatus |
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 | 松下电器产业株式会社 | Transmitting and receiving methods for data packet, transmitting apparatus and receiving apparatus |
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 | 松下电器产业株式会社 | Wireless lan apparatus |
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 | 松下电器产业株式会社 | Transmitting and receiving methods for data packet, transmitting apparatus and receiving apparatus |
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 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105306373A (en) * | 2014-07-29 | 2016-02-03 | 杭州迪普科技有限公司 | 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 |
CN110086574A (en) * | 2019-04-29 | 2019-08-02 | 京信通信***(中国)有限公司 | Message processing method, device, computer equipment and storage medium |
CN111181682A (en) * | 2019-12-31 | 2020-05-19 | 北京华环电子股份有限公司 | Implementation method for GFP frame fragmentation transmission based on FPGA |
Also Published As
Publication number | Publication date |
---|---|
CN103634229B (en) | 2017-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102030787B1 (en) | Method and apparatus for providing flexible Ethernet service over optical transport network | |
US11575458B2 (en) | Service transmitting and receiving methods and devices for optical transport network (OTN) | |
CN100589365C (en) | Method for time slot partition and overhead processing of optical payload unit in light transmission network | |
WO2019085816A1 (en) | Service data transmission method and apparatus | |
US10608766B2 (en) | Multi-service transport and receiving method and apparatus | |
CN111050361B (en) | Message transmission method, device and system | |
CN111092686A (en) | Data transmission method, device, terminal equipment and storage medium | |
CN103634229A (en) | Inter-chip communication method and control device | |
CN115022293B (en) | Multichannel resource allocation method and device, computer equipment and storage medium | |
CN108463960A (en) | A kind of business transmitting method and the first transmission equipment | |
US20210281343A1 (en) | Service Transmission Method and Device using Flexible Optical Network, Equipment and Storage Medium | |
CN112865910A (en) | Data transmission method, device, terminal equipment and storage medium | |
CN112468407A (en) | Data subpackage transmission method and device, computer equipment and storage medium | |
CN111741072B (en) | Low-bandwidth high-security data transmission method based on equipment virtualization | |
US7072348B2 (en) | System and method for in-service reconfiguration of a synchronous optical communications network | |
CN103457748A (en) | Data transmission method, system and device | |
CN113381889B (en) | Network slice determination method and device, electronic equipment and storage medium | |
CN102957590B (en) | Message slicing method and device | |
CN107645747B (en) | Method and equipment for sending and receiving data | |
CN106657097B (en) | A kind of data transmission method for uplink and device | |
EP3972179A1 (en) | Control word transmission method, apparatus, and computer readable storage medium | |
CN106789440B (en) | IP packet header detection method and device | |
EP3046333B1 (en) | Service sending, receiving methods and apparatuses | |
WO2020169009A1 (en) | Configuration method and device of slot container | |
CN117255230B (en) | Classification adjustment method, device and storage medium for transmission node |
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 |