Method and apparatus for generating environment model, display method and apparatus, device and storage medium

By generating and displaying environment models, the problem of users being unable to intuitively monitor smart home devices is solved, dynamic monitoring of the location and status of smart devices is achieved, and the effectiveness of device control services is improved.

WO2024193610A1PCT designated stage expired Publication Date: 2024-09-26SHENZHEN LUMIUNITED TECH CO LTD

Patent Information

Application Number
PCT/CN2024/082813
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-20
Filing Date
2024-03-20
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

In the existing technology, users cannot intuitively monitor each smart device in a smart home scenario, which affects the effectiveness of device control services. In particular, the location and status of specific devices cannot be determined, which affects the effective adjustment of the environment.

Method used

By generating and displaying the environment model, electronic devices are used to display the spatial layout of the target scene, identify and locate the location of the smart device, generate an environment model based on this information, describe the status of the device, and dynamically update it to reflect changes in the device.

Benefits of technology

It realizes intuitive monitoring and effective management of various smart devices in smart home scenarios, improves the effectiveness of device control services, can grasp the status of equipment and facilities in real time, and enhances the ability to dynamically adjust the environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024082813_26092024_PF_FP
    Figure CN2024082813_26092024_PF_FP
Patent Text Reader

Abstract

Provided by the present application are a method and apparatus for generating an environment model, a display method and apparatus, an electronic device and a computer-readable storage medium. The method for generating an environment model comprises: displaying a spatial layout diagram corresponding to a target scene, the spatial layout diagram being generated on the basis of the relationship between the trajectory of a first target object in the target scene and each space in the target scene; identifying each second target object deployed in the target scene, and obtaining the position of each identified second target object in the target scene; and according to the position of each second target object in the target scene and the spatial layout diagram corresponding to the target scene, generating an environment model of the target scene, the environment model being used for describing the state of at least one of the first target object and a second target object in the target scene.
Need to check novelty before this filing date? Find Prior Art

Description

Environmental model generation method, display method, device, equipment and storage medium

[0001] This application claims priority to Chinese patent application CN2023102704643, filed on March 20, 2023, entitled “Environmental model generation method, display method, device, equipment and storage medium”, the entire contents of which are incorporated herein by reference. Technical Field

[0002] The present application relates to the field of Internet of Things technology. Specifically, the present application relates to an environment model generation method, display method, device, electronic device and storage medium. Background Art

[0003] With the development of the field of Internet of Things technology, smart devices can be deployed in various scenarios. For example, the scenario can be a smart home scenario, so as to provide people with device control services for each smart device in the scenario, so that people can enjoy a more comfortable living / learning / working environment. This also makes people increasingly concerned about how to better monitor the smart devices in the scene so as to adjust the environment in a timely manner.

[0004] In the current device monitoring solution, users cannot intuitively monitor the various smart devices in the smart home scene. For example, there are multiple air conditioners deployed in the living room, and the temperature in the upper left corner of the living room is relatively high. Since the user is not clear about the location of each air conditioner in the living room, he cannot determine which air conditioner should be controlled to achieve the purpose of adjusting the temperature in the upper left corner of the living room, thereby affecting the effectiveness of the device control service.

[0005] As can be seen from the above, the relevant technology still lacks a solution for intuitively monitoring each smart device in the scene, which in turn affects the effectiveness of the device control service.

[0006] Summary of the Invention

[0007] The present application provides a method for generating, displaying, device, electronic device and storage medium for an environment model.

[0008] According to one aspect of the present application, a method for generating an environmental model is performed by an electronic device, the method comprising: displaying a spatial layout diagram corresponding to a target scene; the spatial layout diagram is generated based on the relationship between the trajectory of a first target object in the target scene and each space in the target scene; identifying each second target object deployed in the target scene, and obtaining the position of each identified second target object in the target scene; generating an environmental model of the target scene based on the position of each second target object in the target scene and the spatial layout diagram corresponding to the target scene; the environmental model is used to describe at least one of the states of the first target object and the second target object in the target scene.

[0009] According to one aspect of the present application, a method for displaying an environmental model includes: displaying an environmental model corresponding to a target scene, the environmental model including at least one of the states of each first target object and each second target object in the target scene; the environmental model is generated based on a spatial layout diagram of the target scene and the positions of each second target object in the target scene, the spatial layout diagram is generated based on the relationship between the trajectory of the first target object in the target scene and each space in the target scene; when it is identified that the state of at least one of the first target objects and the second target objects has changed, the updated state of at least one of the first target objects and the second target objects is displayed in the environmental model.

[0010] According to one aspect of the present application, a device for generating an environmental model includes: a layout diagram display module for displaying a spatial layout diagram corresponding to a target scene; the spatial layout diagram is generated based on the relationship between the trajectory of a first target object in the target scene and each space in the target scene; an object recognition module for identifying each second target object deployed in the target scene and obtaining the position of each identified second target object in the target scene; a model generation module for generating an environmental model of the target scene based on the position of each second target object in the target scene and the spatial layout diagram corresponding to the target scene; the environmental model is used to describe the state of at least one of the first target object and the second target object in the target scene.

[0011] According to one aspect of the present application, an electronic device includes at least one processor and at least one memory, wherein the memory stores computer-readable instructions; when the computer-readable instructions are executed by one or more of the processors, the method for generating an environmental model as described above is implemented.

[0012] According to one aspect of the present application, a computer-readable storage medium stores computer-readable instructions, which, when executed by one or more processors, implement the above-mentioned method for generating an environment model.

[0013] According to one aspect of the present application, a computer program product includes computer-readable instructions, which implement the above-mentioned method for generating an environment model when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solutions provided by this application, the following briefly introduces the drawings required for use in describing each embodiment of this application.

[0015] FIG1 is a schematic diagram of an implementation environment according to an embodiment of the present application;

[0016] FIG2 is a flow chart showing a method for generating an environment model according to an exemplary embodiment;

[0017] FIG3 is a schematic diagram showing a spatial layout diagram corresponding to a home scene according to an exemplary embodiment;

[0018] FIG4a is a schematic diagram of an environment model of a home scene according to an exemplary embodiment;

[0019] FIG4 b is a schematic diagram of an environment model of a home scene according to another exemplary embodiment;

[0020] FIG5 is a flow chart showing a method for generating an environment model according to an exemplary embodiment;

[0021] FIG6 is a flow chart showing a method for generating an environment model according to an exemplary embodiment;

[0022] FIG7 is a flow chart showing a method for generating an environment model according to an exemplary embodiment;

[0023] FIG8 is a flow chart showing a method for generating an environment model according to an exemplary embodiment;

[0024] FIG9 is a flow chart showing a generation process diagram of a method for generating an environment model according to an exemplary embodiment;

[0025] FIG10 is a schematic diagram showing a process of generating a spatial layout diagram corresponding to a target scene according to an exemplary embodiment;

[0026] FIG11 is a flow chart showing a method for displaying an environment model according to an exemplary embodiment;

[0027] FIG12 is a structural block diagram of a device for generating an environment model according to an exemplary embodiment;

[0028] FIG13 is a structural block diagram of an environment model display device according to an exemplary embodiment;

[0029] FIG14 is a hardware structure diagram of an electronic device according to an exemplary embodiment;

[0030] Fig. 15 is a structural block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0031] The following describes in detail embodiments of the present application, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and are not to be construed as limiting the present application.

[0032] As mentioned above, the relevant technology still lacks a solution for intuitively monitoring each smart device in the scene, which in turn affects the effectiveness of the device control service.

[0033] Taking the smart home scene as an example, most technical solutions only obtain the floor plan consisting of the edges of the home rooms, and are unable to obtain the locations of various smart devices in the smart home scene in the smart home scene, and thus cannot associate various smart devices with the home room where the smart home scene is located, and thus cannot realize intuitive monitoring based on the home room for various smart devices in the smart home scene.

[0034] Currently, the monitoring of various smart devices in smart home scenarios mainly relies on user terminals. For example, in a smart home scenario, the user terminal determines whether the air conditioner in the living room is turned on, as well as the temperature and operating mode of the air conditioner based on the device status data reported by the air conditioner, and displays it. However, under this monitoring solution, users cannot intuitively monitor the various smart devices in the smart home scenario, which affects the effectiveness of the device control service. In addition, it is difficult to effectively monitor non-smart devices in smart home scenarios, because non-smart devices are also important environmental factors. This further increases the difficulty of improving the effectiveness of device control services for the entire house.

[0035] As can be seen from the above, the related art still has the defect of low effectiveness of device control services.

[0036] To this end, the environmental model generation method provided in the present application can generate an environmental model corresponding to the target scene to describe the state of the second target object in the target scene. Through the environmental model, each second target object in the target scene is associated with the spatial layout diagram corresponding to the target scene, thereby realizing a device monitoring solution based on spatial positioning, thereby effectively improving the effectiveness of the device control service. Accordingly, the environmental model generation method is suitable for an environmental model generation device, and the environmental model generation device can be deployed on an electronic device, for example, the electronic device can be a smart phone, a tablet computer, etc.

[0037] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0038] FIG1 is a schematic diagram of an implementation environment involved in a method for generating an environment model. The implementation environment includes at least a user terminal 110, a smart device 130, a server 170, and network devices. In FIG1 , the network devices include a gateway 150 and a router 190, but this is not intended to be a specific limitation.

[0039] Among them, the user terminal 110, which can also be considered as a user end or terminal, can deploy (also understood as install) the client associated with the smart device 130. This user terminal 110 can be an electronic device such as a smart phone, tablet computer, laptop computer, desktop computer, smart control panel, other devices with display and control functions, etc., which are not limited here.

[0040] Among them, the client is associated with the smart device 130. In essence, the user registers an account in the client and configures the smart device 130 in the client. For example, the configuration includes adding a device identifier to the smart device 130, so that when the client is run in the user terminal 110, it can provide the user with device display, device control and other functions about the smart device 130. This client can be in the form of an application or a web page. Accordingly, the interface for device display on the client can be in the form of a program window or a web page, which is not limited here.

[0041] The smart device 130 is deployed in the gateway 150, and communicates with the gateway 150 through its own configured communication module, and is thereby controlled by the gateway 150. It should be understood that the smart device 130 generally refers to one of a plurality of smart devices 130, and the embodiment of the present application only takes the smart device 130 as an example, that is, the embodiment of the present application does not limit the number and device types of smart devices deployed in the gateway 150. In an application scenario, the smart device 130 accesses the gateway 150 through a local area network, and is thereby deployed in the gateway 150. The process of the smart device 130 accessing the gateway 150 through the local area network includes: the gateway 150 first establishes a local area network, and the smart device 130 joins the local area network established by the gateway 150 by connecting to the gateway 150. This local area network includes but is not limited to: ZIGBEE or Bluetooth. Among them, the smart device 130 can be a smart printer, a smart fax machine, a smart camera, a smart air conditioner, a smart door lock, a smart light, or a human body sensor equipped with a communication module, a door and window sensor, a temperature and humidity sensor, a water immersion sensor, a natural gas alarm, a smoke alarm, a wall switch, a wall socket, a wireless switch, a wireless wall sticker switch, a Rubik's Cube controller, a curtain motor, a millimeter wave radar, etc.

[0042] It should be noted that the millimeter-wave radar can transmit FMCW signals to other smart devices 130 and then receive echo signals reflected by other smart devices 130, or capture micro-motion signals generated by other smart devices 130 during operation and receive echo signals. Because the echo signal covers all distance ranges, it can detect all moving objects within the millimeter-wave radar's detection range. Based on this characteristic of millimeter-wave radar, it can effectively monitor other smart devices. The micro-motion signal refers to the vibration waves generated by the operation of other smart devices 130, such as smart air conditioners, fans, vacuum cleaners, air purifiers, and computer cases with rotating fans.

[0043] The interaction between the user terminal 110 and the smart device 130 can be achieved through a local area network or a wide area network. In one application scenario, the user terminal 110 establishes a wired or wireless communication connection with the gateway 150 through the router 190. For example, the wired or wireless communication includes but is not limited to WIFI, so that the user terminal 110 and the gateway 150 are deployed in the same local area network, thereby enabling the user terminal 110 to interact with the smart device 130 through the local area network path. In another application scenario, the user terminal 110 establishes a wired or wireless communication connection with the gateway 150 through the server 170. For example, the wired or wireless communication includes but is not limited to 2G, 3G, 4G, 5G, WIFI, etc., so that the user terminal 110 and the gateway 150 are deployed in the same wide area network, thereby enabling the user terminal 110 to interact with the smart device 130 through the wide area network path.

[0044] The server side 170 can also be considered as a cloud, cloud platform, platform side, service side, etc. The server side 170 can be a single server, a server cluster composed of multiple servers, or a cloud computing center composed of multiple servers, so as to better provide background services to a large number of user terminals 110. For example, the background services include device control services.

[0045] In an application scenario, after the user terminal 110 obtains the spatial layout diagram corresponding to the target scene based on the relationship between the movement trajectory of the first target object in the target scene and the various spaces in the target scene, it can display the spatial layout diagram corresponding to the target scene, and then identify the second target objects deployed in the target scene through the echo signal received by the smart device 130, and obtain the position of each second target object in the target scene, and then generate an environmental model of the target scene based on the position of each second target object in the target scene and the spatial layout diagram corresponding to the target scene. The environmental model is used to describe the status of each second target object in the target scene, and each second target object in the target scene is monitored more effectively and intuitively, thereby providing users with more effective device control services.

[0046] Of course, in other application scenarios, the above-mentioned process of generating the environmental model completed by the user terminal 110 can also be implemented by the server side 170. At this time, after the server side 170 generates the environmental model of the target scene, the environmental model of the target scene is sent to the user terminal 110 through the wide area network path, and the environmental model is displayed on the user terminal 110, so that the user terminal 110 can provide the user with more effective device control services based on the environmental model.

[0047] Please refer to FIG. 2 . An embodiment of the present application provides a method for generating an environment model. The method is applicable to an electronic device, which may specifically be the user terminal 110 of the implementation environment shown in FIG. 1 .

[0048] In the following method embodiment, for ease of description, the execution subject of each step of the method is an electronic device as an example, but this does not constitute a specific limitation. As shown in Figure 2, the method may include the following steps:

[0049] Step 200: Display a spatial layout diagram corresponding to the target scene.

[0050] The target scene can be an indoor or outdoor scene, such as a home, office, or park. The spatial layout diagram describes the location, size, and other spatial information of each space in the target scene. For example, a space could be a living room or bedroom in a home, a conference room in an office, or an entertainment area in a park. In other words, the spatial layout diagram reflects the boundary locations and orientation relationships of each space in the target scene.

[0051] For example, the spatial layout diagram can be a floor plan. In Figure 3, the spatial layout diagram corresponding to the target scene is shown, wherein the target scene is a smart home scene. The various spaces in the smart home scene include at least a second bedroom, a kitchen, a toilet, a washroom, a living room and a dining room, two master bedrooms, and a balcony, etc. It can be seen that the boundary position and orientation relationship of each space in the smart home scene can be reflected through the spatial layout diagram.

[0052] Regarding the generation of the spatial layout diagram, in one possible implementation, the spatial layout diagram is generated based on the relationship between the trajectory of the first target object in the target scene and the various spaces in the target scene. The first target object refers to an object that can move within the target scene, such as a person or a robot. The trajectory can refer to the movement trajectory of the first target object within a certain area of ​​the target scene or the movement trajectory of the first target object within a certain location in the target scene, without limitation herein.

[0053] In one possible implementation, the electronic device can determine the spatial layout of the target scene through infrared technology. For example, the spatial layout can be determined through the following process: the electronic device uses near-infrared rays to scan the room to obtain a preliminary floor plan of the room; identify jumps in the outline of the floor plan, remove the jump outline, and mark the door position and door width at the jump position; obtain the floor plan inside the room wall; when a room has multiple doorways, number the multiple doorways; measure the wall thickness: use a distant external line to measure the thickness of the wall where the door is located; room splicing: use the doorway as the splicing reference, select the doorways corresponding to the two rooms as the splicing basis for splicing, and splice the floor plans of adjacent rooms with the wall thickness as the interval distance to obtain a complete floor plan.

[0054] In one possible implementation, the millimeter-wave radar device can also determine the spatial layout of the target scene. For example, this can be determined through the following process: the millimeter-wave radar device filters static points in the point cloud data, retaining dynamic points; the dynamic point data is sorted into piles to obtain a dynamic point cloud pile; the dynamic point cloud pile is tracked and monitored to obtain the tester's movement trajectory in the test area; and the movement trajectory is analyzed and processed to calculate the left, right, and front boundaries of the test area. By continuously observing the person's back-and-forth movement trajectory, the millimeter-wave radar device can calculate the left, right, and front boundaries of the house each time the person passes. Through multiple sets of measurements, the front, left, and right boundaries of the test area are ultimately determined.

[0055] For electronic devices, after obtaining the spatial layout diagram corresponding to the target scene, the spatial layout diagram can be displayed on the display screen configured by the electronic device, so as to subsequently generate an environmental model of the target scene in combination with the position of the second target object in the target scene.

[0056] Step 220 : Identify each second target object deployed in the target scene, and obtain the position of each identified second target object in the target scene.

[0057] The second target object refers to a device or facility deployed in the target scene. In one possible implementation, the second target object can be a device that can generate a micro-motion signal when in operation, i.e., an electrically controlled object. For example, an electrically controlled object can be a smart door lock, smart (electric) curtains, a desktop computer, a range hood, an electric fan, an air conditioner, etc.; the second target object can also be a facility that cannot generate a micro-motion signal, i.e., a non-electrically controlled object. For example, a non-electrically controlled object can be a sofa, a wardrobe, a bay window, etc. in the target scene, without limitation here.

[0058] The identification of the second target object may include identifying the position, object type, and working status of the second target object in the target scene, etc., which are not limited here. Among them, the object type is used to distinguish different second target objects, that is, different second target objects have different object types. For example, the object types of air conditioner a and green plant c are different. When the second target objects are the same, they have the same object type, for example, the object types of air conditioner a and air conditioner b are the same; the working status is used to describe the working condition of the second target object. For example, the working status includes on state, off state, fault state, etc.

[0059] When the second target object is an electrically controlled object, in one possible implementation, a radar device is used to identify the position of the electrically controlled object in the target scene. In another possible implementation, a radar device is used to identify the working state of the electrically controlled object.

[0060] When the second target object is a non-electrically controlled object, in one possible implementation, a radar device is used to identify the position of the first target object interacting with the non-electrically controlled object, thereby indirectly identifying the position of the non-electrically controlled object in the target scene.

[0061] When the second target object is a smart device, in one possible implementation, the electronic device combines the device status data reported by the smart device and the micro-motion signal generated by the radar device when the second target object is working to identify the device type of the second target object.

[0062] In a possible implementation, the user identifies the object type of the second target object through electronic device operation (manual marking), image recognition, and the like.

[0063] Step 240 : Generate an environment model of the target scene according to the position of each second target object in the target scene and the spatial layout diagram corresponding to the target scene.

[0064] The environment model is used to describe the state of at least one of the first and second target objects in the target scene. This state can refer to the object type of at least one of the first and second target objects in the target scene, the operating state of at least one of the first and second target objects in the target scene, or the position, trajectory, or motion state of at least one of the first and second target objects in the target scene, etc., without specific limitation herein.

[0065] In one possible implementation, FIG4a shows a schematic diagram of an environmental model of a smart home scene. As can be seen from FIG4a, the environmental model of the smart home scene can reflect the position, object type, and working status of each second target object in the smart home scene. For example, the object type of the second target object 301 and the second target object 302 are the same, both indicating that the second target object is an air conditioner, the position of the air conditioner 301 is in the lower left corner of the living room and dining room, and the working status of the air conditioner 301 is off; the position of the air conditioner 302 is in the lower left corner of the master bedroom, and the working status of the air conditioner 302 is on; the object type of the second target object 303 indicates that the second target object is a green plant, the position of the green plant 303 is in the upper left corner of the living room and dining room, and the green plant 303 is not in a working state.

[0066] In one possible implementation, FIG4b illustrates a schematic diagram of an environmental model for a smart home scenario. FIG4b illustrates a graphical portion 401 of the environmental model for the smart home scenario, which includes the location, object type, and operating status of each second target object in the smart home scenario, and may also include at least one of the trajectory and motion status of each first target object in the smart home scenario. FIG4b also includes a status display area 402 for at least one of each first target object and each second target object, in which the status of each first target object in the smart home scenario and the status of each second target object in the smart home scenario can be separately displayed.

[0067] For example, in the status display area 402, the electronic device can display the status of the user as the first target object; specifically, it can include the user's trajectory in the smart home scene, as well as motion states, such as stillness, sitting, falling, etc., which can be specifically obtained by detecting the human body state in the smart home scene. In the status display area 402, the electronic device can also display the status of various detectable devices and / or facilities in each area space as the second target object. For example, it can be detected that all doors are closed, the master bedroom window is open, the master bedroom fan is on, the range hood is on, the computer is off, the master bedroom air conditioner is on, the living room air conditioner is on, the master bedroom air conditioner is off, the living room air conditioner is off, the bathroom exhaust fan is off, etc. In this way, by displaying the status of each target object in each area of ​​the target scene in the form of icons and text in another area, the electronic device can more intuitively understand the status of each first target object and second target object in the target scene.

[0068] In a possible implementation, the environment model is implemented by displaying object labels of each second target object in the spatial layout diagram. Specifically, as shown in FIG5 , step 240 may include the following steps:

[0069] Step 500: Determine the corresponding area of ​​each second target object in the spatial layout diagram according to the position of each second target object in the target scene.

[0070] That is, the electronic device matches the position of the second target object in the target scene to the coordinate system of the spatial layout diagram to map the position of the second target object in the target scene to the corresponding area in the spatial layout diagram.

[0071] Step 520 : Display the object mark of each second target object in the corresponding area of ​​the spatial layout diagram to generate an environment model of the target scene.

[0072] The object tag of the second target object is used to indicate the state of the second target object.

[0073] In one possible implementation, the object marker of the second target object can be an icon of different shapes and colors, and the shape and color of the object marker indicate the object type and working status of the second target object, respectively. Taking Figure 4a as an example, object marker 301 has the shape of an air conditioner and is light gray in color, indicating that the object type of the second target object is an air conditioner, and the working status of the air conditioner is closed, that is, "air conditioner off"; object marker 302 has the shape of an air conditioner and is dark black in color, indicating that the object type of the second target object is an air conditioner, and the working status of the air conditioner is open, that is, "air conditioner on"; object marker 303 has the shape of a green plant, indicating that the object type of the second target object is a green plant. It should be noted that some second target objects do not have the feature of a working status. In addition, the position of the object marker in the environment model can map the position of the corresponding second target object in the target scene. Thus, the environment model can also reflect the position of the second target object in the target scene.

[0074] Through the above process, a device monitoring solution based on spatial positioning is provided, that is, the electronic device uses the environmental model to associate each second target object in the target scene with the spatial layout diagram corresponding to the target scene, so that the second target objects (that is, various equipment and facilities) in the target scene can be monitored intuitively, dynamically and in real time through the environmental model, and the working status of various equipment and facilities in the target scene can be grasped in time, which is conducive to improving the effectiveness of the equipment control service.

[0075] Referring to FIG. 5 , in an exemplary embodiment, after step 520 , the method may further include the following steps:

[0076] Step 540 : Identify a second target object newly deployed in the target scene based on the association relationship between each displayed second target object and the signal feature of the echo signal.

[0077] The echo signal is obtained by the radar device capturing the micro-motion signal generated when the second target object is working.

[0078] It is understood that if the second target objects in the target scene have different object types, the echo signals generated by the micro-motion signals generated by the second target objects during operation will also be different. Based on this, the electronic device can identify second target objects of the same object type based on the second target objects already displayed in the environment model. Specifically, for each second target object already displayed in the environment model, the signal characteristics of the echo signals generated have already established an association with the corresponding second target object. Based on this association, the electronic device can identify second target objects newly deployed in the target scene.

[0079] For example, a range hood and an exhaust fan are different object types, and the micro-vibration signals generated by their operation form different echo signals. The electronic device then associates these signals with the signal characteristics of the corresponding echo signals. When a new exhaust fan is deployed in the target scene, the object type of the newly deployed exhaust fan can be identified based on this association through its echo signal.

[0080] Step 560: Display the object mark of the newly deployed second target object in the corresponding area of ​​the spatial layout diagram, and update the environment model of the target scene.

[0081] In one possible implementation, the electronic device obtains the position of the newly deployed second target object in the target scene based on the echo signal generated by the newly deployed second target object to determine the corresponding area of ​​the newly deployed second target object in the spatial layout diagram, and then updates the environmental model of the target scene, that is, marks the newly deployed second target object in the corresponding area in the spatial layout diagram.

[0082] Of course, in addition to updating the target scene's environmental model by identifying newly deployed second target objects, electronic devices can also update the environmental model by identifying the operating status of second target objects already displayed in the environmental model. For example, each time an exhaust fan is turned on, the millimeter-wave radar receives the same echo signal, which disappears when it is turned off. The electronic device establishes an association between this echo signal and the exhaust fan's operating status. Based on whether there are similar echo signals, it can identify whether the exhaust fan is currently on or off. Based on this, the environmental model is updated to ensure that the environmental model dynamically reflects the real-time operating status of the second target object in the target scene.

[0083] Through the above process, the electronic device learns the signal characteristics of the echo signal reflected / scattered by the displayed second target object, and establishes an association between the signal characteristics of the specific echo signal and the object type and working status of the second target object, thereby identifying at least one of the object type and working status of the newly deployed second target object through the signal characteristics of the echo signal reflected / scattered by the newly deployed second target object, and then updating the environmental model, thereby fully ensuring that the environmental model can dynamically reflect the changes and real-time working status of the second target object in the target scene, further enhancing the real-time monitoring capability of various equipment and facilities in the target scene, and helping to further improve the effectiveness of equipment control services.

[0084] As mentioned above, the second target object refers to the equipment or facilities deployed in the target scene. Specifically, the second target object includes an electrically controlled object and a non-electrically controlled object.

[0085] Electronically controlled objects are devices that generate micromotion signals when in operation, while non-electronically controlled objects are devices that do not. Micromotion signals are vibration waves generated actively or passively by the second target object. Examples include plants swaying in the wind, drawn curtains, air conditioners, fans, sweepers, pots vibrating due to heating, air purifiers, and computer cases with rotating fans.

[0086] The identification of each second target object deployed in the target scene is described in detail below with reference to FIG6 to FIG8:

[0087] As shown in FIG6 , in an exemplary embodiment, when the second target object is an electrically controlled object, step 220 may include the following steps:

[0088] Step 600 : Positioning the electrically controlled object based on the echo signal, identifying the position of the electrically controlled object in the target scene, and determining a corresponding area of ​​the electrically controlled object in the spatial layout diagram.

[0089] Among them, the echo signal is obtained by the radar equipment capturing the micro-motion signal generated when the electronically controlled object is working.

[0090] In this way, electronic equipment uses radar to identify and locate the position of the electronically controlled object in the target scene, and establishes a precise matching relationship between the electronically controlled object in the target scene and the spatial layout diagram, thereby making the environmental model more accurate and enhancing environmental supervision capabilities.

[0091] In Figure 6, when the second target object is an electrically controlled object, step 220 may further include the following steps: Step 620, based on the radar device capturing the micro-motion signal generated when the electrically controlled object is working, identifying that the working state of the electrically controlled object is on, and marking the electrically controlled object in the on state in the corresponding area determined by the spatial layout diagram.

[0092] That is to say, when the electrically controlled object starts working, a specific micro-motion signal will always appear in the corresponding area. Then, based on the radar device capturing the micro-motion signal generated when the electrically controlled object is working, the electronic device can identify that the working state of the electrically controlled object is on.

[0093] In this way, the working status of the electronically controlled object is identified, which serves as the basis for generating the environmental model, making it easier to grasp the working status of each second target object in the target scene in real time and dynamically, thereby effectively monitoring the second target object and enhancing the monitoring capability of equipment and facilities.

[0094] When the second target object is a non-electrically controlled object, as shown in FIG7 , step 220 may further include the following steps:

[0095] Step 700 : Positioning a first target object interacting with a non-electrically controlled object based on an echo signal to obtain a position of the first target object in a target scene.

[0096] The echo signal is obtained when the transmission signal of the radar device is reflected by the first target object.

[0097] The first target object refers to an object that can move in the target scene, for example, the first target object can be a person, a robot, etc. The non-electrically controlled object refers to a facility that cannot generate a micro-motion signal, for example, the non-electrically controlled object can be a sofa.

[0098] Step 720 : Identify the position of the non-electrically controlled object in the target scene according to the position of the first target object in the target scene, so as to determine the corresponding area of ​​the non-electrically controlled object in the spatial layout diagram.

[0099] For example, as a person interacts with a sofa, such as sitting on the sofa, the electronic device locates the person based on the echo signal, obtains the person's position in the target scene, and further calculates the edge position of the sofa area based on the person's position in the target scene and the person's approximate height, thereby identifying the position of the sofa in the target scene.

[0100] During the above process, the inventors realized that non-electrically controlled objects cannot generate micro-motion signals, and radar equipment has poor identification and positioning capabilities for stationary objects, making it difficult to directly locate non-electrically controlled objects. Therefore, for non-electrically controlled objects, the electronic device locates the first target object interacting with the non-electrically controlled object, obtains the first target object's position, and indirectly identifies the non-electrically controlled object's position in the target scene. This overcomes the difficulty in effectively monitoring non-electrically controlled objects and fully ensures that non-electrically controlled objects, which are important environmental factors, can also effectively provide device control services to users.

[0101] There is another case where the second target object is an unknown smart device. Accordingly, as shown in Figure 8, in an exemplary embodiment, step 220 may also include the following steps: Step 800, when it is detected that the working state of the smart device changes from the off state to the on state, the area range of the smart device in the target scene is determined.

[0102] It should be noted that the smart device capable of performing working status detection here is a known smart device in the target scenario, that is, the smart device has been deployed in the gateway 150 of the implementation environment shown in Figure 1. The smart device can report device status data through the gateway 150 so that the server 170 / user terminal 110 can detect whether the working status of the smart device has changed.

[0103] For example, the working state of the smart air conditioner in the bedroom changes from the off state to the on state. The smart air conditioner reports its own device status data through the network device. The device status data is used to indicate the working state of the smart air conditioner. After detecting the change in the working state, the server or user terminal first determines the area range of the smart air conditioner in the smart home scene, so as to subsequently determine whether there is an unknown smart device in the area range of the bedroom, that is, the second target object that generates a micro-motion signal when working, and then determine the object type of the second target object.

[0104] Step 820: Within the determined area, when the radar device captures the micro-motion signal generated when the second target object is working, the device type of the smart device is identified as the object type of the second target object, so as to mark the second target object according to the device type of the smart device in the spatial layout diagram.

[0105] Still using the above example to illustrate, within the area of ​​the bedroom, the radar device determines that it has captured the micro-motion signal generated by the operation of the second target object through the received echo signal, and based on the change in the working state of the corresponding smart device detected in step 800, the smart device with the change in working state is associated with the second target object detected by the radar device, that is, it is determined that the second target object is the smart air conditioner in the bedroom, thereby completing the identification of the object type of the second target object.

[0106] In the above process, based on the properties of the Internet of Things for smart devices, the device status data of the smart devices deployed in the gateway can be obtained by the electronic devices, which enables the association of unknown smart devices with known smart devices. The electronic devices can then determine the object type of the second target object, that is, the device type of the corresponding smart device, which is further beneficial for effectively monitoring the smart devices in the target scene, thereby improving the effectiveness of the device control service.

[0107] For the second target object in the target scene, in addition to automatic recognition by the electronic device, it can also be identified by other means. In an exemplary embodiment, step 220 can also include the following steps: in response to a type marking operation for the second target object, identifying the object type of the second target object; or in response to a recognition event triggered by the image acquisition device for the second target object, identifying the object type of the second target object.

[0108] In one possible implementation, the type marking operation for the second target object may be a manual marking operation by a user, thereby identifying the object type of the second target object through manual marking by the user. The manual marking operation by the user may be actively triggered by the user or passively triggered, for example, the electronic device generates marking prompt information to prompt the user to manually mark the type of the second target object, which is not limited here.

[0109] The image acquisition device can be a camera, a smartphone equipped with a camera, etc. The recognition event triggered by the image acquisition device for the second target object can refer to the image acquisition device acquiring and photographing the image to be identified containing the second target object, and performing image recognition on the image to be identified containing the second target object, thereby identifying the object type of the second target object.

[0110] The electronic device identifies the object type of the second target object by performing a type marking operation on the second target object or triggering an identification event on the second target object by the image acquisition device, further providing different identification methods to enhance the environmental model's ability to monitor the target scene equipment and facilities (i.e., the second target object).

[0111] In conjunction with the above-described embodiments, taking into account the different forms of second target objects that may exist in the target scene, different identification methods are provided for different second target objects to meet the identification requirements of different second target objects, thereby identifying more equipment and facilities in the target scene and more accurately identifying each second target object. The electronic device generates an environmental model by obtaining the location, operating status, and object type of each second target object, which facilitates the user to intuitively understand the location, object type, or operating status of each second target object in the target scene, and can dynamically and real-timely monitor the equipment and facilities in the target scene.

[0112] Referring to FIG. 9 , in an exemplary embodiment, before step 200 , the method may further include the following steps:

[0113] Step 900: Obtain the trajectory information of the first target object in each space in the target scene, draw and display the trajectory diagram of each space.

[0114] The trajectory information is used to indicate the movement trajectory of the first target object in each space.

[0115] In a possible implementation, the electronic device uses a radar device to locate the first target object to obtain trajectory information of the first target object.

[0116] Specifically, in step 900, obtaining the trajectory information of the first target object in each space in the target scene includes tracking the trajectory of the first target object based on the echo signal to obtain the trajectory information of the first target object in each space. The echo signal is obtained by reflecting the transmission signal of the radar device off the first target object.

[0117] Figure 10 shows a schematic diagram of the process of generating a corresponding spatial layout diagram from a target scene in an example, where P1 is the target scene, P2 is a trajectory diagram with entrance and exit locations marked, and P3 is a spatial layout diagram. As can be seen from P2, the trajectory diagram can be a boundary outline diagram of each space in the target scene.

[0118] Step 920: Mark the entrance and exit locations of each space on the trajectory map of each space.

[0119] In a possible implementation, the electronic device determines the entrance and exit positions of each space by opening and closing the first target object in each space.

[0120] Specifically, step 920 may include: step 921, in response to a space opening and closing event triggered in each space, respectively determining the position of the first target object in each space when the space opening and closing event is triggered.

[0121] The space opening and closing event refers to a door opening and closing event. The first target object may be a person. When the space opening and closing event is triggered, it refers to the moment when the person opens / closes the door.

[0122] Correspondingly, when a person opens / closes the door of a space, the person's position is located by the radar device, and the electronic equipment can use this as the entrance and exit position of the space.

[0123] Step 922: Mark the entrance and exit positions of each space in the corresponding area of ​​the trajectory map of each space according to the determined position.

[0124] It can be understood that when a person opens / closes a door, the person's position coincides with the entrance and exit positions of each space. Therefore, the electronic device can mark the entrance and exit positions of each space in the trajectory map of each space according to the person's position at this time.

[0125] As shown in Figure 10, because the entrance and exit positions connect adjacent spaces, one entrance and exit position is marked on the trajectory diagrams of two different spaces. In one possible implementation, the user manually marks the connecting position using an electronic device to determine the entrance and exit position.

[0126] Specifically, step 920 may further include: step 924, in response to the marking operation on the connected location, determining two adjacent spaces associated with the connected location.

[0127] The connected position is used to indicate the position of the first target object when it enters or exits between two adjacent spaces. The marking operation for the connected position can be performed manually by the user.

[0128] Step 925: On the trajectory diagram of the two adjacent spaces, mark the connecting positions as the entrance and exit positions of the two adjacent spaces.

[0129] Step 940: obtain a spatial layout diagram by matching the trajectory diagrams of each space with marked entrance and exit locations.

[0130] Among them, matching is to connect the trajectory diagrams of each space with marked entrance and exit positions according to the spatial orientation relationship, entrance and exit positions, etc. to obtain a spatial layout diagram.

[0131] Please refer to FIG. 10 , which shows a schematic diagram of generating a spatial layout diagram of a target scene in an exemplary embodiment.

[0132] The target scene P1 is a smart home scene, and the first target object (ie, the user) moves in each space of the target scene P1. The electronic device can obtain the trajectory information of the first target object (user) in each space based on the tracking of the radar device. For example, in P1 of Figure 10, the trajectory information includes the movement trajectory of the user in each space of the target scene (the figure shows the user's movement route map). The electronic device draws and displays the trajectory map P2 of each space, and locates the first target object when the space opening and closing event is triggered, and marks the entrance and exit positions of each space in the corresponding area of ​​the trajectory map of each space. Finally, based on the entrance and exit positions and the user's movement direction, the electronic device matches the trajectory map of each space with the marked entrance and exit positions to obtain a spatial layout map.

[0133] Under the influence of the above-mentioned embodiments, a spatial layout diagram is generated based on the relationship between the movement trajectory of the first target object in the target scene and the various spaces in the target scene, providing a method for generating a spatial layout diagram by tracking the target object. Compared with the solution of generating a spatial layout diagram in the related technology, it is simpler, more convenient and more efficient.

[0134] Please refer to FIG. 11 . An embodiment of the present application provides a method for displaying an environment model. The method is applicable to an electronic device, which may specifically be a user terminal 110 of the implementation environment shown in FIG. 1 .

[0135] In the following method embodiment, for ease of description, the execution subject of each step of the method is an electronic device as an example, but this does not constitute a specific limitation. As shown in Figure 11, the method may include the following steps:

[0136] Step 1100: Display an environment model corresponding to the target scene.

[0137] First, it should be noted that the environment model includes the state of at least one of each first target object and each second target object in the target scene. This state can refer to the object type of at least one of the first target object and the second target object in the target scene, the operating state of at least one of the first target object and the second target object in the target scene, or the position, trajectory, and motion state of the first target object and / or the second target object in the target scene, without specific limitation herein.

[0138] Regarding the generation of the environment model of the target scene, the electronic device generates it based on the spatial layout diagram of the target scene and the positions of the second target objects in the target scene.

[0139] Secondly, the first target object refers to an object that can move within the target scene. For example, the first target object can be a person, a robot, etc., so that the electronic device can generate a spatial layout diagram based on the relationship between the trajectory of the first target object in the target scene and the various spaces in the target scene, which in turn serves as the basis for generating an environmental model of the target scene. The trajectory can refer to the movement trajectory of the first target object in a certain area of ​​the target scene, or it can refer to the movement trajectory of the first target object in a certain position in the target scene, which is not limited here.

[0140] The second target object refers to the equipment or facility deployed in the target scene. In one possible implementation, the second target object may refer to a device that can generate a micro-motion signal when working, that is, an electrically controlled object. For example, the electrically controlled object may be a smart door lock, smart (electric) curtains, desktop computers, range hoods, electric fans, air conditioners, etc.; the second target object may also be a facility that cannot generate a micro-motion signal, that is, a non-electrically controlled object. For example, the non-electrically controlled object may be a sofa, wardrobe, bay window, etc. in the target scene, which is not limited here.

[0141] Step 1120 : When it is recognized that the state of at least one of the first target objects and the second target objects has changed, the updated state of at least one of the first target objects and the second target objects is displayed in the environment model.

[0142] The status of the first target object and / or the second target object can be represented by different object tags, which can be icons of different shapes and colors. The electronic device then represents the status of the first target object and / or the second target object through icons of different shapes and colors, and the status includes but is not limited to object type, working status, location, etc.

[0143] Referring back to Figure 4a, object marker 301 has the shape of an air conditioner and is light gray, indicating that the second target object is an air conditioner and is in the off state (i.e., "AC OFF"). Object marker 302 has the shape of an air conditioner and is dark black, indicating that the second target object is also an air conditioner and is in the on state (i.e., "AC ON"). Object marker 303 has the shape of a plant, indicating that the second target object is also a plant. It should be noted that some second target objects do not have an active state. Furthermore, the position of an object marker in the environment model can map to the position of the corresponding second target object in the target scene. Thus, the environment model effectively reflects the position of the second target object in the target scene.

[0144] Please refer back to Figure 4b which shows a schematic diagram of the environment model of the smart home scene. Figure 4b shows a diagrammatic portion 401 of the environment model of the smart home scene, which includes the position, object type and working status of each second target object in the smart home scene, and may also include at least one of the trajectory and motion status of each first target object in the smart home scene. Figure 4b also includes a status display area 402 for each first target object and / or each second target object, in which the status of each first target object in the smart home scene and the status of each second target object in the smart home scene can be displayed separately. By displaying the status of each target object in each area of ​​the target scene in the form of icons and text in another area, the status of each first target object and the second target object in the target scene can be more intuitively known.

[0145] Through the above embodiments, the electronic device displays the environment model on the interface of the electronic device, and timely updates the displayed environment model based on the status changes of the first target object and / or each second target object, so that the user can more intuitively control the status of at least one of the first target objects and the second target objects in the target scene in real time.

[0146] Compared with the related art, the embodiments of the present application have the following beneficial effects:

[0147] 1. The environmental model is used to describe the object type and / or status of the second target object in the target scene, and can realize equipment and facility supervision based on spatial positioning, so that users can remotely and intuitively grasp the real-time status of the equipment and facilities in the target scene, so that users can further manage these equipment and facilities.

[0148] 2. The electronic device generates a spatial layout diagram of the target scene based on the relationship between the movement trajectory of the first target object in the target scene and each space in the target scene, identifies each second target object deployed in the target scene to obtain the position of the second target object in the target scene. Then the electronic device generates an environmental model of the target scene based on the spatial layout diagram of the target scene and the position of each second target object in the target scene, and the environmental model is used to describe the object type and / or state of the second target object in the target scene. Thus, the electronic device is able to associate the second target object with the spatial layout diagram, and provides an environmental supervision method based on spatial positioning, which can intuitively, dynamically and in real time supervise various equipment and facilities in the target scene through the environmental model, obtain the state of each second target object (i.e., each equipment and facility) of the target scene in real time, and improve the real-time monitoring and management capabilities of the equipment and facilities of the target scene. This application scheme can help users intuitively supervise the equipment and facilities in the target scene, understand the real-time state of different equipment, so as to manage the equipment in the target scene.

[0149] 3. The electronic device learns the signal characteristics of the echo signal reflected / scattered by the displayed second target object, and establishes an association between the signal characteristics of the specific echo signal and the object type and status of the second target object, thereby identifying the object type and / or status of the newly deployed second target object through the signal characteristics of the echo signal reflected / scattered by the newly deployed second target object, and updates the environmental model accordingly. Of course, for the second target object that has been displayed in the environmental model, the electronic device can identify its status through the signal characteristics of its echo signal and update the environmental model. Updating the environmental model ensures that the environmental model dynamically reflects the real-time status of the second target object in the target scene, and can also promptly present the newly deployed second target object in the environmental model after the new second target object is deployed in the target scene, further enhancing the real-time supervision capability of the target scene.

[0150] 4. Considering that non-electrically controlled objects cannot generate micro-motion signals, and radar's ability to identify and locate stationary objects is relatively poor, it is difficult to directly locate non-electrically controlled objects. Therefore, for non-electrically controlled objects, electronic devices can locate a first target object interacting with the non-electrically controlled object, obtain the first target object's position, and indirectly identify the non-electrically controlled object's position in the target scene, overcoming the difficulty in locating non-electrically controlled objects.

[0151] 5. Based on the IoT attributes of smart devices, their data and information can be accessed. When the electronic device detects a change in the smart device's state from off to on, it uses radar to capture the micro-motion signal generated by the second target object operating within the corresponding area, thus identifying the second target object. The electronic device then associates the discovered second target object with the smart device, thereby determining the object type of the second target object, i.e., the device type of the corresponding smart device. The above embodiments provide a method for identifying smart devices that meets the identification requirements for different second target objects.

[0152] 6. Taking into full consideration the possible existence of second target objects of different forms in the target scene, different identification methods are provided for different second target objects to meet the identification requirements for different second target objects, thereby being able to identify more equipment and facilities in the target scene, and more accurately identify each second target object. The electronic device can obtain the position, status and object type of each second target object, thereby generating an environmental model, which is convenient for users to intuitively understand the position, object type or status of each second target object in the target scene, and can dynamically and real-time monitor the equipment and facilities in the target scene.

[0153] 7. A spatial layout diagram is generated based on the movement trajectory of the first target object in the target scene and the relationship between the various spaces in the target scene, providing a method for generating a spatial layout diagram by tracking the target object. Compared with the solution of generating a spatial layout diagram in the related art, it is simpler, more convenient and more efficient.

[0154] It should be understood that although the various steps in the flow charts of Figures 2, 5-9, and 11 are shown in sequence as indicated by the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless otherwise specified herein, the execution of these steps is not strictly limited in order, and these steps can be performed in other orders. Moreover, at least a portion of the steps in Figures 2, 5-9, and 11 may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.

[0155] The following is an embodiment of the device of the present application, which can be used to perform the method for generating an environment model involved in the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method for generating an environment model involved in the present application.

[0156] Please refer to Figure 12. An embodiment of the present application provides an environment model generation device 1200, which includes but is not limited to a layout diagram display module 1210, an object recognition module 1230, and a model generation module 1250.

[0157] The layout diagram display module 1210 is used to display a spatial layout diagram corresponding to the target scene; the spatial layout diagram is generated based on the relationship between the trajectory of the first target object in the target scene and each space in the target scene.

[0158] The object recognition module 1230 is configured to recognize each second target object deployed in the target scene and obtain a position of each recognized second target object in the target scene.

[0159] The model generation module 1250 is used to generate an environmental model of the target scene based on the position of each second target object in the target scene and the spatial layout diagram corresponding to the target scene; the environmental model is used to describe the state of at least one of the first target object and the second target object in the target scene.

[0160] In an exemplary embodiment, the model generation module 1250 also includes: an area determination unit 1251, which is used to determine the corresponding area of ​​each second target object in the spatial layout diagram based on the position of each second target object in the target scene; a mark display unit 1252, which is used to display the object mark of each second target object in the corresponding area in the spatial layout diagram to generate an environmental model of the target scene; the object mark of the second target object is used to indicate the status of the second target object.

[0161] In an exemplary embodiment, the apparatus 1200 further includes:

[0162] The object re-identification module 1270 is used to identify the second target object newly deployed in the target scene based on the correlation between the signal characteristics of each displayed second target object and the echo signal; the echo signal is obtained by the radar equipment capturing the micro-motion signal generated when the second target object is working; the model update module 1290 is used to display the object mark of the newly deployed second target object in the corresponding area of ​​the spatial layout diagram and update the environmental model of the target scene.

[0163] In an exemplary embodiment, the second target object includes an electrically controlled object; the electrically controlled object refers to a device that can generate a micro-motion signal when working; the object identification module 1230 may also include: a first positioning unit 1231, which is used to locate the position of the electrically controlled object based on the echo signal, identify the position of the electrically controlled object in the target scene, and determine the corresponding area of ​​the electrically controlled object in the spatial layout diagram; wherein the echo signal is obtained by the radar equipment capturing the micro-motion signal generated when the electrically controlled object is working.

[0164] In an exemplary embodiment, the object identification module 1230 may also include: a state identification unit 1232, which is used to identify that the state of the electronically controlled object is the on state based on the capture of the micro-motion signal generated by the radar equipment when the electronically controlled object is working, so as to mark the electronically controlled object in the on state in the corresponding area determined by the spatial layout diagram.

[0165] In an exemplary embodiment, the second target object includes a non-electrically controlled object; the non-electrically controlled object refers to a facility that cannot generate a micro-motion signal; the object identification module 1230 may also include: a second unit unit 1233, which is used to locate the position of the first target object interacting with the non-electrically controlled object based on the echo signal, and obtain the position of the first target object in the target scene; the echo signal is the radar device's transmitted signal reflected by the first target object; the position identification unit 1234 is used to identify the position of the non-electrically controlled object in the target scene based on the position of the first target object in the target scene, so as to determine the corresponding area of ​​the non-electrically controlled object in the spatial layout diagram.

[0166] In an exemplary embodiment, the object recognition module 1230 may also include: a range determination unit 1235, which is used to determine the area range of the smart device in the target scene when it is detected that the state of the smart device changes from the off state to the on state; a first type recognition unit 1236, which is used to identify the device type of the smart device as the object type of the second target object when the radar device captures the micro-motion signal generated when the second target object is working within the determined area range, so as to mark the second target object according to the device type of the smart device in the spatial layout diagram.

[0167] In an exemplary embodiment, the object identification module 1230 may also include: a second type identification unit 1237, which is used to identify the object type of the second target object in response to a type marking operation for the second target object; or to identify the object type of the second target object in response to a recognition event triggered by the image acquisition device for the second target object.

[0168] In an exemplary embodiment, the device 1200 may also include: a trajectory information acquisition module 1310, which is used to obtain the trajectory information of the first target object in each space in the target scene, draw a trajectory map of each space and display it; the trajectory information is used to indicate the movement trajectory of the first target object in each space; an entrance and exit marking module 1330, which is used to mark the entrance and exit positions of each space on the trajectory map of each space; a layout map acquisition module, which is used to obtain a space layout map by matching the trajectory maps of each space with marked entrance and exit positions.

[0169] In an exemplary embodiment, the trajectory information acquisition module 1310 includes: a trajectory tracking unit 1311, which is used to track the trajectory of the first target object based on the echo signal to obtain the trajectory information of the first target object in each space; the echo signal is obtained by the radar device's transmission signal being reflected by the first target object.

[0170] In an exemplary embodiment, the entrance and exit marking module 1330 includes: a position determining unit 1331 for determining the position of the first target object in each space when the space opening and closing event is triggered in each space.

[0171] In an exemplary embodiment, the entrance and exit marking module 1330 may also include: an adjacent space determination unit 1332, which is used to determine two adjacent spaces associated with the connected position in response to a marking operation on the connected position; the connected position is used to indicate the position of the first target object when entering or exiting between the two adjacent spaces.

[0172] Please refer to FIG. 13 . This embodiment of the present application further provides an environment model display device 1300 , including but not limited to a model display module 1310 and a display update module 1330 .

[0173] Among them, the model display module 1310 is used to display the environment model corresponding to the target scene; the state environment model includes the state of each first target object and each second target object in the state target scene; the state environment model is generated based on the spatial layout diagram of the state target scene and the state is based on the position of each state second target object in the target scene; the state spatial layout diagram is generated based on the trajectory of the state first target object in the state target scene and the relationship between each space in the state target scene.

[0174] The display update module 1330 is configured to display the updated state of at least one of the first target object and the second target object in the environment model when it is recognized that the state of at least one of the first target object and the second target object has changed.

[0175] In an exemplary embodiment, the model display module 1310 is also used to display at least one of the trajectory and motion state of each first target object in the target scene in the environment model; or to display at least one of the position, object type and working state of each second target object in the target scene in the environment model.

[0176] In an exemplary embodiment, the status of each first target object and each second target object includes at least one of an object type, a working state, a position, a trajectory, and a motion state.

[0177] It should be noted that the device for generating an environmental model provided in the above embodiment only uses the division of the above-mentioned functional modules as an example when generating an environmental model. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device for generating an environmental model will be divided into different functional modules to complete all or part of the functions described above.

[0178] In addition, the embodiments of the device for generating an environment model and the method for generating an environment model provided in the above embodiments belong to the same concept, wherein the specific manner in which each module performs operations has been described in detail in the method embodiments and will not be repeated here.

[0179] Please refer to Fig. 14 , which is a schematic diagram of the structure of an electronic device according to an exemplary embodiment. The electronic device is applicable to the user terminal 110 in the implementation environment shown in Fig. 1 .

[0180] It should be noted that the electronic device is only an example adapted for the present application and should not be considered to provide any limitation on the scope of use of the present application. The electronic device should not be interpreted as needing to rely on or necessarily having one or more components in the exemplary electronic device 1400 shown in FIG14.

[0181] As shown in FIG14 , electronic device 1400 includes a memory 101, a memory controller 103, one or more (only one is shown in FIG14 ) processors 105, a peripheral interface 107, a radio frequency module 109, a positioning module 111, a camera module 113, an audio module 115, a touch screen 117, and a key module 119. These components communicate with each other via one or more communication buses / signal lines 121.

[0182] Among them, the memory 101 can be used to store computer programs and modules, such as the computer programs and modules corresponding to the environment model generation method and device in the exemplary embodiment of the present application. The processor 105 executes various functions and data processing by running the computer program stored in the memory 101, that is, completes the method of environment model generation.

[0183] The memory 101 is a carrier for resource storage and can be a random access memory, such as a high-speed random access memory, a non-volatile memory, such as one or more magnetic storage devices, a flash memory, or other solid-state memory. The storage method can be temporary storage or permanent storage.

[0184] The peripheral interface 107 may include at least one wired or wireless network interface, at least one serial-parallel conversion interface, at least one input / output interface, and at least one USB interface, etc., for coupling various external input / output devices to the memory 101 and the processor 105 to achieve communication with various external input / output devices.

[0185] The RF module 109 is used to transmit and receive electromagnetic waves, converting electromagnetic waves into electrical signals, thereby communicating with other devices via a communication network. The communication network includes a cellular telephone network, a wireless local area network, or a metropolitan area network. The above communication networks can use various communication standards, protocols, and technologies.

[0186] The positioning module 111 is used to obtain the current geographical location of the electronic device 1400. Examples of the positioning module 111 include, but are not limited to, a global positioning system (GPS) and positioning technologies based on a wireless local area network or a mobile communication network.

[0187] The camera module 113 is a camera that is used to take pictures or videos. The pictures or videos taken can be stored in the memory 101 and can also be sent to the host computer through the radio frequency module 109.

[0188] The audio module 115 provides an audio interface to the user, which may include one or more microphone interfaces, one or more speaker interfaces, and one or more headphone interfaces. The audio data is interacted with other devices through the audio interface. The audio data can be stored in the memory 101 and can also be sent through the radio frequency module 109.

[0189] The touch screen 117 provides an input / output interface between the electronic device 1100 and the user. Specifically, the user can use the touch screen 117 to perform input operations, such as clicks, touches, and slides, to cause the electronic device 1400 to respond to the input operations. The electronic device 1400 then displays output content, such as text, images, or videos, in any form or combination thereof, to the user via the touch screen 117.

[0190] The key module 119 includes at least one key to provide an interface for the user to input to the electronic device 1400. The user can press different keys to make the electronic device 1400 perform different functions. For example, the sound adjustment key allows the user to adjust the volume of the sound played by the electronic device 1400.

[0191] It is understood that the structure shown in Figure 14 is merely illustrative, and the electronic device 1400 may include more or fewer components than shown in Figure 14, or have components different from those shown in Figure 14. Each component shown in Figure 14 may be implemented using hardware, software, or a combination thereof.

[0192] Please refer to FIG. 15 . An electronic device 4000 is provided in an embodiment of the present application. The electronic device 4000 may include a smart phone, a tablet computer, etc.

[0193] In FIG. 15 , the electronic device 4000 includes at least one processor 4001 , at least one communication bus 4002 , and at least one memory 4003 .

[0194] The processor 4001 and the memory 4003 are connected, for example, via a communication bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004, which may be used for data exchange between the electronic device and other electronic devices, such as data transmission and / or data reception. It should be noted that in actual applications, the number of transceivers 4004 is not limited to one, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present application.

[0195] Processor 4001 can be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 4001 can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0196] Communication bus 4002 may include a path for transmitting information between the aforementioned components. Communication bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, for example. Communication bus 4002 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, FIG15 shows only one thick line, but this does not indicate that there is only one bus or only one type of bus.

[0197] The memory 4003 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk computer-readable storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0198] Computer-readable instructions are stored in the memory 4003 , and the processor 4001 reads the computer-readable instructions stored in the memory 4003 through the communication bus 4002 .

[0199] When the computer-readable instructions are executed by the processor 4001 , the method for generating an environment model and the method for displaying an environment model in the above-mentioned embodiments are implemented.

[0200] In addition, a computer-readable storage medium is provided in an embodiment of the present application, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor, the method for generating an environmental model and the method for displaying an environmental model in the above-mentioned embodiments are implemented.

[0201] In an embodiment of the present application, a computer-readable instruction product is provided. The computer-readable instruction product includes computer-readable instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer-readable instructions from the computer-readable storage medium and executes the computer-readable instructions, causing the computer device to perform the method for generating an environment model and the method for displaying an environment model described in each of the above embodiments.

[0202] It should be understood that although the steps in the flowcharts of the accompanying drawings are shown in sequence as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the flowcharts of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0203] The above description is only part of the implementation methods of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for generating an environment model, executed by an electronic device, the method comprising: Display the spatial layout diagram corresponding to the target scene; The spatial layout diagram is generated based on the relationship between the trajectory of the first target object in the target scene and each space in the target scene; Identifying each second target object deployed in the target scene, and obtaining a position of each identified second target object in the target scene; An environmental model of the target scene is generated according to the position of each of the second target objects in the target scene and the spatial layout diagram corresponding to the target scene; the environmental model is used to describe at least one of the states of the first target object and the second target object in the target scene.

2. The method of claim 1, wherein: The step of generating an environment model of the target scene according to the position of each of the second target objects in the target scene and a spatial layout diagram corresponding to the target scene comprises: Determining a corresponding area of ​​each second target object in the spatial layout diagram according to a position of each second target object in the target scene; The object mark of each second target object is displayed in a corresponding area in the spatial layout diagram to generate an environmental model of the target scene; the object mark of the second target object is used to indicate the state of the second target object.

3. The method of claim 2, wherein: After displaying the object mark of each second target object in the corresponding area of ​​the spatial layout diagram and generating the environment model of the target scene, the method further includes: identifying a second target object newly deployed in the target scene according to the displayed association relationship between each of the second target objects and the signal characteristics of the echo signal; the echo signal is obtained by the radar device capturing the micro-motion signal generated when the second target object is working; The object mark of the newly deployed second target object is displayed in the corresponding area of ​​the space layout diagram, and the environment model of the target scene is updated.

4. The method of claim 1, wherein: The second target object includes an electronically controlled object; the electronically controlled object refers to a device that can generate a micro motion signal when working; The identifying each second target object deployed in the target scene includes: Positioning the electrically controlled object based on the echo signal, identifying the position of the electrically controlled object in the target scene, and determining a corresponding area of ​​the electrically controlled object in the spatial layout diagram; The echo signal is obtained by the radar device capturing the micro-motion signal generated when the electrically controlled object is working.

5. The method of claim 4, wherein: The identifying each second target object deployed in the target scene also includes: Based on the radar device capturing the micro-motion signal generated when the electrically-controlled object is working, it is identified that the state of the electrically-controlled object is on, so that the electrically-controlled object in the on state is marked in the corresponding area determined by the spatial layout diagram.

6. The method of claim 1, wherein: The second target object includes a non-electrically controlled object; the non-electrically controlled object refers to a facility that cannot generate a micro-motion signal; The identifying each second target object deployed in the target scene includes: Based on the echo signal, the position of the first target object interacting with the non-electrically controlled object is located to obtain the position of the first target object in the target scene; the echo signal is obtained by reflecting the transmission signal of the radar device through the first target object; According to the position of the first target object in the target scene, the position of the non-electrically controlled object in the target scene is identified, so as to determine the corresponding area of ​​the non-electrically controlled object in the spatial layout diagram.

7. The method of claim 1, wherein: The second target object includes a smart device; The identifying each second target object deployed in the target scene includes: When it is detected that the state of the smart device changes from the off state to the on state, determining the area range of the smart device in the target scene; Within the determined area, when the radar device captures the micro-motion signal generated when the second target object is working, the device type of the smart device is identified as the object type of the second target object, so as to mark the second target object according to the device type of the smart device in the spatial layout diagram.

8. The method of claim 1, wherein: The identifying each second target object deployed in the target scene includes: In response to a type tagging operation on the second target object, identifying the object type of the second target object; or In response to a recognition event triggered by the image acquisition device for the second target object, an object type of the second target object is recognized.

9. The method according to any one of claims 1 to 8, wherein: Before displaying the spatial layout diagram corresponding to the target scene, the method further includes: Acquire the trajectory information of the first target object in each space in the target scene, draw and display the trajectory diagram of each space; the trajectory information is used to indicate the movement trajectory of the first target object in each space; Mark the entrance and exit locations of each space on the trajectory diagram of each space; The spatial layout diagram is obtained by matching the trajectory diagrams of each space with marked entrance and exit positions.

10. The method of claim 9, wherein: The obtaining of the trajectory information of the first target object in each space in the target scene includes: The trajectory of the first target object is tracked based on the echo signal to obtain the trajectory information of the first target object in each of the spaces; the echo signal is obtained by reflecting the transmission signal of the radar device through the first target object.

11. The method of claim 9, wherein: The trajectory diagrams in each space respectively mark the entrance and exit positions of each space, including: In response to a space opening and closing event triggered in each space, respectively determine a position of the first target object in each space when the space opening and closing event is triggered; According to the determined positions, the entrance and exit positions of each space are marked in the corresponding areas in the trajectory diagram of each space.

12. The method according to claim 9, characterized in that The trajectory diagrams in each space respectively mark the entrance and exit positions of each space, including: In response to a marking operation on a connected position, two adjacent spaces associated with the connected position are determined; the connected position is used to indicate a position of the second target object when entering or exiting between the two adjacent spaces; On the trajectory diagram of the two adjacent spaces, the connecting positions are respectively marked as the entrance and exit positions of the two adjacent spaces.

13. A method for displaying an environment model, performed by an electronic device, the method comprising: Displaying an environment model corresponding to a target scene; the environment model includes a state of at least one of each first target object and each second target object in the target scene; The environment model is generated based on the spatial layout diagram of the target scene and the position of each of the second target objects in the target scene; The spatial layout diagram is generated based on the relationship between the trajectory of the first target object in the target scene and each space in the target scene; When it is recognized that the state of at least one of the first target objects and the second target objects changes, the updated state of at least one of the first target objects and the second target objects is displayed in the environment model.

14. The method of claim 13, wherein: The method further comprises: Displaying at least one of a trajectory and a motion state of each of the first target objects in the target scene in the environment model; or At least one of a position, an object type and a working status of each of the second target objects in the target scene is displayed in the environment model.

15. The method of claim 13, wherein: The status of each of the first target objects and each of the second target objects includes at least one of an object type, a working state, a position, a trajectory, and a motion state.

16. A device for generating an environment model, wherein: The device comprises: A layout diagram display module, used to display a spatial layout diagram corresponding to a target scene; the spatial layout diagram is generated based on the relationship between the trajectory of the first target object in the target scene and each space in the target scene; An object recognition module, used to recognize each second target object deployed in the target scene, and obtain the position of each recognized second target object in the target scene; A model generation module is used to generate an environmental model of the target scene according to the position of each of the second target objects in the target scene and the spatial layout diagram corresponding to the target scene; the environmental model is used to describe the state of at least one of the first target object and the second target object in the target scene.

17. A display device for an environmental model, wherein: The device comprises: A model display module, for displaying an environment model corresponding to a target scene; the environment model includes a state of at least one of each first target object and each second target object in the target scene; the environment model is generated based on a spatial layout diagram of the target scene and positions of each second target object in the target scene; the spatial layout diagram is generated based on a trajectory of the first target object in the target scene and a relationship between each space in the target scene; The display update module is used to display the updated state of at least one of the first target object and the second target object in the environment model when it is recognized that the state of at least one of the first target object and the second target object has changed.

18. An electronic device comprising at least one processor and at least one memory, wherein: The memory stores computer-readable instructions; when the computer-readable instructions are executed by one or more processors, the steps of the method according to any one of claims 1 to 11 are implemented.

19. A computer-readable storage medium having computer-readable instructions stored thereon, wherein the computer-readable instructions, when executed by one or more processors, implement the steps of the method according to any one of claims 1 to 11.

20. A computer program product, comprising computer readable instructions, wherein when the computer readable instructions are executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.

Citation Information

Patent Citations

  • Environmental model generation method, display method, device, equipment and storage medium

    CN116304260B

  • Smart home control system

    CN105388777A

  • Smart home system control method and device, processor and storage medium

    CN108931924A

  • Target labeling processing method and device, electronic equipment and readable storage medium

    CN113870390A

  • Equipment adjusting method and device, storage medium and electronic device

    CN115629551A

Cited By

  • Geographic space brain-like navigation route planning method and device, equipment and storage medium

    CN121384009A