CN105959906A - Inter-network device communication method and inter-network device communication method - Google Patents

Inter-network device communication method and inter-network device communication method Download PDF

Info

Publication number
CN105959906A
CN105959906A CN201610260094.5A CN201610260094A CN105959906A CN 105959906 A CN105959906 A CN 105959906A CN 201610260094 A CN201610260094 A CN 201610260094A CN 105959906 A CN105959906 A CN 105959906A
Authority
CN
China
Prior art keywords
lan
currently
target device
specified
equipment
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
CN201610260094.5A
Other languages
Chinese (zh)
Other versions
CN105959906B (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.)
Shanghai Haiyang Software Technology Co Ltd
Original Assignee
Shanghai Haiyang Software 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 Shanghai Haiyang Software Technology Co Ltd filed Critical Shanghai Haiyang Software Technology Co Ltd
Priority to CN201610260094.5A priority Critical patent/CN105959906B/en
Publication of CN105959906A publication Critical patent/CN105959906A/en
Application granted granted Critical
Publication of CN105959906B publication Critical patent/CN105959906B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Landscapes

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

Abstract

The invention provides an inter-network device communication method. The inter-network device communication method is characterized in that a request of communicating with an assigned target device is acquired, and the assigned target device is determined by device identification; whether connection with a local area network is realized is determined; when the connection with the local area network is realized, the connection with an available local area network is carried out, and the step of determining whether the connection with the local area network is realized is carried out again; when the connection with the local area network is realized, whether the assigned target device exists in the connected local area network is determined; when the assigned target device exists in the connected local area network, the communication with the assigned target device is carried out by the connected local area network; when the assigned target device does not exist in the connected local area network, whether the searching of all of connectable local area networks is completed is determined; when the searching of all of connectable local area networks is not completed, the connection with the connected local area network is disconnected, and then the connection with an unsearched connectable local area network is carried out, and the step of determining whether the assigned target device exists in the currently connected local area network is carried out again.

Description

The method and device of LA Management Room communication
Technical field
The application relates to a kind of method of communication between devices, the method being specifically related to the communication of a kind of LA Management Room And device.Further relate to a kind of network device communications method and apparatus and with the method for network device communications and Device.
Background technology
Along with popularizing of network design, the function of real-time performance is utilized more and more to be applied to every field, Simultaneously as the application of network technology is more extensive, increasing equipment possessed by network with The function that other equipment or application communicate.
The pattern directly communicated with target device with traditional operating board by target device or data wire Compare, owing to currently available network had both included LAN, also include wide area network such as Internet, although The existing function communicated by network and target device provides and target device more more than traditional approach The approach of communication, but be all based on being fixed on a certain network and communicate.
Communicated by Internet and target device and can make full use of Internet and communication network The advantage of wide coverage, but owing to the structure of the Internet is complicated and changeable, the delay of message is inevitable and difficult To ensure within the acceptable range.This can cause the erroneous judgement communicated the most failed undoubtedly.
Can the promptness of easier guarantee message and high efficiency by LAN and target device communication.But But due to the restriction of its coverage, its scope applied is caused to be limited in the range of LAN.
When equipment needs to communicate with other equipment or application, it is typically only possible by current device and is connected to Network communicate, and suitable network can not be utilized selectively to communicate.Visible existing pass through The method that network communicates from target device is coordinated to use different networks not according to the feature of heterogeneous networks, Ageing and the efficiency of communication between devices can not well be ensured.
Summary of the invention
The application provides the method and device that a kind of LA Management Room communicates.The application provides a kind of network simultaneously The method and device of equipment communication, the application is with also providing for a kind of and network device communications method and device.
The method of a kind of LA Management Room communication that the application provides comprises the following steps:
Obtaining the request communicated with the target device specified, the described target device specified is by device identification institute really Fixed;
Judge whether to be currently connected to LAN;
If being not currently connected to LAN, then it is connected to a LAN that may be connected to and return judges whether It is currently connected to the step of LAN;
If being currently connected to LAN, then judge whether to exist described appointment in the LAN being currently connected to Target device;
If existing, then by the LAN being currently connected to and the described target device communication specified;
If not existing, then judge whether to be complete the lookup to all LANs that may be connected to;
If not completing the lookup to all LANs that may be connected to, then disconnect the LAN being currently connected to And be connected to a LAN that may be connected to the most do not searched, and return and judge be currently connected to The step of the described target device specified whether is there is in LAN.
Preferably, described device identification includes: the media access control address of equipment, device name or equipment String number.
Preferably, the LAN that may be connected to described in includes: cable LAN, WLAN or virtual office Territory net.
Preferably, described WLAN includes: the WLAN that can detect that.
Preferably, described WLAN includes: preassigned the WLAN of service set.
Preferably, further comprising the steps of:
If being complete the lookup to all networks that may be connected to, then it is connected to Internet and passes through state The Internet, border and the described target device communication specified.
Preferably, whether described judgement exists the described target device specified in the LAN being currently connected to Comprise the following steps:
Utilize address resolution protocol, Internet Control Message Protocol or Neighbor Discovery Protocol, to described current connection Sending the message of request response in the LAN arrived, connect in the LAN being currently connected to described in acquisition sets Standby response message;
Response message according to the equipment connected in the LAN being currently connected to got judges described working as Before whether there is the described target device specified in the network that is connected to.
Preferably, for controlling the equipment control to intelligent home device.
Preferably, described control equipment includes intelligent watch.
The method of a kind of network device communications that the application provides, comprises the following steps:
Obtaining the request communicated with the target device specified, the described target device specified is by device identification institute really Fixed;
It is connected with the foundation of the described target device specified by Internet;
Its LAN list being currently able to be connected to is asked for the described target device specified;
Its receiving that the described target device specified sends is currently able to the LAN list that is connected to;
The available LAN that this equipment is currently able to be connected to whether is there is in judging described LAN list;
If described LAN list memory is currently able to the available LAN being connected at this equipment, then to described The target device specified sends asks it to be connected to the request of described available LAN;
Receive the confirmation message being connected to described available LAN that target device sends;
Disconnect the connection with Internet, be connected to described available LAN;
By described available LAN and the described target device communication specified.
Preferably, described LAN includes cable LAN, WLAN or VLAN.
Preferably, described WLAN includes: the WLAN that can detect that.
Preferably, described WLAN includes: preassigned the WLAN of service set.
Preferably, it is characterised in that for controlling the equipment control to intelligent home device.
Preferably, described control equipment includes intelligent watch.
The method of a kind of and network device communications that the application provides, comprises the following steps:
Receive the request asking for the LAN list that this equipment is currently able to be connected to that requestor sends;
Send LAN list that this equipment is currently able to be connected to described requestor;
This equipment of asking receiving described requestor transmission is connected to the request of the LAN specified, described appointment LAN be the LAN that this equipment is currently able to be connected to;
Send the confirmation message of the request of LAN being connected to specify to described requestor;
Disconnect the connection of current network, and be connected to the described LAN specified;
Communicated with described requestor by the described LAN specified.
Preferably, described LAN includes cable LAN, WLAN or VLAN.
Preferably, described WLAN includes: the WLAN that can detect that.
Preferably, described WLAN includes: preassigned the WLAN of service set.
Preferably, it is characterised in that for controlling the equipment control to intelligent home device.
Preferably, described control equipment includes intelligent watch.
The device of a kind of LA Management Room communication that the application provides, including with lower unit:
Acquiring unit, for obtaining the request communicated with the target device specified, the described target device specified Determined by device identification;
First judging unit, is used for judging whether to be currently connected to LAN;
Connect unit, if for being not currently connected to LAN, being then connected to a LAN that may be connected to And send enabling signal to the first judging unit;
Second judging unit, if for being currently connected to LAN, then judging at the LAN being currently connected to The most whether there is the described target device specified;
Communication unit, if for existing, then the LAN by being currently connected to sets with the described target specified Standby communication;
3rd judging unit, if for not existing, then judging whether to be complete all offices that may be connected to The lookup of territory net;
Switching units, if for not completing the lookup to all LANs that may be connected to, then disconnecting current The LAN that is connected to also is connected to a LAN that may be connected to the most do not searched, and sentence to second Disconnected unit sends enabling signal.
The device of a kind of network device communications that the application provides, including with lower unit:
Acquiring unit, for obtaining the request communicated with the target device specified, the described target device specified Determined by device identification;
Internet connection unit, for being connected with the foundation of the described target device specified by Internet;
Ask for unit, for asking for its local train being currently able to be connected to the described target device specified Table;
Receive unit, be currently able to, for its receiving that the described target device specified sends, the local that is connected to Train table;
Whether judging unit, exist what this equipment was currently able to be connected in judge described LAN list Available LAN;
Request unit, if being currently able to the available office being connected to for described LAN list memory at this equipment Territory net, then send to the described target device specified and ask it to be connected to the request of described available LAN;
Confirmation unit, for receiving the confirmation message being connected to described available LAN that target device sends;
LAN connects unit, for disconnecting the connection with Internet, is connected to described available LAN;
LAN communication unit, for by described available LAN and the described target device communication specified.
The device of a kind of and network device communications that the application provides, including with lower unit:
First receive unit, for receive requestor send ask for the local that this equipment is currently able to be connected to The request of train table;
First transmitting element, for sending LAN list that this equipment is currently able to be connected to described request Person;
Second receives unit, and this equipment of asking sent for receiving described requestor is connected to the local specified The request of net, the described LAN specified is the LAN that this equipment is currently able to be connected to;
Second transmitting element, the confirmation message of the request being used for the LAN that transmission is connected to specify is asked to described The person of asking;
Connect unit, for disconnecting the connection of current network, and be connected to the described LAN specified;
Communication unit, for communicating with described requestor by the described LAN specified.
Compared with prior art, the method for a kind of LA Management Room communication that the application provides has the advantage that
The LAN that may be connected to can be searched for and by LAN and target device communication, due to LAN Equipment is in close position on network, it is possible to reduce message delay, sends in time communicate with receiving Message.The method of a kind of LA Management Room communication that visible the application provides plays raising communication efficiency and effect The effect of rate.
Compared with prior art, the method for a kind of network device communications that the application provides has the advantage that Can be exchanged by the information with target device, request target in the case of communication between devices has built up Mutual communication is forwarded in the LAN that both sides may be coupled to jointly by equipment.Reach to improve communication efficiency Property and the effect of efficiency.
Compared with prior art, a kind of method with network device communications that the application provides has the advantage that Can be in the case of communication between devices have built up, according to the request of requestor, the office that will be connectable to Territory net information is sent to requestor, and according to the requirement of requestor, communication forwards to both sides and jointly can connect In the LAN arrived.Reach to improve communication efficiency and the effect of efficiency.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the method for a kind of LA Management Room of the application first embodiment communication.
Fig. 2 is the schematic flow sheet of the method for the application a kind of network device communications of the second embodiment.
Fig. 3 is the schematic flow sheet of a kind of method with network device communications of the application the 3rd embodiment.
Fig. 4 is the structured flowchart of the device of the application the 4th a kind of LA Management Room of embodiment communication.
Fig. 5 is the structured flowchart of the device of the application the 5th a kind of LA Management Room of embodiment communication.
Fig. 6 is the structured flowchart of a kind of device with network device communications of the application sixth embodiment.
Detailed description of the invention
Elaborate a lot of detail in the following description so that fully understanding the application.But the application Can implement to be much different from alternate manner described here, those skilled in the art can without prejudice to Doing similar popularization in the case of the application intension, therefore the application is not limited by following public being embodied as.
The application first embodiment provides the method for a kind of LA Management Room communication, its schematic flow sheet such as Fig. 1 Shown in, this embodiment comprises the following steps:
Step S101, obtains the request communicated with the target device specified, and the described target device specified is by setting Standby mark is determined.
This step is the startup step communicated with target device;Start a communication process and need at least two unit Element: communication start instruction, the communication object specified;The two element is answered with communicating at different execution equipment Obtain in different ways with middle meeting.Wherein, described communication object i.e. target device, use this target The device identification of equipment determines.The device identification of target device can include the MAC of the network interface card such as smart machine The situations such as the string number of address, device name or equipment, so can adopt according to different situations neatly Use different types of device identification.Request with the target device communication specified refers to comprise above-mentioned two base One group of instruction of this communication element.
For better illustrating the present embodiment, using intelligent watch as the execution equipment of this method, with intelligent watch Certain application (APP) and intelligent home device (such as intelligent air condition) underwater acoustic remote control as a example by this step is described Detailed process.
Intelligent watch receives in the application of the APP to intelligent air condition remote control and carries out certain for certain intelligent air condition The click signal controlled, then with this click signal for starting the foundation of communication, send communication start instruction;With Time, from the information prestored, obtain the device identification of this intelligent air condition equipment to be controlled, as really Determine the foundation of communication object.
Illustrate as a example by the concrete communication process that above-mentioned intelligent watch communicates with intelligent air condition below.
Intelligent watch receives the operation that its intelligent air condition remote control APP is applied by user, and by the point of touch screen Hit operation and receive the instruction requiring to adjust air-conditioning design temperature.
Described APP application send communication start instruction at once, start a series of set up communication process, wherein, Including the device identification obtaining the described intelligent air condition realizing storage.The purpose of this communication is described in order to transmit Adjusting the order of air-conditioning design temperature, this is Content of Communication, at intelligent watch and the connection setup of intelligent air condition This Content of Communication can be transmitted afterwards.
When intelligent watch needs to communicate with intelligent air condition, the request communicated with intelligent air condition obtained The middle device identification simultaneously including intelligent air condition, this device identification typically has stored in intelligent watch, If not yet stored, then may need first to carry out mutually setting up between intelligent watch and intelligent air condition identification relation Operation, it is of course also possible to carry out Classical correlation while sending communication request, in such cases, need The operator of intelligent watch to be increased selects the step of communication object.
The device identification of intelligent air condition can include the MAC Address of the network interface card such as intelligent air condition, intelligent air condition The situations such as the string number of title or intelligent air condition, so can according to the respective practical situation of different application, Use different types of device identification neatly.
Step S102, it may be judged whether be currently connected to LAN.
Whether obtain effective LAN IP address according to this equipment current to can decide whether to be connected to local Net.The address of LAN is generally defined by related specifications, and what equipment obtained meets the office of related specifications definition The IP address of territory net IP address range is it is believed that equipment has been coupled to LAN, otherwise it is assumed that do not connect Receive LAN.The distribution service condition of concrete IP address, is referred to the specification definition being correlated with, as generally In the case of specification RFC1918 of IPv4 followed of local network address planning or specification RFC4193 of IPv6. For having, with above-mentioned or related specifications, the in the case of of deviating from, can judge according to the practical situation of network.
Described LAN is not limited only to cable network (LAN), it is also possible to is WLAN (WLAN), also wraps Including VLAN (VLAN) etc., the equipment that these networks are connected is physically all in adjacent to one another Position, it is simple to ensure the ageing of communication.
In previous step as a example by intelligent watch, the IP address that intelligent watch obtains can be checked, if intelligence energy Wrist-watch is currently without acquiring effective IP address, it can be determined that be not connected to LAN;Or intelligence hands The IP address that table currently obtains is not lan address, and the IP address obtained such as current intelligent watch is wide area The public address of net, or the IP address that current intelligent watch obtains is for linking local address (Link-Local Address) 169.254.*.*, then may determine that current intelligent watch is not connected to LAN.
Step S103, if being not currently connected to LAN, is then connected to a LAN that may be connected to and returns Return and judge whether to be currently connected to the step of LAN.
When being currently not attached to any LAN, then it is firstly connected to an attachable local Net, as being connected to a WLAN (WLAN).
Described WLAN (WLAN) includes the WLAN being able to detect that and has preassigned service The WLAN (WLAN) of set identifier (SSID), namely include and broadcast service set (SSID) WLAN (WLAN) and preassigned the WLAN (WLAN) of service set (SSID), This makes the WLAN searched for the most, even for not having broadcast service set identifier (SSID) WLAN, as long as having preassigned its service set (SSID), still can searched arrive.
After being connected to a LAN that may be coupled to, return step S102, again judge whether currently to connect Receive LAN.
Still as a example by intelligent watch, it is generally configured with being connected to the function of WLAN as portable equipment, If intelligent watch is currently not yet connected to any LAN, then the connection WLAN possessed first with it Function is connected to an attachable WLAN identified with service set (SSID).Institute State the phase that attachable LAN refers to that intelligent watch has been pre-configured with including service set (SSID) The WLAN of related parameter or be currently able to detect the WLAN of service set (SSID).
After intelligent watch is connected to LAN, returns step S102, again judge the most whether intelligent watch connects Receive LAN.
Step S104, if being currently connected to LAN, then judges whether deposit in the LAN being currently connected to At the described target device specified.
When being currently connected to LAN, it is judged that current connected to LAN in whether exist The concrete mode of the described target device specified has multiple, can utilize according to the practical situation of network and equipment Different procotols, sends request message in network and judges.Such as: utilize address resolution protocol (ARP), Whether Internet Control Message Protocol (ICMP) inquiry exists described appointment in determining the LAN being currently connected to Target device.
Additionally can also utilize other procotol or comprehensively utilize various procotol, obtaining in current network The device identification (such as string number) of the equipment connected or request device identification be as described in the setting of target device specified Whether the corresponding request of equipment response of standby mark exists described appointment in judging the LAN being currently connected to Target device.So can select flexibly to use different equipment marks according to the difference of practical situations Know.
To be currently connected to whether there is intelligence in the intelligent watch of LAN judges the LAN being currently connected to As a example by air-conditioning:
For the device identification of intelligent air condition be its media interviews control (MAC) address in the case of, then can be to Sending address resolution protocol (ARP) request message in the LAN being currently connected to, request is currently connected to The intelligent home device that IP address in LAN is connected feeds back its media interviews with controlling (MAC) one by one Location, if the media interviews returned in the response message that receives of intelligent watch control (MAC) address and exist and indication It is identical that the media interviews of fixed intelligent air condition control (MAC) address, then be judged as the local being currently connected to There is described device identification in net is the intelligent air condition that its media interviews control (MAC) address.If not receiving The media interviews comprising the described intelligent air condition specified control the response message of (MAC) address, then be judged as working as Before there is not the described intelligent air condition specified in the LAN that is connected to.
Similarly, for the LAN of IPv6, it is possible to use Neighbor Discovery Protocol (Neighbor Discovery Protocol) whether there is the described target device specified in judging the LAN being currently connected to.
When the device identification of intelligent air condition is its title, then can utilize Internet Control Message Protocol (ICMP), host name is set to the title of the described intelligent air condition specified, to the LAN being currently connected to Interior transmission Internet Control Message Protocol (ICMP) message, if receiving corresponding response message, then may determine that and works as Front network internal storage is at the described intelligent air condition specified.Described appointment is there is not in being otherwise judged as current network Intelligent air condition.
Step S105, if existing, then the LAN by being currently connected to leads to the described target device specified Letter.
The described target device specified is there is, then by the office being currently connected in the LAN being currently connected to Territory net and the described target device communication specified.
As a example by there is its intelligent air condition to be communicated in the LAN that intelligent watch is currently connected to, intelligence Can be communicated with described intelligent air condition by the LAN being currently connected to by wrist-watch.
Instruction can be sent to described intelligent air condition by the LAN being currently connected to by such as intelligent watch, Work to this intelligent air condition controls accordingly, as changed mode of operation, modification parameter etc., intelligence Energy wrist-watch can also be by the LAN being currently connected to, and reception obtains the duty or of this intelligent air condition A little parameters, such as current mode of operation, temperature index of setting etc. is so that related application uses.
Step S106, if not existing, then judges whether to be complete looking into all LANs that may be connected to Look for.
When there is not the described target device specified in the LAN being currently connected to, then need to sentence Break and whether be complete the lookup to all LANs that currently may be connected to.For WLAN, all The LAN that currently may be connected to includes the most all wireless offices that service set (SSID) can be detected Territory net has preassigned the WLAN of service set (SSID) with can't detect.
As a example by possessing the intelligent watch connecting wireless lan function, if its LAN being currently connected to The most do not find its intelligent air condition to be communicated, then judge whether to be complete and all intelligent watch are worked as Before the lookup of WLAN that may be connected to.LAN for currently may be connected to is only WLAN Situation for, all LANs that currently may be connected to of intelligent watch include the wireless local that can detect Although net one and WLAN two and can't detect but preassigned service set (SSID) WLAN three, then need to judge whether all to search the described intelligence specified in these three LAN Air-conditioning.
Step S107, if not completing the lookup to all LANs that may be connected to, then disconnects current connection To LAN and be connected to a LAN that may be connected to the most do not searched, and return judge work as Before whether there is the step of the described target device specified in the LAN that is connected to.
When there is also the LAN not searching described target device, disconnection ought be received repeatedly LAN, is connected to the LAN the most not carrying out searching the operation of described target device, returns and judges Step S104 of the described target device specified whether is there is in the LAN being currently connected to.
When there is not the LAN the most not searching described target device, due to by LAN with The communication of described target device is the most infeasible, in order to ensure the availability of communication, can disconnect and being currently connected to LAN, be connected to Internet, communicate with described target device.
So will not be because of cannot be caused by LAN and the described target device communication specified can not be to it Be controlled or obtain data from it, it is possible to be big by network delay, ageing slightly worse Internet with The described target device specified communicates, and controls it or obtains data, plays guarantee communication available The effect of property.
Still as a example by possessing the intelligent watch connecting wireless lan function, if intelligent watch is currently connected to Its intelligent air condition to be communicated is there is not in WLAN one, and WLAN one, and wireless office Territory net two and WLAN three did not the most carry out lookup, then disconnect the LAN one being currently connected to, from WLAN two and WLAN three select a WLAN, such as WLAN two, sets up With the connection of WLAN two, return step S104 judges whether exist in the LAN being currently connected to Described intelligent air condition.
If be complete the lookup of the WLAN that may be connected to the most all to intelligent watch, namely complete Become WLAN one, WLAN two and the lookup of WLAN three, and at these three network The most do not find the intelligent air condition to be communicated, then, disconnect the wireless office that intelligent watch is currently connected to Territory net, if intelligent watch possesses outside the described function being connected to WLAN, is also equipped with passing through telecommunications network Network accesses the function of Internet, then be connected to Internet, and by Internet and institute The intelligent air condition stated communicates.Realize the control to intelligent air condition or obtain from intelligent air condition reception corresponding Data.
The method that the present embodiment provides, is preferably applied to intelligent watch and controls the intelligence including intelligent air condition Energy home equipment, it is also possible to be applied to any control equipment to any Smart Home including intelligent air condition The control of equipment, for the equipment of Smart Home, owing to present position is relatively concentrated, at same local Communicate in net and control can ensure the ageing of communication to greatest extent.
Use the method that the present embodiment provides, it is possible to search for all LANs being connectable to, preferentially utilize LAN communicates with target device, it is ensured that communication ageing.
A kind of method that second embodiment of the application provides network device communications, has been set up with equipment room In case of communication connection, its schematic flow sheet is as in figure 2 it is shown, comprise the following steps:
Step S201, obtains the request communicated with the target device specified, and the described target device specified is by setting Standby mark is determined.
The request communicated with target device is generally called generation by the operation of user or application program, for Complete corresponding functions of the equipments, as controlled the function of target device, connect such as mode of operation or from target device Receive parameter etc., need to set up communication connection with target device, send instruction and message, receive data, carry out Communication.
The present embodiment still with intelligent watch and intelligent home device, as a example by the communication between intelligent air condition, i.e. refers to Fixed target device is intelligent air condition, and intelligent watch obtains the control requirement to intelligent air condition from the operation of user, As changed mode of operation or modification parameter etc., these requirements need to be sent to intelligent air condition by instruction, Namely intelligent watch gets the request communicated with intelligent air condition.And for example reception is needed to take when intelligent watch The duty of intelligent air condition or some parameters, such as current mode of operation, during the index such as the temperature of setting, It is also required to communicate with intelligent air condition contact, at this moment, can get and corresponding intelligence from corresponding program The communication request of energy air-conditioning.
When intelligent watch needs to communicate with intelligent air condition, the request communicated with intelligent air condition obtained In include the device identification of intelligent air condition, the device identification of intelligent air condition can include the net such as intelligent air condition The MAC Address of card, the situation such as the title of intelligent air condition or the string number of intelligent air condition, so can basis The respective practical situation of different application, uses different device identifications neatly.
Step S202, is connected with the foundation of the described target device specified by Internet.
For needing the equipment communicated with each other by network, mostly possess and access Internet Function.Access the most universal mode of Internet and be through the data service function that communication network provides Access Internet.Due to communication network wide coverage, by the accessed Internet of communication network In most of the cases can realize the communication of equipment room.It is international mutually that described target device generally remains access The state of networking is to control equipment and controlling.Time to be in communication with, can be first coupled to international mutual Networking, establishes communication connection by Internet.
Intelligent watch described in the present embodiment and intelligent air condition can access world interconnection by communication network Net.Wherein intelligent air condition has accessed Internet, intelligent watch get communicate with intelligent air condition please After asking, access Internet by communication network, set up communication connection with intelligent air condition.
Step S203, asks for its LAN list being currently able to be connected to the described target device specified.
After setting up communication connection by Internet with described target device, can be by the world being connected to The Internet, sends instruction to target device and exchanges information therewith.This step sends instruction to target device, Instruction comprises and asks for the request of its LAN list being currently able to be connected to it.
Described LAN as it was previously stated, include cable LAN, WLAN or VLAN.Right In WLAN, both included that its WLAN that can detect that also included having preassigned service set WLAN, so can obtain the service set of the WLAN that target device may be connected to (SSID), it is simple to subsequent treatment.Due to lan device location the most relatively, it is beneficial to protect The actual effect transmitted and send between card message.
Such as, after intelligent watch sets up communication connection with described intelligent air condition, intelligent watch is by having built up Internet communication connect, use the form (e.g., agreement and content etc.) made an appointment with intelligent air condition, to Intelligent air condition sends instruction, asks for the list of its LAN being currently able to be connected to intelligent air condition.
Step S204, its receiving that the described target device specified sends is currently able to the local train that is connected to Table.
After target device receives the request asking for its LAN list being currently able to be connected to, according to oneself institute The practical situation of place's network environment, the office that oneself currently may be coupled to that is that oneself is stored or that detect The list of territory net sends.
Such as, what the intelligent air condition in previous step received that intelligent watch sends asks for it and is currently able to be connected to LAN list after, search the LAN list that currently may be connected to oneself stored or detect oneself List is generated after the LAN that currently may be coupled to, then by described list by the interconnection Netcom having built up Letter connects, and is sent to intelligent watch according to the form (such as agreement and content etc.) made an appointment with intelligent watch, Intelligent watch receives intelligent air condition by the internet communication that has built up and sends its that return and be currently able to connect The LAN list arrived.
When current attachable LAN is WLAN, in described list, comprise wireless local The service set (SSID) of net.
Step S205, it is judged that whether have in described LAN list that this equipment is currently able to be connected to is available LAN.
After receiving the list that target device transmission is returned, check the office whether this equipment is connectable in list Territory net.
Such as the LAN that is currently able to be connected to by this equipment of the LAN in list and this equipment storage one by one Comparison, if a certain LAN had both been present in the list that target device transmission is returned to have is present in this equipment oneself In the list stored, then it is believed that whether there is this equipment in described LAN list and be currently able to connect The available LAN arrived.Otherwise it is assumed that do not have what this equipment was currently able to be connected in described LAN list Available LAN.
Linking objective equipment can also be attempted one by one and send the LAN in the LAN list returned, if can It is connected to, then it is assumed that in described LAN list, whether there is the available local that this equipment is currently able to be connected to Net.Otherwise it is assumed that there is not the available LAN that this equipment is currently able to be connected in described LAN list.
For the intelligent watch described in previous step, receive intelligent air condition and send its company of being currently able to of returning After the LAN list received, the LAN in described LAN list can be currently able to intelligent watch LAN in the LAN list being connected to compares one by one, if certain LAN had both been present in Intelligent air Adjust and be currently able in the LAN list being connected to, be present in again the LAN that intelligent watch currently may be connected to In list, then may determine that for intelligent air condition send return its be currently able in the LAN list being connected to There is the available LAN that intelligent watch is currently able to be connected to.
Can also judge successively intelligent air condition send return its be currently able in the LAN list being connected to LAN, the most whether intelligent watch is able to detect that, can if being able to detect that and being present in intelligent watch In the LAN list being connected to, then may determine that for intelligent air condition send return its be currently able to connect LAN list memory is currently able to the available LAN being connected at intelligent watch.
Intelligent air condition is sent to its intelligent watch being currently able in the LAN list the being connected to inspection returned Do not detect, but its service set (SSID) is the attachable WLAN of this equipment, then can attempt Be attached, if can connect, then may determine that for intelligent air condition send return its be currently able to connect LAN list memory is currently able to the available LAN being connected at intelligent watch.
Step S206, if described LAN list memory is currently able to the available LAN being connected at this equipment, Then sending to the described target device specified asks it to be connected to the request of described available LAN.
When described LAN list memory is currently able to, at this equipment, the available LAN being connected to, Communicated to connect by the Internet that is currently connected to, according to form predetermined with target device in advance, to Target device sends instruction, asks it to be connected to the local that described equipment is capable to connect to target device Net.
The intelligent air condition received for intelligent watch sends the LAN list memory returned and works as at intelligent watch Before the situation of available LAN that is connectable to, then intelligent watch is by the Internet being currently connected to, Request is sent to intelligent air condition according to the form (such as agreement and content etc.) made an appointment with intelligent air condition, please Intelligent air condition is asked to be connected to described available LAN.Described available LAN is intelligent watch and intelligent air condition The LAN being currently capable to connect to.
Step S207, receives the confirmation message being connected to described available LAN that target device sends.
Target device receives after asking it to be connected to the request of described available LAN, is being connected to according to request Before described available LAN, communicated to connect by the Internet being currently connected to, send back confirmation message. By the Internet being currently connected to, receive this confirmation message, it can be ensured that target device carries out connection Preparation to described available LAN.So both sides may be connected to new network communicate without because of Network by being connected is different and causes broken communication connection.
After intelligent air condition receives request that intelligent watch sends it is connected to the request of described available LAN, first First pass through the Internet being currently connected to, to the confirmation message of request described in intelligent watch loopback.Then The Internet being currently connected to can be disconnected, be connected to the described available local that intelligent watch asks it to connect Net.
Intelligent watch receives intelligent air condition and is connected to intelligence hands by what the Internet being currently connected to sent The confirmation message of the request of the described available LAN specified by table.
Step S208, disconnects the connection with Internet, is connected to described available LAN.
Receive the confirmation message of target device, it is believed that target device has agreed to be connected to described available office Territory net, and have begun to be attached the operation of described available LAN, at this moment this equipment disconnect and currently connecting The Internet received, is connected to described available LAN, prepares with target device by described available office Territory net communicates.
After intelligent watch in previous step receives the confirmation message that intelligent air condition sends, confirm intelligent air condition Described available LAN will be connected to, disconnect and the connection of the Internet being currently connected to, be connected to The current intelligent watch asking intelligent air condition to connect in step S206 is described with what intelligent air condition was capable to connect to Available LAN.
Step S209, by described available LAN and the described target device communication specified.
After being connected to described available LAN, utilize corresponding procotol, set up communication with target device Connect, according to the form made an appointment with target device, be sent to instruction or accept data, communicating.
Intelligent watch in previous step all has been coupled to described with intelligent air condition by described available LAN After available LAN, utilize corresponding procotol, according to the form arranged in advance with intelligent air condition, start Communicate.So far, intelligent air condition can be controlled accordingly by intelligent watch according to the operation of user, Send instruction by described available LAN to intelligent air condition change its mode of operation or revise its running parameter etc.. Intelligent watch can also obtain duty or some parameters of intelligent air condition by described available LAN reception, Such as indexs such as current mode of operation, the temperature of setting, in order to user or application program use.
The method that the present embodiment provides, is preferably applied to intelligent watch and controls the intelligence including intelligent air condition Energy home equipment, it is also possible to be applied to any control equipment to any Smart Home including intelligent air condition The control of equipment, for the equipment of Smart Home, owing to present position is relatively concentrated, at same local Communicate in net and control can ensure the ageing of communication to greatest extent.
Use the method that the present embodiment provides, it is possible in the situation having been set up communication connection with target device Under, preferentially utilize LAN to communicate with target device, it is ensured that communication ageing.
The method provided with the application the second embodiment accordingly, the application the 3rd embodiment provide a kind of with The method of network device communications, has been set up in case of communication connection by equipment room, and brief description should Method, its schematic flow sheet is as it is shown on figure 3, comprise the following steps:
Step S301, receive that requestor sends asks for the LAN list that this equipment is currently able to be connected to Request.
In order to be communicated by LAN at equipment room, requestor can send and ask for Ben Sheben and be currently able to even The request of the list of the LAN received.The form that this request is made an appointment with both sides sends, and both sides can Understand and corresponding reaction can be made.After this equipment receives this request, understand according to own actual situation, Make corresponding reaction.
The present embodiment is still with intelligent watch and intelligent home device, as a example by the communication between intelligent air condition, i.e. originally Equipment is intelligent air condition, and requestor is that the situation of intelligent watch illustrates.
In the present embodiment, initial situation is that the network residing for intelligent air condition is not LAN but passes through communication network Access Internet, now receive request that requestor i.e. intelligent watch sent by Internet its The LAN list being currently able to be connected to is sent to the request of intelligent watch.
Described LAN includes cable LAN, WLAN or VLAN, and WLAN includes The WLAN that can detect that and the WLAN having preassigned service set.
Step S302, sends LAN list that this equipment is currently able to be connected to described requestor.
After receiving the request asking for the LAN list that this equipment is currently able to be connected to that requestor sends, root According to residing network environment and the practical situation of self, find described list or generate described list, and by it It is sent to requestor according to double forms putting agreement in advance.
Such as, after intelligent air condition receives the request that intelligent watch transmission comes, the network being presently according to oneself Practical situation, if the most once detecting current network environment and remaining with what oneself was connectable to The list of network, then according to the requirement of intelligent watch, by the network being currently connected to, such as Internet, The list of LAN being currently able to oneself be connected to is sent to intelligent watch.
If the most not remaining with the list of the LAN that current network conditions oneself is connectable to, then may be used With after the request receiving intelligent watch, detect and generate the local train that intelligent air condition is currently able to be connected to Table, then according to the requirement of intelligent watch, by the network being currently connected to, such as Internet, will be from The list of LAN that oneself is currently able to be connected to is sent to intelligent watch.
Step S303, this equipment of asking receiving described requestor transmission is connected to the request of the LAN specified, The described LAN specified is the LAN that this equipment is currently able to be connected to.
After requestor receives described list, can therefrom inquire about the most whether to exist currently oneself being connectable to Available LAN, if existing, can send instructions to this equipment by the network being currently both connected to, Instruction can be specified described available LAN, ask this equipment to be connected to this LAN specified.This equipment connects Receive this request.
Intelligent watch in previous step receives its LAN being currently able to be connected to that intelligent air condition sends After list, according to the practical situation of the network environment residing for oneself equipment, if finding oneself in described list It is currently able to the available LAN being connected to, then using described available LAN as the LAN specified, passes through Network that intelligent air condition is currently connected to, sends request intelligent air condition to intelligent air condition and is connected to described appointment The request of LAN.Detail is referred in the application the second embodiment relevant description.
Intelligent air condition receives, by the network that is currently connected to, request that intelligent watch sends, and it is connected to specify The request of LAN.
Step S304, sends the confirmation message of the request of LAN being connected to specify to described requestor.
After receiving the request of the LAN asking this equipment to be connected to specify that requestor sends, first confirm described The LAN specified in request instruction is the LAN in the LAN list that this equipment is currently able to be connected to, After confirmation, send confirmation message by the network being currently connected to described requestor, inform that requestor agrees to And promise to undertake and will be connected to the described LAN specified.
Intelligent air condition in previous step receives its LAN being connected to specify of request that intelligent watch sends After request, before the LAN being connected to described intelligence, first confirm its connection of request of intelligent air condition transmission The LAN specified is the LAN oneself being currently able to connect, i.e. the described LAN specified is present in step In the LAN list found or generate in rapid S302, then by the network being currently connected to, to smart mobile phone Send and confirm message.
Step S305, disconnects the connection of current network, and is connected to the described LAN specified.
After requestor sends confirmation message, the network being currently connected to can be disconnected, be connected to requestor institute The LAN specified, in order to communicate with requestor.
Intelligent air condition in previous step, by the network being currently connected to, sends to intelligent watch and confirms message After, disconnect the connection with current network, be connected to the LAN specified by intelligent watch.
Step S306, is communicated with described requestor by the described LAN specified.
After being connected to the LAN that described requestor specifies, communicate with described requestor and need both sides Setting up communication connection in the described LAN specified, either party now can actively initiate and the opposing party Write to each other, it is generally the case that first requestor can initiate to confirm with this equipment, confirm both sides all Have been coupled to its specified LAN, after this equipment is connected to the LAN that requestor specifies certainly, also Can actively initiate confirmation request person and be connected to the operation of the described LAN specified.Once confirm that both sides are current The communication being all connected between the both sides that same LAN, any application program or user operation trigger is the most permissible Achieve.
Such as, after the LAN specified by intelligent watch is connected to for the intelligent air condition in previous step, really Recognize intelligent watch and all have been coupled to the local specified by same LAN, i.e. intelligent watch with intelligent air condition Net, both sides can be communicated with intelligent watch by the described LAN specified.So far, intelligent air condition energy Enough by the described LAN specified, send instruction according to intelligent watch and carry out performing corresponding function as changed Mode of operation, modification parameter etc..Intelligent air condition can also pass through the described LAN specified, Xiang Zhi Relevant parameter can be sent, such as current mode of operation, temperature of setting etc., in order to intelligent watch by wrist-watch User or application program use.
The method that the present embodiment provides, is preferably applied to intelligent watch and controls the intelligence including intelligent air condition Energy home equipment, it is also possible to be applied to any control equipment to any Smart Home including intelligent air condition The control of equipment, for the equipment of Smart Home, owing to present position is relatively concentrated, at same local Communicate in net and control can ensure the ageing of communication to greatest extent.
The application also provides for the device embodiment the most corresponding with above-described embodiment, due to device embodiment base This is similar in appearance to embodiment of the method, so describing fairly simple, it is real that relevant part has seen corresponding method The part executing example illustrates.Device embodiment described below is only schematically.
With the application first embodiment accordingly, the application the 4th embodiment provides a kind of LA Management Room to lead to The device of letter, its structural representation is as shown in Figure 4.Including: acquiring unit U401, the first judging unit U402, Connecting unit U403, the second judging unit U404, communication unit U405, the 3rd judging unit U406 are with disconnected Open unit U407.
Described acquiring unit U401, for obtaining the request that communicates with the target device specified, described specifies Target device is determined by device identification.
Described first judging unit U402, is used for judging whether to be currently connected to LAN.
Described connection unit U403, if for being not currently connected to LAN, being then connected to one and may be connected to LAN and to first judging unit send enabling signal.
Described second judging unit U404, if for being currently connected to LAN, then judging be currently connected to LAN in whether there is the described target device specified.
Described communication unit U405, if for existing, then by the LAN being currently connected to and described appointment Target device communication.
Described 3rd judging unit U406, if for not existing, then judge whether to be complete to all even The lookup of the LAN received.
Described switching units U407, if for not completing the lookup to all LANs that may be connected to, then Disconnect the LAN being currently connected to and be connected to a LAN that may be connected to the most do not searched, and Enabling signal is sent to the second judging unit.
With the application the second embodiment accordingly, the application the 5th embodiment provides a kind of network device communications Device, its structural representation is as shown in Figure 5.Including: acquiring unit U501, Internet connection unit U502, Ask for unit U503, receive unit U504, it is judged that unit U505, request unit U506, confirmation unit U507, LAN connects unit U508 and LAN communication unit U509.
Described acquiring unit U501, for obtaining the request that communicates with the target device specified, described specifies Target device is determined by device identification.
Described Internet connection unit U502, for building with the described target device specified by Internet Vertical connection.
Described ask for unit U503, for asking for what it was currently able to be connected to the described target device specified LAN list.
Described reception unit U504, for receive the described target device specified send its be currently able to connect The LAN list arrived.
Whether described judging unit U505, exist this equipment in being used for judging described LAN list and be currently able to The available LAN being connected to.
Described request unit U506, if being currently able to be connected at this equipment for described LAN list memory Available LAN, then to the described target device specified send request its be connected to described available LAN Request.
Described confirmation unit U507, for receive target device send be connected to described available LAN really Recognize message.
Described LAN connects unit U508, for disconnecting and the connection of Internet, be connected to described can Use LAN.
Described LAN communication unit U509, for setting with the described target specified by described available LAN Standby communication.
With the application the 3rd embodiment accordingly, the application sixth embodiment provides a kind of logical with the network equipment The device of letter, its structural representation is as shown in Figure 6.Including: first receives unit U601, and first sends list Unit U602, second receives unit U603, the second transmitting element U604, connects unit U605 and communication unit U606。
Described first receives unit U601, and this equipment of asking for sent for receiving requestor is currently able to connect The request of the LAN list arrived.
Described first transmitting element U602, for send LAN list that this equipment is currently able to be connected to Described requestor.
Described second receives unit U603, and this equipment of request sent for receiving described requestor is connected to refer to The request of fixed LAN, the described LAN specified is the LAN that this equipment is currently able to be connected to.
Described second transmitting element U604, is connected to the confirmation message of the request of the LAN specified for transmission To described requestor.
Described connection unit U605, for disconnecting the connection of current network, and is connected to the described local specified Net.
Described communication unit U606, for communicating with described requestor by the described LAN specified.
Although the application is open as above with preferred embodiment, but it is not for limiting the application, Ren Heben Skilled person, without departing from spirit and scope, can make possible variation and amendment, Therefore the protection domain of the application should be defined in the range of standard with the application claim.
In a typical configuration, calculating equipment includes one or more processor (CPU), input/output Interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or the form such as Nonvolatile memory, such as read only memory (ROM) or flash memory (flash RAM). Internal memory is the example of computer-readable medium.
1, computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be by Any method or technology realize information storage.Information can be computer-readable instruction, data structure, journey The module of sequence or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), its The random access memory (RAM) of his type, read only memory (ROM), electrically erasable is read-only deposits Reservoir (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read only memory (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassette tape, tape magnetic rigid disk stores or other Magnetic storage apparatus or any other non-transmission medium, can be used for the information that storage can be accessed by a computing device. According to defining herein, computer-readable medium does not include non-temporary computer readable media (transitory Media), such as data signal and the carrier wave of modulation.
2, it will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer Program product.Therefore, the application can use complete hardware embodiment, complete software implementation or combine software Form with the embodiment of hardware aspect.And, the application can use and wherein include meter one or more The computer-usable storage medium of calculation machine usable program code (include but not limited to disk memory, CD-ROM, Optical memory etc.) form of the upper computer program implemented.

Claims (24)

1. a method for LA Management Room communication, is characterised by, comprises the following steps:
Obtaining the request communicated with the target device specified, the described target device specified is by device identification institute really Fixed;
Judge whether to be currently connected to LAN;
If being not currently connected to LAN, then it is connected to a LAN that may be connected to and return judges whether It is currently connected to the step of LAN;
If being currently connected to LAN, then judge whether to exist described appointment in the LAN being currently connected to Target device;
If existing, then by the LAN being currently connected to and the described target device communication specified;
If not existing, then judge whether to be complete the lookup to all LANs that may be connected to;
If not completing the lookup to all LANs that may be connected to, then disconnect the LAN being currently connected to And be connected to a LAN that may be connected to the most do not searched, and return and judge be currently connected to The step of the described target device specified whether is there is in LAN.
The method of LA Management Room the most according to claim 1 communication, it is characterised in that described equipment Mark includes: the media access control address of equipment, device name or equipment string number.
The method of LA Management Room the most according to claim 1 communication, it is characterised in that described even The LAN received includes: cable LAN, WLAN or VLAN.
The method of LA Management Room the most according to claim 3 communication, it is characterised in that described wireless LAN includes: the WLAN that can detect that.
The method of LA Management Room the most according to claim 3 communication, it is characterised in that described wireless LAN includes: preassigned the WLAN of service set.
LA Management Room the most according to claim 1 communication method, it is characterised in that also include with Lower step:
If being complete the lookup to all networks that may be connected to, then it is connected to Internet and passes through state The Internet, border and the described target device communication specified.
The method of LA Management Room the most according to claim 1 communication, it is characterised in that described judgement In the LAN being currently connected to, whether there is the described target device specified comprise the following steps:
Utilize address resolution protocol, Internet Control Message Protocol or Neighbor Discovery Protocol, to described current connection Sending the message of request response in the LAN arrived, connect in the LAN being currently connected to described in acquisition sets Standby response message;
Response message according to the equipment connected in the LAN being currently connected to got judges described working as Before whether there is the described target device specified in the network that is connected to.
8. the method communicated according to the LA Management Room described in claim 1-7 any one, it is characterised in that For controlling the equipment control to intelligent home device.
The method of LA Management Room the most according to claim 8 communication, it is characterised in that described control Equipment includes intelligent watch.
10. a method for network device communications, is characterised by, comprises the following steps:
Obtaining the request communicated with the target device specified, the described target device specified is by device identification institute really Fixed;
It is connected with the foundation of the described target device specified by Internet;
Its LAN list being currently able to be connected to is asked for the described target device specified;
Its receiving that the described target device specified sends is currently able to the LAN list that is connected to;
The available LAN that this equipment is currently able to be connected to whether is there is in judging described LAN list;
If described LAN list memory is currently able to the available LAN being connected at this equipment, then to described The target device specified sends asks it to be connected to the request of described available LAN;
Receive the confirmation message being connected to described available LAN that target device sends;
Disconnect the connection with Internet, be connected to described available LAN;
By described available LAN and the described target device communication specified.
The method of 11. network device communications according to claim 10, it is characterised in that described local Net includes cable LAN, WLAN or VLAN.
The method of 12. network device communications according to claim 11, it is characterised in that described wireless LAN includes: the WLAN that can detect that.
The method of 13. network device communications according to claim 11, it is characterised in that described wireless LAN includes: preassigned the WLAN of service set.
14. according to the method for the network device communications described in claim 10-13 any one, and its feature exists In, for controlling the equipment control to intelligent home device.
The method of 15. network device communications according to claim 14, it is characterised in that described control Equipment includes intelligent watch.
16. 1 kinds with the method for network device communications, be characterised by, comprise the following steps:
Receive the request asking for the LAN list that this equipment is currently able to be connected to that requestor sends;
Send LAN list that this equipment is currently able to be connected to described requestor;
This equipment of asking receiving described requestor transmission is connected to the request of the LAN specified, described appointment LAN be the LAN that this equipment is currently able to be connected to;
Send the confirmation message of the request of LAN being connected to specify to described requestor;
Disconnect the connection of current network, and be connected to the described LAN specified;
Communicated with described requestor by the described LAN specified.
17. methods with network device communications according to claim 16, it is characterised in that described office Territory net includes cable LAN, WLAN or VLAN.
18. methods with network device communications according to claim 17, it is characterised in that described nothing Line LAN includes: the WLAN that can detect that.
19. methods with network device communications according to claim 17, it is characterised in that described nothing Line LAN includes: preassigned the WLAN of service set.
20. according to the method with network device communications described in claim 16-19 any claim, its It is characterised by, for controlling the equipment control to intelligent home device.
The method of 21. network device communications according to claim 20, it is characterised in that described control Equipment includes intelligent watch.
The device of 22. 1 kinds of LA Management Room communications, is characterised by, including with lower unit:
Acquiring unit, for obtaining the request communicated with the target device specified, the described target device specified Determined by device identification;
First judging unit, is used for judging whether to be currently connected to LAN;
Connect unit, if for being not currently connected to LAN, being then connected to a LAN that may be connected to And send enabling signal to the first judging unit;
Second judging unit, if for being currently connected to LAN, then judging at the LAN being currently connected to The most whether there is the described target device specified;
Communication unit, if for existing, then the LAN by being currently connected to sets with the described target specified Standby communication;
3rd judging unit, if for not existing, then judging whether to be complete all offices that may be connected to The lookup of territory net;
Switching units, if for not completing the lookup to all LANs that may be connected to, then disconnecting current The LAN that is connected to also is connected to a LAN that may be connected to the most do not searched, and sentence to second Disconnected unit sends enabling signal.
The device of 23. 1 kinds of network device communications, is characterised by, including with lower unit:
Acquiring unit, for obtaining the request communicated with the target device specified, the described target device specified Determined by device identification;
Internet connection unit, for being connected with the foundation of the described target device specified by Internet;
Ask for unit, for asking for its local train being currently able to be connected to the described target device specified Table;
Receive unit, be currently able to, for its receiving that the described target device specified sends, the local that is connected to Train table;
Whether judging unit, exist what this equipment was currently able to be connected in judge described LAN list Available LAN;
Request unit, if being currently able to the available office being connected to for described LAN list memory at this equipment Territory net, then send to the described target device specified and ask it to be connected to the request of described available LAN;
Confirmation unit, for receiving the confirmation message being connected to described available LAN that target device sends;
LAN connects unit, for disconnecting the connection with Internet, is connected to described available LAN;
LAN communication unit, for by described available LAN and the described target device communication specified.
24. 1 kinds with the device of network device communications, be characterised by, including with lower unit:
First receive unit, for receive requestor send ask for the local that this equipment is currently able to be connected to The request of train table;
First transmitting element, for sending LAN list that this equipment is currently able to be connected to described request Person;
Second receives unit, and this equipment of asking sent for receiving described requestor is connected to the local specified The request of net, the described LAN specified is the LAN that this equipment is currently able to be connected to;
Second transmitting element, the confirmation message of the request being used for the LAN that transmission is connected to specify is asked to described The person of asking;
Connect unit, for disconnecting the connection of current network, and be connected to the described LAN specified;
Communication unit, for communicating with described requestor by the described LAN specified.
CN201610260094.5A 2016-04-25 2016-04-25 Network equipment communication method and device and network equipment communication method and device Active CN105959906B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610260094.5A CN105959906B (en) 2016-04-25 2016-04-25 Network equipment communication method and device and network equipment communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610260094.5A CN105959906B (en) 2016-04-25 2016-04-25 Network equipment communication method and device and network equipment communication method and device

Publications (2)

Publication Number Publication Date
CN105959906A true CN105959906A (en) 2016-09-21
CN105959906B CN105959906B (en) 2020-03-24

Family

ID=56915163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610260094.5A Active CN105959906B (en) 2016-04-25 2016-04-25 Network equipment communication method and device and network equipment communication method and device

Country Status (1)

Country Link
CN (1) CN105959906B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107995154A (en) * 2016-10-26 2018-05-04 九阳股份有限公司 A kind of intelligent appliance distribution method of controlling security
CN112262560A (en) * 2018-06-03 2021-01-22 苹果公司 User interface for updating network connection settings of an external device
CN112335275A (en) * 2018-07-13 2021-02-05 华为技术有限公司 Access right control method of terminal
US11157234B2 (en) 2019-05-31 2021-10-26 Apple Inc. Methods and user interfaces for sharing audio
US11301130B2 (en) 2019-05-06 2022-04-12 Apple Inc. Restricted operation of an electronic device
CN115001886A (en) * 2022-04-29 2022-09-02 青岛海尔科技有限公司 Equipment control method and device and electronic equipment
US11539831B2 (en) 2013-03-15 2022-12-27 Apple Inc. Providing remote interactions with host device using a wireless device
US11604571B2 (en) 2014-07-21 2023-03-14 Apple Inc. Remote user interface
US11609681B2 (en) 2014-09-02 2023-03-21 Apple Inc. Reduced size configuration interface

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378303A (en) * 2010-08-26 2012-03-14 中国移动通信有限公司 Method and device for selecting WIFI (Wireless Fidelity) access point to access to network
CN102752748A (en) * 2012-06-26 2012-10-24 中国联合网络通信集团有限公司 Data transmission method and system based on mobile terminal and mobile terminal
CN104410648A (en) * 2014-12-18 2015-03-11 北京奇虎科技有限公司 LAN (local area network) based VoIP (Voice over Internet Protocol) communication method, system and communication terminal
CN105451368A (en) * 2014-08-27 2016-03-30 华为技术有限公司 Communication method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378303A (en) * 2010-08-26 2012-03-14 中国移动通信有限公司 Method and device for selecting WIFI (Wireless Fidelity) access point to access to network
CN102752748A (en) * 2012-06-26 2012-10-24 中国联合网络通信集团有限公司 Data transmission method and system based on mobile terminal and mobile terminal
CN105451368A (en) * 2014-08-27 2016-03-30 华为技术有限公司 Communication method and apparatus
CN104410648A (en) * 2014-12-18 2015-03-11 北京奇虎科技有限公司 LAN (local area network) based VoIP (Voice over Internet Protocol) communication method, system and communication terminal

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11539831B2 (en) 2013-03-15 2022-12-27 Apple Inc. Providing remote interactions with host device using a wireless device
US12093515B2 (en) 2014-07-21 2024-09-17 Apple Inc. Remote user interface
US11604571B2 (en) 2014-07-21 2023-03-14 Apple Inc. Remote user interface
US11609681B2 (en) 2014-09-02 2023-03-21 Apple Inc. Reduced size configuration interface
CN107995154A (en) * 2016-10-26 2018-05-04 九阳股份有限公司 A kind of intelligent appliance distribution method of controlling security
CN112262560B (en) * 2018-06-03 2021-07-13 苹果公司 Method, electronic device, and non-transitory computer-readable storage medium for updating user interface of network connection settings of external device
CN112262560A (en) * 2018-06-03 2021-01-22 苹果公司 User interface for updating network connection settings of an external device
CN112335275A (en) * 2018-07-13 2021-02-05 华为技术有限公司 Access right control method of terminal
US11340778B2 (en) 2019-05-06 2022-05-24 Apple Inc. Restricted operation of an electronic device
US11301130B2 (en) 2019-05-06 2022-04-12 Apple Inc. Restricted operation of an electronic device
US11157234B2 (en) 2019-05-31 2021-10-26 Apple Inc. Methods and user interfaces for sharing audio
US11714597B2 (en) 2019-05-31 2023-08-01 Apple Inc. Methods and user interfaces for sharing audio
CN115001886A (en) * 2022-04-29 2022-09-02 青岛海尔科技有限公司 Equipment control method and device and electronic equipment

Also Published As

Publication number Publication date
CN105959906B (en) 2020-03-24

Similar Documents

Publication Publication Date Title
CN105959906A (en) Inter-network device communication method and inter-network device communication method
CN106535238B (en) Link switching method and device
US9008041B2 (en) Processing method supporting handover, communication apparatus, and communication system
TW595159B (en) Load balancing method of wireless local area network
CN106789468A (en) A kind of appliances equipment control method and system based on intelligent terminal
CN112953774B (en) Network topology generation method, system, equipment and computer storage medium
CN103650424A (en) Implementation method and server of home gateway service function
CN105228150A (en) A kind of mobile device carries out the method and apparatus of relaying
CN104902532A (en) A method and system for automatically accessing wireless local area network
CN106255089B (en) A kind of method and apparatus of radio three layer roaming
CN105227693A (en) The collocation method of a kind of DNS of mobile device and device
WO2018192264A1 (en) Configuration method and device for relay communication
CN104918302B (en) A kind of method and wireless sound box for building wireless mesh network
CN105553808A (en) Wireless network bridging method, smart home device and router
CN106713522A (en) Wireless fidelity (Wi-Fi) connection method and mobile terminal
CN104580029A (en) Address distribution method and device
CN104967572B (en) Network Access Method, device and equipment
CN103259671B (en) The method of automatic logging in chat room, device, electronic equipment and chat room server
CN107534917A (en) Switching method, main equipment, slave unit and system in a kind of master-slave type network
CN106937405A (en) Control method and device of intelligent equipment and network connection method and system
CN103987098A (en) Method and system for switching between IPV4 network and IPV6 network
CN108124301A (en) A kind of connection method of wireless aps and its system
CN104717640A (en) Realization method for wireless network communication based on positioning
CN102045317B (en) Realize the method for multi-party communication, Apparatus and system
CN104283720A (en) Dialing method and system applied to mobile Internet and user device

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