CN109617961B - Method and device for downloading video recording of video network in Internet - Google Patents

Method and device for downloading video recording of video network in Internet Download PDF

Info

Publication number
CN109617961B
CN109617961B CN201811505848.4A CN201811505848A CN109617961B CN 109617961 B CN109617961 B CN 109617961B CN 201811505848 A CN201811505848 A CN 201811505848A CN 109617961 B CN109617961 B CN 109617961B
Authority
CN
China
Prior art keywords
video
download
message
downloading
server
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
CN201811505848.4A
Other languages
Chinese (zh)
Other versions
CN109617961A (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 CN201811505848.4A priority Critical patent/CN109617961B/en
Publication of CN109617961A publication Critical patent/CN109617961A/en
Application granted granted Critical
Publication of CN109617961B publication Critical patent/CN109617961B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

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

Description

Method and device for downloading video recording of video network in Internet
Technical Field
The present application relates to the field of video networking technologies, and in particular, to a method and an apparatus for downloading video videos 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 download the video recorded in the video network under the internet environment, and therefore, the video recorded in the video network cannot be downloaded through the internet terminal.
Disclosure of Invention
In view of the above problems, embodiments of the present application are provided to provide a method for downloading video recordings in the internet and a corresponding apparatus for downloading video recordings 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 downloading video videos 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 that are sequentially connected to the streaming media server based on a video network protocol, and an internet terminal that is 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 downloading message request sent by an Internet terminal; the first downloading message request is generated by the Internet terminal when the Internet terminal receives the triggering operation of video networking video recording downloading and comprises a specified video networking video recording file downloading instruction;
the MServer generates a second download message request according to the first download message request; wherein the second download message request comprises a video recording download protocol based on a video network;
the MServer sends the second download message request to a video networking monitoring shared server; the video networking monitoring sharing server is used for transmitting the second downloading message request to a streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video network video recording file downloading instruction to the video network monitoring sharing server when the second downloading message request is agreed;
the MServer receives a download consent message transmitted by the video networking monitoring sharing server; wherein the download approval message is generated by the streaming media server when approving the second download message request;
the MServer feeds the download agreement message back to the Internet terminal;
the MServer receives a download confirmation message returned by the Internet terminal aiming at the download approval message;
the MServer generates a stream pushing instruction according to the download confirmation message and sends the stream pushing instruction to a video network monitoring sharing server; the video networking monitoring sharing server is used for pushing the multimedia stream data to the Internet terminal according to the stream pushing instruction; the internet terminal is used for storing the multimedia stream data.
In a preferred embodiment of the present application, the internet terminal includes a multi-channel decoding IE plugin; the step that the MServer receives the first download message request sent by the Internet terminal comprises the following steps:
the MServer receives a first downloading message request sent by a multipath decoding IE plugin; the first download message request is generated by the multi-path decoding IE plug-in when receiving the trigger operation of video networking video recording download, and comprises a specified video networking video recording file download instruction.
In a preferred embodiment of the present application, the step of feeding back, by the MServer, the download agreement message to the internet terminal, and the step of receiving, by the MServer, a download confirmation message returned by the internet terminal for the download agreement message includes:
the MServer generates a state message aiming at the download message request according to the download agreement message; wherein the status message comprises a download negotiation message body;
the MServer sends the status message to the Internet terminal;
the MServer receives a download confirmation message returned by the Internet terminal aiming at the status message; wherein the download confirmation message is generated by the internet terminal in response to the download negotiation message body when confirming the download.
In a preferred embodiment of the present application, the video network further includes a video server communicatively connected to the streaming media server based on a video network protocol; the step that the streaming media server is used for pushing the multimedia stream data corresponding to the specified video network video recording file downloading instruction to the video network monitoring shared server when the streaming media server agrees to the second downloading message request comprises the following steps:
the streaming media server is used for generating a first multimedia stream acquisition instruction corresponding to the specified video network video recording file downloading instruction when the second downloading message request is agreed;
the streaming media server is used for receiving multimedia stream data returned by the video recording server aiming at the first multimedia stream acquisition instruction;
the streaming media server is used for sending the multimedia streaming data to the video networking monitoring sharing server.
In a preferred embodiment of the present application, the video network further includes a third party platform communicatively connected to the streaming media server based on an internet protocol; the step that the streaming media server is used for pushing the multimedia stream data corresponding to the specified video network video recording file downloading instruction to the video network monitoring shared server when the streaming media server agrees to the second downloading message request comprises the following steps:
the streaming media server is used for generating a second multimedia stream acquisition instruction corresponding to the specified video network video recording file downloading instruction when the second downloading message request is agreed;
the streaming media server is used for receiving multimedia stream data returned by the third-party platform aiming at the second multimedia stream acquisition instruction;
the streaming media server is used for sending the multimedia streaming data to the video networking monitoring sharing server.
In order to solve the above problem, an embodiment of the present application discloses another method for downloading video recording 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 downloading message request sent by the MServer; the MServer generates a second download message request according to a video recording download protocol of video networking and a first download message request sent by an Internet terminal; the first downloading message request is generated by the Internet terminal when the triggering operation of video networking video recording downloading is received, and comprises a specified video networking video recording file downloading instruction;
the video networking monitoring sharing server transparently transmits the second downloading message request to a streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video network video recording file downloading instruction to the video network monitoring sharing server when the second downloading message request is agreed;
the video network monitoring sharing server receives a download consent message and multimedia stream data sent by the streaming media server; wherein the download approval message is generated by the streaming media server when approving the second download message request;
the video networking monitoring sharing server sends the download approval message to the MServer; the MServer is used for feeding back the download agreement message to the Internet terminal;
the video networking monitoring sharing server receives a stream pushing instruction sent by the MServer; the flow pushing instruction is generated by the MServer when a download confirmation message returned by the Internet terminal aiming at the download agreement message is received;
the video networking monitoring sharing server pushes the multimedia stream data to the Internet terminal according to the stream pushing instruction; the internet terminal is used for storing the multimedia stream data.
In order to solve the above problem, an embodiment of the present application further discloses a device for downloading video recording of a video network 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 download message request receiving module is used for receiving a first download message request sent by an internet terminal; the first downloading message request is generated by the Internet terminal when the Internet terminal receives the triggering operation of video networking video recording downloading and comprises a specified video networking video recording file downloading instruction;
a second download message request generation module, configured to generate a second download message request according to the first download message request; wherein the second download message request comprises a video recording download protocol based on a video network;
the second download message request sending module is used for sending the second download message request to the video networking monitoring sharing server; the video networking monitoring sharing server is used for transmitting the second downloading message request to a streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video network video recording file downloading instruction to the video network monitoring sharing server when the second downloading message request is agreed;
the download agreement message receiving module is used for receiving the download agreement message transmitted by the video network monitoring sharing server; wherein the download approval message is generated by the streaming media server when approving the second download message request;
a download agreement message feedback module for feeding back the download agreement message to the internet terminal;
a download confirmation message receiving module, configured to receive a download confirmation message returned by the internet terminal for the download approval message;
the flow pushing instruction generating module is used for generating a flow pushing instruction according to the download confirmation message and sending the flow pushing instruction to the video network monitoring sharing server; the video networking monitoring sharing server is used for pushing the multimedia stream data to the Internet terminal according to the stream pushing instruction; the internet terminal is used for storing the multimedia stream data.
In order to solve the above problem, an embodiment of the present application further discloses a device for downloading video recording of a video network 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 video network monitoring sharing server includes the following modules:
a second download message request receiving module, configured to receive a second download message request sent by the MServer; the MServer generates a second download message request according to a video recording download protocol of video networking and a first download message request sent by an Internet terminal; the first downloading message request is generated by the Internet terminal when the triggering operation of video networking video recording downloading is received, and comprises a specified video networking video recording file downloading instruction;
the second download message request transparent transmission module is used for transmitting the second download message request to the streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video network video recording file downloading instruction to the video network monitoring sharing server when the second downloading message request is agreed;
the multimedia stream data receiving module is used for receiving the download consent message and the multimedia stream data sent by the streaming media server; wherein the download approval message is generated by the streaming media server when approving the second download message request;
a download agreement message sending module, configured to send the download agreement message to the MServer; the MServer is used for feeding back the download agreement message to the Internet terminal;
the flow pushing instruction receiving module is used for receiving a flow pushing instruction sent by the MServer; the flow pushing instruction is generated by the MServer when a download confirmation message returned by the Internet terminal aiming at the download agreement message is received;
the multimedia stream data pushing module is used for pushing the multimedia stream data to the internet terminal according to the stream pushing instruction; the internet terminal is used for storing the multimedia stream data.
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 downloading the video recording files in the video network is creatively provided by the embodiment of the application 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 by applying the characteristics of the video network, and the service scope of intercommunication between the internet and the video network is increased;
the method and the device have the advantages that the characteristics of the video networking are applied, the multimedia streaming data are directly pushed to the internet terminal by the video networking monitoring sharing server, so that signaling data such as message requests and the like are separately executed, and compared with a mode that the multimedia streaming data are 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 downloading 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 downloading video recordings over the Internet according to an embodiment of the present application;
FIG. 6 is a flowchart illustrating steps in a method for downloading video recordings over the Internet according to an embodiment of the present application;
FIG. 7 is a flowchart illustrating steps in an alternative method for downloading video recordings over the Internet according to an embodiment of the present application;
FIG. 8 is a block diagram of an apparatus for downloading video recordings from the Internet according to an embodiment of the present invention;
fig. 9 is a block diagram of another apparatus for downloading video recordings from the internet according to the 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 data packet coming from the CPU module 204 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues, which in this embodiment is divided into two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 208 is configured by the CPU module 204, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet protocol gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present 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 video networking, one of the core concepts of the embodiments of the present application is provided, and a method and a product for downloading video recording files in video networking in the internet are provided initiatively, following a protocol of video networking, an internet terminal accesses a platform MServer with a video networking unified scheduling management function based on a GB/T28181 protocol, the MServer converts a first download message request for a specified video recording file sent by the internet terminal under an interface created based on the video networking video recording download protocol, so as to generate a second download message request recognizable by a video networking monitoring sharing server and a streaming media server, and then the streaming media server pushes multimedia streaming data corresponding to a specified video recording file download instruction to the video networking monitoring sharing server according to the second download message, then the video networking monitoring sharing server directly pushes the multimedia streaming data to the Internet terminal; according to the embodiment of the application, the video recording file of the video network can be downloaded in the Internet 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 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 MServer running memory, 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 downloading 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.
Example 1:
as shown in fig. 5, a networking schematic diagram of a system for downloading video recordings in the internet according to an embodiment of the present application is shown, where the system may be applied to a video network, where the video network includes a streaming media server 01, a video network monitoring sharing server 02 and a video network scheduling platform MServer03 that are sequentially connected to the streaming media server 01 based on a video networking protocol, and an internet terminal 04 that is respectively connected to the video network monitoring sharing server 02 and the MServer03 based on a national standard GB/T28181 protocol.
The streaming media server 01 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 server 02 supports a plurality of external devices to access to the video network simultaneously, and in the embodiment of the present application, the streaming media server 02 mainly communicates with the video server 05 based on the video network protocol and communicates with the third party platform 06 based on the internet protocol. In this embodiment, the streaming media server 01 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 server 01 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.
Multimedia streams referred to herein include video streams and audio streams.
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 the video networking monitoring device 04 into a video code stream of a real-time transport protocol (RTP) protocol load, and can be used for sharing video networking video to the monitoring platform based on RTP protocol transmission. 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 downloading 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 recording downloading protocol of the video network. In specific implementation, the MServer03 may establish a signaling exchange sub-module corresponding to a specific service (e.g., video downloading) in the internet/video conversion service module, and convert the message signaling from internet data to video data, or convert the message signaling from video data to internet data.
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 downloading video recordings in the internet according to an embodiment of the present application is shown, where the method may be applied to the video network, and in particular, may be applied to the MServer03 shown in fig. 5, and the method may specifically include the following steps:
step S601: the MServer receives a first downloading message request sent by an Internet terminal; the first downloading message request is generated by the Internet terminal when the Internet terminal receives the triggering operation of video networking video recording downloading and comprises a specified video networking video recording file downloading 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 video network video recording downloading mentioned in the embodiment of the application can be a video selected by a user on a display interface, and then a downloading 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 downloading the video.
The internet terminal 04 generates a first download message request (internet data) corresponding to the trigger operation according to the received trigger operation, wherein the first download message request comprises a specified video network video recording file address and an instruction for downloading the video network video recording file.
In order to enable an internet terminal to access a video network and receive multimedia stream data recorded and broadcasted by the video network, the embodiment of the application is provided with a multi-channel decoding IE plug-in the internet terminal, 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 download message request sent by the internet terminal by the MServer03 of the present application may specifically include:
the MServer03 receives a first download message request sent by a multipath decoding IE plugin; the first download message request is generated by the multi-path decoding IE plug-in when receiving the trigger operation of video networking video recording download, and comprises a specified video networking video recording file download instruction.
Step S602: the MServer generates a second download message request according to the first download message request; wherein the second download message request comprises a video recording download protocol based on a video network;
after receiving the first download message request sent by the internet terminal 04 based on the GB/T28181 protocol, the MServer03 needs to add a video recording download rule to the video networking protocol according to the video networking protocol for communicating with the video networking monitoring sharing server 02 and the streaming media server 01 to form a video recording download protocol based on the video networking, and at the same time, establishes a signaling exchange sub-module corresponding to the video recording download service in the internet/video networking conversion service module, where the signaling exchange sub-module can convert the first download message request into a second download message request (video networking data), so that the message request can be identified and executed by the video networking monitoring sharing server 02 and the streaming media server 01.
Step S603: the MServer sends the second download message request to a video networking monitoring shared server; the video networking monitoring sharing server is used for transmitting the second downloading message request to a streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video network video recording file downloading instruction to the video network monitoring sharing server when the second downloading message request is agreed;
correspondingly, the MServer03 sends the converted second download message request to the video networking monitoring sharing server 02, after the video networking monitoring sharing server 02 passes through, the streaming media server 01 replies the second download message request, if the service protocol of the second download message request is correct or the network communication is normal, the streaming media server 01 usually agrees with the download request, and then immediately pushes the multimedia stream data (video networking multimedia stream data) corresponding to the specified video networking video recording file download instruction to the video networking monitoring sharing server.
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 server 01 pushes the multimedia stream data corresponding to the specified video network video recording file downloading instruction to the video network monitoring sharing server 02, where the steps may specifically include:
the first substep: the streaming media server 01 is configured to generate a first multimedia stream acquisition instruction (video networking data) corresponding to the specified video networking video recording file downloading instruction when the second downloading message request is granted;
and a second substep: the streaming media server 01 is configured to receive multimedia stream data (video network multimedia stream data) returned by the video recording server 05 for the first multimedia stream acquisition instruction;
and a third substep: the streaming media server 01 is configured to send the multimedia stream data (video network multimedia stream data) to the video network monitoring sharing server 02.
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 server 01 pushes the multimedia stream data corresponding to the specified video network video recording file downloading instruction to the video network monitoring sharing server 02, where the steps may specifically include:
and a fourth substep: the streaming media server 01 is configured to generate a second multimedia stream acquisition instruction (internet data) corresponding to the specified video recording file downloading instruction when the second downloading message request is granted;
the second multimedia stream acquiring instruction is that the streaming media server 01 converts the acquiring instruction (video network data) corresponding to the specified video network video recording file downloading instruction into the second multimedia stream acquiring instruction (internet data) based on the GB/T28181 protocol.
And a fifth substep: the streaming media server 01 is configured to receive 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 by the collaboration server in the streaming server 01, and then the multimedia stream data (internet multimedia stream data) is converted into the multimedia stream data based on the video networking protocol (video networking multimedia stream data).
And a sixth substep: the streaming media server 01 is configured to send the multimedia stream data (video network multimedia stream data) to the video network monitoring sharing server 02.
Step S604: the MServer receives a download consent message transmitted by the video networking monitoring sharing server; wherein the download approval message is generated by the streaming media server when approving the second download message request;
after agreeing to the download request, the streaming media server 01 immediately feeds back an agreement suggestion to the video network monitoring sharing server 02, generates a download agreement message (video network data) and sends the download agreement message to the video network monitoring sharing server 02, and the video network monitoring sharing server 02 transmits the download agreement message to the MServer 03.
Step S605: the MServer feeds the download agreement message back to the Internet terminal;
step S606: the MServer receives a download confirmation message returned by the Internet terminal aiming at the download approval message;
for step S605 and step S606, a preferred embodiment of the present application provides a possible implementation manner that the MServer03 feeds back the download approval message to the internet terminal 04, and receives a download confirmation message returned by the internet terminal 04 for the download approval message, which may specifically include the following sub-steps:
and a seventh substep: the MServer03 generates a status message (internet of view data) for the download message request according to the download approval message (internet of view data); wherein the status message comprises a download negotiation message body;
MServer03 first generates a status message (internet data) based on the download approval message (internet data) and then converts the message to a status message (internet data) in the signaling exchange submodule of the previously established video download service.
And a substep eight: the MServer03 sends the status message (internet data) to the internet terminal 04;
and a substep nine: the MServer03 receives a download confirmation message (internet data) returned by the internet terminal 04 for the status message; wherein the download confirmation message is generated by the internet terminal 04 for the download negotiation message body when confirming the download.
Step S607: the MServer generates a stream pushing instruction according to the download confirmation message and sends the stream pushing instruction to a video network monitoring sharing server; the video networking monitoring sharing server is used for pushing the multimedia stream data to the Internet terminal according to the stream pushing instruction; the internet terminal is used for storing the multimedia stream data.
After the stream pushing instruction (video networking data) in the above steps is sent to the video networking monitoring shared server 02, the video networking monitoring shared server 02 converts the temporarily stored multimedia stream (video networking multimedia stream data) pushed by the streaming media server 01 into multimedia stream data (internet multimedia stream data) and sends the multimedia stream data (internet multimedia stream data) to the internet terminal 04, 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 the audio and video decoder for decoding and playing.
Through the steps S601 to S607, the mode of downloading video recording in the Internet is explained from the perspective of MServer03, the embodiment of the application creatively provides a method for downloading video recording files in the Internet, 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 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 method and the device greatly reduce the occupation of the operating memory of the MServer03, reduce the influence on the operation of the MServer03, and 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 recording downloading service is established under the internet/video networking conversion service module of the MServer03, and the signaling exchange submodule performs protocol conversion on 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 illustrating steps of another method for downloading video recordings in the internet according to an 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 downloading message request sent by the MServer; the MServer generates a second download message request according to a video recording download protocol of video networking and a first download message request sent by an Internet terminal; the first downloading message request is generated by the Internet terminal when the triggering operation of video networking video recording downloading is received, and comprises a specified video networking video recording file downloading instruction;
step S702: the video networking monitoring sharing server transparently transmits the second downloading message request to a streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video network video recording file downloading instruction to the video network monitoring sharing server when the second downloading message request is agreed;
step S703: the video network monitoring sharing server receives a download consent message and multimedia stream data sent by the streaming media server; wherein the download approval message is generated by the streaming media server when approving the second download message request;
step S704: the video networking monitoring sharing server sends the download approval message to the MServer; the MServer is used for feeding back the download agreement message to the Internet terminal;
step S705: the video networking monitoring sharing server receives a stream pushing instruction sent by the MServer; the flow pushing instruction is generated by the MServer when a download confirmation message returned by the Internet terminal aiming at the download agreement message is received;
step S706: the video networking monitoring sharing server pushes the multimedia stream data to the Internet terminal according to the stream pushing instruction; the internet terminal is used for storing the multimedia stream data.
The embodiment of the application illustrates a mode of downloading video recording in the internet from the perspective of the video networking monitoring sharing server 02 through steps S701 to S706, creatively provides a method for downloading video recording files in the video networking in the internet, and increases the service scope of intercommunication between the internet and the video networking; 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 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 method and the device greatly reduce the occupation of the operating memory of the MServer03, reduce the influence on the operation of the MServer03, and 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 recording downloading service is established under the internet/video networking conversion service module of the MServer03, and the signaling exchange submodule performs protocol conversion on 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 downloading video recordings in internet according to an embodiment of the present application is shown, where the device may be applied in video networks, and may specifically be applied in MServer03 shown in fig. 5, where the MServer03 may specifically include the following modules:
a first download message request receiving module 801, configured to receive a first download message request sent by an internet terminal; the first downloading message request is generated by the Internet terminal when the Internet terminal receives the triggering operation of video networking video recording downloading and comprises a specified video networking video recording file downloading instruction;
a second download message request generating module 802, configured to generate a second download message request according to the first download message request; wherein the second download message request comprises a video recording download protocol based on a video network;
a second download message request sending module 803, configured to send the second download message request to a video networking monitoring sharing server; the video networking monitoring sharing server is used for transmitting the second downloading message request to a streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video network video recording file downloading instruction to the video network monitoring sharing server when the second downloading message request is agreed;
a download consent message receiving module 804, configured to receive a download consent message transparently transmitted by the video networking monitoring sharing server; wherein the download approval message is generated by the streaming media server when approving the second download message request;
a download approval message feedback module 805 configured to feed back the download approval message to the internet terminal;
a download confirmation message receiving module 806, configured to receive a download confirmation message returned by the internet terminal for the download approval message;
a stream pushing instruction generating module 807, configured to generate a stream pushing instruction according to the download confirmation message, and send the stream pushing instruction to the video networking monitoring sharing server; the video networking monitoring sharing server is used for pushing the multimedia stream data to the Internet terminal according to the stream pushing instruction; the internet terminal is used for storing the multimedia stream data.
Example 5:
as shown in fig. 9, corresponding to the method in embodiment 3, a block diagram of another apparatus for downloading video recordings 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 download message request receiving module 901, configured to receive a second download message request sent by the MServer; the MServer generates a second download message request according to a video recording download protocol of video networking and a first download message request sent by an Internet terminal; the first downloading message request is generated by the Internet terminal when the triggering operation of video networking video recording downloading is received, and comprises a specified video networking video recording file downloading instruction;
a second download message request transparent transmission module 902, configured to transmit the second download message request to the streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video network video recording file downloading instruction to the video network monitoring sharing server when the second downloading message request is agreed;
a multimedia stream data receiving module 903, configured to receive a download approval message and multimedia stream data sent by the streaming media server; wherein the download approval message is generated by the streaming media server when approving the second download message request;
a download agreement message sending module 904, configured to send the download agreement message to the MServer; the MServer is used for feeding back the download agreement message to the Internet terminal;
a stream pushing instruction receiving module 905, configured to receive a stream pushing instruction sent by the MServer; the flow pushing instruction is generated by the MServer when a download confirmation message returned by the Internet terminal aiming at the download agreement message is received;
a multimedia stream data pushing module 906, configured to push the multimedia stream data to the internet terminal according to the stream pushing instruction; the internet terminal is used for storing the multimedia stream data.
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 downloading the video recording in the internet and the device for downloading the video recording 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 downloading video recording of video networking in the Internet is characterized in that the method is applied to the video networking, the video networking comprises a streaming media server, a video networking monitoring sharing server and a video networking dispatching platform MServer which are sequentially connected with the streaming media server in a communication mode based on a video networking protocol, and an Internet terminal which is respectively connected with the video networking 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 downloading message request sent by an Internet terminal; the first downloading message request is generated by the Internet terminal when the Internet terminal receives the triggering operation of video networking video recording downloading and comprises a specified video networking video recording file downloading instruction;
the MServer generates a second download message request according to the first download message request; wherein the second download message request comprises a video recording download protocol based on a video network;
the MServer sends the second download message request to a video networking monitoring shared server; the video networking monitoring sharing server is used for transmitting the second downloading message request to a streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video network video recording file downloading instruction to the video network monitoring sharing server when the second downloading message request is agreed, wherein the multimedia streaming data comes from a video recording server or a third-party platform;
the MServer receives a download consent message transmitted by the video networking monitoring sharing server; wherein the download approval message is generated by the streaming media server when approving the second download message request;
the MServer feeds the download agreement message back to the Internet terminal;
the MServer receives a download confirmation message returned by the Internet terminal aiming at the download approval message;
the MServer generates a stream pushing instruction according to the download confirmation message and sends the stream pushing instruction to a video network monitoring sharing server; the video networking monitoring sharing server is used for pushing the multimedia stream data to the Internet terminal according to the stream pushing instruction; the internet terminal is used for storing the multimedia stream data.
2. The method of claim 1, wherein the internet terminal comprises a multi-decoding IE plugin; the step that the MServer receives the first download message request sent by the Internet terminal comprises the following steps:
the MServer receives a first downloading message request sent by a multipath decoding IE plugin; the first download message request is generated by the multi-path decoding IE plug-in when receiving the trigger operation of video networking video recording download, and comprises a specified video networking video recording file download instruction.
3. The method according to claim 1, wherein the MServer feeds back the download approval message to the internet terminal, and the step of the MServer receiving the download confirmation message returned by the internet terminal for the download approval message comprises:
the MServer generates a state message aiming at the download message request according to the download agreement message; wherein the status message comprises a download negotiation message body;
the MServer sends the status message to the Internet terminal;
the MServer receives a download confirmation message returned by the Internet terminal aiming at the status message; wherein the download confirmation message is generated by the internet terminal in response to the download negotiation message body when confirming the download.
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 stream data corresponding to the specified video network video recording file downloading instruction to the video network monitoring shared server when the streaming media server agrees to the second downloading message request comprises the following steps:
the streaming media server is used for generating a first multimedia stream acquisition instruction corresponding to the specified video network video recording file downloading instruction when the second downloading message request is agreed;
the streaming media server is used for receiving multimedia stream data returned by the video recording server aiming at the first multimedia stream acquisition instruction;
the streaming media server is used for sending the multimedia streaming data to the video networking monitoring sharing server.
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 stream data corresponding to the specified video network video recording file downloading instruction to the video network monitoring shared server when the streaming media server agrees to the second downloading message request comprises the following steps:
the streaming media server is used for generating a second multimedia stream acquisition instruction corresponding to the specified video network video recording file downloading instruction when the second downloading message request is agreed;
the streaming media server is used for receiving multimedia stream data returned by the third-party platform aiming at the second multimedia stream acquisition instruction;
the streaming media server is used for sending the multimedia streaming data to the video networking monitoring sharing server.
6. A method for downloading video recording of video networking in the Internet is characterized in that the method is applied to the video networking, the video networking comprises a streaming media server, a video networking monitoring sharing server and a video networking dispatching platform MServer which are sequentially connected with the streaming media server in a communication mode based on a video networking protocol, and an Internet terminal which is respectively connected with the video networking 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 downloading message request sent by the MServer; the MServer generates a second download message request according to a video recording download protocol of video networking and a first download message request sent by an Internet terminal; the first downloading message request is generated by the Internet terminal when the triggering operation of video networking video recording downloading is received, and comprises a specified video networking video recording file downloading instruction;
the video networking monitoring sharing server transparently transmits the second downloading message request to a streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video network video recording file downloading instruction to the video network monitoring sharing server when the second downloading message request is agreed, wherein the multimedia streaming data comes from a video recording server or a third-party platform;
the video network monitoring sharing server receives a download consent message and multimedia stream data sent by the streaming media server; wherein the download approval message is generated by the streaming media server when approving the second download message request;
the video networking monitoring sharing server sends the download approval message to the MServer; the MServer is used for feeding back the download agreement message to the Internet terminal;
the video networking monitoring sharing server receives a stream pushing instruction sent by the MServer; the flow pushing instruction is generated by the MServer when a download confirmation message returned by the Internet terminal aiming at the download agreement message is received;
the video networking monitoring sharing server pushes the multimedia stream data to the Internet terminal according to the stream pushing instruction; the internet terminal is used for storing the multimedia stream data.
7. The device for downloading the video recording of the video networking in the Internet is characterized in that the device is applied to the video networking, the video networking comprises a streaming media server, a video networking monitoring sharing server and a video networking dispatching platform MServer which are sequentially in communication connection with the streaming media server based on a video networking protocol, and an Internet terminal which is respectively in communication connection with the video networking monitoring sharing server and the MServer based on a national standard GB/T28181 protocol, and the MServer comprises the following modules:
the first download message request receiving module is used for receiving a first download message request sent by an internet terminal; the first downloading message request is generated by the Internet terminal when the Internet terminal receives the triggering operation of video networking video recording downloading and comprises a specified video networking video recording file downloading instruction;
a second download message request generation module, configured to generate a second download message request according to the first download message request; wherein the second download message request comprises a video recording download protocol based on a video network;
the second download message request sending module is used for sending the second download message request to the video networking monitoring sharing server; the video networking monitoring sharing server is used for transmitting the second downloading message request to a streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video network video recording file downloading instruction to the video network monitoring sharing server when the second downloading message request is agreed, wherein the multimedia streaming data comes from a video recording server or a third-party platform;
the download agreement message receiving module is used for receiving the download agreement message transmitted by the video network monitoring sharing server; wherein the download approval message is generated by the streaming media server when approving the second download message request;
a download agreement message feedback module for feeding back the download agreement message to the internet terminal;
a download confirmation message receiving module, configured to receive a download confirmation message returned by the internet terminal for the download approval message;
the flow pushing instruction generating module is used for generating a flow pushing instruction according to the download confirmation message and sending the flow pushing instruction to the video network monitoring sharing server; the video networking monitoring sharing server is used for pushing the multimedia stream data to the Internet terminal according to the stream pushing instruction; the internet terminal is used for storing the multimedia stream data.
8. The device for downloading the video recording of the video networking in the Internet is characterized in that the device is applied to the video networking, the video networking comprises a streaming media server, a video networking monitoring shared server and a video networking dispatching platform MServer which are sequentially in communication connection with the streaming media server based on a video networking protocol, and an Internet terminal which is respectively in communication connection with the video networking monitoring shared server and the MServer based on a national standard GB/T28181 protocol, and the video networking monitoring shared server comprises the following modules:
a second download message request receiving module, configured to receive a second download message request sent by the MServer; the MServer generates a second download message request according to a video recording download protocol of video networking and a first download message request sent by an Internet terminal; the first downloading message request is generated by the Internet terminal when the triggering operation of video networking video recording downloading is received, and comprises a specified video networking video recording file downloading instruction;
the second download message request transparent transmission module is used for transmitting the second download message request to the streaming media server; the streaming media server is used for pushing multimedia streaming data corresponding to the specified video network video recording file downloading instruction to the video network monitoring sharing server when the second downloading message request is agreed, wherein the multimedia streaming data comes from a video recording server or a third-party platform;
the multimedia stream data receiving module is used for receiving the download consent message and the multimedia stream data sent by the streaming media server; wherein the download approval message is generated by the streaming media server when approving the second download message request;
a download agreement message sending module, configured to send the download agreement message to the MServer; the MServer is used for feeding back the download agreement message to the Internet terminal;
the flow pushing instruction receiving module is used for receiving a flow pushing instruction sent by the MServer; the flow pushing instruction is generated by the MServer when a download confirmation message returned by the Internet terminal aiming at the download agreement message is received;
the multimedia stream data pushing module is used for pushing the multimedia stream data to the internet terminal according to the stream pushing instruction; the internet terminal is used for storing the multimedia stream data.
9. An apparatus for downloading video recordings over a video network 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.
CN201811505848.4A 2018-12-10 2018-12-10 Method and device for downloading video recording of video network in Internet Active CN109617961B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811505848.4A CN109617961B (en) 2018-12-10 2018-12-10 Method and device for downloading video recording of video network in Internet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811505848.4A CN109617961B (en) 2018-12-10 2018-12-10 Method and device for downloading video recording of video network in Internet

Publications (2)

Publication Number Publication Date
CN109617961A CN109617961A (en) 2019-04-12
CN109617961B true CN109617961B (en) 2022-01-14

Family

ID=66007602

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811505848.4A Active CN109617961B (en) 2018-12-10 2018-12-10 Method and device for downloading video recording of video network in Internet

Country Status (1)

Country Link
CN (1) CN109617961B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110121111A (en) * 2019-05-09 2019-08-13 视联动力信息技术股份有限公司 A kind of webpage playback method, device and electronic equipment
CN110460810B (en) * 2019-07-30 2021-01-22 视联动力信息技术股份有限公司 Monitoring resource calling method and device
CN111385608A (en) * 2020-02-20 2020-07-07 视联动力信息技术股份有限公司 Video downloading method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780679A (en) * 2011-05-11 2012-11-14 上海风格信息技术股份有限公司 Method and system for playing aural signals by utilizing video file broadcasting
CN104394380A (en) * 2014-12-09 2015-03-04 浙江省公众信息产业有限公司 Video monitoring management system and playback method of video monitoring record
CN106302091A (en) * 2015-05-25 2017-01-04 上海琨视电子科技有限公司 A kind of stream media information dissemination method and system
CN108206934A (en) * 2016-12-16 2018-06-26 北京视联动力国际信息技术有限公司 A kind of monitor video sharing method and device
CN108307198A (en) * 2018-03-08 2018-07-20 广州酷狗计算机科技有限公司 flow service node dispatching method, device and scheduling node
CN108418778A (en) * 2017-02-09 2018-08-17 北京视联动力国际信息技术有限公司 A kind of internet and method, apparatus and interactive system regarding connected network communication
CN108810456A (en) * 2017-07-17 2018-11-13 北京视联动力国际信息技术有限公司 A kind of monitoring video flow transfers method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100138900A1 (en) * 2008-12-02 2010-06-03 General Instrument Corporation Remote access of protected internet protocol (ip)-based content over an ip multimedia subsystem (ims)-based network
CN108462678B (en) * 2017-02-21 2019-11-01 视联动力信息技术股份有限公司 A kind of method and apparatus of checking monitoring video recording
CN108965776B (en) * 2017-08-21 2019-11-12 视联动力信息技术股份有限公司 A kind of communication means and communication system
CN108881789B (en) * 2017-10-10 2019-07-05 视联动力信息技术股份有限公司 A kind of data interactive method and device based on video conference

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780679A (en) * 2011-05-11 2012-11-14 上海风格信息技术股份有限公司 Method and system for playing aural signals by utilizing video file broadcasting
CN104394380A (en) * 2014-12-09 2015-03-04 浙江省公众信息产业有限公司 Video monitoring management system and playback method of video monitoring record
CN106302091A (en) * 2015-05-25 2017-01-04 上海琨视电子科技有限公司 A kind of stream media information dissemination method and system
CN108206934A (en) * 2016-12-16 2018-06-26 北京视联动力国际信息技术有限公司 A kind of monitor video sharing method and device
CN108418778A (en) * 2017-02-09 2018-08-17 北京视联动力国际信息技术有限公司 A kind of internet and method, apparatus and interactive system regarding connected network communication
CN108810456A (en) * 2017-07-17 2018-11-13 北京视联动力国际信息技术有限公司 A kind of monitoring video flow transfers method and system
CN108307198A (en) * 2018-03-08 2018-07-20 广州酷狗计算机科技有限公司 flow service node dispatching method, device and scheduling node

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《基于云架构的雪亮工程平台设计与实现》;关勇;《广播与电视技术》;20181130;第45卷(第11期);第88-94页 *

Also Published As

Publication number Publication date
CN109617961A (en) 2019-04-12

Similar Documents

Publication Publication Date Title
CN109640029B (en) Method and device for displaying video stream on wall
CN109525460B (en) Method and device for monitoring number resources of video network
CN109714527B (en) Method and device for controlling video network camera in internet
CN111193788A (en) Audio and video stream load balancing method and device
CN109120879B (en) Video conference processing method and system
CN110417877B (en) Audio and video service processing method and device
CN109474715B (en) Resource configuration method and device based on video network
CN109547817B (en) Method and device for double-playing video networking video recording in Internet
CN110022295B (en) Data transmission method and video networking system
CN109660816B (en) Information processing method and device
CN110049273B (en) Video networking-based conference recording method and transfer server
CN110138728B (en) Video data sharing method and device
CN109617961B (en) Method and device for downloading video recording of video network in Internet
CN111478884B (en) Method, device and storage medium for data transmission among different video networks
CN109698818B (en) Method and device for acquiring online user and cross-streaming media communication
CN109451001B (en) Communication method and system
CN109005378B (en) Video conference processing method and system
CN109769126B (en) Method and device for playing back video recording in real time in Internet
CN110519331B (en) Method and device for processing resources of video network
CN110392227B (en) Data processing method, device and storage medium
CN110099025B (en) Call method and device based on video networking
CN110557595A (en) Method and device for accessing mobile terminal to video conference
CN110536148B (en) Live broadcasting method and equipment based on video networking
CN109495709B (en) Video network management system and method
CN110177244B (en) Method and system for polling conference terminal

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