DS Default Plans
There are two kinds of DS default plans as below:
- System Plans
- Common UI Plans
If the foreground app has a self-defined plan conflicting with a DS default plan, the DS returns the plan defined by the foreground app. On the other hand, assuming the DS only matches a DS default plan, it will return the DS default one. (domain 1300)
1. System Plans
A system plan is a DS default plan that has system behavior on devices, such as the end plan, the go-back plan. For example, supposing you don't set any input context of a system plan and the plan is listening to the intent sentence "end", the system behavior of the plan is touching the home button in the android system, if the user says "end".
Listed below are our predefined system plans.
System Plan Item | System Behavior |
Implementation method (the system intent referenced by the plan) |
Coverage (zh) |
base.plan.common.U_back | the same as touch back buttone | base.intent.common.U_back | "返回" |
base.plan.common.U_home | the same as touch home buttone | base.intent.common.U_home | "",結束" | "離開" | "返回一般模式" |
2. Common UI Plans
In contrast to a system plan, a common UI plan is a DS default plan not having system behavior. Common UI plans are plans that usually appear in every activity.
On Zenbo, it is quite common for multiple apps to be running at the same time, although only one of them is supposed to be in the foreground interacting with the user while the others are lurking behind it. To avoid conflict between apps, our system doesn't allow UI plans of background apps to be triggered. Let's give you a scenario when conflicts between apps might happen. Say we have two apps running simultaneously, one in the foreground and the other background. And in our system, there is a common UI plan called base.plan.common.U_page_previousPage that can go to the previous page. Supposing a user says, "previous page" (an intent sentence that can trigger base.plan.common.U_page_previousPage), both apps would go back to the previous page if this UI plan of the background app could be triggered. We don't want this to happen, do we? Hence, this type of plans only allows the foreground app to trigger them.
Listed below are our predefined common UI plans.
System Plan Item | The beliefs the plan always returns |
Implementation method (the system intent referenced by the plan) |
Coverage (zh) |
base.plan.common.U_OK | base.intent.common.U_OK | "確認" | "好" | |
base.plan.common.U_button_callHelp | base.intent.common.U_button_callHelp | "求助" | "我要求助" | |
base.plan.common.U_button_filter | base.intent.common.U_button_filter | "篩選" | "我要篩選" | |
base.plan.common.U_button_multiSelect | base.intent.common.U_button_multiSelect | "多選" | "我要選取多個項目" | |
base.plan.common.U_button_sort | base.intent.common.U_button_sort | "排序" | "我要排序" | |
base.plan.common.U_cancel | base.intent.common.U_cancel | "取消" | "不要了" | |
base.plan.common.U_cancelAllSelection | base.intent.common.U_cancelAllSelection | "取消全部" | "全部取消" | |
base.plan.common.U_complete | base.intent.common.U_complete | "完成" | "完成了" " | |
base.plan.common.U_delete | base.intent.common.U_delete | "刪除" | "刪了它" | |
base.plan.common.U_deleteAll | base.intent.common.U_deleteAll | "刪除全部" | "全刪" | |
base.plan.common.U_deleteMultiple | base.intent.common.U_deleteMultiple | "刪掉這些檔案" | "刪了這些" | |
base.plan.common.U_end | DDE Editor key in | "結束當前步驟" | "結束這一步" | |
base.plan.common.U_page_lastPage | base.intent.common.U_page_lastPage | "最後一頁" | |
base.plan.common.U_page_nextPage | "下一頁" | "翻下一頁" | ||
base.plan.common.U_page_previousPage | base.intent.common.U_page_previousPage | "上一頁" | "翻上一頁" | |
base.plan.common.U_searchOther | base.intent.common.U_searchOther | "修正現有搜尋結果" | "我要看其他的" | "我想再看看其他的" | |
base.plan.common.U_selectAll | base.intent.common.U_selectAll | "選擇全部" | "全選" | | |
base.plan.common.U_selectLastOne | base.intent.common.U_selectLastOne | "最後一個" | |
base.plan.common.U_selectMiddleOne | base.intent.common.U_selectMiddleOne | "中間那個" | |
base.plan.common.U_selectTopOne | base.intent.common.U_selectTopOne | "選擇最前面項目" | |
base.plan.common.U_share | base.intent.common.U_share | "幫我上傳" | "幫我分享" | "我要分享" | "我要上傳" | |
base.plan.common.U_skipTutorial | base.intent.common.U_skipTutorial | "跳過教學" | |
base.plan.common.U_start | base.intent.common.U_start | "好了" | "可以了" | |
base.plan.select.list | base.intent.select.list | 第n個,n號,第n首,第n張,第n頁,...,number n,…. |