CN116132209A - Scene construction method and device, storage medium and electronic device - Google Patents

Scene construction method and device, storage medium and electronic device Download PDF

Info

Publication number
CN116132209A
CN116132209A CN202310086834.8A CN202310086834A CN116132209A CN 116132209 A CN116132209 A CN 116132209A CN 202310086834 A CN202310086834 A CN 202310086834A CN 116132209 A CN116132209 A CN 116132209A
Authority
CN
China
Prior art keywords
scene
equipment
fragment
scenes
rule
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
CN202310086834.8A
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.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd, Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202310086834.8A priority Critical patent/CN116132209A/en
Publication of CN116132209A publication Critical patent/CN116132209A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/2809Exchanging configuration information on appliance services in a home automation network indicating that an appliance service is present in a home automation network
    • 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
    • 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
    • H04L12/282Controlling appliance services of a home automation network by calling their functionalities based on user interaction within the home
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • 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)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Electrically Operated Instructional Devices (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a scene construction method and device, a storage medium and an electronic device, and relates to the technical field of smart families, wherein the scene construction method comprises the following steps: determining a corresponding skill set according to business requirements of a skill demander, and marking the skill set as a target component, wherein the skill set comprises: the cloud functions are device functions realized through a cloud platform; determining a plurality of segment scenes according to the target component and the open skills of the one or more equipment categories, wherein the open skills are functions other than the cloud function; according to the technical scheme, the problems that conditions and actions of the scenes of the IFTTT rule are atomic functions, the same functions of different scenes need to be repeatedly configured, a large number of conditions and actions need to be configured for complex scenes and the like are solved.

Description

Scene construction method and device, storage medium and electronic device
Technical Field
The application relates to the technical field of smart families, in particular to a scene construction method and device, a storage medium and an electronic device.
Background
With the development of business, the current scene configuration of the IFTTT rule is relatively simple, reservation is aimed at a single time point or periodicity, and complex linkage and reservation scenes all need industrial support, so that higher requirements are put forward on the industry.
In the related technology, the conditions and actions of the scenes of the IFTTT rule are atomic functions, the same functions of different scenes need to be repeatedly configured, a large number of conditions and actions need to be configured in a complex scene, and the business requirements of the linkage scene are difficult to adapt; the IFTTT rule has no complex multi-segment rule, and the reservation, compensation and exit mechanisms all need industrial support, so that higher requirements are put forward on the industry; with the development of the service, the timing control is not single equipment, but multi-equipment is multifunctional, the state also needs to be kept unchanged or gradually changed in a time period, and single-time/periodic reservation of a single time point supported by a scene of an IFTTT rule is difficult to meet the service requirement; from the view point of scenes, the reservation of the scenes or the reservation of the detail pages of the industrial equipment is reserved, but at present, a unified portal does not exist, and the reservation capability of the detail pages of the industrial equipment gradually reaches the industrial capability.
Aiming at the problems that in the related technology, conditions and actions of a scene of an IFTTT rule are atomic functions, the same functions of different scenes need to be repeatedly configured, a large number of conditions and actions need to be configured in a complex scene, and the like, no effective solution is proposed yet.
Disclosure of Invention
The embodiment of the application provides a method and a device for constructing a scene, a storage medium and an electronic device, which are used for at least solving the problems that in the related technology, conditions and actions of the scene of an IFTTT rule are atomic functions, the same functions of different scenes need to be repeatedly configured, a large number of conditions and actions need to be configured in a complex scene, and the like.
According to an embodiment of the embodiments of the present application, there is provided a method for constructing a scene, including: determining a corresponding skill set according to business requirements of a skill demander, and marking the skill set as a target component, wherein the skill set comprises: the cloud functions are device functions realized through a cloud platform; determining a plurality of segment scenes according to the target component and the open skills of the one or more equipment categories, wherein the open skills are functions other than the cloud function; and constructing a target scene according to the plurality of fragment scenes and trigger rules respectively corresponding to the plurality of fragment scenes.
In one exemplary embodiment, determining a plurality of segment scenes from the open skills of the target component and the one or more equipment categories includes: acquiring a plurality of fragment scene data corresponding to the fragment scenes respectively, wherein each fragment scene data comprises at least one of the following: the target component, the open skills of the one or more equipment categories, the equipment model of any equipment category, and the at least one segment scene data comprises: the target component; and respectively configuring corresponding fragment scenes based on the fragment scene data.
In an exemplary embodiment, after constructing the target scene according to the plurality of fragment scenes and trigger rules corresponding to the plurality of fragment scenes, respectively, the method further includes at least one of: under the condition that the triggering rule is a timing triggering rule, determining a first fragment scene corresponding to the timing triggering rule, and sending a first control instruction to first equipment corresponding to the first fragment scene according to the timing triggering rule; and under the condition that the triggering rule is a conditional triggering rule, determining a second fragment scene corresponding to the conditional triggering rule, and sending a second control instruction to second equipment corresponding to the second fragment scene according to the conditional triggering rule.
In an exemplary embodiment, the sending, according to the timing trigger rule, a first control instruction to a first device corresponding to the first segment scene includes at least one of: transmitting a timing trigger rule of the first segment scene to a reservation service corresponding to the first device, so that the reservation service transmits a first control instruction to the first device according to the first segment scene under the condition that the current time accords with the timing trigger rule; and sending the timing trigger rule and the first control instruction to the first device under the condition that the first device has a reservation timing function, wherein the first control instruction is executed under the condition that the first device determines that the current time accords with the timing trigger rule.
In an exemplary embodiment, sending, according to the condition triggering rule, a second control instruction to a second device corresponding to the second segment scene includes: acquiring environment data sent by a cloud platform corresponding to the second equipment; and under the condition that the environmental data accords with the condition triggering rule, sending a second control instruction corresponding to the second device to the cloud platform according to the second fragment scene, so that the cloud platform sends the second control instruction to the second device.
In an exemplary embodiment, after sending a first control instruction to a first device corresponding to the first segment scene according to the timing trigger rule, the method further includes: acquiring the equipment state of the first equipment, and determining whether the first equipment executes the first control instruction according to the equipment state; determining a compensation rule of the first segment scene under the condition that the first device does not execute the first control instruction; and sending a third control instruction to the first equipment according to the compensation rule.
In an exemplary embodiment, after the target scene is constructed according to the plurality of fragment scenes and trigger rules corresponding to the plurality of fragment scenes respectively, the method further includes: acquiring equipment information bound by a mobile terminal of a target object under the condition that the target object enables the target scene; determining scene data of the target scene, and determining a target device for executing the target scene according to the scene data and the device information; and instantiating the target scene according to the equipment information of the target equipment.
According to another embodiment of the embodiments of the present application, there is also provided a device for constructing a scene, including: the first determining module is configured to determine a corresponding skill set according to a business requirement of a skill demander, and mark the skill set as a target component, where the skill set includes: the cloud functions are device functions realized through a cloud platform; a second determining module, configured to determine a plurality of segment scenes according to an open skill of the target component and the one or more equipment categories, where the open skill is a function other than the cloud function; the construction module is used for constructing a target scene according to the plurality of fragment scenes and triggering rules respectively corresponding to the plurality of fragment scenes.
According to a further aspect of the embodiments of the present application, there is also provided a computer readable storage medium having a computer program stored therein, wherein the computer program is configured to execute the method of constructing a scenario as described above when run.
According to still another aspect of the embodiments of the present application, there is further provided an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the method for constructing a scene described above through the computer program.
In the embodiment of the application, a corresponding skill set is determined according to the business requirement of a skill demander, and the skill set is marked as a target component, wherein the skill set comprises: the cloud functions are device functions realized through a cloud platform; determining a plurality of segment scenes according to the target component and the open skills of the one or more equipment categories, wherein the open skills are functions other than the cloud function; constructing a target scene according to the plurality of fragment scenes and triggering rules respectively corresponding to the plurality of fragment scenes; by adopting the technical scheme, the problems that the conditions and actions of the scenes of the IFTTT rule are atomic functions, the same functions of different scenes need to be repeatedly configured, a large number of conditions and actions need to be configured for complex scenes are solved, the cloud high-order functions of the equipment are marked and packaged into components, the configuration of the triggering rule is simplified, the target scene is built according to the triggering rules corresponding to the fragment scenes and the fragment scenes respectively, and the complex linkage scene at present can be well fused.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic diagram of a hardware environment of a method for constructing a scenario according to an embodiment of the present application;
FIG. 2 is a flow chart of a method of constructing a scenario according to an embodiment of the present application;
FIG. 3 is a timing diagram of a method of constructing a scenario according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a method of constructing a scenario according to an embodiment of the present application;
fig. 5 is a block diagram of a construction apparatus of a scenario according to an embodiment of the present application.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to one aspect of the embodiments of the present application, a method for constructing a scene is provided. The construction method of the scene is widely applied to full-house intelligent digital control application scenes such as intelligent Home (Smart Home), intelligent Home equipment ecology, intelligent Home (Intelligence House) ecology and the like. Alternatively, in the present embodiment, the above-described construction method of the scenario may be applied to a hardware environment constituted by the terminal device 102 and the server 104 as shown in fig. 1. As shown in fig. 1, the server 104 is connected to the terminal device 102 through a network, and may be used to provide services (such as application services and the like) for a terminal or a client installed on the terminal, a database may be set on the server or independent of the server, for providing data storage services for the server 104, and cloud computing and/or edge computing services may be configured on the server or independent of the server, for providing data computing services for the server 104.
The network may include, but is not limited to, at least one of: wired network, wireless network. The wired network may include, but is not limited to, at least one of: a wide area network, a metropolitan area network, a local area network, and the wireless network may include, but is not limited to, at least one of: WIFI (Wireless Fidelity ), bluetooth. The terminal device 102 may not be limited to a PC, a mobile phone, a tablet computer, an intelligent air conditioner, an intelligent smoke machine, an intelligent refrigerator, an intelligent oven, an intelligent cooking range, an intelligent washing machine, an intelligent water heater, an intelligent washing device, an intelligent dish washer, an intelligent projection device, an intelligent television, an intelligent clothes hanger, an intelligent curtain, an intelligent video, an intelligent socket, an intelligent sound box, an intelligent fresh air device, an intelligent kitchen and toilet device, an intelligent bathroom device, an intelligent sweeping robot, an intelligent window cleaning robot, an intelligent mopping robot, an intelligent air purifying device, an intelligent steam box, an intelligent microwave oven, an intelligent kitchen appliance, an intelligent purifier, an intelligent water dispenser, an intelligent door lock, and the like.
In this embodiment, a method for constructing a scene is provided and applied to a computer terminal, and fig. 2 is a flowchart of a method for constructing a scene according to an embodiment of the present application, where the flowchart includes the following steps:
step S202, determining a corresponding skill set according to business requirements of a skill demander, and marking the skill set as a target component, wherein the skill set comprises: the cloud functions are device functions realized through a cloud platform;
it should be noted that, multiple cloud functions of the device may be controlled by one component.
For example, the environment class skill set includes: reporting temperature function, reporting humidity function, reporting air quality function.
Step S204, determining a plurality of fragment scenes according to the target components and the open skills of the one or more equipment categories, wherein the open skills are functions other than the cloud functions;
step S206, constructing a target scene according to the plurality of fragment scenes and trigger rules respectively corresponding to the plurality of fragment scenes.
Through the steps, corresponding skill sets are determined according to business requirements of skill demander, and the skill sets are marked as target components, wherein the skill sets comprise: the cloud functions are device functions realized through a cloud platform; determining a plurality of segment scenes according to the target component and the open skills of the one or more equipment categories, wherein the open skills are functions other than the cloud function; according to the triggering rules respectively corresponding to the fragment scenes, the target scene is built, the problems that in the related art, conditions and actions of the scene of the IFTTT rule are atomic functions, the same function of different scenes needs to be repeatedly configured, a large number of conditions and actions need to be configured for complex scenes are solved, the cloud high-order functions of the equipment are marked and packaged into components, the configuration of the triggering rules is simplified, and the target scene is built according to the triggering rules respectively corresponding to the fragment scenes and the fragment scenes, so that the complex linkage scene at present can be well fused.
In one exemplary embodiment, determining a plurality of segment scenes from the open skills of the target component and the one or more equipment categories includes: obtaining a plurality of fragment scene data corresponding to the fragment scenes respectively, wherein each fragment scene data comprises: the target component, the open skills of the one or more equipment categories, the equipment model of any equipment category, and the at least one segment scene data comprises: the target component; and respectively configuring corresponding fragment scenes based on the fragment scene data.
The segment scene is configured by the target component, the open skills of the one or more equipment categories, and the equipment model of any equipment category.
In an exemplary embodiment, after constructing the target scene according to the plurality of fragment scenes and trigger rules corresponding to the plurality of fragment scenes respectively, at least one of the following is further included: under the condition that the triggering rule is a timing triggering rule, determining a first fragment scene corresponding to the timing triggering rule, and sending a first control instruction to first equipment corresponding to the first fragment scene according to the timing triggering rule; and under the condition that the triggering rule is a conditional triggering rule, determining a second fragment scene corresponding to the conditional triggering rule, and sending a second control instruction to second equipment corresponding to the second fragment scene according to the conditional triggering rule.
The method comprises the steps that under the condition that a target scene is built according to a fragment scene and a trigger rule of the fragment scene, the trigger rule of the fragment scene is determined, and under the condition that the trigger rule is a timing trigger rule, a first control instruction is sent to first equipment at fixed time according to scene data of the first fragment scene; or if the trigger rule is a timing trigger rule, sending a first control instruction of timing to the first device according to the scene data of the first fragment scene. And under the condition that the triggering rule is a conditional triggering rule, sending a second control instruction to the second device according to the scene data of the second fragment scene under the condition of conditional triggering.
It should be noted that, there are multiple segment scenes in the same target scene, and the triggering rule of each segment scene may be inconsistent, so that the current complex linkage scene may be well fused.
In an exemplary embodiment, the sending, according to the timing trigger rule, a first control instruction to a first device corresponding to the first segment scene includes at least one of: transmitting a timing trigger rule of the first segment scene to a reservation service corresponding to the first device, so that the reservation service transmits a first control instruction to the first device according to the first segment scene under the condition that the current time accords with the timing trigger rule; and sending the timing trigger rule and the first control instruction to the first device under the condition that the first device has a reservation timing function, wherein the first control instruction is executed under the condition that the first device determines that the current time accords with the timing trigger rule.
The reservation service of the scene is used or the reservation timing capability of the device is used according to the requirement. Under the condition that the reservation service of the scene is used, a timing trigger rule is sent to the reservation service of the scene, and then a first control instruction is sent to the first equipment under the condition that the current time accords with the timing trigger rule through the reservation service of the scene; and under the condition that the reservation timing capability of the using equipment is determined, the timing trigger rule and the first control instruction are sent to the first equipment, so that the first equipment executes the first control instruction under the condition that the current time is determined to be in accordance with the timing trigger rule.
Further, the reservation service of the scene is preferentially used under the condition that the device does not have the preset timing capability. It should be noted that, in the embodiment of the present invention, the scenario has a reserved service, and may not depend on the capability of industry.
In an exemplary embodiment, sending, according to the condition triggering rule, a second control instruction to a second device corresponding to the second segment scene includes: acquiring environment data sent by a cloud platform corresponding to the second equipment; and under the condition that the environmental data accords with the condition triggering rule, sending a second control instruction corresponding to the second device to the cloud platform according to the second fragment scene, so that the cloud platform sends the second control instruction to the second device.
Under the condition that the triggering rule is a conditional triggering rule, the cloud platform sends the environmental data to the scene center when receiving the environmental data sent by other devices, and then the scene center determines whether the environmental data accords with the conditional triggering rule according to the received environmental data, and sends a second control instruction corresponding to the second device to the cloud platform when the environmental data accords with the conditional triggering rule, so that the cloud platform forwards the second control instruction to the second device.
In an exemplary embodiment, after sending the first control instruction to the first device corresponding to the first segment scene according to the timing trigger rule, the method further includes: acquiring the equipment state of the first equipment, and determining whether the first equipment executes the first control instruction according to the equipment state; determining a compensation rule of the first segment scene under the condition that the first device does not execute the first control instruction; and sending a third control instruction to the first equipment according to the compensation rule.
It should be noted that the compensation rule includes: re-sending a first control instruction; after restarting the first equipment, a first control instruction is sent again; and sending alarm information to the first equipment so that a user can determine a corresponding strategy according to the alarm information on the equipment.
The embodiment of the invention provides a perfect scene compensation mechanism and can provide better experience of a user for a smart home.
In an exemplary embodiment, after constructing the target scene according to the plurality of fragment scenes and trigger rules corresponding to the plurality of fragment scenes respectively, the method further includes: acquiring equipment information bound by a mobile terminal of a target object under the condition that the target object enables the target scene; determining scene data of the target scene, and determining a target device for executing the target scene according to the scene data and the device information; and instantiating the target scene according to the equipment information of the target equipment.
In order to better understand the process of the method for constructing the above scenario, the following description is provided with reference to the optional embodiment to describe the implementation method flow of the above scenario, but is not limited to the technical solution of the embodiment of the present application.
In this embodiment, a method for constructing a scene is provided, and fig. 3 is a timing chart of a method for constructing a scene according to an embodiment of the present application, as shown in fig. 3, specifically including the following steps:
step S301: the industry opens skills in a skill opening platform according to own business requirements;
step S302: the industry marks a set of skills (equivalent to the skill set in the above embodiments) as components according to business needs;
step S303: skills opened synchronously by a skill opening platform to a scene portal and marked skills;
step S304: scene portal configures scenes according to marking skills, opening skills, class components and model components;
step S305: synchronizing the scene data to a scene center;
step S306: inquiring the configured scene through the recommended scene list of the App;
step S307: enabling a scene at an app interface by a user, and synchronizing scene instance data with a scene center;
specifically, under the condition that the scene center receives the scene instance data, instantiating the scene according to the configuration rule, registering the reservation rule to the reservation service if the reservation rule is configured, and storing the instance data by the scene center if the reservation rule is not available;
step S308: the cloud platform reports the equipment attributes, weather, geofences, temperature and other attributes to the scene center;
step S309: when the triggering condition of the scene is met, the scene center sends a control instruction for controlling the equipment to the cloud platform;
step S310: the cloud platform forwards the control instruction to the equipment;
step S311: if the reservation rule is configured, registering the reservation rule to the reservation service;
step S312: the reservation service regularly sends a control instruction for controlling the equipment to the cloud platform;
step S313: and the cloud platform forwards the control instruction to the equipment.
The embodiment of the invention improves the original scene rules, builds the multi-segment scene rules by marking the cloud function of the equipment, provides perfect mechanisms of exiting, supplementing, maintaining the state and the like, opens up reservation timing scenes and App end reservation timing scene barriers of the industry, and provides unified reservation timing entrance for each industry, as shown in fig. 4 in detail:
the industry may use the reservation services of the scene center or the reservation capabilities provided by the device according to its own needs. The reservation timing capability needs to detect whether the equipment supports reservation holding, and if the equipment supports reservation holding, a reservation holding instruction is issued to the equipment; if the equipment does not support reservation holding, registering reservation in the reservation service, controlling by the reservation service and issuing attribute control instructions to the equipment.
According to the embodiment of the invention, the skills are marked as the component simplified configuration through the integrated skills, and the slicing multi-rule mechanism can support complex business scenes, so that more and more advanced services are provided for users; the scene reservation and the reservation capability of the industry are fused, better and more convenient service is provided, the barrier of the inter-industry reservation is broken, and a unified reservation entrance is provided; the scene provides a perfect compensation mechanism, so that better intelligent home experience of the user can be provided; the method and the system follow a unified development standard and a data interaction model, are decoupled through a modular idea, are convenient for service expansion and do not influence core service logic.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of the embodiments of the present application.
FIG. 5 is a block diagram of a construction apparatus of a scenario according to an embodiment of the present application; as shown in fig. 5, includes:
a first determining module 52, configured to determine a corresponding skill set according to a business requirement of a skill demander, and mark the skill set as a target component, where the skill set includes: the cloud functions are device functions realized through a cloud platform;
a second determining module 54, configured to determine a plurality of segment scenes according to the objective component and the open skills of the one or more equipment categories, where the open skills are functions other than the cloud function;
the construction module 56 is configured to construct a target scene according to the plurality of fragment scenes and trigger rules corresponding to the plurality of fragment scenes respectively.
Through the device, the corresponding skill set is determined according to the business requirement of the skill requirement party, and the skill set is marked as the target component, wherein the skill set comprises the following components: the cloud functions are device functions realized through a cloud platform; determining a plurality of segment scenes according to the target component and the open skills of the one or more equipment categories, wherein the open skills are functions other than the cloud function; according to the triggering rules respectively corresponding to the fragment scenes, the target scene is built, the problems that in the related art, conditions and actions of the scene of the IFTTT rule are atomic functions, the same function of different scenes needs to be repeatedly configured, a large number of conditions and actions need to be configured for complex scenes are solved, the cloud high-order functions of the equipment are marked and packaged into components, the configuration of the triggering rules is simplified, and the target scene is built according to the triggering rules respectively corresponding to the fragment scenes and the fragment scenes, so that the complex linkage scene at present can be well fused.
In an exemplary embodiment, the second determining module 54 is configured to obtain a plurality of segment scene data corresponding to the plurality of segment scenes respectively, where each segment scene data includes at least one of: the target component, the open skills of the one or more equipment categories, the equipment model of any equipment category, and the at least one segment scene data comprises: the target component; and respectively configuring corresponding fragment scenes based on the fragment scene data.
The segment scene is configured by the target component, the open skills of the one or more equipment categories, and the equipment model of any equipment category.
In one exemplary embodiment, the second determination module 54 is further configured to at least one of: under the condition that the triggering rule is a timing triggering rule, determining a first fragment scene corresponding to the timing triggering rule, and sending a first control instruction to first equipment corresponding to the first fragment scene according to the timing triggering rule; and under the condition that the triggering rule is a conditional triggering rule, determining a second fragment scene corresponding to the conditional triggering rule, and sending a second control instruction to second equipment corresponding to the second fragment scene according to the conditional triggering rule.
The method comprises the steps that under the condition that a target scene is built according to a fragment scene and a trigger rule of the fragment scene, the trigger rule of the fragment scene is determined, and under the condition that the trigger rule is a timing trigger rule, a first control instruction is sent to first equipment at fixed time according to scene data of the first fragment scene; or if the trigger rule is a timing trigger rule, sending a first control instruction of timing to the first device according to the scene data of the first fragment scene. And under the condition that the triggering rule is a conditional triggering rule, sending a second control instruction to the second device according to the scene data of the second fragment scene under the condition of conditional triggering.
It should be noted that, there are multiple segment scenes in the same target scene, and the triggering rule of each segment scene may be inconsistent, so that the current complex linkage scene may be well fused.
In one exemplary embodiment, the second determination module 54 is further configured to at least one of: transmitting a timing trigger rule of the first segment scene to a reservation service corresponding to the first device, so that the reservation service transmits a first control instruction to the first device according to the first segment scene under the condition that the current time accords with the timing trigger rule; and sending the timing trigger rule and the first control instruction to the first device under the condition that the first device has a reservation timing function, wherein the first control instruction is executed under the condition that the first device determines that the current time accords with the timing trigger rule.
The reservation service of the scene is used or the reservation timing capability of the device is used according to the requirement. Under the condition that the reservation service of the scene is used, a timing trigger rule is sent to the reservation service of the scene, and then a first control instruction is sent to the first equipment under the condition that the current time accords with the timing trigger rule through the reservation service of the scene; and under the condition that the reservation timing capability of the using equipment is determined, the timing trigger rule and the first control instruction are sent to the first equipment, so that the first equipment executes the first control instruction under the condition that the current time is determined to be in accordance with the timing trigger rule.
Further, the reservation service of the scene is preferentially used under the condition that the device does not have the preset timing capability. It should be noted that, in the embodiment of the present invention, the scenario has a reserved service, and may not depend on the capability of industry.
In an exemplary embodiment, the above apparatus further includes: the sending module is used for obtaining environment data sent by the cloud platform corresponding to the second equipment; and under the condition that the environmental data accords with the condition triggering rule, sending a second control instruction corresponding to the second device to the cloud platform according to the second fragment scene, so that the cloud platform sends the second control instruction to the second device.
Under the condition that the triggering rule is a conditional triggering rule, the cloud platform sends the environmental data to the scene center when receiving the environmental data sent by other devices, and then the scene center determines whether the environmental data accords with the conditional triggering rule according to the received environmental data, and sends a second control instruction corresponding to the second device to the cloud platform when the environmental data accords with the conditional triggering rule, so that the cloud platform forwards the second control instruction to the second device.
In an exemplary embodiment, a sending module is configured to obtain a device state of the first device, and determine whether the first device executes the first control instruction according to the device state; determining a compensation rule of the first segment scene under the condition that the first device does not execute the first control instruction; and sending a third control instruction to the first equipment according to the compensation rule.
It should be noted that the compensation rule includes: re-sending a first control instruction; after restarting the first equipment, a first control instruction is sent again; and sending alarm information to the first equipment so that a user can determine a corresponding strategy according to the alarm information on the equipment.
In an exemplary embodiment, the above apparatus further includes: the instantiation module is used for acquiring equipment information bound by a mobile terminal of a target object under the condition that the target object enables the target scene; determining scene data of the target scene, and determining a target device for executing the target scene according to the scene data and the device information; and instantiating the target scene according to the equipment information of the target equipment.
Embodiments of the present application also provide a storage medium including a stored program, wherein the program performs the method of any one of the above when run.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store program code for performing the steps of:
s1, determining a corresponding skill set according to business requirements of a skill demander, and marking the skill set as a target component, wherein the skill set comprises: the cloud functions are device functions realized through a cloud platform;
s2, determining a plurality of fragment scenes according to the target components and the open skills of the one or more equipment categories, wherein the open skills are functions other than the cloud function;
s3, constructing a target scene according to the plurality of fragment scenes and trigger rules respectively corresponding to the plurality of fragment scenes.
Embodiments of the present application also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, determining a corresponding skill set according to business requirements of a skill demander, and marking the skill set as a target component, wherein the skill set comprises: the cloud functions are device functions realized through a cloud platform;
s2, determining a plurality of fragment scenes according to the target components and the open skills of the one or more equipment categories, wherein the open skills are functions other than the cloud function;
s3, constructing a target scene according to the plurality of fragment scenes and trigger rules respectively corresponding to the plurality of fragment scenes.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the application described above may be implemented in a general purpose computing device, they may be centralized on a single computing device, or distributed across a network of computing devices, or they may alternatively be implemented in program code executable by computing devices, such that they may be stored in a memory device for execution by the computing devices and, in some cases, the steps shown or described may be performed in a different order than what is shown or described, or they may be implemented as individual integrated circuit modules, or as individual integrated circuit modules. Thus, the present application is not limited to any specific combination of hardware and software.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application and are intended to be comprehended within the scope of the present application.

Claims (10)

1. A method of constructing a scene, comprising:
determining a corresponding skill set according to business requirements of a skill demander, and marking the skill set as a target component, wherein the skill set comprises: the cloud functions are device functions realized through a cloud platform;
determining a plurality of fragment scenes according to the target components and the open skills of one or more equipment categories, wherein the open skills are functions other than the cloud functions;
and constructing a target scene according to the plurality of fragment scenes and trigger rules respectively corresponding to the plurality of fragment scenes.
2. The method of constructing a scene according to claim 1, wherein determining a plurality of segment scenes from the open skills of the target component and the one or more equipment categories comprises:
acquiring a plurality of fragment scene data corresponding to the fragment scenes respectively, wherein each fragment scene data comprises at least one of the following: the target component, the open skills of the one or more equipment categories, the equipment model of any equipment category, and the at least one segment scene data comprises: the target component;
and respectively configuring corresponding fragment scenes based on the fragment scene data.
3. The method for constructing a scene according to claim 1, wherein after constructing a target scene according to the plurality of segment scenes and trigger rules corresponding to the plurality of segment scenes, respectively, the method further comprises at least one of:
under the condition that the triggering rule is a timing triggering rule, determining a first fragment scene corresponding to the timing triggering rule, and sending a first control instruction to first equipment corresponding to the first fragment scene according to the timing triggering rule;
and under the condition that the triggering rule is a conditional triggering rule, determining a second fragment scene corresponding to the conditional triggering rule, and sending a second control instruction to second equipment corresponding to the second fragment scene according to the conditional triggering rule.
4. A method of constructing a scene according to claim 3, wherein sending a first control instruction to a first device corresponding to the first segment scene according to the timing trigger rule includes at least one of: transmitting a timing trigger rule of the first segment scene to a reservation service corresponding to the first device, so that the reservation service transmits a first control instruction to the first device according to the first segment scene under the condition that the current time accords with the timing trigger rule;
and sending the timing trigger rule and the first control instruction to the first device under the condition that the first device has a reservation timing function, wherein the first control instruction is executed under the condition that the first device determines that the current time accords with the timing trigger rule.
5. The method for constructing a scene according to claim 3, wherein sending a second control instruction to a second device corresponding to the second segment scene according to the condition triggering rule includes:
acquiring environment data sent by a cloud platform corresponding to the second equipment;
and under the condition that the environmental data accords with the condition triggering rule, sending a second control instruction corresponding to the second device to the cloud platform according to the second fragment scene, so that the cloud platform sends the second control instruction to the second device.
6. A method of constructing a scene according to claim 3, wherein after sending a first control instruction to a first device corresponding to the first segment scene according to the timing trigger rule, the method further comprises:
acquiring the equipment state of the first equipment, and determining whether the first equipment executes the first control instruction according to the equipment state;
determining a compensation rule of the first segment scene under the condition that the first device does not execute the first control instruction;
and sending a third control instruction to the first equipment according to the compensation rule.
7. The method for constructing a scene according to claim 1, wherein after constructing a target scene according to the plurality of segment scenes and trigger rules corresponding to the plurality of segment scenes, respectively, the method further comprises:
acquiring equipment information bound by a mobile terminal of a target object under the condition that the target object enables the target scene;
determining scene data of the target scene, and determining a target device for executing the target scene according to the scene data and the device information;
and instantiating the target scene according to the equipment information of the target equipment.
8. A scene constructing apparatus, comprising:
the first determining module is configured to determine a corresponding skill set according to a business requirement of a skill demander, and mark the skill set as a target component, where the skill set includes: the cloud functions are device functions realized through a cloud platform;
a second determining module, configured to determine a plurality of segment scenes according to an open skill of the target component and the one or more equipment categories, where the open skill is a function other than the cloud function; the construction module is used for constructing a target scene according to the plurality of fragment scenes and triggering rules respectively corresponding to the plurality of fragment scenes.
9. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored program, wherein the program when run performs the method of any of the preceding claims 1 to 7.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of the claims 1 to 7 by means of the computer program.
CN202310086834.8A 2023-01-31 2023-01-31 Scene construction method and device, storage medium and electronic device Pending CN116132209A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310086834.8A CN116132209A (en) 2023-01-31 2023-01-31 Scene construction method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310086834.8A CN116132209A (en) 2023-01-31 2023-01-31 Scene construction method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN116132209A true CN116132209A (en) 2023-05-16

Family

ID=86295263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310086834.8A Pending CN116132209A (en) 2023-01-31 2023-01-31 Scene construction method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN116132209A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019128829A1 (en) * 2017-12-28 2019-07-04 中兴通讯股份有限公司 Action execution method and apparatus, storage medium and electronic apparatus
CN111880501A (en) * 2020-07-29 2020-11-03 珠海格力电器股份有限公司 Interaction method for establishing equipment linkage scene, storage medium and electronic equipment
CN113050446A (en) * 2021-03-26 2021-06-29 广东好太太智能家居有限公司 Linkage control method and device for intelligent scene and storage medium
CN114115865A (en) * 2021-11-30 2022-03-01 东风汽车有限公司东风日产乘用车公司 Cross-domain-based vehicle-mounted scene self-defining method, device, equipment and storage medium
CN114116170A (en) * 2021-11-30 2022-03-01 深圳壹账通智能科技有限公司 Timed task execution method and device, computer equipment and storage medium
CN114911482A (en) * 2022-03-24 2022-08-16 北京邮电大学深圳研究院 Low code application generation system and method in industrial scene
CN114936019A (en) * 2021-12-09 2022-08-23 腾讯科技(深圳)有限公司 Component and strategy linkage method, device, equipment, system and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019128829A1 (en) * 2017-12-28 2019-07-04 中兴通讯股份有限公司 Action execution method and apparatus, storage medium and electronic apparatus
CN111880501A (en) * 2020-07-29 2020-11-03 珠海格力电器股份有限公司 Interaction method for establishing equipment linkage scene, storage medium and electronic equipment
CN113050446A (en) * 2021-03-26 2021-06-29 广东好太太智能家居有限公司 Linkage control method and device for intelligent scene and storage medium
CN114115865A (en) * 2021-11-30 2022-03-01 东风汽车有限公司东风日产乘用车公司 Cross-domain-based vehicle-mounted scene self-defining method, device, equipment and storage medium
CN114116170A (en) * 2021-11-30 2022-03-01 深圳壹账通智能科技有限公司 Timed task execution method and device, computer equipment and storage medium
CN114936019A (en) * 2021-12-09 2022-08-23 腾讯科技(深圳)有限公司 Component and strategy linkage method, device, equipment, system and storage medium
CN114911482A (en) * 2022-03-24 2022-08-16 北京邮电大学深圳研究院 Low code application generation system and method in industrial scene

Similar Documents

Publication Publication Date Title
CN112738740A (en) Message pushing sending method and device, storage medium and electronic device
CN114697150B (en) Command issuing method and device, storage medium and electronic device
CN106249604A (en) Control method and control device
CN115167164A (en) Method and device for determining equipment scene, storage medium and electronic device
CN116107975A (en) Control method and device of equipment, storage medium and electronic device
CN116132209A (en) Scene construction method and device, storage medium and electronic device
CN116027937A (en) Rendering method and device of component to be edited, storage medium and electronic device
CN115714810A (en) Method and device for sending push message, storage medium and electronic device
CN115309062A (en) Device control method, device, storage medium, and electronic apparatus
CN115001885B (en) Equipment control method and device, storage medium and electronic device
CN114896006B (en) Page menu creation method and device, storage medium and electronic device
CN114900381B (en) Message sending method and device, storage medium and electronic device
CN114900382B (en) Control method of intelligent equipment, storage medium and electronic device
CN115174290B (en) Session record display method and device, storage medium and electronic device
CN115296948B (en) Scene information updating method and device, storage medium and electronic device
CN115277412B (en) Edge gateway upgrading method and device, storage medium and electronic device
CN115314245B (en) Authority management method, system, storage medium and electronic device
CN116301511A (en) Equipment interaction method and device, storage medium and electronic device
CN114826899B (en) Debugging method and device for equipment control service, storage medium and electronic device
CN116389436A (en) Broadcasting method and device of processing result, storage medium and electronic device
CN117749843A (en) Scene triggering method and device, storage medium and electronic device
CN117376042A (en) Functional platform configuration method and device of intelligent equipment and electronic device
CN116521164A (en) Layout method and device of function entrance, storage medium and electronic device
CN116366671A (en) Data synchronization method and device, storage medium and electronic device
CN115047797A (en) Equipment operation method and device combined with behavior preference 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