CN111953498A - Signal transmission method and device - Google Patents

Signal transmission method and device Download PDF

Info

Publication number
CN111953498A
CN111953498A CN202010762728.3A CN202010762728A CN111953498A CN 111953498 A CN111953498 A CN 111953498A CN 202010762728 A CN202010762728 A CN 202010762728A CN 111953498 A CN111953498 A CN 111953498A
Authority
CN
China
Prior art keywords
signal
main control
serial port
control board
rrpp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010762728.3A
Other languages
Chinese (zh)
Other versions
CN111953498B (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.)
New H3C Information Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN202010762728.3A priority Critical patent/CN111953498B/en
Publication of CN111953498A publication Critical patent/CN111953498A/en
Application granted granted Critical
Publication of CN111953498B publication Critical patent/CN111953498B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Systems (AREA)

Abstract

The application provides a signal transmission method and a signal transmission device, wherein the signal reception method comprises the following steps: the programmable logic device of the main control board receives serial port signals through the RRPP channel connected with the backboard and outputs the serial port signals through the serial port connector of the main control board; the RRPP channel enables to receive serial port signals; the programmable logic device receives the appointed lead code of the Rlos signal through the RRPP channel, enables the serial port signal to be received through the RRPP channel, and starts to receive the Rlos signal; the programmable logic device judges whether the last bit of the received Rlos signal is a stop bit; if yes, the programmable logic device determines that the Rlos signal is received completely, and enables the serial port signal to be received through the RRPP channel.

Description

Signal transmission method and device
Technical Field
The present application relates to communication technologies, and in particular, to a signal transmission method and apparatus.
Background
In the frame type communication equipment, the main control board, each wire clamping board and the screen board are respectively provided with independent debugging serial ports. However, in the frame communication device architecture, the serial port connector of the main control board is directly connected to the external physical debugging device, but the debugging serial ports of the cable card board and the network board are arranged at deeper positions of the boards, and cannot be directly connected to the external physical debugging device.
In software debugging or environmental test, when the CPU program of the cable card board or the screen plate runs fault, the printing information can be seen only by connecting the board debugging serial port connector of the cable card board or the screen plate to a printer through a serial port line. However, the veneers of the frame-type communication device are all arranged closely, and when the serial port line is connected to the debugging serial port connector of the cable card board or the net board, the veneers on the adjacent upper layer must be pulled out, so that the problem environment is damaged.
However, the in-board structural arrangement of each single board and the inter-board structural arrangement between the single boards of the frame-type communication device are complex overall designs, and if the in-board physical position of the in-board debugging serial port connector of the cable card board or the screen board is simply changed, a series of in-board structures and inter-board structural changes need to be changed, so that the in-board physical position of the in-board debugging serial port connector of the cable card board or the screen board does not need to be modified, and the serial port signal of the debugging test of the cable card board or the screen board needs to be obtained.
Disclosure of Invention
The application aims to provide a signal transmission method and a signal transmission device, which are used for multiplexing channels inside frame type communication equipment, and the serial port signals of a cable card board or a screen board are output through a serial port connector of a main control board without influencing the transmission and reception of the channels to lose Rlos signals.
To achieve the above object, the present application provides a signal transmission method, including: the programmable logic device of the main control board receives serial port signals through the RRPP channel connected with the backboard and outputs the serial port signals through the serial port connector of the main control board; the RRPP channel enables to receive serial port signals; the programmable logic device receives the appointed lead code of the Rlos signal through the RRPP channel, enables the serial port signal to be received through the RRPP channel, and starts to receive the Rlos signal; the programmable logic device judges whether the last bit of the received Rlos signal is a stop bit; if yes, the programmable logic device determines that the Rlos signal is received completely, and enables the serial port signal to be received through the RRPP channel.
In order to achieve the above object, the present application further provides a signal transmission device, where the signal transmission device is disposed in a programmable logic device of a main control board of a frame-type communication device, and an RRPP channel of the main control board of the frame-type communication device is connected to a backplane; the back plate is connected with the wire clamping plate of the frame type communication equipment and the RRPP channel of the screen plate,
the programmable logic device of the main control board is used for receiving serial port signals through an RRPP channel which enables the main control board to receive the serial port signals and outputting the serial port signals through a serial port connector of the main control board; receiving a designated lead code for receiving the Rlos signal through an RRPP channel of the main control board, enabling the main control board to receive a serial port signal through the RRPP channel, and starting to receive the Rlos signal;
the programmable logic device of the main control board judges whether the last bit of the Rlos signal received by the RRPP channel of the main control board is a stop bit; if yes, the Rlos signal is determined to be received, and the RRPP channel of the main control board is enabled to receive the serial port signal.
This application is through multiplexing RRPP passageway, with the serial port signal of the CPU of line cardboard/otter board through RRPP passageway transmission to the backplate, again by the backplate through RRPP transmission to the main control board, can pass through the serial port connector input and the output serial port signal that extends to the panel outside on the main control board like this, neither can destroy test environment nor need change frame communication equipment's wiring, device and arrange etc..
Drawings
Fig. 1 is a flowchart illustrating a signal transmission method provided in the present application;
FIG. 2 is a schematic diagram illustrating a serial port signal being different from a preamble;
FIG. 3 is a schematic diagram illustrating the interconnection of frame communication devices;
fig. 4 is a flowchart of receiving Rlos signals according to the present application.
Detailed Description
A detailed description will be given of a number of examples shown in a number of figures. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present application. Well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the examples.
The term "including" as that term is used is meant to include, but is not limited to; the term "comprising" means including but not limited to; the terms "above," "within," and "below" include the instant numbers; the terms "greater than" and "less than" mean that the number is not included. The term "based on" means based on at least a portion thereof.
Fig. 1 is a flowchart illustrating a signal transmission method provided in the present application, where the method includes:
step 101, a CPLD of a main control board receives a serial port signal from a backboard through an RRPP channel enabling the serial port signal to be received and outputs the serial port signal through a serial port connector of the main control board;
102, receiving a designated lead code for receiving a lost Rlos signal by a CPLD (complex programmable logic device) of a main control board through an RRPP (radio random access protocol) channel;
103, enabling the CPLD of the main control board to receive serial port signals through the RRPP channel and starting to receive Rlos signals;
104, judging whether the last bit of the received Rlos signal is a stop bit by the main control board; if yes, the programmable logic device determines that the Rlos signal is received completely, and enables the serial port signal to be received through the RRPP channel.
The inventor of this application is in the technical problem in-process of solving this application, discover through the test that RRPP (Rapid Ring Protection Protocol, fast looped network Protection Protocol) channel transmission Rlos (receive loss) signal is few and only send to the main control board from line cardboard/otter board, can pass through multiplexing RRPP passageway, pass through RRPP channel transmission backplate with the serial port signal of the CPU of line cardboard/otter board, pass through RRPP transmission to the main control board by the backplate again, can pass through the serial port connector input and the output serial port signal that extends to the panel outside on the main control board like this, neither can destroy test environment nor need change frame communication equipment's wiring, the device arranges etc..
The applicant determines based on repeated experiments that based on the fact that the sending frequency of the Rlos signal is 25.5kHz and is more than 2 times greater than the sending frequency of the serial port, experiments determine whether the signal '0101' cannot be received when the serial port signal is received according to the receiving frequency of the Rlos signal, and when the CPLD receives the signal 0101, the CPLD indicates that the received signal can only be the Rlos signal with the same sending frequency as the Rlos signal.
FIG. 2 is a schematic diagram illustrating a serial port signal being different from a preamble; as shown in fig. 2, if serial signals 1, 2 and 3 are received at rolos signal receiving frequency, the read signal may not be 0101.
Fig. 3 is a schematic diagram showing interconnection of single boards of a frame-type communication device through a network board, where the single boards including a main control board, a cable card board and the network board can be interconnected through the network board.
In fig. 3, a single board as a cable card board or a net board is provided with a CPU21, a CPLD22 and a serial port connector 23, and an RRPP channel 24 exists between the CPLD22 and the net board; the single board as the main control board (the main control board/the standby main control board) is arranged with a CPU25, a CPLD26 and a serial port connector 27, and an RRPP channel 28 exists between the CPLD26 and the network board.
The CPLD26 enables serial signals to be received through the RRPP channel 28, received from the backplane from the CPU21, CPLD22, and output through the serial connector 27.
On the line card board/network board, before CPLD22 needs to send Rlos signal, preamble "0101" is added before Rlos signal to identify Rlos signal "
The Rlos signal with the preamble "0101" reaches the network board through the RRPP channel 24, and then is sent to the CPLD22 of the main control board through the RRPP channel 28 by the network board.
Fig. 4 is a schematic diagram illustrating a receiving process of Rlos signal, which includes the following steps:
step 401, determining whether the received signal of the RRPP channel is 0, if yes, executing step 402, otherwise, returning to step 401.
Because the CPLD of the main control board receives the Rlos signal or the serial port signal from the RRPP channel 28 randomly, it is started to execute the subsequent preamble determination processing by determining whether the received signal is 0.
At step 402, the receive counter starts counting from 0 and increments the count value by 1.
Step 403, if the received signal is 1, go to step 404; if not, go to step 408.
On the main control board, the CPLD26 determines whether the signal received through the RRPP channel 28 of the backplane is the second bit 1 of the preamble.
In step 404, the count value of the receiving counter is incremented by 1.
Step 405, determining whether the received signal is 0, if yes, executing step 406; if not, go to step 408;
on the main control board, the CPLD26 determines whether the signal received through the RRPP channel 28 of the backplane is the third bit 0 of the preamble.
In step 406, the count value of the receiving counter is incremented by 1.
Step 407, determining whether the received signal is 0, if yes, executing step 409; if not, go to step 408.
On the main control board, when the CPLD26 determines that the signal received through the RRPP channel 28 of the backplane is the preamble 0101 specified in the present application, it may be determined that the signal received after the preamble is an Rlos signal.
In step 408, the receiving counter is cleared, and the process returns to step 401.
And if the received data is not the lead code, clearing the counter and judging whether the received signal is the lead code again.
Step 409, serial port reception is disabled.
And starting Rlos signal receiving to enable the serial port signal of the RRPP channel.
In step 410, the Rlos signal is received and the counter is incremented.
In step 411, it is determined whether the count value of the receiving counter equals to the data length of Rlos signal plus 1, if yes, go to step 412, otherwise, go back to step 410.
Step 412, determining that the last received signal is 1, if not, executing step 413; if so, go to step 414.
The last bit of the Rlos signal is a stop bit, and when the stop bit is 1, it is determined that the Rlos signal is completely received, and if the stop bit is 0, it indicates that an error Rlos signal is received.
In step 413, the Rlos signal is received.
Step 414, serial port reception is enabled.
And when the received error Rlos signal is received, stopping receiving the Rlos signal, enabling the RRPP channel to receive the serial port signal, then executing step 408, resetting the receiving counter, and waiting for the next Rlos signal receiving processing.
When the correct Rlos signal is received, the Rlos signal reception is completed, the serial port reception is enabled, and then step 408 is executed, the reception counter is cleared, and the next Rlos signal reception processing is waited.
Through the steps shown in fig. 4, the CPLD26 on the main control board recognizes that the Rlos signal arrives randomly through the preamble, and switches the receiving mode to Rlos signal reception.
In fig. 3, when the CPLD26 receives an external serial port test signal from the serial port connector 27, the CPLD26 sends the signal to the RRPP channel of the corresponding slot according to the value in the slot selection register.
In fig. 3, when the CPLD26 on the main control board determines that the received serial port is not the preamble, the serial port continues to receive, and the serial port signal received through the RRPP channel 28 is sent to the serial port connector 27 according to the value of the slot number in the register, so that the serial port signal of the cable card board/network board is output to the serial port test device through the main control board.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (8)

1. A method of signal transmission, the method comprising:
the programmable logic device of the main control board receives serial port signals through an RRPP channel connected with the backboard and outputs the serial port signals through a serial port connector of the main control board; the RRPP channel enables to receive serial port signals;
the programmable logic device receives a designated lead code for receiving the lost Rlos signal through the RRPP channel, enables the RRPP channel to receive a serial port signal and starts to receive the Rlos signal;
the programmable logic device judges whether the last bit of the received Rlos signal is a stop bit; if yes, the programmable logic device determines that the Rlos signal is received completely, and enables the RRPP channel to receive the serial port signal.
2. The method of claim 1, further comprising:
and the programmable logic device judges that the last bit of the received Rlos signal is not the stop bit, determines that the Rlos signal fails to be received, and enables the RRPP channel to receive the serial port signal.
3. The method of claim 1, wherein the programmable logic device receiving a designated preamble of a Rlos signal over the RRPP channel comprises:
the programmable logic device determines that the received signal is the first digit 0 of the specified lead code, the receiving counter starts counting and adds 1 to the counting value;
the programmable logic device determines that a next received signal of the first digit of the designated preamble code is a second digit 1 of the designated preamble code, and the count value of the receiving counter is increased by 1;
the programmable logic device determines that a next received signal of the second digit of the designated preamble code is a third digit 0 of the designated preamble code, and the count value of the receiving counter is increased by 1;
the programmable logic device determines that the next received signal to the third digit of the specified preamble is the fourth digit of the specified preamble 1 and the count value of the receive counter is incremented by 1.
4. The method of claim 1, further comprising: the programmable logic device receives an external serial port signal through the serial port connector;
and the programmable logic device sends the external serial port signal through the RRPP channel so that the backboard sends the external serial port signal to a corresponding wire clamping board or screen board.
5. A signal transmission device is characterized in that the device is arranged on a programmable logic device of a main control board of frame type communication equipment, and an RRPP channel of the main control board of the frame type communication equipment is connected to a backboard; the back plate is connected with the wire clamping plate of the frame type communication equipment and the RRPP channel of the screen plate,
the programmable logic device of the main control board is used for receiving serial port signals through an RRPP channel which enables the main control board to receive the serial port signals and outputting the serial port signals through a serial port connector of the main control board; receiving a designated lead code for receiving the Rlos signal through an RRPP channel of the main control board, enabling the main control board to receive a serial port signal through the RRPP channel, and starting to receive the Rlos signal;
the programmable logic device of the main control board judges whether the last bit of the Rlos signal received by the RRPP channel of the main control board is a stop bit; if yes, the Rlos signal is determined to be received, and the RRPP channel of the main control board is enabled to receive the serial port signal.
6. The apparatus of claim 5,
and the programmable logic device of the main control board judges that the last bit of the Rlos signal received by the RRPP channel of the main control board is not the stop bit, determines that the Rlos signal fails to be received, and enables the RRPP channel of the main control board to receive the serial port signal.
7. The apparatus of claim 5,
the step of receiving, by the programmable logic device of the main control board through the RRPP channel of the main control board, the designated preamble of the Rlos signal includes:
the programmable logic device of the main control board determines that the received signal is the first digit 0 of the appointed lead code, the receiving counter starts counting and adds 1 to the counting value;
the programmable logic device of the main control board determines that a next received signal of the first digit of the specified lead code is a second digit 1 of the specified lead code, and the count value of the receiving counter is increased by 1;
the programmable logic device of the main control board determines that the next received signal of the second digit of the specified lead code is the third digit 0 of the specified lead code, and the count value of the receiving counter is added with 1;
and the programmable logic device of the main control board determines that the next received signal of the third digit of the specified lead code is the fourth digit 1 of the specified lead code, and the counting value of the receiving counter is increased by 1.
8. The apparatus of claim 5,
the programmable logic device of the main control board receives an external serial port signal through a serial port connector of the main control board;
and the programmable logic device of the main control board sends the external serial port signal through the RRPP channel of the main control board.
CN202010762728.3A 2020-07-31 2020-07-31 Signal transmission method and device Active CN111953498B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010762728.3A CN111953498B (en) 2020-07-31 2020-07-31 Signal transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010762728.3A CN111953498B (en) 2020-07-31 2020-07-31 Signal transmission method and device

Publications (2)

Publication Number Publication Date
CN111953498A true CN111953498A (en) 2020-11-17
CN111953498B CN111953498B (en) 2022-07-12

Family

ID=73339057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010762728.3A Active CN111953498B (en) 2020-07-31 2020-07-31 Signal transmission method and device

Country Status (1)

Country Link
CN (1) CN111953498B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113641606A (en) * 2021-08-09 2021-11-12 国家计算机网络与信息安全管理中心 Service board access method, device, equipment and readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141402A (en) * 2007-09-30 2008-03-12 华为技术有限公司 Serial port multiplexing method and device
CN101667953A (en) * 2009-10-23 2010-03-10 杭州华三通信技术有限公司 Reporting method of rapid looped network physical link state and device therefor
CN102326358A (en) * 2008-10-29 2012-01-18 华为技术有限公司 Method, device of cluster system extension and cluster system
WO2012065404A1 (en) * 2010-11-18 2012-05-24 中兴通讯股份有限公司 Method and apparatus for realizing communication between single boards
CN102752150A (en) * 2012-07-20 2012-10-24 迈普通信技术股份有限公司 Distributed communication equipment capable of providing remote board card debugging and remote board card debugging method
CN103138742A (en) * 2013-01-25 2013-06-05 上海斐讯数据通信技术有限公司 Logical circuit
CN104021103A (en) * 2014-06-04 2014-09-03 广州中海达卫星导航技术股份有限公司 Serial port expansion device for embedded microprocessor
CN106372028A (en) * 2016-08-30 2017-02-01 北京佳讯飞鸿电气股份有限公司 Serial interface conversion device capable of saving bus resources and serial interface conversion method
CN110750475A (en) * 2019-10-11 2020-02-04 深圳震有科技股份有限公司 Method and device for sharing one physical serial port by multiple CPUs, embedded equipment and medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141402A (en) * 2007-09-30 2008-03-12 华为技术有限公司 Serial port multiplexing method and device
CN102326358A (en) * 2008-10-29 2012-01-18 华为技术有限公司 Method, device of cluster system extension and cluster system
CN101667953A (en) * 2009-10-23 2010-03-10 杭州华三通信技术有限公司 Reporting method of rapid looped network physical link state and device therefor
WO2012065404A1 (en) * 2010-11-18 2012-05-24 中兴通讯股份有限公司 Method and apparatus for realizing communication between single boards
CN102752150A (en) * 2012-07-20 2012-10-24 迈普通信技术股份有限公司 Distributed communication equipment capable of providing remote board card debugging and remote board card debugging method
CN103138742A (en) * 2013-01-25 2013-06-05 上海斐讯数据通信技术有限公司 Logical circuit
CN104021103A (en) * 2014-06-04 2014-09-03 广州中海达卫星导航技术股份有限公司 Serial port expansion device for embedded microprocessor
CN106372028A (en) * 2016-08-30 2017-02-01 北京佳讯飞鸿电气股份有限公司 Serial interface conversion device capable of saving bus resources and serial interface conversion method
CN110750475A (en) * 2019-10-11 2020-02-04 深圳震有科技股份有限公司 Method and device for sharing one physical serial port by multiple CPUs, embedded equipment and medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄丽薇: "基于CPLD的串行通信模块设计", 《电子测量技术》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113641606A (en) * 2021-08-09 2021-11-12 国家计算机网络与信息安全管理中心 Service board access method, device, equipment and readable storage medium
CN113641606B (en) * 2021-08-09 2024-04-19 国家计算机网络与信息安全管理中心 Access method, device and equipment of service board and readable storage medium

Also Published As

Publication number Publication date
CN111953498B (en) 2022-07-12

Similar Documents

Publication Publication Date Title
US6973600B2 (en) Bit error rate tester
JPH05211540A (en) Multiplex mechanism for modem control signal
CN101317165A (en) A simplified universal serial bus (USB) hub architecture
US7099271B2 (en) System for providing fabric activity switch control in a communications system
CN111953498B (en) Signal transmission method and device
US6957369B2 (en) Hidden failure detection
CA2238030C (en) Testing method and apparatus for verifying correct connection of circuit elements
US5784274A (en) System and method for monitoring errors occurring in data processed by a duplexed communication apparatus
JP2008118349A (en) Communication equipment
EP2036233B1 (en) Data transmission method and device for carrying out the method
JP3473951B2 (en) Data processing device and system
JP3952387B2 (en) Network processing apparatus and setting method
US20020186022A1 (en) Method, system, and recording medium of testing a 1394 interface card
KR100292201B1 (en) Recognition method of distinguishing 1 and T 1 framers in communication system
US20230101045A1 (en) Introduction and Detection of Erroneous Stop Condition in a Single UART
WO2003107198A1 (en) A method for recognizing the frame number of multiframe cascade
JP3600480B2 (en) Serial data transfer system and abnormality detection method
SU1742825A1 (en) Multichannel device for interfacing computers
EP1298861B1 (en) System for providing fabric activity switch control in a communications system
JP2978659B2 (en) Switching signal control method for input failure.
KR100267344B1 (en) Apparatus and method for collision protecting of transmitting data in hdlc bus structured switching system
CN115664888A (en) Communication system
CN104142899B (en) Single serial ports controls the method and device of multiprocessor
CN117675954A (en) Conversion bridge for converting data packet protocol into high-speed parallel communication protocol
WO2023055871A1 (en) Introduction and detection of erroneous stop condition in a single uart

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230625

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.