CN108039989A - A kind of method, apparatus of Scene case, storage medium and computer equipment - Google Patents

A kind of method, apparatus of Scene case, storage medium and computer equipment Download PDF

Info

Publication number
CN108039989A
CN108039989A CN201711265431.0A CN201711265431A CN108039989A CN 108039989 A CN108039989 A CN 108039989A CN 201711265431 A CN201711265431 A CN 201711265431A CN 108039989 A CN108039989 A CN 108039989A
Authority
CN
China
Prior art keywords
scene
case
predetermined
home network
predetermined home
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
CN201711265431.0A
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.)
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Haier Uplus Intelligent Technology Beijing 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 Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Haier Uplus Intelligent Technology Beijing Co Ltd
Priority to CN201711265431.0A priority Critical patent/CN108039989A/en
Publication of CN108039989A publication Critical patent/CN108039989A/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
    • 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/2816Controlling appliance services of a home automation network by calling their functionalities

Abstract

The invention discloses a kind of method, apparatus of Scene case, storage medium and computer equipment, method includes:The relevant scene of device type with predetermined home appliance in default scene library is obtained, wherein, predetermined home appliance is the home appliance shared or be added in predetermined home network;Detect in predetermined home network whether the corresponding Scene case of existing scene;In the case of there is no Scene case, scene is instantiated, and Scene case is added in predetermined home network.The present invention obtains the predetermined relevant scene of home appliance automatically according to the device type of predetermined home appliance, and is instantiated automatically, and whole process is not required user to participate in manually, and process is simple, better user experience, solves the problems, such as the as follows of the prior art:By kinsfolk selection smart machine can only be gone to need the intelligent scene activated merely at present, Scene case process needs user to be manually operated completely, and operating process is complicated, and the amount of labour is larger, and user experience is poor.

Description

A kind of method, apparatus of Scene case, storage medium and computer equipment
Technical field
The present invention relates to smart home field, more particularly to a kind of method, apparatus of Scene case, storage medium and Computer equipment.
Background technology
In real life, the activation and closing of intelligent scene need kinsfolk oneself to go to trigger manually, less in equipment When this mode can also receive reluctantly, but as the rapid of Internet of Things emerges, smart machine is on the increase, with the latter Family might have tens of smart machine, depend alone this when user instantiate manually create scene made us being difficult to connect By user needs substantial amounts of manual operation, and user experience is relatively low;And subsequently it also is difficult to manage.
The content of the invention
The present invention provides a kind of method, apparatus of Scene case, storage medium and computer equipment, existing to solve The following problem of technology:By kinsfolk selection smart machine can only be gone to need the intelligent scene activated, scene merely at present Instantiation process needs user to be manually operated completely, and operating process is complicated, and the amount of labour is larger, and user experience is poor.
In order to solve the above technical problems, on the one hand, the present invention provides a kind of method of Scene case, including:Obtain pre- If in scene library with the relevant scene of device type of predetermined home appliance, wherein, predetermined home appliance is shares or is added to Home appliance in predetermined home network;Detect in predetermined home network whether the corresponding Scene case of existing scene;Not In the case of there are Scene case, scene is instantiated, and Scene case is added in predetermined home network.
Optionally, in the case of there is no Scene case, scene is instantiated, and Scene case is added to pre- Determine in home network, including:Whether in the case of there is no Scene case, detecting in predetermined home network includes scene condition The corresponding whole home appliances in part and the corresponding at least one home appliance of operation part;Corresponded to including scene condition part Whole home appliances and the corresponding at least one home appliance of operation part in the case of, scene is instantiated, and will Scene case is added in predetermined home network.
Optionally, whether detect includes the corresponding whole home appliances in scene condition part and operation in predetermined home network The corresponding at least one home appliance in part, including:Detect and whether there is scene in predetermined home network;There are the feelings of scene Under condition, detect whether corresponding including the corresponding whole home appliances in scene condition part and operation part in predetermined home network At least one home appliance.
Optionally, whether detect includes the corresponding whole home appliances in scene condition part and operation in predetermined home network After the corresponding at least one home appliance in part, further include:Do not including the corresponding whole home appliances in scene condition part In the case of at least one home appliance corresponding with operation part, scene is added in predetermined home network.
Optionally, detect in predetermined home network whether after the corresponding Scene case of existing scene, further include:Depositing In the case of Scene case, whether detection Scene case needs to update;In the case where Scene case needs to update, according to pre- Determine the device information update Scene case of home appliance.
On the other hand, the present invention also provides a kind of device of Scene case, including:Acquisition module, it is default for obtaining In scene library with the relevant scene of device type of predetermined home appliance, wherein, predetermined home appliance is shares or is added to pre- Determine the home appliance in home network;First detection module, for detecting, whether existing scene corresponds in predetermined home network Scene case;Module is instantiated, in the case of there is no Scene case, scene to be instantiated, and by scene Example is added in predetermined home network.
Optionally, instantiation module includes:Detection unit, in the case of there is no Scene case, detection to be predetermined Whether scene condition part corresponding whole home appliances and operation part corresponding at least one household electrical appliances are included in home network Equipment;Instantiating unit, for corresponding extremely in the corresponding whole home appliances of the condition part including scene and operation part In the case of a few home appliance, scene is instantiated, and Scene case is added in predetermined home network.
Optionally, detection unit, whether there is scene specifically for detecting in predetermined home network;There are the feelings of scene Under condition, detect the corresponding whole home appliances of condition part for whether including scene in predetermined home network and operation part corresponds to At least one home appliance.
Optionally, instantiation module further includes:Adding device, for not including the corresponding whole of condition part of scene In the case of home appliance and the corresponding at least one home appliance of operation part, scene is added in predetermined home network.
Optionally, further include:Second detection module, is in the case of there are Scene case, detecting Scene case It is no to need to update;Update module, in the case of needing to update in Scene case, according to the facility information of predetermined home appliance Update Scene case.
On the other hand, the present invention also provides a kind of storage medium, it is stored with computer program, it is characterised in that computer The step of method of above-mentioned Scene case is realized when program is executed by processor.
On the other hand, the present invention also provides a kind of computer equipment, including memory, processor and storage are on a memory And the computer program that can be run on a processor, when processor executive program, realize the step of the method for above-mentioned Scene case Suddenly.
The present invention obtains the predetermined relevant scene of home appliance automatically according to the device type of predetermined home appliance, and certainly Dynamic to be instantiated, whole process is not required user to participate in manually, and process is simple, better user experience, solve the prior art as Lower problem:By kinsfolk selection smart machine can only be gone to need the intelligent scene activated, Scene case mistake merely at present Journey needs user to be manually operated completely, and operating process is complicated, and the amount of labour is larger, and user experience is poor.
Brief description of the drawings
Fig. 1 is the flow chart of the method for first embodiment of the invention Scene instantiation;
Fig. 2 is the flow chart of the method for third embodiment of the invention Scene instantiation;
Fig. 3 is the structure diagram of the device of fourth embodiment of the invention Scene instantiation;
Fig. 4 is the preferred structure schematic diagram of the device of fourth embodiment of the invention Scene instantiation.
Embodiment
In order to solve the problems, such as the as follows of the prior art:At present selection smart machine needs can only be removed by kinsfolk merely The intelligent scene of activation, Scene case process need user to be manually operated completely, and operating process is complicated, and the amount of labour is larger, use Family experience is poor;The present invention provides a kind of method, apparatus of Scene case, storage medium and computer equipment, tie below Attached drawing and embodiment are closed, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only Only to explain the present invention, the present invention is not limited.
First embodiment of the invention provides a kind of method of Scene case, the flow of this method as shown in Figure 1, including Step S101 to S103:
S101, obtains the relevant scene of device type with predetermined home appliance in default scene library, wherein, predetermined household electrical appliances Equipment is the home appliance shared or be added in predetermined home network.
Default scene library can be generally arranged in cloud platform, wherein being stored with substantial amounts of scene.When predetermined home appliance When connecting into predetermined home network, once it is determined that the type of the predetermined home appliance, it is possible to obtain institute in default scene library There is scene corresponding with the type.
S102, detect in predetermined home network whether the corresponding Scene case of existing scene.
After scene is determined, it is possible to determine the Scene case on the scene whether is had existed in family.Example Such as, there is an air-conditioning before in predetermined home network, user has newly bought an air-conditioning again, makes a reservation for when user shares new air-conditioning In home network and after getting the corresponding scene of air-conditioning, it is possible to determine to whether there is these scenes pair in predetermined home network The Scene case answered.Situation about illustrating according to above-mentioned example, will there are the corresponding scene of some scenes in predetermined home network Example.If not sharing before in predetermined home network or adding air-conditioning, above-mentioned scene should all there is no corresponding Scene case.
S103, in the case of there is no Scene case, scene is instantiated, and Scene case is added to predetermined In home network.
The embodiment of the present invention obtains the predetermined relevant field of home appliance automatically according to the device type of predetermined home appliance Scape, and judge to whether there is corresponding Scene case in the predetermined home network where the predetermined home appliance, there is no field In the case of scape example, scene is instantiated automatically, and Scene case is added in predetermined home network, so as to follow-up When the home appliance of same type enters the predetermined home network, the process of Scene case can be simplified.
The embodiment of the present invention obtains the predetermined relevant field of home appliance automatically according to the device type of predetermined home appliance Scape, and instantiated automatically, whole process is not required user to participate in manually, and process is simple, better user experience, solves existing skill The following problem of art:By kinsfolk selection smart machine can only be gone to need the intelligent scene activated merely at present, scene is real Exampleization process needs user to be manually operated completely, and operating process is complicated, and the amount of labour is larger, and user experience is poor.
After the relevant scene of device type in obtaining default scene library with predetermined home appliance, it can also detect and add Add the account of predetermined home appliance whether to there is the operating right inquired about or operate all home appliances in family;With authority In the case of, can detect in predetermined home network whether the corresponding Scene case of existing scene.The process, which is provided with, to be used Family authority, ensure that to only want to oneself there are the household equipment that during multiple users, certain user shares in predetermined home network manages Reason, it is undesirable to the situation that others intervenes.
The embodiment of the present invention is will all to be obtained in the relevant scene of the corresponding device type of predetermined home appliance, in example During change, since each scene is divided into condition part and operation part, predetermined home appliance may only exist with condition part or Exist only in operation part, alternatively, some scene need predetermined home appliance and the predetermined home network currently without What one miscellaneous equipment was realized jointly, therefore, the embodiment of the present invention is only handled the scene that can be instantiated.Specifically, In the case of there is no Scene case, scene is instantiated, and Scene case is added in predetermined home network, is wrapped Include:In the case of there is no Scene case, detect whether corresponding complete including the scene condition part in predetermined home network Portion's home appliance and the corresponding at least one home appliance of operation part;Including the corresponding whole household electrical appliances in the scene condition part In the case of equipment and the corresponding at least one home appliance of operation part, scene is instantiated, and Scene case is added It is added in predetermined home network.Above-mentioned processing procedure improves the efficiency of Scene case.
Further, whether include in predetermined home network is detected the corresponding whole home appliances in the scene condition part and During the corresponding at least one home appliance of operation part, it can detect and whether there is the scene in predetermined home network;Exist In the case of the scene, then detect in predetermined home network whether include the corresponding whole home appliances in the scene condition part and The corresponding at least one home appliance of operation part.If be instantiated in predetermined home network there are the scene but not, say The bright scene includes in a part of predetermined home network existing home appliance, also including some predetermined home networks it It is preceding without equipment, therefore when realizing, it is necessary to further determine whether to be instantiated to this kind of already present scene, i.e., After judging that predetermined home appliance is added to predetermined home network, whether which can realize, if it is possible to realize, then can be right The scene is instantiated.
During realization, the corresponding whole household electrical appliances in the scene condition part whether are included in predetermined home network is detected and are set After standby at least one home appliance corresponding with operation part, also existing does not include the corresponding whole families in the scene condition part The situation of electric equipment and the corresponding at least one home appliance of operation part, in such a case it is possible to by the scene added in advance Determine in home network, when subsequently thering is the new home appliance to be added to the predetermined home network to wait can directly to the scene into Row instantiation.
It is real if there is scene in detecting predetermined home network whether after the corresponding Scene case of existing scene Example, then need to detect whether Scene case needs to update, and in the case where Scene case needs to update, is set according to predetermined household electrical appliances Standby device information update Scene case.For example, the corresponding scene of existing Scene case turns off all intelligent families for 10 points at night Electric equipment, then when there is a new intelligent appliance equipment to be added in predetermined home network, it is necessary to update the behaviour of the example Make part, then need more to go the Scene case, be added to so as to new intelligent appliance is set in the scene.
Make a reservation for when user cancels sharing predetermined home appliance in predetermined home network or deleting from predetermined home network During home appliance, all Scene cases with extremely including predetermined home appliance in Scene case are deleted, and determine not only including pre- Whether delete the predetermined home appliance after can realize, and the scene that will not be able to realize is real if determining the Scene case of home appliance Example is deleted, and preserves the Scene case that can be realized.
Second embodiment of the invention provides a kind of computer-readable storage medium, is stored with computer program, calculates Machine program realizes following steps S1 to S3 when being executed by processor:
S1, obtains the relevant scene of device type with predetermined home appliance in default scene library, wherein, predetermined household electrical appliances are set The standby home appliance to share or being added in predetermined home network.
Default scene library can be generally arranged in cloud platform, wherein being stored with substantial amounts of scene.When predetermined home appliance When connecting into predetermined home network, once it is determined that the type of the predetermined home appliance, it is possible to obtain institute in default scene library There is scene corresponding with the type.
S2, detect in predetermined home network whether the corresponding Scene case of existing scene.
After scene is determined, it is possible to determine the Scene case on the scene whether is had existed in family.Example Such as, there is a water heater before in predetermined home network, user has newly bought a water heater again, when user shares new water heater Into predetermined home network and after getting the corresponding scene of water heater, it is possible to determine to whether there is this in predetermined home network The corresponding Scene case of a little scenes.Situation about illustrating according to above-mentioned example, will there are some scenes pair in predetermined home network The Scene case answered.If not sharing before in predetermined home network or adding overheat hydrophone, above-mentioned scene should not There are corresponding Scene case.
S3, in the case of there is no Scene case, scene is instantiated, and Scene case is added to predetermined family In the network of front yard.
The embodiment of the present invention obtains the predetermined relevant field of home appliance automatically according to the device type of predetermined home appliance Scape, and judge to whether there is corresponding Scene case in the predetermined home network where the predetermined home appliance, there is no field In the case of scape example, scene is instantiated automatically, and Scene case is added in predetermined home network, so as to follow-up When the home appliance of same type enters the predetermined home network, the process of Scene case can be simplified.
The embodiment of the present invention obtains the predetermined relevant field of home appliance automatically according to the device type of predetermined home appliance Scape, and instantiated automatically, whole process is not required user to participate in manually, and process is simple, better user experience, solves existing skill The following problem of art:By kinsfolk selection smart machine can only be gone to need the intelligent scene activated merely at present, scene is real Exampleization process needs user to be manually operated completely, and operating process is complicated, and the amount of labour is larger, and user experience is poor.
The embodiment of the present invention is will all to be obtained in the relevant scene of the corresponding device type of predetermined home appliance, in example During change, since each scene is divided into condition part and operation part, predetermined home appliance may only exist with condition part or Exist only in operation part, alternatively, some scene need predetermined home appliance and the predetermined home network currently without What one miscellaneous equipment was realized jointly, therefore, the embodiment of the present invention is only handled the scene that can be instantiated.Specifically, Computer program is being executed by processor in the case of there is no Scene case, and scene is instantiated, and scene is real When example is added to the step in predetermined home network, step is implemented as follows:In the case of there is no Scene case, detection Whether the scene condition part corresponding whole home appliances and operation part corresponding at least one are included in predetermined home network A home appliance;Including the corresponding whole home appliances in the scene condition part and the corresponding at least one household electrical appliances of operation part In the case of equipment, scene is instantiated, and Scene case is added in predetermined home network.
Further, computer program is being executed by processor whether include the scene condition in predetermined home network is detected During the step of the corresponding whole home appliances in part and the corresponding at least one home appliance of operation part, step is implemented as follows Suddenly:Detect and whether there is the scene in predetermined home network;In the case of there are the scene, detecting in predetermined home network is It is no including the corresponding whole home appliances in the scene condition part and the corresponding at least one home appliance of operation part.It is if pre- Determine in home network there are the scene but be not instantiated, illustrate that the scene is included in a part of predetermined home network Existing home appliance, also including before some predetermined home networks without equipment, therefore when realizing, it is necessary to it is this kind of Existing scene further determines whether to be instantiated, that is, after judging that predetermined home appliance is added to predetermined home network, Whether the scene can be realized, if it is possible to realize, then the scene can be instantiated.
Whether include the scene condition part pair in the predetermined home network of detection is executed by processor in computer program After the step of whole home appliances and operation part answered corresponding at least one home appliance, also it is executed by processor following Step:Do not including the corresponding whole home appliances in the scene condition part and the corresponding at least one home appliance of operation part In the case of, which is added in predetermined home network, subsequently has new home appliance to be added to the predetermined family to wait Directly the scene can be instantiated during the network of front yard.
Computer program in the predetermined home network of detection is executed by processor whether the corresponding scene of existing scene After the step of example, following steps are also executed by processor:In the case of there are Scene case, whether detection Scene case Need to update;In the case where Scene case needs to update, according to the device information update Scene case of predetermined home appliance.Example Such as, the corresponding scene of existing Scene case opens all intelligent appliance equipment at 7 points for morning, then is having a new intelligent appliance When equipment is added in predetermined home network, it is necessary to the operation part of the example is updated, then needs more to go the Scene case, with New intelligent appliance can be set and be added in the scene.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. is various can be with the medium of store program codes.Alternatively, in the present embodiment, processor has been deposited according in storage medium The program code of storage performs the method and step of above-described embodiment record.Alternatively, the specific example in the present embodiment may be referred to Example described in above-described embodiment and optional embodiment, details are not described herein for the present embodiment.Obviously, the technology of this area Personnel should be understood that above-mentioned each module of the invention or each step can be realized with general computing device, they can be with Concentrate on single computing device, or be distributed on the network that multiple computing devices are formed, alternatively, they can be used The program code that computing device can perform is realized, it is thus possible to be stored in storage device by computing device to hold OK, and in some cases, can with the steps shown or described are performed in an order that is different from the one herein, or by they point Each integrated circuit modules are not fabricated to, or the multiple modules or step in them are fabricated to single integrated circuit module Realize.Combined in this way, the present invention is not restricted to any specific hardware and software.
Kinsfolk is by existing smart machine (such as audio & video equipment, lighting system, curtain control, airconditioning control, security protection System, Digital Theater System, video server, shadow cabinet system, network home appliance etc.) share in some family, by intelligent field Scape template establishment belongs to the intelligent scene example of family;How these smart machines in family are according to different scenes example It is that we are badly in need of the problem to be solved that the device type that changing needs, which goes to build corresponding Scene case automatically,.
The prior art is that kinsfolk goes targetedly to activate according to the equipment and then selection scene template shared to family Or scene is closed, when equipment is more and more, the prior art can not go to build scene reality automatically according to family's Zhongting equipment Example, causes smart machine to be added rapidly in the big family of intelligent scene.
Third embodiment of the invention provides a kind of method of efficiently Scene case, it is intended in the intelligence of kinsfolk oneself Energy equipment is once shared in family, then associated scenario can be automatically created by system, is eliminated for a user quite a lot of Trouble, reduce part flow and improve the operability of intelligent scene.
The scene of the present embodiment is published in scene store by engineer after scene copying platform typing.Scene is divided into Two parts:1st, the description category information (including title of the type of scene, scene, scene creation person etc.) of scene;2nd, scene Rule template (template, which includes scene, to be needed the condition that triggers and the thing done is needed after triggering).Wherein, in scene rule template Define equipment condition (such as:The humidity of air-conditioning is less than 60%);Also define the action (example that needs after the condition of satisfaction trigger Such as:70%) humidity is arranged to.Equipment in template goes to define by major class and middle class, and customer instance is according to these information Corresponding equipment is selected to be created that real example.
The flow of the method for the present embodiment Scene case as shown in Fig. 2, including:
S201, after user buys air purifier (intelligent appliance equipment), binds the air purifier to the family of oneself Under account A in network.
S202, in the home network that air purifier is shared to oneself, at this time, other accounts under the home network are all It can be seen that account A has shared air purifier.
S203, cloud platform detect the sharing operation of account A, and it is air purifier to determine the intelligent appliance equipment, then exists The scene of scene center (i.e. default scene library) does association matching operation, to obtain and the relevant all scenes of air purifier.
Whether S204, cloud platform detection account A have operating right to all intelligent appliance equipment in home network.Such as Fruit is then to perform S206, otherwise performs S205.
S205, the corresponding scene of home appliance that no operating right is involved in from the scene obtained are deleted.
S206, in cloud platform detection home network whether existing each corresponding Scene case of scene.If it is, hold Row S211, otherwise performs S207.
S207, detects in home network and whether there is the scene.If it is, performing S208, S210 is otherwise performed.
Whether S208, detecting includes the corresponding whole home appliances in the scene condition part and operation part in home network Corresponding at least one home appliance.If it is, performing S209, S210 is otherwise performed.
S209, scene is instantiated, and Scene case is added in home network.
S210, preserves the scene.
S211, judges whether the Scene case needs to update.If so, performing S212, S213 is otherwise performed.
S212, updates the Scene case.
Scene case, is directly added under air purifier by S213.
It is automatic when executable example is created for family, the example include the founder of example, example ownership family and The example script performed is needed, most important of which is that the perform script of example.
After cloud platform detects that the operation of air purifier is shared in user's cancellation, delete according to related to air purifier Scene case.Specifically, the definition of single scene is to allow for plurality of devices participation, so corresponding example can also wrap Containing plurality of devices.Whether one equipment cancellation will delete corresponding related example after sharing will see that the equipment is gone back in being in condition It is in behavior;Equipment in condition is indispensable, but can not have equipment to control in behavior.As long as so according to residing for equipment Position it may determine that the example be need to delete or need renewal (renewal is meant delete and cancel the equipment shared after Remodify example rather than deletion or re-create).
The prior art can only depend merely on kinsfolk to go selection smart machine activation intelligent scene, but can not be according to family In the equipment of existing distinct device type go to build diversified Scene case automatically, be to greatly reduce for user Experience effect.By the embodiment of the present invention, the intelligent appliance equipment in family can be quickly incorporated in intelligent scene, accomplished The one-touch intelligent management of equipment;The step of user deactivates scene can also be saved, it is unified to be completed by cloud platform integrated system, It is convenient and efficient, lift user experience.
Fourth embodiment of the invention provides a kind of device of Scene case, the structural representation of the device as shown in figure 3, Including:Acquisition module 10, for obtaining the relevant scene of device type in default scene library with predetermined home appliance, wherein, Predetermined home appliance is the home appliance shared or be added in predetermined home network;First detection module 11, with acquisition module 10 couplings, for detect in predetermined home network whether the corresponding Scene case of existing scene;Module 12 is instantiated, with first Detection module 11 couples, and in the case of there is no Scene case, scene to be instantiated, and Scene case is added Into predetermined home network.
During specific implementation, instantiation module can include:Detection unit, in the case of there is no Scene case, Detect whether corresponding at least including the corresponding whole home appliances in scene condition part and operation part in predetermined home network One home appliance;Instantiating unit, couples with detection unit, in the corresponding whole household electrical appliances of the condition part including scene In the case of equipment and the corresponding at least one home appliance of operation part, scene is instantiated, and Scene case is added It is added in predetermined home network;Adding device, couples with detection unit, for corresponding complete in the condition part for not including scene In the case of portion's home appliance and the corresponding at least one home appliance of operation part, scene is added to predetermined home network In.
Preferably, detection unit, which is specifically used for detecting, whether there is scene in predetermined home network, and there are scene In the case of, detect the corresponding whole home appliances of condition part and operation part pair for whether including scene in predetermined home network At least one home appliance answered.
As shown in figure 4, the device of above-mentioned Scene case can also include:Second detection module 13, with the first detection mould Block 11 couples, in the case of there are Scene case, whether detection Scene case to need to update;Update module 14, with Two detection modules 13 couple, in the case of needing to update in Scene case, according to the facility information of predetermined home appliance more New scene example.
The embodiment of the present invention obtains the predetermined relevant field of home appliance automatically according to the device type of predetermined home appliance Scape, and instantiated automatically, whole process is not required user to participate in manually, and process is simple, better user experience, solves existing skill The following problem of art:By kinsfolk selection smart machine can only be gone to need the intelligent scene activated merely at present, scene is real Exampleization process needs user to be manually operated completely, and operating process is complicated, and the amount of labour is larger, and user experience is poor.
Although being example purpose, the preferred embodiment of the present invention is had been disclosed for, those skilled in the art will recognize Various improvement, increase and substitution are also possible, and therefore, the scope of the present invention should be not limited to above-described embodiment.

Claims (10)

  1. A kind of 1. method of Scene case, it is characterised in that including:
    The relevant scene of device type with predetermined home appliance in default scene library is obtained, wherein, the predetermined home appliance To share or being added to the home appliance in predetermined home network;
    Detect in the predetermined home network whether the corresponding Scene case of the existing scene;
    In the case of there is no the Scene case, the scene is instantiated, and Scene case is added to described In predetermined home network.
  2. 2. the method as described in claim 1, it is characterised in that in the case of there is no the Scene case, by the field Scape is instantiated, and Scene case is added in the predetermined home network, including:
    Whether in the case of there is no the Scene case, detecting in the predetermined home network includes the scene condition portion Divide corresponding whole home appliances and the corresponding at least one home appliance of operation part;
    Set in the corresponding whole home appliances of the condition part including the scene and the corresponding at least one household electrical appliances of operation part In the case of standby, the scene is instantiated, and Scene case is added in the predetermined home network.
  3. 3. method as claimed in claim 2, it is characterised in that in the detection predetermined home network whether the bar of the scene The corresponding whole home appliances in part part and the corresponding at least one home appliance of operation part, including:
    Detect and whether there is the scene in the predetermined home network;
    In the case of there are the scene, the condition part pair for whether including the scene in the predetermined home network is detected The corresponding at least one home appliance of whole home appliances and operation part answered.
  4. 4. method as claimed in claim 2 or claim 3, it is characterised in that whether include in the detection predetermined home network described After the corresponding whole home appliances of condition part and the corresponding at least one home appliance of operation part of scene, further include:
    In the corresponding whole home appliances of condition part and the corresponding at least one household electrical appliances of operation part for not including the scene In the case of equipment, the scene is added in the predetermined home network.
  5. 5. the method as described in claim 1, it is characterised in that in the detection predetermined home network whether the existing field After the corresponding Scene case of scape, further include:
    In the case of there are the Scene case, detect whether the Scene case needs to update;
    In the case where the Scene case needs to update, according to scene described in the device information update of the predetermined home appliance Example.
  6. A kind of 6. device of Scene case, it is characterised in that including:
    Acquisition module, for obtaining the relevant scene of device type in default scene library with predetermined home appliance, wherein, it is described Predetermined home appliance is the home appliance shared or be added in predetermined home network;
    First detection module, for detect in the predetermined home network whether the corresponding Scene case of the existing scene;
    Module is instantiated, in the case of there is no the Scene case, the scene to be instantiated, and by scene Example is added in the predetermined home network.
  7. 7. device as claimed in claim 6, it is characterised in that the instantiation module includes:
    Detection unit, for whether in the case of there is no the Scene case, detect to include in the predetermined home network The corresponding whole home appliances in the scene condition part and the corresponding at least one home appliance of operation part;
    Instantiating unit, for corresponding in the corresponding whole home appliances of the condition part including the scene and operation part In the case of at least one home appliance, the scene is instantiated, and Scene case is added to the predetermined family In network.
  8. 8. device as claimed in claims 6 or 7, it is characterised in that further include:
    Second detection module, in the case of there are the Scene case, detecting whether the Scene case needs to update;
    Update module, in the case of needing to update in the Scene case, believes according to the equipment of the predetermined home appliance Breath updates the Scene case.
  9. 9. a kind of storage medium, is stored with computer program, it is characterised in that real when the computer program is executed by processor Any one of existing claim 1 to 5 the step of method.
  10. 10. a kind of computer equipment, it is characterised in that including memory, processor and be stored on the memory and can be The computer program run on the processor, the processor are realized any one in claim 1 to 5 when performing described program The step of item the method.
CN201711265431.0A 2017-12-05 2017-12-05 A kind of method, apparatus of Scene case, storage medium and computer equipment Pending CN108039989A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711265431.0A CN108039989A (en) 2017-12-05 2017-12-05 A kind of method, apparatus of Scene case, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711265431.0A CN108039989A (en) 2017-12-05 2017-12-05 A kind of method, apparatus of Scene case, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN108039989A true CN108039989A (en) 2018-05-15

Family

ID=62095432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711265431.0A Pending CN108039989A (en) 2017-12-05 2017-12-05 A kind of method, apparatus of Scene case, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN108039989A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032940A (en) * 2018-07-19 2018-12-18 郑州云海信息技术有限公司 A kind of test scene input method, device, equipment and storage medium
CN111818172A (en) * 2020-07-21 2020-10-23 海信视像科技股份有限公司 Method and device for controlling intelligent equipment by management server of Internet of things
CN114167736A (en) * 2020-10-12 2022-03-11 超级智慧家(上海)物联网科技有限公司 Intelligent household scene generation method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140128001A1 (en) * 2009-08-21 2014-05-08 Allure Energy, Inc. Proximity control using bluetooth connection
CN103869761A (en) * 2012-12-14 2014-06-18 海尔集团公司 Household appliance control method and control system
CN104394044A (en) * 2014-10-29 2015-03-04 小米科技有限责任公司 Method and device for self-defining scene mode of intelligent equipment
CN104808501A (en) * 2015-03-31 2015-07-29 小米科技有限责任公司 Intelligent scene deleting method and device
CN106100891A (en) * 2016-06-30 2016-11-09 北京小米移动软件有限公司 The method and device that intelligent scene is quickly shared
CN106338922A (en) * 2016-08-22 2017-01-18 海信集团有限公司 Method and device for generating intelligent scene mode
CN106603353A (en) * 2015-10-19 2017-04-26 霍尼韦尔国际公司 Method of smart scene management using big data pattern analysis
CN107426064A (en) * 2017-03-08 2017-12-01 芜湖美智空调设备有限公司 Internet of Things controls the collocation method and device of scene

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140128001A1 (en) * 2009-08-21 2014-05-08 Allure Energy, Inc. Proximity control using bluetooth connection
CN103869761A (en) * 2012-12-14 2014-06-18 海尔集团公司 Household appliance control method and control system
CN104394044A (en) * 2014-10-29 2015-03-04 小米科技有限责任公司 Method and device for self-defining scene mode of intelligent equipment
CN104808501A (en) * 2015-03-31 2015-07-29 小米科技有限责任公司 Intelligent scene deleting method and device
CN106603353A (en) * 2015-10-19 2017-04-26 霍尼韦尔国际公司 Method of smart scene management using big data pattern analysis
CN106100891A (en) * 2016-06-30 2016-11-09 北京小米移动软件有限公司 The method and device that intelligent scene is quickly shared
CN106338922A (en) * 2016-08-22 2017-01-18 海信集团有限公司 Method and device for generating intelligent scene mode
CN107426064A (en) * 2017-03-08 2017-12-01 芜湖美智空调设备有限公司 Internet of Things controls the collocation method and device of scene

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘米兰: "基于复合模型的家居场景生成方法", 《计算机学报》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032940A (en) * 2018-07-19 2018-12-18 郑州云海信息技术有限公司 A kind of test scene input method, device, equipment and storage medium
CN111818172A (en) * 2020-07-21 2020-10-23 海信视像科技股份有限公司 Method and device for controlling intelligent equipment by management server of Internet of things
CN114167736A (en) * 2020-10-12 2022-03-11 超级智慧家(上海)物联网科技有限公司 Intelligent household scene generation method and device

Similar Documents

Publication Publication Date Title
CN108039989A (en) A kind of method, apparatus of Scene case, storage medium and computer equipment
CN104898634A (en) Information processing method and electronic equipment
CN112612214B (en) Method and system for generating functional interface and electronic equipment
CN110348236A (en) A kind of operating right setting method, device and the storage medium of file
EP2433219A1 (en) Presenting information in an instant messaging application
CN105785779A (en) Smart home control method and device
CN104991539A (en) Smart home automated system
CN109640102A (en) The implementation method and device of stealthy anonymous function in a kind of direct broadcasting room
CN113055255A (en) Scene configuration method and device of intelligent household appliance, storage medium and electronic equipment
CN108173724A (en) A kind of sharing method of the smart home device based on mobile terminal
CN106648869A (en) Intelligent terminal application switch method
CN106412078B (en) Accurate information method for pushing, device and system
CN114697150B (en) Command issuing method and device, storage medium and electronic device
CN109059178A (en) Control method, device, air conditioner and the computer readable storage medium of air conditioner
CN111464351B (en) Network distribution method and device for intelligent household equipment, terminal equipment and storage medium
CN106559473A (en) Control method and control device
CN105511273B (en) A kind of client operation management method and client
CN113194155A (en) Method and device for intelligently recommending scenes in Internet of things
CN110413292A (en) Light application installation method, mobile terminal and the storage medium of application program
CN116027937A (en) Rendering method and device of component to be edited, storage medium and electronic device
CN116382111A (en) Equipment control method and device, storage medium and electronic device
CN110824941A (en) Relay control method of intelligent household control panel, client, control panel and computer readable storage medium
CN116107975A (en) Control method and device of equipment, storage medium and electronic device
CN103078774B (en) A kind of home scene control method and device
CN108768802A (en) Facility information delet method and device, server and mobile terminal

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180515