Device state prompting method and device, storage medium and electronic device
By obtaining the device status and the location of the target object in the smart home system and determining the appropriate smart device for prompting, the problem of low reliability of device status prompts in the prior art is solved, and more efficient user information transmission is achieved.
Patent Information
- Application Number
- CN202311568145.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-22
- Publication Date
- 2025-05-23
AI Technical Summary
The device status prompt method in existing smart homes is low in reliability and cannot effectively continue prompting after the user leaves the space where the device is located.
By obtaining the device status in the smart home system and obtaining the current location of the target object when a specific condition is met, the smart device matching the location is prompted.
Improve the reliability of device status prompts and ensure that prompt information can be effectively communicated to the user even if the user leaves the space where the device is located.
Smart Images

Figure CN120029077A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home / intelligent family, and specifically, to a method and apparatus for prompting device status, a storage medium and an electronic device. Background Art
[0002] Artificial intelligence is now widely recognized by the public, and smart homes are also favored by more and more people. People's demand for related devices in smart homes is also increasing, and smart homes in smart homes are becoming more intelligent and complex.
[0003] Currently, in smart homes, the way to prompt the operating status of devices is usually to do so in a fixed space. For example, the status of the microwave oven in the kitchen is prompted, the status of the oven in the kitchen is prompted, and the status of the water heater in the bathroom is prompted. However, if the user leaves the kitchen or the bathroom, the corresponding prompt information cannot be reliably prompted to the user. In other words, the existing device status prompt method has a technical problem of low reliability.
[0004] In the related art, no effective solution has been proposed for the above technical problems. Summary of the invention
[0005] The embodiments of the present invention provide a method and apparatus for prompting a device status, a storage medium, and an electronic device, so as to at least solve the technical problem that the reliability of the related device status prompting method is low.
[0006] According to an embodiment of the present invention, a method for prompting a device status is provided, comprising: obtaining the device status of a first smart device in a smart home system, wherein the device status is used to indicate the operating status of the first smart device in the process of processing a target task; when the current device status of the first smart device meets a prompt condition, obtaining the current position of the target object; determining a second smart device matching the current position from a plurality of smart devices included in the smart home system, and prompting target prompt information through the second smart device, wherein the target prompt information is used to indicate the current device status of the first smart device.
[0007] According to another aspect of an embodiment of the present invention, a device status prompting apparatus is also provided, including: a first acquisition unit, used to acquire the device status of a first smart device in a smart home system, wherein the device status is used to indicate the operating status of the first smart device in the process of processing a target task; a second acquisition unit, used to acquire the current position of the target object when the current device status of the first smart device meets the prompting condition; a determination unit, used to determine a second smart device matching the current position from a plurality of smart devices included in the smart home system, and prompt target prompt information through the second smart device, wherein the target prompt information is used to indicate the current device status of the first smart device.
[0008] Optionally, the device status prompting device further includes: a third acquisition unit, for acquiring object information and environmental location information corresponding to each of the multiple user objects when it is detected that the environmental space where the smart home system is located includes multiple user objects; a first determination unit, for determining the prompt priority of each of the multiple user objects according to the object information; and a second determination unit, for determining the reference object as the target object when the prompt priority matched by the reference object among the multiple user objects is higher than that of other user objects.
[0009] Optionally, the above-mentioned determination of the prompt priority of each match of the above-mentioned multiple user objects based on the above-mentioned object information includes at least one of the following: determining the prompt priority of each match of the above-mentioned multiple user objects based on the object tag information corresponding to each of the above-mentioned multiple user objects, wherein the above-mentioned object information includes the above-mentioned object tag information, and the above-mentioned object tag information is used to indicate the object type of the above-mentioned user object; determining the prompt priority of each match of the above-mentioned multiple user objects based on the object operation information corresponding to each of the above-mentioned multiple user objects, wherein the above-mentioned object information includes the object operation information, and the above-mentioned object operation information is used to indicate the interaction record between the above-mentioned user object and the above-mentioned smart home system.
[0010] Optionally, the first determination unit includes: a first determination subunit, used to determine the first priority of each of the multiple user objects according to the object information of each of the multiple user objects; a second determination subunit, used to determine a reference object set consisting of user objects with the highest first priority from the multiple user objects; an acquisition subunit, used to acquire the environmental location information of each of the multiple user objects in the reference object set when the reference object set includes multiple user objects; a third determination subunit, used to determine the environmental space corresponding to each of the user objects in the reference object set according to the environmental location information; and a fourth determination subunit, used to determine the prompt priority of each user object in the reference object set according to the spatial priority of the environmental space.
[0011] Optionally, the device status prompting device further includes a second determination unit, which is used for, when the current device status of the first smart device satisfies the prompting condition, and before obtaining the current position of the target object, when it is detected that the first space where the first smart device is located includes a user object, determining the user object in the first space as the target object; and a third determination unit, which is used for, when it is detected that the first space where the first smart device is located does not include a user object and when it is detected that the environment space where the smart home system is located includes one user object, determining the user object as the target object.
[0012] Optionally, the determination unit includes: an acquisition subunit, used to acquire the smart devices included in the target space where the target object is located according to the current position; a determination subunit, used to determine the prompt types corresponding to each of the multiple smart devices according to the device attributes of each of the multiple smart devices when the target space includes multiple smart devices; the determination subunit is also used to determine the second smart device from the multiple smart devices according to the type priority of the prompt type.
[0013] Optionally, the determining of the second smart device from the multiple smart devices according to the type priority of the prompt type includes: in a case where there are multiple smart devices with the highest type priority according to the prompt type, obtaining interaction records corresponding to each of the multiple reference smart devices with the highest type priority; and determining, according to the operation timestamps of each interaction operation included in the interaction records, the reference smart device with the latest operation timestamp of performing the interaction operation with the user object as the second smart device.
[0014] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned device status prompting method when running.
[0015] According to another aspect of an embodiment of the present invention, there is provided an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the device status prompt method through the computer program.
[0016] In an embodiment of the present invention, the device status of the first smart device in the smart home system is obtained, wherein the device status is used to indicate the operating status of the first smart device in the process of processing the target task; when the current device status of the first smart device meets the prompt condition, the current position of the target object is obtained; a second smart device matching the current position is determined from the multiple smart devices included in the smart home system, and the target prompt information is prompted by the second smart device, wherein the target prompt information is used to indicate the current device status of the first smart device. In other words, after flexibly determining the prompt device, the method of using the determined prompt device to prompt the status of the smart device processing the target task solves the technical problem of low reliability of the related device status prompt method and improves the reliability of prompting the device status of the first smart device. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0019] Figure 1 is a schematic diagram of a hardware environment of an optional device status prompting method according to an embodiment of the present invention;
[0020] Figure 2 is a flow chart of an optional device status prompting method according to an embodiment of the present invention;
[0021] Figure 3 is a timing diagram of an optional device status prompting method according to an embodiment of the present invention;
[0022] Figure 4is a flowchart of another optional device status prompting method according to an embodiment of the present invention;
[0023] Figure 5 is a schematic structural diagram of an optional device status prompting apparatus according to an embodiment of the present invention;
[0024] Figure 6 It is a schematic diagram of the structure of an optional electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0027] According to one aspect of an embodiment of the present application, a device status prompting method is provided. The device status prompting method is widely used in smart home (Smart Home), smart home, smart home device ecology, smart residential (Intelligence House) ecology and other whole-house intelligent digital control application scenarios. Optionally, in this embodiment, the above device status prompting method can be but is not limited to being applied to Figure 1 In the device status prompt system in the hardware environment shown in FIG. 1 , the device status prompt system may include but is not limited to the terminal device 102, the server 104, the terminal device 106 and the network 110. Figure 1As shown, the server 104 is connected to the terminal device 102 and the terminal device 106 via a network, and can be used to provide services (such as application services, etc.) for the terminals or clients installed on the terminals. A database can be set on the server or independently of the server to provide data storage services for the server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data computing services for the server 104.
[0028] The specific process of this embodiment is as follows: the terminal device 102 executes S102: in response to the trigger operation of the first object, the target service is started (that is, the terminal device 102 starts to process the target task described in right 1), wherein the first object can be the target object or other objects in the home environment, the above-mentioned trigger operation is that the first object executes the operation of turning on the terminal device 102, or the first object pre-sets the terminal device 102, and the setting content can include the time when the terminal device 102 starts to process the target task or the time when the terminal device 102 completes the target task, and then executes S104: sending a device status prompt request to the server 104 through the network 110;
[0029] Then the server 104 executes S106 to S112, specifically: S106: obtaining the device status of the first smart device in the smart home system, wherein the device status is used to indicate the running status of the first smart device in the process of processing the target task; S108: obtaining the current position of the target object when the current device status of the first smart device meets the prompt condition; S110, determining a second smart device matching the current position from a plurality of smart devices included in the smart home system (assuming that the second smart device determined by the server 104 is the terminal device 106); The server 104 executes S112: sending the target prompt information to the terminal device 106;
[0030] Finally, the terminal device 106 executes S114: prompting target prompt information, wherein the target prompt information is used to indicate the current device state of the first smart device.
[0031] It is understandable that the terminal device 102 (such as Figure 1The device for starting the target service, such as an oven for baking sausages) and the terminal device 106 (a device for providing relevant prompts) (the terminal device 102 and the terminal device 106, i.e., the first smart device and the second smart device mentioned above) can be the same device or different devices in a home environment (it can be understood, but not limited to, that the first device for starting the target service and the second device for prompting the device status of the first device can be the same terminal device or different terminal devices). The multiple smart devices included in the above-mentioned smart home system can also send the device status corresponding to each of the multiple smart devices to the server in real time, so that when the user uses the target client to monitor the multiple smart devices in the smart home system, it can accurately determine whether the device status of the smart device displayed in the target client matches the actual device status of the smart device.
[0032] Optionally, in this embodiment, the terminal device 106 used to prompt the target prompt information may include but is not limited to at least one of the following: a mobile phone (such as an Android phone, an iOS phone, etc.), a laptop computer, a tablet computer, a PDA, a desktop computer, a smart TV, a smart air conditioner, a smart washing machine, etc.
[0033] The above-mentioned network may include but is not limited to at least one of the following: wired network, wireless network. The above-mentioned wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, local area network, and the above-mentioned wireless network may include but is not limited to at least one of the following: WIFI (Wireless Fidelity), Bluetooth. The above-mentioned terminal device 102 may not be limited to smart air conditioners, smart range hoods, smart refrigerators, smart ovens, smart stoves, smart washing machines, smart water heaters, smart washing equipment, smart dishwashers, smart projection equipment, smart TVs, smart clothes drying racks, smart curtains, smart audio and video, smart sockets, smart speakers, smart speakers, smart fresh air equipment, smart kitchen and bathroom equipment, smart bathroom equipment, smart sweeping robots, smart window cleaning robots, smart mopping robots, smart air purification equipment, smart steamers, smart microwave ovens, smart kitchen treasures, smart purifiers, smart water dispensers, smart door locks, etc.; the above-mentioned prompt signals for prompting target The terminal device 106 for receiving information may be but is not limited to a PC, a mobile phone, a tablet computer, a smart air conditioner, a smart range hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing equipment, a smart dishwasher, a smart projection equipment, a smart TV, a smart clothes drying rack, a smart curtain, a smart audio and video, a smart socket, a smart speaker, a smart speaker, a smart fresh air equipment, a smart kitchen and bathroom equipment, a smart bathroom equipment, a smart sweeping robot, a smart window cleaning robot, a smart mopping robot, a smart air purification equipment, a smart steamer, a smart microwave oven, a smart kitchen treasure, a smart purifier, a smart water dispenser, a smart door lock, etc.
[0034] Optionally, in this embodiment, the above-mentioned device status prompt method can be applied to, but is not limited to, prompting the device status of home devices in a smart home scenario, prompting the device status of office equipment in a smart office scenario, etc. This embodiment does not specifically limit the application scenario of the above-mentioned device status prompt method.
[0035] In an embodiment of the present invention, the device status of the first smart device in the smart home system is obtained, wherein the device status is used to indicate the operating status of the first smart device in the process of processing the target task; when the current device status of the first smart device meets the prompting condition, the current position of the target object is obtained; a second smart device matching the current position is determined from multiple smart devices included in the smart home system, and the second smart device prompts the target prompt information used to indicate the current device status of the first smart device. By flexibly determining the smart devices in different spaces that can provide information prompts, the status of the device processing the target task is prompted. This solves the technical problem in the related art that the prompt method based on the device status of the device itself or in the same space leads to low reliability of the prompt, and then by determining an effective smart prompt device, a reliable prompt of the status of the first smart device is achieved.
[0036] Optionally, as an optional implementation, as Figure 2 As shown, the above device status prompt method includes:
[0037] S202, obtaining a device status of a first smart device in the smart home system, wherein the device status is used to indicate an operating status of the first smart device in a process of processing a target task;
[0038] S204, when the current device state of the first smart device meets the prompt condition, obtaining the current position of the target object;
[0039] S206, determining a second smart device that matches the current location from a plurality of smart devices included in the smart home system, and prompting target prompt information through the second smart device, wherein the target prompt information is used to indicate a current device state of the first smart device.
[0040] Optionally, the smart home system in S202 is: a system that connects home appliances to the Internet and realizes interconnection through Internet of Things technology. The smart home system realizes intelligent control and management of home appliances through sensors, controllers, communication devices and application software. The first smart device in S202 and the second smart device in S206 are electronic devices with artificial intelligence technology and Internet connection functions. The first smart device and the second smart device can make intelligent decisions and actions according to user needs and environmental changes. The device status in S202 includes the status of the first smart device completing the target task and the status of the first smart device in the process of processing the target task. The status in the process of processing the target task includes the normal status of the first smart device in the process of processing the target task and the abnormal status of the first smart device in the process of processing the target task; the abnormal status includes: the fault status of the first smart device and the overheating status of the first smart device (the status of overheating but not causing the first smart device to fail).
[0041] The prompt conditions in the above S204 include at least one of the following: the first smart device is in a state of completing the target task, the first smart device is in an abnormal state during the process of processing the target task, and the first smart device is in a state requiring human intervention during the process of processing the target task (for example, when the user object is using an oven to bake sausages, the user object needs to be prompted to turn the sausage over halfway through the completion of the target task).
[0042] The above-mentioned target object is a user object used to receive target prompt information indicating the current device status of the first smart device; correspondingly, the current position of the above-mentioned target object can be the spatial position coordinates of the target object, or it can be the area where the target object is located. For example, in a scenario where the specific position information of the target object needs to be determined, the above-mentioned current position can be the spatial position coordinates of the target object (for example, in an office environment including multiple office areas, the first object needs to determine the current position of the target object, but the first object is not clear about the specific geographical locations of the multiple office areas in the office environment. At this time, the current position of the target object can be set to the spatial position coordinates of the specific location of the target object); in a scenario where the specific area where the user is located needs to be determined, the above-mentioned current position can be the area where the target object is located.
[0043] It can be understood that the above-mentioned first smart device can start processing the target task if the trigger condition is met. The above-mentioned trigger condition can be that the user object turns on the first smart device or the user object pre-sets the working status parameters for the first smart device. The pre-set working status parameters can be the start time when the first smart device starts processing the target task (or the time when the first smart device completes the target task), the target task type (such as frying, deep-frying, steaming, boiling, baking, boiling water, etc.), the conditions for completion of the target task (can be pre-set according to the task type, for example, when the task type is frying, deep-frying, steaming, boiling, baking, the above-mentioned conditions indicating the completion of the target task can be set to when the time for processing the target task reaches the time threshold, indicating that the target task is completed; when the task type is boiling water, the condition for the completion of the target task can be when the water temperature reaches the temperature threshold, indicating that the target task is completed), etc.
[0044] The second smart device in S206 is a smart device for prompting target prompt information, and the second smart device matching the current position is a device whose distance between the device position and the current position meets the distance condition. Furthermore, the method for determining the second smart device matching the current position may be a method for determining the second smart device according to the distance relationship between each smart device and the target object. For example, it may be: determining the smart device with the same position as the current position among multiple smart devices as the second smart device, or determining the smart device with the closest straight-line distance to the current position among multiple smart devices as the second smart device, or determining the last smart device among multiple smart devices that interacted with the target object as the second smart device (for example, multiple smart devices include a smart TV and a smart air conditioner, and the interaction time between the smart TV and the target object was ten minutes ago, and the interaction time between the smart air conditioner and the target object was twenty minutes ago, then the smart TV can be determined as the second smart device matching the current position).
[0045] The above-mentioned smart device at the same current location can be a smart device in the same space as the target object (for example, the target object and the air conditioner are both in the bedroom space). The above-mentioned smart device at the same current location can also be a smart device where the difference between the first longitude and latitude of the target object and the second longitude and latitude of the smart device is less than the longitude and latitude threshold.
[0046] The target prompt information is used to indicate the current device state of the first smart device. For example, the current device state may be an abnormal operation state of the device, or a task completion state of the first smart device, or the first smart device is in a state that requires human intervention (for example, human intervention is required for stir-frying or flipping). The target prompt information may be provided by playing audio, displaying the target prompt information on a display screen, flashing a flash light, etc. The specific prompting method is not limited in this application.
[0047] Take the application of the above-mentioned prompt method of the smart device in a home environment as an example. Figure 3 As shown, the above device status prompt method may include the following steps:
[0048] S301, a user triggers a first smart device;
[0049] S302, the first smart device executes the target task;
[0050] S303 to S304, the server obtains the device status of the first smart device, and determines the second smart device from the plurality of smart devices included in the home environment;
[0051] S305, the server sends the target prompt information to the second smart device;
[0052] S306, the second smart device prompts target prompt information, wherein the prompt type includes light prompt, voice broadcast prompt, display screen prompt, etc.;
[0053] S307, after the target prompt information is successfully prompted, the user checks the first smart device (when the first smart device fails), or shuts it down (when the first smart device completes the target task), or performs an intermediate operation that requires human intervention, etc.
[0054] Through the solution provided by the embodiment of the present application, the device status of the first smart device in the smart home system is obtained, and when the device status of the first smart device meets the prompt condition, the current location of the target object is obtained, and a second smart device matching the current location is determined from multiple smart devices included in the smart home system, and the target prompt information is prompted by the second smart device. In other words, by flexibly determining the second smart device according to the geographical location of the target object, and using the determined second smart device to prompt the device status of the first smart device, the technical problem of low reliability of the related device status prompt method is solved, and the reliability of prompting the device status of the first smart device is improved.
[0055] In an exemplary embodiment, before obtaining the current position of the target object when the current device state of the first smart device meets the prompt condition, the method further includes:
[0056] S1, when it is detected that the environment space where the smart home system is located includes multiple user objects, obtaining object information and environment location information corresponding to each of the multiple user objects;
[0057] S2, determining the prompt priority of each of the plurality of user objects according to the object information;
[0058] S3: When the prompt priority of the reference object among the multiple user objects is higher than that of other user objects, determine the reference object as the target object.
[0059] It should be noted that the environmental space where the smart home system in the above S1 is located may include multiple different spatial areas, such as: kitchen, master bedroom, second bedroom, bathroom, toilet, etc. The above object information includes user gender, user age, etc. When the above environmental space includes multiple user objects, the spatial areas where the multiple user objects are located (that is, the location information corresponding to each of the multiple user objects) may be the same or different. For example, one user object among the multiple user objects is located in the kitchen, two user objects are located in the master bedroom, and one user object is located in the bathroom, etc.
[0060] The prompt priority in S2 is used to indicate the priority of prompting target prompt information to multiple user objects when the device state of the first smart device meets the prompt condition. According to the level of the prompt priority, the device state of the first smart device can be prompted to the user object with the highest prompt priority first. The basis for determining the above prompt priority can be the above object information (gender, age, etc. of the user object), the environmental location information corresponding to the user object, and the operation timestamp of the interaction between the user object and the smart device with the same environmental location information as the user object. After determining the prompt priority, the target object can be determined according to the prompt priority. The above interactive operation can be a fingerprint interactive operation (for example, the user uses a fingerprint to unlock the smart device), a voice interactive operation (for example, the user uses voice to control the smart device), a remote control interactive operation (for example, the user uses a remote control to control the air conditioner), etc.
[0061] For example: when the object information corresponding to multiple user objects is the same (the genders of the multiple objects and the time periods of the ages of the multiple objects are the same), and there is no user object in the spatial area where the first smart device is located, it can be determined that the timestamps of the interaction operations between the multiple user objects and the target smart devices corresponding to the multiple user objects are the same; when the timestamps of the voice interaction operations between the multiple user objects and the target smart devices corresponding to the multiple user objects are the same, according to the spatial priority of the spatial area where the multiple user objects are located, the prompt priority matching the user object in the spatial area with the highest spatial priority is the highest, and the user object in the spatial area with the highest spatial priority can be determined as the target object; when the times of the voice interaction operations between multiple user objects are different, the prompt priority of the user object at the interaction time with the shortest time interval to the current time is the highest, and the user object at the interaction time with the shortest time interval to the current time can be determined as the target object.
[0062] The target smart device is the last smart device that interacts with the user object among multiple smart devices in the same spatial area. For example, user object a and smart devices A, B, and C are all in the bedroom. The interaction time between user object a and smart device A was 30 minutes ago, the interaction time between user object a and smart device B was 20 minutes ago, and the interaction time between user object a and smart device C was 10 minutes ago. Then smart device C is the target smart device corresponding to user object a.
[0063] For example, the user objects with the shortest interaction time interval with the current time are as follows: user a and smart device A are in the master bedroom, user b and smart device B are in the bathroom, the time when user a has voice interaction with smart device A is 8:00 a.m. on September 13, 2023, and the time when user b has voice interaction with smart device B is 4:00 p.m. on September 13, 2023, and the current time is 5:00 p.m. on September 13, 2023. Then, it can be determined that the time interval between the time when user a has voice interaction with smart device A and the current time is 9 hours, and the time interval between the time when user b has voice interaction with smart device B and the current time is 1 hour. At this time, user b can be determined as the target object.
[0064] The above-mentioned method for determining the target object also includes: when the object information corresponding to each of the multiple user objects is different, and there is no user object in the spatial area where the first smart device is located, the object priority of the multiple user objects is determined according to the object information (i.e., the first priority described below, for example, ladies>men>elderly>children, and the object priority can be a pre-set priority), and when there are two or more user objects with the same object priority among the multiple user objects, and the object priority of the two or more user objects with the same object priority is the highest (for example, the kitchen is ladies, the bedroom is ladies, the living room is men, and the bathroom is elderly, in this case, it can be determined that the object priority of the user objects in the kitchen and bedroom is the same, and the object priority corresponding to ladies is the highest), objects with the same object priority are screened out from the multiple user objects, and the spatial priority of the spatial area where the screened objects are located is determined, and the prompt priority matching the user object existing in the spatial area with the highest spatial priority is the highest. At this time, the user object existing in the spatial area with the highest spatial priority can be determined as the target object. The above-mentioned spatial priority can be predetermined according to the distance between the multiple spatial areas and the spatial area where the first smart device is located, or it can be determined according to other methods. The method for determining the spatial priority of different spatial areas is not limited in this application.
[0065] The above method of determining the target object according to the prompt priority also includes: when the environment space where the smart home system is located includes only one user object, the prompt priority matching the user object is the highest, and the user object can be directly determined as the target user object.
[0066] Through the solution provided by the embodiment of the present application, when it is detected that the environmental space where the above-mentioned smart home system is located includes multiple user objects, the object information and environmental location information corresponding to each of the above-mentioned multiple user objects are obtained; the prompt priority matching each of the above-mentioned multiple user objects is determined according to the above-mentioned object information; when the above-mentioned prompt priority matching the reference object among the above-mentioned multiple user objects is higher than the other above-mentioned user objects, the above-mentioned reference object is determined as the above-mentioned target object, and the user object that can quickly make corresponding processing operations according to the above-mentioned target prompt information can be flexibly determined, thereby improving the reliability of the device status prompt of the smart device. At the same time, through the determination of the target object, the prompt of the target prompt information is made random, and the target prompt information is prompted to the target object on a more reasonable smart device, thereby achieving the technical effect of accurately prompting the target prompt information to the user object.
[0067] In an exemplary embodiment, determining the prompt priority of each of the plurality of user objects according to the object information includes at least one of the following:
[0068] Method 1: determining the prompt priority of each of the plurality of user objects according to the object label information corresponding to each of the plurality of user objects, wherein the object information includes the object label information, and the object label information is used to indicate the object type of the user object;
[0069] Method 2: Determine the prompt priority matching each of the multiple user objects based on the object operation information corresponding to each of the multiple user objects, wherein the object information includes object operation information, and the object operation information is used to indicate the transaction record between the user object and the smart home system.
[0070] It should be noted that the object types in the above-mentioned method one may include: men, women, the elderly, and children; the above-mentioned object types may be determined based on the above-mentioned object information corresponding to the user object, that is, based on the gender and age of the user object (or the age range in which the age range is located, the age range can be divided as needed, for example, if the gender of the user object is female, then user objects aged 0 to 10 are children, user objects aged 10 to 17 are teenagers, user objects aged 18 to 30 are women, user objects aged 31 to 50 are middle-aged women, and user objects aged over 50 are elderly people. It can be understood that the division of the above-mentioned age ranges is only an embodiment, and the specific division of the age ranges can be more appropriately divided according to actual needs); the object operation information in method two may be an interaction record between the user object and the smart device included in the smart home system, and the above-mentioned interaction record includes an interaction voiceprint and a historical interaction status.
[0071] In the above-mentioned method 1, determining the prompt priority of each of the multiple user objects according to the object label information corresponding to each of the multiple user objects can be understood, but is not limited to, as determining the prompt priority of each of the multiple user objects only according to the object label information used to indicate the object type of the user object, for example, the prompt priority is: ladies>men>elderly>children.
[0072] In the above-mentioned method 2, the prompt priority matching each of the multiple user objects is determined according to the object operation information corresponding to each of the multiple user objects. The prompt priority can be determined according to the interaction operation history (i.e., interaction record) between the user object and the smart device in the smart home system. The interaction types in the above-mentioned interaction operation history include voice interaction and manual interaction (such as remote control wake-up and response); the above-mentioned voice interaction is, for example: the user controls the smart TV by voice, and the smart TV responds according to the voice data when receiving the user's voice data, or prompts the user that the smart TV has been awakened (for example, the user says "Xiao A", and the smart TV recognizes "Xiao A" and responds to the prompt information "I am here") or performs corresponding operations according to the voice data (for example, the user controls the smart TV to change channels by voice).
[0073] Optionally, the method for determining the prompt priority can also be determined in combination with the user tag information and the interactive operation history. For example, in a home environment, when there are multiple user objects, and the object types of the multiple user objects are the same (that is, the prompt priority determined according to the object tag is the same, for example, the multiple user objects are all women, but the environmental location information of the multiple users is different, that is, the multiple user objects are located in different spaces in the home environment), the prompt priority can be further determined according to the user interactive operation history.
[0074] Through the scheme provided in the embodiment of the present application, the prompt priority of each of the multiple user objects is determined according to the object tag information corresponding to each of the multiple user objects, wherein the object information includes the object tag information, and the object tag information is used to indicate the object type of the user object; or the prompt priority of each of the multiple user objects is determined according to the object operation information corresponding to each of the multiple user objects, wherein the object information includes the object operation information, and the object operation information is used to indicate the transaction record between the user object and the smart home system. The target user who can make corresponding subsequent operations according to the target prompt information in time can be accurately determined, thereby improving the reliability of prompting the device status of the first smart device.
[0075] In an exemplary embodiment, determining the matching priorities of the plurality of user objects according to the object information includes:
[0076] S1, determining a first priority level for matching each of the multiple user objects according to the object information of each of the multiple user objects;
[0077] S2, determining a reference object set consisting of user objects with the highest first priority from multiple user objects;
[0078] S3, when the reference object set includes multiple user objects, obtaining environmental location information of each of the multiple user objects in the reference object set;
[0079] S4, determining the environment space corresponding to each user object in the reference object set according to the environment position information;
[0080] S5, determining the prompt priority of each user object in the reference object set according to the spatial priority of the environment space.
[0081] It should be noted that the first priority in the above S1 can be the priority of the prompt target prompt information determined according to the object label information included in the object information of each of the multiple user objects. For example, the user object types indicated by the object label information include: men, women, elderly, and children, then the first priority is: women>men>elderly>children.
[0082] The user object set in the above S2 includes user objects. When the above user object set includes one user object, the user object can be directly determined as the target object; when the above user object set includes multiple user objects, the environmental spaces corresponding to the multiple user objects can be determined according to the environmental location information of the multiple user objects, and then the prompt priorities of the multiple user objects can be determined according to the spatial priorities of the environmental spaces.
[0083] It should be noted that the target object can be further determined according to the respective prompt priorities of the determined multiple user objects. For example, when it is detected that the environment space where the smart home system is located includes a user object, it can be determined that the prompt priority of the user object is the highest without detecting others, and then the user object with the highest prompt priority is determined as the target object; when it is detected that the above environment space includes multiple user objects, the following situations exist:
[0084] Case 1: In the above S1, it is determined that the first priorities that match the above-mentioned multiple user objects have the same first priority according to the object information of each of the multiple user objects, and the first priority is the highest priority that matches the user object, and then multiple reference objects corresponding to the first priority are obtained from the multiple user objects, and then the environmental space corresponding to each of the multiple reference objects is determined according to the environmental position information, and the prompt priority of the multiple reference objects is determined according to the priority of the environmental space, and the reference object with the highest prompt priority is determined as the target object.
[0085] For example, the user objects existing in M spaces out of N spaces such as the kitchen, living room, and bedroom are all men, and multiple men are of the same age or in the same age time period, and the user objects existing in the remaining NM spaces are elderly people or children (where N and M are integers greater than zero, and N>M), the pre-set object priority is: women>men>elderly people>children, and the user object corresponding to the first priority (i.e., the men existing in the above-mentioned M spaces) can be determined from the multiple user objects, and the environmental spaces corresponding to the multiple user objects can be determined, and the prompt priority of the user objects in the reference object set can be determined according to the space priority, so that the user object with the highest prompt priority can be determined as the target object.
[0086] Case 2: In the above S1, it is determined based on the object information of each of the multiple user objects that there is no same first priority among the first priorities matched by the multiple user objects. At this time, the user object with the highest first priority can be determined as the target object (the first priorities of the multiple user objects are different, and the reference object set composed of the user objects with the highest first priority includes only one user object, then the user object is the target object).
[0087] Through the scheme provided by the embodiment of the present application, the first priority of each of the above-mentioned multiple user objects is determined according to the object information of each of the above-mentioned multiple user objects; a reference object set consisting of the user objects with the highest first priority is determined from the above-mentioned multiple user objects; when the above-mentioned reference object set includes multiple of the above-mentioned user objects, the environmental location information of each of the above-mentioned multiple user objects in the reference object set is obtained; the above-mentioned environmental space corresponding to each of the above-mentioned user objects in the above-mentioned reference object set is determined according to the above-mentioned environmental location information; and the above-mentioned prompt priority of each user object in the above-mentioned reference object set is determined according to the space priority of the above-mentioned environmental space. By determining the prompt priority of multiple user objects, the user object with priority prompting can be determined, so that the prompted user object can make corresponding operations according to the target prompt information in time, thereby improving the reliability of determining the prompt information.
[0088] In an exemplary embodiment, when the current device state of the first smart device meets the prompt condition, before obtaining the current position of the target object, the method further includes:
[0089] S1, in a case where it is detected that a first space where a first smart device is located includes a user object, determining the user object in the first space as a target object;
[0090] S2: When it is detected that the first space where the first smart device is located does not include the user object and it is detected that the environment space where the smart home system is located includes a user object, the user object is determined as the target object.
[0091] It should be noted that the method of determining the target object in the above S1 can be understood, but is not limited to, as detecting user objects in the environmental space where the first smart home system is located. No matter how many user objects are detected, as long as the first space where the first smart device is located includes user objects, the same user objects as those in the first space where the first smart device is located can be determined as target objects.
[0092] For example: the first smart device is an oven, and the first space where the first smart device is located is a kitchen. When detecting user objects in the environmental space where the first smart device is located, it is detected that user object A exists in the kitchen. At this time, user object A can be determined as the target object, and then the smart device is identified according to the spatial area where user object A is located (that is, the first space where the first smart device is located). When it is identified that there is only the first smart device in the kitchen, the device status of the first smart device can be directly prompted through the first smart device (at this time, the first smart device and the second smart device are the same smart device); when it is identified that there are multiple smart devices in the kitchen (including the first smart device), a second smart device for prompting target prompt information is determined from the multiple smart devices (at this time, the first smart device and the second smart device can be the same device or different devices).
[0093] There are special cases in the method of determining the target object in the above S1. For example, the first smart device is an oven, and the first space where the oven is located is a kitchen. There is also a user object A in the kitchen. After the user object A triggers the active service of the first smart device (that is, the user object A turns on the oven to bake food), the noise of the user object A using other kitchen utensils to cook other foods is relatively large (for example, the user object A uses a wok to cook). Considering that the sound of the voice broadcast prompt is easily masked by the noise, we can determine the prompt type that each smart device can use to prompt the target prompt information according to the device attributes of each of the multiple smart devices in the smart home, such as light prompt, voice broadcast prompt, and display screen prompt. In order to make the prompt of the target prompt information most easily known by the user, multiple prompt types can be prioritized in advance, for example: light prompt> voice broadcast prompt> display screen prompt. For example, when the first smart device is in the kitchen and there is a smart ceiling lamp in the kitchen, the user can be prompted by the flashing of the smart ceiling lamp, so that the target prompt information prompted is easier to be known by the target user object.
[0094] The method of determining the target object in the above S2 can be understood, but is not limited to, as follows: when the first space where the first smart device is located does not include a user object, but the environment space where the smart home system is located includes only one user object, the user object can be directly determined as the target object.
[0095] Optionally, an embodiment of the present invention may also detect the distance between the user object and the environmental space when the environmental space where the smart home system is located includes only one user object. When it is detected that the distance between the user object and the environmental space is less than a certain threshold, a first prompt information is prompted to the user object, wherein the first prompt information is used to indicate the current device status of the first smart device, and the current device status includes the timestamp of the time since the first smart device completed the target task.
[0096] For example, a smart home system includes only one user object, whose object type can be man, woman, or elderly. When it is detected that the user object is about to open the door and leave home (i.e., when the user object steps out of the door with one foot, it can be detected that the distance between the user object and the environment space where the smart home system is located is less than or equal to zero), the smart door lock can be used to voice broadcast a first prompt message to the user object, prompting the user object of the target task being processed by the first smart device in the smart home system, and the remaining time for the first smart device to complete the target task. For example, the first prompt information is as follows: the oven in the kitchen is baking egg tarts, and there are 10 minutes and 20 seconds left before the egg tarts are finished. Please XXX (such as Mr. Guo, or you) return to the kitchen within 10 minutes and 20 seconds or wait for 10 minutes and 20 seconds before leaving; the oven in the kitchen is baking sausages, and there are 6 minutes and 30 seconds left before turning the sausages over. Please XXX return to the kitchen within 10 minutes and 20 seconds to turn the sausages over or wait for 10 minutes and 20 seconds before turning the sausages over before leaving; the water heater in the bathroom is heating water, and there are 8 minutes left before heating the water to 80 degrees. Please XXX return to the kitchen within 10 minutes and 20 seconds or wait for 10 minutes and 20 seconds before leaving. The specific content of the first prompt information can be set according to actual needs.
[0097] Optionally, for safety reasons, when the device state of the first smart device meets the prompt condition, the first smart device may be directly controlled to be turned off, and the target prompt information or the first prompt information may be prompted to the target user.
[0098] Optionally, if no interaction is detected between any user object and the first smart device (the user object controls the smart device to turn on or off manually or by voice, etc.) within a preset time period after the timestamp of the target prompt information or the first prompt information, the target prompt information or the first prompt information is repeated, and the smart device for repeating the target prompt information or the first prompt information may be the same or different.
[0099] For example, when there is only one user object in the environment space where the smart home system is located, and when it is detected that the user object leaves the environment space before the first smart device completes the target task, the first prompt message is prompted to the user object through the smart door lock. When it is detected that the first smart device completes the target task, the first smart device is controlled to be turned off. However, when the user object is not detected to return to the environment space where the smart home is located at this time, the target prompt message is prompted through a smart device (such as a mobile phone carried by the user) whose distance to the user object is less than a preset distance threshold. Within a preset time period after the prompting of the target prompt message, when it is detected that there is an interaction operation between the user object and the first smart device, the target prompt message can be repeatedly prompted through a smart device (such as a mobile phone carried by the user) whose distance to the user object is less than the preset threshold until there is an interaction operation between the user object and the first smart device.
[0100] Through the solution provided by the embodiment of the present application, when it is detected that the first space where the above-mentioned first smart device is located includes a user object, the above-mentioned user object in the above-mentioned first space is determined as the above-mentioned target object; when it is detected that the first space where the above-mentioned first smart device is located does not include a user object, and it is detected that the environmental space where the above-mentioned smart home system is located includes one of the above-mentioned user objects, the above-mentioned user object is determined as the above-mentioned target object. In the case where the first space where the first smart device is located includes a user object, or the first space where the above-mentioned first smart device is located does not include a user object, but the environmental space where the above-mentioned smart home system is located includes only one user object, there is no need to consider the object information corresponding to the user object and the environmental location information, and the target object can be quickly determined, thereby prompting the target object, thereby improving the efficiency of determining the target object.
[0101] In an exemplary embodiment, the determining of the second smart device matching the current location from the plurality of smart devices included in the smart home system includes:
[0102] S1, acquiring the smart devices included in the target space where the target object is located according to the current position;
[0103] S2, when the target space includes multiple smart devices, determining the prompt type corresponding to each of the multiple smart devices according to the device attributes of each of the multiple smart devices;
[0104] S3: Determine a second smart device from multiple smart devices according to the type priority of the prompt type.
[0105] The device attributes in S2 above may be information about the prompting components included in the device. For example, if a smart device has a display screen, the device attributes may include the attribute information of the display screen; if the smart device has a component that can perform a voice playback function, the device attributes may include the attribute information of the voice playback component; if the smart device has a light display component, the device attributes may include the attribute information of the light display component, and so on. For example, the device attributes of a mobile phone include the attribute information of the display screen, the attribute information of the voice playback component, and the attribute information of the light display component (flashlight); the device attributes of a smart ceiling lamp include the attribute information of the light display component and the attribute information of the voice playback component; the device attributes of a smart door lock include the attribute information of the voice playback component.
[0106] The above prompting types may be prompting types corresponding to the device attributes. For example, the device attributes of a mobile phone include the attribute information of the display screen, the attribute information of the voice playback component, and the attribute information of the light display component. The prompting types corresponding to the mobile phone may be display screen prompts, voice broadcast prompts, or light flashing prompts; the device attributes of a smart ceiling lamp include the attribute information of the light harness component and the attribute information of the voice playback component. Then the prompting types corresponding to the smart ceiling lamp may include voice broadcast prompts and light change prompts (which may be light flashing prompts, light display color change prompts); the device attributes of a smart door lock include the attribute information of the voice playback component. Then the prompting type of the smart door lock may be a voice broadcast prompt.
[0107] The priority of the above prompting types may be preset according to the ease with which the prompting information sent by the prompting type is directly received by the target object. The basis for the preset priority may be the device attributes. For example, the way of light change prompt > the way of voice broadcast > the way of display screen displaying prompting information. At this time, the device attributes of multiple smart devices can be obtained respectively. For example, multiple smart devices include the above-mentioned mobile phone, smart ceiling lamp, and smart door lock. Then according to the device attributes of multiple smart devices respectively, it can be determined that the prompting types of the mobile phone include light flashing prompts, display screen prompts, and voice broadcast prompts; the prompting types of the smart ceiling lamp may be light flashing prompts, voice broadcast prompts, and the prompting type of the smart door lock may be a voice broadcast prompt. Then according to the priority of the prompting types determined for multiple smart devices respectively, a second smart device is determined from multiple smart devices.
[0108] Through the solution provided by the embodiments of the present application, the prompting types corresponding to multiple smart devices are determined through the device attributes of multiple smart devices, so that a second smart device is determined from multiple smart devices through the priority of the prompting types, improving the efficiency of determining the second smart device.
[0109] In an exemplary embodiment, determining the second smart device from multiple smart devices according to the priority of the prompting types includes:
[0110] S1, when there are multiple smart devices with the highest type priority according to the prompt type, obtaining interaction records corresponding to each of the multiple smart devices with the highest type priority;
[0111] S2: According to the operation timestamps of the respective interaction operations included in the interaction record, determine a reference smart device having the latest operation timestamp for performing interaction operations with the user object as the second smart device.
[0112] It should be noted that the interaction records in the above S1 are records of interactions with the target object in the same spatial area as the above-mentioned multiple smart devices. The above-mentioned interaction records include interaction operations, the interaction start time corresponding to the interaction operations, and the interaction objects for interacting with the smart devices. The above-mentioned interaction objects for interacting with the smart devices may be the same or different; the interaction records corresponding to the air conditioner, for example, user A controls the air conditioner to turn on by voice at 3 pm on September 13, 2023, and user B controls the air conditioner to turn off by voice at 6 pm on September 13, 2023; user B manually controls the smart ceiling light to turn off at 8 am on September 15, 2023, and user C controls the smart ceiling light to turn on by voice at 8 pm on September 15, 2023.
[0113] The latest operation timestamp in S2 is the shortest time interval between the operation timestamps of each interaction operation included in the interaction records corresponding to each of the multiple smart devices and the current time. For example, if the current time is 9:00 p.m. on September 15, 2023, through the interaction records corresponding to the air conditioner and the smart ceiling lamp, it can be determined that the timestamp with the shortest time interval with the current time among the above four timestamps (3:00 p.m. on September 13, 2023, 6:00 p.m. on September 13, 2023, 8:00 a.m. on September 15, 2023, and 8:00 p.m. on September 15, 2023) is 8:00 p.m. on September 15, 2023, then it can be determined from the above interaction records that the smart device corresponding to 8:00 p.m. on September 15, 2023 is the smart ceiling lamp, and at this time the smart ceiling lamp can be determined as the second smart device.
[0114] The second smart device is determined from multiple smart devices according to the priority of the prompt type. For example, the prompt types of the mobile phone include light flashing prompts, display prompts and voice broadcast prompts; the prompt types of the smart ceiling lamps can be light flashing prompts and voice broadcast prompts; the prompt types of the smart door locks can be voice broadcast prompts; then according to the pre-set priority of the prompt types, it can be determined that the smart devices with the highest prompt type priority are the mobile phone and the smart ceiling lamp; thus, it can be determined that the smart devices with the highest prompt type priority include the mobile phone and the smart ceiling lamp. At this time, according to the timestamps of each interaction operation included in the interaction records corresponding to the mobile phone and the smart ceiling lamp, the reference smart device with the latest operation timestamp for interacting with the user object can be determined as the second smart device.
[0115] Optionally, in the case where there are multiple smart devices with the highest priority according to the prompt type, the second smart device can also be determined according to the prompt intensity of the same prompt type. For example, the prompt types of the mobile phone and the smart ceiling lamp both include light prompts. Since the light prompt intensity of the smart ceiling lamp is stronger than the light prompt intensity of the mobile phone, the smart ceiling lamp can be determined as the second smart device according to the light prompt intensity of the mobile phone and the smart ceiling lamp.
[0116] Optionally, the above-mentioned determining the second smart device from multiple smart devices according to the priority of the prompt type also includes: when the device attributes of the smart device include attribute information of the bright display component, and the device attributes of other smart devices in the same space do not include attribute information of the bright display component (for example, the light flashing prompt component of the mobile phone is damaged and cannot prompt through flashing light), it can be determined that the prompt type of the mobile phone is a voice broadcast prompt, then the device with the highest priority of the prompt type is the smart ceiling light. At this time, the smart ceiling light can be directly determined as the second smart device, and the target prompt information can be prompted through the light change prompt of the second smart device.
[0117] Through the solution provided by the embodiment of the present application, in the case that there are multiple smart devices with the highest priority of the above-mentioned type according to the above-mentioned prompt type, the interaction records corresponding to the multiple reference smart devices with the highest priority of the above-mentioned type are obtained; according to the operation timestamps of each interactive operation included in the above-mentioned interaction records, the reference smart device with the latest operation timestamp of performing the above-mentioned interactive operation with the user object is determined as the above-mentioned second smart device; by determining the second smart device from the multiple smart devices with the highest priority according to the operation timestamp, the smart device that can prompt the target prompt information in a timely and accurate manner can be quickly determined from the multiple smart devices with the highest priority, thereby improving the efficiency of determining the prompt device, and at the same time, by determining the smart device that can accurately prompt the target prompt information, the reliability of prompting the target prompt information is further improved.
[0118] In order to better understand the process of the device status prompt method, the device status prompt method process is described below in conjunction with an optional embodiment, but is not intended to limit the technical solution of the embodiment of the present invention.
[0119] In this embodiment, a method for prompting a device status is provided. Figure 4 is a schematic diagram of a method for prompting a device status according to an embodiment of the present invention. Figure 4 As shown, the above device status prompt method specifically includes the following steps:
[0120] S401, the first smart device triggers an active service;
[0121] For example, user object A puts the ingredients to be cooked (such as egg tarts, sausages, cakes, etc.) into the oven in the kitchen (the first smart device), and sets the temperature and time of the oven. After the settings are completed, the first smart device starts to cook the ingredients in the oven.
[0122] For another example, user object A turns on the water heater in the bathroom and sets the temperature of the water heater (the first smart device mentioned above), and then the water heater starts to process the water boiling task.
[0123] S402, the smart home system identifies whether the number of people (the number of user objects) in the home environment (the environment space where the smart home system is located) is equal to 1;
[0124] S403, when the number of people in the home environment is equal to 1, determine the only user in the home environment as the target object, obtain geographic location information corresponding to the target object, and determine the space where the target object is located according to the geographic location information of the target object;
[0125] S404, obtaining the smart devices included in the space where the target object is located; when there is only one smart device in the space, determining the smart device as the second smart device, and prompting the target prompt information through the second smart device; when there are multiple smart devices in the space, determining the prompt types corresponding to the multiple smart devices according to the device attributes of the multiple smart devices; determining the second smart device according to the priority of the prompt type.
[0126] S405, detecting whether there is someone in the space of the first smart device;
[0127] It should be noted that, in the above S401, after the first smart device triggers the active service, the location information of the first smart device can be obtained, and the space where the first smart device is located can be determined through the location information of the first smart device.
[0128] S406, when there is a person (user object) in the space of the first smart device, determine a second smart device from the smart devices in the space, and prompt the target prompt information through the second smart device;
[0129] S407, when there is no one in the space of the first smart device, determining whether the crowd priorities of people in other spaces (kitchen, bathroom, bedroom, living room, toilet, etc.) are the same;
[0130] S408: If the crowd priorities of the people in other spaces are the same, determine whether the voiceprint priorities (the latest interaction timestamps of multiple user objects and smart devices in their respective spaces) of the user objects in other spaces are the same. The above voiceprint priority is real-time voiceprint > historical voiceprint. For example, there is a lady in the bedroom, a lady in the living room, and a lady in the bathroom, but the lady in the bedroom interacted with the air conditioner in the bedroom within 10 minutes, while the lady in the living room did not interact with the smart device in the living room within ten minutes, and the lady in the bathroom did not interact with the smart device in the bathroom within ten minutes. At this time, the lady in the bedroom will be pushed first;
[0131] S409, when the voiceprint priorities of the user objects in other spaces are the same, the target prompt information is prompted through the smart device in the space with the higher space priority; for example: the living room and the bedroom are both men, and the operation timestamps of the interaction between the man in the living room and multiple smart devices in the living room are the same. At this time, according to the pre-set space priority, the user object in the environment space with the highest space priority can be determined as the target object, and the target prompt information is further prompted through the smart device in the environment space. The above space priority can be pre-set, such as living room, bedroom, study, balcony, dining room> bathroom> kitchen (when there is no one in the space where the first smart device is located, the space where the first smart device is located has the lowest priority). This priority is mainly considered that people are taking a bath in the bathroom, which is inconvenient for subsequent operations, so it is reduced by one level. For spaces with the same space priority (such as living room, bedroom, study, balcony, dining room), a space can be randomly determined as the target space.
[0132] For example, in the above S409: when there is a lady in the bedroom, a lady in the living room, and a lady in the bathroom, and they all have real-time voiceprints (interacted within ten minutes) or historical voiceprints (no interaction within ten minutes), or the latest interaction time between the lady in the bedroom, the lady in the living room, and the lady in the bathroom and the smart devices in their respective spaces are the same, customers can be pushed according to the pre-set space priority.
[0133] Alternatively, when the latest interaction time between the lady in the bedroom, the lady in the living room, and the lady in the bathroom and the smart devices in their respective spaces are the same, the second smart device (the device used to prompt the target prompt information) can be determined based on the frequency of interaction between the smart devices in different spaces and the user object (which can be the same object or different objects) within a preset time period. For example, the latest interaction time between the lady in the bedroom and the multiple smart devices in the bedroom is 8 pm on September 15, 2023, the latest interaction time between the lady in the living room and the multiple smart devices in the living room, and the latest interaction time between the lady in the bathroom and the multiple smart devices in the bathroom are also 8 pm on September 15, 2023. At this time, the smart device with the highest interaction frequency within the preset time period (for example, within 24 hours, within 3 days, or within 1 month) and the smart device (the first device) that interacts with the smart device (the first device) can be determined from the multiple smart devices in the bedroom. The smart device with the highest interaction frequency within a preset time period is determined from the multiple smart devices in the living room (the device can be determined as the second device) and the number of interactions corresponding to the smart device; the smart device with the highest interaction frequency within a preset time period is determined from the multiple smart devices in the bathroom (the device can be determined as the third device) and the number of interactions corresponding to the smart device; the smart device with the highest number of interactions is determined from the number of interactions corresponding to the first device, the second device, and the third device, and the smart device is determined as the second smart device.
[0134] S410, in the case where the voiceprint priorities are different, the space where the smart device with the highest voiceprint priority, that is, the interaction timestamp with the shortest time interval between the latest operation timestamp of the interaction between multiple user objects and the smart device and the current time is located is determined as the target space, and the target prompt information is prompted by the smart device in the target space;
[0135] S411, when the crowd priorities in other spaces are different (for example, there are ladies in the kitchen, ladies in the bedroom, men in the living room, and elderly people in the bathroom), determine whether there are users with the same crowd priority in other spaces, where the crowd priority may be pre-set according to object information corresponding to the user object, where the user object information may include the age, gender, and voiceprint information of the user object, and the crowd priority may be, for example: ladies>men>elderly>children;
[0136] S412, when there are user objects with the same crowd priority in other spaces, the spaces of users with the same crowd priority are screened out from multiple spaces (spaces of users with the same crowd priority and with the same crowd priority are spaces with the highest space priority); for example: study room for women, bedroom for women, living room for men, bathroom for elderly, then the spaces where the user objects with the same crowd priority are located are the study room and the bedroom;
[0137] S413, when the space with the highest crowd priority is one space, the space with the highest crowd priority is determined as the target space; when the space with the highest crowd priority is multiple spaces, the space with the highest space priority is determined from the screened spaces; for example, the spaces screened according to the highest crowd priority are the study and the bedroom, and if the preset space priority is study>living room>bedroom>toilet>bathroom, then the study with the highest space priority can be determined as the target space. If the preset space priority is living room, bedroom, study, balcony, dining room>bathroom>kitchen, then it can be seen that the space priority of the study and bedroom is the same, and at this time, one can be randomly selected from the study and bedroom as the target space, or a target space can be determined based on the distance between the study and bedroom and the space where the first device is located.
[0138] S414, prompting target prompt information through the smart device in the determined target space;
[0139] S415, when the population priorities of user objects existing in other spaces are different, the space where the user object with the highest prompt priority is located is determined as the target space, and the target prompt information is prompted through the smart device in the target space.
[0140] Taking the family environment as an example, combined with Figure 4 and Figure 4 The corresponding S401 to S415 can be limited to the above method. The device status prompt method is different according to the number of people in the home environment. The device status prompt method can specifically include the following situations (the number of users in the home is defined as n, that is, the number of users that can be sensed by the human sensor):
[0141] Case 1: n=1: When the first smart device triggers the active service (i.e., triggers the first smart device to process the target task), the user's location is first determined through the whole-house human sensing, and the active service broadcast is performed through the device that senses the user. At this time, the broadcast is performed wherever the person is.
[0142] Taking the example of baking egg tarts in an oven, the oven triggers an active service. When it is determined that there is only one user object in the home environment through the whole house human sensing, the space where the user object is located is determined through the whole house human sensing, and then the smart devices existing in the space are identified. When there is only one smart device in the space, the smart device is directly determined as the second smart device, and the target prompt information is prompted through the smart device; when there are multiple smart devices in the space, the second smart device is determined from the multiple smart devices through the above method, and the target prompt information is prompted through the second smart device. The method for determining the second smart device is detailed above. This method solves the problem in the prior art that the user is in the bedroom, but the target prompt information is prompted in the space where the oven is located (i.e., the kitchen), resulting in the low reliability of the device status prompt that the user does not receive the target prompt information.
[0143] Case 2: n>1, and there is a user in the space where the device that triggers the active service is located. There are multiple user objects in a home environment, and the multiple user objects are distributed in multiple different spaces. At this time, there is a user in the space where the device that triggers the active service is located, and the target prompt information is prompted in this space first.
[0144] For example, still taking the example of baking egg tarts in the kitchen oven, after the oven triggers the active service, there is a user object in the kitchen. At this time, if there are also user objects in the bedroom, living room and other spaces, the target prompt information can be prompted through the smart device in the kitchen first, thereby avoiding the target prompt information being prompted in other rooms.
[0145] Case three: n>1, and there are no users in the space where the device that triggers the active service is located, and there are men, women, old and young in other spaces (that is, the object types of user objects in other spaces are different). At this time, the object type of user objects in other spaces can be determined through human sensing (determining the spaces where multiple users are located) + voiceprint capability (the object type of multiple user objects can be determined through voiceprint capability). After determining the object type, the prompt priority can be determined according to the object type. This priority takes into account the processing capabilities of different groups of people in the home for subsequent operations. Among them, the judgment of voiceprint capability is mainly based on real-time voiceprint collection. Real-time voiceprints are defined as users who have interacted within X minutes, and historical voiceprints are defined as no interactions for more than X minutes. For example: Considering the differences in interaction frequencies in different spaces, X for the living room, bedroom, study, dining room, and kitchen can be defined as 10 minutes, and X for the bathroom and balcony can be set to 20 minutes. If the current human sensor senses someone but there is no real-time voiceprint (the user object is in a silent state, such as reading, collaborating, exercising gently, etc.), the voiceprint with the most interactions within a preset time period (for example, seven days) is obtained as the basis for determining the priority of the prompt, that is, within the preset time period, the user object with the higher the interaction frequency has a higher prompt priority.
[0146] The above prompt priority is determined according to the object type. For example, if the object types include men, women, the elderly, and children, the prompt priority can be preset as: women>men>elderly>children. The prompt priority can also be preset as men>women>elderly>children. The above prompt priority can be set by the user in the smart home system in advance according to personal wishes and the roles played by different user objects in the user's family and the processing capabilities of subsequent operations.
[0147] Case 4: n>1, and there is no user in the space where the device that triggers the active service is located, and the object type of the user objects in other spaces is the same.
[0148] If there is no user in the space that triggers the active service, the human sensing + voiceprint capabilities can be used to determine that there are user objects of the same object type in multiple other spaces. For example, there is a lady in the bedroom, a lady in the living room, and a lady in the bathroom. At this time, the method for determining the prompt priority is as follows:
[0149] Method 1: Real-time voiceprint > historical voiceprint. For example, if there is a lady in the bedroom, a lady in the living room, and a lady in the bathroom, but the lady in the bedroom interacts with the bedroom air conditioner within 10 minutes, but the lady in the living room does not interact with the living room smart device within 10 minutes, and the lady in the bathroom does not interact with the bathroom smart device within 10 minutes, then it can be determined that the reminder priority of the lady in the bedroom is the highest;
[0150] Method 2: Space priority. The space priority can be preset. For example, the preset space priority is (living room, bedroom, study, balcony, dining room) > bathroom > kitchen (assuming that the kitchen is the space where the first smart device is located, that is, when there is no user object in the space where the first smart device is located, the space priority of the space where the first smart device is located is the lowest). The space priority of the bathroom is one level lower because the user object in the bathroom may be taking a bath and it is inconvenient to perform subsequent operations, so the priority of the bathroom is reduced by one level. That is, when there is a lady in the bedroom, a lady in the living room, and a lady in the study, and they all have real-time voiceprints (that is, the lady in the bedroom interacts with the smart device in the bedroom within 10 minutes, the lady in the living room interacts with the smart device in the living room within 10 minutes, and the lady in the bathroom interacts with the smart device in the bathroom within 10 minutes), or they all have historical voiceprints (that is, there is no interaction within 10 minutes), the prompt priority corresponding to different user objects in different spaces can be determined according to the space priority, so that the target prompt information is prompted by the smart device in the space where the user object with the highest prompt priority is located.
[0151] In an embodiment of the present invention, the device state of the first smart device in the smart home system is obtained, wherein the device state is used to indicate the running state of the first smart device in the process of processing the target task; when the current device state of the first smart device meets the prompt condition, the current position of the target object is obtained; a second smart device matching the current position is determined from the multiple smart devices included in the smart home system, and the target prompt information is prompted by the second smart device, wherein the target prompt information is used to indicate the current device state of the first smart device. Thus, the technical problem of low reliability of prompts caused by the device state prompt method based on the device itself or the same space in the related art is solved, and then the reliability of prompting the device state of the first smart device is improved by determining an effective smart prompt device. At the same time, the device state prompt method makes the user object prompted by the target prompt information more accurate through the combination of voice + human sense + voiceprint capabilities, thereby achieving the technical effect of prompting the target prompt information to the right person at the right time, and also avoiding the situation where the prompt of the target prompt information is invalid due to the inconsistency between the space where the user is located and the space where the target prompt information is prompted.
[0152] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention.
[0153] The embodiment of the present invention also provides a device status prompting device, such as Figure 5 As shown, the prompting device comprises:
[0154] A first acquisition unit 502 is used to acquire a device state of a first smart device in the smart home system, wherein the device state is used to indicate an operating state of the first smart device in a process of processing a target task;
[0155] A second acquisition unit 504 is used to acquire the current position of the target object when the current device state of the first smart device meets the prompt condition;
[0156] The determination unit 506 determines a second smart device that matches the current location from the multiple smart devices included in the smart home system, and prompts target prompt information through the second smart device, wherein the target prompt information is used to indicate the current device status of the first smart device.
[0157] The embodiment of the present invention also provides an electronic device for implementing the above-mentioned device status prompt method, which can be Figure 6 The terminal device or server shown in FIG. This embodiment is described by taking the electronic device as an example. Figure 6 As shown, the electronic device includes a memory 602 and a processor 604, wherein the memory 602 stores a computer program, and the memory 602 may include, but is not limited to, the first acquisition unit 502, the second acquisition unit 504 and the determination unit 506 in the above-mentioned device status prompt device, and the processor is configured to run the computer program to execute the steps in any of the above-mentioned method embodiments.
[0158] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.
[0159] Optionally, the electronic device may further include a transmission device 606, a display 608 and a connection bus 610, wherein the transmission device 606 is connected to the processor 604 via the connection bus 610, the display may be used to display the target prompt information and the device status of the first smart device; the connection bus 610 is used to connect the various module components in the electronic device. The electronic device may further include an input / output device connected to the processor for inputting data to be processed and outputting the result data.
[0160] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0161] S1, used to obtain a device status of a first smart device in a smart home system, wherein the device status is used to indicate an operating status of the first smart device in a process of processing a target task;
[0162] S2, for obtaining the current position of the target object when the current device state of the first smart device meets the prompt condition;
[0163] S3, determining a second smart device matching the current location from the multiple smart devices included in the smart home system, and prompting target prompt information through the second smart device, wherein the target prompt information is used to indicate the current device status of the first smart device.
[0164] Alternatively, a person skilled in the art may understand that: Figure 6 The structure shown is for illustration only, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, MID), a PAD, or other terminal devices. Figure 6 The structure of the electronic device is not limited. For example, the electronic device may also include Figure 6 More or fewer components (such as network interfaces, etc.) as shown in, or with Figure 6 Different configurations are shown.
[0165] Optionally, the transmission device 606 is used to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one example, the transmission device 606 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 606 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0166] An embodiment of the present invention further provides a computer-readable storage medium, which includes a stored program, wherein the program executes any of the above methods when it is run.
[0167] Optionally, in this embodiment, the storage medium may be configured to store program codes for executing the following steps:
[0168] S1, used to obtain a device status of a first smart device in a smart home system, wherein the device status is used to indicate an operating status of the first smart device in a process of processing a target task;
[0169] S2, for obtaining the current position of the target object when the current device state of the first smart device meets the prompt condition;
[0170] S3, determining a second smart device matching the current location from the multiple smart devices included in the smart home system, and prompting target prompt information through the second smart device, wherein the target prompt information is used to indicate the current device status of the first smart device.
[0171] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.
[0172] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0173] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0174] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
[0175] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0176] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0177] The above is only a preferred implementation 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 device status prompt method, It is characterized in that include: Acquire a device status of a first smart device in a smart home system, wherein the device status is used to indicate an operating status of the first smart device in a process of processing a target task; When the current device state of the first smart device meets the prompt condition, obtaining the current position of the target object; A second smart device matching the current position is determined from a plurality of smart devices included in the smart home system, and target prompt information is prompted through the second smart device, wherein the target prompt information is used to indicate the current device state of the first smart device.
2. The method according to claim 1, It is characterized in that Before obtaining the current position of the target object when the current device state of the first smart device meets the prompt condition, the method further includes: When it is detected that the environment space where the smart home system is located includes a plurality of user objects, obtaining object information and environment location information corresponding to each of the plurality of user objects; Determining, according to the object information, a prompt priority level for each of the plurality of user objects to match; In the case where the prompt priority of a reference object among the multiple user objects is higher than that of other user objects, the reference object is determined as the target object.
3. The method according to claim 2, It is characterized in that Determining the prompt priority of each of the plurality of user objects according to the object information includes at least one of the following: Determining the prompt priority of each of the plurality of user objects according to the object label information corresponding to each of the plurality of user objects, wherein the object information includes the object label information, and the object label information is used to indicate the object type of the user object; The prompt priority of each of the multiple user objects is determined according to the object operation information corresponding to each of the multiple user objects, wherein the object information includes object operation information, and the object operation information is used to indicate the interaction record between the user object and the smart home system.
4. The method according to claim 2, It is characterized in that Determining the prompt priority of each of the plurality of user objects according to the object information includes: Determine a first priority level for matching each of the multiple user objects according to the object information of each of the multiple user objects; Determine a reference object set consisting of the user objects with the highest first priority from the multiple user objects; In a case where the reference object set includes a plurality of the user objects, acquiring environmental location information of each of the plurality of user objects in the reference object set; Determine the environment space corresponding to each of the user objects in the reference object set according to the environment position information; The prompt priority of each user object in the reference object set is determined according to the spatial priority of the environmental space.
5. The method according to claim 1, It is characterized in that Before obtaining the current position of the target object when the current device state of the first smart device meets the prompt condition, the method further includes: In a case where it is detected that the first space where the first smart device is located includes a user object, determining the user object in the first space as the target object; When it is detected that the first space where the first smart device is located does not include a user object and it is detected that the environment space where the smart home system is located includes one of the user objects, the user object is determined as the target object.
6. The method according to claim 1, It is characterized in that The step of determining a second smart device matching the current location from a plurality of smart devices included in the smart home system comprises: Acquire, according to the current position, smart devices included in the target space where the target object is located; In the case where the target space includes a plurality of smart devices, determining the prompt type corresponding to each of the plurality of smart devices according to the device attributes of each of the plurality of smart devices; The second smart device is determined from the multiple smart devices according to the type priority of the prompt type.
7. The method according to claim 6, It is characterized in that The step of determining the second smart device from the plurality of smart devices according to the priority of the prompt type comprises: In the case that there are multiple smart devices with the highest priority of the type according to the prompt type, acquiring interaction records corresponding to each of the multiple reference smart devices with the highest priority of the type; According to the operation timestamps of the respective interaction operations included in the interaction record, the reference smart device having the latest operation timestamp of performing the interaction operation with the user object is determined as the second smart device.
8. A device for indicating the status of an equipment. It is characterized in that include: A first acquisition unit, configured to acquire a device state of a first smart device in a smart home system, wherein the device state is used to indicate a running state of the first smart device in a process of processing a target task; A second acquisition unit, configured to acquire a current position of a target object when a current device state of the first smart device satisfies a prompt condition; A determination unit is used to determine a second smart device matching the current position from a plurality of smart devices included in the smart home system, and to prompt target prompt information through the second smart device, wherein the target prompt information is used to indicate the current device state of the first smart device.
9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a stored program, wherein the program executes the method described in any one of claims 1 to 7 when executed.
10. An electronic device comprising a memory and a processor, It is characterized in that A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 7 through the computer program.