Home scene map generation method and device, storage medium and electronic device

CN121116136APending Publication Date: 2025-12-12QINGDAO HAIER TECH +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511119633.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-11
Publication Date
2025-12-12

AI Technical Summary

Technical Problem

[0005]本发明实施例提供了一种家居场景地图的生成方法和装置、存储介质及电子装置,以至少解决相关技术中,家居场景展示不够直观方便的问题

Benefits of technology

[0010]上述家居场景地图的生成方法,目标对象上传的户型数据能够被准确解析,生成反映家居环境的初始地图信息,提升用户的家庭布局理解能力。目标对象能够根据个人需求自由编辑户型结构,创建一个满足自己居住需求的地图信息,增强家居布局的灵活性和个性化。智能设备在地图中的位置和状态能够被清晰展示,提供用户一个直观的设备控制界面,提升设备控制的便捷性和准确性。地图信息中的设备标识能够实时反映智能设备的工作状态,确保用户在控制设备时能够得到即时反馈,提升家居场景的控制体验和实时性。通过精准的户型数据解析、灵活的户型编辑技术、直观的设备可视化展示和设备状态实时同步机制,有效解决了用户无法直观方便地生成所需三维家居场景的问题,实现了家庭布局的个性化展示和智能设备的高效控制。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121116136A_ABST
    Figure CN121116136A_ABST
Patent Text Reader

Abstract

The invention discloses a home scene map generation method and device, a storage medium and an electronic device, and relates to the technical field of smart home, and the method comprises the steps: analyzing the house type data of a target house inputted by a target object, so as to determine the initial map information of the target house; in response to a house type editing instruction of the target object, adjusting a house type structure in the initial map information to obtain a target map of the target house; and according to the positions of the home devices in the target house, adding device identifiers in one-to-one correspondence with the home devices in the target house in the target map. And associating the working state of the home equipment indicated by each equipment identifier in the target map with the current working state of the corresponding home equipment in the target house to generate a home scene map of the target house. A visual and convenient three-dimensional home scene map is provided for a user, and personalized display of home layout and efficient control of intelligent equipment are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of smart home technology, and more specifically, to a method, apparatus, storage medium, and electronic device for generating home scene maps. Background Technology

[0002] With the continuous development of technology, smart homes have become an indispensable part of people's daily lives. As smart devices become more widespread and people's demands for device intelligence increase, there is a greater need for convenient ways to check the status of home devices.

[0003] In related technologies, icon interfaces are typically used to display the status of home appliances, allowing users to view and control them through icons.

[0004] However, the display effects of the related technologies are not good, and they cannot show users more intuitive and convenient 3D home scenes. Summary of the Invention

[0005] This invention provides a method and apparatus for generating home scene maps, a storage medium, and an electronic device to at least address the problem that home scene display is not intuitive and convenient in related technologies.

[0006] According to one embodiment of the present invention, a method for generating a home scene map is provided, comprising: parsing the floor plan data of a target house input by a target object to determine the initial map information of the target house; adjusting the floor plan structure in the initial map information in response to the floor plan editing instruction of the target object to obtain a target map of the target house; adding device identifiers corresponding one-to-one with each home appliance in the target house to the target map according to the location of the home appliances in the target house, wherein the device identifiers are used to indicate the location of the corresponding home appliances in the target map; associating the working status of the home appliances indicated by each device identifier in the target map with the current working status of the corresponding home appliances in the target house to generate a home scene map of the target house.

[0007] According to another embodiment of the present invention, a home scene map generation apparatus is also provided, comprising: a parsing module, configured to parse the floor plan data of a target house input by a target object to determine the initial map information of the target house; an editing module, configured to adjust the floor plan structure in the initial map information in response to the floor plan editing instruction of the target object to obtain a target map of the target house; a device adding module, configured to add device identifiers corresponding one-to-one with each home appliance in the target house to the target map according to the location of the home appliances in the target house, wherein the device identifiers are used to indicate the location of the corresponding home appliances in the target map; and a device association module, configured to associate the working status of the home appliances indicated by each device identifier in the target map with the current working status of the corresponding home appliances in the target house to generate a home scene map of the target house.

[0008] According to another aspect of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer program, wherein the computer program is configured to execute the above-described method for generating a home scene map when it is run.

[0009] According to another aspect of the present invention, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the above-described method for generating a home scene map through the computer program.

[0010] The aforementioned method for generating home scene maps accurately parses the floor plan data uploaded by the target user, generating initial map information reflecting the home environment and enhancing the user's understanding of home layout. The target user can freely edit the floor plan structure according to their personal needs, creating map information that meets their living requirements, enhancing the flexibility and personalization of home layout. The location and status of smart devices on the map are clearly displayed, providing users with an intuitive device control interface, improving the convenience and accuracy of device control. Device icons in the map information reflect the real-time working status of smart devices, ensuring users receive immediate feedback when controlling devices, improving the control experience and real-time performance of the home scene. Through accurate floor plan data parsing, flexible floor plan editing technology, intuitive device visualization, and a real-time device status synchronization mechanism, the method effectively solves the problem of users being unable to intuitively and conveniently generate the required 3D home scene, achieving personalized display of home layout and efficient control of smart devices. Attached Figure Description

[0011] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0012] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0013] Figure 1 This is a schematic diagram of the hardware environment for a method of generating a home scene map according to an embodiment of this application;

[0014] Figure 2 This is a flowchart of a method for generating a home scene map according to an embodiment of the present invention;

[0015] Figure 3 This is a second flowchart of a method for generating a home scene map according to an embodiment of the present invention;

[0016] Figure 4 This is the third flowchart of a method for generating a home scene map according to an embodiment of the present invention;

[0017] Figure 5 This is the fourth flowchart of a method for generating a home scene map according to an embodiment of the present invention;

[0018] Figure 6 This is the fifth flowchart of a method for generating a home scene map according to an embodiment of the present invention;

[0019] Figure 7 This is the sixth flowchart of a method for generating a home scene map according to an embodiment of the present invention;

[0020] Figure 8 This is the seventh flowchart of a method for generating a home scene map according to an embodiment of the present invention;

[0021] Figure 9 This is a structural block diagram of a home scene map generation device according to an embodiment of the present invention. Detailed Implementation

[0022] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0023] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0024] According to one aspect of the embodiments of this application, a method for generating a home scene map is provided. This method for generating a home scene map is widely applicable to whole-house intelligent digital control application scenarios such as smart homes, smart home ecosystems, and intelligence house ecosystems. Optionally, in this embodiment, the above-mentioned smart home device interaction method can be applied to, for example... Figure 1 The hardware environment shown consists of terminal device 102 and server 104. For example... Figure 1 As shown, server 104 is connected to terminal device 102 via a network and can be used to provide services (such as application services) to the terminal or clients installed on the terminal. A database can be set up on the server or independently of the server to provide data storage services for server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data processing services for server 104.

[0025] The aforementioned network may include, but is not limited to, at least one of the following: wired network, wireless network. The aforementioned wired network may include, but is not limited to, at least one of the following: wide area network, metropolitan area network, local area network. The aforementioned wireless network may include, but is not limited to, at least one of the following: Wi-Fi (Wireless Fidelity), Bluetooth. The terminal device 102 may not be limited to PC, mobile phone, tablet computer, smart air conditioner, smart range hood, smart refrigerator, smart oven, smart stove, smart washing machine, smart water heater, smart washing equipment, smart dishwasher, smart projector, smart TV, smart clothes rack, smart curtains, smart audio-visual equipment, smart socket, smart speaker, smart speaker box, smart fresh air equipment, smart kitchen and bathroom equipment, smart bathroom equipment, smart robot vacuum cleaner, smart window cleaning robot, smart mopping robot, smart air purifier, smart steam oven, smart microwave oven, smart water heater, smart air purifier, smart water dispenser, smart door lock, etc.

[0026] This embodiment provides a method for generating a home scene map, applied to the aforementioned terminal device. Figure 2 This is a flowchart of a method for generating a home scene map according to an embodiment of the present invention, the process including the following steps S200-S230:

[0027] Step S200: Parse the floor plan data of the target house input by the target object to determine the initial map information of the target house.

[0028] Specifically, it can analyze user-uploaded floor plan images or data to extract layout information, including the number, size, and location of rooms, as well as the specific locations of doors and windows, thereby constructing an initial 3D model of the house. This forms the foundation of the entire technical solution, ensuring the accuracy of subsequent editing and control functions.

[0029] For example, image processing algorithms, such as edge detection and line recognition, can be used to preprocess user-uploaded floor plan images to improve the recognition rate of floor plan information. Computer vision technologies, such as deep learning image segmentation models, can be used to identify room boundaries, door and window positions, etc., and three-dimensional (3D) modeling algorithms, such as computer-aided design (CAD) technology, can be used to transform the identified information into a three-dimensional structure. The generated initial 3D model is then optimized, including model simplification and the addition of lighting effects, to ensure the model's visual quality and performance.

[0030] Step S210: In response to the target object's floor plan editing command, adjust the floor plan structure in the initial map information to obtain the target map of the target house.

[0031] Specifically, after obtaining the initial map information, users can edit the apartment layout according to their personal needs, including adding or deleting rooms, adjusting room sizes, and moving door and window positions, in order to generate map information that ultimately meets the user's needs.

[0032] For example, an intuitive floor plan editing tool can be designed, including functions such as wall drawing, adding / deleting rooms, and moving doors and windows, ensuring ease of use for users. Real-time update technology ensures that the 3D map immediately reflects user changes during floor plan editing, providing an instant preview. While users are editing the floor plan, the system performs conflict detection, such as wall overlap or unreasonable door / window placement, and provides intelligent adjustment suggestions to help users complete reasonable edits.

[0033] Step S220: Based on the location of the home appliances in the target house, add device identifiers on the target map that correspond one-to-one with each home appliance in the target house.

[0034] The device identifier is used to indicate the location of the corresponding home appliance on the target map.

[0035] Specifically, the location information of smart devices in the real home environment is mapped onto a 3D map, and the location of the devices is displayed through device identifiers, providing a visual basis for subsequent device control functions.

[0036] For example, the Global Positioning System (GPS) or indoor positioning technology of smart devices can be integrated to obtain the precise location of the devices within the home. A 3D model library covering all categories of smart devices is built, and icons representing each device are designed to identify the devices on the 3D map. Based on the device location data, the corresponding device icons are placed on the 3D map, and the device locations are updated in real time to ensure the accuracy of the map.

[0037] Step S230: Associate the working status of the home appliances indicated by each device identifier in the target map with the current working status of the corresponding home appliances in the target house to generate a home scene map of the target house.

[0038] Specifically, it is necessary to ensure that the device identifiers in the 3D map can reflect the real working status of smart devices in real time, such as on / off status and temperature settings, so as to construct a home scene map that can reflect the state of the home environment.

[0039] For example, an Application Programming Interface (API) matching the status updates of smart devices is developed to ensure that device status data can be transmitted in real time to the application (APP), which is the execution subject of the solution in this embodiment. A status update mechanism is designed so that when the device status changes, the corresponding device icon status is immediately updated in the 3D map. Users can set scene modes, such as "sleep mode," and control the consistent status of multiple devices in this mode, such as dimming lights and closing curtains simultaneously.

[0040] In this embodiment, the floor plan data uploaded by the target user can be accurately parsed to generate initial map information reflecting the home environment, improving the user's understanding of the home layout. The target user can freely edit the floor plan structure according to their personal needs, creating map information that meets their living requirements, enhancing the flexibility and personalization of the home layout. The location and status of smart devices on the map can be clearly displayed, providing users with an intuitive device control interface, improving the convenience and accuracy of device control. Device identifiers in the map information can reflect the working status of smart devices in real time, ensuring that users receive immediate feedback when controlling devices, improving the control experience and real-time performance of the home scene. Through accurate floor plan data parsing, flexible floor plan editing technology, intuitive device visualization, and a real-time device status synchronization mechanism, the problem of users being unable to intuitively and conveniently generate the required 3D home scene is effectively solved, realizing personalized display of home layout and efficient control of smart devices.

[0041] In one embodiment, such as Figure 3 As shown, step S220 involves adding device identifiers to the target map, corresponding one-to-one with each piece of furniture in the target house, based on their location. This includes steps S300-S340, where:

[0042] Step S300: Collect location information sent by various home appliances in the target house through a wireless communication protocol.

[0043] Specifically, smart home systems use wireless communication technologies, such as Wireless Fidelity (Wi-Fi), Bluetooth, or Zigbee protocols, to receive location information from various home devices. This is a prerequisite for accurately locating home devices on a 3D map, ensuring the correctness of device identification and the usability of the map.

[0044] For example, a wireless communication module is integrated into a home appliance, enabling it to send location information via the aforementioned wireless communication protocol. The appliance periodically or when its status changes, proactively sends location information to the smart home central control system or an app. The smart home app or backend system receives this location information, parses it, and obtains the appliance's latitude, longitude, or other coordinate information.

[0045] Step S310: Match the location information of each home appliance with the target map to determine the location coordinates of each home appliance in the target map.

[0046] Specifically, after collecting the device location information, this information needs to be matched with the map information of the target building to determine the device's exact coordinates in three-dimensional space. This step ensures the accurate display of the device on the map, providing an intuitive basis for subsequent device control.

[0047] For example, a transformation relationship is established between the actual location of the device and the map information coordinate system, converting the location information reported by the device into map coordinates. Location matching algorithms, such as nearest-neighbor matching and projection matching, are used to map the device location information to rooms or areas on the map. Considering potential location errors caused by factors such as signal interference, Kalman filtering and particle filtering techniques are employed for error correction to improve matching accuracy.

[0048] Step S320: Based on the collected parameter information of each home appliance, identify the appliance category to which each home appliance belongs.

[0049] Specifically, by analyzing equipment parameter information, the system intelligently identifies the category to which the equipment belongs, such as air conditioners, lights, and cameras. This step provides a classification basis for subsequent equipment identification generation and equipment control, helping to build an orderly equipment control system.

[0050] For example, collect parameter information such as device type, model, and function. Establish a set of device classification rules to automatically categorize device types based on the parameter information. Apply the classification rules to intelligently identify and classify devices, providing data support for the generation of device identification and control interfaces.

[0051] Step S330: Generate corresponding device identifiers for each home appliance according to its respective device category.

[0052] Different types of home appliances have different device labels.

[0053] Specifically, based on the different equipment categories, a unique equipment identifier is generated for each type of equipment, ensuring that users can quickly distinguish and identify different types of equipment. This step is a crucial part of equipment visualization, improving the user-friendliness of the interface and the convenience of equipment control.

[0054] For example, a standard visual identifier is designed for each device category, such as a blue circular icon for air conditioners and a yellow light bulb icon for lights. Corresponding device icons are automatically generated based on the device category, and each icon contains basic device information and status indicators. Users can customize the appearance of the device icons, such as color and shape, to meet individual needs.

[0055] Step S340: According to the location coordinates of each home appliance in the target map and the corresponding device identifier of each home appliance, add device identifiers to the target map that correspond one-to-one with each home appliance in the target house.

[0056] Specifically, device icons are placed on the map information, ensuring that the positions of the device icons match the actual locations of the devices, thereby constructing a complete home scene map that matches the real-world home environment. This step directly determines whether users can intuitively control and monitor every device in their home on the map.

[0057] For example, the device identifier is placed on a map location corresponding to its coordinates to ensure accuracy. The device identifier displays the device's operating status in real time, such as on / off status and temperature setting, keeping it synchronized with the actual device status. When the device's location or status changes, the device identifier's position and status display on the map are automatically updated to maintain the timeliness of map information.

[0058] In this embodiment, the integration of wireless communication technology enables the accurate collection and matching of home device location information into map information, ensuring the accuracy of device identification on the map and providing users with an intuitive view of their home layout. Intelligent identification and classification of device parameter information generates unique and easily identifiable device identifiers for each device, improving the clarity of the user interface and the convenience of device control. The association between device identifiers and actual device status allows users to monitor the working status of each device in real time, achieving comprehensive visual management of the home environment and improving control efficiency and home security. Based on device location and identifier information, a home scene map matching the user's home environment is constructed on the map information, providing a comprehensive view of home layout, device distribution, and status, helping users better understand and control their smart devices and home environment. Through precise positioning, intelligent classification, real-time status feedback, and scene map construction, the layout visualization challenges faced by users in controlling and managing smart devices are effectively solved, achieving digital, visual, and intelligent management of the home environment. This improves the user experience and device control efficiency of the smart home system, creating a more intelligent, convenient, and safe home living environment for users.

[0059] In one embodiment, such as Figure 4 As shown, in step S340, after adding device identifiers corresponding to each home appliance in the target house to the target map according to the location coordinates of each home appliance in the target map and the device identifiers corresponding to each home appliance, the method further includes: steps S400-S420, wherein:

[0060] Step S400: Based on the collected parameter information of each home appliance, determine the control functions of each home appliance.

[0061] Specifically, by analyzing the parameter information of home appliances, the control functions supported by each device are determined. For example, air conditioners can adjust temperature and humidity, and smart light bulbs can turn on / off and adjust brightness. This step is the foundation of the entire smart home control function, ensuring the accuracy of subsequent function icon generation and device control.

[0062] For example, after receiving device parameter information, the smart home app parses the included device model, function description, and other information. Based on this parameter information, it identifies and extracts the control functions of each device through a built-in device function database or cloud service. A control function list is then created for each device, containing all supported control functions, providing a basis for generating control function icons.

[0063] Step S410: Generate control function icons corresponding to each home appliance based on the control functions of each home appliance.

[0064] Specifically, based on the control functions supported by the device, corresponding control function icons are designed and generated to visually display the device's control options in the user interface. This step improves the user interface's usability, enabling users to easily identify and operate various functions.

[0065] For example, following the design principles of easy recognition and simplicity, each icon is designed to intuitively represent its control function. Based on the list of control functions, a set of control function icons is generated for each device, with each icon corresponding to one function. An icon library is built to optimize icon loading speed and resource consumption, ensuring fast response and smooth display of icons in the user interface.

[0066] Step S420: Bind the control function icons corresponding to each home appliance to the device identifiers corresponding to each home appliance in the target map.

[0067] The target object can control the corresponding home appliances through the control function icons bound to the device identifiers in the target map.

[0068] Specifically, in the 3D home scene map, each device identifier is bound to its corresponding control function icon. Users can click or touch the device identifier to bring up the corresponding control function icon and then control the device. This step achieves a tight coupling between device identifiers and control functions, enhancing the user experience of controlling devices.

[0069] For example, in the map editing interface, logic for bringing up control function icons is added for each device identifier, typically as a click event. When a user clicks on a device identifier, a control function icon should pop up near the device identifier, displaying all available control functions. The system listens for user actions on the control function icons, including clicks, long presses, and swipes, to trigger the corresponding device control commands.

[0070] In this embodiment, intelligent parsing of parameter information ensures accurate identification of all control functions, providing a solid data foundation for the subsequent generation of control function icons and enhancing the intelligence level of device control. Based on the control function list, easily identifiable and concise function icons are generated for each device, improving the user interface's friendliness and operability, enabling users to quickly locate and operate the required control functions. The binding of device identifiers and control function icons on the map information enables intuitive device control. Users no longer need to remember complex operation paths; they can control devices simply through clicks or touches, greatly facilitating user operation and enhancing the user experience. Through the combination of device identifiers and control function icons, users can control all devices in their home comprehensively and intuitively on the map information. Whether it's the refined management of individual devices or the scene control of the entire home environment, everything is clear at a glance, achieving comprehensive intelligent control and efficient management of the home environment. By intelligently recognizing device parameter information, designing and generating function icons, and binding device identifiers with function icons, the problem of intuitively displaying and operating device control functions in map information has been solved. This has enabled the visualization of device control functions and simplified operation, thereby improving the user-friendliness of smart home systems and the efficiency of device control, and creating a more intelligent and convenient home device management environment for users.

[0071] In one embodiment, such as Figure 5 As shown, step S230 involves associating the working status of the home appliances indicated by each device identifier in the target map with the current working status of the corresponding home appliances in the target house to generate a home scene map of the target house. This includes steps S500-S520, wherein:

[0072] Step S500: Obtain the current working status of each home appliance.

[0073] Specifically, smart home systems collect real-time status information from various smart devices in the home, including but not limited to whether the device is turned on, its operating mode, and temperature settings. This is a crucial step in ensuring the accuracy and timeliness of device identification information, enabling users to understand the device status in real time.

[0074] For example, a status reporting module can be integrated into a smart device. When the device status changes, it automatically sends status information to the central control system. The central control system or smart home app receives, stores, and processes the device status information to ensure its real-time performance and accuracy.

[0075] Step S510: Determine whether the current working status of each home appliance is consistent with the working status indicated by the corresponding appliance identifier in the target map.

[0076] Specifically, after obtaining the device's current status information, it is necessary to compare these statuses with the status shown by the device identifier in the map information. This is to ensure that the device status displayed on the user interface is synchronized with the actual status and to avoid misleading the user.

[0077] For example, a status comparison logic is established to compare the status reported by the device with the status shown by the device identifier on the map in real time, and check whether the two are consistent. If a status inconsistency is found, a status update request is generated to update the status information of the device identifier on the map.

[0078] Step S520: If it is determined that there is a home appliance to be synchronized whose current working status is inconsistent with the working status indicated by the corresponding device identifier in the target map, the working status indicated by the device identifier of the home appliance to be synchronized in the target map is updated to the current working status of the home appliance to be synchronized.

[0079] Specifically, once a discrepancy is detected between the device identification status and the actual device status, the device identification status is immediately updated to ensure consistency with the actual device status. This is the core of the entire device status synchronization mechanism, guaranteeing the real-time nature and accuracy of user interface information.

[0080] For example, a status update request is sent to the map display module, instructing it to update any inconsistent device identifier status. Upon receiving the status update instruction, the map display module immediately updates the working status displayed on the device identifier to synchronize with the actual device status. After the update, a status comparison is performed again to verify whether the device identifier status is consistent with the actual device status, thus forming a status synchronization closed loop.

[0081] In this embodiment, the smart home system collects real-time operating status information of smart devices through a device status reporting mechanism, providing a data foundation for status synchronization and enhancing the overall real-time perception capability of the system. The establishment of status comparison logic and the implementation of an instant status update mechanism ensure the accuracy and real-time nature of device status indicators in the user interface, avoiding device control confusion caused by information lag or errors, and improving control efficiency and user satisfaction. Real-time updates of device status indicators improve the synchronization performance of user interface information, reducing user operation delays caused by information asynchrony, enabling users to respond and control devices instantly, and enhancing the interactivity between users and the smart home system. Consistent synchronization of device status not only improves the user interface's friendliness and operability but also enhances the stability and reliability of the smart home system, ensuring the accuracy and security of home smart environment control. Through real-time collection, comparison, and instant updates of device status, the problem of inconsistency between the device status indicators in the user interface and the actual device status is effectively solved, achieving comprehensive synchronization and consistent display of device status information, and improving the user experience, control efficiency, and system stability of the smart home system.

[0082] In one embodiment, such as Figure 6 As shown, the method further includes steps S600-S620, wherein:

[0083] Step S600: Collect environmental parameters from various home appliances in the target house.

[0084] Environmental parameters include temperature and humidity.

[0085] Specifically, continuously collecting environmental parameters inside the house, such as temperature and humidity, through smart devices is a prerequisite for real-time monitoring and intelligent environmental control. By collecting these parameters, the smart home system can understand changes in the home environment in real time, providing data support for subsequent environmental display and intelligent control.

[0086] For example, temperature and humidity sensors are integrated into smart devices, such as smart air conditioners, humidifiers, and thermostats, to ensure that the devices can continuously monitor environmental parameters. The smart devices periodically upload the collected environmental parameters to a smart home central control system or cloud server via wireless communication protocols (such as Wi-Fi, Bluetooth, or Zigbee). The central control system or cloud server receives and processes the environmental parameter data, storing it in a database for later use.

[0087] Step S610: Based on the environmental parameters collected by each home appliance and the location of each home appliance, display the environmental parameters of the corresponding location in the home scene map.

[0088] Specifically, the system visually displays environmental parameters such as temperature and humidity for each area within a 3D home scene map. By combining these environmental parameters with device locations, users can clearly understand the environmental conditions of different areas of their home, which is crucial for environmental management and device control. It can also intuitively present various data within the home, such as lighting, temperature, air quality, and energy consumption, helping users understand their home's situation and achieving data visualization.

[0089] For example, a parameter-location mapping logic is established to match the environmental parameters reported by the device with the device's location on the map, ensuring accurate information positioning. In the home scene map, environmental parameters are displayed near the corresponding device identifier in the form of charts or numerical displays; for example, different colors are used to represent high and low temperatures, and humidity is displayed directly as a numerical value. A real-time interface update mechanism is designed to ensure that the environmental parameters on the map change in real time as device data is updated, providing the latest environmental status information.

[0090] Step S620: If it is determined that the environmental parameters in the target area exceed the preset range, control the actions of the home appliances in the target area to bring the environmental parameters back to the preset range, and display the execution status of the home appliances that have taken action on the home scene map.

[0091] Specifically, when the system detects that environmental parameters (such as temperature and humidity) in a certain area deviate from the preset ideal range, it will intelligently adjust the devices in that area (such as air conditioners and humidifiers) to restore the normal environment. At the same time, the system will display the actions and execution status of these devices on the home scene map, allowing users to understand how the devices respond to environmental changes.

[0092] For example, the system continuously monitors environmental parameters in each area of ​​the home scene map, compares them with preset ideal ranges, and determines whether intelligent control needs to be activated. Based on the analysis results of the environmental parameters, the system automatically selects appropriate devices for control, such as activating the air conditioner to cool down when the temperature is too high, and controlling the humidifier to adjust the humidity when it is unsuitable. On the home scene map, the execution status of the controlled devices is displayed in the form of animations or status icons, such as an air conditioner icon showing cold air flow indicating that it is cooling, and a humidifier icon showing water mist indicating that it is humidifying.

[0093] In this embodiment, sensors integrated into smart devices collect and report environmental parameters, such as temperature and humidity, in real time, providing the system with real-time environmental data and enhancing the environmental perception capabilities of the smart home system. The environmental parameters of each area are intuitively displayed on the home scene map, allowing users to clearly monitor the state of their home environment, improving user experience and a sense of control over their home environment. When environmental parameters deviate from the ideal range, the system can automatically control the corresponding devices to adjust the environment, while displaying the device's execution status on the map. This achieves intelligent environmental control and visualized user feedback, improving the efficiency and intelligence level of environmental regulation. Intelligent environmental control not only improves the living environment but can also achieve rational energy allocation and reduce energy consumption through intelligent scheduling of different devices, while maintaining efficient system operation, demonstrating the advantages of smart home systems in energy saving and performance optimization. Real-time monitoring and intelligent control of environmental parameters can also predict potential device failures to some extent. For example, prolonged high-temperature operation of an air conditioner may indicate a problem with the cooling system, and prolonged high-load operation of a humidifier may mean that the filtration system needs cleaning, thus allowing for proactive measures to reduce equipment maintenance costs and failure risks. Through real-time monitoring, visualization, and intelligent control of environmental parameters, the system achieves comprehensive perception and intelligent management of the environmental status in the home environment, improving the living experience and demonstrating the comprehensive advantages of smart home systems in environmental control, energy consumption optimization, and fault early warning.

[0094] In one embodiment, the method also includes control of whole-house devices, i.e., supporting batch control by clicking on the entire room or selecting whole-house devices.

[0095] Specifically, this feature allows users to control the status of devices in a room or the entire house in batches by clicking on a single room icon or selecting all devices in the house, such as turning lights on or off or adjusting the air conditioning temperature. This batch control function greatly simplifies the operation process and improves user efficiency when controlling multiple devices, especially when users need to quickly adjust the environmental settings of an entire room or the entire house.

[0096] For example, a smart home system needs to have the ability to group devices by room or throughout the house. Devices in each room can be considered a subgroup, while all devices in the house constitute a total group containing all subgroups. When a user selects a batch control operation, the system parses the user command and generates a batch control command. This command includes the ID of the selected room or all devices and the user-specified device status, such as on / off status, temperature setting, etc. The system sends the batch control command to the specified devices. Upon receiving the command, the devices adjust their own status and synchronize with the system, ensuring that the device status displayed on the user interface matches the actual status. After the device status is adjusted, the system immediately provides feedback to the user, displaying the latest status of the room or all devices, achieving real-time synchronization between user operation and device status.

[0097] This method also includes scene control, where users can create different scenes, such as "home mode" and "sleep mode," and set the device's state within those scenes. When a scene is triggered, the app automatically controls the relevant device to switch to the preset state.

[0098] Specifically, the scene control function allows users to preset combinations of device operations for specific environmental states. For example, "Home Mode" can automatically turn on lights and adjust the air conditioning temperature. When a user triggers a preset scene mode, the smart home system automatically executes the corresponding device control sequence to achieve the user-preset environmental effect. This mode not only simplifies operation but also provides personalized environmental settings based on user habits and needs, enhancing the comfort and convenience of living.

[0099] For example, users create scenes through the app interface, setting the scene name, description, and preset states of devices within the scene. The system saves the scene definition information and associates it with the user's account and home device information. Users can manually trigger or set automatic trigger conditions (such as time, geographical location, etc.) to activate preset scene modes. Setting trigger conditions enhances the flexibility and automation level of scene control. When a scene is triggered, the system generates a series of device control commands based on the scene definition, automatically controlling the relevant devices to adjust to preset states. The command sequence is executed in a preset order, ensuring the continuity and consistency of all device state adjustments. After the scene control commands are executed, the system collects device status feedback and updates the user interface display, ensuring that the user sees the latest adjusted device states, achieving closed-loop feedback for scene control.

[0100] In this embodiment, the whole-house device control function simplifies the control of multiple devices, achieving one-click control of devices within a room or throughout the house, significantly improving user efficiency and convenience. The scene control function allows users to preset environmental states according to personal habits and needs, automatically adjusting relevant device states with a single click, achieving personalized and convenient environmental control. Through preset scene control, users can ensure that the home environment reaches an ideal level of comfort and safety at specific times or under specific conditions. For example, "sleep mode" provides a quiet, dimly lit resting environment, while "away mode" automatically shuts down unnecessary devices, enhancing home security. The introduction of whole-house device control and scene control mechanisms not only simplifies user operation but also demonstrates the smart home system's deep understanding of user needs and intelligent response capabilities, enhancing the overall intelligence level of the system.

[0101] In one embodiment, such as Figure 7 As shown, step S200 involves parsing the floor plan data of the target house input by the target object to determine the initial map information of the target house. This includes steps S700-S710, wherein:

[0102] Step S700: Upon receiving the floor plan image of the target house input by the target object, a preset detection model is used to extract two-dimensional floor plan feature data from the floor plan image to generate a two-dimensional floor plan of the target house.

[0103] The apartment type feature data includes room outlines and room layouts.

[0104] Specifically, when a user uploads a floor plan image of a target house, the smart home system analyzes the image using a pre-set detection model (such as a deep learning model), extracting key features such as room outlines and layouts to generate a two-dimensional floor plan based on the image. This is a crucial step in transforming the user-input floor plan image into actionable data, laying the foundation for subsequent map information construction.

[0105] For example, user-uploaded floor plan images are preprocessed, including size standardization, grayscale conversion, and contrast enhancement, to improve the accuracy of feature extraction. A pre-trained feature detection model (such as an edge detection model based on a convolutional neural network) is used to analyze the preprocessed floor plan image, extracting two-dimensional floor plan feature data such as room outlines, door and window positions, and layout structure. The extracted floor plan feature data is then converted into a computer-readable format to generate a two-dimensional floor plan, including information such as the location, size, and shape of each room.

[0106] Step S710: Based on the three-dimensional dimension information of the target house input by the target object, the two-dimensional floor plan is converted into a three-dimensional floor plan to obtain the initial map information of the target house.

[0107] Specifically, in addition to uploading floor plan images, users also need to provide the three-dimensional dimensions of the house, including floor height and room dimensions. Based on this information, the system converts the previously generated two-dimensional floor plan into a three-dimensional floor plan, constructing a realistic three-dimensional model of the target house, i.e., the initial map information. This is a crucial step in transitioning from a two-dimensional view to a three-dimensional spatial display, enabling users to more intuitively understand and control their home environment.

[0108] For example, the user input interface provides input fields for 3D dimension information, ensuring users can provide dimensional data such as room height and floor height. Combining the feature data of the 2D floor plan with the 3D dimension information, a spatial model is constructed using 3D modeling software, expanding the planar layout into a three-dimensional structure. Through 3D rendering technology, the constructed 3D floor plan is rendered into interactive map information, including visual effects such as materials, lighting, and shadows, to provide users with a realistic home environment model. The generated map information provides users with a three-dimensional view of their home environment, allowing them to freely navigate in 3D space, view the home layout and device locations, making home management and device control more intuitive and efficient. The map information not only displays the house structure but also accurately locates and displays devices based on their 3D location information, facilitating device control and home environment adjustments, enhancing control accuracy and user experience. By converting the 2D floor plan into a 3D floor plan, a visual upgrade of home layout and device control is achieved. Users are no longer limited to a planar view but can manage their home environment more intuitively in 3D space, improving the overall user-friendliness and intelligence level of the smart home system. By intelligently analyzing and extracting features from floor plan images, accurately constructing 3D spatial models, and providing a three-dimensional display of the home environment, the visualization and control capabilities of smart home systems are effectively enhanced.

[0109] In this embodiment, the floor plan images uploaded by the user can be intelligently analyzed by the system to extract key two-dimensional floor plan feature data, including room outlines and layouts, providing accurate planar information for subsequent map construction. Combined with the three-dimensional dimension information provided by the user, the two-dimensional floor plan feature data is converted into a three-dimensional floor plan, constructing a three-dimensional model that accurately reflects the home environment, i.e., the initial map information, improving the intuitiveness and accuracy of home layout visualization and device control.

[0110] In one embodiment, step S200 involves parsing the floor plan data of the target house input by the target object to determine the initial map information of the target house. It also includes:

[0111] The target object draws the initial map information of the target house. Users can use their fingers or styluses to draw the outline of the room on the APP. The APP automatically recognizes the lines and fills in the length to generate a 3D map.

[0112] Specifically, the manual drawing function allows users to directly participate in the creation of floor plans. Users simply draw room outlines using their fingers or styluses on the app interface, and the system automatically recognizes and completes the lines, generating a 3D room model. This not only simplifies the map creation process but also increases user engagement and the personalization of the maps.

[0113] For example, the app integrates a graphic recognition algorithm that can identify lines and closed areas drawn by the user in real time, automatically completing lines and angles to ensure the integrity and accuracy of the room outline. After the 2D drawing is completed, the system uses 3D modeling technology to transform the planar outline into a three-dimensional 3D room model based on the outline information drawn by the user and the preset room height. Intuitive drawing tools, such as zoom in / out, eraser, and color selection, are provided, allowing users to easily draw and modify room outlines, ensuring the convenience and flexibility of map creation.

[0114] The app generates an initial map of the target house based on the apartment layout of the residential complex. The app calls the apartment layout data from the platform. After the user selects the residential complex and apartment layout, a 3D apartment layout map is generated directly.

[0115] Specifically, the smart home app can access existing apartment layout data. Users only need to select their neighborhood and apartment type, and the system can quickly generate a 3D apartment layout map, greatly saving users the time and effort of manually creating maps.

[0116] For example, the app's backend integrates with the floor plan data interfaces of platforms such as Kujiale to ensure real-time data retrieval and efficient transmission. The user interface design provides options for selecting neighborhoods and floor plans; the system automatically matches the closest available floor plan data based on the user's selection. After acquiring the floor plan data, the system automatically converts it into map information, including room layout and elevation information, generating a 3D floor plan map containing all rooms.

[0117] The target object generates the initial map information of the target house by dragging and combining. In 2D mode, users can freely drag and drop room and wall models to customize and generate the house map.

[0118] Specifically, through drag-and-drop operations, users can freely adjust the positions of rooms and walls in 2D mode to create custom floor plans. This interactive method is more intuitive, allowing users to flexibly adjust their home layout according to their needs and preferences.

[0119] For example, a model library containing various room and wall models is developed, from which users can select the models they need. A drag-and-drop interface is designed so that after selecting a model, the user can drag it to any location on the map, and the system recognizes and updates the model's position information in real time. After the user completes the 2D layout editing, the system automatically converts the 2D layout information into a 3D model, generating a 3D floor plan map, including the 3D position and size information of the rooms and walls.

[0120] The system generates initial map information for the target house by scanning with a robot, and supports scanning house layout data with devices such as robot vacuum cleaners to supplement and generate a map.

[0121] Specifically, by utilizing the environmental sensing and data collection functions built into devices such as robotic vacuum cleaners, smart home systems can collect room layout and size information to supplement or correct existing floor plans. This device-scanning-based generation method improves the accuracy and reliability of maps, making it particularly suitable for homes with complex layouts or those requiring high-precision maps.

[0122] For example, environmental sensing sensors, such as LiDAR and cameras, can be integrated into devices like robotic vacuum cleaners. During cleaning, the device collects real-time information about the room's layout and dimensions. The collected data is then transmitted wirelessly to a smart home app or central control system. The system analyzes and processes the data, extracting key information about the room's layout and dimensions. Based on the scanned data, the system updates or supplements existing floor plans, generating a more accurate 3D map, including details such as the specific room layout, wall locations, and dimensions.

[0123] In this embodiment, multiple methods for generating floor plan maps are provided to meet the needs of different users in different scenarios, thereby enhancing the adaptability and user satisfaction of the smart home system.

[0124] In one embodiment, such as Figure 8 As shown, step S210, in response to the target object's floor plan editing instruction, adjusts the floor plan structure in the initial map information to obtain the target map of the target house. This includes steps S800-S810, wherein:

[0125] Step S800: Adjust the floor plan structure in the initial map information in response to the floor plan editing command of the target object.

[0126] The adjustment methods include adding walls, deleting walls, and adjusting wall dimensions.

[0127] Specifically, users can modify the floor plan structure in the initial map information using floor plan editing commands. Users can add or delete walls, or adjust wall dimensions, to more accurately reflect the actual home layout. This feature enhances the customization and flexibility of map information, ensuring an accurate simulation of the smart home environment.

[0128] For example, a smart home app or system receives floor plan editing instructions from the user through the interface, including specific parameters for adding, deleting, or adjusting wall dimensions. Based on the floor plan editing instructions, the system adjusts the wall model in the map information, including generating new walls, deleting specified walls, or changing wall dimensions. After the walls are modified, the system immediately updates the map rendering to ensure the user interface can display the modified floor plan structure in real time, providing immediate feedback.

[0129] Step S810: In response to the floor plan editing instruction of the target object, select multiple models from the preset model library and place the multiple models in the initial map information according to the positions indicated in the floor plan editing instruction to obtain the target map.

[0130] Specifically, users can use user-defined editing commands to select furniture, decorations, and other models from a pre-set model library and place them in appropriate locations on the map. This step enhances user interactivity and creativity within the map information, allowing users to build personalized virtual home environments.

[0131] For example, a model library containing various furniture, decorative items, and other models is developed. Each model in the library has detailed 3D coordinates and attribute information. Users select the desired model from the library using floor plan editing commands. The system places the model at the corresponding location on the map based on the location information indicated in the commands. Users can adjust the model's position and orientation on the map by dragging, rotating, etc. The system saves these adjustments in real time to the map data to reflect the user's design intent.

[0132] In this embodiment, users can modify the floor plan structure in the map information by adding, deleting, or adjusting wall dimensions according to their actual needs. This achieves accurate simulation and customized adjustment of the home layout, improving the practicality and personalization of the map information. Users can select furniture, decorations, and other models from a preset model library and place them in designated locations on the map information to construct a personalized virtual home environment, enhancing the system's interactivity and user experience. The system can respond to users' floor plan editing commands in real time, instantly updating the wall structure and furnishing models in the map information, providing users with immediate visual feedback and operational response, improving user operation fluency and satisfaction. By editing the 3D floor plan structure and furnishing models, users can control smart home devices in a more immersive and realistic home environment, improving the intuitiveness and fun of control operations, and enhancing the overall attractiveness and user stickiness of the smart home system. Users can utilize the map information editing function to plan their home layout and decoration design in advance, previewing the decoration effect by virtually placing furniture and decorations, reducing uncertainties in the actual decoration process, and saving time and costs. By customizing the apartment layout and creating a personalized virtual home environment, the user interactivity, personalization, and operational smoothness of the smart home system are greatly improved. This not only enhances the immersive experience for users when controlling smart home devices but also provides a powerful tool for home planning and interior design.

[0133] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of the present invention.

[0134] Figure 9 This is a structural block diagram of a home scene map generation device according to an embodiment of the present invention. Figure 9 As shown, it includes:

[0135] The parsing module 901 is used to parse the floor plan data of the target house input by the target object in order to determine the initial map information of the target house.

[0136] The editing module 902 is used to adjust the floor plan structure in the initial map information in response to the floor plan editing command of the target object to obtain the target map of the target house.

[0137] The device adding module 903 is used to add device identifiers corresponding to each home appliance in the target house on the target map based on the location of the home appliances in the target house. The device identifiers are used to indicate the location of the corresponding home appliances on the target map.

[0138] The device association module 904 is used to associate the working status of the home devices indicated by each device identifier in the target map with the current working status of the corresponding home devices in the target house, so as to generate a home scene map of the target house.

[0139] In one exemplary embodiment, the device adding module 903 is further configured to collect location information transmitted by various home appliances in the target house via a wireless communication protocol. The location information of each home appliance is matched with a target map to determine the location coordinates of each home appliance in the target map. Based on the collected parameter information of each home appliance, the device category to which each home appliance belongs is identified. A corresponding device identifier is generated for each home appliance according to its respective device category, wherein different device identifiers correspond to different device categories. Based on the location coordinates of each home appliance in the target map and the corresponding device identifiers, device identifiers corresponding one-to-one with each home appliance in the target house are added to the target map.

[0140] In one exemplary embodiment, the device further includes:

[0141] The function determination module is used to determine the control functions of each home appliance based on the collected parameter information.

[0142] The icon generation module is used to generate control function icons corresponding to each home appliance based on its control functions.

[0143] The function binding module is used to bind the control function icons corresponding to each home appliance to the device identifiers corresponding to each home appliance in the target map. The target object can control the corresponding home appliance through the control function icons bound to the device identifiers in the target map.

[0144] In one exemplary embodiment, the device association module 904 is further configured to obtain the current operating status of each home appliance. It determines whether the current operating status of each home appliance is consistent with the operating status indicated by the corresponding device identifier in the target map. If it is determined that there are home appliances to be synchronized whose current operating status is inconsistent with the operating status indicated by the corresponding device identifier in the target map, the operating status indicated by the device identifier of the home appliance to be synchronized in the target map is updated to the current operating status of the home appliance to be synchronized.

[0145] In one exemplary embodiment, the device further includes:

[0146] The parameter collection module is used to collect environmental parameters from various home appliances in the target house, including temperature and humidity.

[0147] The environment display module is used to display the environmental parameters of each home device in the home scene map based on the environmental parameters collected by each home device and the location of each home device.

[0148] The environmental adjustment module is used to control the actions of home appliances in the target area to bring the environmental parameters back to the preset range when the environmental parameters in the target area exceed the preset range, and to display the execution status of the home appliances that have taken action on the home scene map.

[0149] In an exemplary embodiment, the parsing module 901 is further configured to, upon receiving a floor plan image of the target house input by the target object, extract two-dimensional floor plan feature data from the floor plan image using a preset detection model to generate a two-dimensional floor plan of the target house, wherein the floor plan feature data includes room outlines and room layouts. Based on the three-dimensional dimension information of the target house input by the target object, the two-dimensional floor plan is converted into a three-dimensional floor plan to obtain the initial map information of the target house.

[0150] In an exemplary embodiment, the editing module 902 is further configured to adjust the floor plan structure in the initial map information in response to the floor plan editing instruction of the target object, wherein the adjustment method includes adding walls, deleting walls, and adjusting wall dimensions. In response to the floor plan editing instruction of the target object, multiple models are selected from a preset model library, and the multiple models are placed in the initial map information according to the positions indicated in the floor plan editing instruction to obtain the target map.

[0151] Embodiments of the present invention also provide a storage medium comprising a stored program, wherein the program, when executed, performs any of the methods described above.

[0152] Optionally, in this embodiment, the storage medium may be configured to store program code for performing the following steps:

[0153] S1, parse the floor plan data of the target house input by the target object to determine the initial map information of the target house.

[0154] S2, in response to the target object's floor plan editing command, adjusts the floor plan structure in the initial map information to obtain the target map of the target house.

[0155] S3. Based on the location of the home appliances in the target house, add device identifiers to the target map that correspond one-to-one with each home appliance in the target house. The device identifiers are used to indicate the location of the corresponding home appliances on the target map.

[0156] S4. Associate the working status of the home appliances indicated by each device identifier in the target map with the current working status of the corresponding home appliances in the target house to generate a home scene map of the target house.

[0157] Embodiments of the present invention also provide an electronic device including a memory and a processor, the memory storing a computer program and the processor being configured to run the computer program to perform the steps in any of the above method embodiments.

[0158] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.

[0159] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:

[0160] S1, parse the floor plan data of the target house input by the target object to determine the initial map information of the target house.

[0161] S2, in response to the target object's floor plan editing command, adjusts the floor plan structure in the initial map information to obtain the target map of the target house.

[0162] S3. Based on the location of the home appliances in the target house, add device identifiers to the target map that correspond one-to-one with each home appliance in the target house. The device identifiers are used to indicate the location of the corresponding home appliances on the target map.

[0163] S4. Associate the working status of the home appliances indicated by each device identifier in the target map with the current working status of the corresponding home appliances in the target house to generate a home scene map of the target house.

[0164] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0165] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.

[0166] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0167] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A method for generating a home scene map, characterized in that, include: Parse the floor plan data of the target house input by the target object to determine the initial map information of the target house; In response to the floor plan editing command of the target object, the floor plan structure in the initial map information is adjusted to obtain the target map of the target house; Based on the location of the home appliances in the target house, add device identifiers corresponding to each home appliance in the target house to the target map, wherein the device identifiers are used to indicate the location of the corresponding home appliances in the target map; The working status of the home appliances indicated by each device identifier in the target map is associated with the current working status of the corresponding home appliances in the target house to generate a home scene map of the target house.

2. The method for generating a home scene map according to claim 1, characterized in that, The step of adding device identifiers corresponding one-to-one with each piece of furniture in the target house to the target map based on the location of the furniture in the target house includes: Location information transmitted by each home appliance in the target house is collected through a wireless communication protocol; the location information of each home appliance is matched with the target map to determine the location coordinates of each home appliance in the target map; Based on the collected parameter information of each of the home appliances, identify the appliance category to which each of the home appliances belongs; Based on the device category to which each of the home appliances belongs, a corresponding device identifier is generated for each of the home appliances, wherein the device identifiers are different for home appliances of different device categories; according to the location coordinates of each of the home appliances in the target map and the device identifiers corresponding to each of the home appliances, a device identifier corresponding to each of the home appliances in the target house is added to the target map.

3. The method for generating a home scene map according to claim 2, characterized in that, After adding device identifiers corresponding one-to-one with each home appliance in the target house to the target map according to the location coordinates of each home appliance in the target map and the device identifiers corresponding to each home appliance, the method further includes: Based on the collected parameter information of each of the home appliances, the control functions of each of the home appliances are determined respectively; Generate control function icons corresponding to each of the aforementioned home appliances based on their respective control functions; The control function icons corresponding to each of the aforementioned home appliances are respectively bound to the device identifiers corresponding to each of the aforementioned home appliances in the target map, wherein the target object can control the corresponding home appliances through the control function icons bound to the device identifiers in the target map.

4. The method for generating a home scene map according to any one of claims 1-3, characterized in that, The step of associating the working status of the home appliances indicated by each device identifier in the target map with the current working status of the corresponding home appliances in the target house includes: Obtain the current working status of each of the aforementioned home devices; Determine whether the current working status of each of the aforementioned home appliances is consistent with the working status indicated by the corresponding device identifier in the target map; If it is determined that there is a home appliance to be synchronized whose current working status is inconsistent with the working status indicated by the corresponding device identifier in the target map, the working status indicated by the device identifier of the home appliance to be synchronized in the target map is updated to the current working status of the home appliance to be synchronized.

5. The method for generating a home scene map according to any one of claims 1-3, characterized in that, The method further includes: Collect environmental parameters from various home appliances in the target house, including temperature and humidity. Based on the environmental parameters collected by each of the home appliances and the location of each of the home appliances, the environmental parameters of the corresponding locations are displayed in the home scene map; If the environmental parameters within the target area exceed a preset range, the actions of the home appliances within the target area are controlled to bring the environmental parameters within the preset range, and the execution status of the home appliances that have taken action is displayed on the home scene map.

6. The method for generating a home scene map according to any one of claims 1-3, characterized in that, The process of parsing the floor plan data of the target house input by the target object to determine the initial map information of the target house includes: Upon receiving the floor plan image of the target house input by the target object, a preset detection model is used to extract two-dimensional floor plan feature data from the floor plan image to generate a two-dimensional floor plan of the target house, wherein the floor plan feature data includes room outlines and room layouts; Based on the three-dimensional dimension information of the target house input by the target object, the two-dimensional floor plan is converted into a three-dimensional floor plan to obtain the initial map information of the target house.

7. The method for generating a home scene map according to any one of claims 1-3, characterized in that, The step of adjusting the floor plan structure in the initial map information to obtain a target map of the target house in response to the floor plan editing command of the target object includes: In response to the floor plan editing command of the target object, the floor plan structure in the initial map information is adjusted, wherein the adjustment methods include adding walls, deleting walls, and adjusting wall dimensions; In response to the floor plan editing command of the target object, multiple models are selected from a preset model library, and the multiple models are placed in the initial map information according to the positions indicated in the floor plan editing command to obtain the target map.

8. A device for generating a home scene map, characterized in that, include: The parsing module is used to parse the floor plan data of the target house input by the target object in order to determine the initial map information of the target house; The editing module is used to adjust the floor plan structure in the initial map information in response to the floor plan editing command of the target object to obtain the target map of the target house; The device adding module is used to add device identifiers corresponding to each piece of home equipment in the target house to the target map based on the location of the home equipment in the target house. The device identifiers are used to indicate the location of the corresponding home equipment in the target map. The device association module is used to associate the working status of the home devices indicated by each device identifier in the target map with the current working status of the corresponding home devices in the target house, so as to generate a home scene map of the target house.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program, when executed, performs the method of any one of claims 1 to 7.

10. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the method of any one of claims 1 to 7 through the computer program.