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.Based on one of most important standard in the network service of IP agreement, increasing approval and attention in numerous operators, have been obtained as the next generation.Today; Increasing operator, CLEC (competing local operator) and ITSP (IP phone service provider) be in the service that provides 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 or the like.Independent software vendor (ISV) is developing new developing instrument, is used for making up application program and 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 phones, user agent, network agent server, VOIP gateway, media server and application server all using SIP.
More and more based on the video monitoring service deployment of SIP now.For most of users, the user network environment all is the Internet, and user and intelligent monitoring and alarming terminal generally all are that they are connected to the Internet through gateway in Intranet.In this case, the SIP equipment that it has only is linked in the network of intelligent monitoring and alarming, could realize real widespread adoption.
Yet, generally all be to adopt a privately owned cover agreement separately to the access protocol of the public's monitoring alarm terminal.Can not interconnect between the different monitoring system, also there are incompatible problem in different monitoring system and monitoring alarm terminal, if receive and handle the warning message of distinct device simultaneously, then need carry out a large amount of exploitations and debugging work.
Therefore, present intelligent monitoring and alarming equipment also can't be realized unified networking processing.
Summary of the invention
The object of the 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 according to the invention comprises monitor client, monitoring system platform, monitoring alarm terminal and SIP gateway, between said monitor client and the said monitoring system platform, all be connected through said SIP gateway between said monitoring system platform and the said monitoring alarm terminal.Utilize the SIP gateway, between monitor client and the monitoring system platform, the information of can both carrying out between monitoring system platform and the monitoring alarm terminal transmits, and realizes that thus the monitor client of a plurality of different agreements and the information between the monitoring alarm terminal transmit.
The networking method that adopts based on the intelligent monitoring and alarming networked system of SIP according to the invention may further comprise the steps:
(1) when connected network, said monitor client and said monitoring alarm terminal are registered to said monitoring system platform through said SIP gateway passage respectively;
(2) said monitoring system platform receives the register requirement of said monitor client and said monitoring alarm terminal respectively through said SIP gateway passage; And the storage identity information, send the information that succeeds in registration to said monitor client and said monitoring alarm terminal respectively through said SIP gateway passage;
(3) said monitor client is after receiving the information of succeeding in registration; Through the list of devices information of said SIP gateway passage to the said monitoring alarm terminal of said monitoring system platform acquisition request; Said monitoring system platform receives and should send instruction through said SIP gateway passage to said monitoring alarm terminal in the request back; Said monitoring alarm terminal receives this instruction back and sends said list of devices information through said SIP gateway passage to said monitoring system platform, and said monitoring system platform sends said list of devices information through said SIP gateway passage to said monitor client;
(4) said monitor client is after receiving said list of devices information; Through the equipment link information of said SIP gateway passage to the said monitoring alarm terminal of said monitoring system platform acquisition request; Said monitoring system platform receives and should send instruction through said SIP gateway passage to said monitoring alarm terminal in the request back; Said monitoring alarm terminal receives this instruction back and sends said equipment link information through said SIP gateway passage to said monitoring system platform, and said monitoring system platform sends said equipment link information through said SIP gateway passage to said monitor client;
(5) said monitor client is after receiving said equipment link information; Through setting and the warning message of said SIP gateway passage to the said monitoring alarm terminal of said monitoring system platform acquisition request; Said monitoring system platform receives and should send instruction through said SIP gateway passage to said monitoring alarm terminal in the request back; Said monitoring alarm terminal receives this instruction back and sends said setting and warning message through said SIP gateway passage to said monitoring system platform; Said monitoring system platform sends said setting and warning message through said SIP gateway passage to said monitor client, and said monitor client receives said setting and warning message;
(6) said monitor client is through the video information of said SIP gateway passage to the said monitoring alarm terminal of said monitoring system platform acquisition request; Said monitoring system platform receives and should send instruction through said SIP gateway passage to said monitoring alarm terminal in the request back; Said monitoring alarm terminal receives this instruction back and sends said video information through said SIP gateway passage to said monitoring system platform; Said monitoring system platform sends said video information through said SIP gateway passage to said monitor client, and said monitor client receives said video information;
(7) said monitor client sends the transparent data order through said SIP gateway passage to said monitoring system platform; Said monitoring system platform directly sends to said monitoring alarm terminal with said transparent data order through said SIP gateway passage; Said monitoring alarm terminal sends to said monitoring system platform with said transparent data corresponding informance through said SIP gateway passage, and said monitoring system platform sends to said monitor client with said transparent data corresponding informance through said SIP gateway passage.
As preferably, in the said step (1), said monitor client and said monitoring alarm terminal are all registered to said monitoring system platform through the REGISTER method of said SIP.
In the said step (3), said monitor client is through being made as Application/KSLP with the CONTENT-TYPE in the MESSAGE method of said SIP, to the list of devices information of the said monitoring alarm terminal of said monitoring system platform acquisition request; Said monitoring alarm terminal sends said list of devices information through the CONTENT-TYPE in the MESSAGE method of said SIP is made as Application/REJFTD to said monitoring system platform.
In the said step (4), said monitor client is through being made as Application/KSLP with the CONTENT-TYPE in the MESSAGE method of said SIP, to the equipment link information of the said monitoring alarm terminal of said monitoring system platform acquisition request; Said monitoring alarm terminal sends said equipment link information through the CONTENT-TYPE in the MESSAGE method of said SIP is made as Application/REJFTD to said monitoring system platform.
In the said step (5), said monitor client is through being made as Application/TWTP with the CONTENT-TYPE in the MESSAGE method of said SIP, to the setting and the warning message of the said monitoring alarm terminal of said monitoring system platform acquisition request; Said monitoring alarm terminal sends said setting and warning message through the MESSAGE method of SIP to said monitoring system platform.
In the said step (6), the INVITE method of said monitor client through said SIP is to the video information of the said monitoring alarm terminal of said monitoring system platform acquisition request; Said monitoring alarm terminal sends said video information through the INVITE method of SIP to said monitoring system platform.
Particularly, the information of said SIP is made up of SIP header, SIP Method type and the specific instructions information content.
In the said step (6), the structure of said transparent data comprises structure header and structure specifying information content.
Beneficial effect of the present invention is:
Can realize interconnecting between dissimilar monitor clients, monitoring system platform and the monitoring alarm terminal through the present invention; And solved the compatibling problem between different monitoring system and the monitoring alarm terminal; Can under the situation of not carrying out other program development, realize receiving simultaneously and handling the warning message of different monitoring alarm terminal, improve the comprehensively monitoring alarm network intelligent management level of modern society.
Description of drawings
Fig. 1 is the networking structure sketch map of the intelligent monitoring and alarming networked system based on SIP according to the invention;
Fig. 2 is that the information of SIP according to the invention is formed sketch map;
Fig. 3 is that the structure of transparent data according to the invention is formed sketch map;
Fig. 4 is the SIP communication flow figure of networking method according to the invention.
Embodiment
Below in conjunction with accompanying drawing the present invention is made further specific descriptions:
As shown in Figure 1; Intelligent monitoring and alarming networked system based on SIP according to the invention comprises monitor client, monitoring system platform, monitoring alarm terminal and SIP gateway, between monitor client and the monitoring system platform, all be connected through the SIP gateway between monitoring system platform and the monitoring alarm terminal.Monitor client has a plurality of, comprise first monitor client, second monitor client ..., the N monitor client, these monitor clients are the monitor client of identical or different type; Monitoring alarm terminal has a plurality of, comprise first monitoring alarm terminal, second monitoring alarm terminal ..., the M monitoring alarm terminal, these monitoring alarm terminals are the monitoring alarm terminal of identical or different type.In the said system structure; Monitor client constitutes application layer; SIP gateway between monitor client and the monitoring system platform constitutes application service layer; Monitoring system platform construction system service layer, the SIP gateway between monitoring system platform and the monitoring alarm terminal constitutes the access service layer, and monitoring alarm terminal constitutes Access Layer.
As shown in Figure 1, monitor client is used for video, picture and relevant warning message that display alarm is uploaded, and, the client is handled these result of information or querying command sends to monitoring system platform through SIP gateway path; Monitoring system platform is used for through SIP gateway path, and the warning message of monitoring alarm terminal and video are sent to corresponding monitor client, and the command instruction of monitor client is sent to corresponding monitoring alarm terminal; Monitoring alarm terminal is used for video acquisition, intellectual analysis, and local the storage, and warning message is uploaded to monitoring system platform through SIP gateway path, and handle the SIP order that monitoring system platform sent.
As shown in Figure 4, the networking method that adopts based on the intelligent monitoring and alarming networked system of SIP according to the invention may further comprise the steps:
(1) when connected network, monitor client and monitoring alarm terminal are registered to monitoring system platform through the REGISTER method of SIP respectively, and NAME in the From field is made as number of the account, and PASSWORD is made as login password;
(2) monitoring system platform receives the register requirement of monitor client and monitoring alarm terminal respectively through SIP gateway passage, and stores identity information, sends the information that succeeds in registration to monitor client and monitoring alarm terminal respectively through SIP gateway passage;
(3) monitor client is after receiving the information of succeeding in registration; Through the CONTENT-TYPE in the MESSAGE method of SIP is made as Application/KSLP; List of devices information to monitoring system platform acquisition request monitoring alarm terminal; Monitoring system platform receives and should send instruction through SIP gateway passage to monitoring alarm terminal in the request back; Monitoring alarm terminal receives this instruction back through the CONTENT-TYPE in the MESSAGE method of SIP is made as Application/REJFTD, and 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; Through the CONTENT-TYPE in the MESSAGE method of SIP is made as Application/KSLP; Equipment link information to monitoring system platform acquisition request monitoring alarm terminal; Monitoring system platform receives and should send instruction through SIP gateway passage to monitoring alarm terminal in the request back; Monitoring alarm terminal receives this instruction back through the CONTENT-TYPE in the MESSAGE method of SIP is made as Application/REJFTD, and 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 the equipment link information; Through the CONTENT-TYPE in the MESSAGE method of SIP is made as Application/TWTP; Setting and warning message to monitoring system platform acquisition request monitoring alarm terminal; Monitoring system platform receives and should send instruction through SIP gateway passage to monitoring alarm terminal in the request back; Monitoring alarm terminal receives this instruction back and sends said setting and warning message through the MESSAGE method of SIP to monitoring system platform, and monitor client receives and is provided with and warning message;
(6) monitor client passes through the video information of the INVITE method of SIP to the said monitoring alarm terminal of said monitoring system platform acquisition request; Monitoring system platform receives and should send instruction through SIP gateway passage to monitoring alarm terminal in the request back, and monitoring alarm terminal sends video information through the INVITE method of SIP to monitoring system platform, monitor client receiver, video information;
(7) monitor client sends transparent data order ACK through SIP gateway passage to monitoring system platform; Monitoring system platform directly orders ACK to send to monitoring alarm terminal through SIP gateway passage transparent data; Monitoring alarm terminal sends to monitoring system platform with the transparent data corresponding informance through SIP gateway passage, and monitoring system platform sends to monitor client with the transparent data corresponding informance through SIP gateway passage;
(8) after Data Receiving is accomplished; Monitor client sends to monitoring system platform through SIP gateway passage and closes video commands BYE; Monitoring system platform directly will be closed video commands BYE and sent to monitoring alarm terminal through SIP gateway passage; The corresponding informance that monitoring alarm terminal will be closed video commands BYE sends to monitoring system platform through SIP gateway passage, and the corresponding informance that monitoring system platform will be closed video commands BYE sends to monitor client through 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 made up of SIP header, SIP Method type and the specific instructions information content.Wherein, the SIP header is fully according to the standard criterion of international Session Initiation Protocol.The SIP Method type is used for representing the action message of this order; As registering, obtain list of devices, drawing stream etc.; This part comprises REGISTER mode, MESSAGE mode and the INVITE mode of SIP; Said REGISTER mode is the operation to monitoring system platform, and the FROM in the said REGISTER mode is the identity number of the account that login person is set, like monitor client number of the account or monitoring alarm terminal number of the account; This MESSAGE mode is to the command name between monitor client, monitoring system platform and the monitoring alarm terminal three; CONTENT-TYPE field in this MESSAGE mode is made as Application/KSLP; And being with node URI in the SDP, like List sip:yyyzzzKSLP/1.0; And during echo reply, change the facility information URI under the node in the SDP into, like sip:xxx.yyyzzz ATM warning 1DG ON sip:xxx.yyyzzz ATM warning 2DG ON; The INVITE mode is the operation to monitoring alarm terminal; TO field in the INVITE mode is made as the purpose URI of request; And be with IP, PORT address in the SDP; Be made as SIP:eu01.xxx.yyyzzz request video address, the address information of the IP of c=IN IP4 218.23.65.23 and m=video 6606RTP/AVP 98 99 and PORT receiver, video in the SDP like the TO field.
As shown in Figure 3, the structure of the transparent data in the step (6) comprises structure header and structure specifying information content.
To sum up; The SIP gateway channel transfer information of monitor client and monitoring alarm terminal utilization and monitoring system platform; Send action command through the MEESAGE method, promptly the expansion specific instructions information content in the SDP of MESSAGE information is unified operation to monitoring alarm terminal.
Above-mentioned embodiment is merely the preferred embodiment of the present invention; But protection scope of the present invention is not limited thereto; The technical staff in any skilled field is in the technical scope that the present invention discloses, and the variation that can expect easily or replacement all should be encompassed within 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 merely the preferred embodiment of the present invention; But protection scope of the present invention is not limited thereto; The technical staff in any skilled field is in the technical scope that the present invention discloses, and the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.