[go: up one dir, main page]

CN106803939A - Video monitoring system and its control method - Google Patents

Video monitoring system and its control method Download PDF

Info

Publication number
CN106803939A
CN106803939A CN201710120914.5A CN201710120914A CN106803939A CN 106803939 A CN106803939 A CN 106803939A CN 201710120914 A CN201710120914 A CN 201710120914A CN 106803939 A CN106803939 A CN 106803939A
Authority
CN
China
Prior art keywords
server
operation requests
monitoring client
client
monitoring
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.)
Pending
Application number
CN201710120914.5A
Other languages
Chinese (zh)
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.)
Netposa Technologies Ltd
Original Assignee
Netposa Technologies 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 Netposa Technologies Ltd filed Critical Netposa Technologies Ltd
Priority to CN201710120914.5A priority Critical patent/CN106803939A/en
Publication of CN106803939A publication Critical patent/CN106803939A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/226Characteristics of the server or Internal components of the server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention provides a kind of video monitoring system and its control method, and the system includes multiple monitoring clients, multiple server and client sides, each server at least one monitoring client of correspondence;Each monitoring client is used to, and gathers video data;Client is used for, and obtains the operation requests of user and sends to a server, wherein, operation requests one monitoring client of correspondence, including monitoring client configuring request and/or video acquisition request;Each server is used to, after operation requests are received, decision asks whether corresponding monitoring client is itself corresponding monitoring client, if, then operation requests are sent to itself corresponding monitoring client, otherwise, operation requests remaining server is forwarded to, and when repeating to receive operation requests, operation requests are sent to the corresponding monitoring client of operation requests.By video monitoring system and its control method in the present invention, balance can be obtained between this 2 points of server stability and utilization rate.

Description

Video monitoring system and its control method
Technical field
The present invention relates to technical field of video monitoring, in particular to a kind of video monitoring system and its control method.
Background technology
Security protection video monitoring is important technological prevention means, is widely used in the fields such as public security, finance, building, traffic. For many years, government and various circles of society persistently put into construction video monitoring engineering, and current video monitoring system has the characteristics that: Equipment storage is big, protocol type is more, system scale is big, networked environment is complicated.
Video monitoring system is mainly made up of video acquisition end, server and client side, to meet security protection requirement, video prison The stability of control system and the high usage of server are important evaluation indexes, and the stability of wherein video monitoring system is closed the most Key, directly affects the performance of video monitoring system function.
It is main by the hot standby work for waiting various ways raising video monitoring system of finger daemon and slave in the industry at present Stability, however, one problem of prior art generally existing, it is difficult to obtained between this 2 points of server stability and utilization rate Balance, such as, it is necessary to develop the part conservation of resources finger daemon when ensureing the stability of server using finger daemon, service Device utilization rate step-down;When ensureing the stability of server using the hot standby mode of slave, main frame operation, slave is in stand-by shape State, server utilization is low.
It is difficult to obtain flat between this 2 points of server stability and utilization rate for video monitoring system in the prior art The problem of weighing apparatus, not yet there is good solution at present.
The content of the invention
In view of this, it is an object of the invention to provide a kind of video monitoring system and its control method, can be in service Balance is obtained between this 2 points of device stability and utilization rate.
In a first aspect, a kind of video monitoring system is the embodiment of the invention provides, including multiple monitoring clients, multiple servers And client, each monitoring client described in the server correspondence at least one;Each described monitoring client is used to, and gathers video counts According to;The client is used for, and obtains the operation requests of user and sends to server described in, wherein, the operation requests pair Answer monitoring client described in, including monitoring client configuring request and/or video acquisition request;Each described server is used to, and is connecing After receiving the operation requests, judge whether the corresponding monitoring client of the operation requests is itself corresponding monitoring End, if so, then sending to itself corresponding monitoring client the operation requests, otherwise, the operation requests is forwarded to Remaining described server, and when repeating to receive the operation requests, the operation requests are sent please to the operation Seek the corresponding monitoring client.
With reference in a first aspect, the embodiment of the invention provides first aspect the first possible implementation method, wherein, it is described Client is specifically for according to the corresponding monitoring client of the operation requests, each described server and each described monitoring Corresponding relation between end, determines the corresponding server of the operation requests, however, it is determined that the server can use, then will The operation requests are sent to the server for determining, otherwise, sending the operation requests according to preset rules can to one The server.
With reference in a first aspect, the embodiment of the invention provides second possible implementation method of first aspect, wherein, own The server sets up connection successively using one-way circulation order, and each described server is specifically for judging the operation When asking the corresponding monitoring client to be not correspond to itself, the operation requests are forwarded to according to one-way circulation order Next server.
With reference in a first aspect, the embodiment of the invention provides first aspect the third possible implementation method, wherein, each The server is judging whether the corresponding monitoring client of the operation requests before the corresponding monitoring client, is gone back as itself For judging whether whether whether the operation requests ask as Streaming Media, meet load request and meet stream multiplexing bar successively Part, if it is determined that the operation requests are Streaming Media request, meet load request and are unsatisfactory for flowing multiplexing condition, then judges described Whether the corresponding monitoring client of operation requests is itself corresponding monitoring client.
The third possible implementation method with reference to first aspect, the embodiment of the invention provides the 4th kind of possibility of first aspect Implementation method, wherein, each described server is additionally operable to, if it is determined that the operation requests not be Streaming Media request, then judge Whether the corresponding monitoring client of the operation requests is itself corresponding monitoring client.
The third possible implementation method with reference to first aspect, the embodiment of the invention provides the 5th kind of possibility of first aspect Implementation method, wherein, each described server is additionally operable to, if it is determined that the operation requests be Streaming Media ask and be unsatisfactory for bearing Carrier strip part, then determine whether to repeat to receive the operation requests, if so, then notify that the client request fails, otherwise, will The operation requests are forwarded to remaining described server.
The third possible implementation method with reference to first aspect, the embodiment of the invention provides the 6th kind of possibility of first aspect Implementation method, wherein, each described server is additionally operable to, if it is determined that the operation requests be Streaming Media request, meet load It is required that and meet stream multiplexing condition, then carry out stream multiplexing forwarding.
With reference in a first aspect, the embodiment of the invention provides the 7th kind of possible implementation method of first aspect, wherein, each The monitoring client is respectively provided with the first mark, and each described server is respectively provided with the second mark, and described the of each monitoring client The quantity of one mark allows access number of times equal to each monitoring client.
With reference to the 7th kind of possible implementation method of first aspect, the 8th kind of possibility of first aspect is the embodiment of the invention provides Implementation method, wherein, each it is described first mark and each it is described second mark include numeral, each described server with The corresponding relation of each monitoring client is true according to the described first mark, second mark, the quantity of all servers It is fixed.
With reference to second possible implementation method of first aspect, the 9th kind of possibility of first aspect is the embodiment of the invention provides Implementation method, wherein, each described server is additionally operable to, and the config update request that the client sends is received, according to institute State config update request and update the configuration information of itself, and ask the config update to forward according to one-way circulation order To next server, when repeating to receive the config update request, it is determined that update completing, each institute after updating is calculated State the corresponding relation between server and each described monitoring client.
With reference to second possible implementation method of first aspect, the tenth kind of possibility of first aspect is the embodiment of the invention provides Implementation method, wherein, one-way circulation between all servers order using one-way circulation chained list record, using in institute State and delete and/or add the one-way circulation that the mode of the server is changed between all servers in one-way circulation chained list Sequentially.
Second aspect, the embodiment of the invention provides a kind of control method of video monitoring system, the video monitoring system The video monitoring system united described in above-mentioned first aspect, the control method is performed by the server, including:Receiving After the operation requests, judge whether the corresponding monitoring client of the operation requests is itself corresponding monitoring client;If It is then to send to itself corresponding monitoring client the operation requests, otherwise, the operation requests is forwarded to remaining The server, and when repeating to receive the operation requests, the operation requests are sent relative to the operation requests The monitoring client answered.
In the embodiment of the present invention, setting video monitoring system includes multiple monitoring clients, multiple server and client sides, and sets Put each server at least one monitoring client of correspondence;When server receives the operation requests of user, the operation requests are judged Whether corresponding monitoring client is itself corresponding monitoring client, if so, then send to itself corresponding monitoring client the operation requests, Otherwise, the operation requests are forwarded to remaining server, and when repeating to receive the operation requests, by operation requests hair Deliver to the corresponding monitoring client of the operation requests.It is many by video monitoring system and its control method in the embodiment of the present invention Individual server is both participated in system work, and server utilization is high, using the framework of multiple servers, when with certain monitoring client During corresponding server failure, additionally it is possible to the operation requests of the monitoring client should be directed to by other server process, so as to improve be Unite the stability of work, therefore video monitoring system and its control method in the present embodiment, can in server stability and Balance is obtained between this 2 points of utilization rate, it is to avoid video monitoring system stability is high in the prior art and server utilization is low Problem.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be attached to what is used needed for embodiment Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, thus be not construed as it is right The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
The structural representation of the video monitoring system that Fig. 1 is provided for first embodiment of the invention;
First mark of the monitoring client that Fig. 2 is provided for first embodiment of the invention sets schematic diagram;
Annexation schematic diagram between the server that Fig. 3 is provided for first embodiment of the invention;
The server configuration change schematic diagram that Fig. 4 is provided for first embodiment of the invention;
The server configuration change flow chart that Fig. 5 is provided for first embodiment of the invention;
The operation requests handling process schematic diagram of the server end that Fig. 6 is provided for first embodiment of the invention;
The schematic flow sheet of the control method of the video monitoring system that Fig. 7 is provided for second embodiment of the invention.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention Middle accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only It is a part of embodiment of the invention, rather than whole embodiments.The present invention generally described and illustrated in accompanying drawing herein is real The component for applying example can be arranged and designed with a variety of configurations.Therefore, it is of the invention to what is provided in the accompanying drawings below The detailed description of embodiment is not intended to limit the scope of claimed invention, but is merely representative of selected reality of the invention Apply example.Based on embodiments of the invention, the institute that those skilled in the art are obtained on the premise of creative work is not made There is other embodiment, belong to the scope of protection of the invention.
It is difficult to be taken between this 2 points of the stability of server 200 and utilization rate in view of video monitoring system in the prior art Must balance, the invention provides a kind of video monitoring system and its control method, can be in the stability of server 200 and utilization rate Balance is obtained between this 2 points, is specifically described with reference to embodiment.
Embodiment one
First embodiment of the invention provides a kind of video monitoring system, and Fig. 1 is regarding that first embodiment of the invention is provided The structural representation of frequency monitoring system, as shown in figure 1, the system includes:Multiple monitoring clients 100, multiple servers 200 and client End 300, each server 200 at least one monitoring client 100 of correspondence, client 300 can be multiple;
Each monitoring client 100 is used to, and gathers video data;
Client 300 is used for, and obtains the operation requests of user and sends to a server 200, wherein, the operation requests pair Answer a monitoring client 100, including monitoring client configuring request and/or video acquisition request;
Each server 200 is used to, and after the operation requests are received, judges the corresponding monitoring client of the operation requests Whether 100 be itself corresponding monitoring client 100, if so, then send to itself corresponding monitoring client 100 operation requests, it is no Then, the operation requests are forwarded to remaining server 200, and when repeating to receive the operation requests, by the operation requests Send to the corresponding monitoring client 100 of the operation requests.
In the embodiment of the present invention, setting video monitoring system includes multiple monitoring clients 100, multiple servers 200 and client End 300, and each server 200 at least one monitoring client 100 of correspondence is set;The operation for receiving user in server 200 please When asking, judge whether the corresponding monitoring client 100 of the operation requests is itself corresponding monitoring client 100, if so, then please by the operation Transmission to itself corresponding monitoring client 100 is asked, otherwise, the operation requests remaining server 200 is forwarded to, and repeating to connect When receiving the operation requests, the operation requests are sent to the corresponding monitoring client 100 of the operation requests.Implemented by the present invention System in example, multiple servers 200 are both participated in system work, and the utilization rate of server 200 is high, using multiple servers 200 framework, when 200 failure of server corresponding with certain monitoring client 100, additionally it is possible to process this by other servers 200 For the operation requests of the monitoring client 100, so as to improve the stability of system work, therefore system in the present embodiment can be Balance is obtained between this 2 points of server stability and utilization rate, it is to avoid video monitoring system stability is high and take in the prior art The low problem of business device utilization rate.
In the present embodiment, monitoring client 100 includes audio-video acquisition equipment, encoding device, decoding device and display device Deng being specifically as follows the device that CCTV camera, decoder, monitor supervision platform etc. send or receive message and Media Stream.Such as, supervise Control end 100 is arranged at escalator, passageway for fire apparatus etc., including camera and encoding device, for gathering escalator, passageway for fire apparatus Etc. video data.
In the present embodiment, client 300 includes the terminal device such as mobile phone, computer, for user's operation to be converted into calculating Machine command sequence, namely according to user's operation generation operation requests, and the operation requests are sent to a server 200.Client End 300 is additionally operable to the information and media data of the return of reception processing server 200.
In the present embodiment, operation has service software, the operation service software of server 200, for receiving visitor on server 200 The operation requests that family end 300 sends, perform the operation requests, and control monitoring client 100 is responded.Such as, operation requests are prison End configuring request is controlled, then server 200 controls monitoring client 100 to be configured according to the monitoring client configuring request, and for example, operation please Ask as video acquisition is asked, then server 200 asks the acquisition monitoring client 100 from monitoring client 100 to gather according to the video acquisition Video data.
In the present embodiment, client 300 communicates with server 200, and server 200 communicates with monitoring client 100.Each service Device 200 is properly termed as a service node, and the treatment logic of any one server 200 all, not considers server 200 The difference of hardware differences and COM1, is holosymmetric, this holosymmetric structure energy between the server 200 in system Enough ensure that each server 200 is fully used, so as to improve the utilization rate of Servers-all 200.
Server 200 needs to be run based on some configuration informations, and configuration information is the basis of whole system operation, mainly Including:The access of monitoring client 100 and control information, the communication information of whole servers 200.Server 200 is according to monitoring client 100 The configuration information access that can realize to monitoring client 100, the information realization scheduling logic according to whole servers 200.Client After the system in the present embodiment is accessed at end 300, (mainly monitoring client configuration information and server are configured fetching portion configuration information Information), initiate operation requests to destination server 200 on this basis.
For ease of the management of monitoring client 100, in the present embodiment, each monitoring client 100 is respectively provided with the first mark, and each is supervised The quantity of first mark at control end 100 allows access number of times equal to each monitoring client 100.
For each monitoring client 100, the first mark is made up of two parts, and a part is the equipment sequence of monitoring client 100 Number, a part is the access sequence number of monitoring client 100, and wherein equipment serial number uses monotonic increase rule setting, each monitoring client 100 Equipment serial number differ, access sequence number use monotonic increase rule setting, the access sequence number of each monitoring client 100 is not Together.The first mark of each monitoring client 100 is preserved using ordered queue in systems.When new monitoring client 100 is added, according to The distributing equipment sequence number of monitoring client 100 that equipment serial number monotonic increase rule is newly increased for this, advises according to sequence number monotonic increase is accessed Then for its distribution accesses sequence number.In systems, when certain monitoring client 100 is deleted, such as temporarily without or the permanent not used time, its The first mark for taking is not released.
First mark of the monitoring client 100 that Fig. 2 is provided for first embodiment of the invention sets schematic diagram, as shown in Fig. 2 S Represent and access sequence number, D represents equipment serial number, and S1-D1 represents the monitoring client 100 first time access system that equipment serial number is D1, empty Monitoring client 100 in wire frame represents and is deleted from system that the monitoring client 100 in left side is by access system in figure.
According to foregoing, when a monitoring client 100 is supported repeatedly to access, it has two first marks, such as, and S1-D1, S2-D1, represents that equipment serial number is the record of access twice of the monitoring client 100 of D1.Equally, if certain monitoring client 100 is deleted, Relative record will be deleted, such as S5-D3, and S6-D3 is deleted simultaneously.
The specific generation of the first mark can be shown with following pseudo table in the present embodiment:
/*********
Function:Generation monitoring client 100 sequence number in systems, the i.e. unique mark of monitoring client 100.
IN DeviceInfo are configured according to the situation of monitoring client 100, the number of times that monitoring client 100 can be accessed simultaneously on Limit (upper limit root is configured according to the access capability of the reality of monitoring client 100)
The sequence of IN ServerNode servers 200
*********/
void GenerateDeviceSerialNum(DeviceInfo,ServerNodeQueue,)
{
// each monitoring client 100 takes several continuous sequence numbers
//DeviceInfo.AccessLimit is configured according to the situation of monitoring client 100, while monitoring client 100 is supported Access the number of times upper limit
//ServerNodeQueue.size is the length of the queue of server 200
INT SerialInterval=Min (DeviceInfo.AccessLimit, ServerNodeQueue.size);
UpdateDeviceQueue(SerialInterval,DeviceInfo);
}。
In the present embodiment, each server 200 is respectively provided with the second mark, and this second is identified for identifying each server 200.Preferably, each first mark and each second mark include numeral, such as represent that each takes with the form of sequence number 1,2,3 Second mark of business device 200.In the present embodiment, Servers-all 200 sets up connection, all clothes successively using one-way circulation order One-way circulation order between business device 200 is using one-way circulation chained list record.
Fig. 3 is the annexation schematic diagram between server 200, and in Fig. 3, SNi is the second mark, and wherein i is numeral, such as Shown in Fig. 3, the configuration of server 200 is recorded using one-way circulation chained list.The configuration information of server 200 is global synchronization. After completing once to configure, the one-way circulation chained list is just fixed and unique, if there is the feelings of certain server 200 failure Condition, then be unavailable by the status modifier of the server 200, and (server 200 and client 300 judge it by communication protocol The validity of his server 200, and marked in respective program), system will not be automatically deleted in the one-way circulation chained list The server 200, after the server 200 of failure recovers to respond, moreover it is possible to work on.Each server 200 and client 300 This part of service configuration (i.e. the annexation between Servers-all in Fig. 3) can be got.Client 300 can combine behaviour Make the corresponding monitoring client 100 of request, the corresponding relation between monitoring client 100 and server 200, judge to which server 200 initiate operation requests.Server 200 according to the one-way circulation chained list, can determine the forwarding target of operation requests.
In the present embodiment, each server 200 is marked with the corresponding relation of each monitoring client 100 according to the first mark, second Know, the quantity of Servers-all 200 determines.
Specifically, in order to improve system treatment effeciency, monitoring client 100 and server 200 are carried out " weak binding ".It is this to tie up Determining relation is calculated according to the mark of server 200 and monitoring client 100, when client 300 gets whole monitoring After first mark at end 100 and the second mark of server 200, it is possible to calculate each monitoring client 100 and each server 200 Between corresponding relation.
The computing formula of corresponding relation:ServerIndex=DeviceSerialNum% ServerNodeQueue.size.In the formula, ServerIndex represents the subscript of the second mark of server 200, DeviceSerialNum is the equipment serial number during monitoring client 100 first is identified, and % is the calculating descriptor that rems, ServerNodeQueue.size is the length of one-way circulation chained list, namely Servers-all quantity.
In the present embodiment, based on the one-way circulation relation between above-mentioned Servers-all 200, additionally it is possible to using above-mentioned The one-way circulation that the mode of deletion and/or addition server 200 is changed between Servers-all 200 in one-way circulation chained list is suitable Sequence.
The configuration change schematic diagram of server 200 that Fig. 4 is provided for the present embodiment, as shown in figure 4, by current server 200 Between one-way circulation relation modify, during modification using in above-mentioned one-way circulation chained list delete and/or add service The mode of device 200 is realized.In the present embodiment change server 200 between configuration relation when, based on Servers-all 200 it Between one-way circulation relation, ensure that the transitional period in configuration change, or use out-of-date configuration information access server 200 In the case of, also can successful execution instruction.The configuration behavior that the present embodiment is supported includes addition and deletes (not support that modification is grasped Make, modification can be realized by the combination deleted and add).
As shown in figure 4, there is of short duration intermediateness during configuration is updated, such as certain server 200 (more than SN in figure2As a example by) configuration information is out-of-date, for the server 200, follow-up server 200SN3Also exist, but It is due to actually SN3Service processes have logged out, also would not respond request again, all of request is transmitted to SN4.For new The SN of addition6For, SN2Expired configuration in, SN6And do not exist, would not also receive new response.
In the present embodiment, the process of modification configuration information of server 200 (i.e. annexation between server) is:Server 200 receive the config update request that client 300 sends, according to the config update request renewal configuration information of itself, and according to Config update request is forwarded to next server 200 by above-mentioned one-way circulation order, is repeating to receive config update request When, it is determined that update completing, calculate the corresponding relation between each server 200 and each monitoring client 100 after updating.
The configuration change flow chart of server 200 that Fig. 5 is provided for the present embodiment, as shown in figure 5, the configuration of server 200 becomes More flow is:
Step S501, server 200 receives the request for updating server configuration.
Step S502, server 200 updates the configuration of itself.
Step S503, according to existing one-way circulation sequentially, the request that will update server configuration is forwarded to server 200 Next server 200.
Step S504, judges whether to receive the request of renewal server configuration again, if so, step S505 is performed, Otherwise, this step is circulated.
Step S505, each server 200 is recalculated with each monitoring client 100 according to the server configuration after renewal Corresponding relation.
It should be noted that after server 200 receives the request for updating server configuration, Servers-all 200 and client End 300 can't at once recalculate the corresponding relation of server 200 and monitoring client 100, wait until the clothes of all normal operations Business device 200 is fully completed config update, and server 200 can just recalculate the corresponding relation of server 200 and monitoring client 100, And notify that each client 300 for logging in updates configuration.
Based on the corresponding relation between above-mentioned monitoring client 100 and server 200, server 200 is used with monitoring client 100 Corresponding relation, each server 200 at least corresponds to a monitoring client 100.Server list is shown in client 300, the row It is labeled with the icon of each server 200 in table, and is labeled with the state of each server 200, i.e., the server 200 is available Or it is unavailable.When client 300 sends operation requests to server 200, and the operation requests are directed to certain monitoring client 100 When, the processing mode of client 300 is to obtain the operation requests, according to the corresponding monitoring client 100 of operation requests for obtaining, often Corresponding relation between individual server 200 and each monitoring client 100, it is determined that the corresponding server 200 of operation requests for obtaining, if The server 200 of determination can use, then send to the server 200 for determining operation requests, otherwise, will be operated according to preset rules Request is sent to an available server 200.
Above-mentioned preset rules, such as first server 200 in list, can grasped to preassign a server 200 When the corresponding server 200 of work request is unavailable, the operation requests are sent to preassigned server 200.Preset rules Can also be that, when the corresponding server 200 of operation requests is unavailable, random selection one can use in the list of server 200 Server 200, the operation requests are sent to the randomly selected available server 200.Above-mentioned signified server 200 It is unavailable, debugged including the Single Point of Faliure of server 200, server 200, server 200 does not access the system in the present embodiment etc. Situation.
Based on the corresponding relation between above-mentioned monitoring client 100 and server 200, each server 200 is receiving behaviour After asking, judge whether the corresponding monitoring client 100 of the operation requests is itself corresponding monitoring client 100, if so, then grasping this Make request to send to itself corresponding monitoring client 100, otherwise, be forwarded to the operation requests according to above-mentioned one-way circulation order Next server 200.
In this manner it is achieved that when server 200 corresponding with operation requests is in down state, then client 300 Determine to receive the server 200 of the operation requests according to preset rules, after the server 200 receives the operation requests, will be by Operation requests are sent to next server 200 according to above-mentioned one-way circulation order, due to server corresponding with operation requests 200 are in down state, therefore the operation requests will circulate between all available servers 200 all the time, please in operation During the circulation asked, each server 200 determines whether to repeat to receive the operation when the operation requests are received, all Request, after the operation requests flow through Servers-all 200, the server 200 for most initially receiving the operation requests will be sentenced It is fixed to repeat to receive the operation requests, then most initially receive the server 200 of the operation requests, by the operation requests send to The corresponding monitoring client 100 of the operation requests, so that the operation requests are processed.
The operation requests handling process schematic diagram at the end of server 200 that Fig. 6 is provided for the present embodiment.As shown in fig. 6, each Server 200 before whether the corresponding monitoring client 100 of operation requests for judging to receive as itself corresponding monitoring client 100, It is additionally operable to judge whether whether whether the operation requests ask as Streaming Media, meet load request and meet stream multiplexing bar successively Part, if the operation requests are Streaming Media request, meet load request and are unsatisfactory for flowing multiplexing condition, judges the operation requests Whether corresponding monitoring client 100 is itself corresponding monitoring client 100.
As shown in fig. 6, each server 200 is additionally operable to, if it is determined that the operation requests for receiving are not for Streaming Media is asked, then Judge whether the corresponding monitoring client 100 of the operation requests is itself corresponding monitoring client 100.
As shown in fig. 6, each server 200 is additionally operable to, if it is determined that operation requests are Streaming Media and asking and being unsatisfactory for load Condition, then (namely whether the operation requests circulate one between Servers-all to determine whether to repeat to receive the operation requests Wheel), if so, then notifying the request failure of client 300, otherwise, the operation requests are forwarded to remaining server 200.Specifically, Operation requests are forwarded to next server 200 according to the configuration relation between server 200.
As shown in fig. 6, each server 200 is additionally operable to, if it is determined that the operation requests for receiving are Streaming Media request, meet Load request and satisfaction stream multiplexing condition, then carry out stream multiplexing forwarding.
Specifically, client 300 sends operation requests:Client 300 is according between monitoring client 100 and server 200 Corresponding relation, determines the corresponding server 200 of the operation requests, because a monitoring client 100 can be accessed repeatedly, therefore one Monitoring client 100 may belong to multiple continuous servers 200, and now client 300 is attempted being sent out to first server 200 every time Rise request, if with first communication failure of server 200, to next server 200 initiate ask, by that analogy.
Flow in Fig. 6 is elaborated.The operation requests of video monitoring system are divided into two major classes, and one kind is request control Streaming media processed, another kind is to obtain, set monitoring client configuration information.In Fig. 6 steps S601, it is right that server 200 first has to The operation requests for receiving are judged, are then to perform step S602 if it is determined that being the related request of Streaming Media, judge current Whether server 200 meets loading condition, if it is not satisfied, step S603 is then performed, whether continuation judge the operation requests A wheel is flowed through between Servers-all 200, judges whether to repeat to receive the operation requests in this step, if, it is determined that Whether the operation requests flow through a wheel between Servers-all 200, otherwise, it determines not flowing through a wheel.If the operation Request flows through a wheel between Servers-all 200, then it is assumed that no server 200 can process the operation requests, hold Row step S604, returns to client 300 and fails, if the operation requests do not flow through a wheel between Servers-all 200, holds Row step S605, continues to forward the operation requests to next server 200 according to the one-way circulation order for defining before.
In step S602, if it is determined that meeting load request, then step S606 is performed, judge whether the operation requests meet Flow the condition of multiplexing.Wherein stream multiplexing, refers to that server 200 only obtains a real-time streams to monitoring client 100, and client 300 is again During secondary initiation browse request, this road Media Stream directly can be forwarded from service end, so can effectively reduce the access of monitoring client 100 Pressure, especially in the case where largely concurrently browsing, it is necessary to use stream multiplexing technology.If step S606 judges to meet stream multiplexing bar Part, then perform step S607, carries out circulation hair, if step S606 judges not being inconsistent interflow multiplexing condition, performs step S608, sentences The whether corresponding book server 200 of the corresponding monitoring client 100 of the operation requests of breaking, if so, then perform step S609, then directly to this Whether the corresponding monitoring client 100 of server 200 sends the operation requests, if it is not, then performing step S610, judges the operation requests Flow through a wheel (namely determine whether repeat receive the operation requests) between Servers-all 200, the step with S603 is identical, repeats no more.If step S610 is judged as YES, step S611 is performed, directly to the corresponding prison of the operation requests Control end 100 sends the operation requests, if it is not, then performing step S612, continues downward according to the one-way circulation order for defining before One server 200 forwards the operation requests.
In Fig. 6, if it is not Streaming Media association requests that step S601 judges operation requests, goes to step S608 and continue to hold OK.
It should be noted that signified in the present embodiment " judge whether operation requests flow through one between Servers-all Wheel ", its substantive implication is exactly " determining whether to receive the operation requests again ", therefore both expression ways can be exchanged, If have in the above with Fig. 6 not corresponding positions, or inconsistent place is expressed, according to " judging operation requests whether in all services A wheel is flowed through between device " it is equal to " judging whether to receive the operation requests again " treatment.
Even if it should be noted that certain monitoring client 100 is not belonging to book server 200, it is also possible to by book server 200 Control the monitoring client 100.Specifically, when the first time of server 200 receives operation requests, if the operation requests are corresponding Monitoring client 100 is not belonging to book server 200, will be forwarded to next server 200 (if the server 200 of direct neighbor Retransmission failure, then can skip this server 200 and continue forwarding downwards, untill forwarding successfully).Because server 200 Configuration relation is preserved using one-way circulation chained list, if in global scope, all untreated operation requests of institute's server 200, then Book server 200 will again receive this operation requests, at this time, book server 200 will the temporary takeover operation please Corresponding monitoring client 100 is sought, operation requests are initiated to it.
This mode of operation ensure that the preferential server 200 for using and there is corresponding relation with monitoring client 100, and improving please Hit rate is sought, shortens response time delay, while in the case of solving the failure of corresponding server 200 again, access control target monitoring The problem at end 100.
To sum up, by the system in the embodiment of the present invention, multiple servers 200 are both participated in system work, server 200 utilization rates are high, using the framework of multiple servers 200, when 200 failure of server corresponding with certain monitoring client 100, also The operation requests for the monitoring client 100 can be processed by other servers 200, so that the stability of system work is improved, Therefore the system in the present embodiment can obtain balance between this 2 points of server stability and utilization rate, it is to avoid prior art Middle video monitoring system stability is high and the low problem of server utilization.
To sum up, the system in the embodiment of the present invention, at least has the following effects that:
(1) multiserver 200 cooperates, it is to avoid the systemic breakdown that single-point hardware and software failure triggers;
(2) maintenance and management is simple, the holohedral symmetry of the Servers-all 200 (program one that every server 200 is disposed and run Sample), simplify deployment and reduce maintenance cost, each server is involved in system task scheduling, and server utilization is high;
(3) compared with the scheme of multi-host hot swap, without distinguishing standby machine, without (or automatic) switching standby machine, institute manually The server 200 for having normal operation can participate in system task, make full use of hardware resource;
(4) failure of part server, may reduce the media transfer capability of whole system, but negative in remainder forwarding In the range of load, system can continue offer service;
(5) scale is scalable, and the present invention is not limited the number of server 200, it is necessary to reach unlike cloud platform Certain quantity of server 200 could embody technical advantage.
Embodiment two
Video monitoring system in correspondence above-described embodiment one, the present embodiment additionally provides a kind of control of video monitoring system Method processed, the video monitoring system is the video monitoring system in embodiment one, and Fig. 7 is supervised for video provided in an embodiment of the present invention The schematic flow sheet of the control method of control system, the control method is performed by above-mentioned server 200, as shown in fig. 7, the control Method includes:
Whether step S701, after operation requests are received, judge the corresponding monitoring client 100 of the operation requests as itself is right The monitoring client 100 answered;
Step S702, if so, then sending to itself corresponding monitoring client 100 operation requests, otherwise, the operation is asked Ask and be forwarded to remaining server 200, and when repeating to receive the operation requests, the operation requests are sent please to the operation Seek corresponding monitoring client 100.
It is able to know that, the control method and above-mentioned video monitoring system are corresponded, specifically describes and visible above-mentioned be System part, therefore repeat no more here.
By the control method in the embodiment of the present invention, multiple servers 200 are both participated in system work, server profit It is high with rate, using the framework of multiple servers, when 200 failure of server corresponding with certain monitoring client 100, additionally it is possible to by it His server 200 processes the operation requests for the monitoring client 100, so that the stability of system work is improved, therefore this reality Applying the control method in example can obtain balance between this 2 points of server stability and utilization rate, it is to avoid regard in the prior art Frequency monitoring system stability is high and the low problem of server utilization.
In embodiment provided by the present invention, it should be understood that disclosed apparatus and method, can be by other sides Formula is realized.Device embodiment described above is only schematical, for example, the division of the unit, only one kind are patrolled Collect function to divide, there can be other dividing mode when actually realizing, but for example, multiple units or component can combine or can To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other Coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some communication interfaces Connect, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme 's.
In addition, during each functional unit in the embodiment that the present invention is provided can be integrated in a processing unit, also may be used Being that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is to realize in the form of SFU software functional unit and as independent production marketing or when using, can be with Storage is in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are used to so that a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined in individual accompanying drawing, then it need not be further defined and explained in subsequent accompanying drawing, additionally, term " the One ", " second ", " the 3rd " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
Finally it should be noted that:Embodiment described above, specific embodiment only of the invention, is used to illustrate the present invention Technical scheme, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, it will be understood by those within the art that:Any one skilled in the art The invention discloses technical scope in, it can still modify to the technical scheme described in previous embodiment or can be light Change is readily conceivable that, or equivalent is carried out to which part technical characteristic;And these modifications, change or replacement, do not make The essence of appropriate technical solution departs from the spirit and scope of embodiment of the present invention technical scheme.Should all cover in protection of the invention Within the scope of.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (12)

1. a kind of video monitoring system, it is characterised in that including multiple monitoring clients, multiple server and client sides, described in each Monitoring client described in server correspondence at least one;
Each described monitoring client is used to, and gathers video data;
The client is used for, and obtains the operation requests of user and sends to server described in, wherein, the operation requests pair Answer monitoring client described in, including monitoring client configuring request and/or video acquisition request;
Each described server is used to, and after the operation requests are received, judges the corresponding prison of the operation requests Whether control end is itself corresponding monitoring client, if so, then sending to itself corresponding monitoring the operation requests The operation requests otherwise, are forwarded to remaining described server by end, and when repeating to receive the operation requests, will The operation requests are sent to the corresponding monitoring client of the operation requests.
2. system according to claim 1, it is characterised in that the client is specifically for according to the operation requests Corresponding relation between the corresponding monitoring client, each described server and each described monitoring client, determines that the operation please Seek the corresponding server, however, it is determined that the server can use, then by the operation requests send to determine the clothes Business device, otherwise, sends to an available server operation requests according to preset rules.
3. system according to claim 1, it is characterised in that all servers are built successively using one-way circulation order Vertical connection, each described server is specifically for judging that the corresponding monitoring client of the operation requests is not relative with itself At once, the operation requests are forwarded to next server according to one-way circulation order.
4. system according to claim 1, it is characterised in that each described server is judging the operation requests correspondence The monitoring client whether be itself corresponding monitoring client before, be additionally operable to judge whether the operation requests are stream successively Media request, whether meet load request and whether meet stream multiplexing condition, if it is determined that the operation requests for Streaming Media please Ask, meet load request and be unsatisfactory for flowing multiplexing condition, then judge the corresponding monitoring client of the operation requests whether as certainly The corresponding monitoring client of body.
5. system according to claim 4, it is characterised in that each described server is additionally operable to, if it is determined that the operation Request is not asked for Streaming Media, then judge whether the corresponding monitoring client of the operation requests is itself corresponding monitoring End.
6. system according to claim 4, it is characterised in that each described server is additionally operable to, if it is determined that the operation Ask as Streaming Media is asked and is unsatisfactory for loading condition, then determine whether to repeat to receive the operation requests, if so, then notifying The operation requests otherwise, are forwarded to remaining described server by the client request failure.
7. system according to claim 4, it is characterised in that each described server is additionally operable to, if it is determined that the operation Ask as Streaming Media request, meet load request and meet stream multiplexing condition, then carry out stream multiplexing forwarding.
8. system according to claim 1, it is characterised in that each described monitoring client is respectively provided with the first mark, each institute State server and be respectively provided with the second mark, the quantity of first mark of each monitoring client is equal to each monitoring client Allow to access number of times.
9. system according to claim 8, it is characterised in that each described first mark and each described second mark are equal Including numeral, each described server is marked with the corresponding relation of each monitoring client according to the described first mark, described second Know, the quantity of all servers determines.
10. system according to claim 3, it is characterised in that each described server is additionally operable to, receives the client The config update request of transmission, the configuration information of itself is updated according to config update request, and according to the one-way circulation Config update request is forwarded to next server by order, when repeating to receive the config update request, really Fixed renewal completes, and calculates the corresponding relation between each described server and each described monitoring client after updating.
11. systems according to claim 3, it is characterised in that the one-way circulation order between all servers is adopted Recorded with one-way circulation chained list, using being deleted in the one-way circulation chained list and/or changed by the way of adding the server One-way circulation between all servers is sequentially.
A kind of 12. control methods of video monitoring system, the video monitoring system is described in any one of claim 1 to 11 Video monitoring system, it is characterised in that the control method is performed by the server, including:
After the operation requests are received, judge whether the corresponding monitoring client of the operation requests is itself corresponding institute State monitoring client;
If so, then sending to itself corresponding monitoring client the operation requests, otherwise, the operation requests are forwarded to Remaining described server, and when repeating to receive the operation requests, the operation requests are sent please to the operation Seek the corresponding monitoring client.
CN201710120914.5A 2017-03-02 2017-03-02 Video monitoring system and its control method Pending CN106803939A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710120914.5A CN106803939A (en) 2017-03-02 2017-03-02 Video monitoring system and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710120914.5A CN106803939A (en) 2017-03-02 2017-03-02 Video monitoring system and its control method

Publications (1)

Publication Number Publication Date
CN106803939A true CN106803939A (en) 2017-06-06

Family

ID=58987646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710120914.5A Pending CN106803939A (en) 2017-03-02 2017-03-02 Video monitoring system and its control method

Country Status (1)

Country Link
CN (1) CN106803939A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109981685A (en) * 2019-04-15 2019-07-05 苏州麦迪斯顿医疗科技股份有限公司 Data transmission system and method
CN112530139A (en) * 2019-09-19 2021-03-19 维谛技术有限公司 Monitoring system, method, device, collector and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040080653A1 (en) * 2002-09-26 2004-04-29 Fuji Photo Film Co., Ltd. Image communication apparatus and method
CN101494769A (en) * 2008-01-21 2009-07-29 苏州科达科技有限公司 Control device and method for providing unification locating service in video monitoring system
CN102036055A (en) * 2010-11-03 2011-04-27 广东威创视讯科技股份有限公司 Camera cradle head control system and control method
CN103118248A (en) * 2013-02-28 2013-05-22 华为技术有限公司 Monitoring method, monitoring agency, monitoring server and monitoring system
CN103916628A (en) * 2013-01-08 2014-07-09 华为技术有限公司 Video monitoring system, control method of video monitoring system and control server
CN104660997A (en) * 2015-02-12 2015-05-27 江苏物联网研究发展中心 Service oriented multi-source heterogeneous video surveillance adaptation method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040080653A1 (en) * 2002-09-26 2004-04-29 Fuji Photo Film Co., Ltd. Image communication apparatus and method
CN101494769A (en) * 2008-01-21 2009-07-29 苏州科达科技有限公司 Control device and method for providing unification locating service in video monitoring system
CN102036055A (en) * 2010-11-03 2011-04-27 广东威创视讯科技股份有限公司 Camera cradle head control system and control method
CN103916628A (en) * 2013-01-08 2014-07-09 华为技术有限公司 Video monitoring system, control method of video monitoring system and control server
CN103118248A (en) * 2013-02-28 2013-05-22 华为技术有限公司 Monitoring method, monitoring agency, monitoring server and monitoring system
CN104660997A (en) * 2015-02-12 2015-05-27 江苏物联网研究发展中心 Service oriented multi-source heterogeneous video surveillance adaptation method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109981685A (en) * 2019-04-15 2019-07-05 苏州麦迪斯顿医疗科技股份有限公司 Data transmission system and method
CN112530139A (en) * 2019-09-19 2021-03-19 维谛技术有限公司 Monitoring system, method, device, collector and storage medium

Similar Documents

Publication Publication Date Title
US20230057210A1 (en) Network service construction system and network service construction method
US10481935B2 (en) Management system, overall management node, and management method for managing virtualization resources in a mobile communication network
CN105429780B (en) A method for automatic generation and dynamic monitoring of virtualized network service business
CN102693209B (en) Information processing system
CN105052080B (en) Methods, systems, and computer-readable media for providing Think Diameter network architectures
CN106453576B (en) A kind of exchange method, system and control centre based on mixing cloud platform
CN110149392A (en) A kind of management method and device of PUSH message
CN106850589A (en) A kind of management and control cloud computing terminal and the method and apparatus of Cloud Server running
CN104092756A (en) A method for dynamic resource allocation of cloud storage system based on DHT mechanism
CN105791175A (en) Method and equipment for controlling transmission resources in software defined network SDN
CN109792393A (en) Virtualize the software upgrading in off-line accounting system
CN107172391A (en) Distributed video memory management method and system based on Hadoop framework
CN112073237B (en) Large-scale target network construction method in cloud edge architecture
CN118200321A (en) Server distribution method, device, electronic equipment and computer readable storage medium
CN109815204A (en) A kind of metadata request distribution method and equipment based on congestion aware
CN113726847B (en) Network system, network segmentation system, network segmentation method and electronic equipment
CN106803939A (en) Video monitoring system and its control method
CN109194993B (en) Media file distribution method and file distribution platform
US20110154211A1 (en) Apparatus and method for providing information of terminal for session mobility between terminals
CN109587063A (en) A kind of drainage method and device of data
CN106790354A (en) A kind of communication means and its device of anti-data congestion
CN108540546B (en) Network node access control method, electronic device, network system and storage medium
CN119697028B (en) Network resource allocation method, apparatus, system, computer device, readable storage medium and program product
CN110286854B (en) Method, device, equipment and storage medium for group member management and group message processing
CN110289971A (en) Shared service management method and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170606

RJ01 Rejection of invention patent application after publication