1461188558-65f05460-3e45-4bf1-b2fd-7a9d4f83c67e

1. A cord safety device for a window covering, wherein the window covering comprises a head rail, a bottom rail, a covering material located between the head rail and the bottom rail, and several cords passing through the head rail and the covering material to reach the bottom rail; the cord safety device is used to limit or release at least two cords exposed at an outer side of the window covering, and the cord safety device comprises a first body and a second body corresponding to the first body, wherein
the first body has a first inner side, and further comprises:
a first pivot portion, disposed at a side periphery position of the cord;
a first fixing portion, disposed at an other side periphery position with respect to the first pivot portion along an extending direction of the cord, and forming a predetermined angle with respect to the first pivot portion;
a first stop portion, disposed at a predetermined position of the first inner side and protruded towards the second body; and
a first recess, disposed at a predetermined position of an upper periphery of the first body to provide at least two cords to slide therein;

the second body has a second inner side, and further comprises:
a second pivot portion, disposed corresponding to the first pivot portion, so as to be pivoted to the first pivot portion; and
a second fixing portion, disposed corresponding to the first fixing portion, so as to be separably fixed with the first fixing portion.
2. The cord safety device as claimed in claim 1, wherein the first body further comprises a guiding block located on one end of the first stop portion adjacent to the first fixing portion; and the guiding block has a guiding surface for guiding the cords to move towards an embedded position of the first fixing portion and the second fixing portion.
3. The cord safety device as claimed in claim 1, wherein the second body further comprises a second stop portion disposed on the second inner side corresponding to the first stop portion, and a predetermined distance exists between the first stop portion and the second stop portion.
4. The cord safety device as claimed in claim 3, wherein the first stop portion and the second stop portion are configured into camber structures with downward concaves.
5. The cord safety device as claimed in claim 1, wherein the second body further comprises a second recess disposed corresponding to the first recess.
6. The cord safety device as claimed in claim 5, wherein the first recess orand the second recess forms with an arc surface along an edge of each recess and adjacent to one end side of each fixing portion.
7. The cord safety device as claimed in claim 2, wherein at least one cord sequentially slides towards the first fixing portion along a path formed by the first stop portion, the guiding block, the guiding surface, and the first fixing portion in order, such that the first fixing portion is separated from the second fixing portion in opposite direction with the first pivot portion as an axis center, and then the first pivot portion and the second pivot portion are completely separated.
8. The cord safety device as claimed in claim 1, further comprising a first scarf portion and a second scarf portion, wherein the first scarf portion is disposed on the first body and protruded towards the second body, and the second scarf portion is disposed on the second body corresponding to position of the first scarf portion, thereby accommodating the first scarf portion.
9. The cord safety device as claimed in claim 1, further comprising a first scarf portion and a second scarf portion, wherein the first scarf portion is disposed on the first body and protruded towards the second body, and the second scarf portion is disposed on the second body corresponding to position of the first scarf portion, and protruded towards the first member, thereby being mutually embedded with the first scarf portion.
10. The cord safety device as claimed in claim 1, wherein the first pivot portion has a arc-shaped recess, and the second pivot portion has a pivot pivoted to the arc-shaped recess.
11. The cord safety device as claimed in claim 1, wherein the first stop portion further has a stop recess at one end adjacent to the first pivot portion, thereby fixing one of the cords to the first member.
12. The cord safety device as claimed in claim 1, wherein the second fixing portion is an elastic zigzag element, thereby being fixed to a corresponding position of the first fixing portion.
13. A cord safety device for a window covering, wherein the window covering comprises a head rail, a bottom rail, a covering material located between the head rail and the bottom rail, and several cords passing through the head rail and the covering material to reach the bottom rail; the cord safety device is used to limit or release at least two cords exposed at an outer side of the window covering, and the cord safety device comprises a first body and a second body corresponding to the first body, wherein the first body has a first inner side, and the second body has a second inner side, wherein:
the first body comprises:
a first pivot portion, disposed at a periphery position of the first body;
a first fixing portion, disposed at a periphery position forming a predetermined angle with respect to the first pivot portion;
a first stop portion, disposed at a predetermined position of the first inner side and protruded towards the second body;
a first recess, disposed at a predetermined position of an upper periphery of the first body to provide at least two cords to slide therein; and
a guiding block, disposed on one end of the first stop portion adjacent to the first fixing portion, and having a guiding surface for guiding the cords;

the second body comprises:
a second pivot portion, disposed corresponding to position of the first pivot portion, so as to be embedded with the first pivot portion; and
a second fixing portion, disposed corresponding to position of the first fixing portion, so as to be separably fixed with the first fixing portion.
14. The cord safety device as claimed in claim 13, wherein the second body further comprises a second stop portion located on the second inner side corresponding to the first stop portion.
15. The cord safety device as claimed in claim 13, wherein the first stop portion and the second stop portion are configured into camber structures with downward concaves.
16. The cord safety device as claimed in claim 13, wherein the second body further comprises a second recess disposed corresponding to the first recess.
17. The cord safety device as claimed in claim 16, wherein the first recess orand the second recess forms with an arc surface along an edge of each recess and adjacent to one end side of each fixing portion.
18. The cord safety device as claimed in claim 13, wherein at least one cord sequentially slides to the first fixing portion along a path formed by the first stop portion, the guiding block, the guiding surface, and the first fixing portion in order, such that the first fixing portion is just separated from the second fixing portion in opposite direction with the first pivot portion as an axis center, and then the first pivot portion and the second pivot portion are completely separated.
19. The cord safety device as claimed in claim 13, wherein the first body further comprises a first scarf portion disposed on the first inner side and protruded towards the second body, and the second body further comprises a second scarf portion disposed corresponding to the first scarf portion, thereby accommodating the first scarf portion.
20. The cord safety device as claimed in claim 13, wherein the first body further comprises a first scarf portion protruded towards the second body, and the second body further comprises a second scarf portion disposed corresponding to the first scarf portion and protruded towards the first body, thereby being embedded with the first scarf portion.
21. The cord safety device as claimed in claim 13, wherein the first pivot portion has a arc-shaped recess, and the second pivot portion has a pivot pivoted to the arc-shaped recess.
22. The cord safety device as claimed in claim 13, wherein the first stop portion further has a stop recess at one end away from the guiding block, thereby preventing one of the cords from being separated from the first body.
23. The cord safety device as claimed in claim 13, wherein the second fixing portion is configured into an elastic zigzag element, for being fixed to a corresponding position of the first fixing portion.

The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.

1. A method comprising:
activating, by a computing device and with an application comprising a plurality of tasks, a primary task in response to receiving a first natural language command of one or more words, the computing device being configurable with one or more rules-based task switching rules for determining one or more secondary tasks, the secondary tasks comprising tasks that cannot be activated while one or more primary tasks are activated and tasks that can be activated while one or more primary tasks are activated;
receiving, while the primary task is activated, one or more ambiguous natural language commands;
determining at least one candidate task of the plurality of tasks for each of the one or more ambiguous natural language commands;
assigning a score to each of the candidate tasks using a statistical-based task switching model;
identifying, based on the assigned scores, a first candidate task of the one or more candidate tasks for each of the one or more ambiguous natural language commands;
identifying, for each of the one or more ambiguous natural language commands and based on the one or more rules of the rules-based task switching rules, a second candidate task of the plurality of tasks corresponding to the ambiguous natural language command;
identifying an optimal task of the plurality of tasks for each of the one or more ambiguous natural language commands;
optimizing the statistical task switching model based on a first quality metric, the first quality metric being based on the identified optimal tasks;
calculating a second quality metric based on whether at least a portion of the identified first candidate tasks correspond to the secondary tasks;
determining whether to modify at least one of the one or more rules-based task switching rules based on whether the second quality metric satisfies a threshold quantity; and
when the second quality metric satisfies the threshold quantity, changing the task switching rule for the corresponding candidate task from a rules-based model to the optimized statistical based task switching model.
2. The method of claim 1, wherein determining whether to modify the at least one of the one or more rules-based tasks switching rules comprises:
determining a first task switching accuracy associated with the application when the at least one of the one or more rules-based task switching rules is enabled;
determining a second task switching accuracy associated with the application when the at least one of the one or more rules-based task switching rules is disabled; and
if the second task switching accuracy is greater than the first accuracy, implementing the application with a modification of the at least one of the one or more rules-based task switching rules.
3. The method of claim 2, wherein determining the second task switching accuracy comprises determining a confidence interval associated with the second task switching accuracy based on a frequency associated with the identified first candidate tasks corresponding to the secondary tasks.
4. The method of claim 3, further comprising using a lower bound of the confidence interval for determining if the second task switching accuracy is greater than the first accuracy.
5. The method of claim 2, wherein the implementing the application with a modification of the at least one of the one or more rules comprises disabling the at least one of the one or more rules-based task switching rules.
6. The method of claim 1, further comprising rejecting, by the computing device, an activation of at least a portion of the identified first candidate tasks.
7. The method of claim 6, further comprising:
receiving one or more subsequent natural language commands; and
determining whether to modify the one or more rules-based task switching rules based on the one or more subsequent commands.
8. The method of claim 7, wherein the one or more subsequent natural language commands are received while the primary task is activated.
9. The method of claim 1, wherein the scores assigned to each of the candidate tasks using the statistical-based task switching model are based on at least one of the following:
a probability based on whether the primary task would be interrupted;
a probability based on whether the primary task would be interrupted by a candidate task;
a correlation between information associated with the one or more natural language commands and an expectation associated with the candidate tasks; and
information associated with task configuration and task configuration history.
10. The method of claim 1 further comprising determining situations associated with the plurality of tasks that provide improvement to an accuracy associated with the statistical-based task switching based on at least one of the following:
experience of a user with the application;
coverage of a task in collected data; and
at least one difference between the first candidate tasks identified with the statistical-based task switching model and the second candidate tasks identified with the rules-based task switching model.
11. A system, comprising:
at least one processor; and
at least one memory storing instructions that, when executed by the at least one processor, cause the system to perform:
activating, by a computing device and with an application comprising a plurality of tasks, a primary task in response to receiving a first natural language command of one or more words, the computing device being configurable with one or more rules-based task switching rules for determining one or more secondary tasks, the secondary tasks comprising tasks that cannot be activated while one or more primary tasks are activated and tasks that can be activated while one or more primary tasks are activated;
receiving, while the primary task is activated, one or more ambiguous natural language commands;
determining at least one candidate task of the plurality of tasks for each of the one or more ambiguous natural language commands;
assigning a score to each of the candidate tasks using a statistical-based task switching model;
identifying, based on the assigned scores, a first candidate task of the one or more candidate tasks for each of the one or more ambiguous natural language commands;
identifying, for each of the one or more ambiguous natural language commands and based on the one or more rules of the rules-based task switching rules, a second candidate task of the plurality of tasks corresponding to the ambiguous natural language command;
identifying an optimal task of the plurality of tasks for each of the one or more ambiguous natural language commands;
optimizing the statistical task switching model based on a first quality metric, the first quality metric being based on the identified optimal tasks;
calculating a second quality metric based on whether at least a portion of the identified first candidate tasks correspond to the secondary tasks;
determining whether to modify at least one of the one or more rules-based task switching rules based on whether the second quality metric satisfies a threshold quantity; and
when the second quality metric satisfies the threshold quantity, changing the task switching rule for the corresponding candidate task from a rules-based model to the optimized statistical based task switching model.
12. The system of claim 11, wherein determining whether to modify the at least one of the one or more rules-based tasks switching rules comprises:
determining a first task switching accuracy associated with the application when the at least one of the one or more rules-based task switching rules is enabled;
determining a second task switching accuracy associated with the application when the at least one of the one or more rules-based task switching rules is disabled; and
if the second task switching accuracy is greater than the first accuracy, implementing the application with a modification of the at least one of the one or more rules-based task switching rules.
13. The system of claim 12, wherein the implementing the application with a modification of the at least one of the one or more rules comprises disabling the at least one of the one or more rules-based task switching rules.
14. The system of claim 11, the instructions further cause the system to perform rejecting, by the computing device, an activation of at least a portion of the identified first candidate tasks.
15. The system of claim 14, the instructions further cause the system to perform:
receiving one or more subsequent natural language commands; and
determining whether to modify the one or more rules-based task switching rules based on the one or more subsequent commands.
16. One or more non-transitory computer-readable storage media having instructions stored thereon, that when executed by one or more processors, cause the one or more processors to perform:
activating, by a computing device and with an application comprising a plurality of tasks, a primary task in response to receiving a first natural language command of one or more words, the computing device being configurable with one or more rules-based task switching rules for determining one or more secondary tasks, the secondary tasks comprising tasks that cannot be activated while one or more primary tasks are activated and tasks that can be activated while one or more primary tasks are activated;
receiving, while the primary task is activated, one or more ambiguous natural language commands;
determining at least one candidate task of the plurality of tasks for each of the one or more ambiguous natural language commands;
assigning a score to each of the candidate tasks using a statistical-based task switching model;
identifying, based on the assigned scores, a first candidate task of the one or more candidate tasks for each of the one or more ambiguous natural language commands;
identifying, for each of the one or more ambiguous natural language commands and based on the one or more rules of the rules-based task switching rules, a second candidate task of the plurality of tasks corresponding to the ambiguous natural language command;
identifying an optimal task of the plurality of tasks for each of the one or more ambiguous natural language commands;
optimizing the statistical task switching model based on a first quality metric, the first quality metric being based on the identified optimal tasks;
calculating a second quality metric based on whether at least a portion of the identified first candidate tasks correspond to the secondary tasks;
determining whether to modify at least one of the one or more rules-based task switching rules based on whether the second quality metric satisfies a threshold quantity; and
when the second quality metric satisfies the threshold quantity, changing the task switching rule for the corresponding candidate task from a rules-based model to the optimized statistical based task switching model.
17. The one or more non-transitory computer-readable storage media of claim 16, wherein determining whether to modify the at least one of the one or more rules-based tasks switching rules comprises:
determining a first task switching accuracy associated with the application when the at least one of the one or more rules-based task switching rules is enabled;
determining a second task switching accuracy associated with the application when the at least one of the one or more rules-based task switching rules is disabled; and
if the second task switching accuracy is greater than the first accuracy, implementing the application with a modification of the at least one of the one or more rules-based task switching rules.
18. The one or more non-transitory computer-readable storage media of claim 17, wherein the implementing the application with a modification of the at least one of the one or more rules comprises disabling the at least one of the one or more rules-based task switching rules.
19. The one or more non-transitory computer-readable storage media of claim 16, the instructions further cause the one or more processors to perform rejecting, by the computing device, an activation of at least a portion of the identified first candidate tasks.
20. The one or more non-transitory computer-readable storage media of claim 19, the instructions further cause the one or more processors to perform:
receiving one or more subsequent natural language commands; and
determining whether to modify the one or more rules-based task switching rules based on the one or more subsequent commands.