CN115086290B - Method for linkage alarm of multiple screens - Google Patents
Method for linkage alarm of multiple screens Download PDFInfo
- Publication number
- CN115086290B CN115086290B CN202210660595.8A CN202210660595A CN115086290B CN 115086290 B CN115086290 B CN 115086290B CN 202210660595 A CN202210660595 A CN 202210660595A CN 115086290 B CN115086290 B CN 115086290B
- Authority
- CN
- China
- Prior art keywords
- alarm
- screen
- page
- real
- time
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/181—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Multimedia (AREA)
- Alarm Systems (AREA)
Abstract
The invention discloses a method for linkage alarm of a plurality of screens, which comprises the following steps: step one, judging a current split screen mode, and determining whether the split screen mode currently in is a one-screen mode, a two-screen mode or a three-screen mode; and step two, monitoring whether the current alarm state exists or not, and displaying according to the split screen mode determined in the step one. According to the method for linkage alarm of multiple screens, provided by the invention, the screen splitting mode can be effectively determined through the arrangement of the first step and the second step, and then the corresponding alarm linkage display is carried out according to the screen splitting mode.
Description
Technical Field
The invention relates to an alarm method, in particular to a method for linkage alarm of a plurality of screens.
Background
In the scene of the Internet of things, the types of accessed equipment are various, and in the traditional one-screen mode, if equipment triggers real-time alarm, the spatial position information of the alarm equipment, the alarm state of an alarm center and the real-time alarm video cannot be displayed at the same time. If the corresponding information data or the alarm video is required to be checked, the corresponding function is required to be opened, namely more operations are required to check the data and the video related to the alarm equipment, and the linkage among the equipment space information, the alarm center data and the alarm video is lacked.
The existing one-screen mode has the following disadvantages: the method is limited by one screen space, the related data quantity which can be displayed is limited, more data can be displayed only in a pop-up layer mode, unidirectional notification is realized from experience sense, bidirectional interaction is not available, the linkage between equipment space information, alarm center data and alarm video is absent, and when other menus or functional pages are operated to jump away, the alarm center data and video recordings cannot be synchronously watched.
Disclosure of Invention
Aiming at the defects of the prior art, the invention aims to provide a method for integrating split screen linkage functions into a whole with mutual linkage and multiple screen linkage alarms by combining software and hardware.
In order to achieve the above purpose, the present invention provides the following technical solutions: a method for multiple screen linked alarms, comprising the steps of:
step one, judging a current split screen mode, and determining whether the split screen mode currently in is a one-screen mode, a two-screen mode or a three-screen mode;
monitoring whether the current state is in an alarm state or not, displaying according to the split screen mode determined in the first step, when the current state is in the one-screen mode, displaying a main operation page on the screen page, or when the current state is in the alarm state, jumping the screen page to an alarm center-real-time alarm page, simultaneously displaying alarm information and processing operation on the screen page in an elastic layer, displaying a plane view of the current alarm equipment and real-time alarm video of the equipment on the screen page, when the current state is in the two-screen mode, displaying the main operation page on the main screen, displaying a real-time video page on the second screen, or when the current state is in the alarm state, jumping the main operation page to the alarm center-real-time alarm page, simultaneously displaying the alarm information and processing operation on the screen page in the elastic layer, and displaying the real-time alarm video of the alarm equipment on the second screen in sequence; when the three-screen mode is determined and the current state is normal, the main screen displays a main operation page, the second screen displays a real-time video page, the third screen displays an alarm center-real-time alarm page, or when the current state is alarm, the main screen page jumps to a plane view page where the current alarm equipment is located, the second screen real-time video page sequentially displays real-time alarm videos of the alarm equipment, the third screen displays the alarm center-real-time alarm page, and an alarm processing operation frame pops up.
As a further improvement of the invention, the specific steps of monitoring whether the alarm state is currently in the second step are as follows:
firstly, a screen enters a project page, after entering the project page, a main page registers a Websocket, monitors a message event, receives alarm data pushed by the Websocket in real time, and registers a storage event in other screen pages;
step two, when the equipment triggers the real-time alarm, the back end pushes related data of the current alarm equipment through the Websocket, the data are cached in the storage after being processed, and if the real-time alarm is not triggered, the back end returns to monitor the message event continuously;
and step two, if the field related to the real-time alarm is updated in the storage cache, immediately executing the registered event processing function, linking other screens in real time, and if the field related to the real-time alarm is not updated, returning to monitor the storage event.
As a further improvement of the present invention, the specific steps of monitoring the message event in the second step are as follows:
step two, the front end initiates ws connection to the rear end;
step two, the rear end directly pushes the existing alarm record to the front end;
and step two, step three, the front end sends out timing ping to the back end, and the back end simultaneously sends out response ping to the front end.
As a further improvement of the invention, the specific steps of receiving the alarm data pushed by the Websocket in real time in the step two are as follows:
step two, when an alarm is generated externally, pushing equipment data for generating the alarm to the front end by the rear end, and pushing the alarm to the front end after the alarm is processed or recovered;
and step two, fifth, the mutual return operation between the front end and the rear end marks the alarm record through an interface.
The method has the beneficial effects that through the arrangement of the first step and the second step, the current split screen mode can be effectively judged, then targeted linkage display is carried out according to the selected split screen mode, the bidirectional interaction is effectively increased, and the linkage between equipment space information, alarm center data and alarm videos is increased.
Drawings
FIG. 1 is a flow chart of a method of multiple screen alarm linkage of the present invention;
FIG. 2 is a flow chart of alarm state monitoring;
FIG. 3 is a data push flow chart;
FIG. 4 is a schematic diagram of a home screen effect in an example;
FIG. 5 is a schematic diagram of a second screen effect in an example;
fig. 6 is a schematic diagram of a third screen effect in an example.
Detailed Description
The present invention will be further described in detail with reference to the embodiments shown in the drawings, wherein hardware is first required to be configured in the process of using the method of the present embodiment, and the specific configuration flow is as follows: the three screens are connected with a host, and homepages, real-time video playing pages and alarm center pages are played in the three screens; the software communication of the three pages is realized by using a front-end local buffer memory, and the hardware communication is realized by using a 1-to-3 video card.
Referring to fig. 1, a method for multi-screen linkage alarm in this embodiment includes the following steps:
step one, judging a current split screen mode, and determining whether the split screen mode currently in is a one-screen mode, a two-screen mode or a three-screen mode;
monitoring whether the current state is in an alarm state or not, displaying according to the split screen mode determined in the first step, when the current state is in the one-screen mode, displaying a main operation page on the screen page, or when the current state is in the alarm state, jumping the screen page to an alarm center-real-time alarm page, simultaneously displaying alarm information and processing operation on the screen page in an elastic layer, displaying a plane view of the current alarm equipment and real-time alarm video of the equipment on the screen page, when the current state is in the two-screen mode, displaying the main operation page on the main screen, displaying a real-time video page on the second screen, or when the current state is in the alarm state, jumping the main operation page to the alarm center-real-time alarm page, simultaneously displaying the alarm information and processing operation on the screen page in the elastic layer, and displaying the real-time alarm video of the alarm equipment on the second screen in sequence; when the three-screen mode is determined, and the three-screen mode is currently in a normal state, the main screen displays a main operation page, the second screen displays a real-time video page, the third screen displays an alarm center-real-time alarm page, or when the three-screen mode is currently in an alarm state, the main screen page jumps to a plane view page where the current alarm equipment is located, the second screen real-time video page displays real-time alarm videos of the alarm equipment in sequence, the third screen displays the alarm center-real-time alarm page, and an alarm processing operation frame pops up, so that linkage of the two screens or the three screens is effectively realized, and information of the alarm center and the real-time video page can be checked while the main page operates different functions. Different data information of the alarm equipment can be displayed in the three screens respectively when the equipment alarms, and meanwhile, the operating frequency of a user can be reduced, and the efficiency of processing the problems is improved.
As an improved specific embodiment, as shown in fig. 2, the specific steps of monitoring whether the alarm state is currently in the second step are as follows:
firstly, a screen enters a project page, after entering the project page, a main page registers a Websocket, monitors a message event, receives alarm data pushed by the Websocket in real time, and registers a storage event in other screen pages;
step two, when the equipment triggers the real-time alarm, the back end pushes related data of the current alarm equipment through the Websocket, the data are cached in the storage after being processed, and if the real-time alarm is not triggered, the back end returns to monitor the message event continuously;
step two, if the field related to real-time alarm is updated in the storage cache, the registered event processing function is immediately executed, other screens are linked in real time, if the field related to real-time alarm is not updated, monitoring of the storage event is returned, and because the implementation scheme used in the three-screen linkage of the embodiment is to monitor the storage event, the alarm data is cached in the storage on the main page, and because the alarm center page and the video page have monitoring of the storage event, the corresponding event processing function is triggered, and three-screen linkage operation is performed.
As an improved specific embodiment, the specific steps of monitoring the message event in the second step are as follows:
step two, the front end initiates ws connection to the rear end;
step two, the rear end directly pushes the existing alarm record to the front end;
step two, three, the front end sends out timing ping to the back end, the back end sends out response ping to the front end at the same time, through the arrangement of the above steps, the front end can effectively realize that the front end monitors the back end message event.
As an improved specific embodiment, as shown in fig. 3, the specific steps for receiving the alarm data pushed by the Websocket in real time in the first step are as follows:
step two, when an alarm is generated externally, pushing equipment data for generating the alarm to the front end by the rear end, and pushing the alarm to the front end after the alarm is processed or recovered;
step two and step five, the mutual return operation between front end and the rear end marks the alarm record through the interface, through the setting of above-mentioned step, the rear end alright real-time propelling movement alarm condition to the front end, and the equipment data of production warning has been pushed, consequently the staff that is in the front end can better know the alarm condition.
The embodiment mainly adopts the case of three-screen display, and specific example cases are shown in fig. 4, 5 and 6.
In summary, the method of the embodiment adopts the mode of determining the split screen mode first and then displaying according to the split screen mode in a targeted manner, so that on one hand, the problem of one-screen display in the prior art can be effectively avoided by utilizing multiple screens, on the other hand, one-screen display can be realized under the condition of insufficient hardware of the device, and the applicability is effectively increased.
The above description is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above examples, and all technical solutions belonging to the concept of the present invention belong to the protection scope of the present invention. It should be noted that modifications and adaptations to the present invention may occur to one skilled in the art without departing from the principles of the present invention and are intended to be within the scope of the present invention.
Claims (4)
1. A method for linkage alarm of a plurality of screens is characterized in that: the method comprises the following steps:
step one, judging a current split screen mode, and determining whether the split screen mode currently in is a one-screen mode, a two-screen mode or a three-screen mode;
monitoring whether the current state is in an alarm state or not, displaying according to the split screen mode determined in the first step, when the current state is in the one-screen mode, displaying a main operation page on the screen page, or when the current state is in the alarm state, jumping the screen page to an alarm center-real-time alarm page, simultaneously displaying alarm information and processing operation on the screen page in an elastic layer, displaying a plane view of the current alarm equipment and real-time alarm video of the equipment on the screen page, when the current state is in the two-screen mode, displaying the main operation page on the main screen, displaying a real-time video page on the second screen, or when the current state is in the alarm state, jumping the main operation page to the alarm center-real-time alarm page, simultaneously displaying the alarm information and processing operation on the screen page in the elastic layer, and displaying the real-time alarm video of the alarm equipment on the second screen in sequence; when the three-screen mode is determined and the current state is normal, the main screen displays a main operation page, the second screen displays a real-time video page, the third screen displays an alarm center-real-time alarm page, or when the current state is alarm, the main screen page jumps to a plane view page where the current alarm equipment is located, the second screen real-time video page sequentially displays real-time alarm videos of the alarm equipment, the third screen displays the alarm center-real-time alarm page, and an alarm processing operation frame pops up.
2. The method for multiple screen linked alarms of claim 1, wherein: the specific steps for monitoring whether the current alarm state exists in the second step are as follows:
firstly, a screen enters a project page, after entering the project page, a main page registers a Websocket, monitors a message event, receives alarm data pushed by the Websocket in real time, and registers a storage event in other screen pages;
step two, when the equipment triggers the real-time alarm, the back end pushes related data of the current alarm equipment through the Websocket, the data are cached in the storage after being processed, and if the real-time alarm is not triggered, the back end returns to monitor the message event continuously;
and step two, if the field related to the real-time alarm is updated in the storage cache, immediately executing the registered event processing function, linking other screens in real time, and if the field related to the real-time alarm is not updated, returning to monitor the storage event.
3. The method for multiple screen linked alarms of claim 2, wherein: the specific steps of monitoring the message event in the second step are as follows:
step two, the front end initiates ws connection to the rear end;
step two, the rear end directly pushes the existing alarm record to the front end;
and step two, step three, the front end sends out timing ping to the back end, and the back end simultaneously sends out response ping to the front end.
4. A method of multiple screen linked alarms according to claim 3, characterized in that: the specific steps of receiving the alarm data pushed by the Websocket in real time in the step two are as follows:
step two, when an alarm is generated externally, pushing equipment data for generating the alarm to the front end by the rear end, and pushing the alarm to the front end after the alarm is processed or recovered;
and step two, fifth, the mutual return operation between the front end and the rear end marks the alarm record through an interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210660595.8A CN115086290B (en) | 2022-06-13 | 2022-06-13 | Method for linkage alarm of multiple screens |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210660595.8A CN115086290B (en) | 2022-06-13 | 2022-06-13 | Method for linkage alarm of multiple screens |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115086290A CN115086290A (en) | 2022-09-20 |
CN115086290B true CN115086290B (en) | 2023-06-20 |
Family
ID=83251025
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210660595.8A Active CN115086290B (en) | 2022-06-13 | 2022-06-13 | Method for linkage alarm of multiple screens |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115086290B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104954884A (en) * | 2015-06-15 | 2015-09-30 | 北京博威康技术有限公司 | Method and system for showing real-time warning information and historical warning information in same screen |
CN105338293A (en) * | 2014-08-04 | 2016-02-17 | 杭州海康威视数字技术股份有限公司 | Output display method and device for alarm event |
CN114283565A (en) * | 2021-12-10 | 2022-04-05 | 西安万像电子科技有限公司 | Multi-screen seat machine early warning method and device, electronic equipment and storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012083484A (en) * | 2010-10-08 | 2012-04-26 | Seiko Epson Corp | Display device, control method of display device, and program |
JP5522149B2 (en) * | 2011-11-09 | 2014-06-18 | 横河電機株式会社 | Operation monitoring screen display device and operation monitoring screen display method |
-
2022
- 2022-06-13 CN CN202210660595.8A patent/CN115086290B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105338293A (en) * | 2014-08-04 | 2016-02-17 | 杭州海康威视数字技术股份有限公司 | Output display method and device for alarm event |
CN104954884A (en) * | 2015-06-15 | 2015-09-30 | 北京博威康技术有限公司 | Method and system for showing real-time warning information and historical warning information in same screen |
CN114283565A (en) * | 2021-12-10 | 2022-04-05 | 西安万像电子科技有限公司 | Multi-screen seat machine early warning method and device, electronic equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
城市报警与监控系统软件设计;黄俊;《中国优秀硕士学位论文全文数据库(电子期刊)》;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN115086290A (en) | 2022-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102436734B1 (en) | method for confirming a position of video playback node, apparatus, electronic equipment, computer readable storage medium and computer program | |
WO2018145594A1 (en) | Live video broadcast method and apparatus, and live streaming server | |
TWI509409B (en) | Methods and systems for viewing log data recorded during execution of a program | |
US11825034B2 (en) | Bullet screen delivery method for live broadcast playback and live video bullet screen playback method | |
EP2179583B1 (en) | Method and apparatus for automated content marking | |
KR20160097870A (en) | System and method for browsing summary image | |
US11233977B2 (en) | System and method for mapping of text events from multiple sources with camera outputs | |
CN111209437A (en) | Label processing method and device, storage medium and electronic equipment | |
CN103618766A (en) | Method and webgame interaction server for performing webgame interaction | |
WO2020033612A1 (en) | Event recording system and method | |
CN115086290B (en) | Method for linkage alarm of multiple screens | |
CN112188221B (en) | Play control method, play control device, computer equipment and storage medium | |
JP2002152721A (en) | Video display method and device for video recording and reproducing device | |
CN105451098A (en) | Method and device for providing multimedia file | |
CN112887794A (en) | Video editing method and device | |
CN112738620A (en) | Media resource screen projection method, equipment and system | |
CN107995538B (en) | Video annotation method and system | |
CN107450992B (en) | Method, storage medium, device and system for synchronous communication between title bar and popup bar | |
CN112307384B (en) | Page snapshot display method and device, electronic equipment and storage medium | |
CN112201047B (en) | Suspected vehicle foothold analysis method and device based on Flink framework | |
AU2008264196A1 (en) | Interactive video surveillance review and reporting system | |
CN105100914A (en) | Video play method and device | |
CN114302180A (en) | Video single-frame playing method, device, server, system and storage medium | |
JP2022045564A (en) | Viewing analyzer | |
CN113891136A (en) | Video playing method and device, electronic equipment and storage medium |
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 |