Application model updating method, smart home device, system and storage medium

By receiving application model version release information in smart home devices and using the model adaptation role table and device role table to determine the update target device, the problem of low deployment efficiency and repeated updates during the application model update process of smart home devices is solved, and efficient Updated deployment of application model.

CN112860286BActive Publication Date: 2024-12-24FOSHAN VIOMI ELECTRICAL TECH +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN201911185827.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-11-27
Publication Date
2024-12-24
Estimated Expiration
2039-11-27

AI Technical Summary

Technical Problem

During the application model update of smart home devices, the existing technology has low deployment efficiency and repeated updates, especially when the number of application models increases, unified deployment is under great pressure on all devices, and not all devices require all Model.

Method used

When releasing information from the version of the application model, a prompt message is issued. After obtaining the user's confirmation, the pre-stored model adapter role table and device role table determine the target device that needs to be updated, and only the relevant update information is sent to the target device for update , avoid repeated update operations.

Benefits of technology

It realizes unified management and control of application model updates, improves the efficiency of update deployment, reduces unnecessary upgrade pressure, and improves the efficiency of the update process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112860286B_ABST
    Figure CN112860286B_ABST
Patent Text Reader

Abstract

The present application discloses a method for updating an application model of a smart home device, the method comprising: when receiving version release information of an application model, issuing a prompt message on whether to update the application model; when receiving a determination instruction input based on the prompt message, determining the target application model that currently needs to be updated and deployed; obtaining a pre-stored model adaptation role table and a device role correspondence table; determining the target smart home device that needs to be updated according to the target application model, the model adaptation role table and the device role correspondence table, so as to send the relevant update information of the target application model to the target smart home device for updating. The present application also provides a smart home device, a smart home system and a storage medium. The unified control of application model update deployment is achieved, tedious repeated update operations in different home appliances are avoided, and the efficiency of update deployment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart home control, and in particular to an application model updating method for a smart home device, a smart home device, a smart home device system, and a computer-readable storage medium. Background Art

[0002] With the development of artificial intelligence technology and the performance improvement of micro-computing hardware brought about by the development of mobile phones, home appliances have the hardware foundation to run artificial intelligence applications. More and more smart home equipment products have integrated artificial intelligence applications, such as smart speakers with integrated voice dialogue and face recognition functions, smart door locks with face recognition and fingerprint recognition functions, and smart refrigerators with integrated voice dialogue.

[0003] As the functions of smart home devices continue to increase, the workload required to upgrade the functions of smart home devices is also huge. The existing implementation methods mainly include: real-time transmission to the cloud based on the network, and processing and recognition by the model algorithm deployed and run in the cloud; local configuration of high-performance computing hardware to train application models; local download and deployment of application models that have been trained in the cloud. In addition to ensuring data security or smart home devices have high hardware configurations, these methods all require unified configuration of application models.

[0004] However, as the number of application models continues to increase, unified deployment of all smart home devices will increase unnecessary upgrade pressure, and not all smart home devices require all application models, which will make the entire deployment work less efficient and there will be repeated deployment. Summary of the invention

[0005] The present application provides an application model update method for a smart home device, a smart home device, a smart home device system and a computer-readable storage medium to uniformly manage and control application model update deployment and improve the efficiency of update deployment.

[0006] In a first aspect, the present application provides a method for updating an application model of a smart home device, the method comprising:

[0007] When receiving the version release information of the application model, a prompt message is issued to ask whether to update the application model;

[0008] When receiving a determination instruction input based on the prompt information, determining a target application model that currently needs to be updated and deployed;

[0009] Obtaining a pre-stored model adaptation role table and a device role correspondence table;

[0010] The target smart home device that needs to perform model update is determined according to the target application model, the model adaptation role table and the device role correspondence table, so as to send relevant update information of the target application model to the target smart home device for updating.

[0011] In a second aspect, the present application also provides a smart home device, which includes a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the application model updating method of the smart home device described above.

[0012] In a third aspect, the present application also provides a smart home system, which includes a cloud server and several of the smart home devices described above.

[0013] In a fourth aspect, the present application also provides a storage medium storing computer-readable instructions, which, when executed by one or more processors, enables the one or more processors to execute the steps of the above-mentioned application model updating method for smart home devices.

[0014] In a method for updating an application model of a smart home device disclosed in the present application, upon receiving the version release information of the application model, it is determined whether there is a version change of the application model at present, and a prompt message will be issued at this time to ask whether to update the application model, and then a determination instruction input by the user based on the prompt message is received to determine the target application model that needs to be updated at present, and then the pre-stored model adaptation role table and device role correspondence table are obtained to determine the target smart home device that needs to update the application model at present, and finally the relevant update information of the target application model is sent to the target smart home device to complete the update of the application model. In the smart home system, when the application model is updated, the update deployment of the application model is uniformly controlled, and the cumbersome repeated update operations in different home appliances are avoided, thereby improving the efficiency of update deployment. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0016] Figure 1 A schematic block diagram of a smart home system in one embodiment;

[0017] Figure 2 A schematic diagram of a flow chart of a method for updating an application model of a smart home device in one embodiment;

[0018] Figure 3 A schematic diagram of a flow chart of a method for updating an application model of a smart home device in another embodiment;

[0019] Figure 4 A flowchart of steps for determining a target smart home device in one embodiment;

[0020] Figure 5 A schematic flow chart of a method for updating an application model of a smart home device in another embodiment;

[0021] Figure 6 The figure is a schematic block diagram of the structure of a smart home device provided in one embodiment. DETAILED DESCRIPTION

[0022] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0023] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0024] It should be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0025] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0026] Embodiments of the present application provide a method, apparatus, computer device, and storage medium for updating an application model of a smart home device.

[0027] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0028] See also Figure 1 , Figure 1Schematic diagram of a block diagram of a smart home system in one embodiment.

[0029] Specifically, the system includes a cloud server 100 and a smart home device 110, and the smart home device 110 includes a master smart home device 111 and a slave smart home device 112. It should be noted that there is no superior-subordinate relationship between the master smart home device 111 and the slave smart home device 112. The main connection between the two is that the master smart home device 111 is used to send version information of the application model to the slave smart home device 112, so that the slave smart home device 112 updates the application model.

[0030] Based on the above description, it can be known that the master smart home device is generally the central device in the smart home scene, has the characteristics of high hardware configuration, and can also be equipped with screen display and control settings to facilitate user operation and control. For the slave smart home devices, although they do not necessarily need to have the same high configuration as the master smart home device, they also need to have the hardware computing capability to deploy artificial intelligence application models.

[0031] The cloud server is a system for training and publishing application models. Specifically, the training of all application models is carried out on the cloud server. After the cloud server trains some application models and obtains updated versions, it will push version information to the master smart home device so that the master smart home device knows which application model or models have new version information and can perform corresponding updates. After receiving the information sent by the cloud server, the master smart home will give corresponding feedback to the user so that the user can update the application model according to actual needs.

[0032] See also Figure 2 , Figure 2 The figure is a flowchart of a method for updating an application model of a smart home device in one embodiment.

[0033] Specifically, the application model updating method of the smart home device includes:

[0034] Step S10: When the version release information of the application model is received, a prompt message is issued to ask whether to update the application model.

[0035] Among them, the application model is the model data that artificial intelligence applications rely on, such as face recognition models, gesture recognition models, and voice dialogue models, etc. When the application model is applied to smart home devices, it can enrich the functions of smart home devices, such as face recognition function, gesture recognition function, and voice recognition dialogue function, etc.

[0036] In the smart home system, the status information of the application model used in the smart home device is monitored in real time, that is, when a certain application model has its data updated or a new version exists on the cloud server, the smart home system can obtain the updated information of the application model in a timely and accurate manner.

[0037] When the smart home system detects the version release information of the application model, it will issue a corresponding prompt information, so that the user can update or not update the corresponding application model in the relevant smart home device according to actual needs. Specifically, when the master smart home device receives the version release information of the application model, it will feedback the application model with new version information to the user, so that the user can make a corresponding selection to determine the currently updated application model.

[0038] Specifically, in step S10, when version release information of the application model is received, a prompt message on whether to update the application model is issued, including: when version release information of the application model is received, first identification information of the application model to be updated is obtained; based on the first identification information, prompt information on whether to update the application model is generated, and the prompt information is fed back.

[0039] The identification information is a mark of the application model, which can be the name of the application model or a mark used to represent the application model. The identification information can be a text description or a number or serial number. The first identification information mentioned here is only used to distinguish from the identification information of other application models, that is, the first is used for distinction, not for limiting the application model.

[0040] When it is determined that there is a version release, the identification information of the application model for which the version release is to be performed is obtained, that is, the first identification information of the application model to be updated is obtained, and then prompt information of whether to update the application model is generated according to the first identification information for feedback. The prompt information is used to prompt the user whether to update the application model to be updated, and specifically the prompt information includes the first identification information of the application model to be updated and the selection information associated with whether to update.

[0041] In addition, while issuing the prompt information on whether to update the application model, it also includes: obtaining identification information of the application model with a new version to obtain a corresponding selection list, so as to display the selection list on a corresponding display interface.

[0042] After the application model is trained on the cloud server, the smart home device configured with this application model may need to update the corresponding application model to ensure the performance of the smart home device. Therefore, after the master smart home device receives the version release information of the application model, it will determine which application models currently have new version information, that is, obtain the identification information of the application model, and then perform corresponding feedback display based on the obtained identification information. When providing feedback based on the identification information, the application models with new version information can be summarized to obtain a corresponding selection list, and then the obtained selection list is displayed for the user to choose.

[0043] Step S20: When a determination instruction based on the prompt information input is received, a target application model that currently needs to be updated and deployed is determined.

[0044] When the master smart home device receives the confirmation instruction input according to the prompt information, it identifies the instruction information of the confirmation instruction to obtain the target application model that needs to be updated and deployed. Specifically, after receiving the prompt information of the application model update, the master smart home device will feedback the prompt information so that the user can select the application model. After the user completes the selection, the master smart home device can push the version of the application model so that the corresponding smart home device completes the version update of the application model.

[0045] When determining the target application model, first identify the second identification information contained in the received determination instruction, so as to use the application model corresponding to the identified second identification information as the target application that needs to be updated and deployed. In actual applications, not all application models need to be updated at the current time, so when the user makes a selection, it is not necessarily certain that all application models to be updated need to be updated in all smart devices, and the update process may be performed at other times. Therefore, when the user enters the determination instruction, it is mainly to determine which one or several target application models need to be updated at the moment.

[0046] Step S30: Obtain a pre-stored model adaptation role table and a device role correspondence table.

[0047] The model adaptation role table records the correspondence between the application model and the role, and the device role correspondence table records the correspondence between the smart home device and the role, and the model adaptation role table and the device role correspondence table exist in the form of, but not limited to, a table. A role is a collection of functions, and different functions correspond to different application models.

[0048] After obtaining the target application model that needs to be updated and deployed, it is necessary to determine the smart home devices that currently need to be updated, that is, to determine which smart home devices contain the target application model, and thus determine the target smart home devices that have application model updates. In one embodiment, in order to accurately determine which smart home device needs to update the application model, the pre-stored model adaptation role table and device role correspondence table will be obtained for judgment and determination.

[0049] Step S40: determining a target smart home device that needs to perform a model update according to the target application model, the model adaptation role table, and the device role correspondence table, so as to send the target application model to the target smart home device for updating.

[0050] After obtaining the model adaptation role table and device role correspondence table that can be used to determine the target smart home device, a query match will be performed to obtain the target smart home device and then update the application model. Specifically, the corresponding smart home device is first determined using the target application model and the obtained model adaptation role table and device role correspondence table, and then the updated data information of the target application model is sent to the target smart home device.

[0051] When obtaining the target smart home device according to the target application model, the model adaptation role table and the device role correspondence table, the target application model is mainly used to compare and query with the model adaptation role table and the device role correspondence table. In the process of comparison and confirmation, the identification information of the target application model is first obtained, where the identification information can be a number, a serial number, or a text description. Then, the obtained identification information is used to determine the role associated with the target application model in the model adaptation role table. Then, according to the obtained associated role, the device role correspondence table is queried to determine the corresponding smart home device with an application model update.

[0052] In the application model update method of the smart home device described in the above embodiment, when the version release information of the application model is received, it is determined that there is a version change of the application model at present, and a prompt message will be issued at this time to ask whether to update the application model, and then a determination instruction input by the user based on the prompt information is received to determine the target application model that needs to be updated at present, and then the pre-stored model adaptation role table and device role correspondence table are obtained to determine the target smart home device that needs to update the application model at present, and finally the relevant update information of the target application model is sent to the target smart home device to complete the update of the application model. In the smart home system, when the application model is updated, the update deployment of the application model is uniformly controlled, which avoids the cumbersome repeated update operations in different home appliances and improves the efficiency of update deployment.

[0053] Further, refer to Figure 3 , Figure 3 The figure is a flowchart of a method for updating an application model of a smart home device in another embodiment.

[0054] Specifically, in step S20, when a determination instruction based on the prompt information input is received, after determining the target application model that currently needs to be updated and deployed, the method further includes:

[0055] Step S50: Determine, according to the first identification information and the second identification information, an application model to be processed that does not need to be updated and deployed;

[0056] Step S60: marking the status information of the application model to be processed as a pending state, and setting corresponding prompt rules for recording and storage;

[0057] Step S70: issuing a prompt message on whether to update the application model to be processed according to the prompt rule.

[0058] In actual applications, not all application models need to be updated and deployed for users. Therefore, after receiving the version release information, the application models that are updated are not necessarily all application models that have new versions. For application models that have new versions and the user has not chosen to update, corresponding records must also be made to facilitate subsequent update processing.

[0059] After determining the target application model that currently needs to be updated and deployed, the pending application model that does not currently need to be updated and deployed will be determined in the application model to be updated based on the first identification information and the second identification information. The status information of the pending application model obtained is then marked as a pending status, and corresponding prompt rules are set for record storage. In the subsequent process, prompt information on whether to update the pending application model is issued according to the set prompt rules.

[0060] For example, the application models associated with the received version release information are application model 1, application model 2, application model 3, and application model 4, but at this time the user only wants to perform version update deployment for application model 1 and application model 2. For application model 3 and application model 4, although there is new version information, there is no need to perform version update deployment. At this time, the status information of application model 3 and application model 4 will be marked as pending status for record storage. After recording and storing, it does not mean that there is no feedback all the time. Corresponding rules will be set to provide corresponding feedback according to the set rules. For example, a periodic reminder setting is set to periodically remind the user for application models that have not sent version information but have new versions, that is, at a certain interval, the corresponding reminder information on whether to perform update deployment will be issued based on application model 3 and application model 4. In addition to periodic automatic reminders, users can also actively check and actively update the application model.

[0061] In addition, for application models that have not completed update deployment, automatic idle update can be set, that is, after receiving the prompt information, the application model that has not completed update deployment is automatically updated according to the instruction information input by the user, but it is not possible to automatically update at any time, such as setting it to automatically update in the time period of 00:00-06:00. For example, the application model 3 and the application model 4 described above can be set to automatically update in the time period of 00:00-06:00.

[0062] In one embodiment, after the pending application model has been updated and deployed, the status information of the pending application model will be deleted and updated, and the record information of the pending application model will be deleted. For example, for application model 3 and application model 4, when the new version information is just released, the user has not completed the update deployment of application model 3 and application model 4 in the associated smart home devices, so application model 3 and application model 4 will be recorded in the master smart home device, so that the corresponding update deployment can be carried out in time when the update is needed later.

[0063] In the subsequent use process, for example, if application model 3 is updated and deployed accordingly due to user needs, the status information of application model 3 will be deleted at this time, because at this time the version information of application model 3 in the smart home device has become the latest version, that is, the update deployment has been completed, so the previously recorded relevant information, such as the recorded relevant information that there are new versions of application model 3 and application model 4, will be updated. At this time, the recorded relevant information will become that there is a new version of application model 4, that is, the information related to application model 3 has been deleted. Similarly, after application model 4 completes the update deployment, its corresponding recorded information will also be deleted.

[0064] Further, refer to Figure 4 , Figure 4 The figure is a flowchart of steps for determining a target smart home device in one embodiment.

[0065] Specifically, step S40, determining the target smart home device that needs to perform model update according to the target application model, the model adaptation role table and the device role correspondence table, includes:

[0066] Step S41, querying the model adaptation role table according to the second identification information to obtain corresponding target role information;

[0067] Step S42: query the device role correspondence table according to the role information to obtain the target smart home device for update deployment.

[0068] When determining the target smart home device, it is determined according to the target application model and the pre-stored model adaptation role table and device role correspondence table. Specifically, after obtaining the target application model and the second identification information corresponding thereto, query matching is performed according to the second identification information.

[0069] After obtaining the pre-stored model adaptation role table and device role correspondence table, first compare the second identification information with the model adaptation role table, and perform query and match in the model adaptation table according to the second identification information to obtain the role information associated with the second identification information, wherein the role information can be the name or text of the role, or a digital label representing the role, etc., and then after obtaining the role information, use the role information to query and match in the device role correspondence table to obtain the corresponding target smart home device.

[0070] In actual applications, different smart home devices play different roles in the smart home system, so their functions will also be different, which will lead to different application models contained in different smart home devices. For example, the role of the family brain may be responsible for more model deployment and calculation, so the smart home device corresponding to the role of the family brain needs to have the function of model deployment and be configured with the application model corresponding to the model deployment function. For another example, the role of the housekeeper may focus on the user's event recording and reminder, so the smart home device corresponding to the housekeeper role needs to have the recording and reminder functions and be configured with the application model corresponding to the recording and reminder functions.

[0071] The model adaptation role table and device role correspondence table for query matching can be shown in Table 1 and Table 2 respectively:

[0072]

[0073]

[0074] Table 1

[0075] Device Information Character Information Device 1 Role 1 Device 2 Role 1, Role 2 Device 3 Role 3 Device 4 Role 1, Role 2, Role 3 Device 5 Persona 4 …… ……

[0076] Table 2

[0077] As shown in Tables 1 and 2 above, there are one-to-one and one-to-many situations between application models, roles and smart home devices, but there is no direct correspondence between application models and smart home devices. For example, application model 1 corresponds to role 1 and role 2, role 1 corresponds to application model 1 and application model 3, and role 1 corresponds to smart home device 1, smart home device 2 and smart home device 4. Application model 1 corresponds to smart home device 1, smart home device 2 and smart home device 4 through an indirect correspondence, that is, application model 1 exists in smart home device 1, smart home device 2 and smart home device 4.

[0078] Further, refer to Figure 5 , Figure 5 The figure is a flowchart of a method for updating an application model of a smart home device in yet another embodiment.

[0079] Specifically, the application model updating method of the smart home device includes:

[0080] Step S01: When a relationship definition instruction is received, the identification information, role information and device information of the application model currently performing relationship definition are determined.

[0081] Step S02: determining, according to the received association information, an association relationship between the application model and the role corresponding to the role information, and an association relationship between the smart home device corresponding to the device information and the role corresponding to the role information.

[0082] When updating the application model in the smart home system, it is necessary to obtain the pre-stored model adaptation role table and device role correspondence table to determine the smart home devices associated with the application model with the new version information. Therefore, before this, it is necessary to make corresponding associations between the application model, role and smart home devices in advance.

[0083] When a relationship definition instruction is received, the identification information, role information, and device information of the application model currently performing relationship definition are first determined, and then the input association information is received to determine the association relationship between the application model and the role corresponding to the role information, and the association relationship between the smart home device corresponding to the device information and the role corresponding to the role information. Specifically, when it is determined that a relationship definition is required, the object currently performing relationship definition is first determined, where the object includes the application model, the role, and the smart home device, and then the relationship definition among the three can be performed.

[0084] When determining the correspondence between the three, the application model, role and smart home device that the user wants to define the relationship is already known. At this time, the corresponding association information can be directly input to determine the corresponding relationship between the three. The association information includes the association between the application model and the role, and the association between the role and the smart home device. After the relationship definition is completed, the corresponding model adaptation role table and device role correspondence table will be generated.

[0085] Furthermore, after the model adaptation role table and the device role correspondence table are constructed and stored, the model adaptation role table and the device role correspondence table can also be adjusted accordingly, such as deleting and adding information. Therefore, the application model update method of the smart home device also includes:

[0086] When a list information update instruction is received, the model adaptation role table and the device role correspondence table are obtained; the input instruction information is received, and the control information corresponding to the instruction information is identified; the model adaptation role table and the device role correspondence table are processed based on the control information; wherein, if the control information is an associated information deletion, the relevant information in the model adaptation role table and the device role correspondence table is deleted according to the control information; if the control information is an associated information addition, the associated information is added according to the control information to update the model adaptation role table and the device role correspondence table.

[0087] Adjusting the list information includes deleting and adding information. When the obtained control information is associated information deletion, the application model, role and smart home device selected in the control information will be obtained, and the association between the three will be deleted, and then the model adaptation role table and the device role correspondence table will be updated; when the obtained control information is associated information addition, the input or selected application model, role and smart home device will be obtained, and then the correspondence between the three will be established according to the input correspondence, and finally the model adaptation role table and the device role correspondence will be updated to record and store the newly added information.

[0088] In one embodiment, the smart home device 10 includes but is not limited to a smart refrigerator, a smart door lock, a smart speaker, and a smart fan.

[0089] like Figure 6 As shown, Figure 6 The smart home device 10 is a schematic block diagram of a structure of a smart home device provided in an embodiment. The smart home device 10 includes a memory 11 and a processor 12, and the processor 11 and the memory 12 are connected via a system bus 13, wherein the memory 11 may include a non-volatile storage medium and an internal memory.

[0090] The non-volatile storage medium can store a computer program. The computer program includes program instructions, and when the program instructions are executed, the processor 11 can execute any method for updating the application model of a smart home device.

[0091] The processor 11 is used to provide computing and control capabilities to support the operation of the entire smart home device.

[0092] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor, the processor can execute any application model update method of the smart home device.

[0093] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a partial structure related to the present application scheme, and does not constitute a limitation on the smart home device involved in the present application scheme. The specific smart home device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0094] It should be understood that the processor 11 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor 11 may be a microprocessor or any conventional processor, etc.

[0095] In one embodiment, the memory stores a computer program, and when the computer program is executed by the processor 11, the processor implements the following steps when executing the computer program:

[0096] When receiving the version release information of the application model, a prompt message is issued to ask whether to update the application model;

[0097] When receiving a determination instruction input based on the prompt information, determining a target application model that currently needs to be updated and deployed;

[0098] Obtaining a pre-stored model adaptation role table and a device role correspondence table;

[0099] The target smart home device that needs to perform model update is determined according to the target application model, the model adaptation role table and the device role correspondence table, so as to send relevant update information of the target application model to the target smart home device for updating.

[0100] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0101] When version release information of the application model is received, first identification information of the application model to be updated is obtained;

[0102] Generate prompt information on whether to update the application model based on the first identification information, and feed back the prompt information;

[0103] The determining of the target application model that currently needs to be updated and deployed includes:

[0104] Identify the second identification information included in the determination instruction to determine that the application model corresponding to the second identification information is the target application model that needs to be updated and deployed.

[0105] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0106] Determine, according to the first identification information and the second identification information, an application model to be processed that does not need to be updated and deployed;

[0107] Marking the status information of the application model to be processed as a pending state, and setting corresponding prompt rules for recording and storage;

[0108] A prompt message is issued according to the prompt rule as to whether to update the application model to be processed.

[0109] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0110] When it is detected that the pending application model has been updated and deployed, the status information of the pending application model is deleted, and the corresponding record information is deleted.

[0111] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0112] According to the second identification information, query the model adaptation role table to obtain corresponding target role information;

[0113] The device role correspondence table is queried according to the role information to obtain the target smart home device for update deployment.

[0114] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0115] When receiving a relationship definition instruction, determining identification information, role information, and device information of the application model currently performing relationship definition;

[0116] The association relationship between the application model and the role corresponding to the role information, and the association relationship between the smart home device corresponding to the device information and the role corresponding to the role information are determined according to the received association information.

[0117] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0118] When receiving a list information update instruction, obtaining the model adaptation role table and the device role correspondence table;

[0119] Receiving input instruction information and identifying control information corresponding to the instruction information;

[0120] The model adaptation role table and the device role correspondence table are processed based on the control information; wherein,

[0121] If the control information is deletion of associated information, deleting the related information in the model adaptation role table and the device role correspondence table according to the control information;

[0122] If the control information is a new addition of associated information, the associated information is added according to the control information to update the model adaptation role table and the device role correspondence table.

[0123] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the smart home device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0124] A computer-readable storage medium is also provided in an embodiment of the present application, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and the processor executes the program instructions to implement an application model updating method for any smart home device provided in an embodiment of the present application.

[0125] The computer-readable storage medium may be an internal storage unit of the smart home device described in the foregoing embodiment, such as a hard disk or memory of the smart home device. The computer-readable storage medium may also be an external storage device of the smart home device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc., equipped on the smart home device.

[0126] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A method for updating an application model of a smart home device, characterized in that: The method comprises: When receiving the version release information of the application model, a prompt message is issued to ask whether to update the application model; When receiving a determination instruction input based on the prompt information, determining a target application model that currently needs to be updated and deployed; Obtaining a pre-stored model adaptation role table and a device role correspondence table; Determine a target smart home device that needs to perform a model update according to the target application model, the model adaptation role table, and the device role correspondence table, so as to send relevant update information of the target application model to the target smart home device for updating; When the version release information of the application model is received, the prompt information of whether to update the application model is issued, including: When version release information of the application model is received, first identification information of the application model to be updated is obtained; Generate prompt information on whether to update the application model based on the first identification information, and feed back the prompt information; The step of determining the target application model that currently needs to be updated and deployed includes: Identify the second identification information included in the determination instruction to determine that the application model corresponding to the second identification information is the target application model that needs to be updated and deployed; Wherein, when receiving the determination instruction input based on the prompt information, after determining the target application model that currently needs to be updated and deployed, it also includes: Determine, according to the first identification information and the second identification information, an application model to be processed that does not need to be updated and deployed; Marking the status information of the application model to be processed as a pending state, and setting corresponding prompt rules for recording and storage; A prompt message is issued according to the prompt rule as to whether to update the application model to be processed.

2. The method for updating the application model of a smart home device according to claim 1, characterized in that: After marking the state information of the application model to be processed as a to-be-determined state and setting corresponding prompt rules for recording and storing, the method further includes: When it is detected that the pending application model has been updated and deployed, the status information of the pending application model is deleted, and the corresponding record information is deleted.

3. The method for updating the application model of a smart home device according to claim 2, characterized in that: The step of determining a target smart home device that needs to be updated with a model according to the target application model, the model adaptation role table, and the device role correspondence table includes: According to the second identification information, query the model adaptation role table to obtain corresponding target role information; The device role correspondence table is queried according to the role information to obtain the target smart home device for update deployment.

4. The method for updating the application model of a smart home device according to any one of claims 1 to 3, characterized in that: When the version release information of the application model is received, before the prompt information of whether to update the application model is issued, the method further includes: When receiving a relationship definition instruction, determining identification information, role information, and device information of the application model currently performing relationship definition; According to the received association information, the association relationship between the application model and the role corresponding to the role information is determined to obtain a model adaptation role table, and the association relationship between the smart home device corresponding to the device information and the role corresponding to the role information is determined to obtain a device role correspondence table.

5. The method for updating the application model of the smart home device according to claim 4, characterized in that: The method further comprises: When receiving a list information update instruction, obtaining the model adaptation role table and the device role correspondence table; Receiving input instruction information and identifying control information corresponding to the instruction information; The model adaptation role table and the device role correspondence table are processed based on the control information; wherein, If the control information is deletion of associated information, deleting the relevant information in the model adaptation role table and the device role correspondence table according to the control information; If the control information is a new addition of associated information, the associated information is added according to the control information to update the model adaptation role table and the device role correspondence table.

6. A smart home device, characterized in that: The smart home device includes a processor and a memory, wherein a computer program is stored in the memory. When the computer program is executed by the processor, the processor executes the application model updating method for the smart home device according to any one of claims 1 to 5.

7. A smart home system, characterized in that: The smart home system includes a cloud server and a plurality of smart home devices as described in claim 6.

8. A computer-readable storage medium, characterized in that: When the computer-readable storage medium is executed by one or more processors, the one or more processors execute the steps of the application model updating method for a smart home device as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Smart home control device and updating method

    CN103023681A

  • Response text generation method and apparatus, processor and computer readable medium

    CN107943771A

  • Gateway equipment upgrading methods and devices, gateway equipment and storage mediums

    CN108491222A

  • Model deployment method and device, storage medium and electronic device

    CN110297640A

  • Version updating method and system, and base station and computer storage medium

    WO2015131682A1