CN107547953B - Method for realizing inter-board communication in PON system - Google Patents

Method for realizing inter-board communication in PON system Download PDF

Info

Publication number
CN107547953B
CN107547953B CN201710875177.XA CN201710875177A CN107547953B CN 107547953 B CN107547953 B CN 107547953B CN 201710875177 A CN201710875177 A CN 201710875177A CN 107547953 B CN107547953 B CN 107547953B
Authority
CN
China
Prior art keywords
channel
communication
board card
board
communication mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710875177.XA
Other languages
Chinese (zh)
Other versions
CN107547953A (en
Inventor
曾颜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201710875177.XA priority Critical patent/CN107547953B/en
Publication of CN107547953A publication Critical patent/CN107547953A/en
Application granted granted Critical
Publication of CN107547953B publication Critical patent/CN107547953B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for realizing inter-board communication in a PON system, which comprises the following steps: setting a main master control board card as a master device and other board cards as slave devices, and respectively finishing initialization of respective channel information in the master device and the slave devices; the master equipment and the slave equipment adopt a basic communication mode to register the board cards of all the slot positions; the main device and the slave device adopt a basic communication mode to carry out the related parameter negotiation of the channel, and establish a more optimal communication mode; and the master device and the slave device carry out data transmission according to the negotiated better communication mode. The invention shields the difference between the physical channel and the communication mode as much as possible through communication negotiation, and simultaneously can give full play to the advantages of the actual physical channel, thereby leading the communication to be carried out according to the communication mode and the capability matched with the physical channel no matter what physical channel the connection between the board cards is, and the invention has the advantages of simple realization, high execution efficiency and easy expansion.

Description

Method for realizing inter-board communication in PON system
Technical Field
The present invention relates to a PON (Passive Optical System, Passive Optical network) technology, and in particular, to a method for implementing inter-board communication in a PON System.
Background
The communication equipment generally comprises a plurality of board cards, wherein the board cards comprise a main control board card, a service board card, an auxiliary board card and the like; the main control board card is the core of the whole system and takes on the overall functions of configuration management, protocol operation, resource management, state detection and the like of the whole system; the service board card is used for realizing data exchange of specific services or is only used as an interface board card; the auxiliary board card refers to a power board card, a fan board card and other board cards for realizing non-service functions. Inter-board communication plays a very important role in the management and control of the system.
In a PON system, as shown in fig. 1, a typical local end device OLT (Optical Line terminal) adopting a dual star structure includes two main control board cards (1:1 backup), and a plurality of service board cards of the same type or different types, such as an EPON (Ethernet Passive Optical Network) service board card, a GPON (Gigabit-capable Passive Optical Network) service board card, a DSL (Digital Subscriber Line) service board card, and the like. In addition, due to the consideration of cost and the like, part of the boards are only interface boards, for example, an uplink board card formed by leading out an uplink interface of the OLT, and the uplink board card is separated from the service board card for the convenience of the following description.
In the PON system, a service board card and an add-on board card are both connected to a master control board card through a backplane bus, and the master and standby master control board cards are also connected through the backplane bus. The backplane bus may be of various types, such as an ethernet bus, an RS485 bus, an I2C (Inter-Integrated Circuit) bus, and the like. Different buses have different ways of avoiding Collision, for example, ethernet buses are implemented in a CSMA/CD (Carrier Sense Multiple Access/Collision Detection) manner, I2C buses are implemented in a bus arbitration manner, both of which can be implemented in a hardware level generally, whereas RS485 buses do not support Collision Detection in a hardware level, and therefore need to rely on a software protocol, for example, a MODBUS protocol.
In the existing inter-board communication technology, for each board card requiring inter-board communication, communication channels of the board cards are generally of the same type, for example, ethernet communication channels or RS485 communication channels are adopted; even if different types of physical channels are used by different boards, the main control board adopts a communication mode matched with the physical channels to carry out inter-board communication aiming at the different types of physical channels. Taking a typical local side device adopting a dual-star structure as shown in fig. 1 as an example, an ethernet channel is adopted between the main control board card and the service board cards, the communication mode of the ethernet channel is full duplex, and a plurality of service board cards can simultaneously transmit data to the main control board cards; an RS485 channel is adopted between the main control board card and the upper link board card, because the RS485 transmission mode is an asynchronous serial and half-duplex transmission mode, only one of the main equipment and the slave equipment can transmit data and the other can only receive data at the same time, communication messages between boards need to be transmitted by one frame and one frame, when a plurality of upper link board cards exist in the system, each upper link board card cannot transmit data to the main control board card at the same time, and therefore the upper link board cards need to be polled one by the main control board card; in summary, for the whole system, because the physical channels and communication modes between the boards are different, the system needs to process inter-board communication according to different board interaction flows, and there is no corresponding negotiation mode, so that the physical channels of the boards of different types cannot be uniformly managed and communicated; in addition, when the system expands other physical channels and communication modes, the corresponding inter-board communication processing needs to be changed.
Disclosure of Invention
The technical problem to be solved by the invention is that in the existing inter-board communication technology, because the physical channels and communication modes between the boards are different, the system needs to process inter-board communication according to different board interaction flows, and no corresponding negotiation mode exists, so that the problem that the physical channels of the boards of different types cannot be uniformly managed and communicated is solved.
In order to solve the above technical problem, the technical solution adopted by the present invention is to provide a method for implementing inter-board communication in a PON system, including the following steps:
firstly, setting a main master control board card as a master device and other board cards as slave devices, and respectively finishing initialization of respective channel information at the master device and the slave devices;
secondly, the master equipment and the slave equipment register the board cards of all the slot positions in a basic communication mode;
thirdly, the main device and the slave device negotiate the relevant parameters of the channel in a basic communication mode to establish a better communication mode;
and fourthly, the master device and the slave device carry out data transmission according to the negotiated better communication mode.
In the method, the channel information comprises a slot position channel table, a channel capability table, a board card registration information table and a communication link information table; wherein the content of the first and second substances,
the master device initializes the channel information of all the slave devices, and the slave devices initialize the channel information of the slave devices.
In the above-mentioned method, the first step of the method,
the slot position channel table records a physical channel of each slot position, and the content comprises a serial number, a slot position number and a channel type; the contents of the channel capability table comprise a serial number, a channel type, a priority value, a communication mode and a communication direction;
the content of the channel capability table comprises a serial number, a channel type, a priority value, a communication mode and a communication direction; wherein the content of the first and second substances,
the channel type is used as a physical channel type for the board communication;
the priority value is that different priority values are given to different physical channels when various types of physical channels exist in the inter-board communication; the board cards can negotiate and select channels with different weights for communication;
communication modes including point-to-point and point-to-multipoint;
a communication direction identifying whether the communication is one-way communication or two-way communication;
the content of the board card registration information table comprises a slot position number, a board card type and a channel type; the board card registration information table is a state information table, is empty during initialization, and records after the board card registration is finished;
the communication link information table is actually filled in after the board card completes the channel negotiation stage, and provides a basis for a data transmission mode in the data transmission stage; the content comprises a communication link number, a master device, a slave device, a channel type, a communication direction and a communication mode.
In the method, the channel type is a physical channel type used for communication of the board card, and one slot has one or more channel types; there are one or more communication means on one channel type.
In the above method, the basic communication method is specifically: the master device communicates with the slave device in a point-to-point and half-duplex communication mode;
when the master device transmits information to a plurality of slave devices, a point-to-point and half-duplex transmission mode is adopted for a plurality of times.
The more preferable communication method includes: allowing data to be sent bi-directionally, allowing data to be sent in a point-to-multipoint manner, and allowing data to be sent using a higher priority physical channel.
In the above method, in the fourth step, data transmission is performed according to the following principle:
if various types of physical channels exist in the inter-board communication, the channel with the higher priority value can be selected for communication;
if the communication mode is point-to-point, the communication direction is one-way, the master device and the slave device adopt a basic communication mode to send data, the master device requests the data, and the slave device responds to the data;
if the communication mode is point-to-point, the communication direction is bidirectional, the slave device can actively transmit data without waiting for the master device to respond to the data by polling or transmitting a request;
if the communication mode is point-to-multipoint and the communication direction is unidirectional, the master device allows the messages which do not need to be replied to be sent to the slave device in a broadcasting mode;
if the communication mode is point-to-multipoint and the communication direction is bidirectional, the master device sends a message to the slave device in a broadcasting mode, and the slave device replies the message; the slave device actively transmits data without waiting for the data to be acknowledged by the master device by polling or sending a request.
In the above method, the second step specifically includes the steps of:
step 201, a master device obtains a board card set with hardware in place;
step 202, polling each board card Bi, i in the bit board card set to represent a slot position number;
step 203, acquiring a slot position number i of the board card Bi;
step 204, screening a record item with the slot position number i from the slot position channel table, and acquiring a channel type set Pj corresponding to the record item;
step 205, polling each channel type Pj of the board card Bi;
step 206, completing board card registration in a basic communication mode;
step 207, judging whether all channel types Pj of the board card Bi are polled; if so, go to step 208; otherwise, go to step 205;
step 208, recording a board registration information table;
step 209, judging whether each board card Bi in the hardware in-place board card set is polled completely, if so, ending the program; otherwise, go to step 202;
and step 210, ending the program.
In the above method, step 206 specifically includes the following steps:
step 2061, the main device sends a registration notification message to the board card Bi through the channel Pj;
step 2062, the board card Bi receives the registration notification message and sends a registration response message to the main device;
step 2063, the master device replies a registration confirmation message to the board Bi.
In the above method, the third step includes the steps of:
301, acquiring a registered board card set from a board card registration information table by the main equipment;
step 302, polling each registered board card Bi in the registered board card set;
303, carrying out channel negotiation between the main equipment and the board card Bi in a basic communication mode;
step 304, updating the content corresponding to the board card Bi in the communication link information table;
305, judging whether each registered board card in the registered board card set is polled completely, and if so, ending the program; otherwise, go to step 302;
and step 306, ending the program.
In the above method, step 303 specifically includes the following steps:
3031, the main equipment selects a channel according to the priority, and the selected channel is marked as Pd;
step 3032, the main device sends a channel negotiation message to the board card Bi through the selected channel Pd;
step 3033, the board card Bi sends a channel negotiation response message after receiving the channel negotiation message;
3034, the main device adjusts the parameters of the selected channel Pd;
step 3035, the main device sends a channel negotiation confirmation message to the board card Bi to confirm the parameters selected by the selection channel Pd;
step 3036, after receiving the channel negotiation confirmation message of the main device, the board card Bi adjusts the parameters of the selected channel Pd;
step 3037, the main device communicates with the board card Bi through the selected channel Pd after parameter adjustment
According to the invention, the difference between the physical channel and the communication mode is shielded as much as possible through communication negotiation, and the advantages of the actual physical channel can be fully exerted, so that no matter what physical channel the connection between the board cards is, the communication can be carried out according to the communication mode and the capacity matched with the physical channel, and the method is simple to realize, high in execution efficiency and easy to expand.
Drawings
Fig. 1 is a schematic structural diagram of a typical local side device adopting a dual star structure;
fig. 2 is an implementation structure diagram of a method for implementing inter-board communication in a PON system according to the present invention;
fig. 3 is a flowchart of a method for implementing inter-board communication in a PON system according to the present invention;
FIG. 4 is a flowchart of an initialization stage S1 according to the present invention;
FIG. 5 is a flowchart of the board registration stage S2 according to the present invention;
FIG. 6 is a flowchart of step S2 of the board registration stage 206 of the present invention;
fig. 7 is a flowchart of the channel negotiation stage S3 according to the present invention;
fig. 8 is a flowchart of step 303 of the channel negotiation stage S3 in the present invention.
Detailed Description
The invention takes the main control board card as the main equipment, and other board cards (including standby main control board cards, service board cards, upper connection board cards, auxiliary board cards and the like) as the slave equipment. In the present invention, the standby main control board card as the slave device is generally in a backup state, and only communicates with the main control board card, and does not communicate with the service board card, the add-on board card, the auxiliary board card, and the like, so the main control board cards described below all refer to the main control board card.
The invention needs hardware to support the following characteristics which are usually required to be possessed by the card-inserting type equipment, specifically:
(1) hardware in-place information of the board card indicates whether the board card is inserted into a machine frame, and the hardware in-place information of the service board card, the uplink board card, the standby main control board card, the auxiliary board card and the like is generally acquired through the main control board card;
(2) the main identification information and the standby identification information of the main control board card and the standby main control board card are obtained through the main control board card;
(3) each board card is provided with a board card number (slot number), the board card number is actually hardware address information, and the slot number information of the board card is obtained; for the same slot position, no matter which board card is inserted, the hardware address information is fixed and unchangeable.
The invention is described in detail below with reference to the figures and specific examples.
The invention is suitable for the PON system adopting a double star structure as shown in figure 1, and the system comprises a main control board card, a standby main control board card, n service board cards and m upper connection board cards; the service board card and the upper connection board card are both connected to the main control board card and the standby main control board card through MUX (Multiplexer) chips; after the data of the service board card is gathered through the main control board card, the data is transmitted to upstream equipment from the upper link board card; the service board card and the upper connection board card can be various types of board cards; the buses on the backplane include an ethernet bus and an RS485 bus, and the ethernet bus may have multiple groups, for example, one group is used as a service data channel, and may also be used for in-band management, and the other group is used as a management data channel, that is, out-of-band management; the RS485 bus is used for managing the upper connection board card and even comprises various external monitoring devices.
As shown in fig. 2 and fig. 3, the method for implementing inter-board communication in a PON system provided by the present invention is divided into four stages: the initialization stage S1, the board registration stage S2, the channel negotiation stage S3, and the data transmission stage S4, all of which need to be implemented in module form on the master board and other boards (as shown in fig. 2).
In the initialization stage S1, the main control board is set as a master device, and the other boards are set as slave devices, and the initialization of the communication channel information of each board is completed on the main control board and the other boards, respectively. The other board cards comprise a standby main control board card, a service board card, an upper link board card, an auxiliary board card and the like; the channel information includes a slot channel table (table 1), a channel capability table (table 2), a board registration information table (table 3) and a communication link information table (table 4), in the present invention, a main control board (not including a standby main control board) needs to initialize the above information of other slot boards, and other boards only initialize their own information.
The slot channel table records the physical channel of each slot, and the content comprises the following contents: serial number, slot number, channel type; the channel type refers to a physical channel type used for the communication of the board card, and allows one slot to have a plurality of channel types, for example, one slot can simultaneously have an ethernet inter-board communication channel and an RS485 inter-board communication channel.
Table 1: slot channel table.
Serial number Number of slot Channel type
1 1 Ethernet network
2 1 RS485
3 2 Ethernet network
The contents of the channel capability table include sequence number, channel type, priority value, communication mode and communication direction.
The channel type is used as a physical channel type for the board communication;
the priority value means that different priority values can be given to different physical channels when various types of physical channels exist in the inter-board communication; the board cards can negotiate and select channels with different weights for communication;
communication modes, such as point-to-point, point-to-multipoint, and the like, allow multiple communication modes to exist on one channel type, for example, on a shared medium such as ethernet, allow inter-board communication in a point-to-point or point-to-multipoint mode;
a communication direction identifying whether the communication is one-way communication or two-way communication; if the communication is one-way communication, the data can be sent from the master device to the slave device, but the data cannot be sent from the slave device to the master device actively; in the case of two-way communication, this means that data can be sent from the master to the slave at its own initiative, or from the slave to the master at its own initiative.
Table 2: channel capacity meter.
Figure BDA0001417963920000091
The content of the board card registration information table comprises a slot position number, a board card type and a channel type; the board card type is the name of each type of board card by the system, and the channel type is consistent with the channel type in the table 1. The board registration information table is a state information table, is empty during initialization, and records after the board registration stage is completed.
Table 3: and (5) registering the information table on the board card.
Number of slot Card type Channel type
1
2
The communication link information table is actually filled in communication link information after the board card completes the channel negotiation stage, and provides a basis for a data sending mode of the data sending stage; the contents of the channel link information table comprise a communication link number, a master device, a slave device, a channel type, a communication direction and a communication mode. The master device and the slave device are identified by slot numbers, the channel type is consistent with that in table 1, and the communication direction and the communication mode are consistent with those in table 2.
Table 4: a channel link information table.
Communication link number Master device Slave device Channel type Direction of communication Communication system
1
2
In the board registration stage S2, the main control board and other boards perform board registration of each slot in a basic communication manner. In the present invention, the basic communication mode is specifically: the main control board card communicates with other board cards in a point-to-point and half-duplex communication mode, namely, sends messages to other board cards, and the other board cards respond; when the main control board card needs to send information to a plurality of other board cards, a multi-time point-to-point and half-duplex sending mode is adopted.
In the channel negotiation stage S3, the main control board and other boards perform channel related parameter negotiation in a basic communication manner, so as to establish a better communication manner. The more preferable communication method comprises the following steps: allowing data to be sent bi-directionally, allowing data to be sent in a point-to-multipoint manner, allowing data to be sent using a higher priority physical channel, etc.
In a data sending stage S4, the main control board and other boards send data according to the negotiated better communication mode; data transmission is performed according to the following principle:
(1) if various types of physical channels exist in the inter-board communication, the channel with the higher priority value can be selected for communication;
(2) if the communication mode is point-to-point and the communication direction is one-way, the main control board is used as the master device, other boards are used as slave devices, the main control board and other boards transmit data in a basic communication mode, the main control board requests the data, and other boards respond to the data. As shown in part 1 of the data transmission phase in fig. 3;
(3) if the communication mode is point-to-point and the communication direction is bidirectional, the master control board acts as a master device, the other boards act as slave devices, and the other boards can actively transmit data without waiting for the master device to respond to the data by polling or transmitting a request, as shown in part 2 of the data transmission phase in fig. 3.
(4) If the communication mode is point-to-multipoint and the communication direction is unidirectional, the master control board is used as the master device, the other boards are used as the slave devices, and the master control board allows the messages which do not need to be replied to be sent to the other boards in a broadcast mode, as shown in part 3 of the data sending phase in fig. 3;
(5) if the communication mode is point-to-multipoint and the communication direction is bidirectional, the master control board is used as a master device, the other boards are used as slave devices, the master control board allows to send a message to the other boards in a broadcast manner, and the other boards can reply the message or actively send data without waiting for the master device to respond to the data by polling or sending a request, as shown in part 4 of the data sending phase in fig. 3.
As shown in fig. 4, the initialization stage S1 specifically includes the following steps:
step 101, initializing a slot position channel table, filling channel types supported by each slot position needing inter-board communication in a system, and if a certain slot position supports multiple types of channels, adding a record for each channel type of the slot position in table 1;
step 102, initializing a channel capability table, and filling specific contents in each type of channel in the system according to the columns in the table 2;
step 103, initializing a board registration information table, and initially setting the board registration information table to be empty;
and 104, initializing a channel link information table, wherein the channel link information table is empty initially.
As shown in fig. 5, the board registration stage S2 specifically includes the following steps:
step 201, a master control board card (marked as a board card M) acquires a board card set with hardware in place;
202, polling each board card Bi (marked as a board card Bi, i represents a slot position number) in the bit board card set by hardware;
step 203, acquiring a slot position number i of the board card Bi;
step 204, screening out a record item with the slot position number i from the slot position channel table, and acquiring a channel type P corresponding to the record item, wherein multiple channel types P are possible, namely a channel set of the board cards Bi is recorded as Pj;
step 205, polling each channel type Pj of the board card Bi;
step 206, completing board card registration in a basic communication mode;
step 207, judging whether all channel types Pj of the board card Bi are polled; if so, go to step 208; otherwise, go to step 205;
step 208, recording a board registration information table;
step 209, judging whether each board card Bi in the hardware in-place board card set is polled completely, if so, ending the program; otherwise, go to step 202;
and step 210, ending the program.
As shown in fig. 6, step 206 specifically includes the following steps:
step 2061, the master control board card M sends a registration notification message to the board card Bi through the channel Pj;
step 2062, the board card Bi receives the registration notification message and sends a registration response message to the master control board card M;
step 2063, the master control board M replies a registration confirmation message to the board Bi.
As shown in fig. 7, the channel negotiation stage (S3) includes the following steps:
301, acquiring a registered board card set from a board card registration information table by a master control board card;
step 302, polling each registered board card (marked as a board card Bi) in the registered board card set;
303, performing channel negotiation between the master control board card M and the board card Bi in a basic communication mode;
step 304, updating the content corresponding to the board card Bi in the communication link information table;
305, judging whether each registered board card in the registered board card set is polled completely, and if so, ending the program; otherwise, go to step 302;
step 306, end the program
As shown in fig. 8, step 303 specifically includes the following steps:
3031, selecting a channel by the master control board card M; in the invention, a main control board card M acquires a channel corresponding to a board card Bi from a board card information registry, and if only one channel type exists, the channel is selected; otherwise, selecting a channel with higher priority, and recording the selected channel as Pd;
step 3032, the main control board M sends a channel negotiation message to the board Bi through the selected channel Pd; in the present invention, the contents of the negotiation message include: the selected channel Pd, the channel capability (including communication mode, communication direction, etc.) registered in the channel capability table by the selected channel Pd;
step 3033, after receiving the channel negotiation message, the main control board Bi sends a channel negotiation response message, wherein the content of the channel negotiation response message is the response of each capability of the corresponding channel negotiation message;
3034, the main control board card M adjusts the parameters of the selected channel Pd;
step 3035, the main control board M sends a channel negotiation confirmation message to the board Bi, and confirms the parameters selected for the selection channel Pd;
step 3036, after receiving the channel negotiation confirmation message of the main control board M, the board Bi adjusts the parameters of the selected channel Pd;
step 3037, the board card M and the board card Bi adopt the selected channel Pd after the parameter adjustment to communicate.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1. A method for realizing inter-board communication in a PON system is characterized by comprising the following steps:
firstly, setting a main master control board card as a master device and other board cards as slave devices, and respectively finishing initialization of respective channel information at the master device and the slave devices;
secondly, the master equipment and the slave equipment register the board cards of all the slot positions in a basic communication mode;
thirdly, the main device and the slave device negotiate the relevant parameters of the channel in a basic communication mode to establish a better communication mode;
fourthly, the master device and the slave device send data according to the negotiated better communication mode;
the channel information comprises a slot position channel table, a channel capacity table, a board card registration information table and a communication link information table; wherein the content of the first and second substances,
the method comprises the steps that a master device initializes channel information of all slave devices, and the slave devices only initialize channel information of the slave devices;
the slot position channel table records a physical channel of each slot position, and the content comprises a serial number, a slot position number and a channel type; the contents of the channel capability table comprise a serial number, a channel type, a priority value, a communication mode and a communication direction;
the content of the channel capability table comprises a serial number, a channel type, a priority value, a communication mode and a communication direction; wherein the content of the first and second substances,
the channel type is used as a physical channel type for the board communication;
the priority value is that different priority values are given to different physical channels when various types of physical channels exist in the inter-board communication; the board cards can negotiate and select channels with different weights for communication;
communication modes including point-to-point and point-to-multipoint;
a communication direction identifying whether the communication is one-way communication or two-way communication;
the content of the board card registration information table comprises a slot position number, a board card type and a channel type; the board card registration information table is a state information table, is empty during initialization, and records after the board card registration is finished;
the communication link information table is actually filled in after the board card completes the channel negotiation stage, and provides a basis for a data transmission mode in the data transmission stage; the content comprises a communication link number, a master device, a slave device, a channel type, a communication direction and a communication mode.
2. The method of claim 1, wherein the channel type is a physical channel type used for the board communication, and a slot has one or more channel types; there are one or more communication means on one channel type.
3. The method according to claim 1, wherein the basic communication means is specifically: the master device communicates with the slave device in a point-to-point and half-duplex communication mode;
when the master device sends information to a plurality of slave devices, a multi-time point-to-point and half-duplex sending mode is adopted;
the more preferable communication method includes: allowing data to be sent bi-directionally, allowing data to be sent in a point-to-multipoint manner, and allowing data to be sent using a higher priority physical channel.
4. A method as claimed in claim 3, characterized in that in the fourth step, the data transmission is performed according to the following principle:
if various types of physical channels exist in the inter-board communication, the channel with the higher priority value can be selected for communication;
if the communication mode is point-to-point, the communication direction is one-way, the master device and the slave device adopt a basic communication mode to send data, the master device requests the data, and the slave device responds to the data;
if the communication mode is point-to-point, the communication direction is bidirectional, the slave device can actively transmit data without waiting for the master device to respond to the data by polling or transmitting a request;
if the communication mode is point-to-multipoint and the communication direction is unidirectional, the master device allows the messages which do not need to be replied to be sent to the slave device in a broadcasting mode;
if the communication mode is point-to-multipoint and the communication direction is bidirectional, the master device sends a message to the slave device in a broadcasting mode, and the slave device replies the message; the slave device actively transmits data without waiting for the data to be acknowledged by the master device by polling or sending a request.
5. The method according to claim 4, wherein the second step comprises in particular the steps of:
step 201, a master device obtains a board card set with hardware in place;
step 202, polling each board card Bi, i in the bit board card set to represent a slot position number;
step 203, acquiring a slot position number i of the board card Bi;
step 204, screening a record item with the slot position number i from the slot position channel table, and acquiring a channel type set Pj corresponding to the record item;
step 205, polling each channel type Pj of the board card Bi;
step 206, completing board card registration in a basic communication mode;
step 207, judging whether all channel types Pj of the board card Bi are polled; if so, go to step 208; otherwise, go to step 205;
step 208, recording a board registration information table;
step 209, judging whether each board card Bi in the hardware in-place board card set is polled completely, if so, ending the program; otherwise, go to step 202;
and step 210, ending the program.
6. The method of claim 5, wherein step 206 comprises the steps of:
step 2061, the main device sends a registration notification message to the board card Bi through the channel Pj;
step 2062, the board card Bi receives the registration notification message and sends a registration response message to the main device;
step 2063, the master device replies a registration confirmation message to the board Bi.
7. The method of claim 5, wherein the third step comprises the steps of:
301, acquiring a registered board card set from a board card registration information table by the main equipment;
step 302, polling each registered board card Bi in the registered board card set;
303, carrying out channel negotiation between the main equipment and the board card Bi in a basic communication mode;
step 304, updating the content corresponding to the board card Bi in the communication link information table;
305, judging whether each registered board card in the registered board card set is polled completely, and if so, ending the program; otherwise, go to step 302;
and step 306, ending the program.
8. The method of claim 7, wherein step 303 comprises the steps of:
3031, the main equipment selects a channel according to the priority, and the selected channel is marked as Pd;
step 3032, the main device sends a channel negotiation message to the board card Bi through the selected channel Pd;
step 3033, the board card Bi sends a channel negotiation response message after receiving the channel negotiation message;
3034, the main device adjusts the parameters of the selected channel Pd;
step 3035, the main device sends a channel negotiation confirmation message to the board card Bi to confirm the parameters selected by the selection channel Pd;
step 3036, after receiving the channel negotiation confirmation message of the main device, the board card Bi adjusts the parameters of the selected channel Pd;
step 3037, the main device communicates with the board card Bi through the selected channel Pd after the parameter adjustment.
CN201710875177.XA 2017-09-25 2017-09-25 Method for realizing inter-board communication in PON system Active CN107547953B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710875177.XA CN107547953B (en) 2017-09-25 2017-09-25 Method for realizing inter-board communication in PON system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710875177.XA CN107547953B (en) 2017-09-25 2017-09-25 Method for realizing inter-board communication in PON system

Publications (2)

Publication Number Publication Date
CN107547953A CN107547953A (en) 2018-01-05
CN107547953B true CN107547953B (en) 2020-05-19

Family

ID=60964387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710875177.XA Active CN107547953B (en) 2017-09-25 2017-09-25 Method for realizing inter-board communication in PON system

Country Status (1)

Country Link
CN (1) CN107547953B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108415357A (en) * 2018-02-09 2018-08-17 上海欣诺通信技术股份有限公司 A kind of optical transmission device effectively reducing power consumption
CN112332942A (en) * 2020-12-02 2021-02-05 天津光电通信技术有限公司 Master control backup equipment and method in optical signal convergence processing equipment
CN113312289B (en) * 2021-06-04 2024-03-01 北京北瑞达电力自动化设备有限公司 Method for solving plug and play problem of intelligent board card communication
CN113472431B (en) * 2021-06-25 2022-05-13 中航光电科技股份有限公司 Novel chain type optical communication network with double main frameworks

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102364896A (en) * 2011-11-07 2012-02-29 烽火通信科技股份有限公司 Method of plugboard-type optical network unit (ONU) cross-board card batch configuration and apparatus thereof
CN102843253A (en) * 2011-06-23 2012-12-26 中兴通讯股份有限公司 Multi-sub-rack communication device and method and device of communication of multi-sub-rack communication device
CN103067430A (en) * 2011-10-21 2013-04-24 中兴通讯股份有限公司 Method and equipment for communication between boards
CN105357598A (en) * 2015-10-15 2016-02-24 上海斐讯数据通信技术有限公司 Implementing method of communication device driver on OLT service main-board and communication device
WO2017077760A1 (en) * 2015-11-04 2017-05-11 住友電気工業株式会社 Station-side device, information management device, terminal authentication method and information management method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843253A (en) * 2011-06-23 2012-12-26 中兴通讯股份有限公司 Multi-sub-rack communication device and method and device of communication of multi-sub-rack communication device
CN103067430A (en) * 2011-10-21 2013-04-24 中兴通讯股份有限公司 Method and equipment for communication between boards
CN102364896A (en) * 2011-11-07 2012-02-29 烽火通信科技股份有限公司 Method of plugboard-type optical network unit (ONU) cross-board card batch configuration and apparatus thereof
CN105357598A (en) * 2015-10-15 2016-02-24 上海斐讯数据通信技术有限公司 Implementing method of communication device driver on OLT service main-board and communication device
WO2017077760A1 (en) * 2015-11-04 2017-05-11 住友電気工業株式会社 Station-side device, information management device, terminal authentication method and information management method

Also Published As

Publication number Publication date
CN107547953A (en) 2018-01-05

Similar Documents

Publication Publication Date Title
CN107547953B (en) Method for realizing inter-board communication in PON system
US7003563B2 (en) Remote management system for multiple servers
CN101217394B (en) A veneer groove bit mark collocation method, core veneer, and operation veneer and communication system
CN108733604B (en) 485 bus intelligent expansion method and device based on modbus communication protocol
CN104317765B (en) A kind of one-to-many communication system and implementation method based on serial communication
CN100488123C (en) Software and hardware version management method and system of communication equipment
CN102291465B (en) Load balancing method, device and system
CN104731028A (en) Automatic embedded multi-CPU-board signal exchange method based on signal names
CN101242284A (en) Communication method and network device based on SPI bus
CN105306324B (en) A kind of Ethernet multiplex communication system and its Ethernet interface setting method of application
CN112866018A (en) Internet of things management system and method
CN102594673B (en) Method and system supporting automatic distributing of device numbers and routing
CN102238055A (en) Downloading method and system based on MDIO (Management Data Input/Output) interface
CN106506303A (en) A kind of main station system of controller real-time ethernet EtherCAT
CN103885910B (en) The method that many equipment carry out IIC communications under holotype
CN101494500A (en) Optical communication method, veneer and equipment
CN112954721A (en) Back transmission method and unit, data distribution method and controller, network system and medium
CN102638589A (en) Determining method of corresponding connection relation of channels, as well as related connecting ends and system
CN101902436A (en) Interplate communication method, device and system
CN111077531B (en) UWB communication method, medium, terminal and device based on time division multiple access
CN106911434A (en) The anti-repeating method of data and system
CN108833306B (en) VSM system message transmission device and method
CN106211282A (en) Many boards connect the methods, devices and systems of Wi Fi
CN114327931B (en) Network management equipment in complete machine cabinet and network system in complete machine cabinet
CN111679918A (en) Message transmission method and device

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
GR01 Patent grant
GR01 Patent grant