Equipment conflict processing method and device, equipment, medium and product

By obtaining the operating status information of smart home devices, detecting conflicts between devices, and feedbacking users to resolve strategies, the energy waste and equipment wear caused by device function conflicts in smart home systems is solved, and more efficient energy consumption management and equipment protection is achieved.

CN119937337APending Publication Date: 2025-05-06GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411929201.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

In smart home systems, there is potential conflict between the functions of different devices, resulting in unnecessary waste of energy and wear of the device.

Method used

By obtaining the running status information of the running device, determining the conflict between devices, and generating conflict-related information to feedback to the user, the user can adjust the operating status of the device according to the conflict resolution policy to eliminate the conflict.

Benefits of technology

It realizes conflict detection based on the equipment operating status information, discover potential conflicts and feedback to users, thereby avoiding conflicts between devices or mitigating the impact of conflicts, and improving the energy efficiency and equipment life of smart home systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119937337A_ABST
    Figure CN119937337A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an equipment conflict processing method and device, equipment, a medium and a product. The method comprises the following steps: acquiring first running state information of running first equipment; determining one or more second devices which are running from a device set of a local environment where the first device is located, and obtaining second running state information of the one or more second devices; performing conflict detection on the first operation state information and the second operation state information; and generating conflict related information according to a conflict detection result, and feeding back the conflict related information to the user. Through the embodiment of the invention, conflict detection is carried out according to the equipment operation state information to find potential conflicts, and conflict related information is generated to be fed back to a user, so that conflicts between equipment are avoided or the influence of the conflicts is relieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart home technology, and in particular to a method, device, equipment, medium and product for handling device conflicts. Background Art

[0002] With the rapid development and popularization of smart home technology, more and more smart home devices are integrated into home networks, bringing great convenience to modern family life. Users can easily control smart home devices at home, such as air conditioners, humidifiers, etc., through smartphone applications or voice assistants, realizing remote operation and automated management.

[0003] However, in the actual application of smart home systems, some problems have also been exposed. In particular, when there is a potential conflict between the functions of different devices, it will lead to unnecessary energy waste and equipment wear. For example, when the air conditioner is set to dehumidification mode, its internal mechanism will work hard to reduce the indoor humidity; at the same time, if the humidifier is activated in the same space, its humidification function will try to increase the indoor humidity. These two completely different functions operating at the same time in the same time period will not only offset each other, resulting in unnecessary energy consumption, but may also have an adverse effect on the normal operation of the equipment and accelerate the wear of the equipment. Summary of the invention

[0004] In view of the above problems, a method, apparatus, device, medium and product for device conflict handling are proposed to overcome the above problems or at least partially solve the above problems, including:

[0005] A method for handling device conflicts, the method comprising:

[0006] Acquire first running status information of a first running device;

[0007] Determine one or more running second devices from a device set in a local environment where the first device is located, and obtain second running state information of the one or more second devices;

[0008] Performing conflict detection on the first running status information and the second running status information;

[0009] Based on the results of conflict detection, conflict-related information is generated and fed back to the user.

[0010] Optionally, the conflict-related information includes a conflict resolution strategy, and generating the conflict-related information according to the result of the conflict detection includes:

[0011] When a conflict is detected between the first operating state information and the second operating state information, a conflict resolution strategy is generated according to the first operating state information and the second operating state information.

[0012] Optionally, generating a conflict resolution strategy according to the first operating state information and the second operating state information includes:

[0013] Adjust at least one of the first running status information and the second running status information so that there is no conflict between the adjusted running status information;

[0014] A conflict resolution strategy is generated based on the adjusted operating status information.

[0015] Optionally, the conflict-related information further includes conflict details, and the conflict details include any one or more of the following:

[0016] Conflicting device identification, conflicting functional modes, and conflict detection time.

[0017] Optionally, after generating conflict related information according to the conflict detection result and providing feedback to the user, the method further includes:

[0018] According to a confirmation operation of the user on the conflict resolution strategy, the first device and / or the second device that conflicts with the first device is controlled according to the conflict resolution strategy.

[0019] Optionally, the performing conflict detection on the first running status information and the second running status information includes:

[0020] In a mutually exclusive table, query whether the first operating status information and the second operating status information have a mutually exclusive relationship; wherein the mutually exclusive table stores the mutually exclusive relationship between the operating status information of multiple devices;

[0021] When it is found that the first running status information and the second running status information are mutually exclusive, it is determined that the first running status information and the second running status are in conflict.

[0022] Optionally, it also includes:

[0023] Updating the mutex table manually or automatically;

[0024] And / or, the mutex table is updated according to data in the third-party platform obtained through the interface.

[0025] Optionally, the operating status information includes any one or more of the following: device identification, functional mode, and operating parameters.

[0026] Optionally, the first operating status information is information sent when the operating status of the first device changes.

[0027] A device for handling device conflicts, the device comprising:

[0028] A first operation status information acquisition module, used to acquire first operation status information of a first device that is running;

[0029] A second operation status information acquisition module, used to determine one or more running second devices from a device set in a local environment where the first device is located, and acquire second operation status information of the one or more second devices;

[0030] a conflict detection module, configured to perform conflict detection on the first operation status information and the second operation status information;

[0031] The conflict feedback module is used to generate conflict-related information and provide feedback to the user based on the results of conflict detection.

[0032] An electronic device comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the method described above when executed by the processor.

[0033] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described above is implemented.

[0034] A computer program product comprises a computer program, wherein when the computer program is executed by a processor, the computer program implements the method as described above.

[0035] The embodiments of the present invention have the following advantages:

[0036] In an embodiment of the present invention, by acquiring first operating status information of a first device that is running; determining one or more second devices that are running from a set of devices in a local environment where the first device is located, and acquiring second operating status information of the one or more second devices; performing conflict detection on the first operating status information and the second operating status information; and generating conflict-related information and providing feedback to a user based on a result of the conflict detection, conflict detection is performed based on the device operating status information to discover potential conflicts, and conflict-related information is generated and provided to a user for feedback, thereby avoiding the occurrence of conflicts between devices or reducing the impact of conflicts. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0038] Figure 1 is a flowchart of the steps of a method for handling device conflicts provided by some embodiments of the present invention;

[0039] Figure 2 is a flow chart of a method for handling device conflicts provided by some embodiments of the present invention;

[0040] Figure 3 is a flowchart of another method for handling device conflicts provided by some embodiments of the present invention;

[0041] Figure 4 is a flowchart of steps of another method for handling device conflicts provided by some embodiments of the present invention;

[0042] Figure 5 It is a structural block diagram of a device conflict handling apparatus provided by some embodiments of the present invention. DETAILED DESCRIPTION

[0043] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0044] Reference Figure 1 , shows a flowchart of a method for handling device conflicts provided by some embodiments of the present invention, which is applied to an edge server and may specifically include the following steps:

[0045] Step 101: Acquire first operating status information of a first operating device.

[0046] In some embodiments of the present invention, the operating status information includes any one or more of the following: device identification, functional mode, and operating parameters.

[0047] In some embodiments of the present invention, the first operating status information is information sent when the operating status of the first device changes.

[0048] As some examples, the first device may be any smart home device running in a smart home environment; wherein the smart home device may be a smart light, a smart air conditioner, a smart humidifier, etc.

[0049] In actual applications, each smart home device can automatically send its own operating status information to the edge server through the network when the operating status changes. The operating status information may include device identification (device ID), function mode (such as cooling mode, heating mode, etc.), and current parameters (such as temperature, humidity, etc.). By obtaining the current operating status information of smart home devices, it is possible to perform monitoring, management, optimization, or troubleshooting operations.

[0050] As some examples, each smart home device can have a built-in status monitoring function to monitor its own operating status in real time; when the device status changes, it can report its own operating status information to the edge server through network protocols (such as MQTT, HTTP, etc.).

[0051] Step 102: determine one or more running second devices from a device set in a local environment where the first device is located, and obtain second running status information of the one or more second devices.

[0052] Among them, the local environment can be the space or area where the first device is located, which can contain multiple smart home devices, which are interconnected through a network (such as a local area network, the Internet of Things, etc.); in the local environment of the first device, there can be a collection of multiple smart home devices, and these devices can have different functions, brands and models.

[0053] In some examples, the second device can be any smart home device in the local environment other than the first device.

[0054] For example, in a smart home environment, the first device is a smart TV, the local environment is a living room, and the device set of the local environment where the first device is located also includes air conditioners, humidifiers, lighting systems, etc.; through the smart home platform or mobile phone APP, you can determine the currently running devices (such as the air conditioner is cooling, the humidifier is humidifying), and obtain their operating status information (such as device identification, function mode, operating parameters, etc.).

[0055] Step 103: Perform conflict detection on the first running status information and the second running status information.

[0056] After obtaining the first operating status information of a first running device and the second operating status information of one or more second running devices in the local environment of the first device, the operating status information of the first device can be compared with the operating status information of the second device, such as comparing whether there is a conflict between the functional modes of the first operating status information and the second operating status information, and outputting corresponding information based on the result of the conflict detection, such as the type of conflict, the devices involved, the degree of conflict, etc.

[0057] For example, in the first operating status information, the device is identified as air conditioner 001, the function mode is dehumidification mode, and the operating parameter is temperature 26%; in the second operating status information, the device is identified as humidifier 005, the function mode is humidification mode, and the operating parameter is humidity 40%; comparing the two, these two completely different functions operating at the same time in the same time period will not only offset each other, but also cause unnecessary consumption of energy, so it can be determined that there is a conflict between the two.

[0058] In some embodiments of the present invention, the conflict detection of the first operating status information and the second operating status information includes: querying in a mutex table whether there is a mutually exclusive relationship between the first operating status information and the second operating status information; wherein the mutex table stores the mutually exclusive relationship between the operating status information of multiple devices; and when it is queried that the first operating status information and the second operating status information have a mutually exclusive relationship, determining that there is a conflict between the first operating status information and the second operating status.

[0059] Among them, the mutex table can be a data structure used to store the mutually exclusive relationship between the operating status information of multiple smart home devices; the mutually exclusive relationship means that when the operating status information of certain devices appears at the same time, it will cause functional conflicts or competition and other problems; for example, the dehumidification mode of the air conditioner and the humidification mode of the humidifier can be marked as mutually exclusive, that is, there is a mutually exclusive relationship between the two.

[0060] In some examples, the mutex table may be established in advance based on the mutually exclusive relationship of the operating status information between smart home devices and stored in a database of the edge server so as to quickly determine whether there is a conflict between the devices when performing conflict detection.

[0061] In actual applications, if two pieces of operating status information are marked as mutually exclusive in the mutex table, then when they appear at the same time, the edge server may determine that there is a conflict between the two smart home devices.

[0062] For example, after the edge server obtains the first operating status information and the second operating status information, it can parse the information contained in the operating status information, and then query the mutex table in the database to check whether there is a mutually exclusive relationship between the first device and the second device, thereby determining whether there is a conflict between the two.

[0063] In some embodiments of the present invention, the method further includes: updating the mutex table manually or automatically; and / or updating the mutex table according to data in a third-party platform obtained through an interface.

[0064] As some examples, the mutex table can support adding mutually exclusive relationships of new devices and functions through software updates, and the user or administrator can manually update the mutex table, or the manufacturer can push updates. For example, software is used to edit (such as add, delete, modify) mutually exclusive relationships between multiple device operating status information.

[0065] In some examples, the software may also provide an API (Application Programming Interface) for third-party device manufacturers to add custom mutual exclusion rules and update the mutual exclusion table.

[0066] Step 104: Generate conflict-related information based on the conflict detection result and provide feedback to the user.

[0067] In some embodiments of the present invention, the conflict-related information further includes conflict details, and the conflict details include any one or more of the following: conflicting device identification, conflicting functional mode, and conflict detection time.

[0068] In actual applications, after the edge server obtains the operating status information of multiple devices, it can perform conflict detection and query the mutual exclusion table to analyze whether there is a mutual exclusion relationship between the devices; if the result of the conflict detection indicates that there is a conflict, the conflict details (such as the conflicting device identification, the conflicting functional mode, the conflict detection time, etc.) can be recorded, and the conflict-related information can be fed back to the user, such as popping up a warning window in the user client (such as a mobile phone APP), or displaying an error message on the interactive interface of the device, or sending a notification to the user through a voice assistant, email, etc.

[0069] In some embodiments of the present invention, the conflict-related information includes a conflict resolution strategy, and the generation of conflict-related information based on the result of the conflict detection includes: when a conflict is detected between the first operating status information and the second operating status information, generating a conflict resolution strategy based on the first operating status information and the second operating status information.

[0070] Among them, the conflict resolution strategy may include multiple policy suggestions, and one policy suggestion may include shutting down a certain device, switching a certain device function mode, adjusting a certain device operating parameter, etc.

[0071] For example, if the humidifier is running and the user sets the air conditioner to dehumidification mode, the edge server can immediately push a reminder on the mobile phone after detecting the conflict, and suggest turning off the humidifier or changing the air conditioner mode. For another example, if there are multiple air conditioners in the home, air conditioner A is in cooling mode and air conditioner B is in heating mode, the edge server can detect the conflict and remind the user to avoid unnecessary energy consumption.

[0072] In some embodiments of the present invention, generating a conflict resolution strategy based on the first operating status information and the second operating status information includes: adjusting at least one of the first operating status information and the second operating status information so that there is no conflict in the adjusted operating status information; generating a conflict resolution strategy based on the adjusted operating status information.

[0073] For example, if the humidifier is running and the air conditioner is in dehumidification mode, you can turn off the humidifier or the dehumidification mode of the air conditioner. As an adjustment strategy, adjust the operating status information of one of the devices to ensure that there is no conflict in the adjusted operating status information. Then generate a conflict resolution strategy, which includes multiple strategy suggestions (such as turning off the humidifier or turning off the dehumidification mode of the air conditioner), and send it to the user for the user to choose.

[0074] For another example, there are multiple air conditioners in a home, air conditioner A is at a cooling temperature of 26°, and air conditioner B is at a cooling temperature of 30°, then the cooling temperature of air conditioner B can be adjusted to 26° as an adjustment strategy so that there is no conflict in the adjusted operating status information, and then a conflict resolution strategy is generated (adjusting the cooling temperature of air conditioner B to 26°).

[0075] In some embodiments of the present invention, after generating conflict-related information based on the result of conflict detection and providing feedback to the user, it also includes: based on the user's confirmation operation on the conflict resolution strategy, controlling the first device and / or the second device that conflicts with the first device according to the conflict resolution strategy.

[0076] In actual applications, after receiving the notification, the user can choose to view information related to the conflict and decide whether to adjust the device to eliminate the conflict based on the conflict resolution strategy.

[0077] In some examples, after receiving the notification on the mobile client, the user can click on any policy suggestion in the conflict resolution policy to control the operating status of the smart home device indicated by the policy suggestion.

[0078] In an embodiment of the present invention, by acquiring first operating status information of a first device that is running; determining one or more second devices that are running from a set of devices in a local environment where the first device is located, and acquiring second operating status information of the one or more second devices; performing conflict detection on the first operating status information and the second operating status information; and generating conflict-related information and providing feedback to a user based on a result of the conflict detection, conflict detection is performed based on the device operating status information to discover potential conflicts, and conflict-related information is generated and provided to a user for feedback, thereby avoiding the occurrence of conflicts between devices or reducing the impact of conflicts.

[0079] The following is combined with Figure 2 The present invention is exemplified as follows:

[0080] Step 201: The running state of the device changes.

[0081] Step 202: reporting the operation status information.

[0082] Step 203: The edge server receives.

[0083] Step 204, query the mutex table.

[0084] Step 205 , determine whether there is a conflict, if yes, proceed to step 206 , otherwise proceed to step 210 .

[0085] Step 206: Generate conflict related information.

[0086] Step 207: Generate a user reminder.

[0087] Step 208, sending notification.

[0088] Step 209: The user adjusts the device.

[0089] Step 210, continue monitoring.

[0090] In the embodiment of the present invention, by determining whether there is a conflict between devices and reminding the user to adjust the device, energy waste caused by device function conflict can be avoided, the service life of the device can be extended, and the user experience and convenience of the smart home system can be improved.

[0091] Reference Figure 3 , shows a flowchart of another method for handling device conflicts provided by some embodiments of the present invention, which may specifically include the following steps:

[0092] Step 301: Acquire first operating status information of a first operating device.

[0093] In some embodiments of the present invention, the operating status information includes any one or more of the following: device identification, functional mode, and operating parameters.

[0094] In some embodiments of the present invention, the first operating status information is information sent when the operating status of the first device changes.

[0095] As some examples, the first device may be any smart home device running in a smart home environment; wherein the smart home device may be a smart light, a smart air conditioner, a smart humidifier, etc.

[0096] In actual applications, each smart home device can automatically send its own operating status information to the edge server through the network when the operating status changes. The operating status information may include device identification (device ID), function mode (such as cooling mode, heating mode, etc.), and current parameters (such as temperature, humidity, etc.). By obtaining the current operating status information of smart home devices, it is possible to perform monitoring, management, optimization, or troubleshooting operations.

[0097] As some examples, each smart home device can have a built-in status monitoring function to monitor its own operating status in real time; when the device status changes, it can report its own operating status information to the edge server through network protocols (such as MQTT, HTTP, etc.).

[0098] Step 302: determine one or more running second devices from a device set in a local environment where the first device is located, and obtain second running status information of the one or more second devices.

[0099] Among them, the local environment can be the space or area where the first device is located, which can contain multiple smart home devices, which are interconnected through a network (such as a local area network, the Internet of Things, etc.); in the local environment of the first device, there can be a collection of multiple smart home devices, and these devices can have different functions, brands and models.

[0100] In some examples, the second device can be any smart home device in the local environment other than the first device.

[0101] For example, in a smart home environment, the first device is a smart TV, the local environment is a living room, and the device set of the local environment where the first device is located also includes air conditioners, humidifiers, lighting systems, etc.; through the smart home platform or mobile phone APP, you can determine the currently running devices (such as the air conditioner is cooling, the humidifier is humidifying), and obtain their operating status information (such as device identification, function mode, operating parameters, etc.).

[0102] Step 303: Perform conflict detection on the first running status information and the second running status information.

[0103] After obtaining the first operating status information of a first running device and the second operating status information of one or more second running devices in the local environment of the first device, the operating status information of the first device can be compared with the operating status information of the second device, such as comparing whether there is a conflict between the functional modes of the first operating status information and the second operating status information, and outputting corresponding information based on the result of the conflict detection, such as the type of conflict, the devices involved, the degree of conflict, etc.

[0104] For example, in the first operating status information, the device is identified as air conditioner 001, the function mode is dehumidification mode, and the operating parameter is temperature 26%; in the second operating status information, the device is identified as humidifier 005, the function mode is humidification mode, and the operating parameter is humidity 40%; comparing the two, these two completely different functions operating at the same time in the same time period will not only offset each other, but also cause unnecessary consumption of energy, so it can be determined that there is a conflict between the two.

[0105] In some embodiments of the present invention, the conflict detection of the first operating status information and the second operating status information includes: querying in a mutex table whether there is a mutually exclusive relationship between the first operating status information and the second operating status information; wherein the mutex table stores the mutually exclusive relationship between the operating status information of multiple devices; and when it is queried that the first operating status information and the second operating status information have a mutually exclusive relationship, determining that there is a conflict between the first operating status information and the second operating status.

[0106] Among them, the mutex table can be a data structure used to store the mutually exclusive relationship between the operating status information of multiple smart home devices; the mutually exclusive relationship means that when the operating status information of certain devices appears at the same time, it will cause functional conflicts or competition and other problems; for example, the dehumidification mode of the air conditioner and the humidification mode of the humidifier can be marked as mutually exclusive, that is, there is a mutually exclusive relationship between the two.

[0107] In some examples, the mutex table may be established in advance based on the mutually exclusive relationship of the operating status information between smart home devices and stored in a database of the edge server so as to quickly determine whether there is a conflict between the devices when performing conflict detection.

[0108] In actual applications, if two pieces of operating status information are marked as mutually exclusive in the mutex table, then when they appear at the same time, the edge server may determine that there is a conflict between the two smart home devices.

[0109] For example, after the edge server obtains the first operating status information and the second operating status information, it can parse the information contained in the operating status information, and then query the mutex table in the database to check whether there is a mutually exclusive relationship between the first device and the second device, thereby determining whether there is a conflict between the two.

[0110] In some embodiments of the present invention, the method further includes: updating the mutex table manually or automatically; and / or updating the mutex table according to data in a third-party platform obtained through an interface.

[0111] As some examples, the mutex table can support adding mutually exclusive relationships of new devices and functions through software updates, and the user or administrator can manually update the mutex table, or the manufacturer can push updates. For example, software is used to edit (such as add, delete, modify) mutually exclusive relationships between multiple device operating status information.

[0112] In some examples, the software may also provide an API (Application Programming Interface) for third-party device manufacturers to add custom mutual exclusion rules and update the mutual exclusion table.

[0113] Step 304: Generate conflict-related information based on the conflict detection result and provide feedback to the user.

[0114] In some embodiments of the present invention, the conflict-related information further includes conflict details, and the conflict details include any one or more of the following: conflicting device identification, conflicting functional mode, and conflict detection time.

[0115] In actual applications, after the edge server obtains the operating status information of multiple devices, it can perform conflict detection and query the mutual exclusion table to analyze whether there is a mutual exclusion relationship between the devices; if the result of the conflict detection indicates that there is a conflict, the conflict details (such as the conflicting device identification, the conflicting functional mode, the conflict detection time, etc.) can be recorded, and the conflict-related information can be fed back to the user, such as popping up a warning window in the user client (such as a mobile phone APP), or displaying an error message on the interactive interface of the device, or sending a notification to the user through a voice assistant, email, etc.

[0116] In some embodiments of the present invention, the conflict-related information includes a conflict resolution strategy, and the generation of conflict-related information based on the result of the conflict detection includes: when a conflict is detected between the first operating status information and the second operating status information, generating a conflict resolution strategy based on the first operating status information and the second operating status information.

[0117] Among them, the conflict resolution strategy may include multiple policy suggestions, and one policy suggestion may include shutting down a certain device, switching a certain device function mode, adjusting a certain device operating parameter, etc.

[0118] For example, if the humidifier is running and the user sets the air conditioner to dehumidification mode, the edge server can immediately push a reminder on the mobile phone after detecting the conflict, and suggest turning off the humidifier or changing the air conditioner mode. For another example, if there are multiple air conditioners in the home, air conditioner A is in cooling mode and air conditioner B is in heating mode, the edge server can detect the conflict and remind the user to avoid unnecessary energy consumption.

[0119] In some embodiments of the present invention, generating a conflict resolution strategy based on the first operating status information and the second operating status information includes: adjusting at least one of the first operating status information and the second operating status information so that there is no conflict in the adjusted operating status information; generating a conflict resolution strategy based on the adjusted operating status information.

[0120] For example, if the humidifier is running and the air conditioner is in dehumidification mode, you can turn off the humidifier or the dehumidification mode of the air conditioner. As an adjustment strategy, adjust the operating status information of one of the devices to ensure that there is no conflict in the adjusted operating status information. Then generate a conflict resolution strategy, which includes multiple strategy suggestions (such as turning off the humidifier or turning off the dehumidification mode of the air conditioner), and send it to the user for the user to choose.

[0121] For another example, there are multiple air conditioners in a home, air conditioner A is at a cooling temperature of 26°, and air conditioner B is at a cooling temperature of 30°, then the cooling temperature of air conditioner B can be adjusted to 26° as an adjustment strategy so that there is no conflict in the adjusted operating status information, and then a conflict resolution strategy is generated (adjusting the cooling temperature of air conditioner B to 26°).

[0122] Step 305: According to the user's confirmation operation on the conflict resolution strategy, the first device and / or the second device that conflicts with the first device is controlled according to the conflict resolution strategy.

[0123] In actual applications, after receiving the notification, the user can choose to view information related to the conflict and decide whether to adjust the device to eliminate the conflict based on the conflict resolution strategy.

[0124] In some examples, after receiving the notification on the mobile client, the user can click on any policy suggestion in the conflict resolution policy to control the operating status of the smart home device indicated by the policy suggestion.

[0125] In an embodiment of the present invention, first operating status information of a running first device is obtained; one or more running second devices are determined from a device set in a local environment where the first device is located, and second operating status information of the one or more second devices is obtained; conflict detection is performed on the first operating status information and the second operating status information; based on the result of the conflict detection, conflict-related information is generated and fed back to a user; based on the user's confirmation operation on the conflict resolution strategy, the first device and / or the second device that conflicts with the first device is controlled in accordance with the conflict resolution strategy, thereby implementing conflict detection based on the device operating status information to discover potential conflicts, and generating conflict-related information for feedback to the user, thereby avoiding the occurrence of conflicts between devices or reducing the impact of conflicts.

[0126] Reference Figure 4 , shows a flowchart of another method for handling device conflicts provided by some embodiments of the present invention, which may specifically include the following steps:

[0127] Step 401: Acquire first running status information of a first running device.

[0128] In some embodiments of the present invention, the operating status information includes any one or more of the following: device identification, functional mode, and operating parameters.

[0129] In some embodiments of the present invention, the first operating status information is information sent when the operating status of the first device changes.

[0130] As some examples, the first device may be any smart home device running in a smart home environment; wherein the smart home device may be a smart light, a smart air conditioner, a smart humidifier, etc.

[0131] In actual applications, each smart home device can automatically send its own operating status information to the edge server through the network when the operating status changes. The operating status information may include device identification (device ID), function mode (such as cooling mode, heating mode, etc.), and current parameters (such as temperature, humidity, etc.). By obtaining the current operating status information of smart home devices, it is possible to perform monitoring, management, optimization, or troubleshooting operations.

[0132] As some examples, each smart home device can have a built-in status monitoring function to monitor its own operating status in real time; when the device status changes, it can report its own operating status information to the edge server through network protocols (such as MQTT, HTTP, etc.).

[0133] Step 402: determine one or more running second devices from a device set in a local environment where the first device is located, and obtain second running status information of the one or more second devices.

[0134] Among them, the local environment can be the space or area where the first device is located, which can contain multiple smart home devices, which are interconnected through a network (such as a local area network, the Internet of Things, etc.); in the local environment of the first device, there can be a collection of multiple smart home devices, and these devices can have different functions, brands and models.

[0135] In some examples, the second device can be any smart home device in the local environment other than the first device.

[0136] For example, in a smart home environment, the first device is a smart TV, the local environment is a living room, and the device set of the local environment where the first device is located also includes air conditioners, humidifiers, lighting systems, etc.; through the smart home platform or mobile phone APP, you can determine the currently running devices (such as the air conditioner is cooling, the humidifier is humidifying), and obtain their operating status information (such as device identification, function mode, operating parameters, etc.).

[0137] Step 403: Perform conflict detection on the first running status information and the second running status information.

[0138] After obtaining the first operating status information of a first running device and the second operating status information of one or more second running devices in the local environment of the first device, the operating status information of the first device can be compared with the operating status information of the second device, such as comparing whether there is a conflict between the functional modes of the first operating status information and the second operating status information, and outputting corresponding information based on the result of the conflict detection, such as the type of conflict, the devices involved, the degree of conflict, etc.

[0139] For example, in the first operating status information, the device is identified as air conditioner 001, the function mode is dehumidification mode, and the operating parameter is temperature 26%; in the second operating status information, the device is identified as humidifier 005, the function mode is humidification mode, and the operating parameter is humidity 40%; comparing the two, these two completely different functions operating at the same time in the same time period will not only offset each other, but also cause unnecessary consumption of energy, so it can be determined that there is a conflict between the two.

[0140] In some embodiments of the present invention, the conflict detection of the first operating status information and the second operating status information includes: querying in a mutex table whether there is a mutually exclusive relationship between the first operating status information and the second operating status information; wherein the mutex table stores the mutually exclusive relationship between the operating status information of multiple devices; and when it is queried that the first operating status information and the second operating status information have a mutually exclusive relationship, determining that there is a conflict between the first operating status information and the second operating status.

[0141] Among them, the mutex table can be a data structure used to store the mutually exclusive relationship between the operating status information of multiple smart home devices; the mutually exclusive relationship means that when the operating status information of certain devices appears at the same time, it will cause functional conflicts or competition and other problems; for example, the dehumidification mode of the air conditioner and the humidification mode of the humidifier can be marked as mutually exclusive, that is, there is a mutually exclusive relationship between the two.

[0142] In some examples, the mutex table may be established in advance based on the mutually exclusive relationship of the operating status information between smart home devices and stored in a database of the edge server so as to quickly determine whether there is a conflict between the devices when performing conflict detection.

[0143] In actual applications, if two pieces of operating status information are marked as mutually exclusive in the mutex table, then when they appear at the same time, the edge server may determine that there is a conflict between the two smart home devices.

[0144] For example, after the edge server obtains the first operating status information and the second operating status information, it can parse the information contained in the operating status information, and then query the mutex table in the database to check whether there is a mutually exclusive relationship between the first device and the second device, thereby determining whether there is a conflict between the two.

[0145] In some embodiments of the present invention, the method further includes: updating the mutex table manually or automatically; and / or updating the mutex table according to data in a third-party platform obtained through an interface.

[0146] As some examples, the mutex table can support adding mutually exclusive relationships of new devices and functions through software updates, and the user or administrator can manually update the mutex table, or the manufacturer can push updates. For example, software is used to edit (such as add, delete, modify) mutually exclusive relationships between multiple device operating status information.

[0147] In some examples, the software may also provide an API (Application Programming Interface) for third-party device manufacturers to add custom mutual exclusion rules and update the mutual exclusion table.

[0148] Step 404: Generate conflict-related information based on the conflict detection result and provide feedback to the user.

[0149] In some embodiments of the present invention, the conflict-related information further includes conflict details, and the conflict details include any one or more of the following: conflicting device identification, conflicting functional mode, and conflict detection time.

[0150] In actual applications, after the edge server obtains the operating status information of multiple devices, it can perform conflict detection and query the mutual exclusion table to analyze whether there is a mutual exclusion relationship between the devices; if the result of the conflict detection indicates that there is a conflict, the conflict details (such as the conflicting device identification, the conflicting functional mode, the conflict detection time, etc.) can be recorded, and the conflict-related information can be fed back to the user, such as popping up a warning window in the user client (such as a mobile phone APP), or displaying an error message on the interactive interface of the device, or sending a notification to the user through a voice assistant, email, etc.

[0151] Step 405: When it is detected that there is a conflict between the first operating status information and the second operating status information, a conflict resolution strategy is generated according to the first operating status information and the second operating status information.

[0152] Among them, the conflict resolution strategy may include multiple policy suggestions, and one policy suggestion may include shutting down a certain device, switching a certain device function mode, adjusting a certain device operating parameter, etc.

[0153] For example, if the humidifier is running and the user sets the air conditioner to dehumidification mode, the edge server can immediately push a reminder on the mobile phone after detecting the conflict, and suggest turning off the humidifier or changing the air conditioner mode. For another example, if there are multiple air conditioners in the home, air conditioner A is in cooling mode and air conditioner B is in heating mode, the edge server can detect the conflict and remind the user to avoid unnecessary energy consumption.

[0154] In some embodiments of the present invention, generating a conflict resolution strategy based on the first operating status information and the second operating status information includes: adjusting at least one of the first operating status information and the second operating status information so that there is no conflict in the adjusted operating status information; generating a conflict resolution strategy based on the adjusted operating status information.

[0155] For example, if the humidifier is running and the air conditioner is in dehumidification mode, you can turn off the humidifier or the dehumidification mode of the air conditioner. As an adjustment strategy, adjust the operating status information of one of the devices to ensure that there is no conflict in the adjusted operating status information. Then generate a conflict resolution strategy, which includes multiple strategy suggestions (such as turning off the humidifier or turning off the dehumidification mode of the air conditioner), and send it to the user for the user to choose.

[0156] For another example, there are multiple air conditioners in a home, air conditioner A is at a cooling temperature of 26°, and air conditioner B is at a cooling temperature of 30°, then the cooling temperature of air conditioner B can be adjusted to 26° as an adjustment strategy so that there is no conflict in the adjusted operating status information, and then a conflict resolution strategy is generated (adjusting the cooling temperature of air conditioner B to 26°).

[0157] In some embodiments of the present invention, after generating conflict-related information based on the result of conflict detection and providing feedback to the user, it also includes: based on the user's confirmation operation on the conflict resolution strategy, controlling the first device and / or the second device that conflicts with the first device according to the conflict resolution strategy.

[0158] In actual applications, after receiving the notification, the user can choose to view information related to the conflict and decide whether to adjust the device to eliminate the conflict based on the conflict resolution strategy.

[0159] In some examples, after receiving the notification on the mobile client, the user can click on any policy suggestion in the conflict resolution policy to control the operating status of the smart home device indicated by the policy suggestion.

[0160] In some embodiments of the present invention, first operating status information of a first device that is in operation is obtained; one or more second devices that are in operation are determined from a set of devices in a local environment where the first device is located, and second operating status information of the one or more second devices is obtained; conflict detection is performed on the first operating status information and the second operating status information; based on the result of the conflict detection, conflict-related information is generated and fed back to a user; when a conflict is detected between the first operating status information and the second operating status information, a conflict resolution strategy is generated based on the first operating status information and the second operating status information, thereby implementing conflict detection based on the device operating status information to discover potential conflicts, and generating conflict-related information to feed back to the user, thereby avoiding the occurrence of conflicts between devices or reducing the impact of conflicts.

[0161] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0162] Reference Figure 5 , shows a schematic diagram of the structure of a device conflict handling apparatus provided by some embodiments of the present invention, which may specifically include the following modules:

[0163] The first operation status information acquisition module 501 is used to acquire the first operation status information of the first device that is running;

[0164] A second operation status information acquisition module 502, configured to determine one or more second devices in operation from a device set in a local environment where the first device is located, and to acquire second operation status information of the one or more second devices;

[0165] A conflict detection module 503, configured to perform conflict detection on the first operation status information and the second operation status information;

[0166] The conflict feedback module 504 is used to generate conflict-related information according to the conflict detection result and provide feedback to the user.

[0167] In some embodiments of the present invention, the conflict feedback module 504 includes:

[0168] The conflict resolution strategy generating submodule is used to generate a conflict resolution strategy according to the first operating status information and the second operating status information when a conflict is detected between the first operating status information and the second operating status information.

[0169] In some embodiments of the present invention, the conflict resolution strategy generation submodule includes:

[0170] The state information adjustment unit is used to adjust at least one of the first operation state information and the second operation state information so that there is no conflict in the adjusted operation state information; and generate a conflict resolution strategy according to the adjusted operation state information.

[0171] In some embodiments of the present invention, the conflict-related information further includes conflict details, and the conflict details include any one or more of the following:

[0172] Conflicting device identification, conflicting functional modes, and conflict detection time.

[0173] In some embodiments of the present invention, the device further comprises:

[0174] The device control module is used to control the first device and / or the second device that conflicts with the first device according to the conflict resolution strategy based on the user's confirmation operation on the conflict resolution strategy.

[0175] In some embodiments of the present invention, the conflict detection module 503 includes:

[0176] A mutually exclusive relationship query submodule, used to query whether the first operating status information and the second operating status information have a mutually exclusive relationship in a mutually exclusive table; wherein the mutually exclusive table stores the mutually exclusive relationship between the operating status information of multiple devices;

[0177] The conflict determination submodule is used to determine whether the first running state information and the second running state information conflict when it is found that the first running state information and the second running state information are mutually exclusive.

[0178] In some embodiments of the present invention, the device further comprises:

[0179] A mutex table update module, used to update the mutex table manually or automatically;

[0180] And / or, the mutex table is updated according to data in the third-party platform obtained through the interface.

[0181] In some embodiments of the present invention, the operating status information includes any one or more of the following: device identification, functional mode, and operating parameters.

[0182] In some embodiments of the present invention, the first operating status information is information sent when the operating status of the first device changes.

[0183] Some embodiments of the present invention further provide an electronic device, comprising a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the above method is implemented when the computer program is executed by the processor.

[0184] Some embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, and the computer program implements the above method when executed by a processor.

[0185] Some embodiments of the present invention further provide a computer program product, including a computer program, which implements the above method when executed by a processor.

[0186] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0187] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0188] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0189] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0190] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0191] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0192] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0193] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0194] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the above elements.

[0195] The above is a detailed introduction to the provided method, apparatus, equipment, medium and product for device conflict handling. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for handling device conflicts, characterized in that: The method comprises: Acquire first running status information of a first running device; Determine one or more running second devices from a device set in a local environment where the first device is located, and obtain second running state information of the one or more second devices; Performing conflict detection on the first running status information and the second running status information; Based on the results of conflict detection, conflict-related information is generated and fed back to the user.

2. The method according to claim 1, characterized in that The conflict related information includes a conflict resolution strategy, and the generation of conflict related information according to the result of the conflict detection includes: When a conflict is detected between the first operating state information and the second operating state information, a conflict resolution strategy is generated according to the first operating state information and the second operating state information.

3. The method according to claim 2, characterized in that The generating a conflict resolution strategy according to the first operating state information and the second operating state information includes: Adjust at least one of the first running status information and the second running status information so that there is no conflict between the adjusted running status information; A conflict resolution strategy is generated based on the adjusted operating status information.

4. The method according to claim 2, characterized in that: The conflict related information also includes conflict details, which include any one or more of the following: Conflicting device identification, conflicting functional modes, and conflict detection time.

5. The method according to any one of claims 2 to 4, characterized in that: After generating conflict related information according to the conflict detection result and providing feedback to the user, the method further includes: According to a confirmation operation of the user on the conflict resolution strategy, the first device and / or the second device that conflicts with the first device is controlled according to the conflict resolution strategy.

6. The method according to any one of claims 2 to 4, characterized in that: The performing conflict detection on the first running state information and the second running state information includes: In a mutually exclusive table, query whether the first operating status information and the second operating status information have a mutually exclusive relationship; wherein the mutually exclusive table stores the mutually exclusive relationship between the operating status information of multiple devices; When it is found that the first running status information and the second running status information are mutually exclusive, it is determined that the first running status information and the second running status are in conflict.

7. The method according to claim 6, characterized in that Also includes: Updating the mutex table manually or automatically; And / or, the mutex table is updated according to data in the third-party platform obtained through the interface.

8. The method according to claim 1, characterized in that: The operation status information includes any one or more of the following: device identification, function mode, and operation parameters.

9. The method according to claim 1, characterized in that: The first operating status information is information sent when the operating status of the first device changes.

10. A device for handling device conflicts, characterized in that: The device comprises: A first operation status information acquisition module, used to acquire first operation status information of a first device that is running; A second operation status information acquisition module, used to determine one or more running second devices from a device set in a local environment where the first device is located, and acquire second operation status information of the one or more second devices; a conflict detection module, configured to perform conflict detection on the first operation status information and the second operation status information; The conflict feedback module is used to generate conflict-related information and provide feedback to the user based on the results of conflict detection.

11. An electronic device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the method according to any one of claims 1 to 9 when executed by the processor.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.

13. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Method and device for dynamically establishing conflict verification rule table in smart home

    CN109709814A

  • Method and device for dynamically constructing conflict check rule table in smart home

    CN109725544A

  • Smart home implicit conflict detection method based on mapping knowledge domains

    CN110007611A

  • Home equipment control method, storage medium and smart home equipment

    CN110361982A

  • Method and device for controlling intelligent household devices

    CN110398947A