CN112330910B - Information processing method and device for fire early warning, storage medium and processor - Google Patents

Information processing method and device for fire early warning, storage medium and processor Download PDF

Info

Publication number
CN112330910B
CN112330910B CN202011248509.XA CN202011248509A CN112330910B CN 112330910 B CN112330910 B CN 112330910B CN 202011248509 A CN202011248509 A CN 202011248509A CN 112330910 B CN112330910 B CN 112330910B
Authority
CN
China
Prior art keywords
early warning
fire
warning information
message
rechecking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011248509.XA
Other languages
Chinese (zh)
Other versions
CN112330910A (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.)
Beijing Zhongxiaoyun Iot Institute Co ltd
Original Assignee
Beijing Zhongxiaoyun Iot Institute 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 Beijing Zhongxiaoyun Iot Institute Co ltd filed Critical Beijing Zhongxiaoyun Iot Institute Co ltd
Priority to CN202011248509.XA priority Critical patent/CN112330910B/en
Publication of CN112330910A publication Critical patent/CN112330910A/en
Application granted granted Critical
Publication of CN112330910B publication Critical patent/CN112330910B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B17/00Fire alarms; Alarms responsive to explosion

Landscapes

  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Alarm Systems (AREA)

Abstract

The invention discloses an information processing method, an information processing device, a storage medium and a processor for fire early warning. Wherein, the method comprises the following steps: the fire-fighting supervision platform acquires first early-warning information sent by the fire early-warning platform, wherein the first early-warning information is uploaded to the fire early-warning platform by fire early-warning equipment; the fire-fighting supervision platform acquires a rechecking message corresponding to the first early warning information, wherein the rechecking message is obtained by rechecking the first early warning information by the fire early warning platform; and the fire-fighting supervision platform determines whether to keep the first early warning information or not based on the rechecking message. The invention solves the technical problem of low success probability of rechecking the early warning information of the rechecking message.

Description

Information processing method and device for fire early warning, storage medium and processor
Technical Field
The invention relates to the field of information processing, in particular to an information processing method, an information processing device, a storage medium and a processor for fire early warning.
Background
At present, when a fire early warning device gives an alarm, fire early warning information can be transmitted to a fire early warning platform at the same time, and at the moment, a unit person in charge can check the alarm condition and can also synchronize the fire early warning information to a fire supervision platform. The fire early warning platform can automatically recheck the fire alarm as a real fire alarm after receiving the two fire early warning messages and forwarding the two fire early warning messages to the fire supervision platform, and sends the rechecking message rechecking the real fire alarm to the fire supervision platform, and the fire supervision platform can recheck the corresponding fire alarm aiming at the fire rechecking message after receiving the fire rechecking message.
Because the fire alarm early warning message and the fire alarm rechecking message are not different from each other by one second, the fire alarm early warning message is not stored in a fire supervision platform in a high concurrency environment, and the fire alarm rechecking message is processed, so that the fire alarm rechecking message cannot correspond to the fire alarm early warning message, the recording of a fire alarm early warning rechecking process is not facilitated, and the problem of low success probability of rechecking the fire alarm message and the rechecking early warning message is caused.
Aiming at the problem that due to the fact that the rechecking message cannot correspond to the early warning message, the success probability of rechecking the early warning message of the rechecking message is low, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides an information processing method, an information processing device, a storage medium and a processor for fire early warning, and at least solves the technical problem of low success probability of rechecking early warning information by a rechecking message.
According to an aspect of an embodiment of the present invention, there is provided an information processing method for fire early warning, including: the fire-fighting supervision platform acquires first early-warning information sent by the fire early-warning platform, wherein the first early-warning information is uploaded to the fire early-warning platform by fire early-warning equipment; the fire-fighting supervision platform acquires a rechecking message corresponding to the first early warning information, wherein the rechecking message is obtained by rechecking the first early warning information by the fire early warning platform; and the fire-fighting supervision platform determines whether to keep the first early warning information or not based on the rechecking message.
Optionally, the determining, by the fire monitoring platform, whether to retain the first warning information based on the rechecking message includes: under the condition that the rechecking message is used for representing that the first early warning information is real, the fire-fighting supervision platform reserves the first early warning information; and under the condition that the rechecking message is used for indicating that the first early warning information is not true, the first early warning information is ignored by the fire-fighting supervision platform.
Optionally, after the fire-fighting supervision platform acquires the review message corresponding to the first warning information, the method further includes: the fire-fighting supervision platform stores first early warning information to a message queue; and the fire-fighting supervision platform converts the first early warning information into second early warning information based on the message queue.
Optionally, the determining, by the fire monitoring platform, whether to retain the first warning information based on the recheck message includes: after the fire-fighting supervision platform converts the first early warning information into second early warning information based on the message queue, under the condition that the second early warning information is stored in the remote dictionary service buffer, the fire-fighting supervision platform determines whether to keep the first early warning information based on the rechecking message; after the fire-fighting supervision platform converts the first early warning information into the second early warning information based on the message queue, the method further comprises the following steps: and under the condition that the second early warning information is not stored in the remote dictionary service buffer, the fire-fighting supervision platform acquires the rechecking message corresponding to the first early warning information again.
Optionally, the fire monitoring platform obtains the rechecking message corresponding to the first warning information again, including: determining the times of acquiring rechecking messages by a fire-fighting supervision platform; and under the condition that the times do not exceed the target times set by the fire-fighting supervision platform, the fire-fighting supervision platform acquires the rechecking message.
Optionally, after determining the number of times the fire supervision platform acquires the recheck message, the method further comprises: and under the condition that the times exceed the target times, the fire-fighting supervision platform records the log information of the rechecking message and discards the rechecking message.
According to another aspect of the embodiments of the present invention, there is also provided an information processing system for fire early warning, including: the fire early warning equipment is used for uploading first early warning information; the fire early warning platform is used for receiving and sending first early warning information, rechecking the first early warning information and obtaining rechecking information corresponding to the first early warning information; and the fire-fighting supervision platform is used for receiving the first early warning information and the rechecking message and determining whether to reserve the first early warning information or not based on the rechecking message.
According to another aspect of the embodiments of the present invention, there is also provided an information processing apparatus for fire early warning, including: the first acquisition unit is used for acquiring first early warning information sent by the fire early warning platform by the fire supervision platform, wherein the first early warning information is uploaded to the fire early warning platform by the fire early warning equipment; the second acquisition unit is used for acquiring a rechecking message corresponding to the first early warning information by the fire monitoring platform, wherein the rechecking message is obtained by rechecking the first early warning information by the fire early warning platform; and the determining unit is used for determining whether to reserve the first early warning information or not by the fire-fighting supervision platform based on the rechecking message.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium. The computer-readable storage medium includes a stored program, wherein the apparatus in which the computer-readable storage medium is located is controlled to perform the information processing method for fire early warning according to an embodiment of the present invention when the program is executed.
According to another aspect of the embodiments of the present invention, there is also provided a processor. The processor is configured to execute a program, wherein the program executes the information processing method for fire warning according to the embodiment of the present invention when the program is executed by the processor.
In the embodiment of the invention, a fire-fighting supervision platform is adopted to acquire first early warning information sent by a fire early warning platform, wherein the first early warning information is uploaded to the fire early warning platform by fire early warning equipment; the fire-fighting supervision platform acquires a rechecking message corresponding to the first early warning information, wherein the rechecking message is obtained by rechecking the first early warning information by the fire early warning platform; the fire-fighting supervision platform determines whether first early warning information is reserved or not based on the rechecking information, namely, the application uploads the early warning information to the fire-fighting early warning platform through the fire-fighting early warning platform, the fire-fighting early warning platform forwards the early warning information to the fire-fighting supervision platform and rechecks the early warning information, and after the rechecking information corresponding to the early warning information is obtained, the rechecking information is also sent to the fire-fighting supervision platform, and the fire-fighting supervision platform can determine whether the corresponding early warning information can be reserved or not based on the obtained rechecking information, so that the problem that the success probability of the rechecking information conforming to the early warning information is low due to the fact that the rechecking information cannot correspond to the early warning information is solved, and the technical effect of improving the success probability of the rechecking information conforming to the early warning information is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of an information processing system for fire early warning, according to an embodiment of the invention;
fig. 2 is a flowchart of an information processing method for fire early warning according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of another information processing system for fire early warning according to an embodiment of the invention;
fig. 4 is a flowchart of another information processing method for fire early warning according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an information processing apparatus for fire early warning according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present invention, 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.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to an embodiment of the invention, an information processing system for fire early warning is provided.
Fig. 1 is a schematic diagram of an information processing system for fire early warning according to an embodiment of the present invention. As shown in fig. 1, the information processing system 10 for fire early warning includes: fire early warning equipment 11, fire early warning platform 12 and fire control supervision platform 13.
And the fire early warning equipment 11 is used for uploading first early warning information.
In this embodiment, the fire early warning apparatus 11 may early warn of a fire, then generate early warning information, and upload the generated early warning information to the fire early warning platform 12 after the early warning information is generated.
And the fire early warning platform 12 is configured to receive and send the first early warning information, and recheck the first early warning information to obtain a rechecking message corresponding to the first early warning information.
In this embodiment, the fire early warning platform 12 may receive the first early warning information uploaded by the fire early warning device 11 and then forward the first early warning information to the fire supervision platform 13. After receiving the first early warning information, the fire early warning platform 12 may recheck the first early warning information to obtain a recheck message corresponding to the first early warning information, and send the obtained recheck message to the fire monitoring platform 13.
In the above embodiment, the fire early warning platform 12 may automatically recheck the early warning information in some cases, for example, when there are more than two smoke-sensitive alarms in the same location, the fire early warning platform 12 may automatically recheck the early warning information uploaded by the fire early warning device 11 as a real fire alarm.
And the fire-fighting supervisory platform 13 is configured to receive the first warning information and the recheck message, and determine whether to retain the first warning information based on the recheck message.
In this embodiment, the fire monitoring platform 13 may receive the first warning information and the recheck message transmitted by the fire warning platform 12, and then may determine whether the first warning information may be retained based on the received recheck message.
In the above embodiment, after receiving the first warning information and the recheck message sent by the fire warning platform 12, the fire monitoring platform 13 may store the first warning information and the recheck message in a message queue, process the first warning information by a separate service, and then put the processed first warning information into the remote dictionary service buffer, so that the fire monitoring platform 13 may correspond the first warning information and the recheck message, and may determine whether to retain the first warning information based on the recheck message.
According to the information processing system for fire early warning of the embodiment, the fire early warning platform uploads the early warning information to the fire early warning platform, the fire early warning platform forwards the early warning information to the fire supervision platform and rechecks the early warning information, and after the rechecking information corresponding to the early warning information is obtained, the rechecking information is sent to the fire supervision platform, and the fire supervision platform can determine whether the corresponding early warning information can be reserved or not based on the obtained rechecking information, so that the problem that the rechecking information is low in probability of success of the early warning information due to the fact that the rechecking information cannot correspond to the early warning information is solved, and the technical effect of improving the probability of success of the rechecking information of the early warning information is achieved.
Example 2
According to an embodiment of the present invention, there is provided an embodiment of an information processing method for fire warning, it should be noted that the information processing method for fire warning of this embodiment may be executed by an information processing system for fire warning in embodiment 1 of the present application, the steps shown in the flowchart of the drawings may be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that here.
Fig. 2 is a flowchart of an information processing method for fire early warning according to an embodiment of the present invention. As shown in fig. 2, the method may include the steps of:
and S202, the fire-fighting supervision platform acquires first early warning information sent by the fire early warning platform.
In the technical solution provided in step S202 of the present invention, a fire early warning device may perform early warning on a fire, generate first early warning information, and upload the generated first early warning information to a fire early warning platform after the first early warning information is generated, and the fire early warning platform sends the first early warning information to a fire monitoring platform.
And step S204, the fire-fighting supervisory platform acquires the rechecking message corresponding to the first early warning information.
In the technical solution provided in step S204 of the present invention, after receiving the first early warning information uploaded by the fire early warning device, the fire early warning platform may recheck the first early warning information, so as to obtain a recheck message corresponding to the first early warning information, and send the recheck message to the fire monitoring platform, and after obtaining the first early warning information, the fire monitoring platform may obtain the recheck message sent by the fire early warning platform.
And step S206, the fire-fighting supervisory platform determines whether to keep the first early warning information or not based on the recheck message.
In the technical solution provided by step S206 of the present invention, after receiving the first warning information and the rechecking message, the fire monitoring platform may determine the authenticity of the first warning information through the rechecking message, so as to determine whether the first warning information can be retained.
Through the above steps S202 to S206 in the present application, the fire early warning platform uploads the early warning information to the fire early warning platform, the fire early warning platform forwards the early warning information to the fire supervision platform, rechecks the early warning information, and after obtaining the recheck information corresponding to the early warning information, sends the recheck information to the fire supervision platform, and the fire supervision platform can determine whether the corresponding early warning information can be retained based on the obtained recheck information, thereby avoiding that the probability that the recheck information is successful in accordance with the early warning information is low because the recheck information cannot correspond to the early warning information, further solving the technical problem that the probability that the recheck information is successful in recheck is low, and achieving the technical effect of improving the probability that the recheck information is successful in accordance with the early warning information.
The above-described method of this embodiment is further described below.
As an optional implementation manner, in step S206, the fire monitoring platform determines whether to keep the first warning information based on the recheck message, including: under the condition that the rechecking message is used for representing that the first early warning information is real, the fire-fighting supervision platform reserves the first early warning information; and under the condition that the rechecking message is used for indicating that the first early warning information is not true, the fire-fighting supervisory platform ignores the first early warning information.
In this embodiment, after receiving the first early warning information and the rechecking message, the fire-fighting supervision platform may determine authenticity of the first early warning information through the rechecking message, and when the rechecking message is used to indicate that the first early warning information is authentic, the fire-fighting supervision platform may retain the first early warning information, and then the fire-fighting supervision person may process the first early warning information, for example, when the first early warning information is information of a real fire, the fire-fighting supervision person may dispatch a fire-fighting person to process the fire at the first time after receiving the first early warning information; under the condition that the rechecking message is used for representing that the first early warning information is not true, the fire-fighting supervision platform can ignore the first early warning information, so that the problem of resource occupation caused by dispatching fire fighters to deal with false fire information after the unreal fire information is obtained is avoided, and the purpose of filtering the fire early warning information is realized.
As an optional implementation manner, after the fire-fighting supervision platform acquires the review message corresponding to the first warning information, the method further includes: the fire-fighting supervision platform stores first early warning information to a message queue; and the fire-fighting supervision platform converts the first early warning information into second early warning information based on the message queue.
In this embodiment, after acquiring the review message and the first warning message, the fire-fighting supervision platform may store the review message and the first warning message in a message queue, and then the fire-fighting supervision platform processes the first warning message in the message queue by an independent service, and converts the first warning message into the second warning message, so that the fire-fighting supervision platform can conveniently correspond the first warning message to the review message, and thus the fire-fighting supervision platform can determine whether to retain the first warning message based on the review message.
Optionally, the message queue in this embodiment may be open source message broker software (RabbitMQ), which may also be referred to as message-oriented middleware, and the software may implement Advanced Message Queuing Protocol (AMQP), where the RabbitMQ server is written in Erlang language, and the clustering and failover are built on an open telecommunication platform framework, and all major programming languages have client libraries communicating with the broker interface.
As an optional implementation, the determining, by the fire monitoring platform, whether to retain the first warning information based on the rechecking message includes: after the fire-fighting supervision platform converts the first early warning information into second early warning information based on the message queue, under the condition that the second early warning information is stored in the remote dictionary service buffer, the fire-fighting supervision platform determines whether to keep the first early warning information based on the rechecking message; after the fire-fighting supervision platform converts the first early warning information into the second early warning information based on the message queue, the method further comprises the following steps: and under the condition that the second early warning information is not stored in the remote dictionary service buffer, the fire-fighting supervision platform acquires the rechecking message corresponding to the first early warning information again.
In this embodiment, under the condition of high concurrence of the early warning information, the time interval between the first early warning information and the rechecking message and reaching the fire protection supervision platform is very short, and is less than 100ms before and after, and in the short time, the first early warning information reaching the fire protection supervision platform has not yet been stored into the message queue by the fire protection supervision platform for processing, and the fire protection supervision platform has already started to correspond the rechecking message with the first early warning information, but at this time, the remote dictionary service cache has not yet stored the second early warning information, so that the fire protection supervision platform cannot correspond the rechecking message with the first early warning information under the condition that the fire protection supervision platform cannot find the second early warning information in the remote dictionary service cache. Therefore, after the fire-fighting supervision platform converts the first early warning information into the second early warning information based on the message queue, the fire-fighting supervision platform can retain the first early warning information corresponding to the rechecking message under the condition that the second early warning information is stored in the remote dictionary service buffer, and obtain the rechecking message corresponding to the first early warning information in the message queue again under the condition that the second early warning information is not stored in the remote dictionary service buffer, so that the fire-fighting supervision platform can correspond the rechecking message to the first early warning information.
Optionally, the Remote Dictionary service (Remote Dictionary Server, abbreviated as Redis) in this embodiment is written in an open source using ANSI C language, uses a Key-Value database, supports a network, is log-type, and can be based on a memory and also be persistent, and provides an Application Programming Interface (API) in multiple languages, and the Remote Dictionary service has multiple branch versions, such as a KeyDB middleware, an ApsaraCache middleware, and the like, which are based on core logic of the Remote Dictionary service and can also implement expiration monitoring of the Remote Dictionary service, and the Remote Dictionary service cache in the above embodiment may also be referred to as a Redis cache.
As an optional implementation manner, the acquiring, by the fire monitoring platform, the rechecking message corresponding to the first warning message again includes: determining the times of acquiring rechecking messages by a fire-fighting supervision platform; and under the condition that the times do not exceed the target times set by the fire-fighting supervision platform, the fire-fighting supervision platform acquires the rechecking message.
In this embodiment, when the fire-fighting supervision platform does not find the second warning information in the remote dictionary service cache, the fire-fighting supervision platform needs to acquire the recheck message corresponding to the first warning information again, at this time, in order to avoid that the fire-fighting supervision platform acquires the recheck message all the time, a retry mechanism needs to be preset for the fire-fighting supervision platform, the retry number in the retry mechanism can also be determined in advance to obtain a target number, and after the number of times that the fire-fighting supervision platform actually acquires the recheck message is determined, if the actual number of times does not exceed the preset target number of times, the fire-fighting supervision platform can continue to acquire the recheck message corresponding to the first warning information.
Optionally, the target number of times of the retry mechanism in this embodiment may be adjusted according to the actual concurrent amount of the warning information of the fire monitoring platform.
Optionally, the retry mechanism in this embodiment may be implemented by using a retry function of the open source message agent software, or by manually maintaining a variable of the retry number, and determining whether the number of times that the fire monitoring platform actually acquires the recheck message exceeds a preset target number.
As an optional embodiment, after determining the number of times the fire supervision platform acquires the review message, the method further includes: and under the condition that the times exceed the target times, the fire-fighting supervision platform records the log information of the rechecking message and discards the rechecking message.
In this embodiment, if the number of times that the fire-fighting supervision platform actually acquires the rechecking message exceeds the target number of times preset by the retry mechanism, the obtained log information of the rechecking message needs to be recorded, and the rechecking message exceeding the target number of times is discarded, so that the situation of message accumulation or dead credit in the message queue can be prevented, and the stability of the fire-fighting supervision platform is ensured.
In the related technology, the centralized monitoring and dynamic pushing of the fire-fighting host computer signals can be realized, the centralized dynamic management of the fire-fighting conditions of the social units by the fire-fighting department can be realized, the important early warning signals of the social units are more prominent, the response processing of the fire hazard hidden danger of the units is more efficient, the workload of personnel for processing the early warning signals of various fire-fighting facilities is reduced, the monitoring center combines the alarm signals of the same networking unit, the same type and the same time period into one alarm signal, all the alarms related to the combined signal are processed at the same time without processing the alarm signals one by one, so that the purposes of reducing the alarm signal processing amount of the monitoring center and improving the processing efficiency of the monitoring center can be realized, but the related technology only explains the processing flow of the fire alarms of the responsible persons and the monitoring center of the units, and does not explain the situation that the fire-rechecking information of the fire is the real fire alarm under the environment with high early warning information and the sending environment How to handle.
The information processing method for fire early warning can effectively improve the success probability of rechecking the message by setting a retry mechanism for the fire monitoring platform, meets the recording of the monitoring platform on the fire alarm information processing flow, reduces the waiting time, and is convenient for fire monitoring personnel to confirm that the fire alarm is a real fire alarm at the first time, thereby assisting the fire monitoring department to check and process the alarm condition in time.
Example 3
The above-described aspects of the present invention will be further illustrated with reference to preferred embodiments.
Fig. 3 is a schematic diagram of another information processing system for fire early warning according to an embodiment of the present invention. As shown in fig. 3, the information processing system for fire early warning includes a fire early warning device 31, a fire early warning platform 32, and a fire supervision platform 33.
In this embodiment, the fire early warning device 31 uploads the early warning information to the fire early warning platform 32, and after receiving the early warning information, the fire early warning platform 32 sends the early warning information to the fire supervision platform 33, on the one hand, needs to automatically recheck the fire alarm for the early warning information, and after obtaining the rechecking information, sends the rechecking information to the fire supervision platform 33, so that the fire supervisor can know the alarm at the first time and timely process the alarm.
According to the information processing system for fire early warning, the early warning information is uploaded to the fire early warning platform through the fire early warning device during early warning, and the early warning information is forwarded to the fire monitoring platform through the fire early warning platform, so that the problem that the information automatically rechecked by the fire early warning platform cannot correspond to the fire early warning information during the alarm of the fire early warning device under the high concurrency condition is solved, and the technical effect that the information automatically rechecked by the fire early warning platform can correspond to the fire early warning information during the rechecking process is further realized.
Fig. 4 is a flowchart of another information processing method for fire early warning according to an embodiment of the present invention. As shown in fig. 4, the method may include the steps of:
step S402, obtaining the rechecking message.
In the technical solution provided by the step S402 of the present invention, the rechecking message and the early warning message sent by the fire early warning platform can be obtained by the fire monitoring platform, and the rechecking message and the early warning message are placed in the RabbitMQ message queue, and then the early warning message is processed by a separate service, and the fire monitoring platform then places the processed early warning message in a remote dictionary service buffer (Redis buffer) so as to take the processed early warning message when processing the rechecking message.
Step S404, whether corresponding early warning information exists in the remote dictionary service buffer is judged.
In the technical solution provided in step S404 of the present invention, after the fire-fighting supervisory platform acquires the rechecking message, it can determine whether the remote dictionary service buffer has the early warning information corresponding to the rechecking message, so as to achieve the purpose of one-to-one correspondence between the rechecking message and the early warning information in the fire-fighting supervisory platform, when there is no corresponding early warning information in the remote dictionary service buffer, it jumps to step S406, and when there is corresponding early warning information in the remote dictionary service buffer, it jumps to step S408.
In step S406, it is determined whether or not the number of retries is exceeded.
In the technical solution provided by the step S406, if there is no corresponding pre-warning information in the remote dictionary service cache, the fire protection monitoring platform needs to obtain the rechecking message corresponding to the pre-warning information again, at this time, in order to avoid the fire protection monitoring platform obtaining the rechecking message all the time, a retry mechanism needs to be preset for the fire protection monitoring platform, a retry number is preset in the retry mechanism, then it is determined whether the number of times that the fire protection monitoring platform actually obtains the rechecking message exceeds the retry number, when the number of times that the fire protection monitoring platform actually obtains the rechecking message does not exceed the retry number, step S402 is skipped, so that the fire protection monitoring platform can obtain the rechecking message corresponding to the pre-warning information again, and when the number of times that the fire protection monitoring platform actually obtains the rechecking message exceeds the retry number, step S410 is skipped.
And step S408, reserving the early warning information.
In the technical solution provided in step S408 of the present invention, when corresponding early warning information exists in the remote dictionary service buffer, the fire monitoring platform may retain the early warning information, so that the fire monitoring personnel may process the early warning information.
Step S410, recording the review information log and discarding the review information.
In the technical solution provided in step S410 of the present invention, when the number of times that the fire-fighting supervision platform actually acquires the review message exceeds the retry number, in order to avoid the situation of message accumulation or deadlock occurring in the message queue and to ensure the stability of the fire-fighting supervision platform, the fire-fighting supervision platform needs to record the log information of the acquired review message, and discard the review message that exceeds the target number of times.
Through the information processing method for fire early warning of the embodiment, the retry mechanism is set for the fire monitoring platform, the success probability of rechecking the message can be effectively improved, the recording of the monitoring platform on the fire alarm information processing flow is met, the waiting time is reduced, the fire monitoring personnel can confirm that the fire alarm is the real fire alarm at the first time, and the fire monitoring department is assisted to check and process the alarm condition in time.
Example 4
The embodiment of the invention also provides an information processing device for fire early warning. It should be noted that the information processing apparatus for fire early warning of this embodiment can be used to execute the information processing method for fire early warning of embodiment 2 of the present invention.
Fig. 5 is a schematic diagram of an information processing apparatus for fire early warning according to an embodiment of the present invention. As shown in fig. 5, the information processing apparatus 50 for fire early warning may include: a first acquisition unit 51, a second acquisition unit 52 and a determination unit 53.
A first obtaining unit 51, configured to obtain, by the fire monitoring platform, first early warning information sent by the fire early warning platform, where the first early warning information is uploaded to the fire early warning platform by the fire early warning device;
the second obtaining unit 52 is configured to obtain, by the fire monitoring platform, a recheck message corresponding to the first early warning information, where the recheck message is obtained by rechecking the first early warning information by the fire early warning platform;
and the determining unit 53 is configured to determine, by the fire-fighting supervision platform, whether to retain the first warning information based on the rechecking message.
According to the information processing device for fire early warning of the embodiment, the fire early warning platform uploads the early warning information to the fire early warning platform, the fire early warning platform forwards the early warning information to the fire supervision platform and rechecks the early warning information, and after the rechecking information corresponding to the early warning information is obtained, the rechecking information is sent to the fire supervision platform, the fire supervision platform can determine whether the corresponding early warning information can be reserved or not based on the obtained rechecking information, so that the problem that the rechecking information is low in probability of success of the early warning information due to the fact that the rechecking information cannot correspond to the early warning information is avoided, the technical effect of improving the probability of success of the rechecking information of the early warning information is achieved.
Example 5
According to an embodiment of the present invention, there is also provided a computer-readable storage medium including a stored program, wherein when the program runs, an apparatus in which the computer-readable storage medium is controlled to execute the information processing method for fire warning in embodiment 2 of the present invention.
Example 6
According to an embodiment of the present invention, there is also provided a processor configured to execute a program, where the information processing method for fire warning in embodiment 2 of the present invention is executed when the program is executed.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and amendments can be made without departing from the principle of the present invention, and these modifications and amendments should also be considered as the protection scope of the present invention.

Claims (8)

1. An information processing method for fire early warning, comprising:
the fire-fighting supervision platform acquires first early warning information sent by a fire early warning platform, wherein the first early warning information is uploaded to the fire early warning platform by fire early warning equipment;
the fire-fighting supervision platform acquires a rechecking message corresponding to the first early warning information, wherein the rechecking message is obtained by rechecking the first early warning information by the fire early warning platform;
the fire-fighting supervision platform determines whether to keep the first early warning information or not based on the rechecking message;
after the fire-fighting supervision platform acquires the rechecking message corresponding to the first early warning information, the method further comprises the following steps: the fire-fighting supervision platform stores the first early warning information to a message queue; the fire-fighting supervision platform converts the first early warning information into second early warning information based on the message queue;
the fire-fighting supervision platform determines whether to retain the first early warning information based on the rechecking message, and the determining comprises the following steps: after the fire-fighting supervision platform converts the first early warning information into the second early warning information based on the message queue, under the condition that the second early warning information corresponding to the rechecking message is stored in a remote dictionary service buffer, the fire-fighting supervision platform determines whether the first early warning information is reserved or not based on the rechecking message;
after the fire surveillance platform converts the first early warning information into the second early warning information based on the message queue, the method further includes: and under the condition that second early warning information corresponding to the rechecking message is not stored in the remote dictionary service buffer, the fire-fighting supervision platform acquires the rechecking message corresponding to the first early warning information again.
2. The method of claim 1, wherein the fire surveillance platform determining whether to retain the first pre-warning information based on the review message comprises:
under the condition that the rechecking message is used for representing that the first early warning information is real, the fire-fighting supervision platform reserves the first early warning information;
and under the condition that the rechecking message is used for indicating that the first early warning information is not true, the fire-fighting supervisory platform ignores the first early warning information.
3. The method of claim 1, wherein the fire-fighting supervisory platform reacquires the review message corresponding to the first warning information, comprising:
determining the times of acquiring the rechecking message by the fire-fighting supervision platform;
and under the condition that the times do not exceed the target times set by the fire-fighting supervision platform, the fire-fighting supervision platform acquires the rechecking message.
4. The method of claim 3, wherein after determining the number of times the fire surveillance platform acquires the review message, the method further comprises:
and under the condition that the times exceed the target times, the fire-fighting supervision platform records the log information of the rechecking message and discards the rechecking message.
5. An information processing system for fire early warning, comprising:
the fire early warning equipment is used for uploading first early warning information;
the fire early warning platform is used for receiving and sending the first early warning information, rechecking the first early warning information and obtaining rechecking information corresponding to the first early warning information;
the fire-fighting supervision platform is used for receiving the first early warning information and the rechecking message and determining whether to reserve the first early warning information or not based on the rechecking message;
the system is also used for storing the first early warning information to a message queue after receiving the rechecking message corresponding to the first early warning information, and converting the first early warning information into second early warning information based on the message queue;
the fire-fighting supervision platform determines whether to retain the first early warning information based on the rechecking message, and the method comprises the following steps: after the fire-fighting supervision platform converts the first early warning information into the second early warning information based on the message queue, under the condition that the second early warning information corresponding to the rechecking message is stored in a remote dictionary service buffer, the fire-fighting supervision platform determines whether the first early warning information is reserved or not based on the rechecking message;
the system is further configured to, after the fire-fighting supervision platform converts the first warning information into the second warning information based on the message queue, acquire the rechecking message corresponding to the first warning information again by the fire-fighting supervision platform when the second warning information corresponding to the rechecking message is not stored in the remote dictionary service cache.
6. An information processing apparatus for fire warning, characterized by comprising:
the fire early warning system comprises a first acquisition unit, a first monitoring unit and a second acquisition unit, wherein the first acquisition unit is used for acquiring first early warning information sent by a fire early warning platform by a fire supervisory platform, and the first early warning information is uploaded to the fire early warning platform by fire early warning equipment;
a second obtaining unit, configured to obtain, by the fire monitoring and administration platform, a recheck message corresponding to the first early warning information, where the recheck message is obtained by the fire early warning platform rechecking the first early warning information;
the determining unit is used for determining whether the first early warning information is reserved or not by the fire-fighting supervision platform based on the rechecking message;
the device is also used for storing the first early warning information to a message queue by the fire-fighting supervision platform after the fire-fighting supervision platform acquires the rechecking message corresponding to the first early warning information; the fire-fighting supervision platform converts the first early warning information into second early warning information based on the message queue;
the determination unit is further configured to implement the fire supervision platform to determine whether to retain the first warning information based on the review message by performing the following steps: after the fire-fighting supervision platform converts the first early warning information into the second early warning information based on the message queue, under the condition that the second early warning information corresponding to the rechecking message is stored in a remote dictionary service buffer, the fire-fighting supervision platform determines whether to reserve the first early warning information based on the rechecking message
The device is further configured to, after the fire-fighting supervision platform converts the first warning information into the second warning information based on the message queue, acquire the rechecking message corresponding to the first warning information again by the fire-fighting supervision platform when the second warning information corresponding to the rechecking message is not stored in the remote dictionary service cache.
7. A computer-readable storage medium, comprising a stored program, wherein the program, when executed, controls an apparatus in which the storage medium is located to perform the method of any of claims 1-4.
8. A processor, characterized in that the processor is configured to run a program, wherein the program when run by the processor performs the method of any of claims 1 to 4.
CN202011248509.XA 2020-11-10 2020-11-10 Information processing method and device for fire early warning, storage medium and processor Active CN112330910B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011248509.XA CN112330910B (en) 2020-11-10 2020-11-10 Information processing method and device for fire early warning, storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011248509.XA CN112330910B (en) 2020-11-10 2020-11-10 Information processing method and device for fire early warning, storage medium and processor

Publications (2)

Publication Number Publication Date
CN112330910A CN112330910A (en) 2021-02-05
CN112330910B true CN112330910B (en) 2022-06-21

Family

ID=74317910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011248509.XA Active CN112330910B (en) 2020-11-10 2020-11-10 Information processing method and device for fire early warning, storage medium and processor

Country Status (1)

Country Link
CN (1) CN112330910B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113128902A (en) * 2021-05-06 2021-07-16 四川大熊猫数字科技发展有限公司 Emergency event immediate report disposal system and disposal method
CN113781736B (en) * 2021-09-23 2022-12-27 深圳市保国特卫安保技术服务有限公司 Building fire-fighting early warning method, system, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158677A (en) * 2013-05-15 2014-11-19 北京捷诺视讯数码科技有限公司 Safety state analysis alarm module, system and method
CN104408898A (en) * 2014-10-27 2015-03-11 福建星网锐捷安防科技有限公司 Alarm information combination determination based method and apparatus for improving alarm accuracy
CN104794228A (en) * 2015-04-30 2015-07-22 北京奇艺世纪科技有限公司 Search result providing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10635433B2 (en) * 2017-08-24 2020-04-28 General Electric Company Cross application behavior customization

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158677A (en) * 2013-05-15 2014-11-19 北京捷诺视讯数码科技有限公司 Safety state analysis alarm module, system and method
CN104408898A (en) * 2014-10-27 2015-03-11 福建星网锐捷安防科技有限公司 Alarm information combination determination based method and apparatus for improving alarm accuracy
CN104794228A (en) * 2015-04-30 2015-07-22 北京奇艺世纪科技有限公司 Search result providing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于PGIS的接处警综合系统的设计与实现;段绸;《中国优秀硕士学位论文全文数据库信息科技辑》;20160715(第7期);I138-396 *

Also Published As

Publication number Publication date
CN112330910A (en) 2021-02-05

Similar Documents

Publication Publication Date Title
CN112330910B (en) Information processing method and device for fire early warning, storage medium and processor
KR102167613B1 (en) Message push method and device
CN113238913A (en) Intelligent server fault pushing method, device, equipment and storage medium
CN107577578B (en) Method, device and equipment for counting delay of NFS operation word and storage medium
CN108924202B (en) Distributed cluster data disaster tolerance method and related device
CN110351311B (en) Load balancing method
JP2020537405A5 (en)
CN109714409A (en) A kind of management method and system of message
CN109242739A (en) Traffic accident treatment method, system and server
CN101883009A (en) Method, system and network management device for automatically acquiring reliability data
CN108063832B (en) Cloud storage system and storage method thereof
CN113535518B (en) Distributed real-time dynamic monitoring method and system for user behaviors
CN110534136B (en) Recording method and device
CN109302324A (en) A kind of private clound monitoring and early warning method and system
CN113691600A (en) Synchronization method and device of equipment state information and computer readable storage medium
CN116489019B (en) Intelligent visual signaling channel management method, system and medium
CN112910733A (en) Full link monitoring system and method based on big data
CN110569178B (en) Interface early warning method and system based on big data platform
CN109921920A (en) A kind of failure information processing method and relevant apparatus
CN205050286U (en) Early fire detection alarm system
CN110569238A (en) data management method, system, storage medium and server based on big data
CN115330262A (en) Smart city public management method, system and storage medium
CN112530148A (en) Information pushing method and device and fire fighting system
CN114373150A (en) Factory monitoring method and device, electronic equipment and storage medium
CN107564250B (en) A kind of alarm method and 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