WO2012103721A1 - 终端访问数字家庭设备的方法和设备 - Google Patents

终端访问数字家庭设备的方法和设备 Download PDF

Info

Publication number
WO2012103721A1
WO2012103721A1 PCT/CN2011/076561 CN2011076561W WO2012103721A1 WO 2012103721 A1 WO2012103721 A1 WO 2012103721A1 CN 2011076561 W CN2011076561 W CN 2011076561W WO 2012103721 A1 WO2012103721 A1 WO 2012103721A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
base station
home
home base
service
Prior art date
Application number
PCT/CN2011/076561
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 华为技术有限公司
Priority to PCT/CN2011/076561 priority Critical patent/WO2012103721A1/zh
Priority to CN2011800009335A priority patent/CN102318318A/zh
Publication of WO2012103721A1 publication Critical patent/WO2012103721A1/zh

Links

Classifications

    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • 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/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/2818Controlling appliance services of a home automation network by calling their functionalities from a device located outside both the home and the home network
    • 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/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/282Controlling appliance services of a home automation network by calling their functionalities based on user interaction within the home
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Definitions

  • the present invention relates to the field of information technology, and in particular, to a method and device for a terminal to access a digital home device. Background technique
  • UMTS Universal Mobile Telecommunications System
  • Standard UMTS services can be provided to users and connected via Digital Subscriber Line (DSL) / Internet Protocol (IP) broadband and network equipment.
  • DSL Digital Subscriber Line
  • IP Internet Protocol
  • UPF Universal Plug and Play
  • UPF extends the concept of traditional stand-alone devices and computer systems to serve as a framework, protocol, and interface standard for PC, application, and intelligent device integration.
  • the user equipment can access the macro network packet switching (PS) domain service under the Home NodeB, and the PC can access the digital home equipment through the wired network, but the terminal cannot access through the wireless network. Interoperate with digital home devices.
  • the embodiment of the invention provides a method and a device for a terminal to access a digital home device, so as to enable the terminal to access the digital home device locally or remotely through the home base station, so that the user can access and interact with the digital home device through multiple terminals locally or remotely.
  • An aspect of the present invention provides a method for a terminal to access a digital home device, including:
  • Another aspect of the present invention provides a method for a terminal to access a digital home device, including: sending an access request to a home base station;
  • the home base station sends a control command to the digital home device corresponding to the device and the service selection information, and controls the corresponding digital home.
  • the device performs the service selected by the terminal.
  • Another aspect of the present invention also provides a home base station, including:
  • a registration module for registering one or more digital home devices
  • a storage module for storing the one or more digital home devices
  • a WEB server proxy module configured to obtain an access request sent by the terminal, and return, to the terminal, device and service description information of the one or more digital home devices stored by the storage module; and acquire the terminal according to the device And equipment selection information selected by the service description information;
  • a service control management module configured to send a control command to the digital home device corresponding to the device and the service selection information, to control the corresponding digital home device to perform the service selected by the terminal.
  • Another aspect of the present invention provides a terminal, including:
  • a sending module configured to send an access request to the home base station
  • An acquiring module configured to acquire device and service description information of one or more digital home devices locally registered by the home base station returned by the home base station; And the selecting module, the device and the service selection information selected according to the device and the service description information are returned to the home base station, so that the home base station sends a control command to the digital home device corresponding to the device and the service description information, and the control corresponding The digital home device performs the service selected by the terminal.
  • FIG. 1 is a flow chart of an embodiment of a method for a terminal to access a digital home device according to the present invention
  • FIG. 2 is a flow chart of still another embodiment of a method for a terminal to access a digital home device according to the present invention
  • FIG. 3 is a flow chart of still another embodiment of a method for a terminal to access a digital home device according to the present invention.
  • FIG. 4 is a schematic structural diagram of networking of a terminal accessing a digital home device locally through a Home NodeB according to an embodiment of the present invention
  • FIG. 5 is a flowchart of another embodiment of a method for a terminal to access a digital home device according to the present invention.
  • FIG. 6 is a structural diagram of networking of a terminal remotely accessing a digital home device through a Home NodeB according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of a Home NodeB protocol stack according to an embodiment of the present invention
  • FIG. 8 is a schematic structural diagram of an embodiment of a home base station according to the present invention
  • FIG. 7 is a schematic diagram of a Home NodeB protocol stack according to an embodiment of the present invention
  • FIG. 8 is a schematic structural diagram of an embodiment of a home base station according to the present invention
  • FIG. 8 is a schematic structural diagram of an embodiment of a home base station according to the present invention.
  • FIG. 9 is a schematic structural diagram of still another embodiment of a home base station according to the present invention.
  • FIG. 10 is a schematic structural diagram of an embodiment of a terminal provided by the present invention. detailed description
  • FIG. 1 is a flow chart of an embodiment of a method for a terminal to access a digital home device according to the present invention. As shown in FIG. 1, the method includes:
  • the main body of the above steps is a home base station, and the home base station can be a Home NodeB of any wireless system, for example: Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), time division Time Division-Synchronous Code Division Multiple Access (TD-CDMA), Long Term Evolution (LTE), and wireless fidelity (WiFi).
  • WCDMA Wideband Code Division Multiple Access
  • CDMA Code Division Multiple Access
  • TD-CDMA time division Time Division-Synchronous Code Division Multiple Access
  • LTE Long Term Evolution
  • WiFi wireless fidelity
  • the terminal can be a personal computer (PC) machine, a smart phone, a personal computer (PDA), and the like.
  • Digital home devices can be numbers Home appliances, such as: air conditioners, refrigerators, washing machines, etc.; can also be digital audio or video
  • Network equipment such as: digital TV, DVD, stereo, digital camera, etc.; can also be data communication network equipment, such as: fax machines, printers, etc.
  • the terminal and the Home NodeB can be connected by using a wireless connection. Specifically, the terminal can send an access request to the Home NodeB through the PS domain, or can send an access request to the Home NodeB through the Internet.
  • the terminal and the Home NodeB can establish a connection through UPnP, or can establish a connection through other communication protocols; the Home NodeB and the digital home device can also be connected via WiFi, Bluetooth or wired.
  • the digital home device and the Home NodeB are usually connected by a protocol such as UPnP, Digital Living Network Alliance (DLNA) or Intelligent Grouping and Resource Sharing (IGRS).
  • DLNA Digital Living Network Alliance
  • IGRS Intelligent Grouping and Resource Sharing
  • the Home NodeB can discover the digital home equipment in the coverage by means of a multicast discovery message (M-Search), or the digital home device sends a proactive notification message to the Home NodeB to register with the Home NodeB.
  • M-Search multicast discovery message
  • the device and service description information of the digital home device stored locally by the Home NodeB.
  • the device and service description information may be information such as production information, model number, service function description of the digital home device, and the like.
  • the Home NodeB can provide the terminal with device and service description information of various digital home devices registered locally for the user to select through the terminal.
  • the user can select the corresponding digital home device and the corresponding service according to the demand according to the requirement, and send the digital home device access request device and the service selection information to the Home NodeB, and the Home NodeB receives the device and service selection information returned by the digital home device. And sending a control finger command to the corresponding digital home device to control the corresponding digital home device to perform the service selected by the terminal, so that the terminal controls the digital home device to perform a specific operation through the Home NodeB.
  • the method for the terminal to access the digital home device uses the home base station as a control point to implement the terminal to access the digital home device locally or remotely through the home base station, so that the user can access the digital home device locally or remotely through multiple terminals and digital home devices.
  • Interaction. 2 is a flowchart of still another embodiment of a method for a terminal to access a digital home device according to the present invention. As shown in FIG. 2, the method includes:
  • device and service selection information that is selected according to the device and the service description information, so that the home base station sends a control command to the digital home device corresponding to the device and the service selection information, and controls the corresponding The digital home device performs the service selected by the terminal.
  • the execution body of the above steps is a terminal, and specifically may be a PC, a smart phone, a PDA, or the like.
  • the home base station can be a Home NodeB of any wireless system, such as: WCDMA, CDMA, TD-CDMA, LTE, and WiFi.
  • WCDMA Wideband Code Division Multiple Access
  • CDMA Code Division Multiple Access
  • TD-CDMA Time Division Multiple Access
  • LTE Long Term Evolution
  • WiFi Wireless Fidelity
  • Digital home devices can be digital home appliances, such as: air conditioners, refrigerators, washing machines, etc.; can also be digital audio or video A/V network devices, such as: digital TV, DVD, stereo, digital cameras, etc.; can also be data communication networks Equipment, such as: fax machines, printers, etc.
  • the terminal and the Home NodeB can be connected by using a wireless connection. Specifically, the terminal can send an access request to the Home NodeB through the PS domain, or can send an access request to the Home NodeB through the Internet.
  • the terminal and the Home NodeB can establish a connection through UPnP, or can establish a connection through other communication protocols; the Home NodeB and the digital home device can also be connected via WiFi, Bluetooth or wired.
  • the digital home device and the Home NodeB are usually connected by protocols such as UPnP, DLNA or IGRS.
  • the Home NodeB can discover the digital home device in the coverage by means of the multicast discovery message, or the digital home device sends the active notification message to the Home NodeB to register with the Home NodeB.
  • Home NodeB equipment and service description information of digital home devices stored locally. These device and service description information may be information such as production information, model number, service function description of the digital home device, and the like.
  • the Home NodeB can provide the terminal with device and service description information of various digital home devices registered locally for the user to select through the terminal.
  • the user can select the corresponding digital home device and the corresponding service according to the demand according to the requirement, and send the digital home device access request device and the service selection information to the Home NodeB, and the device and service returned by the Home NodeB after receiving the digital home device access request.
  • the digital home device corresponding to the device and the service selection information is sent a control finger command to control the corresponding digital home device to perform the service selected by the terminal, so that the terminal controls the digital home device to perform a specific operation through the Home NodeB.
  • the method for the terminal to access the digital home device uses the home base station as a control point to implement the terminal to access the digital home device locally or remotely through the home base station, so that the user can access the digital home device locally or remotely through multiple terminals and digital home devices. Interaction.
  • FIG. 3 is a flowchart of still another embodiment of a method for a terminal to access a digital home device according to the present invention.
  • this embodiment provides a method for a terminal to locally access a digital home device through a Home NodeB, as shown in FIG.
  • the terminal network accesses the digital home device through the Home NodeB.
  • the terminal and the Home NodeB can use UPnP to establish a connection through 3G or WIFI, or use other communication protocols to establish a connection through 3G or WIFI.
  • Home NodeB can connect to digital home networks, digital networks, and digital home devices in data communication networks over WiFi, Bluetooth, or wired using protocols such as UPnP, DLNA, or IGRS.
  • FIG. 3 is a flowchart of still another embodiment of a method for a terminal to access a digital home device according to the present invention.
  • this embodiment provides a method for a terminal to locally access a digital home device through a Home NodeB, as shown in FIG.
  • the digital home network includes an air conditioner, a refrigerator, and a washing machine; the A/V network includes digital television, a DVD, and an audio; and the data communication network includes a PC, a printer, and a network attached storage (Network). Attached Storage; NAS) device.
  • Network Network attached Storage
  • the mapping between the domain name and the IP address may be updated by using a DDNS update (Update) message.
  • Update DDNS update
  • S301 and S302 perform the DDNS registration and update process for the Home NodeB.
  • S302 is an optional step, and the process of updating the domain name and the IP address is usually involved in remote access of the digital home device by the terminal through the Home NodeB.
  • the terminal can apply for the Home NodeB DDNS account and domain name through dyndns.org or oray.cn.
  • S303a1 Home NodeB multicast discovery message (M-Search, 239.255.255.250: 1900) to discover digital home devices.
  • the digital home device returns a response message (HTTP U 200) to the Home NodeB.
  • S303b The digital home device sends a notification (notify) message to the Home NodeB, and registers the device and the service with the Home NodeB.
  • S303a1 - S303a2 are two possible ways for the digital home device to register with the Home NodeB.
  • S303a1 - S303a2 are Home NodeB actively discovering digital home devices
  • S303b is actively registered to Home NodeB for digital home devices.
  • the Home NodeB sends a Hypertext Transfer Protocol Request (HTTP Get) message to the digital home device to obtain description information of the device and service of the digital home device.
  • HTTP Get Hypertext Transfer Protocol Request
  • the digital home device returns an HTTP Get response message (HTTP Response) to the Home NodeB, where the response message carries the description information of the device and the service.
  • HTTP Response HTTP Response
  • S304-S306 is a process for the Home NodeB to acquire and store device and service description information of the digital home device.
  • the Home NodeB can learn the Uniform Resource Identifier (URI) address of the digital home device from the Location field of the M-Search response message (HTTP U 200), and then send an HTTP Get message to the digital home device according to the URI.
  • URI Uniform Resource Identifier
  • HTTP U 200 M-Search response message
  • HTTP U 200 M-Search response message
  • the terminal requests the home NodeB to perform URL resolution of the Home NodeB.
  • the terminal only knows the URL of the Home NodeB, but the communication between the devices needs to know the IP address of the other party. Therefore, the terminal requests the Home NodeB to parse the URL of the Home NodeB.
  • the Home NodeB can resolve the URL to the corresponding IP address locally, that is, execute S308a; or, the Home NodeB can also request the DNS server of the WAN to parse the URL, that is, execute S308b.
  • S308a and S308b are two feasible solutions for parsing the URL of the Home NodeB.
  • S308a and Home NodeB obtain the URL through local parsing.
  • S308b and Home NodeB obtain the URL through the evening DNS resolution.
  • the Home NodeB returns a URL resolution response to the terminal.
  • the Home NodeB sends a first WEB page to the terminal, where the first WEB page includes a device and service description of one or more digital home devices locally registered by the Home NodeB.
  • the first WEB page may identify the device and service description information of the digital home device in the form of a form; or, the first WEB page may also carry the URL of each digital home device, and various types provided by each digital home device.
  • the URL corresponding to the service which is the Content Location URL.
  • the terminal returns a second WEB page to the Home NodeB, where the second WEB page identifies the device and service selection information selected by the terminal.
  • the Home NodeB carries the device and service description information of the digital home device in the first WEB page sent to the terminal, so that the terminal directly selects the required device on the WEB page and The service, the WEB page that identifies the device and service selection information selected by the terminal is the second WEB page.
  • the Home NodeB can also send the device information to the terminal first. After the terminal returns the selected device to the Home NodeB, the Home NodeB provides the service information corresponding to the device selected by the terminal to the terminal.
  • S312 The Home NodeB parses the device and service selection information returned by the terminal.
  • the device and service selection information may be a Simple Object Access Protocol (SOAP) command, and the Home NodeB parses the SOAP XML command.
  • SOAP Simple Object Access Protocol
  • the Home NodeB sends a control command to the digital home device corresponding to the device and the service selection information to control the corresponding digital home device to perform the service selected by the terminal.
  • the B'J Home NodeB can issue a browse command to the corresponding digital home device (browsing).
  • the terminal interacts with the digital home device through HTTP.
  • the Home NodeB may be the terminal and the corresponding digital home device.
  • the media file upload and download operations provide intermediate levels of media file transfer. That is, the terminal can download the media file through the download path of the Home NodeB, or the terminal can upload the media file through the upload path of the Home NodeB.
  • the terminal acts as a remote control device for the Home NodeB control point, and operates the digital home device through the control point.
  • the terminal can be used as a mobile digital media player to transfer media files to and from the digital media server through control points, and to play media files stored in the digital media server.
  • the digital home device acts as a service provider, and the terminal accesses the digital home device through the control point Home NodeB, which may be, for example, a digital media server (DMS), a digital media player (Digital Media Server Player; DMP) ) or devices such as Digital Media Printer (DMPr).
  • DMS digital media server
  • DMP Digital Media Player
  • DMPr Digital Media Printer
  • FIG. 5 is a flowchart of another embodiment of a method for a terminal to access a digital home device according to the present invention
  • this embodiment provides a method for a UE to remotely access a digital home device through a Home NodeB.
  • the terminal is configured to remotely access a digital home device through a Home NodeB.
  • the terminal can connect to the PS domain through 3G through UPnP, or can connect to the Internet through 3G or WIFI through other communication protocols, and then connect to the Home NodeB through the home gateway device (Home Gateway; HGS).
  • the Home NodeB can use UPnP.
  • Protocols such as DLNA or IGRS connect digital home devices in digital home networks, A/V networks, and data communication networks via WiFi, Bluetooth, or wire.
  • the home network includes air conditioners, refrigerators, and washing machines;
  • the A/V network includes digital televisions, DVDs, and stereos;
  • the data communication network includes PCs, printers, and network attached storage (Network Attached). It is understood that the network structure of the terminal to access the digital home device through the Home NodeB is not limited to the various digital home devices shown in FIG. 6 . include:
  • S501-S509 is similar to the process of S301-S309. For details, refer to the description of S301-S309, and details are not described herein again.
  • S510 The terminal accesses a URL of the Home NodeB through a Hypertext Transfer Protocol over Secure Socket Layer (HTTPS, that is, a security-oriented HTTP channel).
  • HTTPS Hypertext Transfer Protocol over Secure Socket Layer
  • the terminal accesses the Home NodeB through the internet.
  • the terminal needs to access through the HTTPS protocol based on the HyperText Transfer Protocol (HTTP) or the Secure Sockets Layer (SSL) protocol.
  • HTTP HyperText Transfer Protocol
  • SSL Secure Sockets Layer
  • the Home NodeB performs local authentication on the terminal.
  • the Home NodeB needs to perform local authentication on the remotely accessed terminal, and then perform the following process after the authentication is passed. Specifically, the Home NodeB sets a username and password to locally authenticate the terminal. 5512. The Home NodeB sends a first HTTPS message to the terminal, where the first HTTPS message carries device and service description information of one or more digital home devices locally registered by the Home NodeB.
  • the terminal returns a second HTTPS message to the Home NodeB, where the second HTTPS message carries the device and service selection information selected by the terminal.
  • the Home NodeB translates the WAN IP address of the terminal into a LAN IP address.
  • NAT Address Translation
  • HTTP redirects to access internal LAN devices.
  • the Home NodeB parses the device and service selection information returned by the terminal. S516.
  • the Home NodeB sends a control command to the digital home device corresponding to the device and the service selection information, so as to control the corresponding digital home device to perform the service selected by the terminal.
  • the terminal interacts with the digital home device through HTTP.
  • the Home NodeB may upload the media file between the terminal and the corresponding digital home device.
  • the download operation provides a transport relay of the media files. That is, the terminal can download the media file through the download path of the Home NodeB, or the terminal can upload the media file through the upload path of the Home NodeB.
  • the Home NodeB is used as a control point, and is used for implementing the discovery of the digital home device and the service thereof, and issuing a specific function to the corresponding digital home device according to the device and service selection information selected by the terminal. Control commands to control the corresponding digital home device to perform the terminal selected service.
  • the terminal acts as a remote control device for the Home NodeB control point, and operates the digital home device through the control point.
  • the terminal can be used as a mobile digital media player, and the operation of transferring media files with the digital media server through the control point, and playing the media files stored in the digital media server by the terminal.
  • the digital home device acts as a service provider, and the terminal accesses the digital home device through the control point Home NodeB.
  • the present invention also provides a new protocol stack on the Gi interface protocol stack connected to the Home NodeB, and FIG. 7 is an embodiment of the present invention.
  • a schematic diagram of the provided Home NodeB protocol stack, as shown in FIG. 7, the new protocol stack of the Home NodeB is as follows:
  • Home NodeB supports UDA v1.0 (UPnP Device Architecture) for digital home device discovery and control.
  • UDA v1.0 UnP Device Architecture
  • Home NodeB supports the Dynamic Host Configuration Protocol (DHCP) server, which is used to assign addresses to digital home devices for digital home device addressing.
  • DHCP Dynamic Host Configuration Protocol
  • Home NodeB supports the DDNS protocol, which is used to provide terminals with unique URLs for local and remote access control points.
  • Home NodeB supports WEB server, which provides local and remote control and access to digital home devices over HTTP.
  • Home NodeB supports IP address NAT translation for protocols that interact with digital home devices.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • FIG. 8 is a schematic structural diagram of an embodiment of a home base station according to the present invention.
  • the home base station includes: a registration module 11, a storage module 12, a WEB server proxy module 13, and a service control management module 14;
  • the registration module 11 is configured to register one or more digital home devices
  • the WEB server proxy module 13 is configured to obtain an access request sent by the terminal, and return, to the terminal, device and service description information of the one or more digital home devices stored by the storage module, and acquire the terminal according to the Device and service description information selected device and service selection information;
  • the service control management module 14 is configured to send a control command to the digital home device corresponding to the device and the service selection information, to control the corresponding digital home device to perform the service selected by the terminal.
  • FIG. 9 is a schematic structural diagram of another embodiment of a home base station according to the present invention.
  • the home base station includes: a registration module 11, a storage module 12, a WEB server proxy module 13, and a service control management module 14;
  • the home base station provided in this embodiment may further include:
  • the media service transmission management module 15 is configured to provide a transmission relay of the media file for the media file uploading and downloading operation between the terminal and the digital home device.
  • the registration module 11 may be specifically configured to: a multicast discovery message, where the discovery message is used by one or more digital home devices within the coverage of the home base station; or, for receiving, sent by one or more digital home devices Proactively announce messages.
  • the storage module 12 may be specifically configured to: send, to the one or more digital home devices discovered by the registration module, a request message for acquiring device and service description information, and obtain the one or more digital home devices to return to carry the device and service. A response message describing the information, and storing the device and service description information.
  • the WEB server proxy module 13 may be further configured to: obtain a home base station uniform resource locator URL resolution request sent by the terminal, locally parse the URL of the home base station, or request to parse the home base station by a server that registers the dynamic domain name service DDNS domain name a URL, and returning a parsing response to the terminal, where the parsing response includes an internet protocol IP address corresponding to a URL of the home base station.
  • the WEB server proxy module 13 may be further configured to: return a first WEB page to the terminal, where the first WEB page includes the home base station Device and service description information of one or more digital home devices registered, and acquiring a second WEB page returned by the terminal, where the device and service selection information selected by the terminal are identified in the second WEB page.
  • the WEB server proxy module 13 may be further configured to: return a first hypertext transfer protocol secure HTTPS message to the terminal, where the first HTTPS message carries the one or more digital home devices locally registered by the home base station The device and the service description information, and the second HTTPS message returned by the terminal is obtained, where the second HTTPS message carries the device and service selection information selected by the terminal.
  • the WEB server proxy module 13 can also be used to: authenticate the terminal.
  • the home base station provided in this embodiment is a functional device for implementing the method for the terminal to access the digital home device provided by the present invention.
  • the specific implementation process refer to the method embodiment, and details are not described herein again.
  • the home base station uses the home base station as a control point to enable the terminal to access the digital home device locally or remotely through the home base station, so that the user can access and interact with the digital home device through multiple terminals locally or remotely.
  • FIG. 10 is a schematic structural diagram of an embodiment of a terminal provided by the present invention. As shown in FIG. 10, the method includes: a sending module 21, an obtaining module 22, and a selecting module 23;
  • the sending module 21 is configured to send an access request to the home base station
  • the obtaining module 22 is configured to acquire device and service description information of one or more digital home devices locally registered by the home base station returned by the home base station;
  • the selecting module 23 returns, to the home base station, device and service selection information selected according to the device and service description information, so that the home base station sends a control command to the digital home device corresponding to the device and the service description information, and controls The corresponding digital home device performs the service selected by the terminal.
  • sending module 21 can also be used to:
  • the obtaining module 22 may be specifically configured to: obtain a first WEB page returned by the home base station, where the first WEB page includes device and service description information of one or more digital home devices locally registered by the home base station.
  • the selecting module 23 may be specifically configured to: return a second WEB page to the home base station, where the second WEB page identifies the device and service selection information selected by the terminal.
  • the obtaining module 22 is further configured to: obtain the first hypertext transfer protocol secure HTTPS message returned by the home base station, where the first HTTPS message carries the one or more digital home devices locally registered by the home base station Device and service description information.
  • the selecting module 23 may be specifically configured to: return a second HTTPS message to the home base station, where the second HTTPS message carries the device and service selection information selected by the terminal.
  • the terminal provided in this embodiment is a functional device for implementing the method for the terminal to access the digital home device provided by the present invention.
  • the terminal provided in this embodiment is a functional device for implementing the method for the terminal to access the digital home device provided by the present invention.
  • the terminal provided in this embodiment uses the home base station as a control point to enable the terminal to access the digital home device locally or remotely through the home base station, so that the user can access and interact with the digital home device through multiple terminals locally or remotely.

Description

终端访问数字家庭设备的方法和设备
技术领域
本发明涉及信息技术领域, 特别涉及一种终端访问数字家庭设备的方法 和设备。 背景技术
家庭基站(Home NodeB )是一种全新的通用移动通讯系统(Universal Mobile Telecommunications System; UMTS ) 的无线接入点。 可以向用户 提供标准的 UMTS服务,并通过数字用户线路( Digital Subscriber Line; DSL ) /互联网协议( Internet Protocol; IP )宽带和网络设备相连。 通用即插即用技 术( Universal Plug and Play; UPnP )扩展了传统单机的设备和计算机系统 的概念, 可以作为个人电脑、 应用程序、 智能设备集成工作所必需的框架、 协议和接口标准。
现有技术中, 用户设备 ( User Equipment; UE )可以在 Home NodeB 下访问宏网络分组交换(Packet Switched; PS )域业务, PC机可以通过有 线网络访问数字家庭设备, 但终端无法通过无线网络访问与数字家庭设备互 操作。 发明内容
本发明实施例提供了一种终端访问数字家庭设备的方法和设备, 以实现 终端通过家庭基站本地或远程访问数字家庭设备, 方便用户在本地或远程通 过多种终端与数字家庭设备进行访问交互。
本发明一方面提供一种终端访问数字家庭设备的方法, 包括:
获取终端发送的访问请求;
向所述终端返回本地注册的一个或多个数字家庭设备的设备和服务描述 信息;
获取所述终端根据所述设备和服务描述信息选择的设备及服务选择信 自 ·
向所述设备及服务选择信息对应的数字家庭设备发送控制命令, 以控制 对应的数字家庭设备执行所述终端选择的服务。
本发明另一方面提供一种终端访问数字家庭设备的方法, 包括: 向家庭基站发送访问请求;
获取所述家庭基站返回的所述家庭基站本地注册的一个或多个数字家庭 设备的设备和服务描述信息;
向所述家庭基站返回根据所述设备和服务描述信息选择的设备及服务选 择信息, 以使所述家庭基站向所述设备及服务选择信息对应的数字家庭设备 发送控制命令, 控制对应的数字家庭设备执行所述终端选择的服务。
本发明另一方面还提供一种家庭基站, 包括:
注册模块, 用于注册一个或多个数字家庭设备;
存储模块, 用于存储所述一个或多个数字家庭设备的设备和服务描述信
WEB服务器代理模块, 用于获取终端发送的访问请求, 向所述终端返回 所述存储模块存储的所述一个或多个数字家庭设备的设备和服务描述信息; 以及获取所述终端根据所述设备和服务描述信息选择的设备及服务选择信 息;
服务控制管理模块, 用于向所述设备及服务选择信息对应的数字家庭设 备发送控制命令, 以控制对应的数字家庭设备执行所述终端选择的服务。
本发明另一方面还提供一种终端, 包括:
发送模块, 用于向家庭基站发送访问请求;
获取模块, 用于获取所述家庭基站返回的所述家庭基站本地注册的一个 或多个数字家庭设备的设备和服务描述信息; 选择模块, 向所述家庭基站返回根据所述设备和服务描述信息选择的设 备及服务选择信息, 以使所述家庭基站向所述设备和服务描述信息对应的数 字家庭设备发送控制命令, 控制对应的数字家庭设备执行所述终端选择的服 务。
本发明实施例提供的终端访问数字家庭设备的方法和设备, 将家庭基站 作为控制点, 实现终端通过家庭基站本地或远程访问数字家庭设备, 方便用 户在本地或远程通过多种终端与数字家庭设备进行访问交互。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1 为本发明提供的终端访问数字家庭设备的方法一个实施例的流程 图;
图 2为本发明提供的终端访问数字家庭设备的方法又一个实施例的流程 图;
图 3为本发明提供的终端访问数字家庭设备的方法又一个实施例的流程 图;
图 4为本发明实施例提供的终端通过 Home NodeB本地访问数字家庭设 备的组网结构示意图;
图 5 为本发明提供的终端访问数字家庭设备的方法另一个实施例的流 程;
图 6为本发明实施例提供的终端通过 Home NodeB远程访问数字家庭设 备的组网结构图;
图 7为本发明实施例提供的 Home NodeB协议栈的示意图; 图 8为本发明提供的家庭基站一个实施例的结构示意图;
图 9为本发明提供的家庭基站又一个实施例的结构示意图;
图 10为本发明提供的终端一个实施例的结构示意图。 具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做 出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
图 1 为本发明提供的终端访问数字家庭设备的方法一个实施例的流程 图, 如图 1所示, 该方法包括:
5101、 获取终端发送的访问请求;
5102、 向所述终端返回本地注册的一个或多个数字家庭设备的设备和服 务描述信息;
S103、 获取所述终端根据所述设备和服务描述信息选择的设备及服务选 择信息;
S 104、 向所述设备及服务选择信息对应的数字家庭设备发送控制命令, 以控制对应的数字家庭设备执行所述终端选择的服务。
以上步骤的执行主体为家庭基站, 该家庭基站可以为任何无线制式的 Home NodeB , 例如: 宽带码多分址 ( Wideband Code Division Multiple Access; WCDMA ), 码多分址( Code Division Multiple Access; CDMA ), 时分码多分址 ( Time Division-Synchronous Code Division Multiple Access; TD-CDMA ),长期演进( Long Term Evolution; LTE )以及无线保真( wireless fidelity; WiFi )等。
终端可以为个人电脑 (Personal Computer; PC )机、 智能手机、 掌上 电脑(Personal Digital Assistant; PDA )等设备。 数字家庭设备可以是数字 家电设备, 例如: 空调、 冰箱、 洗衣机等; 还可以是数字音频或视频
( Audio/Video; A/V ) 网络设备, 例如: 数字电视、 DVD、 音响、 数码相机 等; 还可以是数据通信网络设备, 例如: 传真机、 打印机等。
终端与 Home NodeB可以通过无线连接, 具体是: 终端可以通过 PS域 向 Home NodeB发出访问请求, 也可以通过 internet向 Home NodeB发出 访问请求。终端和 Home NodeB可以通过 UPnP建立连接, 也可以通过其他 通信协议建立连接; Home NodeB与数字家庭设备之间还可以通过 WiFi、 蓝 牙或有线方式连接。 数字家庭设备和 Home NodeB之间通常通过 UPnP、 数 字家庭网络联盟 ( Digital Living Network Alliance; DLNA )或者信息设备资 源共享协同服务( Intelligent Grouping and Resource Sharing; IGRS )等协议连接。
Home NodeB可以通过组播发现消息( M-Search )的方式发现覆盖范围 内的数字家庭设备,或者是数字家庭设备向 Home NodeB发送主动通告消息 注册到 Home NodeB。 Home NodeB在本地存储的数字家庭设备的设备和服 务描述信息, 这些设备和服务描述信息可以为数字家庭设备的生产信息、 型 号、 提供的服务功能描述等信息。
当终端在本地或者远程访问 Home NodeB时, Home NodeB可以为终 端提供本地注册的各种数字家庭设备的设备和服务描述信息,以供用户 通过 终端进行选择。 用户可以根据需求通过终端根据需求选择相应的数字家庭设 备以及对应的服务,并向 Home NodeB发送数字家庭设备访问请求设备及服 务选择信息, Home NodeB接收到数字家庭设备返回的设备及服务选择信息 后, 向对应的数字家庭设备发送控制指命令, 以控制对应的数字家庭设备执 行终端选择的服务,从而实现终端通过 Home NodeB控制数字家庭设备执行 特定操作。
本发明实施例提供的终端访问数字家庭设备的方法, 将家庭基站作为控 制点, 实现终端通过家庭基站本地或远程访问数字家庭设备, 方便用户在本 地或远程通过多种终端与数字家庭设备进行访问交互。 图 2为本发明提供的终端访问数字家庭设备的方法又一个实施例的流程 图, 如图 2所示, 该方法包括:
5201、 向家庭基站发送访问请求;
5202、 获取所述家庭基站返回的所述家庭基站本地注册的一个或多个数 字家庭设备的设备和服务描述信息;
5203、 向所述家庭基站返回根据所述设备和服务描述信息选择的设备及 服务选择信息, 以使所述家庭基站向所述设备及服务选择信息对应的数字家 庭设备发送控制命令, 控制对应的数字家庭设备执行所述终端选择的服务。
以上步骤的执行主体为终端, 具体可以为 PC机、 智能手机、 PDA等设 备。
该家庭基站可以为任何无线制式的 Home NodeB, 例如: WCDMA, CDMA, TD-CDMA, LTE以及 WiFi等。
数字家庭设备可以是数字家电设备, 例如: 空调、 冰箱、 洗衣机等; 还 可以是数字音频或视频 A/V网络设备, 例如: 数字电视、 DVD、 音响、 数码 相机等; 还可以是数据通信网络设备, 例如: 传真机、 打印机等。
终端与 Home NodeB可以通过无线连接, 具体是: 终端可以通过 PS域 向 Home NodeB发出访问请求, 也可以通过 internet向 Home NodeB发出 访问请求。终端和 Home NodeB可以通过 UPnP建立连接, 也可以通过其他 通信协议建立连接; Home NodeB与数字家庭设备之间还可以通过 WiFi、 蓝 牙或有线方式连接。 数字家庭设备和 Home NodeB之间通常通过 UPnP、 DLNA或者 IGRS等协议连接。
Home NodeB可以通过组播发现消息的方式发现覆盖范围内的数字家庭 设备, 或者是数字家庭设备向 Home NodeB发送主动通告消息注册到 Home NodeB。 Home NodeB在本地存储的数字家庭设备的设备和服务描述信息, 这些设备和服务描述信息可以为数字家庭设备的生产信息、 型号、 提供的服 务功能描述等信息。 当终端在本地或者远程访问 Home NodeB时, Home NodeB可以为终 端提供本地注册的各种数字家庭设备的设备和服务描述信息,以供用户 通过 终端进行选择。 用户可以根据需求通过终端根据需求选择相应的数字家庭设 备以及对应的服务,并向 Home NodeB发送数字家庭设备访问请求设备及服 务选择信息, Home NodeB接收到数字家庭设备访问请求后返回的设备及服 务选择信息后, 向所述设备及服务选择信息对应的数字家庭设备发送控制指 命令, 以控制对应的数字家庭设备执行终端选择的服务, 从而实现终端通过 Home NodeB控制数字家庭设备执行特定操作。
本发明实施例提供的终端访问数字家庭设备的方法, 将家庭基站作为控 制点, 实现终端通过家庭基站本地或远程访问数字家庭设备, 方便用户在本 地或远程通过多种终端与数字家庭设备进行访问交互。
图 3为本发明提供的终端访问数字家庭设备的方法又一个实施例的流程 图, 如图 3所示, 本实施例提供了终端通过 Home NodeB本地访问数字家庭 设备的方法,参见图 4所示的终端通过 Home NodeB本地访问数字家庭设备 的组网结构示意图, 图 4中,终端和 Home NodeB之间可以采用 UPnP通过 3G或 WIFI建立连接, 也可以采用其他通信协议通过 3G或 WIFI建立连接。 Home NodeB可以采用 UPnP、 DLNA或者 IGRS等协议, 通过 WiFi、 蓝牙 或有线方式连接数字家庭网络、 刚 网络和数据通信网络中的各个数字家庭 设备。 图 4所示的组网结构示意图中, 数字家庭网络中包括空调、 冰箱和洗 衣机; A/V网络中包括数字电视、 DVD和音响; 数据通信网络中包括 PC机、 打印机和网络附属存储(Network Attached Storage; NAS )设备。 可以理解 的是,本实施例提供的终端通过 Home NodeB本地访问数字家庭设备的组网 结构并不局限于图 4所示的各种数字家庭设备, 图 4所示的数字家庭设备并 不对本发明造成限制。
本实施例提供的方法具体包括:
S301、 Home NodeB 进行动态 i或名月良务 ( Dynamic Domain Name Server; DDNS )域名注册。
S302、 如果 Home NodeB发现外网地址改变, 则可通过 DDNS 更新 ( Update ) 消息更新域名和 IP地址的映射关系。
S301和 S302为 Home NodeB进行 DDNS注册和更新流程。其中, S302 为可选步骤, 域名和 IP地址更新的过程通常在终端通过 Home NodeB远程 访问数字家庭设备中涉及。终端可以通过 dyndns.org或者 oray.cn申请 Home NodeB的 DDNS账户和域名。
S303a1、 Home NodeB组播发现消息 (M-Search, 239.255.255.250: 1900 )来发现数字家庭设备。
S303a2、 数字家庭设备向 Home NodeB返回响应消息( HTTP U 200 )。
S303b、 数字家庭设备向 Home NodeB发送主动通告(notify ) 消息, 向 Home NodeB注册设备和服务。
S303a1 -S303a2, 与 S303b为数字家庭设备注册到 Home NodeB的两 种可行方式。 其中, S303a1 -S303a2为 Home NodeB主动发现数字家庭设 备, S303b为数字家庭设备主动注册到 Home NodeB上。
5304、 Home NodeB向数字家庭设备发送超文本传输协议请求(HTTP Get ) 消息, 用以获取数字家庭设备的设备和服务的描述信息。
5305、数字家庭设备向 Home NodeB返回 HTTP Get的响应消息( HTTP Response ), 该响应消息中携带设备和服务的描述信息。
S306、 Home NodeB存储设备和服务的描述信息。
S304-S306为 Home NodeB获取和存储数字家庭设备的设备和服务描 述信息的过程。 Home NodeB可以从 M-Search的响应消息 ( HTTP U 200 ) 的 Location字段中获知数字家庭设备的统一资源标识符( Uniform Resource Identifier; URI )地址, 然后根据该 URI向数字家庭设备发送 HTTP Get消 息, 以获取并存储数字家庭设备的设备和服务的描述信息, 该设备和服务的 描述信息可以以通用唯一识别码( Universally Unique Identifier; UUID )、 设 备和服务模板可扩展标记语言 ( Extensible Markup Language; XML )描述 等形式表示。
S307、 终端向 Home NodeB请求 Home NodeB的 URL解析。
终端仅知道 Home NodeB的 URL, 但设备之间通信需要获知对方的 IP地 址, 因此,终端向 Home NodeB请求解析 Home NodeB的 URL。 Home NodeB 可以在本地将 URL解析为对应的 IP地址, 即执行 S308a; 或者, Home NodeB 还可以向广域网的 DNS服务器请求解析该 URL , 即执行 S308b。 S308a与 S308b为解析 Home NodeB的 URL的两种可行方案。
S308a、 Home NodeB通过本地解析获取 URL。
S308b、 Home NodeB通过夕卜部 DNS解析获取 URL。
5309、 Home NodeB向终端返回 URL解析响应。
5310、 Home NodeB向终端发送第一 WEB页面, 该第一 WEB页面中包 括 Home NodeB本地注册的一个或多个数字家庭设备的设备和服务描述信 自
其中, 第一 WEB页面中可以以表单的形式标识数字家庭设备的设备和服 务描述信息; 或者, 第一 WEB页面中还可以携带各数字家庭设备的 URL, 以 及每个数字家庭设备提供的各种服务对应的 URL, 即 Content Location URL。
531 1、 终端向 Home NodeB返回第二 WEB页面, 该第二 WEB页面中标 识了终端选择的设备及服务选择信息。
本实施例中,在 S310和 S311中, Home NodeB在发送给终端的第一 WEB 页面中携带数字家庭设备的设备和服务描述信息, 以供终端直接在该 WEB页 面上选择所需的设备及其服务, 标识了终端选择的设备及服务选择信息的 WEB页面为第二 WEB页面。
可以理解的是, Home NodeB还可以先把设备信息发送给终端, 待终端 向 Home NodeB返回选择的设备后, Home NodeB再将终端所选择的设备对 应的服务信息提供给终端。 S312、 Home NodeB对终端返回的设备及服务选择信息进行解析; 该设备及服务选择信息可以是一个简单对象访问协议(Simple Object Access Protocol; SOAP )命令, Home NodeB对该 SOAP的 XML命令进行 解析。
S313、 Home NodeB向设备及服务的选择信息对应的数字家庭设备发出 控制命令, 以控制对应的数字家庭设备执行终端选择的服务。
例如:如果终端选择的服务是浏览数字家庭设备中存储的某一媒体文件, 贝' J Home NodeB可以向对应的数字家庭设备下达浏览命令 ( browse ) 。
S314、 终端通过 HTTP与数字家庭设备进行交互。
需要说明的是, 如果 S313 中终端选择的服务为向数字家庭设备上传一 媒体文件, 或者是从数字家庭设备上下载一媒体文件, 则 S314 中, Home NodeB可以为终端和对应的数字家庭设备之间的媒体文件上传和下载操作提 供媒体文件的传输中级。 即, 终端可以通过 Home NodeB的下载路径下载媒 体文件, 或者, 终端可以通过 Home NodeB的上传路径进行上传媒体文件。
本实施例提供的终端本地访问数字家庭设备的方法, Home NodeB作为 控制点, 用于实现发现数字家庭设备及其服务, 根据终端选择的设备及服务 选择信息, 向对应的数字家庭设备发出特定功能的控制命令, 来控制对应的 数字家庭设备执行终端选择的服务。 终端作为 Home NodeB控制点的遥控器 设备, 通过控制点实现对数字家庭设备进行操作。 例如: 终端可作为移动数 字媒体播放器, 通过控制点实现与数字媒体服务器之间传输媒体文件, 以及 终端播放数字媒体服务器中存储的媒体文件等操作。 数字家庭设备作为服务 提供者, 终端通过控制点 Home NodeB对数字家庭设备进行访问, 数字家庭 设备可以为例如: 数字媒体服务器 (Digital Media Server; DMS ) 、 数字 媒体播放器( Digital Media Server Player; DMP )或者数字媒体打印机( Digital Media Printer; DMPr )等设备。
图 5为本发明提供的终端访问数字家庭设备的方法另一个实施例的流程 图, 如图 5所示, 本实施例提供了 UE通过 Home NodeB远程访问数字家庭设 备的方法,参见图 6所示的终端通过 Home NodeB远程访问数字家庭设备的组 网结构图。 图 6中, 终端可以采用 UPnP通过 3G连接至 PS域, 也可以采用其 他通信协议通过 3G或 WIFI连接至 Internet, 再通过家庭网关设备 ( Home Gateway; HGS )连接至 Home NodeB, Home NodeB可以采用 UPnP、 DLNA 或者 IGRS等协议, 通过 WiFi、 蓝牙或有线方式连接数字家庭网络、 A/V网络 和数据通信网络中的各个数字家庭设备。 图 6所示的组网结构示意图中, 家庭 网络中包括空调、 冰箱和洗衣机; A/V网络中包括数字电视、 DVD和音响; 数据通信网络中包括 PC机、 打印机和网络附属存储 (Network Attached Storage; NAS 殳备。可以理解的是,本实施例提供的终端通过 Home NodeB 本地访问数字家庭设备的组网结构并不局限于图 6所示的各种数字家庭设备 本实施例提供的方法具体包括:
S501-S509与 S301-S309的过程相类似,详细可参见 S301 -S309的描述, 在此不再赘述。
S510、 终端通过超文本传输协议安全消息( Hypertext Transfer Protocol over Secure Socket Layer ; HTTPS, 即以安全为目标的 HTTP通道)访问 Home NodeB的 URL。
在远程访问中, 终端通过 internet访问 Home NodeB, 这种情况下, 终端 需要通过基于超文本传输协议 ( HyperText Transfer Protocol; HTTP )或安 全套接层( Secure Sockets Layer ; SSL )协议之上的 HTTPS协议访问 Home NodeB的 URL。
S51 1、 Home NodeB对终端进行本地认证。
考虑到安全性问题, Home NodeB需要对远程访问的终端进行本地认证, 认证通过后再执行下面的流程。 具体可以是 Home NodeB设置用户名和密码 对终端进行本地认证。 5512、 Home NodeB向终端发送第一 HTTPS消息, 该第一 HTTPS消息 中携带 Home NodeB本地注册的一个或多个数字家庭设备的设备和服务描述 信息。
5513、 终端向 Home NodeB返回第二 HTTPS消息, 该第二 HTTPS消息 中携带终端选择的设备及服务选择信息。
5514、 Home NodeB将终端的广域网 IP地址转换为局域网 IP地址。
Home NodeB中继终端的第二 HTTPS消息,通过网络地址转换( Network
Address Translation; NAT )和 HTTP重定向来访问内局域网设备。
5515、 Home NodeB对终端返回的设备及服务选择信息进行解析; S516、 Home NodeB向设备及服务的选择信息对应的数字家庭设备发出 控制命令, 以控制对应的数字家庭设备执行终端选择的服务;
S517、 终端通过 HTTP与数字家庭设备进行交互。
需要说明的是,如果终端选择的服务为向数字家庭设备上传一媒体文件, 或者是从数字家庭设备上下载一媒体文件, 则 Home NodeB可以为终端和对 应的数字家庭设备之间的媒体文件上传和下载操作提供媒体文件的传输中 继。 即, 终端可以通过 Home NodeB的下载路径下载媒体文件, 或者, 终端 可以通过 Home NodeB的上传路径进行上传媒体文件。
本实施例提供的终端远程访问数字家庭设备的方法, Home NodeB作为 控制点, 用于实现发现数字家庭设备及其服务, 根据终端选择的设备及服务 选择信息, 向对应的数字家庭设备发出特定功能的控制命令, 来控制对应的 数字家庭设备执行终端选择的服务。 终端作为 Home NodeB控制点的遥控器 设备, 通过控制点实现对数字家庭设备进行操作。 例如: 终端可作为移动数 字媒体播放器, 通过控制点实现与数字媒体服务器之间传输媒体文件, 以及 终端播放数字媒体服务器中存储的媒体文件等操作。 数字家庭设备作为服务 提供者, 终端通过控制点 Home NodeB对数字家庭设备进行访问。 针对于本发明实施例提供的终端通过 Home NodeB本地或远程访问数字 家庭设备的方法, 本发明还提供了终端与 Home NodeB连接的 Gi口协议栈上 新增协议栈, 图 7为本发明实施例提供的 Home NodeB协议栈的示意图, 如图 7所示, Home NodeB新增协议栈具体如下:
Home NodeB支持 UDA v1.0 ( UPnP Device Architecture ) , 用于实现 数字家庭设备的发现和控制等。
Home NodeB支持动态主机设置协议 ( Dynamic Host Configuration Protocol; DHCP )服务器, 用于给数字家庭设备分配地址, 实现数字家庭设 备寻址。
Home NodeB支持 DDNS协议, 用于为终端提供本地和远程访问控制点 唯一的 URL。
Home NodeB支持 WEB月良务器, 通过 HTTP向终端提供对数字家庭设备 本地和远程控制和访问。
Home NodeB 支持对终端与数字家庭设备进行交互的协议的 IP 地址 NAT转换。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流 程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存储于 计算机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的实施例 的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体( Read-Only Memory, ROM )或随机存储记忆体 ( Random Access Memory, RAM )等。
图 8为本发明提供的家庭基站一个实施例的结构示意图, 如图 8所示, 该家庭基站包括: 注册模块 11、 存储模块 12、 WEB服务器代理模块 13和 服务控制管理模块 14;
其中, 注册模块 11 , 用于注册一个或多个数字家庭设备;
存储模块 12 , 用于存储所述一个或多个数字家庭设备的设备和服务描述 信息; WEB服务器代理模块 13, 用于获取终端发送的访问请求, 向所述终端返 回所述存储模块存储的所述一个或多个数字家庭设备的设备和服务描述信 息; 以及获取所述终端根据所述设备和服务描述信息选择的设备及服务选择 信息;
服务控制管理模块 14, 用于向所述设备及服务选择信息对应的数字家庭 设备发送控制命令, 以控制对应的数字家庭设备执行所述终端选择的服务。
图 9为本发明提供的家庭基站又一个实施例的结构示意图, 如图 9所示, 该家庭基站包括: 注册模块 11、 存储模块 12、 WEB服务器代理模块 13和服务 控制管理模块 14;
进一步的, 本实施例提供的家庭基站还可以包括:
媒体服务传输管理模块 15, 用于为所述终端和数字家庭设备之间的媒体 文件上传和下载操作, 提供媒体文件的传输中继。
进一步的, 注册模块 11可以具体用于: 组播发现消息, 所述发现消息用 于家庭基站覆盖范围内的一个或多个数字家庭设备; 或者, 用于接收一个或 多个数字家庭设备发送的主动通告消息。
存储模块 12可以具体用于:向所述注册模块发现的一个或多个数字家庭 设备发送获取设备和服务描述信息的请求消息, 获取所述一个或多个数字家 庭设备返回携带所述设备和服务描述信息的响应消息, 以及存储所述设备和 服务描述信息。
WEB服务器代理模块 13还可以用于: 获取终端发送的家庭基站统一资 源定位符 URL解析请求, 本地解析所述家庭基站的 URL, 或者向注册动态 域名服务 DDNS域名的服务器请求解析所述家庭基站的 URL,以及向所述终 端返回解析响应,所述解析响应中包括所述家庭基站的 URL对应的互联网协 议 IP地址。
作为一种可行的实施方式, WEB服务器代理模块 13还可以具体用于: 向所述终端返回第一 WEB页面,所述第一 WEB页面中包含所述家庭基站本 地注册的一个或多个数字家庭设备的设备和服务描述信息, 并获取所述终端 返回的第二 WEB页面,所述第二 WEB页面中标识所述终端选择的设备及服 务选择信息。
WEB服务器代理模块 13还可以具体用于: 向所述终端返回第一超文本 传输协议安全 HTTPS消息,所述第一 HTTPS消息中携带所述家庭基站本地 注册的所述一个或多个数字家庭设备的设备和服务描述信息, 并获取所述终 端返回的第二 HTTPS消息,所述第二 HTTPS消息中携带所述终端选择的设 备及服务选择信息。
WEB服务器代理模块 13还可以用于: 对所述终端进行认证。
本实施例提供的家庭基站, 为实现本发明提供的终端访问数字家庭设备 的方法的功能设备, 其具体实现过程可参见方法实施例, 在此不再赘述。
本实施例提供的家庭基站, 将家庭基站作为控制点, 实现终端通过家庭 基站本地或远程访问数字家庭设备, 方便用户在本地或远程通过多种终端与 数字家庭设备进行访问交互。
图 10为本发明提供的终端一个实施例的结构示意图, 如图 10所示, 包 括: 发送模块 21、 获取模块 22和选择模块 23;
发送模块 21 , 用于向家庭基站发送访问请求;
获取模块 22, 用于获取所述家庭基站返回的所述家庭基站本地注册的一 个或多个数字家庭设备的设备和服务描述信息;
选择模块 23, 向所述家庭基站返回根据所述设备和服务描述信息选择的 设备及服务选择信息, 以使所述家庭基站向所述设备和服务描述信息对应的 数字家庭设备发送控制命令, 控制对应的数字家庭设备执行所述终端选择的 服务。
进一步的, 发送模块 21还可以用于:
向所述家庭基站发送家庭基站统一资源定位符 URL解析请求,以使所述 家庭基站返回所述家庭基站 URL对应的互联网协议 IP地址。 获取模块 22可以具体用于: 获取所述家庭基站返回的第一 WEB页面, 所述第一 WEB 页面中包含所述家庭基站本地注册的一个或多个数字家庭设 备的设备和服务描述信息。
选择模块 23可以具体用于: 向所述家庭基站返回第二 WEB页面, 所述 第二 WEB页面中标识所述终端选择的设备及服务选择信息。
获取模块 22还可以具体用于:获取所述家庭基站返回的第一超文本传输 协议安全 HTTPS消息,所述第一 HTTPS消息中携带所述家庭基站本地注册 的所述一个或多个数字家庭设备的设备和服务描述信息。
选择模块 23可以具体用于: 向所述家庭基站返回第二 HTTPS消息, 所 述第二 HTTPS消息中携带所述终端选择的设备及服务选择信息。
本实施例提供的终端, 为实现本发明提供的终端访问数字家庭设备的方 法的功能设备, 其具体实现过程可参见方法实施例, 在此不再赘述。
本实施例提供的终端, 以家庭基站作为控制点, 实现终端通过家庭基站 本地或远程访问数字家庭设备, 方便用户在本地或远程通过多种终端与数字 家庭设备进行访问交互。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或 者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技 术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims

权 利 要求
1、 一种终端访问数字家庭设备的方法, 其特征在于, 包括:
获取终端发送的访问请求;
向所述终端返回本地注册的一个或多个数字家庭设备的设备和服务描述 信息;
获取所述终端根据所述设备和服务描述信息选择的设备及服务选择信 自 ·
向所述设备及服务选择信息对应的数字家庭设备发送控制命令, 以控制 对应的数字家庭设备执行所述终端选择的服务。
2、 根据权利要求 1所述的方法, 其特征在于, 若所述设备及服务选择信 息指示所述终端选择媒体文件上传或下载服务, 则所述向所述设备及服务选 择信息对应的数字家庭设备发送控制命令之后, 还包括:
为所述终端和对应的数字家庭设备之间的媒体文件上传和下载操作, 提 供媒体文件的传输中继。
3、根据权利要求 1或 2所述的方法, 其特征在于, 所述获取终端发送的 访问请求之前, 还包括:
组播发现消息, 所述发现消息用于发现家庭基站覆盖范围内的一个或多 个数字家庭设备;
或者, 接收一个或多个数字家庭设备发送的主动通告消息, 以发现所述 家庭基站覆盖范围内的数字家庭设备。
4、 根据权利要求 3 所述的方法, 其特征在于, 所述获取终端发送的访 问请求之前, 还包括:
向发现的一个或多个数字家庭设备发送获取设备和服务描述信息的请求 消息;
获取所述一个或多个数字家庭设备返回的携带所述数字家庭设备的设备 和服务描述信息的响应消息; 存储所述设备和服务描述信息进行。
5、根据权利要求 1或 2所述的方法, 其特征在于, 所述获取终端发送的 访问请求之前, 还包括:
获取所述终端发送的家庭基站统一资源定位符 URL解析请求; 本地解析所述家庭基站的 URL,或者向注册动态域名服务 DDNS域名的 服务器请求解析所述家庭基站的 URL;
向所述终端返回解析响应,所述解析响应中包括所述家庭基站 URL对应 的互联网协议 IP地址。
6、根据权利要求 1或 2所述的方法, 其特征在于, 所述向所述终端返回 本地注册的一个或多个数字家庭设备的设备和服务描述信息, 具体为:
向所述终端返回第一 WEB页面,所述第一 WEB页面中包含本地注册的 一个或多个数字家庭设备的设备和服务描述信息;
所述获取所述终端根据所述设备和服务描述信息选择的设备及服务选择 信息, 具体为:
获取所述终端返回的第二 WEB页面,所述第二 WEB页面中标识所述终 端选择的设备及服务选择信息。
7、根据权利要求 1或 2所述的方法, 其特征在于, 所述向所述终端返回 本地注册的一个或多个数字家庭设备的设备和服务描述信息, 具体为:
向所述终端返回第一超文本传输协议安全 HTTPS 消息, 所述第一 HTTPS 消息中携带本地注册的一个或多个数字家庭设备的设备和服务描述 信息;
所述获取所述终端根据所述设备和服务描述信息选择的设备及服务选择 信息, 具体为:
获取所述终端返回的第二 HTTPS消息,所述第二 HTTPS消息中携带所 述终端选择的设备及服务选择信息。
8、 根据权利要求 1所述的方法, 其特征在于, 在获取所述终端远程发出 的访问请求之后, 还包括:
对所述终端进行认证。
9、 一种终端访问数字家庭设备的方法, 其特征在于, 包括:
向家庭基站发送访问请求;
获取所述家庭基站返回的所述家庭基站本地注册的一个或多个数字家庭 设备的设备和服务描述信息;
向所述家庭基站返回根据所述设备和服务描述信息选择的设备及服务选 择信息, 以使所述家庭基站向所述设备及服务选择信息对应的数字家庭设备 发送控制命令, 控制对应的数字家庭设备执行所述终端选择的服务。
10、 根据权利要求 9所述的终端, 其特征在于, 所述向家庭基站发送访 问请求之前, 还包括:
向所述家庭基站发送家庭基站统一资源定位符 URL解析请求,以使所述 家庭基站返回所述家庭基站 URL对应的互联网协议 IP地址。
11、根据权利要求 9或 10所述的方法, 其特征在于, 所述获取所述家庭 基站返回的所述家庭基站本地注册的一个或多个数字家庭设备的设备和服务 描述信息, 具体为:
获取所述家庭基站返回的第一 WEB页面,所述第一 WEB页面中包含所 述家庭基站本地注册的一个或多个数字家庭设备的设备和服务描述信息; 所述向所述家庭基站返回根据所述设备和服务描述信息选择的设备及服 务选择信息, 具体为:
向所述家庭基站返回第二 WEB页面,所述第二 WEB页面中标识所述终 端选择的设备及服务选择信息。
12、 根据权利要求 9或 10所述的方法, 其特征在于, 所述获取所述家 庭基站返回的所述家庭基站本地注册的一个或多个数字家庭设备的设备和服 务描述信息, 具体为:
获取所述家庭基站返回的第一超文本传输协议安全 HTTPS 消息, 所述 第一 HTTPS 消息中携带所述家庭基站本地注册的一个或多个数字家庭设备 的设备和服务描述信息;
所述向所述家庭基站返回根据所述设备和服务描述信息选择的设备及服 务选择信息, 具体为:
向所述家庭基站返回第二 HTTPS消息,所述第二 HTTPS消息中携带所 述终端选择的设备及服务选择信息。
13、 一种家庭基站, 其特征在于, 包括:
注册模块, 用于注册一个或多个数字家庭设备;
存储模块, 用于存储所述一个或多个数字家庭设备的设备和服务描述信 息;
WEB服务器代理模块, 用于获取终端发送的访问请求, 向所述终端返回 所述存储模块存储的所述一个或多个数字家庭设备的设备和服务描述信息; 以及获取所述终端根据所述设备和服务描述信息选择的设备及服务选择信 自 ·
服务控制管理模块, 用于向所述设备及服务选择信息对应的数字家庭设 备发送控制命令, 以控制对应的数字家庭设备执行所述终端选择的服务。
14、 根据权利要求 13所述的家庭基站, 其特征在于, 还包括: 媒体服务传输管理模块, 用于为所述终端和对应的数字家庭设备之间的 媒体文件上传和下载操作, 提供媒体文件的传输中继。
15、 根据权利要求 13或 14所述的家庭基站, 其特征在于, 所述注册模 块具体用于: 组播发现消息, 所述发现消息用于家庭基站覆盖范围内的一个 或多个数字家庭设备; 或者, 用于接收一个或多个数字家庭设备发送的主动 通告消息。
16、 根据权利要求 15 所述的家庭基站, 其特征在于, 所述存储模块具 体用于: 向所述注册模块发现的一个或多个数字家庭设备发送获取设备和服 务描述信息的请求消息, 获取所述一个或多个数字家庭设备返回的携带所述 设备和服务描述信息的响应消息, 以及存储所述设备和服务描述信息进行。
17、 根据权利要求 13或 14所述的家庭基站, 其特征在于, 所述 WEB 服务器代理模块还用于:获取终端发送的家庭基站统一资源定位符 URL解析 请求, 本地解析所述家庭基站的 URL, 或者向注册动态域名服务 DDNS域名 的服务器请求解析所述家庭基站的 URL, 以及向所述终端返回解析响应, 所 述解析响应中包括所述家庭基站的 URL对应的互联网协议 IP地址。
18、 根据权利要求 13或 14所述的家庭基站, 其特征在于, 所述 WEB 服务器代理模块具体用于: 向所述终端返回第一 WEB页面, 所述第一 WEB 页面中包含所述家庭基站本地注册的一个或多个数字家庭设备的设备和服务 描述信息, 并获取所述终端返回的第二 WEB页面, 所述第二 WEB页面中标 识所述终端选择的设备及服务选择信息。
19、 根据权利要求 13或 14所述的家庭基站, 其特征在于, 所述 WEB 服务器代理模块具体用于:向所述终端返回第一超文本传输协议安全 HTTPS 消息, 所述第一 HTTPS 消息中携带所述家庭基站本地注册的一个或多个数 字家庭设备的设备和服务描述信息, 并获取所述终端返回的第二 HTTPS 消 息, 所述第二 HTTPS消息中携带所述终端选择的设备及服务选择信息。
20、 根据权利要求 19所述的家庭基站, 其特征在于, 所述 WEB服务器 代理模块还用于: 对所述终端进行认证。
21、 一种终端, 其特征在于, 包括:
发送模块, 用于向家庭基站发送访问请求;
获取模块, 用于获取所述家庭基站返回的所述家庭基站本地注册的一个 或多个数字家庭设备的设备和服务描述信息;
选择模块, 向所述家庭基站返回根据所述设备和服务描述信息选择的设 备及服务选择信息, 以使所述家庭基站向所述设备和服务描述信息对应的数 字家庭设备发送控制命令, 控制对应的数字家庭设备执行所述终端选择的服 务。
22、 根据权利要求 21所述的终端, 其特征在于, 所述发送模块还用于: 向所述家庭基站发送家庭基站统一资源定位符 URL解析请求,以使所述 家庭基站返回所述家庭基站 URL对应的互联网协议 IP地址。
23、 根据权利要求 21或 22所述的终端, 其特征在于, 所述获取模块具 体用于: 获取所述家庭基站返回的第一 WEB页面, 所述第一 WEB页面中包 含所述家庭基站本地注册的一个或多个数字家庭设备的设备和服务描述信 自 ·
所述选择模块具体用于: 向所述家庭基站返回第二 WEB 页面, 所述第 二 WEB页面中标识所述终端选择的设备及服务选择信息。
24、 根据权利要求 21或 22所述的终端, 其特征在于, 所述获取模块具 体用于: 获取所述家庭基站返回的第一超文本传输协议安全 HTTPS 消息, 所述第一 HTTPS 消息中携带所述家庭基站本地注册的一个或多个数字家庭 设备的设备和服务描述信息;
所述选择模块具体用于: 向所述家庭基站返回第二 HTTPS 消息, 所述 第二 HTTPS消息中携带所述终端选择的设备及服务选择信息。
PCT/CN2011/076561 2011-06-29 2011-06-29 终端访问数字家庭设备的方法和设备 WO2012103721A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2011/076561 WO2012103721A1 (zh) 2011-06-29 2011-06-29 终端访问数字家庭设备的方法和设备
CN2011800009335A CN102318318A (zh) 2011-06-29 2011-06-29 终端访问数字家庭设备的方法和设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/076561 WO2012103721A1 (zh) 2011-06-29 2011-06-29 终端访问数字家庭设备的方法和设备

Publications (1)

Publication Number Publication Date
WO2012103721A1 true WO2012103721A1 (zh) 2012-08-09

Family

ID=45429447

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/076561 WO2012103721A1 (zh) 2011-06-29 2011-06-29 终端访问数字家庭设备的方法和设备

Country Status (2)

Country Link
CN (1) CN102318318A (zh)
WO (1) WO2012103721A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079643A (zh) * 2014-06-26 2014-10-01 广东瑞德智能科技股份有限公司 一种家电自定义菜单的实现方法

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731462A (zh) * 2012-10-16 2014-04-16 中兴通讯股份有限公司 网络附属存储nas设备远程存储系统与方法
TWI537850B (zh) * 2013-03-27 2016-06-11 Cloud Control System and Method for Controlled Equipment
CN104144180B (zh) * 2013-05-07 2019-03-15 中兴通讯股份有限公司 一种物联网管理方法、物联网客户端及物联网平台
CN104219112A (zh) * 2013-05-31 2014-12-17 中兴通讯股份有限公司 基于lte家庭基站的处理方法、系统及控制装置
WO2014201641A1 (zh) 2013-06-19 2014-12-24 华为终端有限公司 信息查询方法和设备
CN104301197B (zh) * 2013-07-17 2017-09-19 中国电信股份有限公司 一种实现用户多终端间相互发现的方法与系统
US20150149523A1 (en) * 2013-11-27 2015-05-28 Sharp Kabushiki Kaisha Network system, constant connection method, communication method,electronic device, constant connection server, application server, and program
CN104506527B (zh) * 2014-12-23 2021-12-17 苏州海博智能系统有限公司 多维信息指针平台及其数据访问方法
CN105554116B (zh) * 2015-12-17 2019-12-10 Tcl集团股份有限公司 一种UPnP设备远程互连方法及系统
CN109474665B (zh) * 2018-09-30 2021-08-06 咪咕文化科技有限公司 一种信息处理方法、装置和计算机存储介质
CN110086782B (zh) * 2019-03-29 2022-04-15 岭博科技(北京)有限公司 一种酒店物联智控系统及智能控制设备的方法和电子设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1481119A (zh) * 2002-09-29 2004-03-10 联想(北京)有限公司 家庭网络中的家电控制系统和方法
WO2007004755A1 (en) * 2005-07-04 2007-01-11 Sk Telecom Co., Ltd. Home network system, method of controlling the same, method of setting residential gateway for the same, and method of processing event protocol for the same
CN101287001A (zh) * 2008-04-14 2008-10-15 中山大学 一种基于移动设备对数字家电远程管理的系统及方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1481119A (zh) * 2002-09-29 2004-03-10 联想(北京)有限公司 家庭网络中的家电控制系统和方法
WO2007004755A1 (en) * 2005-07-04 2007-01-11 Sk Telecom Co., Ltd. Home network system, method of controlling the same, method of setting residential gateway for the same, and method of processing event protocol for the same
CN101287001A (zh) * 2008-04-14 2008-10-15 中山大学 一种基于移动设备对数字家电远程管理的系统及方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079643A (zh) * 2014-06-26 2014-10-01 广东瑞德智能科技股份有限公司 一种家电自定义菜单的实现方法

Also Published As

Publication number Publication date
CN102318318A (zh) 2012-01-11

Similar Documents

Publication Publication Date Title
US11115507B2 (en) Service discovery
WO2012103721A1 (zh) 终端访问数字家庭设备的方法和设备
US8307093B2 (en) Remote access between UPnP devices
JP4041118B2 (ja) ゲートウェイ装置、ネットワークシステム、通信プログラム及び通信方法
US9154378B2 (en) Architecture for virtualized home IP service delivery
TWI274491B (en) Network interconnection apparatus, network interconnection method, name resolution apparatus and computer program
US8443418B2 (en) Method and apparatus for managing remote access authority in UpnP remote access service
EP3240286B1 (en) Apparatus and method for configuring high-definition video telephony between computer devices
WO2008138260A1 (fr) Procédé, système et dispositif d'accès à un réseau domestique pour accéder à un réseau domestique
WO2009090707A1 (ja) 通信端末装置及び通信機器接続制御方法
JP5982402B2 (ja) ホームネットワークを用いた通話方法及び装置
WO2015043550A1 (zh) 多媒体分享方法、注册方法、服务器及代理服务器
US9531561B2 (en) Apparatus and method for extending network area
US20130064250A1 (en) Remotely accessing and controlling user equipment in a private network
KR20090078719A (ko) 원격 접속 서비스를 제공하는 UPnP 장치 및 그 방법
JP2009230256A (ja) 通信制御装置、通信制御方法および通信制御プログラム
WO2009154249A1 (ja) リモートアクセスシステム、装置、方法及びプログラム
JP4863514B2 (ja) 広域/狭域ネットワークへの接続切り替え方法、移動端末及びプログラム
JP5142216B2 (ja) ホームネットワーク内の端末から広域ネットワークへコンテンツを送信するコンテンツ送信方法及びシステム
Belimpasakis et al. Remote access to universal plug and play (UPnP) devices utilizing the Atom publishing protocol
KR101732189B1 (ko) 홈 네트워크 디바이스에 외부 네트워크 서비스를 제공하는 방법 및 장치
CN105323125A (zh) 一种跨家庭网络的处理方法及http网关、dlna设备

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180000933.5

Country of ref document: CN

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

Ref document number: 11857654

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

Country of ref document: EP

Kind code of ref document: A1