TWI790198B - Method and device for retrieval based on wearable device - Google Patents

Method and device for retrieval based on wearable device Download PDF

Info

Publication number
TWI790198B
TWI790198B TW106102501A TW106102501A TWI790198B TW I790198 B TWI790198 B TW I790198B TW 106102501 A TW106102501 A TW 106102501A TW 106102501 A TW106102501 A TW 106102501A TW I790198 B TWI790198 B TW I790198B
Authority
TW
Taiwan
Prior art keywords
characters
character
target
interface
cursor
Prior art date
Application number
TW106102501A
Other languages
Chinese (zh)
Other versions
TW201828021A (en
Inventor
劉洋
顧玉婷
Original Assignee
香港商阿里巴巴集團服務有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 香港商阿里巴巴集團服務有限公司 filed Critical 香港商阿里巴巴集團服務有限公司
Priority to TW106102501A priority Critical patent/TWI790198B/en
Publication of TW201828021A publication Critical patent/TW201828021A/en
Application granted granted Critical
Publication of TWI790198B publication Critical patent/TWI790198B/en

Links

Images

Abstract

本發明實施例提供了一種基於可穿戴設備進行檢索的方法和裝置,該方法包括:當接收到檢索請求時,在可穿戴設備的介面中載入一個或多個字元;從所述一個或多個字元中確定被觸發的一個或多個目標字元;在所述介面中顯示與所述一個或多個目標字元匹配的一個或多個資訊。本發明實施例實現了在可穿戴設備中的全文檢索,避免了多次檢索有限數量的資訊,提高了在移動場景中檢索操作的簡便性。 An embodiment of the present invention provides a search method and device based on a wearable device. The method includes: when a search request is received, loading one or more characters into the interface of the wearable device; Determining one or more triggered target characters among the plurality of characters; displaying one or more pieces of information matching the one or more target characters in the interface. The embodiment of the present invention realizes the full-text search in the wearable device, avoids multiple searches of a limited amount of information, and improves the simplicity of the search operation in the mobile scene.

Description

基於可穿戴設備進行檢索的方法和裝置 Method and device for retrieval based on wearable device

本發明涉及可穿戴設備的技術領域,特別是涉及一種基於可穿戴設備進行檢索的方法和一種基於可穿戴設備進行檢索的裝置。 The present invention relates to the technical field of wearable devices, in particular to a wearable device-based retrieval method and a wearable device-based retrieval device.

隨著科技的發展,可穿戴設備也隨之廣泛普及。 With the development of technology, wearable devices are also widely popularized.

可穿戴設備是在手錶內置智慧型系統而實現多種功能,例如,電話、簡訊、郵件、照片、音樂等。 Wearable devices are built-in smart systems in watches to achieve multiple functions, such as phone calls, text messages, emails, photos, music, etc.

在使用這些功能中,使用者往往需要檢索相關的資訊。 In using these functions, users often need to retrieve related information.

但是,為了方便攜帶,可穿戴設備的螢幕一般都比較小,如1.5英寸,在螢幕面積受限的情況下,使得輸入面積較少,在移動場景中檢索資訊比較繁瑣。 However, for the convenience of portability, the screens of wearable devices are generally relatively small, such as 1.5 inches. In the case of limited screen area, the input area is small, and it is cumbersome to retrieve information in mobile scenes.

以檢索連絡人為例,如圖1所示,在某類型的可穿戴設備中,每次可以從手機的通訊中獲取10-12名連絡人,再透過圖形化的介面切換連絡人,由於連絡人的數量有限,需要多次同步操作才可以檢索到所需的連絡人。 Taking contact retrieval as an example, as shown in Figure 1, in a certain type of wearable device, 10-12 contacts can be obtained from the communication of the mobile phone at a time, and then the contacts can be switched through the graphical interface. The number of contacts is limited, and multiple synchronization operations are required to retrieve the desired contacts.

如圖2所示,在某類型的可穿戴設備中,僅限於輸入 數位,用於檢索的資訊數量少,導致某些資訊無法檢索,而且,數位鍵占滿了整個螢幕空間,可閱讀的資訊量有限,增加檢索的難度。 As shown in Figure 2, in a certain type of wearable device, only digits can be entered, and the amount of information used for retrieval is small, resulting in some information not being retrieved. Moreover, the digital keys occupy the entire screen space, and the information that can be read The quantity is limited, which increases the difficulty of searching.

鑒於上述問題,提出了本發明實施例以便提供一種克服上述問題或者至少部分地解決上述問題的一種基於可穿戴設備進行檢索的方法和相應的一種基於可穿戴設備進行檢索的裝置。 In view of the above problems, embodiments of the present invention are proposed to provide a wearable device-based retrieval method and a corresponding wearable device-based retrieval device that overcome the above problems or at least partially solve the above problems.

為了解決上述問題,本發明實施例公開了一種基於可穿戴設備進行檢索的方法,包括:當接收到檢索請求時,在可穿戴設備的介面中載入一個或多個字元;從所述一個或多個字元中確定被觸發的一個或多個目標字元;在所述介面中顯示與所述一個或多個目標字元匹配的一個或多個資訊。 In order to solve the above problems, the embodiment of the present invention discloses a search method based on a wearable device, including: when receiving a search request, loading one or more characters into the interface of the wearable device; Determine one or more target characters that are triggered from among the or more characters; and display one or more pieces of information matching the one or more target characters in the interface.

較佳地,所述從所述一個或多個字元中確定被觸發的一個或多個目標字元的步驟包括:當檢測到觸控事件時,計算所述觸控事件的發生位置;確定位於所述發生位置的字元為目標字元。 Preferably, the step of determining one or more triggered target characters from the one or more characters includes: when a touch event is detected, calculating the occurrence position of the touch event; determining The character at the occurrence position is the target character.

較佳地,所述從所述一個或多個字元中確定被觸發的一個或多個目標字元的步驟包括: 當檢測到可穿戴設備的實體鍵滾動時,在所述一個或多個字元中某個字元載入一游標焦點;當可穿戴設備的實體鍵滾動的角度超過預設的角度閾值時,將所述游標角度移動至下一個字元;基於所述游標焦點確定一個或多個目標字元。 Preferably, the step of determining the triggered one or more target characters from the one or more characters includes: A certain character in the characters is loaded with a cursor focus; when the angle of the physical key scrolling of the wearable device exceeds the preset angle threshold, the cursor angle is moved to the next character; a cursor focus is determined based on the cursor focus or multiple target characters.

較佳地,所述基於所述游標焦點確定一個或多個目標字元的步驟包括:確定位於所述游標焦點處的字元為目標字元。 Preferably, the step of determining one or more target characters based on the cursor focus includes: determining the character at the cursor focus as the target character.

較佳地,所述一個或多個字元按級載入;所述基於所述游標焦點確定一個或多個目標字元的步驟包括:當檢測到可穿戴設備的實體鍵被按壓時,判斷位於所述游標焦點處的字元是否為下一級的入口對象;若是,則在所述介面載入下一級的一個或多個字元,將所述游標焦點移動至下一級的某個字元中;若否,則輸入位於所述游標焦點處的字元;確定輸入的多個字元為多個目標字元。 Preferably, the one or more characters are loaded in stages; the step of determining one or more target characters based on the cursor focus includes: when it is detected that the physical key of the wearable device is pressed, judging Whether the character at the focus of the cursor is an entry object of the next level; if so, load one or more characters of the next level in the interface, and move the focus of the cursor to a certain character of the next level If not, then input the character at the focus of the cursor; determine that the input characters are a plurality of target characters.

較佳地,所述基於所述游標焦點確定一個或多個目標字元的步驟還包括:當輸入字元完成時,取消載入當前級的一個或多個字元,將所述游標焦點移動至上一級的某個字元中。 Preferably, the step of determining one or more target characters based on the cursor focus further includes: when the input character is completed, cancel loading one or more characters of the current level, and move the cursor focus to to a character one level above.

較佳地,所述在所述介面中顯示與所述一個或多個目標字元匹配的一個或多個資訊的步驟包括:當觸發一個目標字元時,在所述介面中顯示以所述一 個目標字元為首字元的一個或多個資訊;當觸發多個目標字元時,在所述介面中顯示與所述多個目標字元匹配的一個或多個資訊。 Preferably, the step of displaying one or more pieces of information matching the one or more target characters in the interface includes: when a target character is triggered, displaying in the interface with the One or more pieces of information whose first character is a target character; when multiple target characters are triggered, one or more pieces of information matching the multiple target characters are displayed in the interface.

較佳地,還包括:載入一彈出介面;在所述彈出介面中顯示放大後的目標字元。 Preferably, it also includes: loading a pop-up interface; displaying the enlarged target character in the pop-up interface.

本發明實施例還公開了一種基於可穿戴設備進行檢索的裝置,包括:字元載入模組,用於在接收到檢索請求時,在可穿戴設備的介面中載入一個或多個字元;目標字元確定模組,用於從所述一個或多個字元中確定被觸發的一個或多個目標字元;資訊顯示模組,用於在所述介面中顯示與所述一個或多個目標字元匹配的一個或多個資訊。 The embodiment of the present invention also discloses a device for searching based on a wearable device, including: a character loading module, used to load one or more characters into the interface of the wearable device when receiving a search request ; The target character determination module is used to determine one or more target characters that are triggered from the one or more characters; the information display module is used to display in the interface and the one or more One or more information matched by multiple target characters.

較佳地,所述目標字元確定模組包括:發生位置計算子模組,用於在檢測到觸控事件時,計算所述觸控事件的發生位置;第一確定子模組,用於確定位於所述發生位置的字元為目標字元。 Preferably, the target character determination module includes: an occurrence location calculation submodule, used to calculate the occurrence location of the touch event when a touch event is detected; a first determination submodule, used to The character at the occurrence position is determined as the target character.

較佳地,所述目標字元確定模組包括:游標焦點載入子模組,用於在檢測到可穿戴設備的實體鍵滾動時,在所述一個或多個字元中某個字元載入一游標焦點;第一游標焦點移動子模組,用於在可穿戴設備的實體 鍵滾動的角度超過預設的角度閾值時,將所述游標角度移動至下一個字元;第二確定子模組,用於基於所述游標焦點確定一個或多個目標字元。 Preferably, the target character determination module includes: a cursor focus loading sub-module, which is used to select a certain character among the one or more characters when the physical key of the wearable device is detected to be scrolled. Load a cursor focus; the first cursor focus movement sub-module is used to move the cursor angle to the next character when the rolling angle of the physical key of the wearable device exceeds the preset angle threshold; the second determination A submodule for determining one or more target characters based on the cursor focus.

較佳地,所述第二確定子模組包括:第一字元確定單元,用於確定位於所述游標焦點處的字元為目標字元。 Preferably, the second determination sub-module includes: a first character determination unit, configured to determine the character at the focus of the cursor as the target character.

較佳地,所述一個或多個字元按級載入;所述第二確定子模組包括:入口對象判斷單元,用於在檢測到可穿戴設備的實體鍵被按壓時,判斷位於所述游標焦點處的字元是否為下一級的入口對象;若是,則調用下級字元載入單元,若否,則調用輸入單元;下級字元載入單元,用於在所述介面載入下一級的一個或多個字元;第二游標焦點移動單元,用於將所述游標焦點移動至下一級的某個字元中;輸入單元,用於輸入位於所述游標焦點處的字元;第二字元確定單元,用於確定輸入的多個字元為多個目標字元。 Preferably, the one or more characters are loaded in stages; the second determination sub-module includes: an entry object judging unit, used to judge whether a physical key located in the wearable device is pressed when it is detected that the physical key is pressed. Whether the character at the focus of the cursor is the next-level entry object; if so, call the lower-level character loading unit, if not, then call the input unit; the lower-level character loading unit is used to load the next level in the interface One or more characters at one level; a second cursor focus moving unit, used to move the cursor focus to a certain character at the next level; an input unit, used to input the character at the cursor focus; The second character determining unit is used to determine that the input characters are a plurality of target characters.

較佳地,所述第二確定子模組還包括:第三游標焦點移動單元,用於在輸入字元完成時,取消載入當前級的一個或多個字元,將所述游標焦點移動至上一級的某個字元中。 Preferably, the second determination sub-module further includes: a third cursor focus moving unit, configured to cancel the loading of one or more characters at the current level and move the cursor focus to to a character one level above.

較佳地,所述資訊顯示模組包括:第一顯示子模組,用於在觸發一個目標字元時,在所述介面中顯示以所述一個目標字元為首字元的一個或多個資訊;第二顯示子模組,用於在觸發多個目標字元時,在所述介面中顯示與所述多個目標字元匹配的一個或多個資訊。 Preferably, the information display module includes: a first display sub-module, configured to display one or more information with the target character as the first character in the interface when a target character is triggered. Information; the second display sub-module is used for displaying one or more pieces of information matching the multiple target characters in the interface when the multiple target characters are triggered.

較佳地,還包括:彈出介面載入模組,用於載入一彈出介面;目標字元顯示模組,用於在所述彈出介面中顯示放大後的目標字元。 Preferably, it also includes: a pop-up interface loading module, used to load a pop-up interface; a target character display module, used to display the enlarged target character in the pop-up interface.

本發明實施例包括以下優點:本發明實施例在檢索時,載入字元,透過觸發字元顯示匹配的資訊,實現了在可穿戴設備中的全文檢索,避免了多次檢索有限數量的資訊,提高了在移動場景中檢索操作的簡便性。 The embodiment of the present invention has the following advantages: when searching, the embodiment of the present invention loads characters and displays matching information by triggering characters, thereby realizing full-text search in wearable devices and avoiding multiple searches of a limited amount of information , improving the ease of retrieval operations in mobile scenarios.

本發明實施例透過實體鍵切換游標焦點選擇字元,由於實體鍵可以保持選擇的精確度,因此,可以將字元設計得較小,保留足夠的空間顯示資訊,增加可閱讀資訊的數量,增加了檢索的簡便性。 The embodiment of the present invention switches the cursor focus to select characters through the physical keys. Because the physical keys can maintain the accuracy of the selection, the characters can be designed to be smaller, leaving enough space to display information, increasing the amount of readable information, and increasing the number of characters. ease of retrieval.

201-203‧‧‧步驟 201-203‧‧‧Steps

401-404‧‧‧步驟 401-404‧‧‧Steps

601-605‧‧‧步驟 601-605‧‧‧Steps

801-811‧‧‧步驟 801-811‧‧‧Steps

1001‧‧‧字元載入模組 1001‧‧‧Character loading module

1002‧‧‧目標字元確定模組 1002‧‧‧target character determination module

1003‧‧‧資訊顯示模組 1003‧‧‧Information display module

圖1A和圖1B是現有的一種智慧型手錶的資訊檢索示例圖; 圖2是本發明的一種基於可穿戴設備進行檢索的方法實施例1的步驟流程圖;圖3是本發明的一種在智慧手錶載入字元的示例圖;圖4是本發明的一種基於可穿戴設備進行檢索的方法實施例2的步驟流程圖;圖5A-圖5C是本發明的一種在智慧手錶中基於觸控進行資訊檢索的示例圖;圖6是本發明的一種基於可穿戴設備進行檢索的方法實施例3的步驟流程圖;圖7A-圖7C是本發明的一種在智慧手錶中基於把頭進行資訊檢索的示例圖;圖8是本發明的一種基於可穿戴設備進行檢索的方法實施例4的步驟流程圖;圖9A-圖9F是本發明的一種在智慧手錶中基於把頭進行輸入的示例圖;圖10是本發明的一種基於可穿戴設備進行檢索的裝置實施例的結構方塊圖。 Figure 1A and Figure 1B are an example diagram of information retrieval of an existing smart watch; Figure 2 is a flow chart of the steps of Embodiment 1 of a search method based on a wearable device of the present invention; Figure 3 is a smart watch of the present invention An example diagram of a watch loading characters; FIG. 4 is a flow chart of the steps of Embodiment 2 of a search method based on a wearable device of the present invention; An example diagram of information retrieval; Figure 6 is a flow chart of the steps of Embodiment 3 of a search method based on a wearable device of the present invention; Figures 7A-7C are an example of information retrieval based on the head in a smart watch of the present invention Figure; Figure 8 is a flow chart of the steps of Embodiment 4 of a search method based on a wearable device of the present invention; Figure 9A-9F is an example diagram of input based on the head in a smart watch of the present invention; Figure 10 is A structural block diagram of an embodiment of a device for searching based on a wearable device in the present invention.

為使本發明的上述目的、特徵和優點能夠更加明顯易懂,下面結合圖式和具體實施方式對本發明作進一步詳細的說明。 In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the drawings and specific embodiments.

參照圖2,示出了本發明的一種基於可穿戴設備進行檢索的方法實施例1的步驟流程圖,具體可以包括如下步 驟:步驟201,當接收到檢索請求時,在可穿戴設備的介面中載入一個或多個字元;在本發明實施例中,可穿戴設備包括智慧型手錶、智慧型手環、智慧型眼鏡等等,可以內置智慧型系統,如Android Wear,Watch OS等等,實現多種功能,例如,電話、簡訊、郵件、照片、音樂、地圖等。 Referring to Fig. 2, it shows a flow chart of the steps of Embodiment 1 of a method for searching based on a wearable device of the present invention, which may specifically include the following steps: Step 201, when a search request is received, in the interface of the wearable device Load one or more characters; in the embodiment of the present invention, wearable devices include smart watches, smart bracelets, smart glasses, etc., and can have built-in smart systems, such as Android Wear, Watch OS, etc., Realize multiple functions, such as phone calls, text messages, emails, photos, music, maps, etc.

在使用這些功能中,使用者經常需要進行資訊的檢索。 In using these functions, users often need to retrieve information.

例如,在電話、簡訊等功能中檢索連絡人資訊(如連絡人名字、連絡人電話等),在郵件中檢索郵件資訊(如標題、內容等),在照片中檢索照片資訊(如照片名字、照片拍攝時間等),在音樂中檢索音樂資訊(如歌手、專輯、歌曲名字等),在地圖中檢索地區資訊(如北京、杭州、廣州等),等等。 For example, retrieve contact information (such as contact name, contact phone number, etc.) in functions such as phone calls and text messages, retrieve email information (such as title, content, etc.) photo shooting time, etc.), search music information (such as singer, album, song name, etc.) in music, search region information (such as Beijing, Hangzhou, Guangzhou, etc.) in maps, and so on.

若接收到檢索請求,則可以在介面中載入一個或多個字元,該字元可以包括英文字元、中文字元(如拼音字元、筆劃字元、五筆字元等)、數位字元、符號等等。 If a search request is received, one or more characters can be loaded in the interface, which can include English characters, Chinese characters (such as pinyin characters, stroke characters, Wubi characters, etc.), digital characters elements, symbols, etc.

如圖3所示,在可穿戴設備的介面的四周,將字元“A”-“Z”和“#”按照順序排列成一圈,其中,字元“A”-“Z”可以表示英文字元和中文拼音字元,“#”可以表示數位字元和符號。 As shown in Figure 3, around the interface of the wearable device, the characters "A"-"Z" and "#" are arranged in a circle in order, where the characters "A"-"Z" can represent English characters Yuan and Chinese pinyin characters, "#" can represent numeric characters and symbols.

步驟202,從所述一個或多個字元中確定被觸發的一個或多個目標字元; 在本發明實施例中,用戶可以透過點擊、旋轉可穿戴設備的實體鍵等方式觸發目標字元。 Step 202, determine one or more target characters to be triggered from the one or more characters; In the embodiment of the present invention, the user can trigger the target character by clicking, rotating the physical key of the wearable device, etc. .

步驟203,在所述介面中顯示與所述一個或多個目標字元匹配的一個或多個資訊。 Step 203, displaying one or more pieces of information matching the one or more target characters in the interface.

若確定被觸發的目標字元,則可以在相應的應用中,如電話、簡訊、郵件、照片、音樂、地圖等,查找與該目標字元匹配的資訊。 If the triggered target character is determined, information matching the target character can be found in corresponding applications, such as phone calls, short messages, emails, photos, music, maps, and the like.

需要說明的是,環形的字元並非占滿全螢幕,占螢幕面積小,不干擾主畫面空間,保證單個字母觸碰面積合理,在螢幕中,保留有較多的區域顯示查找到的資訊。 It should be noted that the circular characters do not occupy the entire screen, but occupy a small area of the screen, do not interfere with the space of the main screen, and ensure that the touch area of a single letter is reasonable. On the screen, more areas are reserved to display the found information.

本發明實施例在檢索時,載入字元,透過觸發字元顯示匹配的資訊,實現了在可穿戴設備中的全文檢索,避免了多次檢索有限數量的資訊,提高了在移動場景中檢索操作的簡便性。 In the embodiment of the present invention, characters are loaded during retrieval, and matching information is displayed by triggering characters, thereby realizing full-text retrieval in wearable devices, avoiding multiple retrievals of a limited amount of information, and improving retrieval in mobile scenarios. Ease of operation.

參照圖4,示出了本發明的一種基於可穿戴設備進行檢索的方法實施例2的步驟流程圖,具體可以包括如下步驟:步驟401,當接收到檢索請求時,在可穿戴設備的介面中載入一個或多個字元;步驟402,當檢測到觸控事件時,計算所述觸控事件的發生位置;步驟403,確定位於所述發生位置的字元為目標字元;在本發明實施例中,使用者可以透過觸控選擇目標字 元。 Referring to FIG. 4 , it shows a flow chart of the steps of Embodiment 2 of a search method based on a wearable device of the present invention, which may specifically include the following steps: Step 401, when a search request is received, in the interface of the wearable device Load one or more characters; step 402, when a touch event is detected, calculate the occurrence position of the touch event; step 403, determine that the character located at the occurrence position is the target character; in the present invention In the embodiment, the user can select the target character through touch.

以在智慧手錶中檢索連絡人資訊為例,如圖5A所示,使用者打開可穿戴設備,如智慧手錶,可以在螢幕四周環形圍繞“A”-“Z”和“#”,並給這些字元的區域添加觸控事件(Touch)的偵測。 Take the retrieval of contact information in a smart watch as an example, as shown in Figure 5A, the user turns on the wearable device, such as a smart watch, and can circle "A"-"Z" and "#" around the screen, and give these Add touch event (Touch) detection to the character area.

其中,字元“A”-“Z”可以表示英文字元和拼音字元,和“#”可以表示數位字元和符號。 Wherein, characters "A"-"Z" can represent English characters and pinyin characters, and "#" can represent numeric characters and symbols.

在螢幕中間顯示連絡人資訊,其中,亮起的區域表示內容可選,置灰的區域表示內容不可選。 The contact information is displayed in the middle of the screen, where the lit area indicates that the content is optional, and the gray area indicates that the content is not optional.

如圖5B所示,用戶可以在所需的字元上點擊,觸發觸控事件,確定該觸控事件對應的字元為目標字元。 As shown in FIG. 5B , the user can click on a desired character to trigger a touch event, and determine the character corresponding to the touch event as the target character.

為了提示選擇的字元,可以載入一彈出介面,在該彈出介面中顯示放大後的目標字元,生成字元的選中效果。 In order to prompt the selected character, a pop-up interface can be loaded, and the enlarged target character is displayed in the pop-up interface to generate a character selection effect.

例如,如圖5B所示,若使用者點擊了字元“K”,則可以在字元“K”旁邊載入彈出介面,在該彈出介面中顯示放大後的“K”。 For example, as shown in FIG. 5B , if the user clicks the character "K", a pop-up interface may be loaded next to the character "K", and the enlarged "K" is displayed in the pop-up interface.

步驟404,當觸發一個目標字元時,在所述介面中顯示以所述一個目標字元為首字元的一個或多個資訊。 Step 404, when a target character is triggered, display one or more pieces of information starting with the target character in the interface.

若使用者點擊某個字元,則可以在應用中查找以該字元為首字元(如首個英文、首個拼音字母等)的資訊,顯示在介面中。 If the user clicks on a certain character, he can search for information starting with this character (such as the first English letter, the first pinyin letter, etc.) in the application, and display it in the interface.

如圖5C所示,若使用者點擊了字元“K”,則可以在介面中間的連絡人可以滾動定位到“K”為首字母代表的位置,使用者在定位的附近找到所需的連絡人,如“凱 凱”,並點擊選中。 As shown in Figure 5C, if the user clicks on the character "K", the contact in the middle of the interface can be scrolled to the position represented by the initial letter "K", and the user can find the desired contact near the location , such as "Kaikai", and click to select it.

需要說明的是,由於某些資訊在智慧設備中不存在,對於這些資訊,可以在接收到檢索請求時,向移動設備獲取全部的資訊,便於進行顯示與檢索,或者,在接收到檢索請求時,向移動設備獲取部分的資訊進行顯示,在確定目標字元之後,再向移動設備載入該目標字元對應的資訊,本發明實施例對此不加以限制。 It should be noted that, since some information does not exist in the smart device, for this information, when receiving the retrieval request, all the information can be obtained from the mobile device for easy display and retrieval, or, when the retrieval request is received , to obtain part of the information on the mobile device for display, and after determining the target character, then load the information corresponding to the target character to the mobile device, which is not limited in this embodiment of the present invention.

以IOS系統的移動設備與watch OS系統的可穿戴設備為例,移動設備與可穿戴設備可以透過藍牙連接。 Taking the mobile device of the IOS system and the wearable device of the watch OS system as an example, the mobile device and the wearable device can be connected through Bluetooth.

當接收到聯繫的檢索請求時,可以透過移動設備提供的ABAddressBook介面獲取全部的連絡人。 When receiving a contact retrieval request, all contacts can be obtained through the ABAddressBook interface provided by the mobile device.

當接收到聯繫的檢索請求時,也可以透過移動設備提供的ABAddressBook介面獲取首字元(如首個英文、首個拼音字母等)為A、B的連絡人進行顯示。 When receiving a search request for a contact, the contact person whose initial character (such as the first English letter, the first pinyin letter, etc.) is A and B can also be obtained through the ABAddressBook interface provided by the mobile device for display.

若使用者點擊了字元“K”,則可以透過移動設備提供的ABAddressBook介面獲取首字元(如首個英文、首個拼音字母等)為K的連絡人進行顯示。 If the user clicks on the character "K", contacts whose first character (such as the first English letter, first pinyin letter, etc.) is K can be obtained through the ABAddressBook interface provided by the mobile device for display.

參照圖6,示出了本發明的一種基於可穿戴設備進行檢索的方法實施例3的步驟流程圖,具體可以包括如下步驟:步驟601,當接收到檢索請求時,在可穿戴設備的介面中載入一個或多個字元;步驟602,當檢測到可穿戴設備的實體鍵滾動時,在所述一個或多個字元中某個字元載入一游標焦點; 步驟603,當可穿戴設備的實體鍵滾動的角度超過預設的角度閾值時,將所述游標角度移動至下一個字元;在本發明實施例中,可穿戴設備可以配置實體鍵,該實體鍵為實體硬體,可以為可旋轉的滾輪、可滑動的滑塊或可進行觸控操作的硬體等等,可實現滾動(如旋轉、滑動、滾動式的觸控操作等)的檢測即可,使得使用者可以透過滾動該實體鍵選擇目標字元,本發明實施例對此不加以限制。 Referring to Fig. 6, it shows a flow chart of the steps of Embodiment 3 of a search method based on a wearable device of the present invention, which may specifically include the following steps: Step 601, when a search request is received, in the interface of the wearable device Load one or more characters; step 602, when detecting that the physical key of the wearable device scrolls, load a cursor focus on a character in the one or more characters; step 603, when the wearable device When the rolling angle of the physical key of the device exceeds the preset angle threshold, move the cursor angle to the next character; in the embodiment of the present invention, the wearable device can be configured with a physical key, which is physical hardware, It can be a rotatable scroll wheel, a slidable slider, or hardware capable of touch operations, etc., which can realize the detection of scrolling (such as rotation, sliding, scrolling touch operations, etc.), so that users can The target character is selected by scrolling the physical key, which is not limited in the embodiment of the present invention.

對於載入的字元,可以針對這些字元的區域添加實體鍵的滾動事件的偵測,若實體鍵滾動超過角度閾值,則會產生一個滾動事件,在偵測到滾動事件後,可以在某個字元中載入游標焦點,該游標焦點所在的字元為選中的字元。 For the loaded characters, you can add the detection of the scrolling event of the physical key to the area of these characters. If the scrolling of the physical key exceeds the angle threshold, a scrolling event will be generated. After the scrolling event is detected, you can The cursor focus is loaded into characters, and the character where the cursor focus is located is the selected character.

在初始時,該游標焦點可以預設顯示在某個指定的字元上,也可以隨機顯示在某個字元上,本發明實施例對此不加以限制。 Initially, the cursor focus may be displayed on a specified character by default, or may be randomly displayed on a certain character, which is not limited in this embodiment of the present invention.

在智慧手錶中,該實體鍵可以為把頭,在不同的場景中,旋轉該把頭,可以實現移動網頁、會話視窗、應用圖示等操作,按下該把頭,可以實現啟動應用圖示對應的應用、確定功能等操作。 In a smart watch, the physical key can be a handle. In different scenarios, rotating the handle can realize operations such as moving web pages, conversation windows, and application icons, and pressing the handle can realize launching the application corresponding to the application icon. , confirm function and other operations.

以在智慧手錶中檢索連絡人資訊為例,如圖7A所示,使用者打開可穿戴設備,如智慧手錶,可以在螢幕四周環形圍繞“A”-“Z”和“#”,並給這些字元的區域添加把頭的旋轉事件的偵測。 Take the search for contact information in a smart watch as an example, as shown in Figure 7A, the user turns on the wearable device, such as a smart watch, and can circle "A"-"Z" and "#" around the screen, and give these The character field adds detection of head rotation events.

如圖7A所示,用戶可以上下滾動智慧手錶的把頭,若把頭每旋轉超過一定的角度,偵測到把頭的選擇事件,則可以游標焦點可以伴隨把頭滾動一個字元,環形區域的字元按照游標焦點的滾動方向順時針或逆時針選中。 As shown in Figure 7A, the user can scroll the crown of the smart watch up and down. If the crown selection event is detected every time the crown rotates beyond a certain angle, the focus of the cursor can be scrolled by one character, and the characters in the ring area follow the The scrolling direction of the cursor focus is selected clockwise or counterclockwise.

例如,若智慧手錶的把頭沿智慧手錶外的箭頭方向向下滾動,則游標焦點可以沿智慧手錶內的箭頭方向在環形區域的字元內移動。 For example, if the crown of the smart watch is rolled down along the direction of the arrow outside the smart watch, the focus of the cursor can move within the characters in the circular area along the direction of the arrow inside the smart watch.

步驟604,基於所述游標焦點確定一個或多個目標字元;在本發明實施例中,可以確定位於游標焦點處的字元為目標字元。 Step 604, determine one or more target characters based on the cursor focus; in the embodiment of the present invention, the character at the cursor focus may be determined as the target character.

若相應位置的字元被選中/啟動,使用者停止滾動實體鍵,介面內容停留在相應位置。 If the character at the corresponding position is selected/activated, the user stops scrolling the physical key, and the interface content stays at the corresponding position.

為了提示選擇的字元,可以載入一彈出介面,在彈出介面中顯示放大後的目標字元,生成字元的選中效果。 In order to prompt the selected character, a pop-up interface can be loaded, and the enlarged target character is displayed in the pop-up interface to generate a selected character effect.

例如,如圖7B所示,若游標焦點位於字元“K”處,則可以在字元“K”旁邊載入彈出介面,在該彈出介面中顯示放大後的“K”。 For example, as shown in FIG. 7B , if the cursor focus is at the character "K", a pop-up interface may be loaded next to the character "K", and the enlarged "K" is displayed in the pop-up interface.

進一步地,字元的選中效果可以在實體鍵停止滾動一定時間(如500ms)後消失。 Further, the selection effect of the character may disappear after a certain period of time (such as 500ms) after the entity key stops scrolling.

步驟605,當觸發一個目標字元時,在所述介面中顯示以所述一個目標字元為首字元的一個或多個資訊。 Step 605, when a target character is triggered, display one or more pieces of information starting with the target character in the interface.

每當游標焦點移動,查找到的資訊也隨之發生變化,介面中的內容相應變化。 Whenever the cursor focus moves, the found information also changes accordingly, and the content in the interface changes accordingly.

如圖7C所示,若游標焦點位於字元“K”處,則在介面中間的連絡人可以滾動定位到“K”為首字母代表的位置,使用者在定位的附近找到所需的連絡人,如“凱凱”,並點擊選中。 As shown in Figure 7C, if the cursor focus is on the character "K", the contact in the middle of the interface can be scrolled to the position represented by the initial letter "K", and the user can find the desired contact near the location. Such as "Kaikai", and click to select.

參照圖8,示出了本發明的一種基於可穿戴設備進行檢索的方法實施例4的步驟流程圖,具體可以包括如下步驟:步驟801,當接收到檢索請求時,在可穿戴設備的介面中載入一個或多個字元;步驟802,當檢測到可穿戴設備的實體鍵滾動時,在所述一個或多個字元中某個字元載入一游標焦點;步驟803,當可穿戴設備的實體鍵滾動的角度超過預設的角度閾值時,將所述游標角度移動至下一個字元;在本發明實施例中,可穿戴設備可以配置實體鍵,如智慧手錶中的把頭,使用者可以透過旋轉該實體鍵選擇目標字元。 Referring to FIG. 8 , it shows a flow chart of the steps of Embodiment 4 of a search method based on a wearable device of the present invention, which may specifically include the following steps: Step 801, when a search request is received, in the interface of the wearable device Load one or more characters; Step 802, when detecting that the physical key of the wearable device scrolls, load a cursor focus on a certain character in the one or more characters; Step 803, when the wearable device When the rolling angle of the physical key of the device exceeds the preset angle threshold, move the cursor angle to the next character; in the embodiment of the present invention, the wearable device can be configured with physical keys, such as the handle in a smart watch, using The user can select the target character by rotating the physical key.

以在智慧手錶中檢索連絡人資訊為例,如圖9A所示,使用者打開可穿戴設備,如智慧手錶,可以在螢幕四周環形圍繞“A”-“Z”和“#”,並給這些字元的區域添加實體鍵的旋轉偵測。 Take the retrieval of contact information in a smart watch as an example, as shown in Figure 9A, the user turns on the wearable device, such as a smart watch, and surrounds "A"-"Z" and "#" around the screen, and gives these Added rotation detection for physical keys to the character field.

如圖9A所示,用戶可以上下滾動智慧手錶的把頭,若把頭每旋轉超過一定的角度,則游標焦點可以伴隨表頭滾動一個字元,環形區域的字元按照游標焦點的滾動方向順時針或逆時針選中。 As shown in Figure 9A, the user can scroll the crown of the smart watch up and down. If the crown rotates beyond a certain angle, the focus of the cursor can scroll one character along with the crown, and the characters in the circular area can be clockwise or Select counterclockwise.

例如,若智慧手錶的把頭沿智慧手錶外的箭頭方向向下滾動,則游標焦點可以沿智慧手錶內的箭頭方向在環形區域的字元內移動。 For example, if the crown of the smart watch is rolled down along the direction of the arrow outside the smart watch, the focus of the cursor can move within the characters in the circular area along the direction of the arrow inside the smart watch.

為了提示選擇的字元,可以載入一彈出介面,在彈出介面中顯示放大後的目標字元,生成字元的選中效果。 In order to prompt the selected character, a pop-up interface can be loaded, and the enlarged target character is displayed in the pop-up interface to generate a selected character effect.

例如,如圖9A所示,若游標焦點位於字元“A”處,則可以在字元“A”旁邊載入彈出介面,在該彈出介面中顯示放大後的“A”。 For example, as shown in FIG. 9A , if the cursor focus is at the character "A", a pop-up interface may be loaded next to the character "A", and the enlarged "A" is displayed in the pop-up interface.

進一步地,字元的選中效果可以在實體鍵停止滾動一定時間(如500ms)後消失。 Further, the selection effect of the character may disappear after a certain period of time (such as 500ms) after the entity key stops scrolling.

步驟804,當檢測到可穿戴設備的實體鍵被按壓時,判斷位於所述游標焦點處的字元是否為下一級的入口對象;若是,則執行步驟805,若否,則執行步驟807;在本發明實施例中,由於介面的區域有限,因此,一個或多個字元可以按級載入,優先載入部分字元,隱藏部分字元。 Step 804, when it is detected that the physical key of the wearable device is pressed, judge whether the character at the focus of the cursor is an entry object of the next level; if so, execute step 805, if not, execute step 807; In the embodiment of the present invention, since the area of the interface is limited, one or more characters can be loaded in stages, some characters are loaded preferentially, and some characters are hidden.

例如,表示英文字元和拼音字母的字元A-Z為第一級字元,優先載入,表示符號、數位的字元為第二級字元,隱藏起來。 For example, the characters A-Z representing English characters and pinyin letters are the first-level characters, which are loaded with priority, and the characters representing symbols and digits are the second-level characters, which are hidden.

為了進入下一級的字元,則可以在上一級的字元中設置一個特殊的字元,作為入口對象,若該入口對象被選中,則可以載入下一級的字元。 In order to enter the characters of the next level, a special character can be set in the characters of the upper level as an entry object. If the entry object is selected, the characters of the next level can be loaded.

對於游標焦點所在的字元,使用者可以透過按壓(press down)可穿戴設備的實體鍵確認選擇。 For the character where the cursor is focused, the user can confirm the selection by pressing (press down) the physical key of the wearable device.

對於載入的字元,可以針對這些字元的區域添加實體鍵的按壓事件的偵測,若實體鍵被按壓,則會產生一個按壓事件,在偵測到按壓事件後,可以判斷位於所述游標焦點處的字元是否為下一級的入口對象。 For the loaded characters, the detection of the pressing event of the physical key can be added to the area of these characters. If the physical key is pressed, a pressing event will be generated. After the pressing event is detected, it can be judged that the Whether the character at the cursor focus is the entry object of the next level.

例如,如圖9B、圖9D和圖9E所示,用戶可以沿箭頭方向按壓智慧手錶的把頭,觸發游標焦點所處的字元。 For example, as shown in FIG. 9B , FIG. 9D and FIG. 9E , the user can press the handle of the smart watch in the direction of the arrow to trigger the character where the focus of the cursor is located.

步驟805,在所述介面載入下一級的一個或多個字元;步驟806,將所述游標焦點移動至下一級的某個字元中;若下一級的入口對象被選中,則可以在介面中載入下一級的字元,使用者仍可以透過旋轉智慧穿戴設備的實體鍵將游標焦點在下一級的字元中移動。 Step 805, load one or more characters of the next level in the interface; Step 806, move the cursor focus to a certain character of the next level; if the entry object of the next level is selected, you can Load the next-level characters in the interface, and the user can still move the cursor focus to the next-level characters by rotating the physical key of the smart wearable device.

例如,如圖9C所示,對於無法在介面完全展開的符號、數位等輸入項,可以將其收起隱藏,沿箭頭方向按壓智慧手錶的把頭,選擇觸發入口對象,即字元“#”,進入第二級字元。 For example, as shown in Figure 9C, for input items such as symbols and digits that cannot be fully expanded in the interface, you can hide them, press the handle of the smart watch in the direction of the arrow, and select the trigger entry object, that is, the character "#", Enter the second level of characters.

如圖9D所示,介面彈出隱藏的環形字元,載入符號、數位等字元,使用者仍然可以沿箭頭方向向下滾動智慧手錶的把頭,沿箭頭方向在第二級字元中切換游標焦點。 As shown in Figure 9D, the interface pops up a hidden circular character to load characters such as symbols and digits. The user can still scroll down the handle of the smart watch in the direction of the arrow, and switch the cursor in the second-level characters in the direction of the arrow. focus.

步驟807,輸入位於所述游標焦點處的字元;若游標焦點所處的字元非入口對象,則可以輸入該游標焦點處的字元。 Step 807, input the character at the focus of the cursor; if the character at the focus of the cursor is not an entry object, then the character at the focus of the cursor can be input.

例如,如圖9B所示,若用戶按壓智慧手錶的把頭時,游標焦點位於第一級的字元“Y”處,則如圖9C所示,可以在文本輸入區中輸入字元“y”。 For example, as shown in Figure 9B, if the user presses the handle of the smart watch, the focus of the cursor is at the character "Y" at the first level, as shown in Figure 9C, the character "y" can be input in the text input area .

又例如,如圖9E所示,若用戶按壓智慧手錶的把頭時,游標焦點位於第二級的字元“!”處,則如圖9F所示,可以在文本輸入區中輸入字元“!”。 For another example, as shown in FIG. 9E , if the user presses the handle of the smart watch, the focus of the cursor is at the character “!” at the second level, as shown in FIG. 9F , the character “! ".

步驟808,當輸入字元完成時,取消載入當前級的一個或多個字元;步驟809,將所述游標焦點移動至上一級的某個字元中;若輸入的字元為二級或二級以下的字元,在輸入完成時,可以取消當前級的字元,返回上一級的字元。 Step 808, when the character input is completed, cancel loading one or more characters of the current level; Step 809, move the cursor focus to a certain character of the upper level; For characters below the second level, when the input is completed, the current level characters can be canceled and the upper level characters can be returned.

例如,如圖9F所示,若輸入字元“!”完成,則可以取消二級字元的顯示,返回一級字元。 For example, as shown in FIG. 9F, if the input character "!" is completed, the display of the second-level characters can be canceled and the first-level characters can be returned.

步驟810,確定輸入的多個字元為多個目標字元;對於輸入的字元,可以確認為目標字元。 In step 810, it is determined that the input characters are a plurality of target characters; the input characters can be confirmed as target characters.

步驟811,當觸發多個目標字元時,在所述介面中顯示與所述多個目標字元匹配的一個或多個資訊。 Step 811, when multiple target characters are triggered, display one or more pieces of information matching the multiple target characters in the interface.

對於輸入的結果,可以進行資訊的檢索,如連絡人資訊、郵件資訊、照片資訊、音樂資訊、地區資訊等等。 For the input results, information retrieval can be performed, such as contact person information, email information, photo information, music information, region information and so on.

本發明實施例透過實體鍵切換游標焦點選擇字元,由於實體鍵可以保持選擇的精確度,因此,可以將字元設計得較小,保留足夠的空間顯示資訊,增加可閱讀資訊的數量,增加了檢索的簡便性。 The embodiment of the present invention switches the cursor focus to select characters through the physical keys. Because the physical keys can maintain the accuracy of the selection, the characters can be designed to be smaller, leaving enough space to display information, increasing the amount of readable information, and increasing the number of characters. ease of retrieval.

需要說明的是,對於方法實施例,為了簡單描述,故將其都表述為一系列的動作組合,但是本領域技術人員應該知悉,本發明實施例並不受所描述的動作順序的限制,因為依據本發明實施例,某些步驟可以採用其他順序或者同時進行。其次,本領域技術人員也應該知悉,說明書中所描述的實施例均屬於較佳實施例,所涉及的動作並不一定是本發明實施例所必須的。 It should be noted that, for the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the present invention is not limited by the described action sequence, because According to the embodiment of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

參照圖10,示出了本發明的一種基於可穿戴設備進行檢索的裝置實施例的結構方塊圖,具體可以包括如下模組:字元載入模組1001,用於在接收到檢索請求時,在可穿戴設備的介面中載入一個或多個字元;目標字元確定模組1002,用於從所述一個或多個字元中確定被觸發的一個或多個目標字元;資訊顯示模組1003,用於在所述介面中顯示與所述一個或多個目標字元匹配的一個或多個資訊。 Referring to FIG. 10 , it shows a structural block diagram of an embodiment of an apparatus for searching based on a wearable device of the present invention, which may specifically include the following modules: a character loading module 1001, used to, when receiving a retrieval request, One or more characters are loaded into the interface of the wearable device; the target character determination module 1002 is used to determine one or more triggered target characters from the one or more characters; information display A module 1003, configured to display one or more pieces of information matching the one or more target characters in the interface.

在本發明的一個實施例中,所述目標字元確定模組1002可以包括如下子模組:發生位置計算子模組,用於在檢測到觸控事件時,計算所述觸控事件的發生位置;第一確定子模組,用於確定位於所述發生位置的字元為目標字元。 In one embodiment of the present invention, the target character determination module 1002 may include the following submodules: an occurrence position calculation submodule, used to calculate the occurrence of the touch event when a touch event is detected Position: the first determination sub-module is used to determine the character located at the occurrence position as the target character.

在本發明的一個實施例中,所述目標字元確定模組1002可以包括如下子模組: 游標焦點載入子模組,用於在檢測到可穿戴設備的實體鍵滾動時,在所述一個或多個字元中某個字元載入一游標焦點;第一游標焦點移動子模組,用於在可穿戴設備的實體鍵滾動的角度超過預設的角度閾值時,將所述游標角度移動至下一個字元;第二確定子模組,用於基於所述游標焦點確定一個或多個目標字元。 In one embodiment of the present invention, the target character determination module 1002 may include the following submodules: a cursor focus loading submodule, used to display the One of the one or more characters is loaded into a cursor focus; the first cursor focus movement sub-module is used to move the cursor The angle is moved to the next character; the second determination sub-module is used to determine one or more target characters based on the cursor focus.

在本發明的一個實施例中,所述第二確定子模組可以包括如下單元:第一字元確定單元,用於確定位於所述游標焦點處的字元為目標字元。 In an embodiment of the present invention, the second determination sub-module may include the following unit: a first character determination unit, configured to determine the character at the focus of the cursor as the target character.

在本發明的一個實施例中,所述一個或多個字元按級載入;所述第二確定子模組可以包括如下單元:入口對象判斷單元,用於在檢測到可穿戴設備的實體鍵被按壓時,判斷位於所述游標焦點處的字元是否為下一級的入口對象;若是,則調用下級字元載入單元,若否,則調用輸入單元;下級字元載入單元,用於在所述介面載入下一級的一個或多個字元;第二游標焦點移動單元,用於將所述游標焦點移動至下一級的某個字元中;輸入單元,用於輸入位於所述游標焦點處的字元; 第二字元確定單元,用於確定輸入的多個字元為多個目標字元。 In an embodiment of the present invention, the one or more characters are loaded in stages; the second determining submodule may include the following unit: an entry object judging unit, configured to detect the entity of the wearable device When the key is pressed, judge whether the character at the cursor focus is the entry object of the next level; if so, then call the lower-level character loading unit, if not, then call the input unit; the lower-level character loading unit, use One or more characters of the next level are loaded in the interface; the second cursor focus moving unit is used to move the cursor focus to a certain character of the next level; the input unit is used to input the The character at the focus of the cursor; the second character determining unit is used to determine that the input characters are a plurality of target characters.

下級字元載入單元,所述第二確定子模組還可以包括如下單元:第三游標焦點移動單元,用於在輸入字元完成時,取消載入當前級的一個或多個字元,將所述游標焦點移動至上一級的某個字元中。 The lower-level character loading unit, the second determination sub-module may also include the following unit: a third cursor focus moving unit, used to cancel the loading of one or more characters of the current level when the input character is completed, Move the cursor focus to a character in the upper level.

在本發明的一個實施例中,所述資訊顯示模組1003可以包括如下子模組:第一顯示子模組,用於在觸發一個目標字元時,在所述介面中顯示以所述一個目標字元為首字元的一個或多個資訊;第二顯示子模組,用於在觸發多個目標字元時,在所述介面中顯示與所述多個目標字元匹配的一個或多個資訊。 In an embodiment of the present invention, the information display module 1003 may include the following submodules: a first display submodule, used to display the one target character in the interface when a target character is triggered. The target character is one or more pieces of information whose first character is the first character; the second display submodule is used to display one or more information matching the multiple target characters in the interface when multiple target characters are triggered. information.

在本發明的一個實施例中,該裝置還可以包括如下模組:彈出介面載入模組,用於載入一彈出介面;目標字元顯示模組,用於在所述彈出介面中顯示放大後的目標字元。 In one embodiment of the present invention, the device may also include the following modules: a pop-up interface loading module, used to load a pop-up interface; a target character display module, used to display enlarged after the target character.

對於裝置實施例而言,由於其與方法實施例基本相似,所以描述的比較簡單,相關之處參見方法實施例的部分說明即可。 As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.

本說明書中的各個實施例均採用漸進的方式描述,每 個實施例重點說明的都是與其他實施例的不同之處,各個實施例之間相同相似的部分互相參見即可。 Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the differences from other embodiments, and the same and similar parts of each embodiment can be referred to each other.

本領域內的技術人員應明白,本發明實施例的實施例可提供為方法、裝置、或電腦程式產品。因此,本發明實施例可採用完全硬體實施例、完全軟體實施例、或結合軟體和硬體方面的實施例的形式。而且,本發明實施例可採用在一個或多個其中包含有電腦可用程式碼的電腦可用儲存介質(包括但不限於磁碟記憶體、CD-ROM、光學記憶體等)上實施的電腦程式產品的形式。 Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, devices, or computer program products. Accordingly, embodiments of the invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may employ a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) having computer-usable program code embodied therein form.

在一個典型的配置中,所述電腦設備包括一個或多個處理器(CPU)、輸入/輸出介面、網路介面和記憶體。記憶體可能包括電腦可讀介質中的非永久性記憶體,隨機存取記憶體(RAM)和/或非揮發性記憶體等形式,如唯讀記憶體(ROM)或快閃記憶體(flash RAM)。記憶體是電腦可讀介質的示例。電腦可讀介質包括永久性和非永久性、可移動和非可移動媒體可以由任何方法或技術來實現資訊儲存。資訊可以是電腦可讀指令、資料結構、程式的模組或其他資料。電腦的儲存介質的例子包括,但不限於相變記憶體(PRAM)、靜態隨機存取記憶體(SRAM)、動態隨機存取記憶體(DRAM)、其他類型的隨機存取記憶體(RAM)、唯讀記憶體(ROM)、電可擦除可程式設計唯讀記憶體(EEPROM)、快閃記憶體或其他記憶體技術、唯讀光碟唯讀記憶體(CD-ROM)、數位多功能光碟(DVD)或其他光學儲存、磁盒式磁帶,磁帶磁磁片儲存或其他磁性存放裝置 或任何其他非傳輸介質,可用於儲存可以被計算設備存取的資訊。按照本文中的界定,電腦可讀介質不包括非持續性的電腦可讀媒體(transitory media),如調製的資料信號和載波。 In a typical configuration, the computer device includes one or more processors (CPUs), input/output interfaces, network interfaces and memory. Memory may include non-permanent memory in computer readable media, random access memory (RAM) and/or forms of nonvolatile memory such as read only memory (ROM) or flash memory (flash RAM). The memory is an example of a computer readable medium. Computer readable media includes both permanent and non-permanent, removable and non-removable media and may be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for computers include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM) , read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital multifunction A compact disc (DVD) or other optical storage, magnetic cassette, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium used to store information that can be accessed by a computing device. As defined herein, computer readable media excludes non-persistent computer readable media (transitory media), such as modulated data signals and carrier waves.

本發明實施例是參照根據本發明實施例的方法、終端設備(系統)、和電腦程式產品的流程圖和/或方方塊圖來描述的。應理解可由電腦程式指令實現流程圖和/或方方塊圖中的每一流程和/或方方塊、以及流程圖和/或方方塊圖中的流程和/或方方塊的結合。可提供這些電腦程式指令到通用電腦、專用電腦、嵌入式處理機或其他可程式化資料處理終端設備的處理器以產生一個機器,使得透過電腦或其他可程式設計資料處理終端設備的處理器執行的指令產生用於實現在流程圖一個流程或多個流程和/或方方塊圖一個方方塊或多個方方塊中指定的功能的裝置。 Embodiments of the present invention are described with reference to flowcharts and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and/or block in the flowchart and/or block diagram, and combinations of processes and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions can be provided to general-purpose computers, special-purpose computers, embedded processors, or other programmable data processing terminal processors to produce a machine that can be executed by computers or other programmable data processing terminal processors The instructions produce means for realizing the functions specified in one or more steps of the flow chart and/or one or more blocks of the block diagram.

這些電腦程式指令也可儲存在能引導電腦或其他可程式設計資料處理終端設備以特定方式工作的電腦可讀記憶體中,使得儲存在該電腦可讀記憶體中的指令產生包括指令裝置的製造品,該指令裝置實現在流程圖一個流程或多個流程和/或方方塊圖一個方方塊或多個方方塊中指定的功能。 These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal to operate in a specific manner, so that the instructions stored in the computer-readable memory generate product, the instruction device realizes the function specified in one or more steps of the flow chart and/or one or more blocks of the block diagram.

這些電腦程式指令也可裝載到電腦或其他可程式設計資料處理終端設備上,使得在電腦或其他可程式設計終端設備上執行一系列操作步驟以產生電腦實現的處理,從而在電腦或其他可程式設計終端設備上執行的指令提供用於 實現在流程圖一個流程或多個流程和/或方方塊圖一個方方塊或多個方方塊中指定的功能的步驟。 These computer program instructions can also be loaded into a computer or other programmable data processing terminal equipment, so that a series of operation steps are executed on the computer or other programmable data processing terminal equipment to produce computer-implemented processing, so that the computer or other programmable data processing terminal The instructions executed on the terminal device are designed to provide steps for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

儘管已描述了本發明實施例的較佳實施例,但本領域內的技術人員一旦得知了基本創造性概念,則可對這些實施例做出另外的變更和修改。所以,所附申請專利範圍意欲解釋為包括較佳實施例以及落入本發明實施例範圍的所有變更和修改。 While a preferred embodiment of the present invention has been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, the appended claims are intended to be construed as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

最後,還需要說明的是,在本文中,諸如第一和第二等之類的關係術語僅僅用來將一個實體或者操作與另一個實體或操作區分開來,而不一定要求或者暗示這些實體或操作之間存在任何這種實際的關係或者順序。而且,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、物品或者終端設備不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、物品或者終端設備所固有的要素。在沒有更多限制的情況下,由語句“包括一個......”限定的要素,並不排除在包括所述要素的過程、方法、物品或者終端設備中還存在另外的相同要素。 Finally, it should also be noted that in this text, relational terms such as first and second etc. are only used to distinguish one entity or operation from another, and do not necessarily require or imply that these entities or operations, any such actual relationship or order exists. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or terminal equipment comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements identified, or also include elements inherent in such a process, method, article, or terminal equipment. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or terminal device comprising said element.

以上對本發明所提供的一種基於可穿戴設備進行檢索的方法和一種基於可穿戴設備進行檢索的裝置,進行了詳細介紹,本文中應用了具體個例對本發明的原理及實施方式進行了闡述,以上實施例的說明只是用於幫助理解本發明的方法及其核心思想;同時,對於本領域的一般技術人 員,依據本發明的思想,在具體實施方式及應用範圍上均會有改變之處,綜上所述,本說明書內容不應理解為對本發明的限制。 A method for searching based on wearable devices and a device for searching based on wearable devices provided by the present invention have been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The above The description of the embodiment is only used to help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. As mentioned above, the contents of this specification should not be construed as limiting the present invention.

Claims (12)

一種基於可穿戴設備進行檢索的方法,其特徵在於,包括:當接收到檢索請求時,在可穿戴設備的介面中載入一個或多個字元;從該一個或多個字元中確定被觸發的一個或多個目標字元;在該介面中顯示與該一個或多個目標字元匹配的一個或多個資訊,其中,該從該一個或多個字元中確定被觸發的一個或多個目標字元的步驟包括:當檢測到可穿戴設備的實體鍵滾動時,在該一個或多個字元中某個字元載入一游標焦點;當可穿戴設備的實體鍵滾動的角度超過預設的角度閾值時,將該游標角度移動至下一個字元;基於該游標焦點確定一個或多個目標字元,其中,該一個或多個字元按級載入;該基於該游標焦點確定一個或多個目標字元的步驟包括:當檢測到可穿戴設備的實體鍵被按壓時,判斷位於該游標焦點處的該一個或多個字元是否為下一級的入口對象;若是,則在該介面載入下一級的一個或多個字元,將該游標焦點移動至下一級的某個字元中;若否,則輸入位於該游標焦點處的該一個或多個 字元;確定輸入的該一個或多個字元為該一個或多個目標字元。 A search method based on a wearable device, characterized in that it includes: when receiving a search request, loading one or more characters in the interface of the wearable device; determining from the one or more characters One or more target characters triggered; one or more information matching the one or more target characters is displayed in the interface, wherein the one or more triggered characters are determined from the one or more characters The step of multiple target characters includes: when detecting that the physical key of the wearable device scrolls, a character in the one or more characters is loaded with a cursor focus; when the physical key of the wearable device scrolls, the angle When the preset angle threshold value is exceeded, move the cursor angle to the next character; determine one or more target characters based on the cursor focus, wherein the one or more characters are loaded in stages; The step of determining the focus of one or more target characters includes: when it is detected that the physical key of the wearable device is pressed, it is judged whether the one or more characters at the focus of the cursor are the entry objects of the next level; if so, Then load one or more characters at the next level in the interface, and move the cursor focus to a character at the next level; if not, input the one or more characters at the cursor focus characters; determine the one or more input characters as the one or more target characters. 根據請求項1所述的方法,其中,該從該一個或多個字元中確定被觸發的一個或多個目標字元的步驟包括:當檢測到觸控事件時,計算該觸控事件的發生位置;確定位於該發生位置的該一個或多個字元為該一個或多個目標字元。 According to the method described in claim 1, wherein, the step of determining one or more target characters that are triggered from the one or more characters includes: when a touch event is detected, calculating the touch event Occurrence position; determine the one or more characters at the occurrence position as the one or more target characters. 根據請求項1所述的方法,其中,該基於該游標焦點確定一個或多個目標字元的步驟包括:確定位於該游標焦點處的該一個或多個字元為該一個或多個目標字元。 The method according to claim 1, wherein the step of determining one or more target characters based on the cursor focus comprises: determining that the one or more characters located at the cursor focus are the one or more target characters Yuan. 根據請求項1所述的方法,其中,該基於該游標焦點確定一個或多個目標字元的步驟還包括:當輸入字元完成時,取消載入當前級的一個或多個字元,將該游標焦點移動至上一級的某個字元中。 According to the method described in claim 1, wherein, the step of determining one or more target characters based on the cursor focus further includes: when the input character is completed, cancel loading one or more characters of the current level, and The cursor focus moves to a character of the previous level. 根據請求項1~4中任一項所述的方法,其中,該在該介面中顯示與該一個或多個目標字元匹配的一個或多個資訊的步驟包括:當觸發一個目標字元時,在該介面中顯示以該一個目標字元為首字元的一個或多個資訊;當觸發多個目標字元時,在該介面中顯示與該多個目標字元匹配的一個或多個資訊。 The method according to any one of claims 1 to 4, wherein the step of displaying one or more pieces of information matching the one or more target characters in the interface comprises: when a target character is triggered , display one or more pieces of information starting with the one target character in the interface; when multiple target characters are triggered, display one or more pieces of information matching the multiple target characters in the interface . 根據請求項1~4中任一項所述的方法,其中,還包括:載入一彈出介面;在該彈出介面中顯示放大後的目標字元。 The method according to any one of claims 1-4, further comprising: loading a pop-up interface; displaying the enlarged target character in the pop-up interface. 一種基於可穿戴設備進行檢索的裝置,其特徵在於,包括:字元載入模組,用於在接收到檢索請求時,在可穿戴設備的介面中載入一個或多個字元;目標字元確定模組,用於從該一個或多個字元中確定被觸發的一個或多個目標字元;資訊顯示模組,用於在該介面中顯示與該一個或多個目標字元匹配的一個或多個資訊,其中,該目標字元確定模組包括:游標焦點載入子模組,用於在檢測到可穿戴設備的實體鍵滾動時,在該一個或多個字元中某個字元載入一游標焦點;第一游標焦點移動子模組,用於在可穿戴設備的實體鍵滾動的角度超過預設的角度閾值時,將該游標角度移動至下一個字元;第二確定子模組,用於基於該游標焦點確定一個或多個目標字元,其中,該一個或多個字元按級載入;該第二確定子模組包括:入口對象判斷單元,用於在檢測到可穿戴設備的 實體鍵被按壓時,判斷位於該游標焦點處的該一個或多個字元是否為下一級的入口對象;若是,則調用下級字元載入單元,若否,則調用輸入單元;下級字元載入單元,用於在該介面載入下一級的一個或多個字元;第二游標焦點移動單元,用於將該游標焦點移動至下一級的某個字元中;輸入單元,用於輸入位於該游標焦點處的該一個或多個字元;第二字元確定單元,用於確定輸入的該一個或多個字元為該一個或多個目標字元。 A device for searching based on a wearable device, characterized in that it includes: a character loading module, used to load one or more characters in the interface of the wearable device when a retrieval request is received; the target character The element determination module is used to determine one or more target characters that are triggered from the one or more characters; the information display module is used to display in the interface that matches the one or more target characters One or more pieces of information, wherein the target character determination module includes: a cursor focus loading sub-module, used to select one of the one or more characters when scrolling of the physical keys of the wearable device is detected A character is loaded into a cursor focus; the first cursor focus moving sub-module is used to move the cursor angle to the next character when the rolling angle of the physical key of the wearable device exceeds the preset angle threshold; Two determining sub-modules, used to determine one or more target characters based on the cursor focus, wherein the one or more characters are loaded in stages; the second determining sub-module includes: an entry object judging unit, used in detecting the wearable device's When the physical key is pressed, it is judged whether the one or more characters located at the cursor focus are the entry object of the next level; if so, then call the lower-level character loading unit, if not, then call the input unit; The loading unit is used to load one or more characters of the next level in the interface; the second cursor focus moving unit is used to move the cursor focus to a certain character of the next level; the input unit is used for The one or more characters at the focus of the cursor are input; the second character determination unit is configured to determine the input one or more characters as the one or more target characters. 根據請求項7所述的裝置,其中,該目標字元確定模組包括:發生位置計算子模組,用於在檢測到觸控事件時,計算該觸控事件的發生位置;第一確定子模組,用於確定位於該發生位置的該一個或多個字元為該一個或多個目標字元。 The device according to claim 7, wherein the target character determination module includes: an occurrence location calculation submodule, used to calculate the occurrence location of the touch event when a touch event is detected; the first determiner A module for determining the one or more characters at the occurrence position as the one or more target characters. 根據請求項7所述的裝置,其中,該第二確定子模組包括:第一字元確定單元,用於確定位於該游標焦點處的該一個或多個字元為該一個或多個目標字元。 The device according to claim 7, wherein the second determining submodule includes: a first character determining unit, configured to determine that the one or more characters located at the focus of the cursor are the one or more targets characters. 根據請求項7所述的裝置,其中,該第二確定子模組還包括:第三游標焦點移動單元,用於在輸入字元完成時,取 消載入當前級的一個或多個字元,將該游標焦點移動至上一級的某個字元中。 According to the device described in claim 7, wherein, the second determining submodule further includes: a third cursor focus moving unit, used to select Load one or more characters in the current level, and move the cursor focus to a character in the upper level. 根據請求項7~10中任一項所述的裝置,其中,該資訊顯示模組包括:第一顯示子模組,用於在觸發一個目標字元時,在該介面中顯示以該一個目標字元為首字元的一個或多個資訊;第二顯示子模組,用於在觸發多個目標字元時,在該介面中顯示與該多個目標字元匹配的一個或多個資訊。 The device according to any one of request items 7 to 10, wherein the information display module includes: a first display submodule, used to display the target in the interface when a target character is triggered The first character is one or more pieces of information; the second display submodule is used to display one or more pieces of information matching the multiple target characters in the interface when multiple target characters are triggered. 根據請求項7~10中任一項所述的裝置,其中,還包括:彈出介面載入模組,用於載入一彈出介面;目標字元顯示模組,用於在該彈出介面中顯示放大後的目標字元。 According to the device described in any one of request items 7 to 10, it also includes: a pop-up interface loading module, used to load a pop-up interface; a target character display module, used to display in the pop-up interface Enlarged target character.
TW106102501A 2017-01-23 2017-01-23 Method and device for retrieval based on wearable device TWI790198B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106102501A TWI790198B (en) 2017-01-23 2017-01-23 Method and device for retrieval based on wearable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106102501A TWI790198B (en) 2017-01-23 2017-01-23 Method and device for retrieval based on wearable device

Publications (2)

Publication Number Publication Date
TW201828021A TW201828021A (en) 2018-08-01
TWI790198B true TWI790198B (en) 2023-01-21

Family

ID=63960521

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106102501A TWI790198B (en) 2017-01-23 2017-01-23 Method and device for retrieval based on wearable device

Country Status (1)

Country Link
TW (1) TWI790198B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109614021A (en) * 2018-10-29 2019-04-12 阿里巴巴集团控股有限公司 Exchange method, device and equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1330303A (en) * 2000-06-30 2002-01-09 国际商业机器公司 Wearable electrical equipment for realizing interfacing with user and interfae control method thereof
CN104123378A (en) * 2014-07-30 2014-10-29 联想(北京)有限公司 Information processing method and electronic device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1330303A (en) * 2000-06-30 2002-01-09 国际商业机器公司 Wearable electrical equipment for realizing interfacing with user and interfae control method thereof
CN104123378A (en) * 2014-07-30 2014-10-29 联想(北京)有限公司 Information processing method and electronic device

Also Published As

Publication number Publication date
TW201828021A (en) 2018-08-01

Similar Documents

Publication Publication Date Title
TWI683256B (en) Two-dimensional code recognition method, equipment and mobile terminal
JP5970086B2 (en) Touch screen hover input processing
EP2856298B1 (en) Causing display of search results
EP2778870B1 (en) Method and apparatus for copying and pasting of data
JP5658144B2 (en) Visual navigation method, system, and computer-readable recording medium
US8825699B2 (en) Contextual search by a mobile communications device
JP5955770B2 (en) Region search apparatus and region search method
CN102792253B (en) User interface
US8443303B2 (en) Gesture-based navigation
US9910563B2 (en) Contextually changing omni-directional navigation mechanism
US20160320923A1 (en) Display apparatus and user interface providing method thereof
TW201721472A (en) Method, system, and device for processing data in connection with an application
US9977569B2 (en) Contextually changing omni-directional navigation mechanism
TWI621062B (en) Method and device for searching message record in touch screen terminal
US20140082554A1 (en) Method and electronic device for displaying categories
US9841822B2 (en) Method for operating mobile device using vibration sensor
CN109428967A (en) Message content methods of exhibiting and device
US8487885B2 (en) Selectable options for graphic objects displayed on a touch-screen interface
TWI790198B (en) Method and device for retrieval based on wearable device
WO2017121277A1 (en) Method and device for retrieval based on wearable device
US20170277426A1 (en) Enabling perimeter-based user interactions with a user device
US20160286036A1 (en) Method for quick access to application functionalities
JPWO2015174110A1 (en) Information processing apparatus, information processing method, and program
CN108427527B (en) Information selection method and device and mobile terminal
US20140365936A1 (en) Apparatus and method for displaying content in mobile terminal