[go: up one dir, main page]

CN106020662A - Content fast search method and device applied to mobile terminal - Google Patents

Content fast search method and device applied to mobile terminal Download PDF

Info

Publication number
CN106020662A
CN106020662A CN201610286533.XA CN201610286533A CN106020662A CN 106020662 A CN106020662 A CN 106020662A CN 201610286533 A CN201610286533 A CN 201610286533A CN 106020662 A CN106020662 A CN 106020662A
Authority
CN
China
Prior art keywords
cursor
camera
mobile terminal
information
point
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.)
Granted
Application number
CN201610286533.XA
Other languages
Chinese (zh)
Other versions
CN106020662B (en
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 CN201610286533.XA priority Critical patent/CN106020662B/en
Publication of CN106020662A publication Critical patent/CN106020662A/en
Application granted granted Critical
Publication of CN106020662B publication Critical patent/CN106020662B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Computational Linguistics (AREA)
  • Artificial Intelligence (AREA)
  • Multimedia (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention is applicable to the field of information identification, and provides a content quick search method and device applied to a mobile terminal. The method comprises the following steps: when a cursor key is pressed, starting a camera of the mobile terminal to capture information in front of the camera, wherein the cursor key is arranged on the mobile terminal; recognizing a picture including the captured information in front of the camera as a keyword text; searching a word and sentence library for contents corresponding to the keyword text; and outputting the searched content corresponding to the keyword text. The searching speed can be improved by the method.

Description

应用于移动终端的内容快速搜索方法及装置Content quick search method and device applied to mobile terminal

技术领域technical field

本发明实施例属于信息识别领域,尤其涉及一种应用于移动终端的内容快速搜索方法及装置。The embodiments of the present invention belong to the field of information identification, and in particular relate to a method and device for fast content search applied to mobile terminals.

背景技术Background technique

目前,智能设备类产品有许多解决学生作业难题的搜题APP,如小猿搜题,学霸君、作业帮等等,他们均通过对难题拍照,再将拍照内容输入搜题APP,以便搜题APP根据拍照内容搜索到相应的解题答案。但由于在使用搜题APP时往往都需要执行以下步骤:开屏、解锁、找APP、打开APP、找开相机,拍摄试题、搜索试题等等,因此,使得使用搜题APP的操作步骤过于繁琐,从而降低搜题速率。At present, smart device products have many search apps that solve students' homework problems, such as Xiaoyuan Soot, Xuebajun, Homework Help, etc. They all take pictures of the problems, and then input the photo content into the search app to facilitate the search. The question APP searches for the corresponding answer to the question according to the content of the photo. However, when using the search question APP, the following steps are often required: open the screen, unlock, find the APP, open the APP, find the camera, take pictures of the test questions, search for the test questions, etc., so the operation steps of using the search question APP are too cumbersome , thereby reducing the search rate.

发明内容Contents of the invention

本发明实施例提供了一种应用于移动终端的内容快速搜索方法及装置,旨在解决现有使用搜题APP的操作步骤过于繁琐,从而导致搜题效率过低的问题。Embodiments of the present invention provide a method and device for quickly searching content applied to a mobile terminal, aiming at solving the problem that the existing searching APP's operation steps are too cumbersome, resulting in low search efficiency.

本发明实施例是这样实现的,一种应用于移动终端的内容快速搜索方法,所述方法包括:The embodiment of the present invention is implemented in this way, a method for quickly searching content applied to a mobile terminal, the method comprising:

在光标键被按压时,启动移动终端的摄像头抓取摄像头前方的信息,所述光标键设置在移动终端上;When the cursor key is pressed, start the camera of the mobile terminal to grab the information in front of the camera, and the cursor key is set on the mobile terminal;

将包括抓取的所述摄像头前方的信息的图片识别为关键词文本;Recognize the picture comprising the captured information in front of the camera as keyword text;

在词句库中搜索与所述关键词文本对应的内容;Searching for content corresponding to the keyword text in the word bank;

输出搜索到的与所述关键词文本对应的内容。Output the searched content corresponding to the keyword text.

本发明实施例的另一目的在于提供一种应用于移动终端的内容快速搜索装置,所述装置包括:Another object of the embodiments of the present invention is to provide a fast content search device applied to a mobile terminal, the device comprising:

信息抓取单元,用于在光标键被按压时,启动移动终端的摄像头抓取摄像头前方的信息,所述光标键设置在移动终端上;The information capture unit is used to start the camera of the mobile terminal to capture the information in front of the camera when the cursor key is pressed, and the cursor key is arranged on the mobile terminal;

信息识别单元,用于将包括抓取的所述摄像头前方的信息的图片识别为关键词文本;An information recognition unit, configured to recognize a picture including the captured information in front of the camera as a keyword text;

信息搜索单元,用于在词句库中搜索与所述关键词文本对应的内容;an information search unit, configured to search for content corresponding to the keyword text in the phrase library;

信息输出单元,用于输出搜索到的与所述关键词文本对应的内容。An information output unit, configured to output the searched content corresponding to the keyword text.

在本发明实施例中,由于只需按压一次设置在移动终端上的光标键即可快速启动搜索步骤,进而输出搜索到的与所述关键词文本对应的内容,因此,简化了搜索步骤,提高了搜索速度以及用户的良好体验。In the embodiment of the present invention, since the search step can be quickly started by pressing the cursor key set on the mobile terminal once, and then the searched content corresponding to the keyword text is output, therefore, the search step is simplified and the search process is improved. Improve the search speed and the user's good experience.

附图说明Description of drawings

图1是本发明第一实施例提供的一种应用于移动终端的内容快速搜索方法的流程图;FIG. 1 is a flow chart of a content quick search method applied to a mobile terminal provided by the first embodiment of the present invention;

图2是本发明第一实施例提供的一种光标键设置在移动终端上的示意图;FIG. 2 is a schematic diagram of a cursor key provided on a mobile terminal provided by the first embodiment of the present invention;

图3是本发明第一实施例提供的搜索到的与关键词文本对应的内容为Tiger以及相关释义的示意图;Fig. 3 is a schematic diagram of the searched content corresponding to the keyword text as Tiger and related definitions provided by the first embodiment of the present invention;

图4是本发明第一实施例提供的一种光标图形的示意图;Fig. 4 is a schematic diagram of a cursor graphic provided by the first embodiment of the present invention;

图5是本发明第二实施例提供的一种应用于移动终端的内容快速搜索装置的结构图。Fig. 5 is a structural diagram of a content quick search device applied to a mobile terminal 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, when the cursor key is pressed, the camera of the mobile terminal is started to capture the information in front of the camera, and the picture including the captured information in front of the camera is recognized as a keyword text, and is searched in the phrase library and Content corresponding to the keyword text, outputting the searched content corresponding to the keyword text.

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

实施例一:Embodiment one:

图1示出了本发明第一实施例提供的一种应用于移动终端的内容快速搜索方法的流程图,详述如下:FIG. 1 shows a flow chart of a fast content search method applied to a mobile terminal provided by the first embodiment of the present invention, which is described in detail as follows:

步骤S11,在光标键被按压时,启动移动终端的摄像头抓取摄像头前方的信息,所述光标键设置在移动终端上。Step S11, when the cursor key is pressed, start the camera of the mobile terminal to capture the information in front of the camera, the cursor key is set on the mobile terminal.

其中,可如图2所示,将光标键设置在移动终端的左侧,当然,光标键也可设置在移动终端的右侧或上侧或下侧等。Wherein, as shown in FIG. 2 , the cursor keys can be arranged on the left side of the mobile terminal. Of course, the cursor keys can also be arranged on the right side, upper side or lower side of the mobile terminal, etc.

当移动终端处于熄屏状态时,为了避免由于启动整个移动终端而启动其他APP影响用户的学习,当光标键被按压时,仍保持移动终端处于熄屏状态,但在后台启动移动终端的摄像头快速运行,并通过自动对焦功能,自动抓取图像。When the mobile terminal is in the off-screen state, in order to avoid affecting the user's learning by starting other APPs due to the start-up of the entire mobile terminal, when the cursor key is pressed, the mobile terminal is still in the off-screen state, but the camera of the mobile terminal is started in the background quickly Run, and automatically capture images through the auto-focus function.

可选地,为了提高抓取信息的精确度以及便于在熄屏状态抓取图片,在所述启动移动终端的摄像头抓取摄像头前方的信息之前,包括:Optionally, in order to improve the accuracy of capturing information and to facilitate capturing pictures in a screen-off state, before starting the camera of the mobile terminal to capture the information in front of the camera, it includes:

启动光标,以通过启动的光标以及光标孔发出光标点,所述光标点投影在摄像头前方的信息上,所述光标孔设置在移动终端上。这里的光标包括LED灯光标,其中,所述光标孔与移动终端的摄像头的距离小于预设安装距离。由于光标孔与移动终端的摄像头的距离小于预设安装距离,因此,光标点投影的信息上的与摄像头能够抓取的信息也基本相同,用户通过投影在摄像头前方的信息上的光标点能够获知摄像头抓取的信息。The cursor is activated to emit a cursor point through the activated cursor and a cursor hole, the cursor point is projected on the information in front of the camera, and the cursor hole is arranged on the mobile terminal. The cursor here includes an LED light cursor, wherein the distance between the cursor hole and the camera of the mobile terminal is less than a preset installation distance. Since the distance between the cursor hole and the camera of the mobile terminal is less than the preset installation distance, the information projected by the cursor point is basically the same as the information captured by the camera, and the user can know it through the cursor point projected on the information in front of the camera Information captured by the camera.

此时,所述启动移动终端的摄像头抓取摄像头前方的信息具体为:At this point, the information in front of the camera captured by the camera of the mobile terminal is specifically:

所述启动移动终端的摄像头抓取摄像头前方的光标点周围的信息。由于所述光标孔与移动终端的摄像头的距离小于预设安装距离,因此,摄像头抓取的信息为光标点周围的信息。Said starting the camera of the mobile terminal captures the information around the cursor point in front of the camera. Since the distance between the cursor hole and the camera of the mobile terminal is less than the preset installation distance, the information captured by the camera is information around the cursor point.

可选地,所述启动移动终端的摄像头抓取摄像头前方的光标点周围的信息,具体包括:Optionally, the starting of the camera of the mobile terminal to capture information around the cursor point in front of the camera specifically includes:

A1、获取发出的光标点的形状。其中,光标点的形状包括:十字形、方形、圆形及其他形状等。A1. Obtain the shape of the sent cursor point. Wherein, the shape of the cursor point includes: cross, square, circle and other shapes.

A2、根据获取的所述发出的光标点的形状启动移动终端的摄像头抓取摄像头前方的光标点周围的对应信息,所述启动移动终端的摄像头抓取摄像头前方的光标点周围的对应信息包括:单词、试题、中文词句。当光标点的形状不同时,启动移动终端的摄像头抓取摄像头前方的光标点周围的不同信息,例如,当光标点的形状为十字形时,启动移动终端的摄像头抓取摄像头前方的光标点周围的试题;当光标点的形状为圆形时,启动移动终端的摄像头抓取摄像头前方的光标点周围的中文词句;当光标点的形状为方形时,启动移动终端的摄像头抓取摄像头前方的光标点周围的单词。A2. Start the camera of the mobile terminal according to the acquired shape of the cursor point to capture the corresponding information around the cursor point in front of the camera, and the camera of the mobile terminal to capture the corresponding information around the cursor point in front of the camera includes: Vocabulary, test questions, Chinese words and sentences. When the shape of the cursor point is different, start the camera of the mobile terminal to capture different information around the cursor point in front of the camera, for example, when the shape of the cursor point is a cross, start the camera of the mobile terminal to capture the surrounding area of the cursor point in front of the camera When the shape of the cursor point is circular, start the camera of the mobile terminal to capture the Chinese words and sentences around the cursor point in front of the camera; when the shape of the cursor point is square, start the camera of the mobile terminal to capture the cursor in front of the camera Point around the words.

可选地,由于单词、试题、中文词句实际占用的面积不同,因此,为了提高后续搜索的速度及准确度,需要剪切抓取的摄像头前方的光标点周围的对应信息,例如,假设抓取的包括摄像头前方的光标点周围的对应信息为试题,则通过自动框题技术,直接抓取光标点附近的单个试题,完成单个试题的自动化剪切;假设抓取的包括摄像头前方的光标点周围的对应信息为单词,则通过自动框题技术,直接抓取光标点附近的单词等等。Optionally, since words, test questions, and Chinese words and sentences actually occupy different areas, in order to improve the speed and accuracy of subsequent searches, it is necessary to cut the corresponding information around the cursor point in front of the captured camera, for example, assuming that the captured If the corresponding information around the cursor point in front of the camera is the test question, then the single test question near the cursor point is directly captured through the automatic frame question technology, and the automatic cutting of a single test question is completed; assuming that the capture includes the cursor point in front of the camera. If the corresponding information is a word, the word near the cursor point is directly captured through the automatic frame question technology.

可选地,由于启动光标需要耗费一定的电量,因此,为了节省移动终端的电量,在移动终端的摄像头抓取摄像头前方的光标点周围的信息之后,包括下述步骤:关闭光标。Optionally, since starting the cursor consumes a certain amount of power, in order to save power of the mobile terminal, after the camera of the mobile terminal captures information around the cursor point in front of the camera, the following steps are included: closing the cursor.

可选地,为了能够抓取到清晰的信息,则在所述启动移动终端的摄像头抓取摄像头前方的信息之前,包括:Optionally, in order to capture clear information, before starting the camera of the mobile terminal to capture the information in front of the camera, it includes:

检测移动终端的摄像头前方的信息与所述移动终端的距离是否小于预设的距离阈值,以便在移动终端的摄像头前方的信息与所述移动终端的距离小于预设的距离阈值时,启动移动终端的摄像头抓取摄像头前方的信息。Detecting whether the distance between the information in front of the camera of the mobile terminal and the mobile terminal is less than a preset distance threshold, so that when the distance between the information in front of the camera of the mobile terminal and the mobile terminal is less than the preset distance threshold, the mobile terminal is activated The camera captures the information in front of the camera.

具体地,在移动终端上(如在光标附近)设置一个距离传感器检测移动终端的摄像头前方的信息与所述移动终端的距离,当移动终端的摄像头前方的信息与所述移动终端的距离小于预设的距离阈值时,表明摄像头能够拍摄到清晰的信息,此时,再启动移动终端的摄像头抓取摄像头前方的信息,从而有效节省资源。Specifically, a distance sensor is set on the mobile terminal (such as near the cursor) to detect the distance between the information in front of the camera of the mobile terminal and the mobile terminal. When the distance between the information in front of the camera of the mobile terminal and the mobile terminal is less than the preset When the distance threshold is set, it indicates that the camera can capture clear information. At this time, the camera of the mobile terminal is started to capture the information in front of the camera, thereby effectively saving resources.

步骤S12,将包括抓取的所述摄像头前方的信息的图片识别为关键词文本。Step S12, identifying the captured picture including the information in front of the camera as keyword text.

具体地,通过光学字符识别(Optical Character Recognition,OCR),如通过本地OCR,或云端OCR将包括抓取的所述摄像头前方的信息的图片识别为关键词文本。其中,OCR是指电子设备(例如扫描仪或数码相机)检查纸上打印的字符,通过检测暗、亮的模式确定其形状,然后用字符识别方法将形状翻译成计算机文字的过程。当通过本地OCR识别抓取的信息,能够提高信息的识别速度;当通过云端OCR识别抓取的信息时,由于云端OCR的配置通常较高,因此能够提高信息的识别准确度。Specifically, through optical character recognition (Optical Character Recognition, OCR), such as through local OCR, or cloud OCR, the picture including the captured information in front of the camera is recognized as the keyword text. Among them, OCR refers to the process in which an electronic device (such as a scanner or a digital camera) checks characters printed on paper, determines its shape by detecting dark and light patterns, and then uses character recognition methods to translate the shape into computer text. When the captured information is recognized through local OCR, the recognition speed of information can be improved; when the captured information is recognized through cloud OCR, since the configuration of cloud OCR is usually high, the recognition accuracy of information can be improved.

步骤S13,在词句库中搜索与所述关键词文本对应的内容。Step S13, searching the vocabulary and sentence database for content corresponding to the keyword text.

优选地,为了提高搜索速度,所述词句库为本地词句库;为了提高搜索准确度,所述词句库为本地的词句库。Preferably, in order to improve the search speed, the word library is a local word library; in order to improve the search accuracy, the word library is a local word library.

可选地,所述步骤S13包括:Optionally, the step S13 includes:

B1、将获取的所述发出的光标点的形状与预存的形状词句库关系表存储的光标点的形状比较,以确定相应的词句库,所述预存的形状词句库关系表存储不同光标点的形状与不同词句库的对应关系。例如,当光标点的形状为十字形时,对应的词句库为试题词句库;当光标点的形状为圆形时,对应的词句库为中文词句库;当光标点的形状为方形时,对应的词句库为单词词句库。这样,当判断出获取的所述发出的光标点的形状为十字形时,确定的词句库为试题词句库。B1. Compare the shape of the cursor point that is acquired with the shape of the cursor point stored in the pre-stored shape vocabulary database relationship table to determine the corresponding vocabulary database. The pre-stored shape vocabulary database relationship table stores different cursor points. Correspondence between shapes and different word libraries. For example, when the shape of the cursor point is in the shape of a cross, the corresponding word library is the test question word library; when the shape of the cursor point is circular, the corresponding word library is the Chinese word library; when the shape of the cursor point is square, the corresponding The phrase library is a word phrase library. In this way, when it is judged that the acquired shape of the emitted cursor point is a cross shape, the determined word library is the test question word library.

B2、在确定的所述相应的词句库中搜索与所述关键词文本对应的内容。B2. Searching for content corresponding to the keyword text in the determined corresponding word library.

上述B1和B2中,由于细分了不同的词句库,因此,能够在细分的词句库中更快地搜索到更准确的匹配内容。In the above-mentioned B1 and B2, since different phrase bases are subdivided, more accurate matching content can be searched faster in the subdivided phrase bases.

步骤S14,输出搜索到的与所述关键词文本对应的内容。Step S14, outputting the searched content corresponding to the keyword text.

当搜索到关键词文本对应的内容时,及时输出搜索到的内容。When the content corresponding to the keyword text is searched, the searched content is output in time.

可选地,所述输出搜索到的与所述关键词文本对应的内容,具体包括:Optionally, the outputting the searched content corresponding to the keyword text specifically includes:

C1、显示搜索到的与所述关键词文本对应的内容。比如,假设英语词句库中存有单词和语句,以及相应的发音、释义、例句等等,当搜索到与关键词文本相匹配的信息后,及时显示搜索到的所有内容。C1. Display the searched content corresponding to the keyword text. For example, assuming that there are words and sentences in the English vocabulary database, as well as corresponding pronunciations, definitions, example sentences, etc., when the information matching the keyword text is searched, all the searched content will be displayed in time.

和/或,and / or,

C2、播报搜索到的与所述关键词文本对应的内容。C2. Broadcast the searched content corresponding to the keyword text.

通过播报搜索到的内容,增加用户获取搜索的内容的形式,使得用户能够获知信息的读音,并且,无需查看移动终端的屏幕也能通过播报获知搜索到的内容。如图3所示,当搜索到的与所述关键词文本对应的内容为Tiger以及相关释义时,则播报“Tiger”以及相关释义。当通过本地OCR识别以及本地词句库搜索时能够极大地提升搜索速度,可以达到实时即点即读的效果。By broadcasting the searched content, the form for the user to obtain the searched content is increased, so that the user can know the pronunciation of the information, and can also know the searched content through the broadcast without looking at the screen of the mobile terminal. As shown in FIG. 3 , when the searched content corresponding to the keyword text is Tiger and related definitions, "Tiger" and related definitions are broadcast. When local OCR recognition and local vocabulary search are used, the search speed can be greatly improved, and the effect of real-time instant reading can be achieved.

可选地,所述C1具体包括:Optionally, the C1 specifically includes:

C11、检测移动终端是否处于熄屏状态。C11. Detect whether the mobile terminal is in a screen-off state.

C12、在移动终端处于熄屏状态时,以非黑色字体显示搜索到的与所述关键词文本对应的内容在所述移动终端的黑色屏幕上。C12. When the mobile terminal is in a screen-off state, display the searched content corresponding to the keyword text in a non-black font on the black screen of the mobile terminal.

当移动终端处于熄屏状态时,其屏幕为黑色背景,因此,为了使用户能够清晰查看显示的内容,则以非黑色字体显示搜索到的内容。优选地,使显示的内容的字体颜色与黑色相差较大,比如,为白色,红色、黄色等。由于在移动终端处于熄屏状态时,仍能显示搜索到的内容,因此,减少了由于启动移动终端而导致的资源耗费。当然,若移动终端处于非熄屏状态时,在所述移动终端的黑色屏幕上可以用任何颜色字体显示搜索到的与所述关键词文本对应的内容。When the mobile terminal is in a screen-off state, its screen has a black background. Therefore, in order to enable the user to clearly view the displayed content, the searched content is displayed in a non-black font. Preferably, the font color of the displayed content is different from black, for example, white, red, yellow, etc. Since the searched content can still be displayed when the mobile terminal is in a screen-off state, resource consumption caused by starting the mobile terminal is reduced. Of course, if the mobile terminal is in a non-off screen state, the searched content corresponding to the keyword text can be displayed in any color font on the black screen of the mobile terminal.

可选地,为了便于用户快速启动搜索操作,则在所述步骤S14之后,包括:Optionally, in order to facilitate the user to quickly start the search operation, after the step S14, include:

D1、显示光标图形。当用户已通过按压光标键启动一次光标后,且已输出搜索到的与所述关键词文本对应的内容之后,则在移动终端的屏幕上显示光标图形。具体地,可在熄屏状态显示光标图形,该光标图形的颜色为非黑色,比如,光标图形的颜色可以如图4所示的白色,当然,也可以为红色或黄色等,此处不作限定。需要指出的是,若当前移动终端没有处于熄屏状态,则使移动终端处于熄屏状态再显示光标图形。D1. Display cursor graphics. After the user activates the cursor once by pressing the cursor key and outputs the searched content corresponding to the keyword text, a cursor graphic is displayed on the screen of the mobile terminal. Specifically, the cursor graphic can be displayed in the off-screen state, and the color of the cursor graphic is not black. For example, the color of the cursor graphic can be white as shown in FIG. 4 , of course, it can also be red or yellow, etc., which is not limited here . It should be pointed out that, if the mobile terminal is not currently in the screen-off state, the mobile terminal is in the screen-off state and then the cursor graphic is displayed.

D2、接收对所述光标图形的点击指令,根据所述点击指令启动移动终端的摄像头抓取摄像头前方的信息。D2. Receive a click instruction on the cursor graphic, and start the camera of the mobile terminal to capture information in front of the camera according to the click instruction.

上述D1和D2中,由于用户再次启动搜索操作时,可通过点击移动终端的屏幕显示的光标图形启动,因此,丰富了搜索的启动方式。当然,用户也可以仍通过按压光标键启动,此处不作限定。In D1 and D2 above, when the user starts the search operation again, he can start by clicking the cursor graphic displayed on the screen of the mobile terminal, thus enriching the search start methods. Of course, the user can also start by pressing the cursor key, which is not limited here.

可选地,由于用户通常是连续搜索同样的内容,比如,可能连续搜索单词的读音,或连续搜索不同的试题等,则为了提高搜索速度,在步骤S14之后,包括:Optionally, since the user usually continuously searches for the same content, for example, may continuously search for the pronunciation of words, or continuously search for different test questions, etc., then in order to improve the search speed, after step S14, include:

判断光标点的形状在光标键第N次被按压时是否已全部被使用一次,若是,则在光标键第(N+1)次被按压时,启动光标,以通过启动的光标以及光标孔发出与光标键第N次被按压时的光标点的形状相同的光标点,若否,则在光标键第(N+1)次被按压时,启动光标,以通过启动的光标以及光标孔发出未使用过的任一形状的光标点,N为整数,且大于或等于1。Determine whether the shape of the cursor point has been used once when the cursor key is pressed for the Nth time, and if so, when the cursor key is pressed for the (N+1)th time, start the cursor to send out through the activated cursor and the cursor hole Cursor point identical to the shape of the cursor point when the cursor key is pressed for the Nth time, if not, then when the cursor key is pressed for the (N+1) time, start the cursor, to send out an unidentified cursor through the activated cursor and the cursor hole Cursor point of any shape used, N is an integer greater than or equal to 1.

上述步骤中,假设光标点的形状有十字形、方形和圆形时,当判断出在一段时间内,用户通过按压光标键,已使用过十字形的光标点、方形的光标点和圆形的光标点,则当用户再次按压光标键时,会记忆上一次的使用记录,优先调取相应的光标点的形状及其对应的词句库,从而提高搜索速度。当然,为了避免在已使用过所有形状的光标点后,用户难以更换上一次记录的词句库这一情况,可在移动终端的光标键接收到连续按压(如连续2次按压)后,执行发出新的光标点的形状的循环。In the above steps, assuming that the shapes of the cursor points are cross-shaped, square and circular, when it is judged that within a period of time, the user has used the cross-shaped cursor point, the square cursor point and the circular cursor point by pressing the cursor key. Cursor point, when the user presses the cursor key again, the last use record will be memorized, and the shape of the corresponding cursor point and its corresponding vocabulary library will be preferentially retrieved, thereby increasing the search speed. Of course, in order to avoid the situation that it is difficult for the user to replace the last recorded word library after the cursor points of all shapes have been used, after the cursor key of the mobile terminal receives continuous presses (such as 2 consecutive presses), execute the sending Cycle through the shape of the new cursor point.

本发明第一实施例中,在光标键被按压时,启动移动终端的摄像头抓取摄像头前方的信息,将包括抓取的所述摄像头前方的信息的图片识别为关键词文本,在词句库中搜索与所述关键词文本对应的内容,输出搜索到的与所述关键词文本对应的内容。由于只需按压一次设置在移动终端上的光标键即可快速启动搜索步骤,进而输出搜索到的与所述关键词文本对应的内容,因此,简化了搜索步骤,提高了搜索速度以及用户的良好体验。In the first embodiment of the present invention, when the cursor key is pressed, the camera of the mobile terminal is started to capture the information in front of the camera, and the picture including the captured information in front of the camera is recognized as a keyword text, which is stored in the phrase library Search for content corresponding to the keyword text, and output the searched content corresponding to the keyword text. Since the search step can be quickly started by only pressing the cursor key set on the mobile terminal once, and then the searched content corresponding to the keyword text is output, therefore, the search step is simplified, the search speed and the user's convenience are improved. experience.

应理解,在本发明实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。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:

图5示出了本发明第二实施例提供的一种应用于移动终端的内容快速搜索装置的结构图,该应用于移动终端的内容快速搜索装置可应用与移动终端中,该移动终端可以包括经无线接入网RAN与一个或多个核心网进行通信的用户设备,该用户设备可以是移动电话(或称为“蜂窝”电话)、具有移动设备的计算机等,例如,用户设备还可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语音和/或数据。又例如,该移动设备可以包括智能手机、平板电脑、个人数字助理PDA、销售终端POS或车载电脑等。为了便于说明,仅示出了与本发明实施例相关的部分。Fig. 5 shows a structure diagram of a content quick search device applied to a mobile terminal provided by the second embodiment of the present invention, the content quick search device applied to a mobile terminal can be applied to a mobile terminal, and the mobile terminal can include User equipment that communicates with one or more core networks via the radio access network RAN. The user equipment may be a mobile phone (or called a "cellular" phone), a computer with a mobile device, etc. For example, the user equipment may also be Portable, pocket, handheld, computer embedded, or vehicle-mounted mobile devices that exchange voice and/or data with a 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.

该应用于移动终端的内容快速搜索装置包括:信息抓取单元51、信息识别单元52、信息搜索单元53、信息输出单元54。其中:The content quick search device applied to a mobile terminal includes: an information grabbing unit 51 , an information identifying unit 52 , an information searching unit 53 , and an information output unit 54 . in:

信息抓取单元51,用于在光标键被按压时,启动移动终端的摄像头抓取摄像头前方的信息,所述光标键设置在移动终端上。The information capturing unit 51 is configured to start the camera of the mobile terminal to capture the information in front of the camera when the cursor key is set on the mobile terminal.

其中,可如图2所示,将光标键设置在移动终端的左侧,当然,光标键也可设置在移动终端的右侧或上侧或下侧等。Wherein, as shown in FIG. 2 , the cursor keys can be arranged on the left side of the mobile terminal. Of course, the cursor keys can also be arranged on the right side, upper side or lower side of the mobile terminal, etc.

当移动终端处于熄屏状态时,为了避免由于启动整个移动终端而启动其他APP影响用户的学习,当光标键被按压时,仍保持移动终端处于熄屏状态,但在后台启动移动终端的摄像头快速运行,并通过自动对焦功能,自动抓取图像。When the mobile terminal is in the off-screen state, in order to avoid affecting the user's learning by starting other APPs due to the start-up of the entire mobile terminal, when the cursor key is pressed, the mobile terminal is still in the off-screen state, but the camera of the mobile terminal is started in the background quickly Run, and automatically capture images through the auto-focus function.

可选地,为了提高抓取信息的精确度以及便于在熄屏状态抓取图片,所述应用于移动终端的内容快速搜索装置包括:Optionally, in order to improve the accuracy of captured information and to facilitate the capture of pictures in the off-screen state, the content quick search device applied to mobile terminals includes:

光标启动单元,用于启动光标,以通过启动的光标以及光标孔发出光标点,所述光标点投影在摄像头前方的信息上,所述光标孔设置在移动终端上。此时,所述信息抓取单元51具体用于启动移动终端的摄像头抓取摄像头前方的光标点周围的信息。The cursor starting unit is used for starting the cursor, so as to emit a cursor point through the started cursor and a cursor hole, and the cursor point is projected on the information in front of the camera, and the cursor hole is arranged on the mobile terminal. At this time, the information capture unit 51 is specifically configured to start the camera of the mobile terminal to capture information around the cursor point in front of the camera.

这里的光标包括LED灯光标,其中,所述光标孔与移动终端的摄像头的距离小于预设安装距离。由于光标孔与移动终端的摄像头的距离小于预设安装距离,因此,光标点投影的信息上的与摄像头能够抓取的信息也基本相同,用户通过投影在摄像头前方的信息上的光标点能够获知摄像头抓取的信息。The cursor here includes an LED light cursor, wherein the distance between the cursor hole and the camera of the mobile terminal is less than a preset installation distance. Since the distance between the cursor hole and the camera of the mobile terminal is less than the preset installation distance, the information projected by the cursor point is basically the same as the information captured by the camera, and the user can know it through the cursor point projected on the information in front of the camera Information captured by the camera.

可选地,所述信息抓取单元51包括:Optionally, the information capture unit 51 includes:

光标点的形状获取模块,用于获取发出的光标点的形状。其中,光标点的形状包括:十字形、方形、圆形及其他形状等。The shape acquisition module of the cursor point is used to acquire the shape of the emitted cursor point. Wherein, the shape of the cursor point includes: cross, square, circle and other shapes.

抓取信息选择模块,用于根据获取的所述发出的光标点的形状启动移动终端的摄像头抓取摄像头前方的光标点周围的对应信息,所述启动移动终端的摄像头抓取摄像头前方的光标点周围的对应信息包括:单词、试题、中文词句。当光标点的形状不同时,启动移动终端的摄像头抓取摄像头前方的光标点周围的不同信息,例如,当光标点的形状为十字形时,启动移动终端的摄像头抓取摄像头前方的光标点周围的试题;当光标点的形状为圆形时,启动移动终端的摄像头抓取摄像头前方的光标点周围的中文词句;当光标点的形状为方形时,启动移动终端的摄像头抓取摄像头前方的光标点周围的单词。Capture information selection module, used to start the camera of the mobile terminal according to the shape of the acquired cursor point to capture the corresponding information around the cursor point in front of the camera, and start the camera of the mobile terminal to capture the cursor point in front of the camera The surrounding corresponding information includes: words, test questions, Chinese words and sentences. When the shape of the cursor point is different, start the camera of the mobile terminal to capture different information around the cursor point in front of the camera, for example, when the shape of the cursor point is a cross, start the camera of the mobile terminal to capture the surrounding area of the cursor point in front of the camera When the shape of the cursor point is circular, start the camera of the mobile terminal to capture the Chinese words and sentences around the cursor point in front of the camera; when the shape of the cursor point is square, start the camera of the mobile terminal to capture the cursor in front of the camera Point around the words.

可选地,由于单词、试题、中文词句实际占用的面积不同,因此,为了提高后续搜索的速度及准确度,需要剪切抓取摄像头前方的光标点周围的对应信息,例如,假设抓取的包括摄像头前方的光标点周围的对应信息为试题,则通过自动框题技术,直接抓取光标点附近的单个试题,完成单个试题的自动化剪切;假设抓取的包括摄像头前方的光标点周围的对应信息为单词,则通过自动框题技术,直接抓取光标点附近的单词等等。Optionally, since words, test questions, and Chinese words and sentences actually occupy different areas, in order to improve the speed and accuracy of subsequent searches, it is necessary to cut and capture the corresponding information around the cursor point in front of the camera, for example, assuming that the captured Including the corresponding information around the cursor point in front of the camera as the test questions, then through the automatic frame technology, directly capture a single test question near the cursor point, and complete the automatic cutting of a single test question; assuming that the captured information includes the surrounding cursor point in front of the camera. If the corresponding information is a word, the words near the cursor point are directly captured through the automatic frame question technology.

可选地,由于启动光标需要耗费一定的电量,因此,为了节省移动终端的电量,所述应用于移动终端的内容快速搜索装置包括:光标关闭单元,用于关闭光标。Optionally, since activating the cursor requires a certain amount of power, in order to save power of the mobile terminal, the device for quickly searching content applied to the mobile terminal includes: a cursor closing unit, configured to close the cursor.

可选地,为了能够抓取到清晰的信息,所述应用于移动终端的内容快速搜索装置包括:Optionally, in order to be able to capture clear information, the content quick search device applied to the mobile terminal includes:

距离检测单元,用于检测移动终端的摄像头前方的信息与所述移动终端的距离是否小于预设的距离阈值,以便在移动终端的摄像头前方的信息与所述移动终端的距离小于预设的距离阈值时,启动移动终端的摄像头抓取摄像头前方的信息。A distance detection unit, configured to detect whether the distance between the information in front of the camera of the mobile terminal and the mobile terminal is less than a preset distance threshold, so that the distance between the information in front of the camera of the mobile terminal and the mobile terminal is less than the preset distance When the threshold is reached, the camera of the mobile terminal is started to capture the information in front of the camera.

具体地,在移动终端上(如在光标附近)设置一个距离传感器检测移动终端的摄像头前方的信息与所述移动终端的距离,当移动终端的摄像头前方的信息与所述移动终端的距离小于预设的距离阈值时,表明摄像头能够拍摄到清晰的信息,此时,再启动移动终端的摄像头抓取摄像头前方的信息,从而有效节省资源。Specifically, a distance sensor is set on the mobile terminal (such as near the cursor) to detect the distance between the information in front of the camera of the mobile terminal and the mobile terminal. When the distance between the information in front of the camera of the mobile terminal and the mobile terminal is less than the preset When the distance threshold is set, it indicates that the camera can capture clear information. At this time, the camera of the mobile terminal is started to capture the information in front of the camera, thereby effectively saving resources.

信息识别单元52,用于将包括抓取的所述摄像头前方的信息的图片识别为关键词文本。The information identifying unit 52 is configured to identify a picture including captured information in front of the camera as keyword text.

具体地,通过OCR,如通过本地OCR,或云端OCR将包括抓取的所述摄像头前方的信息的图片识别为关键词文本。当通过本地OCR识别抓取的信息,能够提高信息的识别速度;当通过云端OCR识别抓取的信息时,由于云端OCR的配置通常较高,因此能够提高信息的识别准确度。Specifically, through OCR, such as through local OCR, or cloud OCR, the picture including the captured information in front of the camera is recognized as the keyword text. When the captured information is recognized through local OCR, the recognition speed of information can be improved; when the captured information is recognized through cloud OCR, since the configuration of cloud OCR is usually high, the recognition accuracy of information can be improved.

信息搜索单元53,用于在词句库中搜索与所述关键词文本对应的内容。An information search unit 53, configured to search the word and sentence database for content corresponding to the keyword text.

可选地,所述信息搜索单元53包括:Optionally, the information search unit 53 includes:

光标点的形状比较模块,用于将获取的所述发出的光标点的形状与预存的形状词句库关系表存储的光标点的形状比较,以确定相应的词句库,所述预存的形状词句库关系表存储不同光标点的形状与不同词句库的对应关系。The shape comparison module of the cursor point is used to compare the shape of the obtained cursor point with the shape of the cursor point stored in the pre-stored shape word-sentence database relation table to determine the corresponding word-sentence library, and the pre-stored shape word-sentence library The relationship table stores the corresponding relationship between the shapes of different cursor points and different vocabulary and phrase bases.

分类搜索模块,用于在确定的所述相应的词句库中搜索与所述关键词文本对应的内容。A category search module, configured to search for content corresponding to the keyword text in the determined corresponding word library.

上述光标点的形状比较模块和分类搜索模块中,由于细分了不同的词句库,因此,能够在细分的词句库中更快地搜索到更准确的匹配内容。In the shape comparison module of the cursor point and the classification search module, since different phrase bases are subdivided, more accurate matching content can be searched faster in the subdivided phrase bases.

信息输出单元54,用于输出搜索到的与所述关键词文本对应的内容。An information output unit 54, configured to output the searched content corresponding to the keyword text.

可选地,所述信息输出单元54包括:Optionally, the information output unit 54 includes:

信息显示模块,用于显示搜索到的与所述关键词文本对应的内容。An information display module, configured to display the searched content corresponding to the keyword text.

和/或,and / or,

信息播报模块,用于播报搜索到的与所述关键词文本对应的内容。The information broadcast module is used to broadcast the searched content corresponding to the keyword text.

通过播报搜索到的内容,增加用户获取搜索的内容的形式,使得用户能够获知信息的读音,并且,无需查看移动终端的屏幕也能通过播报获知搜索到的内容。By broadcasting the searched content, the form for the user to obtain the searched content is increased, so that the user can know the pronunciation of the information, and can also know the searched content through the broadcast without looking at the screen of the mobile terminal.

可选地,所述信息显示模块包括:Optionally, the information display module includes:

熄屏状态检测模块,用于检测移动终端是否处于熄屏状态。The screen-off state detection module is used to detect whether the mobile terminal is in the screen-off state.

差异化显示模块,用于在移动终端处于熄屏状态时,以非黑色字体显示搜索到的与所述关键词文本对应的内容在所述移动终端的黑色屏幕上。The differentiated display module is configured to display the searched content corresponding to the keyword text on the black screen of the mobile terminal in a non-black font when the mobile terminal is in a screen-off state.

当移动终端处于熄屏状态时,其屏幕为黑色背景,因此,为了使用户能够清晰查看显示的内容,则以非黑色字体显示搜索到的内容。优选地,使显示的内容的字体颜色与黑色相差较大,比如,为白色,红色、黄色等。由于在移动终端处于熄屏状态时,仍能显示搜索到的内容,因此,减少了由于启动移动终端而导致的资源耗费。当然,若移动终端处于非熄屏状态时,在所述移动终端的黑色屏幕上可以用任何颜色字体显示搜索到的与所述关键词文本对应的内容。When the mobile terminal is in a screen-off state, its screen has a black background. Therefore, in order to enable the user to clearly view the displayed content, the searched content is displayed in a non-black font. Preferably, the font color of the displayed content is different from black, for example, white, red, yellow, etc. Since the searched content can still be displayed when the mobile terminal is in a screen-off state, resource consumption caused by starting the mobile terminal is reduced. Of course, if the mobile terminal is in a non-off screen state, the searched content corresponding to the keyword text can be displayed in any color font on the black screen of the mobile terminal.

可选地,为了便于用户快速启动搜索操作,所述应用于移动终端的内容快速搜索装置包括:Optionally, in order to facilitate the user to quickly start the search operation, the content quick search device applied to the mobile terminal includes:

光标图形显示单元,用于显示光标图形。用户已通过按压光标键启动一次光标后,且已输出搜索到的与所述关键词文本对应的内容之后,则在移动终端的屏幕上显示光标图形。具体地,可在熄屏状态显示光标图形,该光标图形的颜色为非黑色,比如,光标图形的颜色可以如图4所示的白色,当然,也可以为红色或黄色等,此处不作限定。需要指出的是,若当前移动终端没有处于熄屏状态,则使移动终端处于熄屏状态再显示光标图形。The cursor graphic display unit is used for displaying the cursor graphic. After the user activates the cursor once by pressing the cursor key and outputs the searched content corresponding to the keyword text, the cursor graphic is displayed on the screen of the mobile terminal. Specifically, the cursor graphic can be displayed in the off-screen state, and the color of the cursor graphic is not black. For example, the color of the cursor graphic can be white as shown in FIG. 4 , of course, it can also be red or yellow, etc., which is not limited here . It should be pointed out that, if the mobile terminal is not currently in the screen-off state, the mobile terminal is in the screen-off state and then the cursor graphic is displayed.

点击指令接收单元,用于接收对所述光标图形的点击指令,根据所述点击指令启动移动终端的摄像头抓取摄像头前方的信息。The click instruction receiving unit is configured to receive a click instruction to the cursor graphic, and start the camera of the mobile terminal to capture information in front of the camera according to the click instruction.

由于用户再次启动搜索操作时,可通过点击移动终端的屏幕显示的光标图形启动,因此,丰富了信息的启动方式。当然,用户也可以仍通过按压光标键启动,此处不作限定。When the user starts the search operation again, he can start by clicking the cursor graphic displayed on the screen of the mobile terminal, thus enriching the ways of starting the information. Of course, the user can also start by pressing the cursor key, which is not limited here.

可选地,由于用户通常是连续搜索同样的内容,比如,可能连续搜索单词的读音,或连续搜索不同的试题等,则为了提高搜索速度,所述应用于移动终端的内容快速搜索装置包括:Optionally, since users usually continuously search for the same content, for example, they may continuously search for the pronunciation of words, or continuously search for different test questions, etc., in order to improve the search speed, the content fast search device applied to mobile terminals includes:

光标点的形状记忆单元,用于判断光标点的形状在光标键第N次被按压时是否已全部被使用一次,若是,则在光标键第(N+1)次被按压时,启动光标,以通过启动的光标以及光标孔发出与光标键第N次被按压时的光标点的形状相同的光标点,若否,则在光标键第(N+1)次被按压时,启动光标,以通过启动的光标以及光标孔发出未使用过的任一形状的光标点,N为整数,且大于或等于1。The shape memory unit of the cursor point is used to judge whether the shape of the cursor point has been used once when the cursor key is pressed for the Nth time, if so, when the cursor key is pressed for the (N+1) time, start the cursor, Send out the same cursor point with the shape of the cursor point when the cursor key is pressed for the Nth time with the cursor and the cursor hole that pass through the start, if not, then when the cursor key is pressed for the (N+1) time, start the cursor, with Issue unused cursor points of any shape through the activated cursor and the cursor hole, N is an integer greater than or equal to 1.

当判断出在一段时间内,用户通过按压光标键,已使用过全部形状的光标点,则当用户再次按压光标键时,会记忆上一次的使用记录,优先调取相应的光标点的形状及其对应的词句库,从而提高搜索速度。当然,为了避免在已使用过所有形状的光标点后,用户难以更换上一次记录的词句库这一情况,可在移动终端的光标键接收到连续按压(如连续2次按压)后,执行发出新的光标点的形状的循环。When it is judged that within a period of time, the user has used all the shapes of the cursor points by pressing the cursor key, when the user presses the cursor key again, the last use record will be memorized, and the shape and shape of the corresponding cursor point will be retrieved preferentially. Its corresponding vocabulary library, thus improving the search speed. Of course, in order to avoid the situation that it is difficult for the user to replace the last recorded word library after the cursor points of all shapes have been used, after the cursor key of the mobile terminal receives continuous presses (such as 2 consecutive presses), execute the sending Cycle through the shape of the new cursor point.

本发明第二实施例中,由于只需按压一次设置在移动终端上的光标键即可快速启动搜索步骤,进而输出搜索到的与所述关键词文本对应的内容,因此,简化了搜索步骤,提高了搜索速度以及用户的良好体验。In the second embodiment of the present invention, since only one press of the cursor key provided on the mobile terminal can quickly start the search step, and then output the searched content corresponding to the keyword text, therefore, the search step is simplified, Improved search speed and good user experience.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。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. Those skilled in the art 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 content quick search method applied to a mobile terminal, characterized in that the method comprises: 在光标键被按压时,启动移动终端的摄像头抓取摄像头前方的信息,所述光标键设置在移动终端上;When the cursor key is pressed, start the camera of the mobile terminal to grab the information in front of the camera, and the cursor key is set on the mobile terminal; 将包括抓取的所述摄像头前方的信息的图片识别为关键词文本;Recognize the picture comprising the captured information in front of the camera as keyword text; 在词句库中搜索与所述关键词文本对应的内容;Searching for content corresponding to the keyword text in the word bank; 输出搜索到的与所述关键词文本对应的内容。Output the searched content corresponding to the keyword text. 2.根据权利要求1所述的方法,其特征在于,在所述启动移动终端的摄像头抓取摄像头前方的信息之前,包括:2. The method according to claim 1, wherein, before the camera of the mobile terminal is started to capture the information in front of the camera, it includes: 启动光标,以通过启动的光标以及光标孔发出光标点,所述光标点投影在摄像头前方的信息上,所述光标孔设置在移动终端上;Start the cursor to send a cursor point through the started cursor and the cursor hole, the cursor point is projected on the information in front of the camera, and the cursor hole is arranged on the mobile terminal; 此时,所述启动移动终端的摄像头抓取摄像头前方的信息具体为:At this point, the information in front of the camera captured by the camera of the mobile terminal is specifically: 所述启动移动终端的摄像头抓取摄像头前方的光标点周围的信息。Said starting the camera of the mobile terminal captures the information around the cursor point in front of the camera. 3.根据权利要求2所述的方法,其特征在于,所述启动移动终端的摄像头抓取摄像头前方的光标点周围的信息,具体包括:3. The method according to claim 2, wherein said starting the camera of the mobile terminal to capture information around the cursor point in front of the camera specifically includes: 获取发出的光标点的形状;Get the shape of the emitted cursor point; 根据获取的所述发出的光标点的形状启动移动终端的摄像头抓取摄像头前方的光标点周围的对应信息,所述启动移动终端的摄像头抓取摄像头前方的光标点周围的对应信息包括:单词、试题、中文词句。Start the camera of the mobile terminal according to the acquired shape of the cursor point to capture the corresponding information around the cursor point in front of the camera, and the camera of the mobile terminal to capture the corresponding information around the cursor point in front of the camera includes: words, Exam questions, Chinese words and sentences. 4.根据权利要求3所述的方法,其特征在于,在词句库中搜索与所述关键词文本对应的内容,具体包括:4. The method according to claim 3, characterized in that, searching for content corresponding to the keyword text in the phrase bank, specifically comprises: 将获取的所述发出的光标点的形状与预存的形状词句库关系表存储的光标点的形状比较,以确定相应的词句库,所述预存的形状词句库关系表存储不同光标点的形状与不同词句库的对应关系;The shape of the cursor point that is acquired is compared with the shape of the cursor point stored in the pre-stored shape word library relational table to determine the corresponding word library. The pre-stored shape word library relationship table stores the shapes and Correspondence between different vocabulary databases; 在确定的所述相应的词句库中搜索与所述关键词文本对应的内容。Content corresponding to the keyword text is searched in the determined corresponding word library. 5.根据权利要求2所述的方法,其特征在于,在所述输出搜索到的与所述关键词文本对应的内容之后,包括:5. The method according to claim 2, characterized in that, after said outputting the searched content corresponding to said keyword text, comprising: 判断光标点的形状在光标键第N次被按压时是否已全部被使用一次,若是,则在光标键第(N+1)次被按压时,启动光标,以通过启动的光标以及光标孔发出与光标键第N次被按压时的光标点的形状相同的光标点,若否,则在光标键第(N+1)次被按压时,启动光标,以通过启动的光标以及光标孔发出未使用过的任一形状的光标点,N为整数,且大于或等于1。Determine whether the shape of the cursor point has been used once when the cursor key is pressed for the Nth time, and if so, when the cursor key is pressed for the (N+1)th time, start the cursor to send out through the activated cursor and the cursor hole Cursor point identical to the shape of the cursor point when the cursor key is pressed for the Nth time, if not, then when the cursor key is pressed for the (N+1) time, start the cursor, to send out an unidentified cursor through the activated cursor and the cursor hole Cursor point of any shape used, N is an integer greater than or equal to 1. 6.一种应用于移动终端的内容快速搜索装置,其特征在于,所述装置包括:6. A content quick search device applied to a mobile terminal, characterized in that the device comprises: 信息抓取单元,用于在光标键被按压时,启动移动终端的摄像头抓取摄像头前方的信息,所述光标键设置在移动终端上;The information capture unit is used to start the camera of the mobile terminal to capture the information in front of the camera when the cursor key is pressed, and the cursor key is arranged on the mobile terminal; 信息识别单元,用于将包括抓取的所述摄像头前方的信息的图片识别为关键词文本;An information recognition unit, configured to recognize a picture including the captured information in front of the camera as a keyword text; 信息搜索单元,用于在词句库中搜索与所述关键词文本对应的内容;an information search unit, configured to search for content corresponding to the keyword text in the phrase library; 信息输出单元,用于输出搜索到的与所述关键词文本对应的内容。An information output unit, configured to output the searched content corresponding to the keyword text. 7.根据权利要求6所述的装置,其特征在于,所述装置包括:7. The device according to claim 6, characterized in that the device comprises: 光标启动单元,用于启动光标,以通过启动的光标以及光标孔发出光标点,所述光标点投影在摄像头前方的信息上,所述光标孔设置在移动终端上;The cursor starting unit is used to start the cursor, so as to send a cursor point through the started cursor and a cursor hole, the cursor point is projected on the information in front of the camera, and the cursor hole is arranged on the mobile terminal; 此时,所述信息抓取单元具体用于启动移动终端的摄像头抓取摄像头前方的光标点周围的信息。At this time, the information capture unit is specifically configured to start the camera of the mobile terminal to capture information around the cursor point in front of the camera. 8.根据权利要求7所述的装置,其特征在于,所述信息抓取单元包括:8. The device according to claim 7, wherein the information capture unit comprises: 光标点的形状获取模块,用于获取发出的光标点的形状;The shape acquisition module of the cursor point is used to obtain the shape of the cursor point sent; 抓取信息选择模块,用于根据获取的所述发出的光标点的形状启动移动终端的摄像头抓取摄像头前方的光标点周围的对应信息,所述启动移动终端的摄像头抓取摄像头前方的光标点周围的对应信息包括:单词、试题、中文词句。Capture information selection module, used to start the camera of the mobile terminal according to the shape of the acquired cursor point to capture the corresponding information around the cursor point in front of the camera, and start the camera of the mobile terminal to capture the cursor point in front of the camera The surrounding corresponding information includes: words, test questions, Chinese words and sentences. 9.根据权利要求8所述的装置,其特征在于,所述信息搜索单元包括:9. The device according to claim 8, wherein the information search unit comprises: 光标点的形状比较模块,用于将获取的所述发出的光标点的形状与预存的形状词句库关系表存储的光标点的形状比较,以确定相应的词句库,所述预存的形状词句库关系表存储不同光标点的形状与不同词句库的对应关系;The shape comparison module of the cursor point is used to compare the shape of the obtained cursor point with the shape of the cursor point stored in the pre-stored shape word-sentence database relation table to determine the corresponding word-sentence library, and the pre-stored shape word-sentence library The relationship table stores the corresponding relationship between the shapes of different cursor points and different vocabulary libraries; 分类搜索模块,用于在确定的所述相应的词句库中搜索与所述关键词文本对应的内容。A category search module, configured to search for content corresponding to the keyword text in the determined corresponding word library. 10.根据权利要求7所述的装置,其特征在于,所述装置包括:10. The device according to claim 7, wherein the device comprises: 光标点的形状记忆单元,用于判断光标点的形状在光标键第N次被按压时是否已全部被使用一次,若是,则在光标键第(N+1)次被按压时,启动光标,以通过启动的光标以及光标孔发出与光标键第N次被按压时的光标点的形状相同的光标点,若否,则在光标键第(N+1)次被按压时,启动光标,以通过启动的光标以及光标孔发出未使用过的任一形状的光标点,N为整数,且大于或等于1。The shape memory unit of the cursor point is used to judge whether the shape of the cursor point has been used once when the cursor key is pressed for the Nth time, if so, when the cursor key is pressed for the (N+1) time, start the cursor, Send out the same cursor point with the shape of the cursor point when the cursor key is pressed for the Nth time with the cursor and the cursor hole that pass through the start, if not, then when the cursor key is pressed for the (N+1) time, start the cursor, with Issue unused cursor points of any shape through the activated cursor and the cursor hole, N is an integer greater than or equal to 1.
CN201610286533.XA 2016-04-29 2016-04-29 Content fast search method and device applied to mobile terminal Active CN106020662B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610286533.XA CN106020662B (en) 2016-04-29 2016-04-29 Content fast search method and device applied to mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610286533.XA CN106020662B (en) 2016-04-29 2016-04-29 Content fast search method and device applied to mobile terminal

Publications (2)

Publication Number Publication Date
CN106020662A true CN106020662A (en) 2016-10-12
CN106020662B CN106020662B (en) 2019-04-30

Family

ID=57082128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610286533.XA Active CN106020662B (en) 2016-04-29 2016-04-29 Content fast search method and device applied to mobile terminal

Country Status (1)

Country Link
CN (1) CN106020662B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004038367A (en) * 2002-07-01 2004-02-05 Nec Corp Internet web page connecting system and marketing information collecting system using cellular phone with camera, and method
CN1804858A (en) * 2005-01-10 2006-07-19 赵国成 Novel assistant positioning system for implementing OCR function on mobile terminals with camera
CN102169541A (en) * 2011-04-02 2011-08-31 郝震龙 Character recognition input system using optical localization and method thereof
EP2189926B1 (en) * 2008-11-21 2012-09-19 beyo GmbH Method for providing camera-based services using a portable communication device of a user and portable communication device of a user
CN102982326A (en) * 2011-09-02 2013-03-20 汉王科技股份有限公司 A method and a device for word processing and an electronic translation pen
CN103369049A (en) * 2013-07-22 2013-10-23 王雁林 Mobile terminal and server interactive method and system thereof
CN103955525A (en) * 2014-05-09 2014-07-30 北京奇虎科技有限公司 Method and client for searching answer to test question
CN104156490A (en) * 2014-09-01 2014-11-19 北京奇虎科技有限公司 Method and device for detecting suspicious fishing webpage based on character recognition
CN104933068A (en) * 2014-03-19 2015-09-23 阿里巴巴集团控股有限公司 Method and device for information searching
CN105096677A (en) * 2015-08-19 2015-11-25 北京京东方多媒体科技有限公司 Teaching system and work method thereof

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004038367A (en) * 2002-07-01 2004-02-05 Nec Corp Internet web page connecting system and marketing information collecting system using cellular phone with camera, and method
CN1804858A (en) * 2005-01-10 2006-07-19 赵国成 Novel assistant positioning system for implementing OCR function on mobile terminals with camera
EP2189926B1 (en) * 2008-11-21 2012-09-19 beyo GmbH Method for providing camera-based services using a portable communication device of a user and portable communication device of a user
CN102169541A (en) * 2011-04-02 2011-08-31 郝震龙 Character recognition input system using optical localization and method thereof
CN102982326A (en) * 2011-09-02 2013-03-20 汉王科技股份有限公司 A method and a device for word processing and an electronic translation pen
CN103369049A (en) * 2013-07-22 2013-10-23 王雁林 Mobile terminal and server interactive method and system thereof
CN104933068A (en) * 2014-03-19 2015-09-23 阿里巴巴集团控股有限公司 Method and device for information searching
CN103955525A (en) * 2014-05-09 2014-07-30 北京奇虎科技有限公司 Method and client for searching answer to test question
CN104156490A (en) * 2014-09-01 2014-11-19 北京奇虎科技有限公司 Method and device for detecting suspicious fishing webpage based on character recognition
CN105096677A (en) * 2015-08-19 2015-11-25 北京京东方多媒体科技有限公司 Teaching system and work method thereof

Also Published As

Publication number Publication date
CN106020662B (en) 2019-04-30

Similar Documents

Publication Publication Date Title
CN105975557B (en) Topic searching method and device applied to electronic equipment
CN105956096B (en) Rapid question searching method and device based on mobile terminal
CN105930487B (en) Topic searching method and device applied to mobile terminal
CN105930486A (en) Rapid search method and device for big data
CN106250518A (en) Intelligent question searching method and device
CN105975554B (en) Mobile terminal-based big data search method and device
CN105975551B (en) Information search method and device based on wearable device
CN105912717A (en) Image-based information searching method and device
US10360455B2 (en) Grouping captured images based on features of the images
CN105718560B (en) A method and system for quickly searching learning resources
CN106294717A (en) Question searching method and device based on intelligent terminal
CN108121987B (en) Information processing method and electronic equipment
CN106528742A (en) Information query method and device
EP3204872A1 (en) Linking thumbnail of image to web page
CN106095998B (en) Method and device for accurate question search applied to intelligent terminal
US20160055178A1 (en) Method for swiftly searching for target objects
CN106202360A (en) Test question searching method and device
CN105975193B (en) Fast search method and device applied to mobile terminal
TWM457241U (en) Picture character recognition system by combining augmented reality
CN106202539B (en) Aggregate search method and device
WO2024149183A1 (en) Document display method and apparatus, and electronic device
CN112417095A (en) Voice message processing method and device
CN114758345B (en) Yolo V5-based smoke and fire monitoring azimuth extraction method and system
CN106294659B (en) Method and device for searching questions based on intelligent terminal
CN112765447B (en) Data searching method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant