CN113099244A - Data flow management method for edge computing gateway - Google Patents
Data flow management method for edge computing gateway Download PDFInfo
- Publication number
- CN113099244A CN113099244A CN202110222695.8A CN202110222695A CN113099244A CN 113099244 A CN113099244 A CN 113099244A CN 202110222695 A CN202110222695 A CN 202110222695A CN 113099244 A CN113099244 A CN 113099244A
- Authority
- CN
- China
- Prior art keywords
- video stream
- data
- sending
- edge computing
- management method
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000007726 management method Methods 0.000 title claims abstract description 15
- 238000012545 processing Methods 0.000 claims abstract description 16
- 238000004458 analytical method Methods 0.000 claims abstract description 8
- 238000004364 calculation method Methods 0.000 claims abstract description 8
- 238000000034 method Methods 0.000 claims description 7
- 238000007405 data analysis Methods 0.000 abstract description 3
- 230000007547 defect Effects 0.000 abstract description 3
- 230000003993 interaction Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000004806 packaging method and process Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000035484 reaction time Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2181—Source of audio or video content, e.g. local disk arrays comprising remotely distributed storage units, e.g. when movies are replicated over a plurality of video servers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/23418—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
- H04N21/234309—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/181—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a data flow management method for an edge computing gateway, which comprises the following steps: s1: respectively acquiring a first video stream, sensor data and a second video stream from edge equipment; s2: analyzing the first video stream and the second video stream and then sending the first video stream and the second video stream together with the sensor data to a background program; s3: the background program respectively carries out intelligent analysis and calculation on the received data through a preset algorithm model and carries out format processing on the calculation result; s4: and sending the data after format processing to a front end for webpage display and sending to a remote master station. The invention realizes the decoupling between the data streams by respectively acquiring and transmitting different data streams, overcomes the defect of the traditional mashup processing, simplifies the data processing flow and realizes the independence of data acquisition and data analysis.
Description
Technical Field
The invention relates to the technical field of edge computing, in particular to a data flow management method of an edge computing gateway.
Background
Along with popularization and upgrading of intelligent safety inspection of a power distribution room, data flow is more and more complicated to process, a gateway program needs to process access of different sensors, and sensor data is packaged into a main battle background protocol mode to interact with a main station. The gateway program on the other hand is to handle data interaction across platforms. And moreover, the access of the video stream is another set of program, the video is processed by a program specially developed on the virtual machine, and the result is obtained through local analysis. And identifying the safety helmet is another set of program and is also the result of local analysis. The AI gateway integrates so many different functions, that is, several sets of different data flows, and the management of the data flows is more difficult.
Handling different development languages, several data flows of different execution environments are the most important thing. The traditional method is to do various things, for example, if the data of the sensor is known, the data is communicated with a gateway program through debugging software to read the data, and if the result of intelligent identification is known, the service is checked through a command of a virtual machine and the result is obtained. Each program is free of a set of data processing methods and is not communicated.
In the prior art, the publication number is CN111061171A, and the chinese patent of the invention discloses a power distribution room monitoring system, which includes an acquisition device, an internet of things center and a video center connected to the acquisition device, and a front end module connected to the two centers. The acquisition device is used for acquiring sensor data and video data of each power distribution room; the Internet of things middle desk is used for processing sensor data and packaging the processed sensor data into a sensor database; the video middle station is used for processing video data and packaging the processed video data into a video database; the front-end module is used for respectively sending a sensor data request to the Internet of things center station and sending a video data request to the video center station, the sensor data request is used for controlling the Internet of things center station to call sensor data from a sensor database, and the video data request is used for controlling the video center station to call video data from a video database; and also for receiving and presenting sensor data and video data. The Internet of things middlebox and the video middlebox are effectively connected in series to form information of each power distribution room, and the problem of information isolated island is solved. This solution does not involve the management of different data flows in the edge computing gateway.
Disclosure of Invention
The invention provides a data flow management method of an edge computing gateway, aiming at overcoming the defect that the flow management of different data flows by an intelligent gateway in the prior art is complex.
The primary objective of the present invention is to solve the above technical problems, and the technical solution of the present invention is as follows:
an edge computing gateway data flow management method, comprising the steps of:
s1: respectively acquiring a first video stream, sensor data and a second video stream from edge equipment;
s2: analyzing the first video stream and the second video stream and then sending the first video stream and the second video stream together with the sensor data to a background program;
s3: the background program respectively carries out intelligent analysis and calculation on the received data through a preset algorithm model and carries out format processing on the calculation result;
s4: and sending the data after format processing to a front end for webpage display and sending to a remote master station.
Further, the first video stream is a face recognition video stream.
Further, the second video stream is a helmet identification video stream.
Further, the first video stream and the second video stream are subjected to background program processing and then are subjected to webpage display at the front end, and display contents comprise video stream pictures and identification results.
Furthermore, the first video stream front-end display webpage and the second video stream front-end display webpage are embedded together in an IFRAME or external link form of HTML by taking the webpage displayed by the gateway as a main entry.
Further, the edge device acquires sensor data through a 485 interface.
Further, the sensor data is sent to the background program in a HTTP message form POST manner.
Compared with the prior art, the technical scheme of the invention has the beneficial effects that:
the invention realizes the decoupling between the data streams by respectively acquiring and transmitting different data streams, overcomes the defect of the traditional mashup processing, simplifies the data processing flow and realizes the independence of data acquisition and data analysis.
Drawings
FIG. 1 is a flow chart of the method of the present invention.
Fig. 2 is a block diagram of the edge computing gateway data flow management of the present invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
Example 1
As shown in fig. 1, an edge computing gateway data flow management method includes the following steps:
s1: respectively acquiring a first video stream, sensor data and a second video stream from edge equipment;
in a specific embodiment, the first video stream is a face recognition video stream, the second video stream is a helmet recognition video stream, and both the face recognition video stream and the helmet recognition video stream can be acquired by a monitoring camera.
S2: analyzing the first video stream and the second video stream and then sending the first video stream and the second video stream together with the sensor data to a background program;
further, the edge device acquires sensor data through a 485 interface, and the sensor data is sent to a background program through a POST mode in an HTTP message form.
It should be noted that, the analysis of the video stream and the analysis of the sensor data are both completed in the background program, so that the workload of the acquisition program is reduced, and the software reaction time can be reduced by using a delay processing method
S3: the background program respectively carries out intelligent analysis and calculation on the received data through a preset algorithm model and carries out format processing on the calculation result;
in a specific embodiment, the preset algorithm model may be an image recognition algorithm model and a sensor early warning model.
Further, the edge device acquires sensor data through a 485 interface, and the sensor data is sent to a background program in a POST mode in an HTTP message form.
S4: and sending the data after format processing to a front end for webpage display and sending to a remote master station.
Further, the first video stream and the second video stream are displayed on the webpage end after being processed by the background program, and the display content comprises video stream pictures and identification results. It should be noted that the first video stream front-end display web page and the second video stream front-end display web page are in an IFRAME or external link form of HTML, and the web page displayed by the gateway is used as a main entry to embed the pages together.
In the invention, the acquired video stream and the sensor data can be stored in a local mysql database, and the interaction between the data adopts a json format. When a novel sensor or equipment is subsequently added to the edge computing gateway, only a background program needs to be changed, and the maintainability of the project is greatly improved.
The invention decouples different data streams without traditional mashup processing, simplifies the data processing flow and realizes that data acquisition and data analysis are independent.
The same or similar reference numerals correspond to the same or similar parts;
the terms describing positional relationships in the drawings are for illustrative purposes only and are not to be construed as limiting the patent;
it should be understood that the above-described embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the claims of the present invention.
Claims (7)
1. An edge computing gateway data flow management method, comprising the steps of:
s1: respectively acquiring a first video stream, sensor data and a second video stream from edge equipment;
s2: analyzing the first video stream and the second video stream and then sending the first video stream and the second video stream together with the sensor data to a background program;
s3: the background program respectively carries out intelligent analysis and calculation on the received data through a preset algorithm model and carries out format processing on the calculation result;
s4: and sending the data after format processing to a front end for webpage display and sending to a remote master station.
2. The edge computing gateway data flow management method of claim 1, wherein the first video stream is a face recognition video stream.
3. The edge computing gateway data flow management method of claim 1, wherein the second video stream is a helmet identification video stream.
4. The method as claimed in claim 1, wherein the first video stream and the second video stream are processed by a background program and then are displayed on a front end via a web page, and the displayed content includes video stream pictures and identification results.
5. The method as claimed in claim 4, wherein the first video stream front end display web page and the second video stream front end display web page are in form of IFRAME or external chain of HTML, and the web page displayed by the gateway is used as main entrance to embed the pages together.
6. The edge computing gateway data flow management method of claim 1, wherein the edge device obtains sensor data through a 485 interface.
7. The method as recited in claim 1, wherein the sensor data is sent to a daemon in a POST format in HTTP messages.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110222695.8A CN113099244A (en) | 2021-02-26 | 2021-02-26 | Data flow management method for edge computing gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110222695.8A CN113099244A (en) | 2021-02-26 | 2021-02-26 | Data flow management method for edge computing gateway |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113099244A true CN113099244A (en) | 2021-07-09 |
Family
ID=76667622
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110222695.8A Pending CN113099244A (en) | 2021-02-26 | 2021-02-26 | Data flow management method for edge computing gateway |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113099244A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108353090A (en) * | 2015-08-27 | 2018-07-31 | 雾角系统公司 | Edge intelligence platform and internet of things sensors streaming system |
CN109451040A (en) * | 2018-12-10 | 2019-03-08 | 王顺志 | Internet of things networking system and network-building method based on edge calculations |
CN111061171A (en) * | 2019-12-04 | 2020-04-24 | 广州穗能通能源科技有限责任公司 | Power distribution room monitoring system, power distribution room data processing and calling method and device |
CN111698470A (en) * | 2020-06-03 | 2020-09-22 | 河南省民盛安防服务有限公司 | Security video monitoring system based on cloud edge cooperative computing and implementation method thereof |
-
2021
- 2021-02-26 CN CN202110222695.8A patent/CN113099244A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108353090A (en) * | 2015-08-27 | 2018-07-31 | 雾角系统公司 | Edge intelligence platform and internet of things sensors streaming system |
CN111367187A (en) * | 2015-08-27 | 2020-07-03 | 雾角系统公司 | Method for improving processing of sensor stream data in a distributed network |
CN109451040A (en) * | 2018-12-10 | 2019-03-08 | 王顺志 | Internet of things networking system and network-building method based on edge calculations |
CN111061171A (en) * | 2019-12-04 | 2020-04-24 | 广州穗能通能源科技有限责任公司 | Power distribution room monitoring system, power distribution room data processing and calling method and device |
CN111698470A (en) * | 2020-06-03 | 2020-09-22 | 河南省民盛安防服务有限公司 | Security video monitoring system based on cloud edge cooperative computing and implementation method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020006963A1 (en) | Method and apparatus for generating image detection model | |
EP4012564A1 (en) | Data processing method, data processing device, and storage medium | |
US20200293385A1 (en) | Input operation processing method and processing apparatus and computer-readable storage medium | |
CN111225280B (en) | Lightweight video analysis system based on embedded platform | |
CN101316203B (en) | Method for monitoring embedded IP terminal internetwork connection condition | |
CN106454403B (en) | Data display method, equipment and system | |
CN110222675A (en) | A kind of police strength dispatching method, system, terminal and storage medium | |
CN114490280A (en) | Log processing method, device, equipment and medium | |
CN104836831B (en) | A kind of object method of servicing for Internet of Things | |
CN113099244A (en) | Data flow management method for edge computing gateway | |
WO2024077971A1 (en) | Liveness detection method and apparatus | |
CN115426299B (en) | Method and device for identifying characteristic-free data, computer equipment and storage medium | |
CN114610386A (en) | Interaction method, device, equipment and storage medium of H5 and application program | |
CN115022722A (en) | Video monitoring method and device, electronic equipment and storage medium | |
CN115567563A (en) | Comprehensive transportation hub monitoring and early warning system based on end edge cloud and control method thereof | |
CN105573874B (en) | A kind of real-time Data Transmission bus test method based on multithreading | |
CN111736539B (en) | Monitoring data display method, device, system, server and storage medium | |
CN114066799A (en) | Detection system and detection method | |
CN113792704A (en) | Cloud deployment method and device of face recognition model | |
CN114125032B (en) | Edge protocol data processing method and system | |
CN110502412A (en) | A kind of server log processing method, system, device and storage medium | |
WO2023074970A1 (en) | Cloud ai-based xr object-recognition method | |
CN116737483B (en) | Assembly test interaction method, device, equipment and storage medium | |
WO2022145655A1 (en) | Augmented reality system | |
CN113887533A (en) | People number detection method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |