CN110049281A - Method for processing video frequency and device - Google Patents
Method for processing video frequency and device Download PDFInfo
- Publication number
- CN110049281A CN110049281A CN201910199738.8A CN201910199738A CN110049281A CN 110049281 A CN110049281 A CN 110049281A CN 201910199738 A CN201910199738 A CN 201910199738A CN 110049281 A CN110049281 A CN 110049281A
- Authority
- CN
- China
- Prior art keywords
- video
- sub
- server
- networking
- view 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/181—Closed-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)
- Telephonic Communication Services (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (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 sub- number of view networking for searching the free time passes through the sub- number of target view networking, the Xiang Xiezhuan server transmission video acquisition request as the sub- number of target view networking;It receives the association and turns the monitor video of server return, and the monitor video is parsed;Parsing result is sent to the monitor supervision platform.The embodiment saves the view networking number resource configured in video server.
Description
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 carrying out video parsing) 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 Video service in view networking
Device, configured at least one view networking number in video server, each view networking number is corresponding with sub number of at least one view networking
Code, this method comprises: receiving the video acquisition request that monitor supervision platform is sent, wherein video acquisition request is used to indicate acquisition mesh
Mark monitoring device monitor video collected;The idle sub- number of view networking is searched, as the sub- number of target view networking, passes through mesh
The sub- number of mark view networking, Xiang Xiezhuan server send video acquisition request;The monitor video that association turns server return is received, and right
Monitor video is parsed;Parsing result is sent to monitor supervision platform.
In some embodiments, monitor supervision platform includes front end presentation device and back-end server;And searching the free time
After sub- number of networking, this method further include: in response to determining that, there is no the sub- number of idle view networking, forward end displaying is set
Preparation send first message so that front end presentation device show first message, wherein first message be used to indicate request failure and not
Find idle view networking number.
In some embodiments, after Xiang Xiezhuan server sends video acquisition request, this method further include: in response to
Determining that video acquisition request is sent successfully, the return of forward end presentation device is used to indicate request and sends successful second message, with
Front end presentation device is set to wait parsing result.
In some embodiments, this method further include: the stopping in response to receiving monitor supervision platform transmission analyzes the instruction, to
Association turns server transparent transmission and stops receiving video instructions, so that association turns server and stops sending monitor video, stops monitor video
Parsing, and, the sub- number of release target view networking, so that target is in idle condition depending on sub- number of networking.
In some embodiments, monitor video is parsed, comprising: Face datection is carried out to the frame in monitor video
And/or recognition of face.
Second aspect, the embodiment of the invention provides a kind of video process apparatus, applied to the Video service in view networking
Device, configured at least one view networking number in video server, each view networking number is corresponding with sub number of at least one view networking
Code, which includes: receiving unit, is configured to receive the video acquisition request of monitor supervision platform transmission, wherein video acquisition is asked
It asks to be used to indicate and obtains target monitoring equipment monitor video collected;Searching unit is configured to search idle view networking
Sub- number, as the sub- number of target view networking, by the sub- number of target view networking, Xiang Xiezhuan server sends video acquisition and asks
It asks;Resolution unit is configured to receive association and turns the monitor video of server return, and parses to monitor video;First hair
Unit is sent, is configured to send parsing result to monitor supervision platform.
In some embodiments, monitor supervision platform includes front end presentation device and back-end server;And the device further include:
Second transmission unit is configured in response to determine and network sub- number there is no idle view, and forward end presentation device sends the
One message, so that front end presentation device shows first message, wherein first message is used to indicate request failure and does not find the free time
View networking number.
In some embodiments, device further include: third transmission unit is configured in response to determine that video acquisition is asked
It asks and sends successfully, the return of forward end presentation device is used to indicate request and sends successful second message, so that front end presentation device
Wait parsing result.
In some embodiments, device further include: stop unit is configured in response to receive monitor supervision platform transmission
Stopping analyze the instruction, Xiang Xiezhuan server transparent transmission stop receive video instructions so that association turn server stop send monitoring view
Frequently, stop the parsing of monitor video, and, the sub- number of release target view networking, so that target view is networked, sub- number is in the free time
State.
In some embodiments, resolution unit is further configured to: in monitor video frame carry out Face datection and/
Or recognition of face.
Method for processing video frequency and device provided in an embodiment of the present invention, using the characteristic of view networking, for the view in view networking
Frequency server regards networking number configured at least one, and is corresponding at least one sub- number of view networking depending on networking number to be each,
After receiving the video acquisition request of monitor supervision platform transmission, by searching for the idle sub- number of view networking, regards and join as target
Net number, then by the sub- number of target view networking, Xiang Xiezhuan server sends video acquisition request, receives association turn clothes later
The monitor video that business device returns, and monitor video is parsed, finally parsing result is sent to monitor supervision platform.Pass through as a result,
Using the sub- number of view networking, does not need to configure more view networking numbers for video server, can be realized more video solutions yet
The processing of analysis business greatly reduces the configuration quantity of view networking number, saves the view networking configured in video server
Number resource.Meanwhile improving the 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
View, by searching for the idle sub- number of view networking, regards after receiving the video acquisition request of monitor supervision platform transmission as target
It networks sub- number, is then networked sub- number by target view, Xiang Xiezhuan server sends the video acquisition request, later
It receives the association and turns the monitor video of server return, and the monitor video is parsed, finally to the monitoring
Platform sends parsing result.
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 video server in view networking.
Herein, video server can carry out the parsing of video.For example, can to the frame in video carry out Face datection,
Recognition of face, crowd massing situation statistics etc..Video server can by receive regard networking instruction (such as monitor supervision platform send
Video acquisition request), by association turn server obtain monitoring live streaming or video recording, be 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 video 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 video 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, which can serve to indicate that, obtains target monitoring equipment (such as some camera) monitoring view collected
Frequently.
It should be noted that above-mentioned video acquisition request can include but is not limited to following information: command code is used to indicate
Request the code of real-time video, message sequence number, camera number and stream type (such as main bit stream, from code stream 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, above-mentioned video acquisition request, which can be, is sent to above-mentioned executing subject by above-mentioned front end presentation device.It is above-mentioned in practice
Front end presentation device can support task to be arranged.Monitoring personnel can setting video analysis be appointed in above-mentioned front end presentation device again
Business can send video acquisition request when task starts to execute to above-mentioned executing subject.
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.
It should be noted that association turns server and is alternatively referred to as access server, the monitoring in internet can be responsible for set
It is standby to be linked into view networking, it can be achieved that controlling the monitoring device on internet in view networking.
Previous situation, due to being not provided with the sub- number of view networking, thus, each view networking number on video server is only
A video parsing business can be executed.It networks after sub- number for each view that is respectively configured depending on networking number, each view networking
Number can execute business.It does not need to configure more view networking numbers for video server as a result, can be realized more yet
The processing of business greatly reduces the configuration quantity of view networking number, and the view improved in identical quantity is networked under number situation
Traffic handing capacity.
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 first message to above-mentioned front end presentation device, so that above-mentioned front end presentation device shows above-mentioned the
One message.Wherein, above-mentioned first message is used to indicate request failure and does not find idle view networking number.
In some optional implementations of the present embodiment, above-mentioned video acquisition is sent in Xiang Xiezhuan server and requests it
Afterwards, it is sent successfully in response to the above-mentioned video acquisition request of determination, above-mentioned executing subject can be returned to above-mentioned front end presentation device
It is used to indicate request and sends successful second message, so that above-mentioned front end presentation device waits parsing result.
Step 503, it receives association and turns the monitor video of server return, and monitor video is parsed.
In the present embodiment, above-mentioned executing subject can receive the monitor video that association turns server return, and regard to monitoring
Frequency is parsed.For example, crowd massing situation statistics etc. can be carried out to monitor video.Specifically, above-mentioned target can be passed through
Depending on networking, the corresponding terminal (the sub- equipment for being specifically as follows the terminal) of sub- number receives and parses above-mentioned monitor video.
In some optional implementations of the present embodiment, Face datection is carried out to the frame in above-mentioned monitor video.It is real
In trampling, above-mentioned target in the corresponding terminal (the sub- equipment for being specifically as follows the terminal) of sub- number of networking depending on that can be previously stored with
Face datection model.The face detection model, which can be, pre- to be first passed through the training of supervised learning mode and obtains.Herein, it is receiving
During above-mentioned monitor video, for each frame in above-mentioned monitor video, which can be input to above-mentioned Face datection
Model, to obtain the Face datection result (such as showing Face datection frame in the frame) of the frame.
In some optional implementations of the present embodiment, recognition of face is carried out to the frame in above-mentioned monitor video.It is real
In trampling, above-mentioned target in the corresponding terminal (the sub- equipment for being specifically as follows the terminal) of sub- number of networking depending on that can be previously stored with
Human face recognition model.The human face recognition model may each be pre- and first pass through what the training of supervised learning mode obtained.Herein, it is connecing
During receiving above-mentioned monitor video, for each frame in above-mentioned monitor video, which can be input to above-mentioned face and known
Other model, so that the face recognition result for obtaining the frame (such as shows piece identity in the frame, or generates and be used to indicate
It whether there is the information of target person in the frame).
Step 504, parsing result is sent to monitor supervision platform.
In the present embodiment, above-mentioned executing subject can be flat to above-mentioned monitoring after parsing to above-mentioned target video
Platform sends parsing result.In practice, for different parsing types, different parsing results can be sent.
As an example, statistics can be returned only to if parsing type is to carry out crowd massing situation statistics etc. to monitor video
As a result.The statistical result may include the average value of the number of person in monitor video in each frame.
As another example, if parsing type is to carry out recognition of face to monitor video, it can be returned only to and be used to indicate
It whether there is the face recognition result of target person in above-mentioned monitor video.
Presentation can be returned if parsing type is to carry out Face datection to the frame in monitor video as another example
There is the above-mentioned monitor video of face testing result.
In some optional implementations of the present embodiment, by above-mentioned parsing result be sent to above-mentioned monitor supervision platform it
Afterwards, above-mentioned executing subject is analyzed the instruction in response to receiving the stopping that above-mentioned monitor supervision platform is sent, and can turn service to above-mentioned association
The above-mentioned stopping of device transparent transmission receives video instructions, so that above-mentioned association turns server and stops sending above-mentioned monitor video.Meanwhile Ke Yiting
The only parsing of above-mentioned monitor video, and, the sub- number of above-mentioned target view networking is discharged, so that above-mentioned target view is networked at sub- number
In idle state, used convenient for next time.
Method for processing video frequency provided in an embodiment of the present invention is in video 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, in the video for receiving monitor supervision platform transmission
After acquisition request, then regarded by above-mentioned target by searching for the idle sub- number of view networking as the sub- number of target view networking
It networks sub- number, Xiang Xiezhuan server sends above-mentioned video acquisition request, receives above-mentioned association later and turns the above-mentioned of server return
Monitor video, and above-mentioned monitor video is parsed, finally parsing result is sent to above-mentioned monitor supervision platform.As a result, by making
With the sub- number of view networking, does not need to configure more view networking numbers for video server, can be realized more videos yet and parse
The processing of business greatly reduces the configuration quantity of view networking number, saves the view networking number configured in video server
Code resource.Meanwhile improving the traffic handing capacity under the view networking number situation of identical quantity.
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 video server that can be applied in view networking is set, at least one view networking number is configured in the video 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 is used to indicate acquisition target monitoring equipment and is adopted
The monitor video of collection;Searching unit 602 is configured to search the idle sub- number of view networking, regards sub- number of networking as target,
By the sub- number of above-mentioned target view networking, Xiang Xiezhuan server sends above-mentioned video acquisition request;Resolution unit 603, is configured
Turn the above-mentioned monitor video of server return at above-mentioned association is received, and above-mentioned monitor video is parsed;First transmission unit
604, it is configured to send parsing result to above-mentioned monitor supervision platform.
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: the second transmission unit (not shown) is configured in response to determine that there is no the free time
Depending on sub- number of networking, the front end Xiang Shangshu presentation device sends first message, 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 does not find idle view networking number.
In some optional implementations of the present embodiment, the device further include: third transmission unit (does not show in figure
Out), it is configured in response to determine that above-mentioned video acquisition request is sent successfully, presentation device return in the front end Xiang Shangshu is used to indicate
Request sends successful second message, so that above-mentioned front end presentation device waits parsing result.
In some optional implementations of the present embodiment, the device further include: stop unit (not shown), quilt
The stopping for being configured to receive above-mentioned monitor supervision platform transmission analyzes the instruction, and turns the above-mentioned stopping of server transparent transmission to above-mentioned association
Video instructions are received, so that above-mentioned association turns server and stops sending above-mentioned monitor video, stop the parsing of above-mentioned monitor video, with
And the sub- number of above-mentioned target view networking is discharged, so that above-mentioned target is in idle condition depending on sub- number of networking.
In some optional implementations of the present embodiment, above-mentioned resolution unit is further configured to: to above-mentioned prison
The frame controlled in video carries out Face datection and/or recognition of face.
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.
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 video server in view networking, the video
Networking number is regarded configured at least one in server, it is each to be corresponding at least one sub- number of view networking depending on networking number, it is described
Method includes:
Receive the video acquisition request that monitor supervision platform is sent, wherein the video acquisition request is used to indicate acquisition target monitoring
Equipment monitor video collected;
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;
It receives the association and turns the monitor video of server return, and the monitor video is parsed;
Parsing result is sent to the monitor supervision platform.
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 view for searching the free time networks sub- number, the method also includes:
In response to determining that the front end Xiang Suoshu presentation device sends first message, so that institute there is no idle view networking sub- number
It states front end presentation device and shows the first message, wherein the first message is used to indicate request failure and does not find the free time
View networking number.
3. method for processing video frequency according to claim 2, which is characterized in that send the view in the Xiang Xiezhuan server
After frequency acquisition request, the method also includes:
It is sent successfully in response to the determination video acquisition request, presentation device return in the front end Xiang Suoshu is used to indicate request and sends
Successful second message, so that the front end presentation device waits parsing result.
4. method for processing video frequency according to claim 1, which is characterized in that the method also includes:
It is analyzed the instruction in response to receiving the stopping that the monitor supervision platform is sent, turns stopping described in server transparent transmission to the association and connect
Video instructions are received, so that the association turns server and stops sending the monitor video, stop the parsing of the monitor video, with
And the sub- number of the target view networking is discharged, so that the target is in idle condition depending on sub- number of networking.
5. method for processing video frequency according to claim 1, which is characterized in that it is described that the monitor video is parsed,
Include:
Face datection and/or recognition of face are carried out to the frame in the monitor video.
6. a kind of video process apparatus, which is characterized in that described device is applied to the video server in view networking, the video
Networking number is regarded configured at least one in server, it is each to be corresponding at least one sub- number of view networking depending on networking number, it is described
Device includes:
Receiving unit is configured to receive the video acquisition request of monitor supervision platform transmission, wherein the video acquisition request is used for
Instruction obtains target monitoring equipment monitor video collected;
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;
Resolution unit, be configured to receive it is described association turn server return the monitor video, and to the monitor video into
Row parsing;
First transmission unit is configured to send parsing result to the monitor supervision platform.
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:
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 first message, so that the front end presentation device shows the first message, wherein the first message is used to indicate
Request fails and does not find idle view networking number.
8. video process apparatus according to claim 7, which is characterized in that described device further include:
Third transmission unit is configured in response to determine that the video acquisition request is sent successfully, and the front end Xiang Suoshu shows and sets
Standby return is used to indicate the successful second message of request transmission, so that the front end presentation device waits parsing result.
9. video process apparatus according to claim 6, which is characterized in that described device further include:
Stop unit, the stopping for being configured in response to receive the monitor supervision platform transmission analyze the instruction, and turn clothes to the association
Stop receiving video instructions described in business device transparent transmission, so that described assist turns the server stopping transmission monitor video, described in stopping
The parsing of monitor video, and, the sub- number of the target view networking is discharged, sub- number is in the free time so that target view is networked
State.
10. video process apparatus according to claim 6, which is characterized in that the resolution unit is further configured to:
Face datection and/or recognition of face are carried out to the frame in the monitor video.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910199738.8A CN110049281B (en) | 2019-03-15 | 2019-03-15 | Video processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910199738.8A CN110049281B (en) | 2019-03-15 | 2019-03-15 | Video processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110049281A true CN110049281A (en) | 2019-07-23 |
CN110049281B CN110049281B (en) | 2021-01-22 |
Family
ID=67273796
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910199738.8A Active CN110049281B (en) | 2019-03-15 | 2019-03-15 | Video processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110049281B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101854444A (en) * | 2010-04-22 | 2010-10-06 | 沈阳帝信通信电子工程有限公司 | Visible dispatching system and dispatching method |
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 |
CN108965780A (en) * | 2017-11-30 | 2018-12-07 | 北京视联动力国际信息技术有限公司 | A kind of display methods and system of monitored picture |
CN109194901A (en) * | 2018-09-14 | 2019-01-11 | 视联动力信息技术股份有限公司 | A kind of method for processing video frequency and device based on view networking |
US20190028572A1 (en) * | 2016-04-21 | 2019-01-24 | Hangzhou Hikvision System Technology Co., Ltd. | Protocol conversion method, platform, and protocol conversion gateway |
CN109348171A (en) * | 2018-10-15 | 2019-02-15 | 视联动力信息技术股份有限公司 | A kind of view networking monitoring video acquiring method and device |
-
2019
- 2019-03-15 CN CN201910199738.8A patent/CN110049281B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101854444A (en) * | 2010-04-22 | 2010-10-06 | 沈阳帝信通信电子工程有限公司 | Visible dispatching system and dispatching method |
US20190028572A1 (en) * | 2016-04-21 | 2019-01-24 | Hangzhou Hikvision System Technology Co., Ltd. | Protocol conversion method, platform, and protocol conversion gateway |
CN108965780A (en) * | 2017-11-30 | 2018-12-07 | 北京视联动力国际信息技术有限公司 | A kind of display methods and system of monitored picture |
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 |
CN109348171A (en) * | 2018-10-15 | 2019-02-15 | 视联动力信息技术股份有限公司 | A kind of view networking monitoring video acquiring method and device |
Also Published As
Publication number | Publication date |
---|---|
CN110049281B (en) | 2021-01-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110233984A (en) | A kind of monitoring system and method based on view networking | |
CN109617956A (en) | A kind of data processing method and device | |
CN108737768A (en) | A kind of monitoring method and monitoring device based on monitoring system | |
CN108965040A (en) | A kind of business monitoring method and device of view networking | |
CN108965224A (en) | A kind of method and apparatus of video on demand | |
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 | |
CN109302472A (en) | A kind of view networked resources method for releasing and view networking share Platform Server | |
CN109818776A (en) | Micro services module exception localization method and device | |
CN109150905A (en) | A kind of view networked resources method for releasing and view networking share Platform Server | |
CN110381030A (en) | A kind of processing method and processing device of synchronization request | |
CN110475125A (en) | Video transcoding method and device | |
CN108881895A (en) | A kind of malfunction elimination method and apparatus based on view networking | |
CN109284265A (en) | A kind of date storage method and system | |
CN109218093A (en) | A kind of method and system obtaining alarm | |
CN109299612A (en) | A kind of control method and device of hot-plug equipment | |
CN110139124A (en) | A kind for the treatment of method and apparatus that monitoring is recorded | |
CN109743555A (en) | A kind of information processing method and system based on view networking | |
CN109491783A (en) | A kind of acquisition methods and system of memory usage | |
CN110505107A (en) | A kind of monitoring method and view networking management system | |
CN110187846A (en) | Print system, method and apparatus | |
CN110446058A (en) | Video acquiring method, system, equipment and computer readable storage medium | |
CN110134892A (en) | A kind of loading method and system monitoring the Resources list | |
CN109121017A (en) | A kind of view intranet network method for evaluating quality and device | |
CN110519554A (en) | Monitor and detection method and apparatus |
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 |