CN104113458B - The method and device that a kind of mobile terminal is interconnected with intelligent appliance equipment - Google Patents

The method and device that a kind of mobile terminal is interconnected with intelligent appliance equipment Download PDF

Info

Publication number
CN104113458B
CN104113458B CN201410352602.3A CN201410352602A CN104113458B CN 104113458 B CN104113458 B CN 104113458B CN 201410352602 A CN201410352602 A CN 201410352602A CN 104113458 B CN104113458 B CN 104113458B
Authority
CN
China
Prior art keywords
equipment
mobile terminal
intelligent appliance
request message
port
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
CN201410352602.3A
Other languages
Chinese (zh)
Other versions
CN104113458A (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 Group Co Ltd
Original Assignee
Hisense Group 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 Group Co Ltd filed Critical Hisense Group Co Ltd
Priority to CN201410352602.3A priority Critical patent/CN104113458B/en
Publication of CN104113458A publication Critical patent/CN104113458A/en
Application granted granted Critical
Publication of CN104113458B publication Critical patent/CN104113458B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses the method and device that a kind of mobile terminal and intelligent appliance equipment are interconnected, intelligent appliance equipment described in the embodiment of the present invention is configured as server-side devices, and the mobile terminal is configured as the client device of the intelligent appliance equipment;The mobile terminal sends equipment using broadcast mode and finds request message, after the response message that the intelligent appliance equipment is returned is received, connection request message is sent to the intelligent appliance equipment, and be connected with intelligent appliance equipment foundation, and then by detecting that the state of the connection determines the presence of the intelligent appliance equipment.The embodiment of the present invention improves the speed that online equipment and the offline notice of equipment are found in LAN, and simplifies the communication process between equipment, and a set of quick perfect method is provided for the interconnection of equipment in LAN.

Description

The method and device that a kind of mobile terminal is interconnected with intelligent appliance equipment
Technical field
The present invention relates to communication technical field, more particularly to a kind of method that is interconnected with intelligent appliance equipment of mobile terminal and Device.
Background technology
The control of interconnecting of many equipment of current smart home is more using IGRS (Intelligent Grouping And Resource Sharing) basic agreement.For example, multi-screen interactive is to be based on IGRS basic agreements, by wireless network, The transmission, displaying and control of content of multimedia are realized on different media terminations, so as to share money on different platform devices Source simultaneously shows shared content.
In IGRS basic agreements, communicated between distinct device by sending multicast message mutually, it specifically should It is with process:Device A 1 is reached the standard grade after addition LAN, reach the standard grade declaration and online Object Query will be sent to specified multicast address Signaling;Every other equipment must monitor above-mentioned multicast address in LAN, so that the online situation of device A 1 is obtained, and will The online information of itself replies to device A 1, while being also required to by sending multicast message mutually know pair between other equipment The online situation of side.Device A 1 because Network Abnormal it is offline after, in LAN device A 2, device A 3 respectively to device A 1 send group Broadcast the response that message does not obtain device A 1, then device A 2, device A 3 determine device A 1 it is offline, while device A 2, device A 3 it Between can also send multicast message mutually.In the case that equipment is more in LAN, this mode can cause processing procedure to compare Complexity, and respond slower.For example, mobile phone end equipment finds that the TV in LAN needs the time of several seconds, work as LAN When interior television equipment leaves LAN or shutdown, whether also mobile phone terminal can not know the equipment currently connected in time In LAN, cause mobile phone terminal display device but to control the situation of TV online, cause very poor Consumer's Experience.
To sum up, the IGRS agreement process for interconnecting used in the prior art between lan device is more multiple It is miscellaneous, thus response is slower, discovering device delay is obvious, causes Consumer's Experience poor.
The content of the invention
The present invention provides a kind of method interconnected according to mobile terminal and intelligent appliance equipment, for solving in the prior art The IGRS agreement process for interconnecting used between lan device is more complicated, and response is slower, causes to use The problem of family experience is poor.
The method that a kind of mobile terminal that the present invention is provided is interconnected with intelligent appliance equipment, the intelligent appliance equipment by with Server-side devices are set to, the mobile terminal is configured as the client device of the intelligent appliance equipment, methods described bag Include:
The mobile terminal sends equipment using broadcast mode and finds request message;
The mobile terminal receives the intelligent appliance equipment and finds the response that request message is returned according to the equipment After message, built by sending connection request message to the intelligent appliance equipment come the connection triggered with the intelligent appliance equipment Vertical process;
The mobile terminal is after the connection is successfully established, by detecting that the state of the connection determines the intelligent family The presence of electric equipment.
It is preferred that the mobile terminal, which is configured to first port, sends equipment discovery request message, the movement is used as The intelligent appliance equipment of the server-side devices of terminal is configured to the port numbers identical port snoop with the first port Equipment finds request message.
It is preferred that at least configuring the client-side program of the first application and the client journey of the second application on the mobile terminal Sequence, and be configured to first port and send the equipment of first application to find request message, send described the with second port The equipment of two applications finds request message;The server end of first application is configured with the intelligent appliance equipment of the first kind Program, and be configured to monitor second application is configured with the first port, the intelligent appliance equipment of Second Type Server, and be configured to monitor the second port;
The mobile terminal sends equipment using broadcast mode and finds request message, including:
After the client-side program of first application is opened, the mobile terminal passes through the first end using broadcast mode The equipment that mouth sends first application finds request message;
After the client-side program of second application is opened, the mobile terminal passes through second end using broadcast mode The equipment that mouth sends second application finds request message.
The embodiment of the present invention has been pre-configured between the different application on mobile terminal and different type intelligent appliance equipment Corresponding relation, open mobile terminal on a certain application when, only need to handle the certain types of intelligent appliance corresponding to it The response message of equipment, so as to effectively improve the speed of equipment discovery.
It is preferred that the state by detecting the connection determines the presence of the intelligent appliance equipment, including:
The mobile terminal by the linkup transmit heartbeat message, and receive the intelligent appliance end equipment pass through it is described The heartbeat message of linkup transmit;
If the mobile terminal does not receive the heartbeat that the intelligent appliance end equipment is sent within the time set in advance Message, it is determined that the disconnecting, and determine the intelligent appliance equipment off-line.
The embodiment of the present invention determines opposite end by detecting the connection status between mobile terminal and intelligent appliance equipment Presence, so as to find the off-line state of opposite end in time.Relative to do not differentiate between in the prior art client device with clothes For the presence for obtaining other equipment between business device end equipment, each equipment by sending multicast message mutually, this hair Bright embodiment effectively increases the speed for obtaining equipment on-line state.
The method that a kind of mobile terminal that the present invention is provided is interconnected with intelligent appliance equipment, the intelligent appliance equipment by with Server-side devices are set to, the mobile terminal is configured as the client device of the intelligent appliance equipment, methods described bag Include:
The intelligent appliance equipment receives the equipment discovery request message that the mobile terminal is sent using broadcast mode, and Find that request message returns to response message to the mobile terminal according to the equipment;
The intelligent appliance equipment receives the connection request message that the mobile terminal is sent, and according to the connection request Message is set up with the mobile terminal and is connected;
The intelligent appliance equipment is after the connection is successfully established, by detecting that the state of the connection determines the shifting The presence of dynamic terminal.
It is preferred that the mobile terminal, which is configured to first port, sends equipment discovery request message, the movement is used as The intelligent appliance equipment of the server-side devices of terminal is configured to the port numbers identical port snoop with the first port Equipment finds request message.
It is preferred that the state by detecting the connection determines the presence of the mobile terminal, including:
The intelligent appliance equipment receives the mobile terminal and passes through the company by the linkup transmit heartbeat message The heartbeat message received and sent;
If the intelligent appliance equipment does not receive the heartbeat report that the mobile terminal is sent within the time set in advance Text, it is determined that the disconnecting, and determine that the mobile terminal is offline.
The present invention provide it is a kind of be used for intelligent appliance equipment interconnect mobile terminal, the intelligent appliance equipment by with Server-side devices are set to, the mobile terminal is configured as the client device of the intelligent appliance equipment, described mobile whole End includes:
Equipment discovery module, request message is found for sending equipment using broadcast mode;
Connection establishment module, is returned for receiving the intelligent appliance equipment according to equipment discovery request message After response message, the company with the intelligent appliance equipment is triggered by sending connection request message to the intelligent appliance equipment Connect the process of foundation;
State detection module, for after the connection is successfully established, by detecting that it is described that the state of the connection is determined The presence of intelligent appliance equipment.
It is preferred that the equipment discovery module, which is configured to first port, sends equipment discovery request message, as described The intelligent appliance equipment of the server-side devices of mobile terminal is configured to the port numbers identical port with the first port Audiomonitor finds request message.
It is preferred that at least configuring the client-side program of the first application and the client journey of the second application on the mobile terminal Sequence, and be configured to first port and send the equipment of first application to find request message, send described the with second port The equipment of two applications finds request message;The server end of first application is configured with the intelligent appliance equipment of the first kind Program, and be configured to monitor second application is configured with the first port, the intelligent appliance equipment of Second Type Server, and be configured to monitor the second port;
The equipment discovery module is additionally operable to:It is logical using broadcast mode after the client-side program of first application is opened Cross the equipment discovery request message that the first port sends first application;The client-side program of second application is opened Afterwards, the equipment for sending second application by the second port using broadcast mode finds request message.
It is preferred that the state detection module is additionally operable to:By the linkup transmit heartbeat message, and receive the intelligence The heartbeat message that household electrical appliances end equipment passes through the linkup transmit;If not receiving the intelligent appliance within the time set in advance The heartbeat message that end equipment is sent, it is determined that the disconnecting, and determine the intelligent appliance equipment off-line.
The present invention provide it is a kind of be used for mobile terminal interconnect intelligent appliance equipment, the intelligent appliance equipment by with Server-side devices are set to, the mobile terminal is configured as the client device of the intelligent appliance equipment, the intelligent family Electric equipment includes:
Responder module, request message, and root are found for receiving the equipment that the mobile terminal is sent using broadcast mode Find that request message returns to response message to the mobile terminal according to the equipment;
Connection establishment module, for receiving the connection request message that the mobile terminal is sent, and please according to the connection Ask message to set up with the mobile terminal to be connected;
State detection module, after the connection is successfully established, by detecting that the state of the connection determines the movement The presence of terminal.
It is preferred that the mobile terminal, which is configured to first port, sends equipment discovery request message, the responder module It is configured to find request message with the port numbers identical port snoop equipment of the first port.
It is preferred that the state detection module is additionally operable to:
By the linkup transmit heartbeat message, and receive heartbeat report of the mobile terminal by the linkup transmit Text;If not receiving the heartbeat message that the mobile terminal is sent within the time set in advance, it is determined that the disconnecting, And determine that the mobile terminal is offline.
In the embodiment of the present invention, the intelligent appliance equipment is configured as server-side devices, the mobile terminal by with It is set to the client device of the intelligent appliance equipment;The mobile terminal sends equipment using broadcast mode and finds that request disappears Breath, after the response message that the intelligent appliance equipment is returned is received, sends connection request to the intelligent appliance equipment and disappears Breath, and be connected with intelligent appliance equipment foundation, and then by detecting that the state of the connection determines that the intelligent appliance is set Standby presence.The embodiment of the present invention improves the speed that online equipment and the offline notice of equipment are found in LAN, and And simplify the communication process between equipment, provide a set of quick perfect method for the interconnection of equipment in LAN.
Brief description of the drawings
Fig. 1 is the method flow diagram that a kind of mobile terminal that the embodiment of the present invention one is provided is interconnected with intelligent appliance equipment;
Fig. 2 is the method flow diagram that a kind of mobile terminal that the embodiment of the present invention two is provided is interconnected with intelligent appliance equipment;
Fig. 3 is the overall process figure that mobile terminal of the embodiment of the present invention is interconnected with intelligent appliance equipment;
Fig. 4 is a kind of mobile terminal schematic diagram for being used to interconnect with intelligent appliance equipment that the embodiment of the present invention three is provided;
Fig. 5 is a kind of intelligent appliance equipment schematic diagram for being used to interconnect with mobile terminal that the embodiment of the present invention four is provided.
Embodiment
The embodiment of the present invention sends equipment by broadcast mode by mobile terminal and finds request message, and passes through detection Connection status determines the presence of the intelligent appliance equipment, improves in LAN and finds under online equipment and equipment The speed that line is notified, and simplify the communication process between equipment, provide a set of quick perfect for the interconnection of equipment in LAN Method.
The embodiment of the present invention goes for multiple systems framework, particularly, it is adaptable to which intelligent appliance equipment is whole with movement The system architecture being connected respectively with network access equipment is held, a kind of mobile terminal that is particularly suitable for use in is connected with intelligent appliance equipment, And replace the physical remote control of intelligent appliance equipment to control the scene of intelligent appliance equipment.It is preferred that, in the embodiment of the present invention Intelligent appliance equipment can be one or more intelligent appliance equipment developed based on Linux or android system, and the present invention is real It can be one or more intelligent mobile phone terminals based on Android or IOS system developments, the present invention to apply the mobile terminal in example Network access equipment in embodiment can be the wireless routing for possessing WiFi function;Meanwhile, the intelligence in the embodiment of the present invention Home appliance can pass through wired or be wirelessly connected with network access equipment, the mobile terminal in the embodiment of the present invention Wirelessly it can be connected with network access equipment.
It should be noted that with the continuous improvement for setting up family lan this demand, generally, in family all Be provided with network access equipment, such as router, the network access equipment can by various equipment in family by wired or Wirelessly link together, constitute LAN.In embodiments of the present invention, auxiliary equipment is referred to except network insertion is set Equipment beyond standby, such as USB transceivers;Main equipment includes intelligent appliance equipment and mobile terminal.
The embodiment of the present invention is described in further detail with reference to Figure of description.
Fig. 1 is corresponding to the method that a kind of mobile terminal that the embodiment of the present invention one is provided is interconnected with intelligent appliance equipment Schematic flow sheet, the intelligent appliance equipment is configured as server-side devices, and the mobile terminal is configured as the intelligence The client device of home appliance, methods described mainly comprises the following steps 101 to step 103:
Step 101, the mobile terminal sends equipment using broadcast mode and finds request message;
Step 102, the mobile terminal receives the intelligent appliance equipment and finds that request message is returned according to the equipment After the response message returned, triggered and the intelligent appliance equipment by sending connection request message to the intelligent appliance equipment Connection set up process;
Step 103, the mobile terminal is after the connection is successfully established, by detecting that the state of the connection determines institute State the presence of intelligent appliance equipment.
Preferably, in a step 101, mobile terminal sets up UDP (User Datagram Protocol, user data package Agreement) service, and first port is configured to by broadcast mode transmission equipment discovery request message, and wait its service to be received The response message of the intelligent appliance equipment of device end equipment.It is used as the intelligent appliance equipment of the server-side devices of the mobile terminal It is configured to find request message with the port numbers identical port snoop equipment of the first port, is set having received and parsed through After the existing request message of preparation, the IP address of mobile terminal is recorded, and reads the configuration file of itself, equipment tenability is obtained, Acquired equipment tenability information package is sent to the mobile terminal plus answer signal.
Preferably, in a step 102, mobile terminal receives the intelligent appliance equipment and is found to ask according to the equipment After the response message that message is returned, the response message is parsed, equipment tenability in LAN is obtained and meets condition Intelligent appliance equipment;Triggered and the intelligent appliance equipment by sending connection request message to the intelligent appliance equipment Connection set up process.
Preferably, in step 103, after the connection is successfully established, mobile terminal is connected to the intelligence by described Home appliance sends heartbeat message, and receives heartbeat message of the intelligent appliance end equipment by the linkup transmit;If institute State mobile terminal and do not receive the heartbeat message that the intelligent appliance end equipment is sent within the time set in advance, it is determined that institute Disconnecting is stated, and determines the intelligent appliance equipment off-line;If the mobile terminal is received within the time set in advance The heartbeat message that the intelligent appliance end equipment is sent, it is determined that the connection is normal, and determines that the intelligent appliance equipment exists Line.
The embodiment of the present invention determines opposite end by detecting the connection status between mobile terminal and intelligent appliance equipment Presence, so as to find the off-line state of opposite end in time.Relative to do not differentiate between in the prior art client device with clothes For the presence for obtaining other equipment between business device end equipment, each equipment by sending multicast message mutually, this hair Bright embodiment effectively increases the speed for obtaining equipment on-line state.
Alternatively, in a step 101, the client-side program and second that the first application is at least configured on the mobile terminal should Client-side program, and the equipment discovery request message that first port sends first application is configured to, with the second end The equipment that mouth sends second application finds request message;Described first is configured with the intelligent appliance equipment of the first kind should Server, and be configured to monitor and configured in the first port, the intelligent appliance equipment of Second Type The server of the second application is stated, and is configured to monitor the second port.Correspondingly, the mobile terminal is using wide Broadcast mode sends equipment and finds request message, including:
After the client-side program of first application is opened, the mobile terminal passes through the first end using broadcast mode The equipment that mouth sends first application finds request message;After the client-side program of second application is opened, the movement The equipment that terminal sends second application using broadcast mode by the second port finds request message.
For example, the client-side program of the first application and the client-side program of the second application are configured with mobile phone, wherein first The client-side program of application is engaged with the serve end program on television equipment, for realizing the friendship between mobile phone and television equipment Mutually, the client-side program of the second application is engaged with the serve end program on refrigerator apparatus, for realizing mobile phone and refrigerator apparatus Between interaction.After the client-side program of first application is opened, the equipment that mobile phone sends first application by port 50000 It was found that request message, the equipment that television equipment receives first application by port 50000 finds request message;Second application Client-side program open after, the equipment that mobile phone sends second application by port 10000 finds request message, and refrigerator sets The standby equipment for receiving second application by port 10000 finds request message.
The embodiment of the present invention has been pre-configured between the different application on mobile terminal and different type intelligent appliance equipment Corresponding relation, open mobile terminal on a certain application when, only need to handle the certain types of intelligent appliance corresponding to it The response message of equipment, so as to effectively improve the speed of equipment discovery.
Fig. 2 is corresponding to the method that a kind of mobile terminal that the embodiment of the present invention two is provided is interconnected with intelligent appliance equipment Schematic flow sheet, the intelligent appliance equipment is configured as server-side devices, and the mobile terminal is configured as the intelligence The client device of home appliance, methods described mainly comprises the following steps 201 to step 203:
Step 201, the intelligent appliance equipment receives the mobile terminal and finds to ask using the equipment of broadcast mode transmission Message is sought, and finds that request message returns to response message to the mobile terminal according to the equipment;
Step 202, the intelligent appliance equipment receives the connection request message that the mobile terminal is sent, and according to described Connection request message is set up with the mobile terminal and is connected;
Step 203, the intelligent appliance equipment is after the connection is successfully established, by detecting that the state of the connection is true The presence of the fixed mobile terminal.
Preferably, in step 201, intelligent appliance equipment sets up UDP services, and waits the shifting of its client device to be received The equipment that dynamic terminal is sent by first port finds request message, after equipment discovery request message has been received and parsed through, note The IP address of mobile terminal is recorded, and reads the configuration file of itself, equipment tenability is obtained, acquired equipment is supported into energy Force information packing is sent to the mobile terminal plus answer signal.
Preferably, in step 202., intelligent appliance equipment is returned after response message to the mobile terminal, waits to be received The connection request message that the mobile terminal is sent;After the connection request message is received, built with the mobile terminal Vertical connection.
Preferably, in step 203, after the connection is successfully established, intelligent appliance equipment is connected to described by described Mobile terminal sends heartbeat message, and receives heartbeat message of the mobile terminal by the linkup transmit;If the intelligence Home appliance does not receive the heartbeat message that the mobile terminal is sent within the time set in advance, it is determined that in the connection It is disconnected, and determine that the mobile terminal is offline;If the intelligent appliance equipment receives the movement within the time set in advance The heartbeat message that terminal is sent, it is determined that the connection is normal, and determines that the mobile terminal is online.
In order to be more clearly understood that the embodiment of the present invention, with reference to Fig. 3 to mobile terminal of the embodiment of the present invention and intelligence Home appliance interconnection overall process is specifically described.
As shown in figure 3, intelligent appliance equipment is configured as server-side devices, mobile terminal is configured as the intelligent family The client device of electric equipment.Mobile terminal sets up UDP services, and is configured to port 50000 by broadcast mode to local Intelligent appliance equipment in net sends equipment and finds request message, and waits the intelligent appliance equipment of its server-side devices to be received Response message.Port 50000 is configured to as the intelligent appliance equipment of the server-side devices of the mobile terminal to monitor Equipment finds request message, after equipment discovery request message has been received and parsed through, records the IP address of mobile terminal, and read The configuration file of itself, obtains equipment tenability, and acquired equipment tenability information package is sent out plus answer signal Give the mobile terminal.
Mobile terminal receives the intelligent appliance equipment and finds the response message that request message is returned according to the equipment Afterwards, the response message is parsed, obtain LAN in equipment tenability meet condition intelligent appliance equipment and The IP address of intelligent appliance equipment;And triggered and the intelligence by sending connection request message to the intelligent appliance equipment Process is set up in the connection of home appliance.
Intelligent appliance equipment receives the connection request message that mobile terminal is sent, and whole with movement according to connection request message Connection is set up at end, after mobile terminal judges that connection is successfully established, and heartbeat message is sent by described connect to intelligent appliance equipment, And receive heartbeat message of the intelligent appliance equipment by the linkup transmit;Mobile terminal judges The no heartbeat message for receiving the transmission of intelligent appliance equipment, if, it is determined that intelligent appliance equipment is presence, if it is not, then It is off-line state to determine intelligent appliance equipment;Intelligent appliance equipment judges whether to receive movement within the time set in advance eventually The heartbeat message sent is held, if, it is determined that mobile terminal is presence, if not, it is determined that mobile terminal is off-line state.
For above method flow, the embodiment of the present invention also provides a kind of mobile end for being used to interconnect with intelligent appliance equipment End, the particular content of the mobile terminal is referred to above method implementation, will not be repeated here.
Fig. 4 is a kind of mobile terminal schematic diagram for being used to interconnect with intelligent appliance equipment that the embodiment of the present invention three is provided, The intelligent appliance equipment is configured as server-side devices, and the mobile terminal is configured as the visitor of the intelligent appliance equipment Family end equipment, the mobile terminal includes:
Equipment discovery module 401, request message is found for sending equipment using broadcast mode;
Connection establishment module 402, is returned for receiving the intelligent appliance equipment according to equipment discovery request message After the response message returned, triggered and the intelligent appliance equipment by sending connection request message to the intelligent appliance equipment Connection set up process;
State detection module 403, for after the connection is successfully established, by detecting that the state of the connection determines institute State the presence of intelligent appliance equipment.
It is preferred that the equipment discovery module 401, which is configured to first port, sends equipment discovery request message, institute is used as The intelligent appliance equipment for stating the server-side devices of mobile terminal is configured to port numbers identical end with the first port Mouth audiomonitor finds request message.
It is preferred that at least configuring the client-side program of the first application and the client journey of the second application on the mobile terminal Sequence, and be configured to first port and send the equipment of first application to find request message, send described the with second port The equipment of two applications finds request message;The server end of first application is configured with the intelligent appliance equipment of the first kind Program, and be configured to monitor second application is configured with the first port, the intelligent appliance equipment of Second Type Server, and be configured to monitor the second port.Correspondingly, the equipment discovery module 401 specifically for:
After the client-side program of first application is opened, described the is sent by the first port using broadcast mode The equipment of one application finds request message;After the client-side program of second application is opened, passed through using broadcast mode described The equipment that second port sends second application finds request message.
It is preferred that the state detection module 403 specifically for:
By the linkup transmit heartbeat message, and receive the heart of the intelligent appliance end equipment by the linkup transmit Jump message;If not receiving the heartbeat message that the intelligent appliance end equipment is sent within the time set in advance, it is determined that institute Disconnecting is stated, and determines the intelligent appliance equipment off-line.
For above method flow, the embodiment of the present invention also provides a kind of intelligent appliance for being interconnected with mobile terminal and set Standby, the particular content of the intelligent appliance equipment is referred to above method implementation, will not be repeated here.
Fig. 5 is a kind of intelligent appliance equipment schematic diagram for being used to interconnect with mobile terminal that the embodiment of the present invention four is provided, The intelligent appliance equipment is configured as server-side devices, and the mobile terminal is configured as the visitor of the intelligent appliance equipment Family end equipment, the intelligent appliance equipment includes:
Responder module 501, request message is found for receiving the equipment that the mobile terminal is sent using broadcast mode, and Find that request message returns to response message to the mobile terminal according to the equipment;
Connection establishment module 502, for receiving the connection request message that the mobile terminal is sent, and according to the connection Request message is set up with the mobile terminal and is connected;
State detection module 503, after the connection is successfully established, by detecting that the state of the connection determines the shifting The presence of dynamic terminal.
It is preferred that the mobile terminal, which is configured to first port, sends equipment discovery request message, the responder module 501 are configured to find request message with the port numbers identical port snoop equipment of the first port.
It is preferred that the state detection module 503 specifically for:
By the linkup transmit heartbeat message, and receive heartbeat report of the mobile terminal by the linkup transmit Text;If not receiving the heartbeat message that the mobile terminal is sent within the time set in advance, it is determined that the disconnecting, And determine that the mobile terminal is offline.
It can be seen that from above content:
Intelligent appliance equipment described in the embodiment of the present invention is configured as server-side devices, and the mobile terminal is configured For the client device of the intelligent appliance equipment;The mobile terminal sends equipment using broadcast mode and finds request message, After the response message that the intelligent appliance equipment is returned is received, connection request message is sent to the intelligent appliance equipment, And be connected with intelligent appliance equipment foundation, and then by detecting that the state of the connection determines the intelligent appliance equipment Presence.The embodiment of the present invention improves the speed that online equipment and the offline notice of equipment are found in LAN, and letter Change the communication process between equipment, a set of quick perfect method is provided for the interconnection of equipment in LAN.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (14)

1. a kind of method that mobile terminal is interconnected with intelligent appliance equipment, it is characterised in that the intelligent appliance equipment is configured For server-side devices, the mobile terminal is configured as the client device of the intelligent appliance equipment, and methods described includes:
The mobile terminal sets up user datagram protocol UDP service, and sending equipment using broadcast mode finds request message;
The mobile terminal receives the intelligent appliance equipment and finds the response message that request message is returned according to the equipment Afterwards, set up by sending connection request message to the intelligent appliance equipment come the connection triggered with the intelligent appliance equipment Journey;
The mobile terminal is after the connection is successfully established, by detecting that the state of the connection determines that the intelligent appliance is set Standby presence.
2. the method as described in claim 1, it is characterised in that the mobile terminal is configured to first port and sends equipment hair Existing request message, is configured to and the first port as the intelligent appliance equipment of the server-side devices of the mobile terminal Port numbers identical port snoop equipment find request message.
3. the method as described in claim 1, it is characterised in that the client of the first application is at least configured on the mobile terminal Program and second application client-side program, and be configured to first port send it is described first application equipment find request disappear Breath, request message is found with the equipment that second port sends second application;Configured in the intelligent appliance equipment of the first kind There is the server of first application, and be configured to monitor the first port, the intelligent appliance of Second Type is set It is standby to be above configured with the server of second application, and be configured to monitor the second port;
The mobile terminal sends equipment using broadcast mode and finds request message, including:
After the client-side program of first application is opened, the mobile terminal is sent out using broadcast mode by the first port The equipment of first application is sent to find request message;
After the client-side program of second application is opened, the mobile terminal is sent out using broadcast mode by the second port The equipment of second application is sent to find request message.
4. method as claimed any one in claims 1 to 3, it is characterised in that the state by detecting the connection The presence of the intelligent appliance equipment is determined, including:
The mobile terminal receives the intelligent appliance end equipment and passes through the connection by the linkup transmit heartbeat message The heartbeat message of transmission;
If the mobile terminal does not receive the heartbeat message that the intelligent appliance end equipment is sent within the time set in advance, The disconnecting is then determined, and determines the intelligent appliance equipment off-line.
5. a kind of method that mobile terminal is interconnected with intelligent appliance equipment, it is characterised in that the intelligent appliance equipment is configured For server-side devices, the mobile terminal is configured as the client device of the intelligent appliance equipment, and methods described includes:
The intelligent appliance equipment sets up UDP services, and receiving the mobile terminal please using the equipment discovery of broadcast mode transmission Message is sought, and finds that request message returns to response message to the mobile terminal according to the equipment;
The intelligent appliance equipment receives the connection request message that the mobile terminal is sent, and according to the connection request message Set up and be connected with the mobile terminal;
The intelligent appliance equipment is after the connection is successfully established, by detecting that it is described mobile whole that the state of the connection is determined The presence at end.
6. method as claimed in claim 5, it is characterised in that the mobile terminal is configured to first port and sends equipment hair Existing request message, is configured to and the first port as the intelligent appliance equipment of the server-side devices of the mobile terminal Port numbers identical port snoop equipment find request message.
7. the method as described in claim 5 or 6, it is characterised in that the state by detecting the connection determines described The presence of mobile terminal, including:
The intelligent appliance equipment by the linkup transmit heartbeat message, and receive the mobile terminal pass through it is described connection hair The heartbeat message sent;
If the intelligent appliance equipment does not receive the heartbeat message that the mobile terminal is sent within the time set in advance, The disconnecting is determined, and determines that the mobile terminal is offline.
8. a kind of mobile terminal for being used to interconnect with intelligent appliance equipment, it is characterised in that the intelligent appliance equipment is configured For server-side devices, the mobile terminal is configured as the client device of the intelligent appliance equipment, the mobile terminal Including:
Equipment discovery module, for setting up UDP services, sends equipment using broadcast mode and finds request message;
Connection establishment module, the response of request message return is found for receiving the intelligent appliance equipment according to the equipment After message, built by sending connection request message to the intelligent appliance equipment come the connection triggered with the intelligent appliance equipment Vertical process;
State detection module, for after the connection is successfully established, by detecting that the state of the connection determines the intelligence The presence of home appliance.
9. mobile terminal as claimed in claim 8, it is characterised in that the equipment discovery module is configured to first port hair Send equipment find request message, as the intelligent appliance equipment of the server-side devices of the mobile terminal be configured to it is described The port numbers identical port snoop equipment of first port finds request message.
10. mobile terminal as claimed in claim 8, it is characterised in that the first application is at least configured on the mobile terminal Client-side program and the client-side program of the second application, and it is configured to the equipment discovery that first port sends first application Request message, request message is found with the equipment that second port sends second application;The intelligent appliance equipment of the first kind On be configured with the server of first application, and be configured to monitor the first port, the intelligence of Second Type The server of second application is configured with home appliance, and is configured to monitor the second port;
The equipment discovery module is specifically additionally operable to:
After the client-side program of first application is opened, sending described first by the first port using broadcast mode should Equipment finds request message;
After the client-side program of second application is opened, sending described second by the second port using broadcast mode should Equipment finds request message.
11. the mobile terminal as any one of claim 8 to 10, it is characterised in that the state detection module is specific It is additionally operable to:
By the linkup transmit heartbeat message, and receive heartbeat report of the intelligent appliance end equipment by the linkup transmit Text;
If not receiving the heartbeat report that the intelligent appliance end equipment is sent within the time set in advance in setting for a long time Text, it is determined that the disconnecting, and determine the intelligent appliance equipment off-line.
12. a kind of intelligent appliance equipment for being used to interconnect with mobile terminal, it is characterised in that the intelligent appliance equipment is configured For server-side devices, the mobile terminal is configured as the client device of the intelligent appliance equipment, the intelligent appliance Equipment includes:
Responder module, for setting up UDP services, receives the mobile terminal and finds that request disappears using the equipment of broadcast mode transmission Breath, and find that request message returns to response message to the mobile terminal according to the equipment;
Connection establishment module, for receiving the connection request message that the mobile terminal is sent, and disappears according to the connection request Breath is set up with the mobile terminal and is connected;
State detection module, after the connection is successfully established, by detecting that the state of the connection determines the mobile terminal Presence.
13. intelligent appliance equipment as claimed in claim 12, it is characterised in that the mobile terminal is configured to first port Send equipment and find request message, the responder module is configured to the port numbers identical port snoop with the first port Equipment finds request message.
14. the intelligent appliance equipment as described in claim 12 or 13, it is characterised in that the state detection module is specifically also used In:
By the linkup transmit heartbeat message, and receive heartbeat message of the mobile terminal by the linkup transmit;
If not receiving the heartbeat message that the mobile terminal is sent within the time set in advance in setting for a long time, really The fixed disconnecting, and determine that the mobile terminal is offline.
CN201410352602.3A 2014-07-23 2014-07-23 The method and device that a kind of mobile terminal is interconnected with intelligent appliance equipment Active CN104113458B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410352602.3A CN104113458B (en) 2014-07-23 2014-07-23 The method and device that a kind of mobile terminal is interconnected with intelligent appliance equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410352602.3A CN104113458B (en) 2014-07-23 2014-07-23 The method and device that a kind of mobile terminal is interconnected with intelligent appliance equipment

Publications (2)

Publication Number Publication Date
CN104113458A CN104113458A (en) 2014-10-22
CN104113458B true CN104113458B (en) 2017-09-29

Family

ID=51710094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410352602.3A Active CN104113458B (en) 2014-07-23 2014-07-23 The method and device that a kind of mobile terminal is interconnected with intelligent appliance equipment

Country Status (1)

Country Link
CN (1) CN104113458B (en)

Families Citing this family (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592020B (en) * 2014-11-04 2019-07-05 国电龙源电气有限公司 Wind electric converter ethernet communication method
CN104635502B (en) * 2014-12-26 2017-08-25 深圳市兰丁科技有限公司 Intelligent home furnishing control method, device and system
CN105809917A (en) * 2014-12-29 2016-07-27 ***通信集团公司 Method and device for transmitting messages of internet of things
CN104796500A (en) * 2015-03-20 2015-07-22 广东欧珀移动通信有限公司 Terminal and intelligent equipment connecting method and device
CN105187387B (en) * 2015-08-07 2018-08-14 海信集团有限公司 A kind of service discovery method and terminal
CN105208583B (en) * 2015-08-27 2021-08-13 青岛海尔智能家电科技有限公司 Method and device for configuring intelligent household electrical appliance to access network and intelligent equipment
CN105159121B (en) * 2015-09-14 2018-09-18 珠海格力电器股份有限公司 Household appliance, startup and shutdown control method and system thereof and intelligent device
CN105228219B (en) * 2015-10-12 2018-12-18 小米科技有限责任公司 The acquisition methods and device of relay router information
CN105577427B (en) * 2015-12-08 2018-12-18 美的集团股份有限公司 The detection method that is communicated to connect between household electrical appliance and mobile terminal, device
CN105337814A (en) * 2015-12-09 2016-02-17 北京四达时代软件技术股份有限公司 Network equipment connection method, equipment and system
CN105657040B (en) * 2016-02-17 2019-12-06 深圳酷旗互联网有限公司 intranet communication method and system between devices
CN105722052A (en) * 2016-02-23 2016-06-29 深圳市美贝壳科技有限公司 Method for rapidly finding state of intelligent hardware equipment in local area network
CN105607506B (en) * 2016-03-21 2019-06-04 美的集团股份有限公司 Intelligent home furnishing control method and device based on customer position information
CN105791921A (en) * 2016-04-08 2016-07-20 贵州省广播电视信息网络股份有限公司 Set-top box with touch control operation function and control mode switching method
CN106375979A (en) * 2016-05-30 2017-02-01 深圳市美贝壳科技有限公司 Method for finding states of intelligent devices in LAN rapidly
CN106375838A (en) * 2016-06-30 2017-02-01 深圳市美贝壳科技有限公司 Method for projecting to multiple smart devices through mobile terminal
CN106385410A (en) * 2016-09-08 2017-02-08 四川长虹电器股份有限公司 Intelligent household appliance control system based on MQTT
CN106789475A (en) * 2016-12-29 2017-05-31 Tcl集团股份有限公司 Household electric appliance control method and device
CN106713506A (en) * 2017-02-22 2017-05-24 郑州云海信息技术有限公司 Data acquisition method and data acquisition system
CN107231275B (en) * 2017-05-31 2021-07-30 普天智能照明研究院有限公司 Method for connection configuration of user equipment and household equipment
CN111294375B (en) * 2018-12-07 2022-11-25 浙江宇视科技有限公司 Monitoring equipment connection method and device
CN109634260B (en) * 2018-12-18 2020-07-24 安徽江淮汽车集团股份有限公司 Vehicle controller on-line monitoring method
CN109921969B (en) * 2019-03-27 2021-07-30 魏嘉琦 Communication method applied to smart home
CN112350895B (en) * 2020-11-05 2023-04-07 深圳Tcl新技术有限公司 Keep-alive method and device for application program, equipment and computer readable storage medium
CN113109643B (en) * 2021-03-10 2022-09-30 青岛海信智慧生活科技股份有限公司 Automatic testing method and device for intelligent door lock
CN113031569B (en) * 2021-03-17 2022-11-29 核工业西南物理研究院 Monitoring method, system, terminal and medium of nuclear fusion control system
CN114285892B (en) * 2021-08-26 2023-10-31 海信视像科技股份有限公司 Server, intelligent device and awakening method of intelligent device with screen
CN114157994A (en) * 2021-11-26 2022-03-08 杭州当虹科技股份有限公司 Improved device discovery method
CN115150299A (en) * 2022-06-27 2022-10-04 海信视像科技股份有限公司 Terminal device online state detection method and terminal device
CN117955765A (en) * 2023-12-29 2024-04-30 广州视声智能股份有限公司 KNX-based household equipment configuration method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103384367A (en) * 2012-05-03 2013-11-06 海尔集团公司 Device searching method
CN103532803A (en) * 2013-10-12 2014-01-22 广东美的制冷设备有限公司 Networking method and system for Internet of Things
CN103558836A (en) * 2013-11-19 2014-02-05 海信集团有限公司 Method for synchronously controlling device status and household appliance
CN103605531A (en) * 2013-09-12 2014-02-26 广东美的制冷设备有限公司 Household appliance control method and device and mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202907061U (en) * 2011-05-25 2013-04-24 陈明荣 A monitor capable of remotely controlling household electrical appliances and other electronic products by using a cell phone and a computer
CN103634176A (en) * 2013-12-05 2014-03-12 青岛海尔软件有限公司 Haier Internet of Things household appliance configuration sharing method capable of improving user experience
CN103888908B (en) * 2014-02-26 2017-02-22 北京信惠宝科技有限公司 Method and system for transmitting data to receiving terminal not logging in WI-FI access point

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103384367A (en) * 2012-05-03 2013-11-06 海尔集团公司 Device searching method
CN103605531A (en) * 2013-09-12 2014-02-26 广东美的制冷设备有限公司 Household appliance control method and device and mobile terminal
CN103532803A (en) * 2013-10-12 2014-01-22 广东美的制冷设备有限公司 Networking method and system for Internet of Things
CN103558836A (en) * 2013-11-19 2014-02-05 海信集团有限公司 Method for synchronously controlling device status and household appliance

Also Published As

Publication number Publication date
CN104113458A (en) 2014-10-22

Similar Documents

Publication Publication Date Title
CN104113458B (en) The method and device that a kind of mobile terminal is interconnected with intelligent appliance equipment
US10284644B2 (en) Information processing and content transmission for multi-display
CN102523492B (en) Comment method for interactive comment system, television and mobile terminal
CN104427296B (en) The transmission method and device of Media Stream in video conference
CN104935583B (en) A kind of cloud service platform, information processing method and data processing system
US9954969B2 (en) Multimedia generating method and related computer program product
US20170366620A1 (en) Long connection method between a plurality of smart devices and a server, and smart device thereof
CN106027679A (en) Implementing method, apparatus and system for video conference and cloud desktop terminal
CN102763373B (en) The method and apparatus using the service of local network devices based on remote access
CN105208434A (en) Media projection method, media projection equipment, control terminal, and cloud server
CN104079597B (en) The transfer method and user equipment of Media Stream
CN101953139B (en) DHCP in response to Internet connectedness initializes
US20160286172A1 (en) Network communication system and method thereof
CN108124007A (en) The method and apparatus of message data real-time Transmission
CN104349208A (en) Message processing method, message processing device, gateway, set-top box and network television system
CN103019180A (en) Interconnecting and controlling method and system among electronic equipment
CN106068637A (en) The method and system of service conversation is set up between searchers's device and advertizer's device
CN105959827A (en) Data interaction method, set top box, and front-end server
CN113741762A (en) Multimedia playing method, device, electronic equipment and storage medium
CN107995247A (en) A kind of document transmission method, server and system
CN103812685B (en) Online statistics system and statistical method simultaneously
CN109788301A (en) A kind of live broadcasting method of Streaming Media, terminal device, live broadcast system and computer readable storage medium
CN105553762B (en) Communication means, system and related device between household electrical appliance and mobile terminal
CN103781138B (en) Method, apparatus and system for connecting WiMo sending terminal to WLAN
CN105281987A (en) Router and data upload method, device and system

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