CN106789465A - Method and device, the electronic equipment of scene switching - Google Patents

Method and device, the electronic equipment of scene switching Download PDF

Info

Publication number
CN106789465A
CN106789465A CN201611179276.6A CN201611179276A CN106789465A CN 106789465 A CN106789465 A CN 106789465A CN 201611179276 A CN201611179276 A CN 201611179276A CN 106789465 A CN106789465 A CN 106789465A
Authority
CN
China
Prior art keywords
user
user account
users
groups
radio network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611179276.6A
Other languages
Chinese (zh)
Inventor
贾伟光
孙永利
侯恩星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201611179276.6A priority Critical patent/CN106789465A/en
Publication of CN106789465A publication Critical patent/CN106789465A/en
Pending legal-status Critical Current

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]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network

Abstract

The disclosure is directed to method and device, the electronic equipment of a kind of switching of scene.Wherein, methods described includes:It is determined that the groups of users for including at least two user accounts corresponding with target radio network;When the first notification message of the user equipment from the user account in logging in the groups of users is received, determine that the user account is in state of leaving home, wherein first notification message is used to indicate the user equipment to be disconnected with the target radio network;At least two user account included in the groups of users be in leaving home state when, at least one control equipment to be controlled corresponding with the target radio network is placed in scene mode of leaving home.It can be seen that, realize that the scene for treating control device is controlled by said process, the accuracy that multi-user family is controlled the scene mode of the control equipment to be controlled of the family by server and user equipment is improve, and greatly improve the experience of user.

Description

Method and device, the electronic equipment of scene switching
Technical field
This disclosure relates to smart home field, more particularly to method and device, the electronic equipment that a kind of scene switches.
Background technology
With continuing to develop for smart home, user can connect corresponding server (example by user equipmenies such as mobile phones Such as smart home Platform Server, immediate communication platform server) realize treating control device (such as air-conditioning, intelligent lamp, electricity Depending on etc.) scene mode control.Scene mode can be including scene mode of for example going home, scene mode etc. of leaving home.Work as user Startup go home scene mode when, control equipment to be controlled will be opened, for example the opening of air-conditioning, intelligent lamp, TV etc..Accordingly, open It is dynamic leave home scene mode when, just can close air-conditioning, intelligent lamp, TV etc..In correlation technique, one family can only set one User equipment to realize the control of the scene mode to the control equipment to be controlled of the family, when family's user number is two or more When, only then the scene mode of the control equipment to be controlled of the family cannot accurately be controlled by a user equipment, and greatly The big Consumer's Experience that have impact on multi-user family.
The content of the invention
To overcome problem present in correlation technique, the embodiment of the present disclosure provide a kind of method and device of scene switching, Electronic equipment.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method of scene switching, including:
It is determined that the groups of users for including at least two user accounts corresponding with target radio network;
When the first notification message of the user equipment from the user account in logging in the groups of users is received, really The fixed user account is in state of leaving home;Wherein, first notification message is used to indicate the user equipment with the mesh Mark wireless network is disconnected;
At least two user account included in the groups of users be in leaving home state when, will be with the target Corresponding at least one control equipment to be controlled of wireless network is placed in scene mode of leaving home.
In one embodiment, methods described also includes:
When receiving from the second notification message of the user equipment of user account in logging in the groups of users, it is determined that The user account is in and is in state, wherein the second notification message be used to indicating the user equipment and the target without Line network recovery is connected;
When at least one of described at least two user account is in and is in state, will be with the target radio network Corresponding at least one control equipment to be controlled is placed in scene mode of going home.
In one embodiment, methods described also includes:
When the unlocking event notice that Fingerprint Lock corresponding with the target radio network sends is received, will be with the mesh Corresponding at least one control equipment to be controlled of mark wireless network is placed in scene mode of going home.
In one embodiment, methods described also includes:
When the user equipment of the user account in logging in the groups of users uses mobile communications network, the use is obtained The positional information of family equipment;
When the corresponding geographical position of the positional information is in predeterminable area corresponding with the target radio network, Determine that the user account is in state of being in, be not in and the Target Wireless in the corresponding geographical position of the positional information When in the corresponding predeterminable area of network, determine that the user account is in state of leaving home.
In one embodiment, it is described to determine the customer group for including at least two user accounts corresponding with target radio network Group, including:
Receiving from the first user equipment for logging in first user account for second user account to be added to During the request of groups of users, prompting message is sent to the second user equipment for logging in the second user account;
It is described for pointing out agreement to be added to from the second user equipment for logging in second user account receiving After the instruction of groups of users, the first user account and the second user account are added to corresponding with target radio network Groups of users in.
In one embodiment, at least two user account included in the groups of users is in shape of leaving home During state, at least one control equipment to be controlled corresponding with the target radio network is placed in scene mode of leaving home, including:
At least two user account included in the groups of users be in leaving home state when, determine current time Whether be in allows to be placed in the preset time period of scene mode of leaving home;
When being in the preset time period at current time, corresponding with the target radio network at least one will treat Control device is placed in scene mode of leaving home.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of device for changing scenes, including:
First determining module, for determining the customer group for including at least two user accounts corresponding with target radio network Group;
Second determining module, for receiving the user equipment from the user account in logging in the groups of users During the first notification message, determine that the user account is in state of leaving home;Wherein, first notification message is described for indicating User equipment is disconnected with the target radio network;
First scene handover module, at least two user account for being included in the groups of users be in from During family's state, at least one control equipment to be controlled corresponding with the target radio network is placed in scene mode of leaving home.
In one embodiment, described device also includes:
3rd determining module, for receiving from the user equipment of user account in logging in the groups of users the During two notification messages, determine that the user account is in state of being in, wherein the second notification message is used to indicate the use Family equipment is recovered to be connected with the target radio network;
Second scene handover module, for being in state of being at least one of described at least two user account When, at least one control equipment to be controlled corresponding with the target radio network is placed in scene mode of going home.
In one embodiment, described device also includes:
3rd scene handover module, for receiving the unlocking that Fingerprint Lock corresponding with the target radio network sends When event is notified, at least one control equipment to be controlled corresponding with the target radio network is placed in scene mode of going home.
In one embodiment, described device also includes:
Acquisition module, the user equipment for the user account in the groups of users is logged in uses mobile communications network When, obtain the positional information of the user equipment;
4th determining module, for being in and the target radio network pair in the corresponding geographical position of the positional information When in the predeterminable area answered, determine that the user account is in state of being in, in the corresponding geographical position of the positional information not When in predeterminable area corresponding with the target radio network, determine that the user account is in state of leaving home.
In one embodiment, it is described to determine the customer group for including at least two user accounts corresponding with target radio network Group, including:
Sending submodule, for receiving from the first user equipment for logging in first user account for by second When user account is added to the request of groups of users, sends prompting to the second user equipment for logging in the second user account and disappear Breath;
Addition submodule, for receiving from the second user equipment for logging in second user account for pointing out together After meaning is added to the instruction of the groups of users, the first user account and the second user account are added to and mesh In the corresponding groups of users of mark wireless network.
In one embodiment, the first scene handover module includes:
Determination sub-module, at least two user account for being included in the groups of users is in the state of leaving home When, determining whether current time is in allows to be placed in the preset time period of scene mode of leaving home;
Scene switching submodule, for current time be in the preset time period in when, will be with the Target Wireless Corresponding at least one control equipment to be controlled of network is placed in scene mode of leaving home.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of electronic equipment, including:
Processor and the memory for storing processor-executable instruction;
Wherein, the processor is configured as:
It is determined that the groups of users for including at least two user accounts corresponding with target radio network;
When the first notification message of the user equipment from the user account in logging in the groups of users is received, really The fixed user account is in state of leaving home;Wherein, first notification message is used to indicate the user equipment with the mesh Mark wireless network is disconnected;
At least two user account included in the groups of users be in leaving home state when, will be with the target Corresponding at least one control equipment to be controlled of wireless network is placed in scene mode of leaving home.
The technical scheme provided by this disclosed embodiment can include the following benefits:
For multi-user family, can by determine it is corresponding with the target radio network of the family include at least two this The groups of users of the user account of domestic consumer;In the user equipment from the user account in the groups of users for receiving During message, whether the user account is determined in state of leaving home according to the message for receiving, and then in the groups of users Multiple user accounts be in leaving home state when, switch to scene mode of leaving home.It can be seen that, the disclosure is realized for multi-user Scene switching, improve the experience of user.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows and meets implementation of the invention Example, and be used to explain principle of the invention together with specification.
Figure 1A is a kind of flow chart of the method for scene switching according to an exemplary embodiment;
Figure 1B is a kind of one of scene graph of method of scene switching according to an exemplary embodiment;
Fig. 1 C are the two of the scene graph of the method for a kind of scene switching according to an exemplary embodiment;
Fig. 1 D are the three of the scene graph of the method for a kind of scene switching according to an exemplary embodiment;
Fig. 2 is the flow chart of the method for another scene switching according to an exemplary embodiment;
Fig. 3 is the flow chart of another method for changing scenes according to an exemplary embodiment;
Fig. 4 is the flow chart of another method for changing scenes according to an exemplary embodiment;
Fig. 5 is the flow chart of another method for changing scenes according to an exemplary embodiment;
Fig. 6 is a kind of block diagram of the device for changing scenes according to an exemplary embodiment;
Fig. 7 is the block diagram of another device for changing scenes according to an exemplary embodiment;
Fig. 8 is the block diagram of another device for changing scenes according to an exemplary embodiment;
Fig. 9 is the block diagram of another device for changing scenes according to an exemplary embodiment;
Figure 10 is the block diagram of another device for changing scenes according to an exemplary embodiment;
Figure 11 is the block diagram of another device for changing scenes according to an exemplary embodiment;
Figure 12 is a kind of block diagram of the device suitable for scene switching according to an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in implementation method do not represent and the consistent all implementation methods of the present invention.Conversely, they be only with it is such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
Figure 1A is a kind of flow chart of the method for scene switching according to an exemplary embodiment, and Figure 1B is according to one A kind of one of scene graph of method of scene switching shown in exemplary embodiment, Fig. 1 C are shown according to an exemplary embodiment A kind of scene switching method scene graph two, Fig. 1 D be according to an exemplary embodiment a kind of scene switching The three of the scene graph of method.Method shown in Figure 1A can be applied in server, and the server is used to be realized by internet With the communication of user equipment (such as smart mobile phone, Fingerprint Lock etc.), and then the switching of scene is realized.The server can be such as It is smart home Platform Server or immediate communication platform server or payment platform server etc..As shown in Figure 1A, it is above-mentioned Method for changing scenes comprises the following steps 101~103, wherein:
In a step 101, it is determined that the groups of users for including at least two user accounts corresponding with target radio network.
The target radio network, can be Wireless Fidelity (WIFI) net of the multi-user family of handoff scenario to be controlled Network.The group that the user account that the groups of users can be used by multiple users is constituted, the user can be certain Employee in member in family, or certain company etc..
Determining the mode of the groups of users be able to will illustrate below including various.
For example, in one embodiment, in the scene of family WIFI, upper family of terminal device connection of certain user After WIFI, a groups of users can be set up, and the user account of other one or more members in the family is added The determination of each member in groups of users is realized in the groups of users.Wherein, the mark of groups of users can be corresponding therewith Family WIFI network name.
In one embodiment, using the user equipment of active request addition groups of users member as first user equipment, the The user account logged on one user equipment is first user account, the family where first user equipment connection first user In the case of WIFI, first user realizes the corresponding operating of addition groups of users by operating first user equipment;It is requested to add Plus user equipment as second user equipment, the user account logged in second user equipment is second user account, second User realizes the information exchange of second user equipment and server by operating second user equipment.It should be noted that this reality Apply in example, first user equipment is before request addition groups of users, it is necessary to log in first user account on the first user device. The method for adding groups of users member is illustrated with reference to Figure 1B, 1C and Fig. 1 D.Shown in reference picture 1B, first user equipment 10th, second user equipment 30 can realize interacting for information by network with server 20.Shown in reference picture 1C, first user After first user account being logged in first user equipment 10, can be on " setting " page 11 by clicking on " newly-built customer group Group " key 12, selects newly-built groups of users, and then first user equipment 10 will be into " newly-built groups of users " page 13.In user " groups of users G1 " is input into group name frame and after clicking on " next step " key 15, first user equipment 10 will be into " request adds Plus the member of groups of users G1 " page 16, first user can be input into " the account input frame " 17 of first user equipment 10 After the user account of second user, determination key 18 is clicked on, so as to be sent out to server by the WIFI of family where the first user Send the request that second user is added to groups of users G1.Server is being received from the logged in first user equipment 10 One user account for second user account " 123abcd " to be added into the request of groups of users when, to log in described second The second user equipment 20 of user account " 123abcd " sends prompting message.And then second user equipment 20 can show such as figure In 1D shown in " addition groups of users " page 19 " first user account invites you to add groups of users G1!Whether determination is added” Prompting message.After second user clicks on determination key 20, second user equipment 20 will send agreement and be added to server The instruction of groups of users G1.Server after the instruction is received, by the first user account and the second user account It is added in groups of users G1 corresponding with the WIFI of family where first user.I.e. can be in for first user by server The storage corresponding with the groups of users G1 of the WIFI in front yard.The user account includes but is not limited to millet account, Baidu's account Deng.
In another embodiment, determine that the process of groups of users can also be without being participated in user.For example, will can often connect The corresponding user's identification of user account for meeting certain family WIFI is one of member of the family, and then the member that will be recognized is made User account is automatically added in groups of users corresponding with family WIFI.For example, according to a certain user account of login User equipment connect the number of times of above-mentioned family WIFI and whether exceed preset times or when whether total connection duration exceedes default Grow to recognize whether corresponding user is one of member of the family.
In a step 102, first of the user equipment from the user account in logging in the groups of users is being received During notification message, determine that the user account is in state of leaving home;Wherein, first notification message is used to indicate the user Equipment is disconnected with the target radio network.
In the embodiment of the application one, first notification message can include the mark of groups of users (for example, family WIFI Network name), the configured information that disconnects of the user account that logs on user equipment, user equipment and target radio network (e.g., " 0 " represents and disconnects that " 1 " represents connection).
Herein, each user both corresponds to one family, and each family corresponds to a certain place on geographical position (such as taking the mode of longitude and latitude to be indicated), typically, the state of user can be divided into " state of being in " and " state of leaving home ", its In, it is being smaller than in a certain threshold value (such as 100 meters) between user present position and the place of family to define " state of being in ", " state of leaving home " is defined for the spacing between user present position and the place of family is interior more than a certain threshold value (such as 100 meters).When So, a geographical coverage area is determined also dependent on each family's Location, then correspondingly, definable " state of being in " is user In geographical coverage area in above-mentioned determination, define " state of leaving home " be user be in above-mentioned determination geographical coverage area it Outward.Wherein, the geographical coverage area can be substantially suitable with the scope that family wireless network signal can be covered.Need explanation It is, because user account is logged on the electronic equipment used in user, therefore, when user is in a certain state, then it represents that use Family account is also at same state.
User equipment be able to will be illustrated below to the mode that server sends first message including various.
In one embodiment, user equipment can be set to:When user is away from home, arrival leave home a certain distance with Outward, then entrained by user user equipment (such as mobile phone) will be switched off the connection with subscriber household WIFI.Now, user equipment will First notification message is sent to server.Be defined as the user account according to first notification message by server Leave home state.
In another embodiment, user equipment can be set to:In the situation that user equipment is not connected with family WIFI Under, the first notification message is sent to server at a certain time interval, until the upper subscriber household WIFI of user equipment connection. User equipment can be for example set to:In the case where user equipment is not connected with family WIFI, sent out to server within every 5 minutes Send first notification message.
In step 103, at least two user account for being included in the groups of users be in leaving home state when, At least one control equipment to be controlled corresponding with the target radio network is placed in scene mode of leaving home.
The control equipment to be controlled can include but is not limited to such as equipment such as intelligent lamp, air-conditioning, water heater, TV.Need Illustrate, user can set control equipment to be controlled according to the need for oneself.If for example, being needed when user feels to go home or leave home The switching of scene is carried out to intelligent lamp, air-conditioning, then the to be controlled of family where lamp and air-conditioning being set into the user sets up It is standby.
The control equipment to be controlled typically can be realized being connected by Wireless Fidelity WIFI network and server, straight by server Connect and realize control of which.Can also by control of intelligent terminal (such as smart mobile phone, intelligent remote controller etc.) realize to its Control.If treating control device by control of intelligent terminal to be controlled, needing should by the control on control of intelligent terminal In control equipment to be controlled is applied added to control by network in advance.For example, can be by " adding in mobile phone application " rice man " Addition control equipment (such as air-conditioning, intelligent lamp) to be controlled in oil (gas) filling device ".After air-conditioning, intelligent lamp are added successfully, server can lead to Cross and send corresponding instruction to control of intelligent terminal, to realize treating the control of control device.Certainly, if server is by wireless In the case that fidelity WIFI network is directly controlled to the control equipment to be controlled, it would however also be possible to employ the method, it would be desirable to control Housed device be set to control equipment to be controlled.
After above-mentioned steps 102, server to the groups of users in the corresponding current state of each user account enter Row determines, when it is determined that the current state of each user account in the groups of users is when leaving home state, will be with the described family The corresponding control equipment to be controlled of wireless network is placed in scene mode of leaving home.Now, control equipment to be controlled will be closed.
For example, in one embodiment, according to the method described in above-mentioned Figure 1A, morning, the multiple users point in a family Do not gone out to work from family, after the whipper-in user of the family leaves, the air-conditioning of family, intelligent lamp will turn off. Wherein, the air-conditioning, intelligent lamp are set in advance as control equipment to be controlled.
In another embodiment, when the method is applied to a company, company is left when the said firm employee comes off duty successively, After whipper-in employee leaves company, the equipment such as lamp, air-conditioning of company will turn off.
The above method that the embodiment of the present disclosure is provided can apply to server, be needed to be controlled in multi-user family When equipment carries out scene switching, server determination can be first passed through corresponding with target radio network comprising at least two user's accounts Number groups of users;Receiving the first notification message of the user equipment from the user account in logging in the groups of users When, determine that the user account is in state of leaving home;At least two user account included in the groups of users is located In leave home state when, at least one control equipment to be controlled corresponding with the target radio network is placed in scene mode of leaving home.Can See, due to the multiple user equipmenies in server and multi-user family can be utilized to realize treating control device by said process Scene be controlled, improve multi-user family by server and user equipment to the scene of the control equipment to be controlled of the family The accuracy of Schema control, and greatly improve the experience of user.
In one embodiment, methods described also includes:
When receiving from the second notification message of the user equipment of user account in logging in the groups of users, it is determined that The user account is in and is in state, wherein the second notification message be used to indicating the user equipment and the target without Line network recovery is connected;
When at least one of described at least two user account is in and is in state, will be with the target radio network Corresponding at least one control equipment to be controlled is placed in scene mode of going home.
In one embodiment, methods described also includes:
When the unlocking event notice that Fingerprint Lock corresponding with the target radio network sends is received, will be with the mesh Corresponding at least one control equipment to be controlled of mark wireless network is placed in scene mode of going home.
In one embodiment, methods described also includes:
When the user equipment of the user account in logging in the groups of users uses mobile communications network, the use is obtained The positional information of family equipment;
When the corresponding geographical position of the positional information is in predeterminable area corresponding with the target radio network, Determine that the user account is in state of being in, be not in and the Target Wireless in the corresponding geographical position of the positional information When in the corresponding predeterminable area of network, determine that the user account is in state of leaving home.
In one embodiment, it is described to determine the customer group for including at least two user accounts corresponding with target radio network Group, including:
Receiving from the first user equipment for logging in first user account for second user account to be added to During the request of groups of users, prompting message is sent to the second user equipment for logging in the second user account;
It is described for pointing out agreement to be added to from the second user equipment for logging in second user account receiving After the instruction of groups of users, the first user account and the second user account are added to corresponding with target radio network Groups of users in.
In one embodiment, at least two user account included in the groups of users is in shape of leaving home During state, at least one control equipment to be controlled corresponding with the target radio network is placed in scene mode of leaving home, including:
At least two user account included in the groups of users be in leaving home state when, determine current time Whether be in allows to be placed in the preset time period of scene mode of leaving home;
When being in the preset time period at current time, corresponding with the target radio network at least one will treat Control device is placed in scene mode of leaving home.
Fig. 2 is the flow chart of the method for another scene switching according to an exemplary embodiment, and the method can be with Using on the server, as shown in Fig. 2 above-mentioned method for changing scenes comprises the following steps 201~203, wherein:
In step 201, it is determined that the groups of users for including at least two user accounts corresponding with target radio network.
In step 202., lead to receiving from the user equipment of user account in logging in the groups of users second When knowing message, determine that the user account is in and be in state, the second notification message be used to indicating the user equipment with The target radio network recovers connection.
The second notification message can include the user account, the user that are logged on the mark of groups of users, user equipment Equipment is connected to the configured information (e.g., " 0 " represents and disconnect that " 1 " represents connection) of target radio network.When user is reached apart from family When within a certain distance, the user equipment that the user carries will connect the WIFI of the subscriber household.Now, user equipment will The second notification message is sent to server.The user account is defined as going home by server according to second notification message State.
Above-mentioned steps 201 and step 202 are referred to step 101 and step 102 in the embodiment described in above-mentioned Figure 1A Content, is no longer repeated herein.
In step 203, at least one of described at least two user account be in be in state when, will with it is described Corresponding at least one control equipment to be controlled of target radio network is placed in scene mode of going home.
In the present embodiment, after above-mentioned steps 202, server to the groups of users in each user account it is corresponding Current state is determined, when it is determined that the current state of each user account in the groups of users is at least one user account In be in state when, control equipment to be controlled corresponding with described family wireless fidelity (WIFI) network can be placed in the family of going home Scape pattern.Now, control equipment to be controlled will be opened.
For example, in one embodiment, according to the method described in above-mentioned Fig. 2, when user's in the evening goes back home, the user institute The light of the main thoroughfares such as entry, corridor, parlor in family can be automatically turned on, and oneself can be spread out of in room favorite Music or TV programme.Certainly, user is needed the lamp of the main thoroughfares such as entry, corridor, the parlor of family, TV, sound in advance Sound etc. is set to control equipment to be controlled.Additionally, user can also for example treat according to the need for oneself according to personal use custom setting Control device and corresponding scene switch mode.
In another embodiment, when the above method is applied to company, when first employee comes company, company Lamp, air-conditioning etc. can be automatically opened up.Further, it is also possible to as needed, the lamp near station where employee is set into the member The corresponding control equipment to be controlled of account of work, after the employee is to company, the lamp near its station can be automatically turned on, without Open the lamp near other employee's stations.Such that it is able to reduce the waste of resource.
The control equipment to be controlled typically can be realized being connected by network (such as wireless fidelity network) and server, by servicing Device is directly realized by control of which.It is right to be realized by control of intelligent terminal (such as smart mobile phone, intelligent remote controller etc.) Its control.Related content is referred to the associated description of above-mentioned steps 103.
It can be seen that, the method that the scene mode provided by above-mentioned steps 201 to 203 is switched, in multi-user family, when extremely A few user account is in when being in state, just control equipment to be controlled can be switched into the state of going home so that intelligent lamp etc. is beaten Open, the user to the family brings great convenience.
Fig. 3 is the flow chart of the method for another scene switching according to an exemplary embodiment, and the method can be with Using on the server, as shown in figure 3, above-mentioned method for changing scenes comprises the following steps 301~303, wherein:
In step 301, it is determined that the groups of users for including at least two user accounts corresponding with target radio network.
In the present embodiment, server receives the finger of multiple users of the family that the Fingerprint Lock from multi-user family sends Line information, and for each user fingerprints information sets a user account, user account and finger print information are corresponded and is deposited Storage.The groups of users is the group including multiple user accounts in the family.Wherein, the mark of the groups of users can be with It is the network name of corresponding family WIFI.The Fingerprint Lock can realize information by family WIFI and server Interaction.Family WIFI is the target radio network of the groups of users.
In step 302, the unlocking event notice that Fingerprint Lock corresponding with the target radio network sends is being received When, at least one control equipment to be controlled corresponding with the target radio network is placed in scene mode of going home.
The unlocking event notifies that the network name of subscriber household WIFI, finger print information of user etc. can be included.
When user opens the Fingerprint Lock of its family using fingerprint, the Fingerprint Lock is sent by family WIFI to server Unlocking event including user fingerprints information or user account is notified.Server is receiving the unlocking thing that the Fingerprint Lock sends When part is notified, notified for control equipment to be controlled corresponding with family WIFI to be placed in scene mode of going home according to the unlocking event.Can See, the control of the scene mode for treating control device provided in the present embodiment is more punctual, and preferable user is brought to user Experience.
Fig. 4 is the flow chart of the method for another scene switching according to an exemplary embodiment, and the method can be with Using on the server, as shown in figure 4, above-mentioned method for changing scenes comprises the following steps 401~404, wherein:
In step 401, it is determined that the groups of users for including at least two user accounts corresponding with target radio network.
The step 401 is referred to the content of step 101 in the embodiment described in above-mentioned Figure 1A, is no longer gone to live in the household of one's in-laws on getting married herein State.
In step 402, the user equipment of the user account in the groups of users is logged in uses mobile communications network When, obtain the positional information of the user equipment.
The positional information of the user equipment can by global positioning system (Global Positioning System, GPS) technical limit spacing.
The mobile communications network can include but is not limited to 2G/3G/4G/5G etc..
In step 403, it is in the corresponding geographical position of the positional information corresponding with the target radio network When in predeterminable area, determine that the user account is in state of being in, be not in the corresponding geographical position of the positional information When in predeterminable area corresponding with the target radio network, determine that the user account is in state of leaving home.
The target radio network can be Wireless Fidelity (WIFI) network of the multi-user family of handoff scenario to be controlled.
The corresponding predeterminable area of the target radio network, can include but is not limited to the areas such as border circular areas, rectangular area Domain.Can be with the geographical position of the corresponding multi-user family of target radio network if the predeterminable area for setting is for circle The center of circle, value is the border circular areas of radius at a certain distance.For example, with the geographical position of certain multi-user family as the center of circle, with 50 Rice is the border circular areas of radius.In one embodiment, when the domestic consumer apart from its home geographic location be less than 50 meters when, i.e., its The corresponding geographical position of positional information of the user equipment carried with is in the border circular areas, and server then sets the user Standby upper user account is defined as the state of being in.In another embodiment, when the domestic consumer user equipment positional information Corresponding geographical position is in when outside the border circular areas, and the user account on the user equipment is then defined as shape of leaving home by server State.
In step 404, at least two user account for being included in the groups of users be in leaving home state when, At least one control equipment to be controlled corresponding with the target radio network is placed in scene mode of leaving home.
The step 404 is referred to the content of step 103 in the embodiment described in above-mentioned Figure 1A, is no longer gone to live in the household of one's in-laws on getting married herein State.
It should be noted that target radio network is unavailable in the embodiment described in above-mentioned Figure 1A, or user equipment without In the case of method linking objective wireless network.The method described in Fig. 4 can be used to realize treating the scene mode of control device Control.So as to improve the accuracy of the control of the scene mode for treating control device.
Fig. 5 is the flow chart of the method for another scene switching according to an exemplary embodiment, and the method can be with Using on the server, as shown in figure 5, above-mentioned method for changing scenes comprises the following steps 501~504, wherein:
In step 501, it is determined that the groups of users for including at least two user accounts corresponding with target radio network.
In step 502, lead to receiving from the user equipment of user account in logging in the groups of users second When knowing message, determine that the user account is in and be in state, the second notification message be used to indicating the user equipment with The target radio network recovers connection.
Above-mentioned steps 501 and step 502 are referred to step 101 and step 102 in the embodiment described in above-mentioned Figure 1A Content, is no longer repeated herein.
In step 503, at least two user account for being included in the groups of users be in leaving home state when, Determining whether current time is in allows to be placed in the preset time period of scene mode of leaving home.
The scene mode of the control equipment to be controlled can be switched within the default time period.In the present embodiment, it is considered to To the general demand just in some special time periods with the scene mode for switching control equipment to be controlled of user, for example, user when Between section 6:00~20:In 00, it may be necessary to the scene mode of control equipment to be controlled is controlled by above-mentioned server and user equipment, Or seldom control device will not be treated during evening rest using the method to be controlled.
In step 504, when being in the preset time period at current time, will be corresponding with the target radio network At least one control equipment to be controlled be placed in scene mode of leaving home.
The step 503 and step 504 increased really on the basis of step 103 in the embodiment described in above-mentioned Figure 1A Whether current time is determined in allowing to be placed in the preset time period of the pattern of leaving home, if the determination result is yes, enters step Rapid 504.
By setting above-mentioned preset time period, to cause outside the default time period, such as user is not treated in rest Control the switching of scene mode and bother, so as to lift the experience of user.
Fig. 6 is a kind of block diagram of the device for changing scenes according to an exemplary embodiment, as shown in fig. 6, the field Scape switching device includes:
First determining module 601, for determining the use for including at least two user accounts corresponding with target radio network Family group.
Second determining module 602, for setting receiving the user from the user account in logging in the groups of users During standby first notification message, determine that the user account is in state of leaving home, first notification message is used to indicating described User equipment is disconnected with the target radio network.
First scene handover module 603, at least two user account for being included in the groups of users is located In leave home state when, at least one control equipment to be controlled corresponding with the target radio network is placed in scene mode of leaving home.
Fig. 7 is the block diagram of another device for changing scenes according to an exemplary embodiment, as shown in fig. 7, upper State on the basis of embodiment illustrated in fig. 6, described device can also include:
3rd determining module 604, for receiving the user equipment from user account in logging in the groups of users Second notification message when, determine that the user account is in and be in state, wherein the second notification message is used to indicate institute User equipment is stated to recover to be connected with the target radio network;
Second scene handover module 605, for being in shape of being at least one of described at least two user account During state, at least one control equipment to be controlled corresponding with the target radio network is placed in scene mode of going home.
Fig. 8 is the block diagram of another device for changing scenes according to an exemplary embodiment, as shown in figure 8, upper State on the basis of embodiment illustrated in fig. 6, described device can also include:
3rd scene handover module 606, for receiving what Fingerprint Lock corresponding with the target radio network sent When unlocking event is notified, at least one control equipment to be controlled corresponding with the target radio network is placed in scene mode of going home.
Fig. 9 is the block diagram of another device for changing scenes according to an exemplary embodiment, as shown in figure 9, upper State on the basis of embodiment illustrated in fig. 6, described device can also include:
Acquisition module 607, the user equipment for the user account in the groups of users is logged in uses mobile communication During network, the positional information of the user equipment is obtained;
4th determining module 608, for being in and the Target Wireless net in the corresponding geographical position of the positional information When in the corresponding predeterminable area of network, determine that the user account is in state of being in, in the corresponding geographical position of the positional information Put and be not in when in predeterminable area corresponding with the target radio network, determine that the user account is in state of leaving home.
Figure 10 is the block diagram of another device for changing scenes according to an exemplary embodiment, as shown in Figure 10, institute Stating the first determining module 601 can include:
Sending submodule 6011, for receiving from the first user equipment for logging in first user account for inciting somebody to action When second user account is added to the request of groups of users, is sent to the second user equipment for logging in the second user account and carried Show message;
Addition submodule 6012, for receiving from the second user equipment for logging in second user account for carrying After showing that agreement is added to the instruction of the groups of users, the first user account and the second user account are added to In groups of users corresponding with target radio network.
Figure 11 is the block diagram of another device for changing scenes according to an exemplary embodiment, as shown in figure 11, institute Stating the first scene handover module 603 can include:
Determination sub-module 6031, at least two user account for being included in the groups of users is in leaving home During state, determining whether current time is in allows to be placed in the preset time period of scene mode of leaving home;
Scene switching submodule 6032, for current time be in the preset time period in when, will be with the target Corresponding at least one control equipment to be controlled of wireless network is placed in scene mode of leaving home.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is referring to method reality Apply the part explanation of example.Device embodiment described above is only schematical, wherein being illustrated as separating component Unit can be or may not be physically separate, the part shown as unit can be or may not be Physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to the actual needs Some or all of module therein is selected to realize the purpose of disclosure scheme.Those of ordinary skill in the art are not paying wound In the case that the property made is worked, you can to understand and implement.
Figure 12 is a kind of block diagram of the electronic equipment suitable for scene switching according to an exemplary embodiment, described Device is, for example, server.Reference picture 12, electronic equipment 700 includes processing assembly 722, and it is further included at one or more Reason device, and the memory resource as representated by memory 732, can be by the instruction of the execution of processing component 722, example for storing Such as application program.In memory 732 store application program can include it is one or more each correspond to one group The module of instruction.The processing assembly 722 is configured as:
It is determined that the groups of users for including at least two user accounts corresponding with target radio network;
When the first notification message of the user equipment from the user account in logging in the groups of users is received, really The fixed user account is in state of leaving home, and first notification message is used to indicate the user equipment with the Target Wireless Network is disconnected;
At least two user account included in the groups of users be in leaving home state when, will be with the target Corresponding at least one control equipment to be controlled of wireless network is placed in scene mode of leaving home.
Electronic equipment 700 can also include that a power supply module 726 is configured as performing the power supply pipe of electronic equipment 700 Reason, a wired or wireless network interface 750 is configured as electronic equipment 700 being connected to network, and an input and output (I/ O) interface 758.Electronic equipment 700 can operate the operating system in memory 732, such as Windows based on storage ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 732 of instruction, above-mentioned instruction can be performed to complete the above method by the processing assembly 722 of electronic equipment 700. For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, Floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and And can without departing from the scope carry out various modifications and changes.The scope of the present disclosure is only limited by appended claim.

Claims (13)

1. a kind of method for changing scenes, it is characterised in that including:
It is determined that the groups of users for including at least two user accounts corresponding with target radio network;
When the first notification message of the user equipment from the user account in logging in the groups of users is received, institute is determined State user account and be in state of leaving home, wherein first notification message is used to indicate the user equipment with the Target Wireless Network is disconnected;
At least two user account included in the groups of users be in leaving home state when, will be with the Target Wireless Corresponding at least one control equipment to be controlled of network is placed in scene mode of leaving home.
2. method according to claim 1, it is characterised in that methods described also includes:
When receiving from the second notification message of the user equipment of user account in logging in the groups of users, it is determined that described User account is in state of being in, wherein the second notification message is used to indicate the user equipment with the Target Wireless net Network recovers connection;
When at least one of described at least two user account is in and is in state, will be corresponding with the target radio network At least one control equipment to be controlled be placed in scene mode of going home.
3. method according to claim 1, it is characterised in that methods described also includes:
When receiving the unlocking event that corresponding with target radio network Fingerprint Lock sends and notifying, will with the target without Corresponding at least one control equipment to be controlled of gauze network is placed in scene mode of going home.
4. method according to claim 1, it is characterised in that methods described also includes:
When the user equipment of the user account in logging in the groups of users uses mobile communications network, obtain the user and set Standby positional information;
When the corresponding geographical position of the positional information is in predeterminable area corresponding with the target radio network, it is determined that The user account is in state of being in, and is not in and the target radio network in the corresponding geographical position of the positional information When in corresponding predeterminable area, determine that the user account is in state of leaving home.
5. method according to claim 1, it is characterised in that the determination is corresponding with target radio network comprising at least Two groups of users of user account, including:
Receiving from the first user equipment for logging in first user account for second user account to be added into user During the request of group, prompting message is sent to the second user equipment for logging in the second user account;
Receiving from the second user equipment for logging in second user account for pointing out agreement to be added to the user After the instruction of group, the first user account and the second user account are added to use corresponding with target radio network In the group of family.
6. method according to claim 1, it is characterised in that it is described included in the groups of users described at least two User account be in leaving home state when, at least one control equipment to be controlled corresponding with the target radio network is placed in and leaves home Scene mode, including:
At least two user account included in the groups of users be in leaving home state when, whether determine current time In allowing to be placed in the preset time period for leaving home scene mode;
When being in the preset time period at current time, will be corresponding with the target radio network at least one to be controlled Equipment is placed in scene mode of leaving home.
7. a kind of device for changing scenes, it is characterised in that including:
First determining module, for determining the groups of users for including at least two user accounts corresponding with target radio network;
Second determining module, for receiving first of the user equipment from the user account in logging in the groups of users During notification message, determine that the user account is in state of leaving home;Wherein described first notification message is used to indicate the user Equipment is disconnected with the target radio network;
First scene handover module, at least two user account for being included in the groups of users is in shape of leaving home During state, at least one control equipment to be controlled corresponding with the target radio network is placed in scene mode of leaving home.
8. device according to claim 7, it is characterised in that described device also includes:
3rd determining module, for the user equipment of user account in receiving from the login groups of users second leads to When knowing message, determine that the user account is in state of being in, wherein the second notification message is used to indicate the user to set It is standby to recover to be connected with the target radio network;
Second scene handover module, for when at least one of described at least two user account is in and is in state, inciting somebody to action At least one control equipment to be controlled corresponding with the target radio network is placed in scene mode of going home.
9. device according to claim 7, it is characterised in that described device also includes:
3rd scene handover module, for receiving the unlocking event that Fingerprint Lock corresponding with the target radio network sends During notice, at least one control equipment to be controlled corresponding with the target radio network is placed in scene mode of going home.
10. device according to claim 7, it is characterised in that described device also includes:
Acquisition module, during for the user equipment in the user account in logging in the groups of users using mobile communications network, Obtain the positional information of the user equipment;
4th determining module, it is corresponding with the target radio network for being in the corresponding geographical position of the positional information When in predeterminable area, determine that the user account is in state of being in, be not in the corresponding geographical position of the positional information When in predeterminable area corresponding with the target radio network, determine that the user account is in state of leaving home.
11. devices according to claim 7, it is characterised in that first determining module includes:
Sending submodule, for receiving from the first user equipment for logging in first user account for by second user When account is added to the request of groups of users, prompting message is sent to the second user equipment for logging in the second user account;
Addition submodule, for receiving from the second user equipment for logging in second user account for pointing out to agree to quilt After being added to the instruction of the groups of users, by the first user account and the second user account be added to target without In the corresponding groups of users of gauze network.
12. devices according to claim 7, it is characterised in that the first scene handover module includes:
Determination sub-module, at least two user account for being included in the groups of users be in leaving home state when, Determining whether current time is in allows to be placed in the preset time period of scene mode of leaving home;
Scene switching submodule, for current time be in the preset time period in when, will be with the target radio network Corresponding at least one control equipment to be controlled is placed in scene mode of leaving home.
13. a kind of electronic equipment, it is characterised in that including:
Processor and the memory for storing processor-executable instruction;
Wherein, the processor is configured as:
It is determined that the groups of users for including at least two user accounts corresponding with target radio network;
When the first notification message of the user equipment from the user account in logging in the groups of users is received, institute is determined State user account and be in state of leaving home, wherein first notification message is used to indicate the user equipment with the Target Wireless Network is disconnected;
At least two user account included in the groups of users be in leaving home state when, will be with the Target Wireless Corresponding at least one control equipment to be controlled of network is placed in scene mode of leaving home.
CN201611179276.6A 2016-12-19 2016-12-19 Method and device, the electronic equipment of scene switching Pending CN106789465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611179276.6A CN106789465A (en) 2016-12-19 2016-12-19 Method and device, the electronic equipment of scene switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611179276.6A CN106789465A (en) 2016-12-19 2016-12-19 Method and device, the electronic equipment of scene switching

Publications (1)

Publication Number Publication Date
CN106789465A true CN106789465A (en) 2017-05-31

Family

ID=58890778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611179276.6A Pending CN106789465A (en) 2016-12-19 2016-12-19 Method and device, the electronic equipment of scene switching

Country Status (1)

Country Link
CN (1) CN106789465A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108153158A (en) * 2017-12-19 2018-06-12 美的集团股份有限公司 Switching method, device, storage medium and the server of household scene
WO2018227340A1 (en) * 2017-06-12 2018-12-20 深圳市智晟达科技有限公司 Method for adjusting television playback status according to condition of user entering/exiting garage and digital television
CN109525469A (en) * 2018-12-27 2019-03-26 江苏惠通集团有限责任公司 The networking method and smart home device of smart home device
CN111030901A (en) * 2019-12-20 2020-04-17 成都国科微电子有限公司 Intelligent household equipment control method and device and related equipment
CN112013520A (en) * 2019-05-31 2020-12-01 广东美的制冷设备有限公司 Air conditioning equipment, automatic control method thereof and terminal control equipment
CN113325745A (en) * 2021-04-28 2021-08-31 青岛海尔科技有限公司 Equipment control method, terminal, storage medium and electronic device
WO2023071549A1 (en) * 2021-10-29 2023-05-04 华为技术有限公司 Method for identifying home departure scenario or home returning scenario, and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767639A (en) * 2015-03-23 2015-07-08 小米科技有限责任公司 Equipment management method and device
CN104915225A (en) * 2015-05-19 2015-09-16 小米科技有限责任公司 Method and device for controlling intelligent device
CN105182767A (en) * 2015-08-17 2015-12-23 黄可斌 Intelligent home furnishing control method, control device and control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767639A (en) * 2015-03-23 2015-07-08 小米科技有限责任公司 Equipment management method and device
CN104915225A (en) * 2015-05-19 2015-09-16 小米科技有限责任公司 Method and device for controlling intelligent device
CN105182767A (en) * 2015-08-17 2015-12-23 黄可斌 Intelligent home furnishing control method, control device and control system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018227340A1 (en) * 2017-06-12 2018-12-20 深圳市智晟达科技有限公司 Method for adjusting television playback status according to condition of user entering/exiting garage and digital television
CN108153158A (en) * 2017-12-19 2018-06-12 美的集团股份有限公司 Switching method, device, storage medium and the server of household scene
CN109525469A (en) * 2018-12-27 2019-03-26 江苏惠通集团有限责任公司 The networking method and smart home device of smart home device
CN112013520A (en) * 2019-05-31 2020-12-01 广东美的制冷设备有限公司 Air conditioning equipment, automatic control method thereof and terminal control equipment
CN111030901A (en) * 2019-12-20 2020-04-17 成都国科微电子有限公司 Intelligent household equipment control method and device and related equipment
CN113325745A (en) * 2021-04-28 2021-08-31 青岛海尔科技有限公司 Equipment control method, terminal, storage medium and electronic device
WO2023071549A1 (en) * 2021-10-29 2023-05-04 华为技术有限公司 Method for identifying home departure scenario or home returning scenario, and device

Similar Documents

Publication Publication Date Title
CN106789465A (en) Method and device, the electronic equipment of scene switching
CN103619019B (en) Network access authentication method for wireless network
CN106130881B (en) A kind of account number login method and device
CN103380613B (en) The control method of wireless terminal device, messaging device, communication system and wireless terminal device
DE102016213648A1 (en) Improved data protection for wireless devices
CN110673896A (en) Near field communication card activation method and device
CN102868968A (en) Identifying and locating users on a mobile network
TW200930113A (en) Method and system for completing a zone related call
US10638270B2 (en) Location-based wireless tracking
US20200015195A1 (en) Paging Method and Related Device
US20180359602A1 (en) Location based access control for artificial conversational entities
KR101906416B1 (en) Network acceing method and apparatus thereof
US11070952B2 (en) Methods of alerting mobile-network subscribers using automated messaging-channel selection, and software therefor
CN106412078A (en) Precise information pushing method and system, and devices
CN103354553B (en) A kind of the terminal Adaptable System and method of possession service access address
CN104038900A (en) Locating method and equipment
CN109525469A (en) The networking method and smart home device of smart home device
CN108566668B (en) Intelligent WIFI internet surfing method based on cell
RU2647567C1 (en) Contact network and method for controlling devices via contact network
CN112235717B (en) Management method, system, server and storage medium for demand and service interfacing
CN103067849A (en) Method and equipment for stopping using and reusing general packet radio service (GPRS) business
CN105530620B (en) A kind of method, apparatus and communication system directly found
US11877171B1 (en) Wireless proximity detection reporting
US20160112833A1 (en) Location-based control of mobile device ring mode
US11876866B2 (en) Method for assisting unregistered user device to access end-to-end call service of private network and communication system

Legal Events

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

Application publication date: 20170531

RJ01 Rejection of invention patent application after publication