CN112286558A - Method for real-time updating analysis program of acquisition equipment - Google Patents

Method for real-time updating analysis program of acquisition equipment Download PDF

Info

Publication number
CN112286558A
CN112286558A CN202011239865.5A CN202011239865A CN112286558A CN 112286558 A CN112286558 A CN 112286558A CN 202011239865 A CN202011239865 A CN 202011239865A CN 112286558 A CN112286558 A CN 112286558A
Authority
CN
China
Prior art keywords
data
alarm
acquisition equipment
type
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011239865.5A
Other languages
Chinese (zh)
Inventor
杜阳
冯勇
盛义伟
李勇
艾红斌
孙峻岭
胡明宇
唐文杰
桓宗圣
范杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bengbu Ei Fire Electronics Co ltd
Original Assignee
Bengbu Ei Fire Electronics 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 Bengbu Ei Fire Electronics Co ltd filed Critical Bengbu Ei Fire Electronics Co ltd
Priority to CN202011239865.5A priority Critical patent/CN112286558A/en
Publication of CN112286558A publication Critical patent/CN112286558A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The invention discloses a method for updating an analysis program of acquisition equipment in real time.A fire alarm controller obtains alarm data and uploads the alarm data to the acquisition equipment; the acquisition equipment judges whether the type is the existing type, if so, the data is transmitted to the server after the interpretation, if not, the type is stored in the data storage part, and then the data is transmitted to the server; the server judges whether the uploaded data is standard protocol data, if yes, the uploaded data is directly analyzed, if not, the server confirms the alarm type and the alarm point location on site, the server sends the alarm type and the alarm point location to the acquisition equipment, and the acquisition equipment receives the alarm type and the alarm point location and regenerates the analysis program. The analysis program can be updated in real time according to the change of the field data, for example, the fire alarm type is analyzed at first, and if the linkage data is judged later, the program can be reprogrammed again, and the linkage analysis is added.

Description

Method for real-time updating analysis program of acquisition equipment
Technical Field
The invention is used in the field of fire fighting, and relates to a method capable of updating an analysis program in real time according to data of a fire alarm controller.
Background
With the rapid development of science and technology, more and more tall buildings are provided, and the prevention or timely fire hazard danger is very important.
Therefore, the fire-fighting internet of things comes by delivery.
But the manufacturers engaged in fire fighting have dozens of families, each family has own communication protocol, and great difficulty is caused to the remote networking of fire fighting.
Before fire-fighting networking, a debugger must collect data of the fire alarm controller firstly and then sends the data to research and development personnel, the research and development personnel write programs and then upgrade equipment programs to the debugger, and finally the debugger can be successfully connected with the controller to transmit information to the platform, so that the process is troublesome.
And when gathering, some alarm information for example linkage, supervision etc. are difficult to gather, have just also caused probably not analyzing this type in the agreement, lead to alarm information to pass incompletely.
Disclosure of Invention
In order to solve the existing problems, the invention provides a method for automatically compiling an analysis program according to data after collecting alarm data of a building fire-fighting facility by a collecting device and updating the analysis program in real time when a protocol changes.
A method for updating analysis program of acquisition equipment in real time,
1) the fire alarm controller obtains alarm data and uploads the alarm data to the acquisition equipment;
2) the acquisition equipment judges whether the type is the existing type, if so, the data is transmitted to the server after the interpretation, if not, the type is stored in the data storage part, and then the data is transmitted to the server;
3) the server judges whether the uploaded data is standard protocol data, if yes, the uploaded data is directly analyzed, if not, the server confirms the alarm type and the alarm point location on site, the server sends the alarm type and the alarm point location to the acquisition equipment, and the acquisition equipment receives the alarm type and the alarm point location and regenerates the analysis program.
The invention has the beneficial effects that:
the invention aims at a completely unknown data packet, the head and the tail of the packet are unknown, the data length is unknown and the like.
The invention does not require the user to operate anything on the acquisition device;
the analysis program can be updated in real time according to the change of the field data, for example, the fire alarm type is analyzed at first, and if the linkage data is judged later, the program can be reprogrammed again, and the linkage analysis is added.
Drawings
FIG. 1 is a schematic flow diagram of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to the flow diagram of fig. 1, a method for updating analysis program in real time by a collection device, a fire alarm controller obtains alarm data and uploads the alarm data to the collection device; the acquisition equipment judges whether the type is the existing type, if so, the data is transmitted to the server after the interpretation, if not, the type is stored in the data storage part, and then the data is transmitted to the server; the server judges whether the uploaded data is standard protocol data, if yes, the uploaded data is directly analyzed, if not, the server confirms the alarm type and the alarm point location on site, the server sends the alarm type and the alarm point location to the acquisition equipment, and the acquisition equipment receives the alarm type and the alarm point location and regenerates the analysis program.
Specifically, when a new fire alarm controller is encountered, a field debugger needs to perform data testing according to specific steps.
For example, the sequence of testing different alarm types is as follows: fire alarm, fault, reset, supervision, shielding, linkage, feedback.
The test sequence includes, but is not limited to, the above, as long as it is negotiated with the developer.
The software of the acquisition equipment is divided into four parts, namely a data storage part, a data comparison and analysis part, an automatic generation program part and a program backup part.
The test mode is as follows: the same point location measures a fire alarm, then measures a fault, then shields the point location, for example, 1 # machine 1 loop 1 address hand reports, firstly lets the point location report the fire alarm, then lets the point location report the fault, and shields the fault after recovery, and the acquisition equipment stores the three pieces of data in the data storage part.
Then, a point position manual report such as the address of the No. 1 machine 1 loop 2 is found, a fire alarm and fault are detected and shielded, and the acquisition equipment stores data in the data storage part.
Several other types were tested as well.
Through the comparison analysis of the six pieces of data, the packet head and the packet tail of the data and the positions in the data, which represent the alarm types and the point positions, can be found out, and the positions of the alarm types and the point positions in the data are recorded and placed at specific positions of the automatic generation program part.
And generates a corresponding configuration file.
If the six pieces of data cannot find out the specific packet head and the packet tail, the acquisition equipment gives a prompt to allow a field tester to test the packet head and the packet tail in another mode
The test mode is as follows: simulating fire alarm at different point locations (at least four point locations), resetting the controller after the controller receives all the fire alarm, sending alarm data by the controller, timing by the acquisition equipment after receiving one piece of alarm data, recording the time after the next piece of alarm data arrives, timing again, comparing intervals among at least four pieces of alarm data, and taking out the minimum value to be used as the timing time for judging the integrity of the data packet.
For example, the first and second packets may be spaced 40ms apart, the second and third packets may be spaced 50ms apart, and the third and fourth packets may be spaced 45ms … …
At this time, the acquisition device will use 40ms as the time interval between two packets of data, that is, after the acquisition device receives a packet of data, it will start timing, and when the data is received after more than 40ms, it is considered as a new packet of data.
The acquisition equipment can record the analyzed alarm types in a configuration file, and if new alarm data are met, the data can be classified in the unresolved alarm types.
When receiving the alarm data of the unresolved alarm type, the acquisition equipment cannot judge what alarm type is because the field is burst data, and then the acquisition equipment directly forwards the data to the server by using a specific protocol, and background developers and the field confirm what type of data and point positions.
Then, the background developer issues the alarm type and the point location of the unknown data to the acquisition device through a specific instruction or protocol.
And finally, the acquisition equipment regenerates the analysis program, and the new analysis program is also placed in the program backup part and regenerates the configuration file.
Therefore, the alarm analysis program can be updated in real time.
The foregoing shows and describes the general principles, essential features, and advantages of the invention. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are described in the specification and illustrated only to illustrate the principle of the present invention, but that various changes and modifications may be made therein without departing from the spirit and scope of the present invention, which fall within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (1)

1. A method for updating an analysis program of acquisition equipment in real time is characterized by comprising the following steps:
1) the fire alarm controller obtains alarm data and uploads the alarm data to the acquisition equipment;
2) the acquisition equipment judges whether the type is the existing type, if so, the data is transmitted to the server after the interpretation, if not, the type is stored in the data storage part, and then the data is transmitted to the server;
3) the server judges whether the uploaded data is standard protocol data, if yes, the uploaded data is directly analyzed, if not, the server confirms the alarm type and the alarm point location on site, the server sends the alarm type and the alarm point location to the acquisition equipment, and the acquisition equipment receives the alarm type and the alarm point location and regenerates the analysis program.
CN202011239865.5A 2020-11-09 2020-11-09 Method for real-time updating analysis program of acquisition equipment Pending CN112286558A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011239865.5A CN112286558A (en) 2020-11-09 2020-11-09 Method for real-time updating analysis program of acquisition equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011239865.5A CN112286558A (en) 2020-11-09 2020-11-09 Method for real-time updating analysis program of acquisition equipment

Publications (1)

Publication Number Publication Date
CN112286558A true CN112286558A (en) 2021-01-29

Family

ID=74352213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011239865.5A Pending CN112286558A (en) 2020-11-09 2020-11-09 Method for real-time updating analysis program of acquisition equipment

Country Status (1)

Country Link
CN (1) CN112286558A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103956018A (en) * 2014-05-15 2014-07-30 杜玉龙 Improved building fire-fighting facility alarm signal analyzing and processing method
CN104052661A (en) * 2013-03-11 2014-09-17 华为技术有限公司 Container name server and container name analysis method
CN107991965A (en) * 2017-12-21 2018-05-04 卡斯柯信号有限公司 Standardization electricity business failure emergency command management method based on intellectual monitoring
CN109657062A (en) * 2018-12-24 2019-04-19 万达信息股份有限公司 A kind of electronic health record text resolution closed-loop policy based on big data technology
EP3557502A1 (en) * 2018-04-20 2019-10-23 Facebook, Inc. Aggregating semantic information for improved understanding of users
CN111325943A (en) * 2020-02-26 2020-06-23 中电福富信息科技有限公司 Method and system for carrying out large-range forest fire prevention patrol early warning based on unmanned aerial vehicle
US20200301672A1 (en) * 2019-03-20 2020-09-24 International Business Machines Corporation Generating program analysis rules based on coding standard documents

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104052661A (en) * 2013-03-11 2014-09-17 华为技术有限公司 Container name server and container name analysis method
CN103956018A (en) * 2014-05-15 2014-07-30 杜玉龙 Improved building fire-fighting facility alarm signal analyzing and processing method
CN107991965A (en) * 2017-12-21 2018-05-04 卡斯柯信号有限公司 Standardization electricity business failure emergency command management method based on intellectual monitoring
EP3557502A1 (en) * 2018-04-20 2019-10-23 Facebook, Inc. Aggregating semantic information for improved understanding of users
CN109657062A (en) * 2018-12-24 2019-04-19 万达信息股份有限公司 A kind of electronic health record text resolution closed-loop policy based on big data technology
US20200301672A1 (en) * 2019-03-20 2020-09-24 International Business Machines Corporation Generating program analysis rules based on coding standard documents
CN111325943A (en) * 2020-02-26 2020-06-23 中电福富信息科技有限公司 Method and system for carrying out large-range forest fire prevention patrol early warning based on unmanned aerial vehicle

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
齐曙光;: "5G网络能源国际标准解析及国内标准化概况", 信息通信技术与政策, no. 04 *
齐曙光;: "5G网络能源国际标准解析及国内标准化概况", 信息通信技术与政策, no. 04, 15 April 2020 (2020-04-15) *

Similar Documents

Publication Publication Date Title
CN103812726B (en) Automated testing method and device for data communication equipment
US9122671B2 (en) System and method for grammar based test planning
CN102141962B (en) Safety distributed test framework system and test method thereof
CN104731566B (en) Integrated Development Environment test device, method and system
US8103762B2 (en) Monitoring system for monitoring a message-sending system
CN103713215B (en) X-ray tube condition monitoring system and method
CN107066370A (en) A kind of automatic monitoring and the instrument and method for collecting faulty hard disk daily record
CN107832210A (en) Access method of testing, device and a server are buried in daily record
CN107241229B (en) Service monitoring method and device based on interface testing tool
CN101887392A (en) Method and device for testing software system operation stability
CN111901200B (en) Power control protection industrial control protocol security test method and system
CN112737886B (en) Tool testing method and system, electronic equipment and storage medium
WO2016045353A1 (en) Troubleshooting analysis method, device, system and storage medium
CN113067738A (en) Network topology visualization function equipment compatibility testing method and system
CN111046543A (en) Intelligent substation test simulation method
CN104468279A (en) Routing protocol interaction testing method and tool
CN106776329A (en) The adjustment method and commissioning device of energy accumulation current converter
CN112286558A (en) Method for real-time updating analysis program of acquisition equipment
CN101808082A (en) Device simulating method for supporting multi-protocol
CN109218113B (en) Communication network fault positioning method and fault monitoring device
CN209441385U (en) The communication detection system of train network control system
CN107733082B (en) Method and system for collecting abnormal information of relay protection equipment device
CN113406897B (en) Automatic simulation test system and method for inspection robot
CN109614337A (en) A kind of Performance Test System and testing tool based on Linux system
CN113495750B (en) Upgrade detection method and device for equipment and server

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