CN103890746B - Message transmission control method, processing method, equipment and system - Google Patents

Message transmission control method, processing method, equipment and system Download PDF

Info

Publication number
CN103890746B
CN103890746B CN201280002093.0A CN201280002093A CN103890746B CN 103890746 B CN103890746 B CN 103890746B CN 201280002093 A CN201280002093 A CN 201280002093A CN 103890746 B CN103890746 B CN 103890746B
Authority
CN
China
Prior art keywords
message
protocol type
available space
space information
sends
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
Application number
CN201280002093.0A
Other languages
Chinese (zh)
Other versions
CN103890746A (en
Inventor
王工艺
卢广
刘钢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XFusion Digital Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN103890746A publication Critical patent/CN103890746A/en
Application granted granted Critical
Publication of CN103890746B publication Critical patent/CN103890746B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the present invention provides a kind of message transmission control method, processing method, equipment and system.The method includes: message sends control equipment and obtains the available space information receiving passage that each message of the first protocol type in receiving device is corresponding, and this available space information carried in the instruction message of second protocol type, be sent to message send processing equipment, message sends the message of the first protocol type that sending ending equipment is sent according to this available space information by processing equipment and is transmitted control.The message transmission control method that the embodiment of the present invention provides, message sends processing equipment and is transmitted controlling to the message that sending ending equipment sends according to this available space information, this message is only sent when the available space information of message is effective, when effectively preventing the message conversion between different agreement, the problem that deadlock occurs owing to Virtual Channel does not mates.

Description

Message transmission control method, processing method, equipment and system
Technical field
The present invention relates to communication technology, particularly relate to a kind of message transmission control method, processing method, equipment and system.
Background technology
In the most at a high speed point-to-point connected in series, there are a variety of agreement, such as high-speed peripheral assembly interconnection standard (Peripheral Component Interconnect Express, hereinafter referred to as PCIe) agreement, high-performance peripheral component are mutual Connection standard (Papid IO, hereinafter referred to as RapidIO) agreement, quick interconnecting channels (Quick Path Interconnect, with Lower abbreviation QPI) agreement etc..Owing to the application scenarios of each agreement is different, need the conversion carrying out between different agreement to adapt to not Same occasion, as carried out turning by QPI agreement and Ethernet or Infiniband technology (Infiniband, hereinafter referred to as IB) agreement Change.
In message protocol transformation process, for every kind of agreement, its Virtual Channel number is probably inconsistent, and some associations View, such as QPI agreement, there is dependence in the message between its Virtual Channel.Fig. 1 is the dependence of six kinds of different messages of QPI agreement Relation schematic diagram.As it is shown in figure 1, solid arrow represents dependence real between data message, such as nonuniformity mark Quasi-message (Non Coherence Standard, hereinafter referred to as NCS) relies on non-data response message (Non data Response, hereinafter referred to as NDR), nonuniformity bypass message (Non Coherence Bypass, hereinafter referred to as NCB), data Response message (Data Response, hereinafter referred to as DRS), monitoring message (Snoop, hereinafter referred to as SNP) and local message (Home, hereinafter referred to as HOM);Dotted arrow represents also dependence between data message, but due in advance give NDR, DRS is assigned with resource, and dependence can be eliminated.So-called dependence, refers to if to process certain message, then must be first Process other message relative.In Fig. 1, to process SNP message, then need first to process relative HOM, NDR, DRS message.
But, inventor finds, owing to the Virtual Channel number of different agreement may not mate, prior art is to having dependence During the message of relation carries out protocol conversion and message transmission, often occur causing due to the blocking of certain type of message The problem of system deadlock, causes message to send unsuccessfully.
Summary of the invention
The embodiment of the present invention provides a kind of message transmission control method, processing method, equipment and system, to prevent different association When message between view is changed, problem deadlock occurring owing to the Virtual Channel of different agreement does not mates.
First aspect, the embodiment of the present invention provides a kind of message transmission control method, including:
Obtain the available space information receiving passage that each message of the first protocol type in receiving device is corresponding;
Send processing equipment at protocol layer to message and send the second of the available space information comprising described each reception passage The instruction message of protocol type, so that described message sends the processing equipment available space information pair according to described each reception passage Each message of described first protocol type that sending ending equipment sends is transmitted controlling;
Wherein, described first protocol type and described second protocol type are different agreement type.
In the first possible implementation of first aspect, the first protocol type in described acquisition receiving device Each message corresponding receive passage available space information after, also include:
If the message of described first protocol type in reception passage is processed, then update the available sky of described reception passage Between information, and to described message send processing equipment send described second protocol type spatial update message, described space is more New message comprises the available space information after described reception passage updates or the newly-increased free space letter of described reception passage Breath.
In conjunction with first aspect or the first possible implementation of first aspect, in the realization that the second is possible In mode, the available space information receiving passage that in described acquisition receiving device, each message of the first protocol type is corresponding, Including:
Obtain the credit value receiving passage that each type of message of the first protocol type in receiving device is corresponding;
The described available space information comprising described each reception passage at protocol layer to message transmission processing equipment transmission The instruction message of second protocol type, so that described message sends processing equipment and believes according to the free space of described each reception passage Cease the message to described first protocol type that sending ending equipment sends to be transmitted controlling, including:
Send processing equipment to described message and send the described second protocol class of the credit value comprising described each reception passage The credit value message of type, so that described message sends the processing equipment credit value according to described each reception passage to sending ending equipment The message of described first protocol type sent is transmitted controlling.
Second aspect, the embodiment of the present invention provides a kind of message to send processing method, including:
Receive message and send the instruction message of the second protocol type that control equipment sends, described instruction message comprises and connects The available space information receiving passage that in receiving end equipment, each message of the first protocol type is corresponding;
Described first protocol type that sending ending equipment is sent by the available space information according to described each reception passage Message is transmitted controlling;
Wherein, described first protocol type and described second protocol type are different agreement type.
In the first possible implementation of second aspect, described reception message sends second that control equipment sends After the instruction message of protocol type, also include:
Receive described message and send the spatial update message of the described second protocol type that control equipment sends, described space Update and message comprises the available space information after described reception passage updates;
Available space information after updating according to described reception passage is that send described sending ending equipment with described reception The message of the first protocol type that passage is corresponding is transmitted controlling.
In the implementation that the second of second aspect is possible, described reception message sends that control equipment sends After the instruction message of two protocol types, also include:
Receive described message and send the spatial update message of the first protocol type that control equipment sends, described spatial update Message comprises the available space information that described reception passage is newly-increased;
Described newly-increased available space information is added up with existing available space information;
According to the available space information after described adding up, send described sending ending equipment is corresponding with described reception passage The message of the first protocol type be transmitted controlling.
In conjunction with second aspect or the first possible implementation of second aspect or the of second aspect Two kinds of possible implementations, in the implementation that the third is possible, described available space information is described reception passage Credit value.
The third aspect, the embodiment of the present invention provides a kind of message to send control equipment, including:
Acquisition module, obtains the free space receiving passage that each message of the first protocol type in receiving device is corresponding Information;
Sending module, sends processing equipment at protocol layer to message and sends the free space letter comprising described each reception passage The instruction message of the second protocol type of breath, so that described message sends the processing equipment available sky according to described each reception passage Between information each message of described first protocol type that sending ending equipment is sent be transmitted controlling;
Wherein, described first protocol type and described second protocol type are different agreement type.
In the first possible implementation of the 3rd aspect, described equipment also includes:
More new module, if the message of described first protocol type received in passage is processed, then updates described reception and leads to The available space information in road;
Described sending module, is additionally operable to send processing equipment to described message and sends the space of described second protocol type more New message, comprises the available space information after described reception passage updates or described reception passage in described spatial update message Newly-increased available space information.
In conjunction with the implementation that the first possible implementation of the 3rd aspect or the second are possible, at the third In possible implementation, described acquisition module, specifically for obtaining each message class of the first protocol type in receiving device The credit value receiving passage that type is corresponding;
Described sending module, sends, specifically for sending processing equipment to described message, the letter comprising described each reception passage With the credit value message of the described second protocol type of value, so that described message sends processing equipment according to described each reception passage The credit value message of described first protocol type that sending ending equipment is sent be transmitted controlling.
Fourth aspect, the embodiment of the present invention provides a kind of message to send processing equipment, including:
Receiver module, receives message and sends the instruction message of the second protocol type that control equipment sends, described instruction report Literary composition comprises the available space information receiving passage that each message of the first protocol type in receiving device is corresponding;
Control module, for according to the available space information of described each reception passage, sending ending equipment is sent described the The message of one protocol type is transmitted controlling;
Wherein, described first protocol type and described second protocol type are different agreement type.
In the first possible implementation of the 4th aspect, described receiver module, it is additionally operable to receive described message Send the spatial update message of described second protocol type that control equipment sends, described spatial update message comprises described in connect Receive the available space information after passage updates;
Described control module, is additionally operable to the available space information after updating according to described reception passage, to described transmitting terminal The message of first protocol type corresponding with described reception passage that equipment sends is transmitted controlling.
In the implementation that the second of the 4th aspect is possible, described receiver module, it is additionally operable to receive described message Send the spatial update message that control equipment sends, described spatial update message comprises the available sky that described reception passage is newly-increased Between information;
Described control module, including:
Summing elements, for adding up described newly-increased available space information with existing available space information;
Processing unit, for according to described cumulative after available space information, described sending ending equipment is sent with institute The message stating the first protocol type corresponding to reception passage is transmitted controlling.
In conjunction with the 4th aspect or the first possible implementation of the 4th aspect or the of the 4th aspect Two kinds of possible implementations, in the implementation that the third is possible, described available space information is described reception passage Credit value.
5th aspect, the embodiment of the present invention provides a kind of message handling system, including:
Receiving device, sending ending equipment, above-mentioned message send control equipment and message sends processing equipment.
6th aspect, the embodiment of the present invention provides a kind of message to send control equipment, including:
Processor, for obtaining the available sky receiving passage that each message of the first protocol type in receiving device is corresponding Between information;
Transmitter, sends, for sending processing equipment at protocol layer to message, the free space comprising described each reception passage The instruction message of the second protocol type of information, so that described message sends processing equipment can use according to described each reception passage Each message of described first protocol type that sending ending equipment is sent by spatial information is transmitted controlling;
Wherein, described first protocol type and described second protocol type are different agreement type.
In the first possible implementation of the 6th aspect,
Described processor, if the message being additionally operable to receive described first protocol type in passage is processed, then updates institute State the available space information receiving passage;
Described transmitter, is additionally operable to send processing equipment to described message and sends the spatial update of described second protocol type Message, comprises the available space information after described reception passage updates in described spatial update message or described reception passage is new The available space information increased.
In conjunction with the implementation that the first possible implementation of the 6th aspect or the second are possible, at the third In possible implementation,
Described processor, specifically for obtaining the reception that in receiving device, each type of message of the first protocol type is corresponding The credit value of passage;
Described transmitter, sends, specifically for sending processing equipment to described message, the letter comprising described each reception passage With the credit value message of the described second protocol type of value, so that described message sends processing equipment according to described each reception passage The credit value message of described first protocol type that sending ending equipment is sent be transmitted controlling.
7th aspect, the embodiment of the present invention provides a kind of message to send processing equipment, it is characterised in that including:
Receptor, sends the instruction message of the second protocol type that control equipment sends, described instruction for receiving message Message comprises the available space information receiving passage that each message of the first protocol type in receiving device is corresponding;
Controller, is used for described first sent sending ending equipment according to the available space information of described each reception passage The message of protocol type is transmitted controlling;
Wherein, described first protocol type and described second protocol type are different agreement type.
In the first possible implementation of the 7th aspect,
Described receptor, is additionally operable to receive described message and sends the space of the described second protocol type that control equipment sends Update message, described spatial update message comprises the available space information after described reception passage updates;
Described controller, is additionally operable to the available space information after updating according to described reception passage, sets described transmitting terminal The message of first protocol type corresponding with described reception passage that preparation is sent is transmitted controlling.
In the implementation that the second of the 7th aspect is possible,
Described receptor, be additionally operable to receive described message send control equipment send described second protocol type space Update message, described spatial update message comprises the available space information that described reception passage is newly-increased;
Described controller, adds up described newly-increased available space information with existing available space information, according to Described cumulative after available space information, first protocol class corresponding with described reception passage that described sending ending equipment is sent The message of type is transmitted controlling.
In conjunction with the 7th aspect or the first possible implementation of the 7th aspect or the of the 7th aspect Two kinds of possible implementations, in the implementation that the third is possible, it is characterised in that described available space information is for receiving The credit value of passage.
Message transmission control method, processing method, equipment and the system that the embodiment of the present invention provides, at protocol conversion process In, message sends control equipment and obtains the available of reception passage corresponding to each message of the first protocol type in receiving device Spatial information, and this available space information is carried be sent in the instruction message of second protocol type message transmission process set It is standby, so that message sends the first protocol class that sending ending equipment can be sent by processing equipment according to this available space information The message of type is transmitted controlling, and the only available space information instruction receiving passage in receiving device receives in passage When remaining to cache message, message sends processing equipment and just the message that sending ending equipment sends is sent to receiving device, effectively Prevent the blocking due to certain type message so that other type of message cannot send to receiving device, thus solve be The problem of system deadlock.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is this Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the dependence schematic diagram of six kinds of different messages of QPI agreement;
Fig. 2 is the schematic flow sheet of message transmission control method embodiment one of the present invention;
Fig. 3 is the schematic flow sheet that message of the present invention sends processing method embodiment one;
Fig. 4 is the structural representation that message of the present invention sends the application scenarios of processing method;
Fig. 5 is that in message of the present invention transmission processing method, message sends control equipment and message sends between processing equipment Mutual schematic diagram;
Fig. 6 is that message of the present invention sends the structural representation controlling apparatus embodiments one;
Fig. 7 is that message of the present invention sends the structural representation controlling apparatus embodiments two;
Fig. 8 is the structural representation that message of the present invention sends processing equipment embodiment one;
Fig. 9 is the structural representation that message of the present invention sends processing equipment embodiment two;
Figure 10 is the structural representation of message sending control system embodiment of the present invention;
Figure 11 is that message of the present invention sends the structural representation controlling apparatus embodiments three;
Figure 12 is the structural representation that message of the present invention sends processing equipment embodiment three.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
Fig. 2 is the schematic flow sheet of message transmission control method embodiment one of the present invention.As in figure 2 it is shown, this message sends Control method, comprises the following steps:
S201: message sends the reception that in control equipment acquisition receiving device, each message of the first protocol type is corresponding and leads to The available space information in road.
In protocol conversion process, message sends control equipment and obtains each message of the first protocol type in receiving device The corresponding available space information receiving passage.
Specifically, each first in first out (First corresponding with each type of message in receiving passage i.e. receiving device In First Out, hereinafter referred to as FIFO) Virtual Channel.For QPI agreement, QPI agreement has 6 kinds of different types of messages, i.e. 6 kinds of type of messages as shown in Figure 1, the most corresponding different FIFO Virtual Channel of these 6 kinds of different type of messages, each FIFO is empty Passage is for caching the message of the pending a certain type of receiving device.Correspondingly, in this step, message sends control equipment The available space information of 6 FIFO Virtual Channels can be obtained.For example, for NDR message, its FIFO Virtual Channel can cache altogether 10 NDR messages, have only cached 6 in this FIFO Virtual Channel current, then the available space information of this FIFO Virtual Channel is Remain to cache the information of 4 NDR messages for instruction.
S202: message send control equipment protocol layer to message send processing equipment send comprise each reception passage can With the instruction message of the second protocol type in space, so that message sends the processing equipment free space according to each reception passage The message of the first protocol type that sending ending equipment is sent by information is transmitted controlling.
Message sends each message pair of the first protocol type in the receiving device that control equipment will get in S201 Answer receive passage available space information carry be sent in the instruction message of second protocol type message transmission process set Standby, message sends processing equipment can be according to this available space information, the report to the first protocol type that sending ending equipment sends Literary composition is transmitted controlling.That is, in this step, only message sends the free space letter of certain message that processing equipment receives When breath indicates the FIFO Virtual Channel of certain message to still suffer from vacant, message sends processing equipment and just can be sent by sending ending equipment The message of the type be sent to receiving device.
Send the message of QPI protocol domain with sending ending equipment after PCIe protocol is changed, be sent to the QPI of receiving device The message of agreement, that is, the first agreement is as a example by specially QPI agreement, second protocol are specially PCIe protocol, existing message In sending control method, it is assumed that the available space information instruction of the FIFO Virtual Channel of the NCB message of the QPI agreement of receiving terminal can be delayed Deposit 4 NCB messages, if sending ending equipment sends NCB message always, then after have sent 4 NCB messages, receiving device The FIFO Virtual Channel of NCB is fully written.Now, if retransmiting a NCB message, then this NCB message is trapped in PCIe territory In asyn_fifo.And the process of NCB message depends on NDR message and DRS message, stifled due to the NCB message that sends before Plug so that NDR message is trapped in the asyn_fifo in PCIe territory or the FIFO Virtual Channel that sending ending equipment is corresponding with DRS message In, it is impossible to enter receiving device thus cause system deadlock.In the present embodiment, message sends control equipment and gets instruction energy After the available space information of 4 NCB messages of caching, this available space information is encapsulated in PCIe data message and is sent to message Send processing equipment.According to this available space information, the message of the QPI protocol type that sending ending equipment sends is controlled. After sending ending equipment have sent 4 NCB messages, message sends processing equipment control sending ending equipment and does not retransmit NCB message, Therefore the asyn_fifo in PCIe territory will not be blocked by NCB message so that other kinds of message can send timely to reception End equipment.
It should be noted that above-described embodiment is during message sends, needing to carry out protocol conversion process, it can be adopted Realizing by the processing procedure of existing protocol encapsulation and protocol analysis, here is omitted.
The message transmission control method that the embodiment of the present invention provides, in protocol conversion process, message sends control equipment Obtain the available space information receiving passage that each message of the first protocol type in receiving device is corresponding, and will at protocol layer This available space information is carried and is sent to message transmission processing equipment in the instruction message of second protocol type, so that report Literary composition sends processing equipment can be carried out according to the message of the first protocol type that sending ending equipment is sent by this available space information Sending and control, the only available space information receiving passage in receiving device remains to caching in effectively indicating reception passage During message, message sends processing equipment and just the message that sending ending equipment sends is sent to receiving device, effectively prevent due to The blocking of certain type message so that other type of message cannot send to receiving device, thus solves system deadlock Problem.
In message transmission control method embodiment two of the present invention, if the message quilt of the first protocol type received in passage Process, then update the available space information of this reception passage, and send the sky of processing equipment transmission second protocol type to message Between update message, spatial update message comprises this reception passage update after available space information or this reception passage increase newly Available space information.
Specifically, if certain message received in passage of receiving device is disposed off, can use of this reception passage Space is released, then message sends the available space information controlling this reception passage of renewal of the equipment, and processes to message transmission Equipment sends the spatial update message of second protocol type.Message sends control equipment can be by the available space information after updating It is sent to message and sends processing equipment, it is also possible at the reception passage of receiving device once there be free space to send this reception The available space information that passage increases newly sends processing equipment to message.For example, if certain of receiving device receives passage Accommodating up to 10 messages, current clear text 7, when 3 messages therein are disposed off, then message sends and controls The available space information of available space information that is 6 message after updating both can be sent to message transmission process and set by equipment Standby, it is also possible to the available space information of 3 newly-increased messages is sent to message processor.
Message sends control equipment and can send out to message often disposing a message just one newly-increased free space of transmission Send processing equipment, it is also possible to send to message again when the free space receiving passage of receiving device runs up to a certain degree Processing equipment sends the available space information after this reception passage updates or newly-increased available space information.
In the above embodiment of the present invention, obtain the reception that in receiving device, each type of message of the first protocol type is corresponding The available space information of passage, can be to obtain the reception that in receiving device, each type of message of the first protocol type is corresponding to lead to The credit value in road.Message sends control equipment and sends the credit of the credit value that processing equipment transmission comprises each reception passage to message Value second protocol type message, so that message sends processing equipment and sends sending ending equipment according to the credit value of each reception passage The message of the first protocol type be transmitted controlling.
Such as, the message of the QPI protocol domain sent with sending ending equipment is sent to receiving terminal after PCIe protocol is changed and sets The message of standby QPI agreement, that is, the first protocol type is QPI agreement, as a example by second protocol type is PCIe protocol, it is assumed that Message send the credit value of the NCB message of QPI agreement that control equipment gets be in 4, namely receiving device with NCB message Can also receive 4 messages in corresponding FIFO Virtual Channel, then message sends control equipment and sends processing equipment transmission to message The instruction message of the PCIe protocol type containing this credit value, message sends processing equipment and receives this instruction message, and according to this The NCB message of the QPI protocol type that sending ending equipment sends is transmitted controlling by credit value 4, can control sending ending equipment At most send 4 NCB messages to receiving device.If the NCB message of receiving device is read, such as, there are 2 NCB message quilts Reading, now message sends control equipment and by original 4, the credit value of the message of NCB can be updated to 6, and sends out to message Processing equipment is sent to send the spatial update message of the PCIe protocol type that credit value is 6 after comprising renewal;Receiving device is also Can i.e. send newly-increased credit value after once having a NCB message processed and send processing equipment to message, i.e. dispose One NCB message, just sends the spatial update message comprising newly-increased 1 credit value to transmission processing equipment of transmitting messages, reprocessing After falling a NCB message, retransmit the spatial update message of the PCIe protocol type comprising newly-increased 1 credit value to transmitting messages Sending processing equipment, message sends processing equipment and every time newly-increased credit value and existing credit value is added up;Message sends and controls Equipment can also retransmit newly-increased credit value after several NCB messages are processed and send processing equipment to message, and message sends Credit value and the existing credit value of renewal are added up by processing equipment, such as, newly-increased credit value 2 and existing credit value 4 are tired out Add, cumulative after credit value be 6, message send processing equipment according to this after cumulative for 6 credit value sending ending equipment is sent out The message of the QPI protocol type sent is transmitted controlling.
The message transmission control method that the embodiment of the present invention provides, in protocol conversion process, by message transmission Reason equipment sends to include and receives the available space information after passage updates or receive the available space information that passage is newly-increased, makes Obtain message and send the available space information of the second protocol type that processing equipment receives along with each first agreement of receiving device The change of available space information receiving passage of the message of type and change, i.e. message send processing equipment can root dynamically The first association sending ending equipment sent according to the available space information receiving passage that each type of message of receiving device is corresponding View type message be transmitted control, effectively prevent the blocking due to certain type message so that other type of message without Method sends to receiving device, thus the problem solving system deadlock.
Fig. 3 is the schematic flow sheet that message of the present invention sends processing method embodiment one.As it is shown on figure 3, this message sends Control method, comprises the following steps:
S301: receive message and send the instruction message of the second protocol type that control equipment sends, comprise in instruction message The available space information receiving passage that in receiving device, each message of the first protocol type is corresponding.
Receiving device is the protocol domain that the message between the passage corresponding with sending ending equipment exists dependence, such as QPI agreement.Referring to embodiment one S201 in detail, here is omitted.
S302: according to the message of the first protocol type that sending ending equipment is sent by the available space information of each reception passage It is transmitted controlling.
In this step, the only free space of certain message of the first protocol type that message transmission processing equipment receives In the case of information is effective, sending ending equipment just can send this message.With the first protocol type for QPI agreement, second protocol Type is that the message of the QPI protocol domain that PCIe protocol, sending ending equipment send is sent to receiving terminal and sets after PCIe protocol is changed As a example by the message of standby QPI agreement, if message sends processing equipment and receives and include available space information and be designated as delaying Deposit the NCB of 4 QPI protocol types PCIe protocol instruction message, resolve this message, and according to this available space information pair Sending ending equipment sends the NCB message of QPI protocol type and is controlled.If after sending ending equipment has sent 4 NCB messages, During now message sends processing equipment, the free space of NCB message is 0, and message sends processing equipment and controls sending ending equipment no longer Sending NCB message, therefore the asyn_fifo in PCIe territory will not be blocked by NCB message so that other kinds of message can be timely Transmission to receiving device.
It should be noted that above-described embodiment is during message sends, needing to carry out protocol conversion process, it can be adopted Realizing by the processing procedure of existing protocol encapsulation and protocol analysis, here is omitted.
The message that the embodiment of the present invention provides sends processing method, and message sends processing equipment reception message transmission control and sets The instruction of the second protocol type of the available space information receiving passage that each message of the first protocol type that preparation is sent is corresponding Message, and the message of the first protocol type sent sending ending equipment according to this available space information is transmitted controlling, only Have the available space information received in message transmission processing equipment effective, i.e. available space information is designated as remaining to cache N (N >=1, N are integer) individual message time, according to this available space information, message sends processing equipment and just controls sending ending equipment by the The message of one protocol type is sent to receiving device, effectively prevents the blocking due to certain type message so that other types Message cannot send to receiving device, thus effectively prevent in the message transformation process between different agreement due to Virtual Channel not The problem mated and deadlock occurs.
In message of the present invention sends processing method embodiment four, send, receiving message, the second association that control equipment sends After the instruction message of view type, message sends processing equipment can also receive the second protocol class that message transmission control equipment sends The spatial update message of type, comprises the free space letter receiving the first protocol type after passage updates in spatial update message Breath;Available space information after updating according to this reception passage, corresponding with this reception passage that sending ending equipment is sent The message of one protocol type is transmitted controlling.
Specifically, what message transmission processing equipment reception message transmission control equipment sent includes the first protocol type The spatial update message of second protocol type receiving the available space information after passage updates, sending ending equipment is sent The message of first protocol type corresponding with this reception passage is transmitted controlling;The message received sends control equipment and sends out The available space information receiving passage that each type of message of the first protocol type sent is corresponding, can be in receiving device respectively The credit value receiving passage that the message of the first protocol type is corresponding.
Such as in QPI agreement, it is assumed that it is 4 that message sends the credit value size of the NCB message that processing equipment receives, then send out Sending end equipment at most can send 4 NCB messages to receiving device, and sending ending equipment often sends a NCB message, credit value Will subtract 1.If after the NCB message of receiving device is disposed off one or several, such as, dispose 2, and interior during this period of time Sending ending equipment does not send NCB message, and the most now message sends control equipment has original 4 by the free space of NCB message It is updated to 6, and the available space information of this renewal is sent to message transmission processing equipment.
In another embodiment of the invention, message sends processing equipment and receives the second of message transmission control equipment transmission The spatial update message of protocol type, it is also possible to include the first protocol type receives the available space information that passage is newly-increased, Message sends processing equipment and the available space information that this is newly-increased is added up with existing available space information, after cumulative Available space information, be transmitted the message corresponding with this receiving terminal passage of sending ending equipment controlling.Such as QPI agreement In, it is assumed that it is 4 that message sends the credit value of the NCB message that processing equipment receives, if the NCB message of receiving device is processed After falling one or several, such as, disposing 2, i.e. newly-increased credit value is 2, if sending ending equipment is not sent out in during this period of time NCB message, the most now message transmission processing equipment is sent existing credit value 4 and newly-increased credit value 2 to be added up, after adding up The size of credit value is 6, according to this credit value after cumulative, the message corresponding with this reception passage sending sending ending equipment It is controlled.In the case of credit value is effective, sending ending equipment can effectively count by the credit value of transmission according to demand at any time It is updated according to message and to the credit value disposing the message discharging space.
The message that the embodiment of the present invention provides sends processing method, and in protocol conversion process, message sends processing equipment Including the available space information after receiving passage renewal or receiving passage of control equipment transmission is sent by receiving message Newly-increased available space information so that message send the available space information of the second protocol type that processing equipment receives along with The change of available space information receiving passage of each type of message of receiving device the first protocol type and change, i.e. message Sending processing equipment can be dynamically according to the reception passage that the type of message of each first protocol type of receiving device is corresponding Available space information be transmitted the message that sending ending equipment sends controlling, thus effectively prevent due to certain type message Blocking so that other kinds of message cannot send to receiving device, causes in the message transformation process between different agreement The problem that deadlock occurs owing to Virtual Channel does not mates.
Use a specific embodiment below, the technical scheme of above-described embodiment is described in detail.
Fig. 4 is the structural representation that message of the present invention sends the application scenarios of processing method.Fig. 5 is that message of the present invention sends In processing method, message sends control equipment and message sends the mutual schematic diagram between processing equipment, as shown in Figures 4 and 5, originally Illustrate as a example by embodiment protocol conversion based on QPI with PCIe.
In Fig. 4, QPI_A is sending ending equipment, and QPI_B is receiving device, HOM_FIFO, SNP_FIFO, NCB_FIFO, DRS_FIFO, NCS_FIFO, NDR_FIFO etc. are reception passage corresponding to the internal different type of message of QPI_A and QPI_B, Credit_Tx is that message sends control equipment, and Credit_RX is that message sends processing equipment, additionally includes that QPI territory message arrives PCIe territory message package module (Packet Transform QPI-to-PCIe, hereinafter referred to as PT_Q2P), PCIe territory message arrive QPI territory message package module (Packet Transform PCIe-to-QPI, hereinafter referred to as PT_P2Q), asynchronous FIFO (asyn_ FifO), the receiving terminal (PCIe_Rx) of PCIe transmission network and transmitting terminal (PCIe_Tx).
When QPI_A sends message to QPI_B, the message of QPI_A transfers the message in PCIe territory to, is then passed through the net of PCIe The message in QPI territory is transferred again to after network transmission.For QPI territory, it is to can't see whether message conversion through PCIe territory, i.e. PCIe The conversion in territory is transparent.Wherein, PT_Q2P module completes the encapsulation to PCIe territory message of the QPI territory message;PT_P2Q module is complete Become PCIe territory message to the encapsulation of QPI territory message;Asyn_fifo module is asynchronous fifo, completes the message across clock and transmits; The FIFO of QPI_A Yu QPI_B end is the transmission FIFO of QPI territory message and receives FIFO.In the present embodiment, the message of different agreement Encapsulation can be found in prior art.Owing to QPI has 6 kinds of different types of messages, this 6 type message is the most corresponding different FIFO.Send by QPI message sending control system below and be described in detail as a example by message.
As a example by sending NCB message and HOM message, as it is shown in figure 5, the report of the present embodiment QPI message sending control system Literary composition transmittance process is as follows:
1), during QPI system starts, the message of QPI_B end sends control equipment Credit_Tx and obtains each of QPI_A end The available space information receiving passage that type of message is corresponding, the credit value receiving passage that the most each type of message is corresponding, and to The message of QPI_A end sends processing equipment Credit_Rx and sends the credit value message containing this credit value;Credit_Rx receives Parsing the credit value of correspondence after credit value message, message effective to credit value carries out message conversion.
2) credit value of the different message received can be added up by Credit_Rx, the most often send simultaneously one this The message of type, credit value needs to subtract 1.In Fig. 5, Ack0 Ack1 send respectively different NCB and HOM messages to Credit_Rx.Such as before sending Packet0, the credit value of NCB is 4, and the credit value of HOM is 6.
3) during sending Packet0-Packet5, owing to the credit value of NCB and HOM of QPI_A end is all effective, So alternately sending HOM and NCB, (being encapsulated in PCIe, concrete refers to prior art, and here is omitted, with lower class Like).When having sent Packet5, the credit value of the NCB message of the Credit_Rx of QPI_A end is 0, and the credit value of HOM is 4, this Time Credit_Rx according to this credit value control QPI_A end cannot send NCB message;
4) during sending Packet6-Packet9, due to the credit of only HOM in the Credit_Rx of QPI_A end Effectively, therefore its control QPI_A end only sends HOM message to value.When having sent Packet9, HOM message in Credit_Rx Credit value is 0, now cannot send any message.
5) QPI_B end once reads certain type of message from FIFO, i.e. thinks that this FIFO discharges space and can connect Receiving new message, the credit value that now Credit_Rx of QPI_B end should increase newly is issued message and is sent processing equipment Credit_Rx, Again newly-increased credit value is sent to Credit_Rx after can also accumulating a number of credit value.Such as the Ack2 in Fig. 5 It is sent to Credit_Rx with the credit value that have accumulated 3 NCB and 4 HOM in Ack3 respectively.Credit_Rx is by this newly-increased letter Add up with value and existing credit value, and the message sent QPI_A end according to the credit value after cumulative is controlled.
In another embodiment of the present invention, it is also possible to once read certain type of message from FIFO at QPI_B end, i.e. Thinking that this FIFO receives new message between free, now the Credit_Rx of QPI_B end is by this message credit value of renewal, and will more Credit value after Xin is sent to Credit_Rx.For example, it is assumed that after sending Packet4, QPI_B end disposes 2 NCB reports Literary composition, the most now Credit_Rx is by updating the credit value of NCB message, i.e. has original 4 to be updated to 6, after Credit_Rx will update The credit message that ACK value is 6 be sent to Credit_Rx.
Instruction message containing credit value can be inserted in certain field (in effective field when sending effective message Fixed field), it is also possible to when not having effective message to send, actively send single credit message.
The present invention implements message transmission control method, equipment and the system provided, and in protocol conversion process, message sends Control equipment obtains the available space information receiving passage that each type of message of the first protocol type in receiving device is corresponding, And this available space information second protocol type is sent to message transmission processing equipment, set so that message transmission processes For being transmitted controlling, only according to the message of the first protocol type that sending ending equipment is sent by this available space information The available space information instruction receiving passage in receiving device receives when remaining to cache message in passage, at message transmission The message that sending ending equipment sends just is sent to receiving device by reason equipment;It addition, send out by sending processing equipment to message Send to include and receive the available space information after passage updates or receive the available space information that passage is newly-increased so that message is sent out Send available space information that processing equipment receives along with the passage that receives of the message of each first protocol type of receiving device The change of available space information and change, i.e. message send processing equipment can be dynamically according to each message class of receiving device The message of the first protocol type that sending ending equipment is sent by the available space information receiving passage that type is corresponding is transmitted control System, effectively prevents the blocking due to certain type message so that other type of message cannot send to receiving device, thus The problem solving system deadlock.
Fig. 6 is that message of the present invention sends the structural representation controlling apparatus embodiments one.As shown in Figure 6, this message sends Control equipment includes: acquisition module 1 and sending module 3.
Acquisition module 1, for obtaining in protocol conversion process each type of message of the first protocol type in receiving device The corresponding available space information receiving passage.
Sending module 3, sends, for sending processing equipment at protocol layer to message, the free space comprising each reception passage The instruction message of the second protocol type of information, so that message sends the processing equipment available space information according to each reception passage Being transmitted controlling to the message of the first protocol type that sending ending equipment sends, the first protocol type with second protocol type is Different protocol types.
The equipment of the present embodiment for performing the technical scheme of embodiment of the method one shown in above-mentioned Fig. 2, its realize principle and Technique effect is similar to, and here is omitted.
Fig. 7 is that message of the present invention sends the structural representation controlling apparatus embodiments two.As it is shown in fig. 7, this message sends Control equipment, on the basis of structure shown in Fig. 6, the most also includes:
More new module 2, if being processed for receiving the message of the first protocol type in passage, then updates this reception passage Available space information;
This sending module 3, is additionally operable to send processing equipment to message and sends the spatial update message of second protocol type, Spatial update message comprises the available space information after this reception passage updates or the newly-increased free space of this reception passage Information.
Sending at above-mentioned message controls in apparatus embodiments, acquisition module 1, can be specifically for obtaining in receiving device The credit value receiving passage that each type of message of the first protocol type is corresponding;Sending module 2, can be specifically at protocol layer The credit value message that processing equipment sends the second protocol type of the credit value comprising each reception passage is sent to message, so that report Literary composition sends the message of the first protocol type that sending ending equipment is sent by processing equipment according to the credit value of each reception passage to be carried out Send and control.
The equipment of the present embodiment is for performing the technical scheme of said method embodiment two, and it realizes principle and technique effect Similar, here is omitted.
Fig. 8 is the structural representation that message of the present invention sends processing equipment embodiment one.As shown in Figure 8, this message sends Processing equipment includes: receiver module 4, control module 5.
Receiver module 4, sends the instruction message of the second protocol type that control equipment sends, instruction report for receiving message Literary composition comprises the available space information receiving passage that each message of the first protocol type in receiving device is corresponding.
Control module 5, for the first agreement sent sending ending equipment according to the available space information of each reception passage The message of type is transmitted controlling.
First protocol type is different protocol types from second protocol type.
The equipment of the present embodiment for performing the technical scheme of embodiment of the method one shown in above-mentioned Fig. 3, its realize principle and Technique effect is similar to, and here is omitted.
In an alternative embodiment of the invention, receiver module 4 is additionally operable to receive and connects comprising of message transmission control equipment transmission Receive the spatial update message of the second protocol type of the available space information after passage updates;Control module 5 is additionally operable to according to being somebody's turn to do Receive the available space information after passage updates, first protocol type corresponding with this reception passage that sending ending equipment is sent Message be transmitted control.
Fig. 9 is the structural representation that message of the present invention sends processing equipment embodiment two.As it is shown in figure 9, at the present embodiment On the basis of structure shown in Fig. 8, further, receiver module 4 is additionally operable to receive message and sends comprising of control equipment transmission There is the spatial update message of the second protocol type receiving the newly-increased available space information of passage;Control module 5 also includes: cumulative Unit 51, for adding up the available space information that this is newly-increased with existing available space information;Processing unit 52, is used for According to the available space information after adding up, the report to first protocol type corresponding with this reception passage that sending ending equipment sends Literary composition is transmitted controlling.Each type of message that the message received sends the first protocol type that control equipment sends is corresponding Receive the available space information of passage, can be the credit value receiving passage that in receiving device, each type of message is corresponding.
Such as in QPI agreement, the initial credit value getting NCB is 4, if after NCB message is disposed off one or several, Such as, disposing 2, i.e. newly-increased free space size is 2, if sending ending equipment does not send NCB message in during this period of time, The most now receiver module 4 receives message and sends the spatial update message containing 2 newly-increased credit values that control equipment sends, and controls Existing credit value 4 and newly-increased credit value 2 are added up by the summing elements 51 of module 5, and the credit value after adding up is 6, control The processing unit 52 of molding block 5 according to this available space information after cumulative, sending ending equipment is sent with this reception passage Corresponding message is controlled.In the case of available space information is effective, sending ending equipment can be sent out at any time according to demand Send the effective data message of spatial information and the available space information disposing the message discharging space is updated.
The message that the embodiment of the present invention provides sends processing equipment, in protocol conversion process, sends by receiving message What control equipment sent includes the available space information after receiving passage renewal or receives the free space letter that passage is newly-increased The second protocol kind of message of breath so that the available space information that message transmission processing equipment receives is along with receiving device The change of available space information receiving passage of each type of message of the first protocol type message and change, i.e. at message transmission Reason equipment can dynamically according to the available space information receiving passage corresponding to each type of message of receiving device to transmission The message of the first protocol type that end equipment sends is transmitted controlling, and effectively prevents the blocking due to certain type message, makes Obtain other type of message cannot send to receiving device, thus the problem solving system deadlock.
Figure 10 is the structural representation of message sending control system embodiment of the present invention.As shown in Figure 10, this message sends Control system includes: receiving device 6, message send control equipment 7, message sends processing equipment 8 and sending ending equipment 9.
Message in the present embodiment sends control equipment 7 and message to send the employing that processing equipment 8 can be corresponding aforementioned The embodiment of each equipment;Receiving device 6, message send control equipment 7, message transmission processing equipment 8 and sending ending equipment 9 Concrete interaction and the network architecture can use content shown in Fig. 4 and Fig. 5 to realize, and here is omitted.
Figure 11 is that message of the present invention sends the structural representation controlling apparatus embodiments three.As shown in figure 11, this message is sent out Control equipment 1100 is sent to include: at least one CPU1101, at least one network interface 1104 or other user interfaces 1103, Memorizer 1105, and at least one communication bus 1102.Communication bus 1102 is for realizing the connection communication between each device.Should Message sends control equipment 1100 and optionally comprises user interface 1103, including display, keyboard or pointing device.Memorizer 1105 may comprise high-speed RAM memorizer, it is also possible to also include non-labile memorizer (non-volatile memory), For example, at least one disk memory.Memorizer 1105 optionally can comprise at least one and be located remotely from aforementioned CPU1101's Storage device.In some embodiments, memorizer 1105 stores following element, coding, module or data structure, or Their subset of person, or their superset, operating system 1106, comprise various program, be used for realizing various basic business And process hardware based task.
Processor 1110, for obtain each message of the first protocol type in receiving device corresponding receive passage can Use spatial information.
Transmitter 1120, sends the of the available space information comprising each reception passage for sending processing equipment to message The instruction message of two protocol types, so that message sends the processing equipment available space information according to each reception passage to transmitting terminal The message of the first protocol type that equipment sends is transmitted controlling.
Wherein, the first protocol type and second protocol type are different agreement type.
The equipment of the present embodiment for performing the technical scheme of embodiment of the method one shown in above-mentioned Fig. 2, its realize principle and Technique effect is similar to, and here is omitted.
Further, if the message of the first protocol type received in passage is processed, processor 1110, then it is used for updating The available space information of this reception passage;
Transmitter 1120, is additionally operable to send processing equipment to message and sends spatial update message, wrap in spatial update message Containing the available space information that the available space information after the renewal of this reception passage or this reception passage are newly-increased.
Sending at above-mentioned message controls in apparatus embodiments, processor 1110, can be specifically for obtaining receiving device In the credit value receiving passage corresponding to each message of the first protocol type;Transmitter 1120, can be specifically for sending out to message Send the credit value message of the second protocol type of the processing equipment credit value that transmission comprises each reception passage, so that at message transmission The message of the first protocol type that sending ending equipment is sent by reason equipment according to the credit value of each reception passage is transmitted controlling.
The message that the present embodiment provides sends control equipment 1100 and includes the core component for processing business, due to and real Execute mode specific purposes uncorrelated, be not repeated herein.Message sends the processor 1110 in control equipment 1100, transmitter 1120 Work process send the work process approximation of the acquisition module 1 of control equipment and sending module 3 respectively with message in Fig. 6, no Repeat again.
Figure 12 is the structural representation that message of the present invention sends processing equipment embodiment three.As shown in figure 12, this message is sent out Control equipment 1200 is sent to include: at least one CPU1201, at least one network interface 1204 or other user interfaces 1203, Memorizer 1205, and at least one communication bus 1202.Communication bus 1202 is for realizing the connection communication between each device.This report Literary composition sends control equipment 1200 and optionally comprises user interface 1203, including display, keyboard or pointing device.Memorizer 1205 may comprise high-speed RAM memorizer, it is also possible to also include non-labile memorizer (non-volatile memory), For example, at least one disk memory.Memorizer 1205 optionally can comprise at least one and be located remotely from aforementioned CPU1201's Storage device.In some embodiments, memorizer 1205 stores following element, coding, module or data structure, or Their subset of person, or their superset, operating system 1206, comprise various program, be used for realizing various basic business And process hardware based task.
Receptor 1210, sends the instruction message of the second protocol type that control equipment sends, instruction for receiving message Message comprises the available space information receiving passage that each message of the first protocol type in receiving device is corresponding.
Controller 1220, for the first agreement sent sending ending equipment according to the available space information of each reception passage The message of type is transmitted controlling.
Wherein, the first protocol type and second protocol type are different agreement type.
Further, receptor 1210 be additionally operable to receive message send control equipment send comprise reception passage update after The spatial update message of second protocol type of available space information;Controller 1220 is additionally operable to update according to this reception passage After available space information, the message of first protocol type corresponding with this reception passage sending sending ending equipment carries out sending out Send control.
Further, receptor 1210 be additionally operable to receive message send control equipment send include reception passage increase newly The spatial update message of available space information;Controller 1220 is available with existing for the available space information that this is newly-increased Spatial information adds up, and according to the available space information after adding up, send sending ending equipment is corresponding with this reception passage The message of the first protocol type be transmitted controlling.In above-described embodiment, the message received sends what control equipment sent The available space information receiving passage that each type of message is corresponding, can be the reception that in receiving device, each type of message is corresponding The credit value of passage.
The message that the embodiment of the present invention provides sends processing equipment, sends comprising of control equipment transmission by receiving message Have and receive the available space information after passage updates or receive the available space information that passage is newly-increased so that message transmission processes The available space information that equipment receives is along with the change of the available space information receiving passage of each type of message of receiving device Changing and change, i.e. message transmission processing equipment can be dynamically according to the reception passage that each type of message of receiving device is corresponding Available space information be transmitted the message that sending ending equipment sends controlling, effectively prevent due to certain type message is stifled Plug so that other type of message cannot send to receiving device, thus the problem solving system deadlock.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, it is not intended to limit;To the greatest extent The present invention has been described in detail by pipe with reference to foregoing embodiments, it will be understood by those within the art that: it depends on So the technical scheme described in foregoing embodiments can be modified, or the most some or all of technical characteristic is entered Row equivalent;And these amendments or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technology The scope of scheme.

Claims (13)

1. a message transmission control method, it is characterised in that including:
Obtain the available space information receiving passage that each message of the first protocol type in receiving device is corresponding;
Send processing equipment at protocol layer to message and send the second protocol of the available space information comprising described each reception passage The instruction message of type, so that described message sends the processing equipment available space information according to described each reception passage to transmission The message of described first protocol type that end equipment sends is transmitted controlling;
Wherein, described first protocol type and described second protocol type are different agreement type;
The available space information receiving passage that in described acquisition receiving device, each message of the first protocol type is corresponding, bag Include:
Obtain the credit of described reception passage corresponding to each type of message of the first protocol type described in described receiving device Value;
The second of the described available space information comprising described each reception passage at protocol layer to message transmission processing equipment transmission The instruction message of protocol type, so that described message sends the processing equipment available space information pair according to described each reception passage The message of described first protocol type that sending ending equipment sends is transmitted controlling, including:
The described second protocol type of the credit value that processing equipment transmission comprises described each reception passage is sent to described message Credit value message, so that described message sends processing equipment and sends sending ending equipment according to the credit value of described each reception passage The message of described first protocol type be transmitted controlling.
Method the most according to claim 1, it is characterised in that in described acquisition receiving device, the first protocol type is each After the available space information receiving passage that message is corresponding, also include:
If the message of described first protocol type in reception passage is processed, then update the free space letter of described reception passage Breath, and the spatial update message of the processing equipment described second protocol type of transmission, described spatial update report is sent to described message Literary composition comprises the available space information after described reception passage updates or the newly-increased available space information of described reception passage.
3. a message sends processing method, it is characterised in that including:
Receive message and send the instruction message of the second protocol type that control equipment sends, described instruction message comprises receiving terminal The available space information receiving passage that in equipment, each message of the first protocol type is corresponding;
The message of described first protocol type that sending ending equipment is sent by the available space information according to described each reception passage It is transmitted controlling;
Wherein, described first protocol type and described second protocol type are different agreement type;
Described available space information is the credit value of described reception passage;
After described reception message sends the instruction message of the second protocol type that control equipment sends, also include:
Receive described message and send the spatial update message of the described second protocol type that control equipment sends, described spatial update Message comprises the available space information that described reception passage is newly-increased;
Described newly-increased available space information is added up with existing available space information;
According to described cumulative after available space information, corresponding with described reception passage that described sending ending equipment is sent The message of one protocol type is transmitted controlling.
4. a message sends control equipment, it is characterised in that including:
Acquisition module, obtains the free space letter receiving passage that each message of the first protocol type in receiving device is corresponding Breath;
Sending module, comprises the available space information of described each reception passage at protocol layer to message transmission processing equipment transmission The instruction message of second protocol type, so that described message sends processing equipment and believes according to the free space of described each reception passage Cease each message to described first protocol type that sending ending equipment sends to be transmitted controlling;
Wherein, described first protocol type and described second protocol type are different agreement type;
Described acquisition module is corresponding specifically for obtaining each type of message of the first protocol type described in described receiving device The credit value of described reception passage;
Described sending module, sends, specifically for sending processing equipment to described message, the credit value comprising described each reception passage The credit value message of described second protocol type so that described message sends the processing equipment letter according to described each reception passage The message of described first protocol type sent sending ending equipment by value is transmitted controlling.
Equipment the most according to claim 4, it is characterised in that also include:
More new module, if the message of described first protocol type received in passage is processed, then updates described reception passage Available space information;
Described sending module, is additionally operable to send processing equipment to described message and sends the spatial update report of described second protocol type Literary composition, comprises the available space information after described reception passage updates in described spatial update message or described reception passage increases newly Available space information.
6. a message sends processing equipment, it is characterised in that including:
Receiver module, receives message and sends the instruction message of the second protocol type that control equipment sends, in described instruction message Comprise the available space information receiving passage that each message of the first protocol type in receiving device is corresponding;
Control module, for described first association sent sending ending equipment according to the available space information of described each reception passage The message of view type is transmitted controlling;
Wherein, described first protocol type and described second protocol type are different agreement type;
Described available space information is the credit value of described reception passage;
Described receiver module, is additionally operable to receive described message and sends the spatial update message that control equipment sends, and described space is more New message comprises the available space information that described reception passage is newly-increased;
Described control module, including:
Summing elements, for adding up described newly-increased available space information with existing available space information;
Processing unit, for according to the available space information after described adding up, send described sending ending equipment connects with described The message receiving the first protocol type corresponding to passage is transmitted controlling.
7. a message handling system, it is characterised in that including: receiving device, message send control equipment, sending ending equipment Sending processing equipment with message, wherein, described message sends control equipment and uses the equipment described in claim 4 or 5, described report Literary composition sends processing equipment and uses the equipment described in claim 6.
8. a message sends control equipment, it is characterised in that including:
Processor, for obtaining the free space letter receiving passage that each message of the first protocol type in receiving device is corresponding Breath;
Transmitter, sends, for sending processing equipment at protocol layer to message, the available space information comprising described each reception passage The instruction message of second protocol type so that described message sends the processing equipment free space according to described each reception passage Each message of described first protocol type that sending ending equipment is sent by information is transmitted controlling;
Wherein, described first protocol type and described second protocol type are different agreement type;
Described processor, specifically for obtaining the reception passage that in receiving device, each type of message of the first protocol type is corresponding Credit value;
Described transmitter, specifically for comprising the credit value of described each reception passage to the transmission processing equipment transmission of described message The credit value message of described second protocol type, so that described message sends the processing equipment credit according to described each reception passage The message of described first protocol type that sending ending equipment is sent by value is transmitted controlling.
Equipment the most according to claim 8, it is characterised in that
Described processor, if the message being additionally operable to receive described first protocol type in passage is processed, then connects described in renewal Receive the available space information of passage;
Described transmitter, is additionally operable to send processing equipment to described message and sends the spatial update report of described second protocol type Literary composition, comprises the available space information after described reception passage updates in described spatial update message or described reception passage increases newly Available space information.
10. a message sends processing equipment, it is characterised in that including:
Receptor, sends the instruction message of the second protocol type that control equipment sends, described instruction message for receiving message In comprise each message of the first protocol type in receiving device corresponding receive passage available space information;
Controller, for described first agreement sent sending ending equipment according to the available space information of described each reception passage The message of type is transmitted controlling;
Wherein, described first protocol type and described second protocol type are different agreement type;
Described available space information is the credit value of described reception passage;
Described receptor, is additionally operable to receive described message and sends the spatial update report of the second protocol type that control equipment sends Literary composition, comprises the available space information that described reception passage is newly-increased in described spatial update message;
Described controller, adds up described newly-increased available space information with existing available space information, according to described Available space information after Lei Jia, first protocol type corresponding with described reception passage that described sending ending equipment is sent Message is transmitted controlling.
11. 1 kinds of messages send processing method, it is characterised in that including:
Receive message and send the instruction message of the second protocol type that control equipment sends, described instruction message comprises receiving terminal The available space information receiving passage that in equipment, each message of the first protocol type is corresponding;
The message of described first protocol type that sending ending equipment is sent by the available space information according to described each reception passage It is transmitted controlling;
Wherein, described first protocol type and described second protocol type are different agreement type;
Described available space information is the credit value of described reception passage;
After described reception message sends the instruction message of the second protocol type that control equipment sends, also include:
Receive described message and send the spatial update message of the described second protocol type that control equipment sends, described spatial update Message comprises the available space information after described reception passage updates;
Available space information after updating according to described reception passage is that send described sending ending equipment with described reception passage The message of the first corresponding protocol type is transmitted controlling.
12. 1 kinds of messages send processing equipment, it is characterised in that including:
Receiver module, receives message and sends the instruction message of the second protocol type that control equipment sends, in described instruction message Comprise the available space information receiving passage that each message of the first protocol type in receiving device is corresponding;
Control module, for described first association sent sending ending equipment according to the available space information of described each reception passage The message of view type is transmitted controlling;
Wherein, described first protocol type and described second protocol type are different agreement type;
Described available space information is the credit value of described reception passage;
Described receiver module, is additionally operable to receive described message and sends the space of the described second protocol type that control equipment sends more New message, comprises the available space information after described reception passage updates in described spatial update message;
Described control module, is additionally operable to the available space information after updating according to described reception passage, to described sending ending equipment The message of first protocol type corresponding with described reception passage sent is transmitted controlling.
13. 1 kinds of messages send processing equipment, it is characterised in that including:
Receptor, sends the instruction message of the second protocol type that control equipment sends, described instruction message for receiving message In comprise each message of the first protocol type in receiving device corresponding receive passage available space information;
Controller, for described first agreement sent sending ending equipment according to the available space information of described each reception passage The message of type is transmitted controlling;
Wherein, described first protocol type and described second protocol type are different agreement type;
Described available space information is the credit value of described reception passage;
Described receptor, is additionally operable to receive described message and sends the spatial update of the described second protocol type that control equipment sends Message, comprises the available space information after described reception passage updates in described spatial update message;
Described controller, is additionally operable to the available space information after updating according to described reception passage, sends out described sending ending equipment The message of first protocol type corresponding with described reception passage sent is transmitted controlling.
CN201280002093.0A 2012-09-28 2012-09-28 Message transmission control method, processing method, equipment and system Active CN103890746B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/082378 WO2014047900A1 (en) 2012-09-28 2012-09-28 Packet sending control method, and processing method, device and system

Publications (2)

Publication Number Publication Date
CN103890746A CN103890746A (en) 2014-06-25
CN103890746B true CN103890746B (en) 2016-12-28

Family

ID=50386872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201280002093.0A Active CN103890746B (en) 2012-09-28 2012-09-28 Message transmission control method, processing method, equipment and system

Country Status (2)

Country Link
CN (1) CN103890746B (en)
WO (1) WO2014047900A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105429896B (en) * 2015-12-03 2018-10-02 浪潮(北京)电子信息产业有限公司 A kind of coupling message credit method for releasing and system
CN110580202A (en) * 2019-06-04 2019-12-17 阿里巴巴集团控股有限公司 Method, device and system for processing messages in server system
CN115168081B (en) * 2022-09-08 2022-11-15 井芯微电子技术(天津)有限公司 Conversion circuit and message conversion method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697448A (en) * 2005-04-21 2005-11-16 上海大学 Multi protocol conversion method and device between MODBUS/TCP industry Ethernet and field bus device network as well as field bus of PRofibus DP
CN101374154A (en) * 2008-10-22 2009-02-25 成都市华为赛门铁克科技有限公司 Method and apparatus for processing remote procedure call request
CN101924738A (en) * 2009-06-11 2010-12-22 华为技术有限公司 Method, system and device for realizing multipoint-to-multipoint services

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1238796C (en) * 2002-10-30 2006-01-25 华为技术有限公司 Device and method for realizing interface conversion
CN101056312A (en) * 2007-05-09 2007-10-17 北京中星微电子有限公司 A method and system for communication between the devices
CN100492274C (en) * 2007-08-17 2009-05-27 杭州华三通信技术有限公司 Storage control system and process node thereof
CN101593167B (en) * 2008-05-26 2011-04-27 联想(北京)有限公司 Bridge device of system on chip and method thereof
US7904606B2 (en) * 2008-07-31 2011-03-08 International Business Machines Corporation Transport control channel program chain linked branching

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697448A (en) * 2005-04-21 2005-11-16 上海大学 Multi protocol conversion method and device between MODBUS/TCP industry Ethernet and field bus device network as well as field bus of PRofibus DP
CN101374154A (en) * 2008-10-22 2009-02-25 成都市华为赛门铁克科技有限公司 Method and apparatus for processing remote procedure call request
CN101924738A (en) * 2009-06-11 2010-12-22 华为技术有限公司 Method, system and device for realizing multipoint-to-multipoint services

Also Published As

Publication number Publication date
WO2014047900A1 (en) 2014-04-03
CN103890746A (en) 2014-06-25

Similar Documents

Publication Publication Date Title
DE60219047T2 (en) A GENERAL INPUT / OUTPUT ARCHITECTURE AND CORRESPONDING METHODS FOR THE ASSEMBLY OF VIRTUAL CHANNELS THEREIN
EP0990990B1 (en) Flow control in a fifo memory
US7072294B2 (en) Method and apparatus for controlling network data congestion
US20020013821A1 (en) Method and network device for creating buffer structures in shared memory
CN102893566B (en) For realizing non-block type method and apparatus based on priority flow control
CN103077148B (en) A kind of host communication method of Based PC IE and main frame
CN103827842B (en) Message is write to controller storage space
Siemon Queueing in the Linux network stack
CN105141603B (en) Communication data transmission method and system
CN101494579B (en) Bus scheduling device and method
CN104093170A (en) TCP-based data transmission method and TCP agent apparatus
US9130740B2 (en) Variable acknowledge rate to reduce bus contention in presence of communication errors
CN106487896A (en) Method and apparatus for processing remote direct memory access request
CN103973414B (en) A kind of data transmission method and device
CN103890746B (en) Message transmission control method, processing method, equipment and system
US10719376B2 (en) Methods and apparatus for multiplexing data flows via a single data structure
CN112783810A (en) Application-oriented multi-channel SRIO DMA transmission system and method
CN106230913B (en) Data processing transmission method and device
CN108462590A (en) The monitoring method and device of network flow, terminal
CN106713462A (en) Network data packet processing method and device
CN109586931B (en) Multicast method and terminal equipment
CN109413180A (en) A kind of collecting method, system and equipment and storage medium
KR20140125311A (en) Apparatus and method for processing traffic using network interface card with multi-core
CN111274195B (en) RDMA network flow control method, device and computer readable storage medium
CN103078720A (en) Message processing method and message processing device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211221

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: xFusion Digital Technologies Co., Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.