Method and device for updating scene function data, electronic device, and storage medium

By establishing a mapping relationship between the old and new function definitions, the scene function configuration of smart home devices is detected and updated, solving the problem of inconsistent configurations caused by device function updates and realizing a convenient update process.

CN115686549BActive Publication Date: 2026-05-15QINGDAO HAIER TECH +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110823823.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-21
Publication Date
2026-05-15
Estimated Expiration
2041-07-21

AI Technical Summary

Technical Problem

Updates to existing smart home devices have rendered previously configured scene features unusable, and the update process is cumbersome.

Method used

By acquiring the new and old function definitions of the target device, a mapping relationship is established, it is detected whether the target scene function is applied to the scene function configuration, and the scene function configuration is updated based on the mapping relationship.

Benefits of technology

It enables convenient updates of scene function data, ensures that scene function configurations can be executed normally, and simplifies user operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115686549B_ABST
    Figure CN115686549B_ABST
Patent Text Reader

Abstract

The application discloses a scene function data updating method and device, an electronic device and a storage medium, wherein the scene function data updating method comprises the following steps: obtaining a new function definition and an old function definition of a target device; establishing a mapping relationship between the new function definition and the old function definition; updating a scene function supported by the target device at present by using the new function definition; detecting whether a target scene function is applied to a scene function configuration; wherein the target scene function refers to a scene function with a changed function definition; if it is detected that the target scene function is applied to the scene function configuration, updating the scene function configuration to which the target scene function is applied based on the mapping relationship between the new function definition and the old function definition. Thus, a convenient scene function data updating method is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data update technology, and in particular to a method, apparatus, electronic device, and storage medium for updating scene function data. Background Technology

[0002] Currently, smart homes are being widely adopted due to their greater convenience and user-friendliness. For smart homes, users can configure scene functions based on the device's features to achieve intelligent control. For example, with a smart air conditioner, users can configure the air conditioner to trigger an on / off command at a specific time and adjust the fan speed to a designated level, based on scene functions such as on / off commands and fan speed settings.

[0003] However, due to platform system updates and other reasons, the device's function definitions will be updated accordingly. For example, the definition of the air conditioner's on / off command may be upgraded from "onoff" to "power," or the fan speed may be changed from supporting 1 to 3 levels to supporting more levels. Therefore, the user's previously set scene function configurations may not work properly, or the device's operating state may no longer match the user's initial intention when executing scene function configurations.

[0004] At this point, if a user needs to modify the scene function data of the device, they need to submit a work order to the platform, and then the platform will intervene to refresh the scene function data of the user's device, so the whole process is very cumbersome. Summary of the Invention

[0005] In view of the shortcomings of the prior art, this application provides a method, apparatus, electronic device and storage medium for updating scene function data, so as to solve the problem that the existing update method is too cumbersome.

[0006] To achieve the above objectives, this application provides the following technical solution:

[0007] The first aspect of this application provides a method for updating scene function data, including:

[0008] Obtain the new and old function definitions of the target device;

[0009] Establish a mapping relationship between the new function definition and the old function definition;

[0010] The new function definition is used to update the scene functions currently supported by the target device;

[0011] Detect whether the target scene function is applied to the scene function configuration; wherein, the target scene function refers to the scene function whose function definition has changed;

[0012] If it is detected that the target scene function is applied to the scene function configuration, the scene function configuration to which the target scene function is applied is updated based on the mapping relationship between the new function definition and the old function definition.

[0013] Optionally, in the above-described method for updating scene function data, updating the scene function configuration applied to the target scene function based on the mapping relationship between the new function definition and the old function definition includes:

[0014] Based on the mapping relationship between the new function definition and the old function definition, the target function definition that causes the target scene function to change and is applied to the scene function configuration is determined in the new function definition;

[0015] The scenario function configuration is updated using the target function definition.

[0016] Optionally, in the above-described method for updating scene function data, after updating the scene function configuration applied to the target scene function based on the mapping relationship between the new function definition and the old function definition, the method further includes:

[0017] Enable the updated scene function configuration to control the target device based on the updated scene function configuration.

[0018] Optionally, in the above-described method for updating scene function data, after updating the scene function configuration applied to the target scene function based on the mapping relationship between the new function definition and the old function definition, the method further includes:

[0019] Record the corresponding identifier and update information for the updated scenario function configuration;

[0020] Upon receiving an update query request from a client, the system responds to the client's update query request by feeding back the updated identifier and update information corresponding to the scenario function configuration to the client.

[0021] Optionally, in the above-described method for updating scene function data, after updating the scene functions currently supported by the target device using the new function definition, the method further includes:

[0022] In response to the user's configuration operation, the updated scenario function is used to create a scenario function configuration.

[0023] A second aspect of this application provides a device for updating scene function data, including:

[0024] The acquisition unit is used to acquire the new and old function definitions of the target device.

[0025] A mapping unit is used to establish a mapping relationship between the new function definition and the old function definition;

[0026] The function update unit is used to update the scene functions currently supported by the target device using the new function definition;

[0027] The detection unit is used to detect whether the target scene function is applied to the scene function configuration; wherein, the target scene function refers to the scene function whose function definition has changed;

[0028] The scene update unit is used to update the scene function configuration to which the target scene function is applied, based on the mapping relationship between the new function definition and the old function definition, when the detection unit detects that the target scene function is applied to the scene function configuration.

[0029] Optionally, in the above-mentioned scene function data updating device, the scene updating unit includes:

[0030] The determining unit is used to determine, based on the mapping relationship between the new function definition and the old function definition, the target function definition in the new function definition that causes the target scene function to change and is applied to the scene function configuration;

[0031] The scene update subunit is used to update the scene function configuration using the target function definition.

[0032] Optionally, the above-mentioned device for updating scene function data further includes:

[0033] A startup unit is used to enable the updated scene function configuration in order to control the target device based on the updated scene function configuration.

[0034] Optionally, the above-mentioned device for updating scene function data further includes:

[0035] A recording unit is used to record the identifier and update information corresponding to the updated scenario function configuration;

[0036] The query unit is used to respond to the client's update query request when it receives the client's update query request, and to feed back the corresponding identifier and update information of the updated scenario function configuration to the client.

[0037] Optionally, the above-mentioned device for updating scene function data further includes:

[0038] A creation unit is used to respond to user configuration operations and create scene function configurations using the updated scene functions.

[0039] A third aspect of this application provides an electronic device, comprising:

[0040] Memory and processor;

[0041] The memory is used to store programs;

[0042] The processor is used to execute the program, which, when executed, is specifically used to implement the method for updating scene function data as described in any of the above.

[0043] A fourth aspect of this application provides a computer storage medium for storing a computer program, which, when executed, implements a method for updating scene function data as described in any of the preceding claims.

[0044] This application provides a method for updating scene function data. It obtains the new and old function definitions of a target device, then establishes a mapping relationship between the new and old function definitions to facilitate automatic updates of the scene functions currently supported by the target device using the new function definitions. Next, it detects whether the target scene function is applied to the scene function configuration. The target scene function refers to the scene function whose function definition has changed. If the target scene function is detected to be applied to the scene function configuration, the scene function configuration applied to it is updated based on the mapping relationship between the new and old function definitions, thereby ensuring that the scene function configuration can be executed normally. This provides a convenient method for updating scene function data. Attached Figure Description

[0045] To more clearly illustrate the technical solutions in the embodiments of this application 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 embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0046] Figure 1 A schematic diagram of the structure of an equipment management system provided for this embodiment;

[0047] Figure 2 A flowchart illustrating a method for updating scene function data as provided in another embodiment of this application;

[0048] Figure 3 A flowchart illustrating a method for updating scene function configuration as provided in another embodiment of this application;

[0049] Figure 4 A flowchart illustrating another method for updating scenario function data according to another embodiment of this application;

[0050] Figure 5 A schematic diagram of the structure of a scene function data updating device provided in another embodiment of this application;

[0051] Figure 6 A schematic diagram of the structure of a scene update unit provided in another embodiment of this application;

[0052] Figure 7 This is a schematic diagram of the structure of an electronic device provided in another embodiment of this application. Detailed Implementation

[0053] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0054] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.

[0055] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.

[0056] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0057] This application provides a method for updating scene function data to solve the problem that existing update methods are too cumbersome.

[0058] To implement the method for updating scenario function data provided in this application, optionally, embodiments of this application provide a device management system, such as... Figure 1 As shown, it includes:

[0059] The device function definition module 101, the device scene function definition module 102, the scene engine 103, and the device management module 104.

[0060] The device function definition module 101 is mainly used to define new function definitions, obtain new function definitions and old function definitions, and suggest the mapping relationship between new function definitions and old function definitions.

[0061] The device scene function definition module 102 is mainly used to update the scene functions supported by the device using the new function definition, and to check whether the scene functions whose function definitions have changed have been applied to the scene function configuration, so as to push the relevant data to the scene engine 103 to update the scene function configuration.

[0062] Scene Engine 103 is mainly used to respond to user configuration operations, set scene function configurations using the scene functions currently supported by the device, and update scene function configurations according to changes in scene functions.

[0063] The device management module 104 is mainly used to control devices using scene functions.

[0064] Based on the device management system provided above, another embodiment of this application provides a method for updating scene function data, such as... Figure 2 As shown, it includes the following steps:

[0065] S201. Obtain the new function definition and old function definition of the target device.

[0066] It should be noted that the target equipment mainly refers to a type of equipment, such as a specific air conditioner.

[0067] The new function definition can include the definition of newly added functions and the redefinition of previous functions. For example, adding a new fan speed setting, or upgrading the on command from "onoff" to "powerON". The old function definition is the definition of the previous functions.

[0068] Specifically, developers redefine the functions of the target device as needed. Optionally, the functions can be defined more precisely, making them more powerful. For example, for an air conditioner, the fan speed settings could be adjusted from the original 1, 2, and 3 to 1-100, meaning the air conditioner's fan speed range could be expanded from 3 levels to 100. Alternatively, only the attributes of a specific function definition could be updated, such as upgrading the on command from "onoff" to "powerON".

[0069] S202. Establish the mapping relationship between the new function definition and the old function definition.

[0070] To facilitate the updating of old function definitions, it is necessary to establish a mapping relationship between each new function definition and its corresponding old function definition, thereby obtaining mapping information consisting of the new function definition and its corresponding old function definition.

[0071] Optionally, the mapping relationship between the new function definition and the old function definition can be established and maintained in the form of an association table or other methods.

[0072] S203. Utilize the new function definition to update the scene functions supported by the current target device.

[0073] The function definition and the scene function are interdependent. When the function definition is updated, the function definition of the scene function needs to be updated accordingly. For example, if the same wind speed area is originally divided into three levels, and is now redefined as one to one hundred levels, then the wind speed levels supported by the target device should be switched from one to three levels to one to one hundred levels.

[0074] Specifically, based on the mapping relationship between the new and old function definitions, the old function definitions that are different from the new function definitions are identified, and the scene functions that use the identified old function definitions in the scene functions supported by the current target device are identified. This determines the scene functions that need to have their function definitions updated, that is, the scene functions in the scene functions of the target device whose function definitions have changed. Then, based on the mapping relationship between the new and old function definitions, the function definitions in the identified scene functions are updated, thereby updating the scene functions supported by the current target device. This facilitates the subsequent updating of previously created scene function configurations and allows users to create scene function configurations using the updated scene functions supported by the target device.

[0075] Therefore, optionally, in this embodiment of the application, after performing step S203, the following may be further included:

[0076] Responding to user configuration operations, the system utilizes updated scenario features to create scenario feature configurations.

[0077] It should be noted that, in the embodiments of this application, scene function configuration can be understood as selecting multiple scene functions as needed and combining them into a scene function configuration for controlling the operation of a target device. For example, for air conditioning, selecting an on command, specifying a fan speed, specifying a temperature, etc., a scene function configuration is created that will turn on the air conditioning at a specified time and adjust it to the specified fan speed and temperature. Implementing this scene function configuration involves correspondingly identifying and executing the selected scene functions.

[0078] S204. Detect whether the target scene function is applied to the scene function configuration.

[0079] Among them, the target scenario function refers to the scenario function whose function definition has changed.

[0080] If a changed scene function is not applied to the scene function configuration (i.e., not selected for scene configuration), then there is no scene function configuration that needs to be updated. Conversely, if a target scene function is detected as being applied to the scene function configuration, then the applied scene function configuration needs to be updated to ensure that the scene function configuration can be executed normally to control the target device correctly, or to ensure that the target device is controlled to meet the user's expectations when setting the scene function configuration. For example, an air conditioner previously only supported fan speeds of 1 to 3, but now supports fan speeds of 1 to 100. Therefore, if the user previously set the air conditioner's fan speed to level 2, and now adjusts it to level 2, which is much lower than the previous level 2, the fan speed setting needs to be adjusted to the updated corresponding level to ensure that the air conditioner's fan speed matches the user's initial desired speed.

[0081] Therefore, when it is detected that the target scene function is applied to the scene function configuration, step S205 is executed.

[0082] S205. Based on the mapping relationship between the new function definition and the old function definition, update the scenario function configuration applied to the target scenario function.

[0083] Specifically, based on the mapping relationship between the new function definition and the old function definition, the function definitions that need to be updated in the scenario function configuration applied to the target scenario function are updated to the new function definitions and saved.

[0084] Optionally, in another embodiment of this application, one specific implementation of step S205 is as follows: Figure 3 As shown, it includes the following steps:

[0085] S301. Based on the mapping relationship between the new function definition and the old function definition, determine the target function definition in the new function definition that causes changes to the target scene function and is applied to the scene function configuration.

[0086] In other words, in this embodiment, function definition data that changes the original function and is applied to the scene function configuration is first selected. Then, this data is pushed to the scene service through data subscription, i.e., interface push. After receiving this data, the scene service uses it to update the function definitions of user-created scene function configurations in the existing system.

[0087] S302. Update the scenario function configuration using the target function definition.

[0088] Specifically, the target function definition is used to replace the corresponding function definition in the scene function configuration, thereby completing the update of the scene function configuration.

[0089] Optionally, another embodiment of this application provides another method for updating scene function data, such as... Figure 4 As shown, it includes the following steps:

[0090] S401. Obtain the new function definition and old function definition of the target device.

[0091] It should be noted that the specific implementation of step S401 can be referred to step S201 in the above method embodiment, and will not be repeated here.

[0092] S402. Establish a mapping relationship between the new function definition and the old function definition.

[0093] It should be noted that the specific implementation of step S402 can be referred to step S202 in the above method embodiment, and will not be repeated here.

[0094] S403. Utilize the new feature definition to update the scene functions supported by the current target device.

[0095] It should be noted that the specific implementation of step S403 can be referred to step S203 in the above method embodiment, and will not be repeated here.

[0096] S404. Detect whether the target scene function is applied to the scene function configuration.

[0097] Among them, the target scenario function refers to the scenario function whose function definition has changed.

[0098] It should be noted that if the target scene function is detected to be applied to the scene function configuration, then step S405 is executed.

[0099] It should also be noted that the specific implementation of step S404 can be referred to step S204 in the above method embodiment, and will not be repeated here.

[0100] S405. Based on the mapping relationship between the new function definition and the old function definition, determine the target function definition in the new function definition that causes changes to the target scene function and is applied to the scene function configuration.

[0101] It should be noted that the specific implementation of step S405 can be referred to step S301 in the above method embodiment, and will not be repeated here.

[0102] S406. Update the scenario function configuration using the target function definition.

[0103] It should be noted that the specific implementation of step S406 can be referred to step S302 in the above method embodiment, and will not be repeated here.

[0104] S407. Enable the updated scene function configuration to control the target device based on the updated scene function configuration.

[0105] Optionally, in another embodiment of this application, after performing step S205, the following may be further included:

[0106] Record the identifier and update information corresponding to the updated scene function configuration, and respond to the client's query request when receiving the update query request by sending the identifier and update information corresponding to the updated scene function configuration back to the client.

[0107] Specifically, the system records the identifiers and update information corresponding to the updated scene function configurations. This allows the system to respond to client queries when users seek update records, providing the updated scene function configuration identifiers and update information to the client so that users are aware of the scene updates.

[0108] This application provides a method for updating scene function data. It obtains the new and old function definitions of a target device, then establishes a mapping relationship between the new and old function definitions to facilitate automatic updates of the scene functions currently supported by the target device using the new function definitions. Next, it detects whether the target scene function is applied to the scene function configuration. The target scene function refers to the scene function whose function definition has changed. If the target scene function is detected to be applied to the scene function configuration, the scene function configuration applied to it is updated based on the mapping relationship between the new and old function definitions, thereby ensuring that the scene function configuration can be executed normally. This provides a convenient method for updating scene function data.

[0109] It should be noted that the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings.

[0110] For example, two consecutively represented blocks can actually be executed in substantially parallel order, and sometimes they can be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, as well as combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified functions or operations, or using a combination of dedicated hardware and computer instructions.

[0111] Furthermore, although the operations are described in a specific order, this should not be construed as requiring these operations to be executed in the specific order shown or in sequential order. In certain environments, multitasking and parallel processing may be advantageous.

[0112] Another embodiment of this application provides a device for updating scene function data, such as... Figure 5 As shown, it includes the following units:

[0113] Acquisition unit 501 is used to acquire the new function definition and the old function definition of the target device.

[0114] The mapping unit 502 is used to establish a mapping relationship between the new function definition and the old function definition.

[0115] The function update unit 503 is used to update the scene functions currently supported by the target device using the new function definition.

[0116] The detection unit 504 is used to detect whether the target scene function is applied to the scene function configuration.

[0117] The target scene function refers to the scene function whose function definition has changed.

[0118] The scene update unit 505 is used to update the scene function configuration to which the target scene function is applied, based on the mapping relationship between the new function definition and the old function definition, when the detection unit detects that the target scene function is applied to the scene function configuration.

[0119] Optionally, in another embodiment of the scene function data updating device provided in this application, the scene updating unit, such as Figure 6 As shown, it includes:

[0120] The determining unit 601 is used to determine, based on the mapping relationship between the new function definition and the old function definition, the target function definition that causes the target scene function to change and is applied to the scene function configuration.

[0121] The scene update subunit 602 is used to update the scene function configuration using the target function definition.

[0122] Optionally, the scene function data updating device provided in another embodiment of this application may further include:

[0123] A startup unit is used to enable the updated scene function configuration in order to control the target device based on the updated scene function configuration.

[0124] Optionally, the scene function data updating device provided in another embodiment of this application may further include:

[0125] The recording unit is used to record the identifier and update information corresponding to the updated scenario function configuration.

[0126] The query unit is used to respond to the client's update query request when it receives the client's update query request, and to feed back the corresponding identifier and update information of the updated scenario function configuration to the client.

[0127] Optionally, the scene function data updating device provided in another embodiment of this application may further include:

[0128] A creation unit is used to respond to user configuration operations and create scene function configurations using the updated scene functions.

[0129] It should be noted that the various units provided in the above embodiments of this application can be... Figure 1 The diagram shows the components of each module in the device management system, and the specific working process of each unit provided in the above embodiments can be referred to the corresponding steps in the above method embodiments, which will not be repeated here.

[0130] This application provides a scene function data update device. An acquisition unit obtains the new and old function definitions of a target device. A mapping unit then establishes a mapping relationship between the new and old function definitions, facilitating the function update unit's automatic update of the scene functions currently supported by the target device using the new function definitions. A detection unit then detects whether the target scene function is applied to the scene function configuration. The target scene function refers to the scene function whose function definition has changed. If the target scene function is detected as being applied to the scene function configuration, the scene update unit updates the scene function configuration based on the mapping relationship between the new and old function definitions, ensuring that the scene function configuration can be executed normally. This provides a very convenient way to update scene function data.

[0131] Another embodiment of this application provides an electronic device, such as... Figure 7 As shown, it includes:

[0132] Memory 701 and processor 702.

[0133] The memory 701 is used to store the program.

[0134] The processor 702 is used to execute the program stored in the memory 701, and when the program is executed, it is specifically used to implement the method for updating scene function data as provided in any of the above embodiments.

[0135] Another embodiment of this application provides a computer storage medium for storing a computer program, which, when executed, implements a method for updating scene function data as provided in any of the above embodiments.

[0136] Computer storage media, including both permanent and non-permanent, removable and non-removable media, can store information using any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0137] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0138] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for updating scene function data, characterized in that, include: Obtain the new and old function definitions of the target device; Establish a mapping relationship between the new function definition and the old function definition; The new function definition is used to update the scene functions currently supported by the target device; Detect whether the target scene function is applied to the scene function configuration; wherein, the target scene function refers to the scene function whose function definition has changed; If it is detected that the target scene function is applied to the scene function configuration, the scene function configuration to which the target scene function is applied is updated based on the mapping relationship between the new function definition and the old function definition. The step of updating the scenario function configuration applied to the target scenario function based on the mapping relationship between the new function definition and the old function definition includes: Based on the mapping relationship between the new function definition and the old function definition, the target function definition that causes the target scene function to change and is applied to the scene function configuration is determined in the new function definition; The scenario function configuration is updated using the target function definition.

2. The method according to claim 1, characterized in that, After updating the scene function configuration applied to the target scene function based on the mapping relationship between the new function definition and the old function definition, the method further includes: Enable the updated scene function configuration to control the target device based on the updated scene function configuration.

3. The method according to claim 1, characterized in that, After updating the scene function configuration applied to the target scene function based on the mapping relationship between the new function definition and the old function definition, the method further includes: Record the corresponding identifier and update information for the updated scenario function configuration; Upon receiving an update query request from a client, the system responds to the client's update query request by feeding back the updated identifier and update information corresponding to the scenario function configuration to the client.

4. The method according to claim 1, characterized in that, After updating the scene functions currently supported by the target device using the new function definition, the method further includes: In response to the user's configuration operation, the updated scenario function is used to create a scenario function configuration.

5. A device for updating scene function data, characterized in that, include: The acquisition unit is used to acquire the new and old function definitions of the target device. A mapping unit is used to establish a mapping relationship between the new function definition and the old function definition; The function update unit is used to update the scene functions currently supported by the target device using the new function definition; The detection unit is used to detect whether the target scene function is applied to the scene function configuration; wherein, the target scene function refers to the scene function whose function definition has changed; The scene update unit is used to update the scene function configuration to which the target scene function is applied, based on the mapping relationship between the new function definition and the old function definition, when the detection unit detects that the target scene function is applied to the scene function configuration. The scene update unit includes: The determining unit is used to determine, based on the mapping relationship between the new function definition and the old function definition, the target function definition in the new function definition that causes the target scene function to change and is applied to the scene function configuration; The scene update subunit is used to update the scene function configuration using the target function definition.

6. The apparatus according to claim 5, characterized in that, Also includes: A startup unit is used to enable the updated scene function configuration in order to control the target device based on the updated scene function configuration.

7. An electronic device, characterized in that, include: Memory and processor; The memory is used to store programs; The processor is used to execute the program, which, when executed, is specifically used to implement the method for updating scene function data as described in any one of claims 1 to 4.

8. A computer storage medium, characterized in that, Used to store a computer program, which, when executed, implements the method for updating scene function data as described in any one of claims 1 to 4.