[go: up one dir, main page]

CN106993283A - Method for discovering equipment, device and system - Google Patents

Method for discovering equipment, device and system Download PDF

Info

Publication number
CN106993283A
CN106993283A CN201610042143.8A CN201610042143A CN106993283A CN 106993283 A CN106993283 A CN 106993283A CN 201610042143 A CN201610042143 A CN 201610042143A CN 106993283 A CN106993283 A CN 106993283A
Authority
CN
China
Prior art keywords
equipment
facility information
instruction
address
device information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610042143.8A
Other languages
Chinese (zh)
Inventor
吴少铎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610042143.8A priority Critical patent/CN106993283A/en
Publication of CN106993283A publication Critical patent/CN106993283A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • 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/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Databases & Information Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a kind of method for discovering equipment, device and system, methods described includes:Equipment into specified range sends equipment and finds instruction, wherein, the equipment finds that instruction is used to obtain facility information, and the facility information is used for unique mark the said equipment;Obtain the facility information address that equipment finds to generate under the triggering of instruction in the said equipment;The said equipment information is obtained according to the said equipment message address.Using the above-mentioned technical proposal that provides of the present invention, effect that is a kind of accurate and easily obtaining facility information can not have been reached accurately and the problem of easily obtain facility information by least solving in correlation technique terminal.

Description

设备发现方法、装置和系统Device discovery method, device and system

技术领域technical field

本发明涉及通信领域,具体而言,涉及一种设备发现方法、装置和系统。The present invention relates to the communication field, in particular, to a device discovery method, device and system.

背景技术Background technique

在移动终端与其他设备进行多屏互动中,设备发现是其实现的基础。现有技术中在该领域内,由UPnP(通用即插即用,Universal Plug and Play)主导的DLNA(数字生活网络联盟,Digital LivingNetwork Alliance)协议最为典型,其一般通过组播方式主动宣告与被动响应的方式进行设备发现,在家庭中有多台设备时,往往展示出设备列表让用户由于无法分清而选错设备,影响多屏互动的体验。比如在DLNA中,用厂家id(身份识别,identification)、ip(网络互连协议,InternetProtocol)、MAC(媒体访问控制,Media Access Control)等组合而成再编码的设备名称,有一串字母及数字组成,其并不能准确的达到用户区分的目的,尤其是当环境中多款设备同一品牌厂家的时候,无法具体区分设备。In the multi-screen interaction between a mobile terminal and other devices, device discovery is the basis for its realization. In the prior art in this field, the DLNA (Digital Living Network Alliance, Digital Living Network Alliance) protocol dominated by UPnP (Universal Plug and Play) is the most typical. Device discovery is carried out in a responsive way. When there are multiple devices in the family, the device list is often displayed to allow users to choose the wrong device because they cannot distinguish, which affects the experience of multi-screen interaction. For example, in DLNA, the re-encoded device name is a combination of manufacturer id (identification, identification), ip (Internet Protocol, Internet Protocol), MAC (Media Access Control, Media Access Control), etc., with a string of letters and numbers Composition, which cannot accurately achieve the purpose of user distinction, especially when multiple devices in the environment are of the same brand manufacturer, it is impossible to specifically distinguish the devices.

针对在相关技术中,终端不能准确且便捷的获取设备信息,尚未提出有效的解决方案。Aiming at the inability of the terminal to acquire device information accurately and conveniently in related technologies, no effective solution has been proposed yet.

发明内容Contents of the invention

本发明提供了一种设备发现信息的处理方法、装置和系统,以至少解决相关技术中终端不能准确且方便的获取设备信息的问题。The present invention provides a device discovery information processing method, device and system to at least solve the problem in the related art that terminals cannot acquire device information accurately and conveniently.

根据本发明的一个方面,提供了一种设备发现方法,包括:向指定范围内的设备发送设备发现指令,该设备发现指令用于获取设备信息,该设备信息用于唯一标识上述设备;获取设备在上述设备发现指令的触发下生成的设备信息地址;根据上述设备信息地址获取上述设备信息。According to one aspect of the present invention, a device discovery method is provided, including: sending a device discovery instruction to a device within a specified range, the device discovery instruction is used to obtain device information, and the device information is used to uniquely identify the above-mentioned device; A device information address generated under the trigger of the device discovery instruction; obtain the device information according to the device information address.

进一步的,根据设备信息地址获取上述设备信息,包括:在上述设备将上述设备信息上报设备管理平台之后,根据设备信息地址从上述设备管理平台获取上述设备信息;或根据上述设备信息地址从设备本地获取上述设备信息。Further, obtaining the above-mentioned device information according to the device information address includes: after the above-mentioned device reports the above-mentioned device information to the device management platform, obtaining the above-mentioned device information from the above-mentioned device management platform according to the device information address; Obtain the above device information.

进一步的,根据设备信息地址从设备管理平台获取设备信息之前,上述方法还包括:通过上述设备管理平台对需要获取设备信息的终端进行验证,在验证通过后,从上述设备管理平台获取上述设备信息。Further, before obtaining the device information from the device management platform according to the device information address, the above method also includes: verifying the terminal that needs to obtain the device information through the above device management platform, and obtaining the above device information from the above device management platform after the verification is passed .

进一步的,获取设备在上述设备发现指令的触发下生成的设备信息地址,包括:通过近场通信的方式获取上述设备信息地址。Further, obtaining the device information address generated by the device under the trigger of the device discovery instruction includes: obtaining the device information address through near field communication.

根据本发明的一个方面,提供了一种设备发现方法,包括:接收终端发送的设备发现指令,其中,该设备发现指令用于获取设备信息,该设备信息用于唯一标识上述设备;在上述设备发现指令的触发下,生成上述设备信息的设备信息地址,其中,上述终端通过上述设备信息地址获取上述设备信息。According to one aspect of the present invention, a device discovery method is provided, including: receiving a device discovery instruction sent by a terminal, wherein the device discovery instruction is used to obtain device information, and the device information is used to uniquely identify the above-mentioned device; in the above-mentioned device Triggered by the discovery instruction, a device information address of the device information is generated, wherein the terminal acquires the device information through the device information address.

进一步的,生成设备信息的设备信息地址之后,上述方法还包括:将设备信息地址展示给终端,其中,上述终端通过近场通信方式获取设备信息地址。Further, after the device information address of the device information is generated, the method further includes: presenting the device information address to the terminal, wherein the terminal acquires the device information address through near field communication.

根据本发明的另一方面,提供了一种设备发现装置,包括:发送模块,用于向指定范围内发送设备发现指令,该设备发现指令用于获取设备信息,该设备信息用于唯一标识上述设备;第一获取模块,用于获取设备在上述设备发现指令的触发下生成的设备信息地址;第二获取模块,用于根据上述设备信息地址获取上述设备信息。According to another aspect of the present invention, a device discovery device is provided, including: a sending module, configured to send a device discovery instruction to a specified range, the device discovery instruction is used to obtain device information, and the device information is used to uniquely identify the above-mentioned The device; the first obtaining module, configured to obtain the device information address generated by the device under the trigger of the device discovery instruction; the second obtaining module, configured to obtain the device information according to the device information address.

进一步的,该第二获取模块,包括:第一获取单元,用于在上述设备将设备信息上报设备管理平台之后,根据上述设备信息地址从设备管理平台获取上述设备信息;或第二获取单元,用于根据上述设备信息地址从设备本地获取设备信息。Further, the second obtaining module includes: a first obtaining unit, configured to obtain the above-mentioned device information from the device management platform according to the above-mentioned device information address after the above-mentioned device reports the device information to the device management platform; or a second obtaining unit, It is used to obtain device information locally from the device according to the above device information address.

根据本发明的另一方面,提供了一种设备发现装置,包括:接收模块,用于接收终端发送的设备发现指令,该设备发现指令用于获取设备信息,该设备信息用于唯一标识上述设备;生成模块,用于在设备发现指令的触发下,生成上述设备信息的设备信息地址,终端通过上述设备信息地址获取上述设备信息。According to another aspect of the present invention, a device discovery device is provided, including: a receiving module, configured to receive a device discovery instruction sent by a terminal, the device discovery instruction is used to obtain device information, and the device information is used to uniquely identify the above-mentioned device ; A generating module, configured to generate the device information address of the above device information under the trigger of the device discovery instruction, and the terminal obtains the above device information through the above device information address.

根据本发明的另一方面,提供了一种设备发现系统,包括:终端、设备和设备管理平台,设备用于接收终端发送的设备发现指令,在上述设备发现指令的触发下,生成上述设备信息的设备信息地址,该设备发现指令用于获取设备信息,该设备信息用于唯一标识设备,上述终端通过上述设备信息地址从上述设备管理平台或者上述设备本地获取上述设备信息。According to another aspect of the present invention, a device discovery system is provided, including: a terminal, a device, and a device management platform, the device is used to receive a device discovery instruction sent by the terminal, and generate the above-mentioned device information under the trigger of the above-mentioned device discovery instruction The device information address, the device discovery instruction is used to obtain device information, the device information is used to uniquely identify the device, and the terminal obtains the device information from the device management platform or the device locally through the device information address.

根据本发明,向指定范围内的设备发送用于获取设备信息的设备发现指令,设备响应上述设备发现指令生成设备信息地址,终端获取该设备信息地址并根据该设备信息地址获取上述设备信息,从而至少解决相关技术中终端不能准确且便捷的获取设备信息的问题,达到了一种准确且便捷的获取设备信息的效果。According to the present invention, a device discovery command for obtaining device information is sent to a device within a specified range, and the device generates a device information address in response to the device discovery command, and the terminal obtains the device information address and obtains the device information according to the device information address, thereby At least it solves the problem that the terminal cannot acquire the device information accurately and conveniently in the related technology, and achieves an effect of accurately and conveniently obtaining the device information.

附图说明Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:

图1是根据本发明实施例的设备发现方法的流程图;FIG. 1 is a flowchart of a device discovery method according to an embodiment of the present invention;

图2是根据本发明实施例的设备发现方法的时序图;FIG. 2 is a sequence diagram of a device discovery method according to an embodiment of the present invention;

图3是根据本发明实施例的设备发现方法的另一时序图;FIG. 3 is another sequence diagram of a device discovery method according to an embodiment of the present invention;

图4是根据本发明实施例的设备发现方法的另一流程图;FIG. 4 is another flowchart of a device discovery method according to an embodiment of the present invention;

图5是根据本发明实施例的设备发现装置的结构框图;Fig. 5 is a structural block diagram of a device discovery device according to an embodiment of the present invention;

图6是根据本发明实施例的设备发现装置中第二获取模块56的结构框图;FIG. 6 is a structural block diagram of the second acquisition module 56 in the device discovery apparatus according to an embodiment of the present invention;

图7是根据本发明实施例的设备发现装置的另一结构框图;FIG. 7 is another structural block diagram of a device discovery apparatus according to an embodiment of the present invention;

图8是根据本发明实施例的设备发现系统的结构框图。Fig. 8 is a structural block diagram of a device discovery system according to an embodiment of the present invention.

具体实施方式detailed description

下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence.

在本实施例中提供了一种设备发现方法,图1是根据本发明实施例的设备发现方法的流程图,如图1所示,该流程包括如下步骤:A device discovery method is provided in this embodiment. FIG. 1 is a flowchart of a device discovery method according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:

步骤S102,向指定范围内的设备发送设备发现指令,其中,该设备发现指令用于获取设备信息,该设备信息用于唯一标识上述设备;Step S102, sending a device discovery instruction to devices within a specified range, wherein the device discovery instruction is used to obtain device information, and the device information is used to uniquely identify the above-mentioned device;

步骤S104,获取上述设备在上述设备发现指令的触发下生成的设备信息地址;Step S104, obtaining the device information address generated by the above device triggered by the above device discovery instruction;

步骤S106,根据上述设备信息地址获取上述设备信息。Step S106, acquiring the above-mentioned device information according to the above-mentioned device information address.

通过上述各个步骤,终端向指定范围内的网络设备发送设备发现指令,然后获取上述设备在设备发现指令的触发下生成的设备信息地址,根据该设备信息地址获取到设备信息,从而解决了相关技术中终端不能准确且方便的获取设备信息的问题,达到了一种能方便且准确地获取设备信息的效果。Through the above steps, the terminal sends a device discovery command to the network devices within the specified range, and then obtains the device information address generated by the above-mentioned device under the trigger of the device discovery command, and obtains the device information according to the device information address, thereby solving the problem of related technologies. The problem that the terminal cannot obtain device information accurately and conveniently achieves an effect that the device information can be obtained conveniently and accurately.

在一个优选的实施例中,根据设备信息地址获取上述设备信息,包括:在上述设备将上述设备信息上报设备管理平台之后,根据上述设备信息地址从上述设备管理平台获取上述设备信息;或根据上述设备信息地址从设备本地获取上述设备信息。In a preferred embodiment, obtaining the above-mentioned device information according to the device information address includes: after the above-mentioned device reports the above-mentioned device information to the device management platform, obtaining the above-mentioned device information from the above-mentioned device management platform according to the above-mentioned device information address; or according to the above-mentioned The device information address obtains the above-mentioned device information locally from the device.

基于上述实施例所提供的技术方案,以下结合一示例对上述技术方案进行说明,图2是根据本发明实施例的设备发现方法的时序图,下面结合图2来详细说明本发明实施例的设备发现方法。Based on the technical solution provided by the above embodiment, the above technical solution will be described below with an example. FIG. 2 is a sequence diagram of the device discovery method according to the embodiment of the present invention. The device of the embodiment of the present invention will be described in detail below in conjunction with FIG. 2 Discovery method.

方法步骤中使用的近场通信方式,一般采用NFC(近场通信,Near Field Communication),由设备担当卡模式,移动端担当读卡器;或也可采用点对点模式,包括以下步骤:The near-field communication method used in the method steps generally adopts NFC (near field communication, Near Field Communication), the device acts as a card mode, and the mobile terminal acts as a card reader; or a point-to-point mode can also be used, including the following steps:

步骤S202,由终端通过广播方式发起设备发现指令,要求可被发现的设备展示其设备信息,该设备信息可为设备固有信息,也可为设备响应该设备发现指令而生成的设备信息;Step S202, the terminal initiates a device discovery command by broadcasting, requiring the discoverable device to display its device information, the device information can be the inherent information of the device, or the device information generated by the device in response to the device discovery command;

步骤S204,设备响应该设备发现指令生成设备信息地址;该设备信息地址若为设备固有信息的话,也可以不用重新生成;Step S204, the device generates a device information address in response to the device discovery instruction; if the device information address is inherent information of the device, it does not need to be regenerated;

步骤S206,用户操作终端进行近场通信从设备得到设备信息的获取地址;Step S206, the user operates the terminal to perform near-field communication to obtain the device information acquisition address from the device;

步骤S208,终端通过该设备信息地址从设备本地获取到该指定设备的设备信息。In step S208, the terminal obtains the device information of the designated device locally from the device through the device information address.

在一个优选的实施例中,根据设备信息地址从上述设备管理平台获取设备信息之前,上述方法还包括:In a preferred embodiment, before obtaining the device information from the device management platform according to the device information address, the above method further includes:

通过上述设备管理平台对需要获取上述设备信息的终端进行验证,在验证通过后,从上述设备管理平台获取上述设备信息。The terminal that needs to obtain the above-mentioned device information is verified through the above-mentioned device management platform, and after the verification is passed, the above-mentioned device information is obtained from the above-mentioned device management platform.

基于上述实施例所提供的技术方案,以下结合一示例对上述技术方案进行说明,图3是根据本发明实施例的设备发现方法的另一时序图,下面结合图3详细说明本发明实施例的设备发现方法。Based on the technical solution provided by the above embodiment, the above technical solution will be described below with an example. FIG. 3 is another sequence diagram of the device discovery method according to the embodiment of the present invention. The following describes the embodiment of the present invention in detail in conjunction with FIG. 3 Device discovery method.

步骤S302,由终端发起广播进行要求可被发现的设备展示其设备信息,该设备信息可为设备固有信息,也可为设备响应该设备发现指令而生成的设备信息;Step S302, the terminal initiates a broadcast to request the discoverable device to display its device information, the device information can be the inherent information of the device, or the device information generated by the device in response to the device discovery instruction;

步骤S304,设备生成设备信息地址,该设备信息地址若为设备固有信息的话,也可以不用重新生成;Step S304, the device generates a device information address, and if the device information address is inherent information of the device, it does not need to be regenerated;

步骤S306,设备将本地的设备信息上传到设备管理平台;Step S306, the device uploads the local device information to the device management platform;

步骤S308,用户操作终端进行近场通信从设备处得到设备信息的获取地址(即设备信息地址);Step S308, the user operates the terminal to perform near-field communication to obtain the device information acquisition address (that is, the device information address) from the device;

步骤S310,终端通过该设备信息地址获取到该设备管理平台上的设备信息。Step S310, the terminal obtains the device information on the device management platform through the device information address.

为了进一步的增强交互的安全性,步骤S310之前,需要对终端身份合法性进行验证,通过设备管理平台对终端在下载获取设备信息前进行鉴权,来保证互动的安全性。当终端用户被设备管理平台验证通过后,再执行步骤S310。本领域技术人员都知道,终端获取到设备信息就相当于实现了设备发现的目的。In order to further enhance the security of the interaction, before step S310, it is necessary to verify the legitimacy of the terminal identity, and the device management platform authenticates the terminal before downloading and obtaining the device information to ensure the security of the interaction. After the terminal user is verified by the device management platform, step S310 is executed. Those skilled in the art know that the acquisition of device information by the terminal is equivalent to realizing the purpose of device discovery.

本发明并不要求设备必须在收到设备发现指令时即向终端发送设备信息文件,嵌入式移动终端对系统资源开销低,尤其是对于如Android系统的终端对端口回收较频繁的情况下易丢包的情况比较适用,从而解决由此导致的无法正常获取设备信息的问题。The present invention does not require the device to send the device information file to the terminal when it receives the device discovery command, and the embedded mobile terminal has low overhead on system resources, especially when the terminal of the Android system frequently recycles the port and is easy to lose The case of the package is more applicable, so as to solve the problem that the device information cannot be obtained normally.

在本实施例中提供了一种设备发现方法,图4是根据本发明实施例的设备发现方法的另一流程图,如图4所示,该流程包括如下步骤:In this embodiment, a device discovery method is provided. FIG. 4 is another flow chart of the device discovery method according to the embodiment of the present invention. As shown in FIG. 4, the process includes the following steps:

步骤S402,接收终端发送的设备发现指令,其中,该设备发现指令用于获取设备信息,该设备信息用于唯一标识上述设备;Step S402, receiving a device discovery instruction sent by the terminal, wherein the device discovery instruction is used to obtain device information, and the device information is used to uniquely identify the above-mentioned device;

步骤S404,在设备发现指令的触发下,生成上述设备信息的设备信息地址,其中,上述终端通过上述设备信息地址获取上述设备信息。Step S404, under the trigger of the device discovery instruction, generate the device information address of the device information, wherein the terminal obtains the device information through the device information address.

通过上述各个步骤,终端向指定范围内的网络设备发送设备发现指令,设备接收到设备发现指令后,生成上述设备信息地址,该终端获取上述设备信息地址,并根据该设备信息地址获取上述设备信息,从而解决了相关技术中终端不能准确且方便的获取设备信息,达到了一种能方便且准确地获取设备信息的效果。Through the above steps, the terminal sends a device discovery command to the network device within the specified range. After receiving the device discovery command, the device generates the above device information address, and the terminal obtains the above device information address, and obtains the above device information according to the device information address. , thereby solving the problem that the terminal cannot acquire device information accurately and conveniently in the related art, and achieves an effect of being able to obtain device information conveniently and accurately.

在一个优选的实施例中,设备生成上述设备信息的设备信息地址之后,上述方法还包括:将上述设备信息地址展示给上述终端,其中,上述终端通过近场通信方式获取上述设备信息地址。In a preferred embodiment, after the device generates the device information address of the device information, the method further includes: presenting the device information address to the terminal, wherein the terminal obtains the device information address through near field communication.

设备响应终端发送的设备发现指令,生成了自身的设备信息地址,将该设备信息地址展示给终端,终端通过近场通信方式或者是扫码方式获取该设备信息地址,其中扫码方式适用场景较苛刻,要求设备自带显示装置,同时终端也具备扫描装置。近场通信方式获取设备信息地址时,只需要终端和设备具备近场通信功能即可,应用场景较广泛。The device responds to the device discovery command sent by the terminal, generates its own device information address, and displays the device information address to the terminal. The terminal obtains the device information address through near-field communication or scanning code. The scanning method is more applicable to scenarios. Strict, it is required that the equipment has its own display device, and the terminal also has a scanning device. When the near field communication method is used to obtain the device information address, only the terminal and the device need to have the near field communication function, and the application scenarios are relatively wide.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例上述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to enable a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the above-mentioned methods in various embodiments of the present invention.

在本实施例中还提供了一种设备发现装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a device discovery device is also provided, which is used to implement the above embodiments and preferred implementation manners, and what has been described will not be repeated. As used below, the term "module" may be a combination of software and/or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.

图5是根据本发明实施例的设备发现装置的结构框图,如图5所示,该装置包括如下模块:FIG. 5 is a structural block diagram of a device discovery device according to an embodiment of the present invention. As shown in FIG. 5, the device includes the following modules:

发送模块52,用于向指定范围内发送设备发现指令,该设备发现指令用于获取设备信息,该设备信息用于唯一标识上述设备;The sending module 52 is configured to send a device discovery instruction within a specified range, the device discovery instruction is used to obtain device information, and the device information is used to uniquely identify the above-mentioned device;

第一获取模块54,与发送模块52相连,用于获取上述设备在上述设备发现指令的触发下生成的设备信息地址;The first obtaining module 54 is connected to the sending module 52, and is used to obtain the device information address generated by the above-mentioned device under the trigger of the above-mentioned device discovery instruction;

第二获取模块56,与第一获取模块54相连,用于根据上述设备信息地址获取上述设备信息。The second obtaining module 56 is connected to the first obtaining module 54 and configured to obtain the above-mentioned device information according to the above-mentioned device information address.

通过上述各个模块的综合作用,发送模块52向指定范围内发送设备发现指令,该设备发现指令用于获取设备信息;第一获取模块54获取上述设备在发送模块52的触发下生成的设备信息地址;第二获取模块56根据第一获取模块54生成的设备信息地址获取上述设备信息。采用上述技术方案,从而解决了终端不能准确且便捷的获取设备信息的问题,达到了一种能精准且便捷的获取设备信息的效果。Through the comprehensive function of the above-mentioned various modules, the sending module 52 sends a device discovery instruction to the specified range, and the device discovery instruction is used to obtain device information; the first obtaining module 54 obtains the device information address generated by the above-mentioned device under the trigger of the sending module 52 ; The second obtaining module 56 obtains the above-mentioned device information according to the device information address generated by the first obtaining module 54 . By adopting the above technical solution, the problem that the terminal cannot obtain device information accurately and conveniently is solved, and an effect of accurately and conveniently obtaining device information is achieved.

在一个优选的设备发现装置中,图6是根据本发明实施例的设备发现装置中第二获取模块56的结构框图,由图6所示,上述第二获取模块56,包括:In a preferred device discovery device, FIG. 6 is a structural block diagram of the second acquisition module 56 in the device discovery device according to an embodiment of the present invention. As shown in FIG. 6, the second acquisition module 56 includes:

第一获取单元562,用于在设备将上述设备信息上报设备管理平台之后,根据上述设备信息地址从设备管理平台获取上述设备信息;或第二获取单元564,用于根据上述设备信息地址从上述设备本地获取设备信息。The first obtaining unit 562 is configured to obtain the above-mentioned device information from the device management platform according to the above-mentioned device information address after the device reports the above-mentioned device information to the device management platform; or the second obtaining unit 564 is used to obtain the above-mentioned device information according to the above-mentioned device information address. The device obtains device information locally.

在本实施例中还提供了一种设备发现装置,图7是根据本发明实施例的设备发现装置的另一结构框图,如图7所示,该装置包括如下模块:In this embodiment, a device discovery device is also provided. FIG. 7 is another structural block diagram of a device discovery device according to an embodiment of the present invention. As shown in FIG. 7, the device includes the following modules:

接收模块72,用于接收终端发送的设备发现指令,该设备发现指令用于获取设备信息,该设备信息用于唯一标识上述设备;The receiving module 72 is configured to receive a device discovery instruction sent by the terminal, the device discovery instruction is used to obtain device information, and the device information is used to uniquely identify the above-mentioned device;

生成模块74,与接收模块72相连,用于在设备发现指令的触发下,生成上述设备信息的设备信息地址,其中,上述终端通过上述设备信息地址获取上述设备信息。The generating module 74 is connected to the receiving module 72, and is configured to generate the device information address of the device information triggered by the device discovery instruction, wherein the terminal obtains the device information through the device information address.

通过上述各个模块的综合作用,接收模块72接收终端发送的用于获取设备信息的设备发现指令,该设备信息是设备自身的描述信息;生成模块74,在接收模块72接收到的设备发现指令的触发下,生成上述设备信息的设备信息地址,终端通过上述设备信息地址获取该设备信息。采用上述技术方案,从而解决了终端不能准确且方便的获取设备信息的问题,达到了一种能精准且便捷地获取设备信息的效果。Through the comprehensive functions of the above-mentioned modules, the receiving module 72 receives the device discovery instruction sent by the terminal for obtaining device information, and the device information is the description information of the device itself; the generation module 74 receives the device discovery instruction received by the receiving module 72 Under triggering, a device information address of the above device information is generated, and the terminal acquires the device information through the above device information address. By adopting the above technical solution, the problem that the terminal cannot obtain device information accurately and conveniently is solved, and an effect of accurately and conveniently obtaining device information is achieved.

需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that each of the above-mentioned modules can be implemented by software or hardware. For the latter, it can be implemented in the following manner, but not limited to this: the above-mentioned modules are all located in the same processor; or, the above-mentioned modules are respectively located in multiple in the processor.

在本实施例中提供了一种设备发现系统,图8是根据本发明实施例的设备发现系统的结构框图,如图8所示,该系统包括:In this embodiment, a device discovery system is provided. FIG. 8 is a structural block diagram of a device discovery system according to an embodiment of the present invention. As shown in FIG. 8, the system includes:

终端82、设备84和设备管理平台86,其中设备84,用于接收终端82发送的设备发现指令,在上述设备发现指令的触发下,生成设备信息的设备信息地址,其中,该设备发现指令用于获取设备信息,该设备信息用于唯一标识上述设备,终端82通过设备信息地址从上述设备管理平台86或者上述设备84本地获取设备信息。通过上述方案,终端向指定范围内的网络设备发送设备发现指令,然后再通过近场通信的方式获取上述设备在上述设备发现指令的触发下生成的设备信息,从而解决了相关技术中终端不能准确且方便的获取设备信息的问题,达到了一种能精准且便捷地获取设备信息的效果。The terminal 82, the device 84 and the device management platform 86, wherein the device 84 is used to receive the device discovery instruction sent by the terminal 82, and under the trigger of the above-mentioned device discovery instruction, generate the device information address of the device information, wherein the device discovery instruction uses To obtain device information, which is used to uniquely identify the above-mentioned device, the terminal 82 obtains the device information locally from the above-mentioned device management platform 86 or the above-mentioned device 84 through the device information address. Through the above solution, the terminal sends a device discovery command to the network devices within the specified range, and then obtains the device information generated by the above device under the trigger of the above device discovery command through near-field communication, thereby solving the problem that the terminal cannot be accurate in related technologies. And the problem of obtaining device information conveniently has achieved an effect of accurately and conveniently obtaining device information.

综上所述,本发明实施例达到了以下技术效果:解决了相关技术中终端不能准确且方便的获取设备信息的问题,达到了一种能精准且便捷地获取设备信息的效果,此外,本发明实施例的技术方案可扩展应用于跨网络平面技术中使用,采用本发明上述方法和装置,解决了现有技术中由于移动终端端口回收或超时而未发现目标设备的问题,在设备互动场景中,终端用户更容易找到想要操控的设备的进步,达到了精准获取设备信息的效果,相比现有技术更加直观,提高了易用性,降低了选择设备时的困惑。To sum up, the embodiments of the present invention achieve the following technical effects: solve the problem that the terminal cannot accurately and conveniently obtain device information in related technologies, and achieve an effect of accurately and conveniently obtaining device information. In addition, this The technical solution of the embodiment of the invention can be extended to be used in the cross-network plane technology. Using the above-mentioned method and device of the present invention solves the problem in the prior art that the target device is not found due to port recycling or timeout of the mobile terminal. In the device interaction scene Among them, it is easier for end users to find the device they want to control, and achieve the effect of accurately obtaining device information. Compared with the existing technology, it is more intuitive, improves ease of use, and reduces confusion when choosing devices.

显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned present invention can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network formed by multiple computing devices Alternatively, they may be implemented in program code executable by a computing device so that they may be stored in a storage device to be executed by a computing device, and in some cases in an order different from that shown here The steps shown or described are carried out, or they are separately fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module for implementation. As such, the present invention is not limited to any specific combination of hardware and software.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (10)

1. a kind of method for discovering equipment, it is characterised in that including:
Equipment into specified range sends equipment and finds instruction, wherein, the equipment finds that instruction is used to obtain facility information, should Facility information is used for equipment described in unique mark;
Obtain the facility information address that the equipment finds to generate under the triggering of instruction in the equipment;
The facility information according to the facility information address acquisition.
2. according to the method described in claim 1, it is characterised in that equipment is believed according to the facility information address acquisition Breath, including:
After the equipment is by the facility information reporting equipment management platform, according to the facility information address from the equipment Management platform obtains the facility information;Or
The facility information is locally obtained from the equipment according to the facility information address.
3. method according to claim 2, it is characterised in that according to the facility information address from the equipment control Platform is obtained before the facility information, and methods described also includes:
The terminal for needing to obtain the facility information is verified by the device management platform, after being verified, from institute State device management platform and obtain the facility information.
4. the method according to any one of claims 1 to 3, it is characterised in that obtain the equipment and sent out in the equipment The facility information address generated under the triggering now instructed, including:
The equipment is obtained by way of near-field communication in the facility information address.
5. a kind of method for discovering equipment, it is characterised in that including:
The equipment that receiving terminal is sent finds instruction, wherein, the equipment finds that instruction is used to obtain facility information, the facility information For equipment described in unique mark;
Under the triggering that the equipment finds instruction, the facility information address of the facility information is generated, wherein, the terminal is led to Cross facility information described in the facility information address acquisition.
6. method according to claim 5, it is characterised in that after the facility information address of the generation facility information, Methods described also includes:
The facility information address is showed into the terminal, wherein, the terminal obtains the equipment by near-field communication modes Message address.
7. a kind of equipment finds device, it is characterised in that including:
Sending module, instruction is found for sending equipment into specified range, wherein, the equipment finds that instruction is used to obtain equipment Information, the facility information is used for equipment described in unique mark;
First acquisition module, for obtaining the facility information address that the equipment finds to generate under the triggering of instruction in the equipment;
Second acquisition module, for the facility information according to the facility information address acquisition.
8. device according to claim 7, it is characterised in that second acquisition module, including:
First acquisition unit, after in the equipment by the facility information reporting equipment management platform, according to the equipment Message address obtains the facility information from the device management platform;Or
Second acquisition unit, for locally obtaining the facility information from the equipment according to the facility information address.
9. a kind of equipment finds device, it is characterised in that including:
Receiving module, instruction is found for the equipment that receiving terminal is sent, wherein, the equipment finds that instruction is used to obtain equipment letter Breath, the facility information is used for equipment described in unique mark;
Generation module, under the triggering that the equipment finds instruction, generating the facility information address of the facility information, its In, the terminal passes through facility information described in the facility information address acquisition.
10. a kind of system for discovering, it is characterised in that including:Terminal, equipment and device management platform, wherein
The equipment, instruction is found for the equipment that receiving terminal is sent, and under the triggering that the equipment finds instruction, generates institute The facility information address of facility information is stated, wherein, the equipment finds that instruction is used to obtain facility information, and the facility information is used for only The one mark equipment, the terminal is locally obtained by the facility information address from the device management platform or the equipment Take the facility information.
CN201610042143.8A 2016-01-21 2016-01-21 Method for discovering equipment, device and system Pending CN106993283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610042143.8A CN106993283A (en) 2016-01-21 2016-01-21 Method for discovering equipment, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610042143.8A CN106993283A (en) 2016-01-21 2016-01-21 Method for discovering equipment, device and system

Publications (1)

Publication Number Publication Date
CN106993283A true CN106993283A (en) 2017-07-28

Family

ID=59413611

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610042143.8A Pending CN106993283A (en) 2016-01-21 2016-01-21 Method for discovering equipment, device and system

Country Status (1)

Country Link
CN (1) CN106993283A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104570746A (en) * 2014-11-24 2015-04-29 青岛歌尔声学科技有限公司 Intelligent home furnishing control system and method, and intelligent home furnishing
CN104937961A (en) * 2013-02-22 2015-09-23 英特尔Ip公司 Target group-based device discovery for wireless communication devices
CN105187651A (en) * 2015-09-15 2015-12-23 深圳市智慧猫软件技术有限公司 Method for adding peripheral equipment to mobile phone app

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104937961A (en) * 2013-02-22 2015-09-23 英特尔Ip公司 Target group-based device discovery for wireless communication devices
CN104570746A (en) * 2014-11-24 2015-04-29 青岛歌尔声学科技有限公司 Intelligent home furnishing control system and method, and intelligent home furnishing
CN105187651A (en) * 2015-09-15 2015-12-23 深圳市智慧猫软件技术有限公司 Method for adding peripheral equipment to mobile phone app

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴衍智: "UPnP在数字家庭中的应用研究", 《中国优秀硕士学位论文期刊》 *

Similar Documents

Publication Publication Date Title
EP3425566B1 (en) Electronic device and method of registering personal cloud apparatus in user portal server thereof
US9596501B2 (en) Remote control processing method, device and system
CN107483715B (en) Method and system for communication between terminal and equipment, terminal and storage medium
EP3073699A1 (en) System and method for controlling mutual access of smart devices
CN105682253A (en) Method, device, terminal and computer-readable storage medium for establishing communication
US20190089693A1 (en) Systems and methods for authenticating internet-of-things devices
CN102891890B (en) Exchange method between a kind of terminal and relevant device, system
US20200274868A1 (en) Server-based setup for connecting a device to a local area network
CN103973665B (en) authentication and authorization method and system
CN102340650B (en) Method and system for terminal video monitoring
US9154483B1 (en) Secure device configuration
CN105704116A (en) Method for binding intelligent device through binding code
CN110798471A (en) Air conditioner management method and related device
CN107508822B (en) Access control method and device
US20170171496A1 (en) Method and Electronic Device for Screen Projection
US10291621B2 (en) System, information processing apparatus, and storage medium
WO2018196686A1 (en) Service response method and middleware thereof
CN104184698A (en) Over-screen control equipment binding method and gateway
CN111988660A (en) DLNA equipment screen projection method, gateway, terminal and system
CN105653019A (en) Projection method and system
CN104754577A (en) Authentication algorithm selecting method, device and system
CN111194035B (en) Network connection method, device and storage medium
CN104219626A (en) Identity authentication method and device
CN103561088A (en) Remote control method and device based on account number log-in
CN104854930A (en) Method, control node, gateway and computer program for enabling communication with a newly detected device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170728

RJ01 Rejection of invention patent application after publication