Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for discovering local area network equipment

A technology of a local area network device and a discovery method, applied in the field of a local area network device discovery method and device, can solve problems such as slow set-top box process, and achieve the effect of fast discovery speed

Active Publication Date: 2016-03-30
XIAOMI INC
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The following problems exist in the related technology: when the mobile phone and the set-top box are compatible with multiple sets of protocols, because the multicast mechanisms of different protocols are different from each other, there is a problem that a certain protocol discovers the set-top box slowly

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for discovering local area network equipment
  • Method and device for discovering local area network equipment
  • Method and device for discovering local area network equipment

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0094] figure 2 is a flow chart of a method for discovering local area network devices according to an exemplary embodiment, as shown in figure 2 As shown, the local area network device discovery method includes the following steps.

[0095] In step S21, when the device discovery function of the mobile phone is activated, the mobile phone sends multicast messages through the three sets of protocols A, B and C respectively.

[0096] In step S22, device 1 first receives the A-protocol multicast message sent by the mobile phone, and determines that its own A-monitoring port is valid, and feeds back an A-multicast response message to the mobile phone.

[0097] It is worth noting that, in this embodiment, the multicast message received first by the device 1 is an A-protocol multicast message as an example for illustration. In practical applications, mobile phones have different frequencies and strategies for sending multicast messages of different protocols, and the sequence of...

example 2

[0105] image 3 is a flow chart of a method for discovering local area network devices according to another exemplary embodiment, as shown in image 3 As shown, the local area network device discovery method may also include the following steps.

[0106] Steps S31-S33 are the same as above-mentioned steps S21-S23.

[0107] In step S34, the A multicast response message fed back by device 1 to the mobile phone includes the IP address of device 1, and the mobile phone directly connects to the listening port B and listening port C on device 1 through TCP according to the IP address.

[0108] In step S35, when the connection is successful, the mobile phone determines that the device 1 supports the corresponding protocol.

[0109] In the above two examples, after discovering a protocol supported by the device, no matter whether the monitoring port is valid through point-to-point detection or through TCP connection, the device in the LAN and the protocol supported by the device can...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a method and device for discovering local area network equipment, and relates to the technical field of wireless communication. The technical problem that the local area network equipment is slowly discovered can be solved. The method comprises the steps that at least two multicast messages are sent in a local area network according to at least two protocols supported by the discovered equipment; first multicast response messages fed back after the discovered equipment responds to the first multicast messages are received; whether monitor ports, corresponding to other protocols, in the discovered equipment is valid or not is detected according to equipment identifiers of the discovered equipment, and a detection result is obtained; protocols supported by the discovered equipment are determined according to the detection result. The method and device are used for discovering the local area network equipment and the protocols supported by the equipment.

Description

technical field [0001] The present disclosure relates to the technical field of wireless communication, and in particular to a method and device for discovering local area network devices. Background technique [0002] With the popularity of smart terminals and the further coverage of wireless local area networks, file sharing between multiple terminals in the local area network has gradually become a trend. For example, local files on a mobile phone can be projected to a TV for display. [0003] When it is necessary to project pictures, videos, music and other multimedia files to other devices in the local area network, it is first necessary to discover other devices in the local area network and the protocol types supported by other devices. In related technologies, the device is mainly discovered by sending multicast. For example, if a mobile phone supports protocols A and B, when the mobile phone discovers other devices in the LAN, it needs to send protocol A multicast ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/28H04L12/26H04L29/08
Inventor 文振威孙鹏欧阳承凤
Owner XIAOMI INC