CN110062259B - Video acquisition method, system, device and computer readable storage medium - Google Patents

Video acquisition method, system, device and computer readable storage medium Download PDF

Info

Publication number
CN110062259B
CN110062259B CN201910319045.8A CN201910319045A CN110062259B CN 110062259 B CN110062259 B CN 110062259B CN 201910319045 A CN201910319045 A CN 201910319045A CN 110062259 B CN110062259 B CN 110062259B
Authority
CN
China
Prior art keywords
server
video
resource pool
target video
pool proxy
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
CN201910319045.8A
Other languages
Chinese (zh)
Other versions
CN110062259A (en
Inventor
周兴
周新海
李云鹏
杨春晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201910319045.8A priority Critical patent/CN110062259B/en
Publication of CN110062259A publication Critical patent/CN110062259A/en
Application granted granted Critical
Publication of CN110062259B publication Critical patent/CN110062259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management 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/258Client 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/25808Management of client data
    • 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/25Management 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/258Client 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/25808Management of client data
    • H04N21/25816Management of client data involving client authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Graphics (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a video acquisition method, a system, equipment and a computer readable storage medium. The resource pool proxy server sends a flow adjusting instruction to the coordination transfer server; the flow adjusting instruction comprises: identifying a video acquisition terminal; the protocol conversion server acquires a target video from a target video acquisition terminal corresponding to a video acquisition terminal identifier and sets an identity identifier for the target video; the identity mark comprises: the video acquisition terminal identification; the coordination transfer server sends the target video with the identity mark to the resource pool proxy server through an existing video transmission channel; and under the condition that no video channel exists, the coordination server sends the target video with the identity mark to the resource pool proxy server through the generated video transmission channel. According to the method and the device, the target videos corresponding to different video acquisition terminals of the same cooperative conversion server are accurately distinguished through the identity marks.

Description

Video acquisition method, system, device and computer readable storage medium
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a video acquisition method, system, device, and computer-readable storage medium.
Background
The cooperation server can be generally bound with a plurality of video acquisition terminals, and video networking videos acquired by the video acquisition terminals can be acquired through the cooperation server, so that the required video networking videos are provided for users. Each protocol conversion server is generally allocated with a plurality of virtual terminal numbers, each virtual terminal number corresponds to one video acquisition terminal bound by the protocol conversion server, and video networking videos corresponding to the video acquisition terminals are distinguished through the virtual terminal numbers.
At present, because the resources of the virtual terminal numbers are limited, in order to reduce the occupation of the virtual terminal numbers, only one virtual terminal number is allocated to each protocol server for identifying the identity information of the protocol server.
The inventor finds in the research process that the prior art proposal has the following disadvantages: in the prior art, each transfer server is only allocated with one virtual terminal number, and each transfer server is usually bound with a plurality of video acquisition terminals, so that video networking videos corresponding to the video acquisition terminals cannot be distinguished.
Disclosure of Invention
In view of the above, embodiments of the present invention are proposed in order to provide a video acquisition method, system, device and computer-readable storage medium that overcome or at least partially solve the above-mentioned problems.
In order to solve the above problem, an embodiment of the present invention discloses a video acquisition method, which is applied to a video network, where the video network includes: the resource pool proxy server and the at least one coordination server; at least one video acquisition terminal; each coordination transfer server is bound with at least one video acquisition terminal; the method comprises the following steps:
the resource pool proxy server sends a flow adjusting instruction to the coordination transfer server; the flow adjusting instruction comprises: identifying a video acquisition terminal;
the protocol conversion server acquires a target video from a target video acquisition terminal corresponding to the video acquisition terminal identification and sets an identity identification for the target video; the identity mark comprises: a first virtual terminal number of the protocol conversion server and the video acquisition terminal identification;
the protocol conversion server judges whether a video transmission channel exists between the protocol conversion server and the resource pool proxy server;
under the condition that a video channel exists, the coordination and transformation server sends the target video with the identity mark to the resource pool proxy server through the existing video transmission channel;
and under the condition that no video channel exists, the cooperative conversion server generates a video transmission channel between the cooperative conversion server and the resource pool proxy server, and sends the target video provided with the identity identifier to the resource pool proxy server through the generated video transmission channel.
Optionally, the cooperative conversion server obtains a target video from a target video acquisition terminal corresponding to the video acquisition terminal identifier, and sets an identity identifier for the target video, including:
the protocol conversion server acquires a target video from a target video acquisition terminal corresponding to the video acquisition terminal identification;
the protocol conversion server inserts a first virtual terminal number of the protocol conversion server at a first preset position of the target video;
and the coordination server is inserted into the video acquisition terminal identification at a second preset position of the target video.
Optionally, after the cooperative conversion server generates a video transmission channel between the cooperative conversion server and the resource pool proxy server in the case that no video channel exists, the method further includes:
the protocol conversion server sets a channel identifier for the generated video transmission channel; the channel identifier includes: a first virtual terminal number of the protocol conversion server and a second virtual terminal number of the resource pool proxy server;
and the cooperative conversion server stores the channel identifier.
Optionally, before the cooperative server determines whether a video transmission channel exists between the cooperative server and the resource pool proxy server, the method further includes:
the protocol conversion server stores a channel identifier of a video transmission channel; the channel identifier includes: a first virtual terminal number of the protocol conversion server and a second virtual terminal number of the resource pool proxy server;
the method for judging whether a video transmission channel exists between the cooperative conversion server and the resource pool proxy server comprises the following steps:
the protocol conversion server acquires a second virtual terminal number of the resource pool proxy server;
the protocol conversion server searches whether a channel identifier matched with the second virtual terminal number exists in the stored channel identifiers;
under the condition that the matched channel identification exists, the cooperative conversion server determines that a video transmission channel exists between the cooperative conversion server and the resource pool proxy server;
and under the condition that the matched channel identification does not exist, the cooperative conversion server determines that a video transmission channel does not exist between the cooperative conversion server and the resource pool proxy server.
Optionally, the sending, by the resource pool proxy server, a flow adjustment instruction to the coordination transfer server includes:
the resource pool proxy server sends a flow adjusting instruction to the protocol conversion server through a video network;
the coordination server acquires a target video from a target video acquisition terminal corresponding to the video acquisition terminal identification, and the coordination server comprises:
and the protocol conversion server acquires a target video from a target video acquisition terminal corresponding to the video acquisition terminal identification through a video network.
According to a second aspect of the present invention, there is also provided a video acquisition system, which is applied to a video network, the video network including: the resource pool proxy server and the at least one coordination server; at least one video acquisition terminal; each coordination transfer server is bound with at least one video acquisition terminal; the system comprises:
the flow adjusting instruction sending module is used for sending a flow adjusting instruction to the coordination transfer server by the resource pool proxy server; the flow adjusting instruction comprises: identifying a video acquisition terminal;
the target video acquisition module is used for acquiring a target video from a target video acquisition terminal corresponding to the video acquisition terminal identification by the coordination server and setting an identity identification for the target video; the identity mark comprises: a first virtual terminal number of the protocol conversion server and the video acquisition terminal identification;
the video transmission channel judgment module is used for judging whether a video transmission channel exists between the coordination server and the resource pool proxy server;
the first target video sending module is used for sending the target video with the identity identifier to the resource pool proxy server through the existing video transmission channel under the condition that a video channel exists;
and the second target video sending module is used for generating a video transmission channel between the coordination server and the resource pool proxy server by the coordination server under the condition that no video channel exists, and sending the target video provided with the identity identifier to the resource pool proxy server through the generated video transmission channel.
Optionally, the target video obtaining module includes:
a first target video acquiring unit, configured to acquire, by the coordination server, a target video from a target video acquisition terminal corresponding to the video acquisition terminal identifier;
the first identification inserting unit is used for inserting a first virtual terminal number of the coordination transfer server into a first preset position of the target video by the coordination transfer server;
and the second identification inserting unit is used for inserting the video acquisition terminal identification into the coordination server at a second preset position of the target video.
Optionally, the system further includes:
a channel identifier setting module, configured to set a channel identifier for the generated video transmission channel by the collaboration server; the channel identifier includes: a first virtual terminal number of the protocol conversion server and a second virtual terminal number of the resource pool proxy server;
and the first storage module of the channel identifier is used for storing the channel identifier by the protocol conversion server.
Optionally, the system further includes:
the second channel identifier storage module is used for storing the channel identifier of the video transmission channel by the protocol conversion server; the channel identifier includes: a first virtual terminal number of the protocol conversion server and a second virtual terminal number of the resource pool proxy server;
the video transmission channel judgment module comprises:
a second virtual terminal number obtaining unit, configured to obtain, by the coordination server, a second virtual terminal number of the resource pool proxy server;
a channel identifier searching unit, configured to search, by the protocol conversion server, whether a channel identifier matching the second virtual terminal number exists in the stored channel identifiers;
a video transmission channel existence determining unit, configured to determine, by the coordination server, that a video transmission channel exists between the coordination server and the resource pool proxy server when a matched channel identifier exists;
and the video transmission channel non-existence determining unit is used for determining that a video transmission channel does not exist between the coordination server and the resource pool proxy server under the condition that the matched channel identifier does not exist.
Optionally, the flow adjustment instruction sending module includes:
the flow adjusting instruction sending unit is used for sending a flow adjusting instruction to the coordination transfer server by the resource pool proxy server through a video network;
the target video acquisition module comprises:
and the second target video acquisition unit is used for acquiring the target video from the target video acquisition terminal corresponding to the video acquisition terminal identification by the cooperative conversion server through a video network.
There is also provided according to the third aspect of the invention, apparatus comprising:
one or more processors; and
one or more computer-readable storage media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform one or more video acquisition methods as previously described.
There is also provided according to a fourth aspect of the present invention one or more computer-readable storage media having instructions stored thereon which, when executed by one or more processors, cause the processors to perform one or more of the video acquisition methods as described above.
The embodiment of the invention has the following advantages: the method is applied to an eye-networking, which comprises the following steps: the resource pool proxy server and the at least one coordination server; at least one video acquisition terminal; each coordination transfer server is bound with at least one video acquisition terminal; the method comprises the following steps: the resource pool proxy server sends a flow adjusting instruction to the coordination transfer server; the flow adjusting instruction comprises: identifying a video acquisition terminal; the protocol conversion server acquires a target video from a target video acquisition terminal corresponding to the video acquisition terminal identification and sets an identity identification for the target video; the identity mark comprises: a first virtual terminal number of the protocol conversion server and the video acquisition terminal identification; the protocol conversion server judges whether a video transmission channel exists between the protocol conversion server and the resource pool proxy server; under the condition that a video channel exists, the coordination and transformation server sends the target video with the identity mark to the resource pool proxy server through the existing video transmission channel; and under the condition that no video channel exists, the cooperative conversion server generates a video transmission channel between the cooperative conversion server and the resource pool proxy server, and sends the target video provided with the identity identifier to the resource pool proxy server through the generated video transmission channel. In the application, the cooperation server sets the identity for each target video, the identity comprises a first virtual terminal number and a video acquisition terminal identifier of the cooperation server, then the target video with the identity is sent to the resource pool proxy server through an existing video transmission channel or a generated video transmission channel, and then the resource pool proxy server can accurately distinguish each target video according to the first virtual terminal number and the video acquisition terminal identifier of the cooperation server in the identity, and then each target video corresponding to different video acquisition terminals of the same cooperation server can be accurately distinguished only by the first virtual terminal number of the cooperation server.
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 schematic diagram of a video network according to an embodiment of the present invention;
FIG. 6 is a flow chart of the steps of a video acquisition method of the present invention;
FIG. 7 is a flow chart of the steps of yet another video acquisition method of the present invention;
FIG. 8 is a block diagram of a video capture system according to an embodiment of the present invention;
fig. 9 is a block diagram of a video capture system according to another 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 the traditional Ethernet (Ethernet) to face the potentially huge first 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: server, exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, code board, memory, 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 server, access exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, coding board, memory, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
the network interface module 201, the CPU module 203, and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 based on the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the incoming data packet of the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues and may include two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 308 is configured by the CPU module 304, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet protocol gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present 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.
Referring to fig. 5, a schematic structural diagram of an internet of view according to an embodiment of the present invention is shown, where the internet of view may include a resource pool proxy server 501, at least one coordination server 502, and at least one video capture terminal 503. The number of the resource pool proxy servers 501, the number of the collaboration servers 502, and the number of the video capture terminals 503 are not particularly limited in the embodiment of the present invention.
In the embodiment of the present invention, as shown in fig. 5, each coordination server 502 may be bound to at least one video capture terminal 503, as shown in fig. 5, n video capture terminals may be bound to the coordination server 1, where n may be an integer greater than or equal to 1, and the video capture terminals 503 are used to capture videos of a video networking.
In the embodiment of the present invention, the resource pool proxy server 501 may act as a proxy for each collaboration server 502 to communicate with other video network servers or video network terminals. In the embodiment of the present invention, this is not particularly limited.
In the embodiment of the present invention, the resource pool proxy server 501, the protocol conversion server 502, and the video capture terminal 503 may communicate with each other through a video networking protocol or an internet protocol. In the embodiment of the present invention, this is not particularly limited.
Referring to fig. 6, which is a flow chart illustrating steps of a video acquisition method according to the present invention, referring to fig. 5 and 6, the method may be applied to a video network, and the video network may include: the system comprises a resource pool proxy server 501, at least one coordination server 502 and at least one video acquisition terminal 503, wherein each coordination server 502 is bound with at least one video acquisition terminal 503. The method may specifically include step 601-:
step 601: the resource pool proxy server sends a flow adjusting instruction to the coordination transfer server; the flow adjusting instruction comprises: and identifying the video acquisition terminal.
In the embodiment of the present invention, the resource pool proxy server 501 serves as a proxy of each coordination server 502, and can receive a video subscription instruction of each video network server or video network terminal, and the like. In the embodiment of the present invention, this is not particularly limited.
In the embodiment of the present invention, the resource pool proxy server 501 may set a proxy virtual terminal number for each coordination server 502. The proxy virtual terminal number may be used to uniquely identify a collaboration server in the resource pool proxy server 501. The proxy virtual terminal number may be a MAC address or the like. In the embodiment of the present invention, this is not particularly limited.
In this embodiment of the present invention, each of the collaboration servers 502 has a first virtual terminal number, which is an actual virtual terminal number of the collaboration server 502. The first virtual terminal number may be used to uniquely identify the collaboration server. The first virtual terminal number may be a MAC address of the assistance server, or the like. In the embodiment of the present invention, this is not particularly limited.
In the embodiment of the present invention, the resource pool proxy server 501 serves as a proxy for each coordination server 502, and the resource pool proxy server 501 may store a corresponding relationship between a proxy virtual terminal number of each coordination server 502 and a first virtual terminal number, so that a coordination server corresponding to the corresponding first virtual terminal number can be accurately and conveniently found through the proxy virtual terminal number. In the embodiment of the present invention, this is not particularly limited.
For example, referring to fig. 5, if the proxy virtual terminal number set by the resource pool proxy server 501 for the coordination server 1 is: 11, if the first virtual terminal number of the cooperative server 1 is: 21, the resource pool proxy server 501 may store the corresponding relationship between the proxy virtual terminal number 11 of the transfer server 1 and the first virtual terminal number 21, and further, by using the corresponding relationship, the transfer server 1 actually corresponding to the proxy virtual terminal number 11 may be accurately and quickly determined. In the embodiment of the present invention, this is not particularly limited.
In the embodiment of the present invention, the resource pool proxy server 501 may send the tuning flow instruction to the coordination server 502, for example, the resource pool proxy server 501 may send the tuning flow instruction to the coordination server 502 based on an internet protocol or a video internet protocol.
In this embodiment of the present invention, the flow adjustment instruction may be a flow adjustment instruction sent to the resource pool proxy server 501 by another video network server or a video network terminal, and this is not particularly limited in this embodiment of the present invention.
In this embodiment of the present invention, the stream adjustment instruction may include a video capture terminal identifier, where the video capture terminal identifier may be identification information capable of representing an identity of the video capture terminal, and the like, for example, the video capture terminal identifier may be an MAC address of the video capture terminal, and this is not specifically limited in this embodiment of the present invention.
In this embodiment of the present invention, if the stream adjustment instruction is sent to the resource pool proxy server 501 by another video network server or a video network terminal, optionally, the stream adjustment instruction may further include: the virtual terminal number is proxied, and then the resource pool proxy server 501 determines the protocol server corresponding to the first virtual terminal number according to the stored corresponding relationship between the proxy virtual terminal number and the first virtual terminal number and according to the proxy virtual terminal number. In the embodiment of the present invention, this is not particularly limited.
Step 602: the protocol conversion server acquires a target video from a target video acquisition terminal corresponding to the video acquisition terminal identification and sets an identity identification for the target video; the identity mark comprises: the first virtual terminal number of the protocol conversion server and the video acquisition terminal identification.
In this embodiment of the present invention, after the coordination conversion server 502 receives the stream tuning instruction, the coordination conversion server 502 may obtain a target video from a target video acquisition terminal corresponding to the video acquisition terminal identifier, and set an identity identifier for the target video; the above identity may include: the first virtual terminal number of the protocol conversion server and the video acquisition terminal identification.
Specifically, in order to accurately indicate the source of the target video through the target video, the cooperative conversion server 502 may set, after acquiring the target video, an identity including the first virtual terminal number of the cooperative conversion server and the video capture terminal identifier for the target video. For example, a configuration file of the target video may be obtained, and the first virtual terminal number of the protocol conversion server and the video capture terminal identifier are inserted into a set position of the configuration file, which is not particularly limited in the embodiment of the present invention.
For example, referring to fig. 5, if the protocol conversion server 1 receives a stream modulation instruction sent by the resource protocol conversion server 501, if a video capture terminal identifier included in the stream modulation instruction is: and A, if the video acquisition terminal identifier corresponding to the video acquisition terminal 1 is A. Then, the target video capture terminal that video capture terminal identification a corresponds is video capture terminal 1 promptly, and the server 1 that helps changes obtains the target video from video capture terminal 1, helps changes server 1 and sets up the identification for above-mentioned target video, and this identification can include: the first virtual terminal number 21 of the collaboration server 1 and the identifier a corresponding to the video capture terminal 1.
In an embodiment of the present invention, the collaboration server 502 may collect a terminal or a target video from a target video based on a video networking protocol or an internet protocol. In the embodiment of the present invention, this is not particularly limited.
In this embodiment of the present invention, optionally, the acquiring, by the collaboration server, the target video from the target video capturing terminal corresponding to the video capturing terminal identifier may include: and the protocol conversion server acquires a target video from a target video acquisition terminal corresponding to the video acquisition terminal identification through a video network.
Specifically, the cooperative conversion server 502 may acquire the target video from the target video acquisition terminal 503 corresponding to the video acquisition terminal identifier through the video network, and by virtue of the advantage of the large bandwidth of the video network, the cooperative conversion server 502 may acquire the target video quickly.
Step 603: the protocol conversion server judges whether a video transmission channel exists between the protocol conversion server and the resource pool proxy server;
in the embodiment of the present invention, the video transmission channel may be a channel dedicated to transmitting video between the video networking devices, or the video transmission channel may be a channel dedicated to transmitting video between the video networking devices.
In the embodiment of the present invention, the coordination server 502 may determine whether a video transmission channel exists between the coordination server and the resource pool proxy server 501.
Specifically, the protocol conversion server 502 may store a channel identifier of an existing video transmission channel, where the channel identifier may include a first virtual terminal number of the protocol conversion server and a second virtual terminal number of the resource pool proxy server. The collaboration server 502 may find out, in the stored channel identifier, whether a video transmission channel exists between the collaboration server and the resource pool proxy server 501 according to the second virtual terminal number of the resource pool proxy server 501. In the embodiment of the present invention, this is not particularly limited.
For the above example, referring to fig. 5, the channel identifier of the existing video transmission channel is stored in the collaboration server 1, and the channel identifier may include the first virtual terminal number 21 of the collaboration server and the second virtual terminal number of the resource pool proxy server. The collaboration server 502 may find out, in the stored channel identifier, whether a video transmission channel exists between the collaboration server and the resource pool proxy server 501 according to the second virtual terminal number of the resource pool proxy server 501.
Step 604: and under the condition that a video channel exists, the coordination server sends the target video with the identity mark to the resource pool proxy server through the existing video transmission channel.
In the embodiment of the present invention, in the case that a video channel exists, the collaboration server 502 sends the target video with the identifier to the resource pool proxy server through the existing video transmission channel.
For example, in the above example, if the collaboration server 1 determines that a video transmission channel exists between the collaboration server and the resource pool proxy server 501, the collaboration server 1 sends the target video with the identity identifier to the resource pool proxy server 501 through the existing video transmission channel. The identity may include: the first virtual terminal number 21 of the collaboration server 1 and the identifier a corresponding to the video capture terminal 1. Therefore, virtual terminal numbers do not need to be set for all the video acquisition terminals, the target video can be accurately and quickly judged to be acquired by the video acquisition terminal corresponding to the coordination server through the identity, and the expense on the limited virtual terminal numbers is saved.
In this embodiment of the present invention, optionally, if the existing video transmission channel has a video transmission task, the collaboration server 501 may add the target video into the video transmission queue, manage the video transmission queue in a first-in first-out mode or according to a certain priority, and send the target video to the resource pool proxy server 501. In the embodiment of the present invention, this is not particularly limited.
Step 605: and under the condition that no video channel exists, the cooperative conversion server generates a video transmission channel between the cooperative conversion server and the resource pool proxy server, and sends the target video provided with the identity identifier to the resource pool proxy server through the generated video transmission channel.
In the embodiment of the present invention, in the case that there is no video channel, the coordination server 502 generates a video transmission channel between the coordination server and the resource pool proxy server 501, and sends the target video with the identity identifier to the resource pool proxy server 501 through the generated video transmission channel.
Specifically, in the case that no video channel exists, the coordination server 502 and the resource pool proxy server 501 cannot transmit a video or a video network between them, and then the coordination server 502 may generate a video transmission channel between it and the resource pool proxy server 501, and send the target video with the identification to the resource pool proxy server 501 through the generated video transmission channel.
For example, for the above example, if the collaboration server 1 determines that there is no video transmission channel between the collaboration server 1 and the resource pool proxy server 501, the collaboration server 1 may generate a video transmission channel between the collaboration server 1 and the resource pool proxy server 501, and send the target video with the identity identifier to the resource pool proxy server 501 through the generated video transmission channel. The identity may include: the first virtual terminal number 21 of the collaboration server 1 and the identifier a corresponding to the video capture terminal 1. Therefore, virtual terminal numbers do not need to be set for all the video acquisition terminals, the target video can be accurately and quickly judged to be acquired by the video acquisition terminal corresponding to the coordination server through the identity, and the expense on the limited virtual terminal numbers is saved. In the embodiment of the present invention, the above-mentioned step 604 and step 605 are alternatively executed.
The embodiment of the invention has the following advantages: the method is applied to an eye-networking, which comprises the following steps: the resource pool proxy server and the at least one coordination server; at least one video acquisition terminal; each coordination transfer server is bound with at least one video acquisition terminal; the method comprises the following steps: the resource pool proxy server sends a flow adjusting instruction to the coordination transfer server; the flow adjusting instruction comprises: identifying a video acquisition terminal; the protocol conversion server acquires a target video from a target video acquisition terminal corresponding to the video acquisition terminal identification and sets an identity identification for the target video; the identity mark comprises: a first virtual terminal number of the protocol conversion server and the video acquisition terminal identification; the protocol conversion server judges whether a video transmission channel exists between the protocol conversion server and the resource pool proxy server; under the condition that a video channel exists, the coordination and transformation server sends the target video with the identity mark to the resource pool proxy server through the existing video transmission channel; and under the condition that no video channel exists, the cooperative conversion server generates a video transmission channel between the cooperative conversion server and the resource pool proxy server, and sends the target video provided with the identity identifier to the resource pool proxy server through the generated video transmission channel. In the application, the cooperation server sets the identity for each target video, the identity comprises a first virtual terminal number and a video acquisition terminal identifier of the cooperation server, then the target video with the identity is sent to the resource pool proxy server through an existing video transmission channel or a generated video transmission channel, and then the resource pool proxy server can accurately distinguish each target video according to the first virtual terminal number and the video acquisition terminal identifier of the cooperation server in the identity, and then each target video corresponding to different video acquisition terminals of the same cooperation server can be accurately distinguished only by the first virtual terminal number of the cooperation server.
Referring to fig. 7, it is a flowchart of steps of another video acquisition method according to the present invention, where the method may be applied to the video network, and for the related description of the video network, reference may be made to the related description above and fig. 5, etc., and details are not repeated here to avoid repetition. Specifically, the method may include steps 701-711:
step 701: the resource pool proxy server sends a flow adjusting instruction to the protocol conversion server through a video network; the flow adjusting instruction comprises: and identifying the video acquisition terminal.
In this embodiment of the present invention, the step 701 may refer to the step 601, and it should be noted that the resource pool proxy server 501 sends the flow adjustment instruction to the coordination transfer server 502 through the video network, and since the video network has the advantage of large bandwidth, the resource pool proxy server 501 can quickly send the flow adjustment instruction to the coordination transfer server 502.
Step 702: and the cooperative conversion server acquires a target video from a target video acquisition terminal corresponding to the video acquisition terminal identification.
In the embodiment of the present invention, the step 702 may refer to the related description of the step 602, and is not described herein again to avoid repetition.
Step 703: and the cooperative conversion server inserts a first virtual terminal number of the cooperative conversion server into a first preset position of the target video.
In this embodiment of the present invention, the cooperative server 502 may insert a first virtual terminal number of the cooperative server into a first preset position of the target video.
Specifically, the coordination server 502 may insert the first virtual terminal number of the coordination server 502 at a first preset position at the head or a first preset position at the tail of the target video. Alternatively, the cooperative server 502 may obtain the configuration file of the target video, and insert the first virtual terminal number of the cooperative server 502 into the first preset position at the head or the first preset position at the tail of the configuration file, which is not specifically limited in the embodiment of the present invention.
For example, for the above example, the collaboration server 1 may set the first 8 bits of the profile header of the target video as the identification bits, may determine the first 4 bits of the profile header as the first preset position, and inserts the first virtual terminal number 21 of the collaboration server 1 in the first 4 bits of the profile header.
Step 704: and the coordination server is inserted into the video acquisition terminal identification at a second preset position of the target video.
In an embodiment of the present invention, the coordination server 502 may insert the video capture terminal identifier into a second preset position of the target video.
Specifically, the collaboration server 502 may insert the identifier of the video capture terminal 503 into a second preset position at the head or a second preset position at the tail of the target video. Alternatively, the collaboration server 502 may obtain a configuration file of the target video, and insert the identifier of the video capture terminal 503 into a first preset position at the head or a first preset position at the tail of the configuration file, which is not specifically limited in this embodiment of the present invention.
For example, for the above example, the collaboration server 1 may set the first 8 bits of the profile header of the target video as the identification bits, may determine the 5 th to 8 th bits of the profile header as the second preset positions, and insert the identification a of the video capture terminal 1 in the 5 th to 8 th bits of the profile header.
In the embodiment of the invention, the first virtual terminal number of the transfer server is inserted into the first preset position of the target video, and the video acquisition terminal identification is inserted into the second preset position of the target video, so that the first virtual terminal number of the transfer server and the video acquisition terminal identification can be quickly and accurately obtained from the first preset position and the second preset position of the target video through analysis.
Step 705: the protocol conversion server stores a channel identifier of a video transmission channel; the channel identifier includes: the first virtual terminal number of the protocol conversion server and the second virtual terminal number of the resource pool proxy server.
In this embodiment of the present invention, if there is a video transmission channel, the protocol conversion server 502 may store a channel identifier of the video transmission channel, where the channel identifier may include: the first virtual terminal number of the protocol conversion server and the second virtual terminal number of the resource pool proxy server.
In this embodiment of the present invention, the second virtual terminal number of the resource pool proxy server 501 is used to identify the resource pool proxy server 501, and the second virtual terminal number of the resource pool proxy server 501 may be a MAC address of the resource pool proxy server 501, which is not specifically limited in this embodiment of the present invention.
Step 706: and the protocol conversion server acquires a second virtual terminal number of the resource pool proxy server.
In this embodiment of the present invention, the coordination server 502 may obtain the second virtual terminal number of the resource pool proxy server 501.
Specifically, the resource pool proxy server 501 may send the second virtual terminal number to the coordination server 501, and the like. In the embodiment of the present invention, this is not particularly limited.
Step 707: and the protocol conversion server searches whether a channel identifier matched with the second virtual terminal number exists in the stored channel identifiers.
In this embodiment of the present invention, the protocol conversion server 502 may search whether a channel identifier matching the second virtual terminal number exists in the stored channel identifiers.
For example, for the above example, if the second virtual terminal number corresponding to the resource pool proxy server 501 is 01, the protocol translation server 1 may search whether a channel identifier matching the second virtual terminal number 01 exists in the stored channel identifiers.
Step 708: and under the condition that the matched channel identification exists, the cooperative conversion server determines that a video transmission channel exists between the cooperative conversion server and the resource pool proxy server.
In the embodiment of the present invention, in the case that there is a matching channel identifier, the coordination server 502 determines that there is a video transmission channel between the coordination server and the resource pool proxy server.
For example, for the above example, if the second virtual terminal number corresponding to the resource pool proxy server 501 is 01, and if the coordination server 1 finds the channel identifier matching with the second virtual terminal number 01 in the stored channel identifiers, the coordination server 1 determines that a video transmission channel exists between the coordination server and the resource pool proxy server.
Step 709: and under the condition that the matched channel identification does not exist, the cooperative conversion server determines that a video transmission channel does not exist between the cooperative conversion server and the resource pool proxy server.
In the embodiment of the present invention, in the case that there is no matching channel identifier, the coordination server 502 determines that there is no video transmission channel between it and the resource pool proxy server 501.
For example, for the above example, if the second virtual terminal number corresponding to the resource pool proxy server 501 is 01, if the channel identifier matching the second virtual terminal number 01 is not found in the stored channel identifiers by the cooperative transfer server 1, the cooperative transfer server 1 determines that no video transmission channel exists between the cooperative transfer server and the resource pool proxy server.
In the embodiment of the invention, the channel identifier is set for the existing video transmission channel, so that whether the video transmission channel exists can be quickly judged through the channel identifier.
In this embodiment of the present invention, optionally, after the cooperative server generates a video transmission channel between the cooperative server and the resource pool proxy server in the case that no video channel exists, the method may further include: the protocol conversion server sets a channel identifier for the generated video transmission channel; the channel identifier includes: a first virtual terminal number of the protocol conversion server and a second virtual terminal number of the resource pool proxy server; and the cooperative conversion server stores the channel identifier.
Specifically, in the absence of a video channel, after the cooperative conversion server 502 generates a video transmission channel between the cooperative conversion server 502 and the resource pool proxy server 501, the cooperative conversion server 502 may set a channel identifier for the generated video transmission channel, and the channel identifier may also include: the first virtual terminal number of the protocol conversion server 502 and the second virtual terminal number of the resource pool proxy server 501, the protocol conversion server 502 may store the channel identifier, which is equivalent to updating the channel identifier of the existing video transmission channel in the protocol conversion server 502, and further in subsequent applications, the generated video transmission channel may be used as the existing video transmission channel, which is convenient for searching and determining.
Step 710: and under the condition that a video channel exists, the coordination server sends the target video with the identity mark to the resource pool proxy server through the existing video transmission channel.
Step 711: and under the condition that no video channel exists, the cooperative conversion server generates a video transmission channel between the cooperative conversion server and the resource pool proxy server, and sends the target video provided with the identity identifier to the resource pool proxy server through the generated video transmission channel.
In the embodiment of the present invention, the above steps 710 and 711 may refer to the related descriptions of the above steps 604 and 605, respectively, and are not described herein again to avoid repetition.
The embodiment of the invention has the following advantages: the method is applied to an eye-networking, which comprises the following steps: the resource pool proxy server and the at least one coordination server; at least one video acquisition terminal; each coordination transfer server is bound with at least one video acquisition terminal; the method comprises the following steps: the resource pool proxy server sends a flow adjusting instruction to the coordination transfer server; the flow adjusting instruction comprises: identifying a video acquisition terminal; the protocol conversion server acquires a target video from a target video acquisition terminal corresponding to the video acquisition terminal identification and sets an identity identification for the target video; the identity mark comprises: a first virtual terminal number of the protocol conversion server and the video acquisition terminal identification; the protocol conversion server judges whether a video transmission channel exists between the protocol conversion server and the resource pool proxy server; under the condition that a video channel exists, the coordination and transformation server sends the target video with the identity mark to the resource pool proxy server through the existing video transmission channel; and under the condition that no video channel exists, the cooperative conversion server generates a video transmission channel between the cooperative conversion server and the resource pool proxy server, and sends the target video provided with the identity identifier to the resource pool proxy server through the generated video transmission channel. In the application, the cooperation server sets the identity for each target video, the identity comprises a first virtual terminal number and a video acquisition terminal identifier of the cooperation server, then the target video with the identity is sent to the resource pool proxy server through an existing video transmission channel or a generated video transmission channel, and then the resource pool proxy server can accurately distinguish each target video according to the first virtual terminal number and the video acquisition terminal identifier of the cooperation server in the identity, and then each target video corresponding to different video acquisition terminals of the same cooperation server can be accurately distinguished only by the first virtual terminal number of the cooperation server.
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 depending on the embodiment of the invention. Furthermore, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred, that no acts are necessarily required to implement the embodiments of the invention, and that various embodiments are described with reference to the drawings.
Referring to fig. 8, which is a block diagram of a video capture system according to an embodiment of the present invention, the system 800 is applied to a video network, and the video network includes: the resource pool proxy server and the at least one coordination server; at least one video acquisition terminal; each coordination transfer server is bound with at least one video acquisition terminal; for the video network, reference may be made to the related descriptions of the above embodiments, and details are not repeated here to avoid redundancy. The system may include:
a flow adjustment instruction sending module 801, configured to send a flow adjustment instruction to the coordination server by the resource pool proxy server; the flow adjusting instruction comprises: identifying a video acquisition terminal;
a target video obtaining module 802, configured to obtain a target video from a target video collecting terminal corresponding to the video collecting terminal identifier by the coordination server, and set an identity identifier for the target video; the identity mark comprises: a first virtual terminal number of the protocol conversion server and the video acquisition terminal identification;
a video transmission channel determining module 804, configured to determine whether a video transmission channel exists between the coordination server and the resource pool proxy server;
a target video first sending module 806, configured to, in a case that a video channel exists, send, by the coordination server, the target video with the identity identifier to the resource pool proxy server through the existing video transmission channel;
a second target video sending module 805, configured to, in the absence of a video channel, generate a video transmission channel between the coordination server and the resource pool proxy server, and send the target video with the identity identifier to the resource pool proxy server through the generated video transmission channel.
Optionally, on the basis of fig. 8, referring to fig. 9, the target video obtaining module 802 may include:
a first target video obtaining unit 8021, configured to obtain, by the coordination server, a target video from a target video collecting terminal corresponding to the video collecting terminal identifier;
a first identifier inserting unit 8022, configured to insert, by the cooperative server, a first virtual terminal number of the cooperative server at a first preset position of the target video;
a second identifier inserting unit 8023, configured to insert the video capture terminal identifier into the coordination server at a second preset position of the target video.
Optionally, the system may further include:
a channel identifier setting module, configured to set a channel identifier for the generated video transmission channel by the collaboration server; the channel identifier includes: a first virtual terminal number of the protocol conversion server and a second virtual terminal number of the resource pool proxy server;
and the first storage module of the channel identifier is used for storing the channel identifier by the protocol conversion server.
Optionally, the system may further include:
a second channel identifier saving module 803, configured to save, by the protocol conversion server, a channel identifier of the video transmission channel; the channel identifier includes: a first virtual terminal number of the protocol conversion server and a second virtual terminal number of the resource pool proxy server;
the video transmission channel determining module 804 may include:
a second virtual terminal number obtaining unit 8041, configured to obtain, by the coordination server, a second virtual terminal number of the resource pool proxy server;
a channel identifier search unit 8042, configured to search, by the coordination server, whether a channel identifier matching the second virtual terminal number exists in the stored channel identifiers;
a video transmission channel existence determining unit 8043, configured to, in the case that there is a matched channel identifier, determine, by the cooperative server, that a video transmission channel exists between the cooperative server and the resource pool proxy server;
a video transmission channel absence determining unit 8044, configured to, in a case that there is no matching channel identifier, determine, by the cooperative server, that there is no video transmission channel between the cooperative server and the resource pool proxy server.
Optionally, the flow adjustment instruction sending module 801 may include:
a flow adjusting instruction sending unit 8011, configured to send a flow adjusting instruction to the coordination server through the video network by the resource pool proxy server;
the target video acquiring module 802 may include:
and the second target video acquisition unit is used for acquiring the target video from the target video acquisition terminal corresponding to the video acquisition terminal identification by the cooperative conversion server through a video network.
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 system is applied to the video network, and the resource pool proxy server sends a stream adjusting instruction to the protocol conversion server; the flow adjusting instruction comprises: identifying a video acquisition terminal; the protocol conversion server acquires a target video from a target video acquisition terminal corresponding to the video acquisition terminal identification and sets an identity identification for the target video; the identity mark comprises: a first virtual terminal number of the protocol conversion server and the video acquisition terminal identification; the protocol conversion server judges whether a video transmission channel exists between the protocol conversion server and the resource pool proxy server; under the condition that a video channel exists, the coordination and transformation server sends the target video with the identity mark to the resource pool proxy server through the existing video transmission channel; and under the condition that no video channel exists, the cooperative conversion server generates a video transmission channel between the cooperative conversion server and the resource pool proxy server, and sends the target video provided with the identity identifier to the resource pool proxy server through the generated video transmission channel. In the application, the cooperation server sets the identity for each target video, the identity comprises a first virtual terminal number and a video acquisition terminal identifier of the cooperation server, then the target video with the identity is sent to the resource pool proxy server through an existing video transmission channel or a generated video transmission channel, and then the resource pool proxy server can accurately distinguish each target video according to the first virtual terminal number and the video acquisition terminal identifier of the cooperation server in the identity, and then each target video corresponding to different video acquisition terminals of the same cooperation server can be accurately distinguished only by the first virtual terminal number of the cooperation server.
An embodiment of the present application further provides an apparatus, including:
one or more processors; and
one or more computer-readable storage media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform one or more video acquisition methods as described in embodiments herein.
Embodiments of the present application also provide one or more computer-readable storage media having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform one or more of the video acquisition methods described in embodiments of the present application.
For the system, apparatus, and computer-readable storage medium embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
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, system, 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 a system 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 an instruction system 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 video acquisition method, system, device and computer-readable storage medium provided by the present invention are described in detail above, and a specific example is applied in the present document to illustrate the principle and the implementation of the present invention, and the description of the above embodiment 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 (10)

1. A video acquisition method is applied to a video network, and the video network comprises the following steps: the resource pool proxy server and the at least one coordination server; at least one video acquisition terminal; each coordination transfer server is bound with at least one video acquisition terminal; the method comprises the following steps:
the resource pool proxy server sends a flow adjusting instruction to the coordination transfer server; the flow adjusting instruction comprises: identifying a video acquisition terminal;
the protocol conversion server acquires a target video from a target video acquisition terminal corresponding to the video acquisition terminal identification and sets an identity identification for the target video; the identity mark comprises: a first virtual terminal number of the protocol conversion server and the video acquisition terminal identification;
the protocol conversion server judges whether a video transmission channel exists between the protocol conversion server and the resource pool proxy server;
under the condition that a video channel exists, the coordination and transformation server sends the target video with the identity mark to the resource pool proxy server through the existing video transmission channel;
and under the condition that no video channel exists, the cooperative conversion server generates a video transmission channel between the cooperative conversion server and the resource pool proxy server, and sends the target video provided with the identity identifier to the resource pool proxy server through the generated video transmission channel.
2. The method of claim 1, wherein the collaborating server obtains a target video from a target video capturing terminal corresponding to the video capturing terminal identifier and sets an identity identifier for the target video, and the method comprises:
the protocol conversion server acquires a target video from a target video acquisition terminal corresponding to the video acquisition terminal identification;
the protocol conversion server inserts a first virtual terminal number of the protocol conversion server at a first preset position of the target video;
and the coordination server is inserted into the video acquisition terminal identification at a second preset position of the target video.
3. The method of claim 1, wherein after the cooperative server generates the video transmission channel between the cooperative server and the resource pool proxy server in the absence of a video channel, further comprising:
the protocol conversion server sets a channel identifier for the generated video transmission channel; the channel identifier includes: a first virtual terminal number of the protocol conversion server and a second virtual terminal number of the resource pool proxy server;
and the cooperative conversion server stores the channel identifier.
4. The method of claim 1, wherein before the cooperative server determines whether a video transmission channel exists between the cooperative server and the resource pool proxy server, the method further comprises:
the protocol conversion server stores a channel identifier of a video transmission channel; the channel identifier includes: a first virtual terminal number of the protocol conversion server and a second virtual terminal number of the resource pool proxy server;
the method for judging whether a video transmission channel exists between the cooperative conversion server and the resource pool proxy server comprises the following steps:
the protocol conversion server acquires a second virtual terminal number of the resource pool proxy server;
the protocol conversion server searches whether a channel identifier matched with the second virtual terminal number exists in the stored channel identifiers;
under the condition that the matched channel identification exists, the cooperative conversion server determines that a video transmission channel exists between the cooperative conversion server and the resource pool proxy server;
and under the condition that the matched channel identification does not exist, the cooperative conversion server determines that a video transmission channel does not exist between the cooperative conversion server and the resource pool proxy server.
5. The method of claim 1, wherein the resource pool proxy server sending a tuning instruction to the coordination server comprises:
the resource pool proxy server sends a flow adjusting instruction to the protocol conversion server through a video network;
the coordination server acquires a target video from a target video acquisition terminal corresponding to the video acquisition terminal identification, and the coordination server comprises:
and the protocol conversion server acquires a target video from a target video acquisition terminal corresponding to the video acquisition terminal identification through a video network.
6. A video acquisition system, said system being applied to a video network, said video network comprising: the resource pool proxy server and the at least one coordination server; at least one video acquisition terminal; each coordination transfer server is bound with at least one video acquisition terminal; the system comprises:
the flow adjusting instruction sending module is used for sending a flow adjusting instruction to the coordination transfer server by the resource pool proxy server; the flow adjusting instruction comprises: identifying a video acquisition terminal;
the target video acquisition module is used for acquiring a target video from a target video acquisition terminal corresponding to the video acquisition terminal identification by the coordination server and setting an identity identification for the target video; the identity mark comprises: a first virtual terminal number of the protocol conversion server and the video acquisition terminal identification;
the video transmission channel judgment module is used for judging whether a video transmission channel exists between the coordination server and the resource pool proxy server;
the first target video sending module is used for sending the target video with the identity identifier to the resource pool proxy server through the existing video transmission channel under the condition that a video channel exists;
and the second target video sending module is used for generating a video transmission channel between the coordination server and the resource pool proxy server by the coordination server under the condition that no video channel exists, and sending the target video provided with the identity identifier to the resource pool proxy server through the generated video transmission channel.
7. The system of claim 6, wherein the target video capture module comprises:
a first target video acquiring unit, configured to acquire, by the coordination server, a target video from a target video acquisition terminal corresponding to the video acquisition terminal identifier;
the first identification inserting unit is used for inserting a first virtual terminal number of the coordination transfer server into a first preset position of the target video by the coordination transfer server;
and the second identification inserting unit is used for inserting the video acquisition terminal identification into the coordination server at a second preset position of the target video.
8. The system of claim 6, further comprising:
a channel identifier setting module, configured to set a channel identifier for the generated video transmission channel by the collaboration server; the channel identifier includes: a first virtual terminal number of the protocol conversion server and a second virtual terminal number of the resource pool proxy server;
and the first storage module of the channel identifier is used for storing the channel identifier by the protocol conversion server.
9. A video acquisition device, comprising:
one or more processors; and
one or more computer-readable storage media having instructions stored thereon that, when executed by the one or more processors, cause the video acquisition device to perform the video acquisition method of any of claims 1-5.
10. One or more computer-readable storage media having instructions stored thereon that, when executed by one or more processors, cause the processors to perform the video acquisition method of any of claims 1-5.
CN201910319045.8A 2019-04-19 2019-04-19 Video acquisition method, system, device and computer readable storage medium Active CN110062259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910319045.8A CN110062259B (en) 2019-04-19 2019-04-19 Video acquisition method, system, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910319045.8A CN110062259B (en) 2019-04-19 2019-04-19 Video acquisition method, system, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110062259A CN110062259A (en) 2019-07-26
CN110062259B true CN110062259B (en) 2021-09-28

Family

ID=67319822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910319045.8A Active CN110062259B (en) 2019-04-19 2019-04-19 Video acquisition method, system, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110062259B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111031090B (en) * 2019-10-21 2023-02-28 视联动力信息技术股份有限公司 Data processing method and device, electronic equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686072A (en) * 2013-11-15 2014-03-26 北京视联动力国际信息技术有限公司 Video internet video monitoring method and system, protocol conversion server, and video internet server
CN103686432A (en) * 2013-11-15 2014-03-26 北京视联动力国际信息技术有限公司 Screen sharing method and system based on video network
CN105307024A (en) * 2014-06-13 2016-02-03 北京视联动力国际信息技术有限公司 Graphic and text information interface control method and device based on internet of videos
CN108632398A (en) * 2017-07-27 2018-10-09 北京视联动力国际信息技术有限公司 A kind of conference access method and system, association turn server and conference management terminal
CN108881798A (en) * 2017-12-29 2018-11-23 北京视联动力国际信息技术有限公司 It is a kind of to be carried out using bridge service device across view networking conference method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130960B (en) * 2011-03-23 2013-10-09 华为技术有限公司 Method for steaming media and media controller
CN103152624A (en) * 2013-02-26 2013-06-12 中兴通讯股份有限公司 Remote control processing method, device and system
US20170188085A1 (en) * 2015-12-29 2017-06-29 Le Holdings (Beijing) Co., Ltd. Method and electronic device for multi-screen switching
CN109120946B (en) * 2018-08-27 2021-05-11 视联动力信息技术股份有限公司 Method and device for watching live broadcast

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686072A (en) * 2013-11-15 2014-03-26 北京视联动力国际信息技术有限公司 Video internet video monitoring method and system, protocol conversion server, and video internet server
CN103686432A (en) * 2013-11-15 2014-03-26 北京视联动力国际信息技术有限公司 Screen sharing method and system based on video network
CN105307024A (en) * 2014-06-13 2016-02-03 北京视联动力国际信息技术有限公司 Graphic and text information interface control method and device based on internet of videos
CN108632398A (en) * 2017-07-27 2018-10-09 北京视联动力国际信息技术有限公司 A kind of conference access method and system, association turn server and conference management terminal
CN108881798A (en) * 2017-12-29 2018-11-23 北京视联动力国际信息技术有限公司 It is a kind of to be carried out using bridge service device across view networking conference method and system

Also Published As

Publication number Publication date
CN110062259A (en) 2019-07-26

Similar Documents

Publication Publication Date Title
CN108737768B (en) Monitoring method and monitoring device based on monitoring system
CN110198345B (en) Data request method, system and device and storage medium
CN109617956B (en) Data processing method and device
CN110190973B (en) Online state detection method and device
CN109474715B (en) Resource configuration method and device based on video network
CN109996086B (en) Method and device for inquiring service state of video networking
CN110049341B (en) Video processing method and device
CN109818960B (en) Data processing method and device
CN110224988B (en) Image data processing method, system and device and storage medium
CN110446058B (en) Video acquisition method, system, device and computer readable storage medium
CN111211982B (en) Data forwarding method and device, electronic equipment and storage medium
CN110022500B (en) Packet loss processing method and device
CN110493149B (en) Message processing method and device
CN110289974B (en) Data stream processing method, system and device and storage medium
CN109889516B (en) Method and device for establishing session channel
CN109861929B (en) Data caching processing method and device
CN109743360B (en) Information processing method and device
CN110062259B (en) Video acquisition method, system, device and computer readable storage medium
CN110557411A (en) video stream processing method and device based on video network
CN110784683B (en) Management method, device and storage medium for monitoring resources
CN110688532B (en) Transaction management method and device
CN110266768B (en) Data transmission method and system
CN109451030B (en) Method and system for downloading video network file
CN110113563B (en) Data processing method based on video network and video network server
CN110475160B (en) Method and device for transmitting video data across 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
GR01 Patent grant
GR01 Patent grant