Equipment updating method and device and electronic equipment

By obtaining the index value and configuration information of the smart device, automatically configure the update device, solving the complexity of manual configuration when updating the smart device, achieving convenient updates and improving user experience.

CN120017506APending Publication Date: 2025-05-16HANGZHOU HONYAR ELECTRICAL CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510234287.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-28
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

When smart devices are updated, users need to manually reconfigure new devices, resulting in poor user experience, complex and time-consuming operation.

Method used

By obtaining the index value of the first device, searching and obtaining its configuration information from the LAN manager, and automatically configuring the updated second device based on these configuration information, reducing the need for manual configuration.

Benefits of technology

It realizes convenient updates of smart devices, reduces the complexity of configuration operations, and improves the stability and user experience of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120017506A_ABST
    Figure CN120017506A_ABST
Patent Text Reader

Abstract

The invention provides an equipment updating method and device and electronic equipment. The equipment updating method is used for updating first equipment into second equipment. The equipment updating method comprises the following steps: acquiring a first index value of the first equipment; in response to a received network access request that the second equipment requests to access a local area network manager, searching first configuration information of the first equipment from the local area network manager according to the first index value; and configuring second configuration information of the second device according to the first configuration information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of control technology, and in particular, to a device updating method, apparatus and electronic device. Background Art

[0002] With the continuous development of Internet of Things technology, more and more families are equipped with smart devices to improve the quality of life. More and more smart devices need to be transformed or upgraded so that users can use them more conveniently.

[0003] However, when a smart device needs to be replaced with a new device (for example, when the smart device is damaged or malfunctions), it is usually necessary to manually reconfigure the new device, which affects the user experience. Summary of the invention

[0004] A brief overview of the disclosure is given below in order to provide a basic understanding of some aspects of the disclosure. However, it should be understood that this overview is not an exhaustive overview of the disclosure. It is not intended to identify the key or important parts of the disclosure, nor is it intended to limit the scope of the disclosure. Its purpose is simply to give some concepts of the disclosure in a simplified form as a prelude to a more detailed description given later.

[0005] One of the purposes of the present disclosure is to provide a device updating method, apparatus and electronic device.

[0006] According to a first aspect of the present disclosure, a device update method is provided, which is used to update a first device to a second device, wherein the device update method comprises: obtaining a first index value of the first device; in response to receiving a network access request from the second device requesting access to a local area network manager, searching for first configuration information of the first device from the local area network manager according to the first index value; and configuring second configuration information of the second device according to the first configuration information.

[0007] In some embodiments, the device update method also includes: searching for an automation process that includes the first index value, wherein the automation process indicates an action to be performed on a device corresponding to the first index value; and replacing the first index value in the automation process with a second index value of the second device.

[0008] In some embodiments, the device update method further includes: setting the current scene to a maintenance scene, wherein the first device is configured to store the first configuration information in a local area network manager in response to the current scene being a maintenance scene.

[0009] In some embodiments, the device update method further includes: in response to the second configuration information of the second device being configured, setting the current scene to a non-maintenance scene.

[0010] In some embodiments, the device update method further includes: storing the first configuration information in the local area network manager at preset time intervals during normal operation of the first device.

[0011] In some embodiments, the first configuration information is managed by a first physical model corresponding to the first device, wherein searching for the first configuration information of the first device from the local area network manager according to the first index value includes: searching for the first physical model from the local area network manager according to the first index value, wherein the first physical model includes a first attribute of the first device and a first attribute value corresponding to the first attribute.

[0012] In some embodiments, the second configuration information is managed by a second physical model corresponding to the second device, wherein configuring the second configuration information of the second device according to the first configuration information includes: determining a second attribute in the second physical model that is the same as the first attribute; and configuring the attribute value corresponding to the second attribute in the second physical model to be the first attribute value.

[0013] In some embodiments, the first object model also includes a first service corresponding to the first attribute, and configuring the second configuration information of the second device according to the first configuration information also includes: configuring the service corresponding to the second attribute in the second object model as the first service.

[0014] In some embodiments, configuring the second configuration information of the second device according to the first configuration information includes: making the second index value of the second device correspond to the first physical model so that the second configuration information is managed through the first physical model.

[0015] In some embodiments, obtaining the first index value of the first device includes: obtaining the first index value through short-range wireless communication technology; and / or obtaining the first index value by scanning a QR code on the first device.

[0016] In some embodiments, the second index value is obtained by at least one of the following: the network access request carries the second index value; short-range wireless communication technology; and scanning a QR code on the second device.

[0017] According to a second aspect of the present disclosure, a device updating apparatus is provided, which is used to update a first device to a second device, wherein the device updating apparatus comprises: an acquisition module, configured to acquire a first index value of the first device; a search module, configured to search for first configuration information of the first device from the local area network manager according to the first index value in response to receiving a network access request from the second device requesting access to the local area network manager; and a configuration module, configured to configure second configuration information of the second device according to the first configuration information.

[0018] According to a third aspect of the present disclosure, an electronic device for updating a device is provided, the electronic device comprising: a processor; and a memory, wherein instructions are stored in the memory, and when the instructions are executed by the processor, the steps of the device updating method described above are implemented.

[0019] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, on which instructions are stored. When the instructions are executed by a processor, the steps of the device update method described above are implemented.

[0020] According to a fifth aspect of the present disclosure, a computer program product is provided, the computer program product comprising instructions, and when the instructions are executed by a processor, the steps of the device update method as described above are implemented.

[0021] Other features and advantages of the present disclosure will become more apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0023] The present disclosure may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:

[0024] Figure 1 A schematic diagram showing a flow chart of a device updating method according to an exemplary embodiment of the present disclosure is shown;

[0025] Figure 2 A schematic diagram of a home indoor scene according to an exemplary embodiment of the present disclosure is shown;

[0026] Figure 3 A schematic diagram showing the structure of a device updating apparatus according to an exemplary embodiment of the present disclosure is shown;

[0027] Figure 4 A schematic structural diagram of an electronic device according to an exemplary embodiment of the present disclosure is shown.

[0028] Note that in the embodiments described below, the same reference numerals are sometimes used in common between different drawings to represent the same parts or parts with the same functions, and their repeated descriptions are omitted. In this specification, similar reference numerals and letters are used to represent similar items, so once an item is defined in one drawing, it does not need to be further discussed in subsequent drawings.

[0029] For ease of understanding, the positions, sizes, and ranges of various structures shown in the drawings and the like sometimes do not represent actual positions, sizes, and ranges, etc. Therefore, the disclosed invention is not limited to the positions, sizes, and ranges, etc. disclosed in the drawings and the like. In addition, the drawings are not necessarily drawn to scale, and some features may be exaggerated to show details of specific components. DETAILED DESCRIPTION

[0030] Various exemplary embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure.

[0031] The following description of at least one exemplary embodiment is in fact merely illustrative and is in no way intended to limit the present disclosure and its application or use. That is, the structures and methods herein are shown in an exemplary manner to illustrate different embodiments of the structures and methods in the present disclosure. However, those skilled in the art will appreciate that they merely illustrate exemplary ways of the present disclosure that can be implemented, rather than exhaustive ways. In addition, the drawings need not be drawn to scale, and some features may be enlarged to illustrate the details of specific components.

[0032] Technologies, methods, and apparatus known to ordinary technicians in the relevant field may not be discussed in detail, but where appropriate, such technologies, methods, and apparatus should be considered part of the authorization specification.

[0033] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0034] With the development of Internet of Things technology, smart devices have become more and more popular, and the number and types of smart devices have also increased. Some smart home systems can create a cloud data platform at a remote end (such as the cloud) so that the user's terminal device can be connected to the network at any time to view and control the operating status of each smart device in the room. Among them, smart devices can be operated and controlled through the graphical interface of the application (Application, App).

[0035] Due to their inherent intelligence, smart devices can be personalized during use. For example, they can be added to one or more device groups, where a device group can be a group of smart devices that need to be linked to perform actions in a specified scenario.

[0036] In this article, the so-called "smart devices" generally include smart home devices and electrical appliances that can be connected and controlled, but do not include consumer electronic devices (such as smart phones, computers or sports watches). Such smart devices can usually only be used indoors to provide corresponding indoor scene modes. Consumer electronic devices usually have independent display and communication modules, and users can transfer data more conveniently after purchasing (or replacing). Therefore, the replacement and data synchronization methods of consumer electronic devices are different from the replacement and data synchronization methods of smart devices in this article. Smart devices can be, for example, smart lamps, sockets or room temperature controllers. In some cases, some smart devices may not have a complete display module. In addition, due to product standard certification, packaging and other requirements of smart devices, in some cases, some smart devices usually do not provide interfaces such as USB and Type-C to synchronize their own data to the user's computing device for storage. In some cases, personal data of consumer electronic devices can be uploaded through private cloud space, while in the case where some smart devices do not have freely operable keys and verification modules, these smart devices usually do not upload data of smart devices through private cloud space.

[0037] As the number and types of smart devices continue to increase, the difficulty of managing smart devices also increases. In particular, smart devices may fail or be damaged, which will further increase the difficulty of management. For example, the service life of some smart devices has reached the limit of use (for example, the number of switches has reached the limit and they are damaged and deformed, the lighting time of the light bulb has reached the upper limit, etc.), and some smart devices have some hardware problems (for example, the DC power module fails), and the faulty smart devices need to be disassembled and updated. The update of the device can be, for example, replaced with a new device or repaired.

[0038] When a smart device fails, the corresponding personalized settings may be lost, and after disassembling the failed smart device and replacing it with a new smart device, it is usually necessary to find the new smart device from a large number of names, and it is also necessary to manually configure the new device with reference to the historical usage of the previously failed smart device to restore the configuration information of the previously failed smart device so that the new device can meet the usage expectations, thereby ensuring that the usage experience before and after the device is updated is consistent or basically consistent. This is undoubtedly very cumbersome. In the case of a large amount of information to be configured, the operation complexity is high and the user experience is poor. For example, in some examples, a detachable smart device can be equipped with a freely operable key and a verification module, such as a modular wall switch device. By upgrading and transforming the wall switch intelligently, the base module can be fixed in a concealed box on the wall, and the panel module can be safely touched by the human body for disassembly and replacement. When such a smart device fails and needs to be replaced, for example, the panel module is replaced. A switch button on the panel module may be set to control multiple other smart devices. After replacing the new panel module, the configuration operation is still very cumbersome. In addition, during the configuration process, the new device may need to be personalized multiple times to achieve the desired effect, which is not only time-consuming but may also reduce the stability of the new device. In addition, the users of smart devices are usually not professional engineers and it is usually difficult for them to implement professional configuration steps.

[0039] In order to solve the above problems, the present disclosure proposes a device update method for updating a first device to a second device, searching for configuration information pre-saved in a local area network manager according to an index value of the first device, and configuring the second device according to the found configuration information. There is no need to manually restore the configuration information of the first device, which can more conveniently implement the update of smart devices, reduce the complexity of configuration operations, improve device stability, and enhance user experience.

[0040] like Figure 1 As shown, the device updating method 100 according to an exemplary embodiment of the present disclosure may include:

[0041] Step S110, obtaining a first index value of a first device.

[0042] The first device is a smart device to be updated, for example, it may be a faulty or damaged smart device. The first index value of the first device may be a unique identifier indicating the first device. In a specific example, the first index value of the first device may be a media access control (MAC) address of the first device, or the first index value may also be an activation code or serial code of the first device in the corresponding cloud platform, and the activation code or serial code is "one machine, one code", that is, one activation code or serial code corresponds to one device. In this way, the first device can be conveniently marked by the first index value of the first device, for example, the first device that needs to be updated can be conveniently and quickly marked from multiple devices of the same type as the first device.

[0043] In some embodiments, for example, before step S110, the current scene can be set as a maintenance scene, wherein the first device can be configured to store the first configuration information of the first device in the local area network manager in response to the current scene being a maintenance scene. In this way, when the first device needs to be updated, the first configuration information of the first device can be stored in a timely manner by switching the current scene to a maintenance scene. In some embodiments, the first configuration information of the first device can not only be saved in the local area network manager, but also can be synchronously stored in a remote server (such as a cloud server) to further back up the configuration information of the first device. Specifically, the first configuration information of the first device can be stored in the remote server, for example, through the transmission module of the first device or through the local area network manager. In some embodiments, setting the current scene as a maintenance scene can be triggered by a mobile terminal device, or can also be triggered by hardware on the local area network manager (such as a designated button on the local area network manager).

[0044] The first configuration information of the first device may indicate the personalized settings of the first device and may be updateable. For example, the first configuration information may be updated according to the actual usage of the first device. In some embodiments, the first configuration information may include a trigger source, a trigger condition, and a target action. The trigger source is a source that triggers the target (e.g., the first device) to perform a target action, so that the target performs the corresponding target action when the trigger condition is met. In a specific example, the trigger source may be, for example, a door lock or door magnet containing an intelligent module, the trigger condition may be, for example, that the switch attribute of the door lock or door magnet is an open attribute, the target (e.g., the first device) may be, for example, a porch smart light, a living room smart light strip, or a living room main light, and the target action may be, for example, turning on, adjusting the brightness to a specified brightness, and adjusting to a specified color temperature. Alternatively, in some embodiments, the first configuration information may also include an identifier of the device group to which the first device joins, or may include an identifier of the scene to which the first device joins. Alternatively, the first configuration information may include the device name of the first device.

[0045] When updating a smart device, in order to ensure the safety during the update process, it is usually necessary to disconnect the relevant power supply. Then, at least a portion of the smart devices (e.g., the first device) in the maintenance scene can control their own memory to enter the memory state, so that the device operation status and / or corresponding configuration information of the smart device can be stored before the power is disconnected, for example, it can be stored in the local area network manager and / or the remote server. In some embodiments, the first device can have a built-in power supply unit to provide the necessary working power to the memory of the first device after the power is disconnected, so that the device operation status and / or the first configuration information of the first device can still be stored when the power is disconnected.

[0046] Considering that in some cases, when the first device fails, the first configuration information may not be stored, or the first configuration information may be lost, in some embodiments, the first configuration information of the first device may be stored in the local area network manager at preset time intervals during the normal operation of the first device. In this way, even if the first device fails and its first configuration information cannot be stored afterwards, the first configuration information stored by the first device before the failure can still be obtained from the local area network manager to ensure that the second device can be configured according to the first configuration information of the first device later. Here, the normal operation period of the first device refers to the period when the first device does not fail, or is in a normal communication state, and is not limited to the period when the first device is in a set working state. Taking the first device as a smart light as an example, the normal operation period is not limited to the period when the smart light is in an on state. In some embodiments, the first configuration information of the first device can also be synchronously stored in a remote server through the transmission module of the first device or through the local area network manager.

[0047] In some embodiments, obtaining the first index value of the first device may include obtaining the first index value of the first device through short-range wireless communication technology. Short-range wireless communication technology may include, for example, Bluetooth and / or Near Field Communication (NFC) technology. In a specific example, a mobile terminal device may be used to establish a connection with the first device by approaching the first device at a close distance and using a corresponding short-range wireless communication technology and obtain the first index value. Alternatively, in another specific example, the first index value of the first device may be pre-stored in a local area network manager of a smart device that manages the current scene, and the mobile terminal device may be used to connect to the local area network manager to obtain the first index value of the first device from the local area network manager. For example, when the mobile terminal device is connected to the local area network manager through short-range wireless communication technology, the smart device that is offline at a predetermined time may be determined as the first device through the display interface of the mobile terminal device to mark the first device, and then the first index value of the first device may be obtained from the local area network manager by performing corresponding operations on the mobile terminal device.

[0048] Alternatively, in some other embodiments, obtaining the first index value of the first device may include obtaining the first index value by scanning a QR code on the first device, where the QR code on the first device may be, for example, a code that comes with the first device when it leaves the factory. In a specific example, scanning the QR code on the first device using a mobile terminal device may jump to a page containing the first index value of the first device to obtain the first index value of the first device.

[0049] When the update of the first device is completed, that is, the first device is updated to the second device, the corresponding power supply can be reconnected, and it can be continuously monitored whether there is a network access request from the second device to connect to the local area network manager. For example, when the mobile terminal device is connected to the local area network manager via a short-range wireless communication technology, the network access request of the second device can be continuously monitored via the mobile terminal device so as to subsequently configure the second device.

[0050] like Figure 1 As shown, the device updating method 100 according to the exemplary embodiment of the present disclosure may further include:

[0051] Step S120: in response to receiving a network access request from the second device to access the local area network manager, searching the local area network manager for first configuration information of the first device according to the first index value.

[0052] The second device is an updated smart device, for example, it may be the first device that can be used normally after repair, or it may be a new smart device of the same model as the first device, or it may be a new smart device of a different model from the first device (such as an iterative upgrade version of the first device).

[0053] In some embodiments, the second index value of the second device may be obtained to mark the second device so as to correspond the first device to the second device, thereby facilitating subsequent configuration of the second device according to the first configuration information of the first device.

[0054] The second index value of the second device may be a unique identifier indicating the second device. In a specific example, the second index value of the second device may be a MAC address of the second device, or the second index value may be an activation code or serial code of the second device in the corresponding cloud platform.

[0055] In some embodiments, the network access request of the second device may carry the second index value of the second device, and the second index value of the second device may be obtained when the network access request of the second device is received. Alternatively, in some embodiments, the second index value of the second device may be obtained through short-range wireless communication technology. In a specific example, a mobile terminal device may be used to establish a connection with the second device by approaching the second device at a close distance and using a corresponding short-range wireless communication technology to obtain the second index value of the second device. Alternatively, in some embodiments, the second index value may be obtained by scanning a QR code on the second device, where the QR code on the second device may be, for example, the second device that comes with the second device when it leaves the factory. In a specific example, using a mobile terminal device to scan the QR code on the second device may jump to a page containing the second index value of the second device to obtain the second index value of the second device.

[0056] In some embodiments, searching the local area network manager for the first configuration information of the first device according to the first index value may include searching the local area network manager for the trigger source, trigger condition, and target action of the first device according to the first index value.

[0057] In order to facilitate the management of the configuration information of the smart device, a physical model can be used to manage the configuration information of the device. In a specific example, the first configuration information of the first device can be managed by a first physical model corresponding to the first device, wherein the first physical model can be pre-defined and stored in the local area network manager and can be updated. In addition, the first physical model can also be synchronously stored in a remote server and can be updated. In some embodiments, searching the first configuration information of the first device from the local area network manager according to the first index value can include: searching the first physical model from the local area network manager according to the first index value, wherein the first physical model can include a first attribute of the first device and a first attribute value corresponding to the first attribute.

[0058] The first attribute may include the functional attributes and common attributes of the first device, and each first attribute may have a corresponding value range. Taking the first device as a smart light as an example, the functional attributes of the first device may include power, brightness, and color temperature attributes, and the common attributes of the first device may include group attributes and device name attributes of the first device, wherein the value range of the power attribute is, for example, on and off, the value range of the brightness attribute is, for example, 0~100% (including 0 and 100%), the value range of the color temperature attribute is, for example, 0~100% (including 0 and 100%), the value range of the group attribute is, for example, an integer of 1~20 (including 1 and 20), and the value range of the device name attribute is, for example, a character string of up to 16 bytes.

[0059] The first attribute value may be the value of the first attribute of the first device during operation, wherein the first attribute value is within the value range of the corresponding first attribute. Still taking the first device as a smart lamp as an example, at a certain time point during operation of the first device, the attribute value corresponding to the power attribute may be, for example, "on", the attribute value corresponding to the brightness attribute may be, for example, "50%", the attribute value corresponding to the color temperature attribute may be, for example, "70%", the attribute value corresponding to the device name attribute may be, for example, "master bedroom ceiling light", and the attribute value corresponding to the group attribute may be, for example, "5" (indicating that the ID of the group including the first device is 5).

[0060] Next, the second device may be configured, such as Figure 1 As shown, the device updating method 100 according to the exemplary embodiment of the present disclosure may further include:

[0061] Step S130: configure second configuration information of the second device according to the first configuration information.

[0062] In some embodiments, the second configuration information for configuring the second device according to the first configuration information may include using the trigger source, trigger condition, and target action of the queried first device as the trigger source, trigger condition, and target action of the second device. In this way, when the corresponding trigger source is triggered and the trigger condition is met, the second device can perform the corresponding target action as a replacement for the first device.

[0063] As described above, the configuration information of the device can be managed by the physical model. In some embodiments, the second configuration information of the second device can be managed by the second physical model corresponding to the second device. Among them, the first attribute in the first physical model and the second attribute in the second physical model may have an intersection, that is, at least a part of the second attribute in the second physical model is the same as at least a part of the first attribute in the first physical model. The physical model of the device may correspond to the type of the device, and the physical models of the same type of devices may be the same or similar. In the case where the first device and the second device are of the same device type, the first attribute of the first physical model may be the same as the second attribute of the second physical model; in the case where the second device is an upgraded iterative version of the first device, the first attribute of the first physical model may be a subset of the second attribute of the second physical model, and the second model may also have a second attribute different from the first attribute. Among them, the value range of the second attribute that is the same as the first attribute may be the same as the value range of the first attribute.

[0064] In the case where the first configuration information of the first device is managed by the first physical model and the second configuration information of the second device is managed by the second physical model, the second device can be configured according to the first physical model. Specifically, configuring the second configuration information of the second device according to the first configuration information may include: determining a second attribute in the second physical model that is the same as the first attribute, and configuring the attribute value corresponding to the second attribute in the second physical model as the first attribute value. In this way, the second physical model corresponding to the second device can be filled according to the first physical model pre-stored in the local area network manager, so that the second device can inherit the configuration of the first device and work.

[0065] The first object model may also include a first service corresponding to the first attribute, a first attribute may correspond to a first service, and the first service corresponding to the first attribute may include at least one of a query service, a setting service, and a reporting service, wherein the query service indicates that the corresponding first attribute value can be queried, the setting service indicates that the corresponding first attribute value can be reassigned, and the reporting service indicates that the corresponding first attribute value can be reported when it changes, for example, to a local area network manager and / or a remote server. In this way, in the case of filling the second object model of the second device according to the first object model, the service corresponding to the second attribute in the second object model that is the same as the first attribute can also be configured as the first service, so that the second device can better inherit the configuration information of the first device. In some embodiments, a second attribute that is the same as the first attribute can be created in the second object model according to the first attribute of the first object model, and the attribute value corresponding to the second attribute can be filled and the corresponding service can be configured according to the corresponding first attribute value. In this way, even if the attributes in the first object model and the second object model are different, the second object model can still be filled by creating the second attribute that is the same as the first attribute.

[0066] In a local area network manager or a remote server, a physical model is usually stored corresponding to the index value of the device. By changing the corresponding relationship between the index value and the physical model, the configuration information of a device can be easily inherited to another device of the same type. In some of the above embodiments, the second configuration information of the second device is managed through the second physical model, while in other embodiments, the second index value of the second device can be corresponded to the first physical model so that the second configuration information of the second device is managed through the first physical model. Considering that the properties of physical models of devices of the same type or substantially the same type can be the same, when the device types of the first device and the second device are the same or similar, changing the corresponding relationship between the index value and the physical model allows the second configuration information to be managed through the existing first physical model, which can facilitate the configuration of the second device, reduce configuration operations, and improve configuration efficiency.

[0067] After configuring the second configuration information of the second device, the second configuration information of the second device can be imported into the second device through the mobile terminal device. Specifically, the local area network manager can send a confirmation message to the mobile terminal device so as to send the second configuration information of the second device to the mobile terminal device. After the second device is installed and powered on again, the mobile terminal device can connect to the second device through short-range wireless communication technology to transmit the second configuration information to the second device. During this process, other normally operating smart devices adjacent to the second device can be set to a silent state to reduce interference with the second device and improve the connection stability and information transmission stability between the mobile terminal device and the second device.

[0068] The local area network manager and / or the remote server may store an automation process, wherein the automation process may indicate the linkage relationship between devices, for example, the automation process may include the index value of the smart device, the action to be executed of the smart device corresponding to the index value, and the order of execution of the actions of each smart device. In a specific application, the indoor lighting scene mode may be turned on when the door lock device is turned on through a pre-set automation process, wherein the indoor lighting scene mode may generally be a light environment generated by a mixture of multiple smart lights included in the corresponding scene mode after executing corresponding actions (for example, turning on and adjusting to a specified light intensity and / or a specified color temperature). When at least one of the lamps is damaged or fails, it is undoubtedly very complicated to reset the automation process. Considering that the first device may be located in one or more automation processes, in some embodiments, the device update method 100 may include searching for an automation process including a first index value, and replacing the first index value in the automation process with a second index value of the second device, wherein the automation process at least indicates the action to be executed of the device corresponding to the first index value. In this way, the pending actions of the first device can be inherited to the second device, and correspondingly, the linkage relationship between the first device and other devices can also be inherited to the second device, thereby maintaining the original linkage relationship between the devices, so that the user's usage experience of the smart device before and after replacement is consistent or basically the same, thereby improving the user experience.

[0069] In some embodiments, in response to the completion of the configuration of the second configuration information of the second device, the current scene can be set as a non-maintenance scene (such as a normal working scene). For example, the maintenance scene can be turned off by pressing a button on the local area network manager to make each smart device exit the maintenance mode and be in a normal working scene, so that the second device installed later can be in a normal working state. In other embodiments, before setting the current scene as a non-maintenance scene, the operating state of the second device can be detected to ensure that the second device can work normally. In a specific example, the detection result of the second device can be determined by flashing indicator lights, voice prompts, etc.

[0070] The following combination Figure 2 The specific application of the present disclosure in a home indoor scene is described.

[0071] like Figure 2As shown, the user expects that when entering the reading state, the indoor lighting environment can be adjusted to a specified brightness and / or a specified color temperature, especially when using the smart desk lamp 211 as the main reading light source, the smart desk lamp 211 also needs to be adjusted to a suitable brightness / color temperature value (for example, the system default recommended value can be used or adjusted according to personal habits), and other lamps in the current scene can be used as background light, with the corresponding brightness reduced and color temperature increased, or, for example, the main lamp 201 can be directly turned off to save power consumption (or a weak current drive can be used to achieve an extremely low brightness value).

[0072] The ambient light can be emitted by the downlight / night light 202, 203 according to the set value. In this way, the smart device near the user can provide a comfortable personalized reading environment. In addition, the user can also set a more complex scene state. For example, the user can expect to adjust the indoor air quality by turning on the air purifier 3 and adjust the room temperature and other environmental factors in conjunction with the smart air conditioner 205.

[0073] According to the installation certification standards and the actual use of the equipment, different types of smart sockets can be installed at different heights. For example, wall sockets 206 and 207 can be installed at height 4, and air-conditioning matching sockets 204 and floor sockets 209 and 210 can be installed at corresponding heights. Some smart sockets (such as smart socket 206) can have a built-in power supply unit to maintain the necessary working power for the memory after the power source is disconnected. The smart socket can control the household appliances that are plugged in for power. The smart socket can also copy the remote control function of ordinary household appliances into its own memory, and the user can control the household appliance without looking for the remote control. In addition, the device can be personalized according to the needs to set different sub-scenes. For example, the user does not need to turn on the floor lamp 213 and the wall socket 208 when reading, but the floor lamp 213 and the wall socket 208 can be turned on when the user is close to bed.

[0074] The LAN manager 1 can be a gateway device or a wireless / wired network access control device (Access Controller, AC). When different smart devices use different communication protocols, the LAN manager 1 can be used to translate commands between different smart devices, or transparently transmit corresponding trigger commands.

[0075] The first device may be Figure 2Any one or more smart devices shown in the figure are usually personalized. A smart device may be edited into one or more automation processes. Under the local area network manager, index values ​​of corresponding multiple devices can be generated so that they can be called at any time to enable linkage work between corresponding smart devices. When the first device fails, for example, the LED in the downlight 203 is damaged, the first device can be updated to the second device, and the configuration of the second device can be completed by referring to some of the above embodiments of the present disclosure.

[0076] Some smart devices may be portable smart devices and may therefore be frequently replaced. For example, the smart power strip 212 may draw power from the wall socket 206 via a flexible cable, but when the user may need to replace the smart power strip 212 with a more functional smart power strip (e.g., one with a fast charging port), that is, the second device as described above is an iterative upgrade version of the first device, and the physical model of the new smart power strip may be different from that of the old smart power strip. The new smart power strip may provide one more electrical socket and one more Type-C flash charging port relative to the old smart power strip. Accordingly, when configuring the new smart power strip, the index value of the new smart power strip may be pointed to the physical model of the old smart power strip, and corresponding attributes, attribute values, and services may be added based on the physical model of the old smart power strip, such as attributes related to the additional electrical socket and Type-C flash charging port relative to the old smart power strip, such as "socket attribute element" and "charging port attribute element". In a specific example, a corresponding service module can be added on the basis of the physical model of the original old smart plug board to fill in the historical configuration information. For example, if the "timed start" function has been set in the original physical model, the same or similar setting value can be set for the newly added attribute element. In some cases, even if the electrical sockets and USB charging ports for household appliances in the smart socket are set independently of each other on the line, the corresponding functions can be independently realized by corresponding settings. In addition, a corresponding event module can be added on the basis of the physical model of the original old smart plug board for further personalized settings. The new smart plug board can assign the event type represented in the automation process related to the original old smart plug board (the automation process can be stored in the cloud server, for example) to the USB charging port. For example, when the new smart plug board has a built-in control element for detecting power, it can be set to "turn off the USB charging port when the power is less than 1W".

[0077] According to another aspect of the present disclosure, a device updating apparatus is further provided, wherein the device updating apparatus can be configured to execute the steps of the device updating method described in any of the above embodiments. Figure 3As shown, in an exemplary embodiment of the present disclosure, the device updating apparatus 300 may include an acquisition module 310, a search module 320 and a configuration module 330. The acquisition module 310 may be configured to acquire a first index value of a first device. The search module 320 may be configured to search for first configuration information of the first device from the local area network manager according to the first index value in response to receiving a network access request from a second device requesting access to the local area network manager. The configuration module 330 may be configured to configure second configuration information of the second device according to the first configuration information.

[0078] According to another aspect of the present disclosure, an electronic device for updating a device is also provided. Figure 4 As shown, in an exemplary embodiment of the present disclosure, the electronic device 400 may include a processor 410 and a memory 420. The memory 420 stores instructions, which, when executed by the processor 410, can implement the steps of the device update method described in any of the foregoing embodiments of the present disclosure.

[0079] The processor 410 may be an integrated circuit chip having the ability to process signals. The processor may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, to implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present disclosure. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc., and may be an X86 architecture or an ARM architecture, etc.

[0080] The memory 420 may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronously connected dynamic random access memory (SLDRAM), and direct memory bus random access memory (DRRAM). It should be noted that the memory described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0081] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, on which instructions are stored. When the instructions are executed, the steps of the device update method described in any of the foregoing embodiments of the present disclosure can be implemented.

[0082] Similarly, the non-transitory computer-readable storage medium in the embodiments of the present disclosure may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. It should be noted that the non-transitory computer-readable storage medium described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0083] According to another aspect of the present disclosure, a computer program product is further provided. The computer program product includes a computer program. When the computer program is executed by a processor, the steps of the device updating method described in any of the foregoing embodiments of the present disclosure can be implemented.

[0084] Instructions may be any set of instructions to be executed directly by one or more processors, such as machine code, or any set of instructions to be executed indirectly, such as a script. The terms "instructions", "applications", "processes", "steps" and "programs" (including "computer programs") herein may be used interchangeably herein. Instructions may be stored in an object code format for direct processing by one or more processors, or in any other computer language, including scripts or collections of independent source code modules that are interpreted on demand or compiled in advance. Other sections of this document explain the functions, methods and routines of instructions in more detail.

[0085] In the technical solution of the present invention, when it is necessary to update the first device to the second device, the corresponding configuration information can be queried from the local area network manager according to the index value of the first device, so as to configure the second device according to the found configuration information, thereby eliminating the need to manually refer to the historical usage of the first device to reconfigure the second device. This enables more convenient updating of smart devices, reduces the complexity of configuration operations, ensures that the user experience before and after the update is consistent or basically consistent, and improves the user experience.

[0086] The words "left", "right", "front", "back", "top", "bottom", "up", "down", "high", "low", etc., in the specification and claims, if present, are used for descriptive purposes and are not necessarily used to describe an unchanging relative position. It should be understood that the words so used are interchangeable under appropriate circumstances, so that the embodiments of the present disclosure described herein, for example, can operate in other orientations than those shown or otherwise described herein. For example, when the device in the drawings is turned over, features originally described as "above" other features may now be described as "below" the other features. The device may also be oriented in other ways (rotated 90 degrees or in other orientations), and the relative spatial relationships will be interpreted accordingly.

[0087] The "connection" referred to in this article generally refers to a network connection or a radio frequency signal connection, so that data or information can be transferred between the two connected elements, but it should not be limited to only a network connection or a radio frequency signal connection between two elements.

[0088] As used herein, the word "exemplary" means "serving as an example, instance, or illustration" rather than as a "model" to be exactly copied. Any implementation described as an example herein is not necessarily to be construed as preferred or advantageous over other implementations. Furthermore, the present disclosure is not to be limited by any expressed or implied theory given in the technical field, background, summary, or detailed description.

[0089] As used herein, the term "substantially" is intended to include any minor variations due to design or manufacturing imperfections, device or component tolerances, environmental influences, and / or other factors. The term "substantially" also allows for deviations from a perfect or ideal situation due to parasitic effects, noise, and other practical considerations that may exist in actual implementations.

[0090] In addition, the terms "first", "second" and the like may also be used herein for reference purposes only and are not intended to be limiting. For example, the terms "first", "second" and other such numerical terms referring to structures or elements do not imply a sequence or order unless the context clearly indicates otherwise.

[0091] It should also be understood that when the term “include / comprises” is used in this document, it indicates the presence of the specified features, integers, steps, operations, units and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, units and / or components and / or their combinations.

[0092] In this disclosure, the term "provide" is used in a broad sense to cover all ways of obtaining an object, and thus "providing an object" includes but is not limited to "purchasing", "preparing / manufacturing", "arranging / setting up", "installing / assembling", and / or "ordering" an object, etc.

[0093] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items. The terms used herein are for the purpose of describing specific embodiments only and are not intended to limit the present disclosure. As used herein, the singular forms "a", "an", and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise.

[0094] Those skilled in the art will appreciate that the boundaries between the above operations are merely illustrative. Multiple operations can be combined into a single operation, a single operation can be distributed in additional operations, and operations can be performed at least partially overlapping in time. Moreover, alternative embodiments may include multiple instances of a specific operation, and the order of operations may be changed in various other embodiments. However, other modifications, variations, and replacements are equally possible. Aspects and elements of all embodiments disclosed above may be combined in any manner and / or in combination with aspects or elements of other embodiments to provide multiple additional embodiments. Therefore, this specification and accompanying drawings should be considered illustrative, not restrictive.

[0095] Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. The various embodiments disclosed herein may be combined in any manner without departing from the spirit and scope of the present disclosure. It should also be understood by those skilled in the art that various modifications may be made to the embodiments without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims

1. A device updating method, characterized in that: The device updating method is used to update a first device to a second device, and the device updating method includes: Obtaining a first index value of the first device; In response to receiving a network access request from the second device requesting access to the local area network manager, searching the local area network manager for first configuration information of the first device according to the first index value; and Configure second configuration information of the second device according to the first configuration information.

2. The device updating method according to claim 1, characterized in that: The device updating method further includes: searching for an automation process including the first index value, wherein the automation process indicates an action to be performed by a device corresponding to the first index value; and The first index value in the automation process is replaced with the second index value of the second device.

3. The device updating method according to claim 1, characterized in that: The device updating method further includes: The current scene is set as a maintenance scene, wherein the first device is configured to store the first configuration information in the local area network manager in response to the current scene being a maintenance scene.

4. The device updating method according to claim 3, characterized in that: The device updating method further includes: In response to the second configuration information of the second device being configured successfully, the current scene is set as a non-maintenance scene.

5. The device updating method according to claim 1, characterized in that: The device updating method further includes: During normal operation of the first device, the first configuration information is stored in the local area network manager at preset time intervals.

6. The device updating method according to claim 1, characterized in that: The first configuration information is managed by a first object model corresponding to the first device, wherein searching the first configuration information of the first device from the local area network manager according to the first index value includes: The first object model is searched from the local area network manager according to the first index value, wherein the first object model includes a first attribute of a first device and a first attribute value corresponding to the first attribute.

7. The device updating method according to claim 6, characterized in that: The second configuration information is managed by a second object model corresponding to the second device, wherein configuring the second configuration information of the second device according to the first configuration information includes: determining a second attribute in the second object model that is the same as the first attribute; and The attribute value corresponding to the second attribute in the second object model is configured as the first attribute value.

8. The device updating method according to claim 7, characterized in that: The first object model further includes a first service corresponding to the first attribute, and the second configuration information for configuring the second device according to the first configuration information further includes: The service corresponding to the second attribute in the second object model is configured as the first service.

9. The device updating method according to claim 6, characterized in that: The second configuration information for configuring the second device according to the first configuration information includes: The second index value of the second device is matched with the first object model so that the second configuration information is managed through the first object model.

10. The device updating method according to claim 1, characterized in that: Acquiring a first index value of the first device includes: Acquire the first index value by short-range wireless communication technology; and / or The first index value is obtained by scanning the QR code on the first device.

11. The device updating method according to claim 2 or 9, characterized in that: The second index value is obtained by at least one of the following: The network access request carries the second index value; Short-range wireless communications technology; and Scan the QR code on the second device.

12. A device updating apparatus, characterized in that: The device updating device is used to update the first device to the second device, and the device updating device includes: An acquisition module, configured to acquire a first index value of the first device; a search module configured to search for first configuration information of the first device from the local area network manager according to the first index value in response to receiving a network access request from the second device requesting access to the local area network manager; and A configuration module is configured to configure second configuration information of the second device according to the first configuration information.

13. An electronic device for updating a device, characterized in that: The electronic device comprises a processor and a memory, wherein instructions are stored in the memory, and when the instructions are executed by the processor, the steps of the device updating method according to any one of claims 1 to 11 are implemented.

14. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores instructions, and when the instructions are executed by a processor, the steps of the device updating method according to any one of claims 1 to 11 are implemented.

15. A computer program product, characterized in that The computer program product comprises instructions, and when the instructions are executed by a processor, the steps of the device updating method according to any one of claims 1 to 11 are implemented.