CN106549912B - A kind of playback method and system of video data - Google Patents

A kind of playback method and system of video data Download PDF

Info

Publication number
CN106549912B
CN106549912B CN201510596033.1A CN201510596033A CN106549912B CN 106549912 B CN106549912 B CN 106549912B CN 201510596033 A CN201510596033 A CN 201510596033A CN 106549912 B CN106549912 B CN 106549912B
Authority
CN
China
Prior art keywords
video
playing
network
server
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510596033.1A
Other languages
Chinese (zh)
Other versions
CN106549912A (en
Inventor
杨春晖
胡宇惠
王艳辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hainan Qiantang Shilian Information Technology Co ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201510596033.1A priority Critical patent/CN106549912B/en
Publication of CN106549912A publication Critical patent/CN106549912A/en
Application granted granted Critical
Publication of CN106549912B publication Critical patent/CN106549912B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/23424Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a kind of playback method of video data and system, the method is applied in view networking, which comprises association turns server and receives the first playing request that the teaching server being located in IP network is sent;Association turns server and first playing request is converted into the second playing request;Association turns server and second playing request is sent to view networked server;Depending on networked server according to second playing request, video flowing is obtained from the first view networked terminals;Depending on networked server according to the first downstream communications link to the second view networked terminals configuration, the video stream is played out to second depending on networked terminals.The characteristic of application view networking of the embodiment of the present invention, substantially increases the safety of the communication process under the scenes such as operation, also, be scheduled operation to depending on networking in IP network, substantially increases the simplicity of operation.

Description

Video data playing method and system
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a video data playing method and a video data playing system.
Background
With the rapid development of network technologies, video teaching is widely popularized in the aspects of life, work, learning and the like of users.
In the communication process, in an application scene such as a certain user demonstration operation, generally, the camera needs to be moved, focused and the like.
Due to the limitation of the internet protocol, the security of the video communication process is poor, the video communication process is easily attacked by hackers and viruses to influence the communication, and immeasurable loss can be caused under the situations of operations and the like.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a method for playing back video data and a corresponding system for playing back video data that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a method for playing video data, where the method is applied to a video network, and the method includes:
the protocol conversion server receives a first playing request sent by a teaching server in an IP network;
the cooperative conversion server converts the first playing request into a second playing request;
the cooperative conversion server sends the second playing request to a video network server;
the video network server acquires a video stream from the first video network terminal according to the second playing request;
and the video networking server sends the video stream to the second video networking terminal for playing according to the first downlink communication link configured for the second video networking terminal.
Preferably, the first play request is generated when the teaching server receives a third play request sent by a client located in the IP network.
Preferably, the step of the collaboration server receiving the first play request sent by the teaching server located in the IP network includes:
the video network server judges whether the video network server is bound with a teaching server in an IP network; and if so, receiving a first playing request sent by a teaching server in the IP network.
Preferably, the step of converting the first play request into the second play request by the collaboration server includes:
extracting a first playing parameter from the first playing request;
mapping the first playing parameter into a second playing parameter;
and generating a second playing request according to the second playing parameter.
Preferably, the step of acquiring, by the video network server, the video stream from the first video network terminal according to the second play request includes:
sending the second playing request to the first video network terminal according to a second downlink communication link configured for the first video network terminal;
and receiving one or more paths of audio data acquired by the first video network terminal according to the second playing request and a video stream formed by packaging one or more paths of video data.
Preferably, the second playing request includes a video signal adjustment parameter, and the video signal adjustment parameter is used for adjusting a camera connected to the first video network terminal.
Preferably, the step of sending the video stream to a second video network terminal for playing includes:
and sending the video stream to a second video network terminal so as to perform split-screen playing according to a set split-screen mode.
The embodiment of the invention also discloses a video data playing system, which is applied to the video network and comprises a protocol conversion server and a video network server; wherein,
the collaboration server comprises:
the playing request receiving module is used for receiving a first playing request sent by a teaching server in an IP network;
a playing request conversion module, configured to convert the first playing request into a second playing request;
the playing request sending module is used for sending the second playing request to the video networking server by the cooperation server;
the video network server comprises:
the video stream acquisition module is used for acquiring a video stream from the first video network terminal according to the second playing request;
and the video stream sending module is used for sending the video stream to the second video network terminal for playing according to the first communication link configured for the second video network terminal.
In a specific implementation, the first play request may be generated when the teaching server receives a third play request sent by a client located in the IP network.
In a specific implementation, the first play request may be generated when the teaching server receives a third play request sent by a client located in the IP network.
Preferably, the play request converting module includes:
a playing parameter extracting submodule, configured to extract a first playing parameter from the first playing request;
a playing parameter mapping submodule for mapping the first playing parameter to a second playing parameter;
and the playing request generating submodule is used for generating a second playing request according to the second playing parameter.
Preferably, the video stream acquiring module includes:
the play request issuing sub-module is used for sending the second play request to the first video network terminal according to a second downlink communication link configured for the first video network terminal;
and the video stream packaging and acquiring submodule is used for receiving one or more paths of audio data acquired by the first video network terminal according to the second playing request and a video stream packaged by one or more paths of video data.
Preferably, the second playing request includes a video signal adjustment parameter, and the video signal adjustment parameter is used for adjusting a camera connected to the first video network terminal.
Preferably, the video stream transmission module includes:
and the screen splitting sub-module is used for sending the video stream to a second video network terminal so as to perform screen splitting playing according to a set screen splitting mode.
The embodiment of the invention has the following advantages:
the protocol conversion server converts a first playing request of the teaching server in the IP network into a second playing request which can be read by the video networking server, further obtains a video stream of a first video networking terminal, calls a second video networking for playing, and applies the characteristics of the video networking, so that the safety of a communication process under the situations of operations and the like is greatly improved, and the video networking is scheduled in the IP network, so that the simplicity of operation is greatly improved.
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 flowchart illustrating steps of a method for playing video data according to an embodiment of the present invention;
fig. 6 is a block diagram of a video data playback system according to an 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 destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MACSA of the ethernet coordination gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the 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 above characteristics of the video network, one of the concepts of the embodiments of the present invention is proposed, in which, following a protocol of the video network, a protocol conversion server forwards a play request from an IP network, and a video network server obtains a video stream from a first video network terminal and sends the video stream to a second video network terminal for playing.
Referring to fig. 5, a flowchart illustrating steps of an embodiment of a method for playing video data according to the present invention is shown, where the method may be applied in a video network, and specifically may include the following steps:
step 501, a collaboration server receives a first play request sent by a teaching server in an IP network;
in the concrete implementation, a mobile protocol conversion service program is deployed on the protocol conversion server, and the mobile protocol conversion service program is a bridge for bearing communication between video networking equipment and IP network equipment, and supports double network card access, wherein one network card is communicated with the video networking, and the other network card is communicated with the IP network.
A background program and a WebService service can be deployed on the teaching server, and a client can be directly accessed and used through a browser (client) on a personal computer or a client on a mobile device.
The first play request is generated when the teaching server receives a third play request sent by a client located in the IP network.
For example, the embodiments of the invention are not limited to mobile devices, such as mobile phones, tablet computers, personal digital assistants, wearable devices (e.g., glasses, watches, etc.), etc.
The operating system of the mobile device may include Android (Android), IOS, Windows Phone, Windows, and so on.
The third play request includes play parameters, including a video source address, video signal adjustment parameters (such as moving a camera, focusing a camera, etc.), a split-screen mode (such as one screen is divided into multiple regions to display multiple video signals, and multiple screens display one video signal together), and so on.
In scenes such as operation teaching, dispose the video network terminal in operating room and the teach room, the doctor operates in the operating room, its assistant can adjust video signal through the panel computer of IOS system, if remove, focus etc. to make things convenient for the doctor to assist through the display that links to each other with the video network terminal and operate, simultaneously, carry out the operation teaching to other users through the display that links to each other with the video network terminal in the teach room.
In order to ensure the safety of the video network, a video network server in the video network can judge whether the video network server is bound with a teaching server in an IP network; and if so, receiving a first playing request sent by a teaching server located in the IP network, otherwise, refusing to receive the first playing request sent by the teaching server located in the IP network.
Step 502, the cooperative conversion server converts the first playing request into a second playing request;
since the video network and the IP network are two different networks, the protocols belonging to the IP network, such as TCP/IP protocol, cannot be directly read in the video network, and therefore, conversion is required.
Further, the collaboration server may extract a first playback parameter, such as a video source address, a video signal adjustment parameter, a split screen mode, and the like, from the first playback request.
Mapping the first playing parameter into a second playing parameter according to a preset coding conversion table;
for example, assume that the encoding conversion table is as follows:
001-EC 5278: video networking terminal acquisition stream
002-EC 5279: video networking terminal sending stream
003-EC 5280: video networking termination
If the first play parameter of 001 in the IP network is analyzed and the thing that the video networking device wants to do is to obtain the stream data, it may be mapped to the second play parameter of EC5278 in the video networking.
After the converting, a second play request may be generated in accordance with the second play parameter, converted into the video network readable instructions.
Step 503, the cooperative conversion server sends the second playing request to a video network server;
the coordination server converts the first playing request into a second playing request which is readable by a video network server in the video network, and then the second playing request can be sent to the video network server for the next operation.
Step 504, the video network server obtains the video stream from the first video network terminal according to the second playing request;
in a specific implementation, the first and second video network terminals may be Set Top Boxes (STB), commonly referred to as set top boxes or set top boxes, which are devices that connect a television set to an external signal source, and convert compressed digital signals into television content for display on the television set.
Generally, the set-top box may be connected to a camera and a microphone for collecting multimedia data such as video data and audio data, and may also be connected to a television for playing multimedia data such as video data and audio data.
In one embodiment of the invention, step 504 may include the following sub-steps:
substep S11, sending the second play request to the first video network terminal according to the second downlink communication link configured for the first 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:
the main control server configures a downlink communication link of the current service;
and transmitting the data packet of the current service sent by the source terminal to a target terminal (such as a first 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: informing the switching equipment related to the downlink communication link of the current service to allocate a 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 described above, the video network includes an access network portion, in which the master server is a node server, and the lower-level network device includes 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:
step S111, 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 comprises the main control server participating in the current service and the downlink communication port information of the access switch;
step S112, the main control server sets a downlink port guided by the data packet of the current service in a data packet address table in the main control server according to the downlink communication port information of the control server; sending a port configuration command to a corresponding access switch according to the downlink communication port information of the access switch;
in the substep S113, the access switch sets a downlink port to which the packet of the current service is directed in the 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:
substep S114, the main control server obtains a service request protocol packet initiated by the target terminal and applying for the multicast communication service, wherein the service request protocol packet comprises service type information, service content information and an access network address of the target terminal; wherein, the service content information comprises a service number;
substep S115, the main control server extracts the access network address of the source terminal in the preset content-address mapping table according to the service number;
step S116, 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.
And a substep S12, receiving a video stream formed by packaging one or more audio data and one or more video data, which are obtained by the first video network terminal according to the second play request.
The first video network terminal positioned in the video network can collect one or more paths of video data from one or more connected cameras and one or more paths of audio data from one or more connected microphones.
Due to the fact that live broadcast, on-demand broadcast and other services are carried out under the situations of operation teaching and the like, one-path video stream (such as TS stream) transmission of multiple programs needs to be supported, and different video signals can be flexibly checked and split screen modes can be switched by a video network terminal and a client (such as a browser) in an IP network.
To meet this requirement, a MUX video stream encapsulation device for video streaming can be applied, which is deployed in a video networking environment, collects all video signals related to surgical teaching, packages them into a video stream (such as a TS stream) uniformly, and distributes the video stream.
In one example, the second play request includes a video signal adjustment parameter, and the video signal adjustment parameter is used to adjust a camera connected to the first video network terminal, such as moving, focusing, and the like.
In the embodiment of the invention, the first video network terminal can send the first video data to the second video network terminal, and the second video network terminal can drive the playing device (such as a television) connected with the second video network terminal to play.
In an internet of view, a first terminal of the internet of view may transmit a video stream according to the 2002 protocol, the specification of which may be as shown in the following table:
specifically, the video stream may be encoded through a special interface, and then the video data is packaged into a video packet of 2002 protocol, and then the video packet of 2002 protocol is sent to the video network server, and the video network server receives the video packet and forwards the video packet to the second video network terminal.
And 505, the video network server sends the video stream to the second video network terminal for playing according to the first downlink communication link configured for the second video network terminal.
In the specific implementation, the video networking server sends the video stream to the second video networking terminal, the connection port of the second video networking terminal and the television is configured in advance, and the video networking server schedules the video stream to be sent to a certain port of the video networking terminal, namely, the display can be called to play the video stream.
In one example, the video network server can send the video stream to the second video network terminal to perform split screen playing according to the set split screen mode.
The protocol conversion server converts a first playing request of the teaching server in the IP network into a second playing request which can be read by the video networking server, further obtains a video stream of a first video networking terminal, calls a second video networking for playing, and applies the characteristics of the video networking, so that the safety of a communication process under the situations of operations and the like is greatly improved, and the video networking is scheduled in the IP network, so that the simplicity of operation is greatly improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the 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.
Referring to fig. 6, there is shown a block diagram of an embodiment of a video data playing system of the present invention, which is applied in a video network, and comprises a collaboration server 600 and a video network server 610, wherein,
the collaboration server 600 may specifically include the following modules:
a play request receiving module 601, configured to receive a first play request sent by a teaching server in an IP network;
a playing request converting module 602, configured to convert the first playing request into a second playing request;
a playing request sending module 603, configured to send the second playing request to the video networking server 610 by the collaboration server;
the video network server 610 may include the following modules:
a video stream obtaining module 611, configured to obtain a video stream from the first video networking terminal according to the second play request;
and a video stream sending module 612, configured to send the video stream to the second video network terminal for playing according to the first downlink communication link configured for the second video network terminal.
In a specific implementation, the first play request may be generated when the teaching server receives a third play request sent by a client located in the IP network.
In an embodiment of the present invention, the play request receiving module 601 may include the following sub-modules
The binding judgment submodule is used for judging whether the video network server is bound with a teaching server in the IP network; if yes, calling a receiving submodule;
and the receiving submodule is used for receiving a first playing request sent by a teaching server in the IP network.
In an embodiment of the present invention, the play request converting module 602 may include the following sub-modules:
a playing parameter extracting submodule, configured to extract a first playing parameter from the first playing request;
a playing parameter mapping submodule for mapping the first playing parameter to a second playing parameter;
and the playing request generating submodule is used for generating a second playing request according to the second playing parameter.
In an embodiment of the present invention, the video stream acquiring module 611 may include the following sub-modules:
the play request issuing sub-module is used for sending the second play request to the first video network terminal according to a second downlink communication link configured for the first video network terminal;
and the video stream packaging and acquiring submodule is used for receiving one or more paths of audio data acquired by the first video network terminal according to the second playing request and a video stream packaged by one or more paths of video data.
In an embodiment of the present invention, the second play request includes a video signal adjustment parameter, and the video signal adjustment parameter is used to adjust a camera connected to the first video network terminal.
In an embodiment of the present invention, the video stream transmitting module 612 may include the following sub-modules:
and the screen splitting sub-module is used for sending the video stream to a second video network terminal so as to perform screen splitting playing according to a set screen splitting mode.
For the system 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 present invention provides a method and a system for playing video data, which are introduced in detail above, and the present invention has been explained in detail by applying specific examples, and the description of the embodiments is only used to help understanding the method and the core idea of the present 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 (4)

1. A method for playing video data, wherein the method is applied to a video network, and the method comprises:
the protocol conversion server receives a first playing request sent by a teaching server in an IP network;
the cooperative conversion server converts the first playing request into a second playing request;
the cooperative conversion server sends the second playing request to a video network server;
the video network server acquires a video stream from the first video network terminal according to the second playing request;
the video networking server sends the video stream to a second video networking terminal for playing according to a first downlink communication link configured for the second video networking terminal;
the second playing request comprises video signal adjusting parameters, and the video signal adjusting parameters are used for adjusting a camera connected with the first video network terminal;
the step of converting the first playing request into a second playing request by the collaboration server comprises the following steps:
extracting a first playing parameter from the first playing request;
mapping the first playing parameter into a second playing parameter;
generating a second playing request according to the second playing parameter;
the step that the video network server obtains the video stream from the first video network terminal according to the second playing request comprises the following steps:
sending the second playing request to the first video network terminal according to a second downlink communication link configured for the first video network terminal;
receiving one or more paths of audio data acquired by the first video networking terminal according to the second playing request and a video stream formed by packaging one or more paths of video data;
the step of sending the video stream to a second video network terminal for playing comprises the following steps:
and sending the video stream to a second video network terminal so as to perform split-screen playing according to a set split-screen mode.
2. The method according to claim 1, wherein the first playback request is generated when the teach pendant server receives a third playback request sent from a client located in the IP network.
3. The method according to claim 1, wherein the step of the collaboration server receiving the first play request sent by the teach pendant located in the IP network comprises:
the video network server judges whether the video network server is bound with a teaching server in an IP network; and if so, receiving a first playing request sent by a teaching server in the IP network.
4. The system for playing the video data is applied to the video network and comprises a protocol conversion server and a video network server; wherein,
the collaboration server comprises:
the playing request receiving module is used for receiving a first playing request sent by a teaching server in an IP network;
a playing request conversion module, configured to convert the first playing request into a second playing request;
the playing request sending module is used for sending the second playing request to the video networking server by the cooperation server;
the video network server comprises:
the video stream acquisition module is used for acquiring a video stream from the first video network terminal according to the second playing request;
the second playing request comprises video signal adjusting parameters, and the video signal adjusting parameters are used for adjusting a camera connected with the first video network terminal;
the play request conversion module includes:
a playing parameter extracting submodule, configured to extract a first playing parameter from the first playing request;
a playing parameter mapping submodule for mapping the first playing parameter to a second playing parameter;
the playing request generating submodule is used for generating a second playing request according to the second playing parameter;
the video stream acquisition module comprises:
the play request issuing sub-module is used for sending the second play request to the first video network terminal according to a second downlink communication link configured for the first video network terminal;
the video stream packaging and acquiring submodule is used for receiving one or more paths of audio data acquired by the first video network terminal according to the second playing request and a video stream formed by packaging one or more paths of video data;
the video stream sending module is used for sending the video stream to the second video network terminal for playing according to a first downlink communication link configured for the second video network terminal;
the video stream transmitting module comprises:
and the screen splitting sub-module is used for sending the video stream to a second video network terminal so as to perform screen splitting playing according to a set screen splitting mode.
CN201510596033.1A 2015-09-17 2015-09-17 A kind of playback method and system of video data Active CN106549912B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510596033.1A CN106549912B (en) 2015-09-17 2015-09-17 A kind of playback method and system of video data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510596033.1A CN106549912B (en) 2015-09-17 2015-09-17 A kind of playback method and system of video data

Publications (2)

Publication Number Publication Date
CN106549912A CN106549912A (en) 2017-03-29
CN106549912B true CN106549912B (en) 2019-03-12

Family

ID=58361383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510596033.1A Active CN106549912B (en) 2015-09-17 2015-09-17 A kind of playback method and system of video data

Country Status (1)

Country Link
CN (1) CN106549912B (en)

Families Citing this family (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989273A (en) * 2017-07-03 2018-12-11 北京视联动力国际信息技术有限公司 A kind of method and apparatus obtaining video flowing
CN108989837A (en) * 2017-08-25 2018-12-11 北京视联动力国际信息技术有限公司 A kind of method and apparatus of picture interception
CN108882021B (en) * 2017-10-20 2019-06-28 视联动力信息技术股份有限公司 A kind of video broadcasting method and device
CN108881790A (en) * 2017-10-30 2018-11-23 北京视联动力国际信息技术有限公司 A kind of control method and device of video conference
CN108573011A (en) * 2017-11-20 2018-09-25 北京视联动力国际信息技术有限公司 A kind of displaying of terminal device and device
CN108632635B (en) * 2017-11-23 2021-06-18 视联动力信息技术股份有限公司 Data processing method and device based on video network
CN108965780B (en) * 2017-11-30 2020-06-26 视联动力信息技术股份有限公司 Display method and system of monitoring picture
CN108966003A (en) * 2017-12-20 2018-12-07 北京视联动力国际信息技术有限公司 A kind of method and apparatus of TV data processing
CN108881933B (en) * 2017-12-26 2019-06-11 视联动力信息技术股份有限公司 A kind of live streaming treating method and apparatus of view networking
CN108881796B (en) * 2017-12-27 2021-04-23 视联动力信息技术股份有限公司 Video data processing method and video networking protocol conversion server
CN108965930B (en) * 2017-12-29 2021-05-28 视联动力信息技术股份有限公司 Video data processing method and device
CN110022286B (en) * 2018-01-08 2021-12-17 视联动力信息技术股份有限公司 Method and device for requesting multimedia program
CN110048870B (en) * 2018-01-16 2022-04-05 视联动力信息技术股份有限公司 Cross-video-networking communication method and device
CN110324563A (en) * 2018-03-29 2019-10-11 北京视联动力国际信息技术有限公司 A kind of major-minor source switch method and system of video conference
CN110418098B (en) * 2018-04-28 2022-01-25 视联动力信息技术股份有限公司 Method and device for starting video networking conference
CN110475131B (en) * 2018-05-09 2022-03-08 视联动力信息技术股份有限公司 Terminal connection method, server and terminal
CN110475160B (en) * 2018-05-10 2021-07-30 视联动力信息技术股份有限公司 Method and device for transmitting video data across video network
CN110636029B (en) * 2018-06-21 2022-02-25 视联动力信息技术股份有限公司 Communication method and communication device
CN110650072B (en) * 2018-06-27 2021-08-06 视联动力信息技术股份有限公司 Video data processing method and device
CN109769123B (en) * 2018-12-10 2021-08-20 视联动力信息技术股份有限公司 Method and system for processing video networking data
CN109859824B (en) * 2018-12-18 2022-01-14 视联动力信息技术股份有限公司 Pathological image remote display method and device
CN109802944B (en) * 2018-12-24 2021-08-20 视联动力信息技术股份有限公司 Method and system for releasing live broadcast based on video network
CN109819214B (en) * 2019-01-25 2021-02-09 视联动力信息技术股份有限公司 Video split-screen method and device
CN109922351B (en) * 2019-02-20 2021-08-20 视联动力信息技术股份有限公司 Method and device for releasing live broadcast service
CN109905771B (en) * 2019-02-20 2021-06-18 视联动力信息技术股份有限公司 Method and device for requesting video resources
CN110121075A (en) * 2019-04-02 2019-08-13 视联动力信息技术股份有限公司 A kind of direct seeding operation method and apparatus
CN110475090B (en) * 2019-08-05 2021-04-27 视联动力信息技术股份有限公司 Conference control method and system
CN110677392B (en) * 2019-09-12 2022-03-15 视联动力信息技术股份有限公司 Video data transmission method and device
CN111147945A (en) * 2019-12-30 2020-05-12 视联动力信息技术股份有限公司 Video playing control method and device
CN115297028B (en) * 2022-10-08 2023-01-03 浙江大华技术股份有限公司 Network card connectivity detection method and device, electronic device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101078469A (en) * 2007-06-19 2007-11-28 天津医科大学总医院 Surgical shadowless lamp with network video frequency and audio frequency transmission and control function
CN103686072A (en) * 2013-11-15 2014-03-26 北京视联动力国际信息技术有限公司 Video internet video monitoring method and system, protocol conversion server, and video internet server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101078469A (en) * 2007-06-19 2007-11-28 天津医科大学总医院 Surgical shadowless lamp with network video frequency and audio frequency transmission and control function
CN103686072A (en) * 2013-11-15 2014-03-26 北京视联动力国际信息技术有限公司 Video internet video monitoring method and system, protocol conversion server, and video internet server

Also Published As

Publication number Publication date
CN106549912A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
CN106549912B (en) A kind of playback method and system of video data
CN108737768B (en) Monitoring method and monitoring device based on monitoring system
CN108632558B (en) Video call method and device
CN108881815B (en) Video data transmission method and device
CN108462589B (en) A kind of method for connecting network and device of terminal
CN109302455B (en) Data processing method and device for video network
CN109474715B (en) Resource configuration method and device based on video network
CN109547163B (en) Method and device for controlling data transmission rate
CN109450982B (en) Network communication method and system
CN110049341B (en) Video processing method and device
CN108574816B (en) Video networking terminal and communication method and device based on video networking terminal
CN108630215B (en) Echo suppression method and device based on video networking
CN110149305B (en) Video network-based multi-party audio and video playing method and transfer server
CN110113564B (en) Data acquisition method and video networking system
CN110769179B (en) Audio and video data stream processing method and system
CN110769297A (en) Audio and video data processing method and system
CN110446058B (en) Video acquisition method, system, device and computer readable storage medium
CN110072154B (en) Video networking-based clustering method and transfer server
CN109842630B (en) Video processing method and device
CN109889755B (en) Communication connection method and video networking terminal
CN108964965B (en) Video conference reservation method and system
CN110049069B (en) Data acquisition method and device
CN110661749A (en) Video signal processing method and video networking terminal
CN110233872B (en) Data transmission method based on video network and video network terminal
CN110113565B (en) Data processing method and intelligent analysis equipment based on video network

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
CB02 Change of applicant information

Address after: 100000 Dongcheng District, Beijing, Qinglong Hutong 1, 1103 house of Ge Hua building.

Applicant after: Video Link Power Information Technology Co., Ltd.

Address before: 100000 Beijing Dongcheng District gogoa building A1103-1113

Applicant before: BEIJING VISIONVERA INTERNATIONAL INFORMATION TECHNOLOGY CO., LTD.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201230

Address after: 570105 room 1201, Central International Plaza, 77 Binhai street, Longhua District, Haikou City, Hainan Province

Patentee after: Hainan Qiantang Shilian Information Technology Co.,Ltd.

Address before: 100000 Dongcheng District, Beijing, Qinglong Hutong 1, 1103 house of Ge Hua building.

Patentee before: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right