A scene planning method and device, a storage medium and an electronic device

By identifying user task intent and adjusting scene planning based on feedback information, the problems of low efficiency and insufficient accuracy in smart home scene planning are solved, achieving efficient and accurate scene planning and improving user experience.

CN122152471APending Publication Date: 2026-06-05MIDEA GRP (SHANGHAI) CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
MIDEA GRP (SHANGHAI) CO LTD
Filing Date
2026-03-10
Publication Date
2026-06-05

Smart Images

  • Figure CN122152471A_ABST
    Figure CN122152471A_ABST
Patent Text Reader

Abstract

The specification discloses a scene planning method and device, a storage medium and an electronic device, wherein the method comprises: obtaining a task request submitted by a user, determining a task intention of the task request, determining an execution device corresponding to the task request, generating a scene plan based on the task intention and the execution device, and a planning basis corresponding to the scene plan, obtaining feedback information of the user for the scene plan, adjusting the scene plan based on the feedback information until a target plan matching the task request is obtained. According to the identification of the task intention, the output of the planning basis and the adjustment according to the feedback information, the efficiency and accuracy of the generated scene plan are improved by improving the understanding of the user for the scene plan.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of electronic information technology, and in particular to a scenario planning method, apparatus, storage medium and electronic device. Background Technology

[0002] Nowadays, with the continuous development of technology, more and more people are choosing to use smart homes. In order to conveniently control smart homes, home scenes can be planned in advance for scene arrangement and control. Therefore, how to improve the planning capability of smart homes has become an urgent problem to be solved. Summary of the Invention

[0003] This specification provides a scenario planning method, apparatus, storage medium, and electronic device. The method can generate scenario planning and planning basis by recognizing the task intent of a task request, and adjust it in conjunction with user interaction to obtain a target plan that meets user needs. Furthermore, based on the recognition of task intent, the output of the planning basis, and adjustments based on feedback information, the efficiency and accuracy of the generated scenario planning are improved by enhancing the user's understanding of the scenario planning.

[0004] Firstly, a scenario planning method is provided, the method comprising: Obtain the task request submitted by the user and determine the task intent of the task request; Determine the execution device corresponding to the task request, and generate a scenario plan and the planning basis corresponding to the scenario plan based on the task intent and the execution device; Obtain user feedback on the scenario planning, and adjust the scenario planning based on the feedback until a target plan that matches the task request is obtained.

[0005] The above technical solution identifies the task intent of a task request, generates a scenario plan based on the task intent, describes the generation process of the scenario plan as a planning basis, and adjusts the scenario plan based on user feedback to obtain a target plan that matches the task request. Thus, by identifying the task intent of the task request to generate a scenario plan and a planning basis, and adjusting it in conjunction with user interaction, a target plan that meets user needs is obtained. Furthermore, by improving user understanding of the scenario plan, the efficiency and accuracy of the generated scenario plan are enhanced.

[0006] In conjunction with the first aspect, in some possible implementations, obtaining the user-submitted task request and determining the task intent of the task request includes: Obtain the task request submitted by the user, and parse the task request to obtain the trigger instruction and notification instruction; The task intent of the task request is determined based on the triggering instruction, and the intent type corresponding to the task request is determined based on the task intent, wherein the intent type is either an ambiguous type or a definite type.

[0007] By using the above technical solution, after parsing the task request to obtain the trigger instruction and notification instruction, the intent type of the task intent determined based on the trigger instruction is determined. Then, the generation method of the subsequent scene planning is determined according to the intent type, and the method of notifying the user is determined according to the notification instruction, thereby improving the efficiency and accuracy of scene planning generation and the user's experience in receiving notifications.

[0008] In conjunction with the first aspect, in some possible implementations, determining the execution device corresponding to the task request, generating a scenario plan based on the task intent and the execution device, and the planning basis corresponding to the scenario plan, includes: The execution area and corresponding execution device of the task request are determined, as well as the functional parameters of the execution device. Based on the task intent and the execution device, a scenario plan is generated, along with the planning basis corresponding to the scenario plan.

[0009] In conjunction with the first aspect, in some possible implementations, determining the execution area and corresponding execution device of the task request, as well as the functional parameters of the execution device, and generating a scene plan based on the task intent and the execution device, and the planning basis corresponding to the scene plan, includes: If the intent type of the task intent is fuzzy, then the execution area, execution device, and functional parameters of the execution device, as well as the historical interaction data corresponding to the task request, are determined based on the task request. Based on the task intent, the execution device, the functional parameters, and the historical interaction data, reasoning is performed to generate a scene plan corresponding to the task request. The scene plan includes the execution area and the target execution content. Based on the reasoning process that generates the scenario plan, the planning basis corresponding to the scenario plan is generated.

[0010] Through the above technical solution, when the intent type of the task intent is fuzzy, the scenario plan is obtained by reasoning based on the data in the task request, and a planning basis is generated for the scenario plan. This makes it easier for users to clearly understand the reasoning process of the scenario plan, thereby improving the convenience for users to adjust the scenario plan, and improving the efficiency and accuracy of the generation of the subsequent determined target plan, as well as the user experience.

[0011] In conjunction with the first aspect, in some possible implementations, determining the execution region and execution device corresponding to the task request, as well as the functional parameters of the execution device, and generating a scenario plan based on the task intent and the execution device, and the planning basis corresponding to the scenario plan, includes: If the intent type of the task intent is explicit, then the execution area, execution device and execution content in the target request are obtained. Based on the task intent, the execution area, the execution device, the functional parameters and the execution content, the scenario planning of the task request is determined. The scenario planning indicates the target execution content corresponding to the execution device in the execution area. Based on the feasibility of the scenario planning, the planning basis corresponding to the scenario planning is generated.

[0012] Through the above technical solution, when the intent type of the task intent is explicit, the scenario plan is obtained by organizing the data in the task request, and the planning basis corresponding to the scenario plan is generated according to the feasibility of the scenario plan. This makes it easier for users to clearly understand the feasibility judgment process of the scenario plan, thereby improving the convenience for users to adjust the scenario plan, and improving the efficiency and accuracy of the subsequent generation of the determined target plan, as well as the user experience.

[0013] In conjunction with the first aspect, in some possible implementations, if a security risk is detected in the scenario planning, a warning message is output. The warning message is used to indicate the security risk, as well as the cause and consequences of the security risk.

[0014] In conjunction with the first aspect, in some possible implementations, obtaining user feedback information regarding the scenario planning, and adjusting the scenario planning based on the feedback information until a target plan matching the task request is obtained, includes: Obtain user feedback information regarding the scenario planning, wherein the feedback information is information from the user correcting the scenario planning; Based on the feedback information, the execution area and execution content in the scenario planning are adjusted to obtain an adjusted plan; The adjusted plan is then used as a scenario plan, and the process proceeds to the step of obtaining user feedback on the scenario plan until a target plan matching the task request is obtained.

[0015] The above technical solution adjusts the scenario planning based on user feedback, and repeats the process of obtaining feedback and making adjustments until a target plan matching the task request is obtained. This ensures the accuracy of the generated target plan by adjusting the scenario planning through interaction with the user.

[0016] In conjunction with the first aspect, in some possible implementations, after obtaining the target plan that matches the task request, the method further includes: The execution device in the target plan is determined, the task instruction corresponding to the target plan is generated, and the task instruction is transmitted to the execution device to control the execution device to execute the task instruction.

[0017] In conjunction with the first aspect, in some possible implementations, if the planning type of the target plan is immediate execution, then after the target plan is executed, a first response message is output to the user, which is used to describe the execution status of the target plan; If the planning type of the target plan is scheduled execution, then after the target plan is generated, a second response message is output to the user, and after the target plan is executed, the first response message is output. The second response message is used to describe the pre-execution plan of the target plan.

[0018] The above technical solution determines the method of outputting response information to users based on the planning type, thereby enabling users to obtain timely response information describing the generation and execution status of the target plan. This ensures the timeliness of users' determination of the target plan's execution status through response information, thereby improving the user experience.

[0019] In conjunction with the first aspect, in some possible implementations, a planning identifier for the target plan is generated, and the planning identifier and the planning parameters corresponding to the target plan are stored. If the received task request includes the planning identifier, then the planning parameters are obtained based on the planning identifier, a scenario plan is generated based on the planning parameters, and the process proceeds to obtaining user feedback information regarding the scenario plan.

[0020] The above technical solution stores the generated target plan based on the planning identifier, so that the planning parameters can be obtained later based on the planning identifier. By pre-storing the target plan and obtaining the planning parameters based on the planning identifier, the number of steps for users to generate the target plan is reduced, thereby improving the efficiency and accuracy of target plan generation and the user experience.

[0021] Secondly, embodiments of this specification provide a scene planning device, the device comprising: An intent determination unit is used to obtain a task request submitted by a user and determine the task intent of the task request. The planning generation unit is used to determine the execution device corresponding to the task request, generate a scenario plan based on the task intent and the execution device, and the planning basis corresponding to the scenario plan; The planning and determination unit is used to obtain feedback information from the user regarding the scenario planning, and adjust the scenario planning based on the feedback information until a target planning that matches the task request is obtained.

[0022] Thirdly, embodiments of this specification provide a computer storage medium storing a plurality of instructions adapted for loading by a processor and executing the steps of the method described above.

[0023] Fourthly, embodiments of this specification provide an electronic device, including: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to execute the steps of the method described above.

[0024] Fifthly, embodiments of this specification provide a computer program product, including: a computer program that, when executed by a processor of an electronic device, enables the processor to perform at least the steps of the method described above. Attached Figure Description

[0025] To more clearly illustrate the technical solutions in this specification or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0026] Figure 1 A system architecture diagram of a scenario planning method provided in the embodiments of this specification; Figure 2 A flowchart illustrating a scene planning method provided in an embodiment of this specification; Figure 3 A flowchart illustrating a scene planning method provided in an embodiment of this specification; Figure 4 This is a schematic diagram illustrating an example of generating an adjustment plan, provided as an embodiment of this specification. Figure 5 This is a schematic diagram illustrating an example of generating a target plan, provided as an embodiment of this specification. Figure 6 This is a schematic diagram of the structure of a scene planning device provided in an embodiment of this specification; Figure 7 This is a schematic diagram of the structure of a scene planning device provided in an embodiment of this specification; Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this specification. Detailed Implementation

[0027] To make the features and advantages of this specification more apparent and understandable, the technical solutions in this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this specification.

[0028] Please see Figure 1 This document provides a system architecture diagram for a scenario planning method as illustrated in the embodiments of this specification. Figure 1 As shown in the embodiments of this specification, the scene planning method can be applied to control devices to realize the process of generating scene plans through interaction with users. The system architecture provided in the embodiments of this specification mainly includes a control device 10, a user terminal 20, and a target plan 30. The control device 10 can be a device used to manage various terminal devices to realize scene planning, such as a personal computer, smart home device, or server. The terminal devices can be smart home devices such as air conditioners or ovens. The user terminal 20 can be a terminal device used to interact with the control device, such as a smartphone, tablet computer, or other mobile terminal, or a terminal device bound to a target area. The target area can be any area where terminal devices are placed, such as an office or residential area. The target plan 30 can be a plan that matches a task request and determines execution to set up a scene.

[0029] In related technologies, the methods used in the planning of smart home scenarios lack a clear reasoning process and the user's ability to interfere with the generated plans is insufficient. This results in scenario plans that do not meet user needs, and the data processing is inefficient and inaccurate, affecting the user experience.

[0030] In the embodiments described in this specification, the control device 10 acquires a task request submitted by a user through the user terminal 20, determines the task intent of the task request, determines the execution device corresponding to the task request, generates a scenario plan and a corresponding planning basis based on the task intent and the execution device, acquires user feedback information regarding the scenario plan, and adjusts the scenario plan based on the feedback information until a target plan 30 matching the task request is obtained. Thus, by identifying the task intent of the task request to generate a scenario plan and a planning basis, and adjusting it in conjunction with user interaction, a target plan that meets user needs is obtained. Furthermore, by improving the user's understanding of the scenario plan, the efficiency and accuracy of the generated scenario plan are improved, based on the identification of the task intent, the output of the planning basis, and adjustments made according to feedback information.

[0031] based on Figure 1The system architecture shown below will be combined with... Figure 2 This document provides a detailed description of the scenario planning method provided in the embodiments of this specification.

[0032] Please see Figure 2 This is a flowchart illustrating a scene planning method provided in an embodiment of this specification. Figure 2 As shown, the method may include the following steps S101-S103.

[0033] S101, Obtain the task request submitted by the user and determine the task intent of the task request; In one embodiment, the control device receives a task request submitted by a user. The control device can be a device used to manage terminal devices to achieve scene planning. It is understood that, to facilitate the management of each terminal device, an association is established between the control device and each terminal device, enabling the control device to drive each terminal device by sending control commands. The task request can be a request submitted by the user through a user terminal to drive the control device, and based on the commands issued by the control device to the terminal devices, to achieve scene setting. The user terminal can be a terminal device used to interact with the control device, such as a smartphone, tablet, or other mobile terminal, or a terminal device bound to a target area. The submission method of the task request can be set according to the actual situation; for example, it can be submitted through an application on a mobile device, or it can be submitted via voice or other means on a terminal device bound to the target area. The target area can be any area where terminal devices are placed, such as an office or residence, and can be set according to the actual situation. The task request is identified through semantic recognition and other methods to determine the task intent corresponding to the task request. The task intent can be a representation of the user's intention to set up a scene in the target area, such as turning on the air conditioner. It should be noted that because the level of detail in the task request varies, the level of detail in the defined task intent also varies. Therefore, the intent type of a task intent can be either vague or explicit. A vague type indicates that the task intent includes content but does not include specific execution details, such as "turn on the air conditioner at 3 PM." An explicit type indicates that the task intent includes content that includes specific execution details, such as "turn on the living room air conditioner at 3 PM and set the temperature to 26 degrees Celsius."

[0034] S102, determine the execution device corresponding to the task request, and generate a scenario plan and the planning basis corresponding to the scenario plan based on the task intent and the execution device; In one embodiment, the terminal device involved in the task intent in the task request is determined, and this terminal device is identified as the execution device corresponding to the task request. The terminal device can be a smart home device such as an air conditioner or oven. The execution device can be any terminal device associated with the control device, such as an air conditioner, oven, or water heater. Based on the task intent and the execution device, reasoning and analysis are performed to generate a scene plan that realizes the task intent in the target area by controlling the execution device. The scene plan can be a plan that instructs the control execution device to execute the task intent, so as to drive each terminal device to set the scene through the control device. Specifically, it can be a plan for setting the scene state corresponding to the execution area in the target area. The execution area can be any one or more spatial areas in the target area. For example, if the target area is a residential place, the execution area can be a study or living room in the residential place. And for the generated scene plan, a corresponding planning basis is generated. The planning basis can be descriptive data used to explain the reasoning process of the generated scene plan or to judge the feasibility of the scene plan.

[0035] Specifically, the generation method for scene planning and the planning basis can be as follows: determine the execution area of ​​the task request, the corresponding execution device, and the functional parameters of the execution device; generate scene planning and the corresponding planning basis based on the task intent and the execution device. Functional parameters can be parameters characterizing the operating functions of the execution device, specifically the specific functions and operating value ranges of the execution device. For example, if the execution device is an air conditioner, the functional parameters could be variable frequency or fixed frequency, the supported maximum temperature, and the minimum temperature, etc. It is understandable that combining the functional parameters of the execution device with the execution area and the execution device to generate scene planning can improve the accuracy and rationality of the generated scene planning.

[0036] It should be noted that since task intents include different types, the method for generating scenario plans and the basis for generating the plans differ depending on the type of intent. If the intent type is fuzzy, reasoning is performed based on the execution device and task intent corresponding to the task request to generate a scenario plan that can achieve the task intent, including the reasoning process, including the basis and explanation of the scenario plan generation. If the intent type is explicit, after generating a scenario plan based on the execution device, task intent, and execution content in the task request, a feasibility assessment is performed on the scenario plan, and the planning basis corresponding to the task request is generated based on the feasibility assessment result.

[0037] S103: Obtain user feedback on scenario planning, adjust scenario planning based on feedback, until a target plan matching the task request is obtained; In one embodiment, the generated scene plan is output to the user, and feedback information from the user's input regarding the scene plan is obtained. The method of outputting the scene plan can be set according to the actual situation, such as displaying it on the application's screen on a mobile terminal, or converting the scene plan into audio data and outputting it through the device's speaker. It is understood that, to improve user convenience, a feasible approach is to use the user's task request submission method as the output method. For example, if the task request is submitted through a mobile terminal application, the corresponding scene plan will also be output synchronously through the mobile terminal application. The feedback information can be information from the user correcting the scene plan, specifically information generated from the user correcting data such as the execution area and execution content in the scene plan. For example, it could be changing the execution area in the scene plan, such as changing the execution area from the study to the living room. After adjusting the scene plan based on the feedback information, the adjusted scene plan is output to the user, and further adjustments are made based on the user's feedback information until the generated and output scene plan receives the user's confirmation instruction, thus confirming the scene plan as the target plan matching the task request. The target plan can be a plan that matches the task request and is determined to be executed for scene setting.

[0038] In the embodiments of this specification, by identifying the task intent of the task request, generating a scenario plan based on the task intent, describing the planning basis for the scenario plan generation process, and adjusting the scenario plan based on user feedback, a target plan matching the task request is obtained. Thus, by identifying the task intent of the task request to generate a scenario plan and a planning basis, and adjusting it in conjunction with user interaction, a target plan that meets user needs is obtained. Furthermore, by improving the user's understanding of the scenario plan, the efficiency and accuracy of the generated scenario plan are improved, based on the identification of the task intent, the output of the planning basis, and the adjustments made according to feedback information.

[0039] Please see Figure 3 This is a flowchart illustrating a scene planning method provided in an embodiment of this specification. Figure 3 As shown, the method may include the following steps S201-S211.

[0040] S201, Obtain the task request submitted by the user, parse the task request to obtain the trigger instruction and notification instruction; In one embodiment, the control device acquires a task request submitted by a user. The control device can be a device used to manage terminal devices in a target area to achieve scene planning. It is understood that, to facilitate the management of terminal devices in the target area, an association is established between the control device and each terminal device. The task request can be a request submitted by the user through a user terminal driving the control device, issuing instructions to the terminal devices according to the control device's commands, to achieve scene setting in the target area. The submission method of the task request can be set according to the actual situation; for example, it can be submitted through an application on a mobile device, or it can be submitted through voice, gesture, text, etc., on a terminal device bound to the target area. The method by which the user submits the task request through the terminal device can be determined based on the detection functions supported by the terminal device. The target area can be any area where terminal devices are placed, such as an office or residence, and can be set according to the actual situation. The task request is identified and parsed through semantic recognition and other methods to extract trigger instructions and notification instructions from the task request. The trigger instruction can be the instruction in the task request specifying the time and content for the user to trigger task execution. The notification instruction can be used in a task request to indicate the method of notification to the user, such as an immediate notification or a delayed notification.

[0041] For example, if the task request is "turn on the air conditioner at 3 PM", parsing the task request will yield the trigger instructions "3 PM" and "turn on the air conditioner", as well as the notification instruction to notify at "3 PM", which is a delayed notification.

[0042] Furthermore, when a user submits a task request, the control device obtains the user's preference data based on the user's identifier. This preference data is then used to infer and adjust subsequent scenario planning, improving the efficiency and accuracy of target planning. It should be noted that user identification can occur based on the account identifier used when logging into the application, or by identifying the user's voiceprint when making a request via voice input on the user's terminal. The specific method can be configured according to the actual situation.

[0043] S202, determine the task intent of the task request based on the triggering instruction, and determine the intent type corresponding to the task request based on the task intent; In one embodiment, the trigger command is identified to determine the task intent corresponding to the task request. The task intent can represent the user's intention to set up a scene in a target area, such as turning on the air conditioner. It should be noted that the level of detail of the determined task intent varies depending on the level of detail included in the task request. Therefore, the intent type of the task intent can be either fuzzy or explicit. A fuzzy type indicates that the task intent includes content that does not include specific execution content, such as turning on the air conditioner at 3 PM. A explicit type indicates that the task intent includes content that includes specific execution content, such as turning on the living room air conditioner at 3 PM and setting the temperature to 26 degrees Celsius.

[0044] S203, if the intent type of the task intent is fuzzy, then determine the execution area, execution device and functional parameters of the execution device, as well as the historical interaction data corresponding to the task request based on the task request; In one embodiment, if the intent type of the task intent is a vague intent, then based on the trigger instruction in the task request, the terminal device, execution area, execution device, and functional parameters of the execution device involved in responding to the trigger instruction are determined, and the terminal device is identified as the execution device corresponding to the task request. The terminal device can be a smart home device such as an air conditioner or oven. The execution device can be any terminal device in the target area, such as an air conditioner, oven, or water heater. The execution area can be any one or more spatial areas in the target area; for example, if the target area is a residential place, the execution area can be a study or living room within that residential place. The functional parameters can be parameters characterizing the device's operating functions, specifically the specific functions and operating value ranges of the execution device. For example, if the execution device is an air conditioner, the functional parameters can be variable frequency or fixed frequency, the supported maximum temperature, and the minimum temperature. To improve the accuracy of the subsequently generated scene planning, historical interaction data corresponding to the task request is obtained. Historical interaction data can be data generated during interactions with the user; specifically, it can be data generated when interacting with the user after the user submits the task request, or it can be data stored before the user submits the task request, interacting with the user, and associated with the task request. For example, if the task request is to raise the air conditioner temperature, historical interaction data can be obtained, and the air conditioner corresponding to the execution area that the user needs to adjust, as well as the temperature adjustment range, can be determined based on the historical interaction data.

[0045] S204, based on task intent, execution device, functional parameters and historical interaction data, reason to generate the scene plan corresponding to the task request; In one embodiment, reasoning is performed based on task intent, execution device, functional parameters, and historical interaction data to determine the execution area within the target region, and to generate a scenario plan that realizes the task intent by controlling the execution device within the execution area. The scenario plan can be a plan that instructs the execution device to execute the task intent, thereby setting the scenario state corresponding to the execution area within the target region.

[0046] Specifically, the method for generating scenario planning can be as follows: based on the task intent and the execution device, infer the execution area corresponding to the task intent, and the steps required to achieve the task intent based on the execution device. The inferred steps are then corrected using historical interaction data to obtain the scenario plan. It is understandable that, since the intent type of the task intent is fuzzy, the execution area can be determined by filtering the spaces in the target area where terminal devices are placed based on parameters such as the usage frequency or number of times each terminal device is used. The specific method for determining the execution area can be set according to the actual situation.

[0047] For example, if the task intent is to turn on the air conditioner at 3 PM, the target area is selected by filtering the spaces with air conditioners to determine the execution area as the "living room". Based on historical interaction data, the generated execution content could be "turn on the air conditioner and set the air conditioner temperature to 26 degrees Celsius".

[0048] It should be noted that the reasoning process may consider factors such as: whether the generated scene plan aligns with the task intent; the reasoning process for determining the execution area during scene planning; the safety assessment of the generated scene plan; and the comfort, atmosphere, and energy efficiency of the generated scene plan. Understandably, comfort can be determined by analyzing parameters such as time, temperature, humidity, spatial quality, noise, and brightness within the execution area to assess the user's comfort and perceived atmosphere. Energy efficiency can refer to the energy consumption parameters corresponding to the scene plan.

[0049] S205, Based on the reasoning process of generating scenario planning, generate the planning basis corresponding to the scenario planning; In one embodiment, a corresponding planning basis is generated for the generated scenario plan. The planning basis can be descriptive data used to explain the reasoning process of the generated scenario plan.

[0050] Understandably, to facilitate users' understanding of the basis for scene planning, a feasible approach is to: generate a reasoning process for scene planning based on the execution device, task intent, and historical interaction data, and generate a planning foundation that includes the basis for scene planning and explanations of the reasons for the reasoning.

[0051] Furthermore, if the task intent cannot be fulfilled in the target area during the inference process, a prompt message is generated to inform the user that the task request cannot be completed. For example, if the task intent is "preheat the oven at 5 PM", but no oven is detected in the target area, the prompt message "No oven detected in the kitchen" will be output.

[0052] S206, If the intent type of the task intent is a specified type, then obtain the execution area, execution device and execution content in the target request, and determine the scenario planning of the task request based on the task intent, execution area, execution device, functional parameters and execution content; In one embodiment, if the intent type of the task intent is a specific type, since the task request includes a specific execution device, execution area, functional parameters of the execution device, and execution content, after obtaining the execution device and execution content, the execution content is organized and format converted based on the control parameters and control time of the execution device in the execution content, combined with the parameter range of the functional parameters, in order to generate a scenario plan that can achieve the task intent.

[0053] S207, Based on the feasibility of scenario planning execution, generate the planning basis corresponding to the scenario planning; In one embodiment, after generating a scenario plan corresponding to a task intent of a specified type, the feasibility of the scenario plan is assessed based on the execution device, the task intent, the functional parameters of the execution device, and the execution content. This assessment determines whether the functional parameters of the execution device support its operation based on the execution content, thus achieving the feasibility level of the task intent. Based on the feasibility assessment result, a planning basis corresponding to the task request is generated. The planning basis can be descriptive data used to assess the feasibility of the generated scenario plan.

[0054] Specifically, when assessing feasibility, the analysis may include whether the execution area includes the relevant execution equipment, whether the operating parameters of the execution equipment can meet the specific parameters in the execution content, and whether there are any safety hazards in controlling the execution equipment to operate in the execution area according to the execution content. The specific settings can be made according to the actual situation.

[0055] Furthermore, if a safety hazard is detected in the scene planning, a warning message is output. The warning message indicates the safety hazard, its cause, and its consequences. For example, if the scene planning is "control the oven to bake continuously for a day," a warning message is output to alert the user of the safety hazard due to the potential fire hazard caused by prolonged oven operation. The warning message may also include the cause of the safety hazard and recommended adjustments.

[0056] S208, obtain user feedback information regarding scenario planning; In one embodiment, the generated scene plan is output to the user, and feedback information from the user's input regarding the scene plan is obtained. The method of outputting the scene plan can be configured according to actual conditions, such as displaying it on the application's screen on a mobile terminal, or converting the scene plan into audio data and outputting it through the device's speaker. It is understood that, to improve user convenience, a feasible approach is to use the user's task request submission method as the output method. For example, if the task request is submitted through a mobile terminal application, the corresponding scene plan will also be output synchronously through the mobile terminal application. The feedback information can be information from the user's corrections to the scene plan, specifically information generated from the user's corrections to data such as the execution area and execution content in the scene plan. For example, it could be a change to the execution area in the scene plan, such as changing the execution area from the study to the living room. The method of user inputting feedback information can be the same as the method of user submitting the task request.

[0057] S209, Based on feedback information, adjust the execution area and execution content in the scenario planning to obtain the adjusted plan; In one embodiment, feedback information is parsed to obtain feedback content, which is then compared with the execution area and execution content in the scenario planning. Based on the differences found in the comparison results, the scenario planning is adjusted to obtain an adjusted plan. The adjusted plan can be the plan generated after adjusting the scenario planning.

[0058] For example, such as Figure 4 As shown, Figure 4 The initial scenario plan was "Turn on the air conditioner in the living room at 3 PM and set the temperature to 26 degrees Celsius." The feedback was "Change to turning on the air conditioner in the study and lowering the temperature." Based on the feedback, the adjusted scenario plan is "Turn on the air conditioner in the study at 3 PM and set the temperature to 24 degrees Celsius."

[0059] S210, adjust the plan as a scenario plan, and proceed to the step of obtaining user feedback on the scenario plan until a target plan matching the task request is obtained; In one embodiment, the adjusted scene plan is used as the scene plan, output to the user, and further adjustments are made based on the user's feedback on the adjusted scene plan until the generated and output scene plan receives the user's confirmation instruction. This scene plan is then determined as the target plan matching the task request. The target plan can be a plan that matches the task request and is determined to be executed for scene setting.

[0060] For example, such as Figure 5 As shown, Figure 5 By interacting with the user on the application's display page in the mobile terminal, the scene plan is continuously adjusted until the user confirms the scene plan, and the confirmed scene plan is set as the target plan.

[0061] S211, determine the execution device in the target plan, generate the task instructions corresponding to the target plan, and transmit the task instructions to the execution device to control the execution device to execute the task instructions; In one embodiment, the execution device in the obtained target plan is determined, a task instruction is generated based on the execution content in the target plan, and the task instruction is transmitted to the execution device to control the execution device to execute the execution content in response to the task instruction. The task instruction can be an instruction used to drive the execution device to operate. For example, if the task content is to turn on the air conditioner and set the air conditioner temperature to 24 degrees Celsius, then the generated task instruction can include "start the air conditioner" and "set the temperature to 24 degrees Celsius". The two task instructions are transmitted to the execution device "air conditioner" to control the air conditioner to start and operate with the temperature control parameter of 24 degrees Celsius.

[0062] Furthermore, after determining the target plan, a prompt is made to the user according to the notification instruction in the task request. Specifically, if the target plan type is immediate execution, a first response message is output to the user upon completion of the target plan execution. This first response message describes the execution status of the target plan. Specifically, the first response message can be output to the user after the control device transmits the task instruction to the execution device, causing the execution device to complete the task instruction; it can also be output to the user simultaneously with the control device transmitting the task instruction to the execution device; or it can be output to the user after detecting that the execution device has responded to the task instruction. The specific setting can be configured according to the actual situation.

[0063] Optionally, if the target planning type is scheduled execution, a second response message will be output to the user after the target planning is generated, and a first response message will be output after the target planning is executed. The second response message describes the pre-execution plan of the target planning. The output method of the first and second response messages to the user can be the same as the method of outputting the scenario planning to the user, or it can be different, depending on the actual situation. The second response message can be output to the user after the target planning is generated, or it can be output to the user after a preset duration of the target planning. The specific values ​​of the output time and the preset duration of the second response message can be set according to the actual situation.

[0064] Furthermore, after obtaining the target plan, a planning identifier for the target plan is generated, and the planning identifier and the corresponding planning parameters are stored. The planning identifier can be an identifier used to identify the target plan. The planning identifier can be generated based on the task intent or after interaction with the user, depending on the actual situation. The planning parameters can include parameters such as the execution content, execution device, and execution area in the target plan. If the received task request includes a planning identifier, the planning parameters are obtained based on the planning identifier, a scenario plan is generated based on the planning parameters, and execution is initiated to obtain user feedback information regarding the scenario plan.

[0065] Furthermore, a feasible approach is to pre-create multiple planning identifiers, each corresponding to a target plan, and store the identifier set including the multiple planning identifiers on a shared platform, so that other control devices can read the identifier set, thereby improving the convenience and efficiency of setting up scenarios according to the target plan.

[0066] It should be noted that, in addition to issuing a single task or a task for a single time period, task requests can also be issued for different time periods or different spaces. For example, controlling the lighting and speakers in the conference room to be in sleep mode from 12 noon to 2 pm, and controlling the lighting in the conference room to illuminate at 60% brightness at 3 pm, and turning on the conference tablets and speakers in the conference room.

[0067] In the embodiments of this specification, by identifying the task intent of the task request, generating a scenario plan based on the task intent, and describing the planning basis for the scenario plan generation process, and adjusting the scenario plan based on user feedback, a target plan matching the task request is obtained. Thus, by identifying the task intent of the task request to generate a scenario plan and a planning basis, and adjusting it in conjunction with user interaction, a target plan meeting user needs is obtained. Furthermore, by improving user understanding of the scenario plan, the efficiency and accuracy of the generated scenario plan are improved. Further, based on the intent type of the task, a corresponding method is used to generate the scenario plan and the corresponding planning basis, making it easier for users to clearly understand the scenario plan generation process, thereby improving the convenience for users to adjust the scenario plan, and improving the efficiency and accuracy of the subsequent target plan generation, as well as the user experience. Further, the scenario plan is adjusted according to user feedback, and the steps of obtaining feedback and adjustment are repeated until a target plan matching the task request is obtained. Thus, by adjusting the scenario plan through user interaction, the accuracy of the generated target plan is ensured. Furthermore, the generated target plans are stored according to the planning identifiers, so that planning parameters can be obtained later based on the planning identifiers. By pre-storing the target plans and obtaining planning parameters based on the planning identifiers, the number of steps required for users to generate target plans is reduced, thereby improving the efficiency and accuracy of target plan generation and the user experience.

[0068] based on Figure 1 The system architecture shown below will be combined with... Figure 6 and Figure 7 This specification provides a detailed description of the scene planning device provided in the embodiments. It should be noted that... Figure 6 and Figure 7 The scene planning device in the specification is used to execute the embodiments described herein. Figures 2 to 5 The methods shown in the embodiments are illustrated for ease of explanation, showing only the parts related to the embodiments of this specification. For specific technical details not disclosed, please refer to the embodiments of this specification. Figures 2 to 5 The example shown.

[0069] Please see Figure 6 This is a schematic diagram of the structure of a scene planning device provided in an embodiment of this specification. Figure 6 As shown, the scene planning device 1 in the embodiments of this specification may include: an intent determination unit 11, a planning generation unit 12, and a planning determination unit 13.

[0070] Intent determination unit 11 is used to obtain a task request submitted by a user and determine the task intent of the task request; The planning generation unit 12 is used to determine the execution device corresponding to the task request, generate a scenario plan based on the task intent and the execution device, and the planning basis corresponding to the scenario plan; The planning and determination unit 13 is used to obtain feedback information from the user regarding the scenario planning, and adjust the scenario planning based on the feedback information until a target planning that matches the task request is obtained.

[0071] Optionally, the intent determination unit 11 is also used for: Obtain the task request submitted by the user, and parse the task request to obtain the trigger instruction and notification instruction; The task intent of the task request is determined based on the triggering instruction, and the intent type corresponding to the task request is determined based on the task intent, wherein the intent type is either an ambiguous type or a definite type.

[0072] Optionally, the planning and determination unit 12 is also used for: The execution area and corresponding execution device of the task request are determined, as well as the functional parameters of the execution device. Based on the task intent and the execution device, a scenario plan is generated, along with the planning basis corresponding to the scenario plan.

[0073] Optionally, the planning and determination unit 12 is also used for: If the intent type of the task intent is fuzzy, then the execution area, execution device, and functional parameters of the execution device, as well as the historical interaction data corresponding to the task request, are determined based on the task request. Based on the task intent, the execution device, the functional parameters, and the historical interaction data, reasoning is performed to generate a scene plan corresponding to the task request. The scene plan includes the execution area and the target execution content. Based on the reasoning process that generates the scenario plan, the planning basis corresponding to the scenario plan is generated.

[0074] Optionally, the planning and determination unit 12 is also used for: If the intent type of the task intent is explicit, then the execution area, execution device and execution content in the target request are obtained. Based on the task intent, the execution area, the execution device, the functional parameters and the execution content, the scenario planning of the task request is determined. The scenario planning indicates the target execution content corresponding to the execution device in the execution area. Based on the feasibility of the scenario planning, the planning basis corresponding to the scenario planning is generated.

[0075] Optionally, the planning and determination unit 12 is also used for: If a safety hazard is detected in the scene planning, a warning message is output. The warning message is used to indicate the safety hazard, as well as the cause and consequences of the safety hazard.

[0076] Optionally, the planning and determination unit 13 is also used for: Obtain user feedback information regarding the scenario planning, wherein the feedback information is information from the user correcting the scenario planning; Based on the feedback information, the execution area and execution content in the scenario planning are adjusted to obtain an adjusted plan; The adjusted plan is then used as a scenario plan, and the process proceeds to the step of obtaining user feedback on the scenario plan until a target plan matching the task request is obtained.

[0077] Optional, such as Figure 7 As shown, the scene planning device 1 also includes an execution unit 14, used for: The execution device in the target plan is determined, the task instruction corresponding to the target plan is generated, and the task instruction is transmitted to the execution device to control the execution device to execute the task instruction.

[0078] Optionally, the scene planning device 1 also includes a prompting unit 15, used for: If the planning type of the target plan is immediate execution, then after the target plan is executed, a first response message is output to the user, which is used to describe the execution status of the target plan; If the planning type of the target plan is scheduled execution, then after the target plan is generated, a second response message is output to the user, and after the target plan is executed, the first response message is output. The second response message is used to describe the pre-execution plan of the target plan.

[0079] Optionally, the scene planning device 1 also includes a storage unit 16 for: Generate a planning identifier for the target plan, and store the planning identifier and the planning parameters corresponding to the target plan; If the received task request includes the planning identifier, then the planning parameters are obtained based on the planning identifier, a scenario plan is generated based on the planning parameters, and the process proceeds to obtaining user feedback information regarding the scenario plan.

[0080] In the embodiments of this specification, by identifying the task intent of the task request, generating a scenario plan based on the task intent, and describing the planning basis for the scenario plan generation process, and adjusting the scenario plan based on user feedback, a target plan matching the task request is obtained. Thus, by identifying the task intent of the task request to generate a scenario plan and a planning basis, and adjusting it in conjunction with user interaction, a target plan meeting user needs is obtained. Furthermore, by improving user understanding of the scenario plan, the efficiency and accuracy of the generated scenario plan are improved. Further, based on the intent type of the task, a corresponding method is used to generate the scenario plan and the corresponding planning basis, making it easier for users to clearly understand the scenario plan generation process, thereby improving the convenience for users to adjust the scenario plan, and improving the efficiency and accuracy of the subsequent target plan generation, as well as the user experience. Further, the scenario plan is adjusted according to user feedback, and the steps of obtaining feedback and adjustment are repeated until a target plan matching the task request is obtained. Thus, by adjusting the scenario plan through user interaction, the accuracy of the generated target plan is ensured. Furthermore, the generated target plans are stored according to the planning identifiers, so that planning parameters can be obtained later based on the planning identifiers. By pre-storing the target plans and obtaining planning parameters based on the planning identifiers, the number of steps required for users to generate target plans is reduced, thereby improving the efficiency and accuracy of target plan generation and the user experience.

[0081] This specification also provides a computer storage medium that can store multiple program instructions, which are adapted to be loaded and executed by a processor as described above. Figures 1-5 The method steps of the illustrated embodiment can be found in the following documentation for detailed execution. Figures 1-5 The specific details of the illustrated embodiments will not be elaborated here.

[0082] This specification also provides an embodiment of a computer program product, which stores at least one instruction, the at least one instruction being loaded and executed by the processor as described above. Figures 1-5 The method steps of the illustrated embodiment can be found in the following documentation for detailed execution. Figures 1-5 The specific details of the illustrated embodiments will not be elaborated here.

[0083] Please see Figure 8 This document provides a schematic diagram of the structure of an electronic device as an embodiment of the present specification. Figure 8As shown, the electronic device 1000 may include: at least one processor 1001, such as a CPU; at least one network interface 1004; an input / output interface 1003; a memory 1005; and at least one communication bus 1002. The communication bus 1002 is used to enable communication between these components. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed RAM or non-volatile memory, such as at least one disk storage device. Figure 8 As shown, the memory 1004, which serves as a computer storage medium, may include an operating system, an input / output interface module, and a scene planning application.

[0084] exist Figure 8 In the electronic device 1000 shown, the input / output interface 1003 is mainly used to provide an input interface for the user and to obtain the user input data.

[0085] In one embodiment, the processor 1001 can be used to invoke a scene planning application stored in the memory 1004, and specifically perform the following operations: Obtain the task request submitted by the user and determine the task intent of the task request; Determine the execution device corresponding to the task request, and generate a scenario plan and the planning basis corresponding to the scenario plan based on the task intent and the execution device; Obtain user feedback on the scenario planning, and adjust the scenario planning based on the feedback until a target plan that matches the task request is obtained.

[0086] Optionally, when the processor 1001 executes the process of obtaining a user-submitted task request and determining the task intent of the task request, it specifically performs the following operations: Obtain the task request submitted by the user, and parse the task request to obtain the trigger instruction and notification instruction; The task intent of the task request is determined based on the triggering instruction, and the intent type corresponding to the task request is determined based on the task intent, wherein the intent type is either an ambiguous type or a definite type.

[0087] Optionally, when the processor 1001 determines the execution device corresponding to the task request, generates a scene plan based on the task intent and the execution device, and the planning basis corresponding to the scene plan, it specifically performs the following operations: The execution area and corresponding execution device of the task request are determined, as well as the functional parameters of the execution device. Based on the task intent and the execution device, a scenario plan is generated, along with the planning basis corresponding to the scenario plan.

[0088] Optionally, when the processor 1001 determines the execution region and corresponding execution device of the task request, as well as the functional parameters of the execution device, and generates a scene plan based on the task intent and the execution device, and the planning basis corresponding to the scene plan, it specifically performs the following operations: If the intent type of the task intent is fuzzy, then the execution area, execution device, and functional parameters of the execution device, as well as the historical interaction data corresponding to the task request, are determined based on the task request. Based on the task intent, the execution device, the functional parameters, and the historical interaction data, reasoning is performed to generate a scene plan corresponding to the task request. The scene plan includes the execution area and the target execution content. Based on the reasoning process that generates the scenario plan, the planning basis corresponding to the scenario plan is generated.

[0089] Optionally, when the processor 1001 determines the execution region and corresponding execution device of the task request, as well as the functional parameters of the execution device, and generates a scene plan based on the task intent and the execution device, and the planning basis corresponding to the scene plan, it specifically performs the following operations: If the intent type of the task intent is explicit, then the execution area, execution device and execution content in the target request are obtained. Based on the task intent, the execution area, the execution device, the functional parameters and the execution content, the scenario planning of the task request is determined. The scenario planning indicates the target execution content corresponding to the execution device in the execution area. Based on the feasibility of the scenario planning, the planning basis corresponding to the scenario planning is generated.

[0090] Optionally, the processor 1001 also performs the following operations: If a safety hazard is detected in the scene planning, a warning message is output. The warning message is used to indicate the safety hazard, as well as the cause and consequences of the safety hazard.

[0091] Optionally, when the processor 1001 obtains feedback information from the user regarding the scenario planning and adjusts the scenario planning based on the feedback information until a target plan matching the task request is obtained, it specifically performs the following operations: Obtain user feedback information regarding the scenario planning, wherein the feedback information is information from the user correcting the scenario planning; Based on the feedback information, the execution area and execution content in the scenario planning are adjusted to obtain an adjusted plan; The adjusted plan is then used as a scenario plan, and the process proceeds to the step of obtaining user feedback on the scenario plan until a target plan matching the task request is obtained.

[0092] Optionally, after executing the target plan that matches the task request, the processor 1001 also performs the following operations: The execution device in the target plan is determined, the task instruction corresponding to the target plan is generated, and the task instruction is transmitted to the execution device to control the execution device to execute the task instruction.

[0093] Optionally, the processor 1001 also performs the following operations: If the planning type of the target plan is immediate execution, then after the target plan is executed, a first response message is output to the user, which is used to describe the execution status of the target plan; If the planning type of the target plan is scheduled execution, then after the target plan is generated, a second response message is output to the user, and after the target plan is executed, the first response message is output. The second response message is used to describe the pre-execution plan of the target plan.

[0094] Optionally, the processor 1001 also performs the following operations: Generate a planning identifier for the target plan, and store the planning identifier and the planning parameters corresponding to the target plan; If the received task request includes the planning identifier, then the planning parameters are obtained based on the planning identifier, a scenario plan is generated based on the planning parameters, and the process proceeds to obtaining user feedback information regarding the scenario plan.

[0095] In the embodiments of this specification, by identifying the task intent of the task request, generating a scenario plan based on the task intent, and describing the planning basis for the scenario plan generation process, and adjusting the scenario plan based on user feedback, a target plan matching the task request is obtained. Thus, by identifying the task intent of the task request to generate a scenario plan and a planning basis, and adjusting it in conjunction with user interaction, a target plan meeting user needs is obtained. Furthermore, by improving user understanding of the scenario plan, the efficiency and accuracy of the generated scenario plan are improved. Further, based on the intent type of the task, a corresponding method is used to generate the scenario plan and the corresponding planning basis, making it easier for users to clearly understand the scenario plan generation process, thereby improving the convenience for users to adjust the scenario plan, and improving the efficiency and accuracy of the subsequent target plan generation, as well as the user experience. Further, the scenario plan is adjusted according to user feedback, and the steps of obtaining feedback and adjustment are repeated until a target plan matching the task request is obtained. Thus, by adjusting the scenario plan through user interaction, the accuracy of the generated target plan is ensured. Furthermore, the generated target plans are stored according to the planning identifiers, so that planning parameters can be obtained later based on the planning identifiers. By pre-storing the target plans and obtaining planning parameters based on the planning identifiers, the number of steps required for users to generate target plans is reduced, thereby improving the efficiency and accuracy of target plan generation and the user experience.

[0096] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.

[0097] The above-disclosed embodiments are merely preferred embodiments of this specification and should not be construed as limiting the scope of this specification. Therefore, any equivalent variations made in accordance with the claims of this specification shall still fall within the scope of this specification.

Claims

1. A scenario planning method, characterized in that, The method includes: Obtain the task request submitted by the user and determine the task intent of the task request; Determine the execution device corresponding to the task request, and generate a scenario plan and the planning basis corresponding to the scenario plan based on the task intent and the execution device; Obtain user feedback on the scenario planning, and adjust the scenario planning based on the feedback until a target plan that matches the task request is obtained.

2. The method according to claim 1, characterized in that, The step of obtaining the task request submitted by the user and determining the task intent of the task request includes: Obtain the task request submitted by the user, and parse the task request to obtain the trigger instruction and notification instruction; The task intent of the task request is determined based on the triggering instruction, and the intent type corresponding to the task request is determined based on the task intent, wherein the intent type is either an ambiguous type or a definite type.

3. The method according to claim 1, characterized in that, The step of determining the execution device corresponding to the task request, generating a scenario plan based on the task intent and the execution device, and the planning basis corresponding to the scenario plan includes: The execution area and corresponding execution device of the task request are determined, as well as the functional parameters of the execution device. Based on the task intent and the execution device, a scenario plan is generated, along with the planning basis corresponding to the scenario plan.

4. The method according to claim 3, characterized in that, The process of determining the execution region and corresponding execution device of the task request, as well as the functional parameters of the execution device, and generating a scene plan based on the task intent and the execution device, and the planning basis corresponding to the scene plan, includes: If the intent type of the task intent is fuzzy, then the execution area, execution device, and functional parameters of the execution device, as well as the historical interaction data corresponding to the task request, are determined based on the task request. Based on the task intent, the execution device, the functional parameters, and the historical interaction data, reasoning is performed to generate a scene plan corresponding to the task request. The scene plan includes the execution area and the target execution content. Based on the reasoning process that generates the scenario plan, the planning basis corresponding to the scenario plan is generated.

5. The method according to claim 3, characterized in that, The process of determining the execution region and corresponding execution device of the task request, as well as the functional parameters of the execution device, and generating a scene plan based on the task intent and the execution device, and the planning basis corresponding to the scene plan, includes: If the intent type of the task intent is explicit, then the execution area, execution device and execution content in the target request are obtained. Based on the task intent, the execution area, the execution device, the functional parameters and the execution content, the scenario planning of the task request is determined. The scenario planning indicates the target execution content corresponding to the execution device in the execution area. Based on the feasibility of the scenario planning, the planning basis corresponding to the scenario planning is generated.

6. The method according to claim 5, characterized in that, The method further includes: If a safety hazard is detected in the scene planning, a warning message is output. The warning message is used to indicate the safety hazard, as well as the cause and consequences of the safety hazard.

7. The method according to claim 1, characterized in that, The step of obtaining user feedback on the scenario planning and adjusting the scenario planning based on the feedback until a target plan matching the task request is obtained includes: Obtain user feedback information regarding the scenario planning, wherein the feedback information is information from the user correcting the scenario planning; Based on the feedback information, the execution area and execution content in the scenario planning are adjusted to obtain an adjusted plan; The adjusted plan is then used as a scenario plan, and the process proceeds to the step of obtaining user feedback on the scenario plan until a target plan matching the task request is obtained.

8. The method according to claim 1, characterized in that, After obtaining the target plan that matches the task request, the process further includes: The execution device in the target plan is determined, the task instruction corresponding to the target plan is generated, and the task instruction is transmitted to the execution device to control the execution device to execute the task instruction.

9. The method according to claim 8, characterized in that, The method further includes: If the planning type of the target plan is immediate execution, then after the target plan is executed, a first response message is output to the user, which is used to describe the execution status of the target plan; If the planning type of the target plan is scheduled execution, then after the target plan is generated, a second response message is output to the user, and after the target plan is executed, the first response message is output. The second response message is used to describe the pre-execution plan of the target plan.

10. The method according to any one of claims 1-9, characterized in that, The method further includes: Generate a planning identifier for the target plan, and store the planning identifier and the planning parameters corresponding to the target plan; If the received task request includes the planning identifier, then the planning parameters are obtained based on the planning identifier, a scenario plan is generated based on the planning parameters, and the process proceeds to obtaining user feedback information regarding the scenario plan.

11. A scene planning device, characterized in that, The device includes: An intent determination unit is used to obtain a task request submitted by a user and determine the task intent of the task request. The planning generation unit is used to determine the execution device corresponding to the task request, generate a scenario plan based on the task intent and the execution device, and the planning basis corresponding to the scenario plan; The planning and determination unit is used to obtain feedback information from the user regarding the scenario planning, and adjust the scenario planning based on the feedback information until a target planning that matches the task request is obtained.

12. A computer storage medium storing a plurality of instructions adapted for loading by a processor and executing the steps of the method as claimed in any one of claims 1 to 10.

13. An electronic device, comprising: A processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to execute the steps of the method as claimed in any one of claims 1 to 10.

14. A computer program product comprising: A computer program, when executed by a processor of an electronic device, causes the processor to perform the steps of the method as described in any one of claims 1 to 10.