WO2014154089A1 - Device identification method and relevant device - Google Patents

Device identification method and relevant device Download PDF

Info

Publication number
WO2014154089A1
WO2014154089A1 PCT/CN2014/073212 CN2014073212W WO2014154089A1 WO 2014154089 A1 WO2014154089 A1 WO 2014154089A1 CN 2014073212 W CN2014073212 W CN 2014073212W WO 2014154089 A1 WO2014154089 A1 WO 2014154089A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
connectable
user
target connectable
connectable device
Prior art date
Application number
PCT/CN2014/073212
Other languages
French (fr)
Chinese (zh)
Inventor
杨小为
何智勤
方柳
姚洪杰
徐铮
邓才斌
Original Assignee
华为终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为终端有限公司 filed Critical 华为终端有限公司
Publication of WO2014154089A1 publication Critical patent/WO2014154089A1/en

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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Abstract

Embodiments of the present invention disclose a device identification method and a relevant device, the device identification method comprising: displaying the device names of all connectible devices in a current network; if user is detected to have chosen a target connectible device among all connectible devices, reading device relevant information of the target connectible device, the target connectible device being the connectible device chosen by the user, and the device relevant information of the target connectible device comprising: at least one of the last connection time of the target connectible device and the last disconnection time of the target connectible device; displaying the device relevant information of the target connectible device. The technical solution provided by the present invention can effectively reduce device identification time for users and enhance user experience.

Description

一 一 一种设备识别方法及相关设备 技术领域 本发明涉及通讯领域, 尤其涉及一种设备识别方法及相关设备。 背景技术  TECHNICAL FIELD The present invention relates to the field of communications, and in particular, to a device identification method and related devices. Background technique
随着社会发展, 个人电子设备的普及以及网络交互技术的更新,设备名称 越来越成为影响交互的一个问题, 设备名称通常是设备间发现、 显示、 连接的 基础。 但是, 设备名称通常是在设备出厂之前预置的, 而且通常同一类型的设 备名称相同, 这就产生了如何从多个同种设备中找出目标设备的问题。 例如: 目前市面上的同一厂商同一型号的手机, 当它们作为蓝牙设备时, 其名称很可 能相同, 当用户在完成多个相同型号的手机的配对之后, 就会发现传输文件时 根本不知道文件传输是要向谁发起; 又例如: 随着 Wi-Fi无线路由器的普及, 在同一区域能发现的 Wi-Fi热点越来越多, 若看到多个 Wi-Fi热点的名称相同时, 也无法区分哪一个 Wi-Fi设备是自己的设备。  With the development of society, the popularity of personal electronic devices and the updating of network interaction technologies, device names are increasingly becoming an issue affecting interaction. Device names are often the basis for discovery, display, and connection between devices. However, the device name is usually preset before the device leaves the factory, and usually the same type of device has the same name, which raises the question of how to find the target device from multiple devices of the same type. For example: At present, the same model of the same manufacturer on the market, when they are used as Bluetooth devices, their names are likely to be the same. When users complete pairing of multiple phones of the same model, they will find that they do not know the file when transferring files. Who is to transmit to; for example: With the popularity of Wi-Fi wireless routers, more and more Wi-Fi hotspots can be found in the same area. If you see the same name of multiple Wi-Fi hotspots, It is impossible to distinguish which Wi-Fi device is its own device.
在出现上述情况时, 用户通常会釆用试错法来找出目标设备,如对于蓝牙 设备, 通过向发现的蓝牙设备逐个传输文件来找出目标设备, 而对于 Wi-Fi设 备, 则尝试与逐个 Wi-Fi设备建立连接来找出目标设备。 由上可见, 试错法需 要用户对发现的设备逐个进行尝试, 需要花费用户较多的时间, 这使得用户体 验度极差。 发明内容  In the above situation, the user usually uses the trial and error method to find the target device. For example, for the Bluetooth device, the target device is found by transmitting the file one by one to the discovered Bluetooth device, and for the Wi-Fi device, try and A connection is established on a Wi-Fi basis to find the target device. It can be seen from the above that the trial and error method requires the user to try the discovered devices one by one, and it takes a lot of time for the user, which makes the user experience extremely poor. Summary of the invention
本发明各个方面提供了一种设备识别方法及相关设备,用于减少用户识别 设备的时间, 提升用户体验度。  Various aspects of the present invention provide a device identification method and related device for reducing the time for the user to identify the device and improving the user experience.
为解决上述技术问题, 提供以下技术方案:  In order to solve the above technical problems, the following technical solutions are provided:
本发明一方面提供了一种设备识别方法, 包括:  An aspect of the present invention provides a device identification method, including:
显示当前网络中的所有可连接设备的设备名称;  Displays the device name of all connectable devices in the current network;
若检测到用户从上述所有可连接设备中选择了目标可连接设备, 则: 读取目标可连接设备的设备相关信息, 其中, 上述目标可连接设备为上述 - - 用户选择的可连接设备, 上述目标可连接设备的设备相关信息包括: 上述目标 可连接设备的上次上线时间和上述目标可连接设备的上次下线时间中的至少 一个; If it is detected that the user selects the target connectable device from all the connectable devices, the device-related information of the target connectable device is read, wherein the target connectable device is the above - - a connectable device selected by the user, the device related information of the target connectable device includes: at least one of a last online time of the target connectable device and a last offline time of the target connectable device;
显示上述目标可连接设备的设备相关信息。  Displays device-related information about the above target connectable devices.
基于本发明第一方面,在第一种可能的实现方式中, 上述显示上述目标可 连接设备的设备相关信息, 之后进一步包括:  According to the first aspect of the present invention, in a first possible implementation manner, the foregoing information about the device that can be connected to the device is displayed, and then further includes:
若检测到用户对上述目标可连接设备进行别名, 则:  If it is detected that the user aliases the above target connectable device, then:
获取用户输入的上述目标可连接设备的新设备名称;  Obtaining the new device name of the above target connectable device input by the user;
记录上述目标可连接设备的新设备名称,并使上述目标可连接设备的新设 备名称与上述目标可连接设备的原设备名称相关联。  The new device name of the target connectable device is recorded, and the new device name of the target connectable device is associated with the original device name of the target connectable device.
基于本发明第一方面的第一种可能的实现方式,在第二种可能的实现方式 中, 上述记录上述目标可连接设备的新设备名称, 之后包括:  According to a first possible implementation manner of the first aspect of the present invention, in a second possible implementation manner, the foregoing recording a new device name of the target connectable device, and then including:
读取并显示上述目标可连接设备的新设备名称。  Read and display the new device name of the above target connectable device.
基于本发明第一方面的第一种可能的实现方式,在第三种可能的实现方式 中, 上述记录上述目标可连接设备的新设备名称, 之后包括:  According to a first possible implementation manner of the first aspect of the present invention, in a third possible implementation manner, the foregoing recording a new device name of the target connectable device, and then including:
当上述目标可连接设备再次被选中时,读取并显示上述目标可连接设备的 新设备名称。  When the above target connectable device is selected again, the new device name of the above target connectable device is read and displayed.
基于本发明第一方面, 在第四种可能的实现方式中,  Based on the first aspect of the present invention, in a fourth possible implementation,
上述显示上述目标可连接设备的设备相关信息, 之后进一步包括: 若检测到用户对上述目标可连接设备进行重命名, 则:  The above-mentioned device-related information indicating that the target can be connected to the device, and then further comprising: if it is detected that the user renames the target connectable device, then:
获取用户输入的上述目标可连接设备的新设备名称;  Obtaining the new device name of the above target connectable device input by the user;
使用上述目标可连接设备的新设备名称替换上述目标可连接设备的原设 备名称。  Replace the original device name of the above target connectable device with the new device name of the above target connectable device.
本发明第二方面提供了一种应用于对等网络的设备, 包括:  A second aspect of the present invention provides an apparatus for a peer-to-peer network, including:
显示单元, 用于显示当前网络中的所有可连接设备的设备名称; 读取单元,用于当检测到用户从上述显示单元显示的所有可连接设备中选 择了目标可连接设备时, 读取目标可连接设备的设备相关信息, 其中, 上述目 标可连接设备为上述用户选择的可连接设备,上述目标可连接设备的设备相关 信息包括:上述目标可连接设备的上次上线时间和上述目标可连接设备的上次 下线时间中的至少一个; - - 上述显示单元,还用于显示上述读取单元读取的目标可连接设备的设备相 关信息。 a display unit, configured to display a device name of all connectable devices in the current network; a reading unit, configured to read the target when detecting that the target selectable device is selected by the user from all connectable devices displayed by the display unit The device-related information of the connectable device, wherein the target connectable device is a connectable device selected by the user, and the device-related information of the target connectable device includes: the last online time of the target connectable device and the target connection At least one of the last offline time of the device; - - The above display unit is further configured to display device related information of the target connectable device read by the reading unit.
基于本发明第二方面, 在第一种可能的实现方式中,  Based on the second aspect of the present invention, in a first possible implementation manner,
上述设备进一步包括:  The above device further includes:
获取单元, 用于当检测到用户对目标可连接设备进行别名时, 获取用户输 入的上述目标可连接设备的新设备名称;  An obtaining unit, configured to: when detecting that the user aliases the target connectable device, obtain a new device name of the target connectable device that is input by the user;
记录单元,用于记录上述获取单元获取的上述目标可连接设备的新设备名 称,并使上述目标可连接设备的新设备名称与上述目标可连接设备的原设备名 称相关联。  And a recording unit, configured to record a new device name of the target connectable device acquired by the acquiring unit, and associate the new device name of the target connectable device with the original device name of the target connectable device.
基于本发明第二方面的第一种可能的实现方式,在第二种可能的实现方式 中, 上述读取单元还用于: 读取上述目标可连接设备的新设备名称;  According to a first possible implementation manner of the second aspect of the present invention, in a second possible implementation, the reading unit is further configured to: read a new device name of the target connectable device;
上述显示单元还用于:显示上述读取单元读取的上述目标可连接设备的新 设备名称。  The above display unit is further configured to: display a new device name of the target connectable device read by the reading unit.
基于本发明第二方面的第一种可能的实现方式,在第三种可能的实现方式 中, 上述读取单元还用于: 当上述目标可连接设备再次被选中时, 读取上述目 标可连接设备的新设备名称;  According to a first possible implementation manner of the second aspect of the present invention, in a third possible implementation, the reading unit is further configured to: when the target connectable device is selected again, read the target connectable The new device name of the device;
上述显示单元还用于:显示上述读取单元读取的上述目标可连接设备的新 设备名称。  The above display unit is further configured to: display a new device name of the target connectable device read by the reading unit.
基于本发明第二方面, 在第四种可能的实现方式中,  Based on the second aspect of the present invention, in a fourth possible implementation,
上述设备进一步包括:  The above device further includes:
获取单元, 用于当检测到用户对上述目标可连接设备进行重命名时, 获取 用户输入的上述目标可连接设备的新设备名称;  An obtaining unit, configured to: when detecting that the user renames the target connectable device, obtain a new device name of the target connectable device input by the user;
重命名单元,用于使用上述获取单元获取的上述目标可连接设备的新设备 名称替换上述目标可连接设备的原设备名称。  And a renaming unit, configured to replace the original device name of the target connectable device by using the new device name of the target connectable device acquired by the obtaining unit.
由上可见, 本发明实施例在用户选中一个可连接设备时,读取并向用户显 示该可连接设备的设备相关信息,由于设备相关信息中包括了该可连接设备的 上次上线时间和的上次下线时间中的至少一个, 因此, 用户通过设备相关信息 可以较容易识别出所选中的可连接设备是不是其想要连接的设备,从而极大减 少了用户识别设备的时间, 有效提高了用户体验度。 一 一 附图说明 It can be seen that, when the user selects a connectable device, the embodiment of the present invention reads and displays the device-related information of the connectable device to the user, because the device related information includes the last online time of the connectable device. At least one of the last offline time, therefore, the user can more easily identify whether the selected connectable device is the device that he or she wants to connect through the device related information, thereby greatly reducing the time for the user to identify the device, and effectively improving the time. User experience. One-by-one description
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所 需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明 的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提 下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art based on these drawings without the inventive labor.
图 1为本发明提供的一种设备识别方法一个实施例流程示意图;  1 is a schematic flow chart of an embodiment of a device identification method according to the present invention;
图 2为本发明提供的一种设备识别方法另一个实施例流程示意图; 图 3为本发明提供的一种设备识别方法再一个实施例结构示意图; 图 4为本发明提供的一种设备识别方法再一个实施例结构示意图; 图 5为本发明提供的对等网络一个实施例网络架构示意图;  2 is a schematic flow chart of another embodiment of a device identification method according to the present invention; FIG. 3 is a schematic structural diagram of another embodiment of a device identification method according to the present invention; FIG. FIG. 5 is a schematic structural diagram of an embodiment of a peer-to-peer network provided by the present invention; FIG.
图 6为本发明提供的应用于对等网络的设备的一个实施例结构示意图; 图 7为本发明提供的应用于对等网络的设备的另一个实施例结构示意图; 图 8为本发明提供的应用于对等网络的设备的再一个实施例结构示意图; 图 9为本发明提供的应用于对等网络的设备的再一个实施例结构示意图。 具体实施方式  FIG. 6 is a schematic structural diagram of an embodiment of a device applied to a peer-to-peer network according to the present invention; FIG. 7 is a schematic structural diagram of another embodiment of a device applied to a peer-to-peer network according to the present invention; A schematic structural diagram of still another embodiment of a device applied to a peer-to-peer network; FIG. 9 is a schematic structural diagram of still another embodiment of a device applied to a peer-to-peer network according to the present invention. detailed description
本发明实施例提供了一种设备识别方法及相关设备。  Embodiments of the present invention provide a device identification method and related devices.
为使得本发明的发明目的、 特征、 优点能够更加的明显和易懂, 下面将结 合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而非全部实施例。 基 于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获 得的各个其他实施例, 都属于本发明保护的范围。  In order to make the present invention, the technical solutions in the embodiments of the present invention are clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. The embodiments are merely a part of the embodiments of the invention, and not all of the embodiments. Based on the embodiments of the present invention, various other embodiments obtained by those skilled in the art without creative efforts are within the scope of the present invention.
本发明实施例提供的技术方案应用在对等网络(如 Wi-Fi网络、 蓝牙网络 等)中。 在对等网络中, 每个参与设备具有同等的能力, 可以发起一个通信会 话,对等网络的参与设备可以通过和网络中的其它参与设备建立连接来获得上 述其它参与设备上设定的共享资源,相应地, 上述其它参与设备在于该参与设 备连接之后, 也可以获得该参与设备上设定的共享资源。 在本发明实施例中, 上述参与设备是指所有能够实现对等网络连接的设备, 例如: 参与设备可以是 包含蓝牙组件的电子设备(如手机、 耳机、 平板电脑、 笔记本等) , 又例如, 参与设备可以是包含通用即插即用 ( UpnP, Universal Plug and Play )结构的个 人计算机( PC, personal computer )、智能设备等。在本发明的下面实施例中, 是以对等网络中的其中一个参与设备作为执行主体来进行阐述,为便于区分和 理解, 在下面实施例中, 将作为执行主体的参与设备描述为用户设备, 将与上 述作为执行主体的参与设备处在同一对等网络中的其它参与设备描述为可连 接设备, 需要说明的是, 在下面实施例中, 用户设备特指带有界面显示功能的 参与设备(如手机、 平板电脑、 笔记本、 PC等参与设备) , 可连接设备可以 带有界面显示功能, 也可以不带有界面显示功能, 此处不作限定。 The technical solution provided by the embodiment of the present invention is applied to a peer-to-peer network (such as a Wi-Fi network, a Bluetooth network, etc.). In a peer-to-peer network, each participating device has the same capability and can initiate a communication session. The participating devices of the peer-to-peer network can establish a connection with other participating devices in the network to obtain the shared resources set on the other participating devices. Correspondingly, after the other participating devices are connected, the shared resources set on the participating device may also be obtained. In the embodiment of the present invention, the participating device refers to all devices that can implement peer-to-peer network connection, for example: the participating device may be an electronic device (such as a mobile phone, a headset, a tablet, a notebook, etc.) including a Bluetooth component, and, for example, The participating devices can be ones that include the Universal Plug and Play (UpnP) architecture. Human computer (PC, personal computer), smart device, etc. In the following embodiments of the present invention, one of the participating devices in the peer-to-peer network is used as an execution subject. To facilitate differentiation and understanding, in the following embodiments, the participating device as the execution subject is described as a user device. The other participating devices that are in the same peer-to-peer network as the participating device are described as connectable devices. It should be noted that in the following embodiments, the user device refers specifically to the participating device with the interface display function. (For example, mobile phones, tablets, notebooks, PCs, etc.), the connectable devices can be equipped with an interface display function or an interface display function, which is not limited here.
下面对本发明实施例提供的一种设备识别方法进行描述, 请参阅图 1 , 本 发明实施例中的设备识别方法, 包括:  The device identification method provided by the embodiment of the present invention is described below. Referring to FIG. 1, the device identification method in the embodiment of the present invention includes:
101、 显示当前网络中的所有可连接设备的设备名称;  101. Display a device name of all connectable devices in the current network;
在本发明实施例中, 当用户设备处于某一对等网络中时, 用户设备将扫描 当前网络中存在的可连接设备,并显示出处在当前网络中的所有可连接设备的 设备名称, 以便于用户在用户设备上对可连接设备进行选择。  In the embodiment of the present invention, when the user equipment is in a peer-to-peer network, the user equipment scans the connectable devices existing in the current network, and displays the device names of all connectable devices in the current network, so as to facilitate The user selects a connectable device on the user device.
102、 若检测到用户在用户设备上选择了目标可连接设备, 则读取目标可 连接设备的设备相关信息;  102. If detecting that the user selects the target connectable device on the user equipment, reading the device related information of the target connectable device;
其中, 上述目标可连接设备是指用户在用户设备上选择的可连接设备。 在本发明实施例中, 上述用户设备允许用户在同一时刻仅能从步骤 101所 显示的所有可连接设备中选择一个可连接设备,即同一时刻目标设备只能是一 个; 或者, 在另一实现方式中, 上述用户设备也可以允许用户在同一时刻从步 骤 101所显示的所有可连接设备中选择两个以上的可连接设备, 即同一时刻目 标设备可以是两个以上, 此处不作限定。  The above target connectable device refers to a connectable device selected by the user on the user device. In the embodiment of the present invention, the user equipment allows the user to select only one connectable device from all connectable devices displayed in step 101 at the same time, that is, the target device can only be one at the same time; or, in another implementation In this manner, the user equipment may also allow the user to select two or more connectable devices from all the connectable devices displayed in step 101 at the same time, that is, the target device may be two or more at the same time, which is not limited herein.
当用户设备检测到用户从步骤 101所显示的所有可连接设备中选择了一个 或者多个可连接设备时,用户设备读取目标可连接设备的设备相关信息。其中, 目标可连接设备的设备相关信息包括: 目标可连接设备的上次上线时间(即上 一次目标可连接设备正常工作的总时长)和目标可连接设备的上次下线时间 (即上一次目标可连接设备不能正常工作宕机的总时长) 中的至少一个。  When the user equipment detects that the user has selected one or more connectable devices from among all of the connectable devices displayed in step 101, the user device reads the device-related information of the target connectable device. The device related information of the target connectable device includes: the last online time of the target connectable device (that is, the total duration of the last target connectable device working normally) and the last offline time of the target connectable device (ie, the last time) At least one of the total length of time that the target can be connected to the device that is not working properly.
进一步,上述目标可连接设备的设备相关信息还可以包括如下信息中的一 个或者多个: 目标可连接设备的设备身份识别号(即设备 ID )、 目标可连接设 备当前的网际互联协议 ( IP , Internet Protocol )地址和介质访问控制( M AC , Media Access Control )地址等。 一 一 Further, the device related information of the target connectable device may further include one or more of the following: a device identification number of the target connectable device (ie, a device ID), and a current internetworking protocol (IP) of the target connectable device. Internet Protocol) Address and Media Access Control (M AC , Media Access Control) address, etc. One by one
103、 显示上述目标可连接设备的设备相关信息; 103. Display device related information of the foregoing target connectable device;
用户设备显示步骤 102读取的目标可连接设备的设备相关信息。  The user device displays the device-related information of the target device that can be connected to the target read in step 102.
需要说明的是,在本发明实施例中, 用户设备实时检测用户对可连接设备 的选择情况,在用户重新选中其它一个或者两个可连接设备时, 用户设备都将 对用户重新选中的可连接设备(即新的目标可连接设备)执行步骤 102 103。 举例说明, 假设原来用户在用户设备上选择的可连接设备为设备 A, 当用户在 用户设备上又选择了设备 B时, 用户设备将对设备 B执行步骤 102〜: 103。  It should be noted that, in the embodiment of the present invention, the user equipment detects the user's selection of the connectable device in real time, and when the user reselects one or two other connectable devices, the user device will re-select the connectable user. The device (ie, the new target connectable device) performs step 102 103. For example, it is assumed that the connectable device selected by the original user on the user device is device A. When the user selects device B on the user device, the user device performs steps 102 to 103 on device B.
由上可见, 本发明实施例在用户选中一个可连接设备时,读取并向用户显 示该可连接设备的设备相关信息,由于设备相关信息中包括了该可连接设备的 上次上线时间和上次下线时间中的至少一个, 因此, 用户通过设备相关信息可 以较容易识别出所选中的可连接设备是不是其想要连接的设备,从而极大减少 了用户识别设备的时间, 有效提升了用户体验度。  It can be seen that, when the user selects a connectable device, the embodiment of the present invention reads and displays the device-related information of the connectable device to the user, because the device related information includes the last online time and the uplink of the connectable device. At least one of the secondary offline times, therefore, the user can more easily identify whether the selected connectable device is the device that he or she wants to connect through the device related information, thereby greatly reducing the time for the user to identify the device, and effectively improving the user. Experience.
进一步, 在图 1所示实施例的基础上, 还可以进一步在用户设备上对目标 可连接设备进行别名, 下面结合图 2 , 以另一个实施例对本发明实施例中的设 备识别方法进行描述:  Further, on the basis of the embodiment shown in FIG. 1, the target connectable device may be further aliased on the user equipment. The device identification method in the embodiment of the present invention is described in another embodiment with reference to FIG. 2:
201、 显示当前网络中的所有可连接设备的设备名称;  201. Display a device name of all connectable devices in the current network;
在本发明实施例中, 当用户设备处于某一对等网络中时, 用户设备将扫描 当前网络中存在的可连接设备,并显示出处在当前网络中的所有可连接设备的 设备名称, 以便于用户在用户设备上对可连接设备进行选择。  In the embodiment of the present invention, when the user equipment is in a peer-to-peer network, the user equipment scans the connectable devices existing in the current network, and displays the device names of all connectable devices in the current network, so as to facilitate The user selects a connectable device on the user device.
202、 若检测到用户在用户设备上选择了目标可连接设备, 则读取目标可 连接设备的设备相关信息;  202. If it is detected that the user selects the target connectable device on the user equipment, the device related information of the target connectable device is read;
其中, 上述目标可连接设备是指用户在用户设备上选择的可连接设备。 在本发明实施例中, 上述用户设备允许用户在同一时刻仅能从步骤 201所 显示的所有可连接设备中选择一个可连接设备,即同一时刻目标设备只能是一 个; 或者, 在另一实现方式中, 上述用户设备也可以允许用户在同一时刻从步 骤 201所显示的所有可连接设备中选择两个以上的可连接设备, 即同一时刻目 标设备可以是两个以上, 此处不作限定。  The above target connectable device refers to a connectable device selected by the user on the user device. In the embodiment of the present invention, the user equipment allows the user to select only one connectable device from all the connectable devices displayed in step 201 at the same time, that is, the target device can only be one at the same time; or, in another implementation In this manner, the user equipment may also allow the user to select two or more connectable devices from all the connectable devices that are displayed in the step 201 at the same time, that is, the target device may be two or more at the same time, which is not limited herein.
当用户设备检测到用户从步骤 201所显示的所有可连接设备中选择了一个 或者多个可连接设备时,用户设备读取目标可连接设备的设备相关信息。其中, 目标可连接设备的设备相关信息包括: 目标可连接设备的上次上线时间(即上 一次目标可连接设备正常工作的总时长)和目标可连接设备的上次下线时间 (即上一次目标可连接设备不能正常工作宕机的总时长) 中的至少一个。 When the user equipment detects that the user selects one or more connectable devices from among all connectable devices displayed in step 201, the user device reads device related information of the target connectable device. The device related information of the target connectable device includes: the last online time of the target connectable device (ie, the upper At least one of the total length of time that the target can connect the device to work normally, and the last offline time of the target connectable device (that is, the total time that the last target connectable device is not working properly).
进一步,上述目标可连接设备的设备相关信息还可以包括如下信息中的一 个或者多个: 该可连接设备的设备身份识别号(即设备 ID )、 该可连接设备当 前的 IP地址和 M AC地址等。  Further, the device related information of the target connectable device may further include one or more of the following: a device identification number (ie, a device ID) of the connectable device, a current IP address of the connectable device, and a M AC address. Wait.
203、 显示上述目标可连接设备的设备相关信息;  203. Display device related information of the foregoing target connectable device;
用户设备显示步骤 202读取的目标可连接设备的设备相关信息。  The user equipment displays the device-related information of the target connectable device that is read in step 202.
204、 若检测到用户对目标可连接设备进行别名, 则获取用户输入的目标 可连接设备的新设备名称。  204. If it is detected that the user aliases the target connectable device, obtain a new device name of the target connectable device input by the user.
205、 记录用户别名的目标可连接设备的新设备名称, 并使该目标可连接 设备的新设备名称与该目标可连接设备的原设备名称相关联;  205. Record a target of the user alias, connect the new device name of the device, and associate the new device name of the target connectable device with the original device name of the target connectable device;
用户设备记录用户别名的目标可连接设备的新设备名称 ,将该目标可连接 设备的新设备名称与该目标可连接设备的原设备名称进行关联,以便在用户设 备上显示该目标可连接设备的新设备名称, 或者,在该目标可连接设备再次被 选中时, 读取该目标可连接设备的新设备名称并在用户设备上显示。  The user device records the new device name of the target connectable device of the user alias, associates the new device name of the target connectable device with the original device name of the target connectable device, so as to display the target connectable device on the user device The new device name, or, when the target connectable device is selected again, reads the new device name of the target connectable device and displays it on the user device.
在一种实现方式中,如图 3中的步骤 305所示(图 3的步骤 301~304可以参照 图 2的步骤 201~204中的描述, 此处不再赘述) , 用户设备将步骤 304获取的目 标可连接设备的新设备名称记录在本地(即用户设备上), 并在本地上将该目 标可连接设备的新设备名称与该目标可连接设备的原设备名称进行关联,例如, 将步骤 304获取的目标可连接设备的新设备名称作为该目标可连接设备的原设 备名称的别名记录在本地。 当然, 在其它实现方式中, 用户设备也可以通过网 络或者其它通讯方式将步骤 304获取的目标可连接设备的新设备名称记录在服 务器或者其它通讯设备上, 此处不作限定。  In an implementation manner, as shown in step 305 in FIG. 3 (steps 301-304 of FIG. 3 may be referred to the description in steps 201-204 of FIG. 2, and details are not described herein again), and the user equipment obtains step 304. The new device name of the target connectable device is recorded locally (ie, on the user device), and the new device name of the target connectable device is locally associated with the original device name of the target connectable device, for example, the step The new device name of the target connectable device acquired by 304 is recorded locally as an alias of the original device name of the target connectable device. Of course, in other implementation manners, the user equipment may also record the new device name of the target connectable device obtained in step 304 on the server or other communication device by using a network or other communication manner, which is not limited herein.
需要说明的是,在本发明实施例中, 用户设备实时检测用户对可连接设备 的选择情况,在用户重新选中其它一个或者两个可连接设备时, 用户设备都将 对用户重新选中的可连接设备(即新的目标可连接设备)执行步骤 202~205。  It should be noted that, in the embodiment of the present invention, the user equipment detects the user's selection of the connectable device in real time, and when the user reselects one or two other connectable devices, the user device will re-select the connectable user. The device (ie, the new target connectable device) performs steps 202-205.
由上可见, 本发明实施例在用户选中一个可连接设备时,读取并向用户显 示该可连接设备的设备相关信息,由于设备相关信息中包括了该可连接设备的 上次上线时间和上次下线时间中的至少一个, 因此, 用户通过设备相关信息可 以较容易识别出所选中的可连接设备是不是其想要连接的设备,从而极大减少 一 一 了用户识别设备的时间, 有效提升了用户体验度。 进一步, 本发明实施例还提 供了在用户设备上对选中的可连接设备进行别名的机制,从而使得可连接设备 的识别更为直观, 更进一步减少了用户识别设备的时间,使用户体验度得到进 一步地提升。 It can be seen that, when the user selects a connectable device, the embodiment of the present invention reads and displays the device-related information of the connectable device to the user, because the device related information includes the last online time and the uplink of the connectable device. At least one of the secondary offline times, therefore, the user can more easily identify whether the selected connectable device is the device that he or she wants to connect through the device related information, thereby greatly reducing The time when the user identifies the device is one, which effectively improves the user experience. Further, the embodiment of the present invention further provides a mechanism for aliasing the selected connectable device on the user equipment, so that the identification of the connectable device is more intuitive, and the time for the user to identify the device is further reduced, so that the user experience is obtained. Further improvement.
进一步, 在图 1所示实施例的基础上, 还可以进一步在用户设备上对选中 的可连接设备进行重命名, 下面结合图 4, 以另一个实施例对本发明实施例中 的设备识别方法进行描述:  Further, on the basis of the embodiment shown in FIG. 1, the selected connectable device may be further renamed on the user equipment, and the device identification method in the embodiment of the present invention is further described in another embodiment with reference to FIG. Description:
401、 显示当前网络中的所有可连接设备的设备名称;  401. Display a device name of all connectable devices in the current network.
在本发明实施例中, 当用户设备处于某一对等网络中时, 用户设备将扫描 当前网络中存在的可连接设备,并显示出处在当前网络中的所有可连接设备的 设备名称, 以便于用户在用户设备上对可连接设备进行选择。  In the embodiment of the present invention, when the user equipment is in a peer-to-peer network, the user equipment scans the connectable devices existing in the current network, and displays the device names of all connectable devices in the current network, so as to facilitate The user selects a connectable device on the user device.
402、 若检测到用户在用户设备上选择了目标可连接设备, 则读取目标可 连接设备的设备相关信息;  402. If it is detected that the user selects the target connectable device on the user equipment, reading the device related information of the target connectable device;
其中, 上述目标可连接设备是指用户在用户设备上选择的可连接设备。 在本发明实施例中, 上述用户设备允许用户在同一时刻仅能从步骤 401所 显示的所有可连接设备中选择一个可连接设备,即同一时刻目标设备只能是一 个; 或者, 在另一实现方式中, 上述用户设备也可以允许用户在同一时刻从步 骤 401所显示的所有可连接设备中选择两个以上的可连接设备, 即同一时刻目 标设备可以是两个以上, 此处不作限定。  The above target connectable device refers to a connectable device selected by the user on the user device. In the embodiment of the present invention, the user equipment allows the user to select only one connectable device from all connectable devices displayed in step 401 at the same time, that is, the target device can only be one at the same time; or, in another implementation In the above manner, the user equipment may also allow the user to select two or more connectable devices from all the connectable devices displayed in step 401 at the same time, that is, the target device may be two or more at the same time, which is not limited herein.
当用户设备检测到用户从步骤 401所显示的所有可连接设备中选择了一个 或者多个可连接设备时,用户设备读取目标可连接设备的设备相关信息。其中, 目标可连接设备的设备相关信息包括: 目标可连接设备的上次上线时间(即上 一次该可连接设备正常工作的总时长)和目标可连接设备的上次下线时间(即 上一次该可连接设备不能正常工作宕机的总时长) 中的至少一个。  When the user equipment detects that the user has selected one or more connectable devices from all of the connectable devices displayed in step 401, the user device reads the device related information of the target connectable device. The device related information of the target connectable device includes: the last online time of the target connectable device (that is, the total duration of the last connectable device working normally) and the last offline time of the target connectable device (ie, the last time) At least one of the total length of time that the connectable device is not working properly.
进一步,上述目标可连接设备的设备相关信息还可以包括如下信息中的一 个或者多个: 目标可连接设备的设备身份识别号(即设备 ID )、 目标可连接设 备当前的 IP地址和 M AC地址等。  Further, the device related information of the target connectable device may further include one or more of the following information: a device identification number of the target connectable device (ie, a device ID), a current IP address of the target connectable device, and a M AC address. Wait.
403、 显示上述目标可连接设备的设备相关信息;  403. Display device related information of the foregoing target connectable device;
用户设备显示步骤 402读取的目标可连接设备的设备相关信息。  The user equipment displays the device-related information of the target device that can be connected to the target read in step 402.
404、 若检测到用户对目标可连接设备进行重命名, 则获取用户输入的该 - - 目标可连接设备的新设备名称。 404. If it is detected that the user renames the target connectable device, obtain the user input. - - The new device name of the target connectable device.
405、 使用上述获取的目标可连接设备的新设备名称替换该目标可连接设 备的原设备名称, 以对该目标可连接设备进行重命名;  405. Replace the original device name of the target connectable device by using the new device name of the target connectable device obtained above to rename the target connectable device;
用户设备在步骤 404获取用户输入的目标可连接设备的新设备名称之后, 使用获取到的该目标可连接设备的新设备名称替换该目标可连接设备的原设 备名称, 即利用步骤 404获取的该目标可连接设备的新设备名称对该目标可连 接设备进行重命名。 例如, 用户设备可以通过与目标可连接设备进行通讯, 将 该目标可连接设备的新设备名称发送给该目标可连接设备,并使该目标可连接 设备使用该目标可连接设备的新设备名称进行重命名。  After the user equipment acquires the new device name of the target connectable device input by the user in step 404, the original device name of the target connectable device is replaced with the obtained new device name of the target connectable device, that is, the obtained by step 404. The target connectable device is renamed by the new device name of the target connectable device. For example, the user equipment can communicate with the target connectable device, send the new device name of the target connectable device to the target connectable device, and make the target connectable device use the new device name of the target connectable device. Rename.
需要说明的是,在本发明实施例中, 用户设备实时检测用户对可连接设备 的选择情况,在用户重新选中其它一个或者两个可连接设备时, 用户设备都将 对用户重新选中的可连接设备 (即新的目标可连接设备 )执行步骤 402~405。  It should be noted that, in the embodiment of the present invention, the user equipment detects the user's selection of the connectable device in real time, and when the user reselects one or two other connectable devices, the user device will re-select the connectable user. The device (ie, the new target connectable device) performs steps 402-405.
由上可见, 本发明实施例在用户选中一个可连接设备时,读取并向用户显 示该可连接设备的设备相关信息,由于设备相关信息中包括了该可连接设备的 上次上线时间和上次下线时间中的至少一个, 因此, 用户通过设备相关信息可 以较容易识别出所选中的可连接设备是不是其想要连接的设备,从而极大减少 了用户识别设备的时间, 有效提升了用户体验度。 进一步, 本发明实施例还提 供了在用户设备上对选中的可连接设备进行重命名的机制,从而使得可连接设 备的识别更为直观, 更进一步减少了用户识别设备的时间,使用户体验度得到 进一步地提升。  It can be seen that, when the user selects a connectable device, the embodiment of the present invention reads and displays the device-related information of the connectable device to the user, because the device related information includes the last online time and the uplink of the connectable device. At least one of the secondary offline times, therefore, the user can more easily identify whether the selected connectable device is the device that he or she wants to connect through the device related information, thereby greatly reducing the time for the user to identify the device, and effectively improving the user. Experience. Further, the embodiment of the present invention further provides a mechanism for renaming the selected connectable device on the user equipment, so that the identification of the connectable device is more intuitive, and the time for the user to identify the device is further reduced, and the user experience is further reduced. Got further improvement.
本发明实施例还提供了一种应用于对等网络的设备, 如图 5所示为一种对 等网络的网络架构图, 在图 5所示的对等网络中, 每个参与设备(如参与设备 S1~S5 )具有同等的能力, 可以发起一个通信会话, 对等网络的参与设备可以 通过和网络中的其它参与设备建立连接来获得上述其它参与设备上设定的共 享资源, 相应地, 上述其它参与设备在于该参与设备连接之后, 也可以获得该 参与设备上设定的共享资源。下面对本发明实施例中的应用于对等网络的参与 设备进行描述, 如图 6所示的设备 600 , 需要说明的是, 为便于区分和理解, 在 下面实施例中, 将处于同一网络中的除设备 600以外的其它参与设备均描述为 可连接设备。  The embodiment of the present invention further provides a device applied to a peer-to-peer network, as shown in FIG. 5, which is a network architecture diagram of a peer-to-peer network. In the peer-to-peer network shown in FIG. 5, each participating device (for example, The participating devices S1~S5 have the same capability and can initiate a communication session. The participating devices of the peer-to-peer network can establish the connection with other participating devices in the network to obtain the shared resources set on the other participating devices. Accordingly, The other participating devices may also obtain the shared resources set on the participating device after the participating devices are connected. The following describes the participating device applied to the peer-to-peer network in the embodiment of the present invention. As shown in FIG. 6, the device 600 needs to be described. In the following embodiments, the device will be in the same network. Participating devices other than device 600 are described as connectable devices.
如图 6所示, 本发明实施例中的设备 600包括: - - 显示单元 601 , 用于显示当前网络中的所有可连接设备的设备名称。 As shown in FIG. 6, the device 600 in the embodiment of the present invention includes: - - Display unit 601 for displaying the device name of all connectable devices in the current network.
读取单元 602, 用于当检测到用户在设备 600上选择了目标可连接设备时, 读取目标可连接设备的设备相关信息, 其中, 上述目标可连接设备是指用户在 用户设备上选择的可连接设备。 目标可连接设备的设备相关信息包括: 目标可 连接设备的上次上线时间和目标可连接设备的上次下线时间中的至少一个。进 一步,目标可连接设备的设备相关信息还可以包括如下信息中的一个或者多个: 目标可连接设备的设备 ID、 目标可连接设备当前的 IP地址以及 M AC地址等。  The reading unit 602 is configured to: when detecting that the user selects the target connectable device on the device 600, read the device-related information of the target connectable device, where the target connectable device refers to the user selected on the user device. Connectable devices. The device-related information of the target connectable device includes: at least one of the last online time of the target connectable device and the last offline time of the target connectable device. Further, the device related information of the target connectable device may further include one or more of the following information: a device ID of the target connectable device, a current IP address of the target connectable device, a M AC address, and the like.
显示单元 601 ,还用于显示读取单元 602读取的目标可连接设备的设备相关 信息。  The display unit 601 is further configured to display device related information of the target connectable device read by the reading unit 602.
在图 6所示实施例的基础上,还可以进一步对选中的可连接设备进行别名, 如图 7所示, 设备 700进一步包括:  On the basis of the embodiment shown in FIG. 6, the selected connectable device can be further aliased. As shown in FIG. 7, the device 700 further includes:
获取单元 703 , 用于当检测到用户对目标可连接设备进行别名时, 获取用 户输入的该目标可连接设备的新设备名称。  The obtaining unit 703 is configured to obtain, when the user aliases the target connectable device, the new device name of the target connectable device input by the user.
记录单元 704,用于记录获取单元 703获取的目标可连接设备的新设备名称, 并使该目标可连接设备的新设备名称与该目标可连接设备的原设备名称相关 联。  The recording unit 704 is configured to record a new device name of the target connectable device acquired by the obtaining unit 703, and associate the new device name of the target connectable device with the original device name of the target connectable device.
在一种实现方式中,记录单元 704将获取单元 703获取的目标可连接设备的 新设备名称记录在本地(即设备 700上) 。 当然, 在其它实现方式中, 记录单 备的新设备名称记录在服务器或者其它通讯设备上, 此处不作限定。  In one implementation, the recording unit 704 records the new device name of the target connectable device acquired by the obtaining unit 703 locally (i.e., on the device 700). Of course, in other implementations, the new device name of the recording device is recorded on the server or other communication device, which is not limited herein.
进一步, 在图 7所示实施例基础上, 读取单元 602还用于: 读取用户别名的 目标可连接设备的新设备名称, 显示单元 601还用于: 显示读取单元 602读取的 目标可连接设备的新设备名称。 或者, 读取单元 602还用于: 当上述目标可连 接设备再次被选中时, 读取该目标可连接设备的新设备名称, 显示单元 601还 用于: 显示读取单元 602读取的该目标可连接设备的新设备名称。  Further, based on the embodiment shown in FIG. 7, the reading unit 602 is further configured to: read a new device name of the target connectable device of the user alias, and the display unit 601 is further configured to: display the target read by the reading unit 602 The new device name to which the device can be connected. Alternatively, the reading unit 602 is further configured to: when the target connectable device is selected again, read the new device name of the target connectable device, and the display unit 601 is further configured to: display the target read by the reading unit 602 The new device name to which the device can be connected.
在图 6所示实施例的基础上, 也可以进一步对选中的可连接设备进行重重 命名, 如图 8所示, 设备 800进一步包括:  On the basis of the embodiment shown in FIG. 6, the selected connectable device can be further renamed. As shown in FIG. 8, the device 800 further includes:
获取单元 803 , 用于当检测到用户对目标可连接设备进行重命名时, 获取 用户输入的该目标可连接设备的新设备名称;  The obtaining unit 803 is configured to: when detecting that the user renames the target connectable device, acquire a new device name of the target connectable device input by the user;
重命名单元 804,用于使用获取单元 803获取的目标可连接设备的新设备名 - - 称替换该目标可连接设备的原设备名称, 以对该目标可连接设备进行重命名。 如上述方法实施例中的设备,可以用于实现上述方法实施例中的全部技术方案, 其各个功能模块的功能可以根据上述方法实施例中的方法具体实现,其具体实 现过程可参照上述实施例中的相关描述, 此处不再赘述。 Renaming unit 804, for using the new device name of the target connectable device acquired by the obtaining unit 803 - - Rename the target connectable device by replacing the original device name of the target connectable device. The device in the foregoing method embodiment may be used to implement all the technical solutions in the foregoing method embodiments, and the functions of the respective functional modules may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the foregoing embodiment. The relevant description in the description will not be repeated here.
由上可见, 本发明实施例在用户选中一个可连接设备时,读取并向用户显 示该可连接设备的设备相关信息,由于设备相关信息中包括了该可连接设备的 上次上线时间和上次下线时间中的至少一个, 因此, 用户通过设备相关信息可 以较容易识别出所选中的可连接设备是不是其想要连接的设备,从而极大减少 了用户识别设备的时间, 有效提升了用户体验度。 进一步, 本发明实施例还提 供了在用户设备上对选中的可连接设备进行别名或重命名的机制,从而使得可 连接设备的识别更为直观, 更进一步减少了用户识别设备的时间,使用户体验 度得到进一步地提升。  It can be seen that, when the user selects a connectable device, the embodiment of the present invention reads and displays the device-related information of the connectable device to the user, because the device related information includes the last online time and the uplink of the connectable device. At least one of the secondary offline times, therefore, the user can more easily identify whether the selected connectable device is the device that he or she wants to connect through the device related information, thereby greatly reducing the time for the user to identify the device, and effectively improving the user. Experience. Further, the embodiment of the present invention further provides a mechanism for aliasing or renaming the selected connectable device on the user equipment, so that the identification of the connectable device is more intuitive, and the time for the user to identify the device is further reduced, so that the user is further The experience is further improved.
本发明实施例还提供一种计算机存储介质, 其中, 该计算机存储介质存储 有程序, 该程序执行包括上述方法实施例中记载的部分或全部布置。  The embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores a program, and the program execution includes some or all of the arrangements described in the foregoing method embodiments.
下面对本发明实施中的另一种应用于对等网络的设备进行描述,请参阅图 Another device applied to a peer-to-peer network in the implementation of the present invention is described below.
9 , 本发明实施例中的设备 900包括: The device 900 in the embodiment of the present invention includes:
输入装置 901、 输出装置 902、 存储器 903以及处理器 904 (设备 900的处理 器 904的数量可以是一个或者多个, 图 9以一个处理器为例)。 在本发明的一些 实施例中, 输入装置 901、 输出装置 902、 存储器 903以及处理器 904可以通过总 线或其它方式连接, 如图 9所示以通过总线连接为例。  The input device 901, the output device 902, the memory 903, and the processor 904 (the number of the processors 904 of the device 900 may be one or more, and FIG. 9 is exemplified by a processor). In some embodiments of the present invention, the input device 901, the output device 902, the memory 903, and the processor 904 may be connected by a bus or other means, as shown in FIG.
其中, 处理器 904执行如下步骤:  The processor 904 performs the following steps:
显示当前网络中的所有可连接设备的设备名称。  Displays the device name of all connectable devices in the current network.
若检测到用户在设备 900上选择了目标可连接设备, 则读取目标可连接设 备的设备相关信息;  If it is detected that the user selects the target connectable device on the device 900, the device related information of the target connectable device is read;
其中, 上述目标可连接设备是指用户在用户设备上选择的可连接设备。 目 标可连接设备的设备相关信息包括: 目标可连接设备的上次上线时间和目标可 连接设备的上次下线时间中的至少一个。  The above target connectable device refers to a connectable device selected by the user on the user device. The device-related information of the target connectable device includes: at least one of the last online time of the target connectable device and the last offline time of the target connectable device.
进一步,目标可连接设备的设备相关信息还可以包括如下信息中的一个或 者多个: 目标可连接设备的设备 ID、 目标可连接设备当前的 IP地址以及 M AC - - 地址等。 Further, the device related information of the target connectable device may further include one or more of the following information: a device ID of the target connectable device, a current IP address of the target connectable device, and a M AC - - Address, etc.
显示上述第一可连接设备的设备相关信息。  The device related information of the first connectable device is displayed.
在一种应用场景中,设备 900可以对选中的可连接设备进行别名,具体地, 处理器 904还用于: 当检测到用户对目标可连接设备进行别名时, 获取用户输 入的该目标可连接设备的新设备名称; 记录该目标可连接设备的新设备名称, 并使该目标可连接设备的新设备名称与该目标可连接设备的原设备名称相关 联。处理器 904可以将获取的可连接设备的新设备名称记录在本地(即设备 900 接设备的新设备名称记录在服务器或者其它通讯设备上, 此处不作限定。 进一 步, 处理器 904还用于在记录下上述可连接设备的新设备名称后, 读取并显示 该目标可连接设备的新设备名称。 或者, 当该目标可连接设备再次被选中时, 处理器 904才读取和显示上述该目标可连接设备的新设备名称。  In an application scenario, the device 900 may alias the selected connectable device. Specifically, the processor 904 is further configured to: when detecting that the user aliases the target connectable device, obtain the target input connectable by the user. The new device name of the device; record the new device name of the target connectable device, and associate the new device name of the target connectable device with the original device name of the target connectable device. The processor 904 can record the obtained new device name of the connectable device locally (that is, the new device name of the device 900 is recorded on the server or other communication device, which is not limited herein. Further, the processor 904 is also used to After recording the new device name of the connectable device, the new device name of the target connectable device is read and displayed. Or, when the target connectable device is selected again, the processor 904 reads and displays the target. The new device name to which the device can be connected.
在另一种应用场景中, 设备 900也可以对目标可连接设备进行重命名, 具 体地, 处理器 904还用于: 当检测到用户对目标可连接设备进行重命名时, 获 取用户输入的该目标可连接设备的新设备名称;使用该目标可连接设备的新设 备名称替换该目标可连接设备的原设备名称,以对该目标可连接设备进行重命 名。  In another application scenario, the device 900 may also rename the target connectable device. Specifically, the processor 904 is further configured to: when detecting that the user renames the target connectable device, acquire the user input The new device name to which the target can connect to the device; replace the original device name of the target connectable device with the new device name of the target connectable device to rename the target connectable device.
需要说明的是, 本发明实施例中的设备 900可以如上述方法实施例中的设 备, 可以用于实现上述方法实施例中的全部技术方案, 其各个功能模块的功能 可以根据上述方法实施例中的方法具体实现,其具体实现过程可参照上述实施 例中的相关描述, 此处不再赘述。  It should be noted that the device 900 in the embodiment of the present invention may be used as the device in the foregoing method embodiment, and may be used to implement all the technical solutions in the foregoing method embodiments, and the functions of the respective functional modules may be in accordance with the foregoing method embodiments. The specific implementation of the method may be referred to the related description in the foregoing embodiments, and details are not described herein again.
由上可见, 本发明实施例在用户选中一个可连接设备时,读取并向用户显 示该可连接设备的设备相关信息,由于设备相关信息中包括了该可连接设备的 上次上线时间和上次下线时间中的至少一个, 因此, 用户通过设备相关信息可 以较容易识别出所选中的可连接设备是不是其想要连接的设备,从而极大减少 了用户识别设备的时间, 有效提升了用户体验度。 进一步, 本发明实施例还提 供了在用户设备上对选中的可连接设备进行别名或重命名的机制,从而使得可 连接设备的识别更为直观, 更进一步减少了用户识别设备的时间,使用户体验 度得到进一步地提升。  It can be seen that, when the user selects a connectable device, the embodiment of the present invention reads and displays the device-related information of the connectable device to the user, because the device related information includes the last online time and the uplink of the connectable device. At least one of the secondary offline times, therefore, the user can more easily identify whether the selected connectable device is the device that he or she wants to connect through the device related information, thereby greatly reducing the time for the user to identify the device, and effectively improving the user. Experience. Further, the embodiment of the present invention further provides a mechanism for aliasing or renaming the selected connectable device on the user equipment, so that the identification of the connectable device is more intuitive, and the time for the user to identify the device is further reduced, so that the user is further The experience is further improved.
需要说明的是, 对于前述的各方法实施例, 为了简便描述, 故将其都表述 - - 为一系列的动作组合,但是本领域技术人员应该知悉, 本发明并不受所描述的 动作顺序的限制,因为依据本发明,某些步骤可以釆用其它顺序或者同时进行。 其次, 本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施 例, 所涉及的动作和模块并不一定都是本发明所必须的。 It should be noted that, for the foregoing method embodiments, for the sake of simplicity, they are all expressed. - A combination of actions, but those skilled in the art will appreciate that the present invention is not limited by the order of the acts described, as some steps may be performed in other sequences or concurrently in accordance with the present invention. In the following, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重, 某个实施例中没有详 述的部分, 可以参见其它实施例的相关描述。  In the above embodiments, the descriptions of the various embodiments are different, and the details are not described in the specific embodiments. For details, refer to the related descriptions of other embodiments.
本领域普通技术人员可以理解上述实施例中的各种方法中的全部或部分 步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可 读存储介质中, 存储介质例如可以包括: 只读存储器、 随机存储器、 磁盘或光 盘等。  A person of ordinary skill in the art may understand that all or part of the steps in the foregoing embodiments may be completed by a program to instruct related hardware, and the program may be stored in a computer readable storage medium, for example, the storage medium may be Includes: Read Only Memory, Random Access Memory, Disk or CD, and more.
以上对本发明所提供的一种设备识别方法及相关设备进行了详细介绍,对 于本领域的一般技术人员,依据本发明实施例的思想,在具体实施方式及应用 范围上均会有改变之处, 本说明书内容不应理解为对本发明的限制。  The device identification method and the related device provided by the present invention are described in detail above. For those skilled in the art, according to the idea of the embodiment of the present invention, there are changes in the specific implementation manner and application scope. The contents of this specification are not to be construed as limiting the invention.

Claims

权 利 要 求 Rights request
1、 一种设备识别方法, 应用于对等网络, 其特征在于, 包括: 1. A device identification method, applied to peer-to-peer networks, characterized by including:
显示当前网络中的所有可连接设备的设备名称; Display the device names of all connectable devices in the current network;
若检测到用户从所述所有可连接设备中选择了目标可连接设备, 则: 读取目标可连接设备的设备相关信息, 其中, 所述目标可连接设备为所述 用户选择的可连接设备, 所述目标可连接设备的设备相关信息包括: 所述目标 可连接设备的上次上线时间和所述目标可连接设备的上次下线时间中的至少 一个; If it is detected that the user selects the target connectable device from all the connectable devices, then: read the device related information of the target connectable device, where the target connectable device is the connectable device selected by the user, The device-related information of the target connectable device includes: at least one of the last online time of the target connectable device and the last offline time of the target connectable device;
显示所述目标可连接设备的设备相关信息。 Display device-related information of the target connectable device.
2、 根据权利要求 1所述的方法, 其特征在于, 2. The method according to claim 1, characterized in that,
所述显示所述目标可连接设备的设备相关信息, 之后进一步包括: 若检测到用户对所述目标可连接设备进行别名, 则: The displaying the device-related information of the target connectable device further includes: If it is detected that the user aliases the target connectable device, then:
获取用户输入的所述目标可连接设备的新设备名称; Obtain the new device name of the target connectable device input by the user;
记录所述目标可连接设备的新设备名称,并使所述目标可连接设备的新设 备名称与所述目标可连接设备的原设备名称相关联。 Record the new device name of the target connectable device, and associate the new device name of the target connectable device with the original device name of the target connectable device.
3、 根据权利要求 2所述的方法, 其特征在于, 3. The method according to claim 2, characterized in that,
所述记录所述目标可连接设备的新设备名称, 之后包括: The recording of the new device name of the target connectable device includes:
读取并显示所述目标可连接设备的新设备名称。 Read and display the new device name of the target connectable device.
4、 根据权利要求 2所述的方法, 其特征在于, 4. The method according to claim 2, characterized in that,
所述记录所述目标可连接设备的新设备名称, 之后包括: The recording of the new device name of the target connectable device includes:
当所述目标可连接设备再次被选中时,读取并显示所述目标可连接设备的 新设备名称。 When the target connectable device is selected again, the new device name of the target connectable device is read and displayed.
5、 根据权利要求 1所述的方法, 其特征在于, 5. The method according to claim 1, characterized in that,
所述显示所述目标可连接设备的设备相关信息, 之后进一步包括: 若检测到用户对所述目标可连接设备进行重命名, 则: The displaying the device-related information of the target connectable device further includes: If it is detected that the user renames the target connectable device, then:
获取用户输入的所述目标可连接设备的新设备名称; Obtain the new device name of the target connectable device input by the user;
使用所述目标可连接设备的新设备名称替换所述目标可连接设备的原设 备名称。 Replace the original device name of the target connectable device with the new device name of the target connectable device.
6、 一种应用于对等网络的设备, 其特征在于, 包括: 6. A device used in peer-to-peer networks, characterized by including:
显示单元, 用于显示当前网络中的所有可连接设备的设备名称; 读取单元,用于当检测到用户从所述显示单元显示的所有可连接设备中选 择了目标可连接设备时, 读取目标可连接设备的设备相关信息, 其中, 所述目 标可连接设备为所述用户选择的可连接设备,所述目标可连接设备的设备相关 信息包括:所述目标可连接设备的上次上线时间和所述目标可连接设备的上次 下线时间中的至少一个; A display unit used to display the device names of all connectable devices in the current network; A reading unit configured to read device-related information of the target connectable device when it is detected that the user selects a target connectable device from all connectable devices displayed on the display unit, wherein the target connectable device is For the connectable device selected by the user, the device-related information of the target connectable device includes: at least one of the last online time of the target connectable device and the last offline time of the target connectable device;
所述显示单元,还用于显示所述读取单元读取的目标可连接设备的设备相 关信息。 The display unit is also used to display the device-related information of the target connectable device read by the reading unit.
7、 根据权利要求 6所述的设备, 其特征在于, 7. The device according to claim 6, characterized in that,
所述设备进一步包括: The equipment further includes:
获取单元, 用于当检测到用户对目标可连接设备进行别名时, 获取用户输 入的所述目标可连接设备的新设备名称; An acquisition unit configured to acquire the new device name of the target connectable device input by the user when it is detected that the user aliases the target connectable device;
记录单元,用于记录所述获取单元获取的所述目标可连接设备的新设备名 称,并使所述目标可连接设备的新设备名称与所述目标可连接设备的原设备名 称相关联。 A recording unit configured to record the new device name of the target connectable device acquired by the acquisition unit, and associate the new device name of the target connectable device with the original device name of the target connectable device.
8、 根据权利要求 7所述的设备, 其特征在于, 8. The device according to claim 7, characterized in that,
所述读取单元还用于: 读取所述目标可连接设备的新设备名称; 所述显示单元还用于:显示所述读取单元读取的所述目标可连接设备的新 设备名称。 The reading unit is further configured to: read the new device name of the target connectable device; and the display unit is further configured to: display the new device name of the target connectable device read by the reading unit.
9、 根据权利要求 7所述的设备, 其特征在于, 9. The device according to claim 7, characterized in that,
所述读取单元还用于: 当所述目标可连接设备再次被选中时,读取所述目 标可连接设备的新设备名称; The reading unit is also used to: when the target connectable device is selected again, read the new device name of the target connectable device;
所述显示单元还用于:显示所述读取单元读取的所述目标可连接设备的新 设备名称。 The display unit is also configured to display the new device name of the target connectable device read by the reading unit.
10、 根据权利要求 6所述的设备, 其特征在于, 10. The device according to claim 6, characterized in that,
所述设备进一步包括: The equipment further includes:
获取单元, 用于当检测到用户对所述目标可连接设备进行重命名时, 获取 用户输入的所述目标可连接设备的新设备名称; An acquisition unit, configured to acquire the new device name of the target connectable device input by the user when it is detected that the user renames the target connectable device;
重命名单元,用于使用所述获取单元获取的所述目标可连接设备的新设备 名称替换所述目标可连接设备的原设备名称。 A renaming unit, configured to replace the original device name of the target connectable device with the new device name of the target connectable device obtained by the acquisition unit.
PCT/CN2014/073212 2013-03-25 2014-03-11 Device identification method and relevant device WO2014154089A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310098517.4A CN104079326B (en) 2013-03-25 2013-03-25 A kind of device identification method and relevant device
CN201310098517.4 2013-03-25

Publications (1)

Publication Number Publication Date
WO2014154089A1 true WO2014154089A1 (en) 2014-10-02

Family

ID=51600394

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/073212 WO2014154089A1 (en) 2013-03-25 2014-03-11 Device identification method and relevant device

Country Status (2)

Country Link
CN (2) CN107743304B (en)
WO (1) WO2014154089A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104917551B (en) * 2015-06-11 2017-04-26 上海科勒电子科技有限公司 Method and equipment for pairing blue-tooth devices
JP6518220B2 (en) * 2016-09-13 2019-05-22 株式会社デンソーテン Terminal detection method and communication apparatus
CN111338221B (en) * 2020-02-21 2023-07-25 珠海荣邦电子科技有限公司 Multi-device self-adaptive control method, device and system
CN111312250A (en) * 2020-02-21 2020-06-19 珠海荣邦电子科技有限公司 Voice-based multi-device adaptation control method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1450471A (en) * 2002-04-11 2003-10-22 佳能株式会社 Communication device capable of setting unique names on communication networks
CN1767541A (en) * 2004-10-05 2006-05-03 索尼法国股份有限公司 Self-organisation approach to semantic interoperability in peer-to-peer information exchange
CN101499903A (en) * 2008-02-02 2009-08-05 华为技术有限公司 Method, apparatus, system, customer node, peer node and convergent point for preventing node forged identity
CN102214209A (en) * 2011-04-27 2011-10-12 百度在线网络技术(北京)有限公司 Method and equipment for identifying homonymous information entities

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4270270B2 (en) * 2006-12-05 2009-05-27 ソニー株式会社 Electronic device, imaging apparatus, electronic device control method and program
CN101981898B (en) * 2008-03-11 2015-06-03 飞碟有限责任公司 Method, apparatus and system for social networking
CN101552889A (en) * 2008-03-31 2009-10-07 株式会社东芝 A connecting target device information display device and a connecting target device information display method
CN102394673A (en) * 2011-11-17 2012-03-28 深圳市中兴移动通信有限公司 Ordering method of bluetooth devices and system thereof
CN102548023A (en) * 2011-12-27 2012-07-04 惠州Tcl移动通信有限公司 Wireless fidelity connecting method and wireless fidelity connecting device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1450471A (en) * 2002-04-11 2003-10-22 佳能株式会社 Communication device capable of setting unique names on communication networks
CN1767541A (en) * 2004-10-05 2006-05-03 索尼法国股份有限公司 Self-organisation approach to semantic interoperability in peer-to-peer information exchange
CN101499903A (en) * 2008-02-02 2009-08-05 华为技术有限公司 Method, apparatus, system, customer node, peer node and convergent point for preventing node forged identity
CN102214209A (en) * 2011-04-27 2011-10-12 百度在线网络技术(北京)有限公司 Method and equipment for identifying homonymous information entities

Also Published As

Publication number Publication date
CN104079326B (en) 2017-08-04
CN107743304A (en) 2018-02-27
CN107743304B (en) 2019-04-23
CN104079326A (en) 2014-10-01

Similar Documents

Publication Publication Date Title
US9900766B2 (en) Automatic multimedia upload for publishing data and multimedia content
TWI453598B (en) Accessing specialized fileserver
EP2104317B1 (en) Information processing unit, information playback unit, information processing method, information playback method, information processing system and program
KR101613657B1 (en) Wireless synchronization of media content and subscription content
JP3187029U (en) Wireless storage device and wireless storage system having autonomous backup capability
EP2677774B1 (en) Method and apparatus for managing a group profile in a wi-fi direct communication system
KR101246971B1 (en) Simple and dynamic configuration of network devices
TWI489295B (en) Automatic configuration of electronic devices
US20140047048A1 (en) Method and device for resource sharing between devices
EP2535836A2 (en) Information processing apparatus, server apparatus, information processing method, and program
CA2803295A1 (en) Efficient pairing of networked devices
WO2014154089A1 (en) Device identification method and relevant device
JP5723413B2 (en) Remote network connection method and remote network connection system
JP2009259111A (en) Network apparatus, content distribution method and program
KR20190064689A (en) Interoperability of discovery and connection protocols between client devices and first screen devices
WO2012092896A2 (en) Method and device for data transmission
EP2661018B1 (en) Operator system, remote support method, and program for a network operator system
CN103220317A (en) Portable terminal, remote support method, program and operator system for remote support
EP2157761A2 (en) Information processing apparatus, information processing method and information processing system for the cooperative operation of several appliances interconnected via a home network
US9635150B2 (en) Communication apparatus, control method therefor, and program
JP6244682B2 (en) Display device, display system, and display program
JP6195865B2 (en) Data transmission device, data transmission method, and program for data transmission device
JP5169461B2 (en) Security parameter distribution apparatus and security parameter distribution method
JP6372485B2 (en) Information processing apparatus, remote operation control method, and remote operation control program
KR101526326B1 (en) Folder synchronizing method between user terminal and ip router, and ip router for thesame

Legal Events

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

Ref document number: 14776094

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

Country of ref document: EP

Kind code of ref document: A1