CN111683268B - Monitoring data display method, device, equipment and medium - Google Patents

Monitoring data display method, device, equipment and medium Download PDF

Info

Publication number
CN111683268B
CN111683268B CN202010351730.1A CN202010351730A CN111683268B CN 111683268 B CN111683268 B CN 111683268B CN 202010351730 A CN202010351730 A CN 202010351730A CN 111683268 B CN111683268 B CN 111683268B
Authority
CN
China
Prior art keywords
monitoring
video
code stream
frame
video code
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
CN202010351730.1A
Other languages
Chinese (zh)
Other versions
CN111683268A (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 CN202010351730.1A priority Critical patent/CN111683268B/en
Publication of CN111683268A publication Critical patent/CN111683268A/en
Application granted granted Critical
Publication of CN111683268B publication Critical patent/CN111683268B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234309Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 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
    • 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/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/23418Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
    • 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/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • 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/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/437Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server

Abstract

The invention provides a monitoring data display method, a device, equipment and a medium. The invention obtains the monitoring video code stream, analyzes and encapsulates the monitoring video code stream into the code stream of the protocol format supported by the terminal, and then pushes the code stream to the terminal in the form of a monitoring video code stream data packet; in the process of pushing the monitoring video code stream, judging whether the packet number carried by the current pushed monitoring video code stream data packet is the first packet number in a single-frame video frame or not; and inquiring the monitoring name of the monitoring video code stream when the packet number carried by the currently pushed monitoring video code stream data packet is the first packet number in a single-frame video frame, and sending the monitoring name to the terminal, so that the terminal displays the monitoring name in a superposition way during the output of the video frame. The invention ensures that each video frame has the monitoring name displayed in a superposition way when being output and displayed as the monitoring picture, thereby overcoming the phenomenon that the monitoring name is not existed or incomplete in the monitoring picture in the prior art.

Description

Monitoring data display method, device, equipment and medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a medium for displaying monitoring data.
Background
The video networking is an important milestone for network development, is a real-time network, can realize real-time transmission of high-definition videos, and pushes numerous internet applications to high-definition videos, and the high definition faces.
When the existing fusion video scheduling platform displays the monitoring video, the situation that the names of the monitoring names in the monitoring picture are inconsistent or incomplete occurs. Preventing the user from completely grasping the monitoring information.
Disclosure of Invention
In view of the foregoing, embodiments of the present invention are provided to provide a method, apparatus, device, and medium for displaying monitoring data, which overcome or at least partially solve the foregoing problems.
In order to solve the above problems, an embodiment of the present invention discloses a method for displaying monitoring data, which is applied to a video networking co-rotating server, and the method includes:
acquiring a monitoring video code stream, and pushing the monitoring video code stream to a terminal in the form of a monitoring video code stream data packet;
in the process of pushing the monitoring video code stream, judging whether a packet number carried by a currently pushed monitoring video code stream data packet is the first packet number in a single-frame video frame, wherein the video frame comprises a plurality of monitoring video code stream data packets;
And inquiring the monitoring name of the monitoring video code stream when the packet number carried by the currently pushed monitoring video code stream data packet is the first packet number in a single-frame video frame, and sending the monitoring name to the terminal, so that the terminal displays the monitoring name in a superposition way during the output of the video frame.
Preferably, before the step of determining whether the packet number carried by the currently pushed surveillance video code stream data packet is the first packet number in the single frame video frame, the method further includes:
analyzing the monitoring video code stream to obtain at least one frame of video frame;
and respectively adding packet numbers to the plurality of surveillance video code stream data packets contained in each frame of video frame.
Preferably, the video networking co-rotating server stores monitoring information of a plurality of monitoring videos, and the monitoring information of a single monitoring video at least comprises a monitoring name and a monitoring identifier of the monitoring video; before the step of acquiring the surveillance video code stream and pushing the surveillance video code stream to the terminal in the form of surveillance video code stream data packets, the method further comprises:
receiving a monitoring video request sent by the terminal, wherein the monitoring video request carries a monitoring identifier of a requested target monitoring video;
Matching the monitoring identifier of the target monitoring video with the monitoring identifiers of the monitoring information of the plurality of monitoring videos;
if the matching is successful, a stream regulating request is sent to a monitoring platform, wherein the stream regulating request carries a monitoring identifier of the target monitoring video;
and receiving the target monitoring video returned by the monitoring platform in the form of a monitoring video code stream. Preferably, after the step of receiving the target monitoring video returned by the monitoring platform in the form of a monitoring video code stream, the method further includes:
obtaining a protocol format supported by the terminal;
converting the protocol format of the monitoring video code stream into a protocol format supported by the terminal;
pushing the surveillance video code stream to a terminal in the form of surveillance video code stream data packets, comprising:
and pushing the monitoring video code stream after protocol format conversion to the terminal in the form of a monitoring video code stream data packet.
In a second aspect, in order to solve the above problem, an embodiment of the present invention further discloses a method for displaying monitoring data, which is applied to a terminal, where the method includes:
sending a monitoring video request to a video networking cooperative conversion server, wherein the monitoring video request is used for the video networking cooperative conversion server to acquire a monitoring video code stream from a monitoring platform, and the monitoring video code stream comprises at least one frame of video frame;
Receiving the monitoring video code stream and monitoring names corresponding to all video frames in the monitoring video code stream;
and superposing and displaying the monitoring names in the corresponding monitoring pictures of the video frames.
Preferably, each received video frame includes a plurality of surveillance video code stream data packets carrying packet numbers; the step of displaying the monitor names in the monitor pictures of the corresponding video frames in a superposition way comprises the following steps:
outputting each video frame according to the packet number sequence of the monitoring video code stream data packet in each video frame;
and if the monitoring name corresponding to the video frame is received during the output of the video frame, displaying the monitoring name in a monitoring picture of the video frame in a superposition way.
In order to solve the above problem, the embodiment of the present invention further discloses a monitoring data display device, which is applied to a video networking co-rotating server, and the device includes:
the data code stream acquisition module is used for acquiring a monitoring video code stream and pushing the monitoring video code stream to the terminal in the form of a monitoring video code stream data packet;
the data packet judging module is used for judging whether the packet number carried by the currently pushed monitoring video code stream data packet is the first packet number in a single-frame video frame or not in the process of pushing the monitoring video code stream, wherein the video frame comprises a plurality of monitoring video code stream data packets;
And the monitoring name superposition module is used for inquiring the monitoring name of the monitoring video code stream and sending the monitoring name to the terminal when the packet number carried by the currently pushed monitoring video code stream packet is the first packet number in the single-frame video frame, so that the terminal superposes and displays the monitoring name during the period of outputting the video frame.
In order to solve the above problem, an embodiment of the present invention further discloses a monitoring data display device, which is applied to a terminal, and the device includes:
the monitoring video request sending module is used for sending a monitoring video request to the video networking coordination server, wherein the monitoring video request is used for the video networking coordination server to acquire a monitoring video code stream from a monitoring platform, and the monitoring video code stream comprises at least one frame of video frame;
the data receiving module is used for receiving the monitoring video code stream and the monitoring names corresponding to all video frames in the monitoring video code stream;
and the monitoring name superposition module is used for superposing and displaying the monitoring names in the corresponding monitoring pictures of the video frames.
In a fifth aspect, in order to solve the above-mentioned problem, the embodiment of the present invention further discloses an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, preferably, the processor implements the steps of a monitoring data display method according to the first to second aspects when the processor executes the program.
In a sixth aspect, in order to solve the above-mentioned problems, the embodiments of the present invention further disclose a computer-readable storage medium, preferably, the computer-readable storage medium has a computer program stored thereon, the computer program when executed by a processor implementing the steps of a monitoring data display method as described in the first to second aspects.
The invention has the following advantages:
according to the method, the device and the terminal, the monitoring video code stream is obtained and pushed to the terminal in the form of the monitoring video code stream data packet, so that the target monitoring video can send target monitoring videos with different protocol formats to the terminal through the video networking cooperative conversion service, and cross-network type transmission of the target monitoring video can be realized; by judging whether the packet number carried by the current pushed monitoring video code stream data packet is the first packet number in a single-frame video frame or not, inquiring the monitoring name of the monitoring video code stream when the packet number carried by the current pushed monitoring video code stream data packet is the first packet number in the single-frame video frame, the video networking co-rotating server can ensure that the monitoring name is transmitted once when transmitting one frame of video frame, and each frame of video frame is associated with one monitoring name; and the terminal displays the monitoring names in a superposition manner during the video frame outputting process, so that each video frame has the monitoring names in the superposition manner when being outputted and displayed as the monitoring picture, and the phenomenon that the monitoring names are not existed or are incomplete in the monitoring picture in the prior art is overcome.
Drawings
FIG. 1 is a flow chart of steps of a method for displaying monitoring data according to the present invention;
FIG. 2 is an operation example diagram of a monitoring data display method of the present invention;
FIG. 3 is a flow chart of steps of a method for displaying monitoring data according to the present invention;
FIG. 4 is a block diagram of a method for displaying monitoring data according to the present invention;
FIG. 5 is a functional block diagram of a method of monitoring data display of the present invention;
FIG. 6 is a block diagram of a monitor data display device of the present invention;
FIG. 7 is a block diagram of a monitor data display device of the present invention;
FIG. 8 is a networking schematic of the present invention for a video networking;
FIG. 9 is a schematic diagram of the hardware architecture of a node server according to the present invention;
FIG. 10 is a schematic diagram of the hardware architecture of an access switch of the present invention;
fig. 11 is a schematic hardware structure of an ethernet corotating gateway according to the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
The scheme of the invention is implemented in the video networking, and the specific equipment comprises: the system comprises a terminal, a video networking coordination server and a monitoring platform.
Firstly, a monitoring platform sends monitoring information of all monitor videos hung down to a video networking cooperative server, wherein the monitoring information of a single monitor video comprises a monitor name, a monitor identifier, an IP address and the like of the monitor video; and the video networking coordination server stores the monitoring information after receiving the monitoring information.
Then, after receiving a monitoring video request from a terminal, the video networking cooperative conversion server sends a stream regulating request to a monitoring platform so that the monitoring platform sends a target monitoring video to the video networking cooperative conversion server in the form of a monitoring video code stream, wherein the monitoring video code stream comprises at least one frame of video frame, and each video frame comprises a plurality of monitoring video code stream data packets; after receiving the monitoring video code stream, the video networking co-rotating server firstly converts the protocol format of the monitoring video code stream into a protocol format which can be supported by the terminal, then adds a packet number to the monitoring video code stream data packet in each frame of video frame, and the packet number of each frame is started from 1.
And then, in the process of transmitting the monitoring video code stream data packet added with the packet number to the terminal, the video network cooperative transmission server detects whether the packet number of the currently transmitted monitoring video code stream data packet is 1 in real time, if so, the monitoring name of the target monitoring video corresponding to the monitoring video code stream data packet is inquired from the monitoring information stored in the video network cooperative transmission server, and the monitoring name of the target monitoring video is transmitted to the terminal at the same time when the monitoring video code stream data packet with the packet number of 1 is transmitted.
And finally, the terminal superimposes and displays the monitoring name of the target monitoring video in the display picture at the same time of displaying the video frame.
Referring to fig. 1, a flowchart of steps of a method for displaying monitoring data according to the present invention is shown, and the method is applied to a video networking corotation server, and may specifically include the following steps:
step 101, acquiring a monitoring video code stream, and pushing the monitoring video code stream to a terminal in the form of a monitoring video code stream data packet;
in a specific implementation, the video networking cooperative conversion server searches a target monitoring video corresponding to the monitoring identifier from the monitoring platform according to the monitoring identifier of the target monitoring video, and the monitoring platform sends the target monitoring video to the video networking cooperative conversion server in a monitoring video code stream mode, wherein a camera corresponding to the target monitoring video can be monitored in real time, so that the camera also transmits the target monitoring video, namely the monitoring video, to the monitoring platform in real time, and the monitoring platform converts the monitoring video into a monitoring video code stream in real time and transmits the monitoring video to the video networking cooperative conversion server. The monitoring video code stream at least comprises one frame of video frame, and each video frame comprises a plurality of monitoring video code stream data packets. In this embodiment, a frame of video frame may be understood as a frame of monitor screen data of a monitor video.
And after receiving the monitoring video code stream, the video networking co-rotating server analyzes the monitoring video code stream in real time to obtain at least one frame of video frame. The video networking co-rotating server adds packet numbers to a plurality of monitoring video code stream data packets contained in each frame of video frame in the code stream, wherein the packet numbers of the monitoring video code stream data packets in each frame of video frame are all numbered from the beginning, for example, the packet numbers of the monitoring video code stream data packets in each frame of video frame are all numbered from 1.
And the video networking co-rotating server transmits the monitoring video code stream with the packet number to the terminal in the form of a monitoring video code stream data packet.
Step 102, in the process of pushing the monitoring video code stream, judging whether the packet number carried by the current pushed monitoring video code stream data packet is the first packet number in a single-frame video frame;
in a specific implementation, in a process of pushing a monitoring video code stream to a terminal, a video network co-rotating server sends a monitoring video code stream data packet with a packet number to the terminal, and in a sending process, whether the packet number carried by the monitoring video code stream data packet is the first packet number of a corresponding video frame is detected in real time according to the packet number of the currently sent monitoring video code stream data packet. Wherein the video frame comprises a plurality of surveillance video code stream data packets.
And step 103, inquiring the monitoring name of the monitoring video code stream and sending the monitoring name to the terminal when the packet number carried by the currently pushed monitoring video code stream packet is the first packet number in a single-frame video frame, so that the terminal displays the monitoring name in a superposition way during the output of the video frame.
In a specific implementation, when the video network coordination service detects that the packet number carried by the currently pushed monitoring video code stream data packet is the first packet number, the monitoring name of the target monitoring video corresponding to the monitoring video code stream is queried in the monitoring information of the monitoring video stored by the video network coordination service, and when the monitoring video code stream data packet carrying the first packet number is sent, the monitoring name corresponding to the monitoring video is sent to the terminal.
After receiving all the monitoring video code stream data packets contained in a frame of video frame, the terminal sequentially outputs and displays the video frame according to the packet numbers carried by the monitoring video code stream data packets in the video frame to form a monitoring picture, and the currently received monitoring names are displayed in the monitoring picture in a superposition manner.
In the embodiment of the invention, the target monitoring video can be sent to the terminal through the video networking cooperative service by acquiring the monitoring video code stream and pushing the monitoring video code stream to the terminal in the form of the monitoring video code stream data packet, so that the cross-network type transmission of the target monitoring video can be realized; the method comprises the steps that whether a packet number carried by a current pushed monitoring video code stream data packet is the first packet number in a single-frame video frame or not is judged, when the packet number carried by the current pushed monitoring video code stream data packet is the first packet number in the single-frame video frame, the monitoring name of the monitoring video code stream is inquired and sent to the terminal, so that a video network co-rotating server can ensure that each frame of video frame is transmitted and simultaneously transmits a monitoring name once, and each frame of video frame is associated with one monitoring name; and the terminal displays the monitoring names in a superposition manner during the video frame outputting process, so that each frame of video frame has monitoring names in the superposition manner when being outputted and displayed as a monitoring picture, and the phenomenon that the monitoring names are not existed or are incomplete in the monitoring picture in the prior art is overcome.
Referring to fig. 2, an operation example diagram of a monitoring data display method of the present invention is shown, and the method is applied to a video networking corotation server, and may specifically include the following steps:
step 201, receiving a monitoring video request sent by the terminal, wherein the monitoring video request carries a monitoring identifier of a requested target monitoring video;
in the embodiment of the invention, the video network coordination server receives a monitoring video request sent by a terminal, wherein the monitoring video request carries a monitoring identifier of a target monitoring video, and the monitoring identifier is a unique identifier of the target monitoring video.
Step 202, matching the monitoring identifier of the target monitoring video with the monitoring identifiers of the monitoring information of the plurality of monitoring videos;
in the embodiment of the invention, a plurality of monitoring videos are hung under a monitoring platform, and the monitoring platform sends monitoring information of all the hung monitoring videos to a video network cooperative server for storage, wherein the monitoring information of a single monitoring video at least comprises a monitoring name and a monitoring identifier of the monitoring video.
When a new monitoring video is added or an existing monitoring video is deleted under the monitoring platform, the monitoring platform can send the monitoring information of the newly added or deleted monitoring video to the video network cooperative conversion server, so that the video network cooperative conversion server adds or deletes the monitoring information of the corresponding monitoring video in the stored monitoring information.
Therefore, the video networking co-rotating server stores monitoring information of a plurality of monitoring videos, and the monitoring information of a single monitoring video at least comprises a monitoring name and a monitoring identifier of the monitoring video.
The video networking cooperative conversion server firstly analyzes the monitoring video request to obtain a monitoring identifier of a target monitoring video; and then, the monitoring identification is matched with the monitoring identification of each monitoring information stored in the video networking cooperative server one by the video networking cooperative server.
Step 203, if the matching is successful, a stream regulating request is sent to a monitoring platform, wherein the stream regulating request carries a monitoring identifier of the target monitoring video;
in the embodiment of the invention, the video networking cooperative server inquires a monitoring identifier matched with the monitoring identifier of the target monitoring video in the stored numerous monitoring information, and indicates that the target monitoring video exists in the monitoring platform, and generates a flow regulating request according to the monitoring identifier of the target monitoring video, and sends the flow regulating request to the monitoring platform.
If the matching is not successful, the video networking co-rotating server returns an error message to the terminal, so that an operator can know that a target monitoring video corresponding to the monitoring identifier is not available in the monitoring platform through the error message.
Step 204, receiving the target monitoring video returned by the monitoring platform in the form of a monitoring video code stream;
in the embodiment of the invention, after receiving the flow regulating request sent by the video networking coordination server, the monitoring platform analyzes the flow regulating request to obtain the monitoring identification of the target monitoring video. And the monitoring platform finds out a target monitoring video corresponding to the monitoring identifier from the monitored videos hung below according to the monitoring identifier. In this embodiment, the target monitoring video is that the camera sends the monitoring picture data to the monitoring platform in real time, so the monitoring platform sends the target monitoring video to the video network co-rotating server in the form of a monitoring video code stream, and the monitoring video code stream at least comprises one frame of video frame.
Step 205, obtaining a protocol format supported by the terminal;
step 206, converting the protocol format of the monitoring video code stream into a protocol format supported by the terminal;
in the embodiment of the invention, because the protocol format supported by the terminal may not be consistent with the protocol format of the monitoring video code stream sent by the monitoring platform, the video networking cooperative conversion server needs to acquire the protocol format supported by the terminal, so that the video networking cooperative conversion service converts the protocol format of the monitoring video code stream into the protocol format supported by the terminal.
Step 207, analyzing the monitoring video code stream to obtain at least one frame of video frame;
in the embodiment of the invention, the video networking co-rotating server analyzes the monitoring video code stream after the format conversion is completed, and obtains the video frames contained in the monitoring video code stream. And each frame of video frame includes a plurality of surveillance video code stream data packets.
Step 208, adding packet numbers to the plurality of surveillance video code stream data packets contained in each frame of video frame respectively;
in the embodiment of the invention, the video networking co-rotating server adds packet numbers to the monitoring video code stream data packets in each frame of video frame respectively, and the packet numbers of the monitoring video code stream data packets in each frame of video frame are all from the number 1.
Step 209, pushing the monitoring video code stream after protocol format conversion to the terminal in the form of monitoring video code stream data packets;
in the embodiment of the invention, the video networking co-rotating server transmits the monitoring video code stream which is converted in protocol format and carries the packet number to the terminal in the form of a monitoring video code stream data packet. That is, the video networking co-rotating server will send the data packets contained in the video frames to the terminal one by one according to the video frames as units, and then send the video frames of the next frame. Or the video networking co-rotating server and the terminal transmit video frames simultaneously in a multi-channel mode.
Step 210, in the process of pushing the surveillance video code stream, judging whether the packet number carried by the currently pushed surveillance video code stream data packet is the first packet number in a single frame video frame, wherein the video frame comprises a plurality of surveillance video code stream data packets;
in the embodiment of the invention, in the process of sending the monitoring video code stream to the terminal, the video networking co-rotating server can judge whether the currently sent monitoring video code stream data packet is the first data packet according to the packet number in real time, for example, judge whether the packet number of the currently sent monitoring video code stream data packet is number 1.
Step 211, when the packet number carried by the currently pushed surveillance video code stream packet is the first packet number in a single frame video frame, inquiring the surveillance name of the surveillance video code stream, and sending the surveillance name to the terminal, so that the terminal superimposes and displays the surveillance name during the period of outputting the video frame.
In the embodiment of the invention, when the current monitoring video code stream data packet pushed to the terminal by the video network cooperative server is a data packet with the packet number of 1 in the video frame, the video network cooperative server inquires a monitoring name corresponding to the monitoring identifier in monitoring information according to the monitoring identifier of the target monitoring video corresponding to the monitoring video code stream, and sends the monitoring name to the terminal. And the terminal outputs a single-frame video frame according to the packet number and displays the single-frame video frame as a monitoring picture. And the terminal superimposes and displays the monitoring name in a monitoring picture of the video frame during the output of the video frame.
In the embodiment of the invention, the monitoring identification of the target monitoring video is matched with the monitoring identification of each monitoring information of the plurality of monitoring videos, so that the terminal can inquire whether the target monitoring video exists in the monitoring platform or not, and the monitoring platform does not need to call the target monitoring video under the condition that the target monitoring video does not exist, thereby reducing the energy consumption of the video network coordination server and the monitoring platform and shortening the time for the terminal to wait for obtaining the target monitoring video result. The protocol format of the monitoring video code stream is converted into the protocol format supported by the terminal, so that the monitoring video in the monitoring platform can be transmitted to the terminal across the network for display; by encoding the data packet of the monitoring video code stream, the condition that the terminal is out of order and the monitoring picture is distorted when the monitoring picture is displayed is avoided; the monitoring names are sent to the terminal when the first monitoring video code stream data packet in the video frame is pushed, so that the monitoring names are displayed in a superposition manner in the monitoring pictures of the video frame, each frame of monitoring picture in the monitoring pictures can display the complete monitoring name, and the phenomenon that the monitoring names are not present or are incomplete in the monitoring pictures in the prior art is overcome.
Referring to fig. 3, a flowchart of steps of a method for displaying monitoring data according to the present invention is shown, the method is applied to a terminal, and specific steps are as follows:
step 301, a monitoring video request is sent to a video networking coordination server, wherein the monitoring video request is used for the video networking coordination server to acquire a monitoring video code stream from a monitoring platform;
in the embodiment of the invention, the surveillance video code stream includes at least one video frame. The terminal sends a monitoring video request carrying a monitoring identifier of a target monitoring video to the video network cooperative server, and the monitoring video request is used for the cooperative server to acquire the target monitoring video in the form of a monitoring video code stream from a monitoring platform.
Step 302, receiving the monitoring video code stream and monitoring names corresponding to video frames of each frame in the monitoring video code stream;
in the embodiment of the invention, when receiving the monitoring video code stream sent by the video network coordination server, the terminal synchronously receives the monitoring names corresponding to the video frames of each frame when receiving the video frames of each frame in the monitoring video code stream. Under the condition that the target monitoring video is unchanged, the monitoring names received by the terminal are the same, and the monitoring names are all the monitoring names of the target monitoring video.
And 303, superposing and displaying the monitoring names in the corresponding monitoring pictures of the video frames of each frame.
Sub-step 3031, outputting each video frame according to the packet number sequence of the surveillance video code stream data packet in each video frame;
sub-step 3032, if a monitor name corresponding to the video frame is received during the output of the video frame, displaying the monitor name superimposed on a monitor screen of the video frame.
In the embodiment of the invention, each video frame received by the terminal respectively comprises a plurality of monitoring video code stream data packets carrying packet numbers. All the monitoring video code stream data packets received by the terminal are provided with packet numbers, and the terminal outputs and displays each video frame according to the sequence of the packet numbers.
Meanwhile, if the terminal successfully receives the monitoring name inquired by the video network co-rotating server when the monitoring video code stream data packet with the first packet number in the video frame is sent when the video frame is displayed, the terminal displays the monitoring name in a monitoring picture of the video frame in a superposition mode.
In the embodiment of the invention, the video frames are displayed as the monitoring pictures according to the coding sequence of the packet numbers, so that the conditions of disorder and distortion of the monitoring pictures can not occur when the terminal displays the monitoring pictures; by superposing and displaying the monitoring names in the monitoring pictures corresponding to the frame video frames, each frame of monitoring picture in the monitoring pictures can display the complete monitoring names, and the phenomenon that the monitoring names are not present or incomplete in the monitoring pictures in the prior art is overcome.
Referring to fig. 4, a block diagram of a design of a method for displaying monitoring data according to the present invention is shown.
In the embodiment of the invention, pamir corresponds to the terminal, and Pamir is a fused video scheduling platform or a conference scheduling platform; the corotation corresponds to the video networking corotation server.
Step 401, monitoring a meeting;
specifically, a request for monitoring a meeting is forwarded to a collaboration in a Pamir, the request carries a specific monitoring video code, the monitoring video code is a monitoring identifier of a target monitoring video, and the monitoring video code is used for identifying the monitoring video.
Step 402, flow regulation is carried out by a cooperative steering monitoring platform;
specifically, after receiving a request for monitoring an conference, the corotation searches whether a monitoring video code matched with the monitoring video code carried by the request exists in monitoring information stored in the corotation. If yes, a stream regulating request of the target monitoring video is initiated to the monitoring platform, and the stream regulating request carries the monitoring video coding.
Step 403, the monitoring platform pushes the code stream to the cooperative transmission;
specifically, the monitoring platform searches a corresponding target monitoring video according to the monitoring video code, and continuously pushes the target monitoring video to the coordination in a video code stream mode.
Step 404, the protocol is turned to Pamir to push the video networking code stream;
specifically, the video code stream is analyzed by the co-rotation, converted into the video networking code stream and then pushed to the Pamir.
Step 405, cooperatively judging the pushed video networking code stream;
specifically, the co-rotation performs analysis and judgment on the currently pushed video networking code stream while pushing the video networking code stream to the Pamir, and whether the currently sent monitoring video code stream data packet is the first data packet in a frame of video frame or not.
Step 406, reporting the name of the target monitoring video to Pamir in a cooperated manner;
specifically, when detecting that the monitoring video code stream data packet contained in the video networking code stream is the first data packet in a frame of video frame, the cooperative reporting the name of the target monitoring video corresponding to the video networking code stream to the Pamir in a signaling mode. After Pamir receives the signaling, pamir analyzes the monitoring name in the signaling, and superimposes and displays the monitoring name on the monitoring picture of the video frame corresponding to the first data packet.
In the embodiment of the invention, the monitoring identification of the target monitoring video is matched with the respective monitoring identification in the cooperatively stored monitoring information, so that the Pamir can inquire whether the target monitoring video exists in the monitoring platform, and the monitoring platform does not need to call the target monitoring video under the condition that the target monitoring video does not exist, thereby reducing the energy consumption of the video network cooperatively server and the monitoring platform and shortening the time for waiting for acquiring the target monitoring video result by the Pamir. The monitoring names are sent to the Pamir when the first monitoring video code stream data packet in each frame of video frame is pushed, so that the monitoring names are displayed in a superposition manner in the monitoring pictures of the corresponding video frames, each frame of monitoring picture in the monitoring pictures can display the complete monitoring name, and the phenomenon that the monitoring names are not existed or are incomplete in the monitoring pictures in the prior art is overcome.
Referring to fig. 5, a functional block diagram of a monitoring data display method of the present invention is shown.
In the embodiment of the invention, the video networking co-rotating server is provided with a mechanism for judging whether the packet number carried by the monitoring video code stream data packet in each frame of video frame is the first packet number, and the packet number of the monitoring video code stream data packet in each frame of video frame is from 1. When the video networking co-rotating server pushes the video networking monitoring code stream to the Pamir, the video networking co-rotating server reads the monitoring name of the target monitoring video, namely the monitoring resource name in fig. 5, when detecting that the currently transmitted monitoring video code stream data packet is the first data packet of the corresponding video frame, and reports the monitoring name to the Pamir. And each time the video frame is sent by the video networking co-rotating server, reporting the monitoring name of the target monitoring video to the Pamir once, and superposing and displaying the monitoring name in a monitoring picture corresponding to the video frame by the Pamir.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
Referring to fig. 6, there is shown a structural diagram of a monitoring data display device of the present invention, which is applied to a cooperative rotation server of the internet of view, and specific modules are as follows:
the data code stream obtaining module 601 is configured to obtain a surveillance video code stream, and push the surveillance video code stream to a terminal in a form of surveillance video code stream data packet;
the data packet judging module 602 is configured to judge whether a packet number carried by a currently pushed surveillance video code stream data packet is a first packet number in a single frame video frame in a process of pushing the surveillance video code stream, where the video frame includes a plurality of surveillance video code stream data packets;
and the monitor name superposition module 603 is configured to query a monitor name of the monitor video code stream when a packet number carried by a currently pushed monitor video code stream packet is a first packet number in a single frame video frame, and send the monitor name to the terminal, so that the terminal superimposes and displays the monitor name during outputting the video frame.
Preferentially, the video networking co-rotating server stores monitoring information of a plurality of monitoring videos, and the monitoring information of a single monitoring video at least comprises a monitoring name and a monitoring identifier of the monitoring video; the apparatus further comprises:
The video frame acquisition module is used for analyzing the monitoring video code stream to obtain at least one frame of video frame;
and the packet number adding module is used for respectively adding packet numbers to the plurality of surveillance video code stream data packets contained in each frame of video frame.
The monitoring video request receiving module is used for receiving a monitoring video request sent by the terminal, wherein the monitoring video request carries a monitoring identifier of a requested target monitoring video;
the monitoring identification matching module is used for matching the monitoring identification of the target monitoring video with the monitoring identification of each monitoring information of the plurality of monitoring videos;
the flow regulating request sending module is used for sending a flow regulating request to the monitoring platform if the matching is successful, wherein the flow regulating request carries the monitoring identifier of the target monitoring video;
and the target monitoring video receiving module is used for receiving the target monitoring video returned by the monitoring platform in the form of a monitoring video code stream.
A protocol format acquisition module, configured to acquire a protocol format supported by the terminal;
the protocol format conversion module is used for converting the protocol format of the monitoring video code stream into the protocol format supported by the terminal;
the data code stream obtaining module 601 includes:
And the monitoring video code stream pushing sub-module is used for pushing the monitoring video code stream after protocol format conversion to the terminal in the form of a monitoring video code stream data packet.
Referring to fig. 7, there is shown a structural diagram of a monitoring data display device of the present invention, which is applied to a terminal, and specific modules are as follows:
a monitoring video request sending module 701, configured to send a monitoring video request to a video networking co-rotating server, where the monitoring video request is used by the video networking co-rotating server to obtain a monitoring video code stream from a monitoring platform, and the monitoring video code stream includes at least one frame of video frame;
the data receiving module 702 is configured to receive the surveillance video code stream and a surveillance name corresponding to each video frame in the surveillance video code stream;
and the monitor name superposition module 703 is configured to superimpose and display the monitor name on the monitor screen of each corresponding video frame.
Preferably, each received video frame includes a plurality of surveillance video code stream data packets carrying packet numbers; the monitor name superimposing module 703 includes:
a data display submodule 7031, configured to output each video frame according to a packet number sequence of a surveillance video code stream data packet in each video frame;
The monitor name superposition submodule 7032 is configured to superimpose and display a monitor name corresponding to the video frame on a monitor screen of the video frame if the monitor name is received during output of the video frame.
Based on the same inventive concept, another embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the steps in the method according to any one of the foregoing embodiments of the present application.
Based on the same inventive concept, another embodiment of the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method according to any of the above embodiments of the present application.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
For a better understanding of embodiments of the present application, the following description of the video networking is presented to one skilled in the art:
the partial techniques applied by the video networking are as follows:
network technology (Network Technology)
The network technology innovation of the internet of vision improves on the traditional Ethernet (Ethernet) to face the potentially huge video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network circuit Switching (Circuit Switching), the technology of video networking employs Packet Switching to meet Streaming requirements. The video networking technology has the flexibility, simplicity and low price of packet switching, and simultaneously has the quality and the safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Exchange technology (Switching Technology)
The video network adopts the two advantages of the asynchronization and the packet switching of the Ethernet, eliminates the Ethernet defect on the premise of full compatibility, has full-network end-to-end seamless connection, and is directly connected with the user terminal to directly bear the IP data packet. The user data does not need any format conversion in the whole network. The video networking is a higher-level form of Ethernet, is a real-time exchange platform, can realize real-time transmission of full-network large-scale high-definition video which cannot be realized by the current Internet, and pushes numerous 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 server in the traditional sense, the streaming media transmission is based on connection-oriented basis, the data processing capability is irrelevant to the flow and the 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 hundred times than that of a traditional server.
Accumulator technology (Storage Technology)
The ultra-high-speed storage technology of the unified video platform adopts the most advanced real-time operating system for adapting to the ultra-large capacity and ultra-large flow media content, the program information in the server instruction is mapped to a specific hard disk space, the media content does not pass through the server any more, the media content is instantly and directly delivered to a user terminal, and the waiting time of the user is generally less than 0.2 seconds. The optimized sector distribution greatly reduces the mechanical motion of magnetic head seek of the hard disk, the resource consumption only accounts for 20% of the IP Internet of the same grade, but the concurrent flow which is 3 times greater 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 networking thoroughly structurally solves the network security problem puzzling the Internet by means of independent permission of each service, complete isolation of equipment and user data and the like, generally does not need antivirus programs or firewalls, eliminates attacks of hackers and viruses, and provides a structural carefree security network for users.
Service innovation technology (Service Innovation Technology)
The unified video platform fuses services with transmissions, whether a single user, private network users or a network aggregate, but automatically connects at a time. The user terminal, the set top box or the PC is directly connected to the unified video platform, so that various multimedia video services are obtained. The unified video platform adopts a menu type table allocation mode to replace the traditional complex application programming, and can realize complex application by using very few codes, thereby realizing 'infinite' new business innovation.
Networking of the video networking is as follows:
the video networking is a centrally controlled network structure, which may be of the tree network, star network, ring network, etc., but on the basis of this there is a need for a centralized control node in the network to control the whole network.
As shown in fig. 8, the view network is divided into an access network and a metropolitan area network.
The devices of the access network part can be mainly divided into 3 classes: node server, access switch, terminal (including various set-top boxes, code boards, memories, etc.). The node server is connected with an access switch, which can be connected with a plurality of terminals and can be connected with an Ethernet.
The node server is a node with a centralized control function in the access network, and can control the access switch and the terminal. The node server may be directly connected to the access switch or may be directly connected to the terminal.
Similarly, devices of the metropolitan area network portion can also be classified into 3 categories: metropolitan area server, node switch, 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 the node server of the access network part, namely the node server belongs to the access network part and also belongs to the metropolitan area network part.
The metropolitan area server is a node with centralized control function in the metropolitan area network, and can control a node switch and a node server. The metropolitan area server may be directly connected to the node switch or directly connected to the node server.
Thus, the whole video network is a hierarchical centralized control network structure, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star, ring and the like.
The access network part can be vividly called as a unified video platform (part in a dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform can be interconnected and intercommunicated through metropolitan area and wide area video networking.
View networking device classification
1.1 devices in the visual network according to the embodiment of the present invention may be mainly classified into 3 types: a server, a switch (including an ethernet gateway), a terminal (including various set-top boxes, a code board, a memory, etc.). The view networking can be divided into metropolitan area networks (or national networks, global networks, etc.) and access networks as a whole.
1.2 devices in the access network part can be mainly classified into 3 classes: node server, access switch (including Ethernet gateway), terminal (including various set-top boxes, code board, memory, etc.).
The specific hardware structure of each access network device is as follows:
the node server:
as shown in fig. 9, the device mainly comprises a network interface module 201, a switching engine module 202, a CPU module 203 and a disk array module 204;
wherein, 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 packet guiding information; and stores the packet into a corresponding queue of the packet buffer 206 according to the packet's guiding information; discarding if the queue of the packet buffer 206 is nearly full; the switch engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) The port sending buffer is not full; 2) The queue packet counter is greater than zero. The disk array module 204 mainly controls the hard disk, including initializing, reading and writing operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with access switches and terminals (not shown), configuration of the address table 205 (including a downstream protocol packet address table, an upstream protocol packet address table, and a data packet address table), and configuration of the disk array module 204.
Access switch:
as shown in fig. 10, mainly includes a network interface module (a downstream network interface module 301, an upstream network interface module 302), a switching engine module 303, and a CPU module 304;
wherein, the packet (uplink data) coming in from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), source Address (SA), packet type, and packet length of the packet meet the requirements, if so, allocates a corresponding stream identifier (stream-id), and enters the switching engine module 303, otherwise, discards the packet; the packets (downstream data) coming in from the upstream network interface module 302 enter the switching engine module 303; the data packet coming in from the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up an address table 306 on an incoming packet, thereby obtaining packet guiding information; if a packet entering the switching engine module 303 is sent 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 a stream identifier (stream-id); discarding if the queue of the packet buffer 307 is nearly full; if the packet entering the switching engine module 303 is not sent from the downlink network interface to the uplink network interface, storing the data packet into the queue of the corresponding packet buffer 307 according to the packet guiding information; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switch engine module 303 polls all packet buffer queues, in two cases in the embodiment of the present invention:
if the queue is sent from the downlink network interface to the uplink network interface, the following conditions are satisfied for forwarding: 1) The port sending buffer is not full; 2) The queue packet counter is greater than zero; 3) Obtaining a token generated by a code rate control module;
if the queue is not addressed by the downstream network interface to the upstream network interface, the following condition is satisfied for forwarding: 1) The port sending buffer is not full; 2) The queue packet counter is greater than zero.
The rate control module 308 is configured by the CPU module 304 to generate tokens for all packet buffer queues from the downstream network interface to the upstream network interface 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 rate control module 308.
Ethernet corotation gateway
As shown in fig. 11, the device mainly includes a network interface module (a downstream network interface module 401 and an upstream 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 in from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, ethernet MAC SA, ethernet length or frame type, video network destination address DA, video network source address SA, video network packet type and packet length of the data packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC DA, MAC SA, length or frame type (2 byte) are subtracted by the MAC delete module 410 and enter the corresponding receive buffer, otherwise discarded;
the downlink network interface module 401 detects the sending buffer of the port, if there is a packet, acquires the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet's internet of view, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet cooperative gateway, and the ethernet length or frame type, and sends.
The function of the other modules in the ethernet corotation gateway is similar to that of the access switch.
And (3) 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/audio encoding/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 classes: node server, node switch, 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. View networking data 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:
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), 256 possibilities are at most provided, the second byte to the sixth byte are metropolitan area network addresses, and the seventh and eighth bytes are access network addresses;
the Source Address (SA) is also composed of 8 bytes (bytes), defined identically to the Destination Address (DA);
the reserved bytes consist of 2 bytes;
the payload portion has different lengths according to the types of the different datagrams, and is 64 bytes if it is various protocol packets, and 32+1024=1056 bytes if it is a unicast packet, and is of course not limited to the above 2 types;
The CRC consists of 4 bytes and its calculation method follows the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of the metropolitan area network is a pattern, there may be 2 or even more than 2 connections between two devices, i.e. there may be more than 2 connections between node switches and node servers, node switches and node switches, node switches and node servers. However, the metropolitan area network address of the metropolitan area network device is unique, and in order to accurately describe the connection relationship between metropolitan area network devices, parameters are introduced in the embodiment of the present invention: a tag to uniquely describe a metropolitan area network device.
The definition of label in this specification is similar to that of MPLS (Multi-Protocol Label Switch, multiprotocol label switching), and assuming that there are two connections between device a and device B, there are 2 labels for packets from device a to device B and 2 labels for packets from device B to device a. The label is split into label and label out, and assuming that the label (in label) of the packet entering the device a is 0x0000, the label (out label) of the packet when leaving the device a may become 0x0001. The network access process of the metropolitan area network is a network access process under centralized control, that is, the address allocation and label allocation of the metropolitan area network are all led by the metropolitan area server, the node switch and the node server are all passively executed, which is different from the label allocation of the MPLS, which is the result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metropolitan area network mainly includes the following parts:
i.e. Destination Address (DA), source Address (SA), reserved bytes (Reserved), labels, payload (PDU), CRC. Wherein the format of the tag may be defined with reference to the following: the tag is 32 bits, with the high 16bit reservation, with only the low 16bit, and its position is between the reserved bytes and payload of the packet.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that 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 invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, 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 apparatus 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 apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus 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 in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
The foregoing has described in detail the method, apparatus, device and medium for displaying monitoring data, and specific examples have been used herein to illustrate the principles and embodiments of the present invention, and the above examples are only for aiding in understanding the method and core idea of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (10)

1. A method for displaying monitoring data, which is applied to a cooperative server of an internet of vision, the method comprising:
acquiring a monitoring video code stream, and pushing the monitoring video code stream to a terminal in the form of a monitoring video code stream data packet, wherein a packet number is added to the monitoring video code stream data packet;
in the process of pushing the monitoring video code stream, judging whether a packet number carried by a currently pushed monitoring video code stream data packet is the first packet number in a single-frame video frame, wherein the video frame comprises a plurality of monitoring video code stream data packets;
and inquiring the monitoring name of the monitoring video code stream when the packet number carried by the currently pushed monitoring video code stream data packet is the first packet number in a single-frame video frame, and sending the monitoring name to the terminal, so that the terminal displays the monitoring name in a superposition way during the output of the video frame.
2. The method of claim 1, wherein prior to the step of determining whether the packet number carried by the currently pushed supervisory video stream data packet is the first packet number in a single frame video frame, the method further comprises:
analyzing the monitoring video code stream to obtain at least one frame of video frame;
and respectively adding packet numbers to the plurality of surveillance video code stream data packets contained in each frame of video frame.
3. The method of claim 1, wherein the internet of view co-ordination server stores monitoring information of a plurality of monitoring videos, and the monitoring information of a single monitoring video at least comprises a monitoring name and a monitoring identifier of the monitoring video; before the step of acquiring the surveillance video code stream and pushing the surveillance video code stream to the terminal in the form of surveillance video code stream data packets, the method further comprises:
receiving a monitoring video request sent by the terminal, wherein the monitoring video request carries a monitoring identifier of a requested target monitoring video;
matching the monitoring identifier of the target monitoring video with the monitoring identifiers of the monitoring information of the plurality of monitoring videos;
if the matching is successful, a stream regulating request is sent to a monitoring platform, wherein the stream regulating request carries a monitoring identifier of the target monitoring video;
And receiving the target monitoring video returned by the monitoring platform in the form of a monitoring video code stream.
4. The method of claim 3, wherein after the step of receiving the target surveillance video returned by the surveillance platform in the form of a surveillance video bitstream, the method further comprises:
obtaining a protocol format supported by the terminal;
converting the protocol format of the monitoring video code stream into a protocol format supported by the terminal;
pushing the surveillance video code stream to a terminal in the form of surveillance video code stream data packets, comprising:
and pushing the monitoring video code stream after protocol format conversion to the terminal in the form of a monitoring video code stream data packet.
5. A method for displaying monitoring data, which is applied to a terminal, the method comprising:
the method comprises the steps that a monitoring video request is sent to a video networking co-rotating server, the monitoring video request is used for the video networking co-rotating server to obtain a monitoring video code stream from a monitoring platform, the monitoring video code stream comprises at least one frame of video frame, a plurality of monitoring video code stream data packets contained in each frame of video frame are added with packet numbers, wherein the video networking co-rotating server judges whether the packet number carried by the currently pushed monitoring video code stream data packet is the first packet number in a single frame of video frame or not in the pushing process of the monitoring video code stream, the video frame comprises a plurality of monitoring video code stream data packets, and when the packet number carried by the currently pushed monitoring video code stream data packet is the first packet number in the single frame of video frame, the monitoring name of the monitoring video code stream is queried and sent to the terminal;
The terminal receives the monitoring video code stream and the monitoring names corresponding to all video frames in the monitoring video code stream;
and superposing and displaying the monitoring names in the corresponding monitoring pictures of the video frames.
6. The method of claim 5, wherein each received video frame comprises a plurality of supervisory video stream data packets carrying packet numbers; the step of displaying the monitor names in the monitor pictures of the corresponding video frames in a superposition way comprises the following steps:
outputting each video frame according to the packet number sequence of the monitoring video code stream data packet in each video frame;
and if the monitoring name corresponding to the video frame is received during the output of the video frame, displaying the monitoring name in a monitoring picture of the video frame in a superposition way.
7. A monitoring data display device, for application to a video networking co-rotating server, the device comprising:
the data code stream acquisition module is used for acquiring a monitoring video code stream and pushing the monitoring video code stream to a terminal in the form of a monitoring video code stream data packet, wherein a packet number is added to the monitoring video code stream data packet;
the data packet judging module is used for judging whether the packet number carried by the currently pushed monitoring video code stream data packet is the first packet number in a single-frame video frame or not in the process of pushing the monitoring video code stream, wherein the video frame comprises a plurality of monitoring video code stream data packets;
And the monitoring name superposition module is used for inquiring the monitoring name of the monitoring video code stream and sending the monitoring name to the terminal when the packet number carried by the currently pushed monitoring video code stream packet is the first packet number in the single-frame video frame, so that the terminal superposes and displays the monitoring name during the period of outputting the video frame.
8. A monitoring data display device, characterized in that it is applied to a terminal, said device comprising:
the monitoring video request sending module is used for sending a monitoring video request to the video network co-rotating server, the monitoring video request is used for the video network co-rotating server to obtain a monitoring video code stream from a monitoring platform, the monitoring video code stream comprises at least one frame of video frame, a plurality of monitoring video code stream data packets contained in each frame of video frame are added with packet numbers, wherein the video network co-rotating server judges whether the packet number carried by the currently pushed monitoring video code stream data packet is the first packet number in a single frame of video frame or not in the process of pushing the monitoring video code stream, the video frame comprises a plurality of monitoring video code stream data packets, and when the packet number carried by the currently pushed monitoring video code stream data packet is the first packet number in the single frame of video frame, the monitoring name of the monitoring video code stream is queried and sent to the terminal;
The data receiving module is used for receiving the monitoring video code stream and the monitoring names corresponding to the video frames in the monitoring video code stream by the terminal;
and the monitoring name superposition module is used for superposing and displaying the monitoring names in the corresponding monitoring pictures of the video frames.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of a method for displaying monitoring data according to any one of claims 1 to 6 when the program is executed.
10. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the steps of a method for displaying monitored data according to any one of claims 1 to 6.
CN202010351730.1A 2020-04-28 2020-04-28 Monitoring data display method, device, equipment and medium Active CN111683268B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010351730.1A CN111683268B (en) 2020-04-28 2020-04-28 Monitoring data display method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010351730.1A CN111683268B (en) 2020-04-28 2020-04-28 Monitoring data display method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN111683268A CN111683268A (en) 2020-09-18
CN111683268B true CN111683268B (en) 2023-11-21

Family

ID=72452278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010351730.1A Active CN111683268B (en) 2020-04-28 2020-04-28 Monitoring data display method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN111683268B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1874502A (en) * 2006-06-22 2006-12-06 孙强 Embedded type network video monitor and control system
CA2657434A1 (en) * 2009-03-09 2010-09-09 Telephoto Technologies Inc. Encoder and decoder configuration for addressing latency of communications over a packet based network
CN101883263A (en) * 2010-06-22 2010-11-10 中兴通讯股份有限公司 Method and system for processing caption information in video monitoring system
CN109547417A (en) * 2018-10-30 2019-03-29 视联动力信息技术股份有限公司 Code stream transmission method and device
CN109634988A (en) * 2018-10-29 2019-04-16 视联动力信息技术股份有限公司 A kind of monitoring polling method and device
CN110324580A (en) * 2019-07-05 2019-10-11 视联动力信息技术股份有限公司 A kind of monitor video playback method and device based on view networking

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1874502A (en) * 2006-06-22 2006-12-06 孙强 Embedded type network video monitor and control system
CA2657434A1 (en) * 2009-03-09 2010-09-09 Telephoto Technologies Inc. Encoder and decoder configuration for addressing latency of communications over a packet based network
CN101883263A (en) * 2010-06-22 2010-11-10 中兴通讯股份有限公司 Method and system for processing caption information in video monitoring system
CN109634988A (en) * 2018-10-29 2019-04-16 视联动力信息技术股份有限公司 A kind of monitoring polling method and device
CN109547417A (en) * 2018-10-30 2019-03-29 视联动力信息技术股份有限公司 Code stream transmission method and device
CN110324580A (en) * 2019-07-05 2019-10-11 视联动力信息技术股份有限公司 A kind of monitor video playback method and device based on view networking

Also Published As

Publication number Publication date
CN111683268A (en) 2020-09-18

Similar Documents

Publication Publication Date Title
CN108632525B (en) Method and system for processing service
CN109167960B (en) Method and system for processing video stream data
CN108737768B (en) Monitoring method and monitoring device based on monitoring system
CN109996086B (en) Method and device for inquiring service state of video networking
CN109309806B (en) Video conference management method and system
CN109150905B (en) Video network resource release method and video network sharing platform server
CN109474715B (en) Resource configuration method and device based on video network
CN108881948B (en) Method and system for video inspection network polling monitoring video
CN110381119B (en) Method, system and device for acquiring log information and storage medium
CN109246135B (en) Method and system for acquiring streaming media data
CN109714568B (en) Video monitoring data synchronization method and device
CN109347844B (en) Method and device for accessing equipment to Internet
CN110839142B (en) Monitoring directory sharing method and device
CN110769297A (en) Audio and video data processing method and system
CN111447407B (en) Method and device for transmitting monitoring resources
CN110677617A (en) Data processing method and device
CN110677392B (en) Video data transmission method and device
CN110086773B (en) Audio and video data processing method and system
CN110493149B (en) Message processing method and device
CN110336710B (en) Terminal testing method, system and device and storage medium
CN110289974B (en) Data stream processing method, system and device and storage medium
CN108881148B (en) Data acquisition method and device
CN111526323B (en) Panoramic video processing method and device
CN111683268B (en) Monitoring data display method, device, equipment and medium
CN110417933B (en) Business object processing method and device and storage medium

Legal Events

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