CN112416843A - Backboard communication equipment, control method thereof and storage medium - Google Patents

Backboard communication equipment, control method thereof and storage medium Download PDF

Info

Publication number
CN112416843A
CN112416843A CN202011278923.5A CN202011278923A CN112416843A CN 112416843 A CN112416843 A CN 112416843A CN 202011278923 A CN202011278923 A CN 202011278923A CN 112416843 A CN112416843 A CN 112416843A
Authority
CN
China
Prior art keywords
communication
instruction
card
slave
initial
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
Application number
CN202011278923.5A
Other languages
Chinese (zh)
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.)
Beijing Ruian Technology Co Ltd
Original Assignee
Beijing Ruian Technology 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 Beijing Ruian Technology Co Ltd filed Critical Beijing Ruian Technology Co Ltd
Priority to CN202011278923.5A priority Critical patent/CN112416843A/en
Publication of CN112416843A publication Critical patent/CN112416843A/en
Priority to PCT/CN2021/108332 priority patent/WO2022100148A1/en
Pending legal-status Critical Current

Links

Images

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/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • G06F13/4291Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a clocked protocol
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q1/00Details of selecting apparatus or arrangements
    • H04Q1/02Constructional details
    • H04Q1/15Backplane arrangements
    • H04Q1/155Backplane arrangements characterised by connection features
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0016Inter-integrated circuit (I2C)

Abstract

The embodiment of the invention discloses a backboard communication device, a control method thereof and a storage medium. The apparatus comprises: a backplane, a master card and at least one slave card; the master card is connected with a master card communication bus on the back plate, the slave card is connected with a slave card communication bus on the back plate, and the master card communication bus is communicated with the slave card communication bus through the back plate; the main card is used for sending an initial communication instruction generated based on the user instruction to a main card communication bus; receiving a communication result sent by the slave card based on the initial communication instruction through the main card communication bus; and the slave card is used for receiving the initial communication command through the slave card communication bus, generating a communication result based on the slave card slot position command and the initial task command in the initial communication command, and sending the communication result to the slave card communication bus. The embodiment of the invention solves the problem of layout design complexity of an I2C bus transmission mode, improves the stability and transmission efficiency of instruction transmission, and effectively reduces the equipment cost.

Description

Backboard communication equipment, control method thereof and storage medium
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a backboard communication device, a control method thereof and a storage medium.
Background
The ATCA (Advanced telecommunications Computing Architecture, standard Advanced telecommunications Computing platform) is a cost-effective, modular-based, compatible and scalable hardware Architecture for converged communication and data network applications.
For the current ATCA backplane Management, an IPMB (Intelligent Platform Management Bus) technology is usually adopted, and the IPMB is a general term for two sets of redundant I2C buses for ATCA backplane communication.
The I2C bus includes two bidirectional buses, namely, SDA (Serial Data line) and SCL (Serial Clock line), wherein SDA is used for transmitting Data, and SCL is used for synchronous Data transmission and reception. When the I2C bus is performing data transfer, the data on SDA must remain stable during the SCL is high; the high or low state on the data line is allowed to change only during the time when the signal on the clock line is low. Therefore, the layout design of the transmission mode of the I2C bus is complex, and the I2C bus is used as a peripheral communication mode, which increases the equipment cost of the ATCA.
Disclosure of Invention
The embodiment of the invention provides a backboard communication device, a control method thereof and a storage medium, which are used for improving the stability and transmission efficiency of instruction transmission and reducing the cost of the device.
In a first aspect, an embodiment of the present invention provides a backplane communication device, where the backplane communication device includes: a backplane, a master card and at least one slave card;
the master card is connected with a master card communication bus on the backboard, the slave card is connected with a slave card communication bus on the backboard, and the master card communication bus is communicated with the slave card communication bus through the backboard;
the main card is used for sending an initial communication instruction generated based on a user instruction to the main card communication bus; receiving a communication result sent by the slave card based on the initial communication instruction through the main card communication bus; the initial communication instruction comprises a slave card slot position instruction and an initial task instruction;
the slave card is used for receiving the initial communication instruction through the slave card communication bus, generating a communication result based on the slave card slot position instruction and the initial task instruction in the initial communication instruction, and sending the communication result to the slave card communication bus.
In a second aspect, an embodiment of the present invention further provides a method for controlling a backplane communication device, where the method includes:
sending an initial communication instruction generated based on a user instruction to a master card communication bus so that a slave card receives the initial communication instruction through a slave card communication bus communicated with the master card communication bus, generating a communication result based on a slave card slot position instruction and an initial task instruction in the initial communication instruction, and sending the communication result to the slave card communication bus;
and receiving a communication result sent by the slave card based on the initial communication instruction through the master card communication bus.
In a third aspect, an embodiment of the present invention further provides a method for controlling a backplane communication device, where the method includes:
receiving an initial communication instruction which is sent to a main card communication bus by a main card and is generated based on a user instruction through a slave card communication bus communicated with the main card communication bus; the communication instruction comprises a slave card slot position instruction and an initial task instruction;
generating a communication result based on a slave card slot position instruction and a task instruction in the initial communication instruction;
and sending the communication result to the slave card communication bus so that the master card receives the communication result through the master card communication bus.
In a fourth aspect, an embodiment of the present invention further provides a control device for backplane communication equipment, where the control device is configured in a host card in the backplane communication equipment, and the control device includes:
the communication system comprises an initial communication instruction sending module, a slave card communication bus and a communication result sending module, wherein the initial communication instruction sending module is used for sending an initial communication instruction generated based on a user instruction to the master card communication bus so that a slave card receives the initial communication instruction through the slave card communication bus communicated with the master card communication bus, generates a communication result based on a slave card slot position instruction and an initial task instruction in the initial communication instruction, and sends the communication result to the slave card communication bus;
and the communication result receiving module is used for receiving the communication result sent by the slave card based on the initial communication instruction through the main card communication bus.
In a fifth aspect, an embodiment of the present invention further provides a control device for backplane communication equipment, where the control device is configured in a slave card in the backplane communication equipment, and the method includes:
the initial communication instruction receiving module is used for receiving an initial communication instruction which is generated based on a user instruction and is sent to a main card communication bus by a main card through a slave card communication bus communicated with the main card communication bus; the communication instruction comprises a slave card slot position instruction and an initial task instruction;
the communication result generation module is used for generating a communication result based on the slave slot position instruction and the task instruction in the initial communication instruction;
and the communication result sending module is used for sending the communication result to the slave card communication bus so that the master card receives the communication result through the master card communication bus.
In a sixth aspect, an embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the computer-executable instructions are used to execute the control method of the backplane communication device according to any one of the above-mentioned aspects when executed by a computer processor.
According to the embodiment of the invention, the content of the communication instruction is formulated, and the instruction communication between the master card and the slave card is realized through the communication bus on the backboard communication equipment, so that the problem of complexity of layout design of an I2C bus transmission mode is solved.
Drawings
Fig. 1 is a schematic structural diagram of a backplane communication device according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a backplane communication device according to a second embodiment of the present invention.
Fig. 3 is a schematic diagram of a target communication command according to a second embodiment of the present invention.
Fig. 4 is a flowchart of a control method for a backplane communication device according to a third embodiment of the present invention.
Fig. 5 is a flowchart of a specific example of a control method for a backplane communication device according to a third embodiment of the present invention.
Fig. 6 is a flowchart of a control method for a backplane communication device according to a fourth embodiment of the present invention.
Fig. 7 is a flowchart of a specific example of a control method for a backplane communication device according to a fourth embodiment of the present invention.
Fig. 8 is a schematic diagram of a control device of a backplane communication device according to a fifth embodiment of the present invention.
Fig. 9 is a schematic diagram of a control device of a backplane communication device according to a sixth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a schematic structural diagram of a backplane communication device according to an embodiment of the present invention, where the embodiment is applicable to a situation where command communication is performed based on a backplane, and the embodiment provides a service for implementing a control method of the backplane communication device according to the present invention, and can configure a control apparatus of the backplane communication device according to the present invention.
This backplate communication equipment includes: a backplane 10, a master card 11 and at least one slave card 12; the master card 11 is connected with a master card communication bus 101 on the backboard 10, the slave card 12 is connected with a slave card communication bus 102 on the backboard 10, and the master card communication bus 101 is communicated with the slave card communication bus 102 through the backboard 10; the main card 11 is used for sending an initial communication instruction generated based on a user instruction to a communication bus of the main card 11; and receiving a communication result transmitted by the slave card 12 based on the initial communication instruction through the master card communication bus 101; the initial communication instruction comprises a slave card slot position instruction and an initial task instruction; the slave card 12 is configured to receive the initial communication instruction from the card communication bus 102, generate a communication result based on the slave card slot position instruction and the initial task instruction in the initial communication instruction, and send the communication result to the slave card communication bus 102.
In one embodiment, optionally, the backplane communications device is a standard, i.e., advanced telecommunications computing platform (ATCA).
The backplane 10 may be a printed circuit board for connecting boards to form a complete box system, so as to realize electrical connection and signal transmission. As shown in fig. 1, a master card communication bus 101 and a slave card communication bus 102 on the backplane are respectively connected to a master card 11 and a slave card 12, specifically, the communication bus on the master card 11 is connected to the master card communication bus 101, the communication bus on the slave card 12 is connected to the slave card communication bus 102, and the communication between the master card communication bus 101 and the slave card communication bus 102 is realized on the backplane.
In one embodiment, the master card communication bus 101 and the slave card communication bus 102 are optionally I/O buses. A bus is a set of signal lines that interconnect and transmit information, including instructions, data, and addresses, from module to module or device to device.
The user instruction is, for example, an instruction input by the user according to the command prompt information after the main card 11 starts the application command line, and specifically, the user instruction includes a task instruction to be executed from the card slot position information. Specifically, the user command is analyzed to obtain an initial communication command. Specifically, the slave card slot position instruction in the initial communication instruction is used for representing slot position information of a target slave card executing an initial task instruction, and the initial task instruction in the initial communication instruction is a task instruction to be executed by the target slave card. In one embodiment, master card 11 is connected to backplane 10 via a master slot bus and slave card 12 is connected to backplane 10 via a slave slot bus. Specifically, when the master slot position bus or the slave slot position bus is occupied, the master card 11 or the slave card 12 correspondingly generates slot position information corresponding to the master slot position bus or the slave slot position bus.
In one embodiment, optionally, the slave card 12 is specifically configured to: and matching the received slave slot position instruction with the local slot position instruction, and if the matching is successful, generating a communication result based on the received initial task instruction. Specifically, the master card communication bus 101 is communicated with the at least one slave card communication bus 102 through the backplane 10, and after an initial communication command is sent to the master card communication bus 101, at least one slave card 12 receives the initial communication command from the slave card communication bus 102 through the initial communication command. The slave card 12 matches the slave slot position instruction in the initial communication instruction with the local slot position instruction, and if the matching is successful, the target slave card of the initial communication instruction is the slave card, and a communication result is generated based on the received initial task instruction. If the matching is unsuccessful, the target slave card of the initial communication command is not the own slave card, and the initial task command is not responded.
According to the technical scheme of the embodiment, the command communication between the master card and the slave card is realized through the content of the communication command and the communication bus on the backboard communication equipment, so that the problem of complexity of layout design of an I2C bus transmission mode is solved, the command communication process can be completed through only one communication bus, the stability and the transmission efficiency of command transmission are improved, and the equipment cost is effectively reduced.
Example two
Fig. 2 is a schematic structural diagram of a backplane communication device according to a second embodiment of the present invention, and the technical solution of this embodiment is further detailed based on the above embodiments. Optionally, the master card 11 and each slave card 12 are respectively provided with a programmable logic device, and the programmable logic device 111 on the master card 11 is connected to the master card communication bus 101, and is configured to send the received initial communication instruction sent by the master card 11 to the master card communication bus 101; the programmable logic device 121 on the slave card 12 is connected to the slave card communication bus 102, and is configured to transmit the received communication result transmitted from the slave card 12 to the slave card communication bus 102.
The Programmable Logic Device (PLD) is a general-purpose large-scale integrated circuit, and a digital system with required functions is designed by adopting a method of combining software and hardware. The programmable logic device can be classified into a programmable combination logic device and a programmable sequential logic device according to the existence of register function, can be classified into a programmable logic array and a programmable gate array according to the internal circuit composition, and can be classified into a fuse programming logic device, an optical erasing programming logic device and an electric erasing programming logic device according to the programming mode. The specific type of programmable logic device is not limited herein.
In one embodiment, optionally, the programmable logic device 111 on the main card 11 is further configured to: converting an initial task instruction in the initial communication instruction to obtain a target task instruction based on a preset conversion rule, generating a target communication instruction based on the target task instruction, and sending the target communication instruction to the main card communication bus 101; accordingly, the programmable logic device 121 on the slave card 12 is also configured to: and after the matching is successful, analyzing the target task instruction in the received target communication instruction based on a preset conversion rule to obtain an initial task instruction.
For example, the preset conversion rule may be a rule characterizing a conversion mapping relationship between the initial task instruction and the target task instruction. For example, when the initial task instruction is a "word" instruction, the corresponding target task instruction is a "w" instruction. Accordingly, the programmable logic device 121 on the slave card 12 parses the "w" command based on the preset conversion rule to obtain a "word" command.
The method has the advantages that the initial task instruction sent by the main card can be simplified to obtain the target task instruction, and the target task instruction is sent to the main card communication bus, so that the data volume of the instruction transmitted on the communication bus is reduced, and the transmission efficiency is improved.
In an embodiment, optionally, the programmable logic device 111 on the main card 11 is specifically configured to: acquiring a master card slot position instruction, and generating a target communication instruction based on the master card slot position instruction, a target task instruction and a slave card slot position instruction in the initial communication instruction; accordingly, the programmable logic device 121 on the slave card 12 is also configured to: and generating a target result instruction based on the communication result, the slave card slot position instruction and the master card slot position instruction in the target communication instruction, and sending the target result instruction to the slave card communication bus.
Specifically, the master card slot position instruction is used to represent master card slot position information corresponding to the current master card. Fig. 3 is a schematic diagram of a target communication command according to a second embodiment of the present invention. As shown in fig. 3, the target communication command is a master slot position command, a slave slot position command and a target task command from left to right in sequence. It should be understood that, as shown in fig. 3, only one of the target communication commands is shown, and the present embodiment does not limit the sequence of the commands in the target communication command.
In an embodiment, the schematic diagram of the target communication command shown in fig. 3 may also represent a schematic diagram of a target result command. In this embodiment, the target result instruction is, from left to right, a slave slot position instruction, a master slot position instruction, and a communication result in sequence.
The advantage that sets up like this lies in, when being connected with a plurality of main cards on the backplate, the slave card can be according to the main card slot position instruction in the target communication instruction of receipt with the accurate main card that sends the target communication instruction of communication result, increased backplate communication equipment's adaptation scene to backplate communication equipment's portability has been improved.
In one embodiment, optionally, the programmable logic device 111 on the main card 11 is further configured to: before converting the initial task instruction, performing oversampling processing on the received initial communication instruction sent by the main card 11; and matching the initial task instruction in the initial communication instruction after the oversampling processing with the task instruction set, and if the matching is successful, executing conversion operation on the initial task instruction.
Specifically, the master card 11 and the programmable logic device 111 are respectively provided with a clock, when the master card sends an initial communication instruction to the programmable logic device 111 according to the master card clock, the programmable logic device 111 receives the initial communication instruction corresponding to the master card clock, and the logic processing of the programmable logic device 111 is completed based on the clock inside the programmable logic device 111 itself. If the master card clock is not synchronized with the internal clock of programmable logic device 111, then the logic processing performed by programmable logic device 111 based directly on the receipt of the initial communication command may have logic errors or inaccurate results. Therefore, the embodiment performs oversampling processing on the received initial communication command sent by the main card 11, thereby eliminating the interference problem of clock asynchronism and ensuring the accuracy of subsequent logic processing.
Here, the task instruction set is, for example, a task instruction defined in the programmable logic device 111 that can be executed, and if the initial task instruction does not match the task instruction set, the initial task instruction is not responded, that is, the user instruction corresponding to the initial task instruction is not responded. The advantage of setting up like this is, avoid sending invalid communication command, improves the transmission quality of communication command.
On the basis of the above embodiment, the programmable logic device 111 on the master card 11 receives the communication result sent by the slave card based on the initial communication instruction through the master card communication bus 101, and sends the display content corresponding to the communication result to the display of the backplane communication device, so that the display displays the display content.
According to the technical scheme of the embodiment, the programmable logic devices are respectively arranged on the master card and the slave card, and the programmable logic devices on the master card generate the target communication instruction based on the initial communication instruction sent by the master card, so that the problem of low transmission efficiency when the master card directly sends the initial communication instruction is solved, the programmable logic devices are used for further carrying out logic processing on the initial communication instruction sent by the master card, and the transmission efficiency and the transmission quality are further improved.
EXAMPLE III
Fig. 4 is a flowchart of a control method for backplane communication equipment according to a third embodiment of the present invention, where the method is applicable to a case where command communication is performed based on a backplane, and the method can be executed by control of the backplane communication equipment, and the apparatus can be implemented by software and/or hardware, and the apparatus can be configured in a host card on the backplane communication equipment.
Wherein, backplate communication equipment includes: a backplane, a master card and at least one slave card; the master card is connected with a master card communication bus on the back plate, the slave card is connected with a slave card communication bus on the back plate, and the master card communication bus is communicated with the slave card communication bus through the back plate.
The embodiment specifically comprises the following steps:
s310, sending an initial communication instruction generated based on the user instruction to the master card communication bus so that the slave card receives the initial communication instruction through the slave card communication bus communicated with the master card communication bus, generating a communication result based on the slave card slot position instruction and the initial task instruction in the initial communication instruction, and sending the communication result to the slave card communication bus.
The user instruction is, for example, an instruction input by a user according to the command prompt information after the main card starts the application program command line, and specifically, the user instruction includes a task instruction to be executed from the card slot position information. Specifically, the user command is analyzed to obtain an initial communication command. Specifically, the slave card slot position instruction in the initial communication instruction is used for representing slot position information of a target slave card executing an initial task instruction, and the initial task instruction in the initial communication instruction is a task instruction to be executed by the target slave card.
And S320, receiving a communication result sent by the slave card based on the initial communication instruction through the master card communication bus.
Fig. 5 is a flowchart of a specific example of a control method for a backplane communication device according to a third embodiment of the present invention. Specifically, the main card starts an application program, waits for a command prompt message input command based on the application program from a user, judges whether the user command is an exit command or not when receiving the user command input by the user, and ends the process if the user command is the exit command; if not, the main card sends an initial communication instruction generated based on the user instruction to the programmable logic device through the serial port, the programmable logic device performs logic analysis processing on the initial communication instruction to generate a target communication instruction, and the target communication instruction is sent to an I/O bus of the backboard. The programmable logic device receives the communication result sent from the card through an I/O bus of the backboard, and sends the analysis result obtained based on the communication result to the application program through the serial port, so that the application program displays based on the analysis result and waits for the input of the next command.
According to the technical scheme of the embodiment, the command communication between the master card and the slave card is realized through the content of the communication command and the communication bus on the backboard communication equipment, so that the problem of complexity of layout design of an I2C bus transmission mode is solved, the command communication process can be completed through only one communication bus, the stability and the transmission efficiency of command transmission are improved, and the equipment cost is effectively reduced.
Example four
Fig. 6 is a flowchart of a control method for backplane communication equipment according to a fourth embodiment of the present invention, where the method is applicable to a case where command communication is performed based on a backplane, and the method can be executed by control of the backplane communication equipment, and the apparatus can be implemented by software and/or hardware, and the apparatus can be configured in a slave card on the backplane communication equipment.
Wherein, backplate communication equipment includes: a backplane, a master card and at least one slave card; the master card is connected with a master card communication bus on the back plate, the slave card is connected with a slave card communication bus on the back plate, and the master card communication bus is communicated with the slave card communication bus through the back plate.
The embodiment specifically comprises the following steps:
s410, receiving an initial communication instruction which is sent to the main card communication bus by the main card and is generated based on a user instruction through the auxiliary card communication bus communicated with the main card communication bus.
In this embodiment, the communication command includes a slave slot position command and an initial task command;
s420, generating a communication result based on the slave card slot position instruction and the task instruction in the initial communication instruction;
s430, sending the communication result to the slave card communication bus so that the master card receives the communication result through the master card communication bus.
Fig. 7 is a flowchart of a specific example of a control method for a backplane communication device according to a fourth embodiment of the present invention. Specifically, the received communication instruction is continuously sampled and compared through an I/O bus of the backplane, a slave slot position instruction in the communication instruction is matched with a local slot position instruction, and if the matching is unsuccessful, the communication instruction is not the card processing instruction, and then the receiving of the communication instruction is continuously waited. If the matching is successful, the communication instruction is the processing instruction of the card, the task instruction in the communication instruction is processed, and the communication result obtained by processing is sent to the I/O bus of the backboard, and then the communication instruction is continuously waited to be received.
According to the technical scheme of the embodiment, the command communication between the master card and the slave card is realized through the content of the communication command and the communication bus on the backboard communication equipment, so that the problem of complexity of layout design of an I2C bus transmission mode is solved, the command communication process can be completed through only one communication bus, the stability and the transmission efficiency of command transmission are improved, and the equipment cost is effectively reduced.
EXAMPLE five
Fig. 8 is a schematic diagram of a control device of a backplane communication device according to a fifth embodiment of the present invention. The embodiment is applicable to the case of command communication based on the backplane, the device can be implemented in a software and/or hardware manner, and the device can be configured in a main card on the backplane communication equipment. This controlling means of backplate communication equipment includes: an initial communication command sending module 510 and a communication result receiving module 520.
The initial communication instruction sending module 510 is configured to send an initial communication instruction generated based on a user instruction to a master card communication bus, so that a slave card receives the initial communication instruction through a slave card communication bus communicated with the master card communication bus, generates a communication result based on a slave card slot position instruction and an initial task instruction in the initial communication instruction, and sends the communication result to the slave card communication bus;
the communication result receiving module 520 is configured to receive, through the master card communication bus, a communication result sent by the slave card based on the initial communication instruction.
According to the technical scheme of the embodiment, the command communication between the master card and the slave card is realized through the content of the communication command and the communication bus on the backboard communication equipment, so that the problem of complexity of layout design of an I2C bus transmission mode is solved, the command communication process can be completed through only one communication bus, the stability and the transmission efficiency of command transmission are improved, and the equipment cost is effectively reduced.
The control device of the backplane communication equipment provided by the embodiment of the invention can be used for executing the control method of the backplane communication equipment provided by the embodiment of the invention, and has corresponding functions and beneficial effects of the execution method.
It should be noted that, in the embodiment of the control device of the backplane communication device, each included unit and module are only divided according to functional logic, but are not limited to the above division, as long as the corresponding function can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
EXAMPLE six
Fig. 9 is a schematic diagram of a control device of a backplane communication device according to a sixth embodiment of the present invention. The embodiment is applicable to the case of command communication based on the backplane, the device can be implemented in a software and/or hardware manner, and the device can be configured in a main card on the backplane communication equipment. This controlling means of backplate communication equipment includes: an initial communication instruction receiving module 610, a communication result generating module 620 and a communication result sending module 630.
The initial communication instruction receiving module 610 is configured to receive an initial communication instruction, which is generated based on a user instruction and sent to a master card communication bus by the master card, through a slave card communication bus communicated with the master card communication bus; the communication instruction comprises a slave card slot position instruction and an initial task instruction;
a communication result generating module 620, configured to generate a communication result based on the slave slot position instruction and the task instruction in the initial communication instruction;
the communication result sending module 630 is configured to send the communication result to the slave card communication bus, so that the master card receives the communication result through the master card communication bus.
According to the technical scheme of the embodiment, the command communication between the master card and the slave card is realized through the content of the communication command and the communication bus on the backboard communication equipment, so that the problem of complexity of layout design of an I2C bus transmission mode is solved, the command communication process can be completed through only one communication bus, the stability and the transmission efficiency of command transmission are improved, and the equipment cost is effectively reduced.
The control device of the backplane communication equipment provided by the embodiment of the invention can be used for executing the control method of the backplane communication equipment provided by the embodiment of the invention, and has corresponding functions and beneficial effects of the execution method.
It should be noted that, in the embodiment of the control device of the backplane communication device, each included unit and module are only divided according to functional logic, but are not limited to the above division, as long as the corresponding function can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
EXAMPLE seven
The seventh embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the computer-executable instructions are executed by a computer processor to perform a control method for a backplane communication device provided in the third embodiment of the present invention, where the method includes:
sending an initial communication instruction generated based on a user instruction to a master card communication bus so that a slave card receives the initial communication instruction through a slave card communication bus communicated with the master card communication bus, generating a communication result based on a slave card slot position instruction and an initial task instruction in the initial communication instruction, and sending the communication result to the slave card communication bus;
and receiving a communication result sent by the slave card based on the initial communication instruction through the master card communication bus.
In another embodiment, optionally, the computer executable instructions when executed by the computer processor are configured to perform a method for controlling a backplane communication device according to the fourth embodiment of the present invention, where the method includes:
receiving an initial communication instruction which is sent to a main card communication bus by the main card and is generated based on a user instruction through a slave card communication bus communicated with the main card communication bus; the communication instruction comprises a slave card slot position instruction and an initial task instruction;
generating a communication result based on a slave card slot position instruction and a task instruction in the initial communication instruction;
and sending the communication result to the slave card communication bus so that the master card receives the communication result through the master card communication bus.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present invention is not limited to the above method operations, and may also perform related operations in the control method of the backplane communication device provided in any embodiment of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments illustrated herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A backplane communication device, the device comprising: a backplane, a master card and at least one slave card;
the master card is connected with a master card communication bus on the backboard, the slave card is connected with a slave card communication bus on the backboard, and the master card communication bus is communicated with the slave card communication bus through the backboard;
the main card is used for sending an initial communication instruction generated based on a user instruction to the main card communication bus; receiving a communication result sent by the slave card based on the initial communication instruction through the main card communication bus; the initial communication instruction comprises a slave card slot position instruction and an initial task instruction;
the slave card is used for receiving the initial communication instruction through the slave card communication bus, generating a communication result based on the slave card slot position instruction and the initial task instruction in the initial communication instruction, and sending the communication result to the slave card communication bus.
2. The device according to claim 1, characterized in that the slave card is specifically configured to:
and matching the received slave slot position instruction with a local slot position instruction, and if the matching is successful, generating a communication result based on the received initial task instruction.
3. The device according to claim 2, wherein the master card and each slave card are respectively provided with a programmable logic device, and the programmable logic device on the master card is connected with the master card communication bus and is used for sending the received initial communication command sent by the master card to the master card communication bus; the programmable logic device on the slave card is connected with the slave card communication bus and used for sending the received communication result sent by the slave card to the slave card communication bus.
4. The apparatus of claim 3, wherein the programmable logic device on the master card is further configured to:
converting an initial task instruction in the initial communication instruction to obtain a target task instruction based on a preset conversion rule, generating a target communication instruction based on the target task instruction, and sending the target communication instruction to a main card communication bus;
correspondingly, the programmable logic device on the slave card is further configured to:
and after the matching is successful, analyzing the target task instruction in the received target communication instruction based on the preset conversion rule to obtain an initial task instruction.
5. The device of claim 4, wherein the programmable logic device on the host card is specifically configured to:
acquiring a master card slot position instruction, and generating a target communication instruction based on the master card slot position instruction, the target task instruction and a slave card slot position instruction in the initial communication instruction;
correspondingly, the programmable logic device on the slave card is further configured to:
and generating a target result instruction based on the communication result, a slave card slot position instruction in the target communication instruction and the master card slot position instruction, and sending the target result instruction to the slave card communication bus.
6. The apparatus of claim 4, wherein the programmable logic device on the master card is further configured to:
before the initial task instruction is converted, oversampling processing is carried out on the received initial communication instruction sent by the main card;
and matching an initial task instruction in the initial communication instruction after the oversampling with a task instruction set, and if the matching is successful, executing conversion operation on the initial task instruction.
7. The device of claim 1, wherein the master card communication bus and the slave card communication bus are I/O buses.
8. A control method for a backplane communication device, comprising:
sending an initial communication instruction generated based on a user instruction to a master card communication bus so that a slave card receives the initial communication instruction through a slave card communication bus communicated with the master card communication bus, generating a communication result based on a slave card slot position instruction and an initial task instruction in the initial communication instruction, and sending the communication result to the slave card communication bus;
and receiving a communication result sent by the slave card based on the initial communication instruction through the master card communication bus.
9. A control method for a backplane communication device, comprising:
receiving an initial communication instruction which is sent to a main card communication bus by a main card and is generated based on a user instruction through a slave card communication bus communicated with the main card communication bus; the communication instruction comprises a slave card slot position instruction and an initial task instruction;
generating a communication result based on a slave card slot position instruction and a task instruction in the initial communication instruction;
and sending the communication result to the slave card communication bus so that the master card receives the communication result through the master card communication bus.
10. A storage medium containing computer-executable instructions for performing the method of controlling a backplane communication device according to claim 8 or 9 when executed by a computer processor.
CN202011278923.5A 2020-11-16 2020-11-16 Backboard communication equipment, control method thereof and storage medium Pending CN112416843A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011278923.5A CN112416843A (en) 2020-11-16 2020-11-16 Backboard communication equipment, control method thereof and storage medium
PCT/CN2021/108332 WO2022100148A1 (en) 2020-11-16 2021-07-26 Backplane communication device and control method therefor, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011278923.5A CN112416843A (en) 2020-11-16 2020-11-16 Backboard communication equipment, control method thereof and storage medium

Publications (1)

Publication Number Publication Date
CN112416843A true CN112416843A (en) 2021-02-26

Family

ID=74831755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011278923.5A Pending CN112416843A (en) 2020-11-16 2020-11-16 Backboard communication equipment, control method thereof and storage medium

Country Status (2)

Country Link
CN (1) CN112416843A (en)
WO (1) WO2022100148A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022100148A1 (en) * 2020-11-16 2022-05-19 北京锐安科技有限公司 Backplane communication device and control method therefor, and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9000643D0 (en) * 1990-01-11 1990-03-14 Racal Milgo Ltd Computer bus system
JP2008134927A (en) * 2006-11-29 2008-06-12 Toshiba Corp Vme board and access detection method for cr/csr register
CN103500148A (en) * 2013-10-18 2014-01-08 深圳市新格林耐特通信技术有限公司 Device and method for enabling master control card to read type of service line card
CN104408002A (en) * 2014-12-05 2015-03-11 上海斐讯数据通信技术有限公司 Serial port master-slave communication control system and method
CN204216935U (en) * 2014-11-10 2015-03-18 上海宝钢工业技术服务有限公司 Based on the mass data collection communication platform of frame-type
CN104615455A (en) * 2014-12-30 2015-05-13 北京锐安科技有限公司 Remote upgrading method and device for IPMC program of ATCA structure
CN104993921A (en) * 2015-07-08 2015-10-21 上海斐讯数据通信技术有限公司 Communication channel gating method of serial port master-slave communication control system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6389493B1 (en) * 1999-06-29 2002-05-14 Cisco Technology, Inc. System and method for dynamically allocating bandwidth to a plurality of slave cards coupled to a bus
CN103605628A (en) * 2013-11-29 2014-02-26 迈普通信技术股份有限公司 PCI-E-based method and device for achieving command interaction between master equipment and slave equipment
CN105243044B (en) * 2015-10-19 2017-12-19 上海斐讯数据通信技术有限公司 Management system and management method based on serial ports
CN112416843A (en) * 2020-11-16 2021-02-26 北京锐安科技有限公司 Backboard communication equipment, control method thereof and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9000643D0 (en) * 1990-01-11 1990-03-14 Racal Milgo Ltd Computer bus system
JP2008134927A (en) * 2006-11-29 2008-06-12 Toshiba Corp Vme board and access detection method for cr/csr register
CN103500148A (en) * 2013-10-18 2014-01-08 深圳市新格林耐特通信技术有限公司 Device and method for enabling master control card to read type of service line card
CN204216935U (en) * 2014-11-10 2015-03-18 上海宝钢工业技术服务有限公司 Based on the mass data collection communication platform of frame-type
CN104408002A (en) * 2014-12-05 2015-03-11 上海斐讯数据通信技术有限公司 Serial port master-slave communication control system and method
CN104615455A (en) * 2014-12-30 2015-05-13 北京锐安科技有限公司 Remote upgrading method and device for IPMC program of ATCA structure
CN104993921A (en) * 2015-07-08 2015-10-21 上海斐讯数据通信技术有限公司 Communication channel gating method of serial port master-slave communication control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022100148A1 (en) * 2020-11-16 2022-05-19 北京锐安科技有限公司 Backplane communication device and control method therefor, and storage medium

Also Published As

Publication number Publication date
WO2022100148A1 (en) 2022-05-19

Similar Documents

Publication Publication Date Title
CN111651384B (en) Register reading and writing method, chip, subsystem, register set and terminal
CN109886399B (en) Tensor processing device and method
CN111901164B (en) Adaptive control method, device, equipment and system of OCP NIC network card
CN110489440B (en) Data query method and device
CN114528044B (en) Interface calling method, device, equipment and medium
CN110990081A (en) Microservice registration and discovery method and device, storage medium and electronic equipment
US20190197010A1 (en) Data transmission method and mobile terminal
CN110769002A (en) LabVIEW-based message analysis method, system, electronic device and medium
CN114356671A (en) Board card debugging device, system and method
US10621124B2 (en) Method, device and computer program product for enabling SR-IOV functions in endpoint device
WO2022100148A1 (en) Backplane communication device and control method therefor, and storage medium
US11388028B2 (en) Communication method and device based on parallel system, and terminal
CN112422485B (en) Communication method and device of transmission control protocol
US7822040B2 (en) Method for increasing network transmission efficiency by increasing a data updating rate of a memory
CN114826542B (en) Data transmission method, device, equipment and medium based on asynchronous serial communication
CN116450554A (en) Interrupt processing method, root complex device and electronic device
CN113507530B (en) Data forwarding method, related system and device and storage medium
CN112003800B (en) Method and device for exchanging and transmitting messages of ports with different bandwidths
CN110401586B (en) Bus communication method, device, equipment and readable storage medium
CN115242861B (en) RTE layer communication data mapping configuration file generation method and system, computer readable storage medium and electronic equipment
US20230105094A1 (en) Power saving techniques for layer-to-layer interface
CN116028427B (en) Parameter configuration system, method and storage medium
WO2023226787A1 (en) Communication method, system, and apparatus, and electronic device
CN112882975A (en) MCU peripheral access system and access method
CN110727391A (en) Transaction data storage method and device, block chain system, medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination