WO2018000669A1 - Contact lookup method and device - Google Patents

Contact lookup method and device Download PDF

Info

Publication number
WO2018000669A1
WO2018000669A1 PCT/CN2016/103289 CN2016103289W WO2018000669A1 WO 2018000669 A1 WO2018000669 A1 WO 2018000669A1 CN 2016103289 W CN2016103289 W CN 2016103289W WO 2018000669 A1 WO2018000669 A1 WO 2018000669A1
Authority
WO
WIPO (PCT)
Prior art keywords
contact
character
user
gesture
recognition service
Prior art date
Application number
PCT/CN2016/103289
Other languages
French (fr)
Chinese (zh)
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 中兴通讯股份有限公司
Publication of WO2018000669A1 publication Critical patent/WO2018000669A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27467Methods of retrieving data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27467Methods of retrieving data
    • H04M1/2748Methods of retrieving data by matching character strings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and apparatus for finding a contact.
  • the user searches for a contact in the address book of the terminal mainly by the following three methods: the first is to use the up and down sliding index bar in the contact list interface of the address book to perform the sliding search.
  • the user uses the finger to slide up and down on the touch screen, and the contact list interface of the address book displays the contact of the current location.
  • This method is suitable for the address book containing a small number of contacts, if the number of contacts included in the address book is higher
  • the second is to use the letter index bar located on the left or right side of the interface in the contact list interface of the address book. The alphabet index is searched.
  • the contact list interface When the user clicks on any of the letters in the letter index bar, the contact list interface quickly displays all the contacts whose first name of the contact name is the letter.
  • the letter index bar is generally designed to be relatively small, so it is easy to appear letter points. Errors or inability to click, etc., especially when there are more contacts with the same initial name in the contact list in the address book, you need to further slide the index bar to scan and search; the third is through the contact list interface of the address book.
  • the search box performs matching search.
  • the user inputs characters in the search box, and the address book interface displays the contacts related to the input characters. This method needs to call the input method and the character input interface will block the contact of the contact list interface. People, the operation is cumbersome, not conducive to the user experience.
  • embodiments of the present invention are directed to a method and apparatus for finding a contact that enables fast and accurate lookup of contacts.
  • the present invention provides a method for finding a contact, the method comprising:
  • the contact associated with the character is called and displayed to the user.
  • the method before the recognizing the gesture input by the user, the method further includes: starting the gesture recognition service.
  • the initiating the gesture recognition service includes: starting the gesture recognition service during the booting process, or starting the gesture recognition service after receiving the command of the shortcut executed by the user.
  • the method further includes:
  • the current state of the gesture recognition service is prompted by the status bar icon or the notification bar notification message; and/or,
  • the closing shortcut of the gesture recognition service prompts the user through a status bar icon or a notification bar notification message.
  • the method before the recognizing the gesture input by the user, the method further includes:
  • a gesture corresponding to each character is set, and each of the characters and a gesture corresponding to each character are stored in the mapping relationship table.
  • the contact related to the character includes: any one of the first name of the contact name is the contact of the character, and any digit of the contact telephone number is the contact of the character.
  • the present invention also provides an apparatus for finding a contact, the apparatus comprising: an identification unit, an acquisition unit, a search unit, and a processing unit;
  • the identification unit is configured to recognize a gesture input by the user
  • the obtaining unit is configured to acquire, from the mapping relationship table, a character that matches a gesture input by the user;
  • the searching unit is configured to search for a contact related to the character in a contact database
  • the processing unit is configured to invoke and display the contact associated with the character to a user.
  • the device further includes: an activation unit configured to initiate a gesture recognition service.
  • the startup unit is specifically configured to start the gesture recognition service during the booting process, or start the gesture recognition service after receiving the command of the shortcut executed by the user.
  • the device further includes: a notification unit, configured to prompt the user to notify the user of the current state of the gesture recognition service by using a status bar icon or a notification bar after the activation unit starts the gesture recognition service; and/or After the activation unit starts the gesture recognition service, the closing shortcut of the gesture recognition service prompts the user through a status bar icon or a notification bar notification message.
  • a notification unit configured to prompt the user to notify the user of the current state of the gesture recognition service by using a status bar icon or a notification bar after the activation unit starts the gesture recognition service.
  • the device further includes: a setting unit configured to set a gesture corresponding to each character, and store the characters and the gesture corresponding to each character to the mapping relationship table.
  • the contact related to the character includes: any one of the first name of the contact name is the contact of the character, and any digit of the contact telephone number is the contact of the character.
  • Another embodiment of the present invention provides a computer storage medium storing execution instructions for performing the method in the above embodiments.
  • the method and device for searching for a contact are provided by the embodiment of the present invention, and the gesture input by the user is recognized; the character matching the gesture input by the user is obtained from the mapping relationship table; and the relationship related to the character in the contact database is found.
  • Corresponding characters are then quickly found out from the contact database and displayed to the user, so that a quick and accurate search of the contacts can be realized, and the operation is simple.
  • FIG. 1 is a schematic flowchart of an implementation manner of a method for searching for a contact according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a device for searching for a contact according to an embodiment of the present invention.
  • FIG. 1 A schematic diagram of an implementation process of a method for searching for a contact according to an embodiment of the present invention. As shown in FIG. 1 , the method includes:
  • Step 101 Identify a gesture input by a user
  • the terminal recognizes the gesture input by the user.
  • the gesture may be letters, numbers, words, strokes, graphics, and the like.
  • the contact list may be slid, which may easily cause the user to feel a disorder, which is not conducive to the user experience. Therefore, the user can turn off the sliding function of the contact list before inputting the gesture.
  • the method further includes: starting a gesture recognition service.
  • the terminal directly starts the gesture recognition service during the booting process, or starts the gesture recognition service after the terminal receives the shortcut that the user performs the startup gesture recognition service.
  • the shortcut for the user to perform the startup gesture recognition service may be completed after the user enters the contact list interface of the address book; the shortcut may be displayed in the form of an icon on the contact list interface of the address book of the terminal or the status bar of the terminal.
  • the interface such as the toolbar can also be set as a physical button of the terminal.
  • the method is further configured to: the current state of the gesture recognition service is prompted by the status bar icon of the terminal or the notification bar notification message; in addition, in order to facilitate the user after the contact is searched or the user needs for his own reasons
  • the method for promptly closing the gesture recognition service in a timely manner the method further includes: prompting the user to close the shortcut mode of the gesture recognition service by using a status bar icon or a notification bar notification message of the terminal, and the user can be closed by the closing shortcut mode.
  • the method further includes: setting a gesture corresponding to each character, and storing the each character and a gesture corresponding to each character to the mapping relationship table.
  • the character is an identifier related to personal information such as a name, a contact telephone number, and the like of a contact stored in the address book, including letters, numbers, characters, strokes, and the like; the gesture corresponding to the character may be set to the The character itself, for example, the gesture corresponding to the letter A is set to A, and may also be set to a graphic or the like, for example, the gesture corresponding to the letter A is set to a square.
  • Step 102 Obtain, from the mapping relationship table, characters that match the gesture input by the user;
  • the terminal After the terminal recognizes the gesture input by the user in step 101, the terminal matches the gesture input by the user with the stored gesture in the mapping relationship table, and if the matching succeeds, the terminal obtains and reports from the mapping relationship table.
  • the character corresponding to the gesture input by the user continues to perform step 103; if the matching fails, the process returns to step 101.
  • the character acquired from the mapping relationship table is displayed in a search box of the contact list interface of the address book; If the user thinks that the character displayed in the search box is not the character that he wants, the character displayed in the search box may be deleted, and the gesture is continued.
  • Step 103 Find a contact in the contact database related to the character
  • the terminal searches for a contact related to the character in the contact database, and if there is a relationship in the contact database, the character is associated with the character.
  • the contact continues to step 104, otherwise returns to step 101.
  • the contact related to the character includes: any one of the first name of the contact name is the contact of the character, and any digit of the contact telephone number is the contact of the character, contact The last name of the person's name or the contact named the character, any stroke contained in the contact's name is the contact of the character.
  • Step 104 Invoke and display the contact related to the character to the user.
  • the terminal invokes the contact related to the character existing in the contact database found in step 103, and displays the contact related to the character to the user through the contact list interface, and the user can The desired contact is selected among the contacts related to the character displayed in the contact list interface.
  • the user can continue to input a gesture through the touch screen on the terminal, and the terminal
  • the above steps 101, 102, 103, 104 are traversed until the user selects the desired contact.
  • the contact obtained by the terminal from the contact database according to the gesture input by the user after the first time must be included in the contact obtained by the terminal from the contact database according to the gesture input by the user for the first time.
  • the user may delete the character displayed in the search box and continue to input the gesture, and the terminal traverses The above steps 101, 102, 103, 104 are performed.
  • the gesture recognition service For example: suppose the gesture corresponding to the set letter is the letter itself, the user needs to find the contact "Zhao Li" in the address book. After the gesture recognition service is started, the user writes a gesture “z” in the contact list interface of the address book through the touch screen of the terminal, and the terminal matches the recognized gesture “z” with the stored gesture in the mapping relationship table to obtain the gesture.
  • Corresponding letter "z”, and the letter “z” is displayed in the search box of the contact list interface; the terminal matches from the contact database to the contact associated with the letter "z", that is, any one of the contact names
  • the contact with the initial letter “z” displays the contact associated with the letter “z” on the contact list interface; if the contact "Zhao Li" cannot be quickly found, the user contacts the touch screen of the terminal again.
  • the person list interface writes the gesture “l”, and the terminal recognizes the gesture “l” and the existing relationship in the mapping relationship table.
  • the stored gestures are matched, the letter “l” corresponding to the gesture is obtained, and the letter "l” is displayed in the search box of the contact list interface of the address book; the terminal matches the letter "z” from the contact database.
  • the embodiment of the present invention further provides a device for searching for a contact, and the device may be embedded in a terminal.
  • the device includes: an identification unit 24, an obtaining unit 25, and a searching unit. 26. Processing unit 27; wherein
  • the identification unit 24 is configured to recognize a gesture input by the user
  • the obtaining unit 25 is configured to acquire, from the mapping relationship table, a character that matches the gesture input by the user;
  • the searching unit 26 is configured to search for a contact related to the character in the contact database
  • the processing unit 27 is arranged to invoke and display the contact associated with the character to a user.
  • the identification unit 24 is specifically configured to: when the user opens the address book of the terminal and enters the contact list interface of the address book, and inputs a gesture through the touch screen on the terminal, the gesture input by the user is recognized, The recognized gesture input by the user is sent to the acquisition unit 25.
  • the gesture may be letters, numbers, words, strokes, graphics, and the like.
  • the contact list may be slid, which may easily cause the user to feel a disorder, which is not conducive to the user experience. Therefore, the user can turn off the sliding function of the contact list before inputting the gesture.
  • the apparatus further comprises: an activation unit 21 configured to activate the gesture recognition service before the recognition unit 24 recognizes the gesture input by the user.
  • the activation unit is specifically configured to directly start the gesture recognition service during the startup process of the terminal, or start the gesture recognition service after receiving the shortcut of the user performing the gesture recognition service.
  • the shortcut for the user to perform the startup gesture recognition service may be completed after the user enters the contact list interface of the address book; the shortcut may be displayed in the form of an icon on the contact list interface of the address book of the terminal or the status bar of the terminal.
  • the interface such as the toolbar can also be set as a physical button of the terminal.
  • the device further includes: a notification unit 22, configured to: after the activation unit 21 starts the gesture recognition service, prompting the user by using a terminal status bar icon or a notification bar notification message; and Or, the closing shortcut of the gesture recognition service prompts the user through the status bar icon of the terminal or the notification bar notification message.
  • a notification unit 22 configured to: after the activation unit 21 starts the gesture recognition service, prompting the user by using a terminal status bar icon or a notification bar notification message; and Or, the closing shortcut of the gesture recognition service prompts the user through the status bar icon of the terminal or the notification bar notification message.
  • the notification unit 22 may prompt the user for the current state of the gesture recognition service through a status bar icon or a notification bar notification message; In order to facilitate the user to quickly close the gesture recognition service after the contact is searched for, or the user needs to quickly close the gesture recognition service, the notification unit 22 may also notify the shortcut of the gesture recognition service through the status bar icon or the notification bar. The message prompts the user that the user can disable the gesture recognition service by closing the shortcut.
  • the device further includes: a setting unit 23 configured to set a gesture corresponding to each character, and store the each character and a gesture corresponding to each character to the mapping relationship table.
  • a setting unit 23 configured to set a gesture corresponding to each character, and store the each character and a gesture corresponding to each character to the mapping relationship table.
  • the character is an identifier related to personal information such as a name, a contact telephone number, and the like of a contact stored in the address book, including letters, numbers, characters, strokes, and the like; the gesture corresponding to the character may be set to the The character itself, for example, the gesture corresponding to the letter A is set to A, and may also be set to a graphic or the like, for example, the gesture corresponding to the letter A is set to a square.
  • the acquiring unit 25 is specifically configured to: receive the recognized gesture of the user input sent by the identifying unit 24, and match the gesture input by the user with the stored gesture in the mapping relationship table, if the matching If successful, the user input is obtained from the mapping relationship table. Gesture corresponding characters, and send the characters to the searching unit 26; if the matching fails, continue to receive the recognized user input gesture sent by the identifying unit 24 and the stored gestures in the mapping relationship table Make a match.
  • the obtaining unit 25 acquires a character matching the gesture input by the user from the mapping relationship table
  • the character obtained from the mapping relationship table is displayed to the contact list interface of the address book.
  • the search box if the user thinks that the character displayed in the search box is not the character that he wants, the character displayed in the search box can be deleted, and the gesture is continued.
  • the searching unit 26 is specifically configured to: receive a character that is acquired by the acquiring unit 25 and that matches a gesture input by the user, and search for a contact related to the character in the contact database, and find the A contact associated with the character present in the contact database is sent to the processing unit 27.
  • the contact related to the character includes: any one of the first name of the contact name is the contact of the character, and any digit of the contact telephone number is the contact of the character, contact The last name of the person's name or the contact named the character, any stroke contained in the contact's name is the contact of the character.
  • the processing unit 27 is specifically configured to: invoke the searching unit 26 to find a contact related to the character existing in the contact database, and display the related to the character to the user through the contact list interface.
  • the contact the user can select a desired contact from the contact related to the character displayed in the contact list interface.
  • the user can continue to input a gesture through the touch screen on the terminal, and then identify Unit 24, acquisition unit 25, lookup unit 26, and processing unit 27 sequentially perform respective functions until the user selects the desired contact.
  • the contact obtained by the searching unit 26 from the contact database according to the gesture input by the user after the first time must be included in the searching unit 26 from the contact according to the gesture input by the user for the first time.
  • the user may delete the character displayed in the search box and continue to input a gesture, and the identification unit 24.
  • the obtaining unit 25, the searching unit 26, and the processing unit 27 sequentially perform respective functions until the user selects a desired contact.
  • the startup unit 21 starts the gesture recognition service, the user writes the gesture “z” in the contact list interface of the address book through the touch screen of the terminal, and the acquisition unit 25 stores the gesture “z” recognized by the recognition unit 24 and the mapping relationship table.
  • the gesture is matched, the letter "z” corresponding to the gesture is obtained, and the letter "z” is displayed in the search box of the contact list interface; the search unit 26 matches from the contact database to the letter "z”
  • the contact that is, any contact whose initial name is “z”
  • the processing unit 27 displays the contact related to the letter “z” on the contact list interface; if the contact cannot be quickly found “ Zhao Li”, the user again writes the gesture "h” in the contact list interface through the touch screen of the terminal, and the obtaining unit 25 matches the gesture "h” recognized by the recognition unit 24 with the stored gesture in the mapping relationship table, and obtains the The letter “h” corresponding to the gesture, and the letter “h” is displayed in the search box of the contact list interface of the address book; the search unit 26 matches from the contact database The contact whose letter “z” and “h” are related, that is, the contact whose one of the two initials of the contact name is "z” and the other bit is "h”, the processing unit 27 will The contacts whose letters "
  • the activation unit 21, the notification unit 22, the setting unit 23, the identification unit 24, the acquisition unit 25, the search unit 26, and the processing unit 27 may each be configured by a central processing unit (CPU) and a microprocessor located at the terminal ( MPU), digital signal processor (DSP), or field programmable gate array (FPGA) implementation.
  • CPU central processing unit
  • MPU microprocessor located at the terminal
  • DSP digital signal processor
  • FPGA field programmable gate array
  • Embodiments of the present invention also provide a storage medium.
  • an execution instruction is stored in the storage medium, and the execution instruction is used to execute the foregoing method.
  • the foregoing storage medium may include, but is not limited to: a USB flash drive, only Read-Only Memory (ROM), Random Access Memory (RAM), mobile hard disk, disk or optical disk, and other media that can store program code.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • mobile hard disk disk or optical disk, and other media that can store program code.
  • a method and apparatus for finding a contact provided by an embodiment of the present invention have the following beneficial effects: by matching a gesture input by a user to a character corresponding to the gesture, and then quickly finding out from the contact database.
  • the character-related contacts are displayed to the user, and thus, a quick and accurate search of the contacts can be realized, and the operation is simple.

Abstract

The present invention discloses a method for looking up a contact, comprising: recognizing a gesture input by a user; obtaining a character matching the gesture input by the user from a mapping relation table; looking up a contact in a contact database associated with the character; calling and displaying the contact associated with the character to the user. The present invention also discloses a device for looking up a contact.

Description

一种查找联系人的方法和装置Method and device for finding contacts 技术领域Technical field
本发明涉及通讯技术领域,尤其涉及一种查找联系人的方法和装置。The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for finding a contact.
背景技术Background technique
随着人们的交往圈不断扩大,通讯录中存储的联系人数量也在不断增加。因此,许多用户的通讯录中都存储着数量庞大的联系人。然而,如何快速准确地从通讯录中查找到需要查找的联系人却是用户最为关心的问题。As people's circle of contacts continues to expand, the number of contacts stored in the address book is also increasing. As a result, many users have a large number of contacts stored in their contacts. However, how to quickly and accurately find the contacts that need to be found from the address book is the most concerned issue for users.
现有技术中,对于具有触摸屏的终端,用户查找该终端的通讯录中的联系人主要通过以下三种方法:第一种是通过在通讯录的联系人列表界面利用上下滑动索引条进行滑动查找,用户利用手指在触摸屏上进行上下滑动,通讯录的联系人列表界面便显示当前位置的联系人,这种方法适合包含较少数量联系人的通讯录,如果通讯录中包含的联系人数量较多,在滑动查找过程中存在容易滑过需要查找的联系人、查找时间长等不足;第二种是通过在通讯录的联系人列表界面利用位于该界面左侧或右侧的字母索引条进行字母索引查找,用户点击字母索引条中任意一个字母,联系人列表界面便快速显示联系人姓氏首字母为该字母的所有联系人,然而,由于受到终端的视觉效果以及触摸屏的大小等条件限制,字母索引条一般设计得比较狭小,因此容易出现字母点击错误或者无法点击等情况,特别是当通讯录中联系人姓氏首字母相同的联系人较多时,还需要进一步通过上下滑动索引条进行滑动查找;第三种是通过利用通讯录的联系人列表界面的搜索框进行匹配查找,用户在搜索框内输入字符,通讯录界面便显示与所述输入的字符相关的联系人,这种方法需要调用输入法且字符输入界面会遮挡联系人列表界面的联系人,操作繁琐、不利于用户体验。In the prior art, for a terminal with a touch screen, the user searches for a contact in the address book of the terminal mainly by the following three methods: the first is to use the up and down sliding index bar in the contact list interface of the address book to perform the sliding search. The user uses the finger to slide up and down on the touch screen, and the contact list interface of the address book displays the contact of the current location. This method is suitable for the address book containing a small number of contacts, if the number of contacts included in the address book is higher In the sliding search process, there are shortcomings such as easy to slip through the contacts that need to be searched, and the search time is long; the second is to use the letter index bar located on the left or right side of the interface in the contact list interface of the address book. The alphabet index is searched. When the user clicks on any of the letters in the letter index bar, the contact list interface quickly displays all the contacts whose first name of the contact name is the letter. However, due to the visual effect of the terminal and the size of the touch screen, etc., The letter index bar is generally designed to be relatively small, so it is easy to appear letter points. Errors or inability to click, etc., especially when there are more contacts with the same initial name in the contact list in the address book, you need to further slide the index bar to scan and search; the third is through the contact list interface of the address book. The search box performs matching search. The user inputs characters in the search box, and the address book interface displays the contacts related to the input characters. This method needs to call the input method and the character input interface will block the contact of the contact list interface. People, the operation is cumbersome, not conducive to the user experience.
发明内容 Summary of the invention
有鉴于此,本发明实施例期望提供一种查找联系人的方法和装置,能够对联系人实现快速、精确查找。In view of this, embodiments of the present invention are directed to a method and apparatus for finding a contact that enables fast and accurate lookup of contacts.
为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, the technical solution of the present invention is achieved as follows:
本发明提供了一种查找联系人的方法,所述方法包括:The present invention provides a method for finding a contact, the method comprising:
识别用户输入的手势;Identify gestures entered by the user;
从映射关系表中获取与所述用户输入的手势相匹配的字符;Obtaining a character matching the gesture input by the user from the mapping relationship table;
查找联系人数据库中与所述字符相关的联系人;Find contacts in the contact database that are related to the characters;
调用并向用户显示所述与所述字符相关的联系人。The contact associated with the character is called and displayed to the user.
上述方案中,所述识别用户输入的手势之前,所述方法还包括:启动手势识别服务。In the above solution, before the recognizing the gesture input by the user, the method further includes: starting the gesture recognition service.
上述方案中,所述启动手势识别服务,包括:在开机过程中启动手势识别服务,或接收到用户执行了快捷方式的命令后启动手势识别服务。In the above solution, the initiating the gesture recognition service includes: starting the gesture recognition service during the booting process, or starting the gesture recognition service after receiving the command of the shortcut executed by the user.
上述方案中,所述启动手势识别服务后,所述方法还包括:In the above solution, after the gesture recognition service is started, the method further includes:
将所述手势识别服务当前的状态通过状态栏图标或者通知栏通知消息提示用户;和/或,The current state of the gesture recognition service is prompted by the status bar icon or the notification bar notification message; and/or,
将所述手势识别服务的关闭快捷方式通过状态栏图标或者通知栏通知消息提示用户。The closing shortcut of the gesture recognition service prompts the user through a status bar icon or a notification bar notification message.
上述方案中,所述识别用户输入的手势之前,所述方法还包括:In the above solution, before the recognizing the gesture input by the user, the method further includes:
设置每个字符所对应的手势,并将所述每个字符以及所述每个字符所对应的手势存储至所述映射关系表。A gesture corresponding to each character is set, and each of the characters and a gesture corresponding to each character are stored in the mapping relationship table.
上述方案中,所述与所述字符相关的联系人,包括:联系人姓名的任意一位首字母为所述字符的联系人、联系人联系电话的任意一位数字为所述字符的联系人、联系人姓名的姓或名为所述字符的联系人。In the above solution, the contact related to the character includes: any one of the first name of the contact name is the contact of the character, and any digit of the contact telephone number is the contact of the character. The last name of the contact's name or the contact named the character.
本发明还提供了一种查找联系人的装置,所述装置包括:识别单元、获取单元、查找单元、处理单元;其中, The present invention also provides an apparatus for finding a contact, the apparatus comprising: an identification unit, an acquisition unit, a search unit, and a processing unit;
所述识别单元,设置为识别用户输入的手势;The identification unit is configured to recognize a gesture input by the user;
所述获取单元,设置为从映射关系表中获取与所述用户输入的手势相匹配的字符;The obtaining unit is configured to acquire, from the mapping relationship table, a character that matches a gesture input by the user;
所述查找单元,设置为查找联系人数据库中与所述字符相关的联系人;The searching unit is configured to search for a contact related to the character in a contact database;
所述处理单元,设置为调用并向用户显示所述与所述字符相关的联系人。The processing unit is configured to invoke and display the contact associated with the character to a user.
上述方案中,所述装置还包括:启动单元,设置为启动手势识别服务。In the above solution, the device further includes: an activation unit configured to initiate a gesture recognition service.
上述方案中,所述启动单元,具体设置为:在开机过程中启动手势识别服务,或接收到用户执行了快捷方式的命令后启动手势识别服务。In the above solution, the startup unit is specifically configured to start the gesture recognition service during the booting process, or start the gesture recognition service after receiving the command of the shortcut executed by the user.
上述方案中,所述装置还包括:通知单元,设置为在所述启动单元启动手势识别服务后,将所述手势识别服务当前的状态通过状态栏图标或者通知栏通知消息提示用户;和/或,在所述启动单元启动手势识别服务后,将所述手势识别服务的关闭快捷方式通过状态栏图标或者通知栏通知消息提示用户。In the above solution, the device further includes: a notification unit, configured to prompt the user to notify the user of the current state of the gesture recognition service by using a status bar icon or a notification bar after the activation unit starts the gesture recognition service; and/or After the activation unit starts the gesture recognition service, the closing shortcut of the gesture recognition service prompts the user through a status bar icon or a notification bar notification message.
上述方案中,所述装置还包括:设置单元,设置为设置每个字符所对应的手势,并将所述每个字符以及所述每个字符所对应的手势存储至所述映射关系表。In the above solution, the device further includes: a setting unit configured to set a gesture corresponding to each character, and store the characters and the gesture corresponding to each character to the mapping relationship table.
上述方案中,所述与所述字符相关的联系人,包括:联系人姓名的任意一位首字母为所述字符的联系人、联系人联系电话的任意一位数字为所述字符的联系人、联系人姓名的姓或名为所述字符的联系人。In the above solution, the contact related to the character includes: any one of the first name of the contact name is the contact of the character, and any digit of the contact telephone number is the contact of the character. The last name of the contact's name or the contact named the character.
本发明另一实施例提供了一种计算机存储介质,所述计算机存储介质存储有执行指令,所述执行指令用于执行上述实施例中的方法。Another embodiment of the present invention provides a computer storage medium storing execution instructions for performing the method in the above embodiments.
本发明实施例提供的查找联系人的方法和装置,识别用户输入的手势;从映射关系表中获取与所述用户输入的手势相匹配的字符;查找联系人数据库中与所述字符相关的联系人;调用并向用户显示所述与所述字符相关的联系人;可见,本发明实施例通过将用户输入的手势匹配至与所述手势 对应的字符,然后从联系人数据库中快速查找出与所述字符相关的联系人并向用户显示,如此,能够实现对联系人的快速、精确查找,且操作简单。The method and device for searching for a contact are provided by the embodiment of the present invention, and the gesture input by the user is recognized; the character matching the gesture input by the user is obtained from the mapping relationship table; and the relationship related to the character in the contact database is found. a person; calling and displaying to the user the contact associated with the character; visible, the embodiment of the present invention matches the gesture entered by the user to the gesture Corresponding characters are then quickly found out from the contact database and displayed to the user, so that a quick and accurate search of the contacts can be realized, and the operation is simple.
附图说明DRAWINGS
图1为本发明实施例查找联系人的方法的实现流程示意图;FIG. 1 is a schematic flowchart of an implementation manner of a method for searching for a contact according to an embodiment of the present invention;
图2为本发明实施例查找联系人的装置的组成结构示意图。FIG. 2 is a schematic structural diagram of a device for searching for a contact according to an embodiment of the present invention.
具体实施方式detailed description
本发明实施例一种查找联系人的方法的实现流程示意图,如图1所示,该方法包括:A schematic diagram of an implementation process of a method for searching for a contact according to an embodiment of the present invention. As shown in FIG. 1 , the method includes:
步骤101:识别用户输入的手势;Step 101: Identify a gesture input by a user;
具体地,当用户打开终端的通讯录并进入到通讯录的联系人列表界面,并通过终端上面的触摸屏输入手势后,终端对所述用户输入的手势进行识别。Specifically, when the user opens the address book of the terminal and enters the contact list interface of the address book, and inputs a gesture through the touch screen on the terminal, the terminal recognizes the gesture input by the user.
这里,所述手势可以是字母、数字、文字、笔画、图形等。Here, the gesture may be letters, numbers, words, strokes, graphics, and the like.
这里,对于现有的智能终端例如智能手机而言,用户在联系人列表界面输入手势的过程中,联系人列表会产生滑动,容易使用户产生错乱感觉,不利于用户体验。因此,用户在输入手势之前可关闭联系人列表的滑动功能。Here, for an existing smart terminal such as a smart phone, in the process of inputting a gesture by the user in the contact list interface, the contact list may be slid, which may easily cause the user to feel a disorder, which is not conducive to the user experience. Therefore, the user can turn off the sliding function of the contact list before inputting the gesture.
可选地,在所述步骤101之前,所述方法还包括:启动手势识别服务。Optionally, before the step 101, the method further includes: starting a gesture recognition service.
具体地,终端在开机过程中直接启动手势识别服务,或终端接收到用户执行了启动手势识别服务的快捷方式后启动手势识别服务。Specifically, the terminal directly starts the gesture recognition service during the booting process, or starts the gesture recognition service after the terminal receives the shortcut that the user performs the startup gesture recognition service.
这里,所述用户执行启动手势识别服务的快捷方式可由用户进入到通讯录的联系人列表界面之后完成;所述快捷方式可以图标形式显示于终端的通讯录的联系人列表界面或终端的状态栏、工具栏等界面,也可设置为终端的某一个实体按键。Here, the shortcut for the user to perform the startup gesture recognition service may be completed after the user enters the contact list interface of the address book; the shortcut may be displayed in the form of an icon on the contact list interface of the address book of the terminal or the status bar of the terminal. The interface such as the toolbar can also be set as a physical button of the terminal.
这里,当启动手势识别服务后,为了便于用户获知当前所述手势识别 服务已开启,所述方法还包括:将所述手势识别服务当前的状态通过终端的状态栏图标或者通知栏通知消息提示用户;此外,为了便于用户在联系人查找完毕后或用户因自身原因需要及时快速关闭所述手势识别服务,所述方法还包括:将所述手势识别服务的关闭快捷方式通过终端的状态栏图标或者通知栏通知消息提示用户,用户通过所述关闭快捷方式即可实现关闭所述手势识别服务。Here, after the gesture recognition service is activated, in order to facilitate the user to know the current gesture recognition The method is further configured to: the current state of the gesture recognition service is prompted by the status bar icon of the terminal or the notification bar notification message; in addition, in order to facilitate the user after the contact is searched or the user needs for his own reasons The method for promptly closing the gesture recognition service in a timely manner, the method further includes: prompting the user to close the shortcut mode of the gesture recognition service by using a status bar icon or a notification bar notification message of the terminal, and the user can be closed by the closing shortcut mode. The gesture recognition service.
可选地,所述步骤101之前,所述方法还包括:设置每个字符所对应的手势,并将所述每个字符以及所述每个字符所对应的手势存储至所述映射关系表。Optionally, before the step 101, the method further includes: setting a gesture corresponding to each character, and storing the each character and a gesture corresponding to each character to the mapping relationship table.
这里,所述字符是与通讯录中所存储的联系人的姓名、联系电话等个人信息相关的标识,包括字母、数字、文字、笔画等;所述字符所对应的手势既可以设置为所述字符本身,例如将字母A所对应的手势设置为A,也可以设置为图形等标识,例如将字母A所对应的手势设置正方形。Here, the character is an identifier related to personal information such as a name, a contact telephone number, and the like of a contact stored in the address book, including letters, numbers, characters, strokes, and the like; the gesture corresponding to the character may be set to the The character itself, for example, the gesture corresponding to the letter A is set to A, and may also be set to a graphic or the like, for example, the gesture corresponding to the letter A is set to a square.
步骤102:从映射关系表中获取与所述用户输入的手势相匹配的字符;Step 102: Obtain, from the mapping relationship table, characters that match the gesture input by the user;
具体地,当步骤101中终端识别出用户输入的手势后,终端将所述用户输入的手势与映射关系表中已存储的手势进行匹配,若匹配成功,则从映射关系表中获取与所述用户输入的手势对应的字符,继续执行步骤103;若匹配失败,则返回步骤101。Specifically, after the terminal recognizes the gesture input by the user in step 101, the terminal matches the gesture input by the user with the stored gesture in the mapping relationship table, and if the matching succeeds, the terminal obtains and reports from the mapping relationship table. The character corresponding to the gesture input by the user continues to perform step 103; if the matching fails, the process returns to step 101.
这里,当从映射关系表中获取到与所述用户输入的手势相匹配的字符后,则将所述从映射关系表中获取到的字符显示到通讯录的联系人列表界面的搜索框中;若用户认为所述搜索框中显示的字符不是自己想要的字符,则可将所述搜索框中显示的字符删除,并继续输入手势。Here, after the character matching the gesture input by the user is obtained from the mapping relationship table, the character acquired from the mapping relationship table is displayed in a search box of the contact list interface of the address book; If the user thinks that the character displayed in the search box is not the character that he wants, the character displayed in the search box may be deleted, and the gesture is continued.
步骤103:查找联系人数据库中与所述字符相关的联系人;Step 103: Find a contact in the contact database related to the character;
具体地,当步骤102中获取到与所述用户输入的手势相匹配的字符后,终端查找联系人数据库中与所述字符相关的联系人,若查找到联系人数据库中存在与所述字符相关的联系人,则继续执行步骤104,否则返回步骤101。 Specifically, after the character matching the gesture input by the user is obtained in step 102, the terminal searches for a contact related to the character in the contact database, and if there is a relationship in the contact database, the character is associated with the character. The contact continues to step 104, otherwise returns to step 101.
这里,所述与所述字符相关的联系人,包括:联系人姓名的任意一位首字母为所述字符的联系人、联系人联系电话的任意一位数字为所述字符的联系人、联系人姓名的姓或名为所述字符的联系人、联系人姓名中所包含的任意笔画为所述字符的联系人。Here, the contact related to the character includes: any one of the first name of the contact name is the contact of the character, and any digit of the contact telephone number is the contact of the character, contact The last name of the person's name or the contact named the character, any stroke contained in the contact's name is the contact of the character.
步骤104:调用并向用户显示所述与所述字符相关的联系人。Step 104: Invoke and display the contact related to the character to the user.
具体地,终端调用步骤103中查找到的联系人数据库中存在的与所述字符相关的联系人,并通过联系人列表界面向用户显示所述与所述字符相关的联系人,则用户可从联系人列表界面中显示的所述与所述字符相关的联系人中选择出需要的联系人。Specifically, the terminal invokes the contact related to the character existing in the contact database found in step 103, and displays the contact related to the character to the user through the contact list interface, and the user can The desired contact is selected among the contacts related to the character displayed in the contact list interface.
这里,若所述联系人列表界面显示的所述与所述字符相关的联系人数量过多,导致用户无法快速选择出需要的联系人时,用户可继续通过终端上面的触摸屏输入手势,终端则遍历执行上述步骤101、102、103、104,直至用户选择出需要的联系人。但是需要注意的是,终端根据用户在第一次以后输入的手势从联系人数据库中所获得的联系人必须包含在终端根据用户第一次输入的手势从联系人数据库中所获得的联系人的范围内。Here, if the number of contacts related to the character displayed by the contact list interface is too large, and the user cannot quickly select a desired contact, the user can continue to input a gesture through the touch screen on the terminal, and the terminal The above steps 101, 102, 103, 104 are traversed until the user selects the desired contact. However, it should be noted that the contact obtained by the terminal from the contact database according to the gesture input by the user after the first time must be included in the contact obtained by the terminal from the contact database according to the gesture input by the user for the first time. Within the scope.
这里,若所述联系人列表界面显示的所述与所述字符相关的联系人不是用户所需要的联系人,用户可将所述搜索框中显示的字符删除,并继续输入手势,终端则遍历执行上述步骤101、102、103、104。Here, if the contact related to the character displayed by the contact list interface is not a contact required by the user, the user may delete the character displayed in the search box and continue to input the gesture, and the terminal traverses The above steps 101, 102, 103, 104 are performed.
举例说明:假设设置的字母所对应的手势为该字母本身,用户需要在通讯录中查找联系人“赵利”。启动手势识别服务后,用户通过终端的触摸屏在通讯录的联系人列表界面写出手势“z”,终端将识别出的手势“z”与映射关系表中已存储的手势进行匹配,获得该手势所对应的字母“z”,并将字母“z”显示在联系人列表界面的搜索框中;终端从联系人数据库中匹配到与字母“z”相关的联系人,即联系人姓名的任意一位首字母为“z”的联系人,并将所述与字母“z”相关的联系人显示在联系人列表界面;若无法快速找到联系人“赵利”,用户再次通过终端的触摸屏在联系人列表界面写出手势“l”,终端将识别出的手势“l”与映射关系表中已存 储的手势进行匹配,获得该手势所对应的字母“l”,并将字母“l”显示在通讯录的联系人列表界面的搜索框中;终端从联系人数据库中匹配到与字母“z”和“l”都相关的联系人,即联系人姓名的任意两位首字母中一位为“z”且另一位为“l”的联系人,并将所述与字母“z”和“l”都相关的联系人显示在联系人列表界面,从而获得需要查找的联系人“赵利”。For example: suppose the gesture corresponding to the set letter is the letter itself, the user needs to find the contact "Zhao Li" in the address book. After the gesture recognition service is started, the user writes a gesture “z” in the contact list interface of the address book through the touch screen of the terminal, and the terminal matches the recognized gesture “z” with the stored gesture in the mapping relationship table to obtain the gesture. Corresponding letter "z", and the letter "z" is displayed in the search box of the contact list interface; the terminal matches from the contact database to the contact associated with the letter "z", that is, any one of the contact names The contact with the initial letter "z" displays the contact associated with the letter "z" on the contact list interface; if the contact "Zhao Li" cannot be quickly found, the user contacts the touch screen of the terminal again. The person list interface writes the gesture “l”, and the terminal recognizes the gesture “l” and the existing relationship in the mapping relationship table. The stored gestures are matched, the letter "l" corresponding to the gesture is obtained, and the letter "l" is displayed in the search box of the contact list interface of the address book; the terminal matches the letter "z" from the contact database. The contact associated with "l", that is, one of the two initials of the contact name is "z" and the other is "l", and the letter "z" and " l "All related contacts are displayed on the contact list interface, so as to obtain the contact "Zhao Li" that needs to be found.
为实现上述方法,本发明实施例还提供了一种查找联系人的装置,所述装置可嵌入设置于终端,如图2所示,所述装置包括:识别单元24、获取单元25、查找单元26、处理单元27;其中,In order to implement the above method, the embodiment of the present invention further provides a device for searching for a contact, and the device may be embedded in a terminal. As shown in FIG. 2, the device includes: an identification unit 24, an obtaining unit 25, and a searching unit. 26. Processing unit 27; wherein
所述识别单元24,设置为识别用户输入的手势;The identification unit 24 is configured to recognize a gesture input by the user;
所述获取单元25,设置为从映射关系表中获取与所述用户输入的手势相匹配的字符;The obtaining unit 25 is configured to acquire, from the mapping relationship table, a character that matches the gesture input by the user;
所述查找单元26,设置为查找联系人数据库中与所述字符相关的联系人;The searching unit 26 is configured to search for a contact related to the character in the contact database;
所述处理单元27,设置为调用并向用户显示所述与所述字符相关的联系人。The processing unit 27 is arranged to invoke and display the contact associated with the character to a user.
其中,所述识别单元24,具体设置为:当用户打开终端的通讯录并进入到通讯录的联系人列表界面,并通过终端上面的触摸屏输入手势后,对所述用户输入的手势进行识别,并将已识别出的所述用户输入的手势发送给获取单元25。The identification unit 24 is specifically configured to: when the user opens the address book of the terminal and enters the contact list interface of the address book, and inputs a gesture through the touch screen on the terminal, the gesture input by the user is recognized, The recognized gesture input by the user is sent to the acquisition unit 25.
这里,所述手势可以是字母、数字、文字、笔画、图形等。Here, the gesture may be letters, numbers, words, strokes, graphics, and the like.
这里,对于现有的智能终端例如智能手机而言,用户在联系人列表界面输入手势的过程中,联系人列表会产生滑动,容易使用户产生错乱感觉,不利于用户体验。因此,用户在输入手势之前可关闭联系人列表的滑动功能。Here, for an existing smart terminal such as a smart phone, in the process of inputting a gesture by the user in the contact list interface, the contact list may be slid, which may easily cause the user to feel a disorder, which is not conducive to the user experience. Therefore, the user can turn off the sliding function of the contact list before inputting the gesture.
可选地,所述装置还包括:启动单元21,设置为在所述识别单元24对所述用户输入的手势进行识别之前,启动手势识别服务。 Optionally, the apparatus further comprises: an activation unit 21 configured to activate the gesture recognition service before the recognition unit 24 recognizes the gesture input by the user.
所述启动单元,具体设置为在终端开机过程中直接启动手势识别服务,或接收到用户执行了启动手势识别服务的快捷方式后启动手势识别服务。The activation unit is specifically configured to directly start the gesture recognition service during the startup process of the terminal, or start the gesture recognition service after receiving the shortcut of the user performing the gesture recognition service.
这里,所述用户执行启动手势识别服务的快捷方式可由用户进入到通讯录的联系人列表界面之后完成;所述快捷方式可以图标形式显示于终端的通讯录的联系人列表界面或终端的状态栏、工具栏等界面,也可设置为终端的某一个实体按键。Here, the shortcut for the user to perform the startup gesture recognition service may be completed after the user enters the contact list interface of the address book; the shortcut may be displayed in the form of an icon on the contact list interface of the address book of the terminal or the status bar of the terminal. The interface such as the toolbar can also be set as a physical button of the terminal.
可选地,所述装置还包括:通知单元22,设置为所述启动单元21启动手势识别服务后,将所述手势识别服务当前的状态通过终端状态栏图标或者通知栏通知消息提示用户;和/或,将所述手势识别服务的关闭快捷方式通过终端的状态栏图标或者通知栏通知消息提示用户。Optionally, the device further includes: a notification unit 22, configured to: after the activation unit 21 starts the gesture recognition service, prompting the user by using a terminal status bar icon or a notification bar notification message; and Or, the closing shortcut of the gesture recognition service prompts the user through the status bar icon of the terminal or the notification bar notification message.
这里,当启动手势识别服务后,为了便于用户获知当前所述手势识别服务已开启,所述通知单元22可将所述手势识别服务当前的状态通过状态栏图标或者通知栏通知消息提示用户;此外,为了便于用户在联系人查找完毕后或用户因自身原因需要及时快速关闭所述手势识别服务,所述通知单元22还可将所述手势识别服务的关闭快捷方式通过状态栏图标或者通知栏通知消息提示用户,用户通过所述关闭快捷方式即可实现关闭所述手势识别服务。Here, after the gesture recognition service is started, in order to facilitate the user to know that the gesture recognition service is currently enabled, the notification unit 22 may prompt the user for the current state of the gesture recognition service through a status bar icon or a notification bar notification message; In order to facilitate the user to quickly close the gesture recognition service after the contact is searched for, or the user needs to quickly close the gesture recognition service, the notification unit 22 may also notify the shortcut of the gesture recognition service through the status bar icon or the notification bar. The message prompts the user that the user can disable the gesture recognition service by closing the shortcut.
可选地,所述装置还包括:设置单元23,设置为设置每个字符所对应的手势,并将所述每个字符以及所述每个字符所对应的手势存储至所述映射关系表。Optionally, the device further includes: a setting unit 23 configured to set a gesture corresponding to each character, and store the each character and a gesture corresponding to each character to the mapping relationship table.
这里,所述字符是与通讯录中所存储的联系人的姓名、联系电话等个人信息相关的标识,包括字母、数字、文字、笔画等;所述字符所对应的手势既可以设置为所述字符本身,例如将字母A所对应的手势设置为A,也可以设置为图形等标识,例如将字母A所对应的手势设置正方形。Here, the character is an identifier related to personal information such as a name, a contact telephone number, and the like of a contact stored in the address book, including letters, numbers, characters, strokes, and the like; the gesture corresponding to the character may be set to the The character itself, for example, the gesture corresponding to the letter A is set to A, and may also be set to a graphic or the like, for example, the gesture corresponding to the letter A is set to a square.
所述获取单元25,具体设置为:接收所述识别单元24发送的已识别出的所述用户输入的手势,将所述用户输入的手势与映射关系表中已存储的手势进行匹配,若匹配成功,则从映射关系表中获取与所述用户输入的 手势对应的字符,并将所述字符发送给所述查找单元26;若匹配失败,则继续接收所述识别单元24发送的已识别出的用户输入的手势并与映射关系表中已存储的手势进行匹配。The acquiring unit 25 is specifically configured to: receive the recognized gesture of the user input sent by the identifying unit 24, and match the gesture input by the user with the stored gesture in the mapping relationship table, if the matching If successful, the user input is obtained from the mapping relationship table. Gesture corresponding characters, and send the characters to the searching unit 26; if the matching fails, continue to receive the recognized user input gesture sent by the identifying unit 24 and the stored gestures in the mapping relationship table Make a match.
这里,当所述获取单元25从映射关系表中获取到与所述用户输入的手势相匹配的字符后,则将所述从映射关系表中获取到的字符显示到通讯录的联系人列表界面的搜索框中;若用户认为所述搜索框中显示的字符不是自己想要的字符,则可将所述搜索框中显示的字符删除,并继续输入手势。Here, after the obtaining unit 25 acquires a character matching the gesture input by the user from the mapping relationship table, the character obtained from the mapping relationship table is displayed to the contact list interface of the address book. In the search box; if the user thinks that the character displayed in the search box is not the character that he wants, the character displayed in the search box can be deleted, and the gesture is continued.
所述查找单元26,具体设置为:接收所述获取单元25发送的获取到与所述用户输入的手势相匹配的字符,查找联系人数据库中与所述字符相关的联系人,并将查找到联系人数据库中存在的与所述字符相关的联系人发送给所述处理单元27。The searching unit 26 is specifically configured to: receive a character that is acquired by the acquiring unit 25 and that matches a gesture input by the user, and search for a contact related to the character in the contact database, and find the A contact associated with the character present in the contact database is sent to the processing unit 27.
这里,所述与所述字符相关的联系人,包括:联系人姓名的任意一位首字母为所述字符的联系人、联系人联系电话的任意一位数字为所述字符的联系人、联系人姓名的姓或名为所述字符的联系人、联系人姓名中所包含的任意笔画为所述字符的联系人。Here, the contact related to the character includes: any one of the first name of the contact name is the contact of the character, and any digit of the contact telephone number is the contact of the character, contact The last name of the person's name or the contact named the character, any stroke contained in the contact's name is the contact of the character.
所述处理单元27,具体设置为:调用所述查找单元26查找到联系人数据库中存在的与所述字符相关的联系人,并通过联系人列表界面向用户显示所述与所述字符相关的联系人,则用户可从联系人列表界面中显示的所述与所述字符相关的联系人中选择出需要的联系人。The processing unit 27 is specifically configured to: invoke the searching unit 26 to find a contact related to the character existing in the contact database, and display the related to the character to the user through the contact list interface. The contact, the user can select a desired contact from the contact related to the character displayed in the contact list interface.
这里,若所述联系人列表界面显示的所述与所述字符相关的联系人数量过多,导致用户无法快速选择出需要的联系人时,用户可继续通过终端上面的触摸屏输入手势,则识别单元24、获取单元25、查找单元26、处理单元27依次执行各自功能,直至用户选择出需要的联系人。但是需要注意的是,所述查找单元26根据用户在第一次以后输入的手势从联系人数据库中所获得的联系人必须包含在所述查找单元26根据用户第一次输入的手势从联系人数据库中所获得的联系人的范围内。 Here, if the number of contacts related to the character displayed by the contact list interface is too large, and the user cannot quickly select a desired contact, the user can continue to input a gesture through the touch screen on the terminal, and then identify Unit 24, acquisition unit 25, lookup unit 26, and processing unit 27 sequentially perform respective functions until the user selects the desired contact. However, it should be noted that the contact obtained by the searching unit 26 from the contact database according to the gesture input by the user after the first time must be included in the searching unit 26 from the contact according to the gesture input by the user for the first time. Within the scope of the contacts obtained in the database.
这里,若所述联系人列表界面显示的所述与所述字符相关的联系人不是用户所需要的联系人,用户可将所述搜索框中显示的字符删除,并继续输入手势,则识别单元24、获取单元25、查找单元26、处理单元27依次执行各自功能,直至用户选择出需要的联系人。Here, if the contact related to the character displayed by the contact list interface is not a contact required by the user, the user may delete the character displayed in the search box and continue to input a gesture, and the identification unit 24. The obtaining unit 25, the searching unit 26, and the processing unit 27 sequentially perform respective functions until the user selects a desired contact.
举例说明:假设设置的字母所对应的手势为该字母本身,用户需要在通讯录中查找到联系人“赵含”。启动单元21启动手势识别服务后,用户通过终端的触摸屏在通讯录的联系人列表界面写出手势“z”,获取单元25将识别单元24识别出的手势“z”与映射关系表中已存储的手势进行匹配,获得该手势所对应的字母“z”,并将字母“z”显示在联系人列表界面的搜索框中;查找单元26从联系人数据库中匹配到与字母“z”相关的联系人,即联系人姓名的任意一位首字母为“z”的联系人,处理单元27将所述与字母“z”相关的联系人显示在联系人列表界面;若无法快速找到联系人“赵利”,用户再次通过终端的触摸屏在联系人列表界面写出手势“h”,获取单元25将识别单元24识别出的手势“h”与映射关系表中已存储的手势进行匹配,获得该手势所对应的字母“h”,并将字母“h”显示在通讯录的联系人列表界面的搜索框中;查找单元26从联系人数据库中匹配到与字母“z”和“h”都相关的联系人,即联系人姓名的任意两位首字母中一位为“z”且另一位为“h”的联系人,处理单元27将所述与字母“z”和“h”都相关的联系人显示在联系人列表界面,从而获得需要查找的联系人“赵含”。For example: suppose the gesture corresponding to the set letter is the letter itself, the user needs to find the contact "Zhao Han" in the address book. After the startup unit 21 starts the gesture recognition service, the user writes the gesture “z” in the contact list interface of the address book through the touch screen of the terminal, and the acquisition unit 25 stores the gesture “z” recognized by the recognition unit 24 and the mapping relationship table. The gesture is matched, the letter "z" corresponding to the gesture is obtained, and the letter "z" is displayed in the search box of the contact list interface; the search unit 26 matches from the contact database to the letter "z" The contact, that is, any contact whose initial name is “z”, the processing unit 27 displays the contact related to the letter “z” on the contact list interface; if the contact cannot be quickly found “ Zhao Li", the user again writes the gesture "h" in the contact list interface through the touch screen of the terminal, and the obtaining unit 25 matches the gesture "h" recognized by the recognition unit 24 with the stored gesture in the mapping relationship table, and obtains the The letter "h" corresponding to the gesture, and the letter "h" is displayed in the search box of the contact list interface of the address book; the search unit 26 matches from the contact database The contact whose letter "z" and "h" are related, that is, the contact whose one of the two initials of the contact name is "z" and the other bit is "h", the processing unit 27 will The contacts whose letters "z" and "h" are related are displayed on the contact list interface, thereby obtaining the contact "Zhao Han" which needs to be found.
在实际应用中,所述启动单元21、通知单元22、设置单元23、识别单元24、获取单元25、查找单元26、处理单元27均可由位于终端的中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)、或现场可编程门阵列(FPGA)等实现。In an actual application, the activation unit 21, the notification unit 22, the setting unit 23, the identification unit 24, the acquisition unit 25, the search unit 26, and the processing unit 27 may each be configured by a central processing unit (CPU) and a microprocessor located at the terminal ( MPU), digital signal processor (DSP), or field programmable gate array (FPGA) implementation.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质中存储有执行指令,该执行指令用于执行上述的方法。Embodiments of the present invention also provide a storage medium. Optionally, in this embodiment, an execution instruction is stored in the storage medium, and the execution instruction is used to execute the foregoing method.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只 读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but is not limited to: a USB flash drive, only Read-Only Memory (ROM), Random Access Memory (RAM), mobile hard disk, disk or optical disk, and other media that can store program code.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和范围之内所作的任何修改、等同替换和改进等,均包含在本发明的保护范围之内。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present invention are included in the scope of the present invention.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种查找联系人的方法和装置具有以下有益效果:通过将用户输入的手势匹配至与所述手势对应的字符,然后从联系人数据库中快速查找出与所述字符相关的联系人并向用户显示,如此,能够实现对联系人的快速、精确查找,且操作简单。 As described above, a method and apparatus for finding a contact provided by an embodiment of the present invention have the following beneficial effects: by matching a gesture input by a user to a character corresponding to the gesture, and then quickly finding out from the contact database. The character-related contacts are displayed to the user, and thus, a quick and accurate search of the contacts can be realized, and the operation is simple.

Claims (12)

  1. 一种查找联系人的方法,所述方法包括:A method of finding a contact, the method comprising:
    识别用户输入的手势;Identify gestures entered by the user;
    从映射关系表中获取与所述用户输入的手势相匹配的字符;Obtaining a character matching the gesture input by the user from the mapping relationship table;
    查找联系人数据库中与所述字符相关的联系人;Find contacts in the contact database that are related to the characters;
    调用并向用户显示所述与所述字符相关的联系人。The contact associated with the character is called and displayed to the user.
  2. 根据权利要求1所述的方法,其中,所述识别用户输入的手势之前,所述方法还包括:启动手势识别服务。The method of claim 1, wherein before the recognizing a gesture input by a user, the method further comprises: initiating a gesture recognition service.
  3. 根据权利要求2所述的方法,其中,所述启动手势识别服务,包括:在开机过程中启动手势识别服务,或接收到用户执行了快捷方式的命令后启动手势识别服务。The method according to claim 2, wherein the initiating the gesture recognition service comprises: initiating a gesture recognition service during the booting process, or initiating the gesture recognition service after receiving a command by the user to execute the shortcut.
  4. 根据权利要求2所述的方法,其中,所述启动手势识别服务后,所述方法还包括:The method of claim 2, wherein after the initiating the gesture recognition service, the method further comprises:
    将所述手势识别服务当前的状态通过状态栏图标或者通知栏通知消息提示用户;和/或,The current state of the gesture recognition service is prompted by the status bar icon or the notification bar notification message; and/or,
    将所述手势识别服务的关闭快捷方式通过状态栏图标或者通知栏通知消息提示用户。The closing shortcut of the gesture recognition service prompts the user through a status bar icon or a notification bar notification message.
  5. 根据权利要求1至4任一项所述的方法,其中,所述识别用户输入的手势之前,所述方法还包括:The method according to any one of claims 1 to 4, wherein before the recognizing a gesture input by a user, the method further comprises:
    设置每个字符所对应的手势,并将所述每个字符以及所述每个字符所对应的手势存储至所述映射关系表。A gesture corresponding to each character is set, and each of the characters and a gesture corresponding to each character are stored in the mapping relationship table.
  6. 根据权利要求5所述的方法,其中,所述与所述字符相关的联系人,包括:联系人姓名的任意一位首字母为所述字符的联系人、联系人联系电话的任意一位数字为所述字符的联系人、联系人姓名的姓或名为所述字符的联系人。The method according to claim 5, wherein said contact associated with said character comprises: any one of the first name of the contact name is a contact of said character, any one digit of a contact telephone number of the contact The contact for the character, the last name of the contact name, or the contact named the character.
  7. 一种查找联系人的装置,所述装置包括:识别单元、获取单元、 查找单元、处理单元;其中,A device for finding a contact, the device comprising: an identification unit, an acquisition unit, Search unit, processing unit; wherein
    所述识别单元,设置为识别用户输入的手势;The identification unit is configured to recognize a gesture input by the user;
    所述获取单元,设置为从映射关系表中获取与所述用户输入的手势相匹配的字符;The obtaining unit is configured to acquire, from the mapping relationship table, a character that matches a gesture input by the user;
    所述查找单元,设置为查找联系人数据库中与所述字符相关的联系人;The searching unit is configured to search for a contact related to the character in a contact database;
    所述处理单元,设置为调用并向用户显示所述与所述字符相关的联系人。The processing unit is configured to invoke and display the contact associated with the character to a user.
  8. 根据权利要求7所述的装置,其中,所述装置还包括:启动单元,设置为启动手势识别服务。The apparatus of claim 7, wherein the apparatus further comprises: an activation unit configured to initiate a gesture recognition service.
  9. 根据权利要求8所述的装置,其中,所述启动单元,具体设置为:在开机过程中启动手势识别服务,或接收到用户执行了快捷方式的命令后启动手势识别服务。The device according to claim 8, wherein the activation unit is specifically configured to: initiate a gesture recognition service during the booting process, or initiate a gesture recognition service after receiving a command by the user to execute the shortcut.
  10. 根据权利要求8所述的装置,其中,所述装置还包括:通知单元,设置为在所述启动单元启动手势识别服务后,将所述手势识别服务当前的状态通过状态栏图标或者通知栏通知消息提示用户;和/或,在所述启动单元启动手势识别服务后,将所述手势识别服务的关闭快捷方式通过状态栏图标或者通知栏通知消息提示用户。The device according to claim 8, wherein the device further comprises: a notification unit configured to notify the current state of the gesture recognition service through a status bar icon or a notification bar after the activation unit activates the gesture recognition service The message prompts the user; and/or, after the activation unit starts the gesture recognition service, prompts the user to close the shortcut of the gesture recognition service through a status bar icon or a notification bar notification message.
  11. 根据权利要求7至10任一项所述的装置,其中,所述装置还包括:设置单元,设置为设置每个字符所对应的手势,并将所述每个字符以及所述每个字符所对应的手势存储至所述映射关系表。The apparatus according to any one of claims 7 to 10, wherein the apparatus further comprises: a setting unit configured to set a gesture corresponding to each character, and to each of the characters and each of the characters The corresponding gesture is stored to the mapping relationship table.
  12. 根据权利要求11所述的装置,其中,所述与所述字符相关的联系人,包括:联系人姓名的任意一位首字母为所述字符的联系人、联系人联系电话的任意一位数字为所述字符的联系人、联系人姓名的姓或名为所述字符的联系人。 The device according to claim 11, wherein the contact related to the character comprises: any one of the first name of the contact name is a contact of the character, and any digit of the contact telephone number of the contact The contact for the character, the last name of the contact name, or the contact named the character.
PCT/CN2016/103289 2016-06-28 2016-10-25 Contact lookup method and device WO2018000669A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610489165.9A CN107547714A (en) 2016-06-28 2016-06-28 A kind of method and apparatus for searching contact person
CN201610489165.9 2016-06-28

Publications (1)

Publication Number Publication Date
WO2018000669A1 true WO2018000669A1 (en) 2018-01-04

Family

ID=60785801

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/103289 WO2018000669A1 (en) 2016-06-28 2016-10-25 Contact lookup method and device

Country Status (2)

Country Link
CN (1) CN107547714A (en)
WO (1) WO2018000669A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032483A (en) * 2018-07-05 2018-12-18 北京奇艺世纪科技有限公司 Content search method and device
CN111198646A (en) * 2019-12-11 2020-05-26 秒针信息技术有限公司 Voice information acquisition method and device, storage medium and electronic device
CN112363664A (en) * 2020-11-30 2021-02-12 歌尔科技有限公司 Wearable device, data display method thereof, and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100169841A1 (en) * 2008-12-30 2010-07-01 T-Mobile Usa, Inc. Handwriting manipulation for conducting a search over multiple databases
CN102819567A (en) * 2012-07-17 2012-12-12 重庆优腾信息技术有限公司 Method and system for searching contact information in electronic equipment
CN104199968A (en) * 2014-09-23 2014-12-10 陈包容 Method and device for searching information of contacts on basis of custom pattern recognition
CN105072278A (en) * 2015-08-20 2015-11-18 广东欧珀移动通信有限公司 Method and mobile phone for rapidly dialling telephone of appointed contact person in black screen state
CN105635400A (en) * 2016-01-27 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Contact information query method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100169841A1 (en) * 2008-12-30 2010-07-01 T-Mobile Usa, Inc. Handwriting manipulation for conducting a search over multiple databases
CN102819567A (en) * 2012-07-17 2012-12-12 重庆优腾信息技术有限公司 Method and system for searching contact information in electronic equipment
CN104199968A (en) * 2014-09-23 2014-12-10 陈包容 Method and device for searching information of contacts on basis of custom pattern recognition
CN105072278A (en) * 2015-08-20 2015-11-18 广东欧珀移动通信有限公司 Method and mobile phone for rapidly dialling telephone of appointed contact person in black screen state
CN105635400A (en) * 2016-01-27 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Contact information query method and system

Also Published As

Publication number Publication date
CN107547714A (en) 2018-01-05

Similar Documents

Publication Publication Date Title
US10275022B2 (en) Audio-visual interaction with user devices
US10923118B2 (en) Speech recognition based audio input and editing method and terminal device
US10795942B2 (en) Method and device for residing short message verification code
US10789078B2 (en) Method and system for inputting information
JP5860171B2 (en) Input processing method and apparatus
WO2016015438A1 (en) Operation method and operation apparatus for mobile intelligent terminal, mobile intelligent terminal and non-volatile computer storage medium
CN108089727A (en) For the touch keypad of screen
US20090247219A1 (en) Method of generating a function output from a photographed image and related mobile computing device
TWI626591B (en) System and method for switching applications
WO2009074047A1 (en) Method, system, device and terminal for correcting touch screen error
CN111490927B (en) Method, device and equipment for displaying message
WO2017185466A1 (en) Intelligent terminal operating method and system
WO2018000669A1 (en) Contact lookup method and device
WO2022022566A1 (en) Graphic code identification method and apparatus and electronic device
WO2015139196A1 (en) Method, device, and terminal for inputting text
CN106095128B (en) Character input method of mobile terminal and mobile terminal
CN109388249B (en) Input information processing method and device, terminal and readable storage medium
CA2747304C (en) Quick directory search system on a touch screen device and methods thereof
RU2636673C2 (en) Method and device for line saving
WO2017071213A1 (en) Method and device for searching for contacts
WO2011015044A1 (en) Method, device, and mobile terminal for data query
WO2019218994A1 (en) Object batching method and apparatus
JP6589532B2 (en) Information processing apparatus and control method of information processing apparatus
WO2018054127A1 (en) Handwriting input method and device
CN114124875B (en) Voice message processing method, device, electronic equipment and medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16907065

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16907065

Country of ref document: EP

Kind code of ref document: A1