CN100352213C - A universal data format based fault data exchange method - Google Patents

A universal data format based fault data exchange method Download PDF

Info

Publication number
CN100352213C
CN100352213C CNB2004100870985A CN200410087098A CN100352213C CN 100352213 C CN100352213 C CN 100352213C CN B2004100870985 A CNB2004100870985 A CN B2004100870985A CN 200410087098 A CN200410087098 A CN 200410087098A CN 100352213 C CN100352213 C CN 100352213C
Authority
CN
China
Prior art keywords
equipment
sound
alarm device
fault data
light alarm
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.)
Expired - Fee Related
Application number
CNB2004100870985A
Other languages
Chinese (zh)
Other versions
CN1604544A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2004100870985A priority Critical patent/CN100352213C/en
Publication of CN1604544A publication Critical patent/CN1604544A/en
Application granted granted Critical
Publication of CN100352213C publication Critical patent/CN100352213C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention discloses a fault data exchange method based on a universal data format, which comprises the following steps that (a) after a sound-light alarming device is started, an IP address of each equipment is obtained and establishes linkage with a fixed port of each equipment; (b) the current fault data is assembled into a universal data format by each equipment and sent to the sound-light alarming device; (c) the received data is parsed by the sound-light alarming device and synthesized, and the corresponding sound-light effect is set according to the synthesized data; (d) whether the fault state of each equipment is changed or not is monitored by each equipment, if changed, the step (b) is carried out again, and otherwise, the monitoring continues. The method of the present invention can use a sound-light alarming device to intensively manage a plurality of equipment and is suitable for the environment of equipment mixing group nets of a plurality of manufacturers because the universal data format is utilized to transmit data.

Description

A kind of fault data switching method based on universal data format
Technical field
The present invention relates to a kind of fault data switching method in the network management system, specifically, is a kind of method of transmission fault data between equipment and sound and light alarm device.
Background technology
In the existing network management system, the fault data switching method between communication equipment and the sound and light alarm device all is to adopt man-to-man mode, and both a communication equipment need be equipped with a sound and light alarm device.This mode is very disadvantageous for the situation of a plurality of equipment of centralized management.
In addition, communication equipment that each equipment supplier provides and the fault data switching method between the sound and light alarm device all are based upon on the privately owned interface, this causes sound and light alarm device to use with the communication equipment binding of same producer, just need a plurality of sound and light alarm devices when managing the equipment of a plurality of producers concentratedly, this point also is a unfavorable factor for the requirement of the equipment of realizing a plurality of producers of centralized management.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of fault data switching method based on universal data format, can manage a plurality of equipment concentratedly with a sound and light alarm device, and is applicable to the environment of the equipment mixed networking of a plurality of producers.
In order to solve the problems of the technologies described above, the invention provides a kind of fault data switching method based on universal data format, be applied to comprise the system of a sound and light alarm device and at least one equipment that links to each other with this sound and light alarm device by network, this fault data switching method may further comprise the steps:
(a) after described sound and light alarm device starts, obtain the IP address of described each equipment, set up with the fixed port of each equipment and link;
(b) described each equipment is assembled into universal data format with current fault data, sends to described sound and light alarm device;
(c) described sound and light alarm device is resolved the data of receiving, these data are carried out integrated treatment, and according to the data after comprehensive corresponding sound and light program is set;
(d) whether described each monitoring of equipment equipment failure state changes, if change, returns step (b), otherwise continues monitoring.
Further, above-mentioned fault data switching method can have following characteristics: described step (a) is further divided into following steps:
(a1) after sound and light alarm device starts, obtain this machine IP address, regularly broadcast to the whole network at designated port;
(a2) after described equipment listens to the broadcast of described sound and light alarm device at port, resolve the IP address that obtains described sound and light alarm device, send response message;
(a3) described sound and light alarm device parses from response message, perhaps obtains described IP address of sending the equipment of replying by reading configuration, sends link to it and sets up request;
(a4) after described equipment is received and linked the request of foundation, make link foundation and reply, link with foundation between described sound and light alarm device.
Further, above-mentioned fault data switching method can have following characteristics: in the described step (a), acousto-optic is accused alarm device and is adopted Transmission Control Protocol with linking of described equipment room, perhaps adopts udp protocol and timing messaging to confirm whether link is normal.
Further, above-mentioned fault data switching method can have following characteristics: described universal data format is the XML form.
Further, above-mentioned fault data switching method can have following characteristics: in the described step (b), comprise other alarm information of number of some levels in the fault data that described equipment sends, one of them of environment alarm information of number and alarm information of number unconfirmed or combination in any.
Further, above-mentioned fault data switching method can have following characteristics: when equipment does not break down, the described alarm number in the fault data is changed to 0.
Further, above-mentioned fault data switching method can have following characteristics: described step (c) is further divided into following steps:
(c1) described sound and light alarm device is resolved the data of receiving, judges whether the data of newly receiving are identical with corresponding legacy data, if identical, execution in step (d), otherwise, carry out next step;
(c2) fault data on the described sound and light alarm device integrated treatment all-links drives corresponding acousto-optic device and changes the acousto-optic state, shows the malfunction of described equipment.
Further, above-mentioned fault data switching method can have following characteristics: in the described step (c1), described sound and light alarm device is number to find and the corresponding original fault data of new reception data according to link.
Further, above-mentioned fault data switching method can have following characteristics: in the described step (c2), during fault data on the described sound and light alarm device integrated treatment all-links, be with alarm number at different levels addition.
Further, above-mentioned fault data switching method can have following characteristics: in the described step (d), whether described each equipment is also monitored timing simultaneously and is arrived, if, execution in step (b), otherwise continue monitoring.
As from the foregoing, adopt the method for the invention and device, compared with prior art, reached and used a sound and light alarm device to manage the effect of a plurality of equipment concentratedly, saved spending, improved utilization rate of equipment and installations.And since used universal data format (as, therefore XML) as data transmission format, be applicable to the environment of the equipment mixed networking of a plurality of producers.
Description of drawings
Fig. 1 is the hardware device networking diagram of the embodiment of the invention.
Fig. 2 is the flow chart of embodiment of the invention method.
Embodiment
The networking diagram of present embodiment hardware device as shown in Figure 1, form by a sound and light alarm device and several communication equipments, realize the Ethernet link by HUB between sound and light alarm device and each equipment, sound and light alarm device is as client, and communication equipment is as server end.Sound and light alarm device requires a built-in XML analysis program.
The idiographic flow of present embodiment method may further comprise the steps as shown in Figure 2:
Step 110, sound and light alarm device obtains this machine IP address after starting, and regularly broadcasts to the whole network at designated port; (fixed time broadcast can solution equipment be later than the problem that sound and light alarm device starts)
Step 120, equipment if receive broadcasting, are resolved the IP address that obtains sound and light alarm device in the broadcast of port monitoring sound and light alarm device, send response message, carry the IP address of this equipment in the message;
After step 130, sound and light alarm device are received the response message of equipment, parse the IP address (also can obtain) of this equipment, send link foundation request to sending the equipment of replying by reading configuration;
Step 140, equipment are made link foundation and are replied, and the link of sound and light alarm device and equipment room is set up and finished;
The link of sound and light alarm device and equipment room can be adopted Connection-oriented Protocol, and as Transmission Control Protocol, at this moment, sound and light alarm device and equipment room can keep link under the situation of not receiving fault data.Perhaps also can adopt non-Connection-oriented Protocol,, at this moment need regularly messaging to confirm whether link is normal as udp protocol.
Step 150, equipment is assembled into the XML form with current fault data, sends to sound and light alarm device;
The XML data format that present embodiment adopts is as follows:
<ALARMSTAT>
<CRITICAL>n0</CRITICAL>
<MAJOR>n1</MAJOR>
<MINOR>n2</MINOR>
<WARNING>n3</WARNING>
<ENVIRONMENT>n4<ENVIRONMENT>
<UNACKED>n5</UNACKED>
</ALARMSTAT>
Present embodiment is divided into promptly (CRITICAL), important (MAJOR), less important (MINOR), warning (WARNING) four ranks with alarm, n0~n3 is respectively other alarm number of 4 levels, if number is not 0, then the stand by lamp of corresponding level is bright, if be 0, expression does not have fault warning.N4 is an environment alarm number.N5 is an alarm number unconfirmed.
Step 160, sound and light alarm device are resolved the XML data receive, the equipment fault data of receiving before number obtaining according to link, with the data newly received and corresponding legacy data (referring to what same equipment sent) relatively.Judge whether identical, if identical, execution in step 180, otherwise carry out next step;
Step 170, the fault data on the sound and light alarm device integrated treatment all-links drives corresponding acousto-optic device and changes the acousto-optic state, to show the malfunction of each equipment;
Link owing to there are a plurality of equipment to set up, therefore before changing the acousto-optic state, need the fault data on the integrated treatment all-links with this sound and light alarm device.The purpose of integrated treatment fault data is to handle the malfunction of a plurality of equipment simultaneously for sound and light alarm device, concrete processing mode is decided by the realization of sound and light alarm device, simple mode can be only to show corresponding alarm level, perhaps with alarm number at different levels addition.For example, other alarm number of the Critical level of equipment 1 is 2, and other alarm number of the Critical level of equipment 2 is 2, and audible and visual alarm equipment can not distinguished the number of alarm, and only expression has other alarm of Critical level to exist.Can will be 4 after the addition of alarm number also, it be bright to drive other stand by lamp of Critical level then, sends out 4 other alarm calls of Critical level.
Step 180, whether each monitoring of equipment equipment failure state changes, and perhaps whether timing arrives, if malfunction changes or timing arrives, then returns step 150, otherwise continues monitoring.
From above-mentioned steps as can be seen, the equipment of present embodiment can send fault data to sound and light alarm device under following three kinds of situations:
1) send immediately after the foundation link, purpose is the current device malfunction can be reflected with audible and visual alarm rapidly.
2) timed sending is used for the malfunction of the equipment that guarantees and the acousto-optic state consistency of sound and light alarm device.
3) equipment failure state changes the back transmission, and the acousto-optic state and the equipment failure state of the sound and light alarm device that upgrades in time are consistent.
On the basis of the foregoing description, can also do some conversion, for example, if in Ethernet, adopt fixed IP addresses, then at sound and light alarm device and each equipment when setting up link, can directly read the IP address of the opposite end of configuration, initiate to set up the request of link by sound and light alarm device or equipment.
And for example, the present invention is not limited to adopt the XML form, also can adopt other universal data format, for example, and the ASN.1 form.
And for example, acoustic-optic alarm can not judge also whether the data of newly receiving are identical with original data, but direct setting according to the Refresh Data sound and light program of newly receiving.
Method of the present invention also can be suitable under corresponding to the situation of an equipment at sound and light alarm device, adopts this method to make the equipment of follow-up increase can utilize same sound and light alarm device.

Claims (10)

1, a kind of fault data switching method based on universal data format is applied to comprise the system of a sound and light alarm device and at least one equipment that links to each other with this sound and light alarm device by network, and this fault data switching method may further comprise the steps:
(a) after described sound and light alarm device starts, obtain the IP address of described each equipment, set up with the fixed port of each equipment and link;
(b) described each equipment separately the fault data of current generation be assembled into universal data format, send to described sound and light alarm device;
(c) described sound and light alarm device is resolved the data of receiving, these data are carried out integrated treatment, and according to the data after comprehensive corresponding sound and light program is set;
(d) whether described each monitoring of equipment equipment failure state changes, if change, returns step (b), otherwise continues monitoring.
2, fault data switching method as claimed in claim 1 is characterized in that, described step (a) is further divided into following steps:
(a1) after sound and light alarm device starts, obtain this machine IP address, regularly broadcast to the whole network at designated port;
(a2) after described equipment listens to the broadcast of described sound and light alarm device at port, resolve the IP address that obtains described sound and light alarm device, send response message;
(a3) described sound and light alarm device parses from response message, perhaps obtains described IP address of sending the equipment of replying by reading configuration, sends link to it and sets up request;
(a4) after described equipment is received and linked the request of foundation, make link foundation and reply, link with foundation between described sound and light alarm device.
3, fault data switching method as claimed in claim 1 is characterized in that, in the described step (a), acousto-optic is accused alarm device and adopted Transmission Control Protocol with linking of described equipment room, perhaps adopts udp protocol and timing messaging to confirm whether link is normal.
4, fault data switching method as claimed in claim 1 is characterized in that, described universal data format is the XML form.
5, fault data switching method as claimed in claim 1, it is characterized in that, in the described step (b), comprise other alarm information of number of some levels in the fault data that described equipment sends, one of them of environment alarm information of number and alarm information of number unconfirmed or combination in any.
6, fault data switching method as claimed in claim 5 is characterized in that, when equipment does not break down, the described alarm number in the fault data is changed to 0.
7, fault data switching method as claimed in claim 1 is characterized in that, described step (c) is further divided into following steps:
(c1) described sound and light alarm device is resolved the data of receiving, judges whether the data of newly receiving are identical with corresponding legacy data, if identical, execution in step (d), otherwise, carry out next step;
(c2) fault data on the described sound and light alarm device integrated treatment all-links drives corresponding acousto-optic device and changes the acousto-optic state, shows the malfunction of described equipment.
8, fault data switching method as claimed in claim 7 is characterized in that, in the described step (c1), described sound and light alarm device is number to find and the corresponding original fault data of new reception data according to link.
9, fault data switching method as claimed in claim 7 is characterized in that, in the described step (c2), during fault data on the described sound and light alarm device integrated treatment all-links, is with the addition of alarm number.
10, fault data switching method as claimed in claim 1 is characterized in that, in the described step (d), whether described each equipment is also monitored timing simultaneously and arrived, if, execution in step (b), otherwise continue monitoring.
CNB2004100870985A 2004-10-28 2004-10-28 A universal data format based fault data exchange method Expired - Fee Related CN100352213C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100870985A CN100352213C (en) 2004-10-28 2004-10-28 A universal data format based fault data exchange method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100870985A CN100352213C (en) 2004-10-28 2004-10-28 A universal data format based fault data exchange method

Publications (2)

Publication Number Publication Date
CN1604544A CN1604544A (en) 2005-04-06
CN100352213C true CN100352213C (en) 2007-11-28

Family

ID=34667123

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100870985A Expired - Fee Related CN100352213C (en) 2004-10-28 2004-10-28 A universal data format based fault data exchange method

Country Status (1)

Country Link
CN (1) CN100352213C (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5155842A (en) * 1989-08-14 1992-10-13 Microsoft Corporation Logical event notification method and apparatus
KR20030084436A (en) * 2002-04-26 2003-11-01 서울통신기술 주식회사 Method for Alarm Report of Home Automation Device
US6711154B1 (en) * 1999-01-29 2004-03-23 Microsoft Corporation Apparatus and method for device independent messaging notification
CN1522092A (en) * 2003-02-11 2004-08-18 ���ǵ�����ʽ���� Apparatus and method for operating and maintaining private mobile communication service system using ip network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5155842A (en) * 1989-08-14 1992-10-13 Microsoft Corporation Logical event notification method and apparatus
US6711154B1 (en) * 1999-01-29 2004-03-23 Microsoft Corporation Apparatus and method for device independent messaging notification
KR20030084436A (en) * 2002-04-26 2003-11-01 서울통신기술 주식회사 Method for Alarm Report of Home Automation Device
CN1522092A (en) * 2003-02-11 2004-08-18 ���ǵ�����ʽ���� Apparatus and method for operating and maintaining private mobile communication service system using ip network

Also Published As

Publication number Publication date
CN1604544A (en) 2005-04-06

Similar Documents

Publication Publication Date Title
US7047306B2 (en) System and method for providing internet broadcasting data based on hierarchical structure
CN1606282A (en) Home appliance network system and method for operating the same
CN101030980A (en) Wide-band terminal identifier based on Ethernet and its identifying method
CN1742473A (en) Common protocol layer architecture and methods for transmitting data between different network protocols and a common protocol packet
CN1929472A (en) Method, system, signal and medium for managing data transmission in a data network
CN1905518A (en) Method for ensuring reliable transmission of data exhange
CN101056194A (en) A SNMP message transfer method and device
CN1929638A (en) Management method for multicast members of wireless LAN IP multicast frame transmission
CN1885858A (en) Method for carrying out cluster management on network equipment based on SNMP protocol
CN1315288C (en) Non-break switchover method of double-network communication system
CN1855842A (en) Method for making maintaining node labels to match with media visiting controlled addresses
CN1933413A (en) Group broadcasting member management method for radio local network IP group broadcasting frame transmission
CN1720706A (en) Using configuration identifiers for transmitting configuration descriptions
CN1917442A (en) Concentrating type method for managing networked devices based on embedded type TELNET server
CN1913453A (en) Method and device for quickly fault detection from point-to-point
CN1946031A (en) Central managing system and method for multiple protocol data and transmission network device
CN1642139A (en) Server, software, and system for data delivery
CN100352213C (en) A universal data format based fault data exchange method
CN1852322A (en) Information synchronizing method and system and terminal device
CN101043465A (en) Dynamic host configuration protocol service managing method and system thereof
CN1160639C (en) Method for realizing resource share of dynamic group net
CN101465783B (en) Connection method, device and connection network bridge for isomery household network appliances
CN1917441A (en) Method of realizing notification service, and distribution type network management system
CN1801739A (en) Information service hierarchy inheritance relation realizing method in network management interface
CN1675880A (en) Download optimization in the presence of multicast data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20071128

Termination date: 20141028

EXPY Termination of patent right or utility model