[go: up one dir, main page]

CN106325741A - Information selection method and device - Google Patents

Information selection method and device Download PDF

Info

Publication number
CN106325741A
CN106325741A CN201610670865.8A CN201610670865A CN106325741A CN 106325741 A CN106325741 A CN 106325741A CN 201610670865 A CN201610670865 A CN 201610670865A CN 106325741 A CN106325741 A CN 106325741A
Authority
CN
China
Prior art keywords
information
user
finger
closed area
movement
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201610670865.8A
Other languages
Chinese (zh)
Inventor
张�浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201610670865.8A priority Critical patent/CN106325741A/en
Publication of CN106325741A publication Critical patent/CN106325741A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明适用于信息处理领域,提供了一种信息选取方法及装置。所述方法包括:接收信息选取开关的打开指令,打开信息选取开关;检测用户手指的移动轨迹;选取所述用户手指的移动轨迹对应的第一闭合区域内的信息。通过上述方法使得选取的信息更精确。

The present invention is applicable to the field of information processing, and provides an information selection method and device. The method comprises: receiving an opening instruction of an information selection switch, turning on the information selection switch; detecting the movement trajectory of a user's finger; and selecting information in a first closed area corresponding to the movement trajectory of the user's finger. The above method makes the selected information more accurate.

Description

信息选取方法及装置Information selection method and device

技术领域technical field

本发明实施例属于信息处理领域,尤其涉及一种信息选取方法及装置。The embodiments of the present invention belong to the field of information processing, and in particular relate to an information selection method and device.

背景技术Background technique

目前,智能终端能够对显示的信息进行多种控制,比如,复制、黏贴、删除等。At present, the smart terminal can perform multiple controls on displayed information, such as copying, pasting, and deleting.

在对显示的信息执行操作之前,需要选取希望被执行操作的信息。现有的信息选取方法中,主要通过以矩形框选取希望被执行操作的信息,由于矩形框可能会选取无效的信息,因此导致选取的信息的准确度过低。Before performing operations on the displayed information, you need to select the information you want to perform operations on. In the existing information selection method, the information to be operated is mainly selected by using a rectangular frame. Since the rectangular frame may select invalid information, the accuracy of the selected information is too low.

发明内容Contents of the invention

本发明实施例提供了一种信息选取方法及装置,旨在解决现有的方法选取的信息的准确度过低的问题。Embodiments of the present invention provide an information selection method and device, aiming to solve the problem that the accuracy of information selected by existing methods is too low.

本发明实施例是这样实现的,一种信息选取方法,所述方法包括:The embodiment of the present invention is achieved in this way, an information selection method, the method comprising:

接收信息选取开关的打开指令,打开信息选取开关;receiving an opening instruction of the information selection switch, and turning on the information selection switch;

检测用户手指的移动轨迹;Detect the movement track of the user's finger;

选取所述用户手指的移动轨迹对应的第一闭合区域内的信息。Selecting information in the first closed area corresponding to the movement track of the user's finger.

本发明实施例的另一目的在于提供一种信息选取装置,所述装置包括:Another object of the embodiments of the present invention is to provide an information selection device, the device comprising:

信息选取开关的打开指令接收单元,用于接收信息选取开关的打开指令,打开信息选取开关;The opening instruction receiving unit of the information selection switch is used to receive the opening instruction of the information selection switch and open the information selection switch;

移动轨迹检测单元,用于检测用户手指的移动轨迹;A movement trajectory detection unit, configured to detect the movement trajectory of the user's finger;

信息选取单元,用于选取所述用户手指的移动轨迹对应的第一闭合区域内的信息。The information selecting unit is configured to select information in the first closed area corresponding to the movement track of the user's finger.

在本发明实施例中,由于能够选取用户手指的移动轨迹对应的第一闭合区域内的信息,而用户手指的移动轨迹的形状是自由变化的,因此,使得选取的信息更精确。In the embodiment of the present invention, since the information in the first closed area corresponding to the movement trajectory of the user's finger can be selected, and the shape of the movement trajectory of the user's finger can change freely, the selected information is more accurate.

附图说明Description of drawings

图1是本发明第一实施例提供的一种信息选取方法的流程图;Fig. 1 is a flowchart of an information selection method provided by the first embodiment of the present invention;

图2是本发明第一实施例提供的用户手指的移动轨迹的示意图;Fig. 2 is a schematic diagram of the movement track of the user's finger provided by the first embodiment of the present invention;

图3是本发明第二实施例提供的一种信息选取装置的结构图。Fig. 3 is a structural diagram of an information selection device provided by the second embodiment of the present invention.

具体实施方式detailed description

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

本发明实施例中,接收信息选取开关的打开指令,打开信息选取开关,检测用户手指的移动轨迹,选取所述用户手指的移动轨迹对应的第一闭合区域内的信息。In the embodiment of the present invention, an instruction to open the information selection switch is received, the information selection switch is turned on, the movement trajectory of the user's finger is detected, and the information in the first closed area corresponding to the movement trajectory of the user's finger is selected.

为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions of the present invention, specific examples are used below to illustrate.

实施例一:Embodiment one:

图1示出了本发明第一实施例提供的一种信息选取方法的流程图,详述如下:Figure 1 shows a flow chart of an information selection method provided by the first embodiment of the present invention, which is described in detail as follows:

步骤S11,接收信息选取开关的打开指令,打开信息选取开关。Step S11, receiving an instruction to turn on the information selection switch, and turning on the information selection switch.

具体地,该信息选取开关的打开指令可通过以下任一种方式发出:用户通过触摸或按压指定的按键发出,或者,在智能终端检测到用户的指定动作,如检测到用户的眨眼次数在预设的开关打开范围时,智能终端默认接收到信息选取开关的打开指令。Specifically, the instruction to open the information selection switch can be issued in any of the following ways: the user sends out by touching or pressing a designated button, or the smart terminal detects the user's designated action, such as detecting that the user's blinking times are within the preset time limit. When the set switch opens the range, the smart terminal receives the command to open the information selection switch by default.

步骤S12,检测用户手指的移动轨迹。Step S12, detecting the movement track of the user's finger.

具体地,用户手指的移动轨迹是指用户手指在一次移动过程中各个位置组成的移动轨迹。为了便于用户知悉智能终端检测到的用户手指的移动轨迹,则显示检测到的用户手指的移动轨迹,例如,以曲线显示检测到的用户手指的移动轨迹。Specifically, the movement trajectory of the user's finger refers to the movement trajectory composed of various positions of the user's finger during one movement. In order for the user to know the moving track of the user's finger detected by the smart terminal, the detected moving track of the user's finger is displayed, for example, the detected moving track of the user's finger is displayed in a curve.

该步骤中,用户手指的移动轨迹包括用户手指直接触摸智能终端的屏幕形成的移动轨迹,也包括不直接触摸智能终端的屏幕形成的移动轨迹,此时,所述步骤S12具体包括:In this step, the movement trajectory of the user's finger includes the movement trajectory formed by the user's finger directly touching the screen of the smart terminal, and also includes the movement trajectory formed by not directly touching the screen of the smart terminal. At this time, the step S12 specifically includes:

A1、检测用户手指是否在屏幕上。具体地,通过设置在屏幕上的传感器检测当前用户手指是否在屏幕上。A1. Detect whether the user's finger is on the screen. Specifically, whether the current user's finger is on the screen is detected by a sensor provided on the screen.

A2、在用户手指在屏幕上时,检测用户手指在本次移动过程对应的移动轨迹。具体地,记录首次检测到用户手指时,用户手指在屏幕上的初始位置,继续记录用户手指在初始位置移动时在屏幕上对应的各个位置,当用户手指离开屏幕时,停止检测,已记录的各个位置形成用户手指在本次移动过程对应的移动轨迹。A2. When the user's finger is on the screen, detect the movement track corresponding to the user's finger during this movement process. Specifically, record the initial position of the user's finger on the screen when the user's finger is detected for the first time, and continue to record the corresponding positions on the screen when the user's finger moves from the initial position. When the user's finger leaves the screen, the detection is stopped, and the recorded Each position forms a movement track corresponding to the user's finger in this movement process.

A3、在用户手指不在屏幕上时,确定用户手指在屏幕上的投影,检测用户手指在屏幕上的投影在本次移动过程对应的移动轨迹。具体地,记录首次检测到用户手指在屏幕上的投影所在的初始位置,继续记录用户手指在初始位置移动时,用户手指的投影在屏幕上对应的各个位置,当不再检测到用户手指的投影时,停止检测,已记录的用户手指的投影在屏幕上的各个位置形成用户手指在本次移动过程对应的移动轨迹。A3. When the user's finger is not on the screen, determine the projection of the user's finger on the screen, and detect the movement trajectory corresponding to the projection of the user's finger on the screen during this movement process. Specifically, record the initial position where the projection of the user's finger on the screen is detected for the first time, continue to record the corresponding positions of the projection of the user's finger on the screen when the user's finger moves at the initial position, and when the projection of the user's finger is no longer detected , the detection is stopped, and the recorded projections of the user's finger are projected at various positions on the screen to form the corresponding movement track of the user's finger during this movement process.

上述A1~A3中,由于能够检测出用户手指通过2种不同方式形成的移动轨迹,因此,丰富了用户的选择,提高了操作的便利性及灵活性。In the above-mentioned A1-A3, since the movement trajectory formed by the user's finger in two different ways can be detected, the choices of the user are enriched, and the convenience and flexibility of operation are improved.

步骤S13,选取所述用户手指的移动轨迹对应的第一闭合区域内的信息。Step S13, selecting information in the first closed area corresponding to the movement track of the user's finger.

如图2所示,曲线内的信息为用户手指的移动轨迹对应的第一闭合区域内的信息。As shown in FIG. 2 , the information in the curve is the information in the first closed area corresponding to the movement track of the user's finger.

可选地,由于用户手指在移动过程中有可能选取到无效信息,因此,为了剔除已被选取的无效信息,在所述步骤S13之后,包括:Optionally, since invalid information may be selected during the movement of the user's finger, in order to remove the selected invalid information, after the step S13, include:

B1、检测用户手指在所述第一闭合区域内的移动轨迹。B1. Detecting a movement track of the user's finger within the first closed area.

B2、在所述用户手指在所述第一闭合区域内的移动轨迹形成第二闭合区域内时,选取所述用户手指的移动轨迹对应的第一闭合区域内且不包括所述第二闭合区域内的信息。B2. When the moving track of the user's finger in the first closed area forms a second closed area, select the first closed area corresponding to the moving track of the user's finger and not include the second closed area information within.

上述B1和B2中,当在第一闭合区域内再次检测到用户手指的移动轨迹后,则判断再次检测到的移动轨迹是否形成第二闭合区域,若是,则表明用户希望从第一闭合区域剔除该第二闭合区域内的信息,否则,在用户手指在第一闭合区域内的移动轨迹没有形成第二闭合区域时,不剔除第一闭合区域内的信息。In the above-mentioned B1 and B2, when the movement trajectory of the user’s finger is detected again in the first closed area, it is judged whether the detected movement trajectory forms the second closed area, and if so, it indicates that the user wishes to be removed from the first closed area. The information in the second closed area, otherwise, when the movement track of the user's finger in the first closed area does not form the second closed area, the information in the first closed area is not discarded.

可选地,在用户希望搜索与选取的信息相关的信息时,在所述B2之后,包括:Optionally, when the user wishes to search for information related to the selected information, after the B2, include:

B21、识别选取的所述用户手指的移动轨迹对应的第一闭合区域内且不包括所述第二闭合区域内的信息。B21. Identifying information in the first closed area corresponding to the selected movement track of the user's finger and not including the second closed area.

B22、根据识别结果搜索对应的信息。B22. Search for corresponding information according to the recognition result.

B23、输出搜索结果。B23. Outputting search results.

上述B21~B23中,由于剔除第二闭合区域内的信息后再执行搜索动作,因此,能够提高搜索速度。In the above-mentioned B21-B23, since the search operation is performed after excluding the information in the second closed area, the search speed can be improved.

可选地,由于用户选取信息时,通常只希望选取文本信息,因此,为了减少用户后续的操作,在所述步骤S13之后,包括:Optionally, since the user usually only wants to select text information when selecting information, in order to reduce the user's subsequent operations, after the step S13, include:

C1、判断所述第一闭合区域内的信息是否同时包括文本信息和图片信息。C1. Determine whether the information in the first closed area includes both text information and picture information.

C2、在所述第一闭合区域内的信息同时包括文本信息和图片信息时,删除所述第一闭合区域内包括的图片信息,并将删除所述第一闭合区域内包括的图片信息得到的信息作为最终的用户手指的移动轨迹对应的第一闭合区域内的信息。C2. When the information in the first closed area includes both text information and picture information, delete the picture information included in the first closed area, and delete the picture information included in the first closed area to obtain The information is used as the information in the first closed area corresponding to the final movement track of the user's finger.

当然,在步骤S13之后,若接收到复制指令或删除指令,则复制第一闭合区域内的信息或删除第一闭合区域内的信息。Certainly, after step S13, if a copy instruction or a delete instruction is received, the information in the first closed area is copied or the information in the first closed area is deleted.

可选地,用户可通过以下方式执行搜索动作,在所述步骤S12之前,包括:Optionally, the user may perform a search action in the following manner, before step S12, including:

获取摄像头前方的图片。具体地,通过设置在智能终端的摄像头拍摄摄像头前方的事物,得到对应的图片,如包含书本的某个题目对应的图片。Get the picture in front of the camera. Specifically, the camera installed on the smart terminal shoots things in front of the camera to obtain corresponding pictures, such as pictures corresponding to a certain title including a book.

此时,所述步骤S12具体为:检测用户手指在图片的移动轨迹。At this time, the step S12 is specifically: detecting the moving track of the user's finger in the picture.

在所述步骤S13之后,包括:After the step S13, including:

识别选取的所述用户手指的移动轨迹对应的第一闭合区域内且的信息;根据识别结果搜索对应的信息;输出搜索结果。Identifying information in the first closed area corresponding to the selected movement track of the user's finger; searching for corresponding information according to the identification result; and outputting the search result.

通过上述步骤能够对获取的图片包括的信息进行再次过滤,从而减少了搜索信息量及冗余量,提高了搜索速度以及搜索精度。Through the above steps, the information contained in the acquired pictures can be filtered again, thereby reducing the amount of search information and redundancy, and improving the search speed and search accuracy.

本发明第一实施例中,接收信息选取开关的打开指令,打开信息选取开关,检测用户手指的移动轨迹,选取所述用户手指的移动轨迹对应的第一闭合区域内的信息。由于能够选取用户手指的移动轨迹对应的第一闭合区域内的信息,而用户手指的移动轨迹的形状是自由变化的,因此,使得选取的信息更精确。In the first embodiment of the present invention, an instruction to open the information selection switch is received, the information selection switch is turned on, the movement trajectory of the user's finger is detected, and the information in the first closed area corresponding to the movement trajectory of the user's finger is selected. Since the information in the first closed area corresponding to the movement track of the user's finger can be selected, and the shape of the movement track of the user's finger can be changed freely, the selected information is more accurate.

应理解,在本发明实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that in the embodiment of the present invention, the sequence numbers of the above-mentioned processes do not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, rather than the implementation process of the embodiment of the present invention. constitute any limitation.

实施例二:Embodiment two:

图3示出了本发明第二实施例提供的一种信息选取装置的结构图,该信息选取装置可应用于各种智能终端中,该智能终端可以包括经无线接入网RAN与一个或多个核心网进行通信的用户设备,该用户设备可以是移动电话(或称为“蜂窝”电话)、具有移动设备的计算机等,例如,用户设备还可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语音和/或数据。又例如,该移动设备可以包括智能手机、平板电脑、个人数字助理PDA、销售终端POS或车载电脑等。为了便于说明,仅示出了与本发明实施例相关的部分。Fig. 3 shows a structural diagram of an information selection device provided by the second embodiment of the present invention. The information selection device can be applied to various smart terminals, and the smart terminal can include a radio access network RAN and one or more A user equipment that communicates with a core network, the user equipment can be a mobile phone (or called a "cellular" phone), a computer with a mobile device, etc., for example, the user equipment can also be portable, pocket, handheld, computer built-in on-board or on-board mobile devices that exchange voice and/or data with the radio access network. For another example, the mobile device may include a smart phone, a tablet computer, a personal digital assistant PDA, a sales terminal POS, or a vehicle-mounted computer. For ease of description, only parts related to the embodiments of the present invention are shown.

该信息选取装置包括:信息选取开关的打开指令接收单元31、移动轨迹检测单元32、信息选取单元33。其中:The information selection device includes: an information selection switch open instruction receiving unit 31 , a moving trajectory detection unit 32 , and an information selection unit 33 . in:

信息选取开关的打开指令接收单元31,用于接收信息选取开关的打开指令,打开信息选取开关。The opening instruction receiving unit 31 of the information selection switch is configured to receive the opening instruction of the information selection switch, and open the information selection switch.

具体地,该信息选取开关的打开指令可通过以下任一种方式发出:用户通过触摸或按压指定的按键发出,或者,在智能终端检测到用户的指定动作,如检测到用户的眨眼次数在预设的开关打开范围时,智能终端默认接收到信息选取开关的打开指令。Specifically, the instruction to open the information selection switch can be issued in any of the following ways: the user sends out by touching or pressing a designated button, or the smart terminal detects the user's designated action, such as detecting that the user's blinking times are within the preset time limit. When the set switch opens the range, the smart terminal receives the command to open the information selection switch by default.

移动轨迹检测单元32,用于检测用户手指的移动轨迹。The movement trajectory detection unit 32 is configured to detect the movement trajectory of the user's finger.

具体地,用户手指的移动轨迹是指用户手指在一次移动过程中各个位置组成的移动轨迹。为了便于用户知悉智能终端检测到的用户手指的移动轨迹,则显示检测到的用户手指的移动轨迹,例如,以曲线显示检测到的用户手指的移动轨迹。Specifically, the movement trajectory of the user's finger refers to the movement trajectory composed of various positions of the user's finger during one movement. In order for the user to know the moving track of the user's finger detected by the smart terminal, the detected moving track of the user's finger is displayed, for example, the detected moving track of the user's finger is displayed in a curve.

可选地,用户手指的移动轨迹包括用户手指直接触摸智能终端的屏幕形成的移动轨迹,也包括不直接触摸智能终端的屏幕形成的移动轨迹,此时,所述移动轨迹检测单元32包括:Optionally, the movement trajectory of the user's finger includes the movement trajectory formed by the user's finger directly touching the screen of the smart terminal, and also includes the movement trajectory formed by not directly touching the screen of the smart terminal. At this time, the movement trajectory detection unit 32 includes:

手指位置检测模块,用于检测用户手指是否在屏幕上。具体地,通过设置在屏幕上的传感器检测当前用户手指是否在屏幕上。The finger position detection module is used to detect whether the user's finger is on the screen. Specifically, whether the current user's finger is on the screen is detected by a sensor provided on the screen.

第一用户手指移动轨迹检测模块,用于在用户手指在屏幕上时,检测用户手指在本次移动过程对应的移动轨迹。具体地,记录首次检测到用户手指时,用户手指在屏幕上的初始位置,继续记录用户手指在初始位置移动时在屏幕上对应的各个位置,当用户手指离开屏幕时,停止检测,已记录的各个位置形成用户手指在本次移动过程对应的移动轨迹。The first user's finger movement trajectory detection module is configured to detect the movement trajectory corresponding to the user's finger in the current movement process when the user's finger is on the screen. Specifically, record the initial position of the user's finger on the screen when the user's finger is detected for the first time, and continue to record the corresponding positions on the screen when the user's finger moves from the initial position. When the user's finger leaves the screen, the detection is stopped, and the recorded Each position forms a movement track corresponding to the user's finger in this movement process.

第二用户手指移动轨迹检测模块,用于在用户手指不在屏幕上时,确定用户手指在屏幕上的投影,检测用户手指在屏幕上的投影在本次移动过程对应的移动轨迹。具体地,记录首次检测到用户手指在屏幕上的投影所在的初始位置,继续记录用户手指在初始位置移动时,用户手指的投影在屏幕上对应的各个位置,当不再检测到用户手指的投影时,停止检测,已记录的用户手指的投影在屏幕上的各个位置形成用户手指在本次移动过程对应的移动轨迹。The second user's finger movement trajectory detection module is used to determine the projection of the user's finger on the screen when the user's finger is not on the screen, and detect the movement trajectory corresponding to the projection of the user's finger on the screen during this movement process. Specifically, record the initial position where the projection of the user's finger on the screen is detected for the first time, continue to record the corresponding positions of the projection of the user's finger on the screen when the user's finger moves at the initial position, and when the projection of the user's finger is no longer detected , the detection is stopped, and the recorded projections of the user's finger are projected at various positions on the screen to form the corresponding movement track of the user's finger during this movement process.

信息选取单元33,用于选取所述用户手指的移动轨迹对应的第一闭合区域内的信息。The information selecting unit 33 is configured to select information in the first closed area corresponding to the movement track of the user's finger.

可选地,所述信息选取装置包括:Optionally, the information selection means includes:

移动轨迹再次检测单元,用于检测用户手指在所述第一闭合区域内的移动轨迹。The movement trace re-detection unit is configured to detect the movement trace of the user's finger in the first closed area.

信息剔除单元,用于在所述用户手指在所述第一闭合区域内的移动轨迹形成第二闭合区域内时,选取所述用户手指的移动轨迹对应的第一闭合区域内且不包括所述第二闭合区域内的信息。An information elimination unit, configured to select the first closed area corresponding to the moving track of the user's finger and not including the Information within the second closed area.

上述移动轨迹再次检测单元和信息剔除单元中,当在第一闭合区域内再次检测到用户手指的移动轨迹后,则判断再次检测到的移动轨迹是否形成第二闭合区域,若是,则表明用户希望从第一闭合区域剔除该第二闭合区域内的信息,否则,在用户手指在第一闭合区域内的移动轨迹没有形成第二闭合区域时,不剔除第一闭合区域内的信息。In the above-mentioned moving track re-detection unit and information elimination unit, when the moving track of the user's finger is detected again in the first closed area, it is judged whether the detected moving track forms a second closed area, and if so, it indicates that the user wishes to The information in the second closed area is deleted from the first closed area, otherwise, when the movement track of the user's finger in the first closed area does not form the second closed area, the information in the first closed area is not deleted.

可选地,所述信息选取装置包括:Optionally, the information selection means includes:

剩余信息搜索单元,用于识别选取的所述用户手指的移动轨迹对应的第一闭合区域内且不包括所述第二闭合区域内的信息,根据识别结果搜索对应的信息,输出搜索结果。The remaining information searching unit is configured to identify information in the selected first closed area corresponding to the movement track of the user's finger and not including the second closed area, search for corresponding information according to the identification result, and output the search result.

由于剔除第二闭合区域内的信息后再执行搜索动作,因此,能够提高搜索速度。Since the search action is performed after removing the information in the second closed area, the search speed can be improved.

可选地,所述信息选取装置包括:Optionally, the information selection means includes:

图片获取单元,用于获取摄像头前方的图片。The picture acquisition unit is used to acquire the picture in front of the camera.

所述移动轨迹检测单元具体用于检测用户手指在图片的移动轨迹。The movement track detection unit is specifically used to detect the movement track of the user's finger in the picture.

在所述选取所述用户手指的移动轨迹对应的第一闭合区域内的信息之后,所述装置包括:After selecting the information in the first closed area corresponding to the movement track of the user's finger, the device includes:

信息识别单元,用于识别选取的所述用户手指的移动轨迹对应的第一闭合区域内且的信息。The information identification unit is configured to identify the selected information within the first closed area corresponding to the movement track of the user's finger.

信息搜索单元,用于根据识别结果搜索对应的信息。An information search unit, configured to search for corresponding information according to the recognition result.

搜索结果输出单元,用于输出搜索结果。The search result output unit is used for outputting search results.

通过上述图片获取单元、移动轨迹检测单元、信息选取单元、信息识别单元、信息搜索单元、搜索结果输出单元,能够对获取的图片包括的信息进行再次过滤,从而减少了搜索信息量及冗余量,提高了搜索速度以及搜索精度。Through the above picture acquisition unit, moving track detection unit, information selection unit, information identification unit, information search unit, and search result output unit, the information included in the acquired picture can be filtered again, thereby reducing the amount of search information and redundancy , improving the search speed and search accuracy.

可选地,由于用户选取信息时,通常只希望选取文本信息,因此,为了减少用户后续的操作,所述信息选取装置包括:Optionally, since the user usually only wants to select text information when selecting information, in order to reduce the user's subsequent operations, the information selecting means includes:

信息判断单元,用于判断所述第一闭合区域内的信息是否同时包括文本信息和图片信息。An information judging unit, configured to judge whether the information in the first closed area includes both text information and picture information.

信息过滤单元,用于在所述第一闭合区域内的信息同时包括文本信息和图片信息时,删除所述第一闭合区域内包括的图片信息,并将删除所述第一闭合区域内包括的图片信息得到的信息作为最终的用户手指的移动轨迹对应的第一闭合区域内的信息。An information filtering unit, configured to delete the picture information included in the first closed area when the information in the first closed area includes both text information and picture information, and delete the text information included in the first closed area The information obtained from the picture information is used as the information in the first closed area corresponding to the final movement track of the user's finger.

本发明第二实施例中,由于能够选取用户手指的移动轨迹对应的第一闭合区域内的信息,而用户手指的移动轨迹的形状是自由变化的,因此,使得选取的信息更精确。In the second embodiment of the present invention, since the information in the first closed area corresponding to the movement trajectory of the user's finger can be selected, and the shape of the movement trajectory of the user's finger can change freely, the selected information is more accurate.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (10)

1.一种信息选取方法,其特征在于,所述方法包括:1. A method for information selection, characterized in that the method comprises: 接收信息选取开关的打开指令,打开信息选取开关;receiving an opening instruction of the information selection switch, and turning on the information selection switch; 检测用户手指的移动轨迹;Detect the movement track of the user's finger; 选取所述用户手指的移动轨迹对应的第一闭合区域内的信息。Selecting information in the first closed area corresponding to the movement track of the user's finger. 2.根据权利要求1所述的方法,其特征在于,所述检测用户手指的移动轨迹,具体包括:2. The method according to claim 1, wherein the detecting the movement track of the user's finger specifically comprises: 检测用户手指是否在屏幕上;Detect if the user's finger is on the screen; 在用户手指在屏幕上时,检测用户手指在本次移动过程对应的移动轨迹;When the user's finger is on the screen, detect the movement track corresponding to the user's finger during this movement; 在用户手指不在屏幕上时,确定用户手指在屏幕上的投影,检测用户手指在屏幕上的投影在本次移动过程对应的移动轨迹。When the user's finger is not on the screen, determine the projection of the user's finger on the screen, and detect the movement trajectory corresponding to the projection of the user's finger on the screen during this movement process. 3.根据权利要求1所述的方法,其特征在于,在所述选取所述用户手指的移动轨迹对应的第一闭合区域内的信息之后,包括:3. The method according to claim 1, characterized in that after selecting the information in the first closed area corresponding to the movement track of the user's finger, the method comprises: 检测用户手指在所述第一闭合区域内的移动轨迹;Detecting the movement trajectory of the user's finger within the first closed area; 在所述用户手指在所述第一闭合区域内的移动轨迹形成第二闭合区域内时,选取所述用户手指的移动轨迹对应的第一闭合区域内且不包括所述第二闭合区域内的信息。When the moving track of the user's finger in the first closed area forms a second closed area, select the first closed area corresponding to the moving track of the user's finger and not including the second closed area information. 4.根据权利要求1所述的方法,其特征在于,在所述检测用户手指的移动轨迹之前,包括:4. The method according to claim 1, characterized in that, before the detection of the movement track of the user's finger, comprising: 获取摄像头前方的图片;Get the picture in front of the camera; 所述检测用户手指的移动轨迹具体为:检测用户手指在图片的移动轨迹;The detection of the moving track of the user's finger is specifically: detecting the moving track of the user's finger in the picture; 在所述选取所述用户手指的移动轨迹对应的第一闭合区域内的信息之后,包括:After selecting the information in the first closed area corresponding to the movement track of the user's finger, it includes: 识别选取的所述用户手指的移动轨迹对应的第一闭合区域内且的信息;identifying information within the first closed area corresponding to the selected movement track of the user's finger; 根据识别结果搜索对应的信息;Search for the corresponding information according to the recognition result; 输出搜索结果。Output search results. 5.根据权利要求1所述的方法,其特征在于,在所述选取所述用户手指的移动轨迹对应的第一闭合区域内的信息之后,包括:5. The method according to claim 1, characterized in that, after selecting the information in the first closed area corresponding to the movement track of the user's finger, the method comprises: 判断所述第一闭合区域内的信息是否同时包括文本信息和图片信息;judging whether the information in the first closed area includes both text information and picture information; 在所述第一闭合区域内的信息同时包括文本信息和图片信息时,删除所述第一闭合区域内包括的图片信息,并将删除所述第一闭合区域内包括的图片信息得到的信息作为最终的用户手指的移动轨迹对应的第一闭合区域内的信息。When the information in the first closed area includes both text information and picture information, delete the picture information included in the first closed area, and use the information obtained by deleting the picture information included in the first closed area as Information in the first closed area corresponding to the final movement track of the user's finger. 6.一种信息选取装置,其特征在于,所述装置包括:6. An information selection device, characterized in that the device comprises: 信息选取开关的打开指令接收单元,用于接收信息选取开关的打开指令,打开信息选取开关;The opening instruction receiving unit of the information selection switch is used to receive the opening instruction of the information selection switch and open the information selection switch; 移动轨迹检测单元,用于检测用户手指的移动轨迹;A movement trajectory detection unit, configured to detect the movement trajectory of the user's finger; 信息选取单元,用于选取所述用户手指的移动轨迹对应的第一闭合区域内的信息。The information selecting unit is configured to select information in the first closed area corresponding to the movement track of the user's finger. 7.根据权利要求6所述的装置,其特征在于,所述移动轨迹检测单元包括:7. The device according to claim 6, wherein the movement trajectory detection unit comprises: 手指位置检测模块,用于检测用户手指是否在屏幕上;The finger position detection module is used to detect whether the user's finger is on the screen; 第一用户手指移动轨迹检测模块,用于在用户手指在屏幕上时,检测用户手指在本次移动过程对应的移动轨迹;The first user's finger movement trajectory detection module is used to detect the corresponding movement trajectory of the user's finger in the current movement process when the user's finger is on the screen; 第二用户手指移动轨迹检测模块,用于在用户手指不在屏幕上时,确定用户手指在屏幕上的投影,检测用户手指在屏幕上的投影在本次移动过程对应的移动轨迹。The second user's finger movement trajectory detection module is used to determine the projection of the user's finger on the screen when the user's finger is not on the screen, and detect the movement trajectory corresponding to the projection of the user's finger on the screen during this movement process. 8.根据权利要求6所述的装置,其特征在于,所述装置包括:8. The device according to claim 6, characterized in that the device comprises: 移动轨迹再次检测单元,用于检测用户手指在所述第一闭合区域内的移动轨迹;A moving trajectory detection unit again, configured to detect the moving trajectory of the user's finger in the first closed area; 信息剔除单元,用于在所述用户手指在所述第一闭合区域内的移动轨迹形成第二闭合区域内时,选取所述用户手指的移动轨迹对应的第一闭合区域内且不包括所述第二闭合区域内的信息。An information elimination unit, configured to select the first closed area corresponding to the movement track of the user's finger and not including the Information within the second closed area. 9.根据权利要求6所述的装置,其特征在于,所述装置包括:9. The device according to claim 6, characterized in that the device comprises: 图片获取单元,用于获取摄像头前方的图片;The picture acquisition unit is used to acquire the picture in front of the camera; 所述移动轨迹检测单元具体用于检测用户手指在图片的移动轨迹;The movement trajectory detection unit is specifically used to detect the movement trajectory of the user's finger in the picture; 在所述选取所述用户手指的移动轨迹对应的第一闭合区域内的信息之后,所述装置包括:After selecting the information in the first closed area corresponding to the movement track of the user's finger, the device includes: 信息识别单元,用于识别选取的所述用户手指的移动轨迹对应的第一闭合区域内且的信息;An information identification unit, configured to identify the selected information within the first closed area corresponding to the movement track of the user's finger; 信息搜索单元,用于根据识别结果搜索对应的信息;an information search unit, configured to search for corresponding information according to the recognition result; 搜索结果输出单元,用于输出搜索结果。The search result output unit is used for outputting search results. 10.根据权利要求6所述的装置,其特征在于,所述装置包括:10. The device of claim 6, wherein the device comprises: 信息判断单元,用于判断所述第一闭合区域内的信息是否同时包括文本信息和图片信息;An information judging unit, configured to judge whether the information in the first closed area includes both text information and picture information; 信息过滤单元,用于在所述第一闭合区域内的信息同时包括文本信息和图片信息时,删除所述第一闭合区域内包括的图片信息,并将删除所述第一闭合区域内包括的图片信息得到的信息作为最终的用户手指的移动轨迹对应的第一闭合区域内的信息。An information filtering unit, configured to delete the picture information included in the first closed area when the information in the first closed area includes both text information and picture information, and delete the text information included in the first closed area The information obtained from the picture information is used as the information in the first closed area corresponding to the final movement track of the user's finger.
CN201610670865.8A 2016-08-15 2016-08-15 Information selection method and device Pending CN106325741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610670865.8A CN106325741A (en) 2016-08-15 2016-08-15 Information selection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610670865.8A CN106325741A (en) 2016-08-15 2016-08-15 Information selection method and device

Publications (1)

Publication Number Publication Date
CN106325741A true CN106325741A (en) 2017-01-11

Family

ID=57740456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610670865.8A Pending CN106325741A (en) 2016-08-15 2016-08-15 Information selection method and device

Country Status (1)

Country Link
CN (1) CN106325741A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108805119A (en) * 2018-05-04 2018-11-13 广东小天才科技有限公司 Searching method based on fingertip wearing equipment, fingertip wearing equipment and system
CN110032324A (en) * 2018-01-11 2019-07-19 华为终端有限公司 A kind of text chooses method and terminal
CN110221755A (en) * 2019-05-31 2019-09-10 维沃移动通信有限公司 A kind of object select method and flexible terminal

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591500A (en) * 2011-01-06 2012-07-18 海尔集团公司 Touch drawing processing system and touch drawing processing method
CN103020184A (en) * 2012-11-29 2013-04-03 北京百度网讯科技有限公司 Method and system utilizing shot images to obtain search results
US20130132361A1 (en) * 2011-11-22 2013-05-23 Liang-Pu CHEN Input method for querying by using a region formed by an enclosed track and system using the same
CN104067206A (en) * 2011-12-09 2014-09-24 微晶片科技德国第二公司 Electronic device with a user interface that has more than two degrees of freedom, the user interface comprising a touch-sensitive surface and contact-free detection means
CN104766352A (en) * 2015-03-18 2015-07-08 深圳市金立通信设备有限公司 Picture processing method
CN104765601A (en) * 2015-03-18 2015-07-08 深圳市金立通信设备有限公司 Terminal
CN105117122A (en) * 2015-07-30 2015-12-02 深圳市金立通信设备有限公司 Terminal screenshot method and terminal
CN105653160A (en) * 2016-02-25 2016-06-08 努比亚技术有限公司 Text determining method and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591500A (en) * 2011-01-06 2012-07-18 海尔集团公司 Touch drawing processing system and touch drawing processing method
US20130132361A1 (en) * 2011-11-22 2013-05-23 Liang-Pu CHEN Input method for querying by using a region formed by an enclosed track and system using the same
CN104067206A (en) * 2011-12-09 2014-09-24 微晶片科技德国第二公司 Electronic device with a user interface that has more than two degrees of freedom, the user interface comprising a touch-sensitive surface and contact-free detection means
CN103020184A (en) * 2012-11-29 2013-04-03 北京百度网讯科技有限公司 Method and system utilizing shot images to obtain search results
CN104766352A (en) * 2015-03-18 2015-07-08 深圳市金立通信设备有限公司 Picture processing method
CN104765601A (en) * 2015-03-18 2015-07-08 深圳市金立通信设备有限公司 Terminal
CN105117122A (en) * 2015-07-30 2015-12-02 深圳市金立通信设备有限公司 Terminal screenshot method and terminal
CN105653160A (en) * 2016-02-25 2016-06-08 努比亚技术有限公司 Text determining method and terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110032324A (en) * 2018-01-11 2019-07-19 华为终端有限公司 A kind of text chooses method and terminal
CN110032324B (en) * 2018-01-11 2024-03-05 荣耀终端有限公司 Text selection method and terminal
CN108805119A (en) * 2018-05-04 2018-11-13 广东小天才科技有限公司 Searching method based on fingertip wearing equipment, fingertip wearing equipment and system
CN110221755A (en) * 2019-05-31 2019-09-10 维沃移动通信有限公司 A kind of object select method and flexible terminal

Similar Documents

Publication Publication Date Title
KR102165818B1 (en) Method, apparatus and recovering medium for controlling user interface using a input image
CN104239879B (en) The method and device of separating character
CN102982527A (en) Image segmentation method and image segmentation system
EP2998960B1 (en) Method and device for video browsing
CN103399632A (en) Gesture control method and mobile terminal
CN103995666B (en) A kind of method and apparatus of setting operating mode
CN104615769A (en) Image classification method and device
WO2022160849A1 (en) Video processing method and apparatus, electronic device, and storage medium
JP6305565B2 (en) Method and apparatus for collecting photographs
CN107870712A (en) A kind of screenshot processing method and device
WO2019201109A1 (en) Word processing method and apparatus, and mobile terminal and storage medium
CN109885255A (en) Memory space method for sorting and device
CN106325741A (en) Information selection method and device
CN106873856B (en) Application icon classification method and device
CN106294717A (en) Question searching method and device based on intelligent terminal
CN105045686B (en) File access pattern method and device
CN105335714A (en) Photograph processing method, device and apparatus
CN108021669B (en) Image classification method and apparatus, electronic device, computer-readable storage medium
CN106485246B (en) Character identifying method and device
CN105094297A (en) Display content zooming method and display content zooming device
CN106502406A (en) Application program deployment method, device and terminal unit
CN105430194A (en) Method for making calls, device and terminal
CN104240274A (en) Face image processing method and device
CN106775782A (en) Application icon moving method and device
CN107563338A (en) Face detection method and related products

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170111