CN103905411A - Terminal control and state monitoring method based on SIP - Google Patents

Terminal control and state monitoring method based on SIP Download PDF

Info

Publication number
CN103905411A
CN103905411A CN201210589650.5A CN201210589650A CN103905411A CN 103905411 A CN103905411 A CN 103905411A CN 201210589650 A CN201210589650 A CN 201210589650A CN 103905411 A CN103905411 A CN 103905411A
Authority
CN
China
Prior art keywords
terminal
control end
status
header field
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210589650.5A
Other languages
Chinese (zh)
Other versions
CN103905411B (en
Inventor
李永丰
崔俊
丁明锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING DATANG GOHIGH SOFTWARE TECHNOLOGY Co Ltd
Original Assignee
BEIJING DATANG GOHIGH SOFTWARE TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING DATANG GOHIGH SOFTWARE TECHNOLOGY Co Ltd filed Critical BEIJING DATANG GOHIGH SOFTWARE TECHNOLOGY Co Ltd
Priority to CN201210589650.5A priority Critical patent/CN103905411B/en
Publication of CN103905411A publication Critical patent/CN103905411A/en
Application granted granted Critical
Publication of CN103905411B publication Critical patent/CN103905411B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a terminal control and state monitoring method based on an SIP. The method includes the steps that (1) SUBSCRIBE information and NOTIFY information of the SIP are improved; (2) a terminal control and state monitoring system is established, the system comprises a control end and a terminal which are connected through an IP network, the terminal is connected with a plurality of controlled devices, and the control end is connected with a display device and a user operation interface; (3) the control end and the terminal are in interaction through the following processes that the control end sends the subscription information to the terminal; after subscription is successful, the state of each controlled device is reported to the control end through the terminal, and the control end displays the state of each controlled device; a user sends a query state request to the terminal through the user operation interface, the terminal sends the state of each controlled device to the control end, and the control end displays search results on the display device; the control end controls the controlled devices which are connected with the terminal to operate through the NOTIFY information. According to the terminal control and state monitoring method based on the SIP, the SIP is improved, the terminal control and state monitoring function is achieved, and the signaling interaction problem of a security and protection terminal and the control end is solved.

Description

Terminal control based on SIP and method for monitoring state
Technical field
The present invention relates to terminal control and the method for monitoring state of a kind of SIP.
Background technology
SIP (Session Initiation Protocol) is the signaling control protocol of an application layer, for creating, revise and discharge one or more participants' session.These sessions can be Internet multimedia conferencing, IP phone or multimedia delivery.The participant of session can communicate by multicast (multicast), netted clean culture (unicast) or both mixtures.
The features such as the flexibility of SIP, extensibility, opening are that it is laid a good foundation being widely used of VOIP field, along with the wideling popularize and develop of 3G, 4G, will make SIP not serve field application more extensive.
Security protection refers to safety and protection system (SPS:security & protection system), to safeguard that social public security is as object.Application safety is taken precautions against product can realize the requirement of " About Safety Cities ".Safety-protection system is mainly made up of safeguard management subsystem, electronic monitoring subsystem, access control subsystem, fence subsystem, critical alarm subsystem etc., is often applied to public security, fire-fighting, the industry fields such as colliery.
Traditional security protection communication is all to be undertaken by the mode of traditional ethernet, and in sip technique aspect, does not process the method for security protection communication.
Summary of the invention
In view of this, the present invention proposes a kind of terminal control and method for monitoring state based on SIP, and it has realized the communication means between monitor terminal and control end by improving sip technique.
Can not realize SOT state of termination monitoring for Session Initiation Protocol in some field and terminal control method is invented, this invention of present stage designs mainly for solving the control of security protection and condition monitoring.
For achieving the above object, the technical solution used in the present invention is as follows:
Terminal control based on SIP and a method for monitoring state, is characterized in that:
1) the SUBSCRIBE message of SIP is done to following improvement:
SUBSCRIBE message is the signaling to terminal for control end, and object is to allow terminal provide manipulation authority to control end;
SUBSCRIBE message must contain Event header field, and value must be line-status;
SUBSCRIBE message must contain Accept header field, and value is text/plain;
SUBSCRIBE message can contain message body, if comprise message body, must comprise Content-Type header field, and its value is for text/plain, if do not comprise message body, thinks the subscription to all message;
If SUBSCRIBE comprises message body, must comprise Type header field, and value must be subscribe;
If SUBSCRIBE comprises message body, must comprise subscribe header field;
2) NOTIFY of SIP is done to following improvement:
NOTIFY sends status query request or operational order request to control end transmitting apparatus state and control end to equipment for equipment;
NOTIFY must contain Event header field, and value must be line-status;
NOTIFY must contain Subscription-Stat header field, and value is active;
NOTIFY must contain message body, must comprise Content-Type header field, and its value is text/plain;
NOTIFY must comprise Type header field, and its value is one in query, status, command;
NOTIFY must comprise the header field of the same name with the value of Type header field;
NOTIFY can comprise Device-UID, the optional header field of Line-type and Line-ID, and wherein, Device-UID represents current terminal MAC Address, and Line-type represents device type to be checked, and Line-ID represents device numbering to be checked;
3) set up terminal control and condition monitoring system, this system comprises control end and terminal, and control end is connected by IP network with terminal, and terminal connects some controlled devices, and control end connects display unit and user interface;
4) control end and terminal are undertaken alternately by following flow process:
Subscription-control end sends subscribe message by IP network to terminal;
After equipment state reports-subscribe to successfully, terminal is by the state reporting of the controlled device connecting to control end, and control end shows the state of controlled device;
Device status inquiries-user sends query State request by user interface to terminal, and after querying command issues, terminal sends the state of each controlled device to control end, and control end shows Query Result in display unit;
Equipment control-control end, by NOTIFY, is controlled the operation of the controlled device being connected with terminal.
The implication of the value of the SUBSCRIBE header field of described SUBSCRIBE message is as follows:
subscribe explanation
line-status equipment state information notice, equipment can be to control end transmitting apparatus level correlation behavior;
cal l-status talking state message informing, equipment can send talking stage correlation behavior to control end;
all-status equipment can send all states to control end, is equivalent to line-status, call-status;
query equipment allows control end to send status query request;
command equipment allows control end to send control command;
all equipment allows above-mentioned all message, is equivalent to all-status, query, command.
Header field Query in described NOTIFY, i.e. inquiry, the implication of its value is as follows:
query explanation
line-status equipment state information notice; Equipment can be to control end transmitting apparatus level correlation behavior;
call-status talking state message informing; Equipment can send talking stage correlation behavior to control end;
all-status equipment can send all states to control end, is equivalent to line-status, call-status.
Header field Status in described NOTIFY, i.e. status information of equipment, its value is Open/Close or user-defined order;
Header field command in described NOTIFY, i.e. control end manipulation order, its value is Open/Close or user defined command.
The present invention can bring following effect:
1. can realize gate inhibition, door magnetic state and the order etc. of control end subscription terminal by improving the SUBSCRIBE message of Session Initiation Protocol.
2. can realize control end by the NOTIFY of improvement SIP and send status message to terminal transmission control command and terminal to control end.
In 3.SUBSCRIBE message and NOTIFY, add Event:line-status, the pass key head fields such as Accept:text/plain can improve the performance of terminal and control end, directly filter for the message that does not meet field, prevent extraneous malicious attack.
4. terminal and control end have increased custom field type, subscribe, status, query etc., for solving communicating by letter of terminal and control end.
5. solve control and the condition monitoring function of terminal by improving Session Initiation Protocol, solved the Signalling exchange of security terminal and control end.
Brief description of the drawings
Fig. 1 is system construction drawing;
Fig. 2 is signaling exchange flow chart.
Embodiment
The present invention relates to a kind of terminal control and method for monitoring state based on SIP, it has realized the communication means between monitor terminal and control end by improving sip technique.
The present invention be directed to that Session Initiation Protocol can not be realized SOT state of termination monitoring in some field and terminal control method proposes, this invention of present stage designs mainly for solving the control of security protection and condition monitoring.
Terminal control based on SIP and a method for monitoring state, is characterized in that:
1) the SUBSCRIBE message of SIP is done to following improvement:
SUBSCRIBE message is the signaling to terminal for control end, and object is to allow terminal provide manipulation authority to control end;
SUBSCRIBE message must contain Event header field, and value must be line-status;
SUBSCRIBE message must contain Accept header field, and value is text/plain;
SUBSCRIBE message can contain message body, if comprise message body, must comprise Content-Type header field, and its value is for text/plain, if do not comprise message body, thinks the subscription to all message;
If SUBSCRIBE comprises message body, must comprise Type header field, and value must be subscribe;
If SUBSCRIBE comprises message body, must comprise subscribe header field;
2) NOTIFY of SIP is done to following improvement:
NOTIFY sends status query request or operational order request to control end transmitting apparatus state and control end to equipment for equipment;
NOTIFY must contain Event header field, and value must be line-status;
NOTIFY must contain Subscription-Stat header field, and value is active;
NOTIFY must contain message body, must comprise Content-Type header field, and its value is text/plain;
NOTIFY must comprise Type header field, and its value is one in query, status, command;
NOTIFY must comprise the header field of the same name with the value of Type header field;
NOTIFY can comprise Device-UID, the optional header field of Line-type and Line-ID, and wherein, Device-UID represents current terminal MAC Address, and Line-type represents device type to be checked, and Line-ID represents device numbering to be checked;
3) set up terminal control and condition monitoring system, this system comprises control end and terminal, and control end is connected by IP network with terminal, and terminal connects some controlled devices, and control end connects display unit and user interface;
4) control end and terminal are undertaken alternately by following flow process:
Subscription-control end sends subscribe message by IP network to terminal;
After equipment state reports-subscribe to successfully, terminal is by the state reporting of the controlled device connecting to control end, and control end shows the state of controlled device;
Device status inquiries-user sends query State request by user interface to terminal, and after querying command issues, terminal sends the state of each controlled device to control end, and control end shows Query Result in display unit;
Equipment control-control end, by NOTIFY, is controlled the operation of the controlled device being connected with terminal.
The controlled device that described terminal connects comprises alarm device, supervising device, playback set, Men Ci, gate inhibition, wherein:
Supervising device is mainly used in the monitoring of security protection, if there is object close to supervising device, just the main control module of supervising device triggering terminal, main control module just allows playback set playing welcome announcement;
If door magnetic or gate inhibition change, can triggering terminal send NOTIFY and open alarm device to control end, and the state of current each controlled device is shown in control end display unit;
User can operation control terminal gate inhibition open or close by user interface.
Describe in detail below in conjunction with accompanying drawing.
Signaling communication between terminal and control end is used the SUBSCRIBE/NOTIFY mechanism based on SIP.Basic messae specification is followed RFC3265.Improvement message approach is described below:
SUBSCRIBE message design
1.SUBSCRIBE is the signaling to terminal for control end, and object is that terminal provides certain manipulation authority to control end.
2.SUBSCRIBE message must contain Event header field, and value must be line-status.Event is an additional specification, has wherein defined a series of state informations of subscriber, and Line-status has identified and subscribed to is device level state.
3.SUBSCRIBE message must contain Accept header field, and value is text/plain.Wherein, Accept refers to that the acceptable message of current UA is a kind of unformatted text message, and message body content can be defined by the user.
4.SUBSCRIBE message can contain message body, if comprise message body, must comprise Content-Type header field, and its value is text/plain.Wherein, to send to recipient's type of message be a kind of unformatted text for Content-Type instruction.If subscribe message does not comprise message body (without Content-Type, and Content-Length is 0), think the subscription to all message.The value that is equivalent to Subscribe is all.
If 5.SUBSCRIBE message comprises message body, must comprise Type header field, and value must be subscribe, implication is that current message is the event of a subscription, for applying for the operating right of control end to equipment;
If 6. SUBSCRIBE message comprises message body, must comprise subscribe header field, and the implication of its value is as follows:
subscribe explanation
line-status equipment state information notice; Equipment can be to control end transmitting apparatus level correlation behavior.
call-status talking state message informing; Equipment can send talking stage correlation behavior to control end.
all-status equipment can send all states to control end.Be equivalent to line-status, call-status.
query equipment allows control end to send status query request.
command equipment allows control end to send control command.
all equipment allows above-mentioned all message, is equivalent to all-status, query, command.
NOTIFY design
1.NOTIFY message sends status query request or operational order request to control end transmitting apparatus state and control end to equipment for equipment.
2.NOTIFY message must contain Event header field, and value must be line-status.Event is an additional specification, has wherein defined a series of state informations that sent to subscriber by informant, and Line-status has identified equipment state information.
3.NOTIFY message must contain Subscription-Stat header field, and value is active.This header field represents that current NOT IFY event is an effective state-event.
4.NOTIFY message must contain message body, must comprise Content-Type header field, and its value is text/plain.It is a kind of unformatted text that Content-Type instruction sends to recipient's type of message.
5.NOTIFY message must comprise Type header field, and Type indicates a kind of type of message body, and its value is one in query, status, command.Meanwhile, NOTIFY must comprise the header field of the same name with the value of Type header field.
If the header field that 6. NOTIFY comprises is Query, i.e. inquiry, its value must be line-status, call-status or all-status.The implication of its value is as follows:
query explanation
line-status equipment state information notice; Equipment can be to control end transmitting apparatus level correlation behavior;
call-status talking state message informing; Equipment can send talking stage correlation behavior to control end;
all-status equipment can send all states to control end, is equivalent to line-status, call-status.
If the header field that 7. NOTIFY comprises is Status, i.e. a kind of status information of equipment, its value is necessary for Open/Close or user-defined order.
If the header field that 8 NOTIFY comprise is command field, i.e. control end manipulation order, its value is necessary for Open/Close or user defined command.
Implement example
Termination number: 1000
Registered domain name: 192.168.1.2
Terminal IP:192.168.1.3
Control end IP:192.168.1.4
Terminal control shown in Figure 1 and condition monitoring system composition diagram, it comprises.Wherein: control end connects two submodules, is respectively display unit and user interface.And terminal (also referred to as terminal master control system) can connect multiple submodules, and each submodule can be defined by user oneself.The alarm device connecting in the security protection of this example article, supervising device, playback set, gate inhibition, Men Ci etc.Supervising device is mainly used in the monitoring function of security protection, if there is object close to supervising device, and the main control module that supervising device can triggering terminal so, main control module can allow playback set playing welcome announcement.Can triggering terminal send NOTIFY and open alarm device to far-end if door magnetic or gate inhibition change, and current each module status is shown in display unit.User interface can manipulate gate inhibition, such as can opening gate inhibition or closing gate inhibition.
To the line-type of NOTIFY, status, the each header field value of command is defined as follows:
Interface name Line-type Status command
Gate inhibition entrance-guard open/close open/close
Men Ci magnetic-contact open/close N/A
Self-defined 1 User-Type1 User-status1 User-cmd1
Self-defined 2 User-Type2 User-status2 User-cmd2
... ... ... ...
Self-defined N-1 User-Type(N-1) User-status(N-1) User-cmd(N-1)
Self-defined N User-Type(N) User-status(N) User-cmd(N)
Referring to Fig. 2, interacting message detailed between control end and terminal is described below:
1. subscribe to (control end → terminal)
Control end sends subscribe message by IP network to the terminal of far-end, and this example is for subscribing to all states and the control of terminal.
Control end is to equipment
SUBSCRIBE?sip:1000@192.168.1.2SIP/2.0
Via:SIP/2.0/UDP192.168.1.4:5060
From:<sip:1000@192.168.1.2>;tag=f9ea40b0d39d527c900305fe965dbf08
To:<sip:1000@192.168.1.2>
Call-ID:2e0496df0b31a9f2a3ef9f71d05b0ab5@192.168.1.2
CSeq:1SUBSCRIBE
Contact:sip:192.168.1.4:5060
Event:line-status
Expires:3600
Accept:text/plain
Content-Type:text/plain
Content-Length:33
Type:subscribe
Subscribe:all
Authentication request (terminal → control end)
Terminal sends authentication request to control end.
SIP/2.0401Unauthorized
Via:SIP/2.0/UDP192.168.1.4:5060
From:<sip:1000@192.168.1.2>;tag=f9ea40b0d39d527c900305fe965dbf08
To:<sip:1000@192.168.1.2>;tag=as125d4854
Call-ID:2e0496df0b31a9f2a3ef9f71d05b0ab5@192.168.1.2
CSeq:1SUBSCRIBE
WWW-Authenticate:Digest?algorithm=MD5,realm="SS3000-E",nonce="797bfb90"
Content-Length:0
Subscription (control end → terminal) with authentication
SUBSCRIBE?sip:1000@192.168.1.2SIP/2.0
Via:SIP/2.0/UDP192.168.1.4:5060
From:<sip:1000@192.168.1.2>;tag=f9ea40b0d39d527c900305fe965dbf08
To:<sip:1000@192.168.1.2>
Call-ID:2e0496df0b31a9f2a3ef9f71d05b0ab5@192.168.1.2
Cseq:2SUBSCRIBE
Contact:sip:192.168.1.4:5060
Event:line-status
Expires:3600
Accept:text/plain
Authorization:Digestusername="1000",realm="SS3000-E",
nonce="797bfb90",uri="sip:1000@192.168.1.2",response="17e18a75c0ebd265f523a1
6110481336",algorithm=MD5
Content-Type:text/plain
Content-Length:33
Type:subscribe
Subscribe:all
Subscribe to and confirm (terminal → control end)
SIP/2.0200OK
Via:SIP/2.0/UDP192.168.1.4:5060
From:<sip:1000@192.168.1.2>;tag=f9ea40b0d39d527c900305fe965dbf08
To:<sip:1000@192.168.1.2>;tag=as125d4854
Call-ID:2e0496df0b31a9f2a3ef9f71d05b0ab5@192.168.1.2
CSeq:2SUBSCRIBE
Content-Length:0
In this paragraph, it is line-status that Event header field value is set, and represents device level state; The value of Type is subscribe, represents that current subscription is that requirement terminal is opened manipulation authority to control end; The value of subscribe header field is all, represents that current control end will apply for the control authority all to terminal, comprises query and command etc.
2. equipment state reports
After subscribing to successfully, terminal can be by the gate inhibition who connects, Men Ci, and some state reportings of user, to control end, then show on show state.It is below gate inhibition's stateful example
(terminal → control end)
NOTIFY?sip:1000@192.168.1.2SIP/2.0
Via:SIP/2.0/UDP192.168.1.3:5060
From:<sip:1000@192.168.1.2>;tag=95fd6effa9596d0cbd3727edb6008edf
To:<sip:1000@192.168.1.2>
Call-ID:f962e9b5d80cf785bd176a60f024811c@192.168.1.3
CSeq:20NOTIFY
Contact:<sip:1000@192.168.1.3:5060>
Event:line-status
Content-Type:text/plain
Subscription-State:active
Content-Length:73
Type:status
Device-UID:00-01-02-03-04-05
Line-type:entrance-guard
Line-ID:1(device numbering, multiple if same category of device has, arrange into a line in such sequence from numbering 1)
Status:open
(control end → terminal)
SIP/2.0200OK
Via:SIP/2.0/UDP192.168.1.4:5060
From:<sip:1000@192.168.1.2>;tag=95fd6effa9596d0cbd3727edb6008edf
To:<sip:1000@192.168.1.2>;tag=as1b111052
Call-ID:f962e9b5d80cf785bd176a60f024811c@192.168.1.3
CSeq:20NOTIFY
Content-Length:0
In this paragraph, the value of Type header field is status, represents that current is a state reporting event; The MAC of Device-UID:00-01-02-03-04-05 GC group connector is 00-01-02-03-04-05; The value of Line-type header field is entrance-guard, represents that the type that current state reports is gate inhibition's state; The value of Line-ID header field is 1, represents that current equipment is first gate inhibition; The value of status header field is open, represents that current gate inhibition is opened.
3. device status inquiries
User can send query State request to terminal by user interface, and following instance is all status messages of inquiry circuit.After querying command issues, terminal can send successively to control end the state of modules, and control end the most at last Query Result shows in display unit.
(control end → terminal)
NOTIFY?sip:1000@192.168.1.2SIP/2.0
Via:SIP/2.0/UDP192.168.1.4:5060
From:<sip:1000@192.168.1.2>;tag=95fd6effa9596d0cbd3727edb6008edf
To:<sip:1000@192.168.1.2>
Call-ID:f962e9b5d80cf785bd176a60f024811c@192.168.1.4
CSeq:20NOTIFY
Contact:<sip:1000@192.168.1.4:5060>
Event:line-status
Subscription-State:active
Content-Type:text/plain
Content-Length:78
Type:query
Device-UID:00-01-02-03-04-05
Line-type:all(device type to be checked, " all " inquiries all types equipment)
Line-ID:1(device numbering to be checked, " 0 " inquires about this type all devices)
Query:line-status
(terminal → control end)
SIP/2.0200OK
Via:SIP/2.0/UDP192.168.1.4:5060
From:<sip:1000@192.168.1.2>;tag=95fd6effa9596d0cbd3727edb6008edf
To:<sip:1000@192.168.1.2>;tag=as1b111052
Call-ID:f962e9b5d80cf785bd176a60f024811c@192.168.1.4
CSeq:20NOTIFY
Content-Length:0
In this paragraph, NOTIFY is the message of an inquiry, and Type header field value is query, represents that current message is inquiry; The value of Line-type header field is all, and representative will be inquired about the equipment that all terminals connect; The value of Query header field is Line-status, and what represent that control end will inquire about is the equipment state of terminal.
4. equipment control command
Control end can be by NOTIFY order, the gate inhibition that control terminal connects, and Men Ci, the operation of user's defining interface, below operates control end for control end by user's interface device, and sends to the message of terminal by control end.
(control end → terminal)
NOTIFY?sip:1000@192.168.1.2SIP/2.0
Via:SIP/2.0/UDP192.168.1.4:5060
From:<sip:1000@192.168.1.2>;tag=95fd6effa9596d0cbd3727edb6008edf
To:<sip:1000@192.168.1.2>
Call-ID:f962e9b5d80cf785bd176a60f024811c@192.168.1.4
CSeq:21NOTIFY
Contact:<sip:1000@192.168.1.4:5060>
Event:line-status
Content-Type:text/plain
Subscription-State:active
Content-Length:76
Type:command
Device-UID:00-01-02-03-04-05
Line-type:entrance-guard
L?ine-ID:1
Command:close
(terminal → control end)
SIP/2.0200OK
Via:SIP/2.0/UDP192.168.1.4:5060
From:<sip:1000@192.168.1.2>;tag=95fd6effa9596d0cbd3727edb6008edf
To:<sip:1000@192.168.1.2>;tag=as1b111052
Call-ID:f962e9b5d80cf785bd176a60f024811c@192.168.1.4
CSeq:21NOTIFY
Content-Length:0
In this paragraph, the value of Type header field is Command, and representing current is a command operation event, the operation for control end to terminal, Device-UID:00-01-02-03-04-05 represents that current terminal MAC Address is 000102030405, is mainly used in distinguishing different terminal equipments; The value of command header field is Open, for representing that control end will close gate inhibition.

Claims (4)

1. the terminal control based on SIP and a method for monitoring state, is characterized in that:
1) the SUBSCRIBE message of SIP is done to following improvement:
SUBSCRIBE message is the signaling to terminal for control end, and object is to allow terminal provide manipulation authority to control end;
SUBSCRIBE message must contain Event header field, and value must be line-status;
SUBSCRIBE message must contain Accept header field, and value is text/plain;
SUBSCRIBE message can contain message body, if comprise message body, must comprise Content-Type header field, and its value is for text/plain, if do not comprise message body, thinks the subscription to all message;
If SUBSCRIBE comprises message body, must comprise Type header field, and value must be subscribe;
If SUBSCRIBE comprises message body, must comprise subscribe header field;
2) NOTIFY of SIP is done to following improvement:
NOTIFY sends status query request or operational order request to control end transmitting apparatus state and control end to equipment for equipment;
NOTIFY must contain Event header field, and value must be line-status;
NOTIFY must contain Subscription-Stat header field, and value is active;
NOTIFY must contain message body, must comprise Content-Type header field, and its value is text/plain;
NOTIFY must comprise Type header field, and its value is one in query, status, command;
NOTIFY must comprise the header field of the same name with the value of Type header field;
NOTIFY can comprise Device-UID, the optional header field of Line-type and Line-ID, and wherein, DeviceUID represents current terminal MAC Address, and Line-type represents device type to be checked, and Line-ID represents device numbering to be checked;
3) set up terminal control and condition monitoring system, this system comprises control end and terminal, and control end is connected by IP network with terminal, and terminal connects some controlled devices, and control end connects display unit and user interface;
4) control end and terminal are undertaken alternately by following flow process:
Subscription-control end sends subscribe message by IP network to terminal;
After equipment state reports-subscribe to successfully, terminal is by the state reporting of the controlled device connecting to control end, and control end shows the state of controlled device;
Device status inquiries-user sends query State request by user interface to terminal, and after querying command issues, terminal sends the state of each controlled device to control end, and control end shows Query Result in display unit;
Equipment control-control end, by NOTIFY, is controlled the operation of the controlled device being connected with terminal.
2. terminal control and the method for monitoring state based on SIP as claimed in claim 1, is characterized in that:
The controlled device that described terminal connects comprises alarm device, supervising device, playback set, Men Ci, gate inhibition, wherein:
Supervising device is mainly used in the monitoring of security protection, if there is object close to supervising device, just the main control module of supervising device triggering terminal, main control module just allows playback set playing welcome announcement;
If door magnetic or gate inhibition change, can triggering terminal send NOTIFY and open alarm device to control end, and the state of current each controlled device is shown in control end display unit;
User can operation control terminal gate inhibition open or close by user interface.
3. terminal control and the method for monitoring state based on SIP as claimed in claim 1, is characterized in that:
The implication of the value of the SUBSCRIBE header field of described SUBSCRIBE message is as follows:
subscribe explanation line-status equipment state information notice, equipment can be to control end transmitting apparatus level correlation behavior; call-status talking state message informing, equipment can send talking stage correlation behavior to control end; all-status equipment can send all states to control end, is equivalent to line-status, call-status; query equipment allows control end to send status query request; command equipment allows control end to send control command; all equipment allows above-mentioned all message, is equivalent to all-status, query, command.
4. terminal control and the method for monitoring state based on SIP as claimed in claim 1, is characterized in that:
Header field Query in described NOTIFY, i.e. inquiry, the implication of its value is as follows:
query explanation line-status equipment state information notice; Equipment can be to control end transmitting apparatus level correlation behavior; call-status talking state message informing; Equipment can send talking stage correlation behavior to control end; all-status equipment can send all states to control end, is equivalent to line-status, call-status.
Header field Status in described NOTIFY, i.e. status information of equipment, its value is Open/Close or user-defined order;
Header field command in described NOTIFY, i.e. control end manipulation order, its value is Open/Close or user defined command.
CN201210589650.5A 2012-12-28 2012-12-28 Terminal control and method for monitoring state based on SIP Active CN103905411B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210589650.5A CN103905411B (en) 2012-12-28 2012-12-28 Terminal control and method for monitoring state based on SIP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210589650.5A CN103905411B (en) 2012-12-28 2012-12-28 Terminal control and method for monitoring state based on SIP

Publications (2)

Publication Number Publication Date
CN103905411A true CN103905411A (en) 2014-07-02
CN103905411B CN103905411B (en) 2019-01-11

Family

ID=50996566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210589650.5A Active CN103905411B (en) 2012-12-28 2012-12-28 Terminal control and method for monitoring state based on SIP

Country Status (1)

Country Link
CN (1) CN103905411B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105743849A (en) * 2014-12-09 2016-07-06 北京大唐高鸿数据网络技术有限公司 Method for achieving control of security and protection through employing session initiation protocol

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002001474A2 (en) * 2000-06-28 2002-01-03 Nortel Networks Ltd. Method and apparatus of presenting ticker information
CN1655553A (en) * 2004-02-11 2005-08-17 微软公司 System and method for facilitating third-party call and device control
US20060004924A1 (en) * 2004-06-30 2006-01-05 Nokia Corporation Method and system providing support for location and service category service discovery in a SIP environment using a SIP event package, forking and AOR registration

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002001474A2 (en) * 2000-06-28 2002-01-03 Nortel Networks Ltd. Method and apparatus of presenting ticker information
CN1655553A (en) * 2004-02-11 2005-08-17 微软公司 System and method for facilitating third-party call and device control
US20060004924A1 (en) * 2004-06-30 2006-01-05 Nokia Corporation Method and system providing support for location and service category service discovery in a SIP environment using a SIP event package, forking and AOR registration

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105743849A (en) * 2014-12-09 2016-07-06 北京大唐高鸿数据网络技术有限公司 Method for achieving control of security and protection through employing session initiation protocol

Also Published As

Publication number Publication date
CN103905411B (en) 2019-01-11

Similar Documents

Publication Publication Date Title
KR101367038B1 (en) Efficient key management system and method
US10320972B2 (en) Enhanced session initiation protocol recording
CN101189849B (en) Lawful interception method and architecture for transparent transmission of interception information
ATE456241T1 (en) PROVIDING ACCESS INFORMATION ON A COMMUNICATIONS NETWORK
US20110255446A1 (en) Session initiation protocol extensions for call control and resource status monitoring in turrets and turret switching systems
CN104822139B (en) A method of communicating number isolation and secret protection are realized based on intermediate number
CN100527739C (en) Method and system for implementing call making service
CN102724047B (en) A kind of method and system of carrying out multimedia conferencing
CN104683098A (en) Implementation method, equipment and system of secure communication service
CN100512500C (en) Method for all processing, service control device, and call processing system
CN104378579A (en) Invite mechanism of video conference system
DE102008062982A1 (en) Billing center for publishing / subscribing the status data originating from distributed telecommunication systems
DE102008054143B4 (en) Processing a Hold-Session Initiation Protocol-Enabled Telecommunications Terminal
CN104168259A (en) Session manager anti-looping
US9019869B2 (en) System and method to suppress voice prompts in SIP calls
CN102647311A (en) Instruction and implementation methods and device for communication monitoring
CN101369906A (en) Conference service implementing method and apparatus
CN103905411A (en) Terminal control and state monitoring method based on SIP
CN101022475B (en) Method, device and system for legal monitoring
CN101998374A (en) Presence information subscribing method and IP multimedia subsystem
SE0701936L (en) Update of End User Session Event Announcements
CN100401692C (en) Packet voice network monitoring method
CN101237660B (en) A monitoring system and method for next generation network
CN101159787B (en) Soft switching communication system and method of implementing session service
CN103997491A (en) Quantum secret communication telephone subscriber terminal extension gateway system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant