USRE49837E1 - Method for identifying device, and device - Google Patents

Method for identifying device, and device Download PDF

Info

Publication number
USRE49837E1
USRE49837E1 US16/218,410 US201816218410A USRE49837E US RE49837 E1 USRE49837 E1 US RE49837E1 US 201816218410 A US201816218410 A US 201816218410A US RE49837 E USRE49837 E US RE49837E
Authority
US
United States
Prior art keywords
multimedia
multimedia device
control device
identification identifier
description 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.)
Active
Application number
US16/218,410
Inventor
Yajun Zhang
Yu Zhu
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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device Co Ltd
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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to US16/218,410 priority Critical patent/USRE49837E1/en
Assigned to HUAWEI DEVICE CO., LTD. reassignment HUAWEI DEVICE CO., LTD. CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: HUAWEI DEVICE (DONGGUAN) CO., LTD.
Assigned to HUAWEI DEVICE (DONGGUAN) CO., LTD. reassignment HUAWEI DEVICE (DONGGUAN) CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: HUAWEI DEVICE CO., LTD.
Assigned to HUAWEI DEVICE CO., LTD. reassignment HUAWEI DEVICE CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: ZHANG, YAJUN, ZHU, YU
Application granted granted Critical
Publication of USRE49837E1 publication Critical patent/USRE49837E1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3041Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is an input/output interface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/003Details of a display terminal, the details relating to the control arrangement of the display terminal and to the interfaces thereto
    • G09G5/006Details of the interface to the display terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/025Systems for the transmission of digital non-picture data, e.g. of text during the active part of a television frame
    • H04N7/0255Display systems therefor
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2370/00Aspects of data communication
    • G09G2370/04Exchange of auxiliary data, i.e. other than image data, between monitor and graphics controller

Definitions

  • Embodiments of the present disclosure relate to communications technologies, and in particular, to a method for identifying a device, and a device.
  • various home electronic devices communicate and exchange data with each other in different interconnection modes on a basis of computer technologies and network technologies, which implements “interconnection and interworking” between home electronic products, and can implement functions such as content sharing or mutual control, so that comfortableness and entertainment of people's residence are significantly improved.
  • the Universal Plug and Play (UPnP) Forum formulates a UPnP AV architecture standard.
  • a control device is used as a UPnP control point
  • a multimedia device is used as a UPnP device.
  • the UPnP control point After acquiring a go-online announcement message of the UPnP device, the UPnP control point further acquires device description information and service description information of the UPnP device, so that the UPnP control point may control the UPnP device by invoking an action command or a variable query command, or establish a connection between the control device and the multimedia device by invoking an action command, thereby implementing media file sharing.
  • Embodiments of the present disclosure provide a method for identifying a device, and a device, which enable a user to correctly identify a multimedia device.
  • an embodiment of the present disclosure provides a method for identifying a device, including generating, by a control device, an identification identifier of a multimedia device according to device description information of the multimedia device, and sending the identification identifier to the multimedia device, so that the multimedia device displays the identification identifier, acquiring, by the control device, the identification identifier displayed by the multimedia device and an appearance image of the multimedia device, and acquiring the device description information according to the identification identifier displayed by the multimedia device, and associating, by the control device, the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image.
  • the acquiring, by the control device, the device description information according to the identification identifier displayed by the multimedia device includes determining, by the control device, that the identification identifier displayed by the multimedia device is consistent with the identification identifier generated by the control device, and acquiring the device description information corresponding to the identification identifier generated by the control device.
  • the method before the generating, by the control device, the identification identifier of the multimedia device according to the device description information of the multimedia device, the method further includes acquiring, by the control device, the device description information and device capability information of the multimedia device, and determining, by the control device according to the device description information and the device capability information, that the multimedia device is a video device or an audio device.
  • the identification identifier is a preset picture or a two-dimensional code, or if the multimedia device is the audio device, the identification identifier is preset music, or a sound with a preset frequency.
  • generating, by the control device, the identification identifier of the multimedia device according to the device description information of the multimedia device includes generating, by the control device, the identification identifier of the multimedia device according to a universally unique identifier (UUID) and an Internet Protocol (IP) address of the multimedia device in the device description information of the multimedia device
  • the associating, by the control device, the device description information with the appearance image of the multimedia device includes associating, by the control device, the UUID and the IP address with the appearance image of the multimedia device.
  • acquiring, by the control device, the appearance image of the multimedia device includes acquiring, by the control device, an appearance image of the multimedia device by using a camera.
  • an embodiment of the present disclosure provides a method for identifying a device, including receiving, by a multimedia device, an identification identifier of the multimedia device sent by a control device, and displaying, by the multimedia device, the identification identifier, so that the control device acquires device description information of the multimedia device according to the identification identifier and associates the device description information with the appearance image, where the identification identifier is generated by the control device according to the device description information of the multimedia device.
  • the identification identifier is a preset picture or a two-dimensional code, or if the multimedia device is an audio device, the identification identifier is preset music, or a sound with a preset frequency.
  • an embodiment of the present disclosure provides a method for identifying a device, including acquiring, by a control device, device description information and device capability information of a multimedia device, acquiring, by the control device, an appearance image of the multimedia device, and associating, by the control device, the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image.
  • the acquiring, by the control device, the appearance image of the multimedia device includes acquiring, by the control device, an appearance image of the multimedia device from a network side by using the device description information, and acquiring an appearance image of the multimedia device by using a camera, and determining, by the control device, that the appearance image of the multimedia device acquired from the network side by using the device description information is consistent with the appearance image of the multimedia device acquired by using the camera.
  • the associating, by the control device, the device description information with the appearance image of the multimedia device, so that a user identifies the multimedia device according to the appearance image includes associating, by the control device, a UUID and an IP address in the device description information with the appearance image of the multimedia device acquired by using the camera.
  • the method further includes determining, by the control device according to the device description information and the device capability information, that the multimedia device is a video device or an audio device.
  • an embodiment of the present disclosure provides a control device, including a generating module configured to generate an identification identifier of a multimedia device according to device description information of the multimedia device, and send the identification identifier to the multimedia device, so that the multimedia device displays the identification identifier, a first acquiring module configured to acquire the identification identifier displayed by the multimedia device and an appearance image of the multimedia device, a second acquiring module configured to acquire the device description information according to the identification identifier displayed by the multimedia device, and an associating module configured to associate the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image.
  • the second acquiring unit is configured to determine that the identification identifier displayed by the multimedia device is consistent with the identification identifier generated by the control device, and acquire the device description information corresponding to the identification identifier generated by the control device.
  • control device further includes a determining module configured to, before the identification identifier of the multimedia device is generated according to the device description information of the multimedia device, acquire the device description information and device capability information of the multimedia device, and determine, according to the device description information and the device capability information, that the multimedia device is a video device or an audio device.
  • the identification identifier is a preset picture or a two-dimensional code, or if the multimedia device is the audio device, the identification identifier is preset music, or a sound with a preset frequency.
  • the generating module is configured to generate the identification identifier of the multimedia device according to a UUID and an IP address of the multimedia device in the device description information of the multimedia device, and the associating module is configured to associate the UUID and the IP address with the appearance image of the multimedia device.
  • the first acquiring module is configured to acquire the identification identifier displayed by the multimedia device, and acquire the appearance image of the multimedia device by using a camera.
  • an embodiment of the present disclosure provides a multimedia device, including a receiving module configured to receive an identification identifier of the multimedia device sent by a control device, and a displaying module configured to display the identification identifier, so that the control device acquires device description information of the multimedia device according to the identification identifier and associates the device description information with the appearance image, where the identification identifier is generated by the control device according to the device description information of the multimedia device.
  • the identification identifier is a preset picture or a two-dimensional code, or if the multimedia device is an audio device, the identification identifier is preset music, or a sound with a preset frequency.
  • an embodiment of the present disclosure provides a control device, including a first acquiring module configured to acquire device description information and device capability information of a multimedia device, a second acquiring module configured to acquire an appearance image of the multimedia device, and an associating module configured to associate the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image.
  • the second acquiring unit is configured to acquire an appearance image of the multimedia device from a network side by using the device description information, and acquire an appearance image of the multimedia device by using a camera, and determine that the appearance image of the multimedia device acquired from the network side by using the device description information is consistent with the appearance image of the multimedia device acquired by using the camera.
  • the associating module is configured to associate, by the control device, a UUID and an IP address in the device description information with the appearance image of the multimedia device acquired by using the camera.
  • control device further includes a determining module configured to, after the device description information of the multimedia device is acquired, determine, according to the device description information and the device capability information, that the multimedia device is a video device or an audio device.
  • the embodiments of the present disclosure provide a method for identifying a device, and a device.
  • a control device generates an identification identifier of a multimedia device according to device description information of the multimedia device, and sends the identification identifier to the multimedia device, so that the multimedia device displays the identification identifier;
  • the control device acquires the identification identifier displayed by the multimedia device and an appearance image of the multimedia device, and acquires the device description information according to the identification identifier displayed by the multimedia device;
  • the control device associates the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image.
  • a user equipment can correctly identify, only according to the appearance image of the multimedia device, the multimedia device corresponding to the appearance image, thereby improving convenience and correctness of device identification.
  • FIG. 1 is a flowchart of Embodiment 1 of a method for identifying a device according to the present disclosure
  • FIG. 2 is a flowchart of a process, in Embodiment 1 of a method for identifying a device, for identifying a video device according to the present disclosure
  • FIG. 3 is a flowchart of a process, in Embodiment 1 of a method for identifying a device, for identifying an audio device according to the present disclosure
  • FIG. 4 is a flowchart of Embodiment 2 of a method for identifying a device according to the present disclosure
  • FIG. 5 is a flowchart of Embodiment 3 of a method for identifying a device according to the present disclosure
  • FIG. 6 is a schematic structural diagram of Embodiment 1 of a control device according to the present disclosure.
  • FIG. 7 is a schematic structural diagram of Embodiment 2 of a control device according to the present disclosure.
  • FIG. 8 is a schematic structural diagram of Embodiment 1 of a multimedia device according to the present disclosure.
  • FIG. 9 is a schematic structural diagram of Embodiment 3 of a control device according to the present disclosure.
  • FIG. 10 is a schematic structural diagram of Embodiment 4 of a control device according to the present disclosure.
  • FIG. 1 is a flowchart of Embodiment 1 of a method for identifying a device according to the present disclosure.
  • the method for identifying a device according to this embodiment of the present disclosure may be executed by a control device.
  • the control device may be implemented by using software and/or hardware.
  • the method for identifying a device according to this embodiment includes Step 101 : The control device generates an identification identifier of a multimedia device according to device description information of the multimedia device, and sends the identification identifier to the multimedia device, so that the multimedia device displays the identification identifier.
  • Step 102 The control device acquires the identification identifier displayed by the multimedia device and an appearance image of the multimedia device, and acquires the device description information according to the identification identifier displayed by the multimedia device.
  • Step 103 The control device associates the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image.
  • control device may be an interactive terminal device, such as a mobile phone, a notebook computer, or a tablet computer, that can take photos, can be networked, and supports wireless connection.
  • the multimedia device may be an interactive device, such as a television, sound equipment, or a notebook computer, that can be networked and can output a video or audio.
  • the control device acquires the device description information and device capability information of the multimedia device; and the control device determines, according to the device description information and the device capability information, that the multimedia device is a video device or an audio device.
  • the control device acquires the device description information of the multimedia device by using the Simple Service Discovery Protocol (SSDP), and there may be two possible cases.
  • SSDP Simple Service Discovery Protocol
  • One possible case is that, when connected to a network, the control device may send an “ssdp:discover” message to an SSDP port at a specific multicast address, where the message includes a request for acquiring the device description information; and when the multimedia device obtains the message by listening, the multimedia device analyzes the request sent by the control device, and then returns a response with respect to the request sent by the control device, that is, returns the device description information.
  • the multimedia device sends an “ssdp:alive” message to an SSDP port at a specific multicast address, where the message includes the device description information.
  • the device description information includes a series of general attributes of the multimedia device.
  • the general attributes include a service, a device structure, a device attribute, for example, a UUID, an IP address, and a device type of the multimedia device.
  • a value of a UUID for a same multimedia device is unique at different times.
  • a form of a UUID may be as follows: uuid:d1578360-feb3-1167-1000- 2c27d742936c; a form of an IP address may be as follows: HOST:239.255.255.250:1900; and a form of a device type may be as follows: device:Media Renderer.
  • a specific form of other device description information details are not described in this embodiment again
  • the control device may invoke a UPnP acquire action (Get ProtrocolInfo( ) action) to acquire the device capability information.
  • UPnP acquire action Get ProtrocolInfo( ) action
  • a packet of the device capability information that is of the multimedia device and is acquired by the control device may be shown as follows:
  • image represents an image
  • jpeg represents a format of an image file
  • audio represents a sound
  • mpeg represents a format of an audio file.
  • Persons skilled in the art may understand that the foregoing format of the packet of the device capability information is merely exemplary, and this embodiment is not limited thereto.
  • the multimedia device may determine, according to the device description information and the device capability information, that the multimedia device is a video device or an audio device.
  • the device type is a media renderer and the device capability information is image/jpeg, it may be determined that the multimedia device is a video device; and if the device capability information is audio/mpeg, it may be determined that the multimedia device is an audio device.
  • step 101 the control device generates an identification identifier of the multimedia device according to device description information of the multimedia device.
  • the control device may generate the identification identifier of the multimedia device according to the device description information of the multimedia device, where the device description information may be a UUID, an IP address, and a device type.
  • the identification identifier may be a picture with a specific color, a two-dimensional code, a sound, a specific shape, or the like.
  • control device generates the identification identifier of the multimedia device according to a UUID and an IP address of the multimedia device in the device description information of the multimedia device.
  • the control device After the identification identifier of the multimedia device is generated, the control device sends the identification identifier to the multimedia device, so that the multimedia device acquires the identification identifier.
  • the control device sends a universal resource identifier (URI) of the identification identifier to the multimedia device, and the multimedia device may acquire the identification identifier according to the URI.
  • URI universal resource identifier
  • step 102 the control device acquires the identification identifier displayed by the multimedia device and an appearance image of the multimedia device, and acquires the device description information according to the identification identifier displayed by the multimedia device.
  • the control device may capture, in a manner of photographing or scanning, an identification identifier played by the video device; and when the multimedia device is an audio device, the control device may acquire, in a manner of recording by a microphone, an identification identifier played by the audio device, and then acquire the device description information according to a picture with a specific color, a two-dimensional code, a sound, a specific shape, or the like.
  • the multimedia device acquires an appearance image of the multimedia device by using a camera, learns whether the media playback device is a video device or an audio device by means of an image recognition technology, and then learns appearance information such as a brand and a screen size of the multimedia device by analyzing the multimedia device.
  • step 103 the control device associates the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image.
  • the device description information may be associated with the appearance image of the multimedia device in a manner of establishing a table, mapping, or binding, and association information is stored on the control device.
  • control device may associate the UUID and the IP address in the device description information with the appearance image.
  • the user equipment may identify and select a multimedia device according to appearance images of multimedia devices displayed on the control device. Because an association relationship exists between an appearance image and device description information, after the user equipment identifies and selects the multimedia device according to the appearance images, the control device may directly acquire device description information of the multimedia device, and then establishes a connection with the multimedia device according to the device description information, thereby implementing media file sharing.
  • a control device In the method for identifying a device according to this embodiment of the present disclosure, a control device generates an identification identifier of a multimedia device according to device description information of the multimedia device, and sends the identification identifier to the multimedia device, so that the multimedia device displays the identification identifier; the control device acquires the identification identifier displayed by the multimedia device and an appearance image of the multimedia device, and acquires the device description information according to the identification identifier displayed by the multimedia device; and the control device associates the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image.
  • a user equipment can correctly identify, only according to the appearance image of the multimedia device, the multimedia device corresponding to the appearance image, thereby improving convenience and correctness of device identification.
  • FIG. 2 is a flowchart of a process, in Embodiment 1 of a method for identifying a device, for identifying a video device according to the present disclosure. That a multimedia device is a video device is described in detail for description in this embodiment. Specific steps are as follows. Step 201 : A control device generates an identification identifier of the video device according to a UUID and an IP address of the video device in device description information of the video device, and sends the identification identifier to the video device, so that the video device displays the identification identifier.
  • step 101 For a method used by the control device to discover and determine a video device, and a method for acquiring device description information and device capability information, reference may be made to step 101 , and details are not described herein again in this embodiment.
  • the control device compiles information such as the UUID and the IP address of the video device into a two-dimensional code for the video device. If multiple video devices are discovered on a home network, UUIDs and IP addresses of the video devices are different, and therefore, two-dimensional codes generated for the video devices are also different.
  • control device may also generate, according to UUIDs and IP addresses of different video devices discovered on the home network, pictures with preset colors for the different video devices. For example, if a video device with a UUID of xx.1xx.xxx.1 and with an IP address of 192.168.xx.1 is acquired by the control device, the control device generates a red picture for the video device; and if a video device with a UUID of xx.1xx.xxx.2 and with an IP address of 192.168.xx.2 is acquired by the control device, the control device generates a blue picture for the video device. The control device generates two-dimensional codes or pictures with preset colors for video devices with different UUIDs and IP addresses.
  • both the foregoing two-dimensional code and the picture with a preset color are identification identifiers in this embodiment.
  • the control device invokes a Set AV Transport URI( ) action command of the video device, where the command carries a URI of a picture with a preset color or a URI of a two-dimensional code, where the picture with a preset color or the two-dimensional code is generated for the video device.
  • the video device acquires the picture with a preset color or the two-dimensional code by using Hypertext Transfer Protocol (HTTP) GET method call, and displays the picture with a preset color or the two-dimensional code on a screen.
  • HTTP Hypertext Transfer Protocol
  • Step 202 The control device acquires the identification identifier displayed by the video device, acquires the UUID and the IP address according to the identification identifier, and acquires an appearance image of the video device by using a camera.
  • the camera on the control device captures the appearance image of the video playback device, and captures a preset picture or a two-dimensional code picture in a manner of photographing or scanning.
  • the UUID and the IP address may be directly acquired by parsing.
  • the preset picture may be a picture with a preset pattern, or may be a picture with a preset color. If the control device determines that a preset picture played by the video device is consistent with a preset picture generated by the control device, the control device acquires device description information corresponding to the preset picture. The control device determines whether the captured preset picture played by the video device is a preset picture generated by an audio device; and if the captured preset picture played by the video device is a preset picture generated by an audio device, the control device determines that the identification identifier played by the video device is consistent with the identification identifier generated by the control device.
  • control device may learn that the multimedia device is a video device according to an appearance image by means of an image recognition technology, and then learns appearance information such as a brand and a screen size of the multimedia device by analyzing the multimedia device.
  • Step 203 The control device associates the UUID and the IP address with the appearance image of the video device.
  • the control device After the camera of the control device captures the appearance image of the video device and key information such as the UUID and the IP address of the video device is acquired, the control device matches and associates the appearance image of the video device with the UUID and the IP address. For example, the control device correspondingly binds the appearance image of the video device collected by the video device and a red picture with a corresponding UUID and a corresponding IP address, and the binding information is stored on the control device.
  • a manner for associating device description information with an appearance image in a form of a table may be listed in Table 1.
  • a user equipment can correctly identify, only according to an appearance image of a multimedia device, the multimedia device corresponding to the appearance image, thereby improving convenience and correctness of device identification.
  • FIG. 3 is a flowchart of a process, in Embodiment 1 of a method for identifying a device, for identifying an audio device according to the present disclosure. That a multimedia device is an audio device is described in detail in this embodiment.
  • Step 301 A control device generates an identification identifier of the audio device according to a UUID and an IP address of the audio device in device description information of the audio device, and sends the identification identifier to the audio device, so that the audio device displays the identification identifier.
  • step 101 For a method used by the control device to discover and determine an audio device, and a method for acquiring device description information and device capability information, reference may be made to step 101 , and details are not described herein again in this embodiment.
  • the control device may generate, according to UUIDs and IP addresses of different audio devices discovered on a home network, preset music for the different video devices. For example, if an audio device with a UUID of xx.1xx.xxx.1 and with an IP address of 192.168.xx.1 is acquired by the control device, the control device generates music A for the audio device. If an audio device with a UUID of xx.1xx.xxx.2 and with an IP address of 192.168.xx.2 is acquired by the control device, the control device generates music B for the audio device.
  • control device may generate audio files with preset frequencies according to the UUIDs and the IP addresses of the different video devices, for example, the control device generates an audio file with a frequency of 1000 kHz for a device with a UUID of xx.1xx.xxx.1 and with an IP address of 192.168.xx.1, and the control device generates an audio file with a frequency of 2000 kHz for a device with a UUID of xx.1xx.xxx.2 and with an IP address of 192.168.xx.2.
  • both the foregoing preset music and a sound with a preset frequency are identification identifiers in this embodiment.
  • the control device invokes a Set AV Transport URI( ) action command of the audio device, where the command carries a URI of preset music or a URI of a sound with a preset frequency, where the preset music or the sound with a preset frequency is generated for the audio device.
  • the playback device acquires the preset music or the sound with a preset frequency by using HTTP GET, and plays the preset music or the sound with a preset frequency by using sound equipment.
  • Step 302 The control device acquires the identification identifier displayed by the audio device, acquires the UUID and the IP address according to the identification identifier, and acquires an appearance image of the audio device by using a camera.
  • a microphone on the control device collects preset music, or a sound with a preset frequency played by the audio device. For example, the control device generates music A or an audio file with 1000 kilohertz (kHz) for an audio device with a UUID of xx.1xx.xxx.1 and with an IP address of 192.168.xx.1.
  • kHz kilohertz
  • a camera on the control device acquires an appearance image of the audio device, and the microphone captures that what is playing by the audio device is music A or the audio file with 1000 kHz.
  • the control device determines that the preset music and the sound with a preset frequency played by the audio device is consistent with the preset music and the sound with a preset frequency generated by the control device, the control device acquires device description information corresponding to the preset music and the sound with a preset frequency.
  • the control device determines whether the collected preset music or the sound with a preset frequency played by the audio device is the preset music or the sound with a preset frequency generated by the control device; and if the collected preset music or the sound with a preset frequency played by the audio device is the preset music or the sound with a preset frequency generated by the control device, the control device determines that the identification identifier played by the audio device is consistent with the identification identifier generated by the control device.
  • control device learns that the multimedia device is an audio device by means of an image recognition technology, and then learns appearance information such as a brand and a screen size of the multimedia device by analyzing the multimedia device.
  • Step 303 The control device associates the UUID and the IP address with the appearance image of the audio device.
  • the control device matches and associates key information, such as the UUID and the IP address of the audio device that are corresponding to the preset music or the sound with a preset frequency, with the appearance image of the audio device collected by the camera of the control device; and the association information is stored on the control device.
  • key information such as the UUID and the IP address of the audio device that are corresponding to the preset music or the sound with a preset frequency
  • the association information is stored on the control device.
  • a manner for associating device description information with an appearance image in a form of a table may be listed in Table 2.
  • a user equipment can correctly identify, only according to an appearance image of a multimedia device, the multimedia device corresponding to the appearance image, thereby improving convenience and correctness of device identification.
  • FIG. 4 is a flowchart of Embodiment 2 of a method for identifying a device according to the present disclosure.
  • the method for identifying a device according to this embodiment of the present disclosure may be executed by a multimedia device.
  • the multimedia device may be implemented by using software and/or hardware.
  • the method for identifying a device according to this embodiment includes Step 401 : The multimedia device receives an identification identifier of the multimedia device sent by a control device.
  • Step 402 The multimedia device displays the identification identifier, so that the control device acquires device description information of the multimedia device according to the identification identifier and associates the device description information with the appearance image, where the identification identifier is generated by the control device according to the device description information of the multimedia device.
  • the identification identifier is a preset picture or a two-dimensional code.
  • the identification identifier is preset music, or a sound with a preset frequency.
  • a multimedia device receives an identification identifier of the multimedia device sent by a control device; and the multimedia device displays the identification identifier, so that the control device associates the device description information with the appearance image, which enables a user equipment to identify the multimedia device according to the appearance image.
  • the control device associates the device description information with the appearance image, which enables a user equipment to identify the multimedia device according to the appearance image.
  • FIG. 5 is a flowchart of Embodiment 3 of a method for identifying a device according to the present disclosure.
  • the method for identifying a device according to this embodiment is as follows.
  • Step 501 A control device acquires device description information and device capability information of a multimedia device.
  • Step 502 The control device acquires an appearance image of the multimedia device.
  • Step 503 The control device associates the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image.
  • step 501 the control device acquires device description information and device capability information of a multimedia device by using the Service Discovery Protocol.
  • the control device may acquire the device description information of the multimedia device by using SSDP, and there may be two possible cases.
  • One possible case is that when connected to a network, the control device may send an “ssdp:discover” message to an SSDP port at a specific multicast address, where the message includes a request for acquiring the device description information; and when the multimedia device obtains the message by listening, the multimedia device analyzes the request sent by the control device, and then returns a response with respect to the request sent by the control device, that is, returns the device description information.
  • the multimedia device sends an “ssdp:alive” message to an SSDP port at a specific multicast address, where the message includes the device description information.
  • control device After the control device discovers the multimedia device, the control device may invoke a UPnP acquire action (Get ProtocolInfo( ) action) to acquire the device capability information.
  • UPnP acquire action Get ProtocolInfo( ) action
  • the method further includes determining, by the control device according to the device description information and the device capability information, that the multimedia device is a video device or an audio device.
  • the control device acquires an appearance image of the multimedia device.
  • the control device acquires an appearance image of the multimedia device from a network side by using the device description information, and acquires an appearance image of the multimedia device by using a camera; and the control device determines that the appearance image of the multimedia device acquired from the network side by using the device description information is consistent with the appearance image of the multimedia device acquired by using a camera.
  • the control device uses the appearance image of the multimedia device acquired from the network side as an appearance image of the multimedia device, and acquires the appearance image.
  • the control device acquires more detailed device information from the network side by analyzing key information in the device description information. For example, a uniform resource locator (URL) of a product appearance image is acquired from the device description information, and then the control device acquires the appearance image from the network side according to the URL; or, the control device may acquire a portal website of a device manufacturer by analyzing ⁇ manufacturer URL> in the device description information, and may acquire a detailed product model by analyzing ⁇ model Name> in the device description information. After acquiring a portal website of the manufacturer, the control device may search for more detailed device description information and product description information on the website by using a background program, for example, product parameters such as an appearance image, a brand, a screen size, and a resolution. The control device binds a UUID and an IP address of the multimedia device with the product parameters, such as the appearance image, the brand, and the screen size, of the multimedia device acquired from the network side, and the control device stores binding information. Details may be listed in Table 3.
  • the camera on the control device collects an appearance image of a multimedia device that needs to be identified. For example, a user starts the camera on the control device and aligns the camera with a multimedia device in a living room or a bedroom, and the camera collects an appearance image of the multimedia device, such as an appearance image of a television or an appearance image of sound equipment.
  • the control device analyzes the collected appearance image of the multimedia device.
  • the control device can learn, by means of image recognition, whether the appearance image acquired by using a camera by the user is a television or sound equipment.
  • the control device may identify information such as a screen size of the multimedia device by means of an image recognition technology. Details may be listed in Table 4.
  • the control device performs analysis by means of an image recognition technology; if it is determined that the appearance image of the multimedia device acquired from the network side is consistent with the appearance image acquired by using a camera, the appearance image acquired by using a camera is used as an appearance image; and the appearance image is acquired.
  • image recognition technology if it is determined that the appearance image of the multimedia device acquired from the network side is consistent with the appearance image acquired by using a camera, the appearance image acquired by using a camera is used as an appearance image; and the appearance image is acquired.
  • consistency of appearance images not only includes consistency of images, but also includes consistency of device types, brands, and product parameters that are acquired according to the image recognition technology.
  • step 503 the control device associates the device description information with the appearance image.
  • the control device associates the UUID and the IP address in the device description information with the appearance image acquired by using a camera in step 502 , and stores the association information on the control device.
  • a manner for associating device description information with an appearance image in a form of a table may be listed in Table 5.
  • a user equipment can correctly identify, only according to an appearance image of a multimedia device, the multimedia device corresponding to the appearance image, thereby improving convenience and correctness of device identification.
  • FIG. 6 is a schematic structural diagram of Embodiment 1 of a control device according to the present disclosure.
  • a control device 60 provided in this embodiment of the present disclosure includes a generating module 601 , a first acquiring module 602 , a second acquiring module 603 , and an associating module 604 .
  • the generating module 601 is configured to generate an identification identifier of a multimedia device according to device description information of the multimedia device, and send the identification identifier to the multimedia device, so that the multimedia device displays the identification identifier, the first acquiring module 602 is configured to acquire the identification identifier displayed by the multimedia device and an appearance image of the multimedia device, the second acquiring module 603 is configured to acquire the device description information according to the identification identifier displayed by the multimedia device, and the associating module 604 is configured to associate the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image.
  • control device in this embodiment may be used to execute the technical solution of the method embodiment shown in FIG. 1 .
  • the implementation principles and technical effects are similar and are not described herein again.
  • FIG. 7 is a schematic structural diagram of Embodiment 2 of a control device according to the present disclosure. As shown in FIG. 7 , this embodiment of the present disclosure is implemented based on the embodiment of FIG. 6 , and details are as follows.
  • the second acquiring module 603 is configured to determine that the identification identifier displayed by the multimedia device is consistent with the identification identifier generated by the control device, and acquire the device description information corresponding to the identification identifier generated by the control device.
  • control device further includes a determining module 605 configured to, before the identification identifier of the multimedia device is generated according to the device description information of the multimedia device, acquire the device description information and device capability information of the multimedia device, and determine, according to the device description information and the device capability information, that the multimedia device is a video device or an audio device.
  • a determining module 605 configured to, before the identification identifier of the multimedia device is generated according to the device description information of the multimedia device, acquire the device description information and device capability information of the multimedia device, and determine, according to the device description information and the device capability information, that the multimedia device is a video device or an audio device.
  • the identification identifier is a preset picture or a two-dimensional code, or if the multimedia device is an audio device, the identification identifier is preset music, or a sound with a preset frequency.
  • the generating module 601 is configured to generate the identification identifier of the multimedia device according to a UUID and an IP address of the multimedia device in the device description information of the multimedia device, and the associating module 604 is configured to associate the UUID and the IP address with the appearance image of the multimedia device.
  • the first acquiring module 602 is configured to acquire the identification identifier displayed by the multimedia device, and acquire the appearance image of the multimedia device by using a camera.
  • control device in this embodiment may be used to execute the technical solutions of the foregoing method embodiments.
  • the implementation principles and technical effects are similar and are not described herein again.
  • FIG. 8 is a schematic structural diagram of Embodiment 1 of a multimedia device according to the present disclosure.
  • a multimedia device 70 provided in this embodiment of the present disclosure includes a receiving module 701 and a displaying module 702 .
  • the receiving module 701 is configured to receive an identification identifier of the multimedia device sent by a control device, and the displaying module 702 is configured to display the identification identifier, so that the control device acquires device description information of the multimedia device according to the identification identifier and associates the device description information with the appearance image, where the identification identifier is generated by the control device according to the device description information of the multimedia device.
  • the identification identifier is a preset picture or a two-dimensional code, or if the multimedia device is an audio device, the identification identifier is preset music, or a sound with a preset frequency.
  • the multimedia device in this embodiment may be used to execute the technical solution of the method embodiment shown in FIG. 4 .
  • the implementation principles and technical effects are similar and are not described herein again.
  • FIG. 9 is a schematic structural diagram of Embodiment 3 of a control device according to the present disclosure.
  • a control device 80 provided in this embodiment of the present disclosure includes a first acquiring module 801 , a second acquiring module 802 , and an associating module 803 .
  • the first acquiring module 801 is configured to acquire device description information and device capability information of a multimedia device
  • the second acquiring module 802 is configured to acquire an appearance image of the multimedia device
  • the associating module 803 is configured to associate the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image.
  • control device in this embodiment may be used to execute the technical solution of the method embodiment shown in FIG. 5 .
  • the implementation principles and technical effects are similar and are not described herein again
  • FIG. 10 is a schematic structural diagram of Embodiment 4 of a control device according to the present disclosure.
  • the control device provided in this embodiment of the present disclosure is implemented based on the embodiment in FIG. 9 , and details are as follows
  • the second acquiring module 802 is configured to acquire an appearance image of the multimedia device from a network side by using the device description information, and acquire an appearance image of the multimedia device by using a camera, and determine that the appearance image of the multimedia device acquired from the network side by using the device description information is consistent with the appearance image of the multimedia device acquired by using the camera.
  • the associating module 803 is configured to associate, by the control device, a UUID and an IP address in the device description information with the appearance image of the multimedia device acquired by using the camera.
  • control device further includes a determining module 804 configured to, after the device description information of the multimedia device is acquired, determine, according to the device description information and the device capability information, that the multimedia device is a video device or an audio device.
  • a determining module 804 configured to, after the device description information of the multimedia device is acquired, determine, according to the device description information and the device capability information, that the multimedia device is a video device or an audio device.
  • control device in this embodiment may be used to execute the technical solutions of the foregoing method embodiments.
  • the implementation principles and technical effects are similar and are not described herein again.
  • the program may be stored in a computer-readable storage medium. When the program runs, the steps of the method embodiments are performed.
  • the foregoing storage medium includes any medium that can store program code, such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Mathematical Physics (AREA)
  • Computer Hardware Design (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Telephonic Communication Services (AREA)
  • Radar Systems Or Details Thereof (AREA)
  • Machine Tool Sensing Apparatuses (AREA)
  • Facsimiles In General (AREA)
  • User Interface Of Digital Computer (AREA)
  • Alarm Systems (AREA)

Abstract

A method for identifying a device comprising generating, by a control device, an identification identifier of a multimedia device according to device description information of the multimedia device, sending the identification identifier to the multimedia device, so that the multimedia device displays the identification identifier, acquiring, by the control device, the identification identifier displayed by the multimedia device and an appearance image of the multimedia device, and acquiring the device description information according to the identification identifier displayed by the multimedia device, and associating, by the control device, the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image.

Description

CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a Reissue Application of U.S. Pat. No. 9,519,558 B2, which is a continuation of International Application No. PCT/CN2014/080599, filed on Jun. 24, 2014, which. The International Application claims priority to Chinese Patent Application No. 201310269569.3, filed on Jun. 28, 2013, both of which. All of the aforementioned patent applications and patents are hereby incorporated by reference in their entireties.
TECHNICAL FIELD
Embodiments of the present disclosure relate to communications technologies, and in particular, to a method for identifying a device, and a device.
BACKGROUND
In a digital home, various home electronic devices communicate and exchange data with each other in different interconnection modes on a basis of computer technologies and network technologies, which implements “interconnection and interworking” between home electronic products, and can implement functions such as content sharing or mutual control, so that comfortableness and entertainment of people's residence are significantly improved.
To implement media content sharing between electronic devices on a home network, the Universal Plug and Play (UPnP) Forum formulates a UPnP AV architecture standard. According to the standard, a control device is used as a UPnP control point, and a multimedia device is used as a UPnP device. After acquiring a go-online announcement message of the UPnP device, the UPnP control point further acquires device description information and service description information of the UPnP device, so that the UPnP control point may control the UPnP device by invoking an action command or a variable query command, or establish a connection between the control device and the multimedia device by invoking an action command, thereby implementing media file sharing.
There are an increasing number of electronic devices on a home network, and different devices have their own product models and product names. A user is always confused by irregular product models or naming rules made by manufacturers, and cannot correctly identify a multimedia device that a product model or a naming rule is corresponding to.
SUMMARY
Embodiments of the present disclosure provide a method for identifying a device, and a device, which enable a user to correctly identify a multimedia device.
According to a first aspect, an embodiment of the present disclosure provides a method for identifying a device, including generating, by a control device, an identification identifier of a multimedia device according to device description information of the multimedia device, and sending the identification identifier to the multimedia device, so that the multimedia device displays the identification identifier, acquiring, by the control device, the identification identifier displayed by the multimedia device and an appearance image of the multimedia device, and acquiring the device description information according to the identification identifier displayed by the multimedia device, and associating, by the control device, the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the acquiring, by the control device, the device description information according to the identification identifier displayed by the multimedia device includes determining, by the control device, that the identification identifier displayed by the multimedia device is consistent with the identification identifier generated by the control device, and acquiring the device description information corresponding to the identification identifier generated by the control device.
With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, before the generating, by the control device, the identification identifier of the multimedia device according to the device description information of the multimedia device, the method further includes acquiring, by the control device, the device description information and device capability information of the multimedia device, and determining, by the control device according to the device description information and the device capability information, that the multimedia device is a video device or an audio device.
With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, if the multimedia device is the video device, the identification identifier is a preset picture or a two-dimensional code, or if the multimedia device is the audio device, the identification identifier is preset music, or a sound with a preset frequency.
With reference to the first aspect or any one of the first to the third possible implementation manners of the first aspect, in a fourth possible implementation manner of the first aspect, where the generating, by the control device, the identification identifier of the multimedia device according to the device description information of the multimedia device includes generating, by the control device, the identification identifier of the multimedia device according to a universally unique identifier (UUID) and an Internet Protocol (IP) address of the multimedia device in the device description information of the multimedia device, and the associating, by the control device, the device description information with the appearance image of the multimedia device includes associating, by the control device, the UUID and the IP address with the appearance image of the multimedia device.
With reference to the first aspect or any one of the first to the fourth possible implementation manners of the first aspect, in a fifth possible implementation manner of the first aspect, where the acquiring, by the control device, the appearance image of the multimedia device includes acquiring, by the control device, an appearance image of the multimedia device by using a camera.
According to a second aspect, an embodiment of the present disclosure provides a method for identifying a device, including receiving, by a multimedia device, an identification identifier of the multimedia device sent by a control device, and displaying, by the multimedia device, the identification identifier, so that the control device acquires device description information of the multimedia device according to the identification identifier and associates the device description information with the appearance image, where the identification identifier is generated by the control device according to the device description information of the multimedia device.
With reference to the second aspect, in a first possible implementation manner of the second aspect, if the multimedia device is a video device, the identification identifier is a preset picture or a two-dimensional code, or if the multimedia device is an audio device, the identification identifier is preset music, or a sound with a preset frequency.
According to a third aspect, an embodiment of the present disclosure provides a method for identifying a device, including acquiring, by a control device, device description information and device capability information of a multimedia device, acquiring, by the control device, an appearance image of the multimedia device, and associating, by the control device, the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image.
With reference to the third aspect, in a first possible implementation manner of the third aspect, the acquiring, by the control device, the appearance image of the multimedia device includes acquiring, by the control device, an appearance image of the multimedia device from a network side by using the device description information, and acquiring an appearance image of the multimedia device by using a camera, and determining, by the control device, that the appearance image of the multimedia device acquired from the network side by using the device description information is consistent with the appearance image of the multimedia device acquired by using the camera.
With reference to the third aspect or the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the associating, by the control device, the device description information with the appearance image of the multimedia device, so that a user identifies the multimedia device according to the appearance image includes associating, by the control device, a UUID and an IP address in the device description information with the appearance image of the multimedia device acquired by using the camera.
With reference to the third aspect or any one of the first and the second possible implementation manners of the third aspect, in a third possible implementation manner of the third aspect, after the acquiring, by the control device, the device description information of the multimedia device, the method further includes determining, by the control device according to the device description information and the device capability information, that the multimedia device is a video device or an audio device.
According to a fourth aspect, an embodiment of the present disclosure provides a control device, including a generating module configured to generate an identification identifier of a multimedia device according to device description information of the multimedia device, and send the identification identifier to the multimedia device, so that the multimedia device displays the identification identifier, a first acquiring module configured to acquire the identification identifier displayed by the multimedia device and an appearance image of the multimedia device, a second acquiring module configured to acquire the device description information according to the identification identifier displayed by the multimedia device, and an associating module configured to associate the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image.
With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the second acquiring unit is configured to determine that the identification identifier displayed by the multimedia device is consistent with the identification identifier generated by the control device, and acquire the device description information corresponding to the identification identifier generated by the control device.
With reference to the fourth aspect or the first possible implementation manner of the fourth aspect, in a second possible implementation manner of the fourth aspect, the control device further includes a determining module configured to, before the identification identifier of the multimedia device is generated according to the device description information of the multimedia device, acquire the device description information and device capability information of the multimedia device, and determine, according to the device description information and the device capability information, that the multimedia device is a video device or an audio device.
With reference to the second possible implementation manner of the fourth aspect, in a third possible implementation manner of the fourth aspect, if the multimedia device is the video device, the identification identifier is a preset picture or a two-dimensional code, or if the multimedia device is the audio device, the identification identifier is preset music, or a sound with a preset frequency.
With reference to the fourth aspect or any one of the first to the third possible implementation manners of the fourth aspect, in a fourth possible implementation manner of the fourth aspect, the generating module is configured to generate the identification identifier of the multimedia device according to a UUID and an IP address of the multimedia device in the device description information of the multimedia device, and the associating module is configured to associate the UUID and the IP address with the appearance image of the multimedia device.
With reference to the fourth aspect or the first to the fourth possible implementation manners of the fourth aspect, in a fifth possible implementation manner of the fourth aspect, the first acquiring module is configured to acquire the identification identifier displayed by the multimedia device, and acquire the appearance image of the multimedia device by using a camera.
According to a fifth aspect, an embodiment of the present disclosure provides a multimedia device, including a receiving module configured to receive an identification identifier of the multimedia device sent by a control device, and a displaying module configured to display the identification identifier, so that the control device acquires device description information of the multimedia device according to the identification identifier and associates the device description information with the appearance image, where the identification identifier is generated by the control device according to the device description information of the multimedia device.
With reference to the fifth aspect, in a first possible implementation manner of the fifth aspect, if the multimedia device is a video device, the identification identifier is a preset picture or a two-dimensional code, or if the multimedia device is an audio device, the identification identifier is preset music, or a sound with a preset frequency.
According to a sixth aspect, an embodiment of the present disclosure provides a control device, including a first acquiring module configured to acquire device description information and device capability information of a multimedia device, a second acquiring module configured to acquire an appearance image of the multimedia device, and an associating module configured to associate the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image.
With reference to the sixth aspect, in a first possible implementation manner of the sixth aspect, the second acquiring unit is configured to acquire an appearance image of the multimedia device from a network side by using the device description information, and acquire an appearance image of the multimedia device by using a camera, and determine that the appearance image of the multimedia device acquired from the network side by using the device description information is consistent with the appearance image of the multimedia device acquired by using the camera.
With reference to the sixth aspect or the first possible implementation manner of the sixth aspect, in a second possible implementation manner of the sixth aspect, the associating module is configured to associate, by the control device, a UUID and an IP address in the device description information with the appearance image of the multimedia device acquired by using the camera.
With reference to the sixth aspect or any one of the first and the second possible implementation manners of the sixth aspect, in a third possible implementation manner of the sixth aspect, the control device further includes a determining module configured to, after the device description information of the multimedia device is acquired, determine, according to the device description information and the device capability information, that the multimedia device is a video device or an audio device.
The embodiments of the present disclosure provide a method for identifying a device, and a device. In the method for identifying a device, a control device generates an identification identifier of a multimedia device according to device description information of the multimedia device, and sends the identification identifier to the multimedia device, so that the multimedia device displays the identification identifier; the control device acquires the identification identifier displayed by the multimedia device and an appearance image of the multimedia device, and acquires the device description information according to the identification identifier displayed by the multimedia device; and the control device associates the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image. In this way, a user equipment can correctly identify, only according to the appearance image of the multimedia device, the multimedia device corresponding to the appearance image, thereby improving convenience and correctness of device identification.
BRIEF DESCRIPTION OF DRAWINGS
To describe the technical solutions in the embodiments of the present disclosure more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments. The accompanying drawings in the following description show some embodiments of the present disclosure, and persons of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
FIG. 1 is a flowchart of Embodiment 1 of a method for identifying a device according to the present disclosure;
FIG. 2 is a flowchart of a process, in Embodiment 1 of a method for identifying a device, for identifying a video device according to the present disclosure;
FIG. 3 is a flowchart of a process, in Embodiment 1 of a method for identifying a device, for identifying an audio device according to the present disclosure;
FIG. 4 is a flowchart of Embodiment 2 of a method for identifying a device according to the present disclosure;
FIG. 5 is a flowchart of Embodiment 3 of a method for identifying a device according to the present disclosure;
FIG. 6 is a schematic structural diagram of Embodiment 1 of a control device according to the present disclosure;
FIG. 7 is a schematic structural diagram of Embodiment 2 of a control device according to the present disclosure;
FIG. 8 is a schematic structural diagram of Embodiment 1 of a multimedia device according to the present disclosure;
FIG. 9 is a schematic structural diagram of Embodiment 3 of a control device according to the present disclosure; and
FIG. 10 is a schematic structural diagram of Embodiment 4 of a control device according to the present disclosure.
DESCRIPTION OF EMBODIMENTS
To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the following clearly describes the technical solutions in the embodiments of the present disclosure with reference to the accompanying drawings in the embodiments of the present disclosure. The described embodiments are some but not all of the embodiments of the present disclosure. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.
FIG. 1 is a flowchart of Embodiment 1 of a method for identifying a device according to the present disclosure. As shown in FIG. 1 , the method for identifying a device according to this embodiment of the present disclosure may be executed by a control device. The control device may be implemented by using software and/or hardware. The method for identifying a device according to this embodiment includes Step 101: The control device generates an identification identifier of a multimedia device according to device description information of the multimedia device, and sends the identification identifier to the multimedia device, so that the multimedia device displays the identification identifier.
Step 102: The control device acquires the identification identifier displayed by the multimedia device and an appearance image of the multimedia device, and acquires the device description information according to the identification identifier displayed by the multimedia device.
Step 103: The control device associates the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image.
In this embodiment, the control device may be an interactive terminal device, such as a mobile phone, a notebook computer, or a tablet computer, that can take photos, can be networked, and supports wireless connection. The multimedia device may be an interactive device, such as a television, sound equipment, or a notebook computer, that can be networked and can output a video or audio.
During a specific implementation process, before step 101, the control device acquires the device description information and device capability information of the multimedia device; and the control device determines, according to the device description information and the device capability information, that the multimedia device is a video device or an audio device.
The control device acquires the device description information of the multimedia device by using the Simple Service Discovery Protocol (SSDP), and there may be two possible cases. One possible case is that, when connected to a network, the control device may send an “ssdp:discover” message to an SSDP port at a specific multicast address, where the message includes a request for acquiring the device description information; and when the multimedia device obtains the message by listening, the multimedia device analyzes the request sent by the control device, and then returns a response with respect to the request sent by the control device, that is, returns the device description information. The other case is that, when connected to a network, the multimedia device sends an “ssdp:alive” message to an SSDP port at a specific multicast address, where the message includes the device description information.
The device description information includes a series of general attributes of the multimedia device. The general attributes include a service, a device structure, a device attribute, for example, a UUID, an IP address, and a device type of the multimedia device. A value of a UUID for a same multimedia device is unique at different times. A form of a UUID may be as follows: uuid:d1578360-feb3-1167-1000- 2c27d742936c; a form of an IP address may be as follows: HOST:239.255.255.250:1900; and a form of a device type may be as follows: device:Media Renderer. For a specific form of other device description information, details are not described in this embodiment again
After the control device discovers the multimedia device, the control device may invoke a UPnP acquire action (Get ProtrocolInfo( ) action) to acquire the device capability information. A packet of the device capability information that is of the multimedia device and is acquired by the control device may be shown as follows:
<SinkProtocolInfo>
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM,
http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,
</SinkProtocolInfo>
In the acquired device capability information, image represents an image, jpeg represents a format of an image file, audio represents a sound, and mpeg represents a format of an audio file. Persons skilled in the art may understand that the foregoing format of the packet of the device capability information is merely exemplary, and this embodiment is not limited thereto.
The multimedia device may determine, according to the device description information and the device capability information, that the multimedia device is a video device or an audio device. For example, the device type is a media renderer and the device capability information is image/jpeg, it may be determined that the multimedia device is a video device; and if the device capability information is audio/mpeg, it may be determined that the multimedia device is an audio device.
In step 101, the control device generates an identification identifier of the multimedia device according to device description information of the multimedia device.
During a specific implementation process, the control device may generate the identification identifier of the multimedia device according to the device description information of the multimedia device, where the device description information may be a UUID, an IP address, and a device type. The identification identifier may be a picture with a specific color, a two-dimensional code, a sound, a specific shape, or the like.
Optionally, the control device generates the identification identifier of the multimedia device according to a UUID and an IP address of the multimedia device in the device description information of the multimedia device.
After the identification identifier of the multimedia device is generated, the control device sends the identification identifier to the multimedia device, so that the multimedia device acquires the identification identifier. The control device sends a universal resource identifier (URI) of the identification identifier to the multimedia device, and the multimedia device may acquire the identification identifier according to the URI.
In step 102, the control device acquires the identification identifier displayed by the multimedia device and an appearance image of the multimedia device, and acquires the device description information according to the identification identifier displayed by the multimedia device.
When the multimedia device is a video device, the control device may capture, in a manner of photographing or scanning, an identification identifier played by the video device; and when the multimedia device is an audio device, the control device may acquire, in a manner of recording by a microphone, an identification identifier played by the audio device, and then acquire the device description information according to a picture with a specific color, a two-dimensional code, a sound, a specific shape, or the like.
In addition, the multimedia device acquires an appearance image of the multimedia device by using a camera, learns whether the media playback device is a video device or an audio device by means of an image recognition technology, and then learns appearance information such as a brand and a screen size of the multimedia device by analyzing the multimedia device.
In step 103, the control device associates the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image.
During a specific implementation process, the device description information may be associated with the appearance image of the multimedia device in a manner of establishing a table, mapping, or binding, and association information is stored on the control device.
Optionally, the control device may associate the UUID and the IP address in the device description information with the appearance image.
When a user equipment needs to implement media content sharing between electronic devices on a home network, the user equipment may identify and select a multimedia device according to appearance images of multimedia devices displayed on the control device. Because an association relationship exists between an appearance image and device description information, after the user equipment identifies and selects the multimedia device according to the appearance images, the control device may directly acquire device description information of the multimedia device, and then establishes a connection with the multimedia device according to the device description information, thereby implementing media file sharing.
In the method for identifying a device according to this embodiment of the present disclosure, a control device generates an identification identifier of a multimedia device according to device description information of the multimedia device, and sends the identification identifier to the multimedia device, so that the multimedia device displays the identification identifier; the control device acquires the identification identifier displayed by the multimedia device and an appearance image of the multimedia device, and acquires the device description information according to the identification identifier displayed by the multimedia device; and the control device associates the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image. In this way, a user equipment can correctly identify, only according to the appearance image of the multimedia device, the multimedia device corresponding to the appearance image, thereby improving convenience and correctness of device identification.
The following uses several specific embodiments to describe, with respect to the video device and the audio device in the embodiment shown in FIG. 1 , in detail the method for identifying a device.
FIG. 2 is a flowchart of a process, in Embodiment 1 of a method for identifying a device, for identifying a video device according to the present disclosure. That a multimedia device is a video device is described in detail for description in this embodiment. Specific steps are as follows. Step 201: A control device generates an identification identifier of the video device according to a UUID and an IP address of the video device in device description information of the video device, and sends the identification identifier to the video device, so that the video device displays the identification identifier.
For a method used by the control device to discover and determine a video device, and a method for acquiring device description information and device capability information, reference may be made to step 101, and details are not described herein again in this embodiment.
When the multimedia device is a video device, the control device compiles information such as the UUID and the IP address of the video device into a two-dimensional code for the video device. If multiple video devices are discovered on a home network, UUIDs and IP addresses of the video devices are different, and therefore, two-dimensional codes generated for the video devices are also different.
Alternatively, the control device may also generate, according to UUIDs and IP addresses of different video devices discovered on the home network, pictures with preset colors for the different video devices. For example, if a video device with a UUID of xx.1xx.xxx.1 and with an IP address of 192.168.xx.1 is acquired by the control device, the control device generates a red picture for the video device; and if a video device with a UUID of xx.1xx.xxx.2 and with an IP address of 192.168.xx.2 is acquired by the control device, the control device generates a blue picture for the video device. The control device generates two-dimensional codes or pictures with preset colors for video devices with different UUIDs and IP addresses.
Persons skilled can understand that both the foregoing two-dimensional code and the picture with a preset color are identification identifiers in this embodiment.
When the multimedia device is a video playback device, the control device invokes a Set AV Transport URI( ) action command of the video device, where the command carries a URI of a picture with a preset color or a URI of a two-dimensional code, where the picture with a preset color or the two-dimensional code is generated for the video device. After acquiring the URI of the picture with a preset color or the URI of the two-dimensional code, the video device acquires the picture with a preset color or the two-dimensional code by using Hypertext Transfer Protocol (HTTP) GET method call, and displays the picture with a preset color or the two-dimensional code on a screen.
Step 202: The control device acquires the identification identifier displayed by the video device, acquires the UUID and the IP address according to the identification identifier, and acquires an appearance image of the video device by using a camera.
When the multimedia device is a video device, the camera on the control device captures the appearance image of the video playback device, and captures a preset picture or a two-dimensional code picture in a manner of photographing or scanning.
When the identification identifier is a two-dimensional code picture, the UUID and the IP address may be directly acquired by parsing.
When the identification identifier is a preset picture, the preset picture may be a picture with a preset pattern, or may be a picture with a preset color. If the control device determines that a preset picture played by the video device is consistent with a preset picture generated by the control device, the control device acquires device description information corresponding to the preset picture. The control device determines whether the captured preset picture played by the video device is a preset picture generated by an audio device; and if the captured preset picture played by the video device is a preset picture generated by an audio device, the control device determines that the identification identifier played by the video device is consistent with the identification identifier generated by the control device.
In addition, the control device may learn that the multimedia device is a video device according to an appearance image by means of an image recognition technology, and then learns appearance information such as a brand and a screen size of the multimedia device by analyzing the multimedia device.
Step 203: The control device associates the UUID and the IP address with the appearance image of the video device.
After the camera of the control device captures the appearance image of the video device and key information such as the UUID and the IP address of the video device is acquired, the control device matches and associates the appearance image of the video device with the UUID and the IP address. For example, the control device correspondingly binds the appearance image of the video device collected by the video device and a red picture with a corresponding UUID and a corresponding IP address, and the binding information is stored on the control device. A manner for associating device description information with an appearance image in a form of a table may be listed in Table 1.
TABLE 1
Generated Acquired
picture with picture with Appearance
UUID IP preset color preset color picture
xx.1xx.xxx.1 192.168.xx.1 Red Red HDTV1
xx.1xx.xxx.2 192.168.xx.3 Yellow Yellow HDTV1
xx.1xx.xxx.3 192.168.xx.2 Blue Blue HDTV1
By using the method for identifying a device according to this embodiment of the present disclosure, a user equipment can correctly identify, only according to an appearance image of a multimedia device, the multimedia device corresponding to the appearance image, thereby improving convenience and correctness of device identification.
FIG. 3 is a flowchart of a process, in Embodiment 1 of a method for identifying a device, for identifying an audio device according to the present disclosure. That a multimedia device is an audio device is described in detail in this embodiment.
Step 301: A control device generates an identification identifier of the audio device according to a UUID and an IP address of the audio device in device description information of the audio device, and sends the identification identifier to the audio device, so that the audio device displays the identification identifier.
For a method used by the control device to discover and determine an audio device, and a method for acquiring device description information and device capability information, reference may be made to step 101, and details are not described herein again in this embodiment.
When the multimedia device is an audio device, the control device may generate, according to UUIDs and IP addresses of different audio devices discovered on a home network, preset music for the different video devices. For example, if an audio device with a UUID of xx.1xx.xxx.1 and with an IP address of 192.168.xx.1 is acquired by the control device, the control device generates music A for the audio device. If an audio device with a UUID of xx.1xx.xxx.2 and with an IP address of 192.168.xx.2 is acquired by the control device, the control device generates music B for the audio device.
Alternatively, the control device may generate audio files with preset frequencies according to the UUIDs and the IP addresses of the different video devices, for example, the control device generates an audio file with a frequency of 1000 kHz for a device with a UUID of xx.1xx.xxx.1 and with an IP address of 192.168.xx.1, and the control device generates an audio file with a frequency of 2000 kHz for a device with a UUID of xx.1xx.xxx.2 and with an IP address of 192.168.xx.2.
Persons skilled in the art can understand that both the foregoing preset music and a sound with a preset frequency are identification identifiers in this embodiment.
When the multimedia device is an audio playback device, the control device invokes a Set AV Transport URI( ) action command of the audio device, where the command carries a URI of preset music or a URI of a sound with a preset frequency, where the preset music or the sound with a preset frequency is generated for the audio device. After acquiring the URI of the preset music or the URI of the sound with a preset frequency, the playback device acquires the preset music or the sound with a preset frequency by using HTTP GET, and plays the preset music or the sound with a preset frequency by using sound equipment.
Step 302: The control device acquires the identification identifier displayed by the audio device, acquires the UUID and the IP address according to the identification identifier, and acquires an appearance image of the audio device by using a camera.
When the multimedia device is an audio device, a microphone on the control device collects preset music, or a sound with a preset frequency played by the audio device. For example, the control device generates music A or an audio file with 1000 kilohertz (kHz) for an audio device with a UUID of xx.1xx.xxx.1 and with an IP address of 192.168.xx.1. When a user puts the control device near the audio device, a camera on the control device acquires an appearance image of the audio device, and the microphone captures that what is playing by the audio device is music A or the audio file with 1000 kHz.
Then, if the control device determines that the preset music and the sound with a preset frequency played by the audio device is consistent with the preset music and the sound with a preset frequency generated by the control device, the control device acquires device description information corresponding to the preset music and the sound with a preset frequency. The control device determines whether the collected preset music or the sound with a preset frequency played by the audio device is the preset music or the sound with a preset frequency generated by the control device; and if the collected preset music or the sound with a preset frequency played by the audio device is the preset music or the sound with a preset frequency generated by the control device, the control device determines that the identification identifier played by the audio device is consistent with the identification identifier generated by the control device.
In addition, the control device learns that the multimedia device is an audio device by means of an image recognition technology, and then learns appearance information such as a brand and a screen size of the multimedia device by analyzing the multimedia device.
Step 303: The control device associates the UUID and the IP address with the appearance image of the audio device.
The control device matches and associates key information, such as the UUID and the IP address of the audio device that are corresponding to the preset music or the sound with a preset frequency, with the appearance image of the audio device collected by the camera of the control device; and the association information is stored on the control device. A manner for associating device description information with an appearance image in a form of a table may be listed in Table 2.
TABLE 2
Generated Acquired
sound sound
with preset with preset Appearance
UUID IP frequency frequency picture
xx.1xx.xxx.1 192.168.xx.1 A/1000 kHz A/1000 kHz Stereo speaker1
xx.1xx.xxx.2 192.168.xx.3 A/1000 kHz A/1000 kHz Stereo speaker2
xx.1xx.xxx.3 192.168.xx.2 A/1000 kHz A/1000 kHz Stereo speaker3
By using the method for identifying a device according to this embodiment of the present disclosure, a user equipment can correctly identify, only according to an appearance image of a multimedia device, the multimedia device corresponding to the appearance image, thereby improving convenience and correctness of device identification.
FIG. 4 is a flowchart of Embodiment 2 of a method for identifying a device according to the present disclosure. As shown in FIG. 4 , the method for identifying a device according to this embodiment of the present disclosure may be executed by a multimedia device. The multimedia device may be implemented by using software and/or hardware. The method for identifying a device according to this embodiment includes Step 401: The multimedia device receives an identification identifier of the multimedia device sent by a control device.
Step 402: The multimedia device displays the identification identifier, so that the control device acquires device description information of the multimedia device according to the identification identifier and associates the device description information with the appearance image, where the identification identifier is generated by the control device according to the device description information of the multimedia device.
Optionally, if the multimedia device is a video device, the identification identifier is a preset picture or a two-dimensional code.
Optionally, if the multimedia device is an audio device, the identification identifier is preset music, or a sound with a preset frequency.
For a specific implementation process of this embodiment, reference may be made to descriptions about the multimedia device shown in the embodiments of FIG. 1 to FIG. 3 , and details are not described herein again in this embodiment.
In the method for identifying a device according to this embodiment of the present disclosure, a multimedia device receives an identification identifier of the multimedia device sent by a control device; and the multimedia device displays the identification identifier, so that the control device associates the device description information with the appearance image, which enables a user equipment to identify the multimedia device according to the appearance image. In this way, a user equipment can correctly identify, only according to the appearance image of the multimedia device, the multimedia device corresponding to the appearance image, thereby improving convenience and correctness of device identification.
FIG. 5 is a flowchart of Embodiment 3 of a method for identifying a device according to the present disclosure. The method for identifying a device according to this embodiment is as follows. Step 501: A control device acquires device description information and device capability information of a multimedia device.
Step 502: The control device acquires an appearance image of the multimedia device.
Step 503: The control device associates the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image.
In step 501, the control device acquires device description information and device capability information of a multimedia device by using the Service Discovery Protocol.
The control device may acquire the device description information of the multimedia device by using SSDP, and there may be two possible cases. One possible case is that when connected to a network, the control device may send an “ssdp:discover” message to an SSDP port at a specific multicast address, where the message includes a request for acquiring the device description information; and when the multimedia device obtains the message by listening, the multimedia device analyzes the request sent by the control device, and then returns a response with respect to the request sent by the control device, that is, returns the device description information. The other case is that when connected to a network, the multimedia device sends an “ssdp:alive” message to an SSDP port at a specific multicast address, where the message includes the device description information.
After the control device discovers the multimedia device, the control device may invoke a UPnP acquire action (Get ProtocolInfo( ) action) to acquire the device capability information.
Optionally, after the control device acquires the device description information of the multimedia device, the method further includes determining, by the control device according to the device description information and the device capability information, that the multimedia device is a video device or an audio device.
In step 502, the control device acquires an appearance image of the multimedia device. The control device acquires an appearance image of the multimedia device from a network side by using the device description information, and acquires an appearance image of the multimedia device by using a camera; and the control device determines that the appearance image of the multimedia device acquired from the network side by using the device description information is consistent with the appearance image of the multimedia device acquired by using a camera. The control device uses the appearance image of the multimedia device acquired from the network side as an appearance image of the multimedia device, and acquires the appearance image.
The control device acquires more detailed device information from the network side by analyzing key information in the device description information. For example, a uniform resource locator (URL) of a product appearance image is acquired from the device description information, and then the control device acquires the appearance image from the network side according to the URL; or, the control device may acquire a portal website of a device manufacturer by analyzing <manufacturer URL> in the device description information, and may acquire a detailed product model by analyzing <model Name> in the device description information. After acquiring a portal website of the manufacturer, the control device may search for more detailed device description information and product description information on the website by using a background program, for example, product parameters such as an appearance image, a brand, a screen size, and a resolution. The control device binds a UUID and an IP address of the multimedia device with the product parameters, such as the appearance image, the brand, and the screen size, of the multimedia device acquired from the network side, and the control device stores binding information. Details may be listed in Table 3.
TABLE 3
UUID IP Appearance picture on network
xx.1xx.xxx.1 192.168.xx.1 Samsung smart TV
xx.1xx.xxx.2 192.168.xx.3 B&W sound equipment
xx.1xx.xxx.3 192.168.xx.2 Sony high-definition TV
The camera on the control device collects an appearance image of a multimedia device that needs to be identified. For example, a user starts the camera on the control device and aligns the camera with a multimedia device in a living room or a bedroom, and the camera collects an appearance image of the multimedia device, such as an appearance image of a television or an appearance image of sound equipment. The control device analyzes the collected appearance image of the multimedia device. The control device can learn, by means of image recognition, whether the appearance image acquired by using a camera by the user is a television or sound equipment. The control device may identify information such as a screen size of the multimedia device by means of an image recognition technology. Details may be listed in Table 4.
TABLE 4
Photographed appearance
ID picture
A Samsung smart TV
B B&W sound equipment
C Sony high-definition TV
The control device performs analysis by means of an image recognition technology; if it is determined that the appearance image of the multimedia device acquired from the network side is consistent with the appearance image acquired by using a camera, the appearance image acquired by using a camera is used as an appearance image; and the appearance image is acquired. Persons skilled in the art may understand that consistency of appearance images not only includes consistency of images, but also includes consistency of device types, brands, and product parameters that are acquired according to the image recognition technology.
In step 503, the control device associates the device description information with the appearance image.
The control device associates the UUID and the IP address in the device description information with the appearance image acquired by using a camera in step 502, and stores the association information on the control device. A manner for associating device description information with an appearance image in a form of a table may be listed in Table 5.
TABLE 5
Appearance picture Photographed
UUID IP on network appearance picture
xx.1xx.xxx.1 192.168.xx.1 Samsung smart TV Samsung smart TV
xx.1xx.xxx.2 192.168.xx.3 B&W sound B&W sound
equipment equipment
xx.1xx.xxx.3 192.168.xx.2 Sony high-definition Sony
TV high-definition TV
By using the method for identifying a device according to this embodiment of the present disclosure, a user equipment can correctly identify, only according to an appearance image of a multimedia device, the multimedia device corresponding to the appearance image, thereby improving convenience and correctness of device identification.
FIG. 6 is a schematic structural diagram of Embodiment 1 of a control device according to the present disclosure. As shown in FIG. 6 , a control device 60 provided in this embodiment of the present disclosure includes a generating module 601, a first acquiring module 602, a second acquiring module 603, and an associating module 604.
The generating module 601 is configured to generate an identification identifier of a multimedia device according to device description information of the multimedia device, and send the identification identifier to the multimedia device, so that the multimedia device displays the identification identifier, the first acquiring module 602 is configured to acquire the identification identifier displayed by the multimedia device and an appearance image of the multimedia device, the second acquiring module 603 is configured to acquire the device description information according to the identification identifier displayed by the multimedia device, and the associating module 604 is configured to associate the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image.
The control device in this embodiment may be used to execute the technical solution of the method embodiment shown in FIG. 1 . The implementation principles and technical effects are similar and are not described herein again.
FIG. 7 is a schematic structural diagram of Embodiment 2 of a control device according to the present disclosure. As shown in FIG. 7 , this embodiment of the present disclosure is implemented based on the embodiment of FIG. 6 , and details are as follows. Optionally, the second acquiring module 603 is configured to determine that the identification identifier displayed by the multimedia device is consistent with the identification identifier generated by the control device, and acquire the device description information corresponding to the identification identifier generated by the control device.
Optionally, the control device further includes a determining module 605 configured to, before the identification identifier of the multimedia device is generated according to the device description information of the multimedia device, acquire the device description information and device capability information of the multimedia device, and determine, according to the device description information and the device capability information, that the multimedia device is a video device or an audio device.
Optionally, if the multimedia device is a video device, the identification identifier is a preset picture or a two-dimensional code, or if the multimedia device is an audio device, the identification identifier is preset music, or a sound with a preset frequency.
Optionally, the generating module 601 is configured to generate the identification identifier of the multimedia device according to a UUID and an IP address of the multimedia device in the device description information of the multimedia device, and the associating module 604 is configured to associate the UUID and the IP address with the appearance image of the multimedia device.
Optionally, the first acquiring module 602 is configured to acquire the identification identifier displayed by the multimedia device, and acquire the appearance image of the multimedia device by using a camera.
The control device in this embodiment may be used to execute the technical solutions of the foregoing method embodiments. The implementation principles and technical effects are similar and are not described herein again
FIG. 8 is a schematic structural diagram of Embodiment 1 of a multimedia device according to the present disclosure. As shown in FIG. 8 , a multimedia device 70 provided in this embodiment of the present disclosure includes a receiving module 701 and a displaying module 702.
The receiving module 701 is configured to receive an identification identifier of the multimedia device sent by a control device, and the displaying module 702 is configured to display the identification identifier, so that the control device acquires device description information of the multimedia device according to the identification identifier and associates the device description information with the appearance image, where the identification identifier is generated by the control device according to the device description information of the multimedia device.
Optionally, if the multimedia device is a video device, the identification identifier is a preset picture or a two-dimensional code, or if the multimedia device is an audio device, the identification identifier is preset music, or a sound with a preset frequency.
The multimedia device in this embodiment may be used to execute the technical solution of the method embodiment shown in FIG. 4 . The implementation principles and technical effects are similar and are not described herein again
FIG. 9 is a schematic structural diagram of Embodiment 3 of a control device according to the present disclosure. As shown in FIG. 9 , a control device 80 provided in this embodiment of the present disclosure includes a first acquiring module 801, a second acquiring module 802, and an associating module 803.
The first acquiring module 801 is configured to acquire device description information and device capability information of a multimedia device, the second acquiring module 802 is configured to acquire an appearance image of the multimedia device, and the associating module 803 is configured to associate the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image.
The control device in this embodiment may be used to execute the technical solution of the method embodiment shown in FIG. 5 . The implementation principles and technical effects are similar and are not described herein again
FIG. 10 is a schematic structural diagram of Embodiment 4 of a control device according to the present disclosure. As shown in FIG. 10 , the control device provided in this embodiment of the present disclosure is implemented based on the embodiment in FIG. 9 , and details are as follows Optionally, the second acquiring module 802 is configured to acquire an appearance image of the multimedia device from a network side by using the device description information, and acquire an appearance image of the multimedia device by using a camera, and determine that the appearance image of the multimedia device acquired from the network side by using the device description information is consistent with the appearance image of the multimedia device acquired by using the camera.
Optionally, the associating module 803 is configured to associate, by the control device, a UUID and an IP address in the device description information with the appearance image of the multimedia device acquired by using the camera.
Optionally, the control device further includes a determining module 804 configured to, after the device description information of the multimedia device is acquired, determine, according to the device description information and the device capability information, that the multimedia device is a video device or an audio device.
The control device in this embodiment may be used to execute the technical solutions of the foregoing method embodiments. The implementation principles and technical effects are similar and are not described herein again.
Persons of ordinary skill in the art may understand that all or some of the steps of the method embodiments may be implemented by a program instructing relevant hardware. The program may be stored in a computer-readable storage medium. When the program runs, the steps of the method embodiments are performed. The foregoing storage medium includes any medium that can store program code, such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc.
Finally, it should be noted that the foregoing embodiments are merely intended for describing the technical solutions of the present disclosure, but not for limiting the present disclosure. Although the present disclosure is described in detail with reference to the foregoing embodiments, persons of ordinary skill in the art should understand that they may still make modifications to the technical solutions described in the foregoing embodiments or make equivalent replacements to some or all technical features thereof, without departing from the scope of the technical solutions of the embodiments of the present disclosure.

Claims (11)

What is claimed is:
1. A method for identifying a device, comprising:
generating, by a control device, an identification identifier of a multimedia device according to device description information of the multimedia device, wherein the multimedia device is an audio device, and wherein the identification identifier is at least one of preset music and a sound with a preset frequency;
sending, by the control device, the identification identifier to be played by the multimedia device, so that the multimedia device displays the identification identifier;
acquiring, by a microphone of the control device, the identification identifier displayed played by the multimedia deviceand;
acquiring, by at least one camera of the control device, an appearance image of the multimedia device;
acquiring, by the control device, the device description information according to the identification identifier displayed by the multimedia device; and
associating, by the control device, the device description information with the appearance image of the multimedia device, so that a user equipment the control device identifies the multimedia device according to the appearance image.
2. The method according to claim 1, wherein acquiring, by the control device, the device description information according to the identification identifier displayed by the multimedia device comprises determining, by the control device, that the identification identifier displayed by the multimedia device is consistent with the identification identifier generated by the control device.
3. The method according to claim 1, before generating, by the control device, the identification identifier of the multimedia device according to the device description information of the multimedia device, the method further comprises acquiring, by the control device, the device description information and device capability information of the multimedia device.
4. The method according to claim 1, wherein generating, by the control device, the identification identifier of the multimedia device according to the device description information of the multimedia device comprises generating, by the control device, the identification identifier of the multimedia device according to a universally unique identifier (UUID) and an internet protocol (IP) address of the multimedia device in the device description information of the multimedia device, and wherein associating, by the control device, the device description information with the appearance image of the multimedia device comprises associating, by the control device, the UUID and the IP address with the appearance image of the multimedia device.
5. The method according to claim 1, wherein acquiring, by the control device, the appearance image of the multimedia device comprises acquiring, by the control device, the appearance image of the multimedia device by using a camera.
6. A method for identifying a device, comprising:
receiving, by a multimedia device, an identification identifier of the multimedia device from a control device, wherein the multimedia device is an audio device, and wherein the identification identifier is at least one of preset music and a sound with a preset frequency; and
displayingplaying, by the multimedia device, the identification identifier, so that the control device acquires device description information of the multimedia device according to the identification identifier and associates the device description information with an appearance image, wherein the identification identifier is generated by the control device according to the device description information of the multimedia device.
7. A control device, comprising:
a generating module configured to:
generate an identification identifier of a multimedia device according to device description information of the multimedia device, wherein the multimedia device is an audio device, and wherein the identification identifier is at least one of preset music and a sound with a preset frequency; and
end the identification identifier to the multimedia device, so that the multimedia device displays the identification identifier;
a first acquiring module configured to acquire the identification identifier displayed by the multimedia device and an appearance image of the multimedia device;
a second acquiring module configured to acquire the device description information according to the identification identifier displayed by the multimedia device; and
an associating module configured to associate the device description information with the appearance image of the multimedia device, so that a user equipment identifies the multimedia device according to the appearance image.
8. The control device according to claim 7, wherein the second acquiring module is further configured to:
determine that the identification identifier displayed by the multimedia device is consistent with the identification identifier generated by the control device, and
acquire the device description information corresponding to the identification identifier generated by the control device.
9. The control device according to claim 7, further comprising a determining module, wherein before the identification identifier of the multimedia device is generated according to the device description information of the multimedia device, the determining module is configured to acquire the device description information and device capability information of the multimedia device.
10. The control device according to claim 7, wherein the generating module is further configured to generate the identification identifier of the multimedia device according to a universally unique identifier (UUID) and an internet protocol (IP) address of the multimedia device in the device description information of the multimedia device, and wherein the associating module is further configured to associate the UUID and the IP address with the appearance image of the multimedia device.
11. The control device according to claim 7, wherein the first acquiring module is further configured to:
acquire the identification identifier displayed by the multimedia device; and
acquire the appearance image of the multimedia device by using a camera.
US16/218,410 2013-06-28 2018-12-12 Method for identifying device, and device Active USRE49837E1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/218,410 USRE49837E1 (en) 2013-06-28 2018-12-12 Method for identifying device, and device

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
CN201310269569.3 2013-06-28
CN201310269569.3A CN104252428B (en) 2013-06-28 2013-06-28 Device identification method and equipment
PCT/CN2014/080599 WO2014206272A1 (en) 2013-06-28 2014-06-24 Device recognition method and device
US14/847,413 US9519558B2 (en) 2013-06-28 2015-09-08 Method for identifying device, and device
US16/218,410 USRE49837E1 (en) 2013-06-28 2018-12-12 Method for identifying device, and device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US14/847,413 Reissue US9519558B2 (en) 2013-06-28 2015-09-08 Method for identifying device, and device

Publications (1)

Publication Number Publication Date
USRE49837E1 true USRE49837E1 (en) 2024-02-13

Family

ID=52141061

Family Applications (2)

Application Number Title Priority Date Filing Date
US14/847,413 Ceased US9519558B2 (en) 2013-06-28 2015-09-08 Method for identifying device, and device
US16/218,410 Active USRE49837E1 (en) 2013-06-28 2018-12-12 Method for identifying device, and device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US14/847,413 Ceased US9519558B2 (en) 2013-06-28 2015-09-08 Method for identifying device, and device

Country Status (6)

Country Link
US (2) US9519558B2 (en)
EP (4) EP2958026B1 (en)
CN (1) CN104252428B (en)
DE (2) DE202014011569U1 (en)
ES (3) ES2949082T3 (en)
WO (1) WO2014206272A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991744A (en) * 2015-07-10 2015-10-21 国家电网公司 Mobile server identification apparatus and using method
CN105916015A (en) * 2015-12-15 2016-08-31 乐视致新电子科技(天津)有限公司 Vehicle-mounted multi-equipment audio and video data sharing method, device and system
CN107038696A (en) * 2016-02-03 2017-08-11 幸福在线(北京)网络技术有限公司 A kind of recognition methods of camera lens, device and camera lens
CN107403216A (en) * 2017-05-25 2017-11-28 阿里巴巴集团控股有限公司 A kind of identification code generation and verification method and device
US10735808B2 (en) 2017-08-10 2020-08-04 The Nielsen Company (Us), Llc Methods and apparatus of media device detection for minimally invasive media meters
US11288158B2 (en) * 2018-06-08 2022-03-29 Nippon Telegraph And Telephone Corporation Device identification device and device identification method
CN111225082B (en) * 2020-01-14 2020-12-29 上海顺舟智能科技股份有限公司 Identity management method and device of Internet of things intelligent equipment and Internet of things platform
CN111766788A (en) * 2020-06-01 2020-10-13 珠海格力电器股份有限公司 Intelligent household control method and device
CN111901896A (en) * 2020-07-14 2020-11-06 维沃移动通信有限公司 Information sharing method, information sharing device, electronic equipment and storage medium

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030007505A1 (en) 2001-07-04 2003-01-09 Takuro Noda Information processor and method, recording medium and program
US20030126239A1 (en) 2001-12-31 2003-07-03 Hwang Hye-Sook Mobile communication terminal, network access system and method thereof using the same
US20040103184A1 (en) * 1997-06-25 2004-05-27 Samsung Electronics Company, Ltd. Method and apparatus for a home network auto-tree builder
US20050011957A1 (en) 2003-07-16 2005-01-20 Olivier Attia System and method for decoding and analyzing barcodes using a mobile device
US20070104193A1 (en) 2005-11-09 2007-05-10 Samsung Electronics Co., Ltd. Method and apparatus for transmitting and receiving information regarding UPnP event
US7653212B2 (en) * 2006-05-19 2010-01-26 Universal Electronics Inc. System and method for using image data in connection with configuring a universal controlling device
US20100231729A1 (en) * 2009-03-10 2010-09-16 Hsin-Chen Robin Lee Method of capturing image and accessing captured image via network, computer program of accessing captured image and image capturing apparatus thereof
CN102204271A (en) 2011-06-28 2011-09-28 华为终端有限公司 A method for controlling user equipment and a device thereof
CN102246468A (en) 2011-05-18 2011-11-16 华为终端有限公司 Networking method,server equipment,client equipment and network system
US20120001724A1 (en) 2010-07-01 2012-01-05 Petros Belimpasakis Interacting with Peer Devices Based on Machine Detection of Physical Characteristics of Objects
US20120054385A1 (en) * 2010-08-26 2012-03-01 Samsung Electronics Co., Ltd. Method and apparatus for establishing communication
US20120190346A1 (en) * 2011-01-25 2012-07-26 Pantech Co., Ltd. Apparatus, system and method for providing augmented reality integrated information
CN103002125A (en) 2011-11-10 2013-03-27 斯凯普公司 Communication event building
US20130103847A1 (en) * 2011-10-21 2013-04-25 Motorola Mobility, Inc. Device Provisioning or Pairing Using Graphical Representation of Device Identifier
CN103124422A (en) 2012-12-04 2013-05-29 华为终端有限公司 Device associating method, device and system
US20130136363A1 (en) * 2010-08-09 2013-05-30 Sk Planet Co., Ltd. Integrated image searching system and service method thereof
US20130217380A1 (en) * 2012-02-22 2013-08-22 Rsupport Co., Ltd. Method of displaying mobile terminal in remote device and apparatus for performing the same
US20140085486A1 (en) * 2012-09-26 2014-03-27 Fujitsu Mobile Communications Limited Information processing terminal, information processing method, and apparatus control system
US8896426B1 (en) * 2007-02-09 2014-11-25 Uei Cayman Inc. Graphical user interface for programming universal remote control devices

Patent Citations (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040103184A1 (en) * 1997-06-25 2004-05-27 Samsung Electronics Company, Ltd. Method and apparatus for a home network auto-tree builder
US7103834B1 (en) * 1997-06-25 2006-09-05 Samsung Electronics Co., Ltd. Method and apparatus for a home network auto-tree builder
US20030007505A1 (en) 2001-07-04 2003-01-09 Takuro Noda Information processor and method, recording medium and program
US20030126239A1 (en) 2001-12-31 2003-07-03 Hwang Hye-Sook Mobile communication terminal, network access system and method thereof using the same
US20050011957A1 (en) 2003-07-16 2005-01-20 Olivier Attia System and method for decoding and analyzing barcodes using a mobile device
US20070104193A1 (en) 2005-11-09 2007-05-10 Samsung Electronics Co., Ltd. Method and apparatus for transmitting and receiving information regarding UPnP event
CN1968150A (en) 2005-11-09 2007-05-23 三星电子株式会社 Method and apparatus for transmitting and receiving information regarding UPnP event
US7653212B2 (en) * 2006-05-19 2010-01-26 Universal Electronics Inc. System and method for using image data in connection with configuring a universal controlling device
US8896426B1 (en) * 2007-02-09 2014-11-25 Uei Cayman Inc. Graphical user interface for programming universal remote control devices
US20100231729A1 (en) * 2009-03-10 2010-09-16 Hsin-Chen Robin Lee Method of capturing image and accessing captured image via network, computer program of accessing captured image and image capturing apparatus thereof
US20120001724A1 (en) 2010-07-01 2012-01-05 Petros Belimpasakis Interacting with Peer Devices Based on Machine Detection of Physical Characteristics of Objects
US20130136363A1 (en) * 2010-08-09 2013-05-30 Sk Planet Co., Ltd. Integrated image searching system and service method thereof
US20120054385A1 (en) * 2010-08-26 2012-03-01 Samsung Electronics Co., Ltd. Method and apparatus for establishing communication
CN103069747A (en) 2010-08-26 2013-04-24 三星电子株式会社 Method and apparatus for establishing communication
US20120190346A1 (en) * 2011-01-25 2012-07-26 Pantech Co., Ltd. Apparatus, system and method for providing augmented reality integrated information
CN102246468A (en) 2011-05-18 2011-11-16 华为终端有限公司 Networking method,server equipment,client equipment and network system
US20140075039A1 (en) 2011-05-18 2014-03-13 Huawei Device Co., Ltd. Networking method, server device, client device, and network system
US20130108113A1 (en) * 2011-06-28 2013-05-02 Huawei Deivce Co., Ltd. Method and apparatus for controlling user equipment
CN102204271A (en) 2011-06-28 2011-09-28 华为终端有限公司 A method for controlling user equipment and a device thereof
US20130103847A1 (en) * 2011-10-21 2013-04-25 Motorola Mobility, Inc. Device Provisioning or Pairing Using Graphical Representation of Device Identifier
CN103002125A (en) 2011-11-10 2013-03-27 斯凯普公司 Communication event building
US20130217380A1 (en) * 2012-02-22 2013-08-22 Rsupport Co., Ltd. Method of displaying mobile terminal in remote device and apparatus for performing the same
US20140085486A1 (en) * 2012-09-26 2014-03-27 Fujitsu Mobile Communications Limited Information processing terminal, information processing method, and apparatus control system
CN103124422A (en) 2012-12-04 2013-05-29 华为终端有限公司 Device associating method, device and system
US20150271741A1 (en) 2012-12-04 2015-09-24 Huawei Device Co., Ltd. Device Association Method, Apparatus, and System

Non-Patent Citations (12)

* Cited by examiner, † Cited by third party
Title
"DLNA Guidelines, vol. 1: Architectures and Protocols, An Industry Guide for Building Interoperable Platforms, Devices, and Applications," Part 1, Aug. 2009, 385 pages.
"DLNA Guidelines, vol. 1: Architectures and Protocols, An Industry Guide for Building Interoperable Platforms, Devices, and Applications," Part 2, Aug. 2009, pp. I-XXIV, and 1-359.
"UPnP Device Architecture 1.1," UPnP Forum, Oct. 15, 2008, 136 pages.
"Wi-Fi Display Technical Specification," Draft Version 1.44, 2012, 159 pages.
Allegro et al., "UPnP Device Architecture 1.0," UPnP Forum, Document Revision Date Apr. 24, 2008, 80 pages.
DLNA Networked, vol. 1: Architectures and Protocols,An Industry Guide for Building Interoperable Platforms, Devices,and Applications, Aug. 2009. total 770 pages.
EPO Communication pursuant to Article 94(3) EPC issued in European Application No. 20194007.9 dated May 16, 2022, 4 pages.
Foreign Communication From a Counterpart Application, European Application No. 14816702.6, Extended European Search Report dated Dec. 18, 2015, 8 pages.
Foreign Communication From a Counterpart Application, PCT Application No. PCT/CN2014/080599, English Translation of International Search Report dated Sep. 29, 2014, 2 pages.
Foreign Communication From a Counterpart Application, PCT Application No. PCT/CN2014/080599, Written Opinion dated Sep. 29, 2014, 5 pages.
Jeronimo et al., "UPnP Design by Example, A Software Developer's Guide to Universal Plug and Play," Intel Press, May 1, 2003, 19 pages.
Wi-Fi Display Technical Specification Draft Version 1.44,Draft Version 1.44, 2012, 159 pages.

Also Published As

Publication number Publication date
EP4243378A2 (en) 2023-09-13
ES2842939T3 (en) 2021-07-15
EP2958026B1 (en) 2018-11-28
EP4243378A3 (en) 2023-11-22
EP3809272A1 (en) 2021-04-21
EP3486791B1 (en) 2020-10-14
EP3809272B1 (en) 2023-04-05
DE202014011495U1 (en) 2021-05-28
US20150378860A1 (en) 2015-12-31
ES2714105T3 (en) 2019-05-27
EP2958026A1 (en) 2015-12-23
DE202014011569U1 (en) 2022-05-09
CN104252428A (en) 2014-12-31
EP3486791A1 (en) 2019-05-22
WO2014206272A1 (en) 2014-12-31
US9519558B2 (en) 2016-12-13
EP2958026A4 (en) 2016-01-20
ES2949082T3 (en) 2023-09-25
CN104252428B (en) 2017-12-29

Similar Documents

Publication Publication Date Title
USRE49837E1 (en) Method for identifying device, and device
US9137292B2 (en) Remote management of DLNA system
US8929247B2 (en) Device capable of notifying operation state change thereof through network and communication method of the device
KR102109985B1 (en) Application discovery
US7366720B2 (en) System for remote share access
CN110830841B (en) Screen projection method, system and intelligent device under different local area networks
JP2006134315A (en) Method for identifying specific apparatus on upnp network, method for reproducing content through identified apparatus, and device for it
CN105323628B (en) Cross-screen playing method and system based on DLNA (digital Living network alliance), browser end device and playing device
CN105335112A (en) Method and apparatus for information processing of multi-screen display and method and apparatus for sending master control end content for multi-screen display
JP2013511236A (en) Method and apparatus for searching WiFi display service in WiFiDirect network
JP2007534046A (en) Server device, client device, and network system
US10164788B2 (en) Remote control method and system using control user interface
US9578482B2 (en) Communication apparatus and method of controlling the same
US9385882B2 (en) Method and apparatus for phone communication using home network
US20150244755A1 (en) Method, apparatus, and home network system for presenting multiple images, and mobile terminal
US20140241210A1 (en) Communication apparatus and method of controlling the same
WO2017092323A1 (en) Main control device, playing device and data transmission method therefor
CN112187486A (en) Interaction method between intelligent devices and intelligent devices
JP2010011123A (en) Image data delivery method, image data delivery device implementing same, image data delivery program for making computer to implement same, and recording medium with same written therein
JP5550288B2 (en) Content providing apparatus and content processing method
KR101210359B1 (en) Method and apparatus for classfying contents with Digital Contents Management on DLNA network
CN111901691B (en) User terminal, starting advertisement playing method thereof and computer readable storage medium
KR101668812B1 (en) Method and system for improving compatibility of renderer search using DLNA
CN115767156A (en) Display device, device discovery method, device and storage medium
JP2013187633A (en) Video recording content information display screen generating system

Legal Events

Date Code Title Description
FEPP Fee payment procedure

Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

AS Assignment

Owner name: HUAWEI DEVICE (DONGGUAN) CO., LTD., CHINA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:HUAWEI DEVICE CO., LTD.;REEL/FRAME:064683/0760

Effective date: 20200904

Owner name: HUAWEI DEVICE CO., LTD., CHINA

Free format text: CHANGE OF NAME;ASSIGNOR:HUAWEI DEVICE (DONGGUAN) CO., LTD.;REEL/FRAME:064689/0063

Effective date: 20181116

Owner name: HUAWEI DEVICE CO., LTD., CHINA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:ZHANG, YAJUN;ZHU, YU;REEL/FRAME:064683/0672

Effective date: 20150906

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 8