CN114095404A - Video equipment state calculation output method, device and equipment based on stream calculation - Google Patents

Video equipment state calculation output method, device and equipment based on stream calculation Download PDF

Info

Publication number
CN114095404A
CN114095404A CN202111362188.0A CN202111362188A CN114095404A CN 114095404 A CN114095404 A CN 114095404A CN 202111362188 A CN202111362188 A CN 202111362188A CN 114095404 A CN114095404 A CN 114095404A
Authority
CN
China
Prior art keywords
data
equipment
data stream
state
stream
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.)
Granted
Application number
CN202111362188.0A
Other languages
Chinese (zh)
Other versions
CN114095404B (en
Inventor
栾润峰
杨爽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jinher Software Co Ltd
Original Assignee
Beijing Jinher Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jinher Software Co Ltd filed Critical Beijing Jinher Software Co Ltd
Priority to CN202111362188.0A priority Critical patent/CN114095404B/en
Publication of CN114095404A publication Critical patent/CN114095404A/en
Application granted granted Critical
Publication of CN114095404B publication Critical patent/CN114095404B/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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/028Capturing of monitoring data by filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application relates to a video equipment state calculation output method, a device and equipment based on stream calculation, belonging to the technical field of video monitoring, wherein the method comprises the following steps: acquiring a device side heartbeat data stream generated based on the device side heartbeat data and acquiring a timing detection activation data stream generated based on the timing detection activation data of the device; performing aggregation operation calculation of preset logic according to the equipment end heartbeat data stream and the timing detection activation data stream, generating an equipment state data stream and issuing the equipment state data stream to an equipment state message queue; the aggregation operation calculation includes: analyzing data in the data stream, and generating and outputting online state data of any equipment if the equipment has equipment end heartbeat data within a heartbeat interval time period, and generating and outputting offline state data of the equipment if the equipment only has timing detection activation data. The method and the device are beneficial to efficiently realizing the processing output of the device state in a massive device scene.

Description

Video equipment state calculation output method, device and equipment based on stream calculation
Technical Field
The application belongs to the technical field of video monitoring, and particularly relates to a video equipment state calculation output method, device and equipment based on stream calculation.
Background
With the development of the internet of things technology in recent years, thousands of video devices have been installed and put into use all over the country, and there is a demand for using online status data of the devices in the aspects of industrial monitoring and big data statistics. In the prior art, the online status of the device is usually reflected by uploading heartbeat data and uploading event data.
Generally, the online status data uploaded by the video device is usually limited to the functional design of the device itself and the format definition of the communication protocol, and the diversity of the devices results in the diversity of the communication protocols, which increases the difficulty of directly using the online status data of the device. In the content of the device status data, the content is single and the format is fixed in the prior art, so that the effect and the form of reflecting the online status of the device are not comprehensive. And if the online state data of the devices such as heartbeat and online and offline events are uploaded from the device side at the same time, great pressure and challenges exist in the aspects of the use and processing performance of network traffic when a large amount of devices are loaded.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
In order to overcome the problems in the related art at least to a certain extent, the present application provides a video device state calculation output method, apparatus and device based on stream calculation, which perform video device state calculation output based on stream calculation, and are helpful to efficiently implement processing output of device states in a massive device scene.
In order to achieve the purpose, the following technical scheme is adopted in the application:
in a first aspect of the present invention,
the application provides a video equipment state calculation output method based on stream calculation, which comprises the following steps:
acquiring a device side heartbeat data stream generated based on device side heartbeat data and acquiring a timing detection activation data stream generated based on timing detection activation data of a device;
performing aggregation operation calculation of preset logic according to the equipment end heartbeat data stream and the timing detection activation data stream, generating an equipment state data stream and issuing the equipment state data stream to an equipment state message queue;
wherein the aggregate operation calculation comprises: and analyzing the data in the data stream, and aiming at any equipment,
and in a heartbeat interval time period, if equipment-side heartbeat data exist in the equipment, generating and outputting online state data of the equipment, and if only timing detection activation data exist in the equipment, generating and outputting offline state data of the equipment.
Optionally, the method further comprises:
filtering the equipment state data stream according to the online state data and the offline state data, and respectively and correspondingly outputting the online state data stream and the offline state data stream;
and correspondingly issuing the online state data stream and the offline state data stream to an online state message queue and an offline state message queue respectively.
Optionally, the method further comprises:
in the process of processing the equipment state data stream, if the data type of the adjacent data in the stream of the same equipment is changed from the offline state data to the online state data, the online event data of the equipment is generated, and if the data type of the adjacent data in the stream of the same equipment is changed from the online state data to the offline state data, the offline event data of the equipment is generated;
and generating an output device online state event data stream based on each online event data and each offline event data, and issuing the output device online state event data stream to a device online state event message queue.
Optionally, the method further comprises:
filtering the device online state event data stream according to online event data and offline event data, and respectively and correspondingly outputting an online event data stream and an offline event data stream;
and correspondingly issuing the online event data stream and the offline event data stream to an online event message queue and an offline event message queue respectively.
Optionally, the method further comprises:
and after sequencing the equipment online state event data stream and the equipment state data stream according to the data time information, merging and outputting the data streams into an online state event and data mixed stream, and issuing the online state event and data mixed stream to an online state event and data mixed message queue.
Optionally, the generating process of the device side heartbeat data stream includes:
receiving heartbeat data sent by each device at regular time and processing and converting the heartbeat data into heartbeat data of the device end, wherein the heartbeat data of the device end comprises device identification information and occurrence time information of the heartbeat data;
and sequencing the heartbeat data of each equipment end according to the occurrence time to generate the heartbeat data stream of the equipment end.
Optionally, the generating of the timing detection activation data stream includes:
the server management end generates the timing detection activation data at regular time according to the equipment identification information in the access equipment list, wherein the timing detection activation data comprises the equipment identification information and the data generation time information;
sequencing the timing detection activation data according to data generation time to generate the timing detection activation data stream.
In a second aspect of the present invention,
the application provides a video equipment state calculation output device based on stream calculation, the device includes:
an acquisition module, configured to acquire a device side heartbeat data stream generated based on device side heartbeat data, and acquire a timing detection activation data stream generated based on timing detection activation data of a device;
the equipment state data stream generation output module is used for carrying out aggregation operation calculation of preset logic according to the equipment end heartbeat data stream and the timing detection activation data stream, generating an equipment state data stream and issuing the equipment state data stream to an equipment state message queue;
wherein the aggregate operation calculation comprises: and analyzing the data of each device in the data stream, and aiming at any device,
and in a heartbeat interval time period, if equipment end heartbeat data exist in the equipment, generating and outputting online state data of the equipment, and if the equipment only exists timing detection activation data, generating and outputting offline state data of the equipment.
In a third aspect,
the application provides an electronic device, including:
a memory having an executable program stored thereon;
a processor for executing the executable program in the memory to implement the steps of the method described above.
This application adopts above technical scheme, possesses following beneficial effect at least:
according to the technical scheme, the method and the device have the performance advantage when massive equipment is processed in an online state based on the characteristics of high throughput, low time delay and safe isolation between data of flow calculation. And the technical scheme does not relate to network uploading of the online and offline event data, which is also beneficial to saving network flow.
Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the technology or prior art of the present application and are incorporated in and constitute a part of this specification. The drawings expressing the embodiments of the present application are used for explaining the technical solutions of the present application, and should not be construed as limiting the technical solutions of the present application.
Fig. 1 is a schematic flowchart of a video device state calculation output method based on stream calculation according to an embodiment of the present application;
fig. 2 is a schematic illustration of an implementation of a video device state calculation output method based on stream calculation according to another embodiment of the present application;
fig. 3 is a schematic structural diagram of a video device state calculation output apparatus based on stream calculation according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail below. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without making any creative effort, shall fall within the protection scope of the present application.
As described in the background, with the development of the internet of things technology in recent years, thousands of video devices have been installed and put into use all over the country, and there is a demand for using online status data of the devices in both the field of industrial monitoring and big data statistics. In the prior art, the online status of the device is usually reflected by uploading heartbeat data and uploading event data.
Generally, the online status data uploaded by the video device is usually limited to the functional design of the device itself and the format definition of the communication protocol, and the diversity of the devices results in the diversity of the communication protocols, which increases the difficulty of directly using the online status data of the device. In the content of the device status data, the content is single and the format is fixed in the prior art, so that the effect and the form of reflecting the online status of the device are not comprehensive. And if the online state data of the devices such as heartbeat and online and offline events are uploaded from the device side at the same time, great pressure and challenges exist in the aspects of the use and processing performance of network traffic when a large amount of devices are loaded.
In view of the above, the present application provides a video device status calculation output method based on stream calculation. As shown in fig. 1, in one embodiment, the method includes:
step S110, acquiring a device end heartbeat data stream generated based on the device end heartbeat data, and acquiring a timing detection activation data stream generated based on the timing detection activation data of the device;
specifically, in this embodiment, the generating process of the device side heartbeat data stream includes:
receiving heartbeat data sent by each device at regular time and processing and converting the heartbeat data into device-side heartbeat data (which is easy to understand that the heartbeat data needs to be processed and converted by adapting to the communication protocol definition adopted by the actual device), wherein the device-side heartbeat data comprises device identification information (or device id information) and occurrence time information of the heartbeat data;
based on the common knowledge in the art, the data stream (data stream) is a group of ordered data sequences, and here, the heartbeat data of each device end are sequenced according to the occurrence time, so that the heartbeat data stream of the device end is generated.
In order to implement the stream calculation processing in the subsequent step, the participation of the timing detection activation data stream is also required, in this embodiment, the generation process of the timing detection activation data stream includes:
a server management end (located on a server side opposite to the equipment side) generates timing detection activation data at regular time according to equipment identification information in an access equipment list, wherein the timing detection activation data comprises equipment identification information (equipment id information) and data generation time information;
and similarly, sequencing the timing detection activation data according to the data generation time to generate a timing detection activation data stream.
It should be further noted that the execution subject of the method in this embodiment is a device state calculation processing service on the server side.
Continuing to return to fig. 1, after the device end heartbeat data stream and the timing detection activation data stream are obtained and then used as input data streams, performing step S120, performing aggregation operation calculation of preset logic according to the device end heartbeat data stream and the timing detection activation data stream, generating a device state data stream, and issuing the device state data stream to a device state message queue;
wherein, the aggregation operation calculation comprises: and analyzing the data in the data stream, and aiming at any equipment,
and in a heartbeat interval time period, if equipment end heartbeat data exist in the equipment, generating and outputting online state data of the equipment, and if the equipment only exists timing detection activation data, generating and outputting offline state data of the equipment.
It is readily understood that the above description of the calculation of the aggregation operation is directed to a specific device, and in practical implementation, the above process includes a process of grouping the device identification information in the data and sorting the data in the group in ascending order of time, so as to implement the above-described data calculation operation for any device based on the security isolation feature between the data in the flow calculation process.
According to the technical scheme, the method and the device have the performance advantage when massive equipment is processed in an online state based on the characteristics of high throughput, low time delay and safe isolation between data of flow calculation. In the implementation of the technical scheme, the state of the equipment is determined and output based on a specific flow calculation processing operator, wherein network uploading of online and offline event data is not involved, and the saving of network flow is facilitated. In addition, in the implementation of the method, the format of the input data stream is unified by adapting the communication protocol definitions of the online states of various devices, and the difficulty brought to the use of the online state data of the devices by the diversity of the communication protocol definitions of the devices is reduced.
To facilitate understanding of the technical solutions of the present application, the technical solutions of the present application will be described below with reference to another embodiment.
As shown in fig. 2, this embodiment, similar to the previous embodiment, also includes:
acquiring a device side heartbeat data stream generated based on device side heartbeat data and acquiring a timing detection activation data stream generated based on timing detection activation data of a device;
and performing aggregation operation calculation of preset logic according to the device end heartbeat data stream and the timing detection activation data stream, generating a device state data stream (corresponding to "aggregated device state data stream" in fig. 2) and issuing the device state data stream to a device state message queue (corresponding to "output to device state message queue" in fig. 2).
In order to flexibly adapt to various service scene needs and meet different requirements of users, in this embodiment, as shown in fig. 2, the method further includes:
filtering the device status data stream according to the online status data and the offline status data, and outputting the online status data stream and the offline status data stream respectively (corresponding to "separating the online status data stream" and "separating the offline status data stream" in fig. 2, respectively);
and correspondingly publish the online state data stream and the offline state data stream to an online state message queue and an offline state message queue (corresponding to "output to online state data message queue" and "output to offline state data message queue" in fig. 2, respectively).
Further, in this embodiment, in the process of processing the device status data stream, if the data type of the adjacent data in the stream of the same device is changed from the offline status data to the online status data, the online event data of the device is generated, and if the data type of the adjacent data in the stream of the same device is changed from the online status data to the offline status data, the offline event data of the device is generated;
an output device online status event data stream (corresponding to "generate online status event data stream" in fig. 2) is generated based on each online event data and each offline event data, and posted to a device online status event message queue (corresponding to "output to line status event message queue" in fig. 2).
It should be noted that the online and offline event data are obtained based on calculation processing of heartbeat data from the device side, and compared with an online and offline change event directly uploaded by the device side, the online state judgment is more objective and the obtained data are more accurate. In addition, in practice, some devices cannot objectively report their off-line states in real time, and by adopting the implementation mode of the application, the devices can be judged, in other words, more comprehensive data can be obtained.
Further, in this embodiment, the method further includes:
filtering the device online state event data stream according to the online event data and the offline event data, and respectively and correspondingly outputting the online event data stream and the offline event data stream;
and correspondingly publishing the online event data stream and the offline event data stream to an online event message queue and an offline event message queue (corresponding to "output to online event message queue" and "output to offline event message queue" in fig. 2, respectively).
In this embodiment, as shown in fig. 2, the method further includes:
and sorting the equipment online state event data stream and the equipment state data stream according to the data time information, merging and outputting the data streams into an online state event and data mixed stream (corresponding to the 'aggregated online state event and data mixed stream' in fig. 2), and issuing the online state event and data mixed stream to an online state event and data mixed message queue (corresponding to the 'output to the online state event and data mixed message queue' in fig. 2).
It is easily understood that the data time information herein refers to the generation time of the state data and the generation time of the event data.
In this embodiment, a total of 7 different types of data streams, which are an online status data stream, an offline status data stream, an equipment status data stream, an online event data stream, an offline event data stream, an online status event data stream, and an online status event and data mixed stream, may be output to the corresponding message queues. The method and the device are used for selecting subscription according to needs in each relevant scene, and then directly participate in logic calculation in a service scene, so that the application scene is prevented from further processing the online state data of the equipment according to the service requirements, and the difficulty of using the online state data in most scenes and the coupling between services can be reduced.
And further, in practical application, comprehensive equipment online data form selection can be provided for various scenes. For example, if the device is continuously concerned about being online, the online status data flow message can be subscribed; if the offline condition of the equipment is continuously concerned, the offline state data stream message can be subscribed; if the continuous device online state is concerned, the device online state data stream message can be subscribed; if the online event is concerned, the online event data stream message can be subscribed; if the offline event is concerned, the offline event data stream message can be subscribed; if the online state change is concerned, the online state event information flow message can be subscribed; the mixed streaming messages of presence events and data can be subscribed to if event change and persistent data are of interest and higher accuracy.
In the technical scheme of the application, based on the comparison reference of different output data streams, when the device offline state can be further distinguished and definitely not receiving the device online data, the device offline state is not received due to data packet loss caused by problems such as network communication environment and the like, or the device is in the offline state at the moment, so that the more comprehensive device online state can be obtained in the technical scheme of the application.
In this embodiment, based on the specific configuration, these output data streams include device id, data stream type, data type, presence status, event type, time, etc., for example, the data stream type is used to distinguish 7 different forms of output data streams; the data types are divided into timing types and event types, and the timing data and the event data are distinguished; the online state is divided into online state and offline state, and the online state of the current data is distinguished; the event types are divided into an online type and an offline type, and the event state of the current data is distinguished.
Fig. 3 is a schematic structural diagram of a video device state calculation output apparatus based on stream calculation according to an embodiment of the present application, and as shown in fig. 3, the calculation output apparatus 300 includes:
an obtaining module 301, configured to obtain a device side heartbeat data stream generated based on the device side heartbeat data, and obtain a timing detection activation data stream generated based on the timing detection activation data of the device;
the equipment state data stream generation output module is used for carrying out aggregation operation calculation of preset logic according to the equipment end heartbeat data stream and the timing detection activation data stream, generating an equipment state data stream and issuing the equipment state data stream to an equipment state message queue;
wherein the aggregate operation calculation comprises: the data of each device in the data stream is analyzed, and aiming at any device,
and in a heartbeat interval time period, if equipment end heartbeat data exist in the equipment, generating and outputting online state data of the equipment, and if the equipment only exists timing detection activation data, generating and outputting offline state data of the equipment.
Further, the calculation output device 300 is configured to,
filtering the equipment state data stream according to the online state data and the offline state data, and respectively and correspondingly outputting the online state data stream and the offline state data stream; the online state data stream and the offline state data stream are respectively and correspondingly issued to an online state message queue and an offline state message queue;
in the process of processing the equipment state data stream, if the data type of the adjacent data in the stream of the same equipment is changed from the offline state data to the online state data, the online event data of the equipment is generated, and if the data type of the adjacent data in the stream of the same equipment is changed from the online state data to the offline state data, the offline event data of the equipment is generated; generating an output device online state event data stream based on each online event data and each offline event data, and issuing the output device online state event data stream to a device online state event message queue;
filtering the device online state event data stream according to the online event data and the offline event data, and respectively and correspondingly outputting the online event data stream and the offline event data stream; correspondingly issuing the online event data stream and the offline event data stream to an online event message queue and a offline event message queue respectively;
and after sequencing the equipment online state event data stream and the equipment state data stream according to the data time information, merging and outputting the data streams into an online state event and data mixed stream, and issuing the online state event and data mixed stream to an online state event and data mixed message queue.
With respect to the calculation output device 300 in the above related embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and as shown in fig. 4, the electronic device 400 includes:
a memory 401 having an executable program stored thereon;
a processor 402 for executing the executable program in the memory 401 to implement the steps of the above method.
With respect to the electronic device 400 in the above embodiment, the specific manner of executing the program in the memory 401 by the processor 402 thereof has been described in detail in the embodiment related to the method, and will not be elaborated herein.
The above description is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (9)

1. A video device status calculation output method based on stream calculation, comprising:
acquiring a device side heartbeat data stream generated based on device side heartbeat data and acquiring a timing detection activation data stream generated based on timing detection activation data of a device;
performing aggregation operation calculation of preset logic according to the equipment end heartbeat data stream and the timing detection activation data stream, generating an equipment state data stream and issuing the equipment state data stream to an equipment state message queue;
wherein the aggregate operation calculation comprises: and analyzing the data in the data stream, and aiming at any equipment,
and in a heartbeat interval time period, if equipment end heartbeat data exist in the equipment, generating and outputting online state data of the equipment, and if the equipment only exists timing detection activation data, generating and outputting offline state data of the equipment.
2. The method of claim 1, further comprising:
filtering the equipment state data stream according to the online state data and the offline state data, and correspondingly outputting the online state data stream and the offline state data stream respectively;
and correspondingly issuing the online state data stream and the offline state data stream to an online state message queue and an offline state message queue respectively.
3. The method of claim 2, further comprising:
in the process of processing the equipment state data stream, if the data type of the adjacent data in the stream of the same equipment is changed from the offline state data to the online state data, the online event data of the equipment is generated, and if the data type of the adjacent data in the stream of the same equipment is changed from the online state data to the offline state data, the offline event data of the equipment is generated;
and generating an output device online state event data stream based on each online event data and each offline event data, and issuing the output device online state event data stream to a device online state event message queue.
4. The method of claim 3, further comprising:
filtering the device online state event data stream according to the online event data and the offline event data, and respectively and correspondingly outputting the online event data stream and the offline event data stream;
and correspondingly issuing the online event data stream and the offline event data stream to an online event message queue and an offline event message queue respectively.
5. The method of claim 3, further comprising:
and after sequencing the equipment online state event data stream and the equipment state data stream according to the data time information, merging and outputting the data streams into an online state event and data mixed stream, and issuing the online state event and data mixed stream to an online state event and data mixed message queue.
6. The method according to any one of claims 1 to 5, wherein the generating of the device-side heartbeat data stream comprises:
receiving heartbeat data sent by each device at regular time and processing and converting the heartbeat data into heartbeat data of the device end, wherein the heartbeat data of the device end comprises device identification information and occurrence time information of the heartbeat data;
and sequencing the heartbeat data of each equipment end according to the occurrence time to generate the heartbeat data stream of the equipment end.
7. The method according to any of claims 1 to 5, wherein the generating of the timing detection activation data stream comprises:
the server management end generates the timing detection activation data at regular time according to the equipment identification information in the access equipment list, wherein the timing detection activation data comprises the equipment identification information and the data generation time information;
sequencing the timing detection activation data according to data generation time to generate the timing detection activation data stream.
8. A video device status calculation output apparatus based on stream calculation, comprising:
an acquisition module, configured to acquire a device side heartbeat data stream generated based on the device side heartbeat data, and acquire a timing detection activation data stream generated based on the timing detection activation data of the device;
the equipment state data flow generation output module is used for performing aggregation operation calculation of preset logic according to the equipment end heartbeat data flow and the timing detection activation data flow, generating an equipment state data flow and issuing the equipment state data flow to an equipment state message queue;
wherein the aggregate operation calculation comprises: and analyzing the data of each device in the data stream, and aiming at any device,
and in a heartbeat interval time period, if equipment-side heartbeat data exist in the equipment, generating and outputting online state data of the equipment, and if only timing detection activation data exist in the equipment, generating and outputting offline state data of the equipment.
9. An electronic device, comprising:
a memory having an executable program stored thereon;
a processor for executing the executable program in the memory to implement the steps of the method of any one of claims 1-7.
CN202111362188.0A 2021-11-17 2021-11-17 Video equipment state calculation output method, device and equipment based on stream calculation Active CN114095404B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111362188.0A CN114095404B (en) 2021-11-17 2021-11-17 Video equipment state calculation output method, device and equipment based on stream calculation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111362188.0A CN114095404B (en) 2021-11-17 2021-11-17 Video equipment state calculation output method, device and equipment based on stream calculation

Publications (2)

Publication Number Publication Date
CN114095404A true CN114095404A (en) 2022-02-25
CN114095404B CN114095404B (en) 2023-06-09

Family

ID=80301312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111362188.0A Active CN114095404B (en) 2021-11-17 2021-11-17 Video equipment state calculation output method, device and equipment based on stream calculation

Country Status (1)

Country Link
CN (1) CN114095404B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090037573A1 (en) * 2007-08-03 2009-02-05 At&T Knowledge Ventures, Lp System and method of health monitoring and fault monitoring in a network system
US20190104044A1 (en) * 2017-09-29 2019-04-04 Jigang Yang Heart beat monitoring for broadband access devices and enterprise devices
CN109951463A (en) * 2019-03-07 2019-06-28 成都古河云科技有限公司 A kind of Internet of Things big data analysis method stored based on stream calculation and novel column
CN111130951A (en) * 2019-12-31 2020-05-08 中消云(北京)物联网科技研究院有限公司 Equipment state detection method, device and storage medium
CN111263120A (en) * 2020-02-25 2020-06-09 北京金和网络股份有限公司 Video equipment online time counting method and device based on stream calculation and terminal
CN112702227A (en) * 2020-12-17 2021-04-23 广州虎牙科技有限公司 Heartbeat event detection method, device, equipment and computer readable storage medium
CN112969064A (en) * 2021-02-08 2021-06-15 智洋创新科技股份有限公司 Redis cache timeout-based equipment online state calculation method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090037573A1 (en) * 2007-08-03 2009-02-05 At&T Knowledge Ventures, Lp System and method of health monitoring and fault monitoring in a network system
US20190104044A1 (en) * 2017-09-29 2019-04-04 Jigang Yang Heart beat monitoring for broadband access devices and enterprise devices
CN109951463A (en) * 2019-03-07 2019-06-28 成都古河云科技有限公司 A kind of Internet of Things big data analysis method stored based on stream calculation and novel column
CN111130951A (en) * 2019-12-31 2020-05-08 中消云(北京)物联网科技研究院有限公司 Equipment state detection method, device and storage medium
CN111263120A (en) * 2020-02-25 2020-06-09 北京金和网络股份有限公司 Video equipment online time counting method and device based on stream calculation and terminal
CN112702227A (en) * 2020-12-17 2021-04-23 广州虎牙科技有限公司 Heartbeat event detection method, device, equipment and computer readable storage medium
CN112969064A (en) * 2021-02-08 2021-06-15 智洋创新科技股份有限公司 Redis cache timeout-based equipment online state calculation method

Also Published As

Publication number Publication date
CN114095404B (en) 2023-06-09

Similar Documents

Publication Publication Date Title
KR20200033090A (en) An apparatus for network monitoring and method thereof, and system
CN106470123B (en) Log collecting method, client, server and electronic equipment
CN108900374B (en) Data processing method and device applied to DPI equipment
CN110324260B (en) Network function virtualization intelligent scheduling method based on flow identification
CN111277846A (en) Live broadcast abnormity positioning method and device, computer equipment and storage medium
Kung et al. {CloudSense}: Continuous {Fine-Grain} Cloud Monitoring with Compressive Sensing
CN110620699B (en) Message arrival rate determination method, device, equipment and computer readable storage medium
CN113518012B (en) Distributed cooperative flow simulation environment construction method and system
CN115776449B (en) Train Ethernet communication state monitoring method and system
CN113612650A (en) Monitoring method for edge computing equipment
US11349730B2 (en) Operation device and operation method
CN105357071A (en) Identification method and identification system for network complex traffic
EP3691261A1 (en) Method and device for locating video service fault, and storage medium
CN102055620B (en) Method and system for monitoring user experience
TW201303753A (en) Dispersing-type algorithm system applicable to image monitoring platform
CN114095404A (en) Video equipment state calculation output method, device and equipment based on stream calculation
CN116991677A (en) Timing anomaly detection method, apparatus, terminal device and storage medium
CN114301812B (en) Method, device, equipment and storage medium for monitoring message processing result
CN115080363A (en) System capacity evaluation method and device based on service log
CN112003753B (en) Expected value judgment, acquisition, transmission and monitoring system and method based on configurable gateway
CN115883639A (en) Web real-time message pushing method and device, equipment and storage medium
CN108183892B (en) Message processing method and device
CN109889545A (en) Data communications method and device
CN102170562A (en) Network video service device
TWI581590B (en) Real - time traffic collection and analysis system and method

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