Movatterモバイル変換


[0]ホーム

URL:


CN109474715B - Resource configuration method and device based on video network - Google Patents

Resource configuration method and device based on video network
Download PDF

Info

Publication number
CN109474715B
CN109474715BCN201811409884.0ACN201811409884ACN109474715BCN 109474715 BCN109474715 BCN 109474715BCN 201811409884 ACN201811409884 ACN 201811409884ACN 109474715 BCN109474715 BCN 109474715B
Authority
CN
China
Prior art keywords
terminal
video
internet
virtual terminal
video networking
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
CN201811409884.0A
Other languages
Chinese (zh)
Other versions
CN109474715A (en
Inventor
杨伟中
朱道彦
韩杰
王艳辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hainan Shilian Communication 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 LtdfiledCriticalVisionvera Information Technology Co Ltd
Priority to CN201811409884.0ApriorityCriticalpatent/CN109474715B/en
Publication of CN109474715ApublicationCriticalpatent/CN109474715A/en
Application grantedgrantedCritical
Publication of CN109474715BpublicationCriticalpatent/CN109474715B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention relates to the technical field of video networking, and provides a resource configuration method and a resource configuration device based on the video networking, wherein the method comprises the steps of receiving a query request of a video networking terminal; acquiring an idle number through an idle number management module; determining the video networking virtual terminal corresponding to the idle number as a binding video networking virtual terminal; binding the video network binding virtual terminal with the video network binding terminal, and modifying the state of the idle number into an occupied state; the method comprises the steps that real-time services of a video network terminal and an internet terminal are established by binding the video network virtual terminal and the internet virtual terminal; if the real-time service is finished, the number corresponding to the virtual terminal of the binding video network is recovered through the empty number management module, and the state of the number is modified into an idle state. The embodiment of the invention realizes that the limited resources of the streaming media server are used to fully meet the service requirement by a dynamic multiplexing method.

Description

Resource configuration method and device based on video network
Technical Field
The invention relates to the technical field of video networking, in particular to a resource configuration method and device based on video networking.
Background
Because the video networking technology can realize the real-time transmission of the whole network high-definition video which can not be realized by the internet at present, a plurality of applications are pushed to high-definition video, and high definition is face to face, so the video networking technology is applied more and more.
In the prior art, communication between the video network terminal and the internet can be established through a streaming media server, but the resources of the streaming media server are limited, and one streaming media server can only provide services for a smaller number of video network terminals.
Disclosure of Invention
In view of the above, embodiments of the present invention are proposed in order to provide a method and apparatus for configuring resources based on a visual network that overcome or at least partially solve the above problems.
In order to solve the above problems, the embodiment of the present invention discloses a resource allocation method based on video networking, which is applied to a streaming media server, wherein an internet virtual terminal corresponding to an internet terminal, a video networking virtual terminal corresponding to a video networking terminal, and a blank number management module are preset in the streaming media server; the method comprises the following steps:
receiving a query request of the video networking terminal;
acquiring an idle number through the idle number management module;
determining that the video networking virtual terminal corresponding to the idle number is a binding video networking virtual terminal;
binding the virtual terminal of the binding video network with the video network terminal, and modifying the state of the idle number into an occupied state;
establishing real-time services of the video networking terminal and the Internet terminal through the binding of the video networking virtual terminal and the Internet virtual terminal;
and if the real-time service is finished, the number corresponding to the virtual terminal of the binding video network is recovered through the empty number management module, and the state of the number is modified into an idle state.
The invention also provides a resource allocation device based on the video network, which is applied to a streaming media server, wherein the streaming media server is internally and previously provided with an internet virtual terminal corresponding to the internet terminal, a video network virtual terminal corresponding to the video network terminal and a blank number management module; the device comprises:
the query request receiving module is used for receiving a query request of the video network terminal;
the idle number acquisition module is used for acquiring an idle number through the idle number management module;
the binding video network virtual terminal determining module is used for determining that the video network virtual terminal corresponding to the idle number is a binding video network virtual terminal;
the binding module is used for binding the video network binding virtual terminal with the video network binding terminal and modifying the state of the idle number into an occupied state;
the real-time service establishing module is used for establishing the real-time service of the video networking terminal and the Internet terminal by binding the video networking virtual terminal and the Internet virtual terminal;
and the recovery module is used for recovering the number corresponding to the virtual terminal of the binding video network through the empty number management module and modifying the state of the number into an idle state if the real-time service is finished.
The embodiment of the invention has the following advantages:
the embodiment of the invention can be applied to a streaming media server of a video network, wherein the streaming media server is pre-provided with an internet virtual terminal corresponding to the internet terminal, a video network virtual terminal corresponding to the video network terminal and a blank number management module; after receiving the query request of the video networking terminal, the streaming media server can acquire an idle number through the idle number management module, determine that the video networking virtual terminal corresponding to the idle number is a binding video networking virtual terminal, then bind the binding video networking virtual terminal with the video networking terminal, and modify the state of the idle number into an occupied state; then, by binding the video network virtual terminal and the internet virtual terminal, real-time services of the video network terminal and the internet terminal are established; the embodiment of the method binds the corresponding virtual terminal of the video network to the video network terminal in real time according to the query request of the video network terminal, if the real-time service is finished, the number corresponding to the virtual terminal of the video network is recovered by the empty number management module, and the state of the modified number is in an idle state, the bound virtual terminal of the video network can be redistributed in the next service, and the service requirement can be fully met by using the limited resources of the streaming media server through a dynamic multiplexing method.
Drawings
FIG. 1 is a schematic networking diagram of a video network of the present invention;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present invention;
fig. 3 is a schematic diagram of a hardware structure of an access switch of the present invention;
fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention;
FIG. 5 is a flowchart illustrating the steps of an embodiment of a method for configuring resources based on a video network;
FIG. 6 is a flowchart illustrating the detailed steps of an embodiment of a method for configuring resources based on a video network according to the present invention;
FIG. 7 is a schematic diagram of an application of the resource allocation method based on the video network of the present invention;
FIG. 8 is a block diagram of a resource configuration device based on video network according to an embodiment of the present invention;
fig. 9 is a specific block diagram of an embodiment of a resource configuration device based on a video network according to 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 in a system on a network system, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present invention, the following description refers to the internet of view:
some of the technologies applied in the video networking are as follows:
network Technology (Network Technology)
Network technology innovation in video networking has improved over traditional Ethernet (Ethernet) to face the potentially enormous video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network circuit Switching (circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time switching system, can realize the large-scale high-definition video real-time transmission of the whole network which can not 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 video networking and unified video system is different from the traditional server, the streaming media transmission is established on the basis of connection orientation, the data processing capacity 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 streaming media processing of video networking and unified video systems 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 memory technology of the unified video system 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 instantly and directly sent to the user terminal, and the user waiting time 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 system 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 system to obtain various multimedia video services in various forms. The unified video system adopts a menu type matching table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes new infinite business 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 system (the part in the dotted circle), and a plurality of unified video systems can form a video network; each unified video system may be interconnected via metropolitan and wide area video networks.
Video networking device classification
1.1 devices in the video network of the embodiment of the present invention can be mainly classified into 3 types: servers, switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node servers, access switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes anetwork interface module 201, aswitching engine module 202, aCPU module 203, and adisk array module 204;
thenetwork interface module 201, theCPU module 203, and thedisk array module 204 all enter theswitching engine module 202; theswitching 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 thecorresponding packet buffer 206 based on the packet's steering information; if the queue of thepacket buffer 206 is nearly full, it is discarded; theswitching 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. Thedisk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; theCPU 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 thedisk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlinknetwork interface module 301 and an uplink network interface module 302), aswitching engine module 303 and aCPU module 304;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the data packet coming from the CPU module 204 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switchingengine module 303 polls all packet buffer queues, which in this embodiment of the present invention is divided into two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 208 is configured by theCPU module 204, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
TheCPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the coderate control module 308.
Ethernet protocol conversion gateway
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlinknetwork interface module 401 and an uplink network interface module 402), aswitching engine module 403, aCPU module 404, apacket detection module 405, arate control module 408, an address table 406, apacket buffer 407, aMAC adding module 409, and aMAC deleting module 410.
Wherein, the data packet coming from the downlinknetwork interface module 401 enters thepacket detection module 405; thepacket 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, theMAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlinknetwork interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MACSA of the ethernet coordination gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DASAReservedPayloadCRC
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:
DASAReservedlabel (R)PayloadCRC
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
Based on the characteristics of the video network, one of the core concepts of the embodiment of the invention is provided, wherein an internet virtual terminal corresponding to the internet terminal, a video network virtual terminal corresponding to the video network terminal and a blank number management module are preset in the streaming media server; after receiving the query request of the video networking terminal, the streaming media server can acquire an idle number through the idle number management module, determine that the video networking virtual terminal corresponding to the idle number is a binding video networking virtual terminal, then bind the binding video networking virtual terminal with the video networking terminal, and modify the state of the idle number into an occupied state; then, by binding the video network virtual terminal and the internet virtual terminal, real-time services of the video network terminal and the internet terminal are established; the embodiment of the method binds the corresponding virtual terminal of the video network to the video network terminal in real time according to the query request of the video network terminal, if the real-time service is finished, the number corresponding to the virtual terminal of the video network is recovered by the empty number management module, and the state of the modified number is in an idle state, the bound virtual terminal of the video network can be redistributed in the next service, and the service requirement can be fully met by using the limited resources of the streaming media server through a dynamic multiplexing method.
Referring to fig. 5, a flowchart illustrating steps of an embodiment of a resource allocation method based on video networking according to the present invention is shown, where the method may be applied to a streaming server, where an internet virtual terminal corresponding to an internet terminal, a video networking virtual terminal corresponding to a video networking terminal, and a blank number management module are preset in the streaming server.
In the embodiment of the present invention, the internet terminal is a terminal using an internet protocol for communication, for example, a terminal communicating through a TCP/IP protocol, and specifically may be a PCTV, a computer terminal, a multimedia player, and the like, which is not limited in this embodiment of the present invention; the Internet virtual terminal is a virtual terminal which can communicate with the Internet terminal through an Internet protocol and is arranged in the streaming media server; the video network terminal is a terminal which uses a video network protocol for communication, and specifically can be a computer terminal, a multimedia player and the like which are accessed to the video network, and the embodiment of the invention does not limit the terminal; the video networking virtual terminal is a virtual terminal which can communicate with the video networking terminal through a video networking protocol and is arranged in the streaming media server; the null number management module is a virtual terminal of the video network for managing undistributed processing services.
The method specifically comprises the following steps:
step 501: and receiving the query request of the video network terminal.
In the embodiment of the invention, when the video network terminal wants to watch the Internet live broadcast or perform the services such as video telephone, conference and the like with the Internet terminal, the video network terminal can send an inquiry request to the streaming media server, and the inquiry request can be used for inquiring whether a video network virtual terminal capable of providing service exists in the streaming media server.
Step 502: and acquiring an idle number through the idle number management module.
In the embodiment of the invention, after receiving the query request, the streaming media server can acquire the idle number in the empty number management module. In the empty number management module, an idle number can correspond to a virtual terminal of the video network which is not occupied by the service.
Step 503: and determining the video networking virtual terminal corresponding to the idle number as a binding video networking virtual terminal.
In the embodiment of the invention, after the idle number is determined by the idle number management module, the video network virtual terminal corresponding to the idle number can be used as a binding video network virtual terminal for providing service support for the video network terminal sending the query request.
Step 504: and binding the virtual terminal of the binding video network with the video network terminal, and modifying the state of the idle number into an occupied state.
In the embodiment of the invention, after the binding video network virtual terminal is determined, the binding video network virtual terminal can be bound with the video network terminal, and a communication channel between the binding video network virtual terminal and the video network terminal is established.
Step 505: and establishing the real-time service of the video networking terminal and the internet terminal by binding the video networking virtual terminal and the internet virtual terminal.
In the embodiment of the invention, the real-time service of the video network terminal and the internet terminal can be established by binding the video network virtual terminal and the internet virtual terminal in the streaming media server, for example, the real-time service such as video telephone, live broadcast and the like between the video network terminal and the internet terminal is supported.
Step 506: and if the real-time service is finished, the number corresponding to the virtual terminal of the binding video network is recovered through the empty number management module, and the state of the number is modified into an idle state.
In the embodiment of the invention, if the real-time service of the video network terminal and the internet terminal is detected to be finished, the binding video network virtual terminal can be in a non-service state, so that the state of the number corresponding to the binding video network virtual terminal can be modified into an idle state, and the number is recovered through the idle number management module for the next use.
In a specific application, whether the real-time service of the video network terminal and the internet terminal is finished or not can be determined by detecting the occupation condition of the communication interface of the video network terminal and the internet terminal, for example, if the video network terminal is in the real-time service and is in communication with the communication interface B of the internet terminal through the communication interface a, and if the video network terminal is detected that the communication interface a of the video network terminal and the communication interface B of the internet terminal are not occupied within a preset time, the real-time service can be considered to be finished, wherein the preset time can be set according to an actual application scene. Accordingly, if the communication interface a of the video network terminal and the communication interface B of the internet terminal are occupied, the real-time service may be considered to be not ended.
In summary, the embodiment of the present invention can be applied to a streaming media server of a video network, in which an internet virtual terminal corresponding to an internet terminal, a video network virtual terminal corresponding to a video network terminal, and a blank number management module are preset in the streaming media server; after receiving the query request of the video networking terminal, the streaming media server can acquire an idle number through the idle number management module, determine that the video networking virtual terminal corresponding to the idle number is a binding video networking virtual terminal, then bind the binding video networking virtual terminal with the video networking terminal, and modify the state of the idle number into an occupied state; then, by binding the video network virtual terminal and the internet virtual terminal, real-time services of the video network terminal and the internet terminal are established; the embodiment of the method binds the corresponding virtual terminal of the video network to the video network terminal in real time according to the query request of the video network terminal, if the real-time service is finished, the number corresponding to the virtual terminal of the video network is recovered by the empty number management module, and the state of the modified number is in an idle state, the bound virtual terminal of the video network can be redistributed in the next service, and the service requirement can be fully met by using the limited resources of the streaming media server through a dynamic multiplexing method.
Referring to fig. 6, a flowchart illustrating specific steps of an embodiment of a resource configuration method based on a video network according to the present invention is shown, which specifically includes the following steps:
step 601: and receiving the query request of the video network terminal.
Step 602: and acquiring an idle number through the idle number management module.
Step 603: and determining the video networking virtual terminal corresponding to the idle number as a binding video networking virtual terminal.
Step 604: and binding the virtual terminal of the binding video network with the video network terminal, and modifying the state of the idle number into an occupied state.
Step 605: and sending the number corresponding to the binding video networking virtual terminal to the video networking terminal.
In the embodiment of the invention, after the binding video networking virtual terminal is bound with the video networking terminal, the streaming media server can send the number corresponding to the binding video networking virtual terminal to the video networking terminal, and then the video networking terminal can communicate with the video networking terminal on the roof according to the number.
In the embodiment of the present invention, throughsteps 606 to 609, a data flow direction of a real-time service between the video network terminal and the internet terminal is established by binding the video network virtual terminal and the internet virtual terminal.
Step 606: and receiving the video networking terminal service request through the binding video networking virtual terminal.
In the embodiment of the present invention, the video network terminal may send a specific service request to the binding video network virtual terminal, where the service request may include an internet terminal identifier of an internet terminal that desires to communicate, where the internet terminal identifier may be a terminal serial number, an IP address, and the like of the video network terminal.
Step 607: and sending the service request to an internet terminal corresponding to the service request of the video networking terminal through the internet virtual terminal.
In the embodiment of the invention, the service request can be sent to the internet terminal corresponding to the service request of the video networking terminal through the internet virtual terminal in the streaming media server.
Preferably, step 607 may include:
converting the service request into an internet service request;
and sending the internet service request to an internet terminal corresponding to the video networking terminal service request through the internet virtual terminal.
In the embodiment of the invention, because the service request sent by the video network terminal is identifiable by the video network, the streaming media server can convert the service request of the video network into the internet service request identifiable by the internet according to the preset protocol, and then send the internet service request to the internet terminal corresponding to the service request of the video network terminal through the internet virtual terminal.
Step 608: and receiving the response information of the Internet terminal through the Internet virtual terminal.
In the embodiment of the invention, after receiving the internet service request, the internet terminal can send out response information according to the service request so as to respond to the service request.
Step 609: and sending the response information to the video network terminal through the binding video network virtual terminal.
In the embodiment of the invention, the response information can be sent to the corresponding video network terminal through the binding video network virtual terminal in the streaming media server so as to carry out real-time service between the video network terminal and the internet terminal.
Preferably, step 609 may comprise:
converting the response information into video networking response information;
and sending the video networking response information to the video networking terminal through the binding video networking virtual terminal.
In the embodiment of the invention, because the response information sent by the internet terminal can be identified by the internet, the streaming media server can convert the response information of the internet into the response information of the video network which can be identified by the video network according to the preset protocol, and then sends the response information of the video network to the video network terminal through the binding video network virtual terminal.
Step 610: and if the real-time service is finished, the number corresponding to the virtual terminal of the binding video network is recovered through the empty number management module, and the state of the number is modified into an idle state.
Referring to fig. 7, a specific application diagram of the embodiment of the present invention is shown, in which a video network terminal sends a service query request such as direct or video telephone; the streaming media server receives the video networking message, searches for a free number from the empty number management module, temporarily binds the obtained free number with a user channel number, and sends the binding number to the video networking terminal; the video network terminal receives the stream media server message, acquires the binding video network number and then initiates a service request to the stream media; the streaming media server sends a service request to the mobile terminal equipment; the video network terminal establishes a real-time service with the mobile terminal device through the streaming media server; when the service is finished, the streaming media recovers the bound video networking number, updates the state to be an idle state, and waits for being used next time.
In the embodiment of the invention, the dynamic multiplexing of the streaming media server is realized, the dynamic multiplexing of the streaming media can refer to a calling mode realized by adding a main message number and a user channel number when the streaming media server dynamically multiplexes a video networking number, when the streaming media receives a video networking terminal service request message, an idle number is searched from an idle number module, then the idle number and the channel number are temporarily bound, the bound number is notified to the terminal, the terminal initiates a service to the bound video networking number, and when the service is finished, the streaming media recovers the number and updates the number into an idle state to wait for being used for the next time. The dynamic multiplexing of the streaming media server can ensure that the resources of the streaming media server have higher interest rate when the service requests for multiple times, thereby facilitating the management of the resources by the streaming media, and simultaneously, the low delay, the low packet loss rate and the high security of the audio and video can be ensured under the video networking protocol based on the two-layer link layer communication protocol.
In summary, the embodiment of the present invention can be applied to a streaming media server of a video network, in which an internet virtual terminal corresponding to an internet terminal, a video network virtual terminal corresponding to a video network terminal, and a blank number management module are preset in the streaming media server; after receiving the query request of the video networking terminal, the streaming media server can acquire an idle number through the idle number management module, determine that the video networking virtual terminal corresponding to the idle number is a binding video networking virtual terminal, then bind the binding video networking virtual terminal with the video networking terminal, and modify the state of the idle number into an occupied state; then, by binding the video network virtual terminal and the internet virtual terminal, real-time services of the video network terminal and the internet terminal are established; the embodiment of the method binds the corresponding virtual terminal of the video network to the video network terminal in real time according to the query request of the video network terminal, if the real-time service is finished, the number corresponding to the virtual terminal of the video network is recovered by the empty number management module, and the state of the modified number is in an idle state, the bound virtual terminal of the video network can be redistributed in the next service, and the service requirement can be fully met by using the limited resources of the streaming media server through a dynamic multiplexing method.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 7, a block diagram of a resource configuration device based on video networking according to the present invention is shown, and the device can be applied to a streaming media server, wherein an internet virtual terminal corresponding to an internet terminal, a video networking virtual terminal corresponding to a video networking terminal, and a blank number management module are preset in the streaming media server; the device further comprises:
a queryrequest receiving module 810, configured to receive a query request of the video networking terminal;
an idlenumber obtaining module 820, configured to obtain an idle number through the idle number management module;
a bound video networking virtualterminal determining module 830, configured to determine that the video networking virtual terminal corresponding to the idle number is a bound video networking virtual terminal;
abinding module 840, configured to bind the virtual terminal of the binding video networking with the video networking terminal, and modify the state of the idle number to an occupied state;
a real-timeservice establishing module 850, configured to establish a real-time service between the video networking terminal and the internet terminal by binding the video networking virtual terminal and the internet virtual terminal;
and arecycling module 860, configured to recycle, by the empty number management module, the number corresponding to the virtual terminal of the binding video network if the real-time service is ended, and modify a state of the number to be an idle state.
Preferably, referring to fig. 9, on the basis of fig. 8, the apparatus further includes:
anumber sending module 870, configured to send the number corresponding to the virtual terminal of the binding video networking to the video networking terminal.
The real-timeservice establishing module 850 includes:
a servicerequest receiving submodule 8501, configured to receive, through the binding video networking virtual terminal, the video networking terminal service request;
a servicerequest sending submodule 8502 for sending the service request to an internet terminal corresponding to the service request of the video network terminal through the internet virtual terminal;
a response information receiving sub-module 8503, configured to receive response information of the internet terminal through the internet virtual terminal;
and a responsemessage sending submodule 8504, configured to send the response message to the video networking terminal through the binding video networking virtual terminal.
The servicerequest sending submodule 8502 includes:
a service request conversion unit, configured to convert the service request into an internet service request;
and the internet service request sending unit is used for sending the internet service request to an internet terminal corresponding to the video network terminal service request through the internet virtual terminal.
The response information transmitting sub-module 8504 includes:
the response information conversion unit is used for converting the response information into video networking response information;
and the video networking response information sending unit is used for sending the video networking response information to the video networking terminal through the binding video networking virtual terminal.
In summary, the embodiment of the present invention can be applied to a streaming media server of a video network, in which an internet virtual terminal corresponding to an internet terminal, a video network virtual terminal corresponding to a video network terminal, and a blank number management module are preset in the streaming media server; after receiving the query request of the video networking terminal, the streaming media server can acquire an idle number through the idle number management module, determine that the video networking virtual terminal corresponding to the idle number is a binding video networking virtual terminal, then bind the binding video networking virtual terminal with the video networking terminal, and modify the state of the idle number into an occupied state; then, by binding the video network virtual terminal and the internet virtual terminal, real-time services of the video network terminal and the internet terminal are established; the embodiment of the method binds the corresponding virtual terminal of the video network to the video network terminal in real time according to the query request of the video network terminal, if the real-time service is finished, the number corresponding to the virtual terminal of the video network is recovered by the empty number management module, and the state of the modified number is in an idle state, the bound virtual terminal of the video network can be redistributed in the next service, and the service requirement can be fully met by using the limited resources of the streaming media server through a dynamic multiplexing method.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The foregoing describes in detail a resource allocation method and apparatus based on video networking, and the principle and implementation of the present invention are explained by applying specific examples, and the description of the foregoing examples is only used to help understanding the method and 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)

CN201811409884.0A2018-11-232018-11-23Resource configuration method and device based on video networkActiveCN109474715B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811409884.0ACN109474715B (en)2018-11-232018-11-23Resource configuration method and device based on video network

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811409884.0ACN109474715B (en)2018-11-232018-11-23Resource configuration method and device based on video network

Publications (2)

Publication NumberPublication Date
CN109474715A CN109474715A (en)2019-03-15
CN109474715Btrue CN109474715B (en)2020-10-27

Family

ID=65673357

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811409884.0AActiveCN109474715B (en)2018-11-232018-11-23Resource configuration method and device based on video network

Country Status (1)

CountryLink
CN (1)CN109474715B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110113631A (en)*2019-03-282019-08-09视联动力信息技术股份有限公司A kind of video flowing sharing method and system
CN110166832A (en)*2019-04-152019-08-23视联动力信息技术股份有限公司A kind of communication means based on media data and view networked system
CN110166742B (en)*2019-04-182021-10-19视联动力信息技术股份有限公司 Video distribution method and device based on video networking
CN110177249B (en)*2019-04-182021-10-19视联动力信息技术股份有限公司 Video download method and device based on video network
CN110505447B (en)*2019-07-292021-08-20视联动力信息技术股份有限公司 Monitoring video transmission method, device, equipment and storage medium based on video networking
CN111193944B (en)*2019-12-172023-06-06视联动力信息技术股份有限公司 A sub-device number configuration method, device and storage medium
CN117614976B (en)*2023-11-162025-05-02北京乐氏联创科技有限公司Internet of things terminal data acquisition system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US6076110A (en)*1997-11-252000-06-13International Business Machines CorporationSystem and method for server virtual device name negotiation
CN103634416A (en)*2012-08-232014-03-12中国移动通信集团公司Equipment number management method and platform
CN105657328A (en)*2016-01-042016-06-08杭州华为企业通信技术有限公司Method, device and system for scheduling conference resources
CN106331581A (en)*2015-07-062017-01-11北京视联动力国际信息技术有限公司Method and device for communication between mobile terminal and video networking terminal
CN108234410A (en)*2016-12-152018-06-29北京视联动力国际信息技术有限公司A kind of virtual terminal distribution method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR101403783B1 (en)*2013-06-202014-06-03박종하Virtual space providing system for distinct step of application execution

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US6076110A (en)*1997-11-252000-06-13International Business Machines CorporationSystem and method for server virtual device name negotiation
CN103634416A (en)*2012-08-232014-03-12中国移动通信集团公司Equipment number management method and platform
CN106331581A (en)*2015-07-062017-01-11北京视联动力国际信息技术有限公司Method and device for communication between mobile terminal and video networking terminal
CN105657328A (en)*2016-01-042016-06-08杭州华为企业通信技术有限公司Method, device and system for scheduling conference resources
CN108234410A (en)*2016-12-152018-06-29北京视联动力国际信息技术有限公司A kind of virtual terminal distribution method and device

Also Published As

Publication numberPublication date
CN109474715A (en)2019-03-15

Similar Documents

PublicationPublication DateTitle
CN109474715B (en)Resource configuration method and device based on video network
CN110198345B (en)Data request method, system and device and storage medium
CN109525460B (en)Method and device for monitoring number resources of video network
CN108737768B (en)Monitoring method and monitoring device based on monitoring system
CN109167960B (en)Method and system for processing video stream data
CN109617956B (en)Data processing method and device
CN109996086B (en) A method and device for querying the status of a video network service
CN110190973B (en)Online state detection method and device
CN109660816B (en)Information processing method and device
CN110602039A (en)Data acquisition method and system
CN110049341B (en)Video processing method and device
CN109246135B (en)Method and system for acquiring streaming media data
CN109005378B (en)Video conference processing method and system
CN110557319B (en)Message processing method and device based on video network
CN110830826A (en)Video transcoding equipment scheduling method and system
CN109347930B (en)Task processing method and device
CN110446058B (en)Video acquisition method, system, device and computer readable storage medium
CN110062259B (en)Video acquisition method, system, device and computer readable storage medium
CN110839141A (en)Resource acquisition method and device
CN110177244B (en)Method and system for polling conference terminal
CN110475160B (en)Method and device for transmitting video data across video network
CN109819209B (en)System, method and device for monitoring resource calling
CN109788231B (en)Video telephone service processing method and device
CN109802944B (en)Method and system for releasing live broadcast based on video network
CN109495709B (en)Video network management system and method

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
TR01Transfer of patent right
TR01Transfer of patent right

Effective date of registration:20201230

Address after:571924 building C07, Zone C, Hainan Ecological Software Park, hi tech Industrial Demonstration Zone, old town, Haikou City, Hainan Province

Patentee after:Hainan Shilian Communication Technology Co.,Ltd.

Address before:100000 Beijing Dongcheng District Qinglong Hutong 1 Song Hua Building A1103-1113

Patentee before:VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.


[8]ページ先頭

©2009-2025 Movatter.jp