CN109769126B - Method and device for playing back video recording in real time in Internet - Google Patents

Method and device for playing back video recording in real time in Internet Download PDF

Info

Publication number
CN109769126B
CN109769126B CN201811505849.9A CN201811505849A CN109769126B CN 109769126 B CN109769126 B CN 109769126B CN 201811505849 A CN201811505849 A CN 201811505849A CN 109769126 B CN109769126 B CN 109769126B
Authority
CN
China
Prior art keywords
video
real
playback
video recording
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811505849.9A
Other languages
Chinese (zh)
Other versions
CN109769126A (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 CN201811505849.9A priority Critical patent/CN109769126B/en
Publication of CN109769126A publication Critical patent/CN109769126A/en
Application granted granted Critical
Publication of CN109769126B publication Critical patent/CN109769126B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the application provides a method and a device for playing back video recording in the Internet in real time, wherein the method and the device are applied to the video network, an Internet terminal is accessed into a MServer based on a GB/T28181 protocol, the MServer converts a first real-time playback message request aiming at a specified video recording file sent by the Internet terminal under an interface created by a video recording real-time playback protocol based on the video network so as to generate a second real-time playback message request, then a streaming media server pushes multimedia streaming data corresponding to the specified video recording file real-time playback instruction to a video network monitoring shared server in real time according to the second real-time playback message request, and the video network monitoring shared server directly pushes the multimedia streaming data to the Internet terminal in real time; the embodiment of the application solves the problem that video in the video network cannot be played back in real time in the Internet at present through the mode.

Description

Method and device for playing back video recording in real time in Internet
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a method for playing back video networking videos in real time in the internet and a device for playing back video networking videos in real time in the internet.
Background
With the rapid development of network technologies, bidirectional communications such as video conferences and video teaching are widely popularized in the aspects of life, work, learning and the like of users.
The video networking is an important milestone for network development, is a higher-level form of the Internet, is a real-time network, can realize the real-time transmission of full-network high-definition videos which cannot be realized by the existing Internet, and pushes a plurality of Internet applications to high-definition video, and high definition faces each other. Finally, world no-distance is realized, and the distance between people in the world is only the distance of one screen.
Video networking technology is currently widely used. In the prior art, video monitoring is performed through monitoring equipment, a plurality of monitoring equipment in the internet are arranged under each cooperative conversion server, and the cooperative conversion server can obtain videos of the monitoring equipment under the cooperative conversion server. However, in the prior art, it is not feasible to play back video files in real time under the internet environment, and according to the development of video networking, the above problems are urgently needed to be solved.
Disclosure of Invention
In view of the above problems, embodiments of the present application are provided to provide a method for playing back video network recordings in real time in the internet and a corresponding apparatus for playing back video network recordings in real time in the internet, which overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present application discloses a method for playing back video recording in real time in the internet, where the method is applied to a video network, the video network includes a streaming media server, a video network monitoring sharing server and a video network scheduling platform MServer, which are sequentially connected to the streaming media server based on a video network protocol, and an internet terminal respectively connected to the video network monitoring sharing server and the MServer based on a national standard GB/T28181 protocol, and the method includes:
the MServer receives a first real-time playback video recording request sent by an Internet terminal; the first real-time playback video recording request is generated by the Internet terminal when the Internet terminal receives a triggering operation of video networking video recording playback, and comprises a specified video networking video recording file real-time playback instruction;
the MServer generates a second real-time playback video recording request according to the first real-time playback video recording request; wherein the second real-time playback video recording request comprises a video recording real-time playback protocol based on a video network;
the MServer sends the second real-time playback video recording request to a video networking monitoring shared server; the video networking monitoring sharing server is used for transmitting the second real-time playback video recording request to a streaming media server;
the MServer receives a playback consent message transmitted by the video networking monitoring sharing server; wherein the playback approval message is generated by the streaming media server when the second real-time playback video recording request is approved;
the MServer feeds the playback consent message back to the Internet terminal;
the MServer receives a stream pushing starting message sent by the Internet terminal; wherein the stream pushing start message is generated by the internet terminal after receiving the playback approval message;
the MServer sends the plug flow starting message to the video networking monitoring shared server; the video networking monitoring sharing server is used for transmitting the stream pushing starting message to the streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video networking video recording file real-time playback instruction to the video networking monitoring sharing server in real time according to the stream pushing starting message; the video networking monitoring sharing server is used for pushing the multimedia streaming data to the internet terminal in real time; and the internet terminal is used for playing the multimedia stream data in real time.
Preferably, the internet terminal comprises a multi-path decoding IE plug-in; the step that the MServer receives a first real-time playback video recording request sent by an Internet terminal comprises the following steps;
the MServer receives a first real-time playback video recording request sent by a multi-channel decoding IE plug-in; the first real-time playback video recording request is generated by the multi-path decoding IE plug-in when receiving the triggering operation of video networking video recording playback, and comprises a specified video networking video recording file real-time playback instruction.
Preferably, the step of the MServer feeding back the playback approval message to the internet terminal includes:
the MServer generates a state message aiming at the playback consent message according to the playback consent message;
the MServer sends the status message to the Internet terminal;
and the MServer receives a status reply message returned by the Internet terminal aiming at the status message.
Preferably, the video network further comprises a video server in communication connection with the streaming media server based on a video network protocol; the step that the streaming media server is used for pushing the multimedia streaming data corresponding to the specified video network video recording file real-time playback instruction to the video network monitoring sharing server in real time according to the stream pushing starting message comprises the following steps:
the streaming media server is used for generating a first multimedia stream acquisition instruction corresponding to the specified video networking video recording file real-time playback instruction according to the stream pushing start message;
the streaming media server receives multimedia stream data returned by the video recording server aiming at the first multimedia stream acquisition instruction in real time;
and the streaming media server pushes the multimedia streaming data to the video network monitoring sharing server in real time.
Preferably, the video network further comprises a third-party platform which is in communication connection with the streaming media server based on an internet protocol; the step that the streaming media server is used for pushing the multimedia streaming data corresponding to the specified video network video recording file real-time playback instruction to the video network monitoring sharing server in real time according to the stream pushing starting message comprises the following steps:
the streaming media server is used for generating a second multimedia stream acquisition instruction corresponding to the specified video networking video recording file real-time playback instruction according to the stream pushing start message;
the streaming media server is used for receiving multimedia streaming data returned by the third-party platform aiming at the second multimedia streaming acquisition instruction in real time;
the streaming media server is used for pushing the multimedia streaming data to the video network monitoring sharing server in real time.
In order to solve the above problem, an embodiment of the present application discloses another method for playing back video recording in real time in the internet, where the method is applied to a video network, the video network includes a streaming media server, a video network monitoring sharing server and a video network scheduling platform MServer, which are sequentially connected to the streaming media server based on a video network protocol, and an internet terminal respectively connected to the video network monitoring sharing server and the MServer based on a national standard GB/T28181 protocol, and the method includes:
the video networking monitoring sharing server receives a second real-time playback video recording request sent by the MServer; wherein the second real-time playback video recording request is generated by the MServer according to the first real-time playback video recording request and based on a video recording real-time playback protocol of a video network; the first real-time playback video recording request is generated by the Internet terminal when the Internet terminal receives a triggering operation of video networking video recording playback, and comprises a specified video networking video recording file real-time playback instruction;
the video networking monitoring sharing server transmits the second real-time playback video recording request to a streaming media server;
the video network monitoring sharing server receives a playback consent message sent by the streaming media server; wherein the playback approval message is generated by the streaming media server when the second real-time playback video recording request is approved;
the video networking monitoring sharing server sends the playback approval message to the MServer; the MServer is used for feeding back the playback consent message to the Internet terminal;
the video networking monitoring sharing server receives a stream pushing starting message sent by the MServer; wherein the stream pushing start message is generated by the internet terminal after receiving the playback approval message;
the video networking monitoring sharing server transparently transmits the stream pushing starting message to the streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video networking video recording file real-time playback instruction to the video networking monitoring sharing server in real time according to the stream pushing starting message;
the video networking monitoring sharing server pushes the multimedia streaming data to the Internet terminal in real time; and the internet terminal is used for playing the multimedia stream data in real time.
In order to solve the above problem, an embodiment of the present application further discloses a device for playing back video recording in real time in the internet, the device is applied to the video network, the video network includes a streaming media server, a video network monitoring sharing server and a video network scheduling platform MServer, which are sequentially connected in communication based on a video network protocol, and an internet terminal which is respectively connected in communication based on a national standard GB/T28181 protocol and the video network monitoring sharing server and the MServer, the MServer includes the following modules:
the first playback request receiving module is used for receiving a first real-time playback video recording request sent by an Internet terminal; the first real-time playback video recording request is generated by the Internet terminal when the Internet terminal receives a triggering operation of video networking video recording playback, and comprises a specified video networking video recording file real-time playback instruction;
the second playback request generation module is used for generating a second real-time playback video recording request according to the first real-time playback video recording request; wherein the second real-time playback video recording request comprises a video recording real-time playback protocol based on a video network;
the second playback request sending module is used for sending the second real-time playback video recording request to a video networking monitoring shared server; the video networking monitoring sharing server is used for transmitting the second real-time playback video recording request to a streaming media server;
the second playback consent receiving module is used for receiving the playback consent message transmitted by the video network monitoring sharing server; wherein the playback approval message is generated by the streaming media server when the second real-time playback video recording request is approved;
the playback consent message feedback module is used for feeding back the playback consent message to the Internet terminal;
a first receiving module for starting stream pushing, configured to receive a stream pushing start message sent by the internet terminal; wherein the stream pushing start message is generated by the internet terminal after receiving the playback approval message;
the flow pushing starting message sending module is used for sending the flow pushing starting message to the video network monitoring sharing server; the video networking monitoring sharing server is used for transmitting the stream pushing starting message to the streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video networking video recording file real-time playback instruction to the video networking monitoring sharing server in real time according to the stream pushing starting message; the video networking monitoring sharing server is used for pushing the multimedia streaming data to the internet terminal in real time; and the internet terminal is used for playing the multimedia stream data in real time.
In order to solve the above problem, an embodiment of the present application further discloses a device for playing back video recordings in the internet in real time, the device is applied to the video internet, the video internet includes a streaming media server, a video internet monitoring sharing server, a video internet scheduling platform MServer, and an internet terminal based on a national standard GB/T28181 protocol and the video internet monitoring sharing server, the MServer are respectively connected in communication, the video internet monitoring sharing server includes the following modules:
a second playback request receiving module, configured to receive a second real-time playback video recording request sent by the MServer; wherein the second real-time playback video recording request is generated by the MServer according to the first real-time playback video recording request and based on a video recording real-time playback protocol of a video network; the first real-time playback video recording request is generated by the Internet terminal when the Internet terminal receives a triggering operation of video networking video recording playback, and comprises a specified video networking video recording file real-time playback instruction;
the second playback request transparent transmission module is used for transmitting the second real-time playback video recording request to the streaming media server;
a playback consent first receiving module, configured to receive a playback consent message sent by the streaming media server; wherein the playback approval message is generated by the streaming media server when the second real-time playback video recording request is approved;
a playback consent message sending module, configured to send the playback consent message to the MServer; the MServer is used for feeding back the playback consent message to the Internet terminal;
a second receiving module for starting the flow pushing, configured to receive a flow pushing start message sent by the MServer; wherein the stream pushing start message is generated by the internet terminal after receiving the playback approval message;
the flow pushing starting message transparent transmission module is used for transmitting the flow pushing starting message to the streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video networking video recording file real-time playback instruction to the video networking monitoring sharing server in real time according to the stream pushing starting message;
the multimedia stream data pushing module is used for pushing the multimedia stream data to the internet terminal in real time; and the internet terminal is used for playing the multimedia stream data in real time.
An embodiment of the present application further provides an apparatus, including:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform one or more methods as described in embodiments of the application.
Embodiments of the present application also provide one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform one or more methods as described in embodiments of the present application.
The embodiment of the application has the following advantages:
the method for playing back the video recording files of the video network in real time in the internet terminal is creatively provided by the embodiment of the application, and the service scope of intercommunication between the internet and the video network is increased by applying the characteristics of the video network, and through message signaling data communication conversion between the internet terminal, the video network scheduling platform MServer, the video network monitoring sharing server and the streaming media server and protocol conversion of multimedia stream data;
the method and the device have the advantages that the characteristics of the video networking are applied, the video networking monitoring sharing server directly pushes the multimedia streaming data to the internet terminal in real time, so that signaling data such as message requests and the like are separately executed with the multimedia streaming data, and compared with a mode that the multimedia streaming data is forwarded by the MServer and pushed to the internet terminal, the method and the device greatly reduce the occupation of an operating memory of the MServer, reduce the influence on the operation of the MServer and improve the processing speed of the MServer on the signaling data or other service function data;
according to the embodiment of the application, the characteristics of the video network are applied, the signaling exchange submodule corresponding to the video recording real-time playback service is established under the Internet/video network conversion service module of the MServer, and the signaling exchange submodule performs protocol conversion of signaling data, so that each management function of the MServer is more accurate and concise, and the problems of data conversion crosstalk and errors among the signaling exchange submodules of each service are reduced.
Drawings
FIG. 1 is a networking schematic of a video network of the present application;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present application;
fig. 3 is a schematic diagram of a hardware architecture of an access switch of the present application;
fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present application;
FIG. 5 is a schematic diagram of a system for real-time playback of video networked recordings in the Internet according to an embodiment of the present application;
FIG. 6 is a flowchart illustrating steps of a method for real-time playback of video networked recordings in the Internet according to an embodiment of the present application;
FIG. 7 is a flowchart illustrating steps of another method for real-time playback of video networked recordings in the Internet according to an embodiment of the present application;
FIG. 8 is a block diagram of an apparatus for real-time playback of video recording via Internet according to an embodiment of the present application;
fig. 9 is a block diagram of another apparatus for playing back video recording in real time in the internet according to an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present application, the following description refers to the internet of view:
some of the technologies applied in the video networking are as follows:
network Technology (Network Technology)
Network technology innovation in video networking has improved over traditional Ethernet (Ethernet) to face potentially large multimedia traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network Circuit Switching (Circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot be realized by the existing Internet, and pushes a plurality of network video applications to high-definition and unification.
Server Technology (Server Technology)
The server technology on the video networking and unified video platform is different from the traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network Security Technology (Network Security Technology)
The structural design of the video network completely eliminates the network security problem troubling the internet structurally by the modes of independent service permission control each time, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, avoids the attack of hackers and viruses, and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
Networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 1, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
The metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
Therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (the part in the dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may be interconnected via metropolitan area and wide area video networking.
Video networking device classification
1.1 devices in the video network of the embodiment of the present application can be mainly classified into 3 types: servers, switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node servers, access switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
the network interface module 201, the CPU module 203, and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 based on the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the incoming data packet of the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues, which in this embodiment is divided into two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 308 is configured by the CPU module 304, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet protocol gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present application: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved label (R) Payload CRC
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
Based on the above characteristics of the video network, one of the core concepts of the embodiments of the present application is provided, and a method and a product for playing back video recording files in the video network in real time in the internet are creatively provided, following a protocol of the video network, an internet terminal accesses a platform MServer with a video network unified scheduling management function based on a GB/T28181 protocol, the MServer converts a first real-time playback message request for a specified video recording file sent by the internet terminal under an interface created based on the video network video recording real-time playback protocol, so as to generate a second real-time playback message request recognizable by a video network monitoring sharing server and a streaming media server, and then the streaming media server pushes multimedia streaming data corresponding to the specified video recording file real-time playback instruction to the video network monitoring sharing server in real time according to the second real-time playback message request, then the video networking monitoring sharing server directly pushes the multimedia streaming data to the Internet terminal in real time; according to the embodiment of the application, the video recording file of the video network can be played back in the internet terminal in real time in the mode, and the service scope of intercommunication between the internet and the video network is increased.
Meanwhile, the multimedia streaming data is directly pushed to the internet terminal in real time by the video networking monitoring sharing server, so that signaling data such as message requests and the like are separately executed with the multimedia streaming data, and compared with a mode that the multimedia streaming data is forwarded by the MServer and pushed to the internet terminal, the embodiment of the application greatly reduces the occupation of the running memory of the MServer, reduces the influence on the running of the MServer, and can improve the processing speed of the MServer on the signaling data or other service function data; in addition, in the embodiment of the application, the signaling exchange submodule corresponding to the video real-time playback service is established under the internet/video networking conversion service module of the MServer, and the signaling exchange submodule performs protocol conversion on signaling data, so that each management function of the MServer is more accurate and concise, and the problems of data conversion crosstalk and errors among the signaling exchange submodules of each service are reduced.
Example 1:
as shown in fig. 5, a networking schematic diagram of a system for playing back video recording in real time in the internet according to an embodiment of the present application is shown, where the system may be applied to a video network, the video network includes a streaming media server01, a video network monitoring sharing server 02 and a video network scheduling platform MServer03 that are sequentially connected in communication with the streaming media server01 based on a video network protocol, and an internet terminal 04 that is respectively connected in communication with the video network monitoring sharing server 02 and the MServer03 based on a national standard GB/T28181 protocol.
The streaming media server01 is an access device. It can communicate with a variety of external devices such as cell phones, tablets, desktops, notebooks, webcams, etc. By implementing functions such as management, control, protocol conversion, data conversion, resource allocation, and the like, various external devices can be seamlessly accessed into the video network. The streaming media server01 supports a plurality of external devices to access to a video network simultaneously, and in the embodiment of the present application, the streaming media server01 mainly communicates with the video server 05 based on a video network protocol and communicates with the third party platform 06 based on an internet protocol. In this embodiment, the streaming media server01 also includes a co-transformation server (also referred to as a monitoring access server), and when the third party platform 06 is an internet network camera, the co-transformation server in the streaming media server01 can convert the acquired internet multimedia stream of the network camera into a video network multimedia stream and send the video network multimedia stream to other devices in the video network, such as the video network monitoring sharing server 02.
The multimedia stream referred to herein includes a multimedia stream and an audio stream.
The video server 05 mentioned above is a server storing video data in a video network, and can communicate with each monitoring camera to process, convert, and store the video data collected by the monitoring camera.
The third party platform 06 is a product of a video monitoring manufacturer participating in the GB/T28181 protocol, such as the products of dawa in zhejiang, advanced video, bobble technology, huaji technology, and so on.
The video networking monitoring sharing server 02 is also named as a sharing platform, can also be understood as a gateway, and is a device which can be responsible for converting a video code stream of a monitoring device of the video networking into a video code stream of a real-time transport protocol (RTP) protocol load, and can be used for sharing video of the video networking to the monitoring platform transmitted based on the RTP protocol. The video networking monitoring sharing server 02 in the embodiment of the application can communicate with the internet terminal 04 based on an internet protocol, and send the converted multimedia stream data corresponding to the specified video networking video recording file real-time playback instruction to the internet terminal 04.
MServer03 belongs to a general management system in the video network, which is called as a video network monitoring network management scheduling platform, and comprises a plurality of service modules, which can be responsible for the unified management of all accessed monitoring devices in the whole video network and the docking service of a national standard (GB/T28181) platform monitoring system. In the embodiment of the application, the MServer03 is mainly used for converting a message request sent by the internet terminal 04 based on the GB/T28181 protocol into a message request based on the video real-time playback protocol of the video network. In specific implementation, the MServer03 establishes a signaling exchange sub-module corresponding to a specific service (such as video real-time playback) in the internet/video conversion service module, and converts the message signaling from internet data to video data or vice versa.
The internet terminal 04 refers in particular to a terminal product capable of completing internet services, and is a product composed of customized hardware, an operating system running on the customized hardware, and application software, where the hardware may be a mobile phone, a tablet, a desktop, a notebook, and the like, and the software may be an application client or a web page.
Example 2:
as shown in fig. 6, a flowchart illustrating steps of a method for playing back video recording in real time in the internet according to an embodiment of the present application is shown, where the method may be applied in the video network, and in particular, may be applied in the MServer03 shown in fig. 5, and the method may specifically include the following steps:
step S601: the MServer receives a first real-time playback video recording request sent by an Internet terminal; the first real-time playback video recording request is generated by the Internet terminal when the Internet terminal receives a triggering operation of video networking video recording playback, and comprises a specified video networking video recording file real-time playback instruction;
in the embodiment of the present application, the internet terminal 04 has a display interface, and the display interface may be a client or a web page.
The triggering operation of the real-time playback of the video recording in the embodiment of the application may be a video selected by a user on a display interface of the internet terminal 04, and then a real-time playback button of the video is clicked; or the name or address number of a certain video input in the display interface, and then a clicked button for real-time playback of the video.
The internet terminal 04 generates a first real-time playback video recording request (internet data) corresponding to the trigger operation according to the received trigger operation, wherein the first real-time playback video recording request comprises an appointed video network video recording file address and an instruction for performing real-time playback on the video network video recording file.
In order to enable an internet terminal to access the video network and play back multimedia stream data of the video network in real time, the embodiment of the application is provided with a multi-channel decoding IE plug-in the internet terminal 04, wherein the multi-channel decoding IE plug-in is a plug-in applet which is embedded in a running background of a video display and is communicated with the MServer03 based on a GB/T28181 protocol.
Therefore, the step of receiving the first real-time playback video recording request sent by the internet terminal 04 by the MServer03 of the present application may specifically include;
the MServer03 receives a first real-time playback video recording request sent by a multi-path decoding IE plug-in; the first real-time playback video recording request is generated by the multi-path decoding IE plug-in when receiving the triggering operation of video networking video recording playback, and comprises a specified video networking video recording file real-time playback instruction.
Step S602: the MServer generates a second real-time playback video recording request according to the first real-time playback video recording request; wherein the second real-time playback video recording request comprises a video recording real-time playback protocol based on a video network;
after receiving a first real-time playback video recording request sent by an internet terminal 04 based on a GB/T28181 protocol, in order to enable the message request to be identified and executed by a video network monitoring sharing server 02 and a streaming media server01, MServer03 must convert the message request, and when the message request is specifically converted, a video recording real-time playback rule is added to the video network protocol according to the video network protocol communicated with the video network monitoring sharing server 02 and the streaming media server01 to form a video recording real-time playback protocol based on the video network, and a signaling switching sub-module corresponding to the video recording real-time playback service is established in an internet/video network conversion service module, and the signaling switching sub-module can convert the first real-time playback video recording request into a second real-time playback video recording request (video network data).
Step S603: the MServer sends the second real-time playback video recording request to a video networking monitoring shared server; the video networking monitoring sharing server is used for transmitting the second real-time playback video recording request to a streaming media server;
correspondingly, the MServer01 sends the second real-time playback video recording request formed after conversion to the video networking monitoring sharing server 02, and after the video networking monitoring sharing server 02 passes through, the streaming media server01 replies the second real-time playback video recording request. If the service protocol of the second real-time playback recording request is correct, or the network communication is normal, etc., streaming media server01 generally approves the second real-time playback recording request, and returns an approval request (playback approval message).
Step S604: the MServer receives a playback consent message transmitted by the video networking monitoring sharing server; wherein the playback approval message is generated by the streaming media server when the second real-time playback video recording request is approved;
after agreeing to the real-time playback video recording request, the streaming media server01 sends a playback agreement message (video network data) to the video network monitoring shared server 02, and the video network monitoring shared server 02 transparently transmits the playback agreement message to the MServer 03.
Step S605: the MServer feeds the playback consent message back to the Internet terminal;
in a preferred embodiment of the present application, step S605 may specifically include the following sub-steps:
and a seventh substep: the MServer03 generating a status message (Internet of things data) for the playback approval message from the playback approval message (Internet of things data);
based on the playback approval message (internet data), MServer03 first generates a status message as the internet data, and then converts the message into an internet protocol-based status message (internet data) in the signaling exchange sub-module of the video real-time playback service established previously.
And a substep eight: the MServer03 sends the status message (internet data) to the internet terminal 04;
the status message may be a 2000k signaling packet indicating a feedback acknowledgement.
And a substep nine: the MServer03 receives a status reply message (internet data) returned by the internet terminal 04 for the status message.
The status reply message (internet data) is a command correct response ACK acknowledgement message.
Step S606: the MServer receives a stream pushing starting message sent by the Internet terminal; wherein the stream pushing start message is generated by the internet terminal after receiving the playback approval message;
the stream pushing start message in the embodiment of the present application may include information such as a stream pushing start time, a receiver address of the stream pushing, a sender address of the stream pushing, a speed of the stream pushing, and the like.
Step S607: the MServer sends the plug flow starting message to the video networking monitoring shared server; the video networking monitoring sharing server is used for transmitting the stream pushing starting message to the streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video networking video recording file real-time playback instruction to the video networking monitoring sharing server in real time according to the stream pushing starting message; the video networking monitoring sharing server is used for pushing the multimedia streaming data to the internet terminal in real time; and the internet terminal is used for playing the multimedia stream data in real time.
In the above steps, the MServer03 sends the stream pushing start message to the video networking monitoring sharing server 02, and after the stream is transmitted through the video networking monitoring sharing server 02, the streaming media server01 pushes multimedia stream data (video networking multimedia stream data) corresponding to the specified video networking video recording file real-time playback instruction to the video networking monitoring sharing server 02 in real time according to the stream pushing start message.
The multimedia stream data in the embodiment of the present application mainly originates from the video recording server 05 and the third party platform 06.
For the video server 05, in a preferred embodiment of the present application, a possible way is provided that when multimedia stream data originates from the video server 05, the streaming media server01 pushes the multimedia stream data corresponding to the specified video network video recording file real-time playback instruction to the video network monitoring sharing server 02 in real time, where the steps may specifically include:
the first substep: the streaming media server01 is configured to generate a first multimedia stream acquisition instruction (video networking data) corresponding to the specified video networking video recording file real-time playback instruction according to the stream pushing start message;
and a second substep: the streaming media server01 receives multimedia stream data (video network multimedia stream data) returned by the video server 05 for the first multimedia stream acquisition instruction in real time;
and a third substep: the streaming media server01 pushes the multimedia stream data (video network multimedia stream data) to the video network monitoring sharing server 02 in real time.
For the third party platform 06, in a preferred embodiment of the present application, another possible way is provided that when multimedia stream data originates from the third party platform 06, the streaming media server01 pushes, in real time, the multimedia stream data corresponding to the specified video network video recording file real-time playback instruction to the video network monitoring sharing server 02, and the step may specifically include the following sub-steps:
and a fourth substep: the streaming media server01 is configured to generate a second multimedia stream acquisition instruction (internet data) corresponding to the specified video networking video recording file real-time playback instruction according to the stream pushing start message;
the second multimedia stream acquiring instruction is that the streaming media server01 converts the acquiring instruction (video network data) corresponding to the specified video network video recording file real-time playback instruction into a second multimedia stream acquiring instruction (internet data) based on the GB/T28181 protocol.
And a fifth substep: the streaming media server01 is configured to receive, in real time, multimedia stream data (internet multimedia stream data) returned by the third party platform 06 for the second multimedia stream acquisition instruction;
here, the multimedia stream data (internet multimedia stream data) transmitted by the third party platform 06 is mainly received in real time by the collaboration server in the streaming server01, and then the internet protocol-based multimedia stream data (internet multimedia stream data) is converted into the video network protocol-based multimedia stream data (video network multimedia stream data).
And a sixth substep: the streaming media server01 is configured to push the multimedia stream data (video network multimedia stream data) to the video network monitoring sharing server 02 in real time.
Then, the video network monitoring and sharing server 02 converts the multimedia stream (video network multimedia stream data) into multimedia stream data (internet multimedia stream data) based on an internet protocol and pushes the multimedia stream data to the internet terminal in real time; and the multi-path decoding IE plug-in the Internet terminal 04 receives the multimedia stream data (Internet multimedia stream data) and transmits the multimedia stream data to an audio and video decoder for decoding and real-time playing.
Through the steps S601 to S607, the mode of playing back video recording in the Internet in real time from the perspective of MServer03 is illustrated, the embodiment of the application creatively provides a method for playing back video recording files in the Internet in real time, and the service scope of intercommunication between the Internet and the video network is increased; meanwhile, the multimedia stream data is directly pushed to the internet terminal 04 in real time by the video networking monitoring sharing server 02, so that signaling data such as message requests and the like are separately executed from the multimedia stream data, and compared with a mode that the multimedia stream data is forwarded by the MServer03 and pushed to the internet terminal 04, the embodiment of the application greatly reduces the occupation of an operating memory of the MServer03, reduces the influence on the operation of the MServer03, and can improve the processing speed of the MServer03 on the signaling data or other service function data; in addition, in the embodiment of the application, the signaling exchange submodule corresponding to the video real-time playback service is established under the internet/video networking conversion service module of the MServer03, and the signaling exchange submodule performs protocol conversion of signaling data, so that each management function of the MServer03 is more accurate and concise, and the problems of data conversion crosstalk and errors among the signaling exchange submodules of each service are reduced.
Example 3:
as shown in fig. 7, a flowchart of steps of another method for playing back video recordings in real time in the internet according to the embodiment of the present application is shown, where the method may be applied to a video network, and in particular, may be applied to the video network monitoring shared server 02 shown in fig. 5, and the method may specifically include the following steps:
step S701: the video networking monitoring sharing server receives a second real-time playback video recording request sent by the MServer; wherein the second real-time playback video recording request is generated by the MServer according to the first real-time playback video recording request and based on a video recording real-time playback protocol of a video network; the first real-time playback video recording request is generated by the Internet terminal when the Internet terminal receives a triggering operation of video networking video recording playback, and comprises a specified video networking video recording file real-time playback instruction;
step S702: the video networking monitoring sharing server transmits the second real-time playback video recording request to a streaming media server;
step S703: the video network monitoring sharing server receives a playback consent message sent by the streaming media server; wherein the playback approval message is generated by the streaming media server when the second real-time playback video recording request is approved;
step S704: the video networking monitoring sharing server sends the playback approval message to the MServer; the MServer is used for feeding back the playback consent message to the Internet terminal;
step S705: the video networking monitoring sharing server receives a stream pushing starting message sent by the MServer; wherein the stream pushing start message is generated by the internet terminal after receiving the playback approval message;
step S706: the video networking monitoring sharing server transparently transmits the stream pushing starting message to the streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video networking video recording file real-time playback instruction to the video networking monitoring sharing server in real time according to the stream pushing starting message;
step S707: the video networking monitoring sharing server pushes the multimedia streaming data to the Internet terminal in real time; and the internet terminal is used for playing the multimedia stream data in real time.
In the embodiment of the application, through steps S701 to S707, a manner of playing back video records in the internet in real time is illustrated from the perspective of the video networking monitoring sharing server 02, a method for playing back video record files in the video networking in real time in the internet is provided initiatively, and a service category of intercommunication between the internet and the video networking is increased; detailed description of the preferred embodimentsreference is made to example 2 and will not be explained herein for the sake of brevity.
Meanwhile, the multimedia stream data is directly pushed to the internet terminal 04 in real time by the video networking monitoring sharing server 02, so that signaling data such as message requests and the like are separately executed from the multimedia stream data, and compared with a mode that the multimedia stream data is forwarded by the MServer03 and pushed to the internet terminal 04, the embodiment of the application greatly reduces the occupation of an operating memory of the MServer03, reduces the influence on the operation of the MServer03, and can improve the processing speed of the MServer03 on the signaling data or other service function data; in addition, in the embodiment of the application, the signaling exchange submodule corresponding to the video real-time playback service is established under the internet/video networking conversion service module of the MServer03, and the signaling exchange submodule performs protocol conversion of signaling data, so that each management function of the MServer03 is more accurate and concise, and the problems of data conversion crosstalk and errors among the signaling exchange submodules of each service are reduced.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
Example 4:
as shown in fig. 8, corresponding to the method in embodiment 2, a block diagram of a device for playing back video recording in real time in internet according to an embodiment of the present application is shown, where the device may be applied in video networking, and may specifically be applied in MServer03 shown in fig. 5, where the MServer03 may specifically include the following modules:
a first playback request receiving module 801, configured to receive a first real-time playback video recording request sent by an internet terminal; the first real-time playback video recording request is generated by the Internet terminal when the Internet terminal receives a triggering operation of video networking video recording playback, and comprises a specified video networking video recording file real-time playback instruction;
a second playback request generation module 802, configured to generate a second real-time playback video recording request according to the first real-time playback video recording request; wherein the second real-time playback video recording request comprises a video recording real-time playback protocol based on a video network;
a second playback request sending module 803, configured to send the second real-time playback video recording request to a video networking monitoring shared server; the video networking monitoring sharing server is used for transmitting the second real-time playback video recording request to a streaming media server;
a playback consent second receiving module 804, configured to receive a playback consent message transparently transmitted by the video networking monitoring sharing server; wherein the playback approval message is generated by the streaming media server when the second real-time playback video recording request is approved;
a playback approval message feedback module 805 configured to feed back the playback approval message to the internet terminal;
a first receiving module 806 for starting streaming, configured to receive a streaming start message sent by the internet terminal; wherein the stream pushing start message is generated by the internet terminal after receiving the playback approval message;
a push flow start message sending module 807, configured to send the push flow start message to the video networking monitoring sharing server; the video networking monitoring sharing server is used for transmitting the stream pushing starting message to the streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video networking video recording file real-time playback instruction to the video networking monitoring sharing server in real time according to the stream pushing starting message; the video networking monitoring sharing server is used for pushing the multimedia streaming data to the internet terminal in real time; and the internet terminal is used for playing the multimedia stream data in real time.
Example 5:
as shown in fig. 9, corresponding to the method in embodiment 3, a block diagram of another apparatus for playing back video recordings in real time in the internet according to the embodiment of the present application is shown, where the apparatus may be applied in a video network, and specifically, may be applied in the video network monitoring shared server 02 shown in fig. 5, and the video network monitoring shared server 02 may specifically include the following modules:
a second playback request receiving module 901, configured to receive a second real-time playback video recording request sent by the MServer; wherein the second real-time playback video recording request is generated by the MServer according to the first real-time playback video recording request and based on a video recording real-time playback protocol of a video network; the first real-time playback video recording request is generated by the Internet terminal when the Internet terminal receives a triggering operation of video networking video recording playback, and comprises a specified video networking video recording file real-time playback instruction;
a second playback request transparent transmission module 902, configured to transmit the second real-time playback video recording request to a streaming media server;
a playback consent first receiving module 903, configured to receive a playback consent message sent by the streaming media server; wherein the playback approval message is generated by the streaming media server when the second real-time playback video recording request is approved;
a playback approval message sending module 904, configured to send the playback approval message to the MServer; the MServer is used for feeding back the playback consent message to the Internet terminal;
a second receiving module 905 for starting a push flow, configured to receive a push flow start message sent by the MServer; wherein the stream pushing start message is generated by the internet terminal after receiving the playback approval message;
a push flow start message transparent transmission module 906, configured to transmit the push flow start message to the streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video networking video recording file real-time playback instruction to the video networking monitoring sharing server in real time according to the stream pushing starting message;
a multimedia stream data pushing module 907, configured to push the multimedia stream data to the internet terminal in real time; and the internet terminal is used for playing the multimedia stream data in real time.
An embodiment of the present application further provides an apparatus, including:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform one or more methods as described in embodiments of the application.
Embodiments of the present application also provide one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform one or more methods as described in embodiments of the present application.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application 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 application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method for playing back the video recording in real time in the internet and the device for playing back the video recording in real time in the internet provided by the application are introduced in detail, specific examples are applied in the text to explain the principle and the implementation mode of the application, and the description of the above embodiments is only used for helping to understand the method and the core idea of the application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method for playing back video recording in real time in the Internet is characterized in that the method is applied to the video network, the video network comprises a streaming media server, a video network monitoring sharing server and a video network scheduling platform MServer which are sequentially connected with the streaming media server in a communication mode based on a video network protocol, and an Internet terminal which is respectively connected with the video network monitoring sharing server and the MServer in a communication mode based on a national standard GB/T28181 protocol, and the method comprises the following steps:
the MServer receives a first real-time playback video recording request sent by an Internet terminal; the first real-time playback video recording request is generated by the Internet terminal when the Internet terminal receives a triggering operation of video networking video recording playback, and comprises a specified video networking video recording file real-time playback instruction;
the MServer generates a second real-time playback video recording request according to the first real-time playback video recording request; wherein the second real-time playback video recording request comprises a video recording real-time playback protocol based on a video network;
the MServer sends the second real-time playback video recording request to a video networking monitoring shared server; the video networking monitoring sharing server is used for transmitting the second real-time playback video recording request to a streaming media server;
the MServer receives a playback consent message transmitted by the video networking monitoring sharing server; wherein the playback approval message is generated by the streaming media server when the second real-time playback video recording request is approved;
the MServer feeds the playback consent message back to the Internet terminal;
the MServer receives a stream pushing starting message sent by the Internet terminal; wherein the stream pushing start message is generated by the internet terminal after receiving the playback approval message;
the MServer sends the plug flow starting message to the video networking monitoring shared server; the video networking monitoring sharing server is used for transmitting the stream pushing starting message to the streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video networking video recording file real-time playback instruction to the video networking monitoring sharing server in real time according to the stream pushing starting message; the video networking monitoring sharing server is used for pushing the multimedia streaming data to the internet terminal in real time; and the internet terminal is used for playing the multimedia stream data in real time.
2. The method of claim 1, wherein the internet terminal comprises a multi-decoding IE plugin; the step that the MServer receives a first real-time playback video recording request sent by an Internet terminal comprises the following steps;
the MServer receives a first real-time playback video recording request sent by a multi-channel decoding IE plug-in; the first real-time playback video recording request is generated by the multi-path decoding IE plug-in when receiving the triggering operation of video networking video recording playback, and comprises a specified video networking video recording file real-time playback instruction.
3. The method of claim 1, wherein the step of the MServer feeding back the playback approval message to the internet terminal comprises:
the MServer generates a state message aiming at the playback consent message according to the playback consent message;
the MServer sends the status message to the Internet terminal;
and the MServer receives a status reply message returned by the Internet terminal aiming at the status message.
4. The method of claim 1, wherein the video network further comprises a video recording server communicatively coupled to the streaming media server based on a video networking protocol; the step that the streaming media server is used for pushing the multimedia streaming data corresponding to the specified video network video recording file real-time playback instruction to the video network monitoring sharing server in real time according to the stream pushing starting message comprises the following steps:
the streaming media server is used for generating a first multimedia stream acquisition instruction corresponding to the specified video networking video recording file real-time playback instruction according to the stream pushing start message;
the streaming media server receives multimedia stream data returned by the video recording server aiming at the first multimedia stream acquisition instruction in real time;
and the streaming media server pushes the multimedia streaming data to the video network monitoring sharing server in real time.
5. The method of claim 1, wherein the video network further comprises a third party platform communicatively coupled to the streaming media server based on an internet protocol; the step that the streaming media server is used for pushing the multimedia streaming data corresponding to the specified video network video recording file real-time playback instruction to the video network monitoring sharing server in real time according to the stream pushing starting message comprises the following steps:
the streaming media server is used for generating a second multimedia stream acquisition instruction corresponding to the specified video networking video recording file real-time playback instruction according to the stream pushing start message;
the streaming media server is used for receiving multimedia streaming data returned by the third-party platform aiming at the second multimedia streaming acquisition instruction in real time;
the streaming media server is used for pushing the multimedia streaming data to the video network monitoring sharing server in real time.
6. A method for playing back video recording in real time in the Internet is characterized in that the method is applied to the video network, the video network comprises a streaming media server, a video network monitoring sharing server and a video network scheduling platform MServer which are sequentially connected with the streaming media server in a communication mode based on a video network protocol, and an Internet terminal which is respectively connected with the video network monitoring sharing server and the MServer in a communication mode based on a national standard GB/T28181 protocol, and the method comprises the following steps:
the video networking monitoring sharing server receives a second real-time playback video recording request sent by the MServer; wherein the second real-time playback video recording request is generated by the MServer according to the first real-time playback video recording request and based on a video recording real-time playback protocol of a video network; the first real-time playback video recording request is generated by the Internet terminal when the Internet terminal receives a triggering operation of video networking video recording playback, and comprises a specified video networking video recording file real-time playback instruction;
the video networking monitoring sharing server transmits the second real-time playback video recording request to a streaming media server;
the video network monitoring sharing server receives a playback consent message sent by the streaming media server; wherein the playback approval message is generated by the streaming media server when the second real-time playback video recording request is approved;
the video networking monitoring sharing server sends the playback approval message to the MServer; the MServer is used for feeding back the playback consent message to the Internet terminal;
the video networking monitoring sharing server receives a stream pushing starting message sent by the MServer; wherein the stream pushing start message is generated by the internet terminal after receiving the playback approval message;
the video networking monitoring sharing server transparently transmits the stream pushing starting message to the streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video networking video recording file real-time playback instruction to the video networking monitoring sharing server in real time according to the stream pushing starting message;
the video networking monitoring sharing server pushes the multimedia streaming data to the Internet terminal in real time; and the internet terminal is used for playing the multimedia stream data in real time.
7. The device for playing back video recording in real time in the internet is applied to the video network, the video network comprises a streaming media server, a video network monitoring sharing server and a video network scheduling platform MServer which are sequentially in communication connection with the streaming media server based on a video network protocol, and an internet terminal which is respectively in communication connection with the video network monitoring sharing server and the MServer based on a national standard GB/T28181 protocol, wherein the MServer comprises the following modules:
the first playback request receiving module is used for receiving a first real-time playback video recording request sent by an Internet terminal; the first real-time playback video recording request is generated by the Internet terminal when the Internet terminal receives a triggering operation of video networking video recording playback, and comprises a specified video networking video recording file real-time playback instruction;
the second playback request generation module is used for generating a second real-time playback video recording request according to the first real-time playback video recording request; wherein the second real-time playback video recording request comprises a video recording real-time playback protocol based on a video network;
the second playback request sending module is used for sending the second real-time playback video recording request to a video networking monitoring shared server; the video networking monitoring sharing server is used for transmitting the second real-time playback video recording request to a streaming media server;
the second playback consent receiving module is used for receiving the playback consent message transmitted by the video network monitoring sharing server; wherein the playback approval message is generated by the streaming media server when the second real-time playback video recording request is approved;
the playback consent message feedback module is used for feeding back the playback consent message to the Internet terminal;
a first receiving module for starting stream pushing, configured to receive a stream pushing start message sent by the internet terminal; wherein the stream pushing start message is generated by the internet terminal after receiving the playback approval message;
the flow pushing starting message sending module is used for sending the flow pushing starting message to the video network monitoring sharing server; the video networking monitoring sharing server is used for transmitting the stream pushing starting message to the streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video networking video recording file real-time playback instruction to the video networking monitoring sharing server in real time according to the stream pushing starting message; the video networking monitoring sharing server is used for pushing the multimedia streaming data to the internet terminal in real time; and the internet terminal is used for playing the multimedia stream data in real time.
8. The device for playing back video recording in real time in the internet is applied to the video network, the video network comprises a streaming media server, a video network monitoring shared server, a video network scheduling platform MServer and an internet terminal, wherein the video network monitoring shared server and the video network scheduling platform MServer are sequentially in communication connection with the streaming media server based on a video network protocol, the internet terminal is respectively in communication connection with the video network monitoring shared server and the MServer based on a national standard GB/T28181 protocol, and the video network monitoring shared server comprises the following modules:
a second playback request receiving module, configured to receive a second real-time playback video recording request sent by the MServer; wherein the second real-time playback video recording request is generated by the MServer according to the first real-time playback video recording request and based on a video recording real-time playback protocol of a video network; the first real-time playback video recording request is generated by the Internet terminal when the Internet terminal receives a triggering operation of video networking video recording playback, and comprises a specified video networking video recording file real-time playback instruction;
the second playback request transparent transmission module is used for transmitting the second real-time playback video recording request to the streaming media server;
a playback consent first receiving module, configured to receive a playback consent message sent by the streaming media server; wherein the playback approval message is generated by the streaming media server when the second real-time playback video recording request is approved;
a playback consent message sending module, configured to send the playback consent message to the MServer; the MServer is used for feeding back the playback consent message to the Internet terminal;
a second receiving module for starting the flow pushing, configured to receive a flow pushing start message sent by the MServer; wherein the stream pushing start message is generated by the internet terminal after receiving the playback approval message;
the flow pushing starting message transparent transmission module is used for transmitting the flow pushing starting message to the streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video networking video recording file real-time playback instruction to the video networking monitoring sharing server in real time according to the stream pushing starting message;
the multimedia stream data pushing module is used for pushing the multimedia stream data to the internet terminal in real time; and the internet terminal is used for playing the multimedia stream data in real time.
9. An apparatus for real-time playback of video networked recordings in the internet, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the method of any of claims 1-6.
10. One or more machine readable media having instructions stored thereon that, when executed by one or more processors, cause the processors to perform the method of any one of claims 1-6.
CN201811505849.9A 2018-12-10 2018-12-10 Method and device for playing back video recording in real time in Internet Active CN109769126B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811505849.9A CN109769126B (en) 2018-12-10 2018-12-10 Method and device for playing back video recording in real time in Internet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811505849.9A CN109769126B (en) 2018-12-10 2018-12-10 Method and device for playing back video recording in real time in Internet

Publications (2)

Publication Number Publication Date
CN109769126A CN109769126A (en) 2019-05-17
CN109769126B true CN109769126B (en) 2021-06-29

Family

ID=66451369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811505849.9A Active CN109769126B (en) 2018-12-10 2018-12-10 Method and device for playing back video recording in real time in Internet

Country Status (1)

Country Link
CN (1) CN109769126B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110460883A (en) * 2019-07-30 2019-11-15 视联动力信息技术股份有限公司 A kind of method and device of monitoring management
CN114466201B (en) * 2022-02-21 2024-03-19 上海哔哩哔哩科技有限公司 Live stream processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101182069A (en) * 2007-11-13 2008-05-21 清华大学 Oxidation ditch intelligent control system based on change of water entry
CN104811986A (en) * 2014-10-11 2015-07-29 北京中创腾锐技术有限公司 Method and device for associating data of interfaces in packet domain of network
CN106231365A (en) * 2016-08-18 2016-12-14 北京斗牛科技有限公司 A kind of dispatching method and system
CN106375736A (en) * 2016-11-20 2017-02-01 广州飞歌汽车音响有限公司 Remote vehicle video monitoring method and remote vehicle video monitoring system
CN108810456A (en) * 2017-07-17 2018-11-13 北京视联动力国际信息技术有限公司 A kind of monitoring video flow transfers method and system
CN108882307A (en) * 2018-04-27 2018-11-23 中国电子科技集团公司电子科学研究院 It is a kind of to control the method and device separated with business

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6024474B2 (en) * 2013-01-23 2016-11-16 富士通株式会社 Multi-tenant system, management apparatus, management program, and control method of multi-tenant system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101182069A (en) * 2007-11-13 2008-05-21 清华大学 Oxidation ditch intelligent control system based on change of water entry
CN104811986A (en) * 2014-10-11 2015-07-29 北京中创腾锐技术有限公司 Method and device for associating data of interfaces in packet domain of network
CN106231365A (en) * 2016-08-18 2016-12-14 北京斗牛科技有限公司 A kind of dispatching method and system
CN106375736A (en) * 2016-11-20 2017-02-01 广州飞歌汽车音响有限公司 Remote vehicle video monitoring method and remote vehicle video monitoring system
CN108810456A (en) * 2017-07-17 2018-11-13 北京视联动力国际信息技术有限公司 A kind of monitoring video flow transfers method and system
CN108882307A (en) * 2018-04-27 2018-11-23 中国电子科技集团公司电子科学研究院 It is a kind of to control the method and device separated with business

Also Published As

Publication number Publication date
CN109769126A (en) 2019-05-17

Similar Documents

Publication Publication Date Title
CN109640029B (en) Method and device for displaying video stream on wall
CN110166728B (en) Video networking conference opening method and device
CN109714527B (en) Method and device for controlling video network camera in internet
CN109525460B (en) Method and device for monitoring number resources of video network
CN110121059B (en) Monitoring video processing method, device and storage medium
CN109167960B (en) Method and system for processing video stream data
CN111193788A (en) Audio and video stream load balancing method and device
CN109547817B (en) Method and device for double-playing video networking video recording in Internet
CN109120879B (en) Video conference processing method and system
CN110417877B (en) Audio and video service processing method and device
CN110049273B (en) Video networking-based conference recording method and transfer server
CN110138728B (en) Video data sharing method and device
CN109218306B (en) Audio and video data stream processing method and system
CN109617961B (en) Method and device for downloading video recording of video network in Internet
CN109698818B (en) Method and device for acquiring online user and cross-streaming media communication
CN109451001B (en) Communication method and system
CN109769126B (en) Method and device for playing back video recording in real time in Internet
CN110392227B (en) Data processing method, device and storage medium
CN110519331B (en) Method and device for processing resources of video network
CN110493149B (en) Message processing method and device
CN110072154B (en) Video networking-based clustering method and transfer server
CN109698859B (en) Data storage method and device based on video network
CN110099025B (en) Call method and device based on video networking
CN110677315A (en) Method and system for monitoring state
CN110557595A (en) Method and device for accessing mobile terminal to video conference

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