Intelligent monitoring and alarming networked system and networking method based on SIP
Technical field
The present invention relates to a kind of monitoring alarm networked system and networking method, relate in particular to a kind of intelligent monitoring and alarming networked system and networking method based on SIP.
Background technology
SIP (Session Initiation Protocol: session initiation protocol) be the text based agreement that is similar to HTTP.One of most important standard in network service as the next generation based on IP agreement is more and more approved and is paid attention in numerous operators.Today, increasing operator, CLEC (competing local operator) and ITSP (IP phone service provider) be in the service providing based on SIP, for example local telephone network and toll telephone technology, IPCentrex/Hosted PBX, voice SMS, push-to-talk (push-to-talk), online information and instant message, multimedia conferencing etc.Independent software vendor (ISV) is developing new developing instrument, is used for building application program and the SIP software based on SIP into carrier network.Network equipment supplier (NEV) is just at the hardware of development support SIP signaling and service.Now, there are numerous IP phone, user agent, network agent server, VOIP gateway, media server and application server all using SIP.
Video monitoring service deployment based on SIP is more and more now.For most of users, user network environment is all the Internet, and user and intelligent monitoring and alarming terminal are all generally that they are connected to the Internet by gateway in Intranet.In this case, the SIP equipment that it has is only linked in the network of intelligent monitoring and alarming, could realize real widespread adoption.
Yet, for the access protocol of the public's monitoring alarm terminal, be all generally to adopt separately privately owned a set of agreement.Between different monitoring system, can not interconnect, also there is incompatible problem in different monitoring system and monitoring alarm terminal, if receive and process the warning message of distinct device simultaneously, needs to carry out a large amount of exploitations and debugging work.
Therefore, current intelligent monitoring and alarming equipment also cannot be realized unified networking processing.
Summary of the invention
Object of the present invention provides a kind of intelligent monitoring and alarming networked system and networking method based on SIP with regard to being in order to address the above problem.
In order to achieve the above object, the present invention has adopted following technical scheme:
Intelligent monitoring and alarming networked system based on SIP of the present invention comprises monitor client, monitoring system platform, monitoring alarm terminal and SIP gateway, between described monitor client and described monitoring system platform, be all connected by described SIP gateway between described monitoring system platform and described monitoring alarm terminal.Utilize SIP gateway, between monitor client and monitoring system platform, can carry out information transmission between monitoring system platform and monitoring alarm terminal, the monitor client and the information between monitoring alarm terminal that realize thus a plurality of different agreements transmit.
The networking method that intelligent monitoring and alarming networked system based on SIP of the present invention adopts, comprises the following steps:
(1), when connected network, described monitor client and described monitoring alarm terminal are registered to described monitoring system platform by described SIP gateway passage respectively;
(2) described monitoring system platform receives respectively the registration request of described monitor client and described monitoring alarm terminal by described SIP gateway passage, and store identity information, by described SIP gateway passage, to described monitor client and described monitoring alarm terminal, send the information that succeeds in registration respectively;
(3) described monitor client is after receiving the information of succeeding in registration, list of devices information by from described SIP gateway passage to monitoring alarm terminal described in described monitoring system platform acquisition request, described monitoring system platform sends instruction by described SIP gateway passage to described monitoring alarm terminal after receiving this request, described monitoring alarm terminal sends described list of devices information by described SIP gateway passage to described monitoring system platform after receiving this instruction, described monitoring system platform sends described list of devices information by described SIP gateway passage to described monitor client,
(4) described monitor client is after receiving described list of devices information, equipment connection information by from described SIP gateway passage to monitoring alarm terminal described in described monitoring system platform acquisition request, described monitoring system platform sends instruction by described SIP gateway passage to described monitoring alarm terminal after receiving this request, described monitoring alarm terminal sends described equipment connection information by described SIP gateway passage to described monitoring system platform after receiving this instruction, described monitoring system platform sends described equipment connection information by described SIP gateway passage to described monitor client,
(5) described monitor client is after receiving described equipment connection information, setting from described SIP gateway passage to monitoring alarm terminal described in described monitoring system platform acquisition request and warning message by, described monitoring system platform sends instruction by described SIP gateway passage to described monitoring alarm terminal after receiving this request, described monitoring alarm terminal sends described setting and warning message by described SIP gateway passage to described monitoring system platform after receiving this instruction, described monitoring system platform sends described setting and warning message by described SIP gateway passage to described monitor client, described monitor client receives described setting and warning message,
(6) described monitor client by described SIP gateway passage the video information to monitoring alarm terminal described in described monitoring system platform acquisition request, described monitoring system platform sends instruction by described SIP gateway passage to described monitoring alarm terminal after receiving this request, described monitoring alarm terminal sends described video information by described SIP gateway passage to described monitoring system platform after receiving this instruction, described monitoring system platform sends described video information by described SIP gateway passage to described monitor client, described monitor client receives described video information,
(7) described monitor client sends transparent data order by described SIP gateway passage to described monitoring system platform, described monitoring system platform directly sends to described monitoring alarm terminal by described transparent data order by described SIP gateway passage, described monitoring alarm terminal sends to described monitoring system platform by described transparent data corresponding informance by described SIP gateway passage, and described monitoring system platform sends to described monitor client by described transparent data corresponding informance by described SIP gateway passage.
As preferably, in described step (1), described monitor client and described monitoring alarm terminal are all registered to described monitoring system platform by the REGISTER method of described SIP.
In described step (3), described monitor client is by the CONTENT-TYPE in the MESSAGE method of described SIP is made as to Application/KSLP, to the list of devices information of monitoring alarm terminal described in described monitoring system platform acquisition request; Described monitoring alarm terminal, by the CONTENT-TYPE in the MESSAGE method of described SIP is made as to Application/REJFTD, sends described list of devices information to described monitoring system platform.
In described step (4), described monitor client is by the CONTENT-TYPE in the MESSAGE method of described SIP is made as to Application/KSLP, to the equipment connection information of monitoring alarm terminal described in described monitoring system platform acquisition request; Described monitoring alarm terminal, by the CONTENT-TYPE in the MESSAGE method of described SIP is made as to Application/REJFTD, sends described equipment connection information to described monitoring system platform.
In described step (5), described monitor client is by the CONTENT-TYPE in the MESSAGE method of described SIP is made as to Application/TWTP, to setting and the warning message of monitoring alarm terminal described in described monitoring system platform acquisition request; Described monitoring alarm terminal sends described setting and warning message by the MESSAGE method of SIP to described monitoring system platform.
In described step (6), the INVITE method of described monitor client by described SIP is to the video information of monitoring alarm terminal described in described monitoring system platform acquisition request; Described monitoring alarm terminal sends described video information by the INVITE method of SIP to described monitoring system platform.
Particularly, the information of described SIP is comprised of SIP header, SIP Method type and the specific instructions information content.
In described step (6), the structure of described transparent data comprises structure header and structure specifying information content.
Beneficial effect of the present invention is:
By the present invention, can realize interconnecting between dissimilar monitor client, monitoring system platform and monitoring alarm terminal, and solved the compatibling problem between different monitoring system and monitoring alarm terminal, can realize the warning message that receives simultaneously and process different monitoring alarm terminal in the situation that do not carry out other program development, improve the comprehensively monitoring alarm network intelligent management level of modern society.
Accompanying drawing explanation
Fig. 1 is the networking structure schematic diagram of the intelligent monitoring and alarming networked system based on SIP of the present invention;
Fig. 2 is that the information of SIP of the present invention forms schematic diagram;
Fig. 3 is that the structure of transparent data of the present invention forms schematic diagram;
Fig. 4 is the SIP communication flow figure of networking method of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the present invention is further described in detail:
As shown in Figure 1, intelligent monitoring and alarming networked system based on SIP of the present invention comprises monitor client, monitoring system platform, monitoring alarm terminal and SIP gateway, between monitor client and monitoring system platform, be all connected by SIP gateway between monitoring system platform and monitoring alarm terminal.Monitor client has a plurality of, comprise the first monitor client, the second monitor client ..., N monitor client, the monitor client that these monitor clients are identical or different type; Monitoring alarm terminal has a plurality of, comprise the first monitoring alarm terminal, the second monitoring alarm terminal ..., M monitoring alarm terminal, the monitoring alarm terminal that these monitoring alarm terminals are identical or different type.In said system structure, monitor client forms application layer, SIP gateway between monitor client and monitoring system platform forms application service layer, monitoring system platform construction system service layer, SIP gateway between monitoring system platform and monitoring alarm terminal forms access service layer, and monitoring alarm terminal forms Access Layer.
As shown in Figure 1, monitor client, the video of uploading for display alarm, picture and relevant warning message, and result or the querying command of client being processed to these information send to monitoring system platform by SIP gateway path; Monitoring system platform, for by SIP gateway path, sends to corresponding monitor client by the warning message of monitoring alarm terminal and video, and the command instruction of monitor client is sent to corresponding monitoring alarm terminal; Monitoring alarm terminal, for video acquisition, intellectual analysis, local storage, and warning message is uploaded to monitoring system platform by SIP gateway path, and process the SIP order that monitoring system platform sends.
As shown in Figure 4, the networking method that the intelligent monitoring and alarming networked system based on SIP of the present invention adopts, comprises the following steps:
(1) when connected network, monitor client and monitoring alarm terminal are registered to monitoring system platform by the REGISTER method of SIP respectively, and NAME in From field is made as to account, and PASSWORD is made as login password;
(2) monitoring system platform receives respectively the registration request of monitor client and monitoring alarm terminal by SIP gateway passage, and stores identity information, by SIP gateway passage, sends the information that succeeds in registration respectively to monitor client and monitoring alarm terminal;
(3) monitor client is after receiving the information of succeeding in registration, by the CONTENT-TYPE in the MESSAGE method of SIP is made as to Application/KSLP, list of devices information to monitoring system platform acquisition request monitoring alarm terminal, monitoring system platform sends instruction by SIP gateway passage to monitoring alarm terminal after receiving this request, monitoring alarm terminal receives after this instruction by the CONTENT-TYPE in the MESSAGE method of SIP is made as to Application/REJFTD, to monitoring system platform transmitting apparatus list information, monitoring system platform passes through SIP gateway passage to monitor client transmitting apparatus list information,
(4) monitor client is after receiving list of devices information, by the CONTENT-TYPE in the MESSAGE method of SIP is made as to Application/KSLP, equipment connection information to monitoring system platform acquisition request monitoring alarm terminal, monitoring system platform sends instruction by SIP gateway passage to monitoring alarm terminal after receiving this request, monitoring alarm terminal receives after this instruction by the CONTENT-TYPE in the MESSAGE method of SIP is made as to Application/REJFTD, to monitoring system platform transmitting apparatus link information, monitoring system platform passes through SIP gateway passage to monitor client transmitting apparatus link information,
(5) monitor client is after receiving equipment connection information, by the CONTENT-TYPE in the MESSAGE method of SIP is made as to Application/TWTP, setting and warning message to monitoring system platform acquisition request monitoring alarm terminal, monitoring system platform sends instruction by SIP gateway passage to monitoring alarm terminal after receiving this request, monitoring alarm terminal receives the MESSAGE method by SIP after this instruction and sends described setting and warning message to monitoring system platform, and monitor client receives and arranges and warning message;
(6) monitor client passes through the INVITE method of SIP to the video information of monitoring alarm terminal described in described monitoring system platform acquisition request; Monitoring system platform sends instruction by SIP gateway passage to monitoring alarm terminal after receiving this request, and monitoring alarm terminal sends video information by the INVITE method of SIP to monitoring system platform, monitor client receiver, video information;
(7) monitor client sends transparent data order ACK by SIP gateway passage to monitoring system platform, monitoring system platform directly sends to monitoring alarm terminal by transparent data order ACK by SIP gateway passage, monitoring alarm terminal sends to monitoring system platform by transparent data corresponding informance by SIP gateway passage, and monitoring system platform sends to monitor client by transparent data corresponding informance by SIP gateway passage;
(8) after data receiver completes, monitor client is sent and closes video commands BYE to monitoring system platform by SIP gateway passage, monitoring system platform directly will be closed video commands BYE and be sent to monitoring alarm terminal by SIP gateway passage, monitoring alarm terminal sends to monitoring system platform by the corresponding informance of closing video commands BYE by SIP gateway passage, and monitoring system platform sends to monitor client by the corresponding informance of closing video commands BYE by SIP gateway passage.So far, (1)-(8) form a complete video monitoring networking flow process.
As shown in Figure 2, the information of SIP is comprised of SIP header, SIP Method type and the specific instructions information content.Wherein, SIP header is completely according to the standard criterion of international Session Initiation Protocol.SIP Method type is used for representing the action message of this order, as registered, obtain list of devices, drawing stream etc., this part comprises REGISTER mode, MESSAGE mode and the INVITE mode of SIP, described REGISTER mode is the operation to monitoring system platform, FROM in described REGISTER mode is the identity account that registrant is set, as monitor client account or monitoring alarm terminal account; This MESSAGE mode is to the command name between monitor client, monitoring system platform and monitoring alarm terminal three, CONTENT-TYPE field in this MESSAGE mode is made as Application/KSLP, and node URI on being with in SDP, as List sip:yyy@zzzKSLP/1.0; And return while replying, in SDP, change the facility information URI under node into, as sip:xxx.yyy@zzz ATM warning 1DG ON sip:xxx.yyy@zzz ATM warning 2DG ON; INVITE mode is the operation to monitoring alarm terminal, TO field in INVITE mode is made as the object URI of request, and IP, PORT address on being with in SDP, as TO field is made as SIP:eu01.xxx.yyy@zzz request video address, the IP of c=IN IP4 218.23.65.23 and m=video 6606RTP/AVP 98 99 and the address information of PORT receiver, video in SDP.
As shown in Figure 3, the structure of the transparent data in step (6) comprises structure header and structure specifying information content.
To sum up, the SIP gateway passage of monitor client and monitoring alarm terminal utilization and monitoring system platform transmits information, by the order of MEESAGE method sending action, in the SDP of MESSAGE information, expand the specific instructions information content, monitoring alarm terminal is carried out to unified operation.
Above-mentioned embodiment is only the preferred embodiment of the present invention; but protection scope of the present invention is not limited to this; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses, the variation that can expect easily or replacement, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.
Above-mentioned embodiment is only the preferred embodiment of the present invention; but protection scope of the present invention is not limited to this; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses, the variation that can expect easily or replacement, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.