CN110049282A - Method for processing video frequency and device - Google Patents

Method for processing video frequency and device Download PDF

Info

Publication number
CN110049282A
CN110049282A CN201910200148.2A CN201910200148A CN110049282A CN 110049282 A CN110049282 A CN 110049282A CN 201910200148 A CN201910200148 A CN 201910200148A CN 110049282 A CN110049282 A CN 110049282A
Authority
CN
China
Prior art keywords
video
sub
target
networking
server
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.)
Granted
Application number
CN201910200148.2A
Other languages
Chinese (zh)
Other versions
CN110049282B (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 CN201910200148.2A priority Critical patent/CN110049282B/en
Publication of CN110049282A publication Critical patent/CN110049282A/en
Application granted granted Critical
Publication of CN110049282B publication Critical patent/CN110049282B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • 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/254Management at additional data server, e.g. shopping server, rights management server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/437Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4882Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders
    • 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)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses method for processing video frequency and device.The embodiment of this method includes: the video acquisition request for receiving monitor supervision platform and sending;The idle sub- number of view networking is searched, as the sub- number of target view networking, based on the sub- number of target view networking, Xiang Xiezhuan server sends video acquisition request;The video that the association turns server return is received, which is forwarded to the target ip address and the target port.The embodiment saves the view networking number resource configured in shared server.

Description

Method for processing video frequency and device
Technical field
The present embodiments relate to view networking technology field, specific method for processing video frequency and device.
Background technique
There is a number depending on each of networking terminal, for identifying the terminal.This number can be described as view networking Number.By view networking number, relevant business (such as forwarding video) can be executed.
It is each to be only capable of executing a business depending on networking number in the same time in existing mode.If desired processing is more Business, then need to configure more view networking numbers.It therefore, is raising business processing quantity, it usually needs configure more Depending on number of networking, result in the need for occupying more view networking number resource.
Summary of the invention
The embodiment of the present invention proposes method for processing video frequency and device, to solve in the prior art as raising business processing number Amount occupies more technical problem depending on networking number resource.
In a first aspect, the embodiment of the invention provides a kind of method for processing video frequency, applied to the shared service in view networking Device, configured at least one view networking number in shared server, each view networking number has respectively corresponded at least one view and has networked Sub- number, this method comprises: receiving the video acquisition request that monitor supervision platform is sent, wherein video acquisition request includes that target is mutual Networking protocol IP address and target port;The idle sub- number of view networking is searched, as the sub- number of target view networking, passes through target Depending on sub- number of networking, Xiang Xiezhuan server sends video acquisition request;The video that association turns server return is received, video is forwarded To target ip address and target port.
In some embodiments, monitor supervision platform includes front end presentation device and back-end server;And it is flat receiving monitoring After the video acquisition request that platform is sent, this method further include: test to the information in video acquisition request;In response to true Surely it upchecks, forward end presentation device sends first message, so that front end presentation device shows first message, wherein first Message be used to indicate request failure and information the test fails.
In some embodiments, after searching the idle sub- number of view networking, this method further include: in response to determining not In the presence of the idle sub- number of view networking, forward end presentation device sends second message, so that front end presentation device shows that second disappears Breath, wherein second message is used to indicate request failure and does not find idle view networking number.
In some embodiments, after video is forwarded to target ip address and target port, this method further include: ring The stopping that Ying Yu receives monitor supervision platform transmission receives video instructions, and Xiang Xiezhuan server transparent transmission stops receiving video instructions, with Make association turn server to stop sending video, and, stop sending video to target ip address and target port.
In some embodiments, after the stopping in response to receiving monitor supervision platform transmission receives video instructions, the party Method further include: the sub- number of release target view networking, so that target is in idle condition depending on sub- number of networking.
Second aspect, the embodiment of the invention provides a kind of video process apparatus, applied to the shared service in view networking Device, configured at least one view networking number in shared server, each view networking number has respectively corresponded at least one view and has networked Sub- number, the device include: receiving unit, are configured to receive the video acquisition request of monitor supervision platform transmission, wherein video obtains Taking request includes targeted internet Protocol IP address and target port;Searching unit is configured to search idle view networking Number passes through the sub- number of target view networking as the sub- number of target view networking, and Xiang Xiezhuan server sends video acquisition request; Retransmission unit is configured to receive the video that association turns server return, video is forwarded to target ip address and target port.
In some embodiments, monitor supervision platform includes front end presentation device and back-end server;And the device further include: Verification unit, the information being configured in requesting video acquisition are tested;First transmission unit is configured in response to really Surely it upchecks, forward end presentation device sends first message, so that front end presentation device shows first message, wherein first Message be used to indicate request failure and information the test fails.
In some embodiments, in some embodiments, device further include: the second transmission unit is configured to respond to In determining that forward end presentation device sends second message there is no idle view networking sub- number, so that front end presentation device is aobvious Show second message, wherein second message is used to indicate request failure and does not find idle view networking number.
In some embodiments, device further include: stop unit is configured in response to receive monitor supervision platform transmission Stopping receive video instructions, Xiang Xiezhuan server transparent transmission stop receive video instructions so that association turn server stop send view Frequently, and, stop sending video to target ip address and target port.
In some embodiments, the device further include: releasing unit is configured to discharge the sub- number of target view networking, with It is in idle condition target depending on sub- number of networking.
Method for processing video frequency and device provided in an embodiment of the present invention, using the characteristic of view networking, for depending on being total in networking It enjoys configured at least one view networking number in server, and at least one corresponding view connection is respectively configured depending on networking number to be each Net number, after receiving the video acquisition request that monitor supervision platform is sent, by searching for the idle sub- number of view networking and conduct The sub- number of target view networking, then by the sub- number of target view networking, Xiang Xiezhuan server sends video acquisition request, is most followed by The video that association turns server return is received, video is forwarded to target ip address and target port.As a result, by using view networking Number does not need to configure more view networking numbers for shared server, can be realized the processing of more business yet, greatly reduce The configuration quantity of view networking number saves the view networking number resource configured in shared server.Meanwhile it improving Traffic handing capacity under the view networking number situation of identical quantity.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, of the invention other Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of networking schematic diagram of view networking of the invention;
Fig. 2 is a kind of hardware structural diagram of node server of the invention;
Fig. 3 is a kind of hardware structural diagram of access switch of the invention;
Fig. 4 is the hardware structural diagram that a kind of Ethernet association of the invention turns gateway;
Fig. 5 is the flow chart of method for processing video frequency one embodiment of the invention;
Fig. 6 is the structural schematic diagram of video process apparatus one embodiment of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
It is the important milestone of network Development depending on networking, is a real-time network, can be realized HD video real-time Transmission, Push numerous Internet applications to HD video, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or Computer realizes that high-definition quality video plays.
Embodiment in order to enable those skilled in the art to better understand the present invention is introduced to depending on networking below:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Traditional ethernet (Ethernet) is improved depending on the network technology innovation networked, with potential huge on network Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network Switching), Streaming demand is met using Packet Switching depending on networking technology.Has grouping depending on networking technology Flexible, the simple and low price of exchange, is provided simultaneously with the quality and safety assurance of circuit switching, it is virtually electric to realize the whole network switch type The seamless connection of road and data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch that Ethernet is used depending on networking eliminate Ethernet under the premise of complete compatible and lack It falls into, has the end-to-end seamless connection of the whole network, direct user terminal, directly carrying IP data packet.User data is in network-wide basis It is not required to any format conversion.It is the more advanced form of Ethernet depending on networking, is a real-time exchange platform, can be realized at present mutually The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous network video applications to high Qinghua, unitizes.
Server technology (Server Technology)
It is different from traditional server, its Streaming Media depending on the server technology in networking and unified video platform Transmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energy Enough transmitted comprising signaling and data.For voice and video business, handled depending on networking and unified video platform Streaming Media Complexity many simpler than data processing, efficiency substantially increase hundred times or more than traditional server.
Reservoir technology (Storage Technology)
The ultrahigh speed reservoir technology of unified video platform in order to adapt to the media content of vast capacity and super-flow and Using state-of-the-art real time operating system, the programme information in server instruction is mapped to specific hard drive space, media Content is no longer pass through server, and moment is directly delivered to user terminal, and user waits typical time less than 0.2 second.It optimizes Sector distribution greatly reduces the mechanical movement of hard disc magnetic head tracking, and resource consumption only accounts for the 20% of the internet ad eundem IP, but The concurrent flow greater than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Depending on the structural design networked by servicing independent licence system, equipment and the modes such as user data is completely isolated every time The network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, firewall generally, has prevented black The attack of visitor and virus, structural carefree secure network is provided for user.
It services innovative technology (Service Innovation Technology)
Business and transmission are fused together by unified video platform, whether single user, private user or a net The sum total of network is all only primary automatic connection.User terminal, set-top box or PC are attached directly to unified video platform, obtain rich The multimedia video service of rich colorful various forms.Unified video platform is traditional to substitute with table schema using " menu type " Complicated applications programming, considerably less code, which can be used, can be realized complicated application, realize the new business innovation of " endless ".
Networking depending on networking is as described below:
It is a kind of central controlled network structure depending on networking, which can be Tree Network, Star network, ring network etc. class Type, but centralized control node is needed to control whole network in network on this basis.
As shown in Figure 1, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes: node server, access switch, terminal (including various machines Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases Even, and it can connect Ethernet.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal. Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes: metropolitan area server, node switch, node serve Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking network, and node server and metropolitan area The network controlled under server can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 embodiment of the present invention can be mainly divided into 3 classes: server depending on the equipment in networking, interchanger (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).Depending on networking can be divided on the whole Metropolitan Area Network (MAN) (or National net, World Wide Web etc.) and access net.
1.2 equipment for wherein accessing mesh portions can be mainly divided into 3 classes: node server, access switch (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The specific hardware structure of each access network equipment are as follows:
Node server:
As shown in Fig. 2, mainly including Network Interface Module 201, switching engine module 202, CPU module 203, disk array Module 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engine Module 202;Switching engine module 202 look into the operation of address table 205 to the packet come in, to obtain the navigation information of packet; And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 206;If the queue of pack buffer 206 is close It is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded: 1) port if meeting the following conditions It is less than to send caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, including The operation such as initialization, read-write to hard disk;CPU module 203 is mainly responsible between access switch, terminal (not shown) Protocol processes, to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet addressed table) Configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, mainly including Network Interface Module (downstream network interface module 301, uplink network interface module 302), switching engine module 303 and CPU module 304;
Wherein, the packet (upstream data) that downstream network interface module 301 is come in enters packet detection module 305;Packet detection mould Whether mesh way address (DA), source address (SA), type of data packet and the packet length of the detection packet of block 305 meet the requirements, if met, It then distributes corresponding flow identifier (stream-id), and enters switching engine module 303, otherwise abandon;Uplink network interface mould The packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 204 is come in enters switching engine Module 303;Switching engine module 303 look into the operation of address table 306 to the packet come in, to obtain the navigation information of packet; If the packet into switching engine module 303 is that downstream network interface is gone toward uplink network interface, in conjunction with flow identifier (stream-id) packet is stored in the queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, It abandons;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, according to packet Navigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, Then abandon.
All pack buffer queues of 303 poll of switching engine module, are divided to two kinds of situations in embodiments of the present invention:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded: 1) It is less than that the port sends caching;2) the queue package counting facility is greater than zero;3) token that rate control module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and is forwarded: 1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable interval Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and, Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module 402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking mesh way address of measured data packet DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 410 (2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, according to the view of packet networking mesh if there is Bao Ze Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway SA, Ethernet length or frame type, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes: node server, node switch, metropolitan area server. Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
Access net data packet mainly include following sections: destination address (DA), source address (SA), reserve bytes, payload(PDU)、CRC。
As shown in the table, the data packet for accessing net mainly includes following sections:
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address, Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The part payload has different length according to the type of different datagrams, is if it is various protocol packages 64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment It can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node server Connection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipment System, introduces parameter in embodiments of the present invention: label, uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into 0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN) Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its In, the format of label, which can refer to, such as gives a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, its position Set is between the reserve bytes and payload of data packet.
Based on the above-mentioned characteristic of view networking, one of the core concepts of the embodiments of the present invention is proposed, it then follows regard the association of networking It is sub then to regard networking by the target by searching for the idle sub- number of view networking and as the sub- number of target view networking for view Number, Xiang Xiezhuan server send the video acquisition request, finally receive the video that the association turns server return, will be described Video is forwarded to the target ip address and the target port.
With continued reference to Fig. 5, it illustrates the processes 500 of one embodiment of method for processing video frequency according to the present invention.It should Method can be applied to the shared server in view networking.
Herein, shared server can carry out the forwarding of video.Shared server can regard networking instruction (example by receiving The video acquisition request sent such as monitor supervision platform), server is turned by association and obtains monitoring live streaming or record from streaming media server Picture is then forwarded in specified equipment.
Herein, above-mentioned association turns server alternatively referred to as monitoring access server, and the monitoring device in internet is responsible for connect Enter into view networking, it can be achieved that controlling the monitoring device on internet in view networking.In practice, above-mentioned association turns server can be with Streaming media (such as audio-video) content is acquired, caches, dispatches and transmits broadcasting.Above-mentioned association, which turns server, to be equipped with Data in internet are sent to view connection to realize by double netcard (i.e. the network interface card of the network interface card of connection view networking and connection internet) In net.
Herein, configured at least one view networking number in above-mentioned shared server.In practice, in view networking, each Terminal has a unique number, and for identifying the terminal, which is to regard networking number.Due to can be with depending on networking number Terminal is identified, therefore, by view networking number, can be communicated with the external world, such as receive message (such as video acquisition request).
Herein, each to be corresponding at least one sub- number of view networking depending on networking number.It, can depending on networking sub- number in practice It is each to be corresponding with one or more sub- numbers depending on networking number to be considered as the expansion of networking number.For some view connection Network No. code, view view corresponding to number of networking network the quantity of sub- number, and the sub- number of devices that can be issued by network management is determined It is fixed.In practice, sub- equipment can be the corresponding virtual unit of terminal.For example, regarding networked terminals for some, a son number is used Code is only capable of output video pictures all the way, and if desired the view networked terminals export three road video pictures, then three font sizes can be set Code, invents three sub- equipment.The function of three view networked terminals is realized using a view networked terminals as a result,.It needs Illustrate, once fictionalizing a sub- equipment, then the mark of the sub- equipment is sub- number, one son of a sub- number mark Equipment, and be unique.
In practice, networking number is regarded for some, the sub- number 0 of view networking can be defaulted first for it.Then, may be used With the sub- number of devices issued based on network management, the setting of the sub- number of subsequent view networking is successively carried out.Such as it successively increases 1 and also sets Set the sub- number of view networking.It is i.e. subsequent to be followed successively by 1,2 depending on sub- number 0 of networking, and so on.
It can specifically include following steps:
Step 501, the video acquisition request that monitor supervision platform is sent is received.
In the present embodiment, the executing subject (such as depending on shared server in networking) of method for processing video frequency can be with prison It controls platform and is based on view networking protocol communication connection.Above-mentioned executing subject can receive the video acquisition request of monitor supervision platform transmission. Wherein, video acquisition request includes Target IP (Internet Protocol, Internet protocol) address and target port.Practice In, above-mentioned target ip address can be the IP address of the video reception apparatus in monitor supervision platform.Above-mentioned target port can be use In the port numbers for the specified application for accessing above-mentioned video reception apparatus.
It, can be with it should be noted that the request of above-mentioned video acquisition is in addition to comprising above-mentioned target ip address and target port Stream request, the national standard mark of message request side, association is including but not limited to adjusted to turn main message number, monitoring coding, video information etc..
In some optional implementations of the present embodiment, above-mentioned monitor supervision platform may include front end presentation device with after Hold server.Wherein, above-mentioned front end presentation device can be responsible for the showing of integral monitoring catalogue, monitor video is transferred, monitored The configuration etc. of platform.Above-mentioned monitor supervision platform can be based on RTP (Real-time Transport Protocol, real-time Transmission association View) transmission data.Above-mentioned back-end server can be responsible for entirely regarding the unified management of the monitoring device of all accesses in networking. Herein, the request of above-mentioned video acquisition, which can be, is sent to above-mentioned back-end server by above-mentioned front end presentation device, then by after above-mentioned End server is sent to above-mentioned executing subject.
In practice, above-mentioned front end presentation device can be equipped with browser, and above-mentioned browser can run multipath decoding Plug-in unit, above-mentioned multipath decoding plug-in unit may be used to provide monitor video display function (such as while show four monitored pictures Function).To monitoring personnel may be viewed by monitor video by browser.In practice, above-mentioned multipath decoding plug-in unit can Carry out the operation such as decoding of RTP data packet.Above-mentioned multipath decoding plug-in unit can be with existing various multi-channel decoders.In monitoring personnel After choosing four monitored picture click plays, above-mentioned front end presentation device can be serviced to the back-end by above-mentioned multipath decoding plug-in unit Device sends video acquisition request.
In some optional implementations of the present embodiment, it is requested receiving the video acquisition that monitor supervision platform is sent Afterwards, above-mentioned executing subject can also test to the information in the request of above-mentioned video acquisition.As an example, may determine that monitoring Whether the length of the information such as coding and incoming IP, port meets the requirements.It upchecks in response to determination, it can be to above-mentioned front end Presentation device sends first message, so that above-mentioned front end presentation device shows above-mentioned first message.Wherein, above-mentioned first message can Be used to indicate request failure and information the test fails.
Step 502, the idle sub- number of view networking is searched, as the sub- number of target view networking, it is sub to pass through target view networking Number, Xiang Xiezhuan server send video acquisition request.
In the present embodiment, what is configured in above-mentioned executing subject can have depending on networking number, depending on the sub- number of networking It is used to indicate whether idle mark.By checking the mark of a certain number, that is, can determine whether the number is idle.
Herein, above-mentioned executing subject can search the idle sub- number of view networking, as the sub- number of target view networking, and lead to The sub- number of above-mentioned target view networking is crossed, Xiang Xiezhuan server sends video acquisition request.Specifically, it can be regarded by above-mentioned target The corresponding terminal of sub- number of networking (the sub- equipment for being specifically as follows the terminal) Xiang Xiezhuan server sends video acquisition request.
Previous situation, due to being not provided with the sub- number of view networking, thus, each view networking number in shared server is only A business can be executed.It networks after sub- number for each view that is respectively configured depending on networking number, each sub- number of view networking To execute business.It does not need to configure more view networking numbers for shared server as a result, can be realized the place of more business yet Reason greatly reduces the configuration quantity of view networking number, improves at the business under the view networking number situation of identical quantity Reason ability.
In some optional implementations of the present embodiment, in response to determining there is no the sub- number of idle view networking, Above-mentioned executing subject can send second message to above-mentioned front end presentation device, so that above-mentioned front end presentation device shows above-mentioned the Two message.Wherein, above-mentioned second message is used to indicate request failure and does not find idle view networking number.
Step 503, the video that association turns server return is received, video is forwarded to target ip address and target port.
In the present embodiment, above-mentioned executing subject can receive the video assisted and turn server return, and the video is forwarded To target ip address and target port.Monitor supervision platform can receive the video forwarded in above-mentioned target port as a result,.Tool Body, association can be received depending on the corresponding terminal (the sub- equipment for being specifically as follows the terminal) of sub- number of networking by above-mentioned target and turned The video that server returns, and the video is forwarded to target ip address and target port.
In some optional implementations of the present embodiment, above-mentioned video is being forwarded to above-mentioned target ip address and upper After stating target port, above-mentioned executing subject receives video instructions in response to receiving the stopping that above-mentioned monitor supervision platform is sent, can Video instructions are received to turn the above-mentioned stopping of server transparent transmission to above-mentioned association, so that above-mentioned association turns server and stops sending above-mentioned view Frequently, and, can stop sending above-mentioned video to above-mentioned target ip address and above-mentioned target port.
In some optional implementations of the present embodiment, connect in response to receiving the stopping that above-mentioned monitor supervision platform is sent Video instructions are received, above-mentioned executing subject can also discharge the sub- number of above-mentioned target view networking, so that above-mentioned target view networking son number Code is in idle condition, and is used convenient for next time.
Method for processing video frequency provided in an embodiment of the present invention is in shared server configured at least one view networking number Yard, and be at least one corresponding sub- number of view networking of each view networking number configuration, it is obtained in the video for receiving monitor supervision platform transmission After taking request, by searching for the idle sub- number of view networking and as the sub- number of target view networking, then regarded by above-mentioned target It networks sub- number, Xiang Xiezhuan server sends above-mentioned video acquisition request, the video that above-mentioned association turns server return is finally received, Above-mentioned video is forwarded to above-mentioned target ip address and above-mentioned target port.As a result, by using the sub- number of view networking, do not need More view networking numbers are configured for shared server, the processing of more business is also can be realized, greatly reduces view networking number The configuration quantity of code saves the view networking number resource configured in shared server.Meanwhile it improving in identical quantity Depending on the traffic handing capacity under networking number situation.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
With further reference to Fig. 6, the structural schematic diagram of one embodiment of video process apparatus of the invention is shown, the dress The shared server that can be applied in view networking is set, at least one view networking number is configured in the shared server, respectively At least one sub- number of view networking is corresponding with depending on networking number.
As shown in fig. 6, video process apparatus 600 described in the present embodiment includes: receiving unit 601, it is configured to receive The video acquisition request that monitor supervision platform is sent, wherein above-mentioned video acquisition request includes targeted internet Protocol IP address and mesh Mark port;Searching unit 602 is configured to search the idle sub- number of view networking, as the sub- number of target view networking, by upper The sub- number of target view networking is stated, Xiang Xiezhuan server sends above-mentioned video acquisition request;Retransmission unit 603 is configured to receive Above-mentioned association turns the video of server return, and above-mentioned video is forwarded to above-mentioned target ip address and above-mentioned target port.
In some optional implementations of the present embodiment, above-mentioned monitor supervision platform includes front end presentation device and rear end clothes Business device;And device further include: verification unit (not shown), the information being configured in requesting above-mentioned video acquisition It tests;First transmission unit is configured in response to determination and upchecks, and the front end Xiang Shangshu presentation device sends first and disappears Breath, so that above-mentioned front end presentation device shows above-mentioned first message, wherein above-mentioned first message is used to indicate request failure and believes The test fails for breath.
In some optional implementations of the present embodiment, in some embodiments, the device further include: second sends Unit (not shown) is configured in response to determine that the front end Xiang Shangshu shows and sets there is no idle view networking sub- number Preparation send second message, so that above-mentioned front end presentation device shows above-mentioned second message, wherein above-mentioned second message is used to indicate Request failure and the view networking number for not finding the free time.
In some optional implementations of the present embodiment, the device further include: stop unit (not shown), quilt It is configured to receive the stopping reception video instructions that above-mentioned monitor supervision platform is sent, it is above-mentioned to turn server transparent transmission to above-mentioned association Stop receiving video instructions, so that above-mentioned association turns server and stops sending above-mentioned video, and, stop to above-mentioned target ip address Above-mentioned video is sent with above-mentioned target port.
In some optional implementations of the present embodiment, the device further include: releasing unit (not shown), quilt It is configured to discharge the sub- number of above-mentioned target view networking, so that above-mentioned target is in idle condition depending on sub- number of networking.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
Video process apparatus provided in an embodiment of the present invention is in shared server configured at least one view networking number Yard, and be at least one corresponding sub- number of view networking of each view networking number configuration, it is obtained in the video for receiving monitor supervision platform transmission After taking request, by searching for the idle sub- number of view networking and as the sub- number of target view networking, then regarded by above-mentioned target It networks sub- number, Xiang Xiezhuan server sends above-mentioned video acquisition request, the video that above-mentioned association turns server return is finally received, Above-mentioned video is forwarded to above-mentioned target ip address and above-mentioned target port.As a result, by using the sub- number of view networking, do not need More view networking numbers are configured for shared server, the processing of more business is also can be realized, greatly reduces view networking number The configuration quantity of code saves the view networking number resource configured in shared server.Meanwhile it improving in identical quantity Depending on the traffic handing capacity under networking number situation.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
It above to method for processing video frequency provided by the present invention and device, is described in detail, tool used herein Principle and implementation of the present invention are described for body example, the above embodiments are only used to help understand this hair Bright method and its core concept;At the same time, for those skilled in the art, according to the thought of the present invention, specific real Apply in mode and application range that there will be changes, in conclusion the content of the present specification should not be construed as to limit of the invention System.

Claims (10)

1. a kind of method for processing video frequency, which is characterized in that the method is applied to the shared server in view networking, described shared Networking number is regarded configured at least one in server, it is each to have respectively corresponded at least one sub- number of view networking depending on networking number, The described method includes:
Receive the video acquisition request that monitor supervision platform is sent, wherein the video acquisition request includes targeted internet protocol IP Address and target port;
The sub- number of view networking for searching the free time, as the sub- number of target view networking, by the sub- number of target view networking, to association Turn server and sends the video acquisition request;
The video that the association turns server return is received, the video is forwarded to the target ip address and the target side Mouthful.
2. method for processing video frequency according to claim 1, which is characterized in that the monitor supervision platform includes front end presentation device And back-end server;And
After the video acquisition request that the reception monitor supervision platform is sent, the method also includes:
It tests to the information in video acquisition request;
It upchecks in response to determination, the front end Xiang Suoshu presentation device sends first message, so that the front end presentation device is aobvious Show the first message, wherein the first message be used to indicate request failure and information the test fails.
3. method for processing video frequency according to claim 2, which is characterized in that search the idle sub- number of view networking described Later, the method also includes:
In response to determining that the front end Xiang Suoshu presentation device sends second message, so that institute there is no idle view networking sub- number It states front end presentation device and shows the second message, wherein the second message is used to indicate request failure and does not find the free time View network number.
4. method for processing video frequency according to claim 1, which is characterized in that the video is forwarded to the mesh described After marking IP address and the target port, the method also includes:
Video instructions are received in response to receiving the stopping that the monitor supervision platform is sent, turn to stop described in server transparent transmission to the association Only receive video instructions so that the association turns server and stops sending the video, and, stop to the target ip address and The target port sends the video.
5. method for processing video frequency according to claim 1, which is characterized in that described flat in response to receiving the monitoring After the stopping that platform is sent receives video instructions, the method also includes:
The sub- number of the target view networking is discharged, so that the target is in idle condition depending on sub- number of networking.
6. a kind of video process apparatus, which is characterized in that described device is applied to the shared server in view networking, described shared Networking number is regarded configured at least one in server, it is each to have respectively corresponded at least one sub- number of view networking depending on networking number, Described device includes:
Receiving unit is configured to receive the video acquisition request of monitor supervision platform transmission, wherein video acquisition request includes Targeted internet Protocol IP address and target port;
Searching unit is configured to search the idle sub- number of view networking, as the sub- number of target view networking, passes through the target Depending on sub- number of networking, Xiang Xiezhuan server sends the video acquisition request;
Retransmission unit is configured to receive the video that the association turns server return, the video is forwarded to the Target IP Address and the target port.
7. video process apparatus according to claim 6, which is characterized in that the monitor supervision platform includes front end presentation device And back-end server;And
Described device further include:
Verification unit, the information being configured in requesting the video acquisition are tested;
First transmission unit is configured in response to determination and upchecks, and the front end Xiang Suoshu presentation device sends first message, with The front end presentation device is set to show the first message, wherein the first message is used to indicate request failure and information is examined It tests and does not pass through.
8. video process apparatus according to claim 7, which is characterized in that described device further include:
Second transmission unit is configured in response to determine that the front end Xiang Suoshu shows and sets there is no idle view networking sub- number Preparation send second message, so that the front end presentation device shows the second message, wherein the second message is used to indicate Request failure and the view networking number for not finding the free time.
9. video process apparatus according to claim 6, which is characterized in that described device further include:
Stop unit is configured in response to receive the stopping reception video instructions that the monitor supervision platform is sent, to the association Turn stopping described in server transparent transmission and receives video instructions, so that the association turns server and stops sending the video, and, stop The video is sent to the target ip address and the target port.
10. video process apparatus according to claim 6, which is characterized in that described device further include:
Releasing unit is configured to discharge the sub- number of the target view networking, so that target view is networked, sub- number is in sky Not busy state.
CN201910200148.2A 2019-03-15 2019-03-15 Video processing method and device Active CN110049282B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910200148.2A CN110049282B (en) 2019-03-15 2019-03-15 Video processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910200148.2A CN110049282B (en) 2019-03-15 2019-03-15 Video processing method and device

Publications (2)

Publication Number Publication Date
CN110049282A true CN110049282A (en) 2019-07-23
CN110049282B CN110049282B (en) 2021-10-08

Family

ID=67273772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910200148.2A Active CN110049282B (en) 2019-03-15 2019-03-15 Video processing method and device

Country Status (1)

Country Link
CN (1) CN110049282B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101707698A (en) * 2009-11-06 2010-05-12 中兴通讯股份有限公司 Video monitoring system and control method thereof
JP2013090206A (en) * 2011-10-19 2013-05-13 Aiphone Co Ltd Intercom master unit and intercom system
CN103686072A (en) * 2013-11-15 2014-03-26 北京视联动力国际信息技术有限公司 Video internet video monitoring method and system, protocol conversion server, and video internet server
WO2018062812A1 (en) * 2016-09-27 2018-04-05 한국과학기술연구원 Random number generation system using image sensor, random number generation method, database construction method, and computer readable recording medium in which said method is recorded as computer program
CN108881147A (en) * 2017-12-29 2018-11-23 北京视联动力国际信息技术有限公司 A kind of data processing method and device of view networking
CN108965372A (en) * 2017-12-20 2018-12-07 北京视联动力国际信息技术有限公司 A kind of service scheduling method and device
CN109194901A (en) * 2018-09-14 2019-01-11 视联动力信息技术股份有限公司 A kind of method for processing video frequency and device based on view networking

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101707698A (en) * 2009-11-06 2010-05-12 中兴通讯股份有限公司 Video monitoring system and control method thereof
JP2013090206A (en) * 2011-10-19 2013-05-13 Aiphone Co Ltd Intercom master unit and intercom system
CN103686072A (en) * 2013-11-15 2014-03-26 北京视联动力国际信息技术有限公司 Video internet video monitoring method and system, protocol conversion server, and video internet server
WO2018062812A1 (en) * 2016-09-27 2018-04-05 한국과학기술연구원 Random number generation system using image sensor, random number generation method, database construction method, and computer readable recording medium in which said method is recorded as computer program
CN108965372A (en) * 2017-12-20 2018-12-07 北京视联动力国际信息技术有限公司 A kind of service scheduling method and device
CN108881147A (en) * 2017-12-29 2018-11-23 北京视联动力国际信息技术有限公司 A kind of data processing method and device of view networking
CN109194901A (en) * 2018-09-14 2019-01-11 视联动力信息技术股份有限公司 A kind of method for processing video frequency and device based on view networking

Also Published As

Publication number Publication date
CN110049282B (en) 2021-10-08

Similar Documents

Publication Publication Date Title
CN108632559B (en) A kind of video data handling procedure and device
CN110233984A (en) A kind of monitoring system and method based on view networking
CN109525460A (en) A kind of method and apparatus of view networking number resource monitoring
CN108965040A (en) A kind of business monitoring method and device of view networking
CN109996086A (en) A kind of view networking service method for inquiring status and device
CN109617956A (en) A kind of data processing method and device
CN109889780A (en) Method of data synchronization and device
CN109167962A (en) It is a kind of to turn server depending on networked resources method for releasing and monitoring association
CN109474715A (en) A kind of resource allocation method and device based on view networking
CN109150905A (en) A kind of view networked resources method for releasing and view networking share Platform Server
CN109150665A (en) A kind of bandwidth test method and apparatus
CN109284265A (en) A kind of date storage method and system
CN109743555A (en) A kind of information processing method and system based on view networking
CN109873988A (en) Video monitoring system
CN110139124A (en) A kind for the treatment of method and apparatus that monitoring is recorded
CN109491783A (en) A kind of acquisition methods and system of memory usage
CN110493149A (en) A kind of method and apparatus of Message processing
CN110351573A (en) Virtual present presentation method, system and device
CN110187846A (en) Print system, method and apparatus
CN110022500A (en) A kind of loss treating method and device
CN109842630A (en) Method for processing video frequency and device
CN110134892A (en) A kind of loading method and system monitoring the Resources list
CN110049069A (en) A kind of data capture method and device
CN110113555A (en) A kind of video conference processing method and system based on view networking
CN108881148A (en) A kind of data capture method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant