CN112291776A - Method for searching equipment in multi-screen cooperative system - Google Patents

Method for searching equipment in multi-screen cooperative system Download PDF

Info

Publication number
CN112291776A
CN112291776A CN202011146962.XA CN202011146962A CN112291776A CN 112291776 A CN112291776 A CN 112291776A CN 202011146962 A CN202011146962 A CN 202011146962A CN 112291776 A CN112291776 A CN 112291776A
Authority
CN
China
Prior art keywords
equipment
screen
list
searching
recording
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011146962.XA
Other languages
Chinese (zh)
Inventor
梁应龙
孟振国
陈茜
梁敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN202011146962.XA priority Critical patent/CN112291776A/en
Publication of CN112291776A publication Critical patent/CN112291776A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention relates to the technical field of multi-screen coordination, and discloses a method for searching equipment in a multi-screen coordination system. The invention comprises the following steps: recording the found multi-screen equipment searched by each equipment, and recording key information of the multi-screen equipment; screening and filtering the recording equipment list based on the SSID currently connected with the WIFI, screening out recording equipment with the SSID of the recording equipment consistent with that of the current WIFI, and generating an equipment list to be checked; determining whether the multi-screen equipment to be checked is online at present by adopting an equipment back checking mechanism based on key information of the multi-screen equipment in the equipment list to be checked, and generating a recording equipment online list according to a query result; and combining and supplementing the online list of the discovered recording equipment to the equipment search result list to form a final equipment search result. The method is suitable for equipment searching in the multi-screen cooperative system.

Description

Method for searching equipment in multi-screen cooperative system
Technical Field
The invention relates to the technical field of multi-screen coordination, in particular to a method for searching equipment in a multi-screen coordination system.
Background
The multi-screen cooperation technology is widely used in large-screen application occasions, and the currently widely adopted multi-screen cooperation technology comprises a DLNA (digital living network alliance) protocol and an Airplay protocol, wherein the DLNA protocol is widely applied in a multi-device resource cooperation scene, and the Airplay protocol is a proprietary multi-device cooperation protocol of apple companies.
The DLNA and Airplay protocols are carried out in a local area network multicast mode on multi-screen equipment searching and finding, namely, an equipment searching initiator sends a UDP multicast message to a local area network multicast address and monitors response reply of local area network equipment to the multicast message, and the equipment searching initiator acquires information of equipment in the current local area network according to the UDP message responded to the reply, so that equipment searching and finding are realized. Such UDP multicast mode has a significant drawback: when the device is in a weak network environment, the device in the local area network is difficult to search and unreliable due to the packet loss condition of the UDP multicast packet, and even the device cannot be found.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: when the multi-screen cooperative system is in a weak network environment, the success rate of equipment finding in the multi-screen system is improved.
In order to solve the problems, the invention adopts the technical scheme that: a method for searching equipment in a multi-screen cooperative system comprises the following steps:
step one, an equipment searching initiator records the multi-screen equipment found by equipment searching each time, and records key information of the multi-screen equipment in a recording equipment list, wherein the key information of the multi-screen equipment at least comprises: the method comprises the steps that MAC addresses of the multi-screen devices and SSID information of WIFI devices accessed by the multi-screen devices are obtained;
step two, the equipment searching initiator performs screening and filtering on the recording equipment list based on the SSID currently connected with the WIFI, screens out the recording equipment with the SSID of the recording equipment consistent with the SSID of the current WIFI, and generates an equipment list to be searched;
thirdly, determining whether the multi-screen equipment to be checked is online or not by adopting an equipment back checking mechanism based on the key information of the multi-screen equipment in the equipment list to be checked in the second step, and generating a recording equipment online list according to a query result;
and step four, reversely checking the found recording equipment online list in the step three, combining and adding the recording equipment online list into an equipment search result list in a supplementing manner, and forming a final equipment search result.
Further, the MAC address of the multi-screen equipment can be acquired by adopting an ARP protocol.
Further, the specific process of the equipment back-check mechanism is as follows: and adopting an ARP protocol to analyze the MAC address of each IP address in the current router network so as to obtain the MAC address and the IP address of equipment connected with the current router, and comparing the MAC address with the MAC address of the recording equipment so as to determine whether the recording equipment is online currently.
Further, the method also comprises the following step five: and searching for the devices which are not found in the device list to be searched by adopting a timing polling mode, and updating the searching result into the device searching result list. And when the offline equipment in the equipment list to be checked is online, the timeliness of the equipment searching result can be ensured through the processing mode of the fifth step.
The invention has the following beneficial effects: the invention provides a method for actively searching equipment in a multi-screen cooperative system, which is based on an equipment recording mechanism and an equipment reverse searching mechanism, can improve the success rate of equipment searching of the multi-screen cooperative system, solves the problems that the equipment is difficult or even unsuccessful to find by the multi-screen cooperative system in a weak network environment, overcomes the performance defects and experience defects of the prior art, and greatly improves the experience effect of equipment discovery of the multi-screen cooperative system.
Drawings
Fig. 1 is a flow chart of device search of a multi-screen collaborative system in an embodiment.
Detailed Description
The invention provides a method for searching equipment in a multi-screen cooperative system, aiming at overcoming the limitations and disadvantages of the prior technical scheme and improving the success rate of equipment searching in a weak network environment by the multi-screen cooperative system, and the method mainly comprises the following steps:
step one, an equipment recording mechanism, wherein an equipment searching initiator records the found multi-screen equipment searched by equipment each time, and key information of the multi-screen equipment is recorded in a recording equipment list;
the equipment searching initiator searches equipment based on a standard multi-screen protocol;
the multi-screen device key information at least comprises but is not limited to: the method comprises the steps that MAC addresses of the multi-screen devices and SSID information of WIFI devices accessed by the multi-screen devices are obtained;
further, acquiring the MAC address of the multi-screen equipment is realized by adopting an ARP protocol;
step two, screening the recording equipment, wherein the equipment searching initiator screens and filters the recording equipment list based on the SSID currently connected with the WIFI, screens out the recording equipment with the SSID of the recording equipment consistent with the SSID of the current WIFI, and generates an equipment list to be searched;
thirdly, an equipment back-checking mechanism is adopted to determine whether the multi-screen equipment to be checked is online currently or not based on the key information of the multi-screen equipment in the equipment list to be checked in the second step, and an equipment online list is generated and recorded according to the inquiry result;
the specific process of the equipment back-check mechanism is as follows: adopting an ARP protocol to perform MAC address resolution on each IP address in the current router network so as to obtain the MAC address and the IP address of equipment connected with the current router, and comparing the MAC address with the MAC address of recording equipment so as to determine whether the recording equipment is online currently;
step four, updating a combined equipment discovery list, reversely checking the discovered recording equipment online list in the step three, combining and adding the obtained recording equipment online list into an equipment search result list in a supplementary mode, and forming a final equipment search result;
step five, a timing polling mechanism is adopted, a timing polling mode is adopted for searching for the devices which are not found in the device list to be searched, and the results are updated into the device searching result list in time;
the time interval of the timed polling can be customized;
and filtering the undiscovered recording equipment by using the SSID accessed to the WIFI equipment in the recording information of the undiscovered recording equipment, namely only searching the recording equipment under the current WIFI router.
The following description will be further described with reference to the accompanying drawings, and since specific embodiments of the present invention cannot be exhaustive, embodiments not illustrated in the present invention should fall within the scope of protection of the present patent without significant innovation for researchers in the technical field.
In this embodiment, a multi-screen cooperative device search between a mobile phone device and a large-screen smart television is taken as an example for explanation, where the mobile phone and other multi-screen devices all access to the same WIFI router, and an SSID of the router is "TEST _ WIFI":
fig. 1 is a flowchart of finding a device in a multi-screen collaborative system according to an embodiment, and with reference to the drawing, specific processing steps of the embodiment are as follows:
step one, a mobile phone terminal device serves as a multi-screen device searching initiator, the mobile phone device initiates multi-screen device searching based on a standard multi-screen cooperation protocol, records the multi-screen device found by each device searching as 5 multi-screen devices such as { "11: 22:33:44:55: 66", "TEST _ WIFI" }, { "11: 22:33:44:55: 65", "TEST _ WIFI 2" }, { "11: 22:33:44:55: 64", "TEST _ WIFI 2" }, { "11: 22:33:44:55: 63", "TEST _ WIFI" }, { "11: 22:33:44:55: 62", "TEST _ WIFI" };
step two, the SSID currently connected with WIFI of the mobile phone device is 'TEST _ WIFI', the recording device list is screened and filtered based on the SSID, and a device list to be checked is generated as { '11: 22:33:44:55: 66', 'TEST _ WIFI' }, { '11: 22:33:44:55: 63', 'TEST _ WIFI' }, { '11: 22:33:44:55: 62', and 'TEST _ WIFI' };
thirdly, based on key information of the multi-screen equipment in the equipment list to be checked in the second step, the mobile phone end adopts an ARP protocol to analyze each IP address in the current router network, obtains the MAC address and the IP address of equipment connected with the current router, compares the MAC address with the MAC address of the recording equipment, confirms that the recording equipment is { "11: 22:33:44:55: 63", "TEST _ WIFI" } online and the IP address is "192.168.1.111", and generates an online list of the recording equipment which is { "11: 22:33: 55: 63", "TEST _ WIFI", "192.168.1.111" };
fourthly, the mobile phone end carries out reverse check on the found online list of the recording equipment in the third step, combines and adds the online list into the equipment search result list, and a final multi-screen equipment search result is formed;
step five, in the process of using the multi-screen cooperative application, the mobile phone terminal polls and searches for the devices which are not found in the device memory list once every 1 minute, and updates the result into the device search result list in time;
and finishing the searching function of the multi-screen cooperative equipment.

Claims (4)

1. A method for searching equipment in a multi-screen cooperative system is characterized by comprising the following steps:
step one, an equipment searching initiator records the multi-screen equipment found by equipment searching each time, and records key information of the multi-screen equipment in a recording equipment list, wherein the key information of the multi-screen equipment at least comprises: the method comprises the steps that MAC addresses of the multi-screen devices and SSID information of WIFI devices accessed by the multi-screen devices are obtained;
step two, the equipment searching initiator performs screening and filtering on the recording equipment list based on the SSID currently connected with the WIFI, screens out the recording equipment with the SSID of the recording equipment consistent with the SSID of the current WIFI, and generates an equipment list to be searched;
thirdly, determining whether the multi-screen equipment to be checked is online or not by adopting an equipment back checking mechanism based on the key information of the multi-screen equipment in the equipment list to be checked in the second step, and generating a recording equipment online list according to a query result;
and step four, reversely checking the found recording equipment online list in the step three, combining and adding the recording equipment online list into an equipment search result list in a supplementing manner, and forming a final equipment search result.
2. The method for device lookup in a multi-screen collaboration system as claimed in claim 1, wherein obtaining the MAC address of the multi-screen device is implemented using an ARP protocol.
3. The method for searching for the device in the multi-screen cooperative system according to claim 2, wherein the specific process of the device reverse-checking mechanism is as follows: and adopting an ARP protocol to analyze the MAC address of each IP address in the current router network so as to obtain the MAC address and the IP address of equipment connected with the current router, and comparing the MAC address with the MAC address of the recording equipment so as to determine whether the recording equipment is online currently.
4. A method for device finding in a multi-screen collaborative system according to any one of claims 1 to 3, further comprising a fifth step of: and searching for the devices which are not found in the device list to be searched by adopting a timing polling mode, and updating the searching result into the device searching result list.
CN202011146962.XA 2020-10-23 2020-10-23 Method for searching equipment in multi-screen cooperative system Pending CN112291776A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011146962.XA CN112291776A (en) 2020-10-23 2020-10-23 Method for searching equipment in multi-screen cooperative system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011146962.XA CN112291776A (en) 2020-10-23 2020-10-23 Method for searching equipment in multi-screen cooperative system

Publications (1)

Publication Number Publication Date
CN112291776A true CN112291776A (en) 2021-01-29

Family

ID=74423714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011146962.XA Pending CN112291776A (en) 2020-10-23 2020-10-23 Method for searching equipment in multi-screen cooperative system

Country Status (1)

Country Link
CN (1) CN112291776A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791338A (en) * 2014-12-22 2016-07-20 Tcl集团股份有限公司 Multi-screen interaction method and system based on WiFi AP
CN110213395A (en) * 2019-05-21 2019-09-06 苏州浪潮智能科技有限公司 The method and system of local area network online equipment is searched under WINDOWS system
CN110602087A (en) * 2019-09-10 2019-12-20 腾讯科技(深圳)有限公司 Intelligent screen projection method and device, intelligent terminal and server
CN111556553A (en) * 2020-05-11 2020-08-18 天翼电信终端有限公司 Wireless screen projection method, terminal, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791338A (en) * 2014-12-22 2016-07-20 Tcl集团股份有限公司 Multi-screen interaction method and system based on WiFi AP
CN110213395A (en) * 2019-05-21 2019-09-06 苏州浪潮智能科技有限公司 The method and system of local area network online equipment is searched under WINDOWS system
CN110602087A (en) * 2019-09-10 2019-12-20 腾讯科技(深圳)有限公司 Intelligent screen projection method and device, intelligent terminal and server
CN111556553A (en) * 2020-05-11 2020-08-18 天翼电信终端有限公司 Wireless screen projection method, terminal, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106685776B (en) Intelligent device discovery method and system in local area network
US20180048540A1 (en) Wireless terminal type identification method and system in router bridge networking mode
US9973399B2 (en) IPV6 address tracing method, apparatus, and system
US20120177052A1 (en) User-oriented communication method, route registration method and device, and communication system
CN103929507A (en) Method and device capable of achieving off-line DNS services
CN108833979B (en) Pre-configuration file importing method of dual-system convergence terminal and dual-system convergence terminal
US11368424B2 (en) Enhanced domain name system (DNS) server
CN101582925A (en) Network address translation method and system
US9166884B2 (en) Network location service
CN108093390B (en) Intelligent device discovery method based on characteristic information
WO2023020187A1 (en) Data obtaining methods and apparatuses, electronic device and storage medium
CN109413716B (en) Method and terminal for identifying device type
CN102685262A (en) Method, device and system for detecting network address translation (NAT) information
CN110149677B (en) Method for selecting VoWiFi network access by terminal and mobile terminal
CN103987098B (en) IPV4 networks and the internetwork switching methods of IPV6 and system
WO2014206152A1 (en) Network safety monitoring method and system
CN102238238A (en) Method and device for accessing local network equipment
CN112291776A (en) Method for searching equipment in multi-screen cooperative system
CN104581977A (en) WLAN user management method, device and system
CN103414836A (en) Processing method and appliance for getting access to teleconference based on IP
CN105429880B (en) The network equipment and its method for carrying out routing forwarding
US8239930B2 (en) Method for controlling access to a network in a communication system
CN111385371B (en) MAC address acquisition method, device and equipment
CN113079512B (en) Method, device and storage medium for supporting terminal roaming
CN112383456B (en) Automatic association method and automatic association server for intelligent equipment

Legal Events

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

Application publication date: 20210129