Intelligent device edge scene control method and device

The local area network gateway receives device identification information and obtains scene configuration information, creates a virtual device and issues action instructions, solves the problem that smart home cannot be linked when the network is disconnected, and realizes local scene control and device linkage.

CN115685770BActive Publication Date: 2024-11-19QINGDAO HAIER TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110844645.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-26
Publication Date
2024-11-19
Estimated Expiration
2041-07-26

AI Technical Summary

Technical Problem

The existing smart home scene control requires the help of the Internet, which causes the scene to be unable to operate in the event of a disconnection and the smart devices cannot be linked.

Method used

Receive device identification information of smart devices through the LAN gateway, create virtual devices, and obtain scene configuration information, and issue action instructions to the corresponding smart devices when the trigger conditions are met to realize local scene control.

Benefits of technology

In the case of disconnection of the network, the intelligent devices can still be effectively monitored and linked, so as to realize the linkage of smart devices and avoid dependence on cloud platforms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115685770B_ABST
    Figure CN115685770B_ABST
Patent Text Reader

Abstract

The present invention provides a method and device for controlling edge scenes of smart devices. The method is applied to a local area network gateway and includes: receiving device identification information sent by a smart device, creating a virtual device corresponding to each smart device according to the device identification information, wherein the device identification information includes a device identifier; obtaining scene configuration information created according to the virtual device, wherein the scene configuration information includes the corresponding relationship between the attributes of the source virtual device of each scene and the actions that the target virtual device should perform; and when it is determined that the trigger conditions in the scene configuration information are met according to the attribute information of the source virtual device, sending an action instruction corresponding to the scene trigger to the corresponding smart device through the target virtual device. This method does not require the device to report the attributes to the cloud platform, but instead places the device list and scenes on the local gateway for maintenance. In the case of network disconnection, the scenes can still be effectively monitored to achieve linkage of smart devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet of Things, and in particular to a method and device for controlling edge scenarios of smart devices. Background Art

[0002] With the rapid development of the Internet of Things, smart homes are becoming more and more popular. Smart homes connect various devices in the home, such as audio-visual equipment, lighting equipment, curtain control equipment, smart air conditioners, security systems and other network appliances through the Internet of Things, providing a variety of functions and means such as home appliance control, lighting control, telephone remote control, indoor and outdoor remote control, anti-theft alarm, environmental monitoring, HVAC control, infrared forwarding and programmable timing control. Compared with ordinary homes, smart homes not only have traditional residential functions, but also have architecture, network communication, information appliances, equipment automation, provide a full range of information interaction functions, and even save money on various energy costs.

[0003] Smart home scenarios are defined as a series of defined operations for home appliances or home devices that are triggered by a trigger condition that can include an effective period. For example, when a gas alarm detects a gas leak, the buzzer alarm on it sounds, cutting off the power to all electrical appliances and the main power switch in the room, and controlling the networked windows or curtains to open for ventilation, while notifying the user through an app on a mobile device such as a mobile phone. Among them, gas leakage is the triggering condition, and the rest are triggered operations, including the operation of the triggering device itself, and the operation of other smart devices accessible through the network. For the same smart device, it can support multiple scenarios, and can support the same or different one or more operations in different scenarios.

[0004] Currently, all smart home scene controls on the market require the help of the Internet. Traditional scene control requires the use of the network to upload device properties to the cloud platform. The scenes created by users are maintained on the cloud platform. In the event of a network outage, the scenes cannot run, resulting in scene monitoring failure and the inability of smart devices to link. Summary of the invention

[0005] In view of the problems existing in the prior art, the present invention provides a method and device for controlling edge scenes of smart devices.

[0006] The present invention provides a method for controlling edge scenes of smart devices, which is applied to a local area network gateway, and includes: receiving device identification information sent by a smart device, and creating a virtual device corresponding to each smart device according to the device identification information, wherein the device identification information includes a device identifier; acquiring scene configuration information created according to the virtual device, wherein the scene configuration information includes a corresponding relationship between the attributes of a source virtual device of each scene and an action to be performed by a target virtual device; and when it is determined that a trigger condition in the scene configuration information is met according to the attribute information of the source virtual device, issuing an action instruction corresponding to the scene trigger to the corresponding smart device through the target virtual device.

[0007] According to an embodiment of the present invention, the smart device edge scene control method further includes: receiving attribute information sent after the attribute of the smart device changes, as the attribute information of the corresponding virtual device, before sending the scene triggering corresponding action instruction to the corresponding smart device through the target virtual device.

[0008] According to a smart device edge scene control method according to an embodiment of the present invention, obtaining scene configuration information created based on virtual devices includes: sending information of each virtual device to a human-computer interface for display, so that the user can create each scene based on the display results; obtaining scene configuration information corresponding to each scene created by the user.

[0009] According to an embodiment of the smart device edge scene control method of the present invention, after obtaining the scene configuration information corresponding to each scene created by the user, it also includes: sending the scene configuration information to a server to instruct the server to perform a legitimacy check on the scene configuration information, and receiving the verification result sent by the server.

[0010] According to a smart device edge scene control method according to an embodiment of the present invention, obtaining scene configuration information created based on a virtual device includes: sending information of each virtual device to a server, receiving a scene configuration file issued by the server based on the information of the virtual device; parsing the scene configuration file to obtain scene configuration information.

[0011] According to an embodiment of the smart device edge scene control method of the present invention, after receiving the attribute information sent after the attribute of the smart device changes as the attribute information of the corresponding virtual device, it also includes: sending the attribute information and scene configuration information of each virtual device to the server, and receiving the scene trigger condition judgment result generated by the server according to the attribute information of the source virtual device in the scene configuration information.

[0012] According to the smart device edge scene control method of one embodiment of the present invention, before creating a virtual device corresponding to each smart device based on the device identification information, it also includes: broadcasting a device identification information request message to each smart device in the local area network, so that each smart device that receives the request message sends the device identification information to the local area network gateway.

[0013] The present invention also provides an intelligent device edge scene control device, which is applied to a local area network gateway and includes: a virtual device creation module, which is used to receive device identification information sent by an intelligent device, and create a virtual device corresponding to each intelligent device according to the device identification information, wherein the device identification information includes a device identifier; a configuration information acquisition module, which is used to obtain scene configuration information created according to the virtual device, wherein the scene configuration information includes the corresponding relationship between the attributes of the source virtual device of each scene and the action to be performed by the target virtual device; an edge scene control module, which is used to send an action instruction corresponding to the scene trigger to the corresponding intelligent device through the target virtual device when it is determined that the trigger condition in the scene configuration information is met according to the attribute information of the source virtual device.

[0014] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the above-described methods for controlling edge scenes of smart devices are implemented.

[0015] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above-described methods for controlling edge scenes of smart devices.

[0016] The smart device edge scene control method and device provided by the present invention do not require the device to report properties to the cloud platform, but instead place the device list and scenes on the local gateway for maintenance. In the event of a network outage, the scenes can still be effectively monitored, thereby realizing the linkage of smart devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 It is a flowchart of the edge scene control method of the smart device provided by the present invention;

[0019] Figure 2 It is a schematic diagram of the system structure provided by the present invention;

[0020] Figure 3 It is a timing diagram provided by the present invention;

[0021] Figure 4 It is a structural schematic diagram of the smart device edge scene control device provided by the present invention;

[0022] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0024] Combine the following Figure 1-Figure 5 The present invention describes a method and apparatus for controlling edge scenes of smart devices. Figure 1 is a flow chart of the method for controlling edge scenes of smart devices provided by the present invention, such as Figure 1 As shown, the present invention provides a smart device edge scene control method, which is applied to a local area network gateway, that is, the execution subject of the method is the local area network gateway, and the method includes:

[0025] 101. Receive device identification information sent by a smart device, and create a virtual device corresponding to each smart device according to the device identification information, wherein the device identification information includes a device identifier.

[0026] like Figure 2 The system shown in the figure, the smart devices of the present invention include zigbeen smart lights, Bluetooth Mersh devices, etc., which can be audio-visual equipment, lighting equipment, curtain control equipment, air conditioners and other home appliances. Figure 3 As shown, after each smart device establishes a connection with the LAN gateway, it sends device identification information, which may include device ID and device type, to the LAN gateway. The smart gateway creates a one-to-one corresponding virtual device locally based on all received device identification information.

[0027] 102. Obtain scene configuration information created according to the virtual device, where the scene configuration information includes a correspondence between attributes of the source virtual device of each scene and actions that the target virtual device should perform.

[0028] The LAN gateway receives the configuration information of the scene, such as the web interface of the gateway or the APP interface of the gateway when the user logs in. According to the virtual device currently displayed on the gateway, a scene configuration file is created and sent to the smart gateway, and the smart gateway parses and obtains the scene configuration information. The scene configuration information includes multiple source virtual devices and corresponding attribute values ​​as trigger conditions, as well as the corresponding actions to be performed for one or more target virtual devices. For example, the smart alarm clock corresponds to the source virtual device A, and the smart curtains correspond to the target virtual device B. The time attribute of A is 07:00, and the corresponding action of B is to open. Of course, there can be multiple source virtual devices and target virtual devices, such as including the target virtual device C as a smart voice assistant, and the execution action is to play news.

[0029] 103. When it is determined, based on the attribute information of the source virtual device, that the triggering condition in the scene configuration information is satisfied, an action instruction corresponding to the scene trigger is sent to a corresponding smart device through the target virtual device.

[0030] The smart gateway monitors all local scenes, and when it detects that the source virtual device meets the scene triggering conditions, it performs corresponding operations on the target smart device. For example, at 23:00 in the evening, the smart voice assistant reminds the user to take a rest, and the smart light is turned off after receiving the reminder, or it is directly turned off after the preset time; at 07:00 in the morning, the smart curtain is opened; when the real-time temperature reaches 30 degrees, the air conditioner is turned on, etc.

[0031] The smart device edge scene control method provided by the present invention does not require the device to report properties to the cloud platform, but instead places the device list and scenes on the local gateway for maintenance. The scenes can still be effectively monitored when the network is disconnected, thereby realizing the linkage of smart devices.

[0032] In one embodiment, before the target virtual device sends a scene-triggered action instruction to the corresponding smart device, the method further includes: receiving attribute information sent after the attribute of the smart device changes, as the attribute information of the corresponding virtual device.

[0033] In order to monitor smart devices in real time and accurately, corresponding actions are triggered in time when scene conditions are met. After establishing communication with the gateway, each smart device will send its own attribute information to the gateway, such as the device's power-on status. At the same time, when any smart device attribute changes, the attribute information is sent to the gateway in time, so that the gateway can judge the scene conditions.

[0034] In one embodiment, the obtaining of scene configuration information created based on the virtual device includes: the obtaining of scene configuration information created based on the virtual device includes: sending the information of each virtual device to a human-computer interface for display, so that the user can create each scene based on the display result; obtaining the scene configuration information corresponding to each scene created by the user.

[0035] Specifically, after the gateway has established virtual devices for all devices, it can be displayed to the user through the human-machine interface. Users can associate devices with scenarios. For example, when the attribute of smart device A is a specific value, the switch state of smart device B is changed to off, and then the configuration is sent to the gateway. The gateway monitors the attributes of the device. If the attribute value of virtual device a changes to a specific value, virtual device b is triggered and the corresponding control instruction is sent to smart device B to change its switch state to off.

[0036] In one embodiment, after acquiring the scene configuration information corresponding to each scene created by the user, it also includes: sending the scene configuration information to a server to instruct the server to perform a legality check on the scene configuration information, and receiving the check result sent by the server.

[0037] After receiving the locally configured scene, the created scene is sent to the server for verification to avoid user operation errors, such as some common fixed configurations. For example, when the gas alarm detects a gas leak, the buzzer alarm on it sounds, and the power supply of all electrical appliances and the main power switch in the room are cut off. If the user has not configured it, or the configuration is unreasonable, the verification of legitimacy will fail. Verifying the scene through the server can effectively avoid the situation where the user lacks experience.

[0038] In one embodiment, obtaining scene configuration information created according to virtual devices includes: sending information of each virtual device to a server, receiving a scene configuration file issued by the server according to the information of the virtual device; and parsing the scene configuration file to obtain scene configuration information.

[0039] The LAN gateway can not only receive the configuration of local users, but also send the corresponding virtual devices to the server after establishing virtual devices for all normally communicating smart devices. The server sends the general scenario configuration to the gateway based on the virtual devices without the need for configuration. For example, when the gas alarm detects a gas leak, the buzzer alarm on it sounds, cuts off the power supply of all electrical appliances and the main power switch in the room, and controls the networked windows or curtains to open for ventilation.

[0040] In the embodiment of the present invention, the scene configuration is sent down by the server without the need for user configuration, and it can be adapted to user groups such as the elderly.

[0041] In one embodiment, the receiving of the attribute information sent after the attribute of the smart device changes as the attribute information of the corresponding virtual device also includes: sending the attribute information and scene configuration information of each virtual device to the server, and receiving the scene trigger condition judgment result generated by the server according to the attribute information of the source virtual device in the scene configuration information.

[0042] Considering the huge computing power of the server, such as the cloud server using neural network. For some complex scenes, the scene analysis results provided by the server can be adopted. In the embodiment of the present invention, the attribute information of the virtual device corresponding to all smart devices is sent to the server. If the scene trigger information sent by the server is received, the action instruction corresponding to the scene is sent to the corresponding smart device through the virtual device.

[0043] In one embodiment, before creating a virtual device corresponding to each smart device based on the device identification information, it also includes: broadcasting a device identification information request message to each smart device in the local area network, so that each smart device that receives the request message sends the device identification information to the local area network gateway.

[0044] When the system is initialized, the gateway can broadcast request information for device identification information (such as requesting device ID and type) to all devices in the local area network, so that virtual devices can be established for all normally communicating smart devices for scene creation.

[0045] The smart device edge scene control device provided by the present invention is described below. The smart device edge scene control device described below and the smart device edge scene control method described above can be referenced to each other.

[0046] Figure 4 is a schematic diagram of the structure of the smart device edge scene control device provided by the present invention, such as Figure 4 As shown, the smart device edge scene control device includes: a virtual device creation module 401, a configuration information acquisition module 402 and an edge scene control module 403. Among them, the virtual device creation module 401 is used to receive the device identification information sent by the smart device, and create a virtual device corresponding to each smart device according to the device identification information, and the device identification information includes a device identifier; the configuration information acquisition module 402 is used to obtain the scene configuration information created according to the virtual device, and the scene configuration information includes the corresponding relationship between the attributes of the source virtual device of each scene and the action to be performed by the target virtual device; the edge scene control module 403 is used to send the action instruction corresponding to the scene trigger to the corresponding smart device through the target virtual device when it is determined that the trigger condition in the scene configuration information is met according to the attribute information of the source virtual device.

[0047] In an apparatus embodiment, the edge scene control module 403 is further used to receive attribute information sent after the attribute of the smart device changes, as the attribute information of the corresponding virtual device.

[0048] In an apparatus embodiment, the configuration information acquisition module 402 is used to send the information of each virtual device to the human-machine interface for display, so that the user can create each scene according to the display result; and obtain the scene configuration information corresponding to each scene created by the user.

[0049] In an apparatus embodiment, the configuration information acquisition module 402 is used to send the scene configuration information to a server so that the server can verify the legitimacy of the scene configuration information, and receive the verification result sent by the server.

[0050] In an apparatus embodiment, the configuration information acquisition module 402 is used to send information of each virtual device to a server, receive a scene configuration file issued by the server according to the information of the virtual device, and parse the scene configuration file to obtain scene configuration information.

[0051] In an apparatus embodiment, the edge scene control module 403 is used to send the attribute information of each virtual device and the scene configuration information to the server, and receive the scene trigger condition judgment result generated by the server according to the attribute information of the source virtual device in the scene configuration information.

[0052] In an apparatus embodiment, the virtual device creation module 401 is used to broadcast a device identification information request message to each smart device in the local area network, so that each smart device that receives the request message sends the device identification information to the local area network gateway.

[0053] The device embodiments provided in the embodiments of the present invention are for implementing the above-mentioned method embodiments. For specific processes and detailed contents, please refer to the above-mentioned method embodiments, which will not be repeated here.

[0054] The smart device edge scene control device provided by the embodiment of the present invention does not require the device to report properties to the cloud platform, but instead places the device list and scenes on the local gateway for maintenance. The scenes can still be effectively monitored when the network is disconnected, thereby realizing the linkage of smart devices.

[0055] Figure 5 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 5As shown, the electronic device may include: a processor 501, a communication interface 502, a memory 503 and a communication bus 504, wherein the processor 501, the communication interface 502 and the memory 503 complete mutual communication through the communication bus 504. The processor 501 may call the logic instructions in the memory 503 to execute the intelligent device edge scene control method, which is applied to the local area network gateway, and includes: receiving device identification information sent by the intelligent device, creating a virtual device corresponding to each intelligent device according to the device identification information, wherein the device identification information includes a device identifier; obtaining scene configuration information created according to the virtual device, wherein the scene configuration information includes the corresponding relationship between the attributes of the source virtual device of each scene and the action to be performed by the target virtual device; when it is determined that the trigger condition in the scene configuration information is met according to the attribute information of the source virtual device, the action instruction corresponding to the scene trigger is sent to the corresponding intelligent device through the target virtual device.

[0056] In addition, the logic instructions in the above-mentioned memory 503 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0057] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the smart device edge scene control method provided by the above methods. The method is applied to a local area network gateway, and includes: receiving device identification information sent by a smart device, and creating a virtual device corresponding to each smart device based on the device identification information, wherein the device identification information includes a device identifier; obtaining scene configuration information created based on the virtual device, wherein the scene configuration information includes the corresponding relationship between the attributes of the source virtual device of each scene and the action to be performed by the target virtual device; when it is determined that the trigger condition in the scene configuration information is met based on the attribute information of the source virtual device, an action instruction corresponding to the scene trigger is issued to the corresponding smart device through the target virtual device.

[0058] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the smart device edge scene control method provided by the above-mentioned embodiments. The method is applied to a local area network gateway, including: receiving device identification information sent by the smart device, and creating a virtual device corresponding to each smart device based on the device identification information, wherein the device identification information includes a device identifier; obtaining scene configuration information created based on the virtual device, wherein the scene configuration information includes the corresponding relationship between the attributes of the source virtual device of each scene and the action to be performed by the target virtual device; when it is determined that the trigger condition in the scene configuration information is met based on the attribute information of the source virtual device, an action instruction corresponding to the scene trigger is issued to the corresponding smart device through the target virtual device.

[0059] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.

[0060] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0061] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for controlling edge scenes of smart devices, It is characterized in that Applied to a local area network gateway, the method comprises: Receiving device identification information sent by the smart device, and creating a virtual device corresponding to each smart device according to the device identification information, wherein the device identification information includes a device identifier; Acquire scene configuration information created according to the virtual device, wherein the scene configuration information includes a corresponding relationship between the attributes of the source virtual device of each scene and the actions that the target virtual device should perform; When it is determined according to the attribute information of the source virtual device that the trigger condition in the scene configuration information is met, an action instruction corresponding to the scene trigger is sent to the corresponding smart device through the target virtual device; Before the target virtual device sends the action instruction corresponding to the scene trigger to the corresponding smart device, the method further includes: Receive the attribute information sent after the attribute of the smart device changes, as the attribute information of the corresponding virtual device; Before creating a virtual device corresponding to each smart device according to the device identification information, the method further includes: The device identification information request message is broadcast to each smart device in the local area network, so that each smart device that receives the request message sends the device identification information to the local area network gateway.

2. The method for controlling edge scenes of smart devices according to claim 1, It is characterized in that The obtaining of scene configuration information created according to the virtual device includes: Send the information of each virtual device to the human-computer interface for display, so that the user can create various scenes according to the display results; Get the scene configuration information corresponding to each scene created by the user.

3. The method for controlling edge scenes of smart devices according to claim 2, It is characterized in that After acquiring the scene configuration information corresponding to each scene created by the user, the method further includes: The scene configuration information is sent to the server to instruct the server to perform a legality check on the scene configuration information, and the verification result sent by the server is received.

4. The method for controlling edge scenes of smart devices according to claim 1, It is characterized in that The obtaining of scene configuration information created according to the virtual device includes: Sending information of each virtual device to the server, and receiving a scene configuration file issued by the server according to the information of the virtual device; The scene configuration file is parsed to obtain scene configuration information.

5. The method for controlling edge scenes of smart devices according to claim 1, It is characterized in that After receiving the attribute information sent after the attribute of the smart device changes, and using it as the attribute information of the corresponding virtual device, the method further includes: The attribute information and scene configuration information of each virtual device are sent to the server, and the scene trigger condition judgment result generated by the server according to the attribute information of the source virtual device in the scene configuration information is received.

6. A smart device edge scene control device, It is characterized in that Applicable to LAN gateways, including: A virtual device creation module, used to receive device identification information sent by a smart device, and create a virtual device corresponding to each smart device according to the device identification information, wherein the device identification information includes a device identifier; A configuration information acquisition module, used to acquire scene configuration information created according to the virtual device, wherein the scene configuration information includes a corresponding relationship between the attributes of the source virtual device of each scene and the actions to be performed by the target virtual device; The edge scene control module is used to send an action instruction corresponding to the scene trigger to the corresponding smart device through the target virtual device when it is determined that the trigger condition in the scene configuration information is met according to the attribute information of the source virtual device; The edge scene control module is further used to receive attribute information sent after the attribute of the smart device changes, as the attribute information of the corresponding virtual device; The edge scene control module is also used to broadcast a device identification information request message to each smart device in the local area network, so that each smart device that receives the request message sends the device identification information to the local area network gateway.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the steps of the smart device edge scene control method as described in any one of claims 1 to 5 are implemented.

8. A non-transitory computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the smart device edge scene control method as described in any one of claims 1 to 5 are implemented.