CN106028303A - Smart device discovering method and device - Google Patents

Smart device discovering method and device Download PDF

Info

Publication number
CN106028303A
CN106028303A CN201610322312.3A CN201610322312A CN106028303A CN 106028303 A CN106028303 A CN 106028303A CN 201610322312 A CN201610322312 A CN 201610322312A CN 106028303 A CN106028303 A CN 106028303A
Authority
CN
China
Prior art keywords
terminal
message
master
master terminal
lan
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.)
Granted
Application number
CN201610322312.3A
Other languages
Chinese (zh)
Other versions
CN106028303B (en
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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201610322312.3A priority Critical patent/CN106028303B/en
Publication of CN106028303A publication Critical patent/CN106028303A/en
Application granted granted Critical
Publication of CN106028303B publication Critical patent/CN106028303B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a smart device discovering method and device. The method and the device are used for solving the problems that the time for a terminal to discover a smart device is relatively long and the user experience is reduced. The method comprises the steps that a first terminal sends a search message when accessing a local area network; the first terminal receives a first feedback message sent by a second terminal; and the first terminal determines the smart device in the local area network according to the first feedback message. The second terminal feeds back the information of the smart device connected with the second terminal to the first terminal, therefore, the first terminal can rapidly discover the smart device in the local area network according to the information of the smart device carried in the first feedback message, the time for the first terminal to discover the smart device is reduced, and the user experience is improved.

Description

A kind of discovery method and device of smart machine
Technical field
The present invention relates to communication technical field, particularly relate to the discovery method and device of a kind of smart machine.
Background technology
Along with the development of Smart Home, having multiple smart machine and multiple terminal in one family, these are many Individual smart machine and the plurality of terminal typically access same router, are connected with smart machine foundation in terminal After, kinsfolk can realize the control to the smart machine being connected with this terminal by terminal.
In prior art, when smart machine is reached the standard grade, smart machine sends broadcast, and terminal receives intelligence After the broadcast that equipment sends, according to the information of the smart machine carried in broadcast, with smart machine Setting up and connect, described information includes: the version number of smart machine, link address, device type etc.;Or, When terminal is reached the standard grade, terminal sends broadcast search smart machine, when smart machine receives what terminal sent After broadcast, send the information of self to terminal, after terminal receives the information of smart machine, find intelligence Equipment, and the information sent according to described smart machine, set up with described smart machine and be connected.In same office Each terminal in the net of territory is required for finding according to the method described above smart machine.
In existing smart machine discovery procedure, owing to smart machine own hardware Performance comparision is low, communicate energy Power is limited, and therefore terminal finds that the time that smart machine spends is longer, reduces Consumer's Experience.
Summary of the invention
It is an object of the invention to provide the discovery method and device of a kind of smart machine, to solve terminal discovery intelligence The time that energy equipment spends is longer, the problem reducing Consumer's Experience.
It is an object of the invention to be achieved through the following technical solutions:
A kind of discovery method of smart machine, including:
Sending search message during first terminal access to LAN, wherein, described search message is used for obtaining described The information of the smart machine being connected with the second terminal in LAN;
Described first terminal receives the first feedback message that described second terminal sends, wherein, described first Feedback message includes the information of the smart machine being connected with described second terminal;
Described first terminal, according to described first feedback message, determines the smart machine in described LAN.
Optionally, described search message is additionally operable to obtain the information of the smart machine in described LAN;Described Method also includes:
Described first terminal receives the second feedback message that at least one smart machine sends, wherein, described Second feedback message includes the information of described smart machine;
Described first terminal, according to described first feedback message, determines the smart machine in described LAN, Also include: described first terminal, according to described second feedback message, determines that the intelligence in described LAN sets Standby.
Optionally, described second terminal includes master terminal;Described first terminal receives described second terminal The first feedback message sent, including:
Described first terminal receives the first feedback message that the master terminal in described second terminal sends.
Optionally, the method also includes:
Described first terminal does not receives described first feedback message, and self is set to office by described first terminal Master terminal in the net of territory, and send the first master terminal appointment message, described first master terminal specifies message to be used for Indicating described first terminal is the master terminal in described LAN.
Optionally, if described first terminal is the master terminal in described LAN, the method also includes:
Described first terminal receives the second master terminal appointment of the master terminal transmission in described second terminal and disappears After breath, cancelling the master terminal identity of self, described second master terminal specifies message to be used for indicating described second master The terminal that terminal specifies message to specify is the master terminal in described LAN.
Optionally, if described first terminal receive that at least two master terminal in described second terminal sends the One feedback information, the method also includes:
Master terminal corresponding for the first feedback information received for the first time is defined as described by described first terminal Master terminal in LAN, and send the 3rd master terminal appointment message, described 3rd master terminal specifies message to use The terminal specifying message to specify in described 3rd master terminal of instruction is the master terminal in described LAN.
A kind of discovery method of smart machine, including:
Second terminal receives the search message that first terminal sends, and wherein, described search message is used for obtaining The information of the smart machine being connected with the second terminal in described LAN;
Described second terminal sends the first feedback message to described first terminal, and wherein, described first feedback disappears Breath includes the information of the smart machine being connected with described second terminal.
Optionally, if described second terminal is the master terminal in described LAN, described second terminal receives After the search message that described first terminal sends, also include:
The information of described first terminal is joined terminal management list by described second terminal;
When described second terminal determine self need to roll off the production line time, send the second master terminal and specify message, described the The terminal that two master terminals specify message to specify message to specify for indicating described second master terminal is described local Master terminal in net.
Optionally, if described second terminal is the master terminal in described LAN, the method also includes:
After described second terminal receives the first master terminal appointment message, determine that described first terminal is described Master terminal in LAN, cancels the master terminal identity of self, and wherein, message specified by described first master terminal For indicating described first terminal to be the master terminal in described LAN;And/or
After described second terminal receives the 3rd master terminal appointment message, determine that described 3rd master terminal is specified The terminal that message is specified is the master terminal in described LAN, cancels the master terminal identity of self, wherein, institute Stating the 3rd master terminal specifies message for indicating described 3rd master terminal to specify the terminal specified of message to be described Master terminal in LAN.
Based on the inventive concept as method, embodiments provide the discovery dress of a kind of smart machine Put, including:
Sending module, is used for sending search message, and wherein, described search message is used for obtaining described LAN The information of the interior smart machine being connected with the second terminal;
Receiver module, for receiving the first feedback message that described second terminal sends, wherein, described the One feedback message includes the information of the smart machine being connected with described second terminal;
Determine module, for according to described first feedback message, determine the smart machine in described LAN.
Optionally, described search message is additionally operable to obtain the information of the smart machine in described LAN;
Described receiver module is additionally operable to: receive the second feedback message that at least one smart machine sends, its In, described second feedback message includes the information of described smart machine;
Described determine that module is additionally operable to: according to described second feedback message, determine the intelligence in described LAN Can equipment.
Optionally, described second terminal includes master terminal;Described receiver module is additionally operable to:
Receive the first feedback message that the master terminal in described second terminal sends.
Optionally, this device also includes:
First designated module, when described receiver module does not receives described first feedback message, for by the One terminal is set to the master terminal in LAN, and sends the first master terminal appointment message, described first main end End specifies message to be the master terminal in described LAN for indicating described first terminal.
Optionally, if described first terminal is the master terminal in described LAN, this device also includes:
Second designated module, master terminal in described receiver module receives described second terminal send the After message specified by two master terminals, for cancelling the master terminal identity of first terminal, described second master terminal is specified The terminal that message specifies message to specify for indicating described second master terminal is the master terminal in described LAN.
Optionally, if described receiver module receive that at least two master terminal in described second terminal sends the One feedback information, this device also includes:
3rd designated module, for being defined as master terminal corresponding for the first feedback information received for the first time Master terminal in described LAN, and send the 3rd master terminal appointment message, described 3rd master terminal is specified and is disappeared The terminal that breath specifies message to specify for indicating described 3rd master terminal is the master terminal in described LAN.
A kind of discovery device of smart machine, this device includes:
First processing module, for receiving the search message that first terminal sends, wherein, described search disappears The information of the smart machine that breath is connected with the second terminal in obtaining described LAN;
Second processing module, for transmission the first feedback message to described first terminal, wherein, described first Feedback message includes the information of the smart machine being connected with described second terminal.
Optionally, if described second terminal is the master terminal in described LAN, described first processing module connects After receiving the search message that described first terminal sends, it is additionally operable to:
The information of described first terminal is joined terminal management list;
When described second terminal determine self need to roll off the production line time, described second processing module is additionally operable to: send the Two master terminals specify message, described second master terminal to specify message to be used for indicating described second master terminal appointment to disappear The terminal that breath is specified is the master terminal in described LAN.
Optionally, if described second terminal is the master terminal in described LAN, this device also includes:
3rd processing module, described first processing module receives the first master terminal and specifies message, determines institute Stating first terminal is the master terminal in described LAN, cancels the master terminal identity of self, wherein, described One master terminal specifies message to be the master terminal in described LAN for indicating described first terminal;And/or
After described first processing module receives the 3rd master terminal appointment message, determine described 3rd master terminal Specifying the terminal specified of message is the master terminal in described LAN, cancels the master terminal identity of self, wherein, The terminal that described 3rd master terminal specifies message to specify message to specify for indicating described 3rd master terminal is institute State the master terminal in LAN.
The discovery method and device of a kind of smart machine that the embodiment of the present invention provides, first terminal accesses local Sending search message during net, wherein, described search message connects with the second terminal in being used for obtaining described LAN The information of the smart machine connect and obtain the information of smart machine in described LAN;Described first eventually Termination receives the first feedback message that described second terminal sends, and wherein, described first feedback message includes Information with the smart machine that described second terminal is connected;Described first terminal disappears according to described first feedback Breath, determines the smart machine in described LAN.Due to the second connected smart machine of terminal feedback Information to first terminal so that first terminal is according to the smart machine carried in described first feedback message Information can quickly find the smart machine in LAN, shorten first terminal find smart machine time Between, improve Consumer's Experience.
Accompanying drawing explanation
The discovery method flow diagram of a kind of smart machine that Fig. 1 provides for the embodiment of the present invention;
The discovery method flow diagram of another smart machine that Fig. 2 provides for the embodiment of the present invention;
The discovery method flow diagram of the another kind of smart machine that Fig. 3 provides for the embodiment of the present invention;
The discovery device schematic diagram of a kind of smart machine that Fig. 4 provides for the embodiment of the present invention;
The discovery device schematic diagram of another smart machine that Fig. 5 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, the technical scheme providing the embodiment of the present invention is described in detail.
Embodiments provide a kind of discovery method of smart machine, as it is shown in figure 1, include grasping as follows Make:
Sending search message when step 100, first terminal access to LAN, wherein, described search message is used The information of the smart machine being connected with the second terminal in obtaining described LAN.
Illustrate, the search message that described first terminal sends can comprise indicating bit CtrlFlag, use Whether the second terminal receiving search message in instruction LAN feeds back the intelligence being connected with this second terminal The information of energy equipment, when CtrlFlag is ture, represents that first terminal receives search in needing LAN The information of the smart machine that the second terminal feedback of message is connected with this second terminal;When CtrlFlag is false Time, represent that first terminal receives the second terminal feedback and this second end of search message in need not LAN The information of the smart machine that end connects.The present invention implements form to search message and is not defined.
Step 110, described first terminal receive described second terminal send the first feedback message, wherein, Described first feedback message includes the information of the smart machine being connected with described second terminal.
Step 120, described first terminal are according to described first feedback message, in determining described LAN Smart machine.
The discovery method of a kind of smart machine that the embodiment of the present invention provides, sends out during first terminal access to LAN Send search message, wherein, the intelligence that described search message is connected with the second terminal in obtaining described LAN Can the information of equipment and obtain the information of smart machine in described LAN;Described first terminal receives The first feedback message sent to described second terminal;Described first terminal according to described first feedback message, Determine the smart machine in described LAN.Letter due to the second connected smart machine of terminal feedback Breath is to first terminal so that first terminal is according to the information of the smart machine carried in described first feedback message Can quickly find the smart machine in LAN, shorten first terminal and find the time of smart machine, carry High Consumer's Experience.
In the embodiment of the present invention, described search message is additionally operable to obtain the letter of the smart machine in described LAN Breath;Described method also includes:
Described first terminal receives the second feedback message that at least one smart machine sends, wherein, described Second feedback message includes the information of described smart machine;
Described first terminal, according to described first feedback message, determines the smart machine in described LAN, Also include: described first terminal, according to described second feedback message, determines that the intelligence in described LAN sets Standby.
In the embodiment of the present invention, described second terminal includes master terminal;Described first terminal receives described The first feedback message that second terminal sends, including:
Described first terminal receives the first feedback message that the master terminal in described second terminal sends.
Concrete, in described second terminal master terminal receive search message after, to described first terminal Feeding back the first feedback message, described second terminal other-end in addition to master terminal receives search message After, ignore this search message, be left intact.
Further, the method also includes:
Described first terminal does not receives described first feedback message, and self is set to office by described first terminal Master terminal in the net of territory, and send the first master terminal appointment message, described first master terminal specifies message to be used for Indicating described first terminal is the master terminal in described LAN.
Optionally, described first master terminal specifies message to include the identification information of specified master terminal, institute State identification information and include but not limited to following information: the mark of specified master terminal, specified master terminal IP address, the MAC Address etc. of specified master terminal.It is, of course, also possible to identify otherwise Specified master terminal, is not construed as limiting in the embodiment of the present invention.
Optionally, described first master terminal specifies message to send by the way of broadcast.Certainly, described First master terminal specifies message to send otherwise, and the embodiment of the present invention is not construed as limiting.
In a kind of optional implementation, first terminal arranges a flag bit MainFlag, when described first Terminal does not receives described first feedback message, the main end that self is set in LAN by described first terminal During end, MainFlag is set to ture.
In the embodiment of the present invention, if described first terminal is the master terminal in described LAN, the method is also wrapped Include:
Described first terminal receives the second master terminal appointment of the master terminal transmission in described second terminal and disappears After breath, cancelling the master terminal identity of self, described second master terminal specifies message to be used for indicating described second master The terminal that terminal specifies message to specify is the master terminal in described LAN;
Wherein, when described first terminal cancels the master terminal identity of self, MainFlag is set to false.
Optionally, described second master terminal specifies message to include the identification information of specified master terminal, institute State identification information and include but not limited to following information: the mark of specified master terminal, specified master terminal IP address, the MAC Address etc. of specified master terminal.It is, of course, also possible to identify otherwise Specified master terminal, is not construed as limiting in the embodiment of the present invention.
Optionally, described second master terminal specifies message to send by the way of broadcast.Certainly, described Second master terminal specifies message to send otherwise, and the embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, if described first terminal receives at least two master terminal in described second terminal The first feedback information sent, the method also includes:
Master terminal corresponding for the first feedback information received for the first time is defined as described by described first terminal Master terminal in LAN, and send the 3rd master terminal appointment message, described 3rd master terminal specifies message to use The terminal specifying message to specify in described 3rd master terminal of instruction is the master terminal in described LAN.
Optionally, described 3rd master terminal specifies message to include the identification information of specified master terminal, institute State identification information and include but not limited to following information: the mark of specified master terminal, specified master terminal IP address, the MAC Address etc. of specified master terminal.It is, of course, also possible to identify otherwise Specified master terminal, is not construed as limiting in the embodiment of the present invention.
Optionally, described 3rd master terminal specifies message to send by the way of broadcast.Certainly, described 3rd master terminal specifies message to send otherwise, and the embodiment of the present invention is not construed as limiting.
Illustrate: assume that in the second terminal of access to LAN, master terminal is terminal A and terminal B, just The first terminal of access to LAN is terminal C.After terminal C access to LAN, send search message, it is assumed that Terminal C first receives the first feedback message that terminal A sends, the most just receive that terminal B sends the One feedback message, then the master terminal that terminal A is defined as in LAN by terminal C, and sent for the 3rd main end End specifies message, with the master terminal in indicating terminal A as LAN.
Accordingly, terminal A receives the master terminal identity confirming self after message specified by the 3rd master terminal; Terminal B cancels the master terminal identity of self after receiving the 3rd master terminal and specifying message, and confirms terminal A is the master terminal in described LAN.
The embodiment of the present invention additionally provides a kind of discovery method of smart machine, as in figure 2 it is shown, include as follows Operation:
Step 200, the second terminal receive the search message that first terminal sends, and wherein, described search disappears Breath is for obtaining the information of the interior smart machine being connected with the second terminal of described LAN and obtaining described office The information of the smart machine in the net of territory.
Step 210, described second terminal send the first feedback message to described first terminal, wherein, described First feedback message includes the information of the smart machine being connected with described second terminal.
In the embodiment of the present invention, if described second terminal is the master terminal in described LAN, described second eventually After termination receives the search message that described first terminal sends, also include:
The information of described first terminal is joined terminal management list by described second terminal;
When described second terminal determine self need to roll off the production line time, send the second master terminal and specify message, described the The terminal that two master terminals specify message to specify message to specify for indicating described second master terminal is described local Master terminal in net;
Wherein, terminal management list is by the erasing of information of the second terminal, the intelligence that described second terminal will be preserved The information of energy equipment is all removed;When described second terminal access to LAN again, reacquire LAN The information of middle smart machine.
Illustrate: the second terminal assuming access to LAN is terminal A and terminal B, has just accessed local The first terminal of net is terminal C, and the master terminal in described LAN is described terminal A.Described terminal C connects After entering LAN, send search message, after described terminal A receives the search message that terminal C sends, The information of described terminal C is joined terminal management list by described terminal A;When described terminal A determines certainly When body needs to roll off the production line, determine the main end that terminal B in the terminal management list self preserved is described LAN End, sends the second master terminal and specifies message, be the master terminal in described LAN with designated terminal B.
Accordingly, terminal B receives the master terminal identity confirming self after message specified by the second master terminal; The information of the smart machine preserved all is removed by described terminal A;Terminal C receives the second master terminal Confirm that terminal B is the master terminal in described LAN after specifying message.
In the embodiment of the present invention, if described second terminal is the master terminal in described LAN, the method is also wrapped Include:
After described second terminal receives the first master terminal appointment message, determine that described first terminal is described Master terminal in LAN, cancels the master terminal identity of self, and wherein, message specified by described first master terminal For indicating described first terminal to be the master terminal in described LAN;And/or
After described second terminal receives the 3rd master terminal appointment message, determine that described 3rd master terminal is specified The terminal that message is specified is the master terminal in described LAN, cancels the master terminal identity of self, wherein, institute Stating the 3rd master terminal specifies message for indicating described 3rd master terminal to specify the terminal specified of message to be described Master terminal in LAN.
Illustrate: the second terminal assuming access to LAN is terminal A and terminal B, has just accessed local The first terminal of net is terminal C, and the master terminal in described LAN is described terminal A.Described terminal A connects After receiving the first master terminal appointment message that terminal C sends, determine that described terminal C is in described LAN Master terminal, and cancel the master terminal identity of self;Described terminal B receives what described terminal C sent Message specified by first master terminal, confirms the master terminal that described terminal C is described LAN.
Assume that in the second terminal of access to LAN, master terminal is terminal A and terminal B, firm access to LAN First terminal be terminal C.Assume that terminal C first receives the first feedback message that terminal A sends, then eventually End C determines that described terminal A is master terminal in this LAN, and sends the 3rd master terminal appointment message.Phase Answer, after described terminal B receives the 3rd master terminal appointment message, determine that terminal A is described local Master terminal in net, and cancel the master terminal identity of self;Terminal A receives the 3rd master terminal and specifies message Confirm the master terminal identity of self afterwards.
Discovery side below by a kind of smart machine that the embodiment of the present invention is provided by a specific embodiment Method is described in detail.
In the present embodiment, it is assumed that same LAN has three smart machines, respectively smart machine 1, intelligence Energy equipment 2 and smart machine 3, have two the second terminals, respectively terminal A and terminal B in this LAN, Wherein, terminal A is master terminal, and terminal A is connected with smart machine 1, smart machine 2 and smart machine 3, Terminal B is connected with smart machine 1 and smart machine 2, and terminal C is the terminal of this LAN to be accessed, Wherein, the master terminal A of access to LAN includes the equipment letter of all smart machines in this LAN Breath, as it is shown on figure 3, include:
Step 300, terminal C access to LAN;
Step 301, terminal C send search message, wherein, comprise instruction CtrlFlag in search message, And CtrlFlag is ture, represent that terminal C needs the master terminal in described LAN to respond.
If step 302 terminal A receives described search message, then send the first feedback message to described end End C, and the information of terminal C is joined terminal management list, described first feedback message includes intelligence Equipment 1, smart machine 2 and the information of smart machine 3.
After step 303, terminal C receive the first feedback message that terminal A sends, by the MainFlag of self It is set to false, and according to the information carried in the first feedback message, determines the intelligence in described LAN Equipment 1, smart machine 2 and smart machine 3.
Step 304, terminal A determine when self needing to roll off the production line, the end that will add the earliest in terminal management list End is appointed as master terminal, assumes that the terminal added the earliest is terminal B, and sent for the second main end in the present embodiment End specify message to all terminals of described LAN, with the master terminal in indicating terminal B as LAN.
After step 305, terminal B receive the second master terminal appointment message, the MainFlag of self is arranged For ture, determine from as the master terminal in LAN.
Based on the inventive concept as method, the embodiment of the present invention additionally provides the discovery of a kind of smart machine Device, as shown in Figure 4, including:
Sending module 401, is used for sending search message, and wherein, described search message is used for obtaining described office The information of the smart machine being connected with the second terminal in the net of territory;
Receiver module 402, for receiving the first feedback message that described second terminal sends, wherein, institute State the first feedback message and include the information of the smart machine being connected with described second terminal;
Determine module 403, for according to described first feedback message, determine the intelligence in described LAN Equipment.
The discovery device of a kind of smart machine that the embodiment of the present invention provides, sends out during first terminal access to LAN Send search message, wherein, the intelligence that described search message is connected with the second terminal in obtaining described LAN Can the information of equipment and obtain the information of smart machine in described LAN;Described first terminal receives The first feedback message sent to described second terminal, wherein, described first feedback message includes with described The information of the smart machine that the second terminal connects;Described first terminal, according to described first feedback message, determines Go out the smart machine in described LAN.Owing to the information of the second connected smart machine of terminal feedback is given First terminal so that first terminal can according to the information of the smart machine carried in described first feedback message Quickly find the smart machine in LAN, shorten first terminal and find the time of smart machine, improve Consumer's Experience.
Optionally, described search message is additionally operable to obtain the information of the smart machine in described LAN;
Described receiver module is additionally operable to: receive the second feedback message that at least one smart machine sends, its In, described second feedback message includes the information of described smart machine;
Described determine that module is additionally operable to: according to described second feedback message, determine the intelligence in described LAN Can equipment.
Optionally, described second terminal includes master terminal;Described receiver module is additionally operable to:
Receive the first feedback message that the master terminal in described second terminal sends.
Optionally, this device also includes:
First designated module, when described receiver module does not receives described first feedback message, for by the One terminal is set to the master terminal in LAN, and sends the first master terminal appointment message, described first main end End specifies message to be the master terminal in described LAN for indicating described first terminal.
Optionally, if described first terminal is the master terminal in described LAN, this device also includes:
Second designated module, master terminal in described receiver module receives described second terminal send the After message specified by two master terminals, for cancelling the master terminal identity of first terminal, described second master terminal is specified The terminal that message specifies message to specify for indicating described second master terminal is the master terminal in described LAN.
Optionally, if described receiver module receive that at least two master terminal in described second terminal sends the One feedback information, this device also includes:
3rd designated module, for being defined as master terminal corresponding for the first feedback information received for the first time Master terminal in described LAN, and send the 3rd master terminal appointment message, described 3rd master terminal is specified and is disappeared The terminal that breath specifies message to specify for indicating described 3rd master terminal is the master terminal in described LAN.
The embodiment of the present invention additionally provides the discovery device of another kind of smart machine, as it is shown in figure 5, include:
First processing module 501, for receive first terminal send search message, wherein, described in search The information of the smart machine that rope message is connected with the second terminal in obtaining described LAN;
Second processing module 502, for transmission the first feedback message to described first terminal, wherein, described First feedback message includes the information of the smart machine being connected with described second terminal.
Optionally, if described second terminal is the master terminal in described LAN, described first processing module connects After receiving the search message that described first terminal sends, it is additionally operable to:
The information of described first terminal is joined terminal management list;
When described second terminal determine self need to roll off the production line time, described second processing module is additionally operable to: send the Two master terminals specify message, described second master terminal to specify message to be used for indicating described second master terminal appointment to disappear The terminal that breath is specified is the master terminal in described LAN.
Optionally, if described second terminal is the master terminal in described LAN, this device also includes:
3rd processing module, described first processing module receives the first master terminal and specifies message, determines institute Stating first terminal is the master terminal in described LAN, cancels the master terminal identity of self, wherein, described One master terminal specifies message to be the master terminal in described LAN for indicating described first terminal;And/or
After described first processing module receives the 3rd master terminal appointment message, determine described 3rd master terminal Specifying the terminal specified of message is the master terminal in described LAN, cancels the master terminal identity of self, wherein, The terminal that described 3rd master terminal specifies message to specify message to specify for indicating described 3rd master terminal is institute State the master terminal in LAN.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can use complete hardware embodiment, complete software implementation or knot The form of the embodiment in terms of conjunction software and hardware.And, the present invention can use and wherein wrap one or more Computer-usable storage medium containing computer usable program code (include but not limited to disk memory, CD-ROM, optical memory etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and / or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know base This creativeness concept, then can make other change and amendment to these embodiments.So, appended right is wanted Ask and be intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention Bright spirit and scope.So, if the present invention these amendment and modification belong to the claims in the present invention and Within the scope of its equivalent technologies, then the present invention is also intended to comprise these change and modification.

Claims (15)

1. the discovery method of a smart machine, it is characterised in that the method includes:
Sending search message during first terminal access to LAN, wherein, described search message is used for obtaining described The information of the smart machine being connected with the second terminal in LAN;
Described first terminal receives the first feedback message that described second terminal sends, wherein, described first Feedback message includes the information of the smart machine being connected with described second terminal;
Described first terminal, according to described first feedback message, determines the smart machine in described LAN.
Method the most according to claim 1, it is characterised in that described search message is additionally operable to obtain The information of the smart machine in described LAN;Described method also includes:
Described first terminal receives the second feedback message that at least one smart machine sends, wherein, described Second feedback message includes the information of described smart machine;
Described first terminal, according to described first feedback message, determines the smart machine in described LAN, Also include: described first terminal, according to described second feedback message, determines that the intelligence in described LAN sets Standby.
Method the most according to claim 1, it is characterised in that the method also includes:
Described first terminal does not receives described first feedback message, and self is set to office by described first terminal Master terminal in the net of territory, and send the first master terminal appointment message, described first master terminal specifies message to be used for Indicating described first terminal is the master terminal in described LAN.
Method the most according to claim 3, it is characterised in that if described first terminal is described office Master terminal in the net of territory, the method also includes:
Described first terminal receives the second master terminal appointment of the master terminal transmission in described second terminal and disappears After breath, cancelling the master terminal identity of self, described second master terminal specifies message to be used for indicating described second master The terminal that terminal specifies message to specify is the master terminal in described LAN.
Method the most according to claim 1, it is characterised in that if described first terminal receives institute Stating the first feedback information that in the second terminal, at least two master terminal sends, the method also includes:
Master terminal corresponding for the first feedback information received for the first time is defined as described by described first terminal Master terminal in LAN, and send the 3rd master terminal appointment message, described 3rd master terminal specifies message to use The terminal specifying message to specify in described 3rd master terminal of instruction is the master terminal in described LAN.
6. the discovery method of a smart machine, it is characterised in that the method includes:
Second terminal receives the search message that first terminal sends, and wherein, described search message is used for obtaining The information of the smart machine being connected with the second terminal in described LAN and obtain the intelligence in described LAN The information of energy equipment;
Described second terminal sends the first feedback message to described first terminal, and wherein, described first feedback disappears Breath includes the information of the smart machine being connected with described second terminal.
Method the most according to claim 6, it is characterised in that if described second terminal is described office Master terminal in the net of territory, after described second terminal receives the search message that described first terminal sends, also Including:
The information of described first terminal is joined terminal management list by described second terminal;
When described second terminal determine self need to roll off the production line time, send the second master terminal and specify message, described the The terminal that two master terminals specify message to specify message to specify for indicating described second master terminal is described local Master terminal in net.
Method the most according to claim 6, it is characterised in that if described second terminal is described office Master terminal in the net of territory, the method also includes:
After described second terminal receives the first master terminal appointment message, determine that described first terminal is described Master terminal in LAN, cancels the master terminal identity of self, and wherein, message specified by described first master terminal For indicating described first terminal to be the master terminal in described LAN;And/or
After described second terminal receives the 3rd master terminal appointment message, determine that described 3rd master terminal is specified The terminal that message is specified is the master terminal in described LAN, cancels the master terminal identity of self, wherein, institute Stating the 3rd master terminal specifies message for indicating described 3rd master terminal to specify the terminal specified of message to be described Master terminal in LAN.
9. the discovery device of a smart machine, it is characterised in that this device includes:
Sending module, is used for sending search message, and wherein, described search message is used for obtaining described LAN The information of the interior smart machine being connected with the second terminal;
Receiver module, for receiving the first feedback message that described second terminal sends, wherein, described the One feedback message includes the information of the smart machine being connected with described second terminal;
Determine module, for according to described first feedback message, determine the smart machine in described LAN.
Device the most according to claim 9, it is characterised in that this device also includes:
First designated module, when described receiver module does not receives described first feedback message, for by the One terminal is set to the master terminal in LAN, and sends the first master terminal appointment message, described first main end End specifies message to be the master terminal in described LAN for indicating described first terminal.
11. devices according to claim 10, it is characterised in that if described first terminal is described Master terminal in LAN, this device also includes:
Second designated module, master terminal in described receiver module receives described second terminal send the After message specified by two master terminals, for cancelling the master terminal identity of first terminal, described second master terminal is specified The terminal that message specifies message to specify for indicating described second master terminal is the master terminal in described LAN.
12. devices according to claim 9, it is characterised in that if described receiver module receives institute Stating the first feedback information that in the second terminal, at least two master terminal sends, this device also includes:
3rd designated module, for being defined as master terminal corresponding for the first feedback information received for the first time Master terminal in described LAN, and send the 3rd master terminal appointment message, described 3rd master terminal is specified and is disappeared The terminal that breath specifies message to specify for indicating described 3rd master terminal is the master terminal in described LAN.
The discovery device of 13. 1 kinds of smart machines, it is characterised in that this device includes:
First processing module, for receiving the search message that first terminal sends, wherein, described search disappears Breath is for obtaining the information of the interior smart machine being connected with the second terminal of described LAN and obtaining described office The information of the smart machine in the net of territory;
Second processing module, for transmission the first feedback message to described first terminal, wherein, described first Feedback message includes the information of the smart machine being connected with described second terminal.
14. devices according to claim 13, it is characterised in that if described second terminal is described Master terminal in LAN, described first processing module receive described first terminal send search message it After, it is additionally operable to:
The information of described first terminal is joined terminal management list;
When described second terminal determine self need to roll off the production line time, described second processing module is additionally operable to: send the Two master terminals specify message, described second master terminal to specify message to be used for indicating described second master terminal appointment to disappear The terminal that breath is specified is the master terminal in described LAN.
15. devices according to claim 13, it is characterised in that if described second terminal is described Master terminal in LAN, this device also includes:
3rd processing module, described first processing module receives the first master terminal and specifies message, determines institute Stating first terminal is the master terminal in described LAN, cancels the master terminal identity of self, wherein, described One master terminal specifies message to be the master terminal in described LAN for indicating described first terminal;And/or
After described first processing module receives the 3rd master terminal appointment message, determine described 3rd master terminal Specifying the terminal specified of message is the master terminal in described LAN, cancels the master terminal identity of self, wherein, The terminal that described 3rd master terminal specifies message to specify message to specify for indicating described 3rd master terminal is institute State the master terminal in LAN.
CN201610322312.3A 2016-05-16 2016-05-16 Intelligent device discovery method and device Active CN106028303B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610322312.3A CN106028303B (en) 2016-05-16 2016-05-16 Intelligent device discovery method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610322312.3A CN106028303B (en) 2016-05-16 2016-05-16 Intelligent device discovery method and device

Publications (2)

Publication Number Publication Date
CN106028303A true CN106028303A (en) 2016-10-12
CN106028303B CN106028303B (en) 2020-05-22

Family

ID=57096962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610322312.3A Active CN106028303B (en) 2016-05-16 2016-05-16 Intelligent device discovery method and device

Country Status (1)

Country Link
CN (1) CN106028303B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106685776A (en) * 2017-02-14 2017-05-17 上海斐讯数据通信技术有限公司 Method and system of intelligent device discovery in local area network
CN108490896A (en) * 2018-03-08 2018-09-04 广东美的制冷设备有限公司 Appliances equipment control method, household appliance and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1481113A (en) * 2002-09-06 2004-03-10 () Method for automatic searching between devices on network
CN101834768A (en) * 2010-04-16 2010-09-15 中山大学 Digital home network inter-equipment mutual discovery method
CN104615005A (en) * 2015-01-04 2015-05-13 苏州触达信息技术有限公司 Internal management control method of interactive multimedia equipment group
CN104811375A (en) * 2015-05-08 2015-07-29 三星电子(中国)研发中心 Smart home gateway and networking method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1481113A (en) * 2002-09-06 2004-03-10 () Method for automatic searching between devices on network
CN101834768A (en) * 2010-04-16 2010-09-15 中山大学 Digital home network inter-equipment mutual discovery method
CN104615005A (en) * 2015-01-04 2015-05-13 苏州触达信息技术有限公司 Internal management control method of interactive multimedia equipment group
CN104811375A (en) * 2015-05-08 2015-07-29 三星电子(中国)研发中心 Smart home gateway and networking method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106685776A (en) * 2017-02-14 2017-05-17 上海斐讯数据通信技术有限公司 Method and system of intelligent device discovery in local area network
CN106685776B (en) * 2017-02-14 2020-01-07 上海斐讯数据通信技术有限公司 Intelligent device discovery method and system in local area network
CN108490896A (en) * 2018-03-08 2018-09-04 广东美的制冷设备有限公司 Appliances equipment control method, household appliance and storage medium

Also Published As

Publication number Publication date
CN106028303B (en) 2020-05-22

Similar Documents

Publication Publication Date Title
CN105637498A (en) Euicc management method, euicc, sm platform and system
CN105451300B (en) A kind of method for connecting network and mobile device
CN107347205A (en) A kind of network section system of selection, apparatus and system
US11398981B2 (en) Path creation method and device for network on chip and electronic apparatus
CN105185085A (en) Data communication system, method and device
CN104918302B (en) A kind of method and wireless sound box for building wireless mesh network
CN109168171A (en) configuration information obtaining method, device, equipment and system
CN109547186A (en) A kind of method of Network with Random Multiple Access System, terminal and base station
CN108259523A (en) A kind of data transmission method and Internet of things system, Network Access Method
CN107968848B (en) A kind of method, terminal device and storage medium obtaining IP address
CN106100986A (en) Line control of communication method and device
CN108156597A (en) A kind of bluetooth equipment and its test method
JP2020503772A (en) Data transmission method, transmitting device and receiving device
CN106028303A (en) Smart device discovering method and device
CN103441931B (en) A kind of file transmitting method and device
CN106302861A (en) A kind of address distribution method and device
CN107800777A (en) Remote monitoring method, device, storage medium and equipment
CN103634877B (en) Without the management method of access point in the network of access controller and access point apparatus
CN106254935A (en) A kind of method of resource-sharing and terminal
CN111740963B (en) Data communication method and device
CN104053159B (en) The frequency collocation method and device of a kind of Multi-Carrier basestation
CN104253702B (en) A kind of terminal management method and system
CN110061898B (en) Message forwarding method and device
CN105246125B (en) A kind of access control method and terminal
CN105392083B (en) A kind of MPP speakers switching method and access controller

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.