本(ben)發明涉及人機交互(hu)技術領(ling)域,尤其涉及一種終端(duan)控(kong)制方法及裝置。
背景技術:
家電在人(ren)(ren)們(men)的生活中占據(ju)很重要的地位,隨著生活水平的提高,人(ren)(ren)們(men)越(yue)來越(yue)希望(wang)家電更(geng)(geng)智能,更(geng)(geng)易用,更(geng)(geng)有用。比如電視機的紅外遙(yao)控(kong)(kong)器的出現,在便利了人(ren)(ren)們(men)生活娛樂(le)的同時(shi),也培養了人(ren)(ren)們(men)控(kong)(kong)制(zhi)家電使(shi)用遙(yao)控(kong)(kong)而不是直接接觸(chu)控(kong)(kong)制(zhi)的習慣(guan)。
目(mu)前(qian)傳統的(de)(de)家(jia)(jia)電控(kong)制(zhi)(zhi)器通過紅外(wai)(wai)的(de)(de)方式(shi)對(dui)家(jia)(jia)電進行(xing)操(cao)作。具體(ti)地說,目(mu)前(qian)傳統的(de)(de)家(jia)(jia)電控(kong)制(zhi)(zhi)器包含帶按鈕(niu)的(de)(de)面板(ban)、編碼器、紅外(wai)(wai)發(fa)射器。該(gai)家(jia)(jia)電控(kong)制(zhi)(zhi)器根據用戶對(dui)面板(ban)上的(de)(de)按鈕(niu)操(cao)作,生成控(kong)制(zhi)(zhi)指令,并通過編碼器進行(xing)編碼,紅外(wai)(wai)發(fa)射器將紅外(wai)(wai)編碼格式(shi)的(de)(de)紅外(wai)(wai)信號發(fa)送給(gei)家(jia)(jia)電。家(jia)(jia)電接收到可(ke)識(shi)別的(de)(de)紅外(wai)(wai)信號后(hou),根據該(gai)紅外(wai)(wai)信號進行(xing)控(kong)制(zhi)(zhi)操(cao)作。
然而,由于現(xian)有(you)的家電控(kong)制都(dou)需(xu)要(yao)由傳統的家電遙(yao)控(kong)器實現(xian),比如(ru)說,空調需(xu)要(yao)有(you)空調遙(yao)控(kong)器,電視(shi)(shi)機需(xu)要(yao)有(you)電視(shi)(shi)機遙(yao)控(kong)器,DVD需(xu)要(yao)有(you)DVD遙(yao)控(kong)器。當用(yong)戶(hu)需(xu)要(yao)對某一個家電進行控(kong)制時(shi),就(jiu)需(xu)要(yao)找(zhao)到(dao)相(xiang)應的遙(yao)控(kong)器,操作(zuo)不(bu)便,影響用(yong)戶(hu)體驗。
技術實現要素:
本發明實施例所(suo)要解決的技術(shu)問題(ti)在(zai)于,提供(gong)一種終端控(kong)制方(fang)法(fa)及(ji)裝置,可簡化用戶的操(cao)作步驟,便捷地實現對終端的控(kong)制。
為了(le)解決上述技術(shu)問題,本(ben)發明(ming)實施例提供(gong)了(le)一種終(zhong)端控制方法,包(bao)括:
在用(yong)戶輸入控制(zhi)指令時進行的多個動(dong)作中(zhong)確定(ding)前置動(dong)作;
檢(jian)測所(suo)述用(yong)戶的當(dang)前動作(zuo);
將所述(shu)當前動作與所述(shu)前置動作進行比較(jiao);
當所(suo)述(shu)當前(qian)(qian)動作(zuo)與所(suo)述(shu)前(qian)(qian)置動作(zuo)匹配(pei)時,執行所(suo)述(shu)控制指令(ling)。
相(xiang)應地,本發明實施(shi)例還(huan)提(ti)供了一種終端控制裝(zhuang)置(zhi),包括:
前(qian)(qian)置動作確(que)定模塊(kuai),用于在用戶輸入(ru)控制指(zhi)令時進(jin)行(xing)的多個動作中確(que)定前(qian)(qian)置動作;
當前動作(zuo)檢測模塊,用于(yu)檢測所述用戶的當前動作(zuo);
比較模塊,用于將所述(shu)當前(qian)動作(zuo)與所述(shu)前(qian)置動作(zuo)進行比較;
控制指(zhi)令(ling)執行(xing)模塊,用于當(dang)所述當(dang)前動作(zuo)與所述前置動作(zuo)匹(pi)配時,執行(xing)所述控制指(zhi)令(ling)。
實(shi)施本發明實(shi)施例,通(tong)過在(zai)用(yong)戶(hu)輸(shu)入控(kong)(kong)制指令(ling)時(shi)進行的多個動(dong)(dong)(dong)(dong)作(zuo)(zuo)中確定(ding)前(qian)(qian)置動(dong)(dong)(dong)(dong)作(zuo)(zuo),檢(jian)測(ce)用(yong)戶(hu)的當前(qian)(qian)動(dong)(dong)(dong)(dong)作(zuo)(zuo),將當前(qian)(qian)動(dong)(dong)(dong)(dong)作(zuo)(zuo)與(yu)前(qian)(qian)置動(dong)(dong)(dong)(dong)作(zuo)(zuo)進行比較(jiao),當當前(qian)(qian)動(dong)(dong)(dong)(dong)作(zuo)(zuo)與(yu)前(qian)(qian)置動(dong)(dong)(dong)(dong)作(zuo)(zuo)匹配(pei)時(shi),執行控(kong)(kong)制指令(ling),可簡化用(yong)戶(hu)的操(cao)作(zuo)(zuo)步驟,便捷(jie)地實(shi)現對終端的控(kong)(kong)制。
附圖說明
為了更清楚地說明本(ben)發明實(shi)(shi)施(shi)例或(huo)現有技術中(zhong)(zhong)的技術方案,下面將對(dui)實(shi)(shi)施(shi)例或(huo)現有技術描述(shu)中(zhong)(zhong)所需要使用的附(fu)圖作簡單地介紹,顯而易見地,下面描述(shu)中(zhong)(zhong)的附(fu)圖僅僅是(shi)本(ben)發明的一些(xie)實(shi)(shi)施(shi)例,對(dui)于本(ben)領域普通技術人員來講(jiang),在不付出創造性勞(lao)動(dong)的前提下,還(huan)可以根據這(zhe)些(xie)附(fu)圖獲得其他的附(fu)圖。
圖1是本發明實(shi)施例中提供的(de)一種終端控制(zhi)系(xi)統的(de)框架示意圖;
圖(tu)2是本發明實(shi)施例中提(ti)供的(de)一種終端(duan)控制方(fang)法(fa)的(de)流程示意(yi)圖(tu);
圖(tu)3是本(ben)發明另一實施例中提供(gong)的(de)一種(zhong)終端控(kong)制方法的(de)流程(cheng)示(shi)意圖(tu);
圖4A是(shi)本發明實施例(li)中提供的(de)一種確定前(qian)置(zhi)動作的(de)示意圖;
圖(tu)4B是(shi)本發明另一實施例中提供(gong)的一種(zhong)確定前(qian)置動作(zuo)的示意圖(tu);
圖5是本(ben)發明(ming)實施例中提(ti)供的一(yi)種終端控制裝置的結構示意圖。
具體實施方式
下面將結合本(ben)(ben)(ben)(ben)發(fa)明(ming)實(shi)施(shi)(shi)例(li)(li)中(zhong)的附圖,對本(ben)(ben)(ben)(ben)發(fa)明(ming)實(shi)施(shi)(shi)例(li)(li)中(zhong)的技(ji)術(shu)方(fang)案(an)進行清楚(chu)、完整地描述,顯(xian)然,所描述的實(shi)施(shi)(shi)例(li)(li)僅僅是(shi)本(ben)(ben)(ben)(ben)發(fa)明(ming)一部(bu)分實(shi)施(shi)(shi)例(li)(li),而不是(shi)全部(bu)的實(shi)施(shi)(shi)例(li)(li)。基于本(ben)(ben)(ben)(ben)發(fa)明(ming)中(zhong)的實(shi)施(shi)(shi)例(li)(li),本(ben)(ben)(ben)(ben)領域普通技(ji)術(shu)人(ren)員(yuan)在(zai)沒有(you)作出(chu)創造性勞動前提下所獲得(de)的所有(you)其他實(shi)施(shi)(shi)例(li)(li),都屬于本(ben)(ben)(ben)(ben)發(fa)明(ming)保(bao)護(hu)的范圍。
上述終端控制(zhi)方法可以運行在平板(ban)電腦、手機(ji)、個人計算(suan)機(ji)(Personal Computer,PC)、筆記本電腦或網絡電視等移動(dong)終端中。
請參見圖(tu)(tu)1,圖(tu)(tu)1是本發(fa)明(ming)實(shi)施(shi)例中的一種(zhong)終(zhong)端控(kong)制(zhi)系統的框架示(shi)(shi)意(yi)圖(tu)(tu),如圖(tu)(tu)所示(shi)(shi)本發(fa)明(ming)實(shi)施(shi)例中的終(zhong)端控(kong)制(zhi)系統至少可(ke)以(yi)包括(kuo)移動終(zhong)端以(yi)及穿(chuan)戴設(she)(she)備(bei)。移動終(zhong)端可(ke)以(yi)和(he)穿(chuan)戴設(she)(she)備(bei)之間建立(li)藍牙(ya)連(lian)接或(huo)(huo)者(zhe)紅外線連(lian)接等(deng)。穿(chuan)戴設(she)(she)備(bei)可(ke)以(yi)為智能(neng)手環、智能(neng)手表或(huo)(huo)者(zhe)智能(neng)手套(tao)等(deng)。其中:
穿戴設備(bei),用于檢測(ce)在(zai)用戶輸入控(kong)制指令時的狀態信息,將檢測(ce)得到的狀態信息發送給移動(dong)終端,狀態信息包(bao)括加速度(du)數(shu)據和/或角度(du)數(shu)據。
具體(ti)實(shi)現中,穿(chuan)(chuan)戴(dai)設備(bei)可(ke)(ke)以(yi)包括運動(dong)數(shu)據采(cai)(cai)(cai)集(ji)(ji)模(mo)塊和藍(lan)牙模(mo)塊,運動(dong)數(shu)據采(cai)(cai)(cai)集(ji)(ji)模(mo)塊具體(ti)可(ke)(ke)以(yi)包括加(jia)速(su)度(du)(du)(du)(du)采(cai)(cai)(cai)集(ji)(ji)器(qi)和/或(huo)角度(du)(du)(du)(du)采(cai)(cai)(cai)集(ji)(ji)器(qi),例如(ru)加(jia)速(su)度(du)(du)(du)(du)計或(huo)者陀(tuo)螺儀等,穿(chuan)(chuan)戴(dai)設備(bei)可(ke)(ke)以(yi)通(tong)過(guo)加(jia)速(su)度(du)(du)(du)(du)采(cai)(cai)(cai)集(ji)(ji)器(qi)采(cai)(cai)(cai)集(ji)(ji)加(jia)速(su)度(du)(du)(du)(du)數(shu)據,通(tong)過(guo)角度(du)(du)(du)(du)采(cai)(cai)(cai)集(ji)(ji)器(qi)采(cai)(cai)(cai)集(ji)(ji)角度(du)(du)(du)(du)數(shu)據。通(tong)過(guo)分析可(ke)(ke)知,手部(bu)是人進(jin)行(xing)(xing)日常活(huo)動(dong)使用頻率最(zui)高、靈敏度(du)(du)(du)(du)最(zui)強的(de)部(bu)位,且(qie)手部(bu)的(de)動(dong)作差異(yi)大、特殊性強,當用戶(hu)佩戴(dai)穿(chuan)(chuan)戴(dai)設備(bei)在進(jin)行(xing)(xing)日常活(huo)動(dong)時(shi),穿(chuan)(chuan)戴(dai)設備(bei)中的(de)運動(dong)數(shu)據采(cai)(cai)(cai)集(ji)(ji)模(mo)塊實(shi)時(shi)地采(cai)(cai)(cai)集(ji)(ji)手部(bu)的(de)加(jia)速(su)度(du)(du)(du)(du)數(shu)據和/或(huo)角速(su)度(du)(du)(du)(du)數(shu)據,穿(chuan)(chuan)戴(dai)設備(bei)還可(ke)(ke)通(tong)過(guo)藍(lan)牙模(mo)塊與終端進(jin)行(xing)(xing)藍(lan)牙連接,將加(jia)速(su)度(du)(du)(du)(du)數(shu)據和/或(huo)角速(su)度(du)(du)(du)(du)數(shu)據通(tong)過(guo)建立的(de)藍(lan)牙連接發送給移動(dong)終端。
可(ke)選(xuan)的(de),穿(chuan)(chuan)戴設備(bei)通(tong)(tong)過運動(dong)(dong)數據采集模(mo)塊采集手部的(de)狀態信(xin)息之前,可(ke)以接收動(dong)(dong)作檢(jian)測(ce)(ce)指令(ling),其中,用(yong)戶(hu)可(ke)以通(tong)(tong)過點擊穿(chuan)(chuan)戴設備(bei)的(de)物理按鍵(jian)或者虛(xu)擬按鍵(jian)等方式提交動(dong)(dong)作檢(jian)測(ce)(ce)指令(ling),穿(chuan)(chuan)戴設備(bei)還可(ke)以接收終(zhong)端(duan)發(fa)送的(de)動(dong)(dong)作檢(jian)測(ce)(ce)指令(ling),終(zhong)端(duan)發(fa)送的(de)動(dong)(dong)作檢(jian)測(ce)(ce)指令(ling)可(ke)以是用(yong)戶(hu)通(tong)(tong)過“甩動(dong)(dong)”終(zhong)端(duan)等方式提交的(de),具體(ti)不受本發(fa)明實施(shi)例的(de)限制。
移動終端(duan),用于對狀態信息(xi)進(jin)行分(fen)析(xi)處理,獲取至少(shao)一(yi)個特征值,將至少(shao)一(yi)個特征值作為預設神經網(wang)絡算法(fa)的(de)輸入,得(de)到用戶(hu)在(zai)輸入控制指令(ling)時進(jin)行的(de)多個動作,在(zai)多個動作中(zhong)確定前置動作。
穿(chuan)(chuan)戴設備(bei),還用(yong)于檢(jian)(jian)測(ce)(ce)(ce)用(yong)戶的當前(qian)(qian)(qian)狀態信(xin)息(xi),將檢(jian)(jian)測(ce)(ce)(ce)得到(dao)的當前(qian)(qian)(qian)狀態信(xin)息(xi)發送給移動(dong)(dong)終端。具體實(shi)現中(zhong),穿(chuan)(chuan)戴設備(bei)可(ke)以(yi)通(tong)過運動(dong)(dong)數據(ju)采集(ji)模(mo)塊檢(jian)(jian)測(ce)(ce)(ce)用(yong)戶的當前(qian)(qian)(qian)動(dong)(dong)作(zuo)信(xin)息(xi),進一步(bu)的,穿(chuan)(chuan)戴設備(bei)可(ke)以(yi)通(tong)過加速度(du)采集(ji)器檢(jian)(jian)測(ce)(ce)(ce)用(yong)戶的加速度(du)數據(ju),通(tong)過角度(du)采集(ji)器檢(jian)(jian)測(ce)(ce)(ce)用(yong)戶的角度(du)數據(ju)。可(ke)選的,穿(chuan)(chuan)戴設備(bei)可(ke)以(yi)判斷是否(fou)接收到(dao)動(dong)(dong)作(zuo)檢(jian)(jian)測(ce)(ce)(ce)指令(ling),當接收到(dao)動(dong)(dong)作(zuo)檢(jian)(jian)測(ce)(ce)(ce)指令(ling)時,實(shi)時檢(jian)(jian)測(ce)(ce)(ce)用(yong)戶的當前(qian)(qian)(qian)狀態信(xin)息(xi)。
移(yi)動終端,還用(yong)于對當(dang)(dang)(dang)前(qian)(qian)(qian)(qian)狀(zhuang)態(tai)信息進(jin)行分析(xi)處(chu)理(li)(li),獲取用(yong)戶的(de)(de)當(dang)(dang)(dang)前(qian)(qian)(qian)(qian)動作(zuo)(zuo)(zuo)(zuo),將(jiang)當(dang)(dang)(dang)前(qian)(qian)(qian)(qian)動作(zuo)(zuo)(zuo)(zuo)與(yu)(yu)前(qian)(qian)(qian)(qian)置(zhi)動作(zuo)(zuo)(zuo)(zuo)進(jin)行比(bi)較,當(dang)(dang)(dang)當(dang)(dang)(dang)前(qian)(qian)(qian)(qian)動作(zuo)(zuo)(zuo)(zuo)與(yu)(yu)所述前(qian)(qian)(qian)(qian)置(zhi)動作(zuo)(zuo)(zuo)(zuo)匹配(pei)(pei)時,執行控(kong) 制(zhi)指(zhi)令。具體的(de)(de),移(yi)動終端接收到(dao)穿(chuan)戴設備發送的(de)(de)當(dang)(dang)(dang)前(qian)(qian)(qian)(qian)狀(zhuang)態(tai)信息之后,可以(yi)對當(dang)(dang)(dang)前(qian)(qian)(qian)(qian)狀(zhuang)態(tai)信息進(jin)行分析(xi)處(chu)理(li)(li),獲取至(zhi)少一(yi)個(ge)特征值,將(jiang)至(zhi)少一(yi)個(ge)特征值作(zuo)(zuo)(zuo)(zuo)為預設神(shen)經網絡算法的(de)(de)輸入,得到(dao)用(yong)戶的(de)(de)當(dang)(dang)(dang)前(qian)(qian)(qian)(qian)動作(zuo)(zuo)(zuo)(zuo),進(jin)而將(jiang)當(dang)(dang)(dang)前(qian)(qian)(qian)(qian)動作(zuo)(zuo)(zuo)(zuo)與(yu)(yu)前(qian)(qian)(qian)(qian)置(zhi)動作(zuo)(zuo)(zuo)(zuo)進(jin)行比(bi)較,如果(guo)當(dang)(dang)(dang)前(qian)(qian)(qian)(qian)動作(zuo)(zuo)(zuo)(zuo)與(yu)(yu)前(qian)(qian)(qian)(qian)置(zhi)動作(zuo)(zuo)(zuo)(zuo)匹配(pei)(pei),執行控(kong)制(zhi)指(zhi)令;如果(guo)當(dang)(dang)(dang)前(qian)(qian)(qian)(qian)動作(zuo)(zuo)(zuo)(zuo)與(yu)(yu)前(qian)(qian)(qian)(qian)置(zhi)動作(zuo)(zuo)(zuo)(zuo)不匹配(pei)(pei),移(yi)動終端可以(yi)刪除(chu)當(dang)(dang)(dang)前(qian)(qian)(qian)(qian)狀(zhuang)態(tai)信息。
在(zai)可(ke)選實(shi)施例(li)(li)中,本(ben)發明(ming)實(shi)施例(li)(li)中的終端(duan)(duan)(duan)(duan)控制系統(tong)還(huan)可(ke)以包括操(cao)作(zuo)終端(duan)(duan)(duan)(duan),操(cao)作(zuo)終端(duan)(duan)(duan)(duan)與移動終端(duan)(duan)(duan)(duan)之間(jian)可(ke)以建立通信連接(jie)(jie),例(li)(li)如WIFI連接(jie)(jie)或者有(you)線(xian)連接(jie)(jie)等。操(cao)作(zuo)終端(duan)(duan)(duan)(duan)可(ke)以包括智能(neng)家電(dian)、平板(ban)電(dian)腦、手機(ji)、個(ge)人計算機(ji)或者筆記(ji)本(ben)電(dian)腦等,智能(neng)家電(dian)例(li)(li)如數字電(dian)視(shi)接(jie)(jie)收終端(duan)(duan)(duan)(duan)、燈具(ju)或者冰箱等。其(qi)中移動終端(duan)(duan)(duan)(duan)將當前動作(zuo)與前置動作(zuo)進行比(bi)較(jiao)之后(hou),還(huan)可(ke)以執行以下操(cao)作(zuo):
當當前動作(zuo)(zuo)與所述(shu)前置動作(zuo)(zuo)匹配時,將控制指令發送(song)給操作(zuo)(zuo)終(zhong)端。
操作終端(duan),用于(yu)執(zhi)行該控制指令。
具體(ti)實(shi)現中,操(cao)(cao)作終(zhong)(zhong)(zhong)端(duan)可(ke)以包括WIFI模塊(kuai)和(he)指令(ling)執(zhi)(zhi)行模塊(kuai),操(cao)(cao)作終(zhong)(zhong)(zhong)端(duan)可(ke)以通過(guo)WIFI模塊(kuai)與移動終(zhong)(zhong)(zhong)端(duan)之間建立(li)通信連接,接收移動終(zhong)(zhong)(zhong)端(duan)發(fa)送的控制指令(ling),操(cao)(cao)作終(zhong)(zhong)(zhong)端(duan)還可(ke)以通過(guo)指令(ling)執(zhi)(zhi)行模塊(kuai)執(zhi)(zhi)行該控制指令(ling)。
在可選(xuan)實施例中,本發明實施例中的(de)終端控制系統還(huan)可以包括云端服務(wu)器,云端服務(wu)器與(yu)移(yi)動終端之間可以建立通信(xin)連(lian)接,例如通過網(wang)絡(luo)建立無線局域(yu)網(wang)連(lian)接或者(zhe)有線連(lian)接等。
移(yi)動(dong)終(zhong)端(duan)將至少一個(ge)特征(zheng)值作為(wei)預設神經網(wang)絡算法的輸入(ru),得到用戶在輸入(ru)控(kong)制指令時(shi)進行的多(duo)個(ge)動(dong)作,在多(duo)個(ge)動(dong)作中(zhong)確定前置(zhi)動(dong)作,具體可以為(wei):
移動終端(duan),還用(yong)于將至少一(yi)個特征值發送給云端(duan)服務器。
云(yun)端服務(wu)器,用(yong)于(yu)將至少一個(ge)特征值(zhi)作為預設神(shen)經(jing)網絡(luo)算(suan)法的輸入,得到用(yong)戶在(zai)輸入控制(zhi)指令時(shi)進(jin)行的多個(ge)動(dong)作,在(zai)多個(ge)動(dong)作中確(que)定前(qian)置(zhi)動(dong)作,并將確(que)定的前(qian)置(zhi)動(dong)作發送給移動(dong)終端。
移(yi)動(dong)終端,還用于建立前置動(dong)作和控制指(zhi)令的(de)對應關系(xi)。
在可選實施例中,穿戴設(she)備接收(shou)用戶在輸入控(kong)制指(zhi)令(ling)時提交的動(dong)作檢(jian)測(ce)指(zhi)令(ling),響應動(dong)作檢(jian)測(ce)指(zhi)令(ling)檢(jian)測(ce)狀(zhuang)態信息(xi),并將狀(zhuang)態信息(xi)發(fa)送給(gei)移動(dong)終端。
移(yi)動終(zhong)端對狀態(tai)信息(xi)進(jin)行(xing)處理(li),得到至少一個特(te)征(zheng)值,并(bing)將(jiang)至少一個特(te)征(zheng)值發(fa)送(song)給云(yun)端服務器。
云端服務(wu)器(qi)將至少一(yi)個(ge)特征(zheng)值作為預設神經網絡算法的輸入,得到(dao)用(yong)戶在(zai) 輸入控(kong)制(zhi)指令時(shi)進行的多個(ge)動(dong)(dong)作,在(zai)多個(ge)動(dong)(dong)作中獲(huo)取響應動(dong)(dong)作檢測指令時(shi)最(zui)(zui)先檢測到(dao)的動(dong)(dong)作,將最(zui)(zui)先檢測到(dao)的動(dong)(dong)作確定為前置動(dong)(dong)作。
在可選實施例中,穿(chuan)戴設備(bei)接收用戶(hu)重復輸入(ru)控制指令的(de)過程(cheng)中的(de)狀態信(xin)息,并(bing)將狀態信(xin)息發(fa)送(song)給移動(dong)終(zhong)端。
移(yi)動終端對每次接(jie)收到(dao)的狀態信息進行處理,得到(dao)至(zhi)少(shao)一(yi)個特征值,并將至(zhi)少(shao)一(yi)個特征值發(fa)送給云端服務器。
云端服務器將(jiang)至少一個(ge)特征值作(zuo)(zuo)為(wei)預設神經網(wang)絡算法的(de)(de)輸(shu)入(ru)(ru),得(de)到(dao)用戶(hu)在(zai)輸(shu)入(ru)(ru)控(kong)制(zhi)(zhi)指令時進行的(de)(de)多個(ge)動(dong)(dong)(dong)作(zuo)(zuo),將(jiang)每次檢測到(dao)的(de)(de)在(zai)用戶(hu)輸(shu)入(ru)(ru)控(kong)制(zhi)(zhi)指令的(de)(de)過程中的(de)(de)各個(ge)動(dong)(dong)(dong)作(zuo)(zuo)分別進行比較,獲取(qu)每次檢測到(dao)的(de)(de)在(zai)用戶(hu)輸(shu)入(ru)(ru)控(kong)制(zhi)(zhi)指令的(de)(de)過程中的(de)(de)相同(tong)動(dong)(dong)(dong)作(zuo)(zuo),將(jiang)相同(tong)動(dong)(dong)(dong)作(zuo)(zuo)中最先檢測到(dao)的(de)(de)動(dong)(dong)(dong)作(zuo)(zuo)確(que)定為(wei)前(qian)置動(dong)(dong)(dong)作(zuo)(zuo)。
在圖1所(suo)示的(de)(de)(de)(de)終端(duan)控(kong)(kong)制系統中,穿戴(dai)(dai)設備(bei)檢(jian)測在用戶輸入控(kong)(kong)制指令(ling)時(shi)的(de)(de)(de)(de)狀(zhuang)(zhuang)態信(xin)(xin)息(xi),將(jiang)檢(jian)測得到的(de)(de)(de)(de)狀(zhuang)(zhuang)態信(xin)(xin)息(xi)發送(song)(song)給移動(dong)(dong)終端(duan),移動(dong)(dong)終端(duan)對狀(zhuang)(zhuang)態信(xin)(xin)息(xi)進(jin)行(xing)(xing)(xing)分(fen)析(xi)處理(li),獲取至少一(yi)個特(te)征(zheng)值(zhi),將(jiang)至少一(yi)個特(te)征(zheng)值(zhi)作(zuo)(zuo)(zuo)為預設神經網(wang)絡算法的(de)(de)(de)(de)輸入,得到用戶在輸入控(kong)(kong)制指令(ling)時(shi)進(jin)行(xing)(xing)(xing)的(de)(de)(de)(de)多(duo)個動(dong)(dong)作(zuo)(zuo)(zuo),在多(duo)個動(dong)(dong)作(zuo)(zuo)(zuo)中確定前(qian)置(zhi)(zhi)動(dong)(dong)作(zuo)(zuo)(zuo)。穿戴(dai)(dai)設備(bei)檢(jian)測用戶的(de)(de)(de)(de)當(dang)前(qian)狀(zhuang)(zhuang)態信(xin)(xin)息(xi),將(jiang)檢(jian)測得到的(de)(de)(de)(de)當(dang)前(qian)狀(zhuang)(zhuang)態信(xin)(xin)息(xi)發送(song)(song)給移動(dong)(dong)終端(duan)。移動(dong)(dong)終端(duan)對當(dang)前(qian)狀(zhuang)(zhuang)態信(xin)(xin)息(xi)進(jin)行(xing)(xing)(xing)分(fen)析(xi)處理(li),獲取用戶的(de)(de)(de)(de)當(dang)前(qian)動(dong)(dong)作(zuo)(zuo)(zuo),將(jiang)當(dang)前(qian)動(dong)(dong)作(zuo)(zuo)(zuo)與前(qian)置(zhi)(zhi)動(dong)(dong)作(zuo)(zuo)(zuo)進(jin)行(xing)(xing)(xing)比較,當(dang)當(dang)前(qian)動(dong)(dong)作(zuo)(zuo)(zuo)與所(suo)述前(qian)置(zhi)(zhi)動(dong)(dong)作(zuo)(zuo)(zuo)匹配(pei)時(shi),執行(xing)(xing)(xing)控(kong)(kong)制指令(ling),可簡化(hua)用戶的(de)(de)(de)(de)操(cao)作(zuo)(zuo)(zuo)步驟,便捷地實現對移動(dong)(dong)終端(duan)的(de)(de)(de)(de)控(kong)(kong)制。
請參見(jian)圖(tu)(tu)2,圖(tu)(tu)2是本發明實施例中的一(yi)種終端控制方(fang)法的流程示意圖(tu)(tu),如圖(tu)(tu)所(suo)示本發明實施例中的終端控制方(fang)法可以包括:
S201,穿(chuan)戴設備檢測在(zai)用戶輸入控制指(zhi)令時的狀態(tai)(tai)信息(xi),狀態(tai)(tai)信息(xi)包括加速度(du)數據和/或(huo)角度(du)數據。
穿戴設(she)備可以檢測在用(yong)(yong)戶(hu)輸入控(kong)制(zhi)指(zhi)令時(shi)的(de)狀態(tai)信息,狀態(tai)信息包(bao)括加速(su)度(du)數(shu)據和/或角度(du)數(shu)據。其中,控(kong)制(zhi)指(zhi)令可以用(yong)(yong)于指(zhi)示控(kong)制(zhi)操作(zuo)終端(duan)進(jin)行指(zhi)定操作(zuo),例如控(kong)制(zhi)操作(zuo)終端(duan)開(kai)燈、處于開(kai)機狀態(tai)或者(zhe)調節溫度(du)等等。
在(zai)(zai)可(ke)(ke)(ke)(ke)選實施例(li)(li)中(zhong),穿(chuan)(chuan)戴(dai)設(she)備可(ke)(ke)(ke)(ke)以(yi)(yi)接(jie)收(shou)用(yong)戶(hu)(hu)在(zai)(zai)輸入控制指(zhi)(zhi)令(ling)時提(ti)交(jiao)(jiao)的動(dong)(dong)作(zuo)檢(jian)測(ce)指(zhi)(zhi)令(ling),響應動(dong)(dong)作(zuo)檢(jian)測(ce)指(zhi)(zhi)令(ling)時檢(jian)測(ce)狀(zhuang)態(tai)信(xin)息(xi)。具體的,用(yong)戶(hu)(hu)可(ke)(ke)(ke)(ke)以(yi)(yi)通過點擊物理按(an)鍵(jian)或者虛擬按(an)鍵(jian)的方(fang)式提(ti)交(jiao)(jiao)動(dong)(dong)作(zuo)檢(jian)測(ce)指(zhi)(zhi)令(ling),可(ke)(ke)(ke)(ke)選的,用(yong)戶(hu)(hu)可(ke)(ke)(ke)(ke)以(yi)(yi)通過移動(dong)(dong)終端的麥克風輸入動(dong)(dong)作(zuo)檢(jian)測(ce)指(zhi)(zhi)令(ling),進而移動(dong)(dong)終端將動(dong)(dong)作(zuo)檢(jian)測(ce)指(zhi)(zhi)令(ling)發(fa)送給穿(chuan)(chuan)戴(dai)設(she)備, 可(ke)(ke)(ke)(ke)選的,用(yong)戶(hu)(hu)還可(ke)(ke)(ke)(ke)以(yi)(yi)通過對穿(chuan)(chuan)戴(dai)設(she)備“甩動(dong)(dong)”等方(fang)式提(ti)交(jiao)(jiao)動(dong)(dong)作(zuo)檢(jian)測(ce)指(zhi)(zhi)令(ling)。本(ben)發(fa)明實施例(li)(li)在(zai)(zai)接(jie)收(shou)到動(dong)(dong)作(zuo)檢(jian)測(ce)指(zhi)(zhi)令(ling)時檢(jian)測(ce)狀(zhuang)態(tai)信(xin)息(xi),避免(mian)穿(chuan)(chuan)戴(dai)設(she)備實時獲取(qu)狀(zhuang)態(tai)信(xin)息(xi),可(ke)(ke)(ke)(ke)提(ti)高穿(chuan)(chuan)戴(dai)設(she)備對狀(zhuang)態(tai)信(xin)息(xi)的檢(jian)測(ce)效(xiao)率(lv),節省資(zi)源。
在可(ke)(ke)選實施(shi)例(li)中(zhong),穿(chuan)戴設備可(ke)(ke)以獲取在用戶(hu)重復(fu)輸入控(kong)(kong)制(zhi)指(zhi)(zhi)令(ling)(ling)的(de)(de)(de)(de)(de)過程(cheng)中(zhong)的(de)(de)(de)(de)(de)狀態(tai)信(xin)(xin)息(xi)(xi)(xi),將(jiang)(jiang)每次檢測(ce)(ce)(ce)到(dao)的(de)(de)(de)(de)(de)在用戶(hu)輸入控(kong)(kong)制(zhi)指(zhi)(zhi)令(ling)(ling)的(de)(de)(de)(de)(de)過程(cheng)中(zhong)的(de)(de)(de)(de)(de)狀態(tai)信(xin)(xin)息(xi)(xi)(xi)發送給(gei)移(yi)動(dong)終(zhong)(zhong)端。例(li)如,穿(chuan)戴設備可(ke)(ke)以檢測(ce)(ce)(ce)用戶(hu)在第一次輸入控(kong)(kong)制(zhi)指(zhi)(zhi)令(ling)(ling)時的(de)(de)(de)(de)(de)狀態(tai)信(xin)(xin)息(xi)(xi)(xi),將(jiang)(jiang)第一次檢測(ce)(ce)(ce)到(dao)的(de)(de)(de)(de)(de)狀態(tai)信(xin)(xin)息(xi)(xi)(xi)發送給(gei)移(yi)動(dong)終(zhong)(zhong)端。穿(chuan)戴設備還可(ke)(ke)以檢測(ce)(ce)(ce)用戶(hu)在第二(er)次輸入控(kong)(kong)制(zhi)指(zhi)(zhi)令(ling)(ling)時的(de)(de)(de)(de)(de)狀態(tai)信(xin)(xin)息(xi)(xi)(xi),將(jiang)(jiang)第二(er)次檢測(ce)(ce)(ce)到(dao)的(de)(de)(de)(de)(de)狀態(tai)信(xin)(xin)息(xi)(xi)(xi)發送給(gei)移(yi)動(dong)終(zhong)(zhong)端。優(you)選的(de)(de)(de)(de)(de),穿(chuan)戴設備獲取在用戶(hu)重復(fu)輸入控(kong)(kong)制(zhi)指(zhi)(zhi)令(ling)(ling)的(de)(de)(de)(de)(de)過程(cheng)中(zhong)的(de)(de)(de)(de)(de)狀態(tai)信(xin)(xin)息(xi)(xi)(xi)之前(qian),可(ke)(ke)以接收(shou)用戶(hu)在輸入控(kong)(kong)制(zhi)指(zhi)(zhi)令(ling)(ling)時提交的(de)(de)(de)(de)(de)動(dong)作檢測(ce)(ce)(ce)指(zhi)(zhi)令(ling)(ling)。
S202,穿戴設備將檢(jian)測(ce)得到(dao)的(de)狀(zhuang)態(tai)信(xin)息發送給移動終端。
S203,移動(dong)終端對狀態信息進行分析(xi)處理,獲取至少一(yi)個特征值。
移動終端可以對狀態信息進行分析(xi)處理,獲取至少一個特(te)征值。特(te)征值可以包括預設時間(jian)段(duan)內的(de)(de)角度均方(fang)根、預設時間(jian)段(duan)內的(de)(de)角度之(zhi)和、預設時間(jian)段(duan)內的(de)(de)加(jia)速度均方(fang)根或者不同時間(jian)的(de)(de)加(jia)速度的(de)(de)積(ji)分。
可選的(de)(de)(de)(de)(de),當狀態信息包括加速(su)度(du)數(shu)(shu)(shu)據(ju)(ju)(ju)和(he)(he)角(jiao)(jiao)(jiao)度(du)數(shu)(shu)(shu)據(ju)(ju)(ju)時(shi),移動(dong)終(zhong)端(duan)可以(yi)(yi)對(dui)加速(su)度(du)數(shu)(shu)(shu)據(ju)(ju)(ju)和(he)(he)角(jiao)(jiao)(jiao)度(du)數(shu)(shu)(shu)據(ju)(ju)(ju)進(jin)(jin)(jin)行(xing)歸(gui)一(yi)化處(chu)理,并將歸(gui)一(yi)化處(chu)理得到(dao)的(de)(de)(de)(de)(de)數(shu)(shu)(shu)據(ju)(ju)(ju)存入(ru)到(dao)一(yi)個全(quan)局的(de)(de)(de)(de)(de)20*6的(de)(de)(de)(de)(de)二(er)維數(shu)(shu)(shu)組中(zhong)(zhong),其(qi)中(zhong)(zhong)20表示不同時(shi)間(jian),6表示三(san)軸加速(su)度(du)和(he)(he)三(san)軸角(jiao)(jiao)(jiao)度(du),為了(le)保證數(shu)(shu)(shu)據(ju)(ju)(ju)的(de)(de)(de)(de)(de)實時(shi)性(xing),移動(dong)終(zhong)端(duan)可以(yi)(yi)將二(er)維數(shu)(shu)(shu)組中(zhong)(zhong)存放時(shi)間(jian)最久的(de)(de)(de)(de)(de)數(shu)(shu)(shu)據(ju)(ju)(ju)更新為最近(jin)得到(dao)的(de)(de)(de)(de)(de)歸(gui)一(yi)化處(chu)理后的(de)(de)(de)(de)(de)數(shu)(shu)(shu)據(ju)(ju)(ju),以(yi)(yi)保證二(er)維數(shu)(shu)(shu)組中(zhong)(zhong)的(de)(de)(de)(de)(de)數(shu)(shu)(shu)據(ju)(ju)(ju)為最近(jin)采集到(dao)的(de)(de)(de)(de)(de)數(shu)(shu)(shu)據(ju)(ju)(ju),提高確定前(qian)置動(dong)作的(de)(de)(de)(de)(de)準(zhun)確性(xing)。具(ju)體實現中(zhong)(zhong),移動(dong)終(zhong)端(duan)對(dui)加速(su)度(du)數(shu)(shu)(shu)據(ju)(ju)(ju)和(he)(he)角(jiao)(jiao)(jiao)度(du)數(shu)(shu)(shu)據(ju)(ju)(ju)進(jin)(jin)(jin)行(xing)歸(gui)一(yi)化處(chu)理的(de)(de)(de)(de)(de)方式可以(yi)(yi)為:在接收到(dao)的(de)(de)(de)(de)(de)狀態信息中(zhong)(zhong)計(ji)算出加速(su)度(du)和(he)(he)角(jiao)(jiao)(jiao)度(du)的(de)(de)(de)(de)(de)極(ji)大值(zhi),將所(suo)有加速(su)度(du)除以(yi)(yi)加速(su)度(du)極(ji)大值(zhi)以(yi)(yi)進(jin)(jin)(jin)行(xing)歸(gui)一(yi)化計(ji)算,將所(suo)有角(jiao)(jiao)(jiao)度(du)除以(yi)(yi)角(jiao)(jiao)(jiao)度(du)極(ji)大值(zhi)以(yi)(yi)進(jin)(jin)(jin)行(xing)歸(gui)一(yi)化計(ji)算。基于此(ci),所(suo)有數(shu)(shu)(shu)據(ju)(ju)(ju)都處(chu)于[-1,1]區間(jian)內。
進一步可選的,移動終端可以在上述二維數組中獲取第一特征值,第一特征值可以包括預設時間段內的角度均方根以及預設時間段內的角度之和。其中,位于預設時間段內的角度為X1、X2...Xn,則預(yu)設時間(jian)段內的(de)(de)角度(du)均(jun)方根(gen)可(ke)以通過以下算法計算得到:移動終(zhong)端還(huan)可(ke)以在上述(shu)二維數組(zu)中獲取第二特征值(zhi),第二特征值(zhi)可(ke)以包括預(yu)設時間(jian)段內的(de)(de)加速(su)(su)度(du)均(jun)方根(gen)以及不同時間(jian) 的(de)(de)加速(su)(su)度(du)的(de)(de)積分。
S204,移動(dong)終端(duan)將至(zhi)少一個特(te)征值發送(song)給(gei)云端(duan)服務器。
S205,云端服務(wu)器(qi)將至少一個特征值作為預設(she)神經網(wang)絡算法的(de)輸(shu)入,得到用戶在輸(shu)入控制指令(ling)時進(jin)行(xing)的(de)多(duo)個動作,并(bing)在多(duo)個動作中確定(ding)前置動作。
可(ke)選的,云端(duan)服務(wu)器接收到移動終(zhong)端(duan)發送的第(di)一特征值和第(di)二(er)特征值之后,可(ke)以將第(di)一特征值和第(di)二(er)特征值作(zuo)為預(yu)設神經網(wang)絡(luo)算法的輸入,以獲取(qu)在用戶輸入控(kong)制指令時(shi)進行的多(duo)個動作(zuo)。
可(ke)選的(de)(de),如(ru)果狀態(tai)信息(xi)是穿(chuan)戴(dai)(dai)設(she)備(bei)(bei)響應動(dong)(dong)(dong)(dong)作(zuo)檢(jian)測指(zhi)令(ling)時檢(jian)測到(dao)(dao)(dao)的(de)(de),那么(me)云端(duan)服務(wu)器獲(huo)(huo)取在用戶(hu)輸入控制(zhi)指(zhi)令(ling)時進(jin)行(xing)的(de)(de)多個動(dong)(dong)(dong)(dong)作(zuo)之后,可(ke)以在多個動(dong)(dong)(dong)(dong)作(zuo)中獲(huo)(huo)取穿(chuan)戴(dai)(dai)設(she)備(bei)(bei)響應動(dong)(dong)(dong)(dong)作(zuo)檢(jian)測指(zhi)令(ling)時最(zui)先檢(jian)測到(dao)(dao)(dao)的(de)(de)動(dong)(dong)(dong)(dong)作(zuo),將(jiang)最(zui)先檢(jian)測到(dao)(dao)(dao)的(de)(de)動(dong)(dong)(dong)(dong)作(zuo)確定為前置動(dong)(dong)(dong)(dong)作(zuo)。
可選(xuan)的(de)(de),如果穿戴設備(bei)檢測(ce)(ce)在用(yong)戶重復輸(shu)入控(kong)制(zhi)指(zhi)令的(de)(de)過(guo)程(cheng)中(zhong)(zhong)的(de)(de)狀態信息,將(jiang)(jiang)(jiang)每(mei)次(ci)檢測(ce)(ce)到的(de)(de)在用(yong)戶輸(shu)入控(kong)制(zhi)指(zhi)令的(de)(de)過(guo)程(cheng)中(zhong)(zhong)的(de)(de)狀態信息發送給移動終端,云端服務(wu)器接(jie)收外控(kong)設備(bei)發送的(de)(de)用(yong)戶每(mei)次(ci)輸(shu)入控(kong)制(zhi)指(zhi)令時的(de)(de)特征值(zhi)之后,可以(yi)獲(huo)取用(yong)戶每(mei)次(ci)輸(shu)入控(kong)制(zhi)指(zhi)令時的(de)(de)多個(ge)動作(zuo),并將(jiang)(jiang)(jiang)用(yong)戶每(mei)次(ci)輸(shu)入控(kong)制(zhi)指(zhi)令時的(de)(de)各個(ge)動作(zuo)分別進行比較,獲(huo)取每(mei)次(ci)檢測(ce)(ce)到的(de)(de)在用(yong)戶輸(shu)入控(kong)制(zhi)指(zhi)令的(de)(de)過(guo)程(cheng)中(zhong)(zhong)的(de)(de)相同(tong)(tong)動作(zuo),將(jiang)(jiang)(jiang)相同(tong)(tong)動作(zuo)中(zhong)(zhong)最先檢測(ce)(ce)到的(de)(de)動作(zuo)確定為前置動作(zuo)。
本發明實施例中,通過云端服(fu)務器(qi)確定前(qian)置(zhi)動作,可(ke)降低(di)移動終(zhong)端的(de)負載(zai),提高前(qian)置(zhi)動作確定效率。
S206,云端(duan)服務器將前置動作(zuo)發(fa)送(song)給移動終端(duan)。
S207,移動終端存儲(chu)前置動作以及前置動作對(dui)應的控制(zhi)指令。
移動終端接收到云端服務器發(fa)送的(de)(de)前(qian)置(zhi)動作(zuo)(zuo)(zuo)之(zhi)后,可以建立前(qian)置(zhi)動作(zuo)(zuo)(zuo)和控制指(zhi)令(ling)的(de)(de)對(dui)(dui)應關系,存儲前(qian)置(zhi)動作(zuo)(zuo)(zuo)以及(ji)前(qian)置(zhi)動作(zuo)(zuo)(zuo)對(dui)(dui)應的(de)(de)控制指(zhi)令(ling)。
S208,穿戴設備(bei)檢測用戶的當前狀態信息(xi)。
穿(chuan)戴設備可(ke)以(yi)檢(jian)測(ce)用(yong)戶(hu)的當(dang)前狀態(tai)信(xin)息,其中,當(dang)前狀態(tai)信(xin)息可(ke)以(yi)包(bao)括加速(su)度數據和/或角度數據。可(ke)選的,穿(chuan)戴設備可(ke)以(yi)接(jie)收用(yong)戶(hu)提交(jiao)的動(dong)作(zuo)檢(jian)測(ce)指令,響應該(gai)動(dong)作(zuo)檢(jian)測(ce)指令以(yi)檢(jian)測(ce)用(yong)戶(hu)的當(dang)前狀態(tai)信(xin)息。
S209,穿(chuan)戴設備將當前狀態信息(xi)發送給移動終端。
S210,移動終(zhong)端對當(dang)前(qian)狀(zhuang)態信息進(jin)行(xing)分析處理,獲取用戶的當(dang)前(qian)動作。
移動終端可以(yi)對當前狀態(tai)信息進行分析處(chu)理(li),得到至(zhi)少(shao)一(yi)個(ge)特(te)征(zheng)值(zhi),進而 根據(ju)至(zhi)少(shao)一(yi)個(ge)特(te)征(zheng)值(zhi)獲取用戶的當前動作。
可選的,移(yi)動(dong)終(zhong)端(duan)可以(yi)對當前狀態信(xin)息進行分析處理,得到至少(shao)一個(ge)(ge)(ge)特征值,將至少(shao)一個(ge)(ge)(ge)特征值發(fa)送給(gei)云端(duan)服務(wu)器,云端(duan)服務(wu)器將至少(shao)一個(ge)(ge)(ge)特征值作為預設神經網絡算(suan)法的輸入,得到用(yong)戶(hu)(hu)的當前動(dong)作,將用(yong)戶(hu)(hu)的當前動(dong)作發(fa)送給(gei)移(yi)動(dong)終(zhong)端(duan)。
S211,移動(dong)(dong)終端將(jiang)當(dang)前動(dong)(dong)作(zuo)與(yu)前置(zhi)(zhi)動(dong)(dong)作(zuo)進行比較,當(dang)當(dang)前動(dong)(dong)作(zuo)與(yu)前置(zhi)(zhi)動(dong)(dong)作(zuo)匹配時,將(jiang)控(kong)制(zhi)指(zhi)令發送給控(kong)制(zhi)指(zhi)令對應的操作(zuo)終端。
移動(dong)(dong)(dong)終(zhong)(zhong)端(duan)可(ke)以將當(dang)(dang)(dang)前(qian)(qian)(qian)動(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)與(yu)(yu)前(qian)(qian)(qian)置(zhi)動(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)進(jin)行(xing)比較(jiao),當(dang)(dang)(dang)當(dang)(dang)(dang)前(qian)(qian)(qian)動(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)與(yu)(yu)前(qian)(qian)(qian)置(zhi)動(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)匹配時(shi)(shi),將控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)令(ling)(ling)(ling)(ling)(ling)發(fa)送給控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)令(ling)(ling)(ling)(ling)(ling)對(dui)(dui)應(ying)的(de)(de)操(cao)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)終(zhong)(zhong)端(duan)。例(li)如,當(dang)(dang)(dang)當(dang)(dang)(dang)前(qian)(qian)(qian)動(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)與(yu)(yu)前(qian)(qian)(qian)置(zhi)動(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)匹配時(shi)(shi),移動(dong)(dong)(dong)終(zhong)(zhong)端(duan)可(ke)以廣播該控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)令(ling)(ling)(ling)(ling)(ling),接(jie)收到該控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)令(ling)(ling)(ling)(ling)(ling)的(de)(de)操(cao)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)終(zhong)(zhong)端(duan)可(ke)以將該控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)令(ling)(ling)(ling)(ling)(ling)與(yu)(yu)本地(di)存(cun)儲(chu)的(de)(de)控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)令(ling)(ling)(ling)(ling)(ling)進(jin)行(xing)比較(jiao),當(dang)(dang)(dang)該控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)令(ling)(ling)(ling)(ling)(ling)與(yu)(yu)本地(di)存(cun)儲(chu)的(de)(de)控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)令(ling)(ling)(ling)(ling)(ling)相同時(shi)(shi),表(biao)示操(cao)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)終(zhong)(zhong)端(duan)可(ke)以識(shi)別該控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)令(ling)(ling)(ling)(ling)(ling);當(dang)(dang)(dang)該控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)令(ling)(ling)(ling)(ling)(ling)與(yu)(yu)本地(di)存(cun)儲(chu)的(de)(de)控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)令(ling)(ling)(ling)(ling)(ling)不相同時(shi)(shi),表(biao)示操(cao)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)終(zhong)(zhong)端(duan)無法識(shi)別該控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)令(ling)(ling)(ling)(ling)(ling),操(cao)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)終(zhong)(zhong)端(duan)可(ke)以刪除該控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)令(ling)(ling)(ling)(ling)(ling)。又如,當(dang)(dang)(dang)當(dang)(dang)(dang)前(qian)(qian)(qian)動(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)與(yu)(yu)前(qian)(qian)(qian)置(zhi)動(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)匹配時(shi)(shi),移動(dong)(dong)(dong)終(zhong)(zhong)端(duan)可(ke)以根據控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)令(ling)(ling)(ling)(ling)(ling)、前(qian)(qian)(qian)置(zhi)動(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)以及終(zhong)(zhong)端(duan)標(biao)(biao)識(shi)信息的(de)(de)對(dui)(dui)應(ying)關系,獲取(qu)該前(qian)(qian)(qian)置(zhi)動(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)對(dui)(dui)應(ying)的(de)(de)終(zhong)(zhong)端(duan)標(biao)(biao)識(shi)信息,并將控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)令(ling)(ling)(ling)(ling)(ling)發(fa)送給終(zhong)(zhong)端(duan)標(biao)(biao)識(shi)信息對(dui)(dui)應(ying)的(de)(de)操(cao)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)終(zhong)(zhong)端(duan)。
在(zai)可(ke)選(xuan)實施例中,用戶(hu)對(dui)操(cao)作(zuo)終(zhong)(zhong)端(duan)(duan)(duan)(duan)輸入控制(zhi)(zhi)指(zhi)(zhi)令(ling)時進行(xing)多個動(dong)(dong)(dong)(dong)作(zuo),操(cao)作(zuo)終(zhong)(zhong)端(duan)(duan)(duan)(duan)接收(shou)(shou)到(dao)控制(zhi)(zhi)指(zhi)(zhi)令(ling)之后,可(ke)以向移(yi)動(dong)(dong)(dong)(dong)終(zhong)(zhong)端(duan)(duan)(duan)(duan)發送操(cao)作(zuo)終(zhong)(zhong)端(duan)(duan)(duan)(duan)的(de)終(zhong)(zhong)端(duan)(duan)(duan)(duan)標(biao)識信息(xi),以便移(yi)動(dong)(dong)(dong)(dong)終(zhong)(zhong)端(duan)(duan)(duan)(duan)存儲(chu)控制(zhi)(zhi)指(zhi)(zhi)令(ling)、前(qian)置動(dong)(dong)(dong)(dong)作(zuo)及其對(dui)應(ying)的(de)終(zhong)(zhong)端(duan)(duan)(duan)(duan)標(biao)識信息(xi)。又如(ru),用戶(hu)對(dui)操(cao)作(zuo)終(zhong)(zhong)端(duan)(duan)(duan)(duan)輸入控制(zhi)(zhi)指(zhi)(zhi)令(ling)時進行(xing)多個動(dong)(dong)(dong)(dong)作(zuo),操(cao)作(zuo)終(zhong)(zhong)端(duan)(duan)(duan)(duan)接收(shou)(shou)到(dao)控制(zhi)(zhi)指(zhi)(zhi)令(ling)之后,可(ke)以向移(yi)動(dong)(dong)(dong)(dong)終(zhong)(zhong)端(duan)(duan)(duan)(duan)發送該控制(zhi)(zhi)指(zhi)(zhi)令(ling),以便移(yi)動(dong)(dong)(dong)(dong)終(zhong)(zhong)端(duan)(duan)(duan)(duan)存儲(chu)前(qian)置動(dong)(dong)(dong)(dong)作(zuo)及其對(dui)應(ying)的(de)控制(zhi)(zhi)指(zhi)(zhi)令(ling),其中該控制(zhi)(zhi)指(zhi)(zhi)令(ling)與操(cao)作(zuo)終(zhong)(zhong)端(duan)(duan)(duan)(duan)相對(dui)應(ying),其他終(zhong)(zhong)端(duan)(duan)(duan)(duan)無法識別該控制(zhi)(zhi)指(zhi)(zhi)令(ling)。
S212,操(cao)作終(zhong)端(duan)執行控制指令。
在圖2所示(shi)的(de)(de)終(zhong)(zhong)端控(kong)制(zhi)方法中(zhong),穿戴設(she)備(bei)將(jiang)檢(jian)測(ce)得到(dao)的(de)(de)用(yong)(yong)戶(hu)(hu)在輸(shu)入(ru)控(kong)制(zhi)指令(ling)(ling)時的(de)(de)狀態(tai)信(xin)息(xi)發送給移(yi)(yi)動(dong)(dong)(dong)(dong)終(zhong)(zhong)端,移(yi)(yi)動(dong)(dong)(dong)(dong)終(zhong)(zhong)端將(jiang)對狀態(tai)信(xin)息(xi)進(jin)行分析處(chu)理得到(dao)的(de)(de)至(zhi)少一個(ge)特征值發送給云(yun)端服務器,云(yun)端服務器將(jiang)至(zhi)少一個(ge)特征值作(zuo)(zuo)(zuo)(zuo)為預設(she)神經網絡算(suan)法的(de)(de)輸(shu)入(ru),得到(dao)用(yong)(yong)戶(hu)(hu)在輸(shu)入(ru)控(kong)制(zhi)指令(ling)(ling)時進(jin)行的(de)(de)多個(ge)動(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo),在多個(ge)動(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)中(zhong)確定前(qian)(qian)置(zhi)(zhi)動(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo),并(bing)將(jiang)前(qian)(qian)置(zhi)(zhi)動(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)發送給移(yi)(yi)動(dong)(dong)(dong)(dong)終(zhong)(zhong)端,穿戴設(she)備(bei)檢(jian)測(ce)用(yong)(yong)戶(hu)(hu)的(de)(de)當(dang)(dang)(dang)前(qian)(qian)狀態(tai)信(xin)息(xi),將(jiang)檢(jian)測(ce)得到(dao)的(de)(de)當(dang)(dang)(dang)前(qian)(qian)狀態(tai)信(xin)息(xi)發送給移(yi)(yi)動(dong)(dong)(dong)(dong)終(zhong)(zhong)端,移(yi)(yi)動(dong)(dong)(dong)(dong)終(zhong)(zhong)端對當(dang)(dang)(dang)前(qian)(qian)狀態(tai)信(xin)息(xi)進(jin)行分析處(chu)理,獲取用(yong)(yong)戶(hu)(hu)的(de)(de)當(dang)(dang)(dang)前(qian)(qian)動(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo),將(jiang)當(dang)(dang)(dang)前(qian)(qian)動(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)與前(qian)(qian)置(zhi)(zhi)動(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)進(jin)行比較,當(dang)(dang)(dang) 當(dang)(dang)(dang)前(qian)(qian)動(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)與所述(shu)前(qian)(qian)置(zhi)(zhi)動(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)匹配(pei)時,將(jiang)控(kong)制(zhi)指令(ling)(ling)發送給操作(zuo)(zuo)(zuo)(zuo)終(zhong)(zhong)端,操作(zuo)(zuo)(zuo)(zuo)終(zhong)(zhong)端執行控(kong)制(zhi)指令(ling)(ling),可簡化用(yong)(yong)戶(hu)(hu)的(de)(de)操作(zuo)(zuo)(zuo)(zuo)步(bu)驟(zou),便捷(jie)地實現對操作(zuo)(zuo)(zuo)(zuo)終(zhong)(zhong)端的(de)(de)控(kong)制(zhi)。
請參見圖(tu)3,圖(tu)3是本發(fa)明(ming)另一實(shi)施例中的一種(zhong)終端(duan)控(kong)制方(fang)法(fa)的流程示意圖(tu),如(ru)圖(tu)所(suo)示本發(fa)明(ming)實(shi)施例中的終端(duan)控(kong)制方(fang)法(fa)可以包括(kuo):
S301,在用戶輸入控制指(zhi)令時(shi)進(jin)行的多個動作(zuo)中(zhong)確定前(qian)置動作(zuo)。
移(yi)動(dong)(dong)(dong)終(zhong)(zhong)(zhong)端可以(yi)(yi)在用(yong)戶輸入控(kong)(kong)制(zhi)指(zhi)令時進(jin)行(xing)的(de)多個動(dong)(dong)(dong)作中確定前(qian)(qian)置(zhi)動(dong)(dong)(dong)作。前(qian)(qian)置(zhi)動(dong)(dong)(dong)作可以(yi)(yi)為用(yong)戶輸入控(kong)(kong)制(zhi)指(zhi)令時進(jin)行(xing)的(de)多個動(dong)(dong)(dong)作中最先檢測到的(de)動(dong)(dong)(dong)作。例如(ru),控(kong)(kong)制(zhi)指(zhi)令用(yong)于控(kong)(kong)制(zhi)移(yi)動(dong)(dong)(dong)終(zhong)(zhong)(zhong)端開燈,用(yong)戶控(kong)(kong)制(zhi)移(yi)動(dong)(dong)(dong)終(zhong)(zhong)(zhong)端開燈的(de)過(guo)程(cheng)中進(jin)行(xing)的(de)動(dong)(dong)(dong)作包括(kuo):以(yi)(yi)斜(xie)向上(shang)的(de)手勢(shi)延伸手臂、伸出食指(zhi)以(yi)(yi)及往(wang)用(yong)戶前(qian)(qian)方(fang)按壓,則移(yi)動(dong)(dong)(dong)終(zhong)(zhong)(zhong)端可以(yi)(yi)確定前(qian)(qian)置(zhi)動(dong)(dong)(dong)作為:以(yi)(yi)斜(xie)向上(shang)的(de)手勢(shi)延伸手臂。
在(zai)可(ke)(ke)選實施例中(zhong),移動(dong)(dong)終(zhong)端可(ke)(ke)以(yi)接收(shou)用(yong)戶(hu)在(zai)輸入(ru)(ru)控(kong)制(zhi)指(zhi)令(ling)時提(ti)交的(de)(de)動(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)檢(jian)(jian)測(ce)(ce)(ce)指(zhi)令(ling),在(zai)多(duo)(duo)個動(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)中(zhong)獲取響(xiang)應動(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)檢(jian)(jian)測(ce)(ce)(ce)指(zhi)令(ling)時最(zui)先檢(jian)(jian)測(ce)(ce)(ce)到(dao)(dao)的(de)(de)動(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo),將最(zui)先檢(jian)(jian)測(ce)(ce)(ce)到(dao)(dao)的(de)(de)動(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)確定為前置(zhi)動(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)。以(yi)圖4A所示(shi)的(de)(de)確定前置(zhi)動(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)的(de)(de)示(shi)意圖為例,用(yong)戶(hu)在(zai)輸入(ru)(ru)控(kong)制(zhi)指(zhi)令(ling)時提(ti)交了動(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)檢(jian)(jian)測(ce)(ce)(ce)指(zhi)令(ling),移動(dong)(dong)終(zhong)端接收(shou)到(dao)(dao)動(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)檢(jian)(jian)測(ce)(ce)(ce)指(zhi)令(ling)之后,可(ke)(ke)以(yi)采(cai)集用(yong)戶(hu)在(zai)輸入(ru)(ru)控(kong)制(zhi)指(zhi)令(ling)時進行(xing)的(de)(de)多(duo)(duo)個動(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo),并在(zai)采(cai)集到(dao)(dao)的(de)(de)多(duo)(duo)個動(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)中(zhong)獲取響(xiang)應動(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)檢(jian)(jian)測(ce)(ce)(ce)指(zhi)令(ling)時最(zui)先檢(jian)(jian)測(ce)(ce)(ce)到(dao)(dao)的(de)(de)動(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo),將最(zui)先檢(jian)(jian)測(ce)(ce)(ce)到(dao)(dao)的(de)(de)動(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)確定為前置(zhi)動(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)。具體的(de)(de),用(yong)戶(hu)可(ke)(ke)以(yi)通過(guo)點(dian)擊移動(dong)(dong)終(zhong)端的(de)(de)物理(li)按(an)鍵(jian)或者虛擬按(an)鍵(jian)的(de)(de)方式提(ti)交動(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)檢(jian)(jian)測(ce)(ce)(ce)指(zhi)令(ling),可(ke)(ke)選的(de)(de),用(yong)戶(hu)可(ke)(ke)以(yi)通過(guo)移動(dong)(dong)終(zhong)端的(de)(de)麥克風輸入(ru)(ru)動(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)檢(jian)(jian)測(ce)(ce)(ce)指(zhi)令(ling),可(ke)(ke)選的(de)(de),用(yong)戶(hu)還可(ke)(ke)以(yi)通過(guo)“甩動(dong)(dong)”等方式提(ti)交動(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)(zuo)檢(jian)(jian)測(ce)(ce)(ce)指(zhi)令(ling)。
在(zai)(zai)(zai)(zai)可選實施例中(zhong)(zhong),移(yi)動(dong)(dong)(dong)(dong)(dong)終(zhong)端(duan)(duan)(duan)可以(yi)(yi)獲取(qu)在(zai)(zai)(zai)(zai)用(yong)戶(hu)(hu)重(zhong)復輸入(ru)(ru)控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)(zhi)(zhi)(zhi)令(ling)(ling)的(de)(de)(de)(de)(de)(de)(de)(de)過(guo)程(cheng)(cheng)(cheng)(cheng)(cheng)(cheng)中(zhong)(zhong)的(de)(de)(de)(de)(de)(de)(de)(de)多(duo)個(ge)(ge)(ge)(ge)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo),將每(mei)次(ci)(ci)檢(jian)(jian)(jian)(jian)(jian)(jian)(jian)測(ce)(ce)(ce)到(dao)(dao)(dao)(dao)(dao)(dao)的(de)(de)(de)(de)(de)(de)(de)(de)在(zai)(zai)(zai)(zai)用(yong)戶(hu)(hu)輸入(ru)(ru)控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)(zhi)(zhi)(zhi)令(ling)(ling)的(de)(de)(de)(de)(de)(de)(de)(de)過(guo)程(cheng)(cheng)(cheng)(cheng)(cheng)(cheng)中(zhong)(zhong)的(de)(de)(de)(de)(de)(de)(de)(de)各(ge)(ge)個(ge)(ge)(ge)(ge)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)分(fen)別進(jin)(jin)(jin)行(xing)(xing)(xing)比較,獲取(qu)每(mei)次(ci)(ci)檢(jian)(jian)(jian)(jian)(jian)(jian)(jian)測(ce)(ce)(ce)到(dao)(dao)(dao)(dao)(dao)(dao)的(de)(de)(de)(de)(de)(de)(de)(de)在(zai)(zai)(zai)(zai)用(yong)戶(hu)(hu)輸入(ru)(ru)控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)(zhi)(zhi)(zhi)令(ling)(ling)的(de)(de)(de)(de)(de)(de)(de)(de)過(guo)程(cheng)(cheng)(cheng)(cheng)(cheng)(cheng)中(zhong)(zhong)的(de)(de)(de)(de)(de)(de)(de)(de)相(xiang)同(tong)(tong)(tong)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo),將相(xiang)同(tong)(tong)(tong)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)中(zhong)(zhong)最(zui)先檢(jian)(jian)(jian)(jian)(jian)(jian)(jian)測(ce)(ce)(ce)到(dao)(dao)(dao)(dao)(dao)(dao)的(de)(de)(de)(de)(de)(de)(de)(de)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)確(que)(que)(que)定(ding)為(wei)(wei)前(qian)置(zhi)(zhi)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)。以(yi)(yi)圖4B所示(shi)的(de)(de)(de)(de)(de)(de)(de)(de)確(que)(que)(que)定(ding)前(qian)置(zhi)(zhi)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)的(de)(de)(de)(de)(de)(de)(de)(de)示(shi)意圖為(wei)(wei)例,用(yong)戶(hu)(hu)可以(yi)(yi)重(zhong)復進(jin)(jin)(jin)行(xing)(xing)(xing)輸入(ru)(ru)同(tong)(tong)(tong)一控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)(zhi)(zhi)(zhi)令(ling)(ling)的(de)(de)(de)(de)(de)(de)(de)(de)過(guo)程(cheng)(cheng)(cheng)(cheng)(cheng)(cheng)中(zhong)(zhong)的(de)(de)(de)(de)(de)(de)(de)(de)多(duo)個(ge)(ge)(ge)(ge)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo),移(yi)動(dong)(dong)(dong)(dong)(dong)終(zhong)端(duan)(duan)(duan)獲取(qu)在(zai)(zai)(zai)(zai)用(yong)戶(hu)(hu)重(zhong)復輸入(ru)(ru)控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)(zhi)(zhi)(zhi)令(ling)(ling)的(de)(de)(de)(de)(de)(de)(de)(de)過(guo)程(cheng)(cheng)(cheng)(cheng)(cheng)(cheng)中(zhong)(zhong)的(de)(de)(de)(de)(de)(de)(de)(de)多(duo)個(ge)(ge)(ge)(ge)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo),將每(mei)次(ci)(ci)檢(jian)(jian)(jian)(jian)(jian)(jian)(jian)測(ce)(ce)(ce)到(dao)(dao)(dao)(dao)(dao)(dao)的(de)(de)(de)(de)(de)(de)(de)(de)在(zai)(zai)(zai)(zai)用(yong)戶(hu)(hu)輸入(ru)(ru)控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)(zhi)(zhi)(zhi)令(ling)(ling)的(de)(de)(de)(de)(de)(de)(de)(de)過(guo)程(cheng)(cheng)(cheng)(cheng)(cheng)(cheng)中(zhong)(zhong)的(de)(de)(de)(de)(de)(de)(de)(de)各(ge)(ge)個(ge)(ge)(ge)(ge)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)分(fen)別進(jin)(jin)(jin)行(xing)(xing)(xing)比較,獲取(qu)每(mei)次(ci)(ci)檢(jian)(jian)(jian)(jian)(jian)(jian)(jian)測(ce)(ce)(ce)到(dao)(dao)(dao)(dao)(dao)(dao)的(de)(de)(de)(de)(de)(de)(de)(de)在(zai)(zai)(zai)(zai)用(yong)戶(hu)(hu)輸入(ru)(ru)控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)(zhi)(zhi)(zhi)令(ling)(ling)的(de)(de)(de)(de)(de)(de)(de)(de)過(guo)程(cheng)(cheng)(cheng)(cheng)(cheng)(cheng)中(zhong)(zhong)的(de)(de)(de)(de)(de)(de)(de)(de)相(xiang)同(tong)(tong)(tong)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo),將相(xiang)同(tong)(tong)(tong)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)中(zhong)(zhong)最(zui)先檢(jian)(jian)(jian)(jian)(jian)(jian)(jian)測(ce)(ce)(ce)到(dao)(dao)(dao)(dao)(dao)(dao)的(de)(de)(de)(de)(de)(de)(de)(de)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)確(que)(que)(que)定(ding)為(wei)(wei)前(qian)置(zhi)(zhi)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)。示(shi)例性的(de)(de)(de)(de)(de)(de)(de)(de),以(yi)(yi)二(er)進(jin)(jin)(jin)制(zhi)(zhi)(zhi)(zhi)編碼表示(shi)用(yong)戶(hu)(hu)在(zai)(zai)(zai)(zai)輸入(ru)(ru)控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)(zhi)(zhi)(zhi)令(ling)(ling)時進(jin)(jin)(jin)行(xing)(xing)(xing)的(de)(de)(de)(de)(de)(de)(de)(de)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo),移(yi)動(dong)(dong)(dong)(dong)(dong)終(zhong)端(duan)(duan)(duan)第(di)(di)(di)(di)一次(ci)(ci)檢(jian)(jian)(jian)(jian)(jian)(jian)(jian)測(ce)(ce)(ce)到(dao)(dao)(dao)(dao)(dao)(dao)用(yong)戶(hu)(hu)在(zai)(zai)(zai)(zai)輸入(ru)(ru)控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)(zhi)(zhi)(zhi)令(ling)(ling)的(de)(de)(de)(de)(de)(de)(de)(de)過(guo)程(cheng)(cheng)(cheng)(cheng)(cheng)(cheng)中(zhong)(zhong)的(de)(de)(de)(de)(de)(de)(de)(de)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)為(wei)(wei):01101011010,移(yi)動(dong)(dong)(dong)(dong)(dong)終(zhong)端(duan)(duan)(duan)第(di)(di)(di)(di) 二(er)次(ci)(ci)檢(jian)(jian)(jian)(jian)(jian)(jian)(jian)測(ce)(ce)(ce)到(dao)(dao)(dao)(dao)(dao)(dao)用(yong)戶(hu)(hu)在(zai)(zai)(zai)(zai)輸入(ru)(ru)控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)(zhi)(zhi)(zhi)令(ling)(ling)的(de)(de)(de)(de)(de)(de)(de)(de)過(guo)程(cheng)(cheng)(cheng)(cheng)(cheng)(cheng)中(zhong)(zhong)的(de)(de)(de)(de)(de)(de)(de)(de)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)為(wei)(wei):00111011010,移(yi)動(dong)(dong)(dong)(dong)(dong)終(zhong)端(duan)(duan)(duan)第(di)(di)(di)(di)三(san)(san)次(ci)(ci)檢(jian)(jian)(jian)(jian)(jian)(jian)(jian)測(ce)(ce)(ce)到(dao)(dao)(dao)(dao)(dao)(dao)用(yong)戶(hu)(hu)在(zai)(zai)(zai)(zai)輸入(ru)(ru)控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)(zhi)(zhi)(zhi)令(ling)(ling)的(de)(de)(de)(de)(de)(de)(de)(de)過(guo)程(cheng)(cheng)(cheng)(cheng)(cheng)(cheng)中(zhong)(zhong)的(de)(de)(de)(de)(de)(de)(de)(de)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)為(wei)(wei):,則移(yi)動(dong)(dong)(dong)(dong)(dong)終(zhong)端(duan)(duan)(duan)可以(yi)(yi)將每(mei)次(ci)(ci)檢(jian)(jian)(jian)(jian)(jian)(jian)(jian)測(ce)(ce)(ce)到(dao)(dao)(dao)(dao)(dao)(dao)的(de)(de)(de)(de)(de)(de)(de)(de)各(ge)(ge)個(ge)(ge)(ge)(ge)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)進(jin)(jin)(jin)行(xing)(xing)(xing)比較,其(qi)(qi)(qi)(qi)中(zhong)(zhong)第(di)(di)(di)(di)一次(ci)(ci)檢(jian)(jian)(jian)(jian)(jian)(jian)(jian)測(ce)(ce)(ce)到(dao)(dao)(dao)(dao)(dao)(dao)的(de)(de)(de)(de)(de)(de)(de)(de)第(di)(di)(di)(di)五個(ge)(ge)(ge)(ge)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)及(ji)(ji)其(qi)(qi)(qi)(qi)之(zhi)后的(de)(de)(de)(de)(de)(de)(de)(de)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)與第(di)(di)(di)(di)二(er)次(ci)(ci)檢(jian)(jian)(jian)(jian)(jian)(jian)(jian)測(ce)(ce)(ce)到(dao)(dao)(dao)(dao)(dao)(dao)的(de)(de)(de)(de)(de)(de)(de)(de)第(di)(di)(di)(di)五個(ge)(ge)(ge)(ge)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)及(ji)(ji)其(qi)(qi)(qi)(qi)之(zhi)后的(de)(de)(de)(de)(de)(de)(de)(de)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)相(xiang)同(tong)(tong)(tong),第(di)(di)(di)(di)一次(ci)(ci)檢(jian)(jian)(jian)(jian)(jian)(jian)(jian)測(ce)(ce)(ce)到(dao)(dao)(dao)(dao)(dao)(dao)的(de)(de)(de)(de)(de)(de)(de)(de)第(di)(di)(di)(di)三(san)(san)個(ge)(ge)(ge)(ge)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)及(ji)(ji)其(qi)(qi)(qi)(qi)之(zhi)后的(de)(de)(de)(de)(de)(de)(de)(de)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)與第(di)(di)(di)(di)三(san)(san)次(ci)(ci)檢(jian)(jian)(jian)(jian)(jian)(jian)(jian)測(ce)(ce)(ce)到(dao)(dao)(dao)(dao)(dao)(dao)的(de)(de)(de)(de)(de)(de)(de)(de)第(di)(di)(di)(di)三(san)(san)個(ge)(ge)(ge)(ge)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)及(ji)(ji)其(qi)(qi)(qi)(qi)之(zhi)后的(de)(de)(de)(de)(de)(de)(de)(de)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)相(xiang)同(tong)(tong)(tong),第(di)(di)(di)(di)二(er)次(ci)(ci)檢(jian)(jian)(jian)(jian)(jian)(jian)(jian)測(ce)(ce)(ce)到(dao)(dao)(dao)(dao)(dao)(dao)的(de)(de)(de)(de)(de)(de)(de)(de)第(di)(di)(di)(di)五個(ge)(ge)(ge)(ge)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)及(ji)(ji)其(qi)(qi)(qi)(qi)之(zhi)后的(de)(de)(de)(de)(de)(de)(de)(de)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)與第(di)(di)(di)(di)三(san)(san)次(ci)(ci)檢(jian)(jian)(jian)(jian)(jian)(jian)(jian)測(ce)(ce)(ce)到(dao)(dao)(dao)(dao)(dao)(dao)的(de)(de)(de)(de)(de)(de)(de)(de)第(di)(di)(di)(di)五個(ge)(ge)(ge)(ge)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)及(ji)(ji)其(qi)(qi)(qi)(qi)之(zhi)后的(de)(de)(de)(de)(de)(de)(de)(de)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)相(xiang)同(tong)(tong)(tong),則移(yi)動(dong)(dong)(dong)(dong)(dong)終(zhong)端(duan)(duan)(duan)可以(yi)(yi)獲取(qu)到(dao)(dao)(dao)(dao)(dao)(dao)每(mei)次(ci)(ci)檢(jian)(jian)(jian)(jian)(jian)(jian)(jian)測(ce)(ce)(ce)到(dao)(dao)(dao)(dao)(dao)(dao)的(de)(de)(de)(de)(de)(de)(de)(de)在(zai)(zai)(zai)(zai)用(yong)戶(hu)(hu)輸入(ru)(ru)控(kong)(kong)(kong)制(zhi)(zhi)(zhi)(zhi)指(zhi)(zhi)(zhi)(zhi)令(ling)(ling)的(de)(de)(de)(de)(de)(de)(de)(de)過(guo)程(cheng)(cheng)(cheng)(cheng)(cheng)(cheng)中(zhong)(zhong)的(de)(de)(de)(de)(de)(de)(de)(de)相(xiang)同(tong)(tong)(tong)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)為(wei)(wei):1011010,進(jin)(jin)(jin)而移(yi)動(dong)(dong)(dong)(dong)(dong)終(zhong)端(duan)(duan)(duan)可以(yi)(yi)將相(xiang)同(tong)(tong)(tong)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)中(zhong)(zhong)最(zui)先檢(jian)(jian)(jian)(jian)(jian)(jian)(jian)測(ce)(ce)(ce)到(dao)(dao)(dao)(dao)(dao)(dao)的(de)(de)(de)(de)(de)(de)(de)(de)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo)確(que)(que)(que)定(ding)為(wei)(wei)前(qian)置(zhi)(zhi)動(dong)(dong)(dong)(dong)(dong)作(zuo)(zuo)(zuo)(zuo)(zuo),即1。
在(zai)可選實(shi)施例(li)中(zhong),移(yi)動(dong)終端在(zai)用(yong)戶(hu)輸入控(kong)制(zhi)指令時進(jin)行的多(duo)個動(dong)作中(zhong)確定前(qian)置動(dong)作之后,可以建立前(qian)置動(dong)作和控(kong)制(zhi)指令的對應關系。
S302,檢測用戶的(de)當前動作。
移(yi)(yi)(yi)動(dong)(dong)(dong)終端可以(yi)檢(jian)測用(yong)戶(hu)的(de)(de)當(dang)前(qian)動(dong)(dong)(dong)作(zuo)(zuo)。具體實現中,移(yi)(yi)(yi)動(dong)(dong)(dong)終端可以(yi)通過加(jia)速度(du)(du)采集(ji)器和(he)/或(huo)角(jiao)度(du)(du)采集(ji)器檢(jian)測用(yong)戶(hu)的(de)(de)當(dang)前(qian)動(dong)(dong)(dong)作(zuo)(zuo)。例如,移(yi)(yi)(yi)動(dong)(dong)(dong)終端可以(yi)接收用(yong)戶(hu)提交的(de)(de)動(dong)(dong)(dong)作(zuo)(zuo)檢(jian)測指(zhi)令,進而根據(ju)(ju)動(dong)(dong)(dong)作(zuo)(zuo)檢(jian)測指(zhi)令檢(jian)測用(yong)戶(hu)的(de)(de)當(dang)前(qian)動(dong)(dong)(dong)作(zuo)(zuo)。可選的(de)(de),移(yi)(yi)(yi)動(dong)(dong)(dong)終端接收到加(jia)速度(du)(du)和(he)角(jiao)度(du)(du)數(shu)(shu)據(ju)(ju)之后(hou),可以(yi)對加(jia)速度(du)(du)數(shu)(shu)據(ju)(ju)和(he)角(jiao)度(du)(du)數(shu)(shu)據(ju)(ju)進行歸(gui)一(yi)(yi)化處理,根據(ju)(ju)歸(gui)一(yi)(yi)化處理得到的(de)(de)角(jiao)度(du)(du)數(shu)(shu)據(ju)(ju)得到第一(yi)(yi)特征值,根據(ju)(ju)歸(gui)一(yi)(yi)化處理得到的(de)(de)加(jia)速度(du)(du)數(shu)(shu)據(ju)(ju)得到第二(er)(er)特征值,將第一(yi)(yi)特征值和(he)第二(er)(er)特征值作(zuo)(zuo)為預設神經(jing)網絡算法(fa)的(de)(de)輸入,以(yi)獲取在用(yong)戶(hu)的(de)(de)當(dang)前(qian)動(dong)(dong)(dong)作(zuo)(zuo)。
S303,將當前(qian)(qian)動(dong)作與前(qian)(qian)置動(dong)作進(jin)行(xing)比較。
移(yi)動(dong)(dong)(dong)(dong)終(zhong)端檢測(ce)到用(yong)戶(hu)(hu)(hu)(hu)的當(dang)(dang)前(qian)(qian)(qian)(qian)動(dong)(dong)(dong)(dong)作(zuo)(zuo)之后,可以將當(dang)(dang)前(qian)(qian)(qian)(qian)動(dong)(dong)(dong)(dong)作(zuo)(zuo)與前(qian)(qian)(qian)(qian)置(zhi)(zhi)動(dong)(dong)(dong)(dong)作(zuo)(zuo)進行(xing)比(bi)較,當(dang)(dang)當(dang)(dang)前(qian)(qian)(qian)(qian)動(dong)(dong)(dong)(dong)作(zuo)(zuo)與前(qian)(qian)(qian)(qian)置(zhi)(zhi)動(dong)(dong)(dong)(dong)作(zuo)(zuo)匹(pi)配時,進一(yi)步執行(xing)步驟S304;當(dang)(dang)當(dang)(dang)前(qian)(qian)(qian)(qian)動(dong)(dong)(dong)(dong)作(zuo)(zuo)與前(qian)(qian)(qian)(qian)置(zhi)(zhi)動(dong)(dong)(dong)(dong)作(zuo)(zuo)不匹(pi)配時,移(yi)動(dong)(dong)(dong)(dong)終(zhong)端可以刪除檢測(ce)到的當(dang)(dang)前(qian)(qian)(qian)(qian)動(dong)(dong)(dong)(dong)作(zuo)(zuo)。本(ben)發明實(shi)施例中(zhong),用(yong)戶(hu)(hu)(hu)(hu)輸(shu)入同一(yi)控(kong)制指(zhi)令時進行(xing)的前(qian)(qian)(qian)(qian)置(zhi)(zhi)動(dong)(dong)(dong)(dong)作(zuo)(zuo)是相似且穩(wen)定的,移(yi)動(dong)(dong)(dong)(dong)終(zhong)端可以將當(dang)(dang)前(qian)(qian)(qian)(qian)動(dong)(dong)(dong)(dong)作(zuo)(zuo)與前(qian)(qian)(qian)(qian)置(zhi)(zhi)動(dong)(dong)(dong)(dong)作(zuo)(zuo)進行(xing)比(bi)較,預測(ce)用(yong)戶(hu)(hu)(hu)(hu)即將進行(xing)的動(dong)(dong)(dong)(dong)作(zuo)(zuo),進而執行(xing)前(qian)(qian)(qian)(qian)置(zhi)(zhi)動(dong)(dong)(dong)(dong)作(zuo)(zuo)對應的控(kong)制指(zhi)令,簡化用(yong)戶(hu)(hu)(hu)(hu)的操作(zuo)(zuo)步驟,提升用(yong)戶(hu)(hu)(hu)(hu)體驗(yan)。
具體實現中(zhong),移動(dong)(dong)(dong)(dong)(dong)(dong)終(zhong)(zhong)端(duan)可(ke)以(yi)獲取當(dang)(dang)(dang)前(qian)(qian)(qian)動(dong)(dong)(dong)(dong)(dong)(dong)作(zuo)與(yu)(yu)前(qian)(qian)(qian)置(zhi)動(dong)(dong)(dong)(dong)(dong)(dong)作(zuo)之(zhi)間的(de)相(xiang)(xiang)似度,判斷當(dang)(dang)(dang)前(qian)(qian)(qian)動(dong)(dong)(dong)(dong)(dong)(dong)作(zuo)與(yu)(yu)前(qian)(qian)(qian)置(zhi)動(dong)(dong)(dong)(dong)(dong)(dong)作(zuo)之(zhi)間的(de)相(xiang)(xiang)似度是否大于預設(she)(she)閾值,當(dang)(dang)(dang)當(dang)(dang)(dang)前(qian)(qian)(qian)動(dong)(dong)(dong)(dong)(dong)(dong)作(zuo)與(yu)(yu)前(qian)(qian)(qian)置(zhi)動(dong)(dong)(dong)(dong)(dong)(dong)作(zuo)之(zhi)間的(de)相(xiang)(xiang)似度大于預設(she)(she)閾值時,移動(dong)(dong)(dong)(dong)(dong)(dong)終(zhong)(zhong)端(duan)可(ke)以(yi)確(que)定當(dang)(dang)(dang)前(qian)(qian)(qian)動(dong)(dong)(dong)(dong)(dong)(dong)作(zuo)與(yu)(yu)前(qian)(qian)(qian)置(zhi)動(dong)(dong)(dong)(dong)(dong)(dong)作(zuo)匹配;當(dang)(dang)(dang)當(dang)(dang)(dang)前(qian)(qian)(qian)動(dong)(dong)(dong)(dong)(dong)(dong)作(zuo)與(yu)(yu)前(qian)(qian)(qian)置(zhi)動(dong)(dong)(dong)(dong)(dong)(dong)作(zuo)之(zhi)間的(de)相(xiang)(xiang)似度小于或者等于預設(she)(she)閾值時,移動(dong)(dong)(dong)(dong)(dong)(dong)終(zhong)(zhong)端(duan)可(ke)以(yi) 確(que)定當(dang)(dang)(dang)前(qian)(qian)(qian)動(dong)(dong)(dong)(dong)(dong)(dong)作(zuo)與(yu)(yu)前(qian)(qian)(qian)置(zhi)動(dong)(dong)(dong)(dong)(dong)(dong)作(zuo)不匹配。其中(zhong),預設(she)(she)閾值可(ke)以(yi)是預先設(she)(she)定的(de)比例(li)閾值,例(li)如85%或者90%等。
S304,當當前動作與前置動作匹配時,執行(xing)控制(zhi)指令。
當(dang)當(dang)前(qian)動作與前(qian)置(zhi)動作匹配(pei)時,移(yi)動終(zhong)(zhong)端可以執行控制(zhi)指令(ling)。例(li)如,當(dang)前(qian)動作為控制(zhi)移(yi)動終(zhong)(zhong)端開機(ji)的前(qian)置(zhi)動作時,移(yi)動終(zhong)(zhong)端可以進入開機(ji)狀(zhuang)態。
本發(fa)明實施(shi)例中,在用戶輸入控制指(zhi)令時(shi)進行(xing)的(de)多個動(dong)(dong)(dong)作(zuo)(zuo)中確定(ding)前置動(dong)(dong)(dong)作(zuo)(zuo),檢(jian)測(ce)用戶的(de)當前動(dong)(dong)(dong)作(zuo)(zuo),將(jiang)當前動(dong)(dong)(dong)作(zuo)(zuo)與前置動(dong)(dong)(dong)作(zuo)(zuo)進行(xing)比較,當當前動(dong)(dong)(dong)作(zuo)(zuo)與前置動(dong)(dong)(dong)作(zuo)(zuo)匹配時(shi),執行(xing)控制指(zhi)令,可簡化用戶的(de)操作(zuo)(zuo)步驟,便捷地實現對終(zhong)端的(de)控制。
請參見圖5,圖5是(shi)本(ben)(ben)(ben)發明實(shi)施例(li)中提供的一種(zhong)終端(duan)(duan)控(kong)制裝置的結構示(shi)意圖,本(ben)(ben)(ben)發明實(shi)施例(li)中的終端(duan)(duan)控(kong)制裝置可以(yi)(yi)包括平(ping)板(ban)電腦(nao)、手機、個(ge)人計算機、筆記本(ben)(ben)(ben)電腦(nao)、車載設備、網絡電視(shi)等(deng)終端(duan)(duan),如圖所示(shi)本(ben)(ben)(ben)實(shi)施例(li)中的終端(duan)(duan)控(kong)制裝置至少(shao)可以(yi)(yi)包括前置動(dong)作(zuo)確定模塊(kuai)(kuai)501、當前動(dong)作(zuo)檢測模塊(kuai)(kuai)502、比較(jiao)模塊(kuai)(kuai)503以(yi)(yi)及控(kong)制指令執行模塊(kuai)(kuai)504,其(qi)中:
前置動(dong)作(zuo)確定(ding)模塊501,用于(yu)在(zai)用戶輸入控(kong)制指令(ling)時進行的(de)多(duo)個動(dong)作(zuo)中確定(ding)前置動(dong)作(zuo)。
當前動(dong)作檢測(ce)模塊502,用于檢測(ce)用戶的當前動(dong)作。
比較模塊503,用于將當前動作與前置動作進(jin)行比較。
控制(zhi)指(zhi)令執行(xing)模(mo)塊(kuai)504,用(yong)于當當前(qian)動作與前(qian)置動作匹配時(shi),執行(xing)控制(zhi)指(zhi)令。
在可選實施例(li)中,前(qian)置動(dong)作確(que)定模塊501,具體用于:
接收用(yong)戶在輸入控制指(zhi)(zhi)令時提交的動作檢測指(zhi)(zhi)令。
在多個動作中(zhong)獲取響應(ying)動作檢(jian)測指令時(shi)最先檢(jian)測到的動作。
將最先(xian)檢測到的動作(zuo)確定(ding)為前置動作(zuo)。
在可選實施(shi)例中,前置動作確定模(mo)塊501,具(ju)體(ti)用于:
獲(huo)取(qu)在用戶(hu)重復輸(shu)入控制指令的過程中的多個動作。
將每(mei)次檢測到(dao)的(de)在用戶輸(shu)(shu)入控(kong)制(zhi)指令(ling)的(de)過(guo)程中(zhong)的(de)各個動作分別(bie)進行比較,獲取每(mei)次檢測到(dao)的(de)在用戶輸(shu)(shu)入控(kong)制(zhi)指令(ling)的(de)過(guo)程中(zhong)的(de)相同動作。
將相(xiang)同動(dong)作中最先(xian)檢測(ce)到的動(dong)作確定(ding)為(wei)前(qian)置動(dong)作。
在可選(xuan)實(shi)施例中(zhong),本(ben)發明實(shi)施例中(zhong)的終端(duan)控制裝(zhuang)置還可以包括:
狀態(tai)(tai)信息(xi)獲取(qu)模(mo)塊(kuai)505,用(yong)于前(qian)置(zhi)動(dong)作確(que)定(ding)模(mo)塊(kuai)501在用(yong)戶(hu)輸入控(kong)制指(zhi)令時 進行的(de)多個動(dong)作中(zhong)確(que)定(ding)前(qian)置(zhi)動(dong)作之前(qian),獲取(qu)用(yong)戶(hu)在輸入控(kong)制指(zhi)令時的(de)狀態(tai)(tai)信息(xi),狀態(tai)(tai)信息(xi)包(bao)括加速度數(shu)據和/或(huo)角度數(shu)據。
特征(zheng)值(zhi)獲(huo)取模塊506,用于對(dui)狀態信(xin)息進行(xing)分析(xi)處理,獲(huo)取至少一個特征(zheng)值(zhi)。
動作獲(huo)取模(mo)塊507,用于將至少一個特征值作為(wei)預設神經網絡算法的輸(shu)入,得(de)到用戶在輸(shu)入所(suo)述控制(zhi)指令(ling)時進行的多個動作。
進(jin)一步可(ke)選的,狀態信息獲取模(mo)塊505,具(ju)體(ti)用于:
接收穿戴設備檢測到的在用(yong)戶(hu)輸入控制指令時的狀態信息。
在可選實施例(li)中,當前動作檢(jian)測模塊502,具體用于:
接收穿戴(dai)設備(bei)檢測(ce)到(dao)的用戶的當前狀態信息;
對(dui)當前狀(zhuang)態信息進行分析處理,獲取用(yong)戶的當前動作。
在可(ke)選實(shi)施例中(zhong)(zhong),本(ben)發明實(shi)施例中(zhong)(zhong)的終端控制(zhi)裝(zhuang)置還(huan)可(ke)以包括:
控(kong)制指令發送模塊508,用于當當前(qian)動(dong)作與前(qian)置動(dong)作匹配時,將(jiang)控(kong)制指令發送給(gei)控(kong)制指令對應的(de)操作終端,以使操作終端執行(xing)控(kong)制指令。
本(ben)發明實(shi)施例中(zhong),前置(zhi)(zhi)動(dong)(dong)(dong)(dong)作(zuo)(zuo)確定模(mo)塊(kuai)501在用(yong)戶(hu)(hu)輸入控(kong)(kong)(kong)制(zhi)指(zhi)令(ling)時進行(xing)的(de)(de)多個動(dong)(dong)(dong)(dong)作(zuo)(zuo)中(zhong)確定前置(zhi)(zhi)動(dong)(dong)(dong)(dong)作(zuo)(zuo),當(dang)前動(dong)(dong)(dong)(dong)作(zuo)(zuo)檢(jian)測(ce)模(mo)塊(kuai)502檢(jian)測(ce)用(yong)戶(hu)(hu)的(de)(de)當(dang)前動(dong)(dong)(dong)(dong)作(zuo)(zuo),比較(jiao)模(mo)塊(kuai)503將當(dang)前動(dong)(dong)(dong)(dong)作(zuo)(zuo)與前置(zhi)(zhi)動(dong)(dong)(dong)(dong)作(zuo)(zuo)進行(xing)比較(jiao),當(dang)當(dang)前動(dong)(dong)(dong)(dong)作(zuo)(zuo)與前置(zhi)(zhi)動(dong)(dong)(dong)(dong)作(zuo)(zuo)匹(pi)配時,控(kong)(kong)(kong)制(zhi)指(zhi)令(ling)執(zhi)行(xing)模(mo)塊(kuai)504執(zhi)行(xing)控(kong)(kong)(kong)制(zhi)指(zhi)令(ling),可簡化(hua)用(yong)戶(hu)(hu)的(de)(de)操(cao)作(zuo)(zuo)步驟,便捷地實(shi)現對終端的(de)(de)控(kong)(kong)(kong)制(zhi)。
本(ben)領(ling)域普(pu)通技術人員可(ke)以理解(jie)實(shi)(shi)現上(shang)述(shu)(shu)實(shi)(shi)施例(li)方(fang)法(fa)中(zhong)的(de)全(quan)部(bu)或(huo)部(bu)分流程(cheng)(cheng),是(shi)可(ke)以通過計算機(ji)程(cheng)(cheng)序來指令相關的(de)硬(ying)件來完成,所述(shu)(shu)的(de)程(cheng)(cheng)序可(ke)存(cun)儲(chu)于(yu)計算機(ji)可(ke)讀取存(cun)儲(chu)介質(zhi)中(zhong),該程(cheng)(cheng)序在執(zhi)行時(shi),可(ke)包(bao)括(kuo)如上(shang)述(shu)(shu)各(ge)方(fang)法(fa)的(de)實(shi)(shi)施例(li)的(de)流程(cheng)(cheng)。其中(zhong),所述(shu)(shu)的(de)存(cun)儲(chu)介質(zhi)可(ke)為磁(ci)碟、光盤(pan)、只讀存(cun)儲(chu)記憶體(ti)(Read-Only Memory,ROM)或(huo)隨機(ji)存(cun)儲(chu)記憶體(ti)(Random Access Memory,RAM)等(deng)。
以(yi)上所(suo)揭(jie)露的(de)僅(jin)為本發明較佳實施例而已,當然(ran)不能以(yi)此來限(xian)定本發明之權(quan)利(li)范(fan)圍,因此依(yi)本發明權(quan)利(li)要求所(suo)作(zuo)的(de)等(deng)同變化,仍屬本發明所(suo)涵蓋(gai)的(de)范(fan)圍。