CN108011847A - A kind of control method and system of RapidIO interchangers communication indicator light - Google Patents

A kind of control method and system of RapidIO interchangers communication indicator light Download PDF

Info

Publication number
CN108011847A
CN108011847A CN201711216269.3A CN201711216269A CN108011847A CN 108011847 A CN108011847 A CN 108011847A CN 201711216269 A CN201711216269 A CN 201711216269A CN 108011847 A CN108011847 A CN 108011847A
Authority
CN
China
Prior art keywords
indicator light
port
physical layer
communication
status information
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
CN201711216269.3A
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.)
Jinan Inspur Hi Tech Investment and Development Co Ltd
Original Assignee
Jinan Inspur Hi Tech Investment and Development 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 Jinan Inspur Hi Tech Investment and Development Co Ltd filed Critical Jinan Inspur Hi Tech Investment and Development Co Ltd
Priority to CN201711216269.3A priority Critical patent/CN108011847A/en
Publication of CN108011847A publication Critical patent/CN108011847A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/40Constructional details, e.g. power supply, mechanical construction or backplane
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Communication Control (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The present invention discloses a kind of control method and system of RapidIO interchangers communication indicator light, is related to interchanger communication state instruction field;System includes communication state monitoring modular, CPU management processing module, instruction lamp control module;Utilize the method for the present invention and system, set proprietary communication to indicate lamp control module for RapidIO exchange chips, conveniently check the communication condition of each port of RapidIO interchangers, and indicate that lamp control module can exist as independent module, reduce the degree of coupling of system, be conveniently extended.

Description

A kind of control method and system of RapidIO interchangers communication indicator light
Technical field
The present invention discloses a kind of control method and system for communicating indicator light, is related to interchanger communication state instruction field, The specifically a kind of control method and system of RapidIO interchangers communication indicator light.
Background technology
In trade-to product, the demand that generally has communication state to indicate facilitates user by checking the finger of each port Show lamp to judge basic communication condition.And existing RapidIO interchangers are to be used for chip to chip, plate to plate and cabinet pair The basis of the 3G and 4G wireless base stations of cabinet link, but RapidIO exchange chips do not have proprietary communication instruction lamp control module, Be inconvenient to check the communication condition of each port of RapidIO interchangers.And the invention discloses a kind of communication of RapidIO interchangers The control method and system of indicator light, wherein present system include communication state monitoring modular, CPU management processing module, refer to Show lamp control module;Using the method for the present invention and system, proprietary communication indicator light is set to control mould for RapidIO exchange chips Block, conveniently checks the communication condition of each port of RapidIO interchangers, and indicates that lamp control module can be as independent mould Block exists, and reduces the degree of coupling of system, is conveniently extended.
RapidIO:Applied to embedded system intraconnection, support that chip, can conduct to chip, plate to the communication between plate The communications protocol of backboard (Backplane) connection of embedded device.
port-write:The a kind of of RapidIO agreements safeguards bag, is mainly used for sending between RapidIO nodes Notice.
The content of the invention
The present invention provides a kind of control method and system of RapidIO interchangers communication indicator light, has versatile, real The features such as applying simplicity, has broad application prospects.
Concrete scheme proposed by the present invention is:
A kind of control method of RapidIO interchangers communication indicator light, indicator light thing is detected using RapidIO exchange chips Reason layer link change determines whether communication link links, and automatically generates port-write protocol packages and inform link condition,
When indicator light physical layer links, whether the indicator light of periodic queries port is communicating, and is led to according to indicator light The LED status information of the unified form of state encoding generation, further decoding LED status information are interrogated, control indicator light shows phase The state answered.
Concretely comprising the following steps for indicator light physical layer link change is detected in the method:
Open detection physical layer chain circuit function and detect after physical layer link status by port-write protocol packages The function of report,
Detection physical layer event type is set, and starts to detect using RapidIO exchange chips,
Testing result is reported,
LED status information is generated according to testing result and controls indicator light to show corresponding state.
What whether the indicator light of periodic queries port was communicating in the method concretely comprises the following steps:
Check whether indicator light physical layer link links, whether the indicator light for linking then periodic queries port is leading to News,
Sent according to indicator light communication state generation LED status information and control indicator light to show corresponding state.
The LED status of each port is believed using the coding mode generation LED status of ASCII character in the method Breath, the LED status information of all of the port is indicator light control protocol.
In the method when indicator light physical layer links, pass through periodic queries TX/RX communication data packets quantity Change to determine whether the indicator light of port is communicating.
A kind of control system of RapidIO interchangers communication indicator light, including at communication state monitoring modular, CPU management Module, instruction lamp control module are managed,
Communication state monitoring modular determines communication link using the detection indicator light physical layer link change of RapidIO exchange chips Connect and whether link, and automatically generate port-write protocol packages and inform link condition to CPU management module,
When indicator light physical layer links, whether the indicator light of periodic queries port is leading to CPU management processing module News, the LED status information that the unified form of generation is encoded according to indicator light communication state are sent to instruction lamp control module,
Instruction lamp control module decoding LED status information simultaneously controls indicator light to show corresponding state.
Communication state monitoring modular enables detection physical layer chain circuit function and detects physical layer link in the system The function of being reported after state by port-write protocol packages,
Communication state monitoring modular sets detection physical layer event type, and starts to detect using RapidIO exchange chips,
Testing result is reported to CPU management module,
CPU management module generates LED status information according to testing result and is sent to instruction lamp control module,
Instruction lamp control module control indicator light shows corresponding state.
CPU module is managed in the system and checks whether physical layer link links, links then CPU management module periodicity Whether the indicator light of inquiry port is communicating,
LED status information is generated according to indicator light communication state and is sent to instruction lamp control module,
Instruction lamp control module control indicator light shows corresponding state.
CPU module is managed in the system to give birth to the LED status of each port using the coding mode of ASCII character Into LED status information, the LED status information of all of the port is indicator light control protocol.
For the system when indicator light physical layer links, CPU management module passes through periodic queries TX/RX communication datas Bag quantity changes to determine whether the indicator light of port is communicating.
Usefulness of the present invention is:
The present invention provides a kind of control method and system of RapidIO interchangers communication indicator light, and system includes communication shape State monitoring modular, CPU management processing module, instruction lamp control module, communication state monitoring modular utilize RapidIO exchange chips The physical layer link change of detection indicator light determines whether communication link links, and automatically generates port-write protocol packages to management CPU module informs link condition, and CPU management processing module is when indicator light physical layer links, the instruction of periodic queries port Whether lamp is communicating, and the LED status information that the unified form of generation is encoded according to indicator light communication state is sent to indicator light Control module, instruction lamp control module decoding LED status information simultaneously control indicator light to show corresponding state;Utilize this hair Bright method and system, set proprietary communication to indicate lamp control module for RapidIO exchange chips, conveniently check that RapidIO is handed over Change planes the communication condition of each port, and indicate that lamp control module can exist as independent module, reduce system The degree of coupling, is conveniently extended.
Brief description of the drawings
Fig. 1 present system block diagrams;
The flow diagram of indicator light physical layer link change is detected in Fig. 2 the method for the present invention;
The flow diagram that whether indicator light of periodic queries port is communicating in Fig. 3 the method for the present invention.
Embodiment
The present invention provides a kind of control method of RapidIO interchangers communication indicator light, is examined using RapidIO exchange chips Survey the change of indicator light physical layer link and determine whether communication link links, and automatically generate port-write protocol packages and inform link Situation,
When indicator light physical layer links, whether the indicator light of periodic queries port is communicating, and is led to according to indicator light The LED status information of the unified form of state encoding generation, further decoding LED status information are interrogated, control indicator light shows phase The state answered.
The control system that indicator light is communicated with a kind of corresponding RapidIO interchangers of the above method is provided at the same time, including Communication state monitoring modular, CPU management processing module, instruction lamp control module,
Communication state monitoring modular determines communication link using the detection indicator light physical layer link change of RapidIO exchange chips Connect and whether link, and automatically generate port-write protocol packages and inform link condition to CPU management module,
When indicator light physical layer links, whether the indicator light of periodic queries port is leading to CPU management processing module News, the LED status information that the unified form of generation is encoded according to indicator light communication state are sent to instruction lamp control module,
Instruction lamp control module decoding LED status information simultaneously controls indicator light to show corresponding state.
With reference to attached drawing and specific implementation, the present invention will be further described.
Using the method for the present invention, using present system, RapidIO interchangers communication indicator light is controlled, wherein When detecting the change of indicator light physical layer link,
Communication state monitoring modular is opened detection physical layer chain circuit function and is passed through after detecting physical layer link status The function that port-write protocol packages report,
Communication state monitoring modular sets detection physical layer event type, and the detecting event type set in this method is thing Link timeout and link up, the RapidIO exchange chip of reason layer start to detect, and automatically generate corresponding port- Write protocol packages, the physical layer state for including port numbers, detecting in protocol package, physical layer link status include establishing logical News link and disconnection communication link,
Testing result is reported to CPU management processing module by communication state monitoring modular, and CPU management processing module will detect To LED status information unification coding be sent to instruction lamp control module,
Instruction lamp control module decodes above-mentioned LED status information and controls indicator light to show corresponding state;
In the above process in the case that physical layer link status normally establishes the link, CPU management processing module passes through week Phase property inquiry TX/RX communication data packets quantity changes to determine whether the indicator light of port is communicating:
CPU management processing module checks whether indicator light physical layer link links, and links the finger of then periodic queries port Show whether lamp is communicating,
CPU management processing module generates LED status information according to indicator light communication state Unified coding and is sent to instruction Lamp control module, instruction lamp control module control indicator light show corresponding state.
During all of above, CPU management processing module uses the volume of ASCII character according to the LED status of each port Code mode generates LED status information, and the LED status information of all of the port is indicator light control protocol, is transmitted every time Protocol contents include the status information of all of the port, i.e., update the dispaly state of the status indicator lamp of all of the port every time.Each The indicator light communication state of port is a record, uses ", " separator to split between each field, is used between every record " # " separator is split.Referring to table 1.
Table 1
Field name Port , Status #
Field is explained Port numbers Field seperator Communication state Rs chacter
Generate indicator light control protocol such as:
0,0#1,2#2,1……
The content implication of field, 0 represents link down;1 represents link up;2 representatives are communicating.Above-mentioned control protocol The communication state for representing the port 0 of RapidIO interchangers is link down, and the communication state of port 1 is is communicating, port 2 Communication state be link up.
During practical application, optional LED light is more convenient as indicator light, switch port;LED light is configured, is made With being always on, long go out, flicker and indicate respectively that physical layer communication links, physical layer disconnection communication link and indicator light are communicating three Communication state.

Claims (10)

  1. A kind of 1. control method of RapidIO interchangers communication indicator light, it is characterized in that being referred to using the detection of RapidIO exchange chips Show that the change of lamp physical layer link determines whether communication link links, and automatically generate port-write protocol packages and inform link feelings Condition,
    When indicator light physical layer links, whether the indicator light of periodic queries port is communicating, and shape is communicated according to indicator light The LED status information of the unified form of state coding generation, further decoding LED status information, control indicator light are shown accordingly State.
  2. 2. according to the method described in claim 1, it is characterized in that the physical layer link change of detection indicator light concretely comprises the following steps:
    Open detection physical layer chain circuit function and detect what is reported by port-write protocol packages after physical layer link status Function,
    Detection physical layer event type is set, and starts to detect using RapidIO exchange chips,
    Testing result is reported,
    LED status information is generated according to testing result and controls indicator light to show corresponding state.
  3. 3. method according to claim 1 or 2, it is characterized in that what whether the indicator light of periodic queries port was communicating Concretely comprise the following steps:
    Check whether indicator light physical layer link links, whether the indicator light for linking then periodic queries port is communicating,
    Sent according to indicator light communication state generation LED status information and control indicator light to show corresponding state.
  4. 4. according to the method described in claim 3, it is characterized in that the LED status of each port uses the coding staff of ASCII character Formula generates LED status information, and the LED status information of all of the port is indicator light control protocol.
  5. 5. according to the method described in claim 4, it is characterized in that when indicator light physical layer links, pass through periodic queries TX/ RX communication data packets quantity changes to determine whether the indicator light of port is communicating.
  6. A kind of 6. control system of RapidIO interchangers communication indicator light, it is characterized in that including communication state monitoring modular, management CPU processing modules, instruction lamp control module,
    Communication state monitoring modular determines that communication link is using the detection indicator light physical layer link change of RapidIO exchange chips No link, and automatically generate port-write protocol packages and inform link condition to CPU management module,
    When indicator light physical layer links, whether the indicator light of periodic queries port is communicating CPU management processing module, root The LED status information that the unified form of generation is encoded according to indicator light communication state is sent to instruction lamp control module,
    Instruction lamp control module decoding LED status information simultaneously controls indicator light to show corresponding state.
  7. 7. system according to claim 6, it is characterized in that
    Communication state monitoring modular enables detection physical layer chain circuit function and passes through port- after detecting physical layer link status The function that write protocol packages report,
    Communication state monitoring modular sets detection physical layer event type, and starts to detect using RapidIO exchange chips,
    Testing result is reported to CPU management module,
    CPU management module generates LED status information according to testing result and is sent to instruction lamp control module,
    Instruction lamp control module control indicator light shows corresponding state.
  8. 8. the system according to claim 6 or 7, it is characterized in that CPU management module checks whether physical layer link links, chain Connect, whether the indicator light of CPU management module periodic queries port is communicating,
    LED status information is generated according to indicator light communication state and is sent to instruction lamp control module,
    Instruction lamp control module control indicator light shows corresponding state.
  9. 9. system according to claim 8, it is characterized in that CPU management module will be each using the coding mode of ASCII character The LED status generation LED status information of port, the LED status information of all of the port is indicator light control protocol.
  10. 10. system according to claim 9, it is characterized in that when indicator light physical layer links, CPU management module passes through week Phase property inquiry TX/RX communication data packets quantity changes to determine whether the indicator light of port is communicating.
CN201711216269.3A 2017-11-28 2017-11-28 A kind of control method and system of RapidIO interchangers communication indicator light Pending CN108011847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711216269.3A CN108011847A (en) 2017-11-28 2017-11-28 A kind of control method and system of RapidIO interchangers communication indicator light

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711216269.3A CN108011847A (en) 2017-11-28 2017-11-28 A kind of control method and system of RapidIO interchangers communication indicator light

Publications (1)

Publication Number Publication Date
CN108011847A true CN108011847A (en) 2018-05-08

Family

ID=62054248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711216269.3A Pending CN108011847A (en) 2017-11-28 2017-11-28 A kind of control method and system of RapidIO interchangers communication indicator light

Country Status (1)

Country Link
CN (1) CN108011847A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109981492A (en) * 2019-04-04 2019-07-05 深圳市三旺通信股份有限公司 A kind of method that can intuitively show interchanger operating status

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040059957A1 (en) * 2002-07-12 2004-03-25 Tundra Semiconductor Corporation Fault tolerance
CN102638398A (en) * 2012-03-21 2012-08-15 华为技术有限公司 Method for indicating port states and switch
CN103095487A (en) * 2012-11-13 2013-05-08 瑞斯康达科技发展股份有限公司 Indication method and indication device for multiple-internet-access status
CN103970695A (en) * 2013-01-25 2014-08-06 北京旋极信息技术股份有限公司 RapidIO bus monitoring method
CN205263794U (en) * 2015-12-28 2016-05-25 浪潮电子信息产业股份有限公司 Indicator lamp control system in double-active double-control storage system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040059957A1 (en) * 2002-07-12 2004-03-25 Tundra Semiconductor Corporation Fault tolerance
CN102638398A (en) * 2012-03-21 2012-08-15 华为技术有限公司 Method for indicating port states and switch
CN103095487A (en) * 2012-11-13 2013-05-08 瑞斯康达科技发展股份有限公司 Indication method and indication device for multiple-internet-access status
CN103970695A (en) * 2013-01-25 2014-08-06 北京旋极信息技术股份有限公司 RapidIO bus monitoring method
CN205263794U (en) * 2015-12-28 2016-05-25 浪潮电子信息产业股份有限公司 Indicator lamp control system in double-active double-control storage system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109981492A (en) * 2019-04-04 2019-07-05 深圳市三旺通信股份有限公司 A kind of method that can intuitively show interchanger operating status

Similar Documents

Publication Publication Date Title
CA2520474A1 (en) Apparatus and method for enabling intelligent fibre-channel connectivity over transport
CN101094121B (en) Method, system and device for detecting Ethernet links among not direct connected devices
CN104394034B (en) A kind of method and system based on LLDP protocol detection link aggregation configurations
CN206433003U (en) Ethernet link switching device
CN103616592A (en) Relay protection real-time digital dynamic simulation test system based on IEC 61850
SE0103535D0 (en) A system of intelligent devices, a method for providing such a system and a computer data signal
CN104796329B (en) A kind of link automatic switching method and device
CN107909131A (en) The automation management-control method of intelligent ODN equipment and fibre core
CN102413484A (en) System and method for testing network link performance of terminal equipment
CN104333414B (en) The method and device that a kind of optic communication links failure is reported
CN108011847A (en) A kind of control method and system of RapidIO interchangers communication indicator light
CN102380140A (en) Transfusion service system based on topological wireless network
CN102694669B (en) The method that road-side identification station and active and standby roadside unit switch
CN108847869A (en) Portable multifunctional electric power analog channel test device and its test method
CN103491459B (en) Electronic wiring frame system
CN101699416A (en) Communication method and system between host computer and card reader with multiple card holders
CN103581953B (en) A kind of method of wireless drive test data and monitoring signaling data association
CN105049294B (en) The automated testing method of EAPS agreement MASTER switch ports state switching
CN103701660B (en) A kind of ethernet device attachment means and its test system and method for application
CN207926639U (en) A kind of elevator protocol conversion apparatus and elevator Internet of things system
CN107872736A (en) A kind of smart electronicses distributing frame and its management system based on RFID
CN101860889A (en) Method for detecting IMA E1 link hybrid lines, device and system
CN109347207A (en) A kind of telecontrol device state monitoring apparatus and method based on substation
CN109783408A (en) Connectivity port localization method, device and electronic equipment
CN106713012A (en) Communication anomaly detection method and apparatus

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180508