CN109474848B - Video processing method and device based on video network, electronic equipment and medium - Google Patents

Video processing method and device based on video network, electronic equipment and medium Download PDF

Info

Publication number
CN109474848B
CN109474848B CN201811075804.2A CN201811075804A CN109474848B CN 109474848 B CN109474848 B CN 109474848B CN 201811075804 A CN201811075804 A CN 201811075804A CN 109474848 B CN109474848 B CN 109474848B
Authority
CN
China
Prior art keywords
video
server
video networking
protocol
internet
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
CN201811075804.2A
Other languages
Chinese (zh)
Other versions
CN109474848A (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 CN201811075804.2A priority Critical patent/CN109474848B/en
Publication of CN109474848A publication Critical patent/CN109474848A/en
Application granted granted Critical
Publication of CN109474848B publication Critical patent/CN109474848B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/4508Management of client data or end-user data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/633Control signals issued by server directed to the network components or client
    • H04N21/6332Control signals issued by server directed to the network components or client directed to client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/654Transmission by server directed to the client

Abstract

The application provides a video processing method and device based on a video network. The embodiment of the invention can determine whether the video receiving port of the internet media server is closed or not through the indication information, if the video receiving port is closed, the video based on the internet protocol sent by the video networking media sharing platform does not need to be received, therefore, the video network media sharing platform does not need to continuously send the video based on the internet protocol to the internet media server and then receive the video based on the internet protocol sent by the video network protocol conversion server, since the video over the video networking protocol is no longer received from the video networking protocol translation server, the video networking number assigned to receive the video over the video networking protocol from the video networking protocol translation server may be released, so that the video networking number can be used in other occasions, the video networking number is prevented from being wasted, and the utilization rate of the video networking number is improved.

Description

Video processing method and device based on video network, electronic equipment and medium
Technical Field
The present application relates to the field of video networking technologies, and in particular, to a video processing method and apparatus based on video networking.
Background
Currently, more and more users watch videos on the network, for example, the users use terminals to obtain videos from video servers on the network and then play the obtained videos on the terminals.
When a terminal needs to acquire a video from a video server, a communication connection between the terminal and the video server needs to be established first, then the terminal can send a video acquisition request to the video server, and then the video server sends the video to the terminal, however, the occupied space of the video is often large, and therefore the video server can continuously send the video to the terminal in a streaming manner.
The establishment of the communication connection between the terminal and the video server requires the occupation of network resources of the video server.
When the terminal no longer needs the video server to send the video to the terminal, the terminal can disconnect the communication connection with the video server.
Disclosure of Invention
In order to solve the above problems, the present application shows a video processing method and apparatus based on video networking.
In a first aspect, the present application shows a video processing method based on video networking, where the method is applied in a video sharing platform of video networking, and the method includes:
in the process of sending videos based on an internet protocol to an internet media server, detecting whether indication information that the number fed back by the internet media server exceeds a preset number is received within a preset time length, wherein the indication information is used for indicating that a video receiving port of the internet media server is not reachable;
if the indication information that the number fed back by the Internet media server exceeds the preset number is received within the preset time length, stopping receiving the video based on the video networking protocol from the video networking protocol conversion server;
releasing an video networking number assigned for receiving the video based on a video networking protocol from the video networking protocol server.
In an alternative implementation, the stopping receiving the video-networking video from the video-networking protocol conversion server includes:
and sending a termination instruction to the video networking coordination server, wherein the termination instruction is used for instructing the video networking coordination server to stop sending the video based on the video networking protocol to the video networking video sharing platform.
In an optional implementation, the method further includes:
receiving a stream adjusting signaling of the video sent by a main server of the video networking;
sending a video stream adjusting signaling to the video networking coordination and conversion server;
receiving a stream adjusting success response returned by the video networking protocol conversion server according to the stream adjusting signaling;
and sending the stream adjusting success response to the video network main server.
In an optional implementation, the method further includes:
assigning the video networking number for receiving the video based on a video networking protocol from the video networking protocol server;
receiving the video based on the video networking protocol sent by the video networking protocol server according to the video networking number;
converting the video based on a video networking protocol to the video based on an internet protocol;
sending the video based on an internet protocol to the internet media server.
In a second aspect, the present application shows a video processing apparatus based on video networking, the apparatus being applied in a video sharing platform of video networking, the apparatus comprising:
the device comprises a detection module, a video processing module and a video processing module, wherein the detection module is used for detecting whether indication information that the number fed back by the internet media server exceeds a preset number is received within a preset time length in the process of sending the video based on the internet protocol to the internet media server, and the indication information is used for indicating that a video receiving port of the internet media server is unreachable;
the stopping module is used for stopping receiving the video based on the video networking protocol from the video networking protocol conversion server if the indicating information that the number fed back by the Internet media server exceeds the preset number is received within the preset time length;
the stopping module is used for stopping receiving the video based on the video networking protocol from the video networking protocol conversion server if the echo response returned by the Internet media server according to the PING is not received within the preset time length;
a releasing module for releasing the video network number allocated for receiving the video based on the video network protocol from the video network protocol conversion server.
In an optional implementation manner, the stopping module is specifically configured to: and sending a termination instruction to the video networking coordination server, wherein the termination instruction is used for instructing the video networking coordination server to stop sending the video based on the video networking protocol to the video networking video sharing platform.
In an optional implementation, the apparatus further comprises:
the first receiving module is used for receiving the stream adjusting signaling of the video sent by the video networking main server;
the first sending module is used for sending the video stream adjusting signaling to the video networking coordination and conversion server;
the second receiving module is used for receiving a stream adjusting success response returned by the video networking protocol conversion server according to the stream adjusting signaling;
and the second sending module is used for sending the stream adjusting success response to the video network main server.
In an optional implementation, the apparatus further comprises:
an allocation module for allocating the video networking number for receiving the video based on a video networking protocol from the video networking protocol server;
the third receiving module is used for receiving the video based on the video networking protocol sent by the video networking protocol server according to the video networking number;
the conversion module is used for converting the video based on the video networking protocol into the video based on the Internet protocol;
and the third sending module is used for sending the video based on the internet protocol to the internet media server.
In a third aspect, the present application shows an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of video network-based video processing according to the first aspect when executing the program.
In a fourth aspect, the present application shows a computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program, which, when executed by a processor, implements the steps of the video networking based video processing of the first aspect.
The application includes the following advantages:
in the embodiment of the invention, in the process of sending the video based on the internet protocol to the internet media server, whether indication information that the number fed back by the internet media server exceeds the preset number is received in the preset time length is detected, and the indication information is used for indicating that a video receiving port of the internet media server is unreachable; if the indication information that the number fed back by the Internet media server exceeds the preset number is received within the preset time length, stopping receiving the video based on the video networking protocol from the video networking protocol conversion server; releasing the video networking number allocated for receiving the video based on the video networking protocol from the video networking protocol conversion server. The embodiment of the invention can determine whether the video receiving port of the internet media server is closed or not through the indication information, if the video receiving port is closed, the video based on the internet protocol sent by the video networking media sharing platform does not need to be received, therefore, the video network media sharing platform does not need to continuously send the video based on the internet protocol to the internet media server and then receive the video based on the internet protocol sent by the video network protocol conversion server, since the video over the video networking protocol is no longer received from the video networking protocol translation server, the video networking number assigned to receive the video over the video networking protocol from the video networking protocol translation server may be released, so that the video networking number can be used in other occasions, the video networking number is prevented from being wasted, and the utilization rate of the video networking number is improved.
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 block diagram of a video processing system based on video networking of the present application;
FIG. 6 is a flow chart of the steps of a video processing method based on video networking of the present application;
fig. 7 is a block diagram of a video processing apparatus based on a video network according to 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 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 the potentially enormous video 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 controlled by a layered centralized way, and the network controlled by the node server and the metropolitan area server can be in various structures such as a tree, a star, a ring and the like.
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 present application can be largely 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, in this application 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 video networking destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet coordination 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 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 characteristics of the video networking, one of the core concepts of the application is provided, the video networking number distributed for receiving the video based on the video networking protocol from the video networking protocol transfer server can be released in time according to the protocol of the video networking, so that the video networking number can be used in other occasions, the video networking number is prevented from being wasted, and the utilization rate of the video networking number is improved.
Referring to fig. 5, a block diagram of a video network-based video processing system according to the present application is shown, which includes a video network media sharing platform 01, a video network protocol server 02, an internet media server 03, a video network main server 04, and an internet platform 05. The video networking protocol conversion server 02 is used for storing video based on a video networking protocol.
The video networking media sharing platform 01 is in communication connection with the video networking coordination server 02 based on a video networking protocol, the video networking coordination server 02 is in communication connection with the internet media server 03 based on an internet protocol, the internet media server 03 is in communication connection with the internet platform 05 based on an internet protocol, the video networking media sharing platform 01 is in communication connection with the video networking main server 04 based on a video networking server, and the video networking main server 04 is in communication connection with the internet platform 05 based on an internet protocol.
Referring to fig. 6, a flowchart illustrating steps of a video processing method based on a video network according to the present application is shown, where the method may be applied to the video network media sharing platform 01 shown in fig. 5, and the method may specifically include the following steps:
in step S101, in the process of sending the video based on the internet protocol to the internet media server, detecting whether indication information that the number fed back by the internet media server exceeds a preset number is received within a preset time period, where the indication information is used to indicate that a video receiving port of the internet media server is unreachable;
when a user needs to acquire a video stored in the video networking coordination and conversion server, the internet platform can be used for sending a video stream adjusting signaling to the main video networking server, the main video networking server receives the video stream adjusting signaling and sends the video stream adjusting signaling to the video networking media sharing platform, and the video networking media sharing platform receives the video stream adjusting signaling sent by the video networking main server.
Sending the video stream adjusting signaling to a video networking protocol conversion server; the video network coordination and conversion server receives the video stream adjusting signaling and then sends a stream adjusting success response to the video network media sharing platform, and the video network media sharing platform receives the stream adjusting success response returned by the video network coordination and conversion server according to the stream adjusting signaling; and sending a stream-adjusting success response to the video networking main server, receiving the stream-adjusting success response by the video networking main server, sending the stream-adjusting success response to the Internet platform, receiving the stream-adjusting success response by the Internet platform so that a user can acquire a video, sending the stream-adjusting success response to the Internet media server by the Internet platform, and opening a video receiving port by the Internet media server to receive the video.
Secondly, after the video networking protocol conversion server receives a successful response of the stream modulation returned by the video networking protocol conversion server according to the stream modulation signaling, the video networking protocol conversion server can send a video based on a video networking protocol to the video networking media sharing platform, and the video networking media sharing platform can receive the video based on the video networking protocol sent by the video networking protocol conversion server and distributes a video networking number for receiving the video based on the video networking protocol from the video networking protocol conversion server; receiving a video based on a video networking protocol sent by a video networking protocol transfer server according to the video networking number; converting the video based on the video networking protocol into the video based on the Internet protocol; an internet protocol based video is sent to an internet media server.
When receiving a video, the internet media server often needs to open a video receiving port and receive the video through the video receiving port.
In the process of sending the video based on the internet protocol to the internet media server, a user may suddenly no longer need to acquire the video based on the internet protocol, and when the user no longer needs to acquire the video based on the internet protocol, the internet media server may be controlled to close the video receiving port, and then the internet media server no longer receives the video based on the internet protocol.
However, even if the internet media server closes the video receiving port, the video sharing platform of the internet of things can continue to send the video based on the internet protocol to the internet media server, however, because the internet media server closes the video receiving port, when receiving one frame of image in the video, the video sharing platform of the internet of things returns the indication information which is used for indicating that the video receiving port of the internet media server is not reachable; and the video sharing platform of the video network receives the indication information, and further can determine that the video receiving port is closed by the Internet media server.
However, sometimes the internet media server may accidentally shut down the video interface port for some reason and then return to normal: the video receiving port is opened, and in the process of closing the video receiving port, when one frame of image in the video is received, indication information is returned to the video sharing platform of the video network, wherein the indication information is used for indicating that the video receiving port of the internet media server is not accessible; since the internet media server immediately opens the video receiving port, the internet media server cannot be considered to be disconnected.
Therefore, in the present application, if the indication information that the number fed back by the internet media server exceeds the preset number is received within the preset time period, it may be determined that the video receiving port is closed by the internet media server.
The preset time period may be 10 seconds, 11 seconds, 12 seconds, or the like, which is not limited in the embodiment of the present invention.
The predetermined number may be 10 times, 15 times, 20 times, and the like, which is not limited in the embodiment of the present invention.
If the indication information that the number fed back by the internet media server exceeds the preset number is received within the preset time length, in step S102, the video based on the video networking protocol is stopped from being received from the video networking coordination server;
if the indication information that the number fed back by the internet media server exceeds the preset number is received within the preset time length, the internet media server is determined to close the video receiving port, the internet media server which closes the video receiving port does not need to receive the video which is sent by the video networking video sharing platform and is based on the internet protocol, and since the internet media server which closes the video receiving port does not need to receive the video which is sent by the video networking video sharing platform and is based on the internet protocol, in order to save network resources, the video networking video sharing platform does not need to continuously send the video which is based on the internet protocol to the internet media server, and therefore the video networking video sharing platform does not need to continuously receive the video which is based on the video networking protocol from the video networking protocol conversion server; thus, the video sharing platform may stop receiving video based on the video networking protocol from the video networking protocol server.
Specifically, the video networking video sharing platform may send a termination instruction to the video networking protocol conversion server, where the termination instruction is used to instruct the video networking protocol conversion server to stop sending the video based on the video networking protocol to the video networking video sharing platform. After receiving the termination instruction, the video networking protocol conversion server stops sending the video based on the video networking protocol to the video networking video sharing platform.
In step S103, the video network number allocated for receiving the video based on the video network protocol from the video network protocol conversion server is released.
Because no longer receive the video based on the video networking agreement from the video networking protocol transfer server, then can release for receiving the video based on the video networking agreement from the video networking protocol transfer server and the video networking number that distributes to make this video networking number can be used in other occasions, avoid the video networking number to be wasted, improved the utilization ratio of video networking number.
In the embodiment of the invention, in the process of sending the video based on the internet protocol to the internet media server, whether indication information that the number fed back by the internet media server exceeds the preset number is received in the preset time length is detected, and the indication information is used for indicating that a video receiving port of the internet media server is unreachable; if the indication information that the number fed back by the Internet media server exceeds the preset number is received within the preset time length, stopping receiving the video based on the video networking protocol from the video networking protocol conversion server; releasing the video networking number allocated for receiving the video based on the video networking protocol from the video networking protocol conversion server. The embodiment of the invention can determine whether the video receiving port of the internet media server is closed or not through the indication information, if the video receiving port is closed, the video based on the internet protocol sent by the video networking media sharing platform does not need to be received, therefore, the video network media sharing platform does not need to continuously send the video based on the internet protocol to the internet media server and then receive the video based on the internet protocol sent by the video network protocol conversion server, since the video over the video networking protocol is no longer received from the video networking protocol translation server, the video networking number assigned to receive the video over the video networking protocol from the video networking protocol translation server may be released, so that the video networking number can be used in other occasions, the video networking number is prevented from being wasted, and the utilization rate of the video networking number is improved.
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.
Referring to fig. 7, a block diagram of a video processing apparatus based on video network according to the present application is shown, and the apparatus may specifically include the following modules:
the system comprises a detection module 11, a video processing module and a video processing module, wherein the detection module is used for detecting whether indication information that the number fed back by an internet media server exceeds a preset number is received within a preset time length in the process of sending videos based on internet protocols to the internet media server, and the indication information is used for indicating that a video receiving port of the internet media server is unreachable;
a stopping module 12, configured to stop receiving the video based on the video networking protocol from the video networking coordination server if the indication information that the number fed back by the internet media server exceeds the preset number is received within a preset time length;
a releasing module 13, configured to release the video networking number allocated for receiving the video based on the video networking protocol from the video networking protocol conversion server.
In an optional implementation manner, the stopping module 12 is specifically configured to: and sending a termination instruction to the video networking coordination server, wherein the termination instruction is used for instructing the video networking coordination server to stop sending the video based on the video networking protocol to the video networking video sharing platform.
In an optional implementation, the apparatus further comprises:
the first receiving module is used for receiving the stream adjusting signaling of the video sent by the video networking main server;
the first sending module is used for sending the video stream adjusting signaling to the video networking coordination and conversion server;
the second receiving module is used for receiving a stream adjusting success response returned by the video networking protocol conversion server according to the stream adjusting signaling;
and the second sending module is used for sending the stream adjusting success response to the video network main server.
In an optional implementation, the apparatus further comprises:
an allocation module for allocating the video networking number for receiving the video based on a video networking protocol from the video networking protocol server;
the third receiving module is used for receiving the video based on the video networking protocol sent by the video networking protocol server according to the video networking number;
the conversion module is used for converting the video based on the video networking protocol into the video based on the Internet protocol;
and the third sending module is used for sending the video based on the internet protocol to the internet media server.
In the embodiment of the invention, in the process of sending the video based on the internet protocol to the internet media server, whether indication information that the number fed back by the internet media server exceeds the preset number is received in the preset time length is detected, and the indication information is used for indicating that a video receiving port of the internet media server is unreachable; if the indication information that the number fed back by the Internet media server exceeds the preset number is received within the preset time length, stopping receiving the video based on the video networking protocol from the video networking protocol conversion server; releasing the video networking number allocated for receiving the video based on the video networking protocol from the video networking protocol conversion server. The embodiment of the invention can determine whether the video receiving port of the internet media server is closed or not through the indication information, if the video receiving port is closed, the video based on the internet protocol sent by the video networking media sharing platform does not need to be received, therefore, the video network media sharing platform does not need to continuously send the video based on the internet protocol to the internet media server and then receive the video based on the internet protocol sent by the video network protocol conversion server, since the video over the video networking protocol is no longer received from the video networking protocol translation server, the video networking number assigned to receive the video over the video networking protocol from the video networking protocol translation server may be released, so that the video networking number can be used in other occasions, the video networking number is prevented from being wasted, and the utilization rate of the video networking number is improved.
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 video processing method and device based on the video network provided by the application are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the application, and the description of the above embodiment is only used to help 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 (8)

1. A video processing method based on video networking is applied to a video sharing platform of the video networking and comprises the following steps:
receiving a stream adjusting signaling of the video sent by a main server of the video networking;
sending the video stream adjusting signaling to a video networking protocol conversion server;
receiving a stream adjusting success response returned by the video networking protocol conversion server according to the stream adjusting signaling;
sending the stream adjusting success response to the video networking main server, so that the video networking main server sends the stream adjusting success response to an internet media server through an internet platform, and the internet media server opens a video receiving port;
in the process of sending the video based on the internet protocol to the internet media server, detecting whether indication information that the number fed back by the internet media server exceeds the preset number is received within a preset time length, wherein the indication information is used for indicating that a video receiving port of the internet media server is not reachable;
if the indication information that the number fed back by the Internet media server exceeds the preset number is received within the preset time length, stopping receiving the video based on the video networking protocol from the video networking protocol conversion server;
releasing an video networking number assigned for receiving the video based on a video networking protocol from the video networking protocol server.
2. The method of claim 1, wherein ceasing to receive the video-over-internet video from the video-over-internet server comprises:
and sending a termination instruction to the video networking coordination server, wherein the termination instruction is used for instructing the video networking coordination server to stop sending the video based on the video networking protocol to the video networking video sharing platform.
3. The method of claim 1, further comprising:
assigning the video networking number for receiving the video based on a video networking protocol from the video networking protocol server;
receiving the video based on the video networking protocol sent by the video networking protocol server according to the video networking number;
converting the video based on a video networking protocol to the video based on an internet protocol;
sending the video based on an internet protocol to the internet media server.
4. An apparatus for video processing based on video networking, the apparatus being applied in a video sharing platform of video networking, the apparatus comprising:
the first receiving module is used for receiving the stream adjusting signaling of the video sent by the video networking main server;
the first sending module is used for sending the video stream adjusting signaling to a video networking coordination and transfer server;
the second receiving module is used for receiving a stream adjusting success response returned by the video networking protocol conversion server according to the stream adjusting signaling;
the second sending module is used for sending the stream adjusting successful response to the video networking main server so that the video networking main server sends the stream adjusting successful response to an internet media server through an internet platform and further the internet media server opens a video receiving port;
the detection module is used for detecting whether indication information that the number fed back by the Internet media server exceeds the preset number is received within preset time in the process of sending the video based on the Internet protocol to the Internet media server, wherein the indication information is used for indicating that a video receiving port of the Internet media server is unreachable;
the stopping module is used for stopping receiving the video based on the video networking protocol from the video networking protocol conversion server if the indicating information that the number fed back by the Internet media server exceeds the preset number is received within the preset time length;
a releasing module for releasing the video network number allocated for receiving the video based on the video network protocol from the video network protocol conversion server.
5. The apparatus of claim 4, wherein the stopping module is specifically configured to: and sending a termination instruction to the video networking coordination server, wherein the termination instruction is used for instructing the video networking coordination server to stop sending the video based on the video networking protocol to the video networking video sharing platform.
6. The apparatus of claim 4, further comprising:
an allocation module for allocating the video networking number for receiving the video based on a video networking protocol from the video networking protocol server;
the third receiving module is used for receiving the video based on the video networking protocol sent by the video networking protocol server according to the video networking number;
the conversion module is used for converting the video based on the video networking protocol into the video based on the Internet protocol;
and the third sending module is used for sending the video based on the internet protocol to the internet media server.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the video network-based video processing according to any of claims 1 to 3 when executing the program.
8. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, carries out the steps of the video networking based video processing of any of claims 1 to 3.
CN201811075804.2A 2018-09-14 2018-09-14 Video processing method and device based on video network, electronic equipment and medium Active CN109474848B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811075804.2A CN109474848B (en) 2018-09-14 2018-09-14 Video processing method and device based on video network, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811075804.2A CN109474848B (en) 2018-09-14 2018-09-14 Video processing method and device based on video network, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN109474848A CN109474848A (en) 2019-03-15
CN109474848B true CN109474848B (en) 2021-10-19

Family

ID=65664543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811075804.2A Active CN109474848B (en) 2018-09-14 2018-09-14 Video processing method and device based on video network, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN109474848B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110809023B (en) * 2019-09-25 2022-08-19 视联动力信息技术股份有限公司 Communication connection establishing method and device based on video networking

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547386A (en) * 2012-01-12 2012-07-04 华为技术有限公司 Data retransmission method, system, multicast server and user terminal
CN103152648A (en) * 2013-02-27 2013-06-12 深圳创维-Rgb电子有限公司 Method, device and system for processing non-standard signal
CN106210924A (en) * 2016-08-16 2016-12-07 北京东方嘉禾文化发展股份有限公司 Video network transfer control method and system
CN106658223A (en) * 2015-11-03 2017-05-10 中国移动通信集团公司 Video uplink transmission method and video uplink transmission device in long-term evolution LTE network
CN107018554A (en) * 2017-03-07 2017-08-04 广东欧珀移动通信有限公司 A kind of data transmission method, device and intelligent terminal
CN108063743A (en) * 2016-11-07 2018-05-22 北京视联动力国际信息技术有限公司 The method and apparatus that a kind of web camera communicates with depending on networked terminals
CN108206934A (en) * 2016-12-16 2018-06-26 北京视联动力国际信息技术有限公司 A kind of monitor video sharing method and device
CN108234410A (en) * 2016-12-15 2018-06-29 北京视联动力国际信息技术有限公司 A kind of virtual terminal distribution method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7716737B2 (en) * 2002-11-04 2010-05-11 Riverbed Technology, Inc. Connection based detection of scanning attacks
CN101383829B (en) * 2008-10-17 2012-09-26 杭州华三通信技术有限公司 Stream recognition method and bandwidth management device
CN102025483B (en) * 2009-09-17 2012-07-04 国基电子(上海)有限公司 Wireless router and method for preventing malicious scanning by using same
CN103731758B (en) * 2013-12-20 2017-03-15 北京欧迈特科技股份有限公司 A kind of video stream transmission method and device
CN106972956A (en) * 2017-03-08 2017-07-21 北京航天自动控制研究所 The control method and device of the network equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547386A (en) * 2012-01-12 2012-07-04 华为技术有限公司 Data retransmission method, system, multicast server and user terminal
CN103152648A (en) * 2013-02-27 2013-06-12 深圳创维-Rgb电子有限公司 Method, device and system for processing non-standard signal
CN106658223A (en) * 2015-11-03 2017-05-10 中国移动通信集团公司 Video uplink transmission method and video uplink transmission device in long-term evolution LTE network
CN106210924A (en) * 2016-08-16 2016-12-07 北京东方嘉禾文化发展股份有限公司 Video network transfer control method and system
CN108063743A (en) * 2016-11-07 2018-05-22 北京视联动力国际信息技术有限公司 The method and apparatus that a kind of web camera communicates with depending on networked terminals
CN108234410A (en) * 2016-12-15 2018-06-29 北京视联动力国际信息技术有限公司 A kind of virtual terminal distribution method and device
CN108206934A (en) * 2016-12-16 2018-06-26 北京视联动力国际信息技术有限公司 A kind of monitor video sharing method and device
CN107018554A (en) * 2017-03-07 2017-08-04 广东欧珀移动通信有限公司 A kind of data transmission method, device and intelligent terminal

Also Published As

Publication number Publication date
CN109474848A (en) 2019-03-15

Similar Documents

Publication Publication Date Title
CN108737768B (en) Monitoring method and monitoring device based on monitoring system
CN111193788A (en) Audio and video stream load balancing method and device
CN109617956B (en) Data processing method and device
CN109547728B (en) Recorded broadcast source conference entering and conference recorded broadcast method and system
CN109120879B (en) Video conference processing method and system
CN110475090B (en) Conference control method and system
CN109768963B (en) Conference opening method and system based on video network
CN110113557B (en) Multistage conference implementation method and video networking system
CN109714568B (en) Video monitoring data synchronization method and device
CN110545244A (en) message distribution method and device
CN110557319A (en) Message processing method and device based on video network
CN111193767B (en) Request data sending method and device and clustered server system
CN110336710B (en) Terminal testing method, system and device and storage medium
CN109889516B (en) Method and device for establishing session channel
CN109743360B (en) Information processing method and device
CN109474848B (en) Video processing method and device based on video network, electronic equipment and medium
CN110557411A (en) video stream processing method and device based on video network
CN110213533B (en) Method and device for acquiring video stream monitored by video network
CN110267110B (en) Concurrent on-demand processing method and system based on video network
CN110808896B (en) Data transmission method and device, electronic equipment and storage medium
CN110493311B (en) Service processing method and device
CN109495709B (en) Video network management system and method
CN110113553B (en) Method and device for processing video telephone
CN111541858A (en) Audio and video recording method, system and device
CN111064988A (en) Log saving method and device

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