CN109120946B - Method and device for watching live broadcast - Google Patents
Method and device for watching live broadcast Download PDFInfo
- Publication number
- CN109120946B CN109120946B CN201810982030.5A CN201810982030A CN109120946B CN 109120946 B CN109120946 B CN 109120946B CN 201810982030 A CN201810982030 A CN 201810982030A CN 109120946 B CN109120946 B CN 109120946B
- Authority
- CN
- China
- Prior art keywords
- terminal
- video network
- live broadcast
- information
- live
- 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
Links
- 238000004891 communication Methods 0.000 claims description 37
- 230000004044 response Effects 0.000 claims description 32
- 238000006243 chemical reaction Methods 0.000 claims description 8
- 238000004806 packaging method and process Methods 0.000 claims description 6
- 238000004458 analytical method Methods 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 description 18
- 230000000875 corresponding Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 14
- 238000000034 method Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 7
- 238000004590 computer program Methods 0.000 description 7
- 238000003860 storage Methods 0.000 description 7
- 230000015654 memory Effects 0.000 description 6
- 238000001514 detection method Methods 0.000 description 5
- 230000011664 signaling Effects 0.000 description 5
- 230000003993 interaction Effects 0.000 description 4
- 238000011144 upstream manufacturing Methods 0.000 description 4
- 230000002457 bidirectional Effects 0.000 description 2
- 230000001276 controlling effect Effects 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000006011 modification reaction Methods 0.000 description 2
- 230000001960 triggered Effects 0.000 description 2
- 241000700605 Viruses Species 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000002155 anti-virotic Effects 0.000 description 1
- 230000003111 delayed Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000002452 interceptive Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical Effects 0.000 description 1
- 230000000750 progressive Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25808—Management of client data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network 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/65—Transmission of management data between client and server
- H04N21/654—Transmission by server directed to the client
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network 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/65—Transmission of management data between client and server
- H04N21/658—Transmission by the client directed to the server
Abstract
The embodiment of the invention provides a method and a device for watching live broadcast, which are applied to a video network. The method comprises the following steps: the third-party management platform acquires information of a target video network terminal selected by a user and information of a live broadcast terminal; the third party management platform sends a live broadcast watching command to the target video network terminal through the video network server according to the information of the target video network terminal; the target video network terminal receives a live broadcast watching command, and acquires live broadcast service data of the live broadcast terminal from a video network server according to the information of the live broadcast terminal; and the target video network terminal analyzes the live broadcast service data to obtain live broadcast content and plays the live broadcast content. In the embodiment of the invention, the third-party management platform controls one or some video network terminals to watch the live broadcast, so that the mode of watching the live broadcast is more flexible, and the video live broadcast is more conveniently and uniformly managed.
Description
Technical Field
The invention relates to the technical field of video networking, in particular to a method and a device for watching live broadcast.
Background
With the rapid development of network technologies, users increasingly perform various communications through networks. Communication such as video conferencing, video teaching, live video, etc. is widely spread in the aspects of life, work, learning, etc. of users.
In the prior art, in the video live broadcast, each viewer usually uses his own terminal to search and watch the interested live broadcast content. However, this method is only suitable for personal entertainment of users, but is not suitable for some platforms that need to uniformly manage the live video, so the method for watching live video in the prior art has a large limitation.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are provided to provide a method for watching a live broadcast and a corresponding apparatus for watching a live broadcast, which overcome or at least partially solve the above problems.
In order to solve the above problems, an embodiment of the present invention discloses a method for watching live broadcast, which is applied to a video network, wherein the video network comprises a live broadcast terminal, a third party management platform, a video network server and a video network terminal, and the method comprises:
the third-party management platform acquires information of a target video network terminal selected by a user and information of the live broadcast terminal;
the third party management platform sends a live broadcast watching command to the target video network terminal through the video network server according to the information of the target video network terminal; the live watching command comprises information of the live terminal;
the target video network terminal receives the live broadcast watching command and acquires live broadcast service data of the live broadcast terminal from the video network server according to the information of the live broadcast terminal;
and the target video network terminal analyzes the live broadcast service data to obtain live broadcast content and plays the live broadcast content.
Preferably, the step of acquiring the live broadcast service data of the live broadcast terminal from the video network server according to the information of the live broadcast terminal includes: the target video network terminal sends a live broadcast watching request to the video network server through the video network; the live watching request comprises information of the live broadcasting terminal; the target video network terminal receives the video network server, and a video network protocol data packet which is returned by the video network and encapsulates the live broadcast service data is received by the target video network terminal according to a downlink communication link configured for the target video network terminal; and the live broadcast service data is obtained by the video networking server aiming at the live broadcast watching request and is associated with the information of the live broadcast terminal.
Preferably, the third party management platform includes a front-end client and a back-end server, and the step of sending a live broadcast watching command to the target video network terminal via the video network server by the third party management platform according to the information of the target video network terminal includes: the front-end client generates a live watching command based on an internet protocol and sends the live watching command based on the internet protocol to the back-end server through the internet; the live watching command also comprises the information of the target video network terminal; and the back-end server converts the watching live command based on the Internet protocol into a watching live command based on a video networking protocol, and sends the watching live command based on the video networking protocol to the target video networking terminal according to the information of the target video networking terminal through the video networking server.
Preferably, after the step of obtaining the information of the target video network terminal selected by the user and the information of the live broadcast terminal by the third party management platform, the method further includes: the third party management platform sends a connection control command to the target video network terminal through the video network server according to the information of the target video network terminal; if the third-party management platform receives a connection permission response returned by the target video network terminal aiming at the connection control command, determining that the connection is successful; the third party management platform sends a live broadcast watching command to the target video network terminal through the video network server according to the information of the target video network terminal, and the step comprises the following steps: and after the third party management platform determines that the connection is successful, sending a live broadcast watching command to the target video network terminal through the video network server according to the information of the target video network terminal.
Preferably, the third party management platform includes a front end client and a back end server, and the step of sending a connection control command to the target video network terminal by the video network server according to the information of the target video network terminal includes: the front-end client generates a connection control command based on an internet protocol and sends the connection control command based on the internet protocol to the back-end server through the internet; the connection control command comprises information of the target video network terminal; and the back-end server converts the connection control command based on the Internet protocol into a connection control command based on a video networking protocol, and sends the connection control command based on the video networking protocol to the target video networking terminal according to the information of the target video networking terminal through the video networking server.
Preferably, the live broadcast terminal is a software terminal, the video network server includes a plurality of virtual terminals, and before the step of obtaining, by the third party management platform, information of a target video network terminal selected by a user and information of the live broadcast terminal, the method further includes: the third party management platform acquires the information of the virtual terminals from the video networking server, wherein the information of the virtual terminals comprises video networking numbers, video networking MAC addresses and states; after detecting that the live broadcast terminal logs in successfully, the third party management platform selects a target virtual terminal according to the states of the virtual terminals and sends the video networking number and the video networking MAC address of the target virtual terminal to the live broadcast terminal; and the live broadcast terminal executes network access operation in the video network server according to the video network number and the video network MAC address of the target virtual terminal.
On the other hand, the embodiment of the invention also discloses a device for watching the live broadcast, which is applied to the video network, wherein the video network comprises a live broadcast terminal, a third party management platform, a video network server and a video network terminal,
the third party management platform comprises:
the information acquisition module is used for acquiring information of a target video network terminal selected by a user and information of the live broadcast terminal;
the first command sending module is used for sending a live broadcast watching command to the target video network terminal through the video network server according to the information of the target video network terminal; the live watching command comprises information of the live terminal;
the target video network terminal comprises:
the data acquisition module is used for receiving the live broadcast watching command and acquiring live broadcast service data of the live broadcast terminal from the video network server according to the information of the live broadcast terminal;
and the analysis module is used for analyzing the live broadcast service data to obtain live broadcast content and playing the live broadcast content.
Preferably, the service acquisition module includes: the request sending module is used for sending a live broadcast watching request to the video networking server through the video networking; the live watching request comprises information of the live broadcasting terminal; the data receiving module is used for receiving the video networking server and packaging a video networking protocol data packet of the live broadcast service data returned by the video networking according to a downlink communication link configured for the target video networking terminal; and the live broadcast service data is obtained by the video networking server aiming at the live broadcast watching request and is associated with the information of the live broadcast terminal.
Preferably, the third party management platform includes a front-end client and a back-end server, and the first command sending module includes: the first generation unit is positioned at the front-end client and used for generating a live watching command based on an internet protocol and sending the live watching command based on the internet protocol to the back-end server through the internet; the live watching command also comprises the information of the target video network terminal; and the first conversion unit is positioned at the rear-end server and used for converting the live watching command based on the Internet protocol into a live watching command based on a video networking protocol, and transmitting the live watching command based on the video networking protocol to the target video networking terminal according to the information of the target video networking terminal through the video networking server.
Preferably, the third party management platform further comprises: the second command sending module is used for sending a connection control command to the target video network terminal through the video network server according to the information of the target video network terminal; the connection determining module is used for determining that the connection is successful if a connection allowing response returned by the target video network terminal aiming at the connection control command is received; the first command sending module is specifically configured to send a live broadcast watching command to the target video network terminal through the video network server according to the information of the target video network terminal after the successful connection is determined.
In the embodiment of the invention, a third-party management platform acquires information of a target video network terminal selected by a user and issues information of a live broadcast terminal; according to the information of the target video network terminal, sending a live broadcast watching command to the target video network terminal through a video network server; the target video network terminal responds to a live watching command and acquires live broadcast service data of the live broadcast terminal from a video network server according to the information of the live broadcast terminal; and analyzing the live broadcast service data to obtain live broadcast content, and playing the live broadcast content. Therefore, in the embodiment of the invention, the third-party management platform controls one or more video network terminals to watch the live broadcast, so that the mode of watching the live broadcast is more flexible, and the video live broadcast is more conveniently and uniformly managed.
Drawings
FIG. 1 is a schematic networking diagram of a video network of the present invention;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present invention;
fig. 3 is a schematic diagram of a hardware structure of an access switch of the present invention;
fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention;
FIG. 5 is a flow chart of steps of a method of viewing a live broadcast in accordance with a first embodiment of the present invention;
fig. 6 is a flowchart illustrating steps of a method for watching live broadcasts according to a second embodiment of the present invention;
fig. 7 is a block diagram of a device for watching live broadcast according to a third embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
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 invention, 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 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 invention 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 of the present invention 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 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 data packets, and is 64 bytes if the data packet is a variety of protocol packets, and is 32+1024 or 1056 bytes if the data packet is a unicast data 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 invention: 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 network, the scheme for watching the live broadcast is provided, the video network terminal is controlled to watch the live broadcast through the third party management platform according to the protocol of the video network, and the unified management of the video live broadcast is realized.
Example one
The method for watching the live broadcast can be applied to the video network. The video network can comprise a live broadcast terminal, a third party management platform, a video network server (which can be the node server) and a video network terminal. In the embodiment of the invention, the live broadcast terminal is mainly used for releasing live broadcast. The third-party management platform is mainly used for carrying out unified management on the live broadcast terminal. The video network server is mainly used for providing services, such as signaling forwarding and data forwarding, for devices in the video network, such as a live broadcast terminal, a third party management platform and a video network terminal. The video network terminal is mainly used for watching live broadcast.
Referring to fig. 5, a flowchart illustrating steps of a method for watching a live broadcast according to a first embodiment of the present invention is shown.
The method for watching the live broadcast in the embodiment of the invention can comprise the following steps:
The user can select a target video network terminal on the third-party management platform, and the target video network terminal is the video network terminal selected to watch the live broadcast. The target video network terminal can be one or more. The third-party management platform can acquire the information of the target video network terminal and the information of the live broadcast terminal.
In the embodiment of the invention, the third-party management platform can be any suitable platform which needs to carry out unified management on the live video. For example, the third-party management platform may be a real-time medical image transmission platform, and the live broadcast terminal may be a terminal for issuing live broadcast of data such as medical images, and the like.
The video network terminal is a video network service landing device, an actual participant or a server of the video network service, and can be various conference set-top boxes, video telephone set-top boxes, operation teaching set-top boxes, streaming media gateways, storage gateways, media synthesizers and the like.
And 502, the third-party management platform sends a live broadcast watching command to the target video network terminal through the video network server according to the information of the target video network terminal.
The third party management platform is used for controlling the target video network terminal to watch the live broadcast and generating a command for watching the live broadcast. The third party management platform can firstly send the live watching command to the video network server, and then the video network server forwards the live watching command to the target video network terminal according to the information of the target video network terminal.
The watching live command can include information of the live terminal. After receiving the live broadcast watching command, the target video network terminal can search the live broadcast service data of the live broadcast terminal from the video network server according to the information of the live broadcast terminal and can acquire the live broadcast service data.
And step 504, the target video network terminal analyzes the live broadcast service data to obtain live broadcast content, and plays the live broadcast content.
And the target video network terminal analyzes the acquired live broadcast service data to obtain live broadcast content, and then plays the live broadcast content to realize the control of the target video network terminal to watch live broadcast.
In the embodiment of the invention, a third-party management platform acquires information of a target video network terminal selected by a user and issues information of a live broadcast terminal; according to the information of the target video network terminal, sending a live broadcast watching command to the target video network terminal through a video network server; the target video network terminal responds to a live watching command and acquires live broadcast service data of the live broadcast terminal from a video network server according to the information of the live broadcast terminal; and analyzing the live broadcast service data to obtain live broadcast content, and playing the live broadcast content. Therefore, in the embodiment of the invention, the third-party management platform controls one or more video network terminals to watch the live broadcast, so that the mode of watching the live broadcast is more flexible, and the video live broadcast is more conveniently and uniformly managed.
Example two
Referring to fig. 6, a flowchart illustrating steps of a method for watching live broadcast according to a second embodiment of the present invention is shown.
The method for watching the live broadcast in the embodiment of the invention can comprise the following steps:
In the embodiment of the present invention, the live broadcast terminal may be a software terminal, for example, a software program installed on a hardware device such as a PC (Personal Computer), a smart phone, and a tablet Computer.
The video network belongs to a special network applying a video network protocol, if a hardware terminal (such as a video network terminal) is connected to the video network, a Media Access Control (MAC) address of a self network card is registered in the video network; if a software terminal (such as a live broadcast terminal) is connected to the video network, the hardware device where the software terminal is located also registers the MAC address of the own network card in the video network. The registered video network server distributes a unique video network number for each registered terminal.
In a preferred embodiment, the process of connecting the live broadcast terminal to the video network can be simplified, so that the hardware device where the live broadcast terminal is located can connect the live broadcast terminal to the video network for related services without registering the MAC address of the network card of the hardware device in the video network. In specific implementation, a plurality of virtual terminals can be created in the video networking server, and a corresponding video networking number and a video networking MAC address are allocated to each virtual terminal, the video networking number and the video networking MAC address are bound one by one, and the state (such as occupied state, idle state, and the like) of each virtual terminal can be recorded in real time, and is in an idle state initially. The virtual terminal can be understood as a channel for transmitting information (such as signaling, data and the like) in the video network server, and the video network number and the video network MAC address can be used for representing a unique identifier of the corresponding virtual terminal for interactive communication in the video network.
The live broadcast terminal can be connected with the video network through the following steps:
a1, the third party management platform obtains the information of the virtual terminals from the video network server, and the information of the virtual terminals comprises video network numbers, video network MAC addresses and states.
The third party management platform and the video network server can perform bidirectional interaction through the video network. The third-party management platform can acquire the information of the virtual terminals from the video network server.
Optionally, the third-party management platform may periodically acquire the information of the plurality of virtual terminals stored therein from the video network server at preset time intervals. In a specific implementation, the third-party management platform may package the acquisition request as a video networking protocol data packet based on a video networking protocol, and periodically send the video networking protocol data packet of the packaged acquisition request to the video networking server through the video networking according to a preset time interval; and the video networking server receives the video networking protocol data packet and then analyzes the video networking protocol data packet to obtain the relevant information of the acquisition request, packages the stored information of the virtual terminals into the video networking protocol data packet based on the video networking protocol, and returns the video networking protocol data packet for packaging the information of the virtual terminals to the third party management platform through the video networking. For the specific value of the preset time interval, a person skilled in the art may select any suitable value according to practical experience, for example, the preset time interval may be set to 30s, 1min, and the like, which is not limited in this embodiment of the present invention.
A2, after detecting that the login of the live broadcast terminal is successful, the third party management platform selects a target virtual terminal according to the states of the virtual terminals, and sends the video networking number and the video networking MAC address of the target virtual terminal to the live broadcast terminal.
The third-party management platform can allocate an account and a password to the live broadcast terminal to be connected with the video network in advance. The live broadcast terminal can log in on the third-party management platform according to the account number and the password of the live broadcast terminal. If the login is successful, the third party management platform can associate a virtual terminal for the live terminal. For example, the third party management platform may select a target virtual terminal according to the states of the plurality of virtual terminals, for example, may select one of the virtual terminals in the current state as an idle virtual terminal.
And the third party management platform sends the video networking number and the video networking MAC address of the target virtual terminal to the live broadcast terminal. The third-party management platform and the live broadcast terminal can perform bidirectional interaction through the Internet. In a specific implementation, the third-party management platform may encapsulate, based on an internet Protocol, such as UDP (User Datagram Protocol), a video networking number and a video networking MAC address of the target virtual terminal into an internet Protocol data packet, and send the internet Protocol data packet to the live broadcast terminal through the internet.
A3, the live broadcast terminal executes the network access operation in the video network server according to the video network number and the video network MAC address of the target virtual terminal.
And after receiving the Internet protocol data packet, the live broadcast terminal analyzes the Internet protocol data packet to obtain the video networking number and the video networking MAC address of the target virtual terminal. And according to the video networking number and the video networking MAC address of the target virtual terminal, the live broadcast terminal can execute network access operation in the video networking server. The method specifically comprises the following steps: and the live broadcast terminal sends a network access request to the video network server through the video network according to the video network number and the video network MAC address of the target virtual terminal. And if the live broadcast terminal receives a response of allowing network access returned by the video network server according to the video network number and the video network MAC address of the target virtual terminal through the video network, determining that the network access is successful.
After the live broadcast terminal successfully accesses the network, the live broadcast service data can be sent to the video network server. If the network access mode of the live broadcast terminal is that the hardware equipment where the live broadcast terminal is located is registered in the video network server, the live broadcast terminal can send live broadcast service data to the video network server according to the video network number and the MAC address of the hardware equipment, and the video network server can establish the association between the live broadcast service data and the information of the live broadcast terminal. And if the network access mode of the live broadcast terminal is the mode of distributing the virtual terminal, the live broadcast terminal can send the live broadcast service data to a video networking server according to the video networking number and the video networking MAC address of the target virtual terminal. Specifically, the live broadcast terminal can package live broadcast service data into a video networking protocol data packet based on a video networking protocol, and send the video networking protocol data packet for packaging the live broadcast service data to the video networking server through the video networking.
The third party management platform may include a front-end client and a back-end server. The front-end client is mainly used for interface display, for example, names, identifications and the like of all the video network terminals can be displayed in an interface, and a user can select one or more video network terminals as target video network terminals. The back-end server can be provided with a video networking module for interacting with the video networking server.
And the front-end client acquires the information of the selected target video network terminal and the information of the live broadcast terminal. The information of the target video network terminal may include a video network number and a MAC address of the target video network terminal. If the network access mode of the live broadcast terminal is that the hardware equipment where the live broadcast terminal is located is registered in the video networking server, the information of the live broadcast terminal can comprise the video networking number and the MAC address of the hardware equipment; if the network access mode of the live broadcast terminal is a mode of distributing the virtual terminal, the information of the live broadcast terminal can comprise the video networking number and the video networking MAC address of the target virtual terminal. Of course, the information may also include other information such as an identifier and a name, which is not limited in this embodiment of the present invention.
The third party management platform can send a connection control command to the target video networking terminal. The connection control command may indicate a request to connect with and control the target video network terminal.
In a preferred embodiment, the step 602 may include:
and B1, the front-end client generates a connection control command based on the Internet protocol and sends the connection control command based on the Internet protocol to the back-end server through the Internet.
In a specific implementation, a connection button may be displayed in an interface of the front-end client, and a user may click the connection button after selecting the target video network terminal, so that the front-end client may be triggered to generate a connection control command, where the connection control command may include information of the target video network terminal.
The front-end client encapsulates the connection control command into an internet protocol data packet based on an internet protocol, and sends the internet protocol data packet encapsulating the connection control command to the back-end server through the internet. Alternatively, the front-end client and the back-end server may communicate based on a Web API (Application Program Interface). Therefore, the front-end client calls the Web API to send the Internet protocol data packet encapsulating the connection control command to the back-end server.
B2, the back-end server converts the connection control command based on the internet protocol into a connection control command based on the video network protocol, and sends the connection control command based on the video network protocol to the target video network terminal according to the information of the target video network terminal through the video network via the video network server.
In a specific implementation, the background server receives and analyzes an internet protocol data packet encapsulating the connection control command to obtain the connection control command based on the internet protocol. The background server encapsulates the connection control command into a video networking protocol data packet based on a video networking protocol, and sends the video networking protocol data packet encapsulating the connection control command to the video networking server through the video networking. And the video network server sends the video network protocol data packet for encapsulating the connection control command to the target video network terminal through the video network according to the information of the target video network terminal. The video networking protocol may include 8785 protocol, 8f85 protocol, etc., among others. The target video network terminal can be an 8168 terminal and the like.
In a preferred embodiment, the video network server may send the video network protocol data packet encapsulating the connection control command to the target video network terminal through the video network according to a downlink communication link configured for the target video network terminal.
In practical applications, the video network is a network with a centralized control function, and includes a master control server and a lower level network device, where the lower level network device includes a terminal, and one of the core concepts of the video network is to configure a table for a downlink communication link of a current service by notifying a switching device by the master control server, and then transmit a data packet based on the configured table.
Namely, the communication method in the video network includes:
and the master control server configures the downlink communication link of the current service.
And transmitting the data packet of the current service sent by the source terminal (such as a third-party management platform) to a target terminal (such as a target video network terminal) according to the downlink communication link.
In the embodiment of the present invention, configuring the downlink communication link of the current service includes: and informing the switching equipment related to the downlink communication link of the current service to allocate the table.
Further, transmitting according to the downlink communication link includes: the configured table is consulted, and the switching equipment transmits the received data packet through the corresponding port.
In particular implementations, the services include unicast communication services and multicast communication services. Namely, whether multicast communication or unicast communication, the core concept of the table matching-table can be adopted to realize communication in the video network.
As mentioned above, the video network includes an access network portion, in which the master server is a node server and the lower-level network devices include an access switch and a terminal.
For the unicast communication service in the access network, the step of configuring the downlink communication link of the current service by the master server may include the following steps:
and a substep S11, the main control server obtains the downlink communication link information of the current service according to the service request protocol packet initiated by the source terminal, wherein the downlink communication link information includes the downlink communication port information of the main control server and the access switch participating in the current service.
In the substep S12, the main control server sets a downlink port to which a packet of the current service is directed in a packet address table inside the main control server according to the downlink communication port information of the control server; and sending a port configuration command to the corresponding access switch according to the downlink communication port information of the access switch.
In sub-step S13, the access switch sets the downstream port to which the packet of the current service is directed in its internal packet address table according to the port configuration command.
For a multicast communication service (e.g., video conference) in the access network, the step of the master server obtaining downlink information of the current service may include the following sub-steps:
in sub-step S21, the main control server obtains a service request protocol packet initiated by the target terminal and applying for the multicast communication service, where the service request protocol packet includes service type information, service content information, and an access network address of the target terminal.
Wherein, the service content information includes a service number.
And a substep S22, the main control server extracts the access network address of the source terminal in a preset content-address mapping table according to the service number.
In the substep of S23, the main control server obtains the multicast address corresponding to the source terminal and distributes the multicast address to the target terminal; and acquiring the communication link information of the current multicast service according to the service type information and the access network addresses of the source terminal and the target terminal.
After receiving the connection control command, the target video network terminal can select to allow connection or reject connection according to the connection control command. If the connection is allowed, the target video network terminal sends a connection allowing response to the third-party management platform through the video network server; and if the connection is rejected, the target video network terminal sends a connection rejection response to the third-party management platform through the video network server.
In a specific implementation, the target video network terminal generates a connection response (allowing the connection response or rejecting the connection response) based on the video network protocol, and sends the connection response based on the video network protocol to the video network server through the video network; the video networking server sends a connection response based on a video networking protocol to a back-end server through the video networking; the back-end server converts the connection response based on the video networking protocol into a connection response based on the Internet protocol, and sends the connection response based on the Internet protocol to the front-end client through the Internet.
If the third-party management platform receives a connection permission response returned by the target video networking terminal aiming at the connection control command, determining that the connection is successful; if a connection rejection response returned by the target video network terminal aiming at the connection control command is received, determining that the connection fails; if a connection response returned by the target video network terminal for the connection control command is not received (for example, the connection response is not received due to network disconnection, etc.), it is determined that the connection is failed.
And step 604, after determining that the connection is successful, the third-party management platform sends a live broadcast watching command to the target video network terminal through the video network server according to the information of the target video network terminal.
If the third party management platform determines in step 603 that the connection is successful, a live watching command may be sent to the target video network terminal. The live broadcast watching command can indicate that the specified target video network terminal watches the live broadcast.
In a preferred embodiment, this step 604 may include:
and C1, the front-end client generates a live watching command based on the Internet protocol, and sends the live watching command based on the Internet protocol to the back-end server through the Internet.
In a specific implementation, a viewing button can be displayed in an interface of the front-end client, and a user can click the viewing button, so that the front-end client can be triggered to generate a live viewing command, wherein the live viewing command can include information of a target video network terminal and information of a live viewing terminal.
The front-end client encapsulates the live broadcast watching command into an internet protocol data packet based on an internet protocol, and sends the internet protocol data packet of the encapsulated live broadcast watching command to the back-end server through the internet. Optionally, the front-end client calls a Web API to send an internet protocol data packet encapsulating a live viewing command to the back-end server.
And C2, the back-end server converts the Internet protocol-based live watching command into a video networking protocol-based live watching command, and sends the video networking protocol-based live watching command to the target video networking terminal according to the information of the target video networking terminal through the video networking server.
In the specific implementation, the background server receives and analyzes an internet protocol data packet encapsulating a live broadcast watching command to obtain the live broadcast watching command based on the internet protocol. The background server encapsulates the live watching command into a video networking protocol data packet based on a video networking protocol, and sends the video networking protocol data packet of the encapsulated live watching command to the video networking server through the video networking. And the video network server transmits the video network protocol data packet for packaging the live broadcast watching command to the target video network terminal through the video network according to the information of the target video network terminal.
In a preferred embodiment, the video network server may send the video network protocol data packet encapsulating the live viewing command to the target video network terminal through the video network according to a downlink communication link configured for the target video network terminal. For the description of the downlink communication link, specific reference may be made to the relevant description of step 602.
And 605, the target video network terminal receives the live broadcast watching command, and acquires the live broadcast service data of the live broadcast terminal from the video network server according to the information of the live broadcast terminal.
And the target video network terminal analyzes the video network protocol data packet after receiving the video network protocol data packet of the encapsulated live broadcast watching command to obtain the live broadcast watching command. And according to the information of the live broadcast terminal included in the live broadcast data, the live broadcast service data of the live broadcast terminal can be acquired from the video network server.
In a preferred embodiment, step 605 may include:
and D1, the target video network terminal sends a request for watching the live broadcast to the video network server through the video network.
In the specific implementation, the target video network terminal encapsulates the live broadcast watching request into a video network protocol data packet based on a video network protocol, and sends the video network protocol data packet of the encapsulated live broadcast watching request to a video network server through the video network. The watching live broadcast request can include information of a live broadcast terminal, information in a target video network and the like.
D2, the target video network terminal receives the video network server, and the video network protocol data packet which encapsulates the live broadcast service data and is returned by the video network according to the downlink communication link configured for the target video network terminal; and the live broadcast service data is obtained by the video networking server aiming at the live broadcast watching request and is associated with the information of the live broadcast terminal.
In the specific implementation, the video networking server receives and analyzes the video networking protocol data packet of the packaged watching live broadcast request to obtain the watching live broadcast request. The video networking server acquires the live broadcast service data associated with the information of the live broadcast terminal aiming at the live broadcast watching request, packages the live broadcast service data into a video networking protocol data packet based on a video networking protocol, and sends the video networking protocol data packet of the packaged live broadcast service data to a target video networking terminal through the video networking.
In a preferred embodiment, the video networking server may send the video networking protocol data packet encapsulating the live broadcast service data to the target video networking terminal through the video networking according to a downlink communication link configured for the target video networking terminal. For the description of the downlink communication link, specific reference may be made to the relevant description of step 602.
And 606, the target video network terminal analyzes the live broadcast service data to obtain live broadcast content and plays the live broadcast content.
And the target video network terminal analyzes the video network protocol data packet after receiving the video network protocol data packet for encapsulating the live broadcast service data to obtain the live broadcast service data. The live broadcast service data is coded data, so the target video network terminal analyzes the live broadcast service data (such as decoding and format conversion) and analyzes the live broadcast service data into live broadcast content in a format suitable for playing. After the analysis, the target video network terminal can play the live broadcast content, so that the live broadcast issued by the live broadcast terminal can be watched.
The live broadcast service data may be audio data, video data, etc., and the corresponding live broadcast content may be sound, pictures, etc.
And step 607, the third party management platform receives the viewing result response returned by the target video network terminal and displays the prompt message of the viewing result.
The target video network terminal can also return a watching result response of watching the live broadcast to the third party management platform. If the watching is successful, the target video network terminal sends a response of successful watching to the third-party management platform through the video network server; and if the watching fails, the target video network terminal sends a watching failure response to the third-party management platform through the video network server.
In the specific implementation, the target video network terminal generates a viewing result (viewing success response or viewing failure response) based on a video network protocol, and transmits the viewing result response based on the video network protocol to a video network server through the video network; the video network server sends the viewing result response based on the video network protocol to a back-end server through the video network; the back-end server converts the watching result response based on the video networking protocol into the watching result response based on the Internet protocol, and sends the watching result response based on the Internet protocol to the front-end client through the Internet.
And the third-party management platform receives a watching result response returned by the target video network terminal and can display the prompt information of the watching result. For example, a prompt box may be popped up in the interface of the front-end client to display the prompt information.
In step 608, the third party management platform displays a prompt message of connection failure.
If the third party management platform determines that the connection fails in step 603, a prompt for the connection failure may be displayed. For example, a prompt box can be popped out in the interface of the front-end client to display prompt information of connection failure so as to prompt the user that the target video network terminal refuses to connect and refuses to be controlled to watch live broadcast.
In the embodiment of the invention, the appointed live broadcast can be watched by remotely controlling the video network terminal through the third-party management platform, so that unified management is facilitated; and moreover, the video networking module is directly embedded in the platform, so that the video networking signaling interaction is directly carried out, a video networking message forwarding server is removed, the video networking signaling interaction process is reduced, and the problem that the service cannot be carried out due to the disconnection of an intermediate transmission layer for various reasons is solved.
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 present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
EXAMPLE III
Referring to fig. 7, a block diagram of an apparatus for watching a live broadcast according to a third embodiment of the present invention is shown. The device can be applied to the video network, and the video network comprises a live broadcast terminal, a third party management platform, a video network server and a video network terminal.
The device for watching the live broadcast in the embodiment of the invention can comprise the following modules:
the third party management platform comprises:
an information acquisition module 701, configured to acquire information of a target video network terminal selected by a user and information of the live broadcast terminal;
a first command sending module 702, configured to send a live broadcast watching command to the target video network terminal through the video network server according to the information of the target video network terminal; the live watching command comprises information of the live terminal;
the target video network terminal comprises:
a data obtaining module 703, configured to receive the live broadcast watching command, and obtain live broadcast service data of the live broadcast terminal from the video network server according to the information of the live broadcast terminal;
and the analyzing module 704 is used for analyzing the live broadcast service data to obtain live broadcast content and playing the live broadcast content.
In a preferred embodiment, the service acquisition module includes: the request sending module is used for sending a live broadcast watching request to the video networking server through the video networking; the live watching request comprises information of the live broadcasting terminal; the data receiving module is used for receiving the video networking server and packaging a video networking protocol data packet of the live broadcast service data returned by the video networking according to a downlink communication link configured for the target video networking terminal; and the live broadcast service data is obtained by the video networking server aiming at the live broadcast watching request and is associated with the information of the live broadcast terminal.
In a preferred embodiment, the third party management platform includes a front-end client and a back-end server, and the first command sending module includes: the first generation unit is positioned at the front-end client and used for generating a live watching command based on an internet protocol and sending the live watching command based on the internet protocol to the back-end server through the internet; the live watching command also comprises the information of the target video network terminal; and the first conversion unit is positioned at the rear-end server and used for converting the live watching command based on the Internet protocol into a live watching command based on a video networking protocol, and transmitting the live watching command based on the video networking protocol to the target video networking terminal according to the information of the target video networking terminal through the video networking server.
In a preferred embodiment, the third party management platform further comprises: the second command sending module is used for sending a connection control command to the target video network terminal through the video network server according to the information of the target video network terminal; the connection determining module is used for determining that the connection is successful if a connection allowing response returned by the target video network terminal aiming at the connection control command is received; the first command sending module is specifically configured to send a live broadcast watching command to the target video network terminal through the video network server according to the information of the target video network terminal after the successful connection is determined.
In a preferred embodiment, the third party management platform includes a front-end client and a back-end server, and the second command sending module includes: the second generation unit is positioned at the front-end client and used for generating a connection control command based on an internet protocol and sending the connection control command based on the internet protocol to the back-end server through the internet; the connection control command comprises information of the target video network terminal; and the second conversion unit is positioned at the rear-end server and used for converting the connection control command based on the Internet protocol into the connection control command based on the video networking protocol, and sending the connection control command based on the video networking protocol to the target video networking terminal through the video networking server according to the information of the target video networking terminal.
In a preferred embodiment, the live broadcast terminal is a software terminal, the video network server includes a plurality of virtual terminals, and the third party management platform further includes: the virtual acquisition module is used for acquiring the information of the virtual terminals from the video network server, wherein the information of the virtual terminals comprises video network numbers, video network MAC addresses and states; the selecting module is used for selecting a target virtual terminal according to the states of the virtual terminals after the fact that the live broadcast terminal logs in successfully is detected, and sending a video networking number and a video networking MAC (media access control) address of the target virtual terminal to the live broadcast terminal; the live broadcast terminal includes: and the network access module is used for executing network access operation in the video network server according to the video network number and the video network MAC address of the target virtual terminal.
In the embodiment of the invention, the third-party management platform controls one or some video network terminals to watch the live broadcast, so that the mode of watching the live broadcast is more flexible, and the video live broadcast is more conveniently and uniformly managed.
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 skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention 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 invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the 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 invention 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 preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
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 watching the live broadcast and the device for watching the live broadcast provided by the invention are introduced in detail, a specific example is applied in the text to explain the principle and the implementation mode of the invention, and the description of the above embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, 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 invention.
Claims (8)
1. A method for watching live broadcast is characterized in that the method is applied to a video network, the video network comprises a third party management platform, a video network server and a video network terminal, and the method comprises the following steps:
the third-party management platform acquires information of a target video network terminal selected by a user and information of a live broadcast terminal, wherein the live broadcast terminal is positioned in the internet;
the third party management platform sends a live broadcast watching command to the target video network terminal through the video network server according to the information of the target video network terminal; the live watching command comprises information of the live terminal;
the target video network terminal receives the live broadcast watching command and acquires live broadcast service data of the live broadcast terminal from the video network server according to the information of the live broadcast terminal;
the target video network terminal analyzes the live broadcast service data to obtain live broadcast content and plays the live broadcast content;
the third party management platform comprises a front-end client and a rear-end server, and the third party management platform sends a live broadcast watching command to the target video network terminal through the video network server according to the information of the target video network terminal, and the third party management platform comprises the following steps:
the front-end client generates a live watching command based on an internet protocol, and sends the live watching command based on the internet protocol to the back-end server through the internet, wherein the live watching command also comprises information of the target video network terminal;
and the back-end server converts the watching live command based on the Internet protocol into a watching live command based on a video networking protocol, and sends the watching live command based on the video networking protocol to the target video networking terminal according to the information of the target video networking terminal through the video networking server.
2. The method according to claim 1, wherein the step of obtaining the live service data of the live terminal from the video network server according to the information of the live terminal comprises:
the target video network terminal sends a live broadcast watching request to the video network server through the video network; the live watching request comprises information of the live broadcasting terminal;
the target video network terminal receives the video network server, and a video network protocol data packet which is returned by the video network and encapsulates the live broadcast service data is received by the target video network terminal according to a downlink communication link configured for the target video network terminal; and the live broadcast service data is obtained by the video networking server aiming at the live broadcast watching request and is associated with the information of the live broadcast terminal.
3. The method of claim 1,
after the step of obtaining the information of the target video network terminal selected by the user and the information of the live broadcast terminal by the third-party management platform, the method further comprises the following steps:
the third party management platform sends a connection control command to the target video network terminal through the video network server according to the information of the target video network terminal;
if the third-party management platform receives a connection permission response returned by the target video network terminal aiming at the connection control command, determining that the connection is successful;
the third party management platform sends a live broadcast watching command to the target video network terminal through the video network server according to the information of the target video network terminal, and the step comprises the following steps:
and after the third party management platform determines that the connection is successful, sending a live broadcast watching command to the target video network terminal through the video network server according to the information of the target video network terminal.
4. The method according to claim 3, wherein the third party management platform comprises a front-end client and a back-end server, and the step of sending the connection control command to the target video network terminal through the video network server by the third party management platform according to the information of the target video network terminal comprises:
the front-end client generates a connection control command based on an internet protocol and sends the connection control command based on the internet protocol to the back-end server through the internet; the connection control command comprises information of the target video network terminal;
and the back-end server converts the connection control command based on the Internet protocol into a connection control command based on a video networking protocol, and sends the connection control command based on the video networking protocol to the target video networking terminal according to the information of the target video networking terminal through the video networking server.
5. The method according to claim 1, wherein the live broadcast terminal is a software terminal, the video network server includes a plurality of virtual terminals, and before the step of the third party management platform acquiring the information of the target video network terminal selected by the user and the information of the live broadcast terminal, the method further includes:
the third party management platform acquires the information of the virtual terminals from the video networking server, wherein the information of the virtual terminals comprises video networking numbers, video networking MAC addresses and states;
after detecting that the live broadcast terminal logs in successfully, the third party management platform selects a target virtual terminal according to the states of the virtual terminals and sends the video networking number and the video networking MAC address of the target virtual terminal to the live broadcast terminal;
and the live broadcast terminal executes network access operation in the video network server according to the video network number and the video network MAC address of the target virtual terminal.
6. A device for watching live broadcast is applied in a video network, wherein the video network comprises a third party management platform, a video network server and a video network terminal,
the third party management platform comprises:
the system comprises an information acquisition module, a live broadcast terminal and a display module, wherein the information acquisition module is used for acquiring information of a target video network terminal selected by a user and information of the live broadcast terminal, and the live broadcast terminal is positioned in the internet;
the first command sending module is used for sending a live broadcast watching command to the target video network terminal through the video network server according to the information of the target video network terminal; the live watching command comprises information of the live terminal;
the third party management platform further comprises a front-end client and a back-end server, and the first command sending module comprises:
the first generation unit is positioned at the front-end client and used for generating a live watching command based on an internet protocol and sending the live watching command based on the internet protocol to the back-end server through the internet; the live watching command also comprises the information of the target video network terminal;
the first conversion unit is positioned at the back-end server and used for converting the live watching command based on the Internet protocol into a live watching command based on a video networking protocol and sending the live watching command based on the video networking protocol to the target video networking terminal according to the information of the target video networking terminal through a video networking server;
the target video network terminal comprises:
the data acquisition module is used for receiving the live broadcast watching command and acquiring live broadcast service data of the live broadcast terminal from the video network server according to the information of the live broadcast terminal;
and the analysis module is used for analyzing the live broadcast service data to obtain live broadcast content and playing the live broadcast content.
7. The apparatus of claim 6, wherein the data acquisition module comprises:
the request sending module is used for sending a live broadcast watching request to the video networking server through the video networking; the live watching request comprises information of the live broadcasting terminal;
the data receiving module is used for receiving the video networking server and packaging a video networking protocol data packet of the live broadcast service data returned by the video networking according to a downlink communication link configured for the target video networking terminal; and the live broadcast service data is obtained by the video networking server aiming at the live broadcast watching request and is associated with the information of the live broadcast terminal.
8. The apparatus of claim 6,
the third party management platform further comprises:
the second command sending module is used for sending a connection control command to the target video network terminal through the video network server according to the information of the target video network terminal;
the connection determining module is used for determining that the connection is successful if a connection allowing response returned by the target video network terminal aiming at the connection control command is received;
the first command sending module is specifically configured to send a live broadcast watching command to the target video network terminal through the video network server according to the information of the target video network terminal after the successful connection is determined.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810982030.5A CN109120946B (en) | 2018-08-27 | 2018-08-27 | Method and device for watching live broadcast |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810982030.5A CN109120946B (en) | 2018-08-27 | 2018-08-27 | Method and device for watching live broadcast |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109120946A CN109120946A (en) | 2019-01-01 |
CN109120946B true CN109120946B (en) | 2021-05-11 |
Family
ID=64860963
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810982030.5A Active CN109120946B (en) | 2018-08-27 | 2018-08-27 | Method and device for watching live broadcast |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109120946B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110012316B (en) * | 2019-01-29 | 2021-12-31 | 视联动力信息技术股份有限公司 | Method, device, equipment and storage medium for processing video networking service |
CN110062259B (en) * | 2019-04-19 | 2021-09-28 | 视联动力信息技术股份有限公司 | Video acquisition method, system, device and computer readable storage medium |
CN110087107B (en) * | 2019-04-25 | 2022-01-14 | 视联动力信息技术股份有限公司 | Method for improving system self-adaptive capacity and video networking system |
CN110213602A (en) * | 2019-05-05 | 2019-09-06 | 视联动力信息技术股份有限公司 | A kind of processing method of audio, video data, system and device and storage medium |
CN110312140B (en) * | 2019-05-30 | 2022-07-22 | 北京奇艺世纪科技有限公司 | Live broadcast data processing method, device and system and computer readable storage medium |
CN111131746A (en) * | 2019-11-27 | 2020-05-08 | 视联动力信息技术股份有限公司 | Terminal service control method and device |
CN111372143A (en) * | 2019-12-26 | 2020-07-03 | 视联动力信息技术股份有限公司 | Signaling interaction method and device and readable storage medium |
CN111147945A (en) * | 2019-12-30 | 2020-05-12 | 视联动力信息技术股份有限公司 | Video playing control method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103051949A (en) * | 2012-12-28 | 2013-04-17 | 中兴通讯股份有限公司 | Method for receiving message reminders by utilizing television set top box |
CN103796045A (en) * | 2013-11-01 | 2014-05-14 | 中兴通讯股份有限公司 | IPTV system, mobile terminal, and live broadcasting watching reminding realizing methods by IPTV system and mobile terminal |
CN106027570A (en) * | 2016-07-20 | 2016-10-12 | 广州酷狗计算机科技有限公司 | Method and device for pushing notice |
CN108121588A (en) * | 2016-11-30 | 2018-06-05 | 北京视联动力国际信息技术有限公司 | It is a kind of access external resource method and its regarding networking access server |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120262576A1 (en) * | 2011-04-14 | 2012-10-18 | Andrew Blough Sechrist | Method And System For A Network Of Multiple Live Video Sources |
US20130198044A1 (en) * | 2012-01-27 | 2013-08-01 | Concert Window LLC | Automated broadcast systems and methods |
-
2018
- 2018-08-27 CN CN201810982030.5A patent/CN109120946B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103051949A (en) * | 2012-12-28 | 2013-04-17 | 中兴通讯股份有限公司 | Method for receiving message reminders by utilizing television set top box |
CN103796045A (en) * | 2013-11-01 | 2014-05-14 | 中兴通讯股份有限公司 | IPTV system, mobile terminal, and live broadcasting watching reminding realizing methods by IPTV system and mobile terminal |
CN106027570A (en) * | 2016-07-20 | 2016-10-12 | 广州酷狗计算机科技有限公司 | Method and device for pushing notice |
CN108121588A (en) * | 2016-11-30 | 2018-06-05 | 北京视联动力国际信息技术有限公司 | It is a kind of access external resource method and its regarding networking access server |
Also Published As
Publication number | Publication date |
---|---|
CN109120946A (en) | 2019-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109120946B (en) | Method and device for watching live broadcast | |
CN109167960B (en) | Method and system for processing video stream data | |
CN108881815B (en) | Video data transmission method and device | |
CN110121059B (en) | Monitoring video processing method, device and storage medium | |
CN110049271B (en) | Video networking conference information display method and device | |
CN109660816B (en) | Information processing method and device | |
CN109525854B (en) | Live broadcast processing method and device | |
CN110049273B (en) | Video networking-based conference recording method and transfer server | |
CN110035005B (en) | Data processing method and device | |
CN110557612B (en) | Control method of monitoring equipment and video networking system | |
CN109743522B (en) | Communication method and device based on video networking | |
CN109451001B (en) | Communication method and system | |
CN109005378B (en) | Video conference processing method and system | |
CN109922351B (en) | Method and device for releasing live broadcast service | |
CN109889755B (en) | Communication connection method and video networking terminal | |
CN110072154B (en) | Video networking-based clustering method and transfer server | |
CN110086773B (en) | Audio and video data processing method and system | |
CN109768964B (en) | Audio and video display method and device | |
CN109640194B (en) | Method and device for acquiring terminal permission through two-dimensional code based on video network | |
CN110581846A (en) | Monitoring video processing and system | |
CN108964965B (en) | Video conference reservation method and system | |
CN111147795B (en) | Resource scheduling method, server, terminal, electronic device, and storage medium | |
CN111212255B (en) | Monitoring resource obtaining method and device and computer readable storage medium | |
CN110324578B (en) | Monitoring video processing method, device and storage medium | |
CN109194896B (en) | Calling method and system for video networking 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 |