CN101902436A - Interplate communication method, device and system - Google Patents
Interplate communication method, device and system Download PDFInfo
- Publication number
- CN101902436A CN101902436A CN2009101413180A CN200910141318A CN101902436A CN 101902436 A CN101902436 A CN 101902436A CN 2009101413180 A CN2009101413180 A CN 2009101413180A CN 200910141318 A CN200910141318 A CN 200910141318A CN 101902436 A CN101902436 A CN 101902436A
- Authority
- CN
- China
- Prior art keywords
- terminal
- communication
- plates
- address
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
The embodiment of the invention relates to interplate communication method, device and system. The method comprises the following steps of: receiving a communication request message transmitted by a first terminal according to an interplate communication address; and triggering the first terminal and a second terminal for communicating according to the communication request message. The device comprises an address allocating module, a first receiving module and a triggering module, wherein the address allocating module is used for allocating an interplate communication address to the first terminal and the second terminal; the first receiving module is used for receiving the communication request message transmitted by the first terminal according to the interplate communication address; and the triggering module is used for triggering the first terminal and the second terminal for communicating according to the communication request message. The interplate communication method, device and system provided by the embodiment of the invention are used for allocating the interplate communication address to the first terminal and the second terminal and triggering the first terminal and the second terminal for communicating by utilizing the uniqueness of the interplate communication address, thereby shortening the communication time and improving the communication efficiency based on fully utilizing the traditional hardware resources without adding additional hardware cost.
Description
Technical field
The embodiment of the invention relates to communication technical field, especially a kind of interplate communication method, Apparatus and system.
Background technology
At traditional distributed synchronization digit sequence (Synchronous Digital Hierarchy, be called for short: SDH) in the system, master control borad is its important component part, communication between plates in the SDH system has been formed a typical multi-computer communication system, wherein, master control borad is the main frame (Server) in the multi-computer communication system, and the remaining part in the SDH system is the slave (Slave) of master control borad.
In the prior art, the communication between plates of distributed SDH system often adopts the serial communication dual mode of communicating by letter with network interface.Serial communication step-by-step (bit) sends and receives byte, receives data with another root transmission line when using a transmission line to send data, therefore adopts two transmission lines just can realize communication between plates.Network interface communication utilizes central processing unit (Central Process Unit, be called for short: (serial communication control is called for short: SCC) and the ethernet communication between IEEE802.3/ Ethernet (Ethernet) agreement realization CPU full duplex serial communication controller CPU); When realizing network interface communication, because the generally only integrated medium access control of CPU (Media Access Control, be called for short: MAC) sublayer agreement, so need to increase the conversion that physical layer (PHY) chip is used for signal of communication.
The inventor finds in implementing process of the present invention, there is following defective at least in prior art: because the serial communication step-by-step sends and receive byte, along with the increase call duration time growth of communication between plates data volume, real-time communication descends, and can't satisfy the higher communication system of real-time; Because network interface communication need increase physical layer (PHY) chip, increased the cost of network interface communication.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of interplate communication method, Apparatus and system, improves communication efficiency, reduces the cost of communication system.
The embodiment of the invention provides a kind of interplate communication method, comprising:
Receive the communication request message that described first terminal sends according to described communication between plates address, described communication between plates address is for distributing to the register address of first terminal and second terminal;
Trigger described first terminal and second terminal communication according to described communication request message.
The interplate communication method that the embodiment of the invention provides, by giving first terminal and second terminal with the communication between plates address assignment, utilize the uniqueness of communication between plates address to trigger first terminal and second terminal communicates, thereby need not to increase on the basis of extra hardware cost making full use of the existing hardware resource, shorten call duration time, improved communication efficiency.
The embodiment of the invention provides a kind of communication between plates device, comprising:
Address assignment module is used for giving first terminal and second terminal with the communication between plates address assignment, and described communication between plates address is a register address;
First receiver module is used to receive the communication request message that described first terminal sends according to described communication between plates address;
Trigger module is used for triggering described first terminal and second terminal communication according to described communication request message.
The communication between plates device that present embodiment provides, give first terminal and second terminal by address assignment module with the communication between plates address assignment, trigger module triggers first terminal and second terminal communication according to the uniqueness of communication between plates address, thereby need not to increase on the basis of extra hardware cost making full use of the existing hardware resource, shorten call duration time, improved communication efficiency.
The embodiment of the invention also provides a kind of inter-board communication system, it is characterized in that, comprising: first terminal, second terminal, communication between plates device;
Described communication between plates device is used for giving first terminal and second terminal with the communication between plates address assignment; And trigger described first terminal and second terminal communication;
Described first terminal is used for the communication request message that sends to described communication between plates device according to described communication between plates address;
Described second terminal is used for returning the response interrupt message to described communication between plates device.
The inter-board communication system that the embodiment of the invention provides, by being set, the communication between plates device gives first terminal and second terminal with the communication between plates address assignment, uniqueness according to the communication between plates address triggers first terminal and second terminal communication, thereby need not to increase on the basis of extra hardware cost making full use of the existing hardware resource, shorten call duration time, improved communication efficiency.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of an embodiment of interplate communication method of the present invention;
Fig. 2 is the schematic flow sheet of another embodiment of interplate communication method of the present invention;
Fig. 3 is the schematic flow sheet of another embodiment of interplate communication method of the present invention;
Fig. 4 is the structural representation of an embodiment of communication between plates device of the present invention;
Fig. 5 is the structural representation of another embodiment of communication between plates device of the present invention;
Fig. 6 is the structural representation of another embodiment of communication between plates device of the present invention;
Fig. 7 is the structural representation of an embodiment of inter-board communication system of the present invention;
Fig. 8 is the structural representation of another embodiment of inter-board communication system of the present invention;
Fig. 9 is an application schematic diagram embodiment illustrated in fig. 8.
Embodiment
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Fig. 1 is the schematic flow sheet of an embodiment of interplate communication method of the present invention, and as shown in Figure 1, present embodiment may further comprise the steps:
The communication request message that step 101, reception first terminal send according to the communication between plates address, wherein, the communication between plates unit address has been distributed to first terminal and second terminal;
Step 102, trigger first terminal and second terminal communication according to communication request message.
In embodiments of the present invention, first terminal and second terminal can be CPU, perhaps master control borad or the wiring board in the SDH system.Particularly, if first terminal and second terminal are CPU, when first terminal was main control end (Server), second terminal correspondingly was a controlled end (Slave); When first terminal is controlled end (Slave), second terminal correspondingly is a main control end (Server).In the SDH system, if first terminal is a master control borad, then second terminal correspondingly is a wiring board; If first terminal is wiring board, then second terminal correspondingly is a master control borad, and master control borad and wiring board are provided with corresponding C PU.The communication between plates address can be for preserving communication data, and can trigger the register address of first terminal and second terminal communication, also can trigger first terminal and second terminal communication as long as can realize preserving communication data for realizing preserving communication data and triggering first terminal and other addresses of second terminal communication.Particularly, the communication between plates address can be for being arranged on field programmable gate array (FieldProgrammable Gate Array, be called for short: FPGA) wait the read-write register address on the large scale integrated circuit, also can be for being arranged on the interrupt status register address on the large scale integrated circuit such as FPGA.Communication request message can be carried out the clock signal of read-write operation for mailing address between trigger board.
The interplate communication method that present embodiment provides, by being first terminal and the second terminal distribution communication between plates address, first terminal and second terminal are directly communicated according to the communication between plates address of having distributed, thereby need not to increase on the basis of extra hardware cost making full use of the existing hardware resource, shorten call duration time, improved communication efficiency.
Fig. 2 is the schematic flow sheet of another embodiment of interplate communication method of the present invention, and as shown in Figure 2, present embodiment may further comprise the steps:
The communication request message that step 201, reception first terminal send according to the communication between plates address, wherein, the communication between plates address has been distributed to first terminal and second terminal;
The response interrupt message that returns behind step 203, reception second terminal checking request interrupt message;
In the above-mentioned steps 201, the communication between plates address can be for preserving communication data, and can trigger the register address of first terminal and second terminal communication, also can be for realizing preserving communication data and triggering first terminal and other addresses of second terminal communication, as long as can realize preserving communication data and trigger first terminal and second terminal communication.Particularly, the communication between plates address can be the read-write register address, also can be the interrupt status register address, and the communication between plates address has uniqueness, and first terminal and second terminal directly communicate according to the communication between plates address of having distributed.In addition, first terminal and second terminal inner are provided with the construction unit that this communication between plates address is controlled.Communication request message is specifically as follows rising edge of clock signal or trailing edge, triggering by rising edge or trailing edge, make first terminal and second terminal carry out read-write operation apace according to the communication between plates address of having distributed, reduce first terminal and the second communication between terminals time, satisfy the real-time of communicating by letter between first terminal and second terminal.
In the above-mentioned steps 202, the interrupt status of carrying in second terminal checking request interrupt message, second terminal is confirmed the authenticity of request interrupt message according to interrupt status.Interrupt status comprises: (Signal Fail is called for short: SF) interrupt and K byte interrupt (K is an integer) dropout.Wherein, the SF interruption is the interruption that is caused by dropout; The K byte interrupt is when continuous several frames detect the K byte different with former frame, triggers the interruption that CPU produces.If it is the K byte interrupt that second terminal detects interrupt status, then the second terminal response K byte interrupt enters K Interrupt Process task, mailing address between new K byte tablet, and writes interrupt type, is the K byte interrupt to this interrupt status of first terminal to report.If second terminal detects dropout, then interrupt status is that SF interrupts, and the second terminal response SF interrupts, and enters SF Interrupt Process task, with mailing address between SF incident tablet, and writes interrupt type, triggers first terminal and produces the SF interruption.
In the above-mentioned steps 203, second terminal is confirmed to return the response interrupt message behind the Content of Communication according to the comparative result of request interrupt message and default rule of communication.Should be specifically as follows by default rule of communication: the communication data that first terminal and second terminal can receive and send, communication data is specifically as follows the actual value of K byte; And, the interrupt status that first terminal or second terminal can receive, this interrupt status can be interrupted or the K byte interrupt for SF.When first terminal and second terminal will be preset the rule of communication agreement after setting completed, can be between first terminal and second terminal according to default rule of communication realization data communication.
In embodiments of the present invention, first terminal and second terminal can be CPU, perhaps master control borad or the wiring board in the SDH system.Particularly, if first terminal and second terminal are CPU, when first terminal was main control end (Server), second terminal correspondingly was a controlled end (Slave); When first terminal is controlled end (Slave), second terminal correspondingly is a main control end (Server).In the SDH system, if first terminal is a master control borad, then second terminal correspondingly is a wiring board; If first terminal is a wiring board, then second terminal correspondingly is a master control borad, and is provided with corresponding C PU on master control borad and the wiring board.
The interplate communication method that the embodiment of the invention provides, by giving first terminal and second terminal with the communication between plates address assignment, first terminal and second terminal are directly communicated according to the communication between plates address of having distributed, thereby need not to increase on the basis of extra hardware cost making full use of the existing hardware resource, shorten call duration time, improved communication efficiency; By send the information interactive process that the request interrupt message and second terminal are returned the response interrupt message to second terminal, improved the accuracy between first terminal and second terminal.
Fig. 3 is the schematic flow sheet of another embodiment of interplate communication method of the present invention, and as shown in Figure 3, present embodiment may further comprise the steps:
The communication request message that step 301, reception first terminal send according to the communication between plates address, wherein, the communication between plates address has been distributed to first terminal and second terminal;
The communication data that step 302, reception first terminal send according to the communication between plates address;
Step 303, write communication data;
Step 304, the communication request message that sends according to first terminal send the request interrupt message to second terminal;
The response interrupt message that step 305, reception second terminal are returned;
Step 306, according to the response interrupt message trigger first terminal and second terminal communication;
Step 307, communication data is sent to and corresponding second terminal in communication between plates address.
In the above-mentioned steps 301, the communication between plates address can be for preserving communication data, and can trigger the register address of first terminal and second terminal communication, also can be for realizing preserving communication data and triggering first terminal and other addresses of second terminal communication, as long as can realize preserving communication data and trigger first terminal and second terminal communication, and the communication between plates address has uniqueness.First terminal and second terminal directly communicate according to the communication between plates address of having distributed.In addition, first terminal and second terminal inner are provided with the construction unit that this communication between plates address is controlled.Communication request message is specifically as follows rising edge of clock signal or trailing edge, triggering by rising edge or trailing edge, make first terminal and second terminal carry out read-write operation apace according to the communication between plates address of having distributed, reduce first terminal and the second communication between terminals time, satisfy the real-time of communicating by letter between first terminal and second terminal.
In the above-mentioned steps 302, after step 301, after first terminal sends communication request message, with the corresponding memory space of mailing address between the communication data tablet.
In the above-mentioned steps 303, write according to the communication data that sends, further make second terminal can read this communication data by first terminal that will receive.
In the above-mentioned steps 304, the interrupt status of carrying in second terminal checking request interrupt message, second terminal is confirmed the authenticity of request interrupt message according to interrupt status.Interrupt status comprises that SF interrupts and K byte interrupt (K is an integer).Wherein, the SF interruption is the interruption that is caused by dropout; The K byte interrupt is when continuous several frames detect the K byte different with former frame, triggers the interruption that CPU produces.If it is the K byte interrupt that second terminal detects interrupt status, then the second terminal response K byte interrupt enters K Interrupt Process task, mailing address between new K byte tablet, and writes interrupt type, is the K byte interrupt to this interrupt status of first terminal to report.If second terminal detects dropout, then interrupt status is that SF interrupts, and the second terminal response SF interrupts, and enters SF Interrupt Process task, with mailing address between SF incident tablet, and writes interrupt type, triggers first terminal and produces the SF interruption.
In the above-mentioned steps 305, second terminal is confirmed to return the response interrupt message behind the Content of Communication according to the comparative result of request interrupt message and default rule of communication.Should be specifically as follows by default rule of communication: the communication data that first terminal and second terminal can receive and send, communication data is specifically as follows the actual value of K byte; And, the interrupt status that first terminal or second terminal can receive, this interrupt status can be interrupted or the K byte interrupt for SF.When first terminal and second terminal will be preset the rule of communication agreement after setting completed, can be between first terminal and second terminal according to default rule of communication realization data communication.
The interplate communication method that the embodiment of the invention provides, by giving first terminal and second terminal with the communication between plates address assignment, first terminal and second terminal are directly communicated according to the communication between plates address of having distributed, thereby need not to increase on the basis of extra hardware cost making full use of the existing hardware resource, shorten call duration time, improved communication efficiency; By writing the communication data that first terminal sends, make second terminal can read this communication data, realize the data communication between first terminal and second terminal; By send the information interactive process that the request interrupt message and second terminal are returned the response interrupt message to second terminal, improved the accuracy of communication data between first terminal and second terminal.
Fig. 4 is the structural representation of an embodiment of communication between plates device of the present invention, as shown in Figure 4, the communication between plates device that present embodiment provides can be realized the flow process of the method embodiment of above-mentioned Fig. 1~shown in Figure 3, and present embodiment comprises: first receiver module 41, address assignment module 42, trigger module 43.
Wherein, address assignment module 42 is given first terminal and second terminal with the communication between plates address assignment; First receiver module 41 receives the communication request message of first terminal according to the communication between plates address transmission of address assignment module 42 distribution; The communication request message that trigger module 43 receives according to first receiver module 41 triggers first terminal and second terminal communication.
In the present embodiment, first terminal and second terminal can be CPU, perhaps master control borad and the wiring board in the SDH system.Particularly, if first terminal and second terminal are CPU, when first terminal was main control end (Server), second terminal correspondingly was a controlled end (Slave); When first terminal is controlled end (Slave), second terminal correspondingly is a main control end (Server).In the SDH system, if first terminal is a master control borad, then second terminal correspondingly is a wiring board; If first terminal is wiring board, then second terminal correspondingly is a master control borad, and master control borad and wiring board are provided with corresponding C PU.The communication between plates address can be for preserving communication data, and can trigger the register address of first terminal and second terminal communication, also can be for realizing preserving communication data and triggering first terminal and other addresses of second terminal communication, as long as can realize preserving communication data and trigger first terminal and second terminal communication.Particularly, the communication between plates address can be for being arranged on the read-write register address on the large scale integrated circuits such as FPGA, also can be for being arranged on the interrupt status register address on the large scale integrated circuits such as FPGA.Communication request message can be carried out the clock signal of read-write operation for mailing address between trigger board.
The communication between plates device that present embodiment provides, give first terminal and second terminal by address assignment module 42 with the communication between plates address assignment, trigger module 43 triggers first terminal according to the communication between plates address of having distributed and second terminal directly communicates, thereby need not to increase on the basis of extra hardware cost making full use of the existing hardware resource, shorten call duration time, improved communication efficiency.
Fig. 5 is the structural representation of another embodiment of communication between plates device of the present invention, as shown in Figure 5, the communication between plates device that present embodiment provides can be realized the flow process of the method embodiment of above-mentioned Fig. 1~shown in Figure 3, and present embodiment comprises: first receiver module 51, address assignment module 52, trigger module 53.
Wherein, address assignment module 52 is given first terminal and second terminal with the communication between plates address assignment; First receiver module 51 receives the communication request message of first terminal according to the communication between plates address transmission of address assignment module 52 distribution; The communication request message that trigger module 53 receives according to first receiver module 51 triggers first terminal and second terminal communication.
Further, trigger module 53 comprises: first transmitting element 531, receiving element 532, trigger element 533.
The communication request message that first terminal that first transmitting element 531 receives according to first receiver module 51 sends sends the request interrupt message to second terminal; Receiving element 532 receives the response interrupt message that second terminal is returned; The response interrupt message that trigger element 533 receives according to receiving element 532 triggers first terminal and second terminal communication.
The communication between plates device that the embodiment of the invention provides, address assignment module 52 is by giving first terminal and second terminal with the communication between plates address assignment, trigger module 53 triggers first terminal according to the communication between plates address of having distributed and second terminal directly communicates, thereby need not to increase on the basis of extra hardware cost making full use of the existing hardware resource, shorten call duration time, improved communication efficiency; First transmitting element 531 returns the information interactive process of response interrupt message by send request interrupt message and receiving element 532 receptions second terminal to second terminal, has improved the accuracy of communication data between first terminal and second terminal.
Fig. 6 is the structural representation of another embodiment of communication between plates device of the present invention, as shown in Figure 6, the communication between plates device that present embodiment provides can be realized the flow process of the method embodiment of above-mentioned Fig. 1~shown in Figure 3, and present embodiment comprises: first receiver module 61, address assignment module 62, trigger module 63, second receiver module 64 and writing module 65.
Wherein, address assignment module 62 is given first terminal and second terminal with the communication between plates address assignment; First receiver module 61 receives the communication request message of first terminal according to the communication between plates address transmission of address assignment module 62 distribution; Second receiver module 64 receives the communication data of first terminal according to the communication between plates address transmission of address assignment module 62 distribution; Writing module 65 writes the communication data that second receiver module 64 receives; The communication request message that trigger module 63 receives according to first receiver module 61 triggers first terminal and second terminal communication.
Further, trigger module 63 comprises: first transmitting element 631, receiving element 632, trigger element 633, second transmitting element 634.
The communication request message that first terminal that first transmitting element 631 receives according to first receiver module 61 sends sends the request interrupt message to second terminal; Receiving element 632 receives the response interrupt message that second terminal is returned; Trigger element 633 triggers first terminal and second terminal communication according to the response interrupt message; Second transmitting element 634 sends to communication data and corresponding second terminal in communication between plates address.
The communication between plates device that the embodiment of the invention provides, address assignment module 62 is by giving first terminal and second terminal with the communication between plates address assignment, trigger module 63 triggers first terminal according to the communication between plates address of having distributed and second terminal directly communicates, thereby need not to increase on the basis of extra hardware cost making full use of the existing hardware resource, shorten call duration time, improved communication efficiency; Writing module 65 makes second terminal can read this communication data by writing the communication data that first terminal sends, and realizes the data communication between first terminal and second terminal; First transmitting element 631 returns the information interactive process of response interrupt message by send request interrupt message and receiving element 632 receptions second terminal to second terminal, has improved the accuracy between first terminal and second terminal.
Fig. 7 is the structural representation of an embodiment of inter-board communication system of the present invention, and as shown in Figure 7, the inter-board communication system of present embodiment comprises: first terminal 71, second terminal 72, communication between plates device 73.
Wherein, communication between plates device 73 is given first terminal and second terminal with the communication between plates address assignment; First terminal 71 sends communication request message according to the communication between plates address that communication between plates device 73 distributes to communication between plates device 73; Second terminal 72 is returned the response interrupt message to communication between plates device 73; Communication between plates device 73 triggers first terminal 71 and communicates by letter with second terminal 72.
In the present embodiment, first terminal 71 and second terminal 72 can be CPU, perhaps master control borad or the wiring board in the SDH system.Particularly, if first terminal 71 and second terminal 72 are CPU, when first terminal 71 was main control end (Server), second terminal 72 correspondingly was a controlled end (Slave); When first terminal 71 is controlled end (Slave), second terminal 72 correspondingly is a main control end (Server).In the SDH system, if first terminal 71 is a master control borad, then second terminal 72 correspondingly is a wiring board; If first terminal 71 is a wiring board, then second terminal 72 correspondingly is a master control borad.
The inter-board communication system that the embodiment of the invention provides, by being set, communication between plates device 73 gives first terminal 71 and second terminal 72 with the communication between plates address assignment, and according to triggering first terminal 71 and second terminal 72 directly communicates in the communication between plates address of having distributed, thereby need not to increase on the basis of extra hardware cost making full use of the existing hardware resource, shorten call duration time, improved communication efficiency.
Fig. 8 is the structural representation of another embodiment of inter-board communication system of the present invention, and as shown in Figure 8, the inter-board communication system of the embodiment of the invention comprises: first terminal 81, second terminal 82, communication between plates device 83.
Wherein, communication between plates device 83 is given first terminal and second terminal with the communication between plates address assignment; First terminal 81 sends communication request message according to the communication between plates address that communication between plates device 83 has distributed to communication between plates device 83; Second terminal 82 is returned the response interrupt message to communication between plates device 83; Communication between plates device 83 triggers first terminal 81 and communicates by letter with second terminal 82.
Further, communication between plates device 83 comprises: address assignment module 831, first receiver module 832, trigger module 833.
Wherein, address assignment module 831 is given first terminal 81 and second terminal 82 with the communication between plates address assignment; First receiver module 832 receives the communication request message that first terminal 81 sends according to the communication between plates address; Trigger module 833 triggers first terminal 81 according to communication request message and communicates by letter with second terminal 82.
In the present embodiment, first terminal 81 and second terminal 82 can be CPU, perhaps master control borad or the wiring board in the SDH system.Particularly, if first terminal 81 and second terminal 82 are CPU, when first terminal 81 was main control end (Server), second terminal 82 correspondingly was a controlled end (Slave); When first terminal 81 is controlled end (Slave), second terminal 82 correspondingly is a main control end (Server).In the SDH system, if first terminal 81 is a master control borad, then second terminal 82 correspondingly is a wiring board; If first terminal 81 is wiring board, then second terminal 82 correspondingly is a master control borad, and master control borad and wiring board are provided with corresponding C PU.The communication between plates address can be for preserving communication data, and can trigger the register address of first terminal and second terminal communication, also can be for realizing preserving communication data and triggering first terminal and other addresses of second terminal communication, as long as can realize preserving communication data and trigger first terminal and second terminal communication.Communication request message can be carried out the clock signal of read-write operation for mailing address between trigger board.
The inter-board communication system that present embodiment provides, give first terminal and second terminal by address assignment module 831 with the communication between plates address assignment, trigger module 833 triggers first terminal according to the communication between plates address of having distributed and second terminal directly communicates, thereby need not to increase on the basis of extra hardware cost making full use of the existing hardware resource, shorten call duration time, improved communication efficiency.
On above-mentioned basis embodiment illustrated in fig. 8, second terminal 82 can comprise: receiver module, authentication module, affirmation module, comparison module, sending module.
Wherein, the request interrupt message that communicator 83 sends between the receiver module dash receiver; The interrupt status of carrying in the request interrupt message that communicator 83 sends between the authentication module witness plate; Confirm the authenticity of module according to interrupt status affirmation request interrupt message; Comparison module compares according to request interrupt message and default rule of communication; Sending module returns the response interrupt message according to the comparative result of comparison module to communication between plates device 83.
By send the request interrupt message to second terminal, and second terminal compare according to request interrupt message and default rule of communication, confirm first terminal and the second communication between terminals type, further improved the accuracy of communicating by letter between first terminal and second terminal.
Fig. 9 is an application schematic diagram embodiment illustrated in fig. 8, as shown in Figure 9, on above-mentioned basis embodiment illustrated in fig. 8, first terminal in the present embodiment is specially that master control borad 91, second terminal are specially wiring board 92, the communication between plates device is specially FPGA93, and the communication between plates address is specially register address.
FPGA93 distributes to master control borad 91 and wiring board 92 with register address, and particularly, FPGA93 can be mapped to master control borad 91 and wiring board 92 with the register address that receives K byte and transmission K byte.If master control borad 91 need send the communication data of K byte to wiring board, then master control borad 91 at first sends communication request message to FPGA93, rising edge clock that communication request message can send to FPGA93 for master control borad 91 or clock trailing edge, FPGA93 receives this communication request message, and master control borad 91 writes FPGA93 with the communication data of this K byte simultaneously; After the communication data of this K byte was written into FPGA93, FPGA93 sent the request interrupt message to wiring board 92, and particularly, this request interrupt message can interrupt or the K byte interrupt for SF, is determined by the default rule of communication between master control borad 91 and the wiring board 92; After wiring board 92 receives this request interrupt message, confirm the authenticity of request interrupt message according to interrupt status, and return the response interrupt message to FPGA93 behind the comparative result affirmation Content of Communication according to request interrupt message and default rule of communication, FPGA93 triggers master control borad 91 and communicates by letter with wiring board 92, and makes wiring board 92 read the communication data that master control borad 91 writes on the K byte among the FPGA93.
The inter-board communication system that the embodiment of the invention provides, need not to increase on the basis of extra hardware cost at hardware resources such as making full use of existing FPGA93, FPGA93 is by the read-write register address for master control borad 91 and wiring board 92 distribution FPGA93, the perhaps interrupt status register address of FPGA93, master control borad 91 and wiring board 92 are directly communicated according to the read-write register address of having distributed, thereby need not to increase on the basis of extra hardware cost making full use of the existing hardware resource, shorten call duration time, further improved the communication efficiency between master control borad 91 and the wiring board 92.
Alternatively, FPGA93 also can be arranged on the wiring board 92, by FPGA93 being arranged on the hardware cost of further reduction system on the wiring board 92.
The embodiment of the invention is not only applicable to the communication between plates of SDH equipment, also is applicable to the communication between plates of all distributed systems.If communication between plates is still based on serial communication, then only with the communication between plates address assignment to first terminal and second terminal, first terminal and first terminal are directly communicated according to the communication between plates address distributed by serial ports, shortened call duration time under the prerequisite of compatibility of hardware device not changing hardware device and guarantee.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (11)
1. an interplate communication method is characterized in that, comprising:
Receive the communication request message that first terminal sends according to the communication between plates address, described communication between plates address has been distributed to described first terminal and second terminal;
Trigger described first terminal and second terminal communication according to described communication request message.
2. method according to claim 1 is characterized in that, describedly triggers described first terminal and second terminal communication comprises according to described communication request message:
The described communication request message that sends according to described first terminal sends the request interrupt message to described second terminal;
Receive the response interrupt message that returns behind described second terminal checking request interrupt message;
Trigger described first terminal and second terminal communication according to described response interrupt message.
3. method according to claim 2 is characterized in that,
The interrupt status of carrying in the described request interrupt message is verified that by described second terminal described second terminal is confirmed the authenticity of described request interrupt message according to described interrupt status;
Described response interrupt message is confirmed to return behind the Content of Communication according to the comparative result of described request interrupt message and default rule of communication by described second terminal.
4. according to the arbitrary described method of claim 1~3, it is characterized in that described first terminal of described reception also comprises according to the communication request message that described communication between plates address sends before:
Receive the communication data that described first terminal sends according to the communication between plates address;
Write described communication data.
5. method according to claim 4 is characterized in that, describedly also comprises after triggering described first terminal and second terminal communication according to described communication request message:
Described communication data is sent to and corresponding described second terminal in described communication between plates address.
6. a communication between plates device is characterized in that, comprising:
Address assignment module is used for giving first terminal and second terminal with the communication between plates address assignment;
First receiver module is used to receive the communication request message that described first terminal sends according to described communication between plates address;
Trigger module is used for triggering described first terminal and second terminal communication according to described communication request message.
7. device according to claim 6 is characterized in that, described trigger module comprises:
First transmitting element, the described communication request message that is used for sending according to described first terminal sends the request interrupt message to described second terminal;
Receiving element is used to receive the response interrupt message that described second terminal is returned;
Trigger element is used for triggering described first terminal and second terminal communication according to described response interrupt message.
8. according to claim 6 or 7 described devices, it is characterized in that, also comprise:
Second receiver module is used to receive the communication data that described first terminal sends according to described communication between plates address;
Writing module is used to write described communication data.
9. device according to claim 8 is characterized in that, described trigger module also comprises:
Second transmitting element is used for described communication data is sent to and corresponding described second terminal in described communication between plates address.
10. an inter-board communication system is characterized in that, comprising: the arbitrary described communication between plates device of first terminal, second terminal and claim 6~9;
Described communication between plates device is used for giving first terminal and second terminal with the communication between plates address assignment; And trigger described first terminal and second terminal communication;
Described first terminal is used for sending communication request message according to described communication between plates address to described communication between plates device;
Described second terminal is used for returning the response interrupt message to described communication between plates device.
11. system according to claim 10 is characterized in that, described second terminal comprises:
Receiver module is used to receive the described request interrupt message that described communication between plates device sends;
Authentication module is used for the interrupt status of verifying that the described request interrupt message carries;
Confirm module, be used for confirming the authenticity of described request interrupt message according to described interrupt status;
Comparison module is used for comparing according to described request interrupt message and default rule of communication;
Sending module is used for returning the response interrupt message according to the comparative result of described comparison module to described communication between plates device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101413180A CN101902436A (en) | 2009-05-31 | 2009-05-31 | Interplate communication method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101413180A CN101902436A (en) | 2009-05-31 | 2009-05-31 | Interplate communication method, device and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101902436A true CN101902436A (en) | 2010-12-01 |
Family
ID=43227643
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009101413180A Pending CN101902436A (en) | 2009-05-31 | 2009-05-31 | Interplate communication method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101902436A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102546400A (en) * | 2011-12-20 | 2012-07-04 | 福建星网锐捷网络有限公司 | Communication method between cards, communication card and network forwarding device |
CN102591623A (en) * | 2012-01-20 | 2012-07-18 | 周超勇 | Distributed inter-module communication method |
CN107291643A (en) * | 2017-06-24 | 2017-10-24 | 北京华睿集成科技有限公司 | modular substrate and modular instrument |
CN113465262A (en) * | 2020-03-31 | 2021-10-01 | 青岛海尔电冰箱有限公司 | Refrigeration and freezing device and communication method for same |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1479453A (en) * | 2002-08-28 | 2004-03-03 | 华为技术有限公司 | Method of realizing main control plate thermal redundancy |
CN1893332A (en) * | 2005-07-04 | 2007-01-10 | 中兴通讯股份有限公司 | Method and apparatus for shortening SDH multi-plexing segement protective rearranging time |
CN201035559Y (en) * | 2006-11-15 | 2008-03-12 | 大唐移动通信设备有限公司 | Coprocessor condition monitoring apparatus |
CN101324855A (en) * | 2008-08-12 | 2008-12-17 | 杭州华三通信技术有限公司 | Method, system, component and multi-CPU equipment for detecting auxiliary CPU operating status |
-
2009
- 2009-05-31 CN CN2009101413180A patent/CN101902436A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1479453A (en) * | 2002-08-28 | 2004-03-03 | 华为技术有限公司 | Method of realizing main control plate thermal redundancy |
CN1893332A (en) * | 2005-07-04 | 2007-01-10 | 中兴通讯股份有限公司 | Method and apparatus for shortening SDH multi-plexing segement protective rearranging time |
CN201035559Y (en) * | 2006-11-15 | 2008-03-12 | 大唐移动通信设备有限公司 | Coprocessor condition monitoring apparatus |
CN101324855A (en) * | 2008-08-12 | 2008-12-17 | 杭州华三通信技术有限公司 | Method, system, component and multi-CPU equipment for detecting auxiliary CPU operating status |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102546400A (en) * | 2011-12-20 | 2012-07-04 | 福建星网锐捷网络有限公司 | Communication method between cards, communication card and network forwarding device |
CN102591623A (en) * | 2012-01-20 | 2012-07-18 | 周超勇 | Distributed inter-module communication method |
CN107291643A (en) * | 2017-06-24 | 2017-10-24 | 北京华睿集成科技有限公司 | modular substrate and modular instrument |
CN113465262A (en) * | 2020-03-31 | 2021-10-01 | 青岛海尔电冰箱有限公司 | Refrigeration and freezing device and communication method for same |
CN113465262B (en) * | 2020-03-31 | 2022-09-23 | 青岛海尔电冰箱有限公司 | Refrigeration and freezing device and communication method for same |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7730245B2 (en) | Method and system for setting addresses for slave devices in data communication system | |
EP1825382B1 (en) | Low protocol, high speed serial transfer for intra-board or inter-board data communication | |
CN101399654A (en) | Serial communication method and apparatus | |
US9672182B2 (en) | High-speed serial ring | |
CN101937253A (en) | Mechanism for clock synchronization | |
CN101557379B (en) | Link reconfiguration method for PCIE interface and device thereof | |
CN104317765A (en) | Serial communication based one-to-many communication system and implementation method | |
CN111221765A (en) | Communication method and communication system for preventing I2C bus address conflict | |
CN104899170A (en) | Distributed intelligent platform management bus (IPMB) connection method and ATCA (Advanced Telecom Computing Architecture) machine frame | |
CN102073611B (en) | I2C bus control system and method | |
CN105243044A (en) | Serial port based management system and management method | |
US10402354B2 (en) | Method, apparatus, communication equipment and storage media for determining link delay | |
CN101902436A (en) | Interplate communication method, device and system | |
CN115357535A (en) | Virtual serial port design method and device | |
CN103885910B (en) | The method that many equipment carry out IIC communications under holotype | |
CN104079460A (en) | Inter-board communication component based on POWERLINK technology | |
CN101309257A (en) | Single board communication method and system based on internal integrated circuit bus | |
CN104460857A (en) | Peripheral component interconnect-express card and method and device for using same | |
CN101296063B (en) | Main/standby switching device, method and single plate | |
CN116684389A (en) | Address automatic allocation method and host, slave and communication equipment with same | |
CN109885420A (en) | A kind of analysis method, BMC and the storage medium of PCIe link failure | |
CN101277244B (en) | ATM synchronous Ethernet and method for transmitting/receiving data | |
CN115827545A (en) | Enhanced serial peripheral interface implementation method, device, conversion device and medium | |
CN1988501B (en) | Realizing device for embedded control path communication using FPGA completing optic transmission device | |
CN108429741A (en) | A kind of method and system for realizing NCSI agreements |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20101201 |