WO2018072655A1 - 实现物联网应用的方法、装置、相关设备及存储介质 - Google Patents

实现物联网应用的方法、装置、相关设备及存储介质 Download PDF

Info

Publication number
WO2018072655A1
WO2018072655A1 PCT/CN2017/106130 CN2017106130W WO2018072655A1 WO 2018072655 A1 WO2018072655 A1 WO 2018072655A1 CN 2017106130 W CN2017106130 W CN 2017106130W WO 2018072655 A1 WO2018072655 A1 WO 2018072655A1
Authority
WO
WIPO (PCT)
Prior art keywords
sip
sip terminal
message
request message
terminal
Prior art date
Application number
PCT/CN2017/106130
Other languages
English (en)
French (fr)
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 WO2018072655A1 publication Critical patent/WO2018072655A1/zh

Links

Images

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/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Definitions

  • the present invention relates to the field of telecommunications and information technology, and in particular, to a method, an apparatus, a related device, and a storage medium for implementing an Internet of Things application.
  • a network using Session Initiation Protocol such as a softswitch network and an IP Multimedia Subsystem (IMS) network
  • VoIP Voice over Internet Protocol
  • PSTN Public Switched Telephone Network
  • the services provided by the SIP network are mainly session-type multimedia services, and the basic control signaling SIP protocol is mainly such services.
  • IPTV Internet Protocol Television
  • DVD Digital Video Broadcasting
  • OTT Over-the-Top
  • SIP terminals in the user's home can be related to various Internet of Things in the home: access control, smoke, security, health care, energy and other aspects. Data is reported to the user or interacts with the user to implement various services under the Internet of Things application, which will bring greater convenience to people's lives.
  • embodiments of the present invention are directed to providing a method, an apparatus, a related device, and a storage medium for implementing an Internet of Things application, and providing an Internet of Things application solution based on a SIP network.
  • an embodiment of the present invention provides a method for implementing an Internet of Things application, including:
  • the SIP network device receives the SIP request message that is sent by the Internet of Things application server and meets the first setting condition
  • the first setting condition includes at least one of the following:
  • the destination address field in the SIP request message points to the SIP terminal
  • the content type field in the message header of the SIP request message describes the content description type of the setting identifier.
  • an embodiment of the present invention provides a method for implementing an Internet of Things application, including:
  • the IoT application server obtains a SIP request message that meets the first setting condition according to the configured device capability information of the configured SIP terminal; wherein the SIP request message is encapsulated with a control instruction for the SIP terminal;
  • the first setting condition includes at least one of the following:
  • the destination address field in the SIP request message points to the SIP terminal
  • the content type field in the message header of the SIP request message describes the content description type of the setting identifier.
  • an embodiment of the present invention provides a method for implementing an Internet of Things application, including:
  • the SIP terminal receives the SIP request message that is sent by the Internet of Things application server and meets the first setting condition
  • the SIP request message is encapsulated with a control instruction for the SIP terminal;
  • the first setting condition includes at least one of the following:
  • the destination address field in the SIP request message points to the SIP terminal
  • the content type field in the message header of the SIP request message records a content description type of the setting identifier
  • the SIP terminal performs a control operation on the device controlled by the SIP terminal according to the control instruction for the SIP terminal.
  • an embodiment of the present invention provides an apparatus for implementing an Internet of Things application, which is disposed on a side of a SIP network device, where the apparatus includes:
  • a first receiving module configured to receive a SIP request message that is sent by the Internet of Things application server and meets the first setting condition
  • a first sending module configured to send the SIP request message to the SIP terminal
  • the first setting condition includes at least one of the following:
  • the destination address field in the SIP request message points to the SIP terminal
  • the content type field in the message header of the SIP request message describes the content description type of the setting identifier.
  • an embodiment of the present invention provides an apparatus for implementing an Internet of Things application, which is disposed on an IoT application server side, and the apparatus includes:
  • An acquiring module configured to obtain, according to the configured device capability information of the configured SIP terminal, a SIP request message that meets the first setting condition; wherein the SIP request message is encapsulated with a control instruction for the SIP terminal;
  • a second sending module configured to send the SIP request message to the SIP terminal
  • the first setting condition includes at least one of the following:
  • the destination address field in the SIP request message points to the SIP terminal
  • the content type field in the message header of the SIP request message describes the content description type of the setting identifier.
  • an embodiment of the present invention provides an apparatus for implementing an Internet of Things application, which is disposed on a SIP terminal side, where the apparatus includes:
  • a third receiving module configured to receive a SIP request message that is sent by the Internet of Things application server and meets the first setting condition
  • the SIP request message is encapsulated with a control instruction for the SIP terminal.
  • the first setting condition includes at least one of the following:
  • the destination address field in the SIP request message points to the SIP terminal
  • the content type field in the message header of the SIP request message records a content description type of the setting identifier
  • the instruction execution module is configured to perform a control operation on the device controlled by the SIP terminal according to the control instruction for the SIP terminal.
  • a seventh aspect of the present invention provides a SIP network device, including:
  • the first processor and the first memory storing the first processor executable instructions, when the instructions are executed by the first processor, perform the following operations:
  • the first setting condition includes at least one of the following:
  • the destination address field in the SIP request message points to the SIP terminal
  • the content type field in the message header of the SIP request message describes the content description type of the setting identifier.
  • an embodiment of the present invention provides an Internet of Things application server, including:
  • the first setting condition includes at least one of the following:
  • the destination address field in the SIP request message points to the SIP terminal
  • the content type field in the message header of the SIP request message describes the content description type of the setting identifier.
  • a ninth aspect, an embodiment of the present invention provides a SIP terminal, including:
  • a third processor and a third memory storing the third processor executable instructions, when the instructions are executed by the third processor, performing the following operations:
  • the SIP request message is encapsulated with a control instruction for the SIP terminal;
  • the first setting condition includes at least one of the following:
  • the destination address field in the SIP request message points to the SIP terminal
  • the content type field in the message header of the SIP request message records a content description type of the setting identifier
  • an embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, where the computer executable instructions are used to perform the following operations:
  • the first setting condition includes at least one of the following:
  • the destination address field in the SIP request message points to the SIP terminal
  • the content type field in the message header of the SIP request message describes the content description type of the setting identifier.
  • an embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, where the computer executable instructions are used to perform the following operations:
  • the first setting condition includes at least one of the following:
  • the destination address field in the SIP request message points to the SIP terminal
  • the content type field in the message header of the SIP request message describes the content description type of the setting identifier.
  • an embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, where the computer executable instructions are used to perform the following operations:
  • the SIP request message is encapsulated with a control instruction for the SIP terminal;
  • the first setting condition includes at least one of the following:
  • the destination address field in the SIP request message points to the SIP terminal
  • the content type field in the message header of the SIP request message records a content description type of the setting identifier
  • the terminal supporting the SIP protocol is connected to the Internet of Things application server by using the existing SIP network channel by means of function expansion, and the user can remotely control the controlled device through the SIP terminal.
  • System and management, SIP network can provide a unified platform for IoT services.
  • the SIP terminal in the IMS network in the home expands the connection with the health care device in the home, the health information of the user in the home can be obtained, and the information can be transmitted through the home gateway device using the extended SIP message. provide. This information can also be obtained and displayed through the original communication process through other terminals in the IMS network.
  • a SIP terminal in an IMS network in a home can obtain access control information and other infrared detection device information in the home through a short-distance communication interface, and the information can be uploaded to the IMS by using an extended SIP message.
  • the Internet of Things application system in the network handles, the IoT application system can provide a unified home security service based on this, provide the security information to the user or the security company, or perform other information according to the control policy, to collect and retain Relevant evidence.
  • FIG. 1 is a flowchart 1 of a method for implementing an Internet of Things application according to an embodiment of the present invention
  • FIG. 2 is a second flowchart of a method for implementing an Internet of Things application according to an embodiment of the present invention
  • FIG. 3 is a flowchart 3 of a method for implementing an Internet of Things application according to an embodiment of the present invention
  • FIG. 4 is a flowchart 4 of a method for implementing an Internet of Things application according to an embodiment of the present invention
  • FIG. 5 is a flowchart 5 of a method for implementing an Internet of Things application according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a device for implementing an Internet of Things application according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a device for implementing an Internet of Things application according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a device for implementing an Internet of Things application according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a system component connection for implementing an Internet of Things application according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of an Internet of Things service in an intelligent network manner according to an embodiment of the present invention.
  • FIG. 11 is a flowchart of controlling a mobile terminal A to a SIP terminal B supporting an Internet of Things service according to an embodiment of the present invention
  • FIG. 12 is a format of a SIP request message according to an embodiment of the present invention.
  • FIG. 13 is a format of a SIP message when a result is returned according to an embodiment of the present invention.
  • a first embodiment of the present invention a method for implementing an Internet of Things application, the process performed on the SIP network device side includes the following steps:
  • the SIP network device sends the SIP request message to the SIP terminal when receiving the SIP request message that is sent by the Internet of Things application server and meets the first setting condition;
  • the first setting condition includes: the destination address field in the SIP request message points to the SIP terminal, and/or the content type field in the message header of the SIP request message records the content description type of the setting identifier.
  • the SIP request message encapsulates a control instruction for the SIP terminal corresponding to the user instruction.
  • the control instruction for the SIP terminal includes: an information acquisition instruction for the device, or a control instruction for the working state of the device; the control instruction for the SIP terminal is located in a message header or a message body of the SIP request message, And adapt to the set content description type.
  • the SIP request message may be implemented by using a message such as CONTROL, INVITE, MESSAGE, or INFO in the SIP message, and an indication may be added in the message header to indicate that this is a control message, and the control command may be filled in after the last field of the message header.
  • a message such as CONTROL, INVITE, MESSAGE, or INFO
  • an indication may be added in the message header to indicate that this is a control message, and the control command may be filled in after the last field of the message header.
  • SDP Session Description Protocol
  • extensible markup in the message body. (eXtensible Markup Language, XML) description.
  • a second embodiment of the present invention a method for implementing an Internet of Things application, as shown in FIG. 1, the process performed on the SIP network device side includes the following steps:
  • Step S101 the SIP network device sends the SIP request message to the SIP terminal when receiving the SIP request message that is sent by the Internet of Things application server and meets the first setting condition;
  • the first setting condition includes: the destination address field in the SIP request message points to the SIP terminal, and/or the content type field in the message header of the SIP request message records the content description type of the setting identifier.
  • the SIP request message encapsulates a control instruction for the SIP terminal corresponding to the user instruction.
  • the control instruction for the SIP terminal includes: an information acquisition instruction for the device, or a control instruction for the working state of the device; the control instruction for the SIP terminal is located in a message header or a message body of the SIP request message, And adapt to the set content description type.
  • Step S102 the SIP network device sends the reported SIP message to the Internet of Things application server when receiving the SIP report message that is sent by the SIP terminal and meets the second setting condition;
  • the second setting condition includes: the destination address field in the SIP report message points to the IoT application server, and/or the content type field in the message header of the SIP report message records the content description type of the set identifier .
  • the information of the device controlled by the SIP terminal is encapsulated in the SIP report message.
  • the information of the device controlled by the SIP terminal is located in a message header or a message body of the SIP request message, and is adapted to the set content description type.
  • the information of the device includes: response information of the device performing the control operation or information of the device that the SIP terminal must actively report.
  • control instruction for the SIP terminal and the information of the device controlled by the SIP terminal are both located in the message body of the SIP request message
  • the control instruction for the SIP terminal and The information of the device controlled by the SIP terminal adopts the following content description type: SDP mode or XML mode.
  • Both the SIP request message and the SIP report message can be implemented by using messages such as CONTROL, INVITE, MESSAGE, and INFO in the SIP message.
  • a third embodiment of the present invention a method for implementing an Internet of Things application, as shown in FIG. 2, the process executed on the IoT application server side includes the following steps:
  • Step S201 the IoT application server configures control device capability information of the SIP terminal, and the control device capability information of the SIP terminal includes: a device controlled by the SIP terminal and a control operation on the device;
  • Step S202 The Internet of Things application server converts the received user instruction into a control instruction for the SIP terminal according to the control device capability information of the SIP terminal, and encapsulates the control instruction for the SIP terminal in the SIP that meets the first setting condition.
  • the request message is sent to the SIP terminal through a SIP network;
  • the first setting condition includes: the destination address field in the SIP request message points to the SIP terminal, and/or the content type field in the message header of the SIP request message records the content description type of the setting identifier.
  • the control instruction for the SIP terminal is located in a message header or a message body of the SIP request message, and is adapted to the set content description type; the control instruction for the SIP terminal includes: acquiring information of the device The instruction, or control instruction for the working state of the device.
  • a fourth embodiment of the present invention a method for implementing an Internet of Things application, as shown in FIG. 3, the process executed on the IoT application server side includes the following steps:
  • Step S301 the IoT application server configures control device capability information of the SIP terminal, and the control device capability information of the SIP terminal includes: a device controlled by the SIP terminal and a control operation on the device;
  • Step S302 the Internet of Things application server converts the received user instruction into a control instruction for the SIP terminal according to the control device capability information of the SIP terminal, and the The control instruction is encapsulated in a SIP request message that meets the first setting condition and sent to the SIP terminal through the SIP network;
  • the first setting condition includes: the destination address field in the SIP request message points to the SIP terminal, and/or the content type field in the message header of the SIP request message records the content description type of the setting identifier.
  • control instruction for the SIP terminal is located in a message header or a message body of the SIP request message, and is adapted to the set content description type; the control instruction for the SIP terminal includes : An instruction to acquire information about the device, or a control instruction for the working state of the device.
  • the IoT application server receives the SIP report message that is sent by the SIP terminal through the SIP network and meets the second set condition, and presents the message to the user.
  • the SIP report message encapsulates the information of the device controlled by the SIP terminal.
  • the second setting condition includes: the destination address field in the SIP report message points to the IoT application server, and/or the content type field in the message header of the SIP report message records the content description type of the set identifier .
  • the information of the device controlled by the SIP terminal is located in a message header or a message body of the SIP request message, and is adapted to the content description type of the setting identifier; the information of the device includes The device performs response information of the control operation or information of the device that the SIP terminal must actively report.
  • control instruction for the SIP terminal and the information of the device controlled by the SIP terminal are both located in the message body of the SIP request message
  • the control instruction for the SIP terminal and The information of the device controlled by the SIP terminal adopts the following content description type: SDP mode or XML mode.
  • a fifth embodiment of the present invention is a method for implementing an Internet of Things application. As shown in FIG. 4, the process performed on the SIP terminal side includes the following steps:
  • Step S401 the SIP terminal receives the SIP request message that is sent by the Internet of Things application server and is consistent with the first setting condition, and the SIP request message is encapsulated with a control instruction for the SIP terminal corresponding to the user instruction, where the a setting condition includes: the destination address field in the SIP request message points to the SIP terminal, and/or the content type field in the message header of the SIP request message records the content description type of the setting identifier;
  • control instruction for the SIP terminal is located in a message header or a message body of the SIP request message, and is adapted to the content description type of the setting identifier; the control instruction for the SIP terminal Including: an information acquisition instruction for the device, or a control instruction for the working state of the device.
  • Step S402 the SIP terminal performs a control operation on the corresponding device controlled by the SIP terminal according to the control instruction for the SIP terminal.
  • a sixth embodiment of the present invention is a method for implementing an Internet of Things application. As shown in FIG. 5, the process performed on the SIP terminal side includes the following steps:
  • Step S501 the SIP terminal receives the SIP request message that is sent by the Internet of Things application server and is consistent with the first setting condition, and the SIP request message is encapsulated with a control instruction for the SIP terminal corresponding to the user instruction, where the a setting condition includes: the destination address field in the SIP request message points to the SIP terminal, and/or the content type field in the message header of the SIP request message records the content description type of the setting identifier;
  • control instruction for the SIP terminal is located in a message header or a message body of the SIP request message, and is adapted to the set content description type; the control instruction for the SIP terminal includes : An instruction to acquire information about the device, or a control instruction for the working state of the device.
  • Step S502 The SIP terminal performs a control operation on the corresponding device controlled by the SIP terminal according to the control instruction for the SIP terminal.
  • Step S503 the SIP terminal encapsulates the information of the device controlled by itself by the second setting.
  • the SIP report message is sent to the Internet of Things application server through the SIP network;
  • the second setting condition includes: the destination address field in the SIP report message points to the IoT application server, and/or the content type field in the message header of the SIP report message records the content description type of the set identifier .
  • the information of the device controlled by the SIP terminal is located in a message header or a message body of the SIP request message, and is adapted to the set content description type; the information of the device includes: The device performs response information of the control operation or information of the device that the SIP terminal must actively report.
  • control instruction for the SIP terminal and the information of the device controlled by the SIP terminal are both located in the message body of the SIP request message
  • the control instruction for the SIP terminal and The information of the device controlled by the SIP terminal adopts the following content description type: SDP mode or XML mode.
  • This embodiment provides an apparatus for implementing an Internet of Things application, which is disposed on the SIP network device side.
  • the apparatus in the embodiment of the present invention includes the following components:
  • the first receiving module 61 is configured to receive a SIP request message that is sent by the Internet of Things application server and meets the first setting condition;
  • the first sending module 62 is configured to send the SIP request message to the SIP terminal;
  • the first setting condition includes at least one of the following:
  • the destination address field in the SIP request message points to the SIP terminal
  • the content type field in the message header of the SIP request message describes the content description type of the setting identifier.
  • the first receiving module 61 is further configured to receive a SIP report message that is sent by the SIP terminal and meets the second setting condition;
  • the first sending module 62 is further configured to send the reported SIP message to the Internet of Things application. server;
  • the second setting condition includes at least one of the following:
  • the destination address field in the SIP report message points to the Internet of Things application server
  • the content type field in the message header of the SIP report message records the content description type of the set identifier.
  • the SIP request message is encapsulated with a control instruction for the SIP terminal
  • the information of the device controlled by the SIP terminal is encapsulated in the SIP report message.
  • control instruction for the SIP terminal and the information of the device controlled by the SIP terminal are both located in a message header or a message body of the SIP request message, and are described with content of the setting identifier.
  • Type is adapted;
  • the control instruction for the SIP terminal includes: an information acquisition instruction for the device, or a control instruction for an operating state of the device;
  • the information of the device includes: response information of the device performing the control operation or information of the device that the SIP terminal must actively report.
  • control instruction for the SIP terminal and the information of the device controlled by the SIP terminal are both located in the message body of the SIP request message
  • control instruction for the SIP terminal and The information of the device controlled by the SIP terminal is described by the following content:
  • the embodiment further provides an apparatus for implementing an Internet of Things application, which is disposed on the IoT application server side.
  • the apparatus includes the following components:
  • the obtaining module 71 is configured to obtain, according to the configured control device capability information of the session initiation protocol SIP terminal, a SIP request message that meets the first setting condition, where the SIP request message is encapsulated with a control instruction for the SIP terminal;
  • the second sending module 72 is configured to send the SIP request message to the SIP terminal.
  • the first setting condition includes at least one of the following:
  • the destination address field in the SIP request message points to the SIP terminal
  • the content type field in the message header of the SIP request message describes the content description type of the setting identifier.
  • the method further includes:
  • the configuration module 73 is configured to configure control device capability information of the SIP terminal.
  • the control device capability information of the SIP terminal includes: a device controlled by the SIP terminal and a control operation on the device.
  • the method further includes:
  • the second receiving module 74 is configured to receive, by the SIP terminal, a SIP report message that is sent by the SIP terminal and meets the second setting condition, where the SIP report message encapsulates the information of the device controlled by the SIP terminal;
  • the second setting condition includes at least one of the following:
  • the destination address field in the SIP report message points to the Internet of Things application server
  • the content type field in the message header of the SIP report message records the content description type of the set identifier.
  • control instruction for the SIP terminal and the information of the device controlled by the SIP terminal are both located in a message header or a message body of the SIP request message, and are described with content of the setting identifier.
  • Type is adapted;
  • the control instruction for the SIP terminal includes: an information acquisition instruction for the device, or a control instruction for an operating state of the device;
  • the information of the device includes: response information of the device performing the control operation or information of the device that the SIP terminal must actively report.
  • control instruction for the SIP terminal and the information of the device controlled by the SIP terminal are both located in the message body of the SIP request message
  • the control command of the terminal and the information of the device controlled by the SIP terminal are described in the following content:
  • the embodiment further provides an apparatus for implementing an Internet of Things application, which is disposed on the SIP terminal side.
  • the apparatus includes the following components:
  • the third receiving module 81 is configured to receive a SIP request message that is sent by the Internet of Things application server and meets the first setting condition;
  • the SIP request message is encapsulated with a control instruction for the SIP terminal.
  • the first setting condition includes at least one of the following:
  • the destination address field in the SIP request message points to the SIP terminal
  • the content type field in the message header of the SIP request message records a content description type of the setting identifier
  • the instruction execution module 82 is configured to perform a control operation on the device controlled by the SIP terminal according to the control instruction for the SIP terminal.
  • the device further includes:
  • the third sending module 83 is configured to encapsulate information of the device controlled by the SIP terminal in a SIP report message that meets the second setting condition;
  • the second setting condition includes at least one of the following:
  • the destination address field in the SIP report message points to the Internet of Things application server
  • the content type field in the message header of the SIP report message records the content description type of the set identifier.
  • control instruction for the SIP terminal and the information of the device controlled by the SIP terminal are both located in a message header or a message body of the SIP request message, and are configured with the The content description type of the identification is adapted;
  • the control instruction for the SIP terminal includes: an information acquisition instruction for the device, or a control instruction for an operating state of the device;
  • the information of the device includes: response information of the device performing the control operation or information of the device that the SIP terminal must actively report.
  • control instruction for the SIP terminal and the information of the device controlled by the SIP terminal are both located in the message body of the SIP request message
  • control instruction for the SIP terminal and The information of the device controlled by the SIP terminal is described by the following content:
  • the embodiment of the present invention further provides a SIP network device, which can be understood as a physical device.
  • the SIP network device can be any network element in the SIP network that can access the SIP request message and the SIP report message in the embodiment of the present invention.
  • the SIP network device includes:
  • a first processor and a first memory storing the first processor executable instructions, when the instructions are executed by the first processor, performing the following operations:
  • the first setting condition includes at least one of the following:
  • the destination address field in the SIP request message points to the SIP terminal
  • the content type field in the message header of the SIP request message describes the content description type of the setting identifier.
  • the second setting condition includes at least one of the following:
  • the destination address field in the SIP report message points to the Internet of Things application server
  • the content type field in the message header of the SIP report message records the content description type of the set identifier.
  • the embodiment of the present invention further provides an Internet of Things application server, which can be understood as a physical device, where the Internet of Things application server includes:
  • a second processor and a second memory storing the second processor executable instructions, when the instructions are executed by the second processor, performing the following operations:
  • the first setting condition includes at least one of the following:
  • the destination address field in the SIP request message points to the SIP terminal
  • the content type field in the message header of the SIP request message describes the content description type of the setting identifier.
  • the control device capability information of the SIP terminal includes: a device controlled by the SIP terminal and a control operation on the device.
  • the second setting condition includes at least one of the following:
  • the destination address field in the SIP report message points to the Internet of Things application server
  • the content type field in the message header of the SIP report message records the content of the set identifier Description type.
  • the embodiment of the present invention further provides a SIP terminal, which can be understood as a physical device, where the SIP terminal includes:
  • a third processor and a third memory storing the third processor executable instructions, when the instructions are executed by the third processor, performing the following operations:
  • the SIP request message is encapsulated with a control instruction for the SIP terminal.
  • the first setting condition includes at least one of the following:
  • the destination address field in the SIP request message points to the SIP terminal
  • the content type field in the message header of the SIP request message records a content description type of the setting identifier
  • the second setting condition includes at least one of the following:
  • the destination address field in the SIP report message points to the Internet of Things application server
  • the content type field in the message header of the SIP report message records the content description type of the set identifier.
  • the mobile phone remotely displays the human-computer interaction interface provided by the Internet of Things application server, and an application example of the present invention is described with reference to FIGS. 9-13.
  • the system for implementing an Internet of Things application includes: a SIP terminal, an IP network, a SIP network, an Internet of Things application server, and a mobile phone.
  • the SIP terminal communicates with the sensing device or the executing device of the Internet of Things through the southbound short-range communication network on the one hand to collect the data of the “thing” perceived by the related device, and can perform the operation on the “object”.
  • the short-range communication network includes, but is not limited to, various wired and wireless short-distance communication networks such as WI-FI, Bluetooth, ZigBee, infrared, NB-IoT (Narrow Band Internet of Things).
  • Sensing devices include, but are not limited to, various sensing devices that collect temperature, humidity, alarms, images, body parameters, energy data, and the like; execution devices include, but are not limited to, electronic switches, regulators, controllers, and the like.
  • Both the sensing device and the executing device belong to the device controlled by the SIP terminal in the foregoing embodiment.
  • the SIP terminal expands the southbound interface on the one hand, and also needs to encapsulate various data obtained by the southbound interface and various supported operations in a SIP message manner, and partially expand the SIP protocol.
  • IP network The current communication IP network can be wired or wireless.
  • SIP network It is the current SIP core network, including but not limited to: IMS network, softswitch network.
  • the SIP network needs to support routing and transmission of extended SIP messages (ie, SIP request messages and SIP report messages in the foregoing embodiments), and supports parsing such messages according to the set policies, and related messages. Forward to the IoT application server, or forward the extended SIP message sent by the IoT application server to the SIP terminal.
  • the SIP network device in the foregoing embodiment is a device located in the SIP network.
  • IoT application server According to the information of the devices controlled by various SIP terminals and the instructions sent by the user through the mobile phone, the relevant business logic is executed to provide various Internet of Things services, including but not limited to: home security services, home control services, Electricity/water/gas information collection services, medical services, home energy-saving services, etc.
  • the IoT service flow of the intelligent network method according to the embodiment of the present invention is as follows:
  • Step 0 Registration process of the SIP terminal, this process is similar to the note of the terminal in the SIP network. Book process.
  • Step 1 Set the filtering policy of the Internet of Things service in the SIP network device of the SIP network.
  • the policy may include: forwarding the SIP message that meets the set condition to the corresponding IoT application server or the SIP terminal for processing. For example, if some SIP terminals report the Internet of Things information to the Internet of Things application server through the INFO method, the destination address field of the message header of the SIP message is the address of the IoT server application server, and the SIP message body is controlled by the SIP terminal.
  • Information about a device such as the ALARM information of the device encapsulated in XML.
  • the IoT server needs to pre-configure the control device capability information of the SIP terminal.
  • the capability information may be: which port of the SIP terminal or which devices on the channel can perform operations on which devices.
  • Step 2 The SIP terminal obtains information about the related object through the southbound short-range communication interface, for example, detecting infrared and smoke alarms at home.
  • Step 3 The SIP terminal sends the information of the "object" to the address of the Internet of Things application server by using the INFO message or the MESSAGE message in the SIP message, and the address needs to be preset by the SIP terminal.
  • SDP and XML respectively indicate that the message body of the SIP message is information that expresses "thing" by SDP or by XML.
  • Step 4 The SIP network detects the SIP message and determines that it is a SIP message that needs to be forwarded to an IoT application server according to the filtering rule.
  • the SIP address of the Internet of Things can be detected by using the address of the Internet of Things application server and the Content-Type of the header of the SIP message as IoT.
  • Step 5 The SIP network sends the SIP message to the IoT application server.
  • Step 6 The Internet of Things application server parses the SIP message, obtains relevant data, and executes relevant logic according to the business logic to provide the Internet of Things service.
  • Step 7 The SIP terminal interacts with the IoT application server through the SIP network.
  • the SIP core is a SIP network, and the SIP Core includes but is not limited to: a soft switch or an IMS core network.
  • control flow of the mobile phone A to the SIP terminal B supporting the Internet of Things service is as follows:
  • Step 10 For the capability of the A to obtain the B through the Internet of Things application server, the IoT application server sends the control capability request of the B through the SIP core by using the INFO message in the SIP message; this capability can be: Which port/channel is which? Operate, or get information about an "thing".
  • step 11 the control capability request of the acquisition B is forwarded to B via the SIP core.
  • Step 12 B describes and encapsulates the control capability information of the B into the INFO message in the SIP message, and sends the INFO message carrying the control capability information of the B to the SIP Core.
  • step 13 the SIP Core forwards the INFO message carrying the control capability information of B to A.
  • step 14 A sends a SIP message for controlling or obtaining related information to the SIP Core through the Internet of Things application server.
  • the SIP message in the terminal of step 14 is made into a SIP request message.
  • the format of the SIP request message is as shown in FIG.
  • step 15 the SIP Core forwards the SIP request message to B.
  • the B sends an acknowledgement message to confirm that the B has received the SIP request message, and may include information that B is processing or rejecting processing or is not recognized.
  • step 17 the confirmation message is forwarded to A via the SIP Core.
  • Step 18 After processing the control command in the SIP request message or acquiring related data, the B returns the result to the SIP Core.
  • the returned data may be carried by the INFO message.
  • the ID field in the INFO header remains the same as the ID field in the request message, and is the ID of the SIP terminal B.
  • the Content-Type field is also set to IoT/SDP or IoT. /XML, the message content is described by SDP or XML respectively, it is recommended to use XML schema for description.
  • the format of the SIP message when the result is returned is as shown in FIG.
  • step 19 the SIP Core forwards the returned result to the controller A.
  • the embodiment of the invention further provides a storage medium on which computer instructions are stored, which are implemented by the processor to implement the above method for implementing an Internet of Things application.
  • the device, the related device, and the method embodiment are provided in the same embodiment, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
  • technical details not disclosed in the device and related device embodiments of the present invention please refer to the description of the method embodiment of the present invention.
  • the present invention has been described with reference to flowchart illustrations and/or block diagrams of a method, apparatus, apparatus (system), and executable program product according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
  • the executable program instructions can be provided to a general purpose computer, a special purpose computer, an embedded processor, or a processor of a reference programmable data processing device to produce a machine such that instructions are executed by a computer or by a processor executing a reference to a programmable data processing device Means configured to implement the functions specified in one or more flows of the flowchart or in a block or blocks of the flowchart.
  • executable program instructions can also be stored in a bootable computer or reference programmable data processing
  • the apparatus is readable in a computer readable memory in a particular manner such that instructions stored in the computer readable memory produce an article of manufacture comprising instruction means implemented in one or more flows and/or block diagrams of the flowchart The function specified in the box or in multiple boxes.
  • the executable program instructions can also be loaded onto a computer or reference programmable data processing device such that a series of operational steps are performed on the computer or reference programmable device to produce computer-implemented processing for execution on a computer or reference programmable device
  • the instructions provide steps configured to implement the functions specified in a block or blocks of a flow or a flow and/or block diagram of the flowchart.
  • the SIP network device receives the SIP request message that is sent by the Internet of Things application server and meets the first setting condition, and sends the SIP request message to the SIP terminal.
  • the first setting condition includes: a SIP request message.
  • the destination address field is at least one of the content description type in the message type header of the SIP terminal and the SIP request message, and the content description type of the setting identifier is recorded.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明公开了一种实现物联网应用的方法、装置、相关设备及存储介质,方法包括:SIP网络设备收到物联网应用服务器发来的符合第一设定条件的SIP请求消息,将所述SIP请求消息发送给SIP终端;所述第一设定条件包括:SIP请求消息中的目的地址字段为所述SIP终端、SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型至少之一。如此,使支持SIP协议的终端通过功能扩展的方式,利用现有SIP网络通道与物联网应用服务器相连,用户可以在远程通过SIP终端对被控设备进行控制和管理,SIP网络可以提供统一平台的物联网服务。

Description

实现物联网应用的方法、装置、相关设备及存储介质
相关申请的交叉引用
本申请基于申请号为201610914613.5、申请日为2016年10月20日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本发明涉及电信和信息技术领域,尤其涉及一种实现物联网应用的方法、装置、相关设备及存储介质。
背景技术
目前,采用会话初始协议(Session Initiation Protocol,SIP)的网络,如软交换网络、IP多媒体子系统(IP Multimedia Subsystem,IMS)网络提供了包括网络电话(Voice over Internet Protocol,VoIP)、呈现即时消息等多种服务,覆盖用户面非常广阔,目前已经基本上完成了所有传统公共交换电话网络(Public Switched Telephone Network,PSTN)语音的改造,国内、国际很多运营商都部署了IMS或软交换网络,拥有着庞大的用户群。SIP网络所提供的服务主要是会话类多媒体服务,其基础控制信令SIP协议主要为这类服务。互联网协议电视(Internet Protocol Television,IPTV)/数字视频广播(Digital Video Broadcasting,DVB)/通过互联网向用户提供应用服务(Over The Top,OTT)机顶盒也基于SIP网络进行了融合支持。
伴随着物联网的发展,尤其是类似智能家居类服务的发展,用户家庭中的SIP终端如果能将家居内的各种物联网相关的:门禁、烟感、安全、医疗保健、能源等各个方面的数据上报给用户或者与用户进行交互,以实现物联网应用下的各种服务,将会为人们的生活带来更大的便利。
发明内容
有鉴于此,本发明实施例期望提供一种实现物联网应用的方法、装置、相关设备及存储介质,提供基于SIP网络的物联网应用解决方案。
本发明实施例的技术方案是这样实现的:
第一方面,本发明实施例提供一种实现物联网应用的方法,包括:
SIP网络设备接收物联网应用服务器发来的符合第一设定条件的SIP请求消息;
发送所述SIP请求消息给SIP终端;
所述第一设定条件包括以下至少之一:
所述SIP请求消息中的目的地址字段指向所述SIP终端;
所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
第二方面,本发明实施例提供一种实现物联网应用的方法,包括:
物联网应用服务器根据配置的SIP终端的控制设备能力信息,得到符合第一设定条件的SIP请求消息;其中,所述SIP请求消息封装有针对所述SIP终端的控制指令;
发送所述SIP请求消息给所述SIP终端;
所述第一设定条件包括以下至少之一:
所述SIP请求消息中的目的地址字段指向所述SIP终端;
所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
第三方面,本发明实施例提供一种实现物联网应用的方法,包括:
SIP终端接收到物联网应用服务器发送的符合第一设定条件的SIP请求消息;
所述SIP请求消息中封装有针对SIP终端的控制指令;
所述第一设定条件包括以下至少之一:
所述SIP请求消息中的目的地址字段指向所述SIP终端;
所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型;
SIP终端根据所述针对SIP终端的控制指令对所述SIP终端所控制的设备执行控制操作。
第四方面,本发明实施例提供一种实现物联网应用的装置,设置于SIP网络设备侧,所述装置包括:
第一接收模块,配置为接收物联网应用服务器发来的符合第一设定条件的SIP请求消息;
第一发送模块,配置为发送将所述SIP请求消息给SIP终端;
所述第一设定条件包括以下至少之一:
所述SIP请求消息中的目的地址字段指向所述SIP终端;
所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
第五方面,本发明实施例提供一种实现物联网应用的装置,设置于物联网应用服务器侧,所述装置包括:
获取模块,配置为根据配置的SIP终端的控制设备能力信息,得到符合第一设定条件的SIP请求消息;其中,所述SIP请求消息封装有针对所述SIP终端的控制指令;
第二发送模块,配置为发送所述SIP请求消息给所述SIP终端;
所述第一设定条件包括以下至少之一:
所述SIP请求消息中的目的地址字段指向所述SIP终端;
所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
第六方面,本发明实施例提供一种实现物联网应用的装置,设置于SIP终端侧,所述装置包括:
第三接收模块,配置为接收到物联网应用服务器发送的符合第一设定条件的SIP请求消息;
其中,所述SIP请求消息中封装有针对SIP终端的控制指令;
所述第一设定条件包括以下至少之一:
所述SIP请求消息中的目的地址字段指向所述SIP终端;
所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型;
指令执行模块,配置为根据所述针对SIP终端的控制指令,对所述SIP终端所控制的设备执行控制操作。
第七方面,本发明实施例提供一种SIP网络设备,包括:
第一处理器以及存储有所述第一处理器可执行指令的第一存储器,当所述指令被第一处理器执行时,执行如下操作:
接收物联网应用服务器发来的符合第一设定条件的SIP请求消息;
将所述SIP请求消息发送给SIP终端;
所述第一设定条件包括以下至少之一:
所述SIP请求消息中的目的地址字段指向所述SIP终端;
所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
第八方面,本发明实施例提供一种物联网应用服务器,包括:
第二处理器以及存储有所述第二处理器可执行指令的第二存储器,当所述指令被第二处理器执行时,执行如下操作:
根据配置的SIP终端的控制设备能力信息,得到符合第一设定条件的SIP请求消息;其中,所述SIP请求消息封装有针对所述SIP终端的控制指 令;
发送所述SIP请求消息给所述SIP终端;
所述第一设定条件包括以下至少之一:
所述SIP请求消息中的目的地址字段指向所述SIP终端;
所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
第九方面,本发明实施例提供一种SIP终端,包括:
第三处理器以及存储有所述第三处理器可执行指令的第三存储器,当所述指令被第三处理器执行时,执行如下操作:
接收到物联网应用服务器发送的符合第一设定条件的SIP请求消息;
所述SIP请求消息中封装有针对SIP终端的控制指令;
所述第一设定条件包括以下至少之一:
所述SIP请求消息中的目的地址字段指向所述SIP终端;
所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型;
根据所述针对SIP终端的控制指令,对所述SIP终端所控制的设备执行控制操作。
第十方面,本发明实施例提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行如下操作:
接收物联网应用服务器发来的符合第一设定条件的SIP请求消息;
发送所述SIP请求消息给SIP终端;
所述第一设定条件包括以下至少之一:
所述SIP请求消息中的目的地址字段指向所述SIP终端;
所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
第十一方面,本发明实施例提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行如下操作:
根据配置的SIP终端的控制设备能力信息,得到符合第一设定条件的SIP请求消息;其中,所述SIP请求消息封装有针对所述SIP终端的控制指令;
发送所述SIP请求消息给所述SIP终端;
所述第一设定条件包括以下至少之一:
所述SIP请求消息中的目的地址字段指向所述SIP终端;
所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
第十二方面,本发明实施例提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行如下操作:
接收到物联网应用服务器发送的符合第一设定条件的SIP请求消息;
所述SIP请求消息中封装有针对SIP终端的控制指令;
所述第一设定条件包括以下至少之一:
所述SIP请求消息中的目的地址字段指向所述SIP终端;
所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型;
根据所述针对SIP终端的控制指令对所述SIP终端所控制的设备执行控制操作。
采用本发明实施例上述技术方案,至少具有下列有益效果:
使支持SIP协议的终端通过功能扩展的方式,利用现有SIP网络通道与物联网应用服务器相连,用户可以在远程通过SIP终端对被控设备进行控 制和管理,SIP网络可以提供统一平台的物联网服务。
例如:在家庭里面的IMS网络中的SIP终端,如果扩展了和家庭内的保健设备的连接,就可以获取到家居内用户的健康信息,这些信息可以通过家庭网关设备,利用扩展的SIP消息进行提供。这些信息,也能够通过IMS网络中的其它终端,通过原有通信流程来获取并显示。
例如:在家庭里面的IMS网络中的SIP终端,可以通过短距离通信接口,获取到家居内的门禁和其他起安全作用的红外探测设备信息,这些信息可以通过采用扩展的SIP消息,上传到IMS网络中的物联网应用系统来处理,物联网应用系统可以基于此来提供统一的家居安全服务,将这些安全信息提供给用户或者保安公司,或者执行根据控制策略,联动采集其它信息,以留取相关证据。
这样,可以在现有的SIP网络和相关网元中,相对简单的发展各种物联网各种服务,这些服务又能够很好的和现有的SIP网络的其它网元很好的互通,能够以现有模式来支持这些服务,为这些服务的推广有很大帮助。
附图说明
图1为本发明实施例提供的实现物联网应用的方法流程图一;
图2为本发明实施例提供的实现物联网应用的方法流程图二;
图3为本发明实施例提供的实现物联网应用的方法流程图三;
图4为本发明实施例提供的实现物联网应用的方法流程图四;
图5为本发明实施例提供的实现物联网应用的方法流程图五;
图6为本发明实施例提供的实现物联网应用的装置组成结构示意图;
图7为本发明实施例提供的实现物联网应用的装置组成结构示意图;
图8为本发明实施例提供的实现物联网应用的装置组成结构示意图;
图9为本发明实施例提供的实现物联网应用的系统组成连接示意图;
图10为本发明实施例提供的智能网方式的物联网服务流程图;
图11为本发明实施例提供的手机A对支持物联网服务的SIP终端B的控制流程图;
图12为本发明实施例提供的SIP请求消息的格式;
图13为本发明实施例提供的返回结果时的SIP消息的格式。
具体实施方式
以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所提供的实施例仅仅用以解释本发明,并不用于限定本发明。另外,以下所提供的实施例是用于实施本发明的部分实施例,而非提供实施本发明的全部实施例,在不冲突的情况下,本发明实施例记载的技术方案可以任意组合的方式实施。
本发明第一实施例,一种实现物联网应用的方法,在SIP网络设备侧执行的流程包括以下步骤:
SIP网络设备收到物联网应用服务器发来的符合第一设定条件的SIP请求消息时,将所述SIP请求消息发送给SIP终端;
所述第一设定条件,包括:SIP请求消息中的目的地址字段指向所述SIP终端,和/或,SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
所述SIP请求消息中封装有用户指令对应的针对SIP终端的控制指令。所述针对SIP终端的控制指令包括:对设备的信息获取指令,或者,对设备的工作状态的控制指令;所述针对SIP终端的控制指令位于所述SIP请求消息的消息头或者消息体中,并与所述设定的内容描述类型相适应。
所述SIP请求消息可以采用SIP消息中的CONTROL、INVITE、MESSAGE、INFO等消息来实现,可在消息头中增加指示,以表明这是控制消息,控制命令可以在消息头的最后一个字段之后填写,或者在消息体中采用会话描述协议(Session Description Protocol,SDP)或可扩展标记语 言(eXtensible Markup Language,XML)描述。
本发明第二实施例,一种实现物联网应用的方法,如图1所示,在SIP网络设备侧执行的流程包括以下步骤:
步骤S101,SIP网络设备收到物联网应用服务器发来的符合第一设定条件的SIP请求消息时,将所述SIP请求消息发送给SIP终端;
所述第一设定条件,包括:SIP请求消息中的目的地址字段指向所述SIP终端,和/或,SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
所述SIP请求消息中封装有用户指令对应的针对SIP终端的控制指令。所述针对SIP终端的控制指令包括:对设备的信息获取指令,或者,对设备的工作状态的控制指令;所述针对SIP终端的控制指令位于所述SIP请求消息的消息头或者消息体中,并与所述设定的内容描述类型相适应。
步骤S102,SIP网络设备收到SIP终端发来的符合第二设定条件的SIP上报消息时,将所述上报SIP消息发送给物联网应用服务器;
所述第二设定条件,包括:SIP上报消息中的目的地址字段指向所述物联网应用服务器,和/或,SIP上报消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
所述SIP上报消息中封装有SIP终端所控制的设备的信息。所述SIP终端所控制的设备的信息位于所述SIP请求消息的消息头或者消息体中,并与所述设定的内容描述类型相适应。所述设备的信息包括:所述设备执行控制操作的响应信息或者所述SIP终端须主动上报的设备的信息。
在一实施例中,在所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息均位于所述SIP请求消息的消息体中的情况下,所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息采用以下内容描述类型:SDP方式或者XML方式。
所述SIP请求消息和所述SIP上报消息均可以采用SIP消息中的CONTROL、INVITE、MESSAGE、INFO等消息来实现。
本发明第三实施例,一种实现物联网应用的方法,如图2所示,在物联网应用服务器侧执行的流程包括以下步骤:
步骤S201,物联网应用服务器配置SIP终端的控制设备能力信息,所述SIP终端的控制设备能力信息包括:所述SIP终端所控制的设备及对所述设备的控制操作;
步骤S202,物联网应用服务器根据SIP终端的控制设备能力信息,将接收到用户指令转换成针对SIP终端的控制指令,并将所述针对SIP终端的控制指令封装在符合第一设定条件的SIP请求消息中并通过SIP网络发送给所述SIP终端;
所述第一设定条件,包括:SIP请求消息中的目的地址字段指向所述SIP终端,和/或,SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
所述针对SIP终端的控制指令位于所述SIP请求消息的消息头或者消息体中,并与所述设定的内容描述类型相适应;所述针对SIP终端的控制指令包括:对设备的信息获取指令,或者,对设备的工作状态的控制指令。
本发明第四实施例,一种实现物联网应用的方法,如图3所示,在物联网应用服务器侧执行的流程包括以下步骤:
步骤S301,物联网应用服务器配置SIP终端的控制设备能力信息,所述SIP终端的控制设备能力信息包括:所述SIP终端所控制的设备及对所述设备的控制操作;
步骤S302,物联网应用服务器根据SIP终端的控制设备能力信息,将接收到用户指令转换成针对SIP终端的控制指令,并将所述针对SIP终端的 控制指令封装在符合第一设定条件的SIP请求消息中并通过SIP网络发送给所述SIP终端;
所述第一设定条件,包括:SIP请求消息中的目的地址字段指向所述SIP终端,和/或,SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
在一实施例中,所述针对SIP终端的控制指令位于所述SIP请求消息的消息头或者消息体中,并与所述设定的内容描述类型相适应;所述针对SIP终端的控制指令包括:对设备的信息获取指令,或者,对设备的工作状态的控制指令。
步骤S303,物联网应用服务器接收SIP终端通过SIP网络发来的符合第二设定条件的SIP上报消息并呈现给用户,所述SIP上报消息中封装有SIP终端所控制的设备的信息;
所述第二设定条件,包括:SIP上报消息中的目的地址字段指向所述物联网应用服务器,和/或,SIP上报消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
在一实施例中,所述SIP终端所控制的设备的信息位于所述SIP请求消息的消息头或者消息体中,并与所述设定标识的内容描述类型相适应;所述设备的信息包括:所述设备执行控制操作的响应信息或者所述SIP终端须主动上报的设备的信息。
在一实施例中,在所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息均位于所述SIP请求消息的消息体中的情况下,所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息采用以下内容描述类型:SDP方式或者XML方式。
本发明第五实施例,一种实现物联网应用的方法,如图4所示,在SIP终端侧执行的流程包括以下步骤:
步骤S401,SIP终端接收到物联网应用服务器通过SIP网络发送来的符合第一设定条件的SIP请求消息;所述SIP请求消息中封装有用户指令对应的针对SIP终端的控制指令,所述第一设定条件,包括:SIP请求消息中的目的地址字段指向所述SIP终端,和/或,SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型;
在一实施例中,所述针对SIP终端的控制指令位于所述SIP请求消息的消息头或者消息体中,并与所述设定标识的内容描述类型相适应;所述针对SIP终端的控制指令包括:对设备的信息获取指令,或者,对设备的工作状态的控制指令。
步骤S402,SIP终端根据所述针对SIP终端的控制指令对所述SIP终端所控制的相应设备执行控制操作。
本发明第六实施例,一种实现物联网应用的方法,如图5所示,在SIP终端侧执行的流程包括以下步骤:
步骤S501,SIP终端接收到物联网应用服务器通过SIP网络发送来的符合第一设定条件的SIP请求消息;所述SIP请求消息中封装有用户指令对应的针对SIP终端的控制指令,所述第一设定条件,包括:SIP请求消息中的目的地址字段指向所述SIP终端,和/或,SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型;
在一实施例中,所述针对SIP终端的控制指令位于所述SIP请求消息的消息头或者消息体中,并与所述设定的内容描述类型相适应;所述针对SIP终端的控制指令包括:对设备的信息获取指令,或者,对设备的工作状态的控制指令。
步骤S502,SIP终端根据所述针对SIP终端的控制指令对所述SIP终端所控制的相应设备执行控制操作。
步骤S503,SIP终端将自身所控制的设备的信息封装在符合第二设定 条件的SIP上报消息中,并通过SIP网络将所述SIP上报消息发送给物联网应用服务器;
所述第二设定条件,包括:SIP上报消息中的目的地址字段指向所述物联网应用服务器,和/或,SIP上报消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
在一实施例中,所述SIP终端所控制的设备的信息位于所述SIP请求消息的消息头或者消息体中,并与所述设定的内容描述类型相适应;所述设备的信息包括:所述设备执行控制操作的响应信息或者所述SIP终端须主动上报的设备的信息。
在一实施例中,在所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息均位于所述SIP请求消息的消息体中的情况下,所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息采用以下内容描述类型:SDP方式或者XML方式。
本实施例提供了一种实现物联网应用的装置,设置于SIP网络设备侧,如图6所示,本发明实施例所述装置包括以下组成部分:
第一接收模块61,配置为接收物联网应用服务器发来的符合第一设定条件的SIP请求消息;
第一发送模块62,配置为发送将所述SIP请求消息给SIP终端;
所述第一设定条件包括以下至少之一:
所述SIP请求消息中的目的地址字段指向所述SIP终端;
所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
在一实施例中,所述第一接收模块61,还配置为接收SIP终端发来的符合第二设定条件的SIP上报消息;
所述第一发送模块62,还配置为发送所述上报SIP消息给物联网应用 服务器;
所述第二设定条件包括以下至少之一:
所述SIP上报消息中的目的地址字段指向所述物联网应用服务器;
所述SIP上报消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
在一实施例中,所述SIP请求消息中封装有针对SIP终端的控制指令;
所述SIP上报消息中封装有SIP终端所控制的设备的信息。
在一实施例中,所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息均位于所述SIP请求消息的消息头或者消息体中,并与所述设定标识的内容描述类型相适应;
所述针对SIP终端的控制指令包括:对所述设备的信息获取指令,或者,对所述设备的工作状态的控制指令;
所述设备的信息包括:所述设备执行控制操作的响应信息或者所述SIP终端须主动上报的设备的信息。
在一实施例中,在所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息均位于所述SIP请求消息的消息体中的情况下,所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息采用以下内容描述类型:
SDP方式,或者XML方式。
本实施例还提供一种实现物联网应用的装置,设置于物联网应用服务器侧,如图7所示,所述装置包括以下组成部分:
获取模块71,配置为根据配置的会话初始协议SIP终端的控制设备能力信息,得到符合第一设定条件的SIP请求消息;其中,所述SIP请求消息封装有针对所述SIP终端的控制指令;
第二发送模块72,配置为发送所述SIP请求消息给所述SIP终端;
所述第一设定条件包括以下至少之一:
所述SIP请求消息中的目的地址字段指向所述SIP终端;
所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
在一实施例中,还包括:
配置模块73,配置为配置所述SIP终端的控制设备能力信息;
所述SIP终端的控制设备能力信息包括:所述SIP终端所控制的设备及对所述设备的控制操作。
在一实施例中,还包括:
第二接收模块74,配置为接收SIP终端通过SIP网络发来的符合第二设定条件的SIP上报消息并呈现给,所述SIP上报消息中封装有SIP终端所控制的设备的信息;
所述第二设定条件包括以下至少之一:
所述SIP上报消息中的目的地址字段指向所述物联网应用服务器;
所述SIP上报消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
在一实施例中,所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息均位于所述SIP请求消息的消息头或者消息体中,并与所述设定标识的内容描述类型相适应;
所述针对SIP终端的控制指令包括:对所述设备的信息获取指令,或者,对所述设备的工作状态的控制指令;
所述设备的信息包括:所述设备执行控制操作的响应信息或者所述SIP终端须主动上报的设备的信息。
在一实施例中,在所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息均位于所述SIP请求消息的消息体中的情况下,所述针对SIP 终端的控制指令和所述SIP终端所控制的设备的信息采用以下内容描述类型:
SDP方式,或者XML方式。
本实施例还提供一种实现物联网应用的装置,设置于SIP终端侧,如图8所示,所述装置包括以下组成部分:
第三接收模块81,配置为接收到物联网应用服务器发送的符合第一设定条件的SIP请求消息;
其中,所述SIP请求消息中封装有针对SIP终端的控制指令;
所述第一设定条件包括以下至少之一:
所述SIP请求消息中的目的地址字段指向所述SIP终端;
所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型;
指令执行模块82,配置为根据所述针对SIP终端的控制指令,对所述SIP终端所控制的设备执行控制操作。
在一实施例中,所述装置,还包括:
第三发送模块83,配置为将SIP终端所控制的设备的信息封装在符合第二设定条件的SIP上报消息中;
以及,配置为通过SIP网络将所述SIP上报消息发送给物所述联网应用服务器;
所述第二设定条件包括以下至少之一:
所述SIP上报消息中的目的地址字段指向所述物联网应用服务器;
所述SIP上报消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
在一实施例中,所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息均位于所述SIP请求消息的消息头或者消息体中,并与所述设 定标识的内容描述类型相适应;
所述针对SIP终端的控制指令包括:对所述设备的信息获取指令,或者,对所述设备的工作状态的控制指令;
所述设备的信息包括:所述设备执行控制操作的响应信息或者所述SIP终端须主动上报的设备的信息。
在一实施例中,在所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息均位于所述SIP请求消息的消息体中的情况下,所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息采用以下内容描述类型:
SDP方式,或者XML方式。
本发明实施例还提供一种SIP网络设备,可以作为实体装置来理解,该SIP网络设备可以是SIP网络中能够接触到本发明实施例中的SIP请求消息和SIP上报消息的任一网元,该SIP网络设备包括:
第一处理器以及存储有所述第一处理器可执行指令的第一存储器,当所述指令被所述第一处理器执行时,执行如下操作:
接收物联网应用服务器发来的符合第一设定条件的SIP请求消息;
发送所述SIP请求消息给SIP终端;
所述第一设定条件包括以下至少之一:
所述SIP请求消息中的目的地址字段指向所述SIP终端;
所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
在一实施例中,所述指令被所述第一处理器执行时,还执行如下操作::
接收所述SIP终端发来的符合第二设定条件的SIP上报消息;
发送所述上报SIP消息给所述物联网应用服务器;
所述第二设定条件包括以下至少之一:
所述SIP上报消息中的目的地址字段指向所述物联网应用服务器;
所述SIP上报消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
本发明实施例还提供一种物联网应用服务器,可以作为实体装置来理解,该物联网应用服务器包括:
第二处理器以及存储有所述第二处理器可执行指令的第二存储器,当所述指令被所述第二处理器执行时,执行如下操作:
根据配置的SIP终端的控制设备能力信息,得到符合第一设定条件的SIP请求消息;其中,所述SIP请求消息封装有针对所述SIP终端的控制指令;
发送所述SIP请求消息给所述SIP终端;
所述第一设定条件包括以下至少之一:
所述SIP请求消息中的目的地址字段指向所述SIP终端;
所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
在一实施例中,所述指令被所述第二处理器执行时,还执行如下操作:
配置所述SIP终端的控制设备能力信息;
所述SIP终端的控制设备能力信息包括:所述SIP终端所控制的设备及对所述设备的控制操作。
在一实施例中,所述指令被所述第二处理器执行时,还执行如下操作:
接收SIP终端通过SIP网络发来的符合第二设定条件的SIP上报消息并呈现;其中,所述SIP上报消息中封装有SIP终端所控制的设备的信息;
所述第二设定条件包括以下至少之一:
所述SIP上报消息中的目的地址字段指向物联网应用服务器;
所述SIP上报消息的消息头中的内容类型字段记载有设定标识的内容 描述类型。
本发明实施例还提供一种SIP终端,可以作为实体装置来理解,该SIP终端包括:
第三处理器以及存储有所述第三处理器可执行指令的第三存储器,当所述指令被所述第三处理器执行时,执行如下操作:
接收到物联网应用服务器发送的符合第一设定条件的SIP请求消息;
其中,所述SIP请求消息中封装有针对SIP终端的控制指令;
所述第一设定条件包括以下至少之一:
所述SIP请求消息中的目的地址字段指向所述SIP终端;
所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型;
根据所述针对SIP终端的控制指令,对所述SIP终端所控制的设备执行控制操作。
在一实施例中,所述指令被所述第三处理器执行时,还执行如下操作:
将SIP终端所控制的设备的信息封装在符合第二设定条件的SIP上报消息中;
通过SIP网络将所述SIP上报消息发送给所述物联网应用服务器;
所述第二设定条件包括以下至少之一:
所述SIP上报消息中的目的地址字段指向所述物联网应用服务器;
所述SIP上报消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
在上述实施例的基础上,以机顶盒作为SIP终端为例,手机在远程在物联网应用服务器提供的人机交互界面,结合附图9~13介绍一个本发明的应用实例。
如图9所示,本发明实施例的实现物联网应用的系统包括:SIP终端、IP网络、SIP网络、物联网应用服务器和手机组成。
SIP终端:一方面通过南向的近距离通信网络和物联网的传感设备或者执行设备进行通信,以采集相关设备所感知的“物”的数据,以及可以执行对“物”的操作。近距离通信网络包括但不限于:WI-FI、蓝牙、ZigBee、红外、NB-IoT(Narrow Band Internet of Things,基于蜂窝的窄带物联网)等各种有线、无线短距离通信网络。传感设备包括但不限于:采集温度、湿度、告警、图像、身体参数、能源数据等各种传感设备;执行设备包括但不限于:电子开关、调节器、控制器等。传感设备和执行设备均属于前述实施例中的SIP终端所控制的设备。SIP终端在本系统中,一方面扩展了南向接口,另一方面也需要将南向接口获得的各种数据以及支持的各种操作,以SIP消息方式封装,并对SIP协议进行部分扩展。
IP网络:目前的通信IP网络,可以是有线或者无线网络。
SIP网络:是目前的SIP核心网,包括但不限于:IMS网络、软交换网络。在本系统中,SIP网络需要支持扩展的SIP消息(即前述实施例中的SIP请求消息和SIP上报消息)的路由和传送,并支持对这类消息根据设置的策略进行解析,并将相关消息转发到物联网应用服务器,或者将物联网应用服务器发来的扩展的SIP消息转发给SIP终端。前述实施例中的SIP网络设备就是位于SIP网络中的设备。
物联网应用服务器:根据各种SIP终端所控制的设备的信息以及用户通过手机发来的指令,执行相关业务逻辑,提供各种物联网服务,包括但不限于:家居安全服务、家居控制服务、用电/用水/煤气信息采集服务、医疗服务、家庭节能服务等等。
如图10所示,本发明实施例的智能网方式的物联网服务流程,如下:
步骤0:SIP终端的注册过程,这个过程类似于SIP网络中的终端的注 册过程。
步骤1:SIP网络的SIP网络设备中设置物联网服务的过滤策略,这个策略可以包括:对于满足设定条件的SIP消息,都转发到相应的物联网应用服务器或者SIP终端处理。例如,如果某些SIP终端通过INFO方式向物联网应用服务器上报物联网信息,在SIP消息的消息头的目的地址字段部分是物联网服务器应用服务器的地址,并且SIP消息体内是SIP终端所控制的某个设备的信息,比如:以XML方式封装的该设备的告警ALARM信息等等。
物联网服务器需要预先配置SIP终端的控制设备能力信息,这个能力信息可以为:SIP终端的哪个端口或通道上的可依执行对哪些设备的哪些操作。
步骤2:SIP终端通过南向近距离通信接口获取到相关“物”的信息,例如,检测到家里红外和烟感报警。
步骤3:SIP终端将这个“物”的信息,用SIP消息中的INFO消息或者MESSAGE消息发出到物联网应用服务器的地址,该地址需要SIP终端预先设置。在SIP的头部,可以通过扩展一种内容类型字段Content-Type,例如:在Content-Type中填写IoT/SDP或者IoT/XML,分别表示是物联网的SIP消息,即可以作为识别物联网的SIP消息的标识之一。SDP和XML分别表示SIP消息的消息体内是用SDP或者用XML方式表述“物”的信息。
步骤4:SIP网络检测到这个SIP消息,根据过滤规则,判断这是一个需要转发到某物联网应用服务器的SIP消息。例如:这里可以根据里面的目的地址字段为物联网应用服务器的地址,以及SIP消息的头部的Content-Type为IoT来进行检测出是物联网的SIP消息。
步骤5:SIP网络将这个SIP消息发送给所述某物联网应用服务器。
步骤6:物联网应用服务器接受到SIP消息后进行解析,获取到相关数据,根据业务逻辑,执行相关逻辑,提供物联网服务。
步骤7:SIP终端与物联网应用服务器通过SIP网络进行交互。
再介绍一个手机A对支持物联网服务的SIP终端B以获取该SIP终端下的设备信息或者控制该SIP终端的方法,这个控制可以是在手机A和SIP终端B的会话过程中,也可以不在会话过程中。SIP core就是SIP网络,SIP Core包括但不限于:软交换或者IMS核心网。
如图11所示,手机A对支持物联网服务的SIP终端B的控制流程,如下:
步骤10,为A通过物联网应用服务器获取到B的能力,物联网应用服务器采用SIP消息中的INFO消息通过SIP core发送获取B的控制能力请求;这个能力可以为:哪个端口/通道上的哪些操作,或者获取某个“物”的信息。
步骤11,该获取B的控制能力请求经SIP core转发到B。
步骤12,B将B的控制能力信息通过SDP描述并封装到SIP消息中的INFO消息中,在再携带有B的控制能力信息的INFO消息发到SIP Core。
步骤13,SIP Core将携带有B的控制能力信息的INFO消息转发到A。
如果A已经知道了B的能力,或者,A直接在物联网应用服务器提供的客户端界面上进行对B的控制,那么,A就不需要再获取了,步骤10-12可以省略。B的返回消息中,将INFO消息的消息头的Content-Type扩展一个IoT标识,以标明这是物联网信息。
步骤14,A通过物联网应用服务器发送控制或者获取相关信息的SIP消息到SIP Core。为了以示区别,将步骤14终端中的SIP消息成为SIP请求消息。该SIP请求消息的格式如图12所示。
步骤15,SIP Core将该SIP请求消息转发到B。
步骤16,B发确认消息,以确认B已经收到该SIP请求消息,可以包括B正在处理或者拒绝处理或者不能识别等信息。
步骤17,确认消息经SIP Core转发到A。
步骤18,B处理该SIP请求消息中的控制命令或者获取相关数据后,将结果返回到SIP Core。返回结果的数据可以由INFO消息承载,该INFO消息头中的ID字段保持和上述请求消息中的ID字段内容一致,均为SIP终端B的ID,Content-Type字段也设置为IoT/SDP或者IoT/XML,消息内容分别用SDP或者XML方式来进行描述,推荐使用XML模式进行描述。返回结果时的SIP消息的格式如图13所示。
步骤19,SIP Core将该返回结果转发到控制方A。
本发明实施例还提供了一种存储介质,其上存储有计算机指令,该指令被处理器执行时实现上述实现物联网应用的方法。
需要说明的是:上述实施例提供的装置、相关设备与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。对于本发明所述装置及相关设备实施例中未披露的技术细节,请参照本发明方法实施例的描述。
本发明是参照根据本发明实施例的方法、装置、设备(系统)、和可执行程序产品的流程图和/或方框图来描述的。应理解可由可执行程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些可执行程序指令到通用计算机、专用计算机、嵌入式处理机或参考可编程数据处理设备的处理器以产生一个机器,使得通过计算机或参考可编程数据处理设备的处理器执行的指令产生配置为实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些可执行程序指令也可存储在能引导计算机或参考可编程数据处理 设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些可执行程序指令也可装载到计算机或参考可编程数据处理设备上,使得在计算机或参考可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或参考可编程设备上执行的指令提供配置为实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。
工业实用性
本发明实施例SIP网络设备收到物联网应用服务器发来的符合第一设定条件的SIP请求消息,将所述SIP请求消息发送给SIP终端;所述第一设定条件包括:SIP请求消息中的目的地址字段为所述SIP终端、SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型至少之一。如此,使支持SIP协议的终端通过功能扩展的方式,利用现有SIP网络通道与物联网应用服务器相连,用户可以在远程通过SIP终端对被控设备进行控制和管理,SIP网络可以提供统一平台的物联网服务。

Claims (34)

  1. 一种实现物联网应用的方法,包括:
    接收物联网应用服务器发来的符合第一设定条件的会话初始协议SIP请求消息;
    发送所述SIP请求消息给SIP终端;
    所述第一设定条件包括以下至少之一:
    所述SIP请求消息中的目的地址字段指向所述SIP终端;
    所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
  2. 根据权利要求1所述的方法,其中,还包括:
    接收所述SIP终端发来的符合第二设定条件的SIP上报消息;
    发送所述上报SIP消息给所述物联网应用服务器;
    所述第二设定条件包括以下至少之一:
    所述SIP上报消息中的目的地址字段指向所述物联网应用服务器;
    所述SIP上报消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
  3. 根据权利要求2所述的方法,其中,
    所述SIP请求消息中封装有针对所述SIP终端的控制指令;
    所述SIP上报消息中封装有所述SIP终端所控制的设备的信息。
  4. 根据权利要求3所述的方法,其中,
    所述针对所述SIP终端的控制指令和所述SIP终端所控制的设备的信息,均位于所述SIP请求消息的消息头或者消息体中,且与所述设定标识的内容描述类型相适应;
    所述针对所述SIP终端的控制指令包括:对所述设备的信息获取指令,或者,对所述设备的工作状态的控制指令;
    所述设备的信息包括:所述设备执行控制操作的响应信息或者所述SIP终端须主动上报的设备的信息。
  5. 根据权利要求4所述的方法,其中,
    在针对所述SIP终端的控制指令和所述SIP终端所控制的设备的信息均位于所述SIP请求消息的消息体中的情况下,所述针对所述SIP终端的控制指令和所述SIP终端所控制的设备的信息采用以下内容描述类型:
    会话描述协议SDP方式,或者可扩展标记语言XML方式。
  6. 一种实现物联网应用的方法,包括:
    根据配置的会话初始协议SIP终端的控制设备能力信息,得到符合第一设定条件的SIP请求消息;其中,所述SIP请求消息封装有针对所述SIP终端的控制指令;
    发送所述SIP请求消息给所述SIP终端;
    所述第一设定条件包括以下至少之一:
    所述SIP请求消息中的目的地址字段指向所述SIP终端;
    所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
  7. 根据权利要求6所述的方法,其中,还包括:
    配置所述SIP终端的控制设备能力信息;
    所述SIP终端的控制设备能力信息包括:所述SIP终端所控制的设备及对所述设备的控制操作。
  8. 根据权利要求6所述的方法,其中,还包括:
    接收SIP终端通过SIP网络发来的符合第二设定条件的SIP上报消息并呈现;其中,所述SIP上报消息中封装有SIP终端所控制的设备的信息;
    所述第二设定条件包括以下至少之一:
    所述SIP上报消息中的目的地址字段指向物联网应用服务器;
    所述SIP上报消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
  9. 根据权利要求8所述的方法,其中,
    所述针对所述SIP终端的控制指令和所述SIP终端所控制的设备的信息均位于所述SIP请求消息的消息头或者消息体中,且与所述设定标识的内容描述类型相适应;
    其中,所述针对所述SIP终端的控制指令包括:对所述设备的信息获取指令,或者,对所述设备的工作状态的控制指令;
    所述设备的信息包括:所述设备执行控制操作的响应信息或者所述SIP终端须主动上报的设备的信息。
  10. 根据权利要求9所述的方法,其中,
    在所述针对所述SIP终端的控制指令和所述SIP终端所控制的设备的信息均位于所述SIP请求消息的消息体中的情况下,所述针对所述SIP终端的控制指令和所述SIP终端所控制的设备的信息采用以下内容描述类型:
    会话描述协议SDP方式,或者可扩展标记语言XML方式。
  11. 一种实现物联网应用的方法,包括:
    接收到物联网应用服务器发送的符合第一设定条件的会话初始协议SIP请求消息;
    其中,所述SIP请求消息中封装有针对SIP终端的控制指令;
    所述第一设定条件包括以下至少之一:
    所述SIP请求消息中的目的地址字段指向所述SIP终端;
    所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型;
    根据所述针对SIP终端的控制指令,对所述SIP终端所控制的设备执行控制操作。
  12. 根据权利要求11所述的方法,其中,还包括:
    将SIP终端所控制的设备的信息封装在符合第二设定条件的SIP上报消息中;
    通过SIP网络将所述SIP上报消息发送给所述物联网应用服务器;
    所述第二设定条件包括以下至少之一:
    所述SIP上报消息中的目的地址字段指向所述物联网应用服务器;
    所述SIP上报消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
  13. 根据权利要求12所述的方法,其中,
    所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息均位于所述SIP请求消息的消息头或者消息体中,且与所述设定标识的内容描述类型相适应;
    所述针对SIP终端的控制指令包括:对所述设备的信息获取指令,或者,对所述设备的工作状态的控制指令;
    所述设备的信息包括:所述设备执行控制操作的响应信息或者所述SIP终端须主动上报的设备的信息。
  14. 根据权利要求13所述的方法,其中,
    在所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息均位于所述SIP请求消息的消息体中的情况下,所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息采用以下内容描述类型:
    会话描述协议SDP方式,或者可扩展标记语言XML方式。
  15. 一种实现物联网应用的装置,设置于会话初始协议SIP网络设备侧,所述装置包括:
    第一接收模块,配置为接收物联网应用服务器发来的符合第一设定条件的SIP请求消息;
    第一发送模块,配置为发送将所述SIP请求消息给SIP终端;
    所述第一设定条件包括以下至少之一:
    所述SIP请求消息中的目的地址字段指向所述SIP终端;
    所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
  16. 根据权利要求15所述的装置,其中,
    所述第一接收模块,还配置为接收SIP终端发来的符合第二设定条件的SIP上报消息;
    所述第一发送模块,还配置为发送所述上报SIP消息给物联网应用服务器;
    所述第二设定条件包括以下至少之一:
    所述SIP上报消息中的目的地址字段指向所述物联网应用服务器;
    所述SIP上报消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
  17. 根据权利要求16所述的装置,其中,
    所述SIP请求消息中封装有针对SIP终端的控制指令;
    所述SIP上报消息中封装有SIP终端所控制的设备的信息。
  18. 根据权利要求17所述的装置,其中,
    所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息均位于所述SIP请求消息的消息头或者消息体中,并与所述设定标识的内容描述类型相适应;
    所述针对SIP终端的控制指令包括:对所述设备的信息获取指令,或者,对所述设备的工作状态的控制指令;
    所述设备的信息包括:所述设备执行控制操作的响应信息或者所述SIP终端须主动上报的设备的信息。
  19. 根据权利要求18所述的装置,其中,
    在所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息均位于所述SIP请求消息的消息体中的情况下,所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息采用以下内容描述类型:
    会话描述协议SDP方式,或者可扩展标记语言XML方式。
  20. 一种实现物联网应用的装置,设置于物联网应用服务器侧,所述装置包括:
    获取模块,配置为根据配置的会话初始协议SIP终端的控制设备能力信息,得到符合第一设定条件的SIP请求消息;其中,所述SIP请求消息封装有针对所述SIP终端的控制指令;
    第二发送模块,配置为发送所述SIP请求消息给所述SIP终端;
    所述第一设定条件包括以下至少之一:
    所述SIP请求消息中的目的地址字段指向所述SIP终端;
    所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
  21. 根据权利要求20所述的装置,其中,还包括:
    配置模块,配置为配置所述SIP终端的控制设备能力信息;
    所述SIP终端的控制设备能力信息包括:所述SIP终端所控制的设备及对所述设备的控制操作。
  22. 根据权利要求20所述的装置,其中,所述装置,还包括:
    第二接收模块,配置为接收SIP终端通过SIP网络发来的符合第二设定条件的SIP上报消息并呈现给,所述SIP上报消息中封装有SIP终端所控制的设备的信息;
    所述第二设定条件包括以下至少之一:
    所述SIP上报消息中的目的地址字段指向所述物联网应用服务器;
    所述SIP上报消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
  23. 根据权利要求22所述的装置,其中,
    所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息均位于所述SIP请求消息的消息头或者消息体中,并与所述设定标识的内容描述类型相适应;
    所述针对SIP终端的控制指令包括:对所述设备的信息获取指令,或者,对所述设备的工作状态的控制指令;
    所述设备的信息包括:所述设备执行控制操作的响应信息或者所述SIP终端须主动上报的设备的信息。
  24. 根据权利要求23所述的装置,其中,
    在所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息均位于所述SIP请求消息的消息体中的情况下,所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息采用以下内容描述类型:
    会话描述协议SDP方式,或者可扩展标记语言XML方式。
  25. 一种实现物联网应用的装置,设置于会话初始协议SIP终端侧,所述装置包括:
    第三接收模块,配置为接收到物联网应用服务器发送的符合第一设定条件的SIP请求消息;
    其中,所述SIP请求消息中封装有针对SIP终端的控制指令;
    所述第一设定条件包括以下至少之一:
    所述SIP请求消息中的目的地址字段指向所述SIP终端;
    所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型;
    指令执行模块,配置为根据所述针对SIP终端的控制指令,对所述SIP 终端所控制的设备执行控制操作。
  26. 根据权利要求25所述的装置,其中,所述装置,还包括:
    第三发送模块,配置为将SIP终端所控制的设备的信息封装在符合第二设定条件的SIP上报消息中;
    以及,配置为通过SIP网络将所述SIP上报消息发送给物所述联网应用服务器;
    所述第二设定条件包括以下至少之一:
    所述SIP上报消息中的目的地址字段指向所述物联网应用服务器;
    所述SIP上报消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
  27. 根据权利要求26所述的装置,其中,
    所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息均位于所述SIP请求消息的消息头或者消息体中,并与所述设定标识的内容描述类型相适应;
    所述针对SIP终端的控制指令包括:对所述设备的信息获取指令,或者,对所述设备的工作状态的控制指令;
    所述设备的信息包括:所述设备执行控制操作的响应信息或者所述SIP终端须主动上报的设备的信息。
  28. 根据权利要求27所述的装置,其中,在所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息均位于所述SIP请求消息的消息体中的情况下,所述针对SIP终端的控制指令和所述SIP终端所控制的设备的信息采用以下内容描述类型:
    会话描述协议SDP方式,或者可扩展标记语言XML方式。
  29. 一种会话初始协议SIP网络设备,包括:
    第一处理器以及存储有所述第一处理器可执行指令的第一存储器,当 所述指令被所述第一处理器执行时,执行如下操作:
    接收物联网应用服务器发来的符合第一设定条件的SIP请求消息;
    发送所述SIP请求消息给SIP终端;
    所述第一设定条件包括以下至少之一:
    所述SIP请求消息中的目的地址字段指向所述SIP终端;
    所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
  30. 一种物联网应用服务器,包括:
    第二处理器以及存储有所述第二处理器可执行指令的第二存储器,当所述指令被所述第二处理器执行时,执行如下操作:
    根据配置的会话初始协议SIP终端的控制设备能力信息,得到符合第一设定条件的SIP请求消息;其中,所述SIP请求消息封装有针对所述SIP终端的控制指令;
    发送所述SIP请求消息给所述SIP终端;
    所述第一设定条件包括以下至少之一:
    所述SIP请求消息中的目的地址字段指向所述SIP终端;
    所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型。
  31. 一种会话初始协议SIP终端,其中,包括:
    第三处理器以及存储有所述第三处理器可执行指令的第三存储器,当所述指令被所述第三处理器执行时,执行如下操作:
    接收到物联网应用服务器发送的符合第一设定条件的SIP请求消息;
    其中,所述SIP请求消息中封装有针对SIP终端的控制指令;
    所述第一设定条件包括以下至少之一:
    所述SIP请求消息中的目的地址字段指向所述SIP终端;
    所述SIP请求消息的消息头中的内容类型字段记载有设定标识的内容描述类型;
    根据所述针对SIP终端的控制指令,对所述SIP终端所控制的设备执行控制操作。
  32. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行权利要求1至5任一项所述的实现物联网应用的方法。
  33. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行权利要求9至10任一项所述的实现物联网应用的方法。
  34. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行权利要求11至14任一项所述的实现物联网应用的方法。
PCT/CN2017/106130 2016-10-20 2017-10-13 实现物联网应用的方法、装置、相关设备及存储介质 WO2018072655A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610914613.5A CN107968772A (zh) 2016-10-20 2016-10-20 一种实现物联网应用的方法、装置和相关设备
CN201610914613.5 2016-10-20

Publications (1)

Publication Number Publication Date
WO2018072655A1 true WO2018072655A1 (zh) 2018-04-26

Family

ID=61997179

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/106130 WO2018072655A1 (zh) 2016-10-20 2017-10-13 实现物联网应用的方法、装置、相关设备及存储介质

Country Status (2)

Country Link
CN (1) CN107968772A (zh)
WO (1) WO2018072655A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113572799A (zh) * 2020-04-29 2021-10-29 北京金山云网络技术有限公司 设备接入控制平台的方法、装置和服务器
CN116633992B (zh) * 2023-07-25 2023-09-22 北京熙捷科技有限公司 一种物联网数据传输方法及系统

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324302B (zh) * 2018-11-02 2022-04-19 林德(中国)叉车有限公司 一种iot设备通信方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040095068A (ko) * 2003-05-06 2004-11-12 위즈정보기술주식회사 에스아이피(sip) 기술을 이용한 네트워크 장치 제어방법 및 장치
CN102833254A (zh) * 2012-08-29 2012-12-19 中兴通讯股份有限公司 一种sip网络中控制服务的实现方法、系统和设备
CN103780577A (zh) * 2012-10-19 2014-05-07 中兴通讯股份有限公司 物联网应用的实现方法、装置及终端

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102420823A (zh) * 2011-11-29 2012-04-18 太仓市同维电子有限公司 基于精简sip协议的简化智能监控系统及定位和监控方法
CN105897535A (zh) * 2016-07-04 2016-08-24 淮南市创鑫农业科技有限公司 一种通过sip协议传输实现智能家居控制的系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040095068A (ko) * 2003-05-06 2004-11-12 위즈정보기술주식회사 에스아이피(sip) 기술을 이용한 네트워크 장치 제어방법 및 장치
CN102833254A (zh) * 2012-08-29 2012-12-19 中兴通讯股份有限公司 一种sip网络中控制服务的实现方法、系统和设备
CN103780577A (zh) * 2012-10-19 2014-05-07 中兴通讯股份有限公司 物联网应用的实现方法、装置及终端

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113572799A (zh) * 2020-04-29 2021-10-29 北京金山云网络技术有限公司 设备接入控制平台的方法、装置和服务器
CN113572799B (zh) * 2020-04-29 2023-04-07 北京金山云网络技术有限公司 设备接入控制平台的方法、装置和服务器
CN116633992B (zh) * 2023-07-25 2023-09-22 北京熙捷科技有限公司 一种物联网数据传输方法及系统

Also Published As

Publication number Publication date
CN107968772A (zh) 2018-04-27

Similar Documents

Publication Publication Date Title
WO2014059827A1 (zh) 物联网应用的实现方法、装置及终端
WO2016145797A1 (zh) 智能家居控制方法、装置及系统
CN103596065B (zh) 装置定向能力交换信令和多媒体内容的服务器适应性修改
CN105472430B (zh) 通过智能电视控制移动终端响铃的方法、设备及系统
US9264670B2 (en) Method and apparatus for providing user input back channel in audio/video system
US10425454B2 (en) Device and method for transferring the rendering of multimedia content
EP2319206B1 (en) System and method for transmitting and receiving a call on a home network
WO2017097093A1 (zh) 家庭物联网的实现方法及机顶盒、物联网服务器
WO2011127706A1 (zh) 一种实现智能家居应用的装置、系统和方法
US10944829B2 (en) Methods, systems, and devices for multiplexing service information from sensor data
TWI533687B (zh) 智慧型電視系統遠端監控方法、相關裝置以及智慧型電視系統
WO2018072655A1 (zh) 实现物联网应用的方法、装置、相关设备及存储介质
JP6208381B2 (ja) 機器管理方法、装置、システム、プログラム、及び記録媒体
WO2019019486A1 (zh) 下行数据包配置方法及装置
EP2245840B1 (en) Displaying caller information on wireless local network connected device
US20180184149A1 (en) Methods and systems for implementing legacy remote and keystroke redirection
WO2017143743A1 (zh) 一种异构协议互通方法及控制器
CN102833254B (zh) 一种sip网络中控制服务的实现方法、系统和设备
US9843912B2 (en) Machine-to-machine (M2M) autonomous media delivery
WO2013174339A2 (zh) 基于呼叫中心的智能家居系统及其实现方法
WO2014146454A1 (zh) 一种机器通信方法及设备
KR101361024B1 (ko) Ip기반 디바이스 제어 장치 및 방법
KR20140061206A (ko) 전자 장치의 제어 방법 및 디스플레이 방법.
KR101476281B1 (ko) N-스크린 서비스를 위한 멀티미디어 스트림의 이기종 디바이스 간 핸드오버 시스템 및 그 방법
CN107786598A (zh) 一种远程控制家庭上网设备的方法、装置及服务器

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: 17861764

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: 17861764

Country of ref document: EP

Kind code of ref document: A1