CN108470041B - Information searching method and mobile terminal - Google Patents
Information searching method and mobile terminal Download PDFInfo
- Publication number
- CN108470041B CN108470041B CN201810146432.1A CN201810146432A CN108470041B CN 108470041 B CN108470041 B CN 108470041B CN 201810146432 A CN201810146432 A CN 201810146432A CN 108470041 B CN108470041 B CN 108470041B
- Authority
- CN
- China
- Prior art keywords
- text
- picture
- server
- application program
- recognition result
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
- G06F16/5846—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using extracted text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Library & Information Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention provides an information searching method and a mobile terminal, wherein the method comprises the following steps: receiving touch operation on a text area in a picture, and uploading position information of the touched text area and a picture identifier of the picture to a server; receiving a text recognition result returned by the server, and determining a recommended application program according to a recommended field contained in the text recognition result; displaying a shortcut of a recommended application program in an interface; receiving a selection instruction of a shortcut of a target recommended application program, and starting the target recommended application program; and adding the text keywords contained in the text recognition result into the keyword input box of the target recommendation application program for searching, so that the text information in the picture can be conveniently searched, and the use experience of a user is improved.
Description
Technical Field
The embodiment of the invention relates to the technical field of mobile terminals, in particular to an information searching method and a mobile terminal.
Background
Along with the continuous increase of application program types, the hardware configuration of the mobile terminal is continuously improved, more and more application programs are installed on the mobile terminal, and the installed application programs bring great convenience to daily life and work of users, for example: the user can purchase, order, communicate or inquire the line on the internet through the corresponding application program.
A large number of pictures are generated in a mobile terminal every day, and many pictures often contain abundant text information. When a user previews a picture, if text information contained in the picture is interested, the user needs to jump out of a picture previewing interface, manually search a target application program, and input search keywords extracted from the text information into a keyword search box of the target application program for searching, so that the operation is complicated and the user operation is inconvenient. For example: the picture contains description of a certain sight spot, when a user needs to inquire the geographical position of the sight spot when the user is interested in the sight spot, the map application program can be manually started, and the sight spot is input in a location search bar of the map application program for inquiry.
Therefore, when searching for text information in a picture in the prior art, the operation is complex, time-consuming and labor-consuming, and the use experience of a user is influenced.
Disclosure of Invention
The embodiment of the invention provides an information searching method, which aims to solve the problem that in the prior art, the operation is complicated when text information in a picture is searched.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention further provides an information search method applied to a mobile terminal, where the method includes: receiving touch operation on a text area in a picture, and uploading position information of the touched text area and a picture identifier of the picture to a server; receiving a text recognition result returned by the server, and determining a recommended application program according to a recommended field contained in the text recognition result; displaying a shortcut of a recommended application program in an interface; receiving a selection instruction of a shortcut of a target recommended application program, and starting the target recommended application program; and adding the text keywords contained in the text recognition result into a keyword input box of the target recommendation application program for searching.
In a second aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal includes: the uploading module is used for receiving touch operation on a text area in a picture and uploading position information of the touched text area and a picture identifier of the picture to a server; the determining module is used for receiving the text recognition result returned by the server and determining a recommended application program according to a recommended field contained in the text recognition result; the display module is used for displaying the shortcut of the recommended application program in the interface; the receiving module is used for receiving a selection instruction of the shortcut of the target recommended application program and starting the target recommended application program; and the adding module is used for adding the text keywords contained in the text recognition result into the keyword input box of the target recommendation application program for searching.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes a processor, a memory, and a computer program stored on the memory and capable of running on the processor, and when the computer program is executed by the processor, the steps of any one of the information search methods described in the embodiments of the present invention are implemented.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores thereon a computer program, and when executed by a processor, the computer program implements the steps of any one of the information search methods described in the embodiments of the present invention.
In the embodiment of the invention, the position information executed by the touched text area and the picture identification of the touched picture are uploaded to the server, the text recognition result corresponding to the text area returned by the server is received, the recommended application program is determined according to the file recognition result, the shortcut of the recommended application program is displayed in the interface, when the selection instruction of the shortcut of a certain recommended application program is received, the target recommended application program is automatically started, text keywords contained in the text recognition result are added into the keyword input box of the target recommended application program for searching, and therefore, the convenient searching of the text information in the picture is realized. The user does not need to jump out of the picture preview interface to manually search the target application program, and does not need to manually enter search keywords in the opened target application program, so that the operation is convenient, the search time is saved, the labor is saved, and the use experience of the user can be improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating steps of an information searching method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a method for searching information according to a second embodiment of the present invention;
fig. 3 is a block diagram of a mobile terminal according to a third embodiment of the present invention;
fig. 4 is a schematic diagram of a hardware structure of a mobile terminal according to a fourth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Referring to fig. 1, a flowchart illustrating steps of an information searching method according to a first embodiment of the present invention is shown.
The information searching method of the embodiment of the invention comprises the following steps:
step 101: and receiving touch operation on a text area in the picture, and uploading the position information of the touched text area and the picture identification of the picture to a server.
The picture can be a picture in a gallery or a picture in a webpage. The picture includes text information, and the text information may be arranged in different text areas, for example: a piece of text information is arranged at the upper left corner of the picture, and a piece of text information is arranged at the lower right corner of the picture. Or may be arranged in the same text area.
When a user previews a picture, if a certain section of text information in the picture is interested, the user can touch a text area where the section of text information is located. The touch operation can be a single click, a double click or a long press operation.
The mobile terminal can upload the picture to the server in advance, the server detects the text regions in the picture, and the position information of each text region and the text recognition result corresponding to the text region are determined, so that the recognition of the text information in the picture is completed. And after receiving the picture identification and the position information sent by the mobile terminal, inquiring a corresponding text recognition result.
It should be noted that, if the mobile terminal uploads the picture to the server in advance and the server completes the identification of the text information in the picture, the picture identifier and the position information of the text region are uploaded to the server in step 101, and the text identification result returned by the server can be successfully received; on the contrary, if the mobile terminal does not upload the picture to the server in advance, the text recognition result returned by the server cannot be successfully received, but the recognition failure message returned by the server is received. When receiving the identification failure message, the user can manually define a text area in the picture, the mobile terminal uploads the defined text area to the server, and the server analyzes text information in the text area to obtain a text identification result and returns the text identification result to the mobile terminal.
Step 102: and receiving a text recognition result returned by the server, and determining the recommended application program according to a recommended field contained in the text recognition result.
The text recognition result may include, but is not limited to: text keywords and recommendation fields.
The text keywords are obtained by the mobile terminal through semantic analysis on text information contained in the text area. The recommendation field can be determined by the server according to the file keywords and semantics, then the application programs which are associated with the category are determined according to the category of the keywords, and the name or identification of the determined application programs are used as the recommendation field.
For example: the text information contained in the text area is 'A place landscape is beautiful, a tourist is welcomed', the text keyword can be determined to be A by analyzing the text information, and A is determined to be a place noun, the application program related to the place can be determined to be a map, a takeout and the like, and therefore the recommendation field can be set to be a map, a takeout and the like.
Step 103: displaying the shortcut of the recommended application program in the interface.
The number of recommended applications may be one or more, and the specific number of recommended applications may be set by those skilled in the art according to actual needs, which is not specifically limited in the embodiment of the present invention.
Step 104: and receiving a selection instruction of the shortcut of the target recommended application program, and starting the target recommended application program.
The user selects a target recommended application program from the recommended application programs, the mobile terminal can be triggered to start the target recommended application program by clicking the shortcut of the target recommended application program, and the mobile terminal automatically jumps to a keyword input box display interface in the target application program from the picture preview interface.
Step 105: and adding the text keywords contained in the text recognition result into a keyword input box of the target recommendation application program for searching.
The mobile terminal adds the text keywords to the keyword input box of the target recommendation application program to serve as search keywords, so that the search keywords do not need to be manually input by a user, and the use experience of the user can be improved. For example: if the opened target application program is a map application program, after the map application program is opened, a text keyword is added in a keyword input box, namely a place search bar, of the map application program, and the map application program can be triggered to search the position of the place indicated by the text keyword.
The information searching method provided by the embodiment of the invention uploads the position information executed by the touched text area and the picture identification of the touched picture to the server, receives the text recognition result corresponding to the text area returned by the server, determines the recommended application program according to the file recognition result and displays the shortcut of the recommended application program in the interface, and automatically starts the target recommended application program and adds the text keywords contained in the text recognition result to the keyword input box of the target recommended application program for searching when receiving the selection instruction of the shortcut of a certain recommended application program, thereby realizing convenient searching of the text information in the picture. The user does not need to jump out of the picture preview interface to manually search the target application program, and does not need to manually enter search keywords in the opened target application program, so that the operation is convenient, the search time is saved, the labor is saved, and the use experience of the user can be improved.
Example two
Referring to fig. 2, a flowchart illustrating steps of an information searching method according to a second embodiment of the present invention is shown.
The information searching method of the embodiment of the invention specifically comprises the following steps:
step 201: and receiving touch operation on a text area in the picture, and uploading the position information of the touched text area and the picture identification of the picture to a server.
For a picture, there are two possibilities, one is that the text information in the picture is already recognized in advance in the server, and at this time, the position information of each text region in the picture and the text recognition result corresponding to the text region are stored in the server. Another possibility is that the text information in the picture is not identified in advance in the server, and accordingly, the position information of each text region in the picture and the text identification result corresponding to the text region are not stored in the server.
For the two possibilities, after the text area in the picture is touched correspondingly, the mobile terminal uploads the position information of the touched text area and the picture identifier of the picture to the server, and the server may return two results, one result is that the text recognition result returned by the server is received, and the other result is that the recognition failure message returned by the server is received. When the text recognition result returned by the server is received, the step 205 and the subsequent steps are directly executed without executing the steps 202 to 204. When receiving the identification failure message, the user may manually define a text region in the picture, the mobile terminal uploads the defined text region to the server, and the server parses the text information in the text region to obtain a text identification result and returns the text identification result to the mobile terminal, where the specific process is as described in steps 202 to 204.
One preferable scheme is that the mobile terminal may upload a locally stored picture to the server according to a preset time interval, so that the server loads a text region in the picture in advance, and analyzes text information in the text region to obtain a text recognition result.
According to the preferred scheme, the server side recognizes the text of the picture in advance, so that when the mobile terminal sends the position information of the touched text area and the picture identification of the picture, the server can directly inquire the corresponding text recognition result, and the mobile terminal does not need to wait for a long time.
Step 202: and if receiving an identification failure message returned by the server, outputting a prompt message to prompt the user to manually circle the text area.
The mobile terminal may be preset with a text area selection box, which may be in any suitable shape, for example: rectangular, circular, or diamond shaped, etc.
Step 203: and receiving a delineation operation of a user on the text area in the picture.
When the text region is defined, the user can select a text region selection frame preset in the mobile terminal, and the text region is defined in the picture by adjusting the position and the size of the text region selection frame.
Step 204: and intercepting the defined text area, and uploading the intercepted text area to a server.
The server analyzes the text information in the text area to obtain a text recognition result.
Only the defined text area is intercepted and uploaded to the server, and compared with the method of uploading the whole picture to the server, the method not only saves browsing consumed by uploading, but also can reduce processing burden of the server and save processing time.
And when the server analyzes the text information in the text area, performing semantic analysis on the text information to determine to obtain text keywords, application program recommended fields and confidence values of the application program recommended fields, wherein the obtained information forms a text recognition result. And after the server obtains the text recognition result through analysis, returning the text recognition result to the mobile terminal.
Step 205: and receiving a text recognition result returned by the server, and determining the recommended application program according to a recommended field contained in the text recognition result.
The text recognition result may include one or more recommendation fields, and when determining the recommended application program, the first application programs matched with the locally installed recommendation fields may all be determined as the recommended application program for the user to select. The first application program can be further filtered to obtain a recommended application program.
One way to preferably determine recommended applications is to:
firstly, when a text recognition result returned by a server is received, determining recommendation fields and confidence values of the recommendation fields contained in the recognition result; secondly, determining a first application program which is installed in the mobile terminal and matched with the recommended fields aiming at each recommended field; thirdly, sequencing the first application programs according to the confidence values of the corresponding recommendation fields; and finally, selecting the first application programs with the top sequence of the preset number as recommended application programs. Wherein, the preset number can be set by the technicians in the field according to the actual requirement, for example: set to 4, 3, or 2, etc.
The method for preferentially determining the recommended application program can improve the reliability and accuracy of the recommended application program and facilitate a user to quickly find the target recommended application program.
Step 206: displaying the shortcut of the recommended application program in the interface.
And generating a shortcut for each recommended application program, and triggering the mobile terminal to start the target recommended application program by the user through selecting the shortcut of the target recommended application program.
Step 207: and receiving a selection instruction of the shortcut of the target recommended application program, and starting the target recommended application program.
The selection instruction may be a single-click instruction, a double-click instruction, a long-press instruction, or the like for a shortcut of the target recommended application program, and a specific form of the selection instruction is not limited in the embodiment of the present invention.
Step 208: and adding the text keywords contained in the text recognition result into a keyword input box of the target recommendation application program for searching.
The mobile terminal adds the text keywords to the keyword input box of the target recommendation application program to serve as search keywords, so that the search keywords do not need to be manually input by a user, and the use experience of the user can be improved.
For example: taking processing a picture containing a non-Chinese commodity name as an example, if a user knows a commodity corresponding to the commodity name, the user defines a text region containing the commodity name in the picture, the mobile terminal uploads the defined text region to the server, and the server analyzes the commodity name in the text region to obtain a text recognition result. The mobile terminal displays shortcuts of the recommended application programs, such as shortcuts of translation apps, browsers, Tianmao and the like, according to the text recognition result, and a user can directly obtain a search result based on the commodity name by clicking the shortcuts, such as a translated result, commodity information retrieved by the browser or a search result of the commodity on the Tianmao.
The information searching method provided by the embodiment of the invention has the beneficial effects that the information searching method shown in the first embodiment has, and the recommended application programs are screened according to the confidence values of the recommended fields contained in the text recognition result, so that the reliability and the accuracy of the recommended application programs can be improved, and a user can conveniently and quickly find the target recommended application program.
EXAMPLE III
Referring to fig. 3, a block diagram of a mobile terminal according to a third embodiment of the present invention is shown.
The mobile terminal of the embodiment of the invention can comprise: the uploading module 301 is configured to receive a touch operation on a text region in a picture, and upload position information of the touched text region and a picture identifier of the picture to a server; a determining module 302, configured to receive a text recognition result returned by the server, and determine a recommended application according to a recommended field included in the text recognition result; the display module 303 is configured to display a shortcut of the recommended application in the interface; a receiving module 304, configured to receive a selection instruction of a shortcut to a target recommended application program, and start the target recommended application program; an adding module 305, configured to add the text keywords included in the text recognition result to the keyword input box of the target recommendation application program for searching.
Preferably, the mobile terminal further includes: an output module 306, configured to output a prompt message to prompt a user to manually define a text region if an identification failure message returned by the server is received after the uploading module 301 uploads the position information of the touched text region and the picture identifier of the picture to the server; an operation detection module 307, configured to receive a delineating operation of a text region in the picture by a user; and the intercepting module 308 is configured to intercept the delineated text region, and upload the intercepted text region to the server.
Preferably, the determining module 302 comprises: a field determining submodule 3021, configured to receive a text recognition result returned by the server, and determine recommendation fields and confidence values of the recommendation fields included in the recognition result; an application program determining submodule 3022, configured to determine, for each recommended field, a first application program that is installed in the mobile terminal and matches the recommended field; the sequencing submodule is used for sequencing the first application programs according to the confidence values of the corresponding application program recommendation fields; a selecting submodule 3023 is configured to select a preset number of top ranked first applications as recommended applications.
Preferably, the mobile terminal further includes: the pre-loading module 309 is configured to upload a locally stored picture to the server according to a preset time interval before the uploading module 301 receives a touch operation on a text region in the picture and uploads the position information of the touched text region and the picture identifier of the picture to the server, so that the server pre-loads the text region in the picture and analyzes the text information in the text region to obtain a text recognition result.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
The mobile terminal provided by the embodiment of the invention uploads the position information executed by the touched text area and the picture identifier of the touched picture to the server, receives the text recognition result corresponding to the text area returned by the server, determines the recommended application program according to the file recognition result and displays the shortcut of the recommended application program in the interface, and automatically starts the target recommended application program and adds the text keywords contained in the text recognition result to the keyword input box of the target recommended application program for searching when receiving the selection instruction of the shortcut of a certain recommended application program, thereby realizing convenient searching of the text information in the picture. The user does not need to jump out of the picture preview interface to manually search the target application program, and does not need to manually enter search keywords in the opened target application program, so that the operation is convenient, the search time is saved, the labor is saved, and the use experience of the user can be improved.
Example four
Referring to fig. 4, a block diagram of a mobile terminal according to a fourth embodiment of the present invention is shown.
Fig. 4 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 4 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 410 is configured to receive a touch operation on a text region in a picture, and upload position information of the touched text region and a picture identifier of the picture to a server; receiving a text recognition result returned by the server, and determining a recommended application program according to a recommended field contained in the text recognition result; displaying a shortcut of a recommended application program in an interface; receiving a selection instruction of a shortcut of a target recommended application program, and starting the target recommended application program; and adding the text keywords contained in the text recognition result into a keyword input box of the target recommendation application program for searching.
The mobile terminal provided by the embodiment of the invention uploads the position information executed by the touched text area and the picture identifier of the touched picture to the server, receives the text recognition result corresponding to the text area returned by the server, determines the recommended application program according to the file recognition result and displays the shortcut of the recommended application program in the interface, and automatically starts the target recommended application program and adds the text keywords contained in the text recognition result to the keyword input box of the target recommended application program for searching when receiving the selection instruction of the shortcut of a certain recommended application program, thereby realizing convenient searching of the text information in the picture. The user does not need to jump out of the picture preview interface to manually search the target application program, and does not need to manually enter search keywords in the opened target application program, so that the operation is convenient, the search time is saved, the labor is saved, and the use experience of the user can be improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 402, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the mobile terminal 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The mobile terminal 400 also includes at least one sensor 405, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 4061 and/or the backlight when the mobile terminal 400 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 408 is an interface through which an external device is connected to the mobile terminal 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 400 or may be used to transmit data between the mobile terminal 400 and external devices.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby integrally monitoring the mobile terminal. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The mobile terminal 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the mobile terminal 400 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, the computer program implements each process of the above-mentioned information search method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned information search method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (10)
1. An information searching method is applied to a mobile terminal, and is characterized by comprising the following steps:
receiving touch operation on a text area in a picture, and uploading position information of the touched text area and a picture identifier of the picture to a server, wherein the picture comprises text information which is distributed in different text areas;
receiving a text recognition result returned by the server, and determining a recommended application program according to a recommended field contained in the text recognition result;
displaying a shortcut of a recommended application program in an interface;
receiving a selection instruction of a shortcut of a target recommended application program, and starting the target recommended application program;
and adding the text keywords contained in the text recognition result into a keyword input box of the target recommendation application program for searching.
2. The method of claim 1, wherein after the step of uploading the location information of the touched text region and the picture identification of the picture to a server, the method further comprises:
if receiving an identification failure message returned by the server, outputting a prompt message to prompt a user to manually circle a text area;
receiving a delineation operation of a user on a text region in the picture;
and intercepting the delineated text area, and uploading the intercepted text area to the server.
3. The method according to claim 1, wherein the step of receiving the text recognition result returned by the server and determining the recommended application according to the recommended field included in the text recognition result comprises:
receiving a text recognition result returned by the server, and determining each recommended field and a confidence value of each recommended field contained in the recognition result;
for each recommended field, determining a first application program which is installed in the mobile terminal and matched with the recommended field;
sequencing the first application programs according to the confidence values of the corresponding recommendation fields;
and selecting the first application programs with the preset number in the front as recommended application programs.
4. The method according to claim 1, wherein before the step of receiving a touch operation on a text region in a picture, and uploading position information of the touched text region and a picture identifier of the picture to a server, the method further comprises:
uploading the locally stored picture to the server according to a preset time interval so that the server loads a text region in the picture in advance, and analyzing text information in the text region to obtain a text recognition result.
5. A mobile terminal, characterized in that the mobile terminal comprises:
the uploading module is used for receiving touch operation on a text area in a picture and uploading position information of the touched text area and a picture identifier of the picture to a server, wherein the picture comprises text information which is distributed in different text areas;
the determining module is used for receiving the text recognition result returned by the server and determining a recommended application program according to a recommended field contained in the text recognition result;
the display module is used for displaying the shortcut of the recommended application program in the interface;
the receiving module is used for receiving a selection instruction of the shortcut of the target recommended application program and starting the target recommended application program;
and the adding module is used for adding the text keywords contained in the text recognition result into the keyword input box of the target recommendation application program for searching.
6. The mobile terminal of claim 5, wherein the mobile terminal further comprises:
the output module is used for outputting prompt information to prompt a user to manually circle the text area if receiving an identification failure message returned by the server after the uploading module uploads the position information of the touched text area and the picture identifier of the picture to the server;
the operation detection module is used for receiving the delineation operation of a user on the text area in the picture;
and the intercepting module is used for intercepting the delineated text area and uploading the intercepted text area to the server.
7. The mobile terminal of claim 5, wherein the determining module comprises:
the field determination submodule is used for receiving a text recognition result returned by the server and determining each recommendation field and the confidence value of each recommendation field contained in the recognition result;
the application program determining submodule is used for determining a first application program which is installed in the mobile terminal and matched with the recommended field aiming at each recommended field;
the sequencing submodule is used for sequencing the first application programs according to the confidence values of the corresponding recommendation fields;
and the selection submodule is used for selecting the first application programs with the preset number in the front as the recommended application programs.
8. The mobile terminal of claim 5, wherein the mobile terminal further comprises:
the pre-loading module is used for uploading the locally stored picture to the server according to a preset time interval before the uploading module receives the touch operation on the text area in the picture and uploads the position information of the touched text area and the picture identifier of the picture to the server, so that the server pre-loads the text area in the picture and analyzes the text information in the text area to obtain a text recognition result.
9. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the information search method according to any one of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the information search method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810146432.1A CN108470041B (en) | 2018-02-12 | 2018-02-12 | Information searching method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810146432.1A CN108470041B (en) | 2018-02-12 | 2018-02-12 | Information searching method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108470041A CN108470041A (en) | 2018-08-31 |
CN108470041B true CN108470041B (en) | 2021-01-08 |
Family
ID=63266361
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810146432.1A Active CN108470041B (en) | 2018-02-12 | 2018-02-12 | Information searching method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108470041B (en) |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109491560B (en) * | 2018-09-20 | 2021-08-13 | 华为技术有限公司 | Application program starting method and device |
CN109298826A (en) * | 2018-11-16 | 2019-02-01 | 珠海市魅族科技有限公司 | Application recommended method and electronic equipment based on content of text |
CN111292153B (en) * | 2018-12-10 | 2024-04-09 | 北京京东尚科信息技术有限公司 | Information recommendation method, device, system and storage medium |
CN109917979B (en) * | 2019-02-22 | 2021-02-23 | 维沃移动通信有限公司 | Searching method and mobile terminal |
CN109977290A (en) * | 2019-03-14 | 2019-07-05 | 北京达佳互联信息技术有限公司 | Information processing method, system, device and computer readable storage medium |
CN110175604A (en) * | 2019-05-14 | 2019-08-27 | 维沃移动通信有限公司 | Localization method and mobile terminal |
CN110245572A (en) * | 2019-05-20 | 2019-09-17 | 平安科技(深圳)有限公司 | Region content identification method, device, computer equipment and storage medium |
CN110928621B (en) * | 2019-11-01 | 2021-05-25 | 北京达佳互联信息技术有限公司 | Information searching method and device, electronic equipment and storage medium |
CN110851631B (en) * | 2019-11-11 | 2021-03-30 | 山东科技大学 | Retrieval system |
CN111176525B (en) * | 2019-12-25 | 2022-05-31 | 联想(北京)有限公司 | Operation area prompting method, electronic equipment and storage medium |
CN111182145A (en) * | 2019-12-27 | 2020-05-19 | 华为技术有限公司 | Display method and related product |
KR20210133588A (en) * | 2020-04-29 | 2021-11-08 | 엘지전자 주식회사 | Display device and operating method thereof |
CN113946744A (en) * | 2020-07-16 | 2022-01-18 | 北京达佳互联信息技术有限公司 | Data processing method, device, server and storage medium |
CN112333084B (en) * | 2020-10-30 | 2022-02-08 | 维沃移动通信有限公司 | File sending method and device and electronic equipment |
CN115857737A (en) * | 2021-09-24 | 2023-03-28 | 荣耀终端有限公司 | Information recommendation method and electronic equipment |
CN116126197B (en) * | 2021-11-12 | 2024-06-14 | 荣耀终端有限公司 | Application program recommendation method |
CN115033153B (en) * | 2021-11-15 | 2023-12-19 | 荣耀终端有限公司 | Application program recommendation method and electronic device |
CN113901337A (en) * | 2021-11-22 | 2022-01-07 | 杭州逗酷软件科技有限公司 | Application recommendation method, device, equipment and computer-readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102651018A (en) * | 2012-03-30 | 2012-08-29 | 奇智软件(北京)有限公司 | Method and device for displaying input information correlation content |
CN102761668A (en) * | 2012-07-13 | 2012-10-31 | 青岛海信传媒网络技术有限公司 | Method and device for dialing telephone call based on telephone number information in pictures |
CN102811371A (en) * | 2012-07-10 | 2012-12-05 | Tcl集团股份有限公司 | Method, system and device for recommending intelligent television application program |
CN105867714A (en) * | 2015-01-22 | 2016-08-17 | 阿里巴巴集团控股有限公司 | Application downloading method, apparatus and system |
CN107562332A (en) * | 2017-08-31 | 2018-01-09 | 努比亚技术有限公司 | A kind of information search method, mobile terminal and computer-readable recording medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104239313B (en) * | 2013-06-09 | 2019-07-30 | 百度在线网络技术(北京)有限公司 | The searching method and mobile terminal of text are shown in screen based on mobile terminal |
US9098888B1 (en) * | 2013-12-12 | 2015-08-04 | A9.Com, Inc. | Collaborative text detection and recognition |
CN106326415A (en) * | 2016-08-24 | 2017-01-11 | 广东小天才科技有限公司 | Method and device for searching questions by photographing |
-
2018
- 2018-02-12 CN CN201810146432.1A patent/CN108470041B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102651018A (en) * | 2012-03-30 | 2012-08-29 | 奇智软件(北京)有限公司 | Method and device for displaying input information correlation content |
CN102811371A (en) * | 2012-07-10 | 2012-12-05 | Tcl集团股份有限公司 | Method, system and device for recommending intelligent television application program |
CN102761668A (en) * | 2012-07-13 | 2012-10-31 | 青岛海信传媒网络技术有限公司 | Method and device for dialing telephone call based on telephone number information in pictures |
CN105867714A (en) * | 2015-01-22 | 2016-08-17 | 阿里巴巴集团控股有限公司 | Application downloading method, apparatus and system |
CN107562332A (en) * | 2017-08-31 | 2018-01-09 | 努比亚技术有限公司 | A kind of information search method, mobile terminal and computer-readable recording medium |
Also Published As
Publication number | Publication date |
---|---|
CN108470041A (en) | 2018-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108470041B (en) | Information searching method and mobile terminal | |
CN108536365B (en) | Image sharing method and terminal | |
CN109917979B (en) | Searching method and mobile terminal | |
CN110798397B (en) | File sending method and device and electronic equipment | |
EP3699743B1 (en) | Image viewing method and mobile terminal | |
CN108334272B (en) | Control method and mobile terminal | |
CN110618969B (en) | Icon display method and electronic equipment | |
CN110989847B (en) | Information recommendation method, device, terminal equipment and storage medium | |
CN108984066B (en) | Application icon display method and mobile terminal | |
CN111491211B (en) | Video processing method, video processing device and electronic equipment | |
CN109739402B (en) | Fast application processing method and terminal equipment | |
CN109388456B (en) | Head portrait selection method and mobile terminal | |
CN108491148B (en) | Application sharing method and terminal | |
CN111090489B (en) | Information control method and electronic equipment | |
WO2019096042A1 (en) | Application program installation method and mobile terminal | |
CN110096203B (en) | Screenshot method and mobile terminal | |
CN110990679A (en) | Information searching method and electronic equipment | |
CN109495638B (en) | Information display method and terminal | |
CN110795002A (en) | Screenshot method and terminal equipment | |
CN111124223A (en) | Application interface switching method and electronic equipment | |
CN108595107B (en) | Interface content processing method and mobile terminal | |
CN110688497A (en) | Resource information searching method and device, terminal equipment and storage medium | |
CN111610903A (en) | Information display method and electronic equipment | |
CN107728920B (en) | Copying method and mobile terminal | |
CN111459361A (en) | Application icon display method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |