The content of the invention
The embodiment of the present invention is to provide a kind of method and device for controlling intelligent appliance to network, it is to avoid due to a large amount of transmissionsThe information leakage risk that broadcast message may be brought, effectively selection send the household electrical appliances quantity of inbound information, improve networking success rate.
To achieve these goals, the embodiment of the present invention provides a kind of method for controlling intelligent appliance to network, including:
Obtain the identity information for treating networking intelligent appliance;
It is determined that the affiliated area for treating networking intelligent appliance;
Judge in the affiliated area with the presence or absence of the intelligent appliance that networked;
When there is networking intelligent appliance in the affiliated area, the first networking intelligent appliance for specifying number is notifiedTreat that networking intelligent appliance sends inbound information to described, described to treat that networking intelligent appliance enters according to the inbound informationNet.
Further, methods described also includes:When networking intelligent appliance is not present in the affiliated area, notify adjacentThe second of near field specifies the intelligent appliance of networking of number to treat that networking intelligent appliance sends inbound information to described, to causeState and treat that networking intelligent appliance networks according to the inbound information.
Further, methods described also includes:Receiving area division information, the corresponding region of the partition information isThe intelligent appliance of networking and the region treated where networking intelligent appliance.
Further, the partition information is the information divided according to regional function to region.
Further, treat that the affiliated area of networking intelligent appliance includes described in the determination:By receiving user inputDesignated area, the affiliated area for treating networking intelligent appliance is defined as by the designated area.
Further, methods described also includes:When receive it is described whne the message that networking intelligent appliance successfully networks when, it is logicalKnow to the intelligent appliance of networking for treating networking intelligent appliance transmission inbound information and no longer send inbound information.
Further, methods described also includes:Timer is set to start timing;When the timer arrival stipulated time,Do not receive it is described when the message that networking intelligent appliance successfully networks, notify the intelligent appliance of networking of the 3rd specified number toIt is described to treat that networking intelligent appliance sends inbound information.
The embodiment of the present invention also provides a kind of device for controlling intelligent appliance to network, including:
Acquiring unit, the identity information of networking intelligent appliance is treated for obtaining;
Determining unit, for determining the affiliated area for treating networking intelligent appliance;
Judging unit, for judging in the affiliated area with the presence or absence of the intelligent appliance that networked;
Notification unit, for when there is networking intelligent appliance in the affiliated area, notifying first to specify numberNetworking intelligent appliance treats that networking intelligent appliance sends inbound information to described, described to treat networking intelligent appliance according to instituteState inbound information networking.
Further, the notification unit, is additionally operable to, when networking intelligent appliance is not present in the affiliated area, lead toKnow that the second of adjacent domain specifies the intelligent appliance of networking of number to treat that networking intelligent appliance sends inbound information to described, so thatTreat that networking intelligent appliance networks according to the inbound information described in obtaining.
Further, described device also includes:Receiving unit, for receiving area division information, the region division letterIt is networking intelligent appliance and the region treated where networking intelligent appliance to cease corresponding region.
Further, the partition information is the information divided according to regional function to region.
Further, the determining unit, is additionally operable to receive the designated area of user input by the receiving unit, willThe designated area is defined as the affiliated area for treating networking intelligent appliance.
Further, the receiving unit, is additionally operable to treat the message that networking intelligent appliance successfully networks described in reception;It is describedNotification unit, be additionally operable to when the receiving unit receive it is described whne the message that networking intelligent appliance successfully networks when, notify toThe intelligent appliance of networking for treating networking intelligent appliance transmission inbound information no longer sends inbound information.
Further, described device also includes:Setting unit, for setting timer to start timing;The notification unit,It is additionally operable to when the timer reaches the stipulated time, the receiving unit, which is not received, described treats that networking intelligent appliance successfully networksMessage when, notify the 3rd specify number the intelligent appliance of networking to it is described treat networking intelligent appliance send inbound information.
By above-mentioned technical proposal, obtaining after after the identity information of networking intelligent appliance, it is determined that described wait the intelligence that networksThe affiliated area of household electrical appliances, by way of same region, networking intelligent appliance sends inbound information, is ensureing quickly to network successfullyWhile rate, the intelligent appliance quantity for sending inbound information is effectively reduced, reduces expense, it is to avoid because a large amount of send networksThe information leakage risk that information may be brought.
Other features and advantages of the present invention will be described in detail in subsequent embodiment part.
Embodiment
The embodiment of the present invention is described in detail below in conjunction with accompanying drawing.It should be appreciated that this place is retouchedThe embodiment stated is merely to illustrate and explain the present invention, and is not intended to limit the invention.
The embodiment of the present invention provides a kind of method for controlling intelligent appliance to network, and the executive agent of this method is mobile phone or flatAPP (Application, application program) on the smart machines such as plate, as shown in figure 1, methods described includes:
101st, the identity information for treating networking intelligent appliance is obtained.
APP can obtain the identity information for treating networking intelligent appliance by a kind of achievable medium means, for example can be withBy sound, image or short message etc., such as it can be obtained by way of scanning Quick Response Code and treat networking intelligent applianceIdentity information.
102nd, the affiliated area of networking intelligent appliance is treated described in determining.
Before/after APP management networking intelligent appliances/simultaneously, can be by receiving area division information come to placeRegion is divided, and the networking intelligent appliance is in the corresponding region of the partition information and described waits the intelligent family that networksRegion where electricity.Due to there is wall in room, wireless signal can decay because of the presence of wall, therefore the regionDivision information is the information divided according to regional function to region, for example, according to features such as kitchen, bedroom, parlorsDivide room area.Above-mentioned zone can certainly be refined, for example, parlor is further subdivided into several regions, above-mentioned areaDomain divides and can independently selected on APP by user.
Furthermore it is possible to the designated area by receiving user input, the designated area is defined as described to treat networking intelligenceThe affiliated area of energy household electrical appliances.User can treat that networking intelligent appliance is assigned to phase on APP by got identity informationThe region answered, the region with it is described treat networking intelligent appliance where physical region it is corresponding, user can by menu setecting orThe selection modes such as interface dragging, treat the affiliated area of networking intelligent appliance, above-mentioned selection mode and APP on APP described in determinationInterface is related, can be realized, not limited herein by actual APP interface.
103rd, judge in the affiliated area with the presence or absence of the intelligent appliance that networked;
104th, when there is networking intelligent appliance in the affiliated area, the first intelligence of networking for specifying number is notifiedHousehold electrical appliances treat that networking intelligent appliance sends inbound information to described, described to treat networking intelligent appliance according to the inbound informationNetwork.
Wherein, described first the number is specified can be needed to set according to user, in order to ensure described to treat networking intelligent applianceInbound information can be successfully received, described first specifies number to be at least 2, can be 3, but in order to avoid bringing notNecessary information redundancy and instantaneous congestion, the described first specified number can not be excessive.
In addition, identical data are carried in the inbound information, such as Wi-Fi titles and password.APP can pass through officeDomain net or wide area network notify that networking intelligent appliance treats that networking intelligent appliance sends inbound information to described, does not limit herein.
By the above method, networking intelligent appliance and the described first networking intelligent appliance for specifying number are treated due to describedIn same open area, therefore the signal received each other can be stronger, and information errors rate is also lower, described to treat networking intelligenceEnergy household electrical appliances only exist in listening mode to receive inbound information, without broadcast self information.
In addition, as shown in Fig. 2 methods described also includes:
105th, when networking intelligent appliance is not present in the affiliated area, notify that the second of adjacent domain specifies numberThe intelligent appliance of networking treat that networking intelligent appliance sends inbound information to described, with cause it is described treat networking intelligent appliance according toThe inbound information networks.
, can be according to random original when described when networking intelligent appliance is not present in networking intelligent appliance affiliated areaThen, either nearby principle or according to certain sequential selection adjacent domain second specify number networking intelligent appliance, canThe networking intelligent appliance of number is specified with same regional choice second, can also network intelligent family in different zones selectionElectricity, above-mentioned selection mode is not limited, and can freely be set on APP by user.Described second specify number can according toFamily needs to set, in order to ensure it is described treat that networking intelligent appliance can be successfully received inbound information, described second specifies numberAt least 2, can be 3, but in order to avoid bringing unnecessary information redundancy and instantaneous congestion, described second specifiesNumber can not be excessive.
In addition, when described after networking intelligent appliance successfully networks, it is described to treat that networking intelligent appliance be sent to the APPThe message that success networks, or the message successfully networked is sent to router, then send the success from router to the APPThe message of networking, the above-mentioned processing for referring to notify APP or router after networking intelligent appliance successfully networks in the prior artMode.When the APP receive it is described whne the message that networking intelligent appliance successfully networks when, notify to wait the intelligent family that networks to describedElectricity send inbound information the intelligent appliance of networking no longer send inbound information, wherein, this networking intelligent appliance be with it is describedNetworking intelligent appliance is treated in the first of the same area networking intelligent appliance for specifying number, or to wait the intelligence that networks with describedHousehold electrical appliances are in the second of the non-the same area networking intelligent appliance for specifying number.
In addition, timer can be set on the APP, and after step 104 or step 105 is performed, the timerStart timing, when the timer reaches the stipulated time, APP is not received yet described treats that what networking intelligent appliance successfully networked disappearsDuring breath, the 3rd is notified to specify the intelligent appliance of networking of number to treat that networking intelligent appliance sends inbound information to described.Wherein, instituteStating the intelligent appliance of networking of the 3rd specified number can be and the networking intelligence for treating networking intelligent appliance in the same areaCan household electrical appliances or with the networking intelligent appliance for treating networking intelligent appliance in non-the same area, do not limit herein.
In addition, optional, it is described after networking intelligent appliance after successfully networking, can be sent by the form of broadcast messageThe message that success networks, to notify no longer to send out to the intelligent appliance of networking for treating networking intelligent appliance transmission inbound informationSend inbound information.
In addition, to it is described treat networking intelligent appliance send inbound information the intelligent appliance of networking on may also set up timingDevice, when the intelligent appliance of networking to it is described whne networking intelligent appliance send inbound information when, the timer starts timing,When the timer reaches the stipulated time, the intelligent appliance of networking, which still fails to receive, described treats that networking intelligent appliance is broadcastedSuccessful networking message when, stop send inbound information.
For a further understanding of the embodiment of the present invention, according to region division as shown in Figure 3, wherein, including parlor, kitchenAnd study, parlor includes networking intelligent appliance 1 and 2, and kitchen includes networking intelligent appliance 3, and study includes having enteredNet intelligent appliance 4, and neighbours region, and APP is provided, networking intelligent appliance is treated and the interaction signal of networking intelligent applianceFigure, as shown in figure 4, methods described comprises the following steps:
401st, APP, which is obtained, treats networking intelligent appliance identity information.
It is described to treat that networking intelligent appliance is household electrical appliances 0 with reference to shown in Fig. 3.
402nd, the affiliated area of networking intelligent appliance is treated described in APP determinations.
With reference to shown in Fig. 3, the region of household electrical appliances 0 is parlor.
403rd, judge in the affiliated area with the presence or absence of the intelligent appliance that networked;
404th, when there is networking intelligent appliance in the affiliated area, the first intelligence of networking for specifying number is notifiedHousehold electrical appliances treat that networking intelligent appliance sends inbound information to described;
405th, networking intelligent appliance treats that networking intelligent appliance sends inbound information to described.
Due to there is networking intelligent appliance 1 and 2 in parlor, thus notify networking intelligent appliance 1 and 2 to it is described treat intoNet intelligent appliance sends inbound information, wherein, the inbound information carries identical data.
Because intelligent appliance 0,1,2 is in same open area, the signal received each other is stronger, information errors rateIt is low, and treat networking intelligent appliance 0 only need be in listening mode, without broadcast self information, in addition, intelligent appliance 1 and 2 away fromFarther from neighbour's, the monitored probability of transmitted inbound information is also lower.
If so, when networking intelligent appliance is not present in the affiliated area whne networking intelligent appliance, then referring to Fig. 2 institutesThe step 105 shown, notifies the second of adjacent domain to specify the intelligent appliance of networking of number to treat that networking intelligent appliance is sent out to describedInbound information is sent, here is omitted.
406th, it is described to treat that networking intelligent appliance successfully networks according to the inbound information;
407th, it is described to treat that networking intelligent appliance sends the message successfully networked;
408th, the message that networking intelligent appliance successfully networks is treated described in APP receptions;
409th, APP notifies no longer to transmit into the intelligent appliance of networking for treating networking intelligent appliance transmission inbound informationNet information;
410th, networking intelligent appliance no longer treats that networking intelligent appliance sends inbound information to described.
Networking intelligent appliance can be directly by treating disappearing for the successful networking that networking intelligent appliance is sent described in receptionAfter breath, stop no longer sending out to the notice for treating that networking intelligent appliance sends inbound information or sent by receiving APPInbound information is sent, two ways is not limited herein.
Networking intelligent appliance region and networking intelligent appliance region are treated by being specified on APP, same region intelligence is realizedQuick networking between energy household electrical appliances, while the intelligent appliance quantity by effectively selecting transmission inbound information, increase networks successfullyRate, reduces inbound information disclosure risk.
Accordingly, the embodiment of the present invention also provides a kind of device for controlling intelligent appliance to network, as shown in figure 5, the dressPut including:
Acquiring unit 51, the identity information of networking intelligent appliance is treated for obtaining;
Determining unit 52, for determining the affiliated area for treating networking intelligent appliance;
Judging unit 53, for judging in the affiliated area with the presence or absence of the intelligent appliance that networked;
Notification unit 54, for when there is networking intelligent appliance in the affiliated area, notifying first to specify numberThe intelligent appliance of networking treat that networking intelligent appliance sends inbound information to described, with cause it is described treat networking intelligent appliance according toThe inbound information networks.
Further, the notification unit 54, is additionally operable to when networking intelligent appliance is not present in the affiliated area,The second of adjacent domain is notified to specify the intelligent appliance of networking of number to treat that networking intelligent appliance sends inbound information to described, withSo that described treat that networking intelligent appliance networks according to the inbound information.
Further, as shown in fig. 6, described device also includes:Receiving unit 61, for receiving area division information, instituteIt is networking intelligent appliance and the region treated where networking intelligent appliance to state the corresponding region of partition information.ItsIn, the partition information is the information divided according to regional function to region.
Further, the determining unit 52, is additionally operable to receive the designated area of user input by the receiving unit,The designated area is defined as the affiliated area for treating networking intelligent appliance.
Further, the receiving unit 61, is additionally operable to treat the message that networking intelligent appliance successfully networks described in reception;InstituteState notification unit 54, be additionally operable to when the receiving unit receive it is described whne the message that networking intelligent appliance successfully networks when, it is logicalKnow to the intelligent appliance of networking for treating networking intelligent appliance transmission inbound information and no longer send inbound information.
Further, as shown in fig. 7, described device also includes:
Setting unit 71, for setting timer to start timing;The notification unit 54, is additionally operable to when the timer is arrivedUp to the stipulated time, the receiving unit does not receive described when the message that networking intelligent appliance successfully networks, and notifies the 3rd fingerThe intelligent appliance of networking for determining number treats that networking intelligent appliance sends inbound information to described.
On the device in above-described embodiment, wherein unit performs the concrete mode of operation in methodIt is described in detail in embodiment, explanation will be not set forth in detail herein.
The preferred embodiment of the present invention is described in detail above in association with accompanying drawing, still, the present invention is not limited to above-mentioned realityThe detail in mode is applied, in the range of the technology design of the present invention, a variety of letters can be carried out to technical schemeMonotropic type, these simple variants belong to protection scope of the present invention.
It is further to note that each particular technique feature described in above-mentioned embodiment, in not lanceIn the case of shield, it can be combined by any suitable means.In order to avoid unnecessary repetition, the present invention to it is various canThe combination of energy no longer separately illustrates.
In addition, various embodiments of the present invention can be combined randomly, as long as it is without prejudice to originallyThe thought of invention, it should equally be considered as content disclosed in this invention.