CN110795534A - Information searching method and mobile terminal - Google Patents

Information searching method and mobile terminal Download PDF

Info

Publication number
CN110795534A
CN110795534A CN201911032573.1A CN201911032573A CN110795534A CN 110795534 A CN110795534 A CN 110795534A CN 201911032573 A CN201911032573 A CN 201911032573A CN 110795534 A CN110795534 A CN 110795534A
Authority
CN
China
Prior art keywords
search
word
alternative
search word
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911032573.1A
Other languages
Chinese (zh)
Inventor
郝少廷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911032573.1A priority Critical patent/CN110795534A/en
Publication of CN110795534A publication Critical patent/CN110795534A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/3331Query processing
    • G06F16/3332Query translation
    • G06F16/3334Selection or weighting of terms from queries, including natural language queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Computational Linguistics (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides an information searching method and a mobile terminal, wherein the method comprises the following steps: receiving a search word input by a user; screening out at least one alternative search word from a preset alternative word library based on the search word; receiving a target alternative search word selected from at least one alternative search word by a user; and searching the corresponding information record based on the search word and the target alternative search word. The technical scheme of the embodiment of the invention can reduce the search failure caused by the inaccuracy of the search words input by the user, thereby improving the efficiency of information search.

Description

Information searching method and mobile terminal
Technical Field
The present invention relates to the field of communications, and in particular, to an information search method and a mobile terminal.
Background
Nowadays, information stored on a terminal is piled up like a mountain, and information search is a common requirement in life, such as searching chat records.
In one solution, an information search method based on full-word matching is used. In the technical scheme, the corresponding information records can be searched only by accurate search words, and the search fails because the search words with similar meanings cannot achieve the purpose.
Disclosure of Invention
The embodiment of the invention aims to provide an information searching method and a mobile terminal, which can reduce searching failure caused by inaccuracy of searching words input by a user.
To solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides an information search method, including: receiving a search word input by a user; screening out at least one alternative search word from a preset alternative word library based on the search word; receiving a target alternative search word selected from at least one alternative search word by a user; and searching the corresponding information record based on the search word and the target alternative search word.
In a second aspect, an embodiment of the present invention provides a mobile terminal, including: the search word receiving module is used for receiving the search words input by the user; the alternative search word screening module is used for screening out at least one alternative search word from a preset alternative word library based on the search word; the target alternative search word receiving module is used for receiving a target alternative search word selected from at least one alternative search word by a user; and the information record searching module is used for searching corresponding information records based on the search words and the target alternative search words.
In a third aspect, an embodiment of the present invention provides a mobile terminal, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the information search method as described in the first aspect above.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the information search method according to the first aspect.
According to the technical scheme of the embodiment of the invention, on one hand, the search words input by the user are received, and the search words used for searching the information records can be obtained; on the other hand, based on the search words, at least one alternative search word is screened out from a preset alternative word library, and alternative search words with similar meanings to the search words can be displayed for the user to select; on the other hand, receiving a target alternative search word selected by a user from at least one alternative search word, and obtaining the target alternative search word selected by the user; in another aspect, based on the search term and the information record corresponding to the target alternative search term search, search failure caused by inaccuracy of the search term input by the user can be reduced, and therefore the efficiency of information search is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 illustrates a flow diagram of an information search method provided in accordance with some embodiments of the invention;
FIG. 2 illustrates a schematic diagram of an application scenario of an information search method provided in accordance with some embodiments of the present invention;
FIG. 3 is a flow diagram illustrating an information search method according to further embodiments of the present invention;
FIG. 4 illustrates a schematic block diagram of a mobile terminal provided in accordance with some embodiments of the present invention; and
fig. 5 illustrates a hardware configuration diagram of a mobile terminal provided according to some embodiments of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. 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.
Fig. 1 illustrates a flow diagram of an information search method provided in accordance with some embodiments of the present invention. Referring to fig. 1, the information searching method includes steps S110, S120, S130 and S140, and may be applied to a mobile terminal, which is executed by the mobile terminal. The information search method will be described in detail below with reference to fig. 1.
Referring to fig. 1, in step S110, a search term input by a user is received.
In an example embodiment, at an information search interface, a search term input by a user is received. The search terms do not necessarily correspond exactly to the specific vocabulary used in the information records that are desired to be searched. For example, when searching for a chat record, the main content of the chat record that the user wants to search for is "please eat you in the evening today", but the specific content sent by the chat is "please eat tonight, go XX restaurant", and the search word input by the user may be "eat" or "restaurant".
In step S120, at least one candidate search word is filtered out from a preset candidate word library based on the search word.
In an example embodiment, based on the search word, a predetermined number of alternative search words are screened out from a preset alternative word library and displayed for the user to select. For example, the search word input by the user is "eat", and 3 candidate search words "restaurant", and "restaurant" are screened from a preset candidate word bank and displayed.
In an example embodiment, screening out at least one alternative search word from a preset alternative word library based on the search word comprises: determining the similarity between the search word and each alternative search word in a preset alternative word bank; sequencing all the alternative search terms according to the similarity; and based on the sorted results, at least one alternative search word is selected from the alternative search words in the descending order. For example, determining the similarity between the search word "eat" and each alternative search word in the alternative word bank; sorting the alternative search words according to the similarity, wherein the greater the similarity is, the more similar the word senses of the alternative search words and the search words are; and selecting 3 candidate search words "restaurant", "restaurant" and "restaurant" which are closest to the word meaning of "eating" from the candidate word library.
In an example embodiment, the method for determining similarity between a search word and each candidate search word in a preset candidate word bank specifically includes: calculating the distance between the word vector of the search word and the word vector of each alternative search word in a preset alternative word bank; based on the distance, a similarity of the search term to each of the candidate search terms is determined. The closer the word vector distance between the search word and the alternative search word is, the higher the corresponding similarity is.
It should be noted that the distance between the word vectors may be a hamming distance, a euclidean distance, or a cosine distance, but the distance in the exemplary embodiment of the present invention is not limited thereto, and for example, the distance may also be a mahalanobis distance, a manhattan distance, or the like.
In an example embodiment, the word vector model is trained in advance to compute a word vector for the search word and the candidate search word. For example, in the word vector model, commonly used word2vec forms a word vector model, including a CBOW model and a Skip-Gram model. The CBOW model is trained by inputting a word vector corresponding to a word related to the context of a certain characteristic word and outputting the word vector of the specific word. The Skip-Gram model is trained by inputting a word vector of a specific word and outputting a context word vector corresponding to the specific word.
In step S130, a target candidate search term selected by the user from the at least one candidate search term is received.
In an example embodiment, an alternative search word selected by the user from the at least one alternative search word is determined as a target alternative search word, and the target alternative search word is used in step S140. And after the selection operation of the user, the mobile terminal receives the target alternative search word selected by the user. For example, three alternative search terms "restaurant", "restaurant" and "restaurant" are presented for selection by the user, the user selects the alternative search term "restaurant" as the target alternative search term, and the mobile terminal receives the target alternative search term "restaurant".
In an example embodiment, the manner for the user to select the target candidate search term from the at least one candidate search term may be to click a certain candidate search term, or to drag a certain candidate search term to a preset area, which is not particularly limited in the present invention.
In step S140, the corresponding information record is searched for based on the search term and the target candidate search term.
In an example embodiment, a search is conducted for information records that contain one or more of a search term and a target candidate search term. The information record comprises at least one of the search term and the target candidate search term. The searching method may be full word matching, or may be searching after segmenting words in the search sentence, and the present invention is not limited to this. For example, the search term is "eat", the target candidate search term is "restaurant" or "restaurant", and the chat log including the search term and one or more of the target candidate search terms is searched for, resulting in a chat log "this evening visitor, go XX restaurant", which includes the candidate search term "restaurant".
It should be noted that, in an example embodiment, when the mobile terminal generates an information record, the background of the mobile terminal may record the position where the user was when the information record was generated as the position attribute of the information record. For example, when a user chats, the background takes the position of the user when sending and receiving the chat information as the position attribute of the chat information and stores the position attribute.
In another exemplary embodiment, after the mobile terminal searches for the corresponding information record based on the search term and the target candidate search term, the following process may be further performed: receiving a first selection input of a user for a location; determining a first target location selected by a user in response to a first selection input; based on the first target position, a target information record corresponding to the first target position is determined from the searched information records. For example, after the mobile terminal searches the corresponding information record based on the search term and the target candidate search term, the mobile terminal inquires whether the user uses a map, and if the user uses the map, a place is selected from the map, and the place is the position of the information record generated in the user memory. Responding to a position selection instruction input by a user, and determining a place selected by the user; based on the location, an information record corresponding to the location is determined from the searched information records.
In another example embodiment, determining a target information record corresponding to a first target location from the searched information records based on the first target location comprises: determining a search range centered on the first target position based on the first target position; and determining the information record determined to fall into the search range in the searched information records as the target information record based on the search range. The shape of the search range can be circular or square, the size of the search range can be set by user-definition according to the needs of the user, and the invention is not limited to this.
In yet another example embodiment, searching for corresponding information records based on a search term and a target alternative search term includes: receiving a second selection input of the user for the position; determining a second target location selected by the user in response to the second selection input; and searching corresponding information records based on the search words, the target candidate search words and the second target position. For example, the mobile terminal receives a target location selected by the user on the map, which is the second target location. For example, receiving a search word "eat" input by a user, screening 3 candidate search words "restaurant", "restaurant" and "restaurant" from a preset candidate word library, displaying the candidate search words, taking the "restaurant" selected by the user as a target candidate search word, determining that the user selects a location "AB station" in response to a position selection instruction input by the user, wherein the preset search range is a circle and has a radius of 100 meters, simultaneously screening information records according to the "eating", "restaurant" and the location "AB station", and searching for the information records which accord with the search range which contains one or more of the search word and the target candidate search word and also falls into the "AB station" as the center.
It should be noted that, in the exemplary embodiment, the two ways of searching for information records according to the search term and the target candidate search term and the information records according to the location may be performed separately, and if the information records are searched comprehensively through the two ways, the order of the two ways may also be variable. For example, the corresponding information record is searched only according to the location; searching corresponding information records only according to the search words and the target alternative search words; receiving a place selected by a user, searching information records corresponding to the place, and searching the information records corresponding to the search terms and the target alternative search terms from the information records corresponding to the place according to the search terms and the target alternative search terms; searching corresponding information records according to the search words and the target alternative search words, receiving a place selected by a user, and searching the information records corresponding to the place from the information records corresponding to the search words and the target alternative search words.
According to the information searching method in the example embodiment of fig. 1, on one hand, a search word input by a user is received, and the search word for searching information records can be obtained; on the other hand, based on the search words, at least one alternative search word is screened out from a preset alternative word library, and alternative search words with similar meanings to the search words can be displayed for the user to select; on the other hand, receiving a target alternative search word selected by a user from at least one alternative search word, and obtaining the target alternative search word selected by the user; in another aspect, based on the search term and the information record corresponding to the target alternative search term search, search failure caused by inaccuracy of the search term input by the user can be reduced, and therefore the efficiency of information search is improved.
Fig. 2 is a schematic diagram illustrating an application scenario of an information search method according to an embodiment of the present invention.
Referring to fig. 2, a search word 210 in a text input box of a chat log search interface on a mobile terminal is "eat". Based on the search term 210, the system recommends three alternative search terms 220, "restaurant," restaurant, "and" restaurant. A map is presented under the alternative search terms 220 of the interface, and the location 230 is the location where the user sends information in the memory selected on the map.
Fig. 3 is a flowchart illustrating an information searching method according to another embodiment of the present invention. The information search method will be described in detail below with reference to fig. 3.
Referring to fig. 3, in step S310, a search term input by a user is received.
In an example embodiment, a search term input by a user is received in a search box in an information search interface.
In step S320, a user-selected synonym recommended according to the search term is received, the user is asked whether to use a map and confirm a location that needs to be searched.
In an example embodiment, word vector calculation is performed according to search words, a predetermined number of most similar candidate search words are found from a preset candidate word bank and displayed below a search box, and a user selects one or more candidate search words as target candidate search words. And inquiring whether the user uses the map, if so, displaying the map, and receiving the map position selected by the user on the map. For example, the search word "eat" input by the user is received, 3 candidate search words "restaurant", "restaurant" and "restaurant" are screened from a preset candidate word bank and displayed, the "restaurant" selected by the user is used as a target candidate search word, and the location "AB station" is determined to be selected by the user in response to a location selection instruction input by the user.
In step S330, a click search is performed, and the system performs a search according to the search term input by the user, the target candidate search term, and the map location.
In an example embodiment, corresponding information records are searched based on the search word, the target alternative search word and the map position, and information records which contain one or more of the search word and the target alternative search word and fall into a search range with the map position as the center are determined.
Fig. 4 illustrates a schematic block diagram of a mobile terminal provided in accordance with some embodiments of the present invention. Referring to fig. 4, the mobile terminal 400 includes: a search term receiving module 410, an alternative search term screening module 420, a target alternative search term receiving module 430, and an information record searching module 440. The search term receiving module 410 is configured to receive a search term input by a user; the candidate search term screening module 420 is configured to screen out at least one candidate search term from a preset candidate term library based on the search term; a target alternative search term receiving module 430, configured to receive a target alternative search term selected by a user from at least one alternative search term; and an information record searching module 440, configured to search for a corresponding information record based on the search term and the target candidate search term.
In some embodiments of the present invention, based on the above solution, the alternative search term filtering module 420 includes: the similarity determining unit is used for determining the similarity between the search word and each alternative search word in a preset alternative word lexicon; the alternative search word sorting unit is used for sorting all the alternative search words according to the similarity; and the alternative search word selecting unit is used for selecting at least one alternative search word from the alternative search words according to the sequence from large to small based on the sequencing result.
In some embodiments of the present invention, based on the above scheme, the similarity determining unit includes: the distance calculation subunit is used for calculating the distance between the word vector of the search word and the word vector of each alternative search word in a preset alternative word bank; and the similarity calculation subunit is used for determining the similarity between the search word and each alternative search word based on the distance.
In some embodiments of the present invention, based on the above scheme, the mobile terminal 400 further includes: the first selection input receiving module is used for receiving first selection input of a user aiming at a position; the first target position determining module is used for responding to the first selection input and determining a first target position selected by a user; and the target information record determining module is used for determining a target information record corresponding to the first target position from the searched information records based on the first target position.
In some embodiments of the present invention, based on the above solution, the target information record determining module includes: a search range determination unit configured to determine a search range centered on the first target position based on the first target position; and an information determination unit configured to determine, as the target information record, an information record falling within the search range among the searched information records, based on the search range.
In some embodiments of the present invention, based on the above scheme, the information record searching module includes: a second selection input receiving unit for receiving a second selection input of the user for the location; a second target position determination unit for determining a second target position selected by the user in response to a second selection input; and the information record comprehensive query unit is used for searching the corresponding information record based on the search word, the target candidate search word and the second target position.
Fig. 5 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention, and as shown in fig. 5, the mobile terminal 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 5 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 memory 509 stores therein a computer program, and when the computer program is executed by the processor 510, the following procedure can be implemented: receiving a search word input by a user; screening out at least one alternative search word from a preset alternative word library based on the search word; receiving a target alternative search word selected from at least one alternative search word by a user; and searching the corresponding information record based on the search word and the target alternative search word.
Optionally, the computer program, when executed by the processor 510, filters out at least one alternative search word from a preset alternative word library based on the search word, including: determining the similarity between the search word and each alternative search word in a preset alternative word bank; sequencing all the alternative search terms according to the similarity; and based on the sorted results, at least one alternative search word is selected from the alternative search words in the descending order.
Optionally, when executed by the processor 510, the computer program determines similarity between the search word and each candidate search word in the preset candidate word bank, including: calculating the distance between the word vector of the search word and the word vector of each alternative search word in a preset alternative word bank; based on the distance, the similarity of the search term and each alternative search term is determined.
Optionally, the computer program, when executed by the processor 510, can also implement the following process: receiving a first selection input of a user for a location; determining a first target location selected by a user in response to a first selection input; based on the first target position, a target information record corresponding to the first target position is determined from the searched information records.
Optionally, when executed by processor 510, the computer program determines, from the searched information records, a target information record corresponding to the first target position based on the first target position, including: determining a search range centered on the first target position based on the first target position; and determining the information record falling into the search range in the searched information records as the target information record based on the search range.
Optionally, the computer program, when executed by the processor 510, searches the corresponding information record based on the search term and the target candidate search term, includes: receiving a second selection input of the user for the position; determining a second target location selected by the user in response to the second selection input; and searching corresponding information records based on the search words, the target candidate search words and the second target position.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 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 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 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. In addition, the radio frequency unit 501 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 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds 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 501 in case of the phone call mode.
The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 500 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 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 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 507 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 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, 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 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of 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 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 500. 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 508 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 500 or may be used to transmit data between the mobile terminal 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 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 509 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 510 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 509 and calling data stored in the memory 509, thereby performing overall monitoring of the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 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 processor 510.
The mobile terminal 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 500 includes some functional modules that are not shown, and thus, are not described in detail herein.
The mobile terminal in the embodiment of the application can realize each process of the information searching method and achieve the same effect and function, and the process is not repeated.
Further, an 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 information search method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the computer program is not described here again. 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 solution 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 above-mentioned embodiment 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 search method, comprising:
receiving a search word input by a user;
screening out at least one alternative search word from a preset alternative word library based on the search word;
receiving a target alternative search word selected from the at least one alternative search word by the user;
and searching corresponding information records based on the search words and the target alternative search words.
2. The information search method according to claim 1, wherein the screening out at least one alternative search word from a preset alternative word library based on the search word comprises:
determining the similarity between the search word and each alternative search word in the preset alternative word bank;
sequencing all the alternative search terms according to the similarity;
and based on the sorted result, at least one alternative search word is selected from the alternative search words in the descending order.
3. The information search method according to claim 2, wherein the determining the similarity between the search word and each alternative search word in the preset alternative word bank comprises:
calculating the distance between the word vector of the search word and the word vector of each alternative search word in the preset alternative word bank;
and determining the similarity between the search word and each alternative search word based on the distance.
4. The information search method according to claim 1, characterized in that the method further comprises:
receiving a first selection input by the user for a location;
determining a first target location selected by the user in response to the first selection input;
and determining a target information record corresponding to the first target position from the searched information records based on the first target position.
5. The information search method according to claim 4, wherein the determining, from among the searched information records, a target information record corresponding to the first target position based on the first target position, comprises:
determining a search range centered on the first target position based on the first target position;
and determining the information record falling into the search range in the searched information records as the target information record based on the search range.
6. The information search method according to claim 1, wherein the searching for the corresponding information record based on the search word and the target candidate search word comprises:
receiving a second selection input by the user for a location;
determining a second target location selected by the user in response to the second selection input;
and searching corresponding information records based on the search word, the target candidate search word and the second target position.
7. A mobile terminal, comprising:
the search word receiving module is used for receiving the search words input by the user;
the alternative search word screening module is used for screening out at least one alternative search word from a preset alternative word library based on the search word;
a target alternative search term receiving module, configured to receive a target alternative search term selected by the user from the at least one alternative search term;
and the information record searching module is used for searching corresponding information records based on the search words and the target alternative search words.
8. The mobile terminal of claim 7, wherein the alternative search term filtering module comprises:
the similarity determining unit is used for determining the similarity between the search word and each alternative search word in the preset alternative word lexicon;
the alternative search word ordering unit is used for ordering all the alternative search words according to the similarity;
and the alternative search word selecting unit is used for selecting at least one alternative search word from the alternative search words according to the sequence from large to small based on the sequencing result.
9. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the information search method according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, implements the information search method according to any one of claims 1 to 6.
CN201911032573.1A 2019-10-28 2019-10-28 Information searching method and mobile terminal Pending CN110795534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911032573.1A CN110795534A (en) 2019-10-28 2019-10-28 Information searching method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911032573.1A CN110795534A (en) 2019-10-28 2019-10-28 Information searching method and mobile terminal

Publications (1)

Publication Number Publication Date
CN110795534A true CN110795534A (en) 2020-02-14

Family

ID=69441622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911032573.1A Pending CN110795534A (en) 2019-10-28 2019-10-28 Information searching method and mobile terminal

Country Status (1)

Country Link
CN (1) CN110795534A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136257A (en) * 2011-11-30 2013-06-05 阿里巴巴集团控股有限公司 Information providing method and device thereof
CN103744857A (en) * 2013-12-10 2014-04-23 厦门亿联网络技术股份有限公司 Method for searching instant messaging chatting records for keywords
CN106649750A (en) * 2016-12-26 2017-05-10 北京奇虎科技有限公司 Search method and device for multi-sense entry
CN107992545A (en) * 2017-11-27 2018-05-04 珠海市魅族科技有限公司 A kind of searching method, device, terminal and readable storage medium storing program for executing
CN108153909A (en) * 2018-01-18 2018-06-12 百度在线网络技术(北京)有限公司 Word method, apparatus and electronic equipment, storage medium are opened up in keyword dispensing
CN108182200A (en) * 2017-11-29 2018-06-19 有米科技股份有限公司 Keyword expanding method and device based on semantic similarity
CN109271624A (en) * 2018-08-23 2019-01-25 腾讯科技(深圳)有限公司 A kind of target word determines method, apparatus and storage medium
CN110019348A (en) * 2017-10-27 2019-07-16 微软技术许可有限责任公司 Expanded search inquiry

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136257A (en) * 2011-11-30 2013-06-05 阿里巴巴集团控股有限公司 Information providing method and device thereof
CN103744857A (en) * 2013-12-10 2014-04-23 厦门亿联网络技术股份有限公司 Method for searching instant messaging chatting records for keywords
CN106649750A (en) * 2016-12-26 2017-05-10 北京奇虎科技有限公司 Search method and device for multi-sense entry
CN110019348A (en) * 2017-10-27 2019-07-16 微软技术许可有限责任公司 Expanded search inquiry
CN107992545A (en) * 2017-11-27 2018-05-04 珠海市魅族科技有限公司 A kind of searching method, device, terminal and readable storage medium storing program for executing
CN108182200A (en) * 2017-11-29 2018-06-19 有米科技股份有限公司 Keyword expanding method and device based on semantic similarity
CN108153909A (en) * 2018-01-18 2018-06-12 百度在线网络技术(北京)有限公司 Word method, apparatus and electronic equipment, storage medium are opened up in keyword dispensing
CN109271624A (en) * 2018-08-23 2019-01-25 腾讯科技(深圳)有限公司 A kind of target word determines method, apparatus and storage medium

Similar Documents

Publication Publication Date Title
WO2021136159A1 (en) Screenshot method and electronic device
CN108763316B (en) Audio list management method and mobile terminal
CN108616448B (en) Information sharing path recommendation method and mobile terminal
US11250046B2 (en) Image viewing method and mobile terminal
CN109388456B (en) Head portrait selection method and mobile terminal
CN110618969B (en) Icon display method and electronic equipment
CN108920040B (en) Application icon sorting method and mobile terminal
CN108984066B (en) Application icon display method and mobile terminal
CN110795002A (en) Screenshot method and terminal equipment
CN110688497A (en) Resource information searching method and device, terminal equipment and storage medium
CN107728920B (en) Copying method and mobile terminal
CN109063076B (en) Picture generation method and mobile terminal
CN109982273B (en) Information reply method and mobile terminal
CN111061446A (en) Display method and electronic equipment
CN108520760B (en) Voice signal processing method and terminal
CN108628534B (en) Character display method and mobile terminal
CN108363499B (en) Text recovery method and mobile terminal
CN108062370B (en) Application program searching method and mobile terminal
CN109144860B (en) Operation method for control object and terminal equipment
CN109274814B (en) Message prompting method and device and terminal equipment
CN108306817B (en) Information positioning processing method and mobile terminal
CN110888572A (en) Message display method and terminal equipment
CN107957789B (en) Text input method and mobile terminal
CN107734049B (en) Network resource downloading method and device and mobile terminal
CN111045588B (en) Information viewing method 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200214