WO2014032605A1 - Method, system, and device for implementing control service in sip network - Google Patents

Method, system, and device for implementing control service in sip network Download PDF

Info

Publication number
WO2014032605A1
WO2014032605A1 PCT/CN2013/082584 CN2013082584W WO2014032605A1 WO 2014032605 A1 WO2014032605 A1 WO 2014032605A1 CN 2013082584 W CN2013082584 W CN 2013082584W WO 2014032605 A1 WO2014032605 A1 WO 2014032605A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
sip
message
instruction
party
Prior art date
Application number
PCT/CN2013/082584
Other languages
French (fr)
Chinese (zh)
Inventor
邢晓江
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014032605A1 publication Critical patent/WO2014032605A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1033Signalling gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]

Definitions

  • the present invention relates to the Internet of Things communication technology, and in particular, to a method, system and device for implementing a control service in a Session Initiation Protocol (SIP) network.
  • SIP Session Initiation Protocol
  • SIP networks such as softswitch networks and IMS networks
  • VoIP Voice over IP
  • IMS Internet Protocol
  • IMS Internet Protocol Security
  • the services provided by the SIP network are mainly session-based multimedia services, and the basic control signaling adopts the SIP protocol.
  • the Internet of Things As the key direction of the development of the country and operators, the Internet of Things is jointly promoted by the state, local governments and operators. At the same time, the demand for communication services from users, from simple voice communication, to multimedia communication, with the development of the Internet of Things. In particular, similar to the development of smart home services, users directly communicate with terminals in the home to obtain relevant information, and more and more needs and scenarios for controlling the device.
  • the smart terminal in the home can support the video call service.
  • the user can see the video image in the home through this video call service. If the direction of the camera can be conveniently adjusted during this session, then You can see a wider range.
  • the embodiments of the present invention mainly provide a method, a system, and a device for implementing a control service in a SIP network, which can implement remote control of a SIP network device.
  • a method for implementing a control service in a SIP network includes:
  • the controlling party sends a control command of the SIP protocol to the controlled party via the SIP core network according to the capability of the controlled party; and receives a control result instruction returned by the controlled party forwarded by the SIP core network.
  • the control instruction of the SIP protocol is obtained by extending a message type of the SIP, including: adding a control message type in a message type of the SIP, defining a control instruction of the SIP protocol, and a message of the control instruction of the SIP protocol.
  • the type is the control message type, and the unique identifier, operation object, and operation mode of the control instruction are described in the message header of the SIP protocol control instruction, or the SDP text, or the XML text.
  • control instruction of the SIP protocol is obtained by reusing an existing SIP message, including: reusing a session establishment request (INVITE), and/or information (MESSAGE), and/or a notification (INFO) message, in An indication of the control instruction is added to the message header of the reused message, and the unique identifier, operation object, operation of the control instruction is described in the message header, or Session Description Protocol (SDP) text, or Extensible Markup Language (XML) text. the way.
  • SDP Session Description Protocol
  • XML Extensible Markup Language
  • an operation description is also carried in the header, or SDP text, or XML text.
  • control result instruction is obtained by extending a message type of the SIP
  • the method includes: adding a control message type to a message type of the SIP, and defining a control result instruction, where the message type of the control result instruction is a control message type, in a message header of the control result instruction, or
  • the unique identifier, operation object, and operation result of the control result instruction are described in the SDP text or XML text.
  • control result instruction is obtained by reusing the existing SIP message, including: reusing the INVITE, and/or the MESSAGE, and/or the INFO message, and adding the indication to the message header of the reused message as the control instruction.
  • the method further includes: before the controlling party sends the SIP protocol control instruction to the controlled party via the SIP core network according to the capability of the controlled party, the controlling party sends the INFO message sent by the SIP protocol for acquiring and controlling. Request of the capability of the party, the request is forwarded to the controlled party via the SIP core network, and the controlled party sends its capability to the SIP core network through the extended session description protocol (SDP), and the capability of the SIP core network to be controlled by the control party Forward to the controlling party.
  • SDP extended session description protocol
  • the SIP core network includes: a softswitch or an IMS core network.
  • the capabilities of the controlled party include: an operation mode supported on a port or a channel.
  • An embodiment of the present invention provides a system for implementing a control service in a SIP network, where the system includes: a controlling party, a controlled party, and a SIP core network;
  • the control party is configured to send a control instruction of the SIP protocol to the controlled party via the SIP core network according to the capability of the controlled party, and receive a control result instruction returned by the controlled party forwarded by the SIP core network; the controlled party is configured to receive the SIP protocol. Control instructions and return control result instructions to the SIP core network;
  • the SIP core network is configured to forward interaction signaling between the controlling party and the controlled party.
  • control party includes: a control instruction sending module and a control result receiving module; a control instruction sending module configured to send a SIP protocol control instruction to the controlled party via the SIP core network according to the capability of the controlled party;
  • the control result receiving module is configured to receive a control result instruction returned by the controlled party forwarded by the SIP core network.
  • the controller further includes: a capability acquiring module, configured to send a request for acquiring the capability of the controlled party by using an INFO message of the SIP protocol, where the request is forwarded to the controlled party through the SIP core network, and the receiving is received The ability of the controller to return itself.
  • a capability acquiring module configured to send a request for acquiring the capability of the controlled party by using an INFO message of the SIP protocol, where the request is forwarded to the controlled party through the SIP core network, and the receiving is received The ability of the controller to return itself.
  • the controlled party includes: a control instruction receiving module, an execution module, and a result returning module;
  • control instruction receiving module configured to receive a control instruction of a SIP protocol
  • An execution module configured to perform an operation according to the control instruction of the SIP protocol, and send the execution result to the result returning module;
  • the result returns a module configured to return a control result instruction to the SIP core network.
  • the controlled party further includes: a capability notification module, configured to return the capability of the control party to the control party after receiving the request of the control party to acquire the capability of the controlled party.
  • the control instruction of the SIP protocol is obtained by extending a message type of the SIP, including: adding a control message type in a message type of the SIP, defining a control instruction of the SIP protocol, and a message of the control instruction of the SIP protocol.
  • the type is the control message type, and the unique identifier, operation object, and operation mode of the control instruction are described in the message header of the SIP protocol control instruction, or the SDP text, or the XML text.
  • the control instruction of the SIP protocol is obtained by reusing the existing SIP message, including: reusing the INVITE, and/or the MESSAGE, and/or the INFO message, adding a indication to the message header of the reused message as a control An indication of the instruction and a unique identifier, operation object, and operation mode of the control instruction in the message header, or SDP text, or XML text.
  • the control result instruction is obtained by extending a message type of the SIP, including: adding a control message type to a message type of the SIP, and defining a control result instruction, where the message type of the control result instruction is a control message type, In the header of the control result instruction, or
  • the unique identifier, operation object, and operation result of the control result instruction are described in the SDP text or XML text.
  • control result instruction is obtained by reusing the existing SIP message, including: reusing the INVITE, and/or the MESSAGE, and/or the INFO message, and adding the indication to the message header of the reused message as the control instruction.
  • the controller provided by the embodiment of the present invention includes: a control instruction sending module and a control result receiving module;
  • control instruction sending module configured to send a SIP protocol control command to the controlled party via the SIP core network according to the capability of the controlled party
  • the control result receiving module is configured to receive a control result instruction returned by the controlled party forwarded by the SIP core network.
  • An embodiment of the present invention provides a controlled party, where the controlled party includes: a control instruction receiving module, an execution module, and a result returning module;
  • control instruction receiving module configured to receive a control instruction of a SIP protocol
  • An execution module configured to perform an operation according to the control instruction of the SIP protocol, and send the execution result to the result returning module;
  • the result returns a module configured to return a control result instruction to the SIP core network.
  • the embodiment of the invention provides a method, a system and a device for implementing a control service in a SIP network.
  • the control party sends a SIP protocol control command to the controlled party via the SIP core network (Core) according to the capability of the controlled party; receiving the SIP core
  • the control result instruction returned by the controlled party of the network forwarding; thus, the remote control of the SIP network device can be realized, and the user can operate the remote device, Expanding the scope of services, saving investment, and attracting users will bring many benefits.
  • FIG. 1 is a schematic flow chart of a method for implementing a control service in a SIP network according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a control service performed by a controller A and a controlled party B in a session process according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of an implementation system for implementing a control service in a SIP network according to an embodiment of the present invention. Detailed ways
  • the controlling party sends a control instruction of the SIP protocol to the controlled party via the SIP core network according to the capability of the controlled party; and receives a control result instruction returned by the controlled party forwarded by the SIP core network.
  • the controller and the controlled party are two terminal devices capable of communicating in the SIP network.
  • the embodiment of the present invention implements a method for implementing a control service in a SIP network. As shown in FIG. 1, the method includes the following steps:
  • Step 101 The control party sends a control instruction of the SIP protocol to the controlled party via the SIP core network according to the capability of the controlled party.
  • the controller may further send a request for acquiring the capability of the controlled party by using the INFO message of the SIP protocol, and the request is forwarded to the controlled party via the SIP core network, and the controlled party extends its capability.
  • the Session Description Protocol (SDP) is sent to the SIP core network, and the SIP core network forwards the capability of the controlled party to the controlling party.
  • the capabilities of the controlled party include: the operation mode supported on the port or the channel;
  • the SIP core network includes: a softswitch or an IMS core network;
  • the extended SDP is generally: an SDP message including an operation object and an operation mode supported by the operation object;
  • the control instruction of the SIP protocol is generally obtained by extending a SIP message type or reusing an existing SIP message;
  • the control instruction of the SIP protocol is obtained by extending the message type of the SIP, including: adding a control message type to the message type of the SIP, defining a control instruction of the SIP protocol, and a message type of the control instruction of the SIP protocol.
  • To control the message type describe the unique identifier, operation object, and operation mode of the control instruction in the message header of the control instruction of the SIP protocol, or SDP text, or Extensible Markup Language (XML) text; further, the control of the SIP protocol
  • the message header of the instruction, or the SDP text, or the XML text also carries an operation description;
  • control message type control/SDP or control/XML For example, add the control message type control/SDP or control/XML to the SIP message type, define the control instruction CONTROL of the SIP protocol, and set the Content-Type in the message header of the CONTROL to control/SDP or control/XML.
  • the operation object D, the operation mode E, and the operation description T are added; the specific structure of the CONTROL is as follows:
  • control/SDP The type of the message body is control/SDP
  • the control instruction of the SIP protocol is obtained by reusing the existing SIP message, including: reusing the INVITE, and/or MESSAGE. and/or INFO messages, and adding an indication indicating the control instruction to the message header of the reused message. And describe the unique identifier, operation object, and operation mode of the control instruction in the message header, or SDP text, or XML text; further, the operation description and the like are also carried in the message header, or the SDP text, or the XML text.
  • Reuse the MESSAGE or INFO message set the Content-Type in the header to control/SDP or control/XML to indicate that the reused MESSAGE or INFO message is a control instruction, in the SDP text or XML text in the message body.
  • CONTROL-ID Cb03a0s09a2sdfglkj490334 ⁇ Unique identification of the control command Content- Type: control/SDP
  • Step 102 The control party receives a control result instruction returned by the controlled party forwarded by the SIP core network.
  • the control result instruction is generally also obtained by extending the message type of the SIP or reusing the existing SIP message;
  • the control result instruction is obtained by extending a message type of the SIP, including: adding a control message type to a message type of the SIP, defining a control result instruction, the message type of the control result instruction is a control message type, and the control result instruction
  • control message type control/SDP or control/XML is added to the SIP message type, and the control result instruction CONTROL-RES is defined.
  • the CONTROL-RES carries the unique identifier of the control instruction and carries the operation object in the SDP text or XML text. D and operation result R;
  • the specific structure of CONTROL-RES is as follows:
  • CONTROL-ID Cb03a0s09a2sdfglkj490334 //The unique identifier of the control result instruction Content-Type: control/SDP ⁇ The type of the message body is control/SDP
  • the control result instruction is obtained by reusing an existing SIP message, including:
  • Messages such as INVITE, and/or MESSAGE, and/or INFO, add an indication of the control instruction in the header of the reused message, and in the header, or SDP text, or XML text Describe the unique identifier of the control result instruction, the operation object, the operation result, and the like;
  • Reuse the MESSAGE or INFO message set the Content-Type in the header to control/SDP or control/XML to indicate that the reused MESSAGE or INFO message is a control instruction, in the SDP text or XML text in the message body.
  • CONTROL-ID Cb03a0s09a2sdfglkj490334 //The unique identifier of the control result instruction
  • the step further includes: after receiving the control instruction of the SIP protocol sent by the control party, the controlled party returns a confirmation message to the control party through the SIP core network;
  • the confirmation message may be a newly defined SIP message or a 200 OK message; for example: the newly defined SIP message is CONTROL-CFM, and the message carries a unique identifier of the control instruction.
  • FIG. 2 depicts the specific flow of the control service performed by the controller A and the controlled party B during the session, including the following steps:
  • Step 201 The controller A sends a session establishment request message Invite to the SIP core network.
  • Step 202 The SIP core network forwards the session establishment request message Invite to the controlled party B.
  • Step 203 The controlled party B replies to the ringing response. 180 Ring;
  • Step 204 The SIP core network forwards the ringing response 180 Ring to the controller A.
  • Step 206 The SIP core network forwards the 200 OK message to the controller A.
  • Step 207 The controller A sends an acknowledgement message ACK to the SIP core network.
  • Step 208 The SIP core network forwards the acknowledgement message ACK to the controlled party B.
  • Step 209 Control party A starts to talk with controlled party B;
  • Step 210 The controller A sends a request for acquiring the capability of the controlled party B to the SIP core network.
  • Step 213 The SIP core network forwards the capability of the controlled party B to the controller A;
  • Step 214 The controller A sends the control command of the SIP protocol according to the capability of the controlled party to
  • Step 215 The SIP core network forwards the control command of the SIP protocol to the controlled party B.
  • Step 217 The SIP core network forwards the confirmation message to the controller A;
  • Step 218 The controlled party B performs local operations according to the control instructions of the SIP protocol, and Return control result instructions to the SIP core network;
  • Step 219 The SIP core network forwards the control result instruction to the controller A;
  • Step 220 At the end of the session, the controlled party B sends an end message BYE to the SIP core network;
  • Step 221 The SIP core network forwards the end message BYE to the controller A;
  • Step 222 The controller A replies with a 200 OK message to the SIP core network;
  • Step 223 The SIP core network forwards the 200 OK message to the controlled party B.
  • control command of the SIP protocol, the control result instruction and the acknowledgement message of step 216 in this flow are the same as the control command, control result command and acknowledgement message of the SIP protocol described in steps 101-102 above.
  • the embodiment of the present invention further provides a system for implementing a control service in a SIP network.
  • the system includes: a controller 31, a controlled party 32, and a SIP core network 33;
  • the controller 31 is configured to send a control command of the SIP protocol to the controlled party 32 via the SIP core network 33 according to the capability of the controlled party, and receive a control result instruction returned by the controlled party 32 forwarded by the SIP core network 33;
  • the controlled party 32 is configured to receive the control command of the SIP protocol, and return a control result instruction to the SIP core network 33;
  • the SIP core network 33 is configured to forward the interaction signaling between the controller 31 and the controlled party 32.
  • the control command of the SIP protocol is obtained by extending the message type of the SIP, including: adding control to the message type of the SIP.
  • the message type defines a control instruction of the SIP protocol, and the message type of the control instruction of the SIP protocol is a control message type, and the unique identifier of the control instruction is described in a message header of the control instruction of the SIP protocol, or an SDP text, or an XML text, Operation object, operation mode; further, carrying an operation description in a message header of the SIP protocol control instruction, or SDP text, or XML text;
  • the control instruction of the SIP protocol is obtained by reusing the existing SIP message, including: reusing the INVITE, and/or MESSAGE.
  • the control result instruction is obtained by extending a message type of the SIP, including: adding a control message type to a message type of the SIP, defining a control result instruction, the message type of the control result instruction is a control message type, and the control result instruction
  • the control result instruction is obtained by reusing an existing SIP message, including:
  • Messages such as INVITE, and/or MESSAGE, and/or INFO add an indication indicating the control instruction in the message header of the reused message, and describe the unique identifier of the control result instruction in the header, or SDP text, or XML text. , operation objects, operation results, and so on.
  • the controller 31 includes: a control command sending module 311 and a control result receiving module 312;
  • the control command sending module 311 is configured to send a control command of the SIP protocol to the controlled party 32 via the SIP core network 33 according to the capability of the controlled party 32;
  • the control result receiving module 312 is configured to receive a control result instruction returned by the controlled party 32 forwarded by the SIP core network 33;
  • the controller 31 further includes a capability acquisition module 313 configured to send a request for acquiring the capability of the controlled party 32 by using an INFO message of the SIP protocol, and the request is forwarded to the controlled party 32 via the SIP core network 33, and is received. The ability to be returned by the controlling party 32;
  • control command sending module 311 can be implemented by a control party's transmitter
  • control result receiving module 312 can be implemented by a controller of the controller
  • capability acquiring module 313 can be controlled by the controller's CPU, Or digital signal processor (DSP), or programmable logic Array (FPGA) implementation.
  • DSP digital signal processor
  • FPGA programmable logic Array
  • the controlled party 32 includes: a control instruction receiving module 321, an execution module 322, and a result returning module 323; wherein
  • the control instruction receiving module 321, is configured to receive a control instruction of the SIP protocol
  • the execution module 322 is configured to perform an operation according to the control instruction of the SIP protocol, and send the execution result to the result returning module 323;
  • the result returning module 323 is configured to return a control result instruction to the SIP core network 33.
  • the controlled party 32 further includes: a capability notification module 324 configured to, after receiving the request of the controlling party 31 to acquire the capability of the controlled party, Returning to the controller 31 via the SIP core network 33;
  • control instruction receiving module 321 can be implemented by a receiver of the controlled party, and the result returning module 323 can be implemented by a transmitter of the controlled party, and the executing module 322 and the capability notifying module 324 can be implemented by Implemented by the controller's CPU, or DSP, or FPGA.
  • the embodiment of the present invention further provides a controller.
  • the controller 31 includes: a control command sending module 311 and a control result receiving module 312.
  • the control command sending module 311 is configured to Sending a control command of the SIP protocol to the controlled party 32 via the SIP core network 33 according to the capability of the controlled party 32;
  • the control result receiving module 312 is configured to receive a control result instruction returned by the controlled party 32 forwarded by the SIP core network 33;
  • the controller 31 further includes a capability acquisition module 313 configured to send a request configured to acquire the capability of the controlled party 32 by using an INFO message of the SIP protocol, and the request is forwarded to the controlled party 32 via the SIP core network 33, and is received. The ability to be returned by the controlling party 32;
  • control command sending module 311 can be implemented by a transmitter of the controller
  • control result receiving module 312 can be implemented by a receiver of the controller, and the capability is obtained.
  • the fetch module 313 can be implemented by the controller's CPU, or DSP, or FPGA.
  • the embodiment of the present invention further provides a controlled party.
  • the controlled party 32 includes: a control instruction receiving module 321 , an executing module 322 , and a result returning module 323 ;
  • the control instruction receiving module 321, is configured to receive a control instruction of the SIP protocol
  • the execution module 322 is configured to perform an operation according to the control instruction of the SIP protocol, and send the execution result to the result returning module 323;
  • the result returning module 323 is configured to return a control result instruction to the SIP core network 33.
  • the controlled party 32 further includes: a capability notification module 324 configured to, after receiving the request of the controlling party 31 to acquire the capability of the controlled party, Returning to the controller 31 via the SIP core network 33;
  • control instruction receiving module 321 can be implemented by a receiver of the controlled party, and the result returning module 323 can be implemented by a transmitter of the controlled party, and the executing module 322 and the capability notifying module 324 can be implemented by Implemented by the controller's CPU, or DSP, or FPGA.
  • the embodiment of the present invention can implement remote control of a SIP network device, and facilitates the user to operate the remote device, which has many advantages for the operator to expand the service scope, save investment, and attract users.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Disclosed is a method for implementing a control service in a session initiation protocol (SIP) network. The method comprises: a controlling party sending, according to the capability of a controlled party, a control instruction of the SIP protocol to the controlled party through an SIP core network; receiving a control result instruction returned from the controlled party and forwarded by the SIP core network. Also disclosed is a system and device for implementing a control service in an SIP network. The solution of the present invention can implement remote control over the SIP network device, facilitate the user operation on the remote device, and bring many benefits for the operator to extending the service scope, saving the investment, and attracting the user.

Description

一种 SIP网络中控制服务的实现方法、 系统和设备 技术领域  Method, system and device for implementing control service in SIP network
本发明涉及物联网通信技术,尤其涉及一种会话初始协议(SIP, Session Initiation Protocol ) 网络中控制服务的实现方法、 系统和设备。 背景技术  The present invention relates to the Internet of Things communication technology, and in particular, to a method, system and device for implementing a control service in a Session Initiation Protocol (SIP) network. Background technique
目前, SIP 网络, 如软交换网络、 IMS 网络提供了包括 VoIP、 呈现、 即时消息等多种服务, 覆盖用户面非常广阔, 目前已经基本上完成了所有 传统 PSTN语音的改造, 国内、 国际很多运营商都部署了 IMS和 /或软交换 网络, 拥有庞大的用户群。  At present, SIP networks, such as softswitch networks and IMS networks, offer a variety of services including VoIP, presence, instant messaging, etc., covering a wide range of users. Currently, all traditional PSTN voices have been completely modified, and many domestic and international operations. Businesses have deployed IMS and/or softswitch networks with a large user base.
目前 SIP 网络所提供的服务主要是会话类多媒体服务, 其基础控制信 令采用 SIP协议。  Currently, the services provided by the SIP network are mainly session-based multimedia services, and the basic control signaling adopts the SIP protocol.
物联网作为国家和运营商发展的重点方向, 受到国家、 地方政府和运 营商的联合推动; 同时, 用户对通信服务的需求, 从简单的语音通信, 逐 步发展到多媒体通信, 伴随着物联网的发展, 尤其是类似智能家居类服务 的发展, 用户直接和家庭内的终端进行直接通信, 获取相关信息, 并对该 设备进行控制的需求和场景越来越多。  As the key direction of the development of the country and operators, the Internet of Things is jointly promoted by the state, local governments and operators. At the same time, the demand for communication services from users, from simple voice communication, to multimedia communication, with the development of the Internet of Things In particular, similar to the development of smart home services, users directly communicate with terminals in the home to obtain relevant information, and more and more needs and scenarios for controlling the device.
例如: 在家庭里面的智能终端, 能支持可视通话服务, 用户能通过这 个可视通话服务来看到家庭里面的视频图像, 如果在这会话过程中, 能方 便的调节摄像头的方向, 那么就可以看的范围更广。  For example: In the smart terminal in the home, it can support the video call service. The user can see the video image in the home through this video call service. If the direction of the camera can be conveniently adjusted during this session, then You can see a wider range.
又如: 智能家居系统中, 可能还需要对家庭的某些设备的远程控制, 如果能够通过对 SIP协议实现, 则对运营商来讲, 完全可以在已有的核心 网上通过统一的服务平台来提供类似服务, 对运营商扩展服务范围、 节约 投资、 吸引用户将会带来很多的好处。 还如: 目前楼宇、 住宅中的对讲系统都是独立于通信网络, 但对讲系 统的功能和现有通信服务的功能几乎完全重叠, 目前通信服务还较难提供 直接控制楼道门的开门动作, 如果现有通信服务中支持这一点, 实现运营 商和用户的更良好的捆绑, 将为后续服务开展打下良好基础。 发明内容 Another example: In a smart home system, remote control of some devices in the home may be required. If it can be implemented by the SIP protocol, it can be used by the operator on the existing core network through a unified service platform. Providing similar services will bring many benefits to operators' expansion of service scope, investment saving and attracting users. For example: At present, the intercom system in buildings and houses is independent of the communication network, but the functions of the intercom system and the functions of the existing communication services are almost completely overlapped. At present, it is difficult to provide direct control of the door opening operation of the corridor door. If this is supported in existing communication services, achieving better bundling between operators and users will lay a good foundation for follow-up services. Summary of the invention
本发明实施例主要提供一种 SIP 网络中控制服务的实现方法、 系统和 设备, 能够实现 SIP网络设备的远程控制。  The embodiments of the present invention mainly provide a method, a system, and a device for implementing a control service in a SIP network, which can implement remote control of a SIP network device.
本发明实施例的技术方案是这样实现的:  The technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供的一种 SIP 网络中控制服务的实现方法, 该方法包 括:  A method for implementing a control service in a SIP network according to an embodiment of the present invention, the method includes:
控制方根据被控制方的能力经 SIP核心网向被控制方发送 SIP协议的控 制指令; 接收 SIP核心网转发的被控制方返回的控制结果指令。  The controlling party sends a control command of the SIP protocol to the controlled party via the SIP core network according to the capability of the controlled party; and receives a control result instruction returned by the controlled party forwarded by the SIP core network.
上述方案中,所述 SIP协议的控制指令通过扩展 SIP的消息类型的方式 得到, 包括: 在 SIP的消息类型中增加控制消息类型, 定义 SIP协议的控制 指令,所述 SIP协议的控制指令的消息类型为控制消息类型,在 SIP协议的 控制指令的消息头、 或 SDP文本、 或 XML文本中描述控制指令的唯一标 识、 操作对象、 操作方式。  In the foregoing solution, the control instruction of the SIP protocol is obtained by extending a message type of the SIP, including: adding a control message type in a message type of the SIP, defining a control instruction of the SIP protocol, and a message of the control instruction of the SIP protocol. The type is the control message type, and the unique identifier, operation object, and operation mode of the control instruction are described in the message header of the SIP protocol control instruction, or the SDP text, or the XML text.
上述方案中,所述 SIP协议的控制指令通过重用现有的 SIP消息的方式 得到, 包括: 重用会话建立请求(INVITE )、 和 /或信息(MESSAGE ), 和 / 或通知 (INFO ) 消息, 在重用的消息的消息头中增加表明作为控制指令的 指示,并在消息头、或会话描述协议( SDP )文本、或可扩展标记语言( XML ) 文本中描述控制指令的唯一标识、 操作对象、 操作方式。  In the foregoing solution, the control instruction of the SIP protocol is obtained by reusing an existing SIP message, including: reusing a session establishment request (INVITE), and/or information (MESSAGE), and/or a notification (INFO) message, in An indication of the control instruction is added to the message header of the reused message, and the unique identifier, operation object, operation of the control instruction is described in the message header, or Session Description Protocol (SDP) text, or Extensible Markup Language (XML) text. the way.
上述方案中, 在所述消息头、 或 SDP文本、 或 XML文本中还携带操 作描述。  In the above scheme, an operation description is also carried in the header, or SDP text, or XML text.
上述方案中, 所述控制结果指令通过扩展 SIP的消息类型的方式得到, 包括: 在 SIP 的消息类型中增加控制消息类型, 定义控制结果指令, 所述 控制结果指令的消息类型为控制消息类型, 在控制结果指令的消息头、 或In the above solution, the control result instruction is obtained by extending a message type of the SIP, The method includes: adding a control message type to a message type of the SIP, and defining a control result instruction, where the message type of the control result instruction is a control message type, in a message header of the control result instruction, or
SDP文本、 或 XML文本中描述控制结果指令的唯一标识、操作对象、操作 结果。 The unique identifier, operation object, and operation result of the control result instruction are described in the SDP text or XML text.
上述方案中, 所述控制结果指令通过重用现有的 SIP消息的方式得到, 包括: 重用 INVITE、 和 /或 MESSAGE, 和 /或 INFO消息, 在重用的消息的 消息头中增加表明作为控制指令的指示,并在消息头、或 SDP文本、或 XML 文本中描述控制结果指令的唯一标识、 操作对象、 操作结果。  In the above solution, the control result instruction is obtained by reusing the existing SIP message, including: reusing the INVITE, and/or the MESSAGE, and/or the INFO message, and adding the indication to the message header of the reused message as the control instruction. Indicates and describes the unique identifier, operation object, and operation result of the control result instruction in the message header, or SDP text, or XML text.
上述方案中, 该方法还包括: 在控制方根据被控制方的能力经 SIP核 心网向被控制方发送 SIP协议的控制指令之前,所述控制方采用 SIP协议的 INFO消息发送用于获取被控制方的能力的请求, 所述请求经 SIP核心网转 发到被控制方, 被控制方将自身的能力通过扩展的会话描述协议( SDP )发 送到 SIP核心网, SIP核心网将被控制方的能力转发到控制方。  In the above solution, the method further includes: before the controlling party sends the SIP protocol control instruction to the controlled party via the SIP core network according to the capability of the controlled party, the controlling party sends the INFO message sent by the SIP protocol for acquiring and controlling. Request of the capability of the party, the request is forwarded to the controlled party via the SIP core network, and the controlled party sends its capability to the SIP core network through the extended session description protocol (SDP), and the capability of the SIP core network to be controlled by the control party Forward to the controlling party.
上述方案中, 所述 SIP核心网包括: 软交换或 IMS核心网。  In the above solution, the SIP core network includes: a softswitch or an IMS core network.
上述方案中, 所述被控制方的能力包括: 端口或通道上支持的操作方 式。  In the above solution, the capabilities of the controlled party include: an operation mode supported on a port or a channel.
本发明实施例提供的一种 SIP 网络中控制服务的实现系统, 该系统包 括: 控制方、 被控制方、 SIP核心网; 其中,  An embodiment of the present invention provides a system for implementing a control service in a SIP network, where the system includes: a controlling party, a controlled party, and a SIP core network;
控制方,配置为根据被控制方的能力经 SIP核心网向被控制方发送 SIP 协议的控制指令, 接收 SIP核心网转发的被控制方返回的控制结果指令; 被控制方, 配置为接收 SIP协议的控制指令,并向 SIP核心网返回控制 结果指令;  The control party is configured to send a control instruction of the SIP protocol to the controlled party via the SIP core network according to the capability of the controlled party, and receive a control result instruction returned by the controlled party forwarded by the SIP core network; the controlled party is configured to receive the SIP protocol. Control instructions and return control result instructions to the SIP core network;
SIP核心网, 配置为转发控制方和被控制方之间的交互信令。  The SIP core network is configured to forward interaction signaling between the controlling party and the controlled party.
上述方案中, 所述控制方包括: 控制指令发送模块和控制结果接收模 块; 其中, 控制指令发送模块, 配置为根据被控制方的能力经 SIP核心网向被控 制方发送 SIP协议的控制指令; In the above solution, the control party includes: a control instruction sending module and a control result receiving module; a control instruction sending module configured to send a SIP protocol control instruction to the controlled party via the SIP core network according to the capability of the controlled party;
控制结果接收模块, 配置为接收 SIP核心网转发的被控制方返回的控 制结果指令。  The control result receiving module is configured to receive a control result instruction returned by the controlled party forwarded by the SIP core network.
上述方案中, 所述控制方还包括: 能力获取模块, 配置为采用 SIP协 议的 INFO消息发送用于获取被控制方的能力的请求,所述请求经 SIP核心 网转发到被控制方, 接收被控制方返回的自身能力。  In the above solution, the controller further includes: a capability acquiring module, configured to send a request for acquiring the capability of the controlled party by using an INFO message of the SIP protocol, where the request is forwarded to the controlled party through the SIP core network, and the receiving is received The ability of the controller to return itself.
上述方案中, 所述被控制方包括: 控制指令接收模块、 执行模块、 结 果返回模块; 其中,  In the above solution, the controlled party includes: a control instruction receiving module, an execution module, and a result returning module; wherein
控制指令接收模块, 配置为接收 SIP协议的控制指令;  a control instruction receiving module configured to receive a control instruction of a SIP protocol;
执行模块, 配置为按照所述 SIP协议的控制指令执行操作, 并将执行 结果发送到结果返回模块;  An execution module, configured to perform an operation according to the control instruction of the SIP protocol, and send the execution result to the result returning module;
结果返回模块, 配置为向 SIP核心网返回控制结果指令。  The result returns a module configured to return a control result instruction to the SIP core network.
上述方案中, 所述被控制方还包括: 能力通知模块, 配置为在收到控 制方的获取被控制方的能力的请求后, 经 SIP核心网向控制方返回自身能 力。  In the above solution, the controlled party further includes: a capability notification module, configured to return the capability of the control party to the control party after receiving the request of the control party to acquire the capability of the controlled party.
上述方案中,所述 SIP协议的控制指令通过扩展 SIP的消息类型的方式 得到, 包括: 在 SIP的消息类型中增加控制消息类型, 定义 SIP协议的控制 指令,所述 SIP协议的控制指令的消息类型为控制消息类型,在 SIP协议的 控制指令的消息头、 或 SDP文本、 或 XML文本中描述控制指令的唯一标 识、 操作对象、 操作方式。  In the foregoing solution, the control instruction of the SIP protocol is obtained by extending a message type of the SIP, including: adding a control message type in a message type of the SIP, defining a control instruction of the SIP protocol, and a message of the control instruction of the SIP protocol. The type is the control message type, and the unique identifier, operation object, and operation mode of the control instruction are described in the message header of the SIP protocol control instruction, or the SDP text, or the XML text.
上述方案中,所述 SIP协议的控制指令通过重用现有的 SIP消息的方式 得到, 包括: 重用 INVITE、 和 /或 MESSAGE, 和 /或 INFO消息, 在重用的 消息的消息头中增加表明作为控制指令的指示,并在消息头、或 SDP文本、 或 XML文本中描述控制指令的唯一标识、 操作对象、 操作方式。 上述方案中, 所述控制结果指令通过扩展 SIP的消息类型的方式得到, 包括: 在 SIP 的消息类型中增加控制消息类型, 定义控制结果指令, 所述 控制结果指令的消息类型为控制消息类型, 在控制结果指令的消息头、 或In the foregoing solution, the control instruction of the SIP protocol is obtained by reusing the existing SIP message, including: reusing the INVITE, and/or the MESSAGE, and/or the INFO message, adding a indication to the message header of the reused message as a control An indication of the instruction and a unique identifier, operation object, and operation mode of the control instruction in the message header, or SDP text, or XML text. In the foregoing solution, the control result instruction is obtained by extending a message type of the SIP, including: adding a control message type to a message type of the SIP, and defining a control result instruction, where the message type of the control result instruction is a control message type, In the header of the control result instruction, or
SDP文本、 或 XML文本中描述控制结果指令的唯一标识、操作对象、操作 结果。 The unique identifier, operation object, and operation result of the control result instruction are described in the SDP text or XML text.
上述方案中, 所述控制结果指令通过重用现有的 SIP消息的方式得到, 包括: 重用 INVITE、 和 /或 MESSAGE, 和 /或 INFO消息, 在重用的消息的 消息头中增加表明作为控制指令的指示,并在消息头、或 SDP文本、或 XML 文本中描述控制结果指令的唯一标识、 操作对象、 操作结果。  In the above solution, the control result instruction is obtained by reusing the existing SIP message, including: reusing the INVITE, and/or the MESSAGE, and/or the INFO message, and adding the indication to the message header of the reused message as the control instruction. Indicates and describes the unique identifier, operation object, and operation result of the control result instruction in the message header, or SDP text, or XML text.
本发明实施例提供的一种控制方, 该控制方包括: 控制指令发送模块 和控制结果接收模块; 其中,  The controller provided by the embodiment of the present invention includes: a control instruction sending module and a control result receiving module;
控制指令发送模块, 配置为根据被控制方的能力经 SIP核心网向被控 制方发送 SIP协议的控制指令;  a control instruction sending module configured to send a SIP protocol control command to the controlled party via the SIP core network according to the capability of the controlled party;
控制结果接收模块, 配置为接收 SIP核心网转发的被控制方返回的控 制结果指令。  The control result receiving module is configured to receive a control result instruction returned by the controlled party forwarded by the SIP core network.
本发明实施例提供的一种被控制方, 该被控制方包括: 控制指令接收 模块、 执行模块、 结果返回模块; 其中,  An embodiment of the present invention provides a controlled party, where the controlled party includes: a control instruction receiving module, an execution module, and a result returning module;
控制指令接收模块, 配置为接收 SIP协议的控制指令;  a control instruction receiving module configured to receive a control instruction of a SIP protocol;
执行模块, 配置为按照所述 SIP协议的控制指令执行操作, 并将执行 结果发送到结果返回模块;  An execution module, configured to perform an operation according to the control instruction of the SIP protocol, and send the execution result to the result returning module;
结果返回模块, 配置为向 SIP核心网返回控制结果指令。  The result returns a module configured to return a control result instruction to the SIP core network.
本发明实施例提供了一种 SIP 网络中控制服务的实现方法、 系统和设 备, 控制方根据被控制方的能力经 SIP核心网 (Core )向被控制方发送 SIP 协议的控制指令; 接收 SIP核心网转发的被控制方返回的控制结果指令; 如此, 能够实现 SIP 网络设备的远程控制, 方便用户操作远程设备, 对运 营商扩展服务范围、 节约投资、 吸引用户会带来很多的好处。 附图说明 The embodiment of the invention provides a method, a system and a device for implementing a control service in a SIP network. The control party sends a SIP protocol control command to the controlled party via the SIP core network (Core) according to the capability of the controlled party; receiving the SIP core The control result instruction returned by the controlled party of the network forwarding; thus, the remote control of the SIP network device can be realized, and the user can operate the remote device, Expanding the scope of services, saving investment, and attracting users will bring many benefits. DRAWINGS
图 1为本发明实施例实现 SIP网络中控制服务的实现方法的流程示意 图;  1 is a schematic flow chart of a method for implementing a control service in a SIP network according to an embodiment of the present invention;
图 2为本发明实施例控制方 A与被控制方 B在会话过程中执行控制服 务的流程示意图;  2 is a schematic flowchart of a control service performed by a controller A and a controlled party B in a session process according to an embodiment of the present invention;
图 3为本发明实施例实现 SIP网络中控制服务的实现系统的结构示意 图。 具体实施方式  FIG. 3 is a schematic structural diagram of an implementation system for implementing a control service in a SIP network according to an embodiment of the present invention. Detailed ways
本发明实施例中, 控制方根据被控制方的能力经 SIP核心网向被控制 方发送 SIP协议的控制指令;接收 SIP核心网转发的被控制方返回的控制结 果指令。  In the embodiment of the present invention, the controlling party sends a control instruction of the SIP protocol to the controlled party via the SIP core network according to the capability of the controlled party; and receives a control result instruction returned by the controlled party forwarded by the SIP core network.
所述控制方和被控制方为 SIP网络中能够通信的两个终端设备。  The controller and the controlled party are two terminal devices capable of communicating in the SIP network.
下面通过附图及具体实施例对本发明^:进一步的详细说明。  The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
本发明实施例实现一种 SIP网络中控制服务的实现方法, 如图 1所示, 该方法包括以下几个步骤:  The embodiment of the present invention implements a method for implementing a control service in a SIP network. As shown in FIG. 1, the method includes the following steps:
步骤 101 : 控制方根据被控制方的能力经 SIP核心网向被控制方发送 SIP协议的控制指令;  Step 101: The control party sends a control instruction of the SIP protocol to the controlled party via the SIP core network according to the capability of the controlled party.
在本步骤之前还可以包括:控制方采用 SIP协议的 INFO消息发送用于 获取被控制方的能力的请求, 所述请求经 SIP核心网转发到被控制方, 被 控制方将自身的能力通过扩展的会话描述协议(SDP, Session Description Protocol )发送到 SIP核心网, SIP核心网将被控制方的能力转发到控制方; 所述被控制方的能力包括: 端口或通道上支持的操作方式;  Before the step, the controller may further send a request for acquiring the capability of the controlled party by using the INFO message of the SIP protocol, and the request is forwarded to the controlled party via the SIP core network, and the controlled party extends its capability. The Session Description Protocol (SDP) is sent to the SIP core network, and the SIP core network forwards the capability of the controlled party to the controlling party. The capabilities of the controlled party include: the operation mode supported on the port or the channel;
所述 SIP核心网包括: 软交换或 IMS核心网等; 所述扩展的 SDP—般为: 包含操作对象、 操作对象支持的操作方式的 SDP消息; The SIP core network includes: a softswitch or an IMS core network; The extended SDP is generally: an SDP message including an operation object and an operation mode supported by the operation object;
所述 SIP协议的控制指令一般通过扩展 SIP的消息类型或重用现有的 SIP消息的方式得到;  The control instruction of the SIP protocol is generally obtained by extending a SIP message type or reusing an existing SIP message;
所述 SIP协议的控制指令通过扩展 SIP的消息类型的方式得到, 包括: 在 SIP的消息类型中增加控制(control )消息类型, 定义 SIP协议的控制指 令,所述 SIP协议的控制指令的消息类型为控制消息类型,在 SIP协议的控 制指令的消息头、 或 SDP文本、 或可扩展标记语言(XML )文本中描述控 制指令的唯一标识、 操作对象、 操作方式; 进一步的, 在 SIP协议的控制 指令的消息头、 或 SDP文本、 或 XML文本中还携带操作描述;  The control instruction of the SIP protocol is obtained by extending the message type of the SIP, including: adding a control message type to the message type of the SIP, defining a control instruction of the SIP protocol, and a message type of the control instruction of the SIP protocol. To control the message type, describe the unique identifier, operation object, and operation mode of the control instruction in the message header of the control instruction of the SIP protocol, or SDP text, or Extensible Markup Language (XML) text; further, the control of the SIP protocol The message header of the instruction, or the SDP text, or the XML text also carries an operation description;
如:在 SIP的消息类型中增加控制消息类型 control/SDP或 control/XML, 定义 SIP 协议的控制指令 CONTROL , 将 CONTROL 的消息头中的 Content-Type设置为 control/SDP或 control/XML, 在消息体中的 SDP文本 或 XML文本中, 增加操作对象 D、 操作方式 E、 操作描述 T; CONTROL 的具体结构如下:  For example, add the control message type control/SDP or control/XML to the SIP message type, define the control instruction CONTROL of the SIP protocol, and set the Content-Type in the message header of the CONTROL to control/SDP or control/XML. In the SDP text or XML text in the body, the operation object D, the operation mode E, and the operation description T are added; the specific structure of the CONTROL is as follows:
CONTROL sip:B@zte.com.cn SIP/2.0 //向被控制方 B 发控制指令 CONTROL  CONTROL sip:B@zte.com.cn SIP/2.0 //Send control command to controlled party B CONTROL
Via:SIP/2.0/UDP proxy.zte.com.cn 〃通过代理: proxy.zte.com.cn发送 From: A //发起控制请求的控制方的标识 A  Via:SIP/2.0/UDP proxy.zte.com.cn 〃Proxy through proxy:zte.com.cn From: A //Identity of the controlling party that initiated the control request A
To:B //被控制方的标识 B  To:B //The identity of the controlled party B
Control-ID :238899011 @zte.com.cn〃控制指令的唯一标识  Control-ID :238899011 @zte.com.cn〃The unique identifier of the control instruction
Subject:Door Control 〃控制对象的名称为门 ( Door )  Subject: Door Control 〃 The name of the control object is Door ( Door )
Content-Type: control/SDP 〃消息体的类型为 control/SDP  Content-Type: control/SDP 〃The type of the message body is control/SDP
Content-Length: 100 //消息体的长度  Content-Length: 100 //The length of the message body
在 SDP文本中描述为:  Described in the SDP text as:
V=0 〃版本 0=A 53655765 2353687637 IN IP4 128.3.4.5 〃会话建立者和会话的标 识、 会话版本、 地址协议类型、 地址 V=0 〃 version 0=A 53655765 2353687637 IN IP4 128.3.4.5 〃 Session creator and session identification, session version, address protocol type, address
D=channell 〃操作对象为通道 ( channel ) 1  D=channell 〃The operation object is channel ( channel ) 1
E=OPEN //操作方式为打开  E=OPEN //Operation mode is open
T=open the door 〃操作描述为开门。  T=open the door 〃The operation is described as opening the door.
上述控制指令中, 如果消息体的类型为 control/XML, 贝  In the above control instruction, if the type of the message body is control/XML, Bay
在 XML文本中描述告警控制的例子为:  An example of describing alarm control in XML text is:
<?xml version="1.0" encoding="US-ASCII"?>  <?xml version="1.0" encoding="US-ASCII"?>
<msml version=" 1.1,,〉  <msml version=" 1.1,,>
<alarm>  <alarm>
<location>door</location> 〃操作对象  <location>door</location> 〃Operation object
<time>20120528 12:00:00</time> 〃操作方式: 操作在 2012年 05 月 28日 12:00:00开始  <time>20120528 12:00:00</time> 〃Operation: Operation starts on May 28, 2012 at 12:00:00
<pic>http://10.1.1. l/pic/door2012052812.gif</pic> 〃操作方式:访问 指定路径  <pic>http://10.1.1. l/pic/door2012052812.gif</pic> 〃Operation: Access Specify the path
</alarm>  </alarm>
</msml>  </msml>
在 XML文本中描述控制开门的例子为:  An example of describing control opening in XML text is:
<?xml version^11.0" encoding=,,US-ASCH,,?> <?xml version^ 1 1.0" encoding= ,, US-ASCH ,, ?>
<msml version=" 1.1">  <msml version=" 1.1">
<control>  <control>
<id>door</id> 〃操作对象  <id>door</id> 〃Operation object
<time>20120528 12:00:00</time> 〃操作方式: 操作在 2012年 05月 28日 12:00:00开始  <time>20120528 12:00:00</time> 〃Operation: Operation starts on May 28, 2012 at 12:00:00
<operate>open</operate> 〃〃操作方式: 打开  <operate>open</operate> 〃〃Operation: Open
</control>  </control>
</msml> 所述 SIP协议的控制指令通过重用现有的 SIP消息的方式得到, 包括: 重用 INVITE、 和 /或 MESSAGE.和 /或 INFO等消息, 在重用的消息的消息 头中增加表明作为控制指令的指示, 并在消息头、 或 SDP文本、 或 XML 文本中描述控制指令的唯一标识、 操作对象、 操作方式; 进一步的, 在消 息头、 或 SDP文本、 或 XML文本中还携带操作描述等。 </msml> The control instruction of the SIP protocol is obtained by reusing the existing SIP message, including: reusing the INVITE, and/or MESSAGE. and/or INFO messages, and adding an indication indicating the control instruction to the message header of the reused message. And describe the unique identifier, operation object, and operation mode of the control instruction in the message header, or SDP text, or XML text; further, the operation description and the like are also carried in the message header, or the SDP text, or the XML text.
如: 重用 MESSAGE或者 INFO消息, 将消息头中的 Content-Type设 置为 control/SDP或者 control/XML,用于表明重用的 MESSAGE或者 INFO 消息为控制指令, 在消息体中的 SDP文本或 XML文本中, 增加操作对象 D、 操作方式 E; 进一步的, 在消息体中的 SDP文本或 XML文本中, 还增 加操作描述 T;  For example: Reuse the MESSAGE or INFO message, set the Content-Type in the header to control/SDP or control/XML to indicate that the reused MESSAGE or INFO message is a control instruction, in the SDP text or XML text in the message body. , adding the operation object D, the operation mode E; further, adding an operation description T in the SDP text or the XML text in the message body;
以重用 INFO消息为例:  Take the reuse of INFO message as an example:
INFO sip: a@zte.com.cn SIP/2.0  INFO sip: a@zte.com.cn SIP/2.0
Via SIP/2.0/UDP proxy.zte.com.cn  Via SIP/2.0/UDP proxy.zte.com.cn
Max-Forwards: 70  Max-Forwards: 70
Route: <sip:scscfl . home 1.net; lr> <atcf.visitedl .net;lr>  Route: <sip:scscfl . home 1.net; lr> <atcf.visitedl .net;lr>
From: A  From: A
To: B  To: B
CONTROL-ID: Cb03a0s09a2sdfglkj490334 〃控制指令的唯一标识 Content- Type: control/SDP  CONTROL-ID: Cb03a0s09a2sdfglkj490334 唯一 Unique identification of the control command Content- Type: control/SDP
Content-Length:  Content-Length:
在 SDP文本中描述为:  Described in the SDP text as:
v=o  v=o
D=channell〃操作对象 D=channell〃 operation object
E=OPEN //操作方式  E=OPEN //Operation mode
T=ope the door //操作描述。  T=ope the door // operation description.
步骤 102:控制方接收 SIP核心网转发的被控制方返回的控制结果指令; 所述控制结果指令一般也通过扩展 SIP 的消息类型或重用现有的 SIP 消息的方式得到; Step 102: The control party receives a control result instruction returned by the controlled party forwarded by the SIP core network. The control result instruction is generally also obtained by extending the message type of the SIP or reusing the existing SIP message;
所述控制结果指令通过扩展 SIP的消息类型的方式得到, 包括: 在 SIP 的消息类型中增加控制消息类型, 定义控制结果指令, 所述控制结果指令 的消息类型为控制消息类型, 在控制结果指令的消息头、 或 SDP文本、 或 XML文本中描述控制结果指令的唯一标识、 操作对象、 操作结果等;  The control result instruction is obtained by extending a message type of the SIP, including: adding a control message type to a message type of the SIP, defining a control result instruction, the message type of the control result instruction is a control message type, and the control result instruction The unique identifier of the control result instruction, the operation object, the operation result, etc. in the header, or SDP text, or XML text;
如:在 SIP的消息类型中增加控制消息类型 control/SDP或 control/XML, 定义控制结果指令 CONTROL-RES, CONTROL-RES中携带控制指令的唯 一标识, 并在 SDP文本或 XML文本中携带操作对象 D和操作结果 R; CONTROL-RES的具体结构如下:  For example, the control message type control/SDP or control/XML is added to the SIP message type, and the control result instruction CONTROL-RES is defined. The CONTROL-RES carries the unique identifier of the control instruction and carries the operation object in the SDP text or XML text. D and operation result R; The specific structure of CONTROL-RES is as follows:
CONTROL-RES sip: B@zte.com.cn SIP/2.0  CONTROL-RES sip: B@zte.com.cn SIP/2.0
Via SIP/2.0/UDP proxy.zte.com.cn  Via SIP/2.0/UDP proxy.zte.com.cn
Max-Forwards: 70  Max-Forwards: 70
Route: <sip:scscfl . home 1.net; lr> <atcf.visitedl .net;lr>  Route: <sip:scscfl . home 1.net; lr> <atcf.visitedl .net;lr>
From: B  From: B
To: A  To: A
CONTROL-ID: Cb03a0s09a2sdfglkj490334 //控制结果指令的唯一标识 Content-Type: control/SDP〃消息体的类型为 control/SDP  CONTROL-ID: Cb03a0s09a2sdfglkj490334 //The unique identifier of the control result instruction Content-Type: control/SDP〃 The type of the message body is control/SDP
Content-Length:  Content-Length:
在 SDP文本中描述为:  Described in the SDP text as:
v=o  v=o
D=channell 〃操作对象 D=channell 〃 operation object
R=success //操作结果。  R=success // operation result.
所述控制结果指令通过重用现有的 SIP 消息的方式得到, 包括: 重用 The control result instruction is obtained by reusing an existing SIP message, including:
INVITE, 和 /或 MESSAGE, 和 /或 INFO等消息, 在重用的消息的消息头中 增加表明作为控制指令的指示, 并在消息头、 或 SDP文本、 或 XML文本 中描述控制结果指令的唯一标识、 操作对象、 操作结果等; Messages such as INVITE, and/or MESSAGE, and/or INFO, add an indication of the control instruction in the header of the reused message, and in the header, or SDP text, or XML text Describe the unique identifier of the control result instruction, the operation object, the operation result, and the like;
如: 重用 MESSAGE或者 INFO消息, 将消息头中的 Content-Type设 置为 control/SDP或者 control/XML,用于表明重用的 MESSAGE或者 INFO 消息为控制指令, 在消息体中的 SDP文本或 XML文本中, 增加操作对象 D、 操作结果 R; 以重用 INFO消息为例:  For example: Reuse the MESSAGE or INFO message, set the Content-Type in the header to control/SDP or control/XML to indicate that the reused MESSAGE or INFO message is a control instruction, in the SDP text or XML text in the message body. , increase the operation object D, the operation result R; take the INFO message as an example:
INFO sip: B@zte.com.cn SIP/2.0  INFO sip: B@zte.com.cn SIP/2.0
Via SIP/2.0/UDP proxy.zte.com.cn  Via SIP/2.0/UDP proxy.zte.com.cn
Max-Forwards: 70  Max-Forwards: 70
Route: <sip:scscfl . home 1.net; lr> <atcf.visitedl .net;lr>  Route: <sip:scscfl . home 1.net; lr> <atcf.visitedl .net;lr>
From: B  From: B
To: A  To: A
CONTROL-ID: Cb03a0s09a2sdfglkj490334 //控制结果指令的唯一标识 CONTROL-ID: Cb03a0s09a2sdfglkj490334 //The unique identifier of the control result instruction
Content- Type: control/SDP Content- Type: control/SDP
Content-Length:  Content-Length:
在 SDP文本中描述为:  Described in the SDP text as:
v=o  v=o
D=channell 〃操作对象 D=channell 〃 operation object
R=success //操作结果。  R=success // operation result.
本步骤还包括: 被控制方接收到控制方发送的 SIP协议的控制指令后, 通过 SIP核心网向控制方返回确认消息;  The step further includes: after receiving the control instruction of the SIP protocol sent by the control party, the controlled party returns a confirmation message to the control party through the SIP core network;
所述确认消息可以是新定义的 SIP消息, 也可以是 200 OK消息; 例如: 新定义的 SIP消息为 CONTROL-CFM, 消息中携带控制指令的 唯一标识。  The confirmation message may be a newly defined SIP message or a 200 OK message; for example: the newly defined SIP message is CONTROL-CFM, and the message carries a unique identifier of the control instruction.
CONTROL-CF M sip:A@zte.com.cn SIP/2.0 〃向 A发送确认消息 Via:SIP/2.0/UDP proxy.zte.com.cn 〃通过代理: proxy.zte.com.cn From: B //被控制方的标识 B To: A //控制方的标识 A CONTROL-CF M sip:A@zte.com.cn SIP/2.0 发送 Send a confirmation message to A Via:SIP/2.0/UDP proxy.zte.com.cn 代理Proxy: proxy.zte.com.cn From: B //The identity of the controlled party B To: A //The identity of the controlling party A
Control-ID :2388990 l l@zte.com.cn //控制指令的唯一标识  Control-ID : 2388990 l l@zte.com.cn //The unique identifier of the control command
Subject:Door Control //控制的名字或者属性。  Subject: Door Control // The name or attribute of the control.
图 2描述了控制方 A与被控制方 B在会话过程中执行控制服务的具体 流程, 包括以下几个步骤:  Figure 2 depicts the specific flow of the control service performed by the controller A and the controlled party B during the session, including the following steps:
步骤 201 : 控制方 A与发送会话建立请求消息 Invite到 SIP核心网; 步骤 202: SIP核心网向被控制方 B转发所述会话建立请求消息 Invite; 步骤 203: 被控制方 B回复正在响铃响应 180 Ring;  Step 201: The controller A sends a session establishment request message Invite to the SIP core network. Step 202: The SIP core network forwards the session establishment request message Invite to the controlled party B. Step 203: The controlled party B replies to the ringing response. 180 Ring;
步骤 204: SIP核心网向控制方 A转发所述正在响铃响应 180 Ring; 步骤 205:被控制方 B接受会话建立请求后,向 SIP核心网发送 200 OK 消息;  Step 204: The SIP core network forwards the ringing response 180 Ring to the controller A. Step 205: After receiving the session establishment request, the controlled party B sends a 200 OK message to the SIP core network.
步骤 206: SIP核心网向控制方 A转发所述 200 OK消息;  Step 206: The SIP core network forwards the 200 OK message to the controller A.
步骤 207: 控制方 A向 SIP核心网发送确认消息 ACK;  Step 207: The controller A sends an acknowledgement message ACK to the SIP core network.
步骤 208: SIP核心网向被控制方 B转发所述确认消息 ACK;  Step 208: The SIP core network forwards the acknowledgement message ACK to the controlled party B.
步骤 209: 控制方 A与被控制方 B开始通话;  Step 209: Control party A starts to talk with controlled party B;
步骤 210: 控制方 A向 SIP核心网发送获取被控制方 B的能力的请求; 步骤 211 : SIP核心网转发获取被控制方 B的能力的请求到被控制方 B; 步骤 212: 被控制方 B将自身的能力返回给 SIP核心网;  Step 210: The controller A sends a request for acquiring the capability of the controlled party B to the SIP core network. Step 211: The SIP core network forwards the request for acquiring the capability of the controlled party B to the controlled party B. Step 212: Controlled party B Returning its capabilities to the SIP core network;
步骤 213: SIP核心网转发被控制方 B的能力给控制方 A;  Step 213: The SIP core network forwards the capability of the controlled party B to the controller A;
步骤 214: 控制方 A根据被控制方的能力发送 SIP协议的控制指令到 Step 214: The controller A sends the control command of the SIP protocol according to the capability of the controlled party to
SIP核心网; SIP core network;
步骤 215: SIP核心网转发所述 SIP协议的控制指令到被控制方 B; 步骤 216: 被控制方 B回复确认消息到 SIP核心网;  Step 215: The SIP core network forwards the control command of the SIP protocol to the controlled party B. Step 216: The controlled party B replies an acknowledgement message to the SIP core network.
步骤 217: SIP核心网转发所述确认消息给控制方 A;  Step 217: The SIP core network forwards the confirmation message to the controller A;
步骤 218:被控制方 B按照所述 SIP协议的控制指令进行本地操作,并 返回控制结果指令给 SIP核心网; Step 218: The controlled party B performs local operations according to the control instructions of the SIP protocol, and Return control result instructions to the SIP core network;
步骤 219: SIP核心网转发所述控制结果指令给控制方 A;  Step 219: The SIP core network forwards the control result instruction to the controller A;
步骤 220: 在会话结束时, 被控制方 B发送结束消息 BYE给 SIP核心 网;  Step 220: At the end of the session, the controlled party B sends an end message BYE to the SIP core network;
步骤 221 : SIP核心网转发所述结束消息 BYE给控制方 A;  Step 221: The SIP core network forwards the end message BYE to the controller A;
步骤 222: 控制方 A回复 200 OK消息到 SIP核心网;  Step 222: The controller A replies with a 200 OK message to the SIP core network;
步骤 223: SIP核心网转发所述 200 OK消息给被控制方 B。  Step 223: The SIP core network forwards the 200 OK message to the controlled party B.
本流程中的 SIP协议的控制指令、 控制结果指令和步骤 216的确认消 息与上文步骤 101~102中所述 SIP协议的控制指令、 控制结果指令和确认 消息相同。  The control command of the SIP protocol, the control result instruction and the acknowledgement message of step 216 in this flow are the same as the control command, control result command and acknowledgement message of the SIP protocol described in steps 101-102 above.
为了实现上述方法, 本发明实施例还提供一种 SIP 网络中控制服务的 实现系统, 如图 3所示, 该系统包括: 控制方 31、 被控制方 32、 SIP核心 网 33; 其中,  In order to implement the foregoing method, the embodiment of the present invention further provides a system for implementing a control service in a SIP network. As shown in FIG. 3, the system includes: a controller 31, a controlled party 32, and a SIP core network 33;
控制方 31, 配置为根据被控制方的能力经 SIP核心网 33向被控制方 32发送 SIP协议的控制指令, 接收 SIP核心网 33转发的被控制方 32返回 的控制结果指令;  The controller 31 is configured to send a control command of the SIP protocol to the controlled party 32 via the SIP core network 33 according to the capability of the controlled party, and receive a control result instruction returned by the controlled party 32 forwarded by the SIP core network 33;
被控制方 32, 配置为接收 SIP协议的控制指令, 并向 SIP核心网 33返 回控制结果指令;  The controlled party 32 is configured to receive the control command of the SIP protocol, and return a control result instruction to the SIP core network 33;
SIP核心网 33, 配置为转发控制方 31和被控制方 32之间的交互信令; 所述 SIP协议的控制指令通过扩展 SIP的消息类型的方式得到, 包括: 在 SIP的消息类型中增加控制消息类型, 定义 SIP协议的控制指令, 所述 SIP协议的控制指令的消息类型为控制消息类型,在 SIP协议的控制指令的 消息头、 或 SDP文本、 或 XML文本中描述控制指令的唯一标识、 操作对 象、 操作方式; 进一步的, 在 SIP协议的控制指令的消息头、 或 SDP文本、 或 XML文本中还携带操作描述; 所述 SIP协议的控制指令通过重用现有的 SIP消息的方式得到, 包括: 重用 INVITE、 和 /或 MESSAGE.和 /或 INFO等消息, 在重用的消息的消息 头中增加表明作为控制指令的指示, 并在消息头、 或 SDP文本、 或 XML 文本中描述控制指令的唯一标识、 操作对象、 操作方式; 进一步的, 在消 息头、 或 SDP文本、 或 XML文本中还携带操作描述等。 The SIP core network 33 is configured to forward the interaction signaling between the controller 31 and the controlled party 32. The control command of the SIP protocol is obtained by extending the message type of the SIP, including: adding control to the message type of the SIP The message type defines a control instruction of the SIP protocol, and the message type of the control instruction of the SIP protocol is a control message type, and the unique identifier of the control instruction is described in a message header of the control instruction of the SIP protocol, or an SDP text, or an XML text, Operation object, operation mode; further, carrying an operation description in a message header of the SIP protocol control instruction, or SDP text, or XML text; The control instruction of the SIP protocol is obtained by reusing the existing SIP message, including: reusing the INVITE, and/or MESSAGE. and/or INFO messages, and adding an indication indicating the control instruction to the message header of the reused message. And describe the unique identifier, operation object, and operation mode of the control instruction in the message header, or SDP text, or XML text; further, the operation description and the like are also carried in the message header, or the SDP text, or the XML text.
所述控制结果指令通过扩展 SIP的消息类型的方式得到, 包括: 在 SIP 的消息类型中增加控制消息类型, 定义控制结果指令, 所述控制结果指令 的消息类型为控制消息类型, 在控制结果指令的消息头、 或 SDP文本、 或 XML文本中描述控制结果指令的唯一标识、 操作对象、 操作结果等;  The control result instruction is obtained by extending a message type of the SIP, including: adding a control message type to a message type of the SIP, defining a control result instruction, the message type of the control result instruction is a control message type, and the control result instruction The unique identifier of the control result instruction, the operation object, the operation result, etc. in the header, or SDP text, or XML text;
所述控制结果指令通过重用现有的 SIP 消息的方式得到, 包括: 重用 The control result instruction is obtained by reusing an existing SIP message, including:
INVITE, 和 /或 MESSAGE, 和 /或 INFO等消息, 在重用的消息的消息头中 增加表明作为控制指令的指示, 并在消息头、 或 SDP文本、 或 XML文本 中描述控制结果指令的唯一标识、 操作对象、 操作结果等。 Messages such as INVITE, and/or MESSAGE, and/or INFO, add an indication indicating the control instruction in the message header of the reused message, and describe the unique identifier of the control result instruction in the header, or SDP text, or XML text. , operation objects, operation results, and so on.
所述控制方 31包括:控制指令发送模块 311和控制结果接收模块 312; 其中,  The controller 31 includes: a control command sending module 311 and a control result receiving module 312;
控制指令发送模块 311, 配置为根据被控制方 32的能力经 SIP核心网 33向被控制方 32发送 SIP协议的控制指令;  The control command sending module 311 is configured to send a control command of the SIP protocol to the controlled party 32 via the SIP core network 33 according to the capability of the controlled party 32;
控制结果接收模块 312, 配置为接收 SIP核心网 33转发的被控制方 32 返回的控制结果指令;  The control result receiving module 312 is configured to receive a control result instruction returned by the controlled party 32 forwarded by the SIP core network 33;
所述控制方 31还包括:能力获取模块 313,配置为采用 SIP协议的 INFO 消息发送用于获取被控制方 32的能力的请求, 所述请求经 SIP核心网 33 转发到被控制方 32, 接收被控制方 32返回的自身能力;  The controller 31 further includes a capability acquisition module 313 configured to send a request for acquiring the capability of the controlled party 32 by using an INFO message of the SIP protocol, and the request is forwarded to the controlled party 32 via the SIP core network 33, and is received. The ability to be returned by the controlling party 32;
在实际应用中, 所述控制指令发送模块 311 可以由控制方的发射器实 现, 所述控制结果接收模块 312可以由控制方的接收器实现, 所述能力获 取模块 313可以由控制方的 CPU、 或数字信号处理器(DSP )、 或可编程逻 辑阵列 (FPGA ) 实现。 In a practical application, the control command sending module 311 can be implemented by a control party's transmitter, the control result receiving module 312 can be implemented by a controller of the controller, and the capability acquiring module 313 can be controlled by the controller's CPU, Or digital signal processor (DSP), or programmable logic Array (FPGA) implementation.
所述被控制方 32包括: 控制指令接收模块 321、 执行模块 322、 结果 返回模块 323 ; 其中,  The controlled party 32 includes: a control instruction receiving module 321, an execution module 322, and a result returning module 323; wherein
控制指令接收模块 321, 配置为接收 SIP协议的控制指令;  The control instruction receiving module 321, is configured to receive a control instruction of the SIP protocol;
执行模块 322, 配置为按照所述 SIP协议的控制指令执行操作, 并将执 行结果发送到结果返回模块 323;  The execution module 322 is configured to perform an operation according to the control instruction of the SIP protocol, and send the execution result to the result returning module 323;
结果返回模块 323, 配置为向 SIP核心网 33返回控制结果指令; 所述被控制方 32还包括: 能力通知模块 324, 配置为在收到控制方 31 的获取被控制方的能力的请求后, 经 SIP核心网 33向控制方 31返回自身 能力;  The result returning module 323 is configured to return a control result instruction to the SIP core network 33. The controlled party 32 further includes: a capability notification module 324 configured to, after receiving the request of the controlling party 31 to acquire the capability of the controlled party, Returning to the controller 31 via the SIP core network 33;
在实际应用中, 所述控制指令接收模块 321 可以由被控制方的接收器 实现, 所述结果返回模块 323 可以由被控制方的发射器实现, 所述执行模 块 322、 能力通知模块 324可以由被控制方的 CPU、 或 DSP、 或 FPGA实 现。  In an actual application, the control instruction receiving module 321 can be implemented by a receiver of the controlled party, and the result returning module 323 can be implemented by a transmitter of the controlled party, and the executing module 322 and the capability notifying module 324 can be implemented by Implemented by the controller's CPU, or DSP, or FPGA.
基于上述系统, 本发明实施例还提供一种控制方, 如图 3 所示, 所述 控制方 31包括: 控制指令发送模块 311和控制结果接收模块 312; 其中, 控制指令发送模块 311, 配置为根据被控制方 32的能力经 SIP核心网 33向被控制方 32发送 SIP协议的控制指令;  Based on the above system, the embodiment of the present invention further provides a controller. As shown in FIG. 3, the controller 31 includes: a control command sending module 311 and a control result receiving module 312. The control command sending module 311 is configured to Sending a control command of the SIP protocol to the controlled party 32 via the SIP core network 33 according to the capability of the controlled party 32;
控制结果接收模块 312, 配置为接收 SIP核心网 33转发的被控制方 32 返回的控制结果指令;  The control result receiving module 312 is configured to receive a control result instruction returned by the controlled party 32 forwarded by the SIP core network 33;
所述控制方 31还包括:能力获取模块 313,配置为采用 SIP协议的 INFO 消息发送配置为获取被控制方 32的能力的请求,所述请求经 SIP核心网 33 转发到被控制方 32, 接收被控制方 32返回的自身能力;  The controller 31 further includes a capability acquisition module 313 configured to send a request configured to acquire the capability of the controlled party 32 by using an INFO message of the SIP protocol, and the request is forwarded to the controlled party 32 via the SIP core network 33, and is received. The ability to be returned by the controlling party 32;
在实际应用中, 所述控制指令发送模块 311 可以由控制方的发射器实 现, 所述控制结果接收模块 312可以由控制方的接收器实现, 所述能力获 取模块 313可以由控制方的 CPU、 或 DSP、 或 FPGA实现。 In a practical application, the control command sending module 311 can be implemented by a transmitter of the controller, and the control result receiving module 312 can be implemented by a receiver of the controller, and the capability is obtained. The fetch module 313 can be implemented by the controller's CPU, or DSP, or FPGA.
基于上述系统, 本发明实施例还提供一种被控制方, 如图 3 所示, 所 述被控制方 32包括: 控制指令接收模块 321、 执行模块 322、 结果返回模 块 323; 其中,  Based on the above system, the embodiment of the present invention further provides a controlled party. As shown in FIG. 3, the controlled party 32 includes: a control instruction receiving module 321 , an executing module 322 , and a result returning module 323 ;
控制指令接收模块 321, 配置为接收 SIP协议的控制指令;  The control instruction receiving module 321, is configured to receive a control instruction of the SIP protocol;
执行模块 322, 配置为按照所述 SIP协议的控制指令执行操作, 并将执 行结果发送到结果返回模块 323;  The execution module 322 is configured to perform an operation according to the control instruction of the SIP protocol, and send the execution result to the result returning module 323;
结果返回模块 323, 配置为向 SIP核心网 33返回控制结果指令; 所述被控制方 32还包括: 能力通知模块 324, 配置为在收到控制方 31 的获取被控制方的能力的请求后, 经 SIP核心网 33向控制方 31返回自身 能力;  The result returning module 323 is configured to return a control result instruction to the SIP core network 33. The controlled party 32 further includes: a capability notification module 324 configured to, after receiving the request of the controlling party 31 to acquire the capability of the controlled party, Returning to the controller 31 via the SIP core network 33;
在实际应用中, 所述控制指令接收模块 321 可以由被控制方的接收器 实现, 所述结果返回模块 323 可以由被控制方的发射器实现, 所述执行模 块 322、 能力通知模块 324可以由被控制方的 CPU、 或 DSP、 或 FPGA实 现。  In an actual application, the control instruction receiving module 321 can be implemented by a receiver of the controlled party, and the result returning module 323 can be implemented by a transmitter of the controlled party, and the executing module 322 and the capability notifying module 324 can be implemented by Implemented by the controller's CPU, or DSP, or FPGA.
工业实用性  Industrial applicability
综上所述, 本发明实施例能够实现 SIP 网络设备的远程控制, 方便用 户操作远程设备, 对运营商扩展服务范围、 节约投资、 吸引用户会带来很 多的好处。  In summary, the embodiment of the present invention can implement remote control of a SIP network device, and facilitates the user to operate the remote device, which has many advantages for the operator to expand the service scope, save investment, and attract users.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 claims
1、 一种会话初始协议(SIP ) 网络中控制服务的实现方法, 包括: 控制方根据被控制方的能力经 SIP核心网向被控制方发送 SIP协议的控 制指令; 接收 SIP核心网转发的被控制方返回的控制结果指令。 1. A method for implementing control services in a Session Initiation Protocol (SIP) network, including: The controlling party sends control instructions of the SIP protocol to the controlled party through the SIP core network according to the capabilities of the controlled party; Receives the controlled party forwarded by the SIP core network. The control result instruction returned by the controller.
2、 根据权利要求 1所述的实现方法, 其中, 所述 SIP协议的控制指令 通过扩展 SIP的消息类型的方式得到, 包括:在 SIP的消息类型中增加控制 消息类型,定义 SIP协议的控制指令,所述 SIP协议的控制指令的消息类型 为控制消息类型, 在 SIP协议的控制指令的消息头、 或 SDP文本、 或 XML 文本中描述控制指令的唯一标识、 操作对象、 操作方式。 2. The implementation method according to claim 1, wherein the control instructions of the SIP protocol are obtained by extending the message type of the SIP, including: adding a control message type to the message type of the SIP and defining the control instructions of the SIP protocol. , the message type of the control instruction of the SIP protocol is a control message type, and the unique identification, operation object, and operation mode of the control instruction are described in the message header, or SDP text, or XML text of the control instruction of the SIP protocol.
3、 根据权利要求 1所述的实现方法, 其中, 所述 SIP协议的控制指令 通过重用现有的 SIP消息的方式得到, 包括:重用会话建立请求(INVITE )、 和 /或信息 (MESSAGE ), 和 /或通知 (INFO ) 消息, 在重用的消息的消息 头中增加表明作为控制指令的指示, 并在消息头、 或会话描述协议(SDP ) 文本、 或可扩展标记语言 (XML )文本中描述控制指令的唯一标识、 操作 对象、 操作方式。 3. The implementation method according to claim 1, wherein the control instructions of the SIP protocol are obtained by reusing existing SIP messages, including: reusing session establishment requests (INVITE), and/or messages (MESSAGE), and/or notification (INFO) message, add an indication as a control instruction in the message header of the reused message, and describe it in the message header, or Session Description Protocol (SDP) text, or Extensible Markup Language (XML) text The unique identification, operation object, and operation mode of the control instruction.
4、根据权利要求 2或 3所述的实现方法,其中,在所述消息头、或 SDP 文本、 或 XML文本中还携带操作描述。 4. The implementation method according to claim 2 or 3, wherein the message header, or SDP text, or XML text also carries an operation description.
5、 根据权利要求 1所述的实现方法, 其中, 所述控制结果指令通过扩 展 SIP的消息类型的方式得到, 包括: 在 SIP的消息类型中增加控制消息类 型, 定义控制结果指令, 所述控制结果指令的消息类型为控制消息类型, 在控制结果指令的消息头、 或 SDP文本、 或 XML文本中描述控制结果指 令的唯一标识、 操作对象、 操作结果。 5. The implementation method according to claim 1, wherein the control result instruction is obtained by extending the message type of SIP, including: adding a control message type to the message type of SIP, defining the control result instruction, and the control result instruction is: The message type of the result instruction is a control message type, and the unique identifier, operation object, and operation result of the control result instruction are described in the message header of the control result instruction, or SDP text, or XML text.
6、 根据权利要求 1所述的实现方法, 其中, 所述控制结果指令通过重 用现有的 SIP消息的方式得到, 包括: 重用 INVITE、 和 /或 MESSAGE, 和 /或 INFO消息, 在重用的消息的消息头中增加表明作为控制指令的指示, 并在消息头、 或 SDP文本、 或 XML文本中描述控制结果指令的唯一标识、 操作对象、 操作结果。 6. The implementation method according to claim 1, wherein the control result instruction is obtained by reusing existing SIP messages, including: reusing INVITE, and/or MESSAGE, and/or INFO messages, in the reused messages Add an indication as a control instruction to the message header, And describe the unique identifier, operation object, and operation result of the control result instruction in the message header, or SDP text, or XML text.
7、根据权利要求 1至 6任一项所述的实现方法,其中,该方法还包括: 在控制方根据被控制方的能力经 SIP核心网向被控制方发送 SIP协议的控制 指令之前,所述控制方采用 SIP协议的 INFO消息发送用于获取被控制方的 能力的请求, 所述请求经 SIP核心网转发到被控制方, 被控制方将自身的 能力通过扩展的会话描述协议(SDP )发送到 SIP核心网, SIP核心网将被 控制方的能力转发到控制方。 7. The implementation method according to any one of claims 1 to 6, wherein the method further includes: before the controlling party sends a control instruction of the SIP protocol to the controlled party through the SIP core network according to the capabilities of the controlled party, the The controlling party uses the INFO message of the SIP protocol to send a request for obtaining the capabilities of the controlled party. The request is forwarded to the controlled party via the SIP core network, and the controlled party transmits its capabilities through the extended session description protocol (SDP). Sent to the SIP core network, the SIP core network forwards the capabilities of the controlled party to the controlling party.
8、 根据权利要求 7所述的实现方法, 其中, 所述 SIP核心网包括: 软 交换或 IMS核心网。 8. The implementation method according to claim 7, wherein the SIP core network includes: soft switching or IMS core network.
9、根据权利要求 7所述的实现方法,其中, 所述被控制方的能力包括: 端口或通道上支持的操作方式。 9. The implementation method according to claim 7, wherein the capabilities of the controlled party include: operating modes supported on the port or channel.
10、 一种 SIP网络中控制服务的实现系统, 包括: 控制方、 被控制方、 SIP核心网; 其中, 10. A system for realizing control services in a SIP network, including: a controller, a controlled party, and a SIP core network; among which,
控制方,配置为根据被控制方的能力经 SIP核心网向被控制方发送 SIP 协议的控制指令, 接收 SIP核心网转发的被控制方返回的控制结果指令; 被控制方, 配置为接收 SIP协议的控制指令,并向 SIP核心网返回控制 结果指令; The controlling party is configured to send SIP protocol control instructions to the controlled party via the SIP core network according to the capabilities of the controlled party, and receive the control result instructions returned by the controlled party forwarded by the SIP core network; the controlled party is configured to receive the SIP protocol control instructions and return control result instructions to the SIP core network;
SIP核心网, 配置为转发控制方和被控制方之间的交互信令。 The SIP core network is configured to forward interactive signaling between the controlling party and the controlled party.
11、 根据权利要求 10所述的实现系统, 其中, 所述控制方包括: 控制 指令发送模块和控制结果接收模块; 其中, 11. The implementation system according to claim 10, wherein the controller includes: a control instruction sending module and a control result receiving module; wherein,
控制指令发送模块, 配置为根据被控制方的能力经 SIP核心网向被控 制方发送 SIP协议的控制指令; The control instruction sending module is configured to send control instructions of the SIP protocol to the controlled party through the SIP core network according to the capabilities of the controlled party;
控制结果接收模块, 配置为接收 SIP核心网转发的被控制方返回的控 制结果指令。 The control result receiving module is configured to receive the control result instruction returned by the controlled party forwarded by the SIP core network.
12、 根据权利要求 11所述的实现系统, 其中, 所述控制方还包括: 能 力获取模块,配置为采用 SIP协议的 INFO消息发送用于获取被控制方的能 力的请求, 所述请求经 SIP核心网转发到被控制方, 接收被控制方返回的 自身能力。 12. The implementation system according to claim 11, wherein the controller further includes: a capability acquisition module configured to use an INFO message of the SIP protocol to send a request for acquiring the capabilities of the controlled party, the request is via SIP The core network forwards it to the controlled party and receives its own capabilities returned by the controlled party.
13、 根据权利要求 10所述的实现系统, 其中, 所述被控制方包括: 控 制指令接收模块、 执行模块、 结果返回模块; 其中, 13. The implementation system according to claim 10, wherein the controlled party includes: a control instruction receiving module, an execution module, and a result return module; wherein,
控制指令接收模块, 配置为接收 SIP协议的控制指令; A control instruction receiving module configured to receive control instructions of the SIP protocol;
执行模块, 配置为按照所述 SIP协议的控制指令执行操作, 并将执行 结果发送到结果返回模块; The execution module is configured to perform operations according to the control instructions of the SIP protocol and send the execution results to the result return module;
结果返回模块, 配置为向 SIP核心网返回控制结果指令。 The result return module is configured to return control result instructions to the SIP core network.
14、 根据权利要求 13所述的实现系统, 其中, 所述被控制方还包括: 能力通知模块, 配置为在收到控制方的获取被控制方的能力的请求后, 经 SIP核心网向控制方返回自身能力。 14. The implementation system according to claim 13, wherein the controlled party further includes: a capability notification module configured to, after receiving a request from the controlling party to obtain the capabilities of the controlled party, notify the controlling party via the SIP core network Fang returns his own abilities.
15、 根据权利要求 10至 14所述的实现系统, 其中, 所述 SIP协议的 控制指令通过扩展 SIP的消息类型的方式得到, 包括:在 SIP的消息类型中 增加控制消息类型,定义 SIP协议的控制指令,所述 SIP协议的控制指令的 消息类型为控制消息类型,在 SIP协议的控制指令的消息头、或 SDP文本、 或 XML文本中描述控制指令的唯一标识、 操作对象、 操作方式。 15. The implementation system according to claims 10 to 14, wherein the control instructions of the SIP protocol are obtained by extending the message type of the SIP, including: adding a control message type to the message type of the SIP and defining the SIP protocol. Control instruction, the message type of the control instruction of the SIP protocol is a control message type, and the unique identifier, operation object, and operation mode of the control instruction are described in the message header of the control instruction of the SIP protocol, or SDP text, or XML text.
16、 根据权利要求 10至 14所述的实现系统, 其中, 所述 SIP协议的 控制指令通过重用现有的 SIP 消息的方式得到, 包括: 重用 INVITE、 和 / 或 MESSAGE, 和 /或 INFO消息, 在重用的消息的消息头中增加表明作为 控制指令的指示, 并在消息头、 或 SDP文本、 或 XML文本中描述控制指 令的唯一标识、 操作对象、 操作方式。 16. The implementation system according to claims 10 to 14, wherein the control instructions of the SIP protocol are obtained by reusing existing SIP messages, including: reusing INVITE, and/or MESSAGE, and/or INFO messages, Add an indication indicating that it is a control instruction in the message header of the reused message, and describe the unique identification, operation object, and operation mode of the control instruction in the message header, or SDP text, or XML text.
17、 根据权利要求 10至 14所述的实现系统, 其中, 所述控制结果指 令通过扩展 SIP的消息类型的方式得到, 包括:在 SIP的消息类型中增加控 制消息类型, 定义控制结果指令, 所述控制结果指令的消息类型为控制消 息类型, 在控制结果指令的消息头、 或 SDP文本、 或 XML文本中描述控 制结果指令的唯一标识、 操作对象、 操作结果。 17. The implementation system according to claims 10 to 14, wherein the control result instruction is obtained by extending the message type of SIP, including: adding control to the message type of SIP. Control message type, define a control result instruction, the message type of the control result instruction is a control message type, and describe the unique identification, operation object, and operation of the control result instruction in the message header of the control result instruction, or SDP text, or XML text result.
18、 根据权利要求 10至 14所述的实现系统, 其中, 所述控制结果指 令通过重用现有的 SIP 消息的方式得到, 包括: 重用 INVITE、 和 /或 18. The implementation system according to claims 10 to 14, wherein the control result instruction is obtained by reusing existing SIP messages, including: reusing INVITE, and/or
MESSAGE,和 /或 INFO消息, 在重用的消息的消息头中增加表明作为控制 指令的指示, 并在消息头、 或 SDP文本、 或 XML文本中描述控制结果指 令的唯一标识、 操作对象、 操作结果。 MESSAGE, and/or INFO messages, add an indication indicating that it is a control instruction in the message header of the reused message, and describe the unique identification, operation object, and operation result of the control result instruction in the message header, or SDP text, or XML text. .
19、 一种控制方, 包括: 控制指令发送模块和控制结果接收模块; 其 中, 19. A control party, including: a control instruction sending module and a control result receiving module; wherein,
控制指令发送模块, 配置为根据被控制方的能力经 SIP核心网向被控 制方发送 SIP协议的控制指令; The control instruction sending module is configured to send control instructions of the SIP protocol to the controlled party through the SIP core network according to the capabilities of the controlled party;
控制结果接收模块, 配置为接收 SIP核心网转发的被控制方返回的控 制结果指令。 The control result receiving module is configured to receive the control result instruction returned by the controlled party forwarded by the SIP core network.
20、 根据权利要求 19所述的控制方, 其中, 所述控制方还包括: 能力 获取模块,配置为采用 SIP协议的 INFO消息发送用于获取被控制方的能力 的请求, 所述请求经 SIP核心网转发到被控制方, 接收被控制方返回的自 身能力。 20. The controlling party according to claim 19, wherein the controlling party further includes: a capability acquisition module configured to use an INFO message of the SIP protocol to send a request for acquiring the capabilities of the controlled party, and the request is sent via SIP The core network forwards it to the controlled party and receives its own capabilities returned by the controlled party.
21、 一种被控制方, 其中, 该被控制方包括: 控制指令接收模块、 执 行模块、 结果返回模块; 其中, 21. A controlled party, wherein the controlled party includes: a control instruction receiving module, an execution module, and a result return module; wherein,
控制指令接收模块, 配置为接收 SIP协议的控制指令; A control instruction receiving module configured to receive control instructions of the SIP protocol;
执行模块, 配置为按照所述 SIP协议的控制指令执行操作, 并将执行 结果发送到结果返回模块; The execution module is configured to perform operations according to the control instructions of the SIP protocol and send the execution results to the result return module;
结果返回模块, 配置为向 SIP核心网返回控制结果指令。 The result return module is configured to return control result instructions to the SIP core network.
22、 根据权利要求 21所述的被控制方, 其中, 所述被控制方还包括: 能力通知模块, 配置为在收到控制方的获取被控制方的能力的请求后, 经 22. The controlled party according to claim 21, wherein the controlled party further includes: The capability notification module is configured to, after receiving a request from the controller to obtain the capabilities of the controlled party,
SIP核心网向控制方返回自身能力。 The SIP core network returns its own capabilities to the controller.
PCT/CN2013/082584 2012-08-29 2013-08-29 Method, system, and device for implementing control service in sip network WO2014032605A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210312897.2 2012-08-29
CN201210312897.2A CN102833254B (en) 2012-08-29 2012-08-29 Implementation method, system and equipment that a kind of SIP network central control uniform is engaged in

Publications (1)

Publication Number Publication Date
WO2014032605A1 true WO2014032605A1 (en) 2014-03-06

Family

ID=47336224

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/082584 WO2014032605A1 (en) 2012-08-29 2013-08-29 Method, system, and device for implementing control service in sip network

Country Status (2)

Country Link
CN (1) CN102833254B (en)
WO (1) WO2014032605A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833254B (en) * 2012-08-29 2016-03-30 中兴通讯股份有限公司 Implementation method, system and equipment that a kind of SIP network central control uniform is engaged in
CN103236101B (en) * 2013-04-22 2016-03-09 大连智慧城科技有限公司 A kind of enhancement mode gate control system based on sip protocol
CN105824240B (en) * 2015-01-04 2019-11-15 中国移动通信集团公司 A kind of control method of household electrical appliance, system and relevant device
CN104901954B (en) * 2015-05-16 2019-06-14 丁明云 A kind of Internet of Things soft switchcall server and its method
CN107872426A (en) * 2016-09-26 2018-04-03 中兴通讯股份有限公司 A kind of long-range control establishing method and device based on VOLTE
CN107968772A (en) * 2016-10-20 2018-04-27 中兴通讯股份有限公司 A kind of method, apparatus and relevant device for realizing Internet of Things application
CN108616493B (en) * 2016-12-20 2022-01-28 展讯通信(上海)有限公司 Unmanned control method and device based on IMS, master control equipment and controlled equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079730A (en) * 2006-05-25 2007-11-28 中国移动通信集团公司 Remote control system and control method of information appliance
CN101237389A (en) * 2007-02-02 2008-08-06 华为技术有限公司 A method, communication system and device for realizing remote media stream control
WO2010129427A1 (en) * 2009-05-04 2010-11-11 Research In Motion Limited System and method for implementing media and media transfer between devices
CN102378177A (en) * 2011-11-28 2012-03-14 中兴通讯股份有限公司 Method and system for combining Internet of things capability with terminal
CN102833254A (en) * 2012-08-29 2012-12-19 中兴通讯股份有限公司 Method, system and equipment for implementing service control in SIP (session initiation protocol) network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101001256A (en) * 2006-12-25 2007-07-18 华为技术有限公司 Method, system for controlling media resource and entity for providing media resource
CN101931620B (en) * 2009-05-20 2015-10-21 中兴通讯股份有限公司 Service implementation method and system, service capability server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079730A (en) * 2006-05-25 2007-11-28 中国移动通信集团公司 Remote control system and control method of information appliance
CN101237389A (en) * 2007-02-02 2008-08-06 华为技术有限公司 A method, communication system and device for realizing remote media stream control
WO2010129427A1 (en) * 2009-05-04 2010-11-11 Research In Motion Limited System and method for implementing media and media transfer between devices
CN102378177A (en) * 2011-11-28 2012-03-14 中兴通讯股份有限公司 Method and system for combining Internet of things capability with terminal
CN102833254A (en) * 2012-08-29 2012-12-19 中兴通讯股份有限公司 Method, system and equipment for implementing service control in SIP (session initiation protocol) network

Also Published As

Publication number Publication date
CN102833254A (en) 2012-12-19
CN102833254B (en) 2016-03-30

Similar Documents

Publication Publication Date Title
WO2014032605A1 (en) Method, system, and device for implementing control service in sip network
CN103227788B (en) Realize the method and system that Web page application program and SIP equipment carry out communicating
US11431774B2 (en) Method, user equipment and application server for adding media stream of multimedia session
CN101543117B (en) Handoff of dual mode mobile device between an IP network and a PLMN
WO2014059827A1 (en) Method, device and terminal for realizing application of internet of things
WO2012000347A1 (en) Method, apparatus and sysyem for cross-platform conference convergence
EP3284233B1 (en) In-session communication for service application
WO2011017889A1 (en) Multimedia conference implementation method and system
JP2011512053A (en) Method and apparatus for handling multimedia calls
WO2015127793A1 (en) Recording method, voice exchanging device, recording server, and recording system
WO2007068201A1 (en) A method, a control terminal and a system for realizing click calling service
JP4973172B2 (en) Call management system and message processing server system
RU2526710C2 (en) Method and system for call forwarding based on sip using set-top box
US8331352B2 (en) Interworking supplementary call services between different communication protocols
CN105122761B (en) The local control of the additional media session of packet-based calling
WO2018072655A1 (en) Method for implementing internet of things application, apparatus, related device and storage medium
WO2008052458A1 (en) A method, system and terminal device for acquiring media character information
WO2011153752A1 (en) Method, system and application server for call transfer in click-to-dial service
EP2566113B1 (en) Method and apparatus for transmitting media resources
JP5272702B2 (en) Mobile network system and guidance message providing method
US8588394B2 (en) Content switch for enhancing directory assistance
WO2017000481A1 (en) Dialing method and apparatus for voice call
WO2008049371A1 (en) A method and system for transferring service event
WO2013079025A1 (en) Non-voice emergency service media selection method and system, network side, and terminal
CN102548025B (en) Method for reducing mobile voice over internet protocol (VoIP) call setup delay

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13832572

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13832572

Country of ref document: EP

Kind code of ref document: A1