CN110049280A - The treating method and apparatus of monitoring data - Google Patents

The treating method and apparatus of monitoring data Download PDF

Info

Publication number
CN110049280A
CN110049280A CN201910195362.3A CN201910195362A CN110049280A CN 110049280 A CN110049280 A CN 110049280A CN 201910195362 A CN201910195362 A CN 201910195362A CN 110049280 A CN110049280 A CN 110049280A
Authority
CN
China
Prior art keywords
monitoring
thread
server
data
network
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
CN201910195362.3A
Other languages
Chinese (zh)
Other versions
CN110049280B (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 CN201910195362.3A priority Critical patent/CN110049280B/en
Publication of CN110049280A publication Critical patent/CN110049280A/en
Application granted granted Critical
Publication of CN110049280B publication Critical patent/CN110049280B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • 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

Landscapes

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

Abstract

The present invention provides a kind of processing method and processing devices of monitoring data.Wherein method includes: to monitor shared server after receiving the tune stream request based on view networking protocol of server-side transmission, sends the tune stream request based on view networking protocol to monitoring access server;Monitoring shared server is after receiving monitoring access server for the monitoring data based on view networking protocol for adjusting stream request to return, first thread is obtained from preset thread pool, after being converted into the monitoring data of internet protocol-based based on the monitoring data depending on networking protocol using first thread, the monitoring data of internet protocol-based is sent to client;Shared server is monitored when sending the monitoring data of internet protocol-based to client, first thread is returned to thread pool if sending and interrupting.The present invention can cause it to be destroyed to avoid due to abandoning monitoring data, promote user experience, can make full use of the occupied thread of the monitoring data, avoid the wasting of resources, save the cost.

Description

The treating method and apparatus of monitoring data
Technical field
The present invention relates to view networking technology field, processing method and a kind of monitoring number more particularly to a kind of monitoring data According to processing unit.
Background technique
In recent years, with computer, network and image procossing, the rapid development of transmission technology, Video Supervision Technique There is significant progress.Video monitoring is the important component of safety and protection system.Traditional monitoring system includes front end prison Control equipment, transmission cable, video monitoring platform.Video monitoring is intuitive with it, accurate, timely abundant with the information content and answers extensively For many occasions.
User can be by carrying out program request in video monitoring platform, to check the monitor video of certain road monitoring device acquisition. When the number of user's program request is more, video monitoring platform will transmit a large amount of monitor video.If occurred in transmission process Situations such as network congestion, it will interrupt the transmission of monitor video, video monitoring platform can choose discarding monitoring in the case of this kind Video, or transmitting, monitoring video is further continued for after waiting network recovery.
But the mode for abandoning monitor video can destroy the monitor video that user sees, user experience is poor.Wait network The mode of recovery will cause the waste of cpu resource, higher cost.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present invention and overcomes the above problem or at least partly in order to provide one kind A kind of processing method of the monitoring data to solve the above problems and a kind of corresponding processing unit of monitoring data.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of processing method of monitoring data, the method is answered It include monitoring shared server, monitoring access server and monitoring management dispatching platform, institute in view networking for regarding in networking Stating monitoring management dispatching platform includes client and server-side, which comprises
The monitoring shared server after receiving the tune stream request based on view networking protocol that the server-side is sent, The tune stream request based on view networking protocol is sent to the monitoring access server;The tune stream based on view networking protocol Request is converted to the tune stream request of internet protocol-based by the server-side, and the tune stream of the internet protocol-based is asked It asks and the server-side is sent to by the client;
The monitoring shared server is receiving the monitoring access server for the base for adjusting stream request to return After the monitoring data of view networking protocol, first thread is obtained from preset thread pool, it will be described using the first thread After being converted into the monitoring data of internet protocol-based based on the monitoring data depending on networking protocol, described in the transmission of Xiang Suoshu client The monitoring data of internet protocol-based;
The monitoring shared server is when sending the monitoring data of the internet protocol-based to the client, such as Fruit, which sends, interrupts, then the first thread is returned to the thread pool.
Optionally, after the described the step of first thread is returned to the thread pool, further includes: the monitoring Shared server determines whether network can send data;The monitoring shared server is determining that the network can send After data, the second thread is obtained from the thread pool, sends described be based on mutually to the client using second thread The monitoring data of networking protocol.
Optionally, the step that the tune stream request based on view networking protocol is sent to the monitoring access server Suddenly, comprising: the monitoring shared server obtains third thread from the thread pool, using the third thread to the prison It controls access server and sends the tune stream request based on view networking protocol;The method also includes: the monitoring shared service Device is interrupted when sending the tune stream request based on view networking protocol to the monitoring access server if sent, will The third thread is returned to the thread pool.
Optionally, after the described the step of third thread is returned to the thread pool, further includes: the monitoring Shared server determines whether network can send data;The monitoring shared server is determining that the network can send After data, the 4th thread is obtained from the thread pool, sends institute to the monitoring access server using the 4th thread State the tune stream request based on view networking protocol.
Optionally, the monitoring shared server determines the step of whether network can send data, comprising: the monitoring The description information of the network is added to preset asynchronous process thread by shared server;The asynchronous process thread is for supervising The transmittable data event of auditory network;The monitoring shared server is receiving the transmittable of the asynchronous process thread sending After data notification, determine that the network can send data;The transmittable data notification is being supervised by the asynchronous process thread It is issued after hearing the transmittable data event of network.
On the other hand, the embodiment of the invention also discloses a kind of processing unit of monitoring data, described device is applied to view It include monitoring shared server, monitoring access server and monitoring management dispatching platform, the monitoring in view networking in networking Manage and dispatch platform includes client and server-side, and the monitoring shared server includes:
First sending module, after being requested in the tune stream based on view networking protocol for receiving the server-side transmission, The tune stream request based on view networking protocol is sent to the monitoring access server;The tune stream based on view networking protocol Request is converted to the tune stream request of internet protocol-based by the server-side, and the tune stream of the internet protocol-based is asked It asks and the server-side is sent to by the client;
Second sending module, for receive it is described monitoring access server for it is described adjust stream request return based on After the monitoring data of networking protocol, first thread is obtained from preset thread pool, using the first thread by the base After the monitoring data depending on networking protocol is converted into the monitoring data of internet protocol-based, Xiang Suoshu client sends the base In the monitoring data of Internet protocol;
First recycling module, for when sending the monitoring data of the internet protocol-based to the client, such as Fruit, which sends, interrupts, then the first thread is returned to the thread pool.
Optionally, the monitoring shared server further include: determining module, for determining whether network can send number According to;Third sending module, for obtaining the second line from the thread pool after determining that the network can send data Journey sends the monitoring data of the internet protocol-based using second thread to the client.
Optionally, first sending module utilizes the third line for obtaining third thread from the thread pool Journey sends the tune stream request based on view networking protocol to the monitoring access server;The monitoring shared server is also wrapped It includes: the second recycling module, when being requested for the tune stream based on view networking protocol described in being sent to the monitoring access server, It is interrupted if sent, the third thread is returned to the thread pool.
Optionally, the monitoring shared server further include: determining module, for determining whether network can send number According to;4th sending module, for obtaining the 4th line from the thread pool after determining that the network can send data Journey sends the tune stream based on view networking protocol to the monitoring access server using the 4th thread and requests.
Optionally, the determining module includes: information adding unit, pre- for the description information of the network to be added to If asynchronous process thread;The asynchronous process thread is used to monitor the transmittable data event of network;Network determination unit is used In after receiving the transmittable data notification that the asynchronous process thread issues, determine that the network can send data;Institute It states transmittable data notification and is issued after the transmittable data event for listening to network by the asynchronous process thread.
In the embodiment of the present invention, monitoring shared server is in the tune stream based on view networking protocol for receiving server-side transmission After request, the tune stream request based on view networking protocol is sent to monitoring access server, it is described based on view networking protocol Stream request is adjusted to be converted to by the server-side to the tune stream request of internet protocol-based, the tune of the internet protocol-based Stream request is sent to the server-side by the client;Monitoring shared server is receiving monitoring access server for institute After stating the monitoring data based on view networking protocol for adjusting stream request to return, first thread is obtained from preset thread pool, is utilized After the monitoring data based on depending on networking protocol is converted into the monitoring data of internet protocol-based by the first thread, to Client sends the monitoring data of the internet protocol-based;It monitors shared server and is sending described be based on mutually to client When the monitoring data of networking protocol, is interrupted if sent, the first thread is returned to the thread pool.It follows that A thread is distributed for every road monitoring data in the embodiment of the present invention to go to handle, and is not necessarily to abandon monitoring number when sending and interrupting According to, and the thread for handling the monitoring data can be returned to thread pool so that other data use.Therefore it can not only keep away Exempt to cause it to be destroyed due to abandoning monitoring data, promotes user experience;It can also can be abundant during waiting network recovery Using the occupied thread of the monitoring data, the wasting of resources, save the cost are avoided.
Detailed description of the invention
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 a kind of step flow chart of the processing method of monitoring data of the embodiment of the present invention one;
Fig. 6 is a kind of step flow chart of the processing method of monitoring data of the embodiment of the present invention two;
Fig. 7 is a kind of structural block diagram of the processing unit of monitoring data of the embodiment of the present invention three.
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.
1, view networked devices classification
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 destination 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, if there is Bao Ze is according to the view of packet networking purpose 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 frametype, 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 accessing network data package definition
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:
DA SA Reserved Payload CRC
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 data packets, 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:
DA SA Reserved Label Payload CRC
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, the processing scheme of the monitoring data of the embodiment of the present invention is proposed, it then follows view connection The agreement of net is able to ascend user experience, save the cost.
Embodiment one
The processing method of the monitoring data of the embodiment of the present invention is applied in view networking.It may include monitoring in depending on networking Shared server, monitoring access server and monitoring management dispatching platform.
Monitoring access server can be understood as gateway, and being responsible for (can also external (such as on internet) monitoring device It is described as monitoring resource) monitoring device, it can be achieved that in view networking in browsing and control internet is linked into view networking.Prison The monitoring data of acquisition is based on corresponding Internet protocol and encoded by control equipment, monitors the available monitoring of access server The monitoring data of internet protocol-based after device coding, monitoring access server can be by the monitoring of internet protocol-based Data are converted to the monitoring data based on view networking protocol, are sent in view networking later.
Monitoring management dispatching platform may include front-end client, background server, database, etc..Wherein, front end visitor Family end can be Web client etc., and background server can be Mserver etc..Front-end client be responsible for the showing of monitored directory, The transferring of monitoring data, various configurations of monitoring management dispatching platform etc., front-end client can show user input interface, letter Breath shows the user interfaces such as interface.Background server is responsible for the unified management and third of the monitoring device depending on accessing in networking Fang Pingtai, such as the docking service of national standard (GB/T28181) platform monitoring system.Database is responsible for storage configuration information, and monitoring is set Standby information etc..
Monitoring shared server can be understood as gateway, be responsible for being converted into being based on based on the monitoring data depending on networking protocol Internet protocol, such as the monitoring data of RTP (Real-time Transport Protocol, real-time transport protocol), so as to will The platform of internet protocol-based is shared to depending on networked video.
Referring to Fig. 5, a kind of step flow chart of the processing method of monitoring data of the embodiment of the present invention one is shown.
The processing method of the monitoring data of the embodiment of the present invention may comprise steps of:
Step 501, monitoring shared server is receiving asking based on the tune stream depending on networking protocol for the server-side transmission After asking, the tune stream request based on view networking protocol is sent to the monitoring access server.
The client of monitoring management dispatching platform can provide user interface, when user wants to transfer monitoring device acquisition When monitoring data, the information of the monitoring device to be transferred can be inputted or selected in the user interface of client, and trigger visitor Family end generates the tune stream request for the monitoring device of selection.Adjust stream request in may include monitoring device information (such as title, Mark etc.) etc. contents.The client of monitoring management dispatching platform, can be with internet protocol-based, such as after generating tune stream request HTTP (Hyper Text Transport Protocol, hypertext transfer protocol) encapsulates tune stream request, and will be based on interconnection The tune stream request of fidonetFido is sent to the server-side of monitoring management dispatching platform.
It is based on interacting depending on networking protocol between the server-side and monitoring shared server of monitoring management dispatching platform.Prison The tune stream request of internet protocol-based is converted to and is based on after receiving tune stream request by the server-side of keyholed back plate reason dispatching platform Tune stream depending on networking protocol is requested.In the implementation, the server-side of monitoring management dispatching platform encapsulates internet protocol-based It adjusts to flow and requests parsed, decapsulated, obtain the related data for adjusting stream request, then be based on exchanging depending on networking protocol again flowing request Related data be packaged, obtain based on view networking protocol tune stream request.The server-side of monitoring management dispatching platform passes through Depending on networking monitoring shared server will be sent to based on the tune stream request depending on networking protocol.
It is based on interacting depending on networking protocol between monitoring shared server and monitoring access server.Monitor shared service Device is networked after the tune stream request based on view networking protocol that the server-side for receiving monitoring management dispatching platform is sent by view The tune stream request based on view networking protocol is sent to monitoring access server.
Step 502, monitoring shared server is receiving the monitoring access server for tune stream request return Based on view networking protocol monitoring data after, obtain first thread from preset thread pool, utilize the first thread will After the monitoring data based on depending on networking protocol is converted into the monitoring data of internet protocol-based, Xiang Suoshu client is sent The monitoring data of the internet protocol-based.
Monitoring access server parses it, is decapsulated after receiving based on the tune stream request of view networking protocol, From the information for extracting monitoring device in stream request is adjusted, the prison of the corresponding monitoring device acquisition of information of the monitoring device is then transferred Control data.Monitoring access server obtains the prison based on view networking protocol based on the monitoring data transferred is encapsulated depending on networking protocol Data are controlled, monitoring access server is by will be back to monitoring shared service based on the monitoring data depending on networking protocol depending on networking Device.
Monitoring shared server receive monitoring access server for adjust stream request return based on view networking protocol Monitoring data after, by monitoring data share to above-mentioned triggering tune stream request client.
In the embodiment of the present invention, thread pool is set in monitoring shared server in advance, includes multiple threads in thread pool, For example number of threads can be identical as the monitoring nucleus number of CPU of shared server.Monitoring shared server is receiving a roadbed After the monitoring data of view networking protocol, a thread can be obtained from thread pool and is used to handle the road monitoring data, in order to Facilitate description, the thread obtained herein is known as first thread.
Internet protocol-based interacts between monitoring shared server and the client of monitoring management dispatching platform.Prison Control shared server will be converted into the monitoring of internet protocol-based using first thread based on the monitoring data depending on networking protocol Data.In the implementation, monitoring shared server is using first thread to being parsed, solved based on the monitoring data depending on networking protocol Encapsulation, obtains monitoring data, then internet protocol-based is packaged monitoring data again, obtains internet protocol-based Monitoring data.It monitors shared server and is sent to the client of monitoring management dispatching platform based on internet protocol using first thread The monitoring data of view.
Step 503, monitoring shared server is in the monitoring data for sending the internet protocol-based to the client When, it is interrupted if sent, the first thread is returned to the thread pool.
Shared server is monitored in the monitoring number for sending internet protocol-based to the client of monitoring management dispatching platform According to when, because of situations such as in network there are bandwidth limitation and network jitter, if the short time in send mass data, will cause net Network congestion causes monitoring data to send and interrupts.In the case of this kind, monitoring shared server can cache the also not sent base gone out The thread pool is returned in the monitoring data of Internet protocol, and by first thread.
A thread is distributed for every road monitoring data in the embodiment of the present invention to go to handle, and is not necessarily to abandon when sending and interrupting Monitoring data, and the thread for handling the monitoring data can be returned to thread pool so that other data use.Therefore not only It can be caused to be destroyed to avoid due to abandoning monitoring data, promote user experience;Can also during waiting network recovery energy The occupied thread of the monitoring data is enough made full use of, the wasting of resources, save the cost are avoided.
Embodiment two
Referring to Fig. 6, a kind of step flow chart of the processing method of monitoring data of the embodiment of the present invention two is shown.
The processing method of the monitoring data of the embodiment of the present invention may comprise steps of:
Step 601, monitoring shared server is receiving asking based on the tune stream depending on networking protocol for the server-side transmission After asking, third thread is obtained from the thread pool, using the third thread to described in monitoring access server transmission Tune stream request based on view networking protocol.
The tune stream request of internet protocol-based is sent to monitoring management scheduling by the client of monitoring management dispatching platform The server-side of platform.The tune stream request of internet protocol-based is converted into based on view connection by the server-side of monitoring management dispatching platform The tune stream of fidonetFido is requested, and will be sent to monitoring shared server based on the tune stream request depending on networking protocol.
Monitoring shared server can obtain after receiving the tune stream all the way based on view networking protocol and requesting from thread pool Take a thread for handling road tune stream request, for the convenience of description, the thread obtained is known as third thread herein.Monitoring is altogether It enjoys third thread described in server by utilizing and sends the tune stream request based on view networking protocol to monitoring access server.
Step 602, monitoring shared server monitors described in access server transmission to described based on view networking protocol When adjusting stream request, is interrupted if sent, the third thread is returned to the thread pool.
Shared server is monitored when sending the tune stream request based on view networking protocol to monitoring access server, due to net Situations such as there are bandwidth limitation and network jitters in network, if sending mass data in the short time, will cause network congestion, causes It adjusts stream request to send to interrupt.In the case of this kind, monitoring shared server can cache it is also not sent go out assisted based on view networking The tune stream of view is requested, and third thread is returned to the thread pool.
Step 603, monitoring shared server determines whether network can send data.
Monitoring shared server determines whether network can send data, to determine whether to continue to send based on view The tune stream of networking protocol is requested.
In a kind of optional embodiment, monitoring shared server determines that the step of whether network can send data can be with It include: to monitor shared server the description information of the network is added to preset asynchronous process thread;The asynchronous process Thread is used to monitor the transmittable data event of network;Monitoring shared server is receiving what the asynchronous process thread issued After transmittable data notification, determine that the network can send data;The transmittable data notification is by the asynchronous process line Journey issues after the transmittable data event for listening to network.
Wherein, the description information of network may include the information such as the socket of network.When network cannot send number by congestion When according to becoming that data can be sent, the transmittable data event of network can be triggered, asynchronous process thread is in the net for listening to addition After the transmittable data event of network description information corresponding network, the corresponding transmittable data notification of the network can be issued, is monitored Shared server determines that the network can send data after receiving transmittable data notification.
Asynchronous process thread uses epoll mechanism in the embodiment of the present invention, and epoll is Asynchronous Invocation, it can be significant Improve system CPU utilization rate in the case that program only has a small amount of active in largely concurrently connecting.When the event of acquisition, It need not traverse the descriptor set being entirely listened, and Ready team is added by the asynchronous wake-up of kernel I/O event as long as traversing those The descriptor set of column is just.Determine whether network can send data using this kind of mode, it is no longer necessary to which CPU removes detection net Whether network can send data, further save cpu resource.
Step 604, monitoring shared server is obtained from the thread pool after determining that the network can send data The 4th thread is taken, is asked to monitoring access server transmission is described based on the tune stream depending on networking protocol using the 4th thread It asks.
Shared server is monitored after determining that network can send data, a thread can be obtained from thread pool and is used In handling the not sent tune stream request based on view networking protocol gone out, for the convenience of description, the thread obtained is known as the herein Four threads.Monitoring shared server using the 4th thread to the monitoring access server continue to send it is not sent go out based on Tune stream depending on networking protocol is requested.
Step 605, monitoring shared server is receiving the monitoring access server for tune stream request return The monitoring data based on view networking protocol after, first thread is obtained from the thread pool, using the first thread by institute It states after being converted into the monitoring data of internet protocol-based based on the monitoring data depending on networking protocol, Xiang Suoshu client sends institute State the monitoring data of internet protocol-based.
Step 605 and the step 502 in embodiment one are substantially similar, referring in particular to the associated description of step 502, originally Inventive embodiments are no longer discussed in detail herein.
Step 606, monitoring shared server is in the monitoring data for sending the internet protocol-based to the client When, it is interrupted if sent, the first thread is returned to the thread pool.
Step 606 and the step 503 in embodiment one are substantially similar, referring in particular to the associated description of step 503, originally Inventive embodiments are no longer discussed in detail herein.
Step 607, monitoring shared server determines whether network can send data.
Step 607 is identical as step 603, and referring in particular to the associated description of step 603, the embodiment of the present invention is herein not It is discussed in detail again.
Step 608, monitoring shared server is obtained from the thread pool after determining that the network can send data The second thread is taken, sends the monitoring data of the internet protocol-based to the client using second thread.
Shared server is monitored after determining that network can send data, a thread can be obtained from thread pool and is used In the monitoring data for handling the also not sent internet protocol-based gone out, for the convenience of description, the thread obtained is known as herein Second thread.Monitoring shared server using the second thread to the client send also it is not sent go out based on internet protocol The monitoring data of view.
It should be noted that further including view networked server in depending on networking.Depending on networked server (such as above-mentioned node clothes Business device) it is the Core server regarded in networking, being linked into will be registered depending on the equipment in networking in depending on networked server, The backsight networked server that succeeds in registration is the information such as the equipment distribution view networking number of access, is used to network in view depending on networking number The middle equipment for distinguishing each access.
When the server-side of monitoring management dispatching platform is transmitted to shared server and adjusts stream request, the clothes of monitoring and scheduling platform Business end will be sent to view networked server based on the tune stream request depending on networking protocol, then by view networked server according to total to monitoring The downstream communications link for enjoying server configuration will be sent to monitoring shared server based on the tune stream request depending on networking protocol.
When monitoring shared server adjusts stream to request to monitoring access server transmission, monitoring shared server will be based on view The tune stream request of networking protocol is sent to view networked server, then by view networked server according to monitoring access server configuration Downstream communications link, will based on depending on networking protocol tune stream request be sent to monitoring access server.
Access server is being monitored to when monitoring shared server transmitting monitor data, monitoring access server will be based on view The monitoring data of networking protocol is sent to view networked server, then by view networked server according to monitoring shared server configuration Downstream communications link, monitoring shared server will be sent to based on the monitoring data depending on networking protocol.
In practical applications, networking is regarded as the network with centralized control functions, including main control server and undernet Equipment, which includes terminal, and one of the core idea depending on networking is, by notifying to exchange by main control server Equipment is directed to when time downstream communications link of service matches table, and the table for being then based on the configuration carries out the transmission of data packet.
That is, including: depending on the communication means in networking
Main control server configuration is when time downstream communications link of service.
Work as time data packet of service for what source terminal was sent, is sent to target terminal according to the downstream communications link.
In embodiments of the present invention, it includes: notice when the downlink of secondary service is logical that time downstream communications link of service is worked as in configuration Believe that switching equipment involved in link matches table.
It furthermore, include: the configured table of inquiry according to downstream communications link transmission, switching equipment is received to institute Data packet is transmitted by corresponding port.
In the concrete realization, service includes unicast communication service and Multicast Communication Service.I.e. either cast communication is still Unicast communication can realize the communication in view networking using the above-mentioned core idea with table-table.
As previously mentioned, view networking includes access mesh portions, in access net, which is node server, under The grade network equipment includes access switch and terminal.
For the unicast communication service in access net, the main control server configuration is when time downlink communication chain of service The step of road, may comprise steps of:
Sub-step S11, the service request protocol package that main control server is initiated according to source terminal are obtained when time downlink of service Communication link information, downstream communications link information include participating in when time downlink of the main control server of service and access switch Communication port information.
Sub-step S12, downstream communication ports information of the main control server according to main control server, data packet inside it The downlink port that setting is oriented to when time data packet of service in address table;And believe according to the downstream communication ports of access switch Breath, to corresponding access switch sending port configuration order.
Sub-step S13, access switch according in port configuration command data packet addressed table inside it, setting when time The downlink port that the data packet of service is oriented to.
For the Multicast Communication Service (such as video conference) in access net, main control server is obtained when under time service The step of row communication link information may include following sub-step:
Sub-step S21, main control server obtain the service request agreement for the application Multicast Communication Service that target terminal is initiated It wraps, includes the access net address of service type information, service content information and target terminal in service request protocol package.
It wherein, include service number in service content information.
Sub-step S22, main control server according to the service number in preset content-address mapping table, extraction source The access net address of terminal.
Sub-step S23, main control server obtains the corresponding multicast address of source terminal, and distributes to target terminal;And according to According to the access net address of service type information, source terminal and target terminal, the communication link information when time multicast services is obtained.
In the embodiment of the present invention, shared platform program is monitored by optimization, reduces the creation of thread to reduce the line of CPU Journey switching, by optimizing network-triggered mode, when reduction network congestion can not send out data, the waiting time of CPU can optimize net Network concurrent capability promotes the concurrency performance of program under same hardware configuration, reduces the investment of resource, save the cost.
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.
Embodiment three
Referring to Fig. 7, a kind of structural block diagram of the processing unit of monitoring data of the embodiment of the present invention three is shown.The present invention The processing unit of the monitoring data of embodiment can be applied in view networking, include monitoring shared server, prison in view networking Access server and monitoring management dispatching platform are controlled, the monitoring management dispatching platform includes client and server-side.
The processing unit of the monitoring data of the embodiment of the present invention may include the module in following monitoring shared server:
The monitoring shared server includes:
First sending module 701, in the tune stream request based on view networking protocol for receiving the server-side transmission Afterwards, the tune stream request based on view networking protocol is sent to the monitoring access server;It is described based on view networking protocol Stream request is adjusted to be converted to by the server-side to the tune stream request of internet protocol-based, the tune of the internet protocol-based Stream request is sent to the server-side by the client;
Second sending module 702, for receiving what the monitoring access server was returned for the tune stream request After monitoring data based on view networking protocol, first thread is obtained from preset thread pool, using the first thread by institute It states after being converted into the monitoring data of internet protocol-based based on the monitoring data depending on networking protocol, Xiang Suoshu client sends institute State the monitoring data of internet protocol-based;
First recycling module 703, for when sending the monitoring data of the internet protocol-based to the client, It is interrupted if sent, the first thread is returned to the thread pool.
In a kind of optional embodiment, the monitoring shared server further include: determining module, for determining that network is It is no to send data;Third sending module, for after determining that the network can send data, from the thread pool The second thread is obtained, sends the monitoring data of the internet protocol-based to the client using second thread.
In a kind of optional embodiment, first sending module, for obtaining third thread from the thread pool, The tune stream based on view networking protocol is sent to the monitoring access server using the third thread to request;The monitoring Shared server further include: the second recycling module, for being assisted to monitoring access server transmission is described based on view networking When the tune stream request of view, is interrupted if sent, the third thread is returned to the thread pool.
In a kind of optional embodiment, the monitoring shared server further include: determining module, for determining that network is It is no to send data;4th sending module, for after determining that the network can send data, from the thread pool The 4th thread is obtained, sends the tune stream based on view networking protocol to the monitoring access server using the 4th thread Request.
In a kind of optional embodiment, the determining module includes: information adding unit, for retouching the network It states information and is added to preset asynchronous process thread;The asynchronous process thread is used to monitor the transmittable data event of network; Network determination unit, for determining the network after receiving the transmittable data notification that the asynchronous process thread issues Data can be sent;The transmittable data notification is by the asynchronous process thread in the transmittable data event for listening to network After issue.
A thread is distributed for every road monitoring data in the embodiment of the present invention to go to handle, and is not necessarily to abandon when sending and interrupting Monitoring data, and the thread for handling the monitoring data can be returned to thread pool so that other data use.Therefore not only It can be caused to be destroyed to avoid due to abandoning monitoring data, promote user experience;Can also during waiting network recovery energy The occupied thread of the monitoring data is enough made full use of, the wasting of resources, save the cost are avoided.
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.
Above to a kind of processing method and a kind of processing unit of monitoring data of monitoring data provided by the present invention, into It has gone and has been discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, the above implementation The explanation of example is merely used to help understand method and its core concept of the invention;Meanwhile for the general technology people of this field Member, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this explanation Book content should not be construed as limiting the invention.

Claims (10)

1. a kind of processing method of monitoring data, which is characterized in that the method is applied in view networking, includes in depending on networking Shared server, monitoring access server and monitoring management dispatching platform are monitored, the monitoring management dispatching platform includes client End and server-side, which comprises
The monitoring shared server is after receiving the tune stream request based on view networking protocol that the server-side is sent, to institute It states monitoring access server and sends the tune stream request based on view networking protocol;The tune stream request based on view networking protocol The request of the tune stream of internet protocol-based is converted to by the server-side, the tune stream request of the internet protocol-based by The client is sent to the server-side;
It is described monitoring shared server receive it is described monitoring access server for it is described adjust stream request return based on view After the monitoring data of networking protocol, first thread is obtained from preset thread pool, is based on by described in using the first thread Depending on networking protocol monitoring data be converted into the monitoring data of internet protocol-based after, Xiang Suoshu client send described in be based on The monitoring data of Internet protocol;
The monitoring shared server is when sending the monitoring data of the internet protocol-based to the client, if hair Interruption is sent, then the first thread is returned to the thread pool.
2. the method according to claim 1, wherein the first thread is returned to the thread pool described The step of after, further includes:
The monitoring shared server determines whether network can send data;
The monitoring shared server obtains the second line after determining that the network can send data from the thread pool Journey sends the monitoring data of the internet protocol-based using second thread to the client.
3. the method according to claim 1, wherein described be based on to described in monitoring access server transmission Depending on networking protocol tune stream request the step of, comprising:
The monitoring shared server obtains third thread from the thread pool, is connect using the third thread to the monitoring Enter server and sends the tune stream request based on view networking protocol;
The method also includes:
The monitoring shared server is sending the tune stream request based on view networking protocol to the monitoring access server When, it is interrupted if sent, the third thread is returned to the thread pool.
4. according to the method described in claim 3, it is characterized in that, the third thread is returned to the thread pool described The step of after, further includes:
The monitoring shared server determines whether network can send data;
The monitoring shared server obtains the 4th line after determining that the network can send data from the thread pool Journey sends the tune stream based on view networking protocol to the monitoring access server using the 4th thread and requests.
5. method according to claim 2 or 4, which is characterized in that the monitoring shared server determines that network whether can The step of enough sending data, comprising:
The description information of the network is added to preset asynchronous process thread by the monitoring shared server;The asynchronous place Lineation journey is used to monitor the transmittable data event of network;
The monitoring shared server is after receiving the transmittable data notification that the asynchronous process thread issues, described in determination Network can send data;The transmittable data notification is by the asynchronous process thread in the transmittable data for listening to network It is issued after event.
6. a kind of processing unit of monitoring data, which is characterized in that described device is applied in view networking, includes in depending on networking Shared server, monitoring access server and monitoring management dispatching platform are monitored, the monitoring management dispatching platform includes client End and server-side, the monitoring shared server include:
First sending module, after being requested in the tune stream based on view networking protocol for receiving the server-side transmission, to institute It states monitoring access server and sends the tune stream request based on view networking protocol;The tune stream request based on view networking protocol The request of the tune stream of internet protocol-based is converted to by the server-side, the tune stream request of the internet protocol-based by The client is sent to the server-side;
Second sending module, for receive it is described monitoring access server for it is described adjust stream request return based on view join After the monitoring data of fidonetFido, first thread is obtained from preset thread pool, it will be described based on view using the first thread After the monitoring data of networking protocol is converted into the monitoring data of internet protocol-based, Xiang Suoshu client sends described based on mutual The monitoring data of networking protocol;
First recycling module, for when sending the monitoring data of the internet protocol-based to the client, if hair Interruption is sent, then the first thread is returned to the thread pool.
7. device according to claim 6, which is characterized in that the monitoring shared server further include:
Determining module, for determining whether network can send data;
Third sending module, for obtaining the second line from the thread pool after determining that the network can send data Journey sends the monitoring data of the internet protocol-based using second thread to the client.
8. device according to claim 6, which is characterized in that
First sending module, for obtaining third thread from the thread pool, using the third thread to the prison It controls access server and sends the tune stream request based on view networking protocol;
The monitoring shared server further include:
Second recycling module, for sending the tune stream request based on view networking protocol to the monitoring access server When, it is interrupted if sent, the third thread is returned to the thread pool.
9. device according to claim 8, which is characterized in that the monitoring shared server further include:
Determining module, for determining whether network can send data;
4th sending module, for obtaining the 4th line from the thread pool after determining that the network can send data Journey sends the tune stream based on view networking protocol to the monitoring access server using the 4th thread and requests.
10. the device according to claim 7 or 9, which is characterized in that the determining module includes:
Information adding unit, for the description information of the network to be added to preset asynchronous process thread;The asynchronous place Lineation journey is used to monitor the transmittable data event of network;
Network determination unit, described in determining after receiving the transmittable data notification that the asynchronous process thread issues Network can send data;The transmittable data notification is by the asynchronous process thread in the transmittable data for listening to network It is issued after event.
CN201910195362.3A 2019-03-14 2019-03-14 Method and device for processing monitoring data Active CN110049280B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910195362.3A CN110049280B (en) 2019-03-14 2019-03-14 Method and device for processing monitoring data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910195362.3A CN110049280B (en) 2019-03-14 2019-03-14 Method and device for processing monitoring data

Publications (2)

Publication Number Publication Date
CN110049280A true CN110049280A (en) 2019-07-23
CN110049280B CN110049280B (en) 2022-01-11

Family

ID=67273827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910195362.3A Active CN110049280B (en) 2019-03-14 2019-03-14 Method and device for processing monitoring data

Country Status (1)

Country Link
CN (1) CN110049280B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110460810A (en) * 2019-07-30 2019-11-15 视联动力信息技术股份有限公司 A kind of monitoring resource transfer method and device
CN110958291A (en) * 2019-09-10 2020-04-03 郑州嘉晨电器有限公司 Industrial vehicle data transmission system and method
CN111683228A (en) * 2020-03-04 2020-09-18 视联动力信息技术股份有限公司 Data transmission method and device based on video network, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001086446A2 (en) * 2000-05-05 2001-11-15 Mercury Interactive Corporation Use of single control flow to support multiple network connections for server load testing
CN1758753A (en) * 2005-10-09 2006-04-12 南京邮电大学 Real-time multi-model radio video monitoring device and its control method
CN102377814A (en) * 2010-08-25 2012-03-14 汎惪股份有限公司 Remote assistance service method aiming at embedded operation system
CN102571868A (en) * 2010-12-31 2012-07-11 北京新媒传信科技有限公司 Instant messaging method, device and system
US20160275024A1 (en) * 2015-03-20 2016-09-22 International Business Machines Corporation Preventing software thread blocking due to interrupts
CN106254271A (en) * 2016-08-08 2016-12-21 北京邮电大学 A kind of queue configuration method able to programme for software defined network and device
CN107846449A (en) * 2017-09-28 2018-03-27 武汉斗鱼网络科技有限公司 Method, apparatus, readable storage medium storing program for executing and the equipment of calling system instrument
CN107959665A (en) * 2016-10-18 2018-04-24 北京视联动力国际信息技术有限公司 A kind of communication means and communication system
CN109302472A (en) * 2018-09-27 2019-02-01 视联动力信息技术股份有限公司 A kind of view networked resources method for releasing and view networking share Platform Server

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001086446A2 (en) * 2000-05-05 2001-11-15 Mercury Interactive Corporation Use of single control flow to support multiple network connections for server load testing
CN1758753A (en) * 2005-10-09 2006-04-12 南京邮电大学 Real-time multi-model radio video monitoring device and its control method
CN102377814A (en) * 2010-08-25 2012-03-14 汎惪股份有限公司 Remote assistance service method aiming at embedded operation system
CN102571868A (en) * 2010-12-31 2012-07-11 北京新媒传信科技有限公司 Instant messaging method, device and system
US20160275024A1 (en) * 2015-03-20 2016-09-22 International Business Machines Corporation Preventing software thread blocking due to interrupts
CN106254271A (en) * 2016-08-08 2016-12-21 北京邮电大学 A kind of queue configuration method able to programme for software defined network and device
CN107959665A (en) * 2016-10-18 2018-04-24 北京视联动力国际信息技术有限公司 A kind of communication means and communication system
CN107846449A (en) * 2017-09-28 2018-03-27 武汉斗鱼网络科技有限公司 Method, apparatus, readable storage medium storing program for executing and the equipment of calling system instrument
CN109302472A (en) * 2018-09-27 2019-02-01 视联动力信息技术股份有限公司 A kind of view networked resources method for releasing and view networking share Platform Server

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110460810A (en) * 2019-07-30 2019-11-15 视联动力信息技术股份有限公司 A kind of monitoring resource transfer method and device
CN110460810B (en) * 2019-07-30 2021-01-22 视联动力信息技术股份有限公司 Monitoring resource calling method and device
CN110958291A (en) * 2019-09-10 2020-04-03 郑州嘉晨电器有限公司 Industrial vehicle data transmission system and method
CN111683228A (en) * 2020-03-04 2020-09-18 视联动力信息技术股份有限公司 Data transmission method and device based on video network, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110049280B (en) 2022-01-11

Similar Documents

Publication Publication Date Title
CN108881133B (en) A kind of communication means and device of media data
CN108012106B (en) A kind of method and system regarding networking monitoring source synchronous
CN108063741A (en) A kind of transport protocol conversion method and apparatus
CN109525460A (en) A kind of method and apparatus of view networking number resource monitoring
CN109451264A (en) A kind of method and system of monitoring device membership
CN110121059A (en) Monitor video processing method, device and storage medium
CN109547417A (en) Code stream transmission method and device
CN109302472A (en) A kind of view networked resources method for releasing and view networking share Platform Server
CN109150905A (en) A kind of view networked resources method for releasing and view networking share Platform Server
CN109743536A (en) A kind of method and apparatus of video data access
CN109547163A (en) A kind of control method and device of message transmission rate
CN110475125A (en) Video transcoding method and device
CN110049341A (en) Method for processing video frequency and device
CN110062295A (en) A kind of file resource acquisition methods and system
CN110049346A (en) A kind of method and system of net cast
CN109743550A (en) A kind of method and apparatus of monitoring data tune stream
CN110049280A (en) The treating method and apparatus of monitoring data
CN110035297A (en) Method for processing video frequency and device
CN110505107A (en) A kind of monitoring method and view networking management system
CN109347930A (en) A kind of task processing method and device
CN110536178A (en) A kind of live-broadcast control method and system
CN110430388A (en) A kind of monitoring device control method, device and readable storage medium storing program for executing
CN110460644A (en) A kind of data processing method and streaming media server
CN110266577A (en) A kind of tunnel establishing method and view networked system
CN110445639A (en) A kind of hot spare method and device of server

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