CN102412983A - Equipment alarm reporting method - Google Patents

Equipment alarm reporting method Download PDF

Info

Publication number
CN102412983A
CN102412983A CN201110307704XA CN201110307704A CN102412983A CN 102412983 A CN102412983 A CN 102412983A CN 201110307704X A CN201110307704X A CN 201110307704XA CN 201110307704 A CN201110307704 A CN 201110307704A CN 102412983 A CN102412983 A CN 102412983A
Authority
CN
China
Prior art keywords
terminal equipment
main control
control system
alarm
warning information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201110307704XA
Other languages
Chinese (zh)
Other versions
CN102412983B (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.)
Changshu Intellectual Property Operation Center Co ltd
Guangdong Gaohang Intellectual Property Operation Co ltd
Original Assignee
Vtron Technologies 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 Vtron Technologies Ltd filed Critical Vtron Technologies Ltd
Priority to CN201110307704.XA priority Critical patent/CN102412983B/en
Publication of CN102412983A publication Critical patent/CN102412983A/en
Application granted granted Critical
Publication of CN102412983B publication Critical patent/CN102412983B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Alarm Systems (AREA)

Abstract

A device alarm reporting method comprises the following steps: the terminal equipment requests to establish registration connection to the control host; after receiving a request for establishing registration connection of the terminal equipment, the control host establishes registration connection with the terminal equipment; the terminal equipment and the control host realize time synchronization through the established registration connection; the terminal equipment requests the control host to establish alarm connection; after receiving an alarm connection establishment request of the terminal equipment, the control host establishes alarm connection with the terminal equipment; the control equipment and the control host realize the report of the alarm information through the established alarm connection. The equipment alarm reporting method provided by the invention ensures the time synchronization between the terminal equipment and the control host. And the terminal equipment reports the alarm information to the control host in real time, so that the control host can automatically acquire the alarm information in the terminal equipment without actively reading the alarm information.

Description

A kind of equipment alarm report method
Technical field
The present invention relates to the warning technology field, a kind of equipment alarm report method is provided.
Background technology
Along with the continuous development of network technology, present terminal equipment control system develops towards the distributed direction of networking, and promptly each terminal equipment and main control system are in the same local area network (LAN), and terminal equipment and main control system carry out the mutual of data through network.For the terminal equipment control system, how to guarantee when terminal equipment breaks down or be unusual, with warning information with speed notice main control system fast and to point out the user be vital.At present, the following method for designing of the general employing of terminal equipment control system:
Terminal equipment is set up alarm through the mode of TCP with main control system and is connected; After main control system receives the alarm connection; At first parse the network address of terminal equipment; Be connected warning information receiving thread of establishment with its back that connects to this alarm, be used for constantly connecting going up the fetch equipment warning information from alarm.Setting up after alarm is connected, when alarm takes place device end warning information is sent to main control system through above-mentioned alarm connection with main control system.Simultaneously,, do not set up alarm when not being connected for a certain reason, then this alarm information record is also preserved, so that when main control system needs, carry out active inquiry with main control system if when alarm takes place terminal equipment.Main control system through its with terminal equipment between set up be connected to terminal equipment and send on various command operation and the reading terminal equipment alarm record of section sometime.
Above-mentioned method for designing is simple; And can satisfy the requirement of general device end control system; But this method for designing has following two major defects: first; The user must start the back at main control system just can get access to the alarm record of preserving on the terminal equipment through the manual queries operation, otherwise the user can't know whether preserve the alarm record on the terminal equipment; The second, owing to do not have synchronization mechanism settling time between main control system and the terminal equipment, the time that alarm takes place in the warning information that the terminal equipment that main control system receives reports maybe be inconsistent with the system time of main control system.Simultaneously, because the asynchronism(-nization) step between main control system and the terminal equipment, during the alarm record on the terminal equipment, possibly can't all get access to the alarm record of preserving on the terminal equipment to main control system in initiatively reading section sometime.
Summary of the invention
The invention provides a kind of equipment alarm report method, by this method can realize time between terminal equipment and the main control system synchronously, and guarantee that main control system gets access to the warning information of terminal equipment automatically.
A kind of equipment alarm report method may further comprise the steps:
Terminal equipment is set up registration to the main control system request and is connected;
Main control system is set up registration with terminal equipment and is connected after receiving the foundation registration connection request of terminal equipment;
Terminal equipment is connected through the registration of setting up with main control system realizes time synchronized;
Terminal equipment is set up alarm to the main control system request and is connected;
Main control system is set up alarm with terminal equipment and is connected after receiving the foundation alarm connection request of terminal equipment;
Control appliance is connected through the alarm of setting up with main control system realizes reporting of warning information.
Compared with prior art; Equipment alarm report method provided by the invention; Through introduce between terminal equipment and the main control system time synchronized mechanism guarantee terminal equipment with main control system retention time synchronous during in operation, and then guarantee that the system time of time and main control system in the warning information that terminal equipment that main control system receives reports is consistent.And through this report method, terminal equipment in real time with alarming information report to main control system, make that main control system does not need initiatively to read just to get access to the warning information in the terminal equipment automatically.
Description of drawings
Fig. 1 is an equipment alarm report method schematic flow diagram.
Embodiment
See also Fig. 1, the schematic flow diagram of present device alarm reporting method.The present device alarm reporting method may further comprise the steps:
The S101 terminal equipment is set up registration to the main control system request and is connected;
Preferably, terminal equipment is created an alarm monitoring thread after startup, be used for the running status of real-time monitoring terminal equipment.Monitoring that terminal equipment breaks down or during abnormality alarming, the time when this warning information is taken place together with alarm is written in the alarm log file.When terminal equipment alarm took place and is not connected with main control system foundation alarm for a certain reason, the warning information that terminal equipment can read in the alarm log file reported, and main control system also can carry out active inquiry.
Terminal equipment is set up registration to the main control system request and is connected after creating the alarm monitoring thread.
The S102 main control system is set up registration with terminal equipment and is connected after receiving the foundation registration connection request of terminal equipment;
Main control system is created a thread that is used to monitor terminal equipment registration connection request, and behind the registration connection request of terminal equipment, set up registration with terminal equipment and be connected by main control system at monitoring reception for this thread.
The S103 terminal equipment is connected through the registration of setting up with main control system realizes time synchronized;
Preferably, terminal equipment is created a time synchronized thread after the registration successful connection, and main control system is also created a time synchronized thread for terminal equipment, is used for carrying out communication with the time synchronized thread of terminal equipment.
The time synchronized thread that terminal equipment is created at first connects to main control system through registration and sends a character " 0 " after startup, is used for the current system clock time of acquisition request main control system.Get access to the system time of main control system when terminal equipment after; Carry out following compare operation one: if the system time value of main control system is littler than the system time value of terminal equipment; Then terminal equipment sends to main control system with the system time of self; Otherwise it is the system time of main control system that terminal equipment is provided with the system time of self earlier, and the system time with terminal equipment sends to main control system again.Next, after the time synchronized thread of terminal equipment gets access to the system time of main control system, just carry out above-mentioned compare operation one again.
The time synchronized thread that main control system is created is at first waited for the request of obtaining system time that terminal equipment sends after startup, receive this request after, the system time of main control system is sent to terminal equipment.Begin the system time of the terminal equipment of circular wait terminal equipment transmission then; Behind the system time that is receiving the terminal equipment transmission; Carry out following compare operation two: if the system time value of main control system is littler than the system time value of terminal equipment; Then be the system time value of the terminal equipment that receives with the system time setting of main control system, otherwise, remain unchanged.And, after executing compare operation two, the system time of main control system is sent to terminal equipment.
Through between terminal equipment and main control system, introducing the time synchronized that time synchronized mechanism guarantees terminal equipment and main control system; And when emergency case occurring and destroy the time synchronized property between terminal equipment and the main control system; Circulative metabolism can in time be corrected, and has increased stability.
At the continuous predefined number of times of terminal equipment to control main control system transmitting system time all not during the replying of controlled main frame; Then terminal equipment will think that main control system rolls off the production line; The time synchronized thread that terminal equipment is created will withdraw from automatically, and close corresponding registration connection.Simultaneously, when the time synchronized thread that main control system is created has been closed in the registration connection that detects correspondence, also will withdraw from automatically.
The S104 terminal equipment is set up alarm to the main control system request and is connected;
Terminal equipment is set up alarm to the main control system request and is connected setting up after registration is connected with main control system, is used for to main control system transmission fault warning information.
The S105 main control system is set up alarm with terminal equipment and is connected after receiving the foundation alarm connection request of terminal equipment;
Main control system is created a thread that is used to monitor terminal equipment alarm connection request, and this thread is after listening to the alarm connection request of a terminal equipment, and main control system is set up alarm with terminal equipment and is connected.
The S106 control appliance is connected through the alarm of setting up with main control system realizes reporting of warning information.
Preferably, terminal equipment is created an alarm report thread after setting up the alarm successful connection with main control system, be used for the fault warning information that himself produces is passed to main control system.Main control system is then set up an alarm receiving thread, is used for the fault warning information that receiving terminal apparatus reports.
After the alarm report thread started, the alarm log file that the alarm monitoring thread of circulation reading terminal equipment is produced if in the journal file warning information is arranged, then read a warning information, and it is reported main control system.
After alarm receiving thread in the main control system started, the warning information that the circulation receiving terminal apparatus reports whenever received after the warning information, when this warning information is handled, terminal equipment was sent the affirmation information of receiving warning information.
Terminal equipment is with after the alarming information report, and the wait main control system is received the affirmation information of warning information, after the affirmation of receiving main control system, this warning information is deleted from the alarm log file.
Through this report method; Ease for use when having increased terminal equipment report and alarm information and ageing; As long as connect between terminal equipment and the main control system, main control system just can get access to the warning information on the terminal equipment automatically, and need not carry out active inquiry.
Preferably, when reading the alarm log file as if terminal equipment, do not have warning information in the journal file, then terminal equipment reads the alarm log file again.Avoided can not only tackling the situation of burst alarm through the above-mentioned step that reads again when connecting the situation of losing in the terminal equipment during with nowhere to turn to alarming information, and stablizing of having guaranteed that alarm is connected between terminal equipment and the main control system.
The alarm report thread of creating in the terminal equipment in reading the alarm log file at every turn warning information and report main control system before; Whether can detect has the time synchronized thread in the control appliance to report the main control system message of off-line; If have; Then the alarm report thread in the terminal equipment will withdraw from automatically, and close corresponding alarm connection.
Above-described embodiment of the present invention does not constitute the qualification to protection range of the present invention.Any modification of within spirit of the present invention and principle, being done, be equal to replacement and improvement etc., all should be included within the claim protection range of the present invention.

Claims (7)

1. equipment alarm report method is characterized in that may further comprise the steps:
Terminal equipment is set up registration to the main control system request and is connected;
Main control system is set up registration with terminal equipment and is connected after receiving the foundation registration connection request of terminal equipment;
Terminal equipment is connected through the registration of setting up with main control system realizes time synchronized;
Terminal equipment is set up alarm to the main control system request and is connected;
Main control system is set up alarm with terminal equipment and is connected after receiving the foundation alarm connection request of terminal equipment;
Control appliance is connected through the alarm of setting up with main control system realizes reporting of warning information.
2. equipment alarm report method as claimed in claim 1 is characterized in that, said terminal equipment is connected the step that realizes time synchronized with main control system through the registration of setting up and may further comprise the steps:
After the registration connection was set up successfully, terminal equipment was through the system time of registration connection request main control system;
After main control system received this request, the system time that obtains main control system sent to terminal equipment;
After terminal equipment receives the system time of the main control system that main control system sends; Carry out following compare operation one: if the system time value of main control system is littler than the system time value of terminal equipment; Then the system time with terminal equipment returns to main control system; Otherwise the system time that terminal equipment then is set earlier is the system time of main control system, and the system time with terminal equipment returns to main control system again;
After main control system receives the system time of the terminal equipment that terminal equipment sends; Carry out following compare operation two: if the system time value of main control system is littler than the system time value of terminal equipment; It then is the system time of the terminal equipment that receives with the system time setting of main control system; Otherwise, then remain unchanged.
3. equipment alarm report method as claimed in claim 2 is characterized in that, after the step of said main control system execution compare operation two, may further comprise the steps:
Main control system resends the system time of main control system to terminal equipment;
Terminal equipment is carried out compare operation one after receiving the system time of the main control system that main control system resends again;
Main control system is carried out compare operation two after receiving the system time of the terminal equipment that terminal equipment resends again.
4. equipment alarm report method as claimed in claim 1 is characterized in that, said control appliance is connected the step that reports that realizes warning information with main control system through the alarm of setting up and may further comprise the steps:
After the alarm connection was set up successfully, terminal equipment read the alarm log file, if in the alarm log file warning information is arranged, then read a warning information, and it is reported main control system;
Behind the warning information that the main control system receiving terminal apparatus reports, this warning information is handled, and sent confirmation to terminal equipment;
Terminal equipment is deleted this warning information after receiving the affirmation information of main control system transmission from the alarm log file.
5. equipment alarm report method as claimed in claim 4, it is characterized in that terminal equipment reads the alarm log file after, if the alarm log file in do not have warning information, then terminal equipment reads the alarm log file again.
6. equipment alarm report method as claimed in claim 4 is characterized in that after said terminal equipment is deleted warning information from the alarm log file step, may further comprise the steps:
Terminal equipment reads the alarm log file again, if in the alarm log file warning information is arranged, then reads a warning information again, and it is reported main control system;
Behind the warning information that the main control system receiving terminal apparatus reports again, this warning information is handled, and resend confirmation to terminal equipment;
Terminal equipment is deleted this warning information after receiving the affirmation information that main control system resends from the alarm log file.
7. equipment alarm report method as claimed in claim 4 is characterized in that said terminal equipment is monitoring that terminal equipment breaks down or during abnormality alarming, this warning information is being written in the alarm log file together with the alarm time of origin.
CN201110307704.XA 2011-10-12 2011-10-12 Reporting method for equipment alarm Active CN102412983B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110307704.XA CN102412983B (en) 2011-10-12 2011-10-12 Reporting method for equipment alarm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110307704.XA CN102412983B (en) 2011-10-12 2011-10-12 Reporting method for equipment alarm

Publications (2)

Publication Number Publication Date
CN102412983A true CN102412983A (en) 2012-04-11
CN102412983B CN102412983B (en) 2015-04-29

Family

ID=45914845

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110307704.XA Active CN102412983B (en) 2011-10-12 2011-10-12 Reporting method for equipment alarm

Country Status (1)

Country Link
CN (1) CN102412983B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104678922A (en) * 2013-12-02 2015-06-03 广东美的制冷设备有限公司 Timing control method and system based on Internet of things
CN105487963A (en) * 2015-11-26 2016-04-13 小米科技有限责任公司 Message confirmation method and apparatus
CN106411601A (en) * 2016-10-26 2017-02-15 上海斐讯数据通信技术有限公司 System and method for batch configuration of cloud terminal time
CN107203189A (en) * 2016-11-30 2017-09-26 英业达科技有限公司 A kind of monitoring system, monitoring method and server
CN108449206A (en) * 2018-03-12 2018-08-24 新华三技术有限公司 A kind of method for synchronizing time, device, equipment and storage medium
CN115913896A (en) * 2022-11-09 2023-04-04 中国联合网络通信集团有限公司 Device detection method, server and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2790050Y (en) * 2004-12-10 2006-06-21 上海欣泰通信技术有限公司 ETS exchanger time synchronizer
CN101115264A (en) * 2006-07-24 2008-01-30 中兴通讯股份有限公司 Communication Terminal Fault Monitoring System and Its Realization Method
CN101399653A (en) * 2007-09-25 2009-04-01 普然通讯技术(上海)有限公司 Time clock synchronization implementation method
CN101557602A (en) * 2009-05-14 2009-10-14 中兴通讯股份有限公司 Multi-level network element alarm synchronization method and system
CN101605045A (en) * 2008-06-10 2009-12-16 中兴通讯股份有限公司 A method for reporting an alarm notification message
CN101741635A (en) * 2008-11-26 2010-06-16 大唐移动通信设备有限公司 Method, system and device for synchronous altering message

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2790050Y (en) * 2004-12-10 2006-06-21 上海欣泰通信技术有限公司 ETS exchanger time synchronizer
CN101115264A (en) * 2006-07-24 2008-01-30 中兴通讯股份有限公司 Communication Terminal Fault Monitoring System and Its Realization Method
CN101399653A (en) * 2007-09-25 2009-04-01 普然通讯技术(上海)有限公司 Time clock synchronization implementation method
CN101605045A (en) * 2008-06-10 2009-12-16 中兴通讯股份有限公司 A method for reporting an alarm notification message
CN101741635A (en) * 2008-11-26 2010-06-16 大唐移动通信设备有限公司 Method, system and device for synchronous altering message
CN101557602A (en) * 2009-05-14 2009-10-14 中兴通讯股份有限公司 Multi-level network element alarm synchronization method and system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104678922A (en) * 2013-12-02 2015-06-03 广东美的制冷设备有限公司 Timing control method and system based on Internet of things
CN104678922B (en) * 2013-12-02 2017-09-29 广东美的制冷设备有限公司 Time control method and system based on Internet of Things
CN105487963A (en) * 2015-11-26 2016-04-13 小米科技有限责任公司 Message confirmation method and apparatus
CN105487963B (en) * 2015-11-26 2018-04-06 小米科技有限责任公司 Message authentication method and device
CN106411601A (en) * 2016-10-26 2017-02-15 上海斐讯数据通信技术有限公司 System and method for batch configuration of cloud terminal time
CN107203189A (en) * 2016-11-30 2017-09-26 英业达科技有限公司 A kind of monitoring system, monitoring method and server
CN108449206A (en) * 2018-03-12 2018-08-24 新华三技术有限公司 A kind of method for synchronizing time, device, equipment and storage medium
CN108449206B (en) * 2018-03-12 2020-11-27 新华三技术有限公司 Time synchronization method, device, equipment and storage medium
CN115913896A (en) * 2022-11-09 2023-04-04 中国联合网络通信集团有限公司 Device detection method, server and medium
CN115913896B (en) * 2022-11-09 2024-10-01 中国联合网络通信集团有限公司 Device detection method, server and medium

Also Published As

Publication number Publication date
CN102412983B (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN102412983A (en) Equipment alarm reporting method
US20170366620A1 (en) Long connection method between a plurality of smart devices and a server, and smart device thereof
CN103944814B (en) A kind of method for interchanging data and system and a kind of gateway server
CN110505220B (en) Method and device for supporting OPC protocol to realize dual-computer hot standby and communication terminal
CN102957623B (en) A kind of maintaining method of neighborhood of border gate protocol and equipment
CN109962827B (en) Equipment link detection method, device, equipment and readable storage medium
CN113783961B (en) Remote terminal management method, device, computer equipment and storage medium
CN104065526A (en) Server fault alarming method and device thereof
CN102307194B (en) Graceful restarting method and device for universal protocol process
WO2012075931A1 (en) Method, base transceiver station and base station system for alarm reporting
CN103840962B (en) Server alarm output method and system
EP2882216B1 (en) Device and method for controlling, supervising and giving an alarming from a power supply of base station
CN104468242A (en) Automatic switching method and system
CN204272157U (en) switch system
CN100421381C (en) A method and device for acquiring network equipment operation and fault state information
CN102404777A (en) A Method Based on Wireless Network Management
CN101808091A (en) Control method and control system for supporting data protocol protection
CN105243002A (en) Message middleware monitoring method and system
CN103581300A (en) Interactive conference system information on-line preservation method
CN102523157B (en) Communication equipment, system and communication means
CN112019515A (en) Cross-region safety monitoring method, device and system for power engineering control system
WO2016188499A1 (en) Network management method and apparatus, network device and data synchronization system
CN101730119B (en) Reverse acquisition method and device of network element configuration data
CN105099742A (en) Method, device, system and terminal for collecting data
CN202652241U (en) Device for Remote Monitoring and Troubleshooting of Server Based on Mobile Phone SMS

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
CP03 Change of name, title or address

Address after: 510670 Guangdong city of Guangzhou province Kezhu Guangzhou high tech Industrial Development Zone, Road No. 233

Patentee after: VTRON GROUP Co.,Ltd.

Address before: 510663 Guangzhou province high tech Industrial Development Zone, Guangdong, Cai road, No. 6, No.

Patentee before: VTRON TECHNOLOGIES Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20201125

Address after: Unit 2414-2416, main building, no.371, Wushan Road, Tianhe District, Guangzhou City, Guangdong Province

Patentee after: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Address before: 510670 Guangdong city of Guangzhou province Kezhu Guangzhou high tech Industrial Development Zone, Road No. 233

Patentee before: VTRON GROUP Co.,Ltd.

Effective date of registration: 20201125

Address after: 215500 No.13, Caotang Road, Changshu, Suzhou, Jiangsu Province

Patentee after: Changshu intellectual property operation center Co.,Ltd.

Address before: Unit 2414-2416, main building, no.371, Wushan Road, Tianhe District, Guangzhou City, Guangdong Province

Patentee before: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

TR01 Transfer of patent right
CP02 Change in the address of a patent holder

Address after: 215500 5th floor, building 4, 68 Lianfeng Road, Changfu street, Changshu City, Suzhou City, Jiangsu Province

Patentee after: Changshu intellectual property operation center Co.,Ltd.

Address before: No.13 caodang Road, Changshu City, Suzhou City, Jiangsu Province

Patentee before: Changshu intellectual property operation center Co.,Ltd.

CP02 Change in the address of a patent holder