CN105159079B - Method and device for solving household appliance concurrency control conflict - Google Patents
Method and device for solving household appliance concurrency control conflict Download PDFInfo
- Publication number
- CN105159079B CN105159079B CN201510547735.0A CN201510547735A CN105159079B CN 105159079 B CN105159079 B CN 105159079B CN 201510547735 A CN201510547735 A CN 201510547735A CN 105159079 B CN105159079 B CN 105159079B
- Authority
- CN
- China
- Prior art keywords
- priority
- control
- household appliance
- equipment
- control device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Selective Calling Equipment (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a method for solving the concurrency control conflict of household appliances, which comprises the following steps: when the household appliance generates concurrency control conflict in a linkage scene, determining the operation right attribution of the household appliance according to the linkage operation remaining time, the concurrency control execution time and the priority of corresponding control equipment. The invention also discloses a device for solving the concurrency control conflict of the household appliances. The invention determines the operation right attribution of the target equipment according to the comparison between the operation residual time of the current equipment and the execution time of the requested second equipment and the combination of the secondary priority, and can effectively solve the conflict problem which may occur when the household appliances are controlled concurrently. The invention provides more convenient service based on the principle of priority of the control request sent by the local control equipment, and is particularly feasible for the conflict problem in the household appliance linkage scene.
Description
Technical Field
The invention relates to the technical field of intelligent household appliances, in particular to a method and a device for solving household appliance concurrency control conflict.
Background
With the popularization of intelligent household appliances, interconnection and intercommunication among household appliances become a basic requirement of household appliance users. The household appliance user can control household appliances inside and outside a household through a control terminal such as a mobile phone. The current OneM2M architecture and the Alljoyn architecture both provide necessary technical support for the application scenarios. The application program developer and the household appliance supplier can realize the interconnection and intercommunication between the mobile equipment and the household appliance equipment as long as the application program developer and the household appliance supplier support the architecture.
The household appliances are controlled through the mobile devices, so that great convenience is brought to the life of people, but the problem is that the family is a basic unit of social life, a plurality of mobile devices, single-person multi-device or multi-person multi-device exist in the family, and along with the intellectualization and diversity of the family devices, different devices can cooperate to complete a specific scene designed by a user. For example, the user may design the device 1, the device 2, and the device 3, and the device 1 transmits the data to the device 2 after completing the processing, and the device 2 transmits the data to the device 3 after completing the processing. Therefore, when the user a designs the above scenario and the device 1 is processing (not finished), the user B requests the operation of the device 2, which causes the concurrent control conflict of the home appliance in the linkage scenario.
Disclosure of Invention
The invention aims to provide a method and a device for solving the concurrency control conflict of household appliances, which are used for solving the problem that the concurrency control conflict occurs when a plurality of control devices operate the same household appliance in a linkage scene in the prior art.
In order to solve the technical problem, the invention provides a method for solving the concurrent control conflict of household appliances, which comprises the following steps:
when the household appliance generates concurrency control conflict in a linkage scene, determining the operation right attribution of the household appliance according to the linkage operation remaining time, the concurrency control execution time and the priority of corresponding control equipment.
Further, the process for judging the concurrency control conflict of the household appliances in the linkage scene is as follows:
receiving signaling from a second control device to operate a second home device;
and judging whether the second household appliance is in a household appliance linkage sequence initiated by the first control equipment and waits for execution, and if so, causing the second household appliance to generate concurrency control conflict.
Further, the priority of the control device includes a first priority and a second priority; the first priority is based on a user identity of the control device; the second priority is based on the location of the control device, with the control device at the local location having a higher priority than the control device at the remote location.
Further, the process of determining the operation right affiliation of the home appliance specifically includes:
acquiring the operation remaining time of the household appliance equipment positioned in front of the second household appliance equipment in the household appliance linkage sequence initiated by the first control equipment;
acquiring a scheduled execution time of the operation of the second household appliance initiated by the second control device;
comparing a first priority of the first control device with a first priority of the second control device when the operation remaining time is greater than or equal to the scheduled execution time; and if the first priority of the first control equipment is different from that of the second control equipment, the operation right of the second household appliance equipment belongs to the control equipment with the high first priority.
Further, if the first priorities of the first control device and the second control device are the same, acquiring the position information of the first control device and the second control device, and determining the second priorities of the first control device and the second control device according to the acquired position information; and if the second priority of the first control equipment is different from that of the second control equipment, the operation right of the second household appliance equipment belongs to the control equipment with the high second priority.
Further, the position information of the control equipment is obtained according to the IP or GPS information of the control equipment.
Further, the process of determining the operation right affiliation of the home appliance specifically includes:
acquiring the operation remaining time of the household appliance equipment positioned in front of the second household appliance equipment in the household appliance linkage sequence initiated by the first control equipment;
acquiring a scheduled execution time of the operation of the second household appliance initiated by the second control device;
comparing a first priority of the first control device with a first priority of the second control device when the operation remaining time is less than the scheduled execution time; and if the first priority of the first control equipment is different from that of the second control equipment, the operation right of the second household appliance equipment belongs to the control equipment with the high first priority.
Further, if the first priority of the first control device is the same as the first priority of the second control device, the operation right of the second household appliance belongs to the first control device.
Further, the method may further comprise setting a priority of the control device on the home gateway.
The invention also provides a device for solving the concurrency control conflict of the household appliances, which comprises:
the conflict judging unit is used for judging whether the household appliances have concurrency control conflicts in the linkage scene;
and the operation right attribution determining unit is connected with the conflict judging unit and is used for determining the operation right attribution of the household appliance according to the linkage operation remaining time, the concurrency control execution time and the priority of corresponding control equipment when the household appliance generates concurrency control conflict in a linkage scene.
Further, the priority of the control device includes a first priority and a second priority; the first priority is based on a user identity of the control device; the second priority is based on the location of the control device, with the control device at the local location having a higher priority than the control device at the remote location.
Further, the device further comprises a priority setting unit connected with the operation right attribution determining unit and used for setting the priority of the control equipment on the home gateway.
The invention has the following beneficial effects:
the invention determines the operation right attribution of the target equipment according to the comparison between the operation residual time of the current equipment and the execution time of the requested second equipment and the combination of the secondary priority, and can effectively solve the conflict problem which may occur when the household appliances are controlled concurrently. The invention provides more convenient service based on the principle of priority of the control request sent by the local control equipment, and is particularly feasible for the conflict problem in the household appliance linkage scene.
Drawings
Fig. 1 is a flowchart of a method for resolving a concurrent control conflict of a home appliance according to an embodiment of the present invention.
Detailed Description
In order to solve the problem of concurrency control conflict when a plurality of control devices operate the same household appliance in a linkage scene in the prior art, the invention provides a method and a device for solving the concurrency control conflict of the household appliance, and the invention is further described in detail below with reference to the accompanying drawings and the embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
When the household appliance generates concurrency control conflict in a linkage scene, the invention determines the operation right attribution of the household appliance according to the linkage operation residual time, the concurrency control execution time and the priority of the corresponding control equipment, thereby solving the concurrency control conflict of the household appliance.
The flow of the method for solving the concurrent control conflict of the household appliances in the embodiment of the invention is shown in fig. 1, and the method comprises the following steps:
(1) the control device 1 sets the priority of the control device on the home gateway.
The priority of the control device comprises a first priority and a second priority; the first priority is based on a user identity of the control device; the second priority is based on a location of the control device, the control device at a home location (home domain) having a higher priority than the control device at a remote location (remote domain). And when different control devices are located in the home domain or the remote domain, processing according to the existing scheme.
(2) Receiving signaling from a second control device to operate a second home device; and judging whether the second household appliance is in a household appliance linkage sequence initiated by the first control equipment and waits for execution, and if so, causing the second household appliance to generate concurrency control conflict. In this embodiment, when the control device 1 sends an operation request (a linkage scenario, which relates to the home appliance 1 and the home appliance 2), and the home appliance 1 does not complete execution, and receives a request for controlling the home appliance 2 sent by the control device 2, the home gateway finds that the control request conflicts.
(3) Acquiring the operation remaining time of the household appliance equipment positioned in front of the second household appliance equipment in the household appliance linkage sequence initiated by the first control equipment; and acquiring the scheduled execution time of the operation of the second household appliance initiated by the second control equipment. In this embodiment, the remaining execution time T1 of the home device 1 and the possible required time T2 requested by the control device 2 on the home device 2 are obtained.
(4) Comparing a first priority of the first control device with a first priority of the second control device when the operation remaining time is greater than or equal to the scheduled execution time; if the first priority of the first control device is different from that of the second control device, the operation right of the second household appliance device belongs to the control device with the higher first priority; if the first priorities of the first control device and the second control device are the same, acquiring the position information of the first control device and the second control device, and determining the second priorities of the first control device and the second control device according to the acquired position information; and if the second priority of the first control equipment is different from that of the second control equipment, the operation right of the second household appliance equipment belongs to the control equipment with the high second priority. And acquiring the position information of the control equipment according to the IP or GPS information of the control equipment. In the present embodiment, when T1> -T2, if the first priority is the same, operation attribution (local location priority) is determined according to the location information. The home gateway requests the position information of the control devices 1 and 2, and determines the domain (home \ remote) of the devices according to the acquired position information. In this embodiment, it is assumed that the control device 1 is in a remote domain and the control device 2 is in a home domain, and the home gateway forwards the request information of the control device 2.
(5) Comparing a first priority of the first control device with a first priority of the second control device when the operation remaining time is less than the scheduled execution time; if the first priority of the first control device is different from that of the second control device, the operation right of the second household appliance device belongs to the control device with the higher first priority; and if the first priority of the first control equipment is the same as that of the second control equipment, the operation right of the second household appliance equipment belongs to the first control equipment. In the present embodiment, when T1< T2, if the first priority is the same, the operation of the control apparatus 2 is rejected.
The invention also discloses a device for solving the household appliance concurrency control conflict, which comprises a priority setting unit, a conflict judging unit and an operation right attribution determining unit, wherein the operation right attribution determining unit is respectively connected with the priority setting unit and the conflict judging unit.
The priority setting unit is used for setting the priority of the control equipment on the home gateway; the conflict judging unit is used for judging whether the household appliances have concurrency control conflicts in the linkage scene; the operation right attribution determining unit is used for determining the operation right attribution of the household appliances according to the linkage operation remaining time, the concurrency control execution time and the priority of the corresponding control equipment when the household appliances have concurrency control conflicts in the linkage scene. Wherein the priority of the control device comprises a first priority and a second priority; the first priority is based on a user identity of the control device; the second priority is based on the location of the control device, with the control device at the local location having a higher priority than the control device at the remote location.
The invention determines the operation right attribution of the target equipment according to the comparison between the operation residual time of the current equipment and the execution time of the requested second equipment and the combination of the secondary priority, and can effectively solve the conflict problem which may occur when the household appliances are controlled concurrently. The invention provides more convenient service based on the principle of priority of the control request sent by the local control equipment, and is particularly feasible for the conflict problem in the household appliance linkage scene.
Although the preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, and the scope of the invention should not be limited to the embodiments described above.
Claims (8)
1. A method for resolving a concurrent control conflict of a home appliance, the method comprising the steps of:
when the household appliance generates concurrency control conflict in a linkage scene, determining the operation right attribution of the household appliance according to the linkage operation remaining time, the concurrency control execution time and the priority of corresponding control equipment;
the priority of the control equipment comprises a first priority and a second priority, the first priority is based on the user identity of the control equipment, the second priority is based on the position of the control equipment, and the priority of the control equipment at the local position is higher than that of the control equipment at the remote position;
if the first priorities of the first control device and the second control device are the same, acquiring the position information of the first control device and the second control device, and determining the second priorities of the first control device and the second control device according to the acquired position information; if the second priority of the first control equipment is different from that of the second control equipment, the operation right of the second household appliance belongs to the control equipment with the second priority, wherein the first control equipment is the control equipment for initiating household appliance linkage, and the second control equipment is the control equipment for controlling the second household appliance;
the process of determining the operation right attribution of the household appliance specifically comprises the following steps:
acquiring the operation remaining time of the household appliance equipment positioned in front of the second household appliance equipment in the household appliance linkage sequence initiated by the first control equipment;
acquiring a scheduled execution time of the operation of the second household appliance initiated by the second control device;
comparing a first priority of the first control device with a first priority of the second control device when the operation remaining time is greater than or equal to the scheduled execution time; and if the first priority of the first control equipment is different from that of the second control equipment, the operation right of the second household appliance equipment belongs to the control equipment with the high first priority.
2. The method for resolving the concurrency control conflict of the home appliances according to claim 1, wherein the process for judging the concurrency control conflict of the home appliances in the linkage scene comprises the following steps:
receiving signaling from a second control device to operate a second home device;
and judging whether the second household appliance is in a household appliance linkage sequence initiated by the first control equipment and waits for execution, and if so, causing the second household appliance to generate concurrency control conflict.
3. The method for resolving a concurrent control conflict of home appliances according to claim 1, wherein the location information of the control device is acquired according to IP or GPS information of the control device.
4. The method for resolving a conflict of concurrent control of home appliances according to claim 1, wherein the determining of the ownership of the operation right of the home appliance specifically includes:
acquiring the operation remaining time of the household appliance equipment positioned in front of the second household appliance equipment in the household appliance linkage sequence initiated by the first control equipment;
acquiring a scheduled execution time of the operation of the second household appliance initiated by the second control device;
comparing a first priority of the first control device with a first priority of the second control device when the operation remaining time is less than the scheduled execution time; and if the first priority of the first control equipment is different from that of the second control equipment, the operation right of the second household appliance equipment belongs to the control equipment with the high first priority.
5. The method for resolving household appliance concurrency control conflicts of claim 4, wherein the operating right of the second household appliance is attributed to the first control device if the first priority of the first control device is the same as the first priority of the second control device.
6. The method for resolving household appliance concurrency control conflicts according to any one of claims 1 to 5, wherein the method further comprises setting the priority of the control device on the home gateway.
7. An apparatus for resolving a concurrency control conflict for a home appliance, the apparatus comprising:
the conflict judging unit is used for judging whether the household appliances have concurrency control conflicts in the linkage scene;
the operation right attribution determining unit is connected with the conflict judging unit and is used for determining the operation right attribution of the household appliances according to the linkage operation remaining time, the concurrency control execution time and the priority of corresponding control equipment when the household appliances conflict in a linkage scene, wherein the priority of the control equipment comprises a first priority and a second priority, the first priority is based on the user identity of the control equipment, the second priority is based on the position of the control equipment, and the priority of the control equipment at the local position is higher than that of the control equipment at the remote position; if the first priorities of the first control device and the second control device are the same, acquiring the position information of the first control device and the second control device, and determining the second priorities of the first control device and the second control device according to the acquired position information; if the second priority of the first control equipment is different from that of the second control equipment, the operation right of the second household appliance belongs to the control equipment with the second priority, wherein the first control equipment is the control equipment for initiating household appliance linkage, and the second control equipment is the control equipment for controlling the second household appliance; the process of determining the operation right attribution of the household appliance specifically comprises the following steps: acquiring the operation remaining time of the household appliance equipment positioned in front of the second household appliance equipment in the household appliance linkage sequence initiated by the first control equipment; acquiring a scheduled execution time of the operation of the second household appliance initiated by the second control device; comparing a first priority of the first control device with a first priority of the second control device when the operation remaining time is greater than or equal to the scheduled execution time; and if the first priority of the first control equipment is different from that of the second control equipment, the operation right of the second household appliance equipment belongs to the control equipment with the high first priority.
8. The apparatus for resolving a conflict of concurrent control of home appliances according to claim 7, further comprising a priority setting unit connected to the operation right attribution determining unit, for setting a priority of the control device on the home gateway.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510547735.0A CN105159079B (en) | 2015-08-31 | 2015-08-31 | Method and device for solving household appliance concurrency control conflict |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510547735.0A CN105159079B (en) | 2015-08-31 | 2015-08-31 | Method and device for solving household appliance concurrency control conflict |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105159079A CN105159079A (en) | 2015-12-16 |
CN105159079B true CN105159079B (en) | 2021-12-07 |
Family
ID=54799967
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510547735.0A Active CN105159079B (en) | 2015-08-31 | 2015-08-31 | Method and device for solving household appliance concurrency control conflict |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105159079B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105845156A (en) * | 2016-03-22 | 2016-08-10 | 广东欧珀移动通信有限公司 | Control method of music playing system, device and system |
CN106098087B (en) * | 2016-06-15 | 2021-01-12 | 青岛恒金源电子科技有限公司 | Intelligent sound control system based on cloud task scheduling |
CN105978988B (en) * | 2016-06-15 | 2021-07-30 | 青岛恒金源电子科技有限公司 | Intelligent cooking control system based on cloud task scheduling |
CN106506290B (en) * | 2016-10-31 | 2019-06-28 | 广州华凌制冷设备有限公司 | A kind of method and system of more people's remote control domestic electrical equipments, air-conditioning |
CN106527168A (en) * | 2016-12-27 | 2017-03-22 | 海尔优家智能科技(北京)有限公司 | AllJoyn linkage control conflict resolution method, trigger and server |
CN107544271B (en) | 2017-09-18 | 2020-08-14 | 广东美的制冷设备有限公司 | Terminal control method, device and computer readable storage medium |
CN109660433B (en) * | 2018-12-21 | 2021-10-22 | 中山大学 | Intelligent household configuration data synchronization conflict resolution method |
CN111965982A (en) * | 2019-05-20 | 2020-11-20 | 京东方科技集团股份有限公司 | Method and device for creating action resource and triggering operation aiming at target resource |
CN110083112A (en) * | 2019-05-28 | 2019-08-02 | 广州小鹏汽车科技有限公司 | Smart machine long-range control method, device, storage medium and terminal |
CN110597075B (en) * | 2019-09-09 | 2020-11-03 | 珠海格力电器股份有限公司 | Method and device for detecting control conflict, electronic equipment and storage medium |
CN112543209A (en) * | 2019-09-20 | 2021-03-23 | 京东方科技集团股份有限公司 | Action resource creating method, action resource executing method, electronic device and storage medium |
CN110716438B (en) * | 2019-10-11 | 2022-06-07 | 青岛海信智慧生活科技股份有限公司 | Linkage scene execution method and device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1381028A (en) * | 2000-05-30 | 2002-11-20 | 皇家菲利浦电子有限公司 | Method of preventing collision between remote control signals |
CN1669267A (en) * | 2002-07-10 | 2005-09-14 | Lg电子有限公司 | A remote control system of a home network |
CN101127774A (en) * | 2007-09-19 | 2008-02-20 | 中兴通讯股份有限公司 | Priority processing method for initial filtering rule |
CN101441608A (en) * | 2008-12-04 | 2009-05-27 | 北京中星微电子有限公司 | Multi-source access control device and method of register |
CN101674295A (en) * | 2008-09-10 | 2010-03-17 | 中国移动通信集团公司 | Method, device and system for processing service conflict |
CN103888407A (en) * | 2012-12-24 | 2014-06-25 | 于智为 | Solution method of controlling multiple terminals by intelligent household core server |
CN104025614A (en) * | 2011-10-07 | 2014-09-03 | 诺基亚通信公司 | Conflict processing accessing a personal tv functionality by a plurality of users |
CN104808623A (en) * | 2015-04-03 | 2015-07-29 | 九阳股份有限公司 | Safe control method of network household appliance |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090052870A1 (en) * | 2007-08-22 | 2009-02-26 | Time Warner Cable Inc. | Apparatus And Method For Remote Control Of Digital Video Recorders And The Like |
JP5125890B2 (en) * | 2008-08-28 | 2013-01-23 | 富士通セミコンダクター株式会社 | Arbitration device and electronic device |
-
2015
- 2015-08-31 CN CN201510547735.0A patent/CN105159079B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1381028A (en) * | 2000-05-30 | 2002-11-20 | 皇家菲利浦电子有限公司 | Method of preventing collision between remote control signals |
CN1669267A (en) * | 2002-07-10 | 2005-09-14 | Lg电子有限公司 | A remote control system of a home network |
CN101127774A (en) * | 2007-09-19 | 2008-02-20 | 中兴通讯股份有限公司 | Priority processing method for initial filtering rule |
CN101674295A (en) * | 2008-09-10 | 2010-03-17 | 中国移动通信集团公司 | Method, device and system for processing service conflict |
CN101441608A (en) * | 2008-12-04 | 2009-05-27 | 北京中星微电子有限公司 | Multi-source access control device and method of register |
CN104025614A (en) * | 2011-10-07 | 2014-09-03 | 诺基亚通信公司 | Conflict processing accessing a personal tv functionality by a plurality of users |
CN103888407A (en) * | 2012-12-24 | 2014-06-25 | 于智为 | Solution method of controlling multiple terminals by intelligent household core server |
CN104808623A (en) * | 2015-04-03 | 2015-07-29 | 九阳股份有限公司 | Safe control method of network household appliance |
Also Published As
Publication number | Publication date |
---|---|
CN105159079A (en) | 2015-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105159079B (en) | Method and device for solving household appliance concurrency control conflict | |
CN104093050B (en) | The controlled decision-making technique and device of controlled terminal based on multiple intelligent remote controllers | |
US11277278B2 (en) | Smart home service server and control method therefor | |
CN105116744B (en) | Intelligent household appliance control method and household gateway | |
CN113132185B (en) | Equipment distribution network binding method, system, mobile terminal and storage medium | |
KR102185365B1 (en) | method and apparatus for connecting terminals and Access Point apparatus among plural of Access Point apparatus which are located on the same network | |
CN102821150B (en) | Based on application management method and the Cloud Server of cloud service | |
CN103914041A (en) | Binding method of user operation terminal and household appliance control device and household appliance control system | |
US9351328B2 (en) | Method for transferring a communication session between devices | |
CN103200196B (en) | A kind of access method, system and device between subscriber equipment and access target | |
CN112152853A (en) | Equipment network distribution method and device, computer-readable storage medium and electronic device | |
US9451388B1 (en) | Framework and method for processing commands for controlling electronic devices | |
CN105828402B (en) | A kind of blind reorientation method and core net, base station | |
GB2532305A (en) | Method for Configuring and controlling smart home products | |
US20140286323A1 (en) | Wireless network system and connecting method thereof | |
AU2016361086A1 (en) | Smart home service server and control method therefor | |
CN109155939A (en) | A kind of load migration method, apparatus and system | |
WO2018039092A1 (en) | Location based access control for artificial conversational entities | |
CN103701994A (en) | Automatic responding method and automatic responding device | |
WO2020019623A1 (en) | Method and device for transmitting information, home appliance, storage medium, and electronic device | |
JP2017531336A (en) | Trunking communication service processing method, core network device, UE, and storage medium | |
CN104137625A (en) | Method and apparatus for selecting a network access subscription | |
CN106489254B (en) | Service access control method and device in broadband cluster system and cluster terminal | |
US20150256544A1 (en) | Method and Device for Gateway Managing Terminal | |
CN104780082A (en) | Communication method for mobile equipment and household intelligent terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |