CN115798136A - Security equipment alarm information processing method and device - Google Patents
Security equipment alarm information processing method and device Download PDFInfo
- Publication number
- CN115798136A CN115798136A CN202310044432.1A CN202310044432A CN115798136A CN 115798136 A CN115798136 A CN 115798136A CN 202310044432 A CN202310044432 A CN 202310044432A CN 115798136 A CN115798136 A CN 115798136A
- Authority
- CN
- China
- Prior art keywords
- alarm information
- alarm
- information
- event
- playing
- 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
Links
- 230000010365 information processing Effects 0.000 title claims description 20
- 238000003672 processing method Methods 0.000 title claims description 14
- 238000000034 method Methods 0.000 claims abstract description 53
- 238000012545 processing Methods 0.000 claims abstract description 47
- 238000004891 communication Methods 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 14
- 230000008569 process Effects 0.000 abstract description 23
- 238000010586 diagram Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000000872 buffer Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000009545 invasion Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000000779 smoke Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Landscapes
- Alarm Systems (AREA)
Abstract
The embodiment of the invention provides a method and a device for processing alarm information of security equipment, relating to the technical field of security equipment, wherein the method comprises the following steps: after receiving alarm information sent by security equipment, storing the alarm information, and determining a video channel of video acquisition equipment installed in a scene where an alarm event occurs; playing the alarm information in a voice mode; and acquiring video data acquired by the video acquisition equipment through the video channel, and playing the acquired video data. The embodiment of the invention can be applied to process the alarm information generated by the security equipment.
Description
Technical Field
The invention relates to the technical field of security equipment, in particular to a method and a device for processing alarm information of security equipment.
Background
The security device may include: entrance guard's equipment, video equipment, intercom equipment, fire-fighting equipment etc. mainly install scenes such as district, office building, parking area for detect the security situation of above-mentioned scene, and when detecting that above-mentioned scene security problem appears, generate alarm information, so that the staff handles alarm information, guarantee safety. Such as: if a fire disaster occurs in the office building, the fire fighting equipment generates alarm information for informing workers of the fire disaster occurring in the office building, or pedestrians forcibly invade a cell gate, and the entrance guard equipment generates alarm information for informing the workers of the forced invasion of the cell gate.
A scheme is required to be provided, which can process the alarm information generated by the security device, so that the staff can determine the scene in which the alarm event occurs and the alarm event in the scene, and further ensure the safety of the scene.
Disclosure of Invention
The embodiment of the invention aims to provide a method and a device for processing alarm information of security equipment, which are used for processing the alarm information generated by the security equipment. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a security device alarm information processing method, which is applied to an alarm event processing device, and the method includes:
after alarm information sent by security equipment is received, the alarm information is stored, and a video channel of video acquisition equipment installed in a scene where an alarm event occurs is determined, wherein the alarm information at least comprises the following sub-information: the event type of the alarm event, the identifier of the video channel, or the alarm information further includes at least one of the following sub-information: the method comprises the steps of generating equipment information of security equipment of alarm information, alarm levels of alarm events and scene information of scenes where the alarm events occur;
playing the alarm information in a voice mode;
and acquiring the video data acquired by the video acquisition equipment through the video channel, and playing the acquired video data.
Optionally, the playing the alarm information in the form of voice includes:
judging whether the same repeated alarm information exists in the received and unplayed alarm information;
if yes, playing one piece of alarm information in the repeated alarm information in a voice mode.
Optionally, the determining whether the same repeated warning information exists in the received and unplayed warning information includes:
aiming at any two pieces of received alarm information which are not played, determining whether sub-information contained in the two pieces of alarm information are the same or not;
and if the two pieces of alarm information are the same, determining that the two pieces of alarm information are repeated alarm information.
Optionally, the storing the alarm information includes:
storing the alarm information in an alarm information queue;
the playing of the alarm information in the form of voice includes:
reading alarm information from the alarm information queue, splicing the read alarm information into a json data format, and pushing the spliced alarm information to an application interface;
and operating a front-end program to acquire the spliced alarm information from the application interface and playing the alarm information in a voice mode.
In a second aspect, an embodiment of the present invention provides an apparatus for processing alarm information of security equipment, which is applied to an alarm event processing device, and the apparatus includes:
the alarm information storage module is used for storing the alarm information after receiving the alarm information sent by the security equipment and determining a video channel of the video acquisition equipment installed in a scene where an alarm event occurs, wherein the alarm information at least comprises the following sub-information: the event type of the alarm event, the identification of the video channel, or the alarm information further includes at least one of the following sub-information: generating equipment information of security equipment of an alarm event, an alarm level of the alarm event and scene information of a scene where the alarm event occurs;
the first voice playing module is used for playing the alarm information in a voice mode;
and the video playing module is used for acquiring the video data acquired by the video acquisition equipment through the video channel and playing the acquired video data.
Optionally, the first voice playing module includes:
the repeated alarm information judgment submodule is used for judging whether the same repeated alarm information exists in the received alarm information which is not played;
and the second voice playing submodule is used for playing one piece of alarm information in the repeated alarm information in a voice mode if the repeated alarm information exists.
Optionally, the above repeated alarm information determining sub-module is specifically configured to:
aiming at any two pieces of received alarm information which are not played, determining whether sub-information contained in the two pieces of alarm information are the same or not;
and if the two pieces of alarm information are the same, determining that the two pieces of alarm information are repeated alarm information.
Optionally, the warning information storage module is specifically configured to:
storing the alarm information in an alarm information queue;
the first voice playing module is specifically configured to:
reading alarm information from the alarm information queue, splicing the read alarm information into a json data format, and pushing the spliced alarm information to an application interface;
and running a front-end program to acquire the spliced alarm information from the application interface and playing the alarm information in a voice mode.
In a third aspect, an electronic device includes a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface communicate with each other via the communication bus;
a memory for storing a computer program;
a processor for implementing any of the method steps of the first aspect described above when executing a program stored in the memory.
In a fourth aspect, a computer-readable storage medium has stored therein a computer program which, when executed by a processor, performs any of the method steps of the first aspect.
The embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a security equipment alarm information processing method, which is applied to alarm event processing equipment and comprises the following steps: after receiving the alarm information sent by the security equipment, storing the alarm information, and determining a video channel of video acquisition equipment installed in a scene where an alarm event occurs, wherein the alarm information at least comprises the following sub-information: the event type of the alarm event, the identification of the video channel, or the alarm information further includes at least one of the following sub-information: generating equipment information of security equipment of an alarm event, an alarm level of the alarm event and scene information of a scene where the alarm event occurs; playing the alarm information in a voice mode; and acquiring the video data acquired by the video acquisition equipment through the video channel, and playing the acquired video data.
As can be seen from the above, after receiving the alarm information sent by the security device, the alarm event processing device stores the alarm information and determines the video channel, because the alarm information at least includes the event type of the alarm event and the identifier of the video channel, and may further include at least one of the following sub-information: the method comprises the steps that equipment information of security equipment generating an alarm event, the alarm level of the alarm event and scene information of a scene where the alarm event occurs are generated, so that the alarm information is played in a voice mode to enable a worker to determine the alarm event, and because the video channel is video acquisition equipment installed in the scene where the alarm event occurs, video data acquired by the video acquisition equipment can be acquired through the video channel, and then the video data is played to enable the worker to view the scene where the alarm event occurs. Therefore, the scheme provided by the embodiment of the invention can process the alarm information sent by the security equipment, so that the staff can determine the alarm event and watch the scene of the alarm event.
In addition, the scheme provided by the embodiment of the invention processes the alarm information from the two aspects of voice playing and video playing, so that a worker can determine the alarm event through voice and can watch the scene of the alarm event, namely the alarm information is processed through the scheme, and the worker can know the alarm event generated in the scene more accurately.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art according to the drawings.
Fig. 1 is a schematic flowchart of a first security device alarm information processing method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a second security device alarm information processing method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a first security device alarm information processing apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a second security device alarm information processing apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment 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 from the embodiments of the present invention by those skilled in the art based on the description, are within the scope of the present invention.
In order to process alarm information generated by security equipment, the embodiment of the invention provides a security equipment alarm information processing method.
The embodiment of the invention provides a security equipment alarm information processing method, which is applied to alarm event processing equipment and comprises the following steps:
after receiving alarm information sent by security equipment, storing the alarm information, and determining a video channel of video acquisition equipment installed in a scene with an alarm event, wherein the alarm information at least comprises the following sub-information: the event type of the alarm event, the identifier of the video channel, or the alarm information further includes at least one of the following sub-information: the method comprises the steps of generating equipment information of security equipment of an alarm event, the alarm level of the alarm event and scene information of a scene where the alarm event occurs;
playing the alarm information in a voice mode;
and acquiring the video data acquired by the video acquisition equipment through the video channel, and playing the acquired video data.
As can be seen from the above, after receiving the alarm information sent by the security device, the alarm event processing device stores the alarm information and determines the video channel, because the alarm information at least includes the event type of the alarm event and the identifier of the video channel, and may further include at least one of the following sub-information: the method comprises the steps that equipment information of security equipment generating an alarm event, the alarm level of the alarm event and scene information of a scene where the alarm event occurs are generated, so that the alarm information is played in a voice mode to enable a worker to determine the alarm event, and because the video channel is video acquisition equipment installed in the scene where the alarm event occurs, video data acquired by the video acquisition equipment can be acquired through the video channel, and then the video data is played to enable the worker to view the scene where the alarm event occurs. Therefore, the scheme provided by the embodiment of the invention can process the alarm information sent by the security equipment, so that the staff can determine the alarm event and watch the scene of the alarm event.
In addition, the scheme provided by the embodiment of the invention processes the alarm information from the two aspects of voice playing and video playing, so that a worker can determine the alarm event through voice and can watch the scene of the alarm event, namely the alarm information is processed through the scheme, and the worker can know the alarm event generated in the scene more accurately.
Fig. 1 is a schematic flowchart of a first security device alarm information processing method provided in an embodiment of the present invention, which is applied to an alarm event processing device, and includes the following steps: step S101-step S103.
Step S101: after receiving the alarm information sent by the security equipment, storing the alarm information, and determining a video channel of the video acquisition equipment installed in a scene where an alarm event occurs.
Firstly, the security device may be an access control device, a video device, an intercom device, a fire fighting device, a security device, an AI (artificial intelligence) device, and the like, and the security device may be installed in a community entrance, an office building, a protection cabin, a parking lot, and other scenes for detecting the security of the scenes, and may generate and send alarm information to an alarm event processing device if the security device detects a security problem in the scenes.
Wherein, the alarm information at least comprises the following sub-information: the event type of the alarm event and the identifier of the video channel may include, in addition to the sub information, at least one of the following sub information: the method comprises the steps of generating equipment information of security equipment of an alarm event, the alarm level of the alarm event and scene information of a scene where the alarm event occurs.
Specifically, the event type of the alarm event may include: fire alarm type, intrusion alarm type, flood alarm type, smoke alarm type, etc.; the identifier of the video channel is used for identifying the video channel of the video acquisition device installed in the scene where the alarm event occurs, wherein the identifier of the video channel may be an ID (Identification) composed of numbers or an ID composed of letters; the device information of the security device generating the alarm event includes: the port number of the security device, an IP (Internet Protocol), and the like; the alarm level of the alarm event is used for representing the severity of the alarm event, the alarm level can be divided into a first level, a second level, a third level and the like, and the higher the level is, the more serious the alarm event is; the scene information indicates a scene in which an alarm event occurs.
In addition, because the alarm information at least includes an identifier of a video channel of a video capture device installed in a scene where an alarm event occurs, the alarm event processing device may determine the video channel through the identifier, where the video capture device may be a monitoring device, a video recording device, or the like installed in the scene where the alarm event occurs.
In an embodiment of the present invention, the security device may be an access control device installed in a parking lot, and if the access control device detects that a vehicle forcibly travels through the parking lot, the security device generates a piece of alarm information and sends the alarm information to an alarm event processing device, where the alarm information may include: the event type of the alarm event is an intrusion alarm type, the identifier of the video channel is used for identifying the video channel of the video acquisition equipment installed in the parking lot, and after the alarm event processing equipment receives the alarm information sent by the security equipment, the alarm information is stored, and the video channel is determined according to the identifier of the video channel in the alarm information.
Or, the security device may also be a fire fighting device installed in an office building, and if the security device detects a fire in the office building, the security device may generate a piece of alarm information and send the alarm information to the alarm event processing device, where the alarm information may include: the event type of the alarm event is a fire alarm type, the identifier of the video channel is used for identifying the video channel of video acquisition equipment installed in an office building where a fire occurs, the alarm level of the alarm event is first level, the scene information is the office building, after the alarm event processing equipment receives the alarm information sent by the security equipment, the alarm information is stored, and the video channel is determined through the identifier of the video channel in the alarm information.
In another embodiment of the present invention, the step S101 may be implemented by the step S101A in fig. 2, which is described in detail in the following embodiments and will not be described in detail here.
Step S102: and playing the alarm information in a voice mode.
Specifically, because the alarm information at least includes the event type of the alarm event, the event type in the alarm information can be played in a voice mode, and further, the worker can determine the alarm event.
Such as: if the event type of the alarm event is a fire alarm type, the voice playing may be: "fire event" occurs.
In addition, the alarm information may further include at least one of the following sub-information: the method comprises the steps that equipment information of security equipment generating alarm events, alarm levels of the alarm events and scene information of scenes generating the alarm events are displayed in a voice mode, so that sub-information in the alarm information can be played in a voice mode, besides the workers can determine the alarm events, the workers can determine the scenes generating the alarm events, or the workers can determine the alarm levels of the alarm events, or the security equipment generating the alarm information, or the workers can simultaneously determine the scenes generating the alarm events, the alarm levels of the alarm events, the security equipment generating the alarm information and the like.
Such as: if the alarm information comprises: if the event type is a fire type and the scene information is a parking lot, the voice playing may be: "parking lot send fire event"; if the alarm information comprises: if the event type is a fire type, the scene information is a parking lot, and the alarm level is two levels, the voice playing may be: "parking lot sends fire incident, fire class is second grade" etc..
In an embodiment of the present invention, the step S102 may be implemented by the step S102A to the step S102B in fig. 2, which will be described in detail in the following embodiments and will not be described in detail here.
In another embodiment of the present invention, the step S102 can be implemented as steps a to B in the following, and details thereof will be described in the following embodiments, which will not be described in detail here.
Step S103: and acquiring the video data acquired by the video acquisition equipment through the video channel, and playing the acquired video data.
Specifically, the video channels determined in step S101 are: the video channel of the video acquisition equipment installed in the scene with the alarm event can acquire the video data acquired by the video acquisition equipment installed in the scene with the alarm event through the video channel, namely, the working personnel can watch the scene with the alarm event by playing the video data.
As can be seen from the above, after receiving the alarm information sent by the security device, the alarm event processing device stores the alarm information and determines the video channel, because the alarm information at least includes the event type of the alarm event and the identifier of the video channel, and may further include at least one of the following sub-information: the method comprises the steps that equipment information of security equipment generating an alarm event, the alarm level of the alarm event and scene information of a scene where the alarm event occurs are generated, so that the alarm event can be determined by workers by playing the alarm information in a voice mode, and video data collected by the video collecting equipment can be obtained through the video channel because the video channel is the video collecting equipment installed in the scene where the alarm event occurs, and then the scenes where the alarm event occurs can be watched by the workers by playing the video data. Therefore, the scheme provided by the embodiment of the invention can process the alarm information sent by the security equipment, so that the staff can determine the alarm event and watch the scene of the alarm event.
In addition, the scheme provided by the embodiment of the invention processes the alarm information from the two aspects of voice playing and video playing, so that a worker can determine the alarm event through voice and can watch the scene of the alarm event, namely the alarm information is processed through the scheme, and the worker can know the alarm event generated in the scene more accurately.
Fig. 2 is a flowchart illustrating a second security device alarm information processing method according to an embodiment of the present invention, and compared with the embodiment shown in fig. 1, the step S101 may be implemented by a step S101A, and the step S102 may be implemented by a step S102A to a step S102B.
Step S101A: after alarm information sent by security equipment is received, the alarm information is stored in an alarm information queue, and a video channel of video acquisition equipment installed in a scene where an alarm event occurs is determined.
Specifically, the alarm event processing device may receive a plurality of pieces of alarm information in a short time, and the alarm event processing device may not be capable of processing the plurality of pieces of alarm information at the same time, so that the alarm information may be stored in the alarm information queue after being received.
In an embodiment of the present invention, each time an alarm event processing device receives alarm information sent by a security device, the alarm information is stored in a protobuf (Google Protocol Buffers) structure, and then the protobuf structure is used as a KEY of a redis (Remote Dictionary Server) database and stored in an alarm information Queue in a RabbitMQ (rabbitmessage Queue), where the RabbitMQ is software pre-configured in the alarm event processing device.
Step S102A: and reading the alarm information from the alarm information queue, splicing the read alarm information into a json data format, and pushing the spliced alarm information to an application interface.
Specifically, because the alarm information may include a plurality of pieces of sub information, and part of the sub information may be useless for the worker to determine the alarm event that occurs, the useful sub information in the read alarm information may be spliced into a json data format that can be recognized by the front-end program, and the spliced alarm information may be pushed to the application interface.
In an embodiment of the present invention, the alarm event processing device may sequentially read the alarm information stored in the alarm information queue in the RabbitMQ, determine sub-information in the alarm information that is useful for the worker to determine the alarm event, splice the determined sub-information into a json (file) data format, and then push the json file to a WebSocket (Web Socket, network interface) application interface.
Step S102B: and operating a front-end program to acquire the spliced alarm information from the application interface and playing the alarm information in a voice mode.
Specifically, the alarm event processing device runs the front-end program to obtain the spliced alarm information from the application interface, and the spliced alarm information only includes sub-information useful for the alarm event determined to occur by the staff, so that playing the spliced alarm information in a voice mode can enable the staff to determine the alarm event.
In one embodiment of the invention, the alarm event processing equipment runs a front-end program to acquire spliced alarm information in a json data format from a WebSocket application interface, and then plays the alarm information in a voice mode.
As can be seen from the above, after receiving the alarm information, the alarm event processing device may first store the sub-information in the alarm information queue, then sequentially read each piece of alarm information in the alarm information queue, concatenate the sub-information useful for the alarm event determined by the staff to be generated in the read alarm information into a json data format that can be recognized by the front-end program, and push the concatenated alarm information to the application interface, so that the alarm event processing device can operate the front-end program to obtain the concatenated alarm information from the application interface, and play the alarm information in a voice manner, so that the staff can determine the generated alarm information.
In an embodiment of the present invention, the step S102 may be implemented by the following steps a to B.
Step A: and judging whether the same repeated alarm information exists in the received and unplayed alarm information.
Specifically, after receiving the alarm information sent by the security device, the alarm event processing device stores the alarm information, that is, the alarm event processing device may store a plurality of pieces of alarm information that are not yet played, and the stored plurality of pieces of alarm information may have repeated alarm information, that is, the repeated alarm information indicates the same alarm event, so that if each piece of stored alarm information is played in sequence, the same alarm event may be played repeatedly, and therefore it is necessary to determine whether the same repeated alarm information exists in the received and unplayed alarm information.
In an embodiment of the present invention, the received and unplayed alarm information may be determined whether there is a repeated alarm information that is the same as the alarm information in other stored alarm information, if so, step B is executed, otherwise, the alarm information is played in a voice form.
In another embodiment of the present invention, the step a can be implemented by the step C below, which is detailed in the following embodiments and will not be detailed here.
And B: and playing one of the repeated alarm information in a voice mode.
Specifically, because the same repeated alarm information exists in the alarm information that is received by the alarm event processing device and is not played, the repeated alarm information does not need to be played repeatedly, that is, only one piece of alarm information in the repeated alarm information needs to be played in a voice form.
As can be seen from the above, since the alarm event processing device may store a plurality of pieces of alarm information that have not been played yet, and the stored plurality of pieces of alarm information may have repeated alarm information, that is, the repeated alarm information indicates the same alarm event, if each piece of stored alarm information is played in sequence, the repeated playing of the same alarm event may be caused, therefore, the scheme provided by the embodiment of the present invention may determine whether the same repeated alarm information exists in the received and unplayed alarm information, and determine whether the same repeated alarm information as the alarm information exists in other stored alarm information, and if so, play one piece of alarm information in the repeated alarm information in a voice manner, that is, the same repeated alarm information may not be played, and it is convenient for the staff to perform uniform processing on the alarm events that the plurality of repeated alarm information indicates the same alarm event.
In an embodiment of the present invention, the step a may be implemented by the following step C.
Step C: and determining whether each item of sub-information contained in any two pieces of received and unplayed alarm information is the same.
Specifically, for any two pieces of received and unplayed alarm information, if the sub information included in the two pieces of alarm information are the same, the two pieces of alarm information are considered to be the same two pieces of repeated alarm information, and the step B may be executed, if one of the sub information included in the two pieces of alarm information is different, the two pieces of alarm information are considered to be different repeated alarm information, and the two pieces of alarm information may be played in sequence in a voice manner.
In an embodiment of the present invention, if the sub information in the alarm information includes: the method comprises the steps that for any two pieces of alarm information which are received and not played, if the event type of the alarm event, the identification of the video channel, the equipment information of the security equipment generating the alarm information and the alarm level of the alarm event are the same, the two pieces of alarm information are considered to be two pieces of identical repeated alarm information if the event type of the alarm event, the identification of the video channel, the equipment information and the alarm level of the alarm event in the two pieces of alarm information are the same, and only one piece of alarm information in the repeated alarm information can be played in a voice mode.
As can be seen from the above, it can be determined whether each item of sub information included in the two pieces of alarm information is the same for any two pieces of alarm information that are received and not played, because if each item of sub information included in the two pieces of alarm information is the same, the two pieces of alarm information are regarded as two pieces of identical repeated alarm information, so that one piece of alarm information in the repeated alarm information is played in a voice form, and if only one item of sub information included in the two pieces of alarm information is different, the two pieces of alarm information are regarded as different repeated alarm information, and the two pieces of alarm information can be played in sequence in a voice form.
In an embodiment of the present invention, the alarm event processing device may include: the device access service layer, the service layer and the alarm processing service layer. After receiving the alarm information sent by the security device, the device access service layer may write the alarm information into a protobuf structure, store the protobuf structure as a KEY of a redis database in an alarm information queue in a RabbitMQ, then the service layer may sequentially read the alarm information from the alarm information queue in the RabbitMQ, splice the alarm information into a json data format, push the spliced alarm information to a WebSocket application interface, run a front-end program to obtain the spliced alarm information from the application interface, play the alarm information in a voice form, simultaneously obtain video data acquired by the video acquisition device through the video channel, and play the obtained video data.
Fig. 3 is a schematic structural diagram of a first security device alarm information processing apparatus according to an embodiment of the present invention, and as shown in fig. 3, the apparatus may include the following modules: 301-303.
The alarm information storage module 301: the device comprises a video acquisition device and a security device, and is used for storing alarm information after receiving the alarm information sent by the security device and determining a video channel of the video acquisition device installed in a scene where an alarm event occurs, wherein the alarm information at least comprises the following sub-information: the event type of the alarm event, the identification of the video channel, or the alarm information further includes at least one of the following sub-information: generating equipment information of security equipment of an alarm event, an alarm level of the alarm event and scene information of a scene where the alarm event occurs;
the first voice playing module 302: the alarm information is played in a voice mode;
the video playing module 303: and the video channel is used for acquiring the video data acquired by the video acquisition equipment and playing the acquired video data.
As can be seen from the above, after receiving the alarm information sent by the security device, the alarm event processing device stores the alarm information and determines the video channel, because the alarm information at least includes the event type of the alarm event and the identifier of the video channel, and may further include at least one of the following sub-information: the method comprises the steps that equipment information of security equipment generating an alarm event, the alarm level of the alarm event and scene information of a scene where the alarm event occurs are generated, so that the alarm information is played in a voice mode to enable a worker to determine the alarm event, and because the video channel is video acquisition equipment installed in the scene where the alarm event occurs, video data acquired by the video acquisition equipment can be acquired through the video channel, and then the video data is played to enable the worker to view the scene where the alarm event occurs. Therefore, the scheme provided by the embodiment of the invention can process the alarm information sent by the security equipment, so that the staff can determine the alarm event and watch the scene of the alarm event.
In addition, the scheme provided by the embodiment of the invention processes the alarm information from the two aspects of voice playing and video playing, so that a worker can determine the alarm event through voice and can watch the scene of the alarm event, namely the alarm information is processed through the scheme, and the worker can know the alarm event generated in the scene more accurately.
In an embodiment of the present invention, the alarm information storage module 301 is specifically configured to:
storing the alarm information in an alarm information queue;
the first voice playing module 302 is specifically configured to:
reading alarm information from the alarm information queue, splicing the read alarm information into a json data format, and pushing the spliced alarm information to an application interface;
and operating a front-end program to acquire the spliced alarm information from the application interface and playing the alarm information in a voice mode.
As can be seen from the above, after receiving the alarm information, the alarm event processing device may first store the sub-information in the alarm information queue, then sequentially read each piece of alarm information in the alarm information queue, concatenate the sub-information useful for the alarm event determined by the staff to be generated in the read alarm information into a json data format that can be recognized by the front-end program, and push the concatenated alarm information to the application interface, so that the alarm event processing device can operate the front-end program to obtain the concatenated alarm information from the application interface, and play the alarm information in a voice manner, so that the staff can determine the generated alarm information.
Fig. 4 is a schematic structural diagram of a second security device alarm information processing apparatus according to an embodiment of the present invention, and compared with the embodiment shown in fig. 3, the first voice playing module 302 includes sub-modules: 302A-302B.
The repeated alarm information determination sub-module 302A: the device is used for judging whether the same repeated alarm information exists in the received and unplayed alarm information;
the second voice playing sub-module 302B: and if the repeated alarm information exists, playing one piece of alarm information in the repeated alarm information in a voice mode.
As can be seen from the above, since the alarm event processing device may store a plurality of pieces of alarm information that have not been played yet, and the stored plurality of pieces of alarm information may have repeated alarm information, that is, the repeated alarm information indicates the same alarm event, if each piece of stored alarm information is played in sequence, the repeated playing of the same alarm event may be caused, therefore, the scheme provided by the embodiment of the present invention may determine whether the same repeated alarm information exists in the received and unplayed alarm information, and determine whether the same repeated alarm information as the alarm information exists in other stored alarm information, and if so, play one piece of alarm information in the repeated alarm information in a voice manner, that is, the same repeated alarm information may not be played, and it is convenient for the staff to perform uniform processing on the alarm events that the plurality of repeated alarm information indicates the same alarm event.
In an embodiment of the present invention, the above repeated alarm information determining sub-module 302A is specifically configured to:
aiming at any two pieces of received alarm information which are not played, determining whether sub-information contained in the two pieces of alarm information are the same or not;
and if the two pieces of alarm information are the same, determining that the two pieces of alarm information are repeated alarm information.
As can be seen from the above, it can be determined whether each item of sub information included in the two pieces of alarm information is the same for any two pieces of alarm information that are received and not played, because if each item of sub information included in the two pieces of alarm information is the same, the two pieces of alarm information are regarded as two pieces of identical repeated alarm information, so that one piece of alarm information in the repeated alarm information is played in a voice form, and if only one item of sub information included in the two pieces of alarm information is different, the two pieces of alarm information are regarded as different repeated alarm information, and the two pieces of alarm information can be played in sequence in a voice form.
An embodiment of the present invention further provides an electronic device, as shown in fig. 5, which includes a processor 501, a communication interface 502, a memory 503 and a communication bus 504, where the processor 501, the communication interface 502 and the memory 503 complete mutual communication through the communication bus 504,
a memory 503 for storing a computer program;
the processor 501 is configured to implement any method step of the security device alarm information processing method when executing the program stored in the memory 503.
When the electronic device provided by the embodiment of the present invention is applied to process the alarm information of the security device, after receiving the alarm information sent by the security device, the alarm event processing device stores the alarm information and determines the video channel, because the alarm information at least includes the event type of the alarm event and the identifier of the video channel, and may further include at least one of the following sub-information: the method comprises the steps that equipment information of security equipment generating an alarm event, the alarm level of the alarm event and scene information of a scene where the alarm event occurs are generated, so that the alarm information is played in a voice mode to enable a worker to determine the alarm event, and because the video channel is video acquisition equipment installed in the scene where the alarm event occurs, video data acquired by the video acquisition equipment can be acquired through the video channel, and then the video data is played to enable the worker to view the scene where the alarm event occurs. Therefore, the scheme provided by the embodiment of the invention can process the alarm information sent by the security equipment, so that the staff can determine the alarm event and watch the scene of the alarm event.
In addition, the scheme provided by the embodiment of the invention processes the alarm information from the two aspects of voice playing and video playing, so that a worker can determine the alarm event through voice and can watch the scene of the alarm event, namely the alarm information is processed through the scheme, and the worker can know the alarm event generated in the scene more accurately.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
In another embodiment of the present invention, a computer-readable storage medium is further provided, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of any one of the security device alarm information processing methods.
When the computer-readable storage medium provided in the embodiment of the present invention is used to process the alarm information of the security device, after receiving the alarm information sent by the security device, the alarm event processing device stores the alarm information and determines the video channel, because the alarm information at least includes the event type of the alarm event and the identifier of the video channel, and may further include at least one of the following sub-information: the method comprises the steps that equipment information of security equipment generating an alarm event, the alarm level of the alarm event and scene information of a scene where the alarm event occurs are generated, so that the alarm information is played in a voice mode to enable a worker to determine the alarm event, and because the video channel is video acquisition equipment installed in the scene where the alarm event occurs, video data acquired by the video acquisition equipment can be acquired through the video channel, and then the video data is played to enable the worker to view the scene where the alarm event occurs. Therefore, the scheme provided by the embodiment of the invention can process the alarm information sent by the security equipment, so that a worker can determine the alarm event and watch the scene of the alarm event.
In addition, the scheme provided by the embodiment of the invention processes the alarm information from the two aspects of voice playing and video playing, so that a worker can determine the alarm event through voice and can watch the scene of the alarm event, namely the alarm information is processed through the scheme, and the worker can know the alarm event generated in the scene more accurately.
In another embodiment of the present invention, a computer program product containing instructions is further provided, which when run on a computer, causes the computer to execute any one of the security device alarm information processing methods in the above embodiments.
When the computer program product provided by the embodiment of the present invention is applied to perform security equipment alarm information processing, after receiving alarm information sent by security equipment, an alarm event processing device stores the alarm information and determines the video channel, because the alarm information at least includes an event type of the alarm event and an identifier of the video channel, and may further include at least one of the following sub-information: the method comprises the steps that equipment information of security equipment generating an alarm event, the alarm level of the alarm event and scene information of a scene where the alarm event occurs are generated, so that the alarm information is played in a voice mode to enable a worker to determine the alarm event, and because the video channel is video acquisition equipment installed in the scene where the alarm event occurs, video data acquired by the video acquisition equipment can be acquired through the video channel, and then the video data is played to enable the worker to view the scene where the alarm event occurs. Therefore, the scheme provided by the embodiment of the invention can process the alarm information sent by the security equipment, so that the staff can determine the alarm event and watch the scene of the alarm event.
In addition, the scheme provided by the embodiment of the invention processes the alarm information from the two aspects of voice playing and video playing, so that a worker can determine the alarm event through voice and can watch the scene of the alarm event, namely the alarm information is processed through the scheme, and the worker can know the alarm event generated in the scene more accurately.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus, the electronic device, the storage medium, and the computer program product embodiment, since they are substantially similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for relevant points.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.
Claims (10)
1. A security equipment alarm information processing method is applied to alarm event processing equipment and comprises the following steps:
after alarm information sent by security equipment is received, the alarm information is stored, and a video channel of video acquisition equipment installed in a scene where an alarm event occurs is determined, wherein the alarm information at least comprises the following sub-information: the event type of the alarm event, the identifier of the video channel, or the alarm information further includes at least one of the following sub-information: the equipment information of the security equipment generating the alarm information, the alarm level of the alarm event and the scene information of the scene where the alarm event occurs;
playing the alarm information in a voice mode;
and acquiring the video data acquired by the video acquisition equipment through the video channel, and playing the acquired video data.
2. The method of claim 1, wherein playing the alert message in voice form comprises:
judging whether the same repeated alarm information exists in the received and unplayed alarm information;
and if the repeated alarm information exists, playing one piece of alarm information in the repeated alarm information in a voice mode.
3. The method of claim 2, wherein the determining whether the same repeated warning messages exist in the received and unplayed warning messages comprises:
aiming at any two pieces of received alarm information which are not played, determining whether sub-information contained in the two pieces of alarm information are the same or not;
and if the two pieces of alarm information are the same, determining that the two pieces of alarm information are repeated alarm information.
4. The method of claim 1, wherein the storing the alert information comprises:
storing the alarm information in an alarm information queue;
the playing the alarm information in the form of voice comprises:
reading alarm information from the alarm information queue, splicing the read alarm information into a json data format, and pushing the spliced alarm information to an application interface;
and operating a front-end program to acquire the spliced alarm information from the application interface and playing the alarm information in a voice mode.
5. The security equipment alarm information processing device is applied to alarm event processing equipment and comprises:
the alarm information storage module is used for storing the alarm information after receiving the alarm information sent by the security equipment and determining a video channel of the video acquisition equipment installed in a scene with an alarm event, wherein the alarm information at least comprises the following sub-information: the event type of the alarm event, the identification of the video channel, or the alarm information further includes at least one of the following sub-information: generating equipment information of security equipment of an alarm event, an alarm grade of the alarm event and scene information of a scene where the alarm event occurs;
the first voice playing module is used for playing the alarm information in a voice mode;
and the video playing module is used for acquiring the video data acquired by the video acquisition equipment through the video channel and playing the acquired video data.
6. The apparatus of claim 5, wherein the first voice playing module comprises:
the repeated alarm information judgment submodule is used for judging whether the same repeated alarm information exists in the received alarm information which is not played;
and the second voice playing submodule is used for playing one piece of alarm information in the repeated alarm information in a voice mode if the repeated alarm information exists.
7. The apparatus according to claim 6, wherein the repeated alarm information determination sub-module is specifically configured to:
aiming at any two pieces of received alarm information which are not played, determining whether sub-information contained in the two pieces of alarm information are the same or not;
and if the two pieces of alarm information are the same, determining that the two pieces of alarm information are repeated alarm information.
8. The apparatus according to claim 5, wherein the alarm information storage module is specifically configured to:
storing the alarm information in an alarm information queue;
the first voice playing module is specifically configured to:
reading alarm information from the alarm information queue, splicing the read alarm information into a json data format, and pushing the spliced alarm information to an application interface;
and operating a front-end program to acquire the spliced alarm information from the application interface and playing the alarm information in a voice mode.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 4 when executing a program stored in the memory.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310044432.1A CN115798136A (en) | 2023-01-30 | 2023-01-30 | Security equipment alarm information processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310044432.1A CN115798136A (en) | 2023-01-30 | 2023-01-30 | Security equipment alarm information processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115798136A true CN115798136A (en) | 2023-03-14 |
Family
ID=85429112
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310044432.1A Pending CN115798136A (en) | 2023-01-30 | 2023-01-30 | Security equipment alarm information processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115798136A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118430210A (en) * | 2024-07-03 | 2024-08-02 | 深圳天海宸光科技有限公司 | Method and device for merging repeated event warnings, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104091446A (en) * | 2014-07-11 | 2014-10-08 | 厦门磐道电子有限公司 | Intelligent video analyzing method for pedestrians crossing zebra stripes |
CN105898207A (en) * | 2015-01-26 | 2016-08-24 | 杭州海康威视数字技术股份有限公司 | Intelligent processing method and system of video data |
US20180189600A1 (en) * | 2016-12-30 | 2018-07-05 | Accenture Global Solutions Limited | Multi-Camera Object Tracking |
CN111405222A (en) * | 2019-12-12 | 2020-07-10 | 杭州海康威视系统技术有限公司 | Video alarm method, video alarm system and alarm picture acquisition method |
CN112565379A (en) * | 2020-11-30 | 2021-03-26 | 上海瑞眼科技有限公司 | Data reporting method and system for fire-fighting Internet of things data access platform |
CN114051120A (en) * | 2021-10-26 | 2022-02-15 | 远光软件股份有限公司 | Video alarm method, device, storage medium and electronic equipment |
-
2023
- 2023-01-30 CN CN202310044432.1A patent/CN115798136A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104091446A (en) * | 2014-07-11 | 2014-10-08 | 厦门磐道电子有限公司 | Intelligent video analyzing method for pedestrians crossing zebra stripes |
CN105898207A (en) * | 2015-01-26 | 2016-08-24 | 杭州海康威视数字技术股份有限公司 | Intelligent processing method and system of video data |
US20180189600A1 (en) * | 2016-12-30 | 2018-07-05 | Accenture Global Solutions Limited | Multi-Camera Object Tracking |
CN111405222A (en) * | 2019-12-12 | 2020-07-10 | 杭州海康威视系统技术有限公司 | Video alarm method, video alarm system and alarm picture acquisition method |
CN112565379A (en) * | 2020-11-30 | 2021-03-26 | 上海瑞眼科技有限公司 | Data reporting method and system for fire-fighting Internet of things data access platform |
CN114051120A (en) * | 2021-10-26 | 2022-02-15 | 远光软件股份有限公司 | Video alarm method, device, storage medium and electronic equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118430210A (en) * | 2024-07-03 | 2024-08-02 | 深圳天海宸光科技有限公司 | Method and device for merging repeated event warnings, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113098870B (en) | Phishing detection method and device, electronic equipment and storage medium | |
CN112953971B (en) | Network security flow intrusion detection method and system | |
US9455999B2 (en) | Method and system for protective distribution system (PDS) and infrastructure protection and management | |
CN105306445A (en) | System and method for detecting vulnerability of server | |
KR20160008267A (en) | User's behavior analysis system on the network based video surveillance system | |
CN109936475B (en) | Anomaly detection method and device | |
CN108390856B (en) | DDoS attack detection method and device and electronic equipment | |
CN115798136A (en) | Security equipment alarm information processing method and device | |
CN109255237A (en) | Security event associative analysis method and device | |
CN111221722A (en) | Behavior detection method and device, electronic equipment and storage medium | |
CN116707965A (en) | Threat detection method and device, storage medium and electronic equipment | |
CN110516170B (en) | Method and device for checking abnormal web access | |
CN115706669A (en) | Network security situation prediction method and system | |
CN113360752A (en) | Message pushing method, device, equipment and readable medium | |
CN114006719B (en) | AI verification method, device and system based on situation awareness | |
CN115348479A (en) | Video playing problem identification method, electronic equipment and storage medium | |
CN114039860B (en) | Method and system for quickly constructing server network topology graph | |
CN113726779B (en) | Rule false alarm testing method and device, electronic equipment and computer storage medium | |
CN114584979A (en) | Method and system for sniffing network behavior of mobile terminal user | |
CN113839912B (en) | Method, device, medium and equipment for analyzing abnormal host by active and passive combination | |
CN114546760A (en) | Equipment monitoring method and equipment based on active identification carrier | |
CN113067835A (en) | Integrated self-adaptive collapse index processing system | |
CN111641862A (en) | Live broadcast supervision method and system based on block chain | |
CN112116814B (en) | Abnormal vehicle detection method and device and electronic equipment | |
CN113596051B (en) | Detection method, detection apparatus, electronic device, medium, and computer program |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20230314 |