CN109218093B - Method and system for acquiring alarm - Google Patents

Method and system for acquiring alarm Download PDF

Info

Publication number
CN109218093B
CN109218093B CN201811064082.0A CN201811064082A CN109218093B CN 109218093 B CN109218093 B CN 109218093B CN 201811064082 A CN201811064082 A CN 201811064082A CN 109218093 B CN109218093 B CN 109218093B
Authority
CN
China
Prior art keywords
pctv
alarm
data packet
module
management platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811064082.0A
Other languages
Chinese (zh)
Other versions
CN109218093A (en
Inventor
霍笑南
解君
王洪超
沈军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201811064082.0A priority Critical patent/CN109218093B/en
Publication of CN109218093A publication Critical patent/CN109218093A/en
Application granted granted Critical
Publication of CN109218093B publication Critical patent/CN109218093B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests

Abstract

The embodiment of the invention provides a method and a system for acquiring an alarm, wherein the method comprises the following steps: the PCTV monitors target time of unmanned operation, when the target time exceeds set time, the PCTV generates alarm information, a streaming media server converts the alarm information into an alarm data packet of a video networking protocol, sends the alarm data packet to a monitoring management platform, the monitoring management platform analyzes the alarm data packet, converts the analyzed alarm data packet into an alarm data packet of the Internet protocol, and sends the alarm data packet to the front end of a webpage for display; by the embodiment of the invention, the warning information generated by the PCTV in the Internet is displayed at the front end of the webpage of the video network, so that a manager at the front end of the webpage can acquire the abnormal condition monitored by the PCTV.

Description

Method and system for acquiring alarm
Technical Field
The invention relates to the technical field of video networking, in particular to a method and a system for acquiring an alarm.
Background
The PCTV is a computer tv, which has both the playing function of a tv and some functions of a computer, such as communication, receiving various information from a network, word processing, management, etc. When the PCTV detects an abnormal condition in the operation process, alarm information is sent out.
At present, when a PCTV in the Internet generates alarm information, a manager at the front end of a webpage in the video network cannot know the alarm information, and further cannot know the corresponding abnormal condition.
Disclosure of Invention
In view of the above, embodiments of the present invention are proposed to provide a method and system for acquiring an alarm that overcomes or at least partially solves the above mentioned problems.
In order to solve the above problem, an embodiment of the present invention discloses a method for acquiring an alarm, where the method is applied to a video network, the video network includes a streaming media server, a monitoring management platform, and a web front end, the streaming media server is connected to multiple PCTVs, and the method includes:
the PCTV monitors a target time of unmanned operation;
when the target time exceeds a set time, the PCTV generates alarm information;
the PCTV sends the warning information to the streaming media server;
the streaming media server converts the alarm information into an alarm data packet of a video networking protocol;
the streaming media server sends the alarm data packet of the video networking protocol to a monitoring management platform;
the monitoring management platform analyzes the alarm data packet;
the monitoring management platform converts the analyzed alarm data packet into an alarm data packet of an Internet protocol;
and the monitoring management platform sends the alarm data packet of the Internet protocol to the front end of the webpage for display.
Optionally, the PCTV monitors a target time for unattended operation, comprising: monitoring the target time of mouse immobilization on the screen by the PCTV;
when the target time exceeds a set time, the PCTV generating the warning information includes:
confirming that no one operates the PCTV when the target time exceeds a set time;
the PCTV generates alarm information, wherein the alarm information comprises an account number of the PCTV.
Optionally, before the monitoring management platform converts the analyzed alarm data packet into an alarm data packet of an internet protocol, the method further includes:
and the webpage front end sends a GET request to the monitoring management platform, and data transmitted in the GET request is in a JSON format.
Optionally, before the PCTV sends the warning information to the coordination server, the method further includes:
the PCTV monitors whether the current user operation is the operation of a user bound by the PCTV;
and if the current user operation is not the operation of the user bound by the PCTV, generating alarm information by the PCTV.
Optionally, the PCTV monitoring whether the current user operation is an operation of a native bound user, including:
the PCTV identifies whether the current user is a locally bound user through a camera to determine whether the current user operation is the locally bound user operation.
The embodiment of the invention also discloses a system for acquiring the alarm, which comprises the PCTVs, the streaming media server, the monitoring management platform and the webpage front end, wherein the streaming media server is connected with the PCTVs;
the PCTV includes:
the first monitoring module is used for monitoring the target time of unmanned operation;
the first warning information generating module is used for generating warning information when the target time exceeds the set time;
the sending module is used for sending the alarm information to the streaming media server;
the streaming media server includes:
the conversion module is used for converting the alarm information into an alarm data packet of a video networking protocol;
the sending module is used for sending the alarm data packet of the video networking protocol to a monitoring management platform;
the monitoring management platform comprises:
the analysis module is used for analyzing the alarm data packet;
the conversion module is used for converting the analyzed alarm data packet into an alarm data packet of an Internet protocol;
and the sending module is used for sending the alarm data packet of the Internet protocol to the front end of the webpage for display.
Optionally, the first monitoring module of the PCTV comprises:
the first monitoring submodule is used for monitoring the target time of mouse immobilization on the screen;
the first warning information generating module of the PCTV comprises:
a confirmation module for confirming that the PCTV is operated without a person when the target time exceeds a set time;
and the first alarm information generation submodule is used for generating alarm information, and the alarm information comprises an account of the PCTV.
Optionally, the web page front end includes:
and the request sending module is used for sending a GET request to the monitoring management platform, and the data transmitted in the GET request is in a JSON format.
Optionally, the PCTV further comprises:
the second monitoring module is used for monitoring whether the current user operation is the operation of a user bound by the local machine;
and the second warning information generating module is used for generating warning information if the current user operation is not the operation of the user bound by the local computer, wherein the warning information comprises the account number of the PCTV.
Optionally, the second monitoring module of the PCTV comprises:
and the second monitoring submodule is used for identifying whether the current user is a locally bound user or not through the camera so as to determine whether the current user operation is the locally bound user operation or not.
The embodiment of the invention has the following advantages:
the embodiment of the invention applies the characteristic of video network and provides a method for acquiring alarm, which comprises the following steps: the PCTV monitors target time of unmanned operation, when the target time exceeds set time, the PCTV generates alarm information, a streaming media server converts the alarm information into an alarm data packet of a video networking protocol, sends the alarm data packet to a monitoring management platform, the monitoring management platform analyzes the alarm data packet, converts the analyzed alarm data packet into an alarm data packet of the Internet protocol and sends the alarm data packet to the front end of a webpage for display; by the embodiment of the invention, the warning information generated by the PCTV in the Internet is displayed at the front end of the webpage of the video network, so that a manager at the front end of the webpage can acquire the abnormal condition monitored by the PCTV.
Drawings
FIG. 1 is a schematic networking diagram of a video network of the present invention;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present invention;
fig. 3 is a schematic diagram of a hardware structure of an access switch of the present invention;
fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention;
FIG. 5 is a flow chart of steps in an embodiment of a method of acquiring alerts of the present invention;
FIG. 6 is a data flow diagram of a method embodiment of the present invention for obtaining alarms;
FIG. 7 is a block diagram of a system for acquiring alarms according to an embodiment of the present invention;
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present invention, the following description refers to the internet of view:
some of the technologies applied in the video networking are as follows:
network Technology (Network Technology)
Network technology innovation in video networking has improved over traditional Ethernet (Ethernet) to face the potentially enormous video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network Circuit Switching (Circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot be realized by the existing Internet, and pushes a plurality of network video applications to high-definition and unification.
Server Technology (Server Technology)
The server technology on the video networking and unified video platform is different from the traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network Security Technology (Network Security Technology)
The structural design of the video network completely eliminates the network security problem troubling the internet structurally by the modes of independent service permission control each time, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, avoids the attack of hackers and viruses, and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
Networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 1, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
The metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
Therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (the part in the dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may be interconnected via metropolitan area and wide area video networking.
Video networking device classification
1.1 devices in the video network of the embodiment of the present invention can be mainly classified into 3 types: servers, switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node servers, access switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
the network interface module 201, the CPU module 203, and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 based on the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the data packet coming from the CPU module 204 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues, which in this embodiment of the present invention is divided into two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 208 is configured by the CPU module 204, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet protocol gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved label (R) Payload CRC
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
Based on the characteristics of the video networking, one of the core concepts of the embodiment of the invention is provided, the PCTV monitors the target time of unmanned operation according to the protocol of the video networking, when the target time exceeds the set time, the PCTV generates the alarm information, the streaming media server converts the alarm information into the alarm data packet of the video networking protocol, sends the alarm data packet of the video networking protocol to the monitoring management platform, and the monitoring management platform converts the alarm data packet of the video networking protocol into the alarm data packet of the internet protocol and sends the alarm data packet of the internet protocol to the front end of the webpage for displaying.
Referring to fig. 5, a flowchart illustrating steps of an embodiment of a method for acquiring an alarm according to the present invention is shown, where the method may be applied in a video network, and specifically may include the following steps:
step 501, the PCTV monitors the target time of unmanned operation.
PCTV is just a computer TV (PC i.e. computer, TV i.e. television). The PCTV has both the television function and the VCD and DVD playing function, and also has some functions of a computer, such as game, communication, word processing, management, and receiving various information from the internet.
In an embodiment of the present invention, the PCTV is used by a user as a working device. The PCTV can continuously monitor the working state of a user, for example, monitor the action of the user for not operating the PCTV, and record the target time of the non-operation action duration, namely, record the target time of the PCTV for no-operation.
Optionally, the PCTV monitors a target time for unattended operation, comprising: the PCTV monitors a target time for which a mouse is not moved on a screen.
In the embodiment of the invention, the PCTV continuously monitors the motion state of the mouse on the screen, and if the mouse on the PCTV screen is not moved, the PCTV is considered to be operated by no person. And the PCTV monitors the target time of mouse immobility on the screen, namely the target time for monitoring the unmanned operation of the PCTV.
Step 502, when the target time exceeds the set time, the PCTV generates an alarm message.
In the embodiment of the invention, when the PCTV records that the target time of the PCTV unmanned operation exceeds the set time, the warning information is immediately generated. For example, if the PCTV monitors that the target time of the unmanned operation reaches the set time 20 minutes, it is considered that the non-operation behavior of the user is abnormal. For example, a non-operational behavior of more than 20 minutes may be considered to represent that the user is not in a normal working state, that the user may have left the working position or that the user is dozing off at the working position, which are abnormal working states. At this time, the PCTV generates an alarm message for the abnormal operation state.
Optionally, when the target time exceeds a set time, the PCTV generating the warning information includes:
confirming that no one operates the PCTV when the target time exceeds a set time;
the PCTV generates alarm information, wherein the alarm information comprises an account number of the PCTV.
In the embodiment of the invention, when the PCTV records that the target time of the PCTV unmanned operation exceeds the set time, the PCTV is confirmed to be unmanned operation, and the current abnormal condition is confirmed. At this time, the PCTV generates the warning information, which includes the target path to which the warning information is sent, i.e., the monitoring management platform of the video network, and the account number of the PCTV, so that a party receiving the warning information can know the source of the warning information and locate the user bound to the PCTV through the account number of the PCTV. The alarm information may also include time of alarm generation and description of specific abnormal conditions monitored by the PCTV, and the description information may be, for example: the machine is unmanned for 20 minutes.
Optionally, the PCTV monitors whether a current user operation is a locally bound user operation; and if the current user operation is not the operation of the user bound by the PCTV, generating alarm information by the PCTV.
In the embodiment of the invention, the PCTV can bind the operation users in advance, only the locally bound user can operate the PCTV, if the current user operation is not the operation of the locally bound user, the situation of replacing work is considered to possibly occur, and the locally bound user is represented not to be in a normal working state.
For such abnormal operating state, the PCTV generates an alarm message.
Similarly, the alarm information may also include a target path to which the alarm information is to be sent, an account number of the PCTV, a time when the alarm is generated, and a description of a specific abnormal condition monitored by the PCTV, for example, the description information may be: the native current user operation is not that of the native bound user.
Optionally, the PCTV monitoring whether the current user operation is an operation of a native bound user, including: the PCTV identifies whether the current user is a locally bound user through a camera to determine whether the current user operation is the locally bound user operation.
In the embodiment of the present invention, the PCTV may have a camera, and the camera may take a picture of or take a picture of a current operation user. And the PCTV prestores images of users bound to the computer, can carry out feature matching on the camera shooting or the picture taking and the images of the users bound to the computer, and once the images are not matched, the current user operation is not the operation of the users bound to the computer.
Optionally, the PCTV determines whether the current user operation is the operation of the locally bound user according to the operation habit of the locally bound user recorded in advance.
In the embodiment of the present invention, the PCTV may count and record the operation habits of the locally bound users in advance, for example, the operation habits of the users may be determined based on the same and/or different operations of the users for one application and the statistical results of the same and/or different operations for different applications. When a user operates the PCTV, the PCTV compares the operation habit of the current user with the operation habit of a local binding user prestored in the system, and if the operation habit of the current user is inconsistent with the operation habit of the binding user prestored in the PCTV, the current user operation is not the operation of the local binding user.
Step 503, the PCTV sends the warning information to the streaming media server.
In the embodiment of the invention, the streaming media server is a terminal device in the video network, can collect, cache, schedule, transmit and play streaming media contents, and is a key platform for providing video services for users.
The PCTV is a device in the internet, and the streaming server may be connected to a plurality of PCTVs. After the PCTV generates the alarm information, the alarm information is sent to the streaming media server in the format of an Internet protocol data packet.
Step 504, the streaming media server converts the alarm information into an alarm data packet of a video networking protocol.
In the embodiment of the invention, the streaming media server has the function of protocol conversion, and because the video network does not support the transmission of the data packet of the internet protocol, the streaming media server converts the alarm information data packet of the internet protocol into the alarm information data packet of the video network protocol. Specifically, the streaming media server removes the IP packet header of the alarm information packet, replaces the IP packet header with the packet header of the video networking protocol, and encapsulates the entire data packet in the video networking message body.
And 505, the streaming media server sends the alarm data packet of the video networking protocol to a monitoring management platform.
The monitoring management platform is responsible for the unified management of all accessed monitoring equipment in the video network and the docking service of other third-party monitoring systems. In the embodiment of the invention, the monitoring management platform can receive the warning information of the PCTV, so that a manager can master the abnormal condition monitored by the PCTV.
The communication between the streaming media server and the monitoring management platform uses the 8F85 protocol of video networking, and the specification of the 8F85 protocol can be shown as the following table:
Figure BDA0001797859670000141
the 8F85 protocol is short signaling with length of 32W, wherein the opt _ para opcode field can carry an operation instruction. In the embodiment of the present invention, the signaling of the 8F85 protocol carries an alarm information packet of a video networking protocol, and is sent to the monitoring management platform by the streaming media server.
Step 506, the monitoring management platform analyzes the alarm information data packet.
In the embodiment of the present invention, the process of analyzing the alarm information data packet by the monitoring management platform may be that the monitoring management platform puts the received video networking information data packets into the storage area first, then takes out the alarm information data items from the storage area one by one, removes the packet header of the video networking protocol in each data item, reads the data content field from the message body of the data item, and extracts the alarm information to form the analysis result.
Considering that there may be a plurality of PCTVs simultaneously transmitting the alarm information, the monitoring management platform may create an alarm information queue in the storage area. And each time an alarm message is received, putting the alarm message into an alarm message queue. Then, the monitoring management platform starts a separate thread to analyze each data item of the queue one by one.
And 507, the monitoring management platform converts the analyzed alarm data packet into an alarm information data packet of an internet protocol.
In the embodiment of the invention, the monitoring management platform also has a protocol conversion function and can perform mutual conversion of a video networking protocol format and an internet protocol format on the alarm information data packet. Because the monitoring management platform is a management background, if a manager wants to acquire the alarm information, the manager needs to send the analysis result of the alarm information to the display terminal for viewing. Because the communication between the monitoring management platform and the display terminal is based on the internet protocol, the monitoring management platform needs to firstly convert the alarm information data packet of the video networking protocol into the alarm information data packet of the internet protocol.
Optionally, before the monitoring management platform converts the analyzed alarm information data packet into an alarm information data packet of an internet protocol, the method further includes: and the webpage front end sends a GET request to the monitoring management platform, and data transmitted in the GET request is in a JSON format.
In the embodiment of the invention, the front end of the webpage is a display terminal, and the front end of the webpage is a network page which can be browsed and used through a browser and can be supported by a computer, a tablet computer, a mobile terminal and the like. To acquire the warning information, the front end of the web page may first send a GET request based on an HTTP (HyperText Transfer Protocol) Protocol to the monitoring management platform, where the GET request includes an instruction that the monitoring management platform needs to execute. In addition, since JSON (JSON Object Notation) is a lightweight data exchange format, which is simple, easy to operate, and has less redundant data, the data transmitted in the GET request can be selected to use the JSON format.
Specifically, the front end of the web page may have a button for acquiring the warning information, and when the manager clicks the button, a GET request message instructing the monitoring management platform to send the warning information to the monitoring management platform is generated.
And step 508, the monitoring management platform sends the alarm data packet of the internet protocol to the front end of the webpage for display.
In the embodiment of the invention, because the monitoring management platform carries out the conversion of the Internet protocol format on the alarm information, the alarm information data packet of the Internet protocol can be directly sent to the front end of the webpage for display. Specifically, the warning information may be presented at the front end of the web page in a form of a pop-up box, and after the pop-up box is clicked, detailed warning information content may be displayed, for example, a PCTV account generating a warning, a warning time, description information of a specific abnormal situation, and the like are displayed. Thus, the manager is informed of the abnormality monitored by the PCTV.
In summary, in the embodiment of the present invention, a PCTV monitors target time of unmanned operation, and when the target time exceeds a set time, the PCTV generates alarm information, a streaming media server converts the alarm information into an alarm data packet of a video networking protocol, and sends the alarm data packet to a monitoring management platform, and the monitoring management platform analyzes the alarm data packet, converts the analyzed alarm data packet into an alarm data packet of an internet protocol, and sends the alarm data packet to a front end of a web page for display; by the embodiment of the invention, the warning information generated by the PCTV in the Internet is displayed at the front end of the webpage of the video network, so that a manager at the front end of the webpage can acquire the abnormal condition monitored by the PCTV.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 6, a data flow diagram of an embodiment of a method for acquiring an alarm according to the present invention is shown.
In fig. 6, when the PCTV pointed to by S1 monitors that the target time of unmanned operation exceeds the set time, it generates alarm information and sends the alarm information to the streaming server pointed to by S2, the streaming server S2 converts the alarm information into an alarm information packet of the internet protocol and sends the alarm information packet to the monitoring management platform pointed to by S3, and the monitoring management platform S3 parses the alarm information, and when receiving a GET request from the web front end S4, it responds to the GET request, converts the parsed alarm information into an alarm information packet of the internet protocol and sends the alarm information packet to the web front end S4, so that the manager can view the alarm information at the web front end.
Referring to fig. 7, a block diagram of a system for acquiring alarms according to an embodiment of the present invention is shown. The system comprises a PCTV701, a streaming media server 702, a monitoring management platform 703 and a webpage front end 704, wherein the streaming media server 702 is connected with a plurality of PCTVs 701;
wherein the PCTV701 includes:
a first monitoring module 7011, configured to monitor a target time of the unmanned operation;
a first warning information generating module 7012, configured to generate warning information when the target time exceeds a set time;
a sending module 7013, configured to send the warning information to the streaming media server;
the streaming media server 702 comprises:
a conversion module 7021, configured to convert the alarm information into an alarm data packet of a video networking protocol;
a sending module 7022, configured to send the alarm data packet of the video networking protocol to a monitoring management platform;
the monitoring management platform 703 includes:
the analysis module 7031 is configured to analyze the alarm information packet;
a conversion module 7032, configured to convert the analyzed alarm data packet into an alarm data packet of an internet protocol;
a sending module 7033, configured to send the alarm data packet of the internet protocol to a front end of a web page for display.
Optionally, the first monitoring module 7011 of the PCTV701 includes:
the first monitoring submodule is used for monitoring the target time of mouse immobilization on the screen;
the first warning information generating module 7012 of the PCTV701 includes:
a confirmation submodule for confirming that the PCTV is not operated by a person when the target time exceeds a set time;
and the first alarm information generation submodule is used for generating alarm information, and the alarm information comprises an account of the PCTV.
Optionally, the PCTV701 further comprises:
the second monitoring module is used for monitoring whether the current user operation is the operation of a user bound by the local machine;
and the second warning information generating module is used for generating warning information if the current user operation is not the operation of the user bound by the local computer, wherein the warning information comprises the account number of the PCTV.
Optionally, the second monitoring module of the PCTV701 includes:
and the second monitoring submodule is used for identifying whether the current user is a locally bound user or not through the camera so as to determine whether the current user operation is the locally bound user operation or not.
Optionally, the web page front end 704 includes:
and the request sending module is used for sending a GET request to the monitoring management platform, and the data transmitted in the GET request is in a JSON format.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiment of the invention provides a method and a system for acquiring alarm, wherein the system comprises a PCTV, a streaming media server, a monitoring management platform and a webpage front end, wherein the streaming media server is connected with a plurality of PCTVs; the PCTV includes: the first monitoring module is used for monitoring the target time of unmanned operation; the first warning information generating module is used for generating warning information when the target time exceeds the set time; the sending module is used for sending the alarm information to the streaming media server; the streaming media server includes: the conversion module is used for converting the alarm information into an alarm data packet of a video networking protocol; the sending module is used for sending the alarm data packet of the video networking protocol to a monitoring management platform; the monitoring management platform comprises: the analysis module is used for analyzing the alarm information data packet; the conversion module is used for converting the alarm data packet of the video networking protocol into an alarm data packet of an Internet protocol; and the sending module is used for sending the alarm data packet of the Internet protocol to the front end of the webpage for display. By the embodiment of the invention, the warning information generated by the PCTV in the Internet is displayed at the front end of the webpage of the video network, so that a manager at the front end of the webpage can acquire the abnormal condition monitored by the PCTV.
The invention also provides a mobile terminal, which comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor, wherein the computer program realizes the steps of the method for acquiring the alarm when being executed by the processor.
The invention also provides a computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of a method of alerting as described above.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be 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 terminal 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 terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method and the system for acquiring an alarm provided by the invention are described in detail above, a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for acquiring an alarm is applied to a video network, wherein the video network comprises a streaming media server, a monitoring management platform and a webpage front end, the streaming media server is connected with a plurality of PCTVs, and the method comprises the following steps:
the PCTV monitors a target time of unmanned operation, and the PCTV monitors the target time of unmanned operation, including: monitoring the target time of mouse immobilization on the screen by the PCTV;
when the target time exceeds the set time, the PCTV generates alarm information, wherein the alarm information comprises a target path to be sent, an account number of the PCTV, the time for generating an alarm and the description of a specific abnormal condition monitored by the PCTV;
the PCTV sends the warning information to the streaming media server;
the streaming media server converts the alarm information into an alarm data packet of a video networking protocol;
the streaming media server sends the alarm data packet of the video networking protocol to a monitoring management platform;
the monitoring management platform analyzes the alarm data packet;
the monitoring management platform converts the analyzed alarm data packet into an alarm data packet of an Internet protocol;
and the monitoring management platform sends the alarm data packet of the Internet protocol to the front end of the webpage for display.
2. The method of claim 1, wherein the PCTV generating an alert message when the target time exceeds a set time comprises:
confirming that no one operates the PCTV when the target time exceeds a set time;
the PCTV generates alert information.
3. The method of claim 1, wherein before the monitoring management platform converts the parsed alarm packet into an alarm packet of an internet protocol, the method further comprises:
and the webpage front end sends a GET request to the monitoring management platform, and data transmitted in the GET request is in a JSON format.
4. The method of claim 1, wherein before the PCTV sends the alert information to the streaming server, further comprising:
the PCTV monitors whether the current user operation is the operation of a user bound by the PCTV;
and if the current user operation is not the operation of the user bound by the PCTV, generating alarm information by the PCTV.
5. The method of claim 4, wherein the PCTV monitors whether a current user action is that of a natively bound user, comprising:
the PCTV identifies whether the current user is a locally bound user through a camera to determine whether the current user operation is the locally bound user operation.
6. A system for acquiring alarm is characterized by comprising a PCTV, a streaming media server, a monitoring management platform and a webpage front end, wherein the streaming media server is connected with a plurality of PCTVs;
the PCTV includes:
the first monitoring module is used for monitoring the target time of unmanned operation, and the PCTV monitors the target time of unmanned operation, and comprises: monitoring the target time of mouse immobilization on the screen by the PCTV;
the first warning information generating module is used for generating warning information when the target time exceeds set time, wherein the warning information comprises a target path to be sent, an account number of the PCTV, warning generation time and description of specific abnormal conditions monitored by the PCTV;
the sending module is used for sending the alarm information to the streaming media server;
the streaming media server includes:
the conversion module is used for converting the alarm information into an alarm data packet of a video networking protocol;
the sending module is used for sending the alarm data packet of the video networking protocol to a monitoring management platform;
the monitoring management platform comprises:
the analysis module is used for analyzing the alarm data packet;
the conversion module is used for converting the analyzed alarm data packet into an alarm data packet of an Internet protocol;
and the sending module is used for sending the alarm data packet of the Internet protocol to the front end of the webpage for display.
7. The system of claim 6,
the first warning information generating module of the PCTV comprises:
a confirmation submodule for confirming that the PCTV is not operated by a person when the target time exceeds a set time;
and the first alarm information generation submodule is used for generating alarm information.
8. The system of claim 6, wherein the web page front end comprises:
and the request sending module is used for sending a GET request to the monitoring management platform, and the data transmitted in the GET request is in a JSON format.
9. The system of claim 6, wherein the PCTV further comprises:
the second monitoring module is used for monitoring whether the current user operation is the operation of a user bound by the local machine;
and the second warning information generating module is used for generating warning information if the current user operation is not the operation of the user bound by the local computer, wherein the warning information comprises the account number of the PCTV.
10. The system of claim 6, wherein the second monitoring module of the PCTV comprises:
and the second monitoring submodule is used for identifying whether the current user is a locally bound user or not through the camera so as to determine whether the current user operation is the locally bound user operation or not.
CN201811064082.0A 2018-09-12 2018-09-12 Method and system for acquiring alarm Active CN109218093B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811064082.0A CN109218093B (en) 2018-09-12 2018-09-12 Method and system for acquiring alarm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811064082.0A CN109218093B (en) 2018-09-12 2018-09-12 Method and system for acquiring alarm

Publications (2)

Publication Number Publication Date
CN109218093A CN109218093A (en) 2019-01-15
CN109218093B true CN109218093B (en) 2021-11-16

Family

ID=64983288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811064082.0A Active CN109218093B (en) 2018-09-12 2018-09-12 Method and system for acquiring alarm

Country Status (1)

Country Link
CN (1) CN109218093B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110062258B (en) * 2019-03-14 2021-07-30 视联动力信息技术股份有限公司 Method and device for distributing video networking numbers
CN110401876B (en) * 2019-07-16 2021-12-03 视联动力信息技术股份有限公司 Audio and video asynchronous warning method and device, electronic equipment and readable storage medium
CN112148516A (en) * 2020-09-17 2020-12-29 珠海格力电器股份有限公司 Demonstrator system management method, device, system and storage medium
CN114051120A (en) * 2021-10-26 2022-02-15 远光软件股份有限公司 Video alarm method, device, storage medium and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101830240B (en) * 2009-03-12 2012-09-26 上海科泰信息技术有限公司 Track traffic centralized alarming management system and method thereof
CN104683145A (en) * 2014-12-29 2015-06-03 中国普天信息产业北京通信规划设计院 Warning monitoring system server, client and warning information processing and querying method
CN108075919A (en) * 2016-11-15 2018-05-25 北京视联动力国际信息技术有限公司 It is a kind of to regard the method and system that end message is obtained in networking
CN108093014A (en) * 2016-11-21 2018-05-29 北京视联动力国际信息技术有限公司 A kind of resource monitoring method and device
CN108234396B (en) * 2016-12-14 2019-04-19 视联动力信息技术股份有限公司 A kind of method and device of monitoring device status information real-time synchronization

Also Published As

Publication number Publication date
CN109218093A (en) 2019-01-15

Similar Documents

Publication Publication Date Title
CN109167960B (en) Method and system for processing video stream data
CN109218093B (en) Method and system for acquiring alarm
CN110087064B (en) Detection method and system of monitoring terminal, device and storage medium
CN109587002B (en) State detection method and system for video network monitoring equipment
CN110191315B (en) Monitoring and checking method and device based on video network
CN108881895B (en) Troubleshooting method and equipment based on video networking
CN109743550B (en) Method and device for monitoring data flow regulation
CN111221664A (en) Operation log processing system
CN110557606B (en) Monitoring and checking method and device
CN109743555B (en) Information processing method and system based on video network
CN109743284B (en) Video processing method and system based on video network
CN108989850B (en) Video playing control method and control system
CN110740289A (en) system and method for obtaining alarm
CN110557273A (en) Terminal state warning method and device
CN110134892B (en) Loading method and system of monitoring resource list
CN110086773B (en) Audio and video data processing method and system
CN109698953B (en) State detection method and system for video network monitoring equipment
CN110519554B (en) Monitoring detection method and device
CN110691213B (en) Alarm method and device
CN110113555B (en) Video conference processing method and system based on video networking
CN110830763A (en) Monitoring video inspection method and device
CN109450995B (en) Method and system for acquiring server data
CN110351247B (en) Parameter acquisition method, device and system
CN109688073B (en) Data processing method and system based on video network
CN110418105B (en) Video monitoring method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant