CN115484220B - Method, equipment and medium for processing event report of domestic SRIO exchange chip - Google Patents
Method, equipment and medium for processing event report of domestic SRIO exchange chip Download PDFInfo
- Publication number
- CN115484220B CN115484220B CN202211012154.3A CN202211012154A CN115484220B CN 115484220 B CN115484220 B CN 115484220B CN 202211012154 A CN202211012154 A CN 202211012154A CN 115484220 B CN115484220 B CN 115484220B
- Authority
- CN
- China
- Prior art keywords
- port
- domestic
- srio
- network
- reporting
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/55—Prevention, detection or correction of errors
- H04L49/557—Error correction, e.g. fault recovery or fault tolerance
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method, equipment and medium for processing event report of a domestic SRIO exchange chip, belonging to the field of SRIO network, comprising the following steps: s1, acquiring information; s2, setting hardware stabilization waiting time and filtering information; s3, if the information reporting frequency is too high, entering S4; if the information reporting frequency is slow, entering S5; s4, setting a reporting upper limit, if information is still reported all the time and the information is the same, accumulating the counts, and when the counts exceed the reporting upper limit, closing a port of a domestic SRIO exchange chip and closing information reporting enabling; s5, checking whether the node is connected to the network, and if not, performing S6; if the network is accessed, S7 is carried out; s6, entering a normal scanning flow without accessing the network; and S7, judging whether the power is lost or not for the nodes which are accessed to the network, and carrying out corresponding processing. The invention solves the technical problem of event report caused by unstable link of the domestic SRIO exchange chip and improves the working stability of the system.
Description
Technical Field
The invention relates to the field of SRIO networks, in particular to a method, equipment and medium for processing event report of a domestic SRIO exchange chip.
Background
RapidIO is a high-performance, low-pin-count, packet-switching-based interconnection technology that was first advocated by Motorola and Mercury, etc. The method has the advantages of strong flexibility, simple protocol layer and small system overhead, and meets the rapid development of the embedded system. The rapidIO technology is widely applied to a comprehensive electronic information system due to high-speed transmission between chips and modules.
The current integrated electronic information system mainly comprises a general Data Processing Module (DPM), a general Signal Processing Module (SPM), a network switching module (RCM), an IO module and the like, and adopts a rapidIO interconnection bus protocol between chips and boards to realize high-reliability data transmission. One or more domestic SRIO exchange chips are deployed in the network exchange module, the IO module and the data processing module to form a transmission frame based on the rapidIO network.
The SRIO nodes in the integrated electronic information system have the conditions of dynamic network access and network withdrawal, and are similar to timely connected and timely used scenes in the Ethernet. The existence of dynamic network access and network withdrawal of the SRIO nodes realizes the detection of events by the port of the domestic SRIO exchange chip in the network exchange module. And reporting a port-write packet through each port of the domestic SRIO exchange chip, and correspondingly processing the reported event by the main control module, thereby completing the management of the whole rapidIO network node.
The port of the domestic SRIO exchange chip continuously reports a port-write packet to the main control module, which is called event report. The cpu of the master control module is always preempted to process the port-write packet and cannot process other things. The event report can be caused by the following conditions:
1) In the system, the voltage of the module where the RIO node is located is unstable, which may cause event report.
2) Under the condition of low temperature or high temperature, part of domestic devices have poor link quality, and event report can be caused.
3) The domestic DSP module and the drive of a certain version also lead to the maning of events.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, provides a method, equipment and medium for processing event report of a domestic SRIO exchange chip, solves the technical problem of event report caused by unstable link of the domestic SRIO exchange chip, and improves the working stability of a system.
The invention aims at realizing the following scheme:
a method for processing event report of domestic SRIO exchange chip comprises the following steps:
s1, obtaining information in a port-write packet;
s2, setting a waiting hardware stabilization time, and filtering the same information in the port-write packet in the hardware stabilization time;
s3, if the report frequency of the port-write packet information is too high, the main control module can not enter the subsequent scanning flow all the time, and then the step S4 is entered; if the report frequency of the port-write packet information is slow, the main control module can enter the subsequent scanning flow, and then enter the step S5;
s4, setting a reporting upper limit, if a port-write packet is still reported all the time, accumulating the counts, and when the counts exceed the reporting upper limit, closing the port of the domestic SRIO exchange chip and closing port-write reporting enable;
s5, checking whether the RIO node is connected to the network, and if not, performing step S6; if the network is accessed, step S7 is carried out;
s6, entering a normal scanning flow without accessing the network;
s7, for the nodes which are already connected to the network, if the corresponding domestic SRIO exchange chip still reports the port-write packet, acquiring the ACK of the nodes which are already connected to the network through the control command symbol, and if the control command symbol is matched, indicating that the nodes are not powered down, and that the links are unstable to cause continuous reporting; if the nodes are not matched, the nodes are indicated to be subjected to power-down and power-up events, and the power-down and power-up processing flows are carried out.
Further, in step S1, the information in the port-write packet includes RIO number, port number, error code.
Further, in step S2, the same information in the port-write packet, i.e. RIO number, port number, error code, are all the same.
Further, in step S3, if the reporting frequency of the port-write packet information is too fast, a frequency too fast comparison value is set to determine whether the reporting frequency is too fast.
Further, in step S3, if the reporting frequency of the port-write packet information is slow, a frequency slow comparison value is set to determine whether the reporting frequency is slow.
Further, in step S4, if the port-write packet is still reported, the port-write packet is still reported after the hardware stabilization time elapses.
Further, in step S5, the network access is an SRIO network.
Further, in step S7, the node is an SRIO node.
A computer device comprising a processor and a memory, the memory having stored therein a computer program which, when loaded by the processor, performs the method of any of the preceding claims.
A readable storage medium having stored therein a computer program, the computer program being loaded by a processor and executing the method according to any of the preceding claims.
The beneficial effects of the invention include:
the invention solves the technical problem of event report caused by unstable links of domestic SRIO exchange chips.
According to the problem that a domestic SRIO exchange chip reports a port-write event due to unstable and consistent links, RIO node event reporting is filtered by increasing hardware stability time, abnormal RIO node event reporting is counted by increasing the count of reporting events, an event reporting path is closed if the abnormal RIO node event reporting is exceeded, and a power failure event reported by a port-write packet is further judged by judging reading ACK, so that the technical problem of event crazy reporting caused by unstable links of the domestic SRIO exchange chip is solved.
The invention improves the system stability: the problem that a domestic SRIO exchange chip always reports a port-write packet is solved, so that a main control module cannot be occupied with a CPU all the time, namely, the stability of the system is improved to a certain extent.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the invention, and that other drawings can be obtained according to these drawings without inventive faculty for a person skilled in the art.
FIG. 1 is a flow chart of steps of a method according to an embodiment of the present invention.
Detailed Description
All of the features disclosed in all of the embodiments of this specification, or all of the steps in any method or process disclosed implicitly, except for the mutually exclusive features and/or steps, may be combined and/or expanded and substituted in any way.
The invention provides a method for processing event report of a domestic SRIO exchange chip, which aims at the technical problem of event report caused by unstable link of the domestic SRIO exchange chip, as shown in figure 1, and comprises the following steps:
s1, obtaining information (RIO number, port number and error code) in a port-write packet;
s2, setting a waiting hardware stabilization time, and filtering the same information (namely RIO number, port number and error code) in the port-write packet in the time.
S3, if the report frequency of the port-write packet information is too high, the main control module can not enter the subsequent scanning flow all the time, and then the step S4 is entered; if the report frequency of the port-write packet information is slow, the main control module can enter the subsequent scanning flow, and then enter the step S5;
s4, setting a reporting upper limit, namely after hardware stabilization time, if port-write packets are still reported all the time, the port-write packets have the same information, counting and accumulating, and when the counting exceeds the reporting upper limit, closing a domestic SRIO exchange chip port and closing port-write reporting enabling.
S5, checking whether the RIO node is connected to the network, and if not, performing step S6; if the network has been accessed, step S7 is performed.
S6, entering a normal scanning flow without accessing the network.
S7, for the nodes which are already connected to the network, if the corresponding domestic SRIO exchange chip still reports the port-write packet, the ACK of the nodes which are already connected to the network is required to be obtained through the control command symbol, if the nodes are matched, the power is not lost, and the continuous report is caused by unstable link; if the nodes are not matched, the nodes are indicated to be subjected to power-down and power-up events, and the power-down and power-up processing flows are carried out.
Example 1
A method for processing event report of domestic SRIO exchange chip comprises the following steps:
s1, obtaining information in a port-write packet;
s2, setting a waiting hardware stabilization time, and filtering the same information in the port-write packet in the hardware stabilization time;
s3, if the report frequency of the port-write packet information is too high, the main control module can not enter the subsequent scanning flow all the time, and then the step S4 is entered; if the report frequency of the port-write packet information is slow, the main control module can enter the subsequent scanning flow, and then enter the step S5;
s4, setting a reporting upper limit, if a port-write packet is still reported all the time, accumulating the counts, and when the counts exceed the reporting upper limit, closing the port of the domestic SRIO exchange chip and closing port-write reporting enable;
s5, checking whether the RIO node is connected to the network, and if not, performing step S6; if the network is accessed, step S7 is carried out;
s6, entering a normal scanning flow without accessing the network;
s7, for the nodes which are already connected to the network, if the corresponding domestic SRIO exchange chip still reports the port-write packet, acquiring the ACK of the nodes which are already connected to the network through the control command symbol, and if the control command symbol is matched, indicating that the nodes are not powered down, and that the links are unstable to cause continuous reporting; if the nodes are not matched, the nodes are indicated to be subjected to power-down and power-up events, and the power-down and power-up processing flows are carried out.
Example 2
On the basis of embodiment 1, in step S1, the information in the port-write packet includes RIO number, port number, error code.
Example 3
On the basis of embodiment 1, in step S2, the same information in the port-write packet, i.e. RIO number, port number, error code, is the same.
Example 4
Based on embodiment 1, in step S3, if the reporting frequency of the port-write packet information is too fast, a frequency too fast comparison value is set to determine whether the reporting frequency is too fast.
Example 5
In addition to embodiment 1, in step S3, if the report frequency of the port-write packet information is slow, a slow frequency comparison value is set to determine whether the report frequency is slow.
Example 6
Based on embodiment 1, in step S4, if a port-write packet is still reported, the port-write packet is still reported after the hardware stabilization time elapses.
Example 7
On the basis of embodiment 1, in step S5, the network access is an SRIO network.
Example 8
On the basis of embodiment 1, in step S7, the node is an SRIO node.
Example 9
A computer device comprising a processor and a memory, the memory having stored therein a computer program which, when loaded by the processor, performs the method of any of embodiments 1-8.
Example 10
A readable storage medium having stored therein a computer program that is loaded by a processor and that performs the method of any of embodiments 1-8.
The units involved in the embodiments of the present invention may be implemented by software, or may be implemented by hardware, and the described units may also be provided in a processor. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
According to one aspect of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions are read from the computer-readable storage medium by a processor of a computer device, and executed by the processor, cause the computer device to perform the methods provided in the various alternative implementations described above.
As another aspect, the present application also provides a computer-readable medium that may be contained in the electronic device described in the above embodiment; or may exist alone without being incorporated into the electronic device. The computer-readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to implement the methods described in the above embodiments.
The invention is not related in part to the same as or can be practiced with the prior art.
The foregoing technical solution is only one embodiment of the present invention, and various modifications and variations can be easily made by those skilled in the art based on the application methods and principles disclosed in the present invention, not limited to the methods described in the foregoing specific embodiments of the present invention, so that the foregoing description is only preferred and not in a limiting sense.
In addition to the foregoing examples, those skilled in the art will recognize from the foregoing disclosure that other embodiments can be made and in which various features of the embodiments can be interchanged or substituted, and that such modifications and changes can be made without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (9)
1. A domestic SRIO exchange chip event report processing method is characterized by comprising the following steps:
s1, obtaining information in a port-write packet;
s2, setting a waiting hardware stabilization time, and filtering the same information in the port-write packet in the hardware stabilization time;
s3, if the report frequency of the port-write packet information is too high, the main control module can not enter the subsequent scanning flow all the time, and then the step S4 is entered; if the report frequency of the port-write packet information is slow, the main control module can enter the subsequent scanning flow, and then enter the step S5;
s4, setting a reporting upper limit, if a port-write packet is still reported all the time, accumulating the counts, and when the counts exceed the reporting upper limit, closing the port of the domestic SRIO exchange chip and closing port-write reporting enable; in step S4, if the port-write packet is still reported, the port-write packet is still reported after the hardware stabilization time elapses;
s5, checking whether the RIO node is connected to the network, and if not, performing step S6; if the network is accessed, step S7 is carried out;
s6, entering a normal scanning flow without accessing the network;
s7, for the nodes which are already connected to the network, if the corresponding domestic SRIO exchange chip still reports the port-write packet, acquiring the ACK of the nodes which are already connected to the network through the control command symbol, and if the control command symbol is matched, indicating that the nodes are not powered down, and that the links are unstable to cause continuous reporting; if the nodes are not matched, the nodes are indicated to be subjected to power-down and power-up events, and the power-down and power-up processing flows are carried out.
2. The method for processing the event report of the homemade SRIO switch chip according to claim 1, wherein in step S1, the information in the port-write packet includes RIO number, port number, and error code.
3. The method for processing the event report of the domestic SRIO switch chip according to claim 1, wherein in step S2, the same information in the port-write packet, i.e. RIO number, port number, and error code, are the same.
4. The method for processing event report of domestic SRIO exchange chip according to claim 1, wherein in step S3, if reporting frequency of port-write packet information is too fast, determining whether the reporting frequency is too fast by setting a frequency too fast comparison value.
5. The method for processing event report of domestic SRIO exchange chip according to claim 1, wherein in step S3, if reporting frequency of port-write packet information is slow, determining whether the reporting is slow by setting a frequency slow comparison value.
6. The method for processing event report of domestic SRIO exchange chip according to claim 1, wherein in step S5, the network access is an SRIO network.
7. The method for processing event report of domestic SRIO switch chip according to claim 1, wherein in step S7, the node is an SRIO node.
8. A computer device comprising a processor and a memory, wherein the memory has stored therein a computer program which, when loaded by the processor, performs the method according to any of claims 1-7.
9. A readable storage medium, characterized in that a computer program is stored in the readable storage medium, which computer program is loaded by a processor and carries out the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211012154.3A CN115484220B (en) | 2022-08-23 | 2022-08-23 | Method, equipment and medium for processing event report of domestic SRIO exchange chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211012154.3A CN115484220B (en) | 2022-08-23 | 2022-08-23 | Method, equipment and medium for processing event report of domestic SRIO exchange chip |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115484220A CN115484220A (en) | 2022-12-16 |
CN115484220B true CN115484220B (en) | 2023-06-27 |
Family
ID=84422080
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211012154.3A Active CN115484220B (en) | 2022-08-23 | 2022-08-23 | Method, equipment and medium for processing event report of domestic SRIO exchange chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115484220B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101106532A (en) * | 2007-07-10 | 2008-01-16 | 中兴通讯股份有限公司 | Method for realizing mixed forward of exchange chip and network processor |
CN108199980A (en) * | 2017-12-29 | 2018-06-22 | 天津芯海创科技有限公司 | The action listener method and monitoring system of exchange chip |
CN110730087A (en) * | 2018-07-16 | 2020-01-24 | 普天信息技术有限公司 | Method and device for processing alarm storm |
CN112118499A (en) * | 2019-06-19 | 2020-12-22 | 中兴通讯股份有限公司 | Optical network unit ONU power failure warning method, device, equipment and storage medium |
CN112214446A (en) * | 2020-09-28 | 2021-01-12 | 西南电子技术研究所(中国电子科技集团公司第十研究所) | Board-level RapidIO network management circuit and network management method |
CN112511394A (en) * | 2020-11-05 | 2021-03-16 | 中国航空工业集团公司西安航空计算技术研究所 | Management and maintenance method of RapidIO bus system |
CN112737867A (en) * | 2021-02-10 | 2021-04-30 | 西南电子技术研究所(中国电子科技集团公司第十研究所) | Cluster RIO network management method |
CN114070711A (en) * | 2021-06-22 | 2022-02-18 | 北京天元创新科技有限公司 | Alarm information processing method and device, electronic equipment and storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7624204B2 (en) * | 2001-03-22 | 2009-11-24 | Nvidia Corporation | Input/output controller node in an adaptable computing environment |
US20050102488A1 (en) * | 2003-11-07 | 2005-05-12 | Bullis George A. | Firmware description language for accessing firmware registers |
-
2022
- 2022-08-23 CN CN202211012154.3A patent/CN115484220B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101106532A (en) * | 2007-07-10 | 2008-01-16 | 中兴通讯股份有限公司 | Method for realizing mixed forward of exchange chip and network processor |
CN108199980A (en) * | 2017-12-29 | 2018-06-22 | 天津芯海创科技有限公司 | The action listener method and monitoring system of exchange chip |
CN110730087A (en) * | 2018-07-16 | 2020-01-24 | 普天信息技术有限公司 | Method and device for processing alarm storm |
CN112118499A (en) * | 2019-06-19 | 2020-12-22 | 中兴通讯股份有限公司 | Optical network unit ONU power failure warning method, device, equipment and storage medium |
CN112214446A (en) * | 2020-09-28 | 2021-01-12 | 西南电子技术研究所(中国电子科技集团公司第十研究所) | Board-level RapidIO network management circuit and network management method |
CN112511394A (en) * | 2020-11-05 | 2021-03-16 | 中国航空工业集团公司西安航空计算技术研究所 | Management and maintenance method of RapidIO bus system |
CN112737867A (en) * | 2021-02-10 | 2021-04-30 | 西南电子技术研究所(中国电子科技集团公司第十研究所) | Cluster RIO network management method |
CN114070711A (en) * | 2021-06-22 | 2022-02-18 | 北京天元创新科技有限公司 | Alarm information processing method and device, electronic equipment and storage medium |
Non-Patent Citations (3)
Title |
---|
FT-DSPx RapidIO接口AMBA-SRIO桥的设计与实现;李晓欢;《中国优秀硕士学位论文全文数据库》;全文 * |
Performance optimization of high-speed Interconnect Serial RapidIO for onboard processing;Abdessamad Klilou等;《2012 IEEE International Conference on Complex Systems (ICCS)》;全文 * |
RapidIO交换芯片的事件监听系统;崔超等;《邮电设计技术》;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN115484220A (en) | 2022-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11265081B2 (en) | Method, apparatus and device for predicting fault of optical module | |
CN112468361A (en) | Network connection state monitoring method and device, electronic equipment and storage medium | |
CN115484220B (en) | Method, equipment and medium for processing event report of domestic SRIO exchange chip | |
CN102843274B (en) | The method of a kind of multilink fault detection and device | |
CN104639358B (en) | batch network port switching method and switching system | |
CN103297298A (en) | Network storm real-time rapid detecting method used for intelligent substation | |
CN111092750B (en) | Switch management network system and white box switch based on intelligent monitoring | |
CN115484219B (en) | Method, equipment and medium for avoiding port association of domestic SRIO exchange chip | |
CN111131095B (en) | Message forwarding method and device | |
CN114500544A (en) | Method, system, equipment and medium for load balancing among nodes | |
CN111948469B (en) | CAN bus electromagnetic compatibility detection method and system | |
CN115134303B (en) | Service flow processing method and device, electronic equipment and storage medium | |
CN115695341A (en) | Domestic SRIO exchange chip port recovery method, equipment and medium | |
CN110300019B (en) | Event management subsystem and method for multi-protocol exchange system | |
CN118283648A (en) | Fault cell autonomous healing strategy optimization method and device | |
CN114641027B (en) | Multi-user accurate experience active sensing system and method for wireless office network | |
EP4124108A1 (en) | Non-standalone network access method and apparatus, and terminal and computer-readable storage medium | |
CN114826957B (en) | Redundancy message detection method applied to lossless communication network | |
CN117376319A (en) | CAN bus ID conflict recognition and processing method and related device | |
CN113075976B (en) | Backup heat dissipation system, method and medium for server cluster | |
KR100373335B1 (en) | Switch Port State Management Method in Asynchronous Transfer Mode Switching System | |
CN115987894A (en) | Method, device and equipment for automatically detecting and processing equidirectional congestion scene | |
CN117834473A (en) | Data accumulation detection method and device and electronic equipment | |
CN112000597A (en) | Method and device for managing uplink port of SAS expander | |
CN115604279A (en) | System capable of bearing huge amount of electric power equipment and achieving quick access |
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 |