CN108762142A - A kind of communication equipment and its processing method - Google Patents

A kind of communication equipment and its processing method Download PDF

Info

Publication number
CN108762142A
CN108762142A CN201810509714.3A CN201810509714A CN108762142A CN 108762142 A CN108762142 A CN 108762142A CN 201810509714 A CN201810509714 A CN 201810509714A CN 108762142 A CN108762142 A CN 108762142A
Authority
CN
China
Prior art keywords
monitoring
logical device
master control
chip
control borad
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
CN201810509714.3A
Other languages
Chinese (zh)
Other versions
CN108762142B (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 Technologies Co Ltd
Original Assignee
New 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201810509714.3A priority Critical patent/CN108762142B/en
Publication of CN108762142A publication Critical patent/CN108762142A/en
Application granted granted Critical
Publication of CN108762142B publication Critical patent/CN108762142B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • 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
    • H04QSELECTING
    • H04Q1/00Details of selecting apparatus or arrangements
    • H04Q1/02Constructional details
    • H04Q1/035Cooling of active equipments, e.g. air ducts
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24215Scada supervisory control and data acquisition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Environmental & Geological Engineering (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Hardware Redundancy (AREA)
  • Debugging And Monitoring (AREA)

Abstract

A kind of communication equipment of the application offer and its processing method, the communication equipment include:First master control borad, first master control borad include the first logical device, first processor, the first monitoring chip;First logical device is connect with first monitoring chip, and first logical device is connect with the first processor;First monitoring chip, the monitoring data for obtaining first master control borad;First logical device, for reading monitoring data from first monitoring chip;If the monitoring data read exceeds monitoring range, interrupt signal is sent to the first processor;The first processor, the monitoring data for after receiving interrupt signal, reading the first logical device storage from first logical device.By the technical solution of the application, processor is avoided frequently to read monitoring data, mitigate the occupancy of processor resource, improve the process performance of processor, improves the reading efficiency of monitoring data.

Description

A kind of communication equipment and its processing method
Technical field
This application involves fields of communication technology, more particularly, to a kind of communication equipment and its processing method.
Background technology
Currently, the communication equipment (such as router, interchanger) of machine frame formula may include master control borad and multiple business boards, it is main Control plate needs to obtain the monitoring data (such as voltage data, temperature data, current data) of master control borad, and utilizes the monitoring data Master control borad is analyzed, is then handled according to analysis result.
For example, if it is excessively high to analyze master control plate temperature according to the temperature data of master control borad, rotation speed of the fan can be adjusted, with Reduce the temperature of master control borad.In another example it is excessive if analyzing master control borad voltage according to the voltage data of master control borad, it can generate Alarm, so that user adjusts the voltage of master control borad.
In order to obtain the monitoring data of master control borad, then CPU (Central Processing Unit, the centre of master control borad Manage device) it can be with the monitoring data of automatic regular polling master control borad, if CPU is every the monitoring data of 5 second wheels inquiry master control borad.But CPU frequencies Numerous acquisition monitoring data, can cause the occupancy of cpu resource higher, reduce the process performance of CPU, the acquisition effect of monitoring data Rate is very low.
Invention content
The application provides a kind of communication equipment, including the first master control borad, first master control borad include the first logical device, First processor, the first monitoring chip;First logical device is connect with first monitoring chip, first logic device Part is connect with the first processor;Wherein:
First monitoring chip, the monitoring data for obtaining first master control borad;
First logical device, for reading monitoring data from first monitoring chip;If the monitoring data read Beyond monitoring range, then interrupt signal is sent to the first processor;
The first processor, for after receiving interrupt signal, reading described from first logical device The monitoring data of one logical device storage.
The application provides a kind of processing method of communication equipment, and the communication equipment includes the first master control borad, and described first Master control borad includes the first logical device, first processor, the first monitoring chip;First logical device and the first monitoring chip connect It connects, the first logical device is connect with first processor;The method includes:
First monitoring chip obtains the monitoring data of first master control borad;
First logical device reads monitoring data from first monitoring chip;If the monitoring data read is beyond prison Range is controlled, then sends interrupt signal to the first processor;
The first processor then reads described after receiving the interrupt signal from first logical device The monitoring data of one logical device storage.
Based on the above-mentioned technical proposal, in the embodiment of the present application, monitoring data can be read from monitoring chip by logical device, If the monitoring data read exceeds monitoring range, logical device sends interrupt signal to processor, and processor is in receiving After break signal, monitoring data is read from logical device.Obviously, in the above method, processor does not have to read from monitoring chip Monitoring data, that is, do not need the monitoring data of automatic regular polling master control borad, and processor only after receiving interrupt signal, just reads prison Control data mitigate the occupancy of processor resource to avoid processor from frequently reading monitoring data, improve the place of processor Rationality energy improves the reading efficiency of monitoring data, improves reliability and maintainability.
Description of the drawings
It, below will be to the application in order to clearly illustrate the embodiment of the present application or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, in being described below Attached drawing is only some embodiments described in the application, for those of ordinary skill in the art, can also be according to this Shen Please these attached drawings of embodiment obtain other attached drawings.
Fig. 1 is the hardware structure diagram of the communication equipment in a kind of embodiment of the application;
Fig. 2 is the hardware structure diagram of the communication equipment in the application another embodiment;
Fig. 3 is the hardware structure diagram of the communication equipment in the application another embodiment;
Fig. 4 is the hardware structure diagram of the communication equipment in the application another embodiment;
Fig. 5 is the hardware structure diagram of the communication equipment in the application another embodiment;
Fig. 6 is the flow chart of the processing method of the communication equipment in a kind of embodiment of the application.
Specific implementation mode
In the term that the embodiment of the present application uses merely for the sake of the purpose of description specific embodiment, and this unrestricted Shen Please.The "an" of singulative used in the application and claims, " described " and "the" are also intended to including most shapes Formula, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to including one A or multiple associated list items purposes any or all may combine.
It will be appreciated that though various letters may be described using term first, second, third, etc. in the embodiment of the present application Breath, but these information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, In the case where not departing from the application range, the first information can also be referred to as the second information, and similarly, the second information can also It is referred to as the first information.Depending on context, in addition, used word " if " can be construed to " ... when " or " when ... " or " in response to determination ".
The embodiment of the present application proposes a kind of communication equipment (such as router, interchanger), which can be machine frame The communication equipment of formula, the communication equipment can include but is not limited to master control borad and business board.
In one example, a master control borad may be used, in order to distinguish conveniently, which is known as the first master control Plate.In another example, in order to improve reliability, at least two master control borads may be used, when a master control borad breaks down When, it can be worked by another master control borad, to ensure that business is not interrupted.For the convenience of description, by taking two master control borads as an example into Row explanation, and the two master control borads can be referred to as to the first master control borad and the second master control borad, the first master control borad can be based on With master control borad, the second master control borad is slave control board, alternatively, the second master control borad can be main control board, the first master control borad is Slave control board.
Embodiment one:
It is shown in Figure 1, it is the hardware structure diagram of communication equipment 10, may include the first master control borad 11, the first master control borad 11 may include the first logical device 111, first processor 112, the first monitoring chip 113.First logical device 111 and first Monitoring chip 113 connects, and the first logical device 111 is connect with first processor 112.First logical device 111 may include but It is not limited to CPLD (Complex Programmable Logic Device, Complex Programmable Logic Devices), FPGA (Field- Programmable Gate Array, field programmable gate array), it is without limitation.First processor 112 is CPU, right This is not limited.
Wherein, the quantity of the first monitoring chip 113 is one or more.If for example, the temperature of the first master control borad 11 of monitoring Degree can then configure first monitoring chip 113, and first monitoring chip 113 is for obtaining temperature data;If monitoring first The temperature and voltage of master control borad 11 can then configure two the first monitoring chips 113, and first monitoring chip 113 is for obtaining Temperature data is taken, another first monitoring chip 113 is for obtaining voltage data;And so on.For the convenience of description, with first For master control borad 11 is including first monitoring chip 113, the realization method of multiple first monitoring chips 113 is similar, subsequently not It repeats again.
Wherein, the first monitoring chip 113, the first logical device 111, first processor 112 function include:
A1, the first monitoring chip 113, the monitoring data for obtaining the first master control borad 11.
If for example, the first monitoring chip 113 is the monitoring chip for monitoring temperature, the first monitoring chip 113 can be with The temperature data for periodically acquiring the first master control borad 11, is not limited this acquisition modes.
In another example if the first monitoring chip 113 is the monitoring chip for monitoring voltage, the first monitoring chip 113 can To periodically acquire the voltage data of the first master control borad 11, this acquisition modes is not limited.
B1, the first logical device 111, for reading monitoring data from the first monitoring chip 113, and in this first logic device Part 111 stores the monitoring data.If the monitoring data read exceeds monitoring range, is sent to first processor 112 and interrupt letter Number.Wherein, may include beyond monitoring range:For some upper limit value (such as temperature upper limit is 40 degree), then monitoring range is Less than or equal to all values of the upper limit value, therefore, when monitoring data is more than the upper limit value, indicate to exceed monitoring range;For Some lower limiting value (such as voltage lower limit value is 10 volts), then monitoring range is greater than all values equal to the lower limiting value, therefore, works as prison When controlling data less than the lower limiting value, indicate to exceed monitoring range.For some section (such as 0 degree of -40 degree of temperature range), then monitor Range is exactly the section, therefore, when lower limiting value (such as 0 degree) of the monitoring data less than the section, alternatively, monitoring data is more than the area Between upper limit value (such as 40 degree) when, indicate exceed monitoring range.Certainly, aforesaid way only shows beyond the several of monitoring range Example, this is not limited beyond monitoring range.
Wherein, the first logical device 111 reads monitoring data from the first monitoring chip 113, can include but is not limited to:The One logical device 111 (can be configured rule of thumb, such as predetermined period is 1 second) according to predetermined period, periodically from the One monitoring chip 113 reads the monitoring data of the first master control borad 11.
Further, the first logical device 111 is after reading monitoring data, if the monitoring data exceeds monitoring range, First logical device 111 can send interrupt signal to first processor 112, and the supervising data storage of reading is patrolled first In the data register for collecting device 111.If the monitoring data, without departing from monitoring range, the first logical device 111 can not be to First processor 112 sends interrupt signal.
In one example, first processor 112 can get monitoring range, be not limited to this acquisition modes, and Monitoring range is sent to the first logical device 111.After first logical device 111 receives monitoring range, the prison can be stored Range is controlled, such as stores the monitoring range to logic register;Based on this monitoring range, the first logical device 111 is reading prison After controlling data, monitoring data and the monitoring range can be compared.
For example, 40 degree of temperature upper limit is arranged in first processor 112, then monitoring range is less than equal to temperature upper limit 40 The all values of degree, and monitoring range is sent to the first logical device 111.First logical device 111 is receiving the monitoring model After enclosing, by monitoring range storage to logic register.In the follow-up process, the first logical device 111 is periodically from the first prison The temperature data that chip 113 reads the first master control borad 11 is controlled, if the temperature data (is such as not more than temperature without departing from the monitoring range 40 degree of upper limit value), then abandon temperature data;If the temperature data exceeds the monitoring range (such as larger than 40 degree of temperature upper limit), Interrupt signal then is sent to first processor 112, and temperature data is stored in the data register of the first logical device 111 In.
C1, first processor 112, for after receiving the interrupt signal, first to be read from the first logical device 111 The monitoring data that logical device 111 stores, and handled using first master control borad of monitoring data pair 11, this is not limited System.Wherein, after first processor 112 receives interrupt signal, monitoring data just is read from the first logical device 111, without It is periodic reading monitoring data, to economize on resources.
For example, if monitoring data is temperature data, first processor 112 after reading the temperature data, if according to The temperature that the temperature data analyzes the first master control borad 11 is excessively high (not being limited to this analytic process), then can adjust fan and turn Speed, to reduce the temperature of the first master control borad 11.In another example if monitoring data is voltage data, first processor 112 is being read To after the voltage data, if the voltage for analyzing the first master control borad 11 according to the voltage data is excessive, alarm is generated, to use Family adjusts the voltage of the first master control borad 11.
Certainly, the above-mentioned example that only first processor 112 is handled using the first master control borad of monitoring data pair 11 is right This is not limited, and all measures that protection processing is carried out to the first master control borad 11 can be applicable in.
In the above-described embodiments, monitoring data can also be supplied to by first processor 112 after reading monitoring data User is not limited this process so that user is handled according to monitoring data.
In the above-described embodiments, it is to be illustrated by taking first monitoring chip 113 as an example, when there are multiple first monitoring When chip 113, then the first logical device 111 can read the monitoring data of each first monitoring chip 113.For example, it is assumed that one A first monitoring chip 113 is for obtaining temperature data, when another first monitoring chip 113 is used to obtain voltage data, then First logical device 111 can read temperature data and voltage data.Assuming that the temperature data is more than the monitoring range of temperature, And the voltage data is more than the monitoring range of voltage, then can be that temperature data sends interrupt signal 1, and is sent for voltage data Interrupt signal 2.
When sending interrupt signal 1 and interrupt signal 2, then corresponding realization method may include:First logical device 111 Interrupt signal 2 (not sending interrupt signal 2) is shielded, and interrupt signal 1 is sent to first processor 112.In first processor After 112 have handled the interrupt signal 1, the first logical device 111 releases the masked state of interrupt signal 2, and to first processor 112 send interrupt signal 2.
Based on the above-mentioned technical proposal, in the embodiment of the present application, first processor 112 does not have to read from the first monitoring chip 113 Monitoring data, i.e. first processor 112 is taken not to need the monitoring data of the first master control borad of automatic regular polling 11, first processor 112 Only after receiving interrupt signal, monitoring data is just read, so as to avoid first processor 112 from frequently reading monitoring number According to, mitigate the occupancy of processor resource, improve the process performance of first processor 112, improve the reading efficiency of monitoring data, Improve reliability and maintainability.
Embodiment two:
It is shown in Figure 2, it is the hardware structure diagram of communication equipment 10, may include the first master control borad 11, the first master control borad 11 include the first logical device 111, first processor 112, the first monitoring chip 113, the first analog switch 114.With Fig. 1 phases It is supervised by the first analog switch 114 and first than, the first master control borad more than 11 first analog switch 114, the first logical device 111 It controls chip 113 to connect, i.e., the first logical device 111 is connect with the first analog switch 114, the first monitoring chip 113 and the first mould Quasi- switch 114 connects.
In one embodiment, logical device 111 can (Inter-Integrated Circuit integrate electricity by IIC Road) bus connect the first analog switch 114, the first monitoring chip 113 can pass through iic bus connect the first analog switch 114. Certainly, iic bus is an example, is not limited to this connection type.
In one example, in the initial state, the first analog switch 114 is off, the first logical device 111 It is not turned between the first monitoring chip 113, i.e. the first logical device 111 can not read prison from the first monitoring chip 113 Control data.But the first logical device 111 is when it is main control board to know the first master control borad 11, so that it may to pass through the first mould The first monitoring chip 113 is connected in quasi- switch 114, you can with by being closed the first analog switch 114 so that the first logical device 111 and first monitoring chip 113 be connected.Based on this, the first logical device 111 can read from the first monitoring chip 113 and monitor Data.
In another example, in the initial state, the first analog switch 114 is off, if the first logic device Part 111 knows that the first master control borad 11 is slave control board, then keeps the first analog switch 114 to be off so that first Logical device 111 is not turned on the first monitoring chip 113.Alternatively, after the first analog switch 114 is in closed state, if First logical device 111 knows that the first master control borad 11 is slave control board, then can disconnect the first analog switch 114, that is, disconnect Connection between first logical device 111 and the first monitoring chip 113 so that logical device 111 does not have with the first monitoring chip 113 There is conducting.
Wherein, the first logical device 111 can provide control bit, when control bit is first identifier (such as 0), indicate first Master control borad 11 is slave control board, therefore, when the first logical device 111 knows that control bit is first identifier, can pass through first Analog switch 114 disconnects the first monitoring chip 113, does not read monitoring data from the first monitoring chip 113.When control bit is second When identifying (such as 1), the first master control borad 11 of expression is main control board, therefore, indicates that the first logical device 111 knows that control bit is When second identifier, the first monitoring chip 113 can be connected by the first analog switch 114, read and supervise from the first monitoring chip 113 Control data.
Wherein, first processor 112 can determine that the first master control borad 11 is main control board or slave control board, to this Method of determination is not limited.If the first master control borad 11 is main control board, first processor 112 sets above-mentioned control bit to Second identifier, so that the first logical device 111 knows that control bit is second identifier.If the first master control borad 11 is slave control board, Then first processor 112 sets above-mentioned control bit to first identifier, so that the first logical device 111 knows that control bit is first Mark.
Embodiment three:
It is shown in Figure 3, it is the hardware structure diagram of communication equipment 10, may include the first master control borad 11, the second master control borad 12 and backboard 13, the structure of the first master control borad 11 is referring to embodiment one or embodiment two, subsequently by taking embodiment two as an example, herein It repeats no more.Second master control borad 12 may include the second logical device 121, second processor 122,123 and of the second monitoring chip Second analog switch 124, the connection relation of the second master control borad 12 is similar with the connection relation of the first master control borad 11, referring to Fig. 3 institutes Show, details are not described herein.
Shown in Figure 3, the first logical device 111 is connect by the first analog switch 114 with the second monitoring chip 123, And second logical device 121 connect with the first monitoring chip 113 by the second analog switch 124.Further, the first master control borad 11 the first analog switch 114 can be connect by backboard 13 with the second monitoring chip 123 of the second master control borad 12, the second master control Second analog switch 124 of plate 12 can be connect by backboard 13 with the first monitoring chip 113 of the first master control borad 11.For example, First analog switch 114 can connect the second monitoring chip 123 by iic bus, and the second analog switch 124 can pass through IIC Bus connects the first monitoring chip 113.Certainly, iic bus is example, is not limited to this connection type.
Wherein, Fig. 3 is illustrated by taking backboard 13 as an example, in fact, communication equipment 10 may not include backboard 13, example Such as, the first analog switch 114 can directly be connect with the second monitoring chip 123 by cable, and the second analog switch 124 can lead to Cable is crossed directly to connect with the first monitoring chip 113;In another example the first analog switch 114 (can have class by cable-assembly Like the function of backboard) it is connect with the second monitoring chip 123, the second analog switch 124 can be monitored by cable-assembly and first Chip 113 connects.
Under above application scene, the first monitoring chip 113, the second monitoring chip 123, the first logical device 111, second Logical device 121, first processor 112, second processor 122 function may include:
A2, the first monitoring chip 113, the monitoring data for obtaining the first master control borad 11.
B2, the second monitoring chip 123, the monitoring data for obtaining the second master control borad 12.
Wherein, the processing mode of the first monitoring chip 113 and the second monitoring chip 123 is referring to embodiment one.
C2, the first logical device 111, for when the first master control borad 11 is main control board, passing through the first analog switch 114 the first monitoring chip of conducting, the 113 (part being connect with the first monitoring chip 113 as being closed the first analog switch 114, to lead Logical first monitoring chip 113), and monitoring data is read from the first monitoring chip 113, store the monitoring data, alternatively, passing through the The second monitoring chip of one analog switch 114 conducting 123 is (as the first analog switch 114 of closure is connect with the second monitoring chip 123 Part, the second monitoring chip 123 is connected), and monitoring data is read from the second monitoring chip 123, store the monitoring data.Into One step, if the monitoring data read exceeds monitoring range, interrupt signal is sent to first processor 112.
In one example, the first logical device 111 is additionally operable to when the first master control borad 11 is slave control board, then beat The first analog switch 114 is opened, to disconnect the first logical device 111 and the first monitoring chip by the first analog switch 114 The connection of 113/ second monitoring chip 123, in this way, the first logical device 111 does not read monitoring number from the first monitoring chip 113 According to also not from the second monitoring chip 123 reading monitoring data.
D2, the second logical device 121, for when the second master control borad 12 is main control board, passing through the second analog switch 124 the first monitoring chips 113 of conducting, and monitoring data is read from the first monitoring chip 113, the monitoring data is stored, alternatively, logical It crosses the second analog switch 124 and the second monitoring chip 123 is connected, read monitoring data from the second monitoring chip 123, store the monitoring Data.Further, if the monitoring data read exceeds monitoring range, interrupt signal is sent to second processor 112.Second When master control borad 12 is slave control board, the second analog switch 124 is opened, is patrolled to disconnect second by the second analog switch 124 The connection of 113/ second monitoring chip 123 of device 124 and the first monitoring chip is collected, the second logical device 124 is not from the first monitoring Chip 113 reads monitoring data, does not read monitoring data from the second monitoring chip 123.
In conclusion if the first master control borad 11 is main control board, the second master control borad 12 is slave control board, then first patrols The first analog switch 114 can be closed by collecting device 111, and the second logical device 121 can open the second analog switch 124, that is, the One logical device 111 reads monitoring data from the first monitoring chip 113 or reads monitoring data from the second monitoring chip 123, And logical device 121 does not have to read monitoring data.In the first master control borad 11 slave control board is switched to from main control board, second Master control borad 12 is after slave control board is switched to main control board, and the first logical device 111 no longer reads monitoring data, by second Logical device 121 reads monitoring data from the first monitoring chip 113 or reads monitoring data from the second monitoring chip 123.
Wherein, the processing mode of the first logical device 111 and the second logical device 121 is referring to embodiment one.
In one example, in the processing procedure of the first logical device 111 and the second logical device 121, the first logic device The monitoring range that the monitoring range that part 111 stores is stored with the second logical device 121 can be identical.
In one example, when the first master control borad 11 is main control board, first processor 111 can also will monitor model The processor for enclosing the other master control borads being synchronized to except the first master control borad 11 is such as synchronized to the second processor of the second master control borad 12 122, monitoring range can be sent to the second logical device 121 of the second master control borad 12 by second processor 122.In the second master control When plate 12 is main control board, second processor 122 can obtain monitoring range, and can the monitoring range be synchronized to first The first processor 111 of master control borad 11, what monitoring range can be sent to the first master control borad 11 by first processor 111 first patrols Collect device 111.
E2, first processor 112 from the first logical device 111 read first and patrol for after receiving interrupt signal Collect the monitoring data that device 111 stores.Wherein, after first processor 112 receives interrupt signal, just from the first logical device Read monitoring data in 111, rather than periodic reading monitoring data.
F2, second processor 122 from the second logical device 121 read second and patrol for after receiving interrupt signal Collect the monitoring data that device 121 stores.Wherein, after second processor 112 receives interrupt signal, just from the second logical device Read monitoring data in 121, rather than periodic reading monitoring data.
Wherein, the processing mode of first processor 112 and second processor 122 may refer to embodiment one.
In the above-described embodiments, it when the first logical device 111 reads monitoring data from the second monitoring chip 123, can wrap It includes:Whether in place first logical device 111 first detects the second master control borad 12, if the second master control borad 12 is in place, the first logic Device 111 reads monitoring data from the second monitoring chip 123.If the second master control borad 12 is not in place, the first logical device 111 Monitoring data is not read from the second monitoring chip 123.
Similar, when the second logical device 121 reads monitoring data from the first monitoring chip 113, can also include: Whether in place second logical device 121 first detects the first master control borad 11, if the first master control borad 11 is in place, the second logical device 121 read monitoring data from the first monitoring chip 113.If the first master control borad 11 is not in place, the second logical device 121 not from First monitoring chip 113 reads monitoring data.
Based on the above-mentioned technical proposal, in the embodiment of the present application, 112/ second processor 122 of first processor need not timing The monitoring data of the monitoring data of the first master control borad of poll 11, the second master control borad 12,112/ second processor 122 of first processor Only after receiving interrupt signal, monitoring data is just read, so as to avoid 112/ second processor of first processor, 122 frequency Numerous reading monitoring data mitigates the occupancy of processor resource, improves the processing of 112/ second processor 122 of first processor Performance improves data reading performance using redundancy, improves reliability and maintainability.Moreover, 111/ second logic device of the first logical device Part 121 can access the monitoring chip of the first master control borad 11 and the second master control borad 12, and read monitoring data from monitoring chip.
Example IV:
It is shown in Figure 4, it is the hardware structure diagram of communication equipment 10, may include the first master control borad 11, backboard 13, business Plate 14 and business board 15, the structure of the first master control borad 11 is referring to embodiment one or embodiment two, subsequently by taking embodiment two as an example, Details are not described herein.In Fig. 4 by taking 2 business boards as an example, in practical application, the quantity of business board can be more.Communication equipment 10 Can also include the second master control borad 12 (the second master control borad 12 is not showed that in Fig. 4), the second master control borad 12 and business board 14, business The connection relation of plate 15 and the first master control borad 11 are similar with the connection relation of business board 14, business board 15, and details are not described herein.
Shown in Figure 4, business board 14 may include third monitoring chip 141, and business board 15 may include third monitoring Chip 151, the first logical device 111 is connect by the first analog switch 114 with third monitoring chip 141, and the first logic device Part 111 is connect by the first analog switch 114 with third monitoring chip 151.Further, the first simulation of the first master control borad 11 Switch 114 can be connect by backboard 13 with the third monitoring chip 141 of business board 14, and the first analog switch 114 can pass through Backboard 13 is connect with the third monitoring chip 151 of business board 15.For example, the first analog switch 114 can be connected by iic bus Third monitoring chip 141 and third monitoring chip 151.Certain iic bus is example, is not limited to this connection type.
In one example, Fig. 4 is illustrated by taking backboard 13 as an example, in fact, communication equipment 10 may not include Backboard 13, for example, the first analog switch 114 can by cable directly with third monitoring chip 141 and third monitoring chip 151 Connection;In another example the first analog switch 114 can pass through cable-assembly and third monitoring chip 141 and third monitoring chip 151 Connection;This connection type is not limited.
It is shown in Figure 4 under above application scene, the first monitoring chip 113, third monitoring chip 141, third monitoring Chip 151, the first logical device 111, first processor 112 function can be as follows:
A3, the first monitoring chip 113, the monitoring data for obtaining the first master control borad 11.
B3, third monitoring chip 141, the monitoring data for obtaining business board 14.
C3, third monitoring chip 151, the monitoring data for obtaining business board 15.
D3, the first logical device 111, for when the first master control borad 11 is main control board, passing through the first analog switch 114 the first monitoring chip of conducting, the 113 (part being connect with the first monitoring chip 113 as being closed the first analog switch 114, to lead Logical first monitoring chip 113), and monitoring data is read from the first monitoring chip 113, store the monitoring data, alternatively, passing through the One analog switch 114 conducting third monitoring chip 141 is (as the first analog switch 114 of closure is connect with third monitoring chip 141 Part, third monitoring chip 141 is connected), and monitoring data is read from third monitoring chip 141, store the monitoring data.Into One step, if the monitoring data read exceeds monitoring range, interrupt signal is sent to first processor 112.
When the first master control borad 11 is slave control board, then the first logical device 111 opens the first analog switch 114, i.e., Monitoring data need not be read.Moreover, when the first master control borad 11 is slave control board, the second master control borad 12 is primary master control Plate, therefore, the second logical device 121 of the second master control borad 12 can read monitoring data from the first monitoring chip 113, from third Monitoring chip 141 reads monitoring data, reads monitoring data 2 from third monitoring chip 151, processing procedure is referring to the first logic Device 111, details are not described herein.
E3, first processor 112, for after receiving interrupt signal, then reading first from the first logical device 111 The monitoring data that logical device 111 stores.Wherein, after first processor 112 receives interrupt signal, just from the first logical device Read monitoring data in 111, rather than periodic reading monitoring data.
It is by taking first analog switch 114 as an example, i.e., the first logical device 111 passes through the first mould in example IV Quasi- switch 114 is connect with the first monitoring chip 113, third monitoring chip 141, third monitoring chip 151 respectively.In practical application In, can also include multiple first analog switches, shown in Figure 5 by taking two the first analog switches as an example, the first logical device 111 are connect by the first analog switch 114 with the first monitoring chip 113, and are supervised respectively with third by the first analog switch 115 Control chip 141, third monitoring chip 151 connects.It is similar with example IV for the processing mode under this connection relation, no longer It repeats.
In the above embodiments, the first monitoring chip 113 of the first master control borad 11, the first analog switch 114, second master The second monitoring chip 123, the second analog switch 124 of control plate 12, the third monitoring chip 141 of business board 14, business board 15 Third monitoring chip 151 can be connect with same Standby (spare) power supply, in this way, being monitored by Standby power supplys pair first Chip 113, the first analog switch 114, the second monitoring chip 123, the second analog switch 124, third monitoring chip 141 and third Monitoring chip 151 is powered.
In the above embodiments, by controlling the first analog switch 124, the first logical device 121 and the can be connected One monitoring chip 113.By controlling the first analog switch 124, the first logical device 121 and the second monitoring chip can be connected 123.By controlling the first analog switch 124 or the first analog switch 125, the first logical device 121 and third can be connected Monitoring chip 141.By controlling the first analog switch 124 or the first analog switch 125, the first logical device can be connected 121 and third monitoring chip 151.
In another example, by controlling the first analog switch 124 and/or the second analog switch 125, the can be connected One logical device 121 and the first monitoring chip 113, the second monitoring chip 123, third monitoring chip 141, third monitoring chip 151, as long as the first monitoring chip 113, the second monitoring chip 123, third monitoring chip 141, third monitoring chip 151 have not Same address, so that it may to get corresponding monitoring data.
For example, the first monitoring chip 113 with address 1, the second monitoring chip 123 with address 2, third monitoring chip 141 with address 3, third monitoring chip 151 with address 4;When the monitoring data of 121 request address 1 of the first logical device, from First monitoring chip 113 reads monitoring data;When the monitoring data of 121 request address 2 of the first logical device, from the second monitoring core Piece 123 reads monitoring data;And so on.
Wherein, core is monitored for for the first monitoring chip 113, the second monitoring chip 123, third monitoring chip 141, third The mode of different address is arranged in piece 151, traditional approach may be used, details are not described herein.
Based on similarly applying conceiving with above-mentioned communication equipment, the embodiment of the present application also proposes a kind of processing of communication equipment Method, communication equipment include the first master control borad, and first master control borad includes the first logical device, first processor, the first prison Control chip;First logical device is connect with the first monitoring chip, and the first logical device is connect with first processor;As shown in fig. 6, For the flow chart of the method, the method includes:
Step 601, first monitoring chip obtains the monitoring data of first master control borad.
Step 602, first logical device reads monitoring data from first monitoring chip;If the monitoring number read According to beyond monitoring range, then interrupt signal is sent to the first processor.
Step 603, the first processor is then read from first logical device after receiving the interrupt signal Take the monitoring data of the first logical device storage.
In one example, first master control borad includes the first analog switch, and first logical device passes through first Analog switch is connect with first monitoring chip;The communication equipment further includes the second master control borad, the second master control borad packet The second monitoring chip, the second logical device and the second analog switch are included, second logical device is opened by second simulation Pass is connect with the second monitoring chip;First logical device is connected by first analog switch and second monitoring chip It connects;The method further includes:
Second monitoring chip obtains the monitoring data of second master control borad;
When the first master control borad is main control board, institute is connected by first analog switch in first logical device The first monitoring chip is stated, monitoring data is read from first monitoring chip, alternatively, institute is connected by first analog switch The second monitoring chip is stated, monitoring data is read from second monitoring chip;If the monitoring data read exceeds monitoring range, Interrupt signal is sent to the first processor;
When second master control borad is slave control board, second logical device is disconnected by second analog switch Open the connection of second logical device and second monitoring chip.
In one example, first master control borad includes the first analog switch, and first logical device passes through first Analog switch is connect with first monitoring chip;The communication equipment further includes business board, and the business board includes third prison Chip is controlled, first logical device is connect by first analog switch with the third monitoring chip;The method is also Including:
The third monitoring chip obtains the monitoring data of the business board;
When the first master control borad is main control board, institute is connected by first analog switch in first logical device The first monitoring chip is stated, monitoring data is read from first monitoring chip, alternatively, institute is connected by first analog switch Third monitoring chip is stated, monitoring data is read from the third monitoring chip;If the monitoring data read exceeds monitoring range, Interrupt signal is sent to the first processor.
In one example, the first processor obtains monitoring range, and the monitoring range is sent to described first Logical device;First logical device receives the monitoring range, and stores the monitoring range.
In one example, when first master control borad is main control board, the first processor is by the monitoring Range synchronization gives the processor of other master control borads except first master control borad.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment The combination of arbitrary several equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit is realized can in the same or multiple software and or hardware when application.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes computer usable program code that the embodiment of the present application, which can be used in one or more, The computer implemented in computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of program product.
The application is with reference to method, the flow of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It is generally understood that being realized by computer program instructions each in flowchart and/or the block diagram The combination of flow and/or box in flow and/or box and flowchart and/or the block diagram.These computer journeys can be provided Sequence instruct to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor with Generate a machine so that the instruction generation executed by computer or the processor of other programmable data processing devices is used for Realize the dress for the function of being specified in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes It sets.
Computer or the processing of other programmable datas can be guided to set moreover, these computer program instructions can also be stored in In standby computer-readable memory operate in a specific manner so that instruction stored in the computer readable memory generates Manufacture including command device, the command device are realized in one flow of flow chart or multiple flows and/or block diagram one The function of being specified in a box or multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer Or the instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram The step of function of being specified in one box or multiple boxes.
Above is only an example of the present application, it is not intended to limit this application.For those skilled in the art For, the application can have various modifications and variations.It is all within spirit herein and principle made by any modification, equivalent Replace, improve etc., it should be included within the scope of claims hereof.

Claims (10)

1. a kind of communication equipment, which is characterized in that including the first master control borad, first master control borad include the first logical device, First processor, the first monitoring chip;First logical device is connect with first monitoring chip, first logic device Part is connect with the first processor;Wherein:
First monitoring chip, the monitoring data for obtaining first master control borad;
First logical device, for reading monitoring data from first monitoring chip;If the monitoring data read exceeds Monitoring range then sends interrupt signal to the first processor;
The first processor is patrolled for after receiving interrupt signal, reading described first from first logical device Collect the monitoring data of device storage.
2. communication equipment according to claim 1, which is characterized in that first master control borad includes the first analog switch, First logical device is connect by the first analog switch with first monitoring chip;
The communication equipment further includes the second master control borad, and the second master control borad includes the second monitoring chip, the second logical device and the Two analog switches, the second logical device are connect by the second analog switch with the second monitoring chip;
First logical device is connect by first analog switch with second monitoring chip;
Second monitoring chip, the monitoring data for obtaining second master control borad;
First logical device, for when the first master control borad is main control board, being connected by first analog switch First monitoring chip reads monitoring data from first monitoring chip, alternatively, being connected by first analog switch Second monitoring chip reads monitoring data from second monitoring chip;If the monitoring data read exceeds monitoring range, Interrupt signal is sent to the first processor;
Second logical device, for when second master control borad is slave control board, passing through second analog switch Disconnect the connection of second logical device and second monitoring chip.
3. communication equipment according to claim 1, which is characterized in that first master control borad includes the first analog switch, First logical device is connect by the first analog switch with first monitoring chip;
The communication equipment further includes business board, and the business board includes third monitoring chip, and first logical device passes through First analog switch is connect with the third monitoring chip;
The third monitoring chip, the monitoring data for obtaining the business board;
First logical device, for when the first master control borad is main control board, being connected by first analog switch First monitoring chip reads monitoring data from first monitoring chip, alternatively, being connected by first analog switch The third monitoring chip reads monitoring data from the third monitoring chip;If the monitoring data read exceeds monitoring range, Interrupt signal is sent to the first processor.
4. communication equipment according to claim 1, which is characterized in that the first processor is additionally operable to obtain monitoring model It encloses, and the monitoring range is sent to first logical device;
First logical device is additionally operable to receive the monitoring range, and stores the monitoring range.
5. communication equipment according to claim 4, which is characterized in that
The first processor is additionally operable to, when first master control borad is main control board, the monitoring range is synchronized to The processor of other master control borads except first master control borad.
6. a kind of processing method of communication equipment, which is characterized in that the communication equipment includes the first master control borad, first master It includes the first logical device, first processor, the first monitoring chip to control plate;First logical device is connect with the first monitoring chip, First logical device is connect with first processor;The method includes:
First monitoring chip obtains the monitoring data of first master control borad;
First logical device reads monitoring data from first monitoring chip;If the monitoring data read is beyond monitoring model It encloses, then sends interrupt signal to the first processor;
The first processor then reads described first from first logical device and patrols after receiving the interrupt signal Collect the monitoring data of device storage.
7. according to the method described in claim 6, it is characterized in that, first master control borad include the first analog switch, it is described First logical device is connect by the first analog switch with first monitoring chip;The communication equipment further includes the second master control Plate, the second master control borad include the second monitoring chip, the second logical device and the second analog switch, and the second logical device passes through second Analog switch is connect with the second monitoring chip;First logical device is monitored by first analog switch and described second Chip connects;The method further includes:
Second monitoring chip obtains the monitoring data of second master control borad;
When the first master control borad is main control board, first logical device is connected described the by first analog switch One monitoring chip reads monitoring data from first monitoring chip, alternatively, being connected described the by first analog switch Two monitoring chips read monitoring data from second monitoring chip;If the monitoring data read exceeds monitoring range, to institute It states first processor and sends interrupt signal;
When second master control borad is slave control board, second logical device disconnects institute by second analog switch State the connection of the second logical device and second monitoring chip.
8. according to the method described in claim 6, it is characterized in that, first master control borad include the first analog switch, it is described First logical device is connect by the first analog switch with first monitoring chip;The communication equipment further includes business board, The business board includes third monitoring chip, and first logical device is monitored by first analog switch and the third Chip connects;The method further includes:
The third monitoring chip obtains the monitoring data of the business board;
When the first master control borad is main control board, first logical device is connected described the by first analog switch One monitoring chip reads monitoring data from first monitoring chip, alternatively, being connected described the by first analog switch Three monitoring chips read monitoring data from the third monitoring chip;If the monitoring data read exceeds monitoring range, to institute It states first processor and sends interrupt signal.
9. according to the method described in claim 6, it is characterized in that, the method further includes:
The first processor obtains monitoring range, and the monitoring range is sent to first logical device;
First logical device receives the monitoring range, and stores the monitoring range.
10. according to the method described in claim 9, it is characterized in that, the method further includes:
When first master control borad is main control board, the monitoring range is synchronized to described first by the first processor The processor of other master control borads except master control borad.
CN201810509714.3A 2018-05-24 2018-05-24 Communication equipment and processing method thereof Active CN108762142B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810509714.3A CN108762142B (en) 2018-05-24 2018-05-24 Communication equipment and processing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810509714.3A CN108762142B (en) 2018-05-24 2018-05-24 Communication equipment and processing method thereof

Publications (2)

Publication Number Publication Date
CN108762142A true CN108762142A (en) 2018-11-06
CN108762142B CN108762142B (en) 2020-12-29

Family

ID=64005613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810509714.3A Active CN108762142B (en) 2018-05-24 2018-05-24 Communication equipment and processing method thereof

Country Status (1)

Country Link
CN (1) CN108762142B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101142541A (en) * 2004-12-30 2008-03-12 英特尔公司 Device and method for on-die temperature measurement
US20100333102A1 (en) * 1999-09-30 2010-12-30 Sivaram Balasubramanian Distributed Real-Time Operating System
CN103020545A (en) * 2012-12-21 2013-04-03 浪潮电子信息产业股份有限公司 Over-temperature protection method based on Loongson processor
CN104597812A (en) * 2014-12-18 2015-05-06 福建联迪商用设备有限公司 Fall self-protection circuit and control method thereof and POS (Point Of Sales) machine
US20160139942A1 (en) * 2014-11-13 2016-05-19 Red Hat Israel, Ltd. Virtual machine input/output thread management
CN106932012A (en) * 2015-12-30 2017-07-07 研祥智能科技股份有限公司 The monitoring system and monitoring method of industrial service device working environment
CN206459767U (en) * 2016-11-21 2017-09-01 深圳市联天通信技术有限公司 The supervising device of supervisory circuit and electronic equipment
CN107145428A (en) * 2017-05-26 2017-09-08 郑州云海信息技术有限公司 A kind of server and server monitoring method
CN107462793A (en) * 2017-08-18 2017-12-12 郑州云海信息技术有限公司 A kind of server voltage coherent signal monitoring device and monitoring method
CN206757516U (en) * 2017-04-25 2017-12-15 郑州云海信息技术有限公司 A kind of server architecture for possessing monitoring multiserver
CN206960929U (en) * 2017-08-07 2018-02-02 天津市尚致科技有限公司 A kind of composite data collector
CN107870584A (en) * 2016-09-23 2018-04-03 迈普通信技术股份有限公司 A kind of business board input power working state detecting method and machine frame type equipment
US20180115458A1 (en) * 2016-10-26 2018-04-26 Aruba Networks, Inc. Radio interrupt

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100333102A1 (en) * 1999-09-30 2010-12-30 Sivaram Balasubramanian Distributed Real-Time Operating System
CN101142541A (en) * 2004-12-30 2008-03-12 英特尔公司 Device and method for on-die temperature measurement
CN103020545A (en) * 2012-12-21 2013-04-03 浪潮电子信息产业股份有限公司 Over-temperature protection method based on Loongson processor
US20160139942A1 (en) * 2014-11-13 2016-05-19 Red Hat Israel, Ltd. Virtual machine input/output thread management
CN104597812A (en) * 2014-12-18 2015-05-06 福建联迪商用设备有限公司 Fall self-protection circuit and control method thereof and POS (Point Of Sales) machine
CN106932012A (en) * 2015-12-30 2017-07-07 研祥智能科技股份有限公司 The monitoring system and monitoring method of industrial service device working environment
CN107870584A (en) * 2016-09-23 2018-04-03 迈普通信技术股份有限公司 A kind of business board input power working state detecting method and machine frame type equipment
US20180115458A1 (en) * 2016-10-26 2018-04-26 Aruba Networks, Inc. Radio interrupt
CN206459767U (en) * 2016-11-21 2017-09-01 深圳市联天通信技术有限公司 The supervising device of supervisory circuit and electronic equipment
CN206757516U (en) * 2017-04-25 2017-12-15 郑州云海信息技术有限公司 A kind of server architecture for possessing monitoring multiserver
CN107145428A (en) * 2017-05-26 2017-09-08 郑州云海信息技术有限公司 A kind of server and server monitoring method
CN206960929U (en) * 2017-08-07 2018-02-02 天津市尚致科技有限公司 A kind of composite data collector
CN107462793A (en) * 2017-08-18 2017-12-12 郑州云海信息技术有限公司 A kind of server voltage coherent signal monitoring device and monitoring method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙江: "基于多核处理器的普适性报文捕获技术研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Also Published As

Publication number Publication date
CN108762142B (en) 2020-12-29

Similar Documents

Publication Publication Date Title
CN106532882B (en) A kind of charge control method and device
CN102947714A (en) Classifying devices by fingerprinting voltage and current consumption
CN102750248B (en) A kind of USB device Working mode switching method and USB device
CN105589825B (en) Electric detonator state method for quickly querying in master-slave mode serial communication network
US10921870B2 (en) System and method for hybrid power supply
CN204425370U (en) A kind of FC switch supervisory circuit
CN109062699A (en) A kind of resource monitoring method, device, server and storage medium
CN105100730A (en) Monitoring method and camera device
CN107480086A (en) Support circuit, terminal and its control method of OTG functions
CN113645049A (en) Network card electrifying method, system, storage medium and equipment
CN107037868A (en) A kind of cold standby TURP based on storage system changes system and method
CN117278890B (en) Optical module access method, device and system, electronic equipment and readable storage medium
WO2016180241A1 (en) Energy-conservation management method and apparatus for terminal and terminal
CN104049717B (en) Power saving control circuit and electronic equipment
CN109445975A (en) Abnormality eliminating method, logic device and member device
CN108762142A (en) A kind of communication equipment and its processing method
CN105373720A (en) Module control method and device applied to mobile terminal
CN109257185A (en) A kind of network equipment, service card, logic device and notification information transmission method
CN103425520B (en) Event response method and electronic equipment
CN109933497A (en) A kind of data center's operation supervisory systems
CN108769518A (en) Camera exchange method, device, electronic equipment and computer readable storage medium
US11366696B2 (en) System, board card and electronic device for data accelerated processing
CN106527643A (en) Communication device and power management method thereof
CN109765983A (en) Run procedure management method, device and mobile terminal
CN203084736U (en) Computer network safety control system

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