CN114125147B - Verification method for equipment scene function, scene engine and scene platform - Google Patents

Verification method for equipment scene function, scene engine and scene platform Download PDF

Info

Publication number
CN114125147B
CN114125147B CN202111348522.7A CN202111348522A CN114125147B CN 114125147 B CN114125147 B CN 114125147B CN 202111348522 A CN202111348522 A CN 202111348522A CN 114125147 B CN114125147 B CN 114125147B
Authority
CN
China
Prior art keywords
scene
equipment
target
function
action
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111348522.7A
Other languages
Chinese (zh)
Other versions
CN114125147A (en
Inventor
田云龙
王波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202111348522.7A priority Critical patent/CN114125147B/en
Publication of CN114125147A publication Critical patent/CN114125147A/en
Application granted granted Critical
Publication of CN114125147B publication Critical patent/CN114125147B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/75Information technology; Communication
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/30Control
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Economics (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a verification method of equipment scene functions, a scene engine and a scene platform, wherein the method comprises the following steps: when the attribute state of the target equipment meets the execution condition of the target scene, acquiring the equipment scene function of the target equipment for supporting the action of the target scene from the equipment scene management module; judging whether the equipment scene function is matched with the configuration rule of the target scene action or not; if the first failure identification is not matched with the target equipment, adding a first failure identification for the equipment scene function, and feeding back the first failure identification to the target equipment; if so, executing the target scene action, and judging whether the target equipment has the equipment scene function or not; if the equipment scene function is not provided with the second failure identifier, adding the second failure identifier to the equipment scene function, and feeding back the second failure identifier to the target equipment; if the control command corresponding to the target scene action is provided, the control command is issued to the target equipment. Before a control instruction corresponding to the scene action is issued to the intelligent equipment, the equipment scene function is checked for the second time so as to ensure the normal use of the intelligent equipment.

Description

Verification method for equipment scene function, scene engine and scene platform
Technical Field
The invention relates to the technical field of interconnection and interworking, in particular to a verification method for equipment scene functions, a scene engine and a scene platform.
Background
With the development of the internet of things, intelligent devices generally support various device scene functions so as to provide users with rich and various use experiences. When the scene function of the equipment changes, the normal use of the intelligent equipment can be influenced, so how to normally use the intelligent equipment is a problem to be solved in the present day.
Disclosure of Invention
In view of this, the embodiment of the invention provides a verification method for device scene functions, a scene engine and a scene platform, so as to ensure normal use of intelligent devices.
In order to achieve the above object, the embodiment of the present invention provides the following technical solutions:
an embodiment of the invention in a first aspect discloses a method for checking a device scene function, which is applied to a scene engine and comprises the following steps:
when the attribute state uploaded by the target equipment meets the execution condition of a target scene, acquiring an equipment scene function of the target equipment for supporting target scene actions from an equipment scene management module, wherein the target scene actions are any scene actions contained in the target scene;
judging whether the equipment scene function is matched with a configuration rule corresponding to the target scene action;
if the equipment scene function is not matched with the configuration rule corresponding to the target scene action, adding a first failure identifier for the equipment scene function, and feeding back the first failure identifier to the target equipment, wherein the first failure identifier indicates that the equipment scene function does not support the target scene action;
if the equipment scene function is matched with the configuration rule corresponding to the target scene action, executing the target scene action, and judging whether the target equipment has the equipment scene function or not;
if the target equipment does not have the equipment scene function, adding a second failure identifier for the equipment scene function, and feeding back the second failure identifier to the target equipment, wherein the second failure identifier indicates that the target equipment does not have the equipment scene function;
and if the target equipment has the equipment scene function, issuing a control instruction corresponding to the target scene action to the target equipment.
Preferably, the determining whether the target device has the device scene function includes:
acquiring an equipment model corresponding to the target equipment;
if the equipment model contains the equipment scene function, determining that the target equipment has the equipment scene function;
and if the equipment model does not contain the equipment scene function, determining that the target equipment does not have the equipment scene function.
Preferably, after the control instruction corresponding to the target scene action is issued to the target device, the method further includes:
if an invalid identifier fed back by the target device is received, specific failure description information corresponding to the invalid identifier is obtained from the device scene management module, and the invalid identifier indicates that the target device fails to execute the control instruction;
and feeding back the specific failure description information to the target equipment.
Preferably, the performing the target scene action includes:
and calling a device management module arranged in the scene engine to execute the target scene action.
A second aspect of an embodiment of the present invention discloses a scene engine, the scene engine comprising:
the device comprises an acquisition unit, a device scene management module and a control unit, wherein the acquisition unit is used for acquiring a device scene function of target equipment for supporting target scene actions from the device scene management module when the attribute state uploaded by the target equipment meets the execution condition of the target scene, and the target scene actions are any scene actions contained in the target scene;
the judging unit is used for judging whether the equipment scene function is matched with the configuration rule corresponding to the target scene action;
the first adding unit is used for adding a first failure identifier for the equipment scene function if the equipment scene function is not matched with the configuration rule corresponding to the target scene action, and feeding back the first failure identifier to the target equipment, wherein the first failure identifier indicates that the equipment scene function does not support the target scene action;
the processing unit is used for executing the target scene action and judging whether the target equipment has the equipment scene function or not if the equipment scene function is matched with the configuration rule corresponding to the target scene action;
the second adding unit is used for adding a second failure identifier for the equipment scene function if the target equipment does not have the equipment scene function, and feeding back the second failure identifier to the target equipment, wherein the second failure identifier indicates that the target equipment does not have the equipment scene function;
and the issuing unit is used for issuing a control instruction corresponding to the target scene action to the target equipment if the target equipment has the equipment scene function.
Preferably, the processing unit configured to determine whether the target device has the device scene function is specifically configured to: acquiring an equipment model corresponding to the target equipment; if the equipment model contains the equipment scene function, determining that the target equipment has the equipment scene function; and if the equipment model does not contain the equipment scene function, determining that the target equipment does not have the equipment scene function.
Preferably, the scene engine further comprises:
the feedback unit is used for acquiring specific failure description information corresponding to the invalid identifier from the equipment scene management module if the invalid identifier fed back by the target equipment is received, wherein the invalid identifier indicates that the target equipment fails to execute the control instruction; and feeding back the specific failure description information to the target equipment.
A third aspect of an embodiment of the present invention discloses a scene platform, where the scene platform at least includes: a device scene management module and a scene engine disclosed in the second aspect of the embodiment of the invention.
A fourth aspect of the embodiment of the present invention discloses an electronic device, where the electronic device is configured to execute a program, where the program executes a verification method for a device scene function as disclosed in the first aspect of the embodiment of the present invention.
A fifth aspect of the embodiment of the present invention discloses a computer storage medium, where the storage medium includes a storage program, where when the program runs, the device where the storage medium is controlled to execute a verification method for a device scene function as disclosed in the first aspect of the embodiment of the present invention.
Based on the verification method, the scene engine and the scene platform for the equipment scene function provided by the embodiment of the invention, the method comprises the following steps: when the attribute state uploaded by the target equipment meets the execution condition of the target scene, acquiring the equipment scene function of the target equipment for supporting the action of the target scene from the equipment scene management module; judging whether the equipment scene function is matched with a configuration rule corresponding to the target scene action; if the first failure identification is not matched with the target equipment, adding a first failure identification for the equipment scene function, and feeding back the first failure identification to the target equipment; if the equipment scene function is matched with the configuration rule corresponding to the target scene action, executing the target scene action, and judging whether the target equipment has the equipment scene function or not; if the equipment scene function is not provided with the second failure identifier, adding the second failure identifier to the equipment scene function, and feeding back the second failure identifier to the target equipment; if the control command corresponding to the target scene action is provided, the control command is issued to the target equipment. Before a control instruction corresponding to the scene action is issued to the intelligent equipment, the equipment scene function is checked for the second time so as to ensure the normal use of the intelligent equipment.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for checking a device scene function according to an embodiment of the present invention;
FIG. 2 is another flowchart of a method for checking a device scene function according to an embodiment of the present invention;
fig. 3 is a block diagram of a scene engine according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As known in the background art, an intelligent device generally supports multiple device scene functions, so as to provide a rich and diverse use experience for users. However, when the scene function of the device changes, the normal use of the intelligent device is affected, so how to use the intelligent device normally is a problem to be solved in the present day.
Therefore, the embodiment of the invention provides a verification method, a scene engine and a scene platform for equipment scene functions, which are used for carrying out secondary verification on the equipment scene functions before issuing control instructions corresponding to scene actions to intelligent equipment so as to ensure normal use of the intelligent equipment, wherein the verification method for the equipment scene functions is described in detail through the embodiments.
Referring to fig. 1, a flowchart of a method for checking a device scene function according to an embodiment of the present invention is shown, where the method for checking is applied to a scene engine, and the method for checking includes:
step S101: and when the attribute state uploaded by the target device meets the execution condition of the target scene, acquiring the device scene function of the target device for supporting the action of the target scene from the device scene management module.
It should be noted that, the scene at least includes a corresponding scene action (or may be plural) and an execution condition, and for a certain scene, the following scene action execution flow can be continued only when the attribute status of the device satisfies the execution condition of the scene. The target scene action is any scene action contained in the target scene.
It may be understood that the device scene management module at least includes a device scene function of a device for supporting a scene, that is, a device scene function of a device for supporting a certain scene may be obtained from the device scene management module.
In the process of concretely implementing step S101, when receiving the attribute status uploaded by the target device (attribute status of the target device), determining whether the attribute status meets the execution condition of the target scene; when the attribute state meets the execution condition of the target scene, the device scene function of the target device for supporting the target scene action (namely, the device scene function to be checked can be acquired to be a plurality of, the number is not limited) is acquired from the device scene management module, namely, the device scene function of the target device for supporting the target scene action is acquired.
Specifically, a corresponding query instruction may be sent to the device scene management module, and a device scene function definition returned by the device scene management module may be received, where the device scene function definition includes: the target device is to support device scene functions for target scene actions.
Step S102: and judging whether the equipment scene function is matched with a configuration rule corresponding to the target scene action. If the device scene function is not matched with the configuration rule corresponding to the target scene action, executing step S103; if the device scene function matches the configuration rule corresponding to the target scene action, step S104 is executed.
It should be noted that, a configuration rule corresponding to a scene action exists in the scene engine, and whether the scene function of the device supports the scene action can be judged through the configuration rule.
In the specific implementation process of step S102, for the device scenario function (i.e., the device scenario function to be checked) of the target device for supporting the target scenario action, the device scenario function needs to be checked for the first time, where a specific checking mode of the first check is: judging whether the equipment scene function is matched with a configuration rule corresponding to the target scene action; if the device scene function of the target device for supporting the target scene action is not matched with the configuration rule, the device scene function acquired from the device scene management module is not supporting the target scene action, and step S103 is executed; if the device scene function of the target device for supporting the target scene action matches the configuration rule, the second verification is continuously performed on the device scene function, and the specific content of the second verification is detailed in step S104.
It will be appreciated that the above-mentioned determination of whether a device scene function matches a configuration rule corresponding to a target scene action may be considered as a determination of whether a device scene function definition (including a device scene function of a target device for supporting the target scene action) still exists in the scene engine.
Step S103: and adding a first failure identifier for the device scene function, and feeding back the first failure identifier to the target device.
Note that the first failure flag indicates: the device scene function (i.e., the device scene function to be verified) acquired from the device scene management module does not support the target scene action.
In the process of implementing step S103, if the device scene function of the target device for supporting the target scene action does not match the configuration rule, it indicates that the device scene function acquired from the device scene management module does not support the target scene action, that is, the device scene function for supporting the target scene action has changed. At this time, a first failure identifier is added for the device scene function that does not support the target scene action, where the first failure identifier may also be used to indicate that the target scene action fails to be executed and a failure reason, where the failure reason is that the device scene function does not support the target scene action.
After adding the first failure identifier to the device scene function that does not support the target scene action, the first failure identifier is fed back to the target device, and specifically, the first failure identifier may be fed back to the APP corresponding to the target device. The user can be guided to modify or delete the device scene function added with the first failure identifier through the first failure identifier displayed by the target device.
Step S104: and executing the target scene action, and judging whether the target equipment has the equipment scene function or not. If the target device does not have the device scene function, executing step S105; if the target device has the device scene function, step S106 is executed.
In the specific implementation process of step S104, if the device scene function of the target device for supporting the target scene action matches with the configuration rule of the target scene action, it indicates that the device scene function acquired from the device scene management module supports the target scene action, at this time, the target scene action is executed, and the device scene function acquired from the device scene management module is further checked for the second time.
In some embodiments, a device management module disposed in the scene engine may be invoked to perform the target scene action when the target scene action is performed.
The second verification mentioned above is performed in the following manner: and judging whether the target equipment has the equipment scene function (namely the equipment scene function to be checked) obtained from the equipment scene management module. Specifically, an equipment model corresponding to the target equipment is obtained, and the equipment model contains equipment scene functions of the target equipment; if the device model includes the device scene function acquired from the device scene management module, determining that the target device has the device scene function acquired from the device scene management module, and executing step S106; if the device model does not include the device scene function acquired from the device scene management module, it is determined that the target device does not have the device scene function acquired from the device scene management module, and step S105 is executed.
Step S105: and adding a second failure identifier for the device scene function, and feeding back the second failure identifier to the target device.
Note that the second failure flag indicates: the target device does not have the device scene function obtained from the device scene management module.
In the specific implementation process of step S105, if it is determined that the target device does not have the device scene function obtained from the device scene management module, a second failure identifier is added to the device scene function that the target device does not have, where the second failure identifier may also be used to indicate that the target scene action fails to execute and a failure reason, where the failure reason is that the target device does not have the device scene function obtained from the device scene management module. At this time, the second failure identifier is fed back to the target device, and the user can learn relevant information through the second failure identifier.
Step S106: and issuing a control instruction corresponding to the target scene action to the target equipment.
In the specific implementation process of step S106, if it is determined that the target device has the device scene function obtained from the device scene management module, it indicates that the device scene function obtained from the device scene management module has passed the verification twice, at this time, a control instruction corresponding to the target scene action may be issued to the target device, so that the target device executes the control instruction (that is, executes the target scene action).
When the target equipment receives a control instruction corresponding to the target scene action, the control instruction is executed; if the target equipment successfully executes the control instruction, the target equipment indicates that the target scene action is successfully executed; if the target device fails to execute the control instruction, the target device feeds back an invalid identification to the scene engine.
In some embodiments, if an invalid identifier fed back by the target device is received, specific failure description information corresponding to the invalid identifier is obtained from the device scene management module, where the invalid identifier indicates that the target device fails to execute the control instruction; and feeding back the specific failure description information to the target equipment, so that the target equipment displays (such as by APP), and the user can know the specific cause of the failure of executing the control instruction according to the specific failure description information, namely, the specific failure description information is taken as the specific cause of the failure of executing, and the specific cause is displayed in the target equipment.
For each scene action of the target scene (or other scenes), the content shown in the steps S101 to S106 can be utilized to verify the functions of the device scene, so as to ensure the normal use of the intelligent device.
In the embodiment of the invention, when the attribute state of the target device meets the execution condition of the target scene, the device scene function of the target device for supporting the action of the target scene is acquired from the device scene management module. And judging whether the device scene function is matched with the configuration rule of the target scene action. If the first failure identification is not matched with the target equipment, adding a first failure identification for the equipment scene function, and feeding back the first failure identification to the target equipment. If so, executing the target scene action, and judging whether the target equipment has the equipment scene function. If the device scene function is not provided with the second failure identifier, the second failure identifier is added for the device scene function, and the second failure identifier is fed back to the target device. If the control command corresponding to the target scene action is provided, the control command is issued to the target equipment. Before a control instruction corresponding to the scene action is issued to the intelligent equipment, the equipment scene function is checked for the second time so as to ensure the normal use of the intelligent equipment.
For better explanation of the content of the steps in fig. 1 in the above embodiment of the present invention, taking the interaction flow between the scene engine and the device scene management module as an example for illustration, referring to fig. 2, another flowchart of a method for checking the function of a device scene is shown, which includes the following steps:
step S201: when the attribute state uploaded by the target device meets the execution condition of the target scene, the scene engine requests to acquire the device scene function of the target device for supporting the action of the target scene from the device scene management module.
Step S202: the scene engine determines whether the acquired device scene function exists. If the target scene action does not exist, determining that the target scene action fails to be executed, and adding a first failure identifier for the equipment scene function. If so, step S203 is performed.
It should be noted that, the first failure identifier indicates that the acquired device scene function does not support the target scene action.
In the specific implementation process of step S202, the scene engine determines whether the acquired device scene function exists, that is, whether the device scene function matches with the configuration rule corresponding to the target scene action.
Step S203: the scene engine invokes the device management module to perform the target scene action.
Step S204: the scene engine determines whether the target device has device scene functionality. If the device is not provided with the target scene action, determining that the target scene action fails to be executed, and adding a second failure identifier for the device scene function. If so, step S205 is performed.
It should be noted that the second failure identifier indicates that the target device does not have the device scene function.
Step S205: and the scene engine transmits a control instruction corresponding to the target scene action to the target equipment.
Step S206: the scene engine determines whether an invalid identification of the target device feedback is received. If not, the target equipment is determined to successfully execute the target scene action. If the specific failure description information is received, determining that the target equipment fails to execute the target scene action, and requesting to acquire the specific failure description information corresponding to the invalid identifier from the equipment scene management module.
It should be noted that, the execution principles of steps S201 to S206 can be referred to the content of fig. 1 in the above embodiment of the present invention, and are not repeated here.
Corresponding to the above method for checking the device scene function provided by the embodiment of the present invention, referring to fig. 3, the embodiment of the present invention further provides a structural block diagram of a scene engine, where the scene engine includes: an acquisition unit 301, a judgment unit 302, a first addition unit 303, a processing unit 304, a second addition unit 305, and a issuing unit 306;
the obtaining unit 301 is configured to obtain, from the device scene management module, a device scene function of the target device for supporting a target scene action when the attribute status uploaded by the target device meets an execution condition of the target scene, where the target scene action is any scene action included in the target scene.
A judging unit 302, configured to judge whether the device scene function matches with a configuration rule corresponding to the target scene action.
The first adding unit 303 is configured to add a first failure identifier to the device scene function if the configuration rule corresponding to the device scene function and the target scene action are not matched, and feed back the first failure identifier to the target device, where the first failure identifier indicates that the device scene function does not support the target scene action.
And the processing unit 304 is configured to execute the target scene action if the device scene function matches the configuration rule corresponding to the target scene action, and determine whether the target device has the device scene function.
In a specific implementation, the processing unit 304 is configured to determine whether the target device has a device scene function, and specifically is configured to: acquiring an equipment model corresponding to target equipment; if the equipment model contains the equipment scene function, determining that the target equipment has the equipment scene function; if the equipment model does not contain the equipment scene function, determining that the target equipment does not have the equipment scene function.
In a specific implementation, the processing unit 304 is configured to perform a target scene action, specifically: and calling a device management module arranged in the scene engine to execute the target scene action.
The second adding unit 305 is configured to add a second failure identifier to the device scene function if the target device does not have the device scene function, and feed back the second failure identifier to the target device, where the second failure identifier indicates that the target device does not have the device scene function.
And the issuing unit 306 is configured to issue a control instruction corresponding to the target scene action to the target device if the target device has the device scene function.
Preferably, in combination with the content shown in fig. 3, the scene engine further comprises:
the feedback unit is used for acquiring specific failure description information corresponding to the invalid identifier from the device scene management module if the invalid identifier fed back by the target device is received, wherein the invalid identifier indicates that the target device fails to execute the control instruction; and feeding back the specific failure description information to the target equipment.
In the embodiment of the invention, when the attribute state of the target device meets the execution condition of the target scene, the device scene function of the target device for supporting the action of the target scene is acquired from the device scene management module. And judging whether the device scene function is matched with the configuration rule of the target scene action. If the first failure identification is not matched with the target equipment, adding a first failure identification for the equipment scene function, and feeding back the first failure identification to the target equipment. If so, executing the target scene action, and judging whether the target equipment has the equipment scene function. If the device scene function is not provided with the second failure identifier, the second failure identifier is added for the device scene function, and the second failure identifier is fed back to the target device. If the control command corresponding to the target scene action is provided, the control command is issued to the target equipment. Before a control instruction corresponding to the scene action is issued to the intelligent equipment, the equipment scene function is checked for the second time so as to ensure the normal use of the intelligent equipment.
Corresponding to the verification method for the equipment scene function provided by the embodiment of the invention, the embodiment of the invention also provides a scene platform, which at least comprises: the execution principles of the device scene management module and the scene engine can be referred to the content in the above embodiments, and will not be described herein.
Preferably, the embodiment of the invention further provides an electronic device, which is used for running a program, wherein the verification method of the device scene function disclosed by the embodiment is executed when the program runs.
Preferably, the embodiment of the invention further provides a computer storage medium, the storage medium includes a storage program, and when the program runs, the device where the storage medium is controlled to execute the verification method of the device scene function disclosed in the above embodiment.
In summary, the embodiment of the invention provides a verification method for a device scene function, a scene engine and a scene platform, which are used for performing secondary verification on the device scene function before issuing a control instruction corresponding to a scene action to an intelligent device so as to ensure normal use of the intelligent device.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for a system or system embodiment, since it is substantially similar to a method embodiment, the description is relatively simple, with reference to the description of the method embodiment being made in part. The systems and system embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for verifying a device scene function, the method being applied to a scene engine, the method comprising:
when the attribute state uploaded by the target equipment meets the execution condition of a target scene, acquiring an equipment scene function of the target equipment for supporting target scene actions from an equipment scene management module, wherein the target scene actions are any scene actions contained in the target scene;
judging whether the equipment scene function is matched with a configuration rule corresponding to the target scene action;
if the equipment scene function is not matched with the configuration rule corresponding to the target scene action, adding a first failure identifier for the equipment scene function, feeding back the first failure identifier to the target equipment for display, and guiding a user to modify or delete the equipment scene function added with the first failure identifier; the first failure indication indicates that the device scene function does not support the target scene action;
if the equipment scene function is matched with the configuration rule corresponding to the target scene action, executing the target scene action, and judging whether the target equipment has the equipment scene function or not;
if the target equipment does not have the equipment scene function, adding a second failure identifier for the equipment scene function, and feeding back the second failure identifier to the target equipment for display, wherein the second failure identifier indicates that the target equipment does not have the equipment scene function;
and if the target equipment has the equipment scene function, issuing a control instruction corresponding to the target scene action to the target equipment.
2. The method of claim 1, wherein the determining whether the target device is capable of the device scene function comprises:
acquiring an equipment model corresponding to the target equipment;
if the equipment model contains the equipment scene function, determining that the target equipment has the equipment scene function;
and if the equipment model does not contain the equipment scene function, determining that the target equipment does not have the equipment scene function.
3. The method of claim 1, further comprising, after issuing a control instruction corresponding to the target scene action to the target device:
if an invalid identifier fed back by the target device is received, specific failure description information corresponding to the invalid identifier is obtained from the device scene management module, and the invalid identifier indicates that the target device fails to execute the control instruction;
and feeding back the specific failure description information to the target equipment.
4. The method of claim 1, wherein the performing the target scene action comprises:
and calling a device management module arranged in the scene engine to execute the target scene action.
5. A scene engine, the scene engine comprising:
the device comprises an acquisition unit, a device scene management module and a control unit, wherein the acquisition unit is used for acquiring a device scene function of target equipment for supporting target scene actions from the device scene management module when the attribute state uploaded by the target equipment meets the execution condition of the target scene, and the target scene actions are any scene actions contained in the target scene;
the judging unit is used for judging whether the equipment scene function is matched with the configuration rule corresponding to the target scene action;
the first adding unit is used for adding a first failure identifier to the equipment scene function if the equipment scene function is not matched with the configuration rule corresponding to the target scene action, feeding back the first failure identifier to the target equipment for display, and guiding a user to modify or delete the equipment scene function added with the first failure identifier; the first failure indication indicates that the device scene function does not support the target scene action;
the processing unit is used for executing the target scene action and judging whether the target equipment has the equipment scene function or not if the equipment scene function is matched with the configuration rule corresponding to the target scene action;
the second adding unit is used for adding a second failure identifier for the equipment scene function if the target equipment does not have the equipment scene function, and feeding back the second failure identifier to the target equipment for display, wherein the second failure identifier indicates that the target equipment does not have the equipment scene function;
and the issuing unit is used for issuing a control instruction corresponding to the target scene action to the target equipment if the target equipment has the equipment scene function.
6. The scene engine according to claim 5, wherein the processing unit configured to determine whether the target device has the device scene function is specifically configured to: acquiring an equipment model corresponding to the target equipment; if the equipment model contains the equipment scene function, determining that the target equipment has the equipment scene function; and if the equipment model does not contain the equipment scene function, determining that the target equipment does not have the equipment scene function.
7. The scene engine of claim 5, wherein the scene engine further comprises:
the feedback unit is used for acquiring specific failure description information corresponding to the invalid identifier from the equipment scene management module if the invalid identifier fed back by the target equipment is received, wherein the invalid identifier indicates that the target equipment fails to execute the control instruction; and feeding back the specific failure description information to the target equipment.
8. A scene platform, the scene platform comprising at least: a device scene management module and the scene engine of any of claims 5 to 7.
9. An electronic device, wherein the electronic device is configured to run a program, and wherein the program, when run, performs the method for verifying a device scene function according to any one of claims 1 to 4.
10. A computer storage medium, characterized in that the storage medium comprises a stored program, wherein the program, when run, controls a device in which the storage medium is located to perform a verification method of a device scene function according to any one of claims 1 to 4.
CN202111348522.7A 2021-11-15 2021-11-15 Verification method for equipment scene function, scene engine and scene platform Active CN114125147B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111348522.7A CN114125147B (en) 2021-11-15 2021-11-15 Verification method for equipment scene function, scene engine and scene platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111348522.7A CN114125147B (en) 2021-11-15 2021-11-15 Verification method for equipment scene function, scene engine and scene platform

Publications (2)

Publication Number Publication Date
CN114125147A CN114125147A (en) 2022-03-01
CN114125147B true CN114125147B (en) 2023-05-30

Family

ID=80395546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111348522.7A Active CN114125147B (en) 2021-11-15 2021-11-15 Verification method for equipment scene function, scene engine and scene platform

Country Status (1)

Country Link
CN (1) CN114125147B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110687812A (en) * 2019-10-28 2020-01-14 星络智能科技有限公司 Household equipment linkage control method, system and storage medium
WO2020228032A1 (en) * 2019-05-16 2020-11-19 深圳市欢太科技有限公司 Scene pushing method, apparatus and system, and electronic device and storage medium
CN112422380A (en) * 2020-11-18 2021-02-26 青岛海尔科技有限公司 Target device control method and device, storage medium and electronic device
WO2021196591A1 (en) * 2020-04-02 2021-10-07 深圳创维-Rgb电子有限公司 Display switching method and device for smart display terminal, equipment, and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109858607A (en) * 2019-03-08 2019-06-07 网宿科技股份有限公司 A kind of application method, management method, system and server
CN110300175B (en) * 2019-07-02 2022-05-17 腾讯科技(深圳)有限公司 Message pushing method and device, storage medium and server
CN110808961B (en) * 2019-10-16 2022-02-01 上海易点时空网络有限公司 Data processing method and device for security verification
CN111474860B (en) * 2020-04-07 2023-12-05 广东好太太智能家居有限公司 Processing method, device and storage medium based on failure intelligent scene
CN111488088B (en) * 2020-04-07 2022-05-06 Oppo广东移动通信有限公司 Equipment state identification method and device and intelligent terminal
CN111694926A (en) * 2020-04-27 2020-09-22 平安科技(深圳)有限公司 Interactive processing method and device based on scene dynamic configuration and computer equipment
CN112327763A (en) * 2020-09-08 2021-02-05 深圳Tcl新技术有限公司 Intelligent scene control method, device, gateway and storage medium
CN113433869A (en) * 2021-07-14 2021-09-24 青岛海尔科技有限公司 Control method, control device and control system of intelligent equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020228032A1 (en) * 2019-05-16 2020-11-19 深圳市欢太科技有限公司 Scene pushing method, apparatus and system, and electronic device and storage medium
CN110687812A (en) * 2019-10-28 2020-01-14 星络智能科技有限公司 Household equipment linkage control method, system and storage medium
WO2021196591A1 (en) * 2020-04-02 2021-10-07 深圳创维-Rgb电子有限公司 Display switching method and device for smart display terminal, equipment, and storage medium
CN112422380A (en) * 2020-11-18 2021-02-26 青岛海尔科技有限公司 Target device control method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN114125147A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
CN106569859B (en) Target file loading method and device
CN110276074B (en) Distributed training method, device, equipment and storage medium for natural language processing
CN108804399B (en) Form verification method and device
EP2933726A1 (en) Apparatus, system and method for application log data processing
CN111414234A (en) Mirror image container creation method and device, computer device and storage medium
CN111527389A (en) Vehicle diagnosis method, vehicle diagnosis device and storage medium
CN107707679A (en) File uploading method and device
CN105635124A (en) Flow control method and device
CN114125147B (en) Verification method for equipment scene function, scene engine and scene platform
CN113868602A (en) Application authorization method, distributed cluster system, electronic device and storage medium
CN105074670A (en) Log output control device, method, and program
CN111880810B (en) Service instance deployment method and device, electronic equipment and storage medium
CN107305497A (en) Version upgrading method and device
CN111597785A (en) Processing method and device of prescription template, electronic equipment and storage medium
CN111090442A (en) Application updating method and device and storage medium
CN114691241B (en) Task execution method, device, electronic equipment and storage medium
CN112860398A (en) Data processing method, device, equipment and medium based on rule engine
CN115065670B (en) IOS APP automatic release method, macOS server and system
CN112084827B (en) Data processing method and device
CN110688555B (en) Data source discovery and verification system based on crawler
CN115599728A (en) Slot position determining method, device and equipment of FRU equipment and readable storage medium
CN112416409B (en) Vehicle-mounted computer software upgrading method, device, equipment and storage medium
CN110287265B (en) Login request processing method and device, server and readable storage medium
EP4379542A1 (en) Systems and methods for software execution environment management
CN113110875A (en) Form processing method and device, computer equipment and storage medium

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
CB03 Change of inventor or designer information

Inventor after: Tian Yunlong

Inventor after: Wang Bo

Inventor before: Wang Bo

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant