CN112585597A - Search response method and device and computer storage medium - Google Patents

Search response method and device and computer storage medium Download PDF

Info

Publication number
CN112585597A
CN112585597A CN201880096709.2A CN201880096709A CN112585597A CN 112585597 A CN112585597 A CN 112585597A CN 201880096709 A CN201880096709 A CN 201880096709A CN 112585597 A CN112585597 A CN 112585597A
Authority
CN
China
Prior art keywords
search
information
shorthand
result
searched
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
CN201880096709.2A
Other languages
Chinese (zh)
Inventor
谢琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN112585597A publication Critical patent/CN112585597A/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/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying

Abstract

The embodiment of the application discloses a search response method, a search response device and a computer storage medium, wherein the method is applied to a mobile terminal with a shorthand function, and comprises the following steps: obtaining shorthand information to be searched; extracting search keywords from the shorthand information to be searched; obtaining a search result matched with the search keyword according to the auxiliary search model and the search keyword; the auxiliary search model is obtained by training based on historical search data of a user; recording the search result in the shorthand information to be searched; therefore, the comprehensiveness of the shorthand information is improved, the problems of redundancy and meaningless information search results are solved, and the accuracy and the intelligence of information search are further improved.

Description

Search response method and device and computer storage medium Technical Field
The embodiment of the application relates to the technical field of information processing, in particular to a search response method, a search response device and a computer storage medium.
Background
With the rapid development of science and technology, the rhythm of life and the rhythm of work of people are faster and faster, and more things need to be handled in daily life. The method is characterized in that the note storage information is a current common information management mode, a user can set a plurality of notes on a terminal through a note tool, detailed information is input into an information display page of each note, and the detailed information can be checked in the information display page subsequently.
However, the existing note tool is not perfect in function and cannot meet the use requirements of users.
Disclosure of Invention
In view of this, embodiments of the present application mainly aim to provide a search response method, a search response device, and a computer storage medium, which not only improve comprehensiveness of shorthand information, but also solve the problem of redundant and meaningless information search results, and further improve accuracy and intelligence of information search.
In order to achieve the above purpose, the technical solution of the embodiment of the present application can be implemented as follows:
in a first aspect, an embodiment of the present application provides a search response method, where the method includes:
acquiring shorthand information to be searched;
extracting search keywords from the shorthand information to be searched;
obtaining a search result matched with the search keyword according to the auxiliary search model and the search keyword; the auxiliary search model is obtained by training according to historical search data of a user;
and recording the search result in the shorthand information to be searched.
In a second aspect, an embodiment of the present application provides a search response apparatus, including: an acquisition section, an extraction section, and a recording section;
the acquisition part is configured to acquire shorthand information to be searched;
the extraction part is configured to extract search keywords from the shorthand information to be searched;
the acquisition part is also configured to acquire a search result matched with the search keyword according to an auxiliary search model and the search keyword; the auxiliary search model is obtained by training based on historical search data of a user;
the recording part is configured to record the search result in the shorthand information to be searched.
In a third aspect, an embodiment of the present application provides a search response apparatus, including: a memory and a processor;
the memory for storing a computer program operable on the processor;
the processor is configured to perform the steps of the method of the first aspect when running the computer program.
In a fourth aspect, embodiments of the present application provide a computer storage medium storing a search response program, which when executed by at least one processor implements the steps of the method of the first aspect.
In a fifth aspect, an embodiment of the present application provides a mobile terminal, where the mobile terminal is installed with a shorthand application, and the mobile terminal at least includes the search response apparatus according to the second aspect or the third aspect.
The embodiment of the application provides a search response method, a search response device and a computer storage medium, wherein the method is applied to a mobile terminal with a shorthand function, and comprises the following steps: acquiring shorthand information to be searched; extracting search keywords from the shorthand information to be searched; obtaining a search result matched with the search keyword according to the auxiliary search model and the search keyword; the auxiliary search model is obtained by training according to historical search data of a user; recording the search result in the shorthand information to be searched; therefore, the comprehensiveness of the shorthand information is improved, the problems of redundancy and meaningless information search results are solved, and the accuracy and the intelligence of information search are further improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present disclosure;
fig. 2 is a schematic architecture diagram of a communication network system according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a search response method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of selecting a stenographic information recording mode according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a to-be-searched shorthand information display according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a second search information ranking process according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a search result display interface according to an embodiment of the present application;
fig. 8 is a schematic structural diagram illustrating a search response apparatus according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of another search response device provided in the embodiment of the present application;
fig. 10 is a schematic structural diagram illustrating a structure of another search response apparatus according to an embodiment of the present application;
fig. 11 is a schematic diagram of a specific hardware structure of a search response device according to an embodiment of the present disclosure.
Detailed Description
So that the manner in which the features and elements of the present embodiments can be understood in detail, a more particular description of the embodiments, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning by themselves. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present application may include mobile terminals such as a smart phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a wireless handheld device, a navigation device, a wearable device, and the like, and fixed terminals such as a Digital TV, a desktop computer, and the like.
The following description will be given taking a mobile terminal as an example, and it will be understood by those skilled in the art that the configuration according to the embodiment of the present application can be applied to a fixed type terminal in addition to elements particularly used for mobile purposes.
For example, referring to fig. 1, which shows a schematic hardware structure diagram of a mobile terminal for implementing various embodiments of the present application, the mobile terminal 10 may include: an RF (Radio Frequency) unit 101, an a/V (audio/video) input unit 102, a display unit 103, a user input unit 104, a sensor 105, a camera 106, a memory 107, a processor 108, a power supply 109, and the like. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the rf unit 101 may be used for receiving and transmitting signals during information transmission and reception. Specifically, the downlink information of the base station is received and then processed by the processor 110; in addition, uplink data is transmitted to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a coupler, a low noise amplifier, a duplexer, and the like. The radio frequency unit 101 may also communicate with network devices or other devices through wireless communication.
The a/V input unit 102 is used to receive audio or video signals. The a/V input Unit 102 may include a Graphics Processing Unit (GPU) 1021 and a microphone 1022, and the Graphics Processing Unit 1021 processes image data of a still picture or video obtained by an image capturing device (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 103. The image frames processed by the graphic processor 1021 may be stored in the memory 107 (or other storage medium) or transmitted via the radio frequency unit 101. The microphone 1022 can receive sounds (audio data) via the microphone 1022 in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The microphone 1022 may implement various types of noise canceling (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting an audio signal.
The display unit 103 is used to display information input by a user or information provided to the user. The Display unit 103 may include a Display panel 1031, and the Display panel 1031 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 104 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 104 may include a touch panel 1041 and other input devices 1042; the touch panel 1041, also called a touch screen, may collect touch operations of a user thereon or nearby, and drive a corresponding connection device according to a preset program; other input devices 1042 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume + key, volume-key, power key, etc.), a trackball, a mouse, a joystick, and the like, and are not limited thereto.
Further, the touch panel 1041 may cover the display panel 1031, and when the touch panel 1041 detects a touch operation on or near the touch panel 1041, the touch operation is transmitted to the processor 108 to determine the type of the touch event, and then the processor 108 provides a corresponding visual output on the display panel 1051 according to the type of the touch event. Although in fig. 1, the touch panel 1041 and the display panel 1031 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1041 and the display panel 1031 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The mobile terminal 10 also includes at least one sensor 105, such as a light sensor, an image sensor, a motion sensor, and other sensors. Specifically, the optical sensor mainly includes a photosensitive element, and can adjust the brightness of the display panel 1031 according to the brightness of the ambient light; the image sensor is an important component forming the digital camera, and converts the light image on the light-sensitive surface into an electric signal in a corresponding proportional relation with the light image by utilizing the photoelectric conversion function of a photoelectric device; the motion sensor is an element for converting the change of non-electric quantity (such as speed and pressure) into the change of electric quantity, and the motion sensor can comprise a pressure sensor, a speed sensor and the like according to the difference of the converted non-electric quantity; in addition, the mobile terminal 10 may further include other configurable sensors such as a fingerprint sensor, an iris sensor, a molecular sensor, a gyroscope, and an infrared sensor, which will not be described in detail herein.
The camera 106 is a video input device, which is also called a computer camera, an electronic eye, etc.; the camera 106 generally has basic functions of video shooting/transmission and still image capturing, and after capturing an image through a lens, the captured image is processed and converted into a digital signal by a photosensitive component circuit and a control component in the camera, and then stored in the memory 107. The cameras 106 may include front cameras, rear cameras, and the like.
The memory 107 may be used to store software programs as well as various data. The memory 107 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 for at least one function (such as a recording function and a video playing function), and the like; the storage data area may store data (such as audio data and video data) created according to the use of the mobile terminal, and the like.
The processor 108 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 107 and calling data stored in the memory 107, thereby performing overall monitoring of the mobile terminal. Processor 108 may include one or more processing units; preferably, the processor 108 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 108.
The mobile terminal 10 may further include a power supply 109 (e.g., a battery) for powering the various components, and the power supply 109 may be logically coupled to the processor 108 via a power management system that may be configured to manage charging, discharging, and power consumption.
Although not shown in fig. 1, the mobile terminal 10 may further include a bluetooth module, a WiFi module, etc., which will not be described herein.
In order to facilitate understanding of the embodiments of the present application, a communication network system to which the mobile terminal of the present application is applied is described below.
Referring to fig. 2, fig. 2 shows an architecture diagram of a communication network system provided by an embodiment of the present application, where the communication network system 20 includes a mobile terminal 201 and a server 202, and the mobile terminal 201 and the server 202 are located in a communication network 203; the Mobile terminal 201 and the server 202 perform information interaction through a communication network 203, where the Mobile terminal 201 may be the Mobile terminal 10, the server 202 may be a database, a network server, a data server, a Web server, and the like, and the communication network 203 may be a wireless network or a wired network, such as a Long Term Evolution (LTE) network, a Global System of Mobile communication (GSM) network, a Code Division Multiple Access 2000 (CDMA 2000) network, a Wideband Code Division Multiple Access (WCDMA) network, and a future new communication network, and the like, which are not limited herein.
Based on the hardware structure of the mobile terminal and the communication network system, when people suddenly emerge a inspiration at a certain moment, paper and pen are usually adopted or a memo/note tool of the mobile terminal is used for recording, but paper and pen are not available in many times, or the process of opening the memo/note tool of the mobile terminal is too complicated, so that the inspiration is forgotten; at this time, the shorthand application plays a critical role; the shorthand application program can be opened by one key in a mobile terminal screen locking state, and can simultaneously support the quick recording of text, voice and picture information; however, after the shorthand information is obtained, the search results obtained according to the search engine are relatively redundant at present, are not closely concerned with the user, and have the problem that part of the search results are meaningless, so that the accuracy and the intelligence of information search are reduced; in the embodiment of the present application, based on the shorthand application, in order to ensure comprehensiveness of the shorthand information and improve accuracy and intelligence of information search, the following describes the embodiment of the present application in detail with reference to the accompanying drawings.
Referring to fig. 3, which shows a flow of a search response method provided in an embodiment of the present application, the method may include:
s301: acquiring shorthand information to be searched;
s302: extracting search keywords from the shorthand information to be searched;
s303: obtaining a search result matched with the search keyword according to the auxiliary search model and the search keyword; the auxiliary search model is obtained by training based on historical search data of a user;
s304: and recording the search result in the shorthand information to be searched.
For the technical solution shown in fig. 3, the method is mainly applied to a mobile terminal with a flash function, and when a user suddenly has inspiration, the mobile terminal needs to record the inspiration information quickly; firstly, calling an entry of a shorthand application program, and obtaining shorthand information to be searched through the shorthand application program; the shorthand information may be recorded quickly in the form of voice, text, or pictures, which is not limited in this embodiment of the application.
In this way, after the shorthand information to be searched is obtained, a search keyword is extracted from the shorthand information to be searched; obtaining a search result matched with the search keyword according to the auxiliary search model and the search keyword; the auxiliary search model is obtained by training based on historical search data of a user; recording the search result in the shorthand information to be searched; therefore, the comprehensiveness of the shorthand information is improved, the problems of redundancy and meaningless information search results are solved, and the accuracy and the intelligence of information search are further improved.
For the technical solution shown in fig. 3, in a possible implementation manner, the acquiring the shorthand information to be searched includes:
receiving a shorthand opening instruction, wherein the shorthand opening instruction is used for indicating to open a shorthand application program;
receiving a shorthand input instruction, wherein the shorthand input instruction comprises recorded shorthand information;
and acquiring the shorthand information to be searched according to the recorded shorthand information in the shorthand input instruction.
For example, when a user needs to record inspiration or temporary thoughts, the user needs to open a shorthand application; generally, a user may open a shorthand application by performing a touch operation on a touch panel of the mobile terminal, or by performing a pressing operation on a physical key (such as a volume + key and a power key combination) of the mobile terminal, or by performing a voice operation (such as a voice of "i want to record inspiration", "help i quickly record an idea", etc.) on a voice assistant of the mobile terminal, so that the mobile terminal receives a shorthand opening instruction to open the shorthand application, and then receives a shorthand input instruction at a shorthand application interface to obtain shorthand information based on the user's operation; in the shorthand application program interface, in response to the selection operation of a user, a recording mode of shorthand information can be selected, and the shorthand information can be recorded through three modes of character shorthand, voice shorthand, photographing shorthand and the like; referring to fig. 4, a schematic structural diagram of selecting a mode for recording shorthand information according to an embodiment of the present application is shown; as shown in fig. 4, part 401 represents a text shorthand mode, part 402 represents a voice shorthand mode, and part 403 represents a photographing shorthand mode; when the user selects the part 401, it indicates that the shorthand information is recorded in a character shorthand mode, at this time, the mobile terminal can obtain the shorthand information through characters input by the user, and at this time, the shorthand information is recorded in a character form; when the user selects the part 402, the shorthand information is recorded in a voice shorthand mode, and at the moment, the mobile terminal can acquire the shorthand information through the voice input by the user, and at the moment, the shorthand information is recorded in a voice form; when the user selects the part 403, the shorthand information is recorded in a photographing shorthand mode, and at the moment, the mobile terminal can acquire the shorthand information through a photographing operation input by the user, and at the moment, the shorthand information is recorded in a picture form; assuming that a user selects a part 402, namely that the shorthand information is recorded in a voice form, refer to fig. 5, which shows a structural diagram of a shorthand information display provided by an embodiment of the present application; as shown in fig. 5, part 502 indicates that the shorthand information is a piece of speech input by the user, and then is converted into corresponding text information by a speech recognition technique, as indicated by part 501, "a certain treasure product in the latest zhang san generation is hot"; in the shorthand information, a series of function buttons are also included, such as a "color selection" button corresponding to part 503, a "delete" button corresponding to part 504, an "add picture" button corresponding to part 505, a "content association" button corresponding to part 506, and a "save" button shown in part 507; by clicking different buttons, the user may execute the function corresponding to the button, for example, when the user clicks a "save" button corresponding to part 507, the mobile terminal may store the shorthand information.
For the technical solution shown in fig. 3, in a possible implementation manner, the extracting a search keyword from the shorthand information to be searched includes:
performing word segmentation processing on the stenographic information to be searched to obtain word segmentation results;
and extracting search keywords from the word segmentation result by using a keyword extraction algorithm.
It should be noted that after the shorthand information to be searched is acquired, a search keyword corresponding to the shorthand information needs to be extracted. When the shorthand information is recorded in a character form, the shorthand information can be subjected to word segmentation processing to obtain word segmentation results, and then a keyword extraction algorithm is utilized to extract search keywords from the word segmentation results; the keyword extraction algorithm can be a PageRank algorithm, a TextRank algorithm, an LDA algorithm, a TFIDF algorithm and the like; when the shorthand information is recorded in a voice form, the shorthand information can be converted into corresponding characters through a voice recognition technology, and then the search keywords are obtained by combining the keyword extraction algorithm; when the shorthand information to be searched is recorded in a picture form, extracting the label information in the picture as a search keyword by using an image recognition technology; in the embodiments of the present application, this is not particularly limited.
For example, after obtaining the shorthand information to be searched, for example, the shorthand information is "a treasure product in the latest zhang san dialect" and the mobile terminal performs word segmentation processing on the shorthand information, and extracts a search keyword from a word segmentation result by using a keyword extraction algorithm, where the obtained search keyword includes "zhang san", "the dialect" and "a treasure"; therefore, after the search keyword is obtained, the search result of the shorthand information can be obtained subsequently.
Understandably, in order to make the obtained search result closer to the preference of the user, the establishment of an auxiliary search model needs to be considered at this time; therefore, for the technical solution shown in fig. 3, in a possible implementation manner, before the obtaining, according to the auxiliary search model and the search keyword, a search result matching the search keyword, the method further includes:
acquiring historical search data of a user;
training the historical search data, and extracting user preference data;
and establishing the auxiliary search model based on the user preference data.
It should be noted that, the mobile terminal may obtain historical search data of the user according to the user log information; the user log mainly comprises user information, time, addresses, historical search keywords, historical search results, corresponding historical search times and other historical search data; for example, when a user performs related operations such as searching, clicking, browsing and the like on any keyword in a browser or other application programs, historical search data can be generated in a corresponding user log; training a historical search record of a user, for example, using a Convolutional Neural Network (CNN) algorithm, taking historical search data of the user as a training sample, obtaining user preference data according to a training result, and establishing an auxiliary search model based on the obtained user preference data; because the auxiliary search model is closely related to the preference of the user, when information search is carried out according to the search keyword, the search result can be more fit with the preference of the user by combining the auxiliary search model, and the problems of redundancy and meaningless information search results are also avoided.
Understandably, after the search keyword and the auxiliary search model are obtained, the search result can be obtained; therefore, for the technical solution shown in fig. 3, in a possible implementation manner, the obtaining a search result matching the search keyword according to the auxiliary search model and the search keyword includes:
matching the search keyword with first search information in a preset information base;
acquiring second search information corresponding to the search keyword which is successfully matched based on the matching result; the second search information is first search information, the matching degree of the second search information and the search keyword is not smaller than a preset matching threshold value;
sorting the second search information according to the matching degree to obtain a first sorting result of the second search information;
adjusting the first sequencing result based on the auxiliary search model to obtain an adjusted second sequencing result;
and determining second search information ranked in the top by a preset number as a search result matched with the search keyword according to the second ranking result.
It should be noted that, both the first search information and the second search information generally include a search information title, that is, there is a corresponding relationship between the search information title and the search information. The search keyword is matched with first search information in a preset information base, namely, the search keyword is matched with a first search information title in the first search information, and different first search information titles have different matching degrees with the search keyword. If the first search information title is completely the same as the search keyword, the matching degree is considered to be one hundred percent; if the fields in the first search information title are completely the same as the partial search keywords, the matching degree is considered to be fifty percent; the matching degree can be measured through the text similarity between the first search information title and the search keyword; in the embodiment of the present application, a suitable matching manner may be selected according to actual needs, and the embodiment of the present application is not particularly limited. After the search keyword is matched with the first search information title in the first search information, according to a matching result, a second search information title of which the matching degree with the search keyword is not less than a preset matching threshold can be obtained, and according to the corresponding relation between the search information title and the search information, the second search information is also obtained; sorting the second search information according to the matching degree to obtain a first sorting result of the second search information; in consideration of the personalized requirements of the users, the search information with higher attention is displayed for different users, and the ranking can be personalized and adjusted according to the preference of the users; that is, the first ranking result may be adjusted according to the auxiliary search model to obtain an adjusted second ranking result; selecting second search information ranked in the top preset number as a search result of the search keyword, wherein the search result is closely related to the user preference and is the search information which is high in user attention and interesting; the predetermined number is determined according to the requirements of practical applications, and may be 1, 5, or 10, and the embodiments of the present application are not specifically limited.
For example, still taking the shorthand information shown in fig. 5 as an example, the search keywords obtained by the mobile terminal include "zhang san," "pronoun," and "a treasure," the search keywords are matched with the first search information in the preset information base, and according to the matching result, the mobile terminal can obtain the second search information that is successfully matched from the pre-stored information; for convenience of example, and in addition to the limitation of display space, the second search information may be replaced by a second search information title for sorting and displaying, and then the user may view the detailed content of each search information through further click operation; referring to fig. 6, it shows a schematic structural diagram of a second search information ranking process provided in this application embodiment; as shown in fig. 6, the search results of the second search information are sorted according to the matching degree, and the first sorting result of the second search information includes "zhang san cuts a new generation of a certain treasure speaker", "a certain treasure speaker changes into zhangsi and zhang san", "zhu si and zhang san qi enables a new man and woman speaker", "zhu si generation of a certain treasure", "zhang shou holds a certain treasure full-frame micro-single-beat advertisement", and "a certain treasure micro-single released in advance by zhang san" and the like; in order to make the obtained search result be a search result with high attention of the user and interested by the user, the first ranking result can be adjusted according to the auxiliary search model, the search result related to the user preference can be adjusted to the front, for example, the search result is adjusted to the front by "three Zhang and cut a generation of a treasure speaker", "three Zhang and hold a treasure full-frame micro-single-beat advertisement" and "three Zhang and release ' a treasure micro-single-beat advertisement in advance", the adjusted second ranking result is "three Zhang and cut a generation of a treasure speaker", "three Zhang and hold a treasure full-frame micro-single-beat advertisement", "three Zhang and release ' a treasure micro-single-beat advertisement", "Liqu and three Zhang and release ' a new male and female speaker", and the changed from a treasure speaker to Liqu and Zhang and three "and Liqu; according to the second sorting result, assuming that the number of the bookings is 2, the search results corresponding to the search keywords "zhang san", "pronoun" and "a treasure" can be determined as "zhang san and chop a pronoun for a pronoun" and "zhang san hand-held a whole-picture micro-single-shot advertisement" sorted in the top 2; the second sorting result is adjusted according to the preference of the user, that is, the finally obtained search results are that the third piece of search results also cuts the first-generation speaker to be a certain treasure speaker, and the third piece of search results hold a certain treasure full-frame micro-single-shot advertisement, which are the search information with high attention and interest of the user.
It should be further noted that the search result may be search content shown in a text form, or may also be network address information corresponding to the search content, or even may also be application interface information corresponding to the search content, which is not specifically limited in this embodiment of the application.
Understandably, before the search keyword is matched with the first search information in the preset information base, a preset information base is also required to be established; therefore, in the above implementation manner, specifically, before the matching the search keyword with the first search information in the preset information base, the method further includes:
receiving a search instruction containing the search keyword, and generating a search request according to the search instruction;
sending the search request to a server;
receiving first search information returned by the server based on the response of the server to the search request;
and establishing the preset information base based on the first search information.
It should be noted that, after obtaining the search keyword, when information search needs to be performed on the search keyword, the mobile terminal receives a search instruction including the search keyword, generates a search request according to the search instruction, and then sends the search request to the server; the server responds to the search request after receiving the search request, and the server determines first search information to be issued; then the server returns the first search information to the mobile terminal, and the mobile terminal establishes a preset information base according to the first search information; the first search information includes a first search information title, that is, the preset information base further includes a corresponding relationship between the first search information title and the first search information.
For the technical solution shown in fig. 3, in a possible implementation manner, after the obtaining a search result matched with the search keyword according to the auxiliary search model and the search keyword, the method further includes:
and displaying the search result based on the current display interface of the shorthand information to be searched.
In the foregoing implementation manner, the displaying the search result based on the current display interface of the to-be-searched shorthand information includes:
displaying the search result according to a preset card format in a current display interface for displaying the shorthand information to be searched; the preset card format comprises at least one of card size, font color in the card, font size in the card and font format in the card.
It should be noted that after the search result is obtained, the search result may be displayed in the current display interface of the shorthand information to be searched. For example, after determining that the search result is "three-piece and chopping the search information of a speaker who produces a certain treasure for a generation" and "three-piece holds a small single-shot advertisement in full-frame for a certain treasure", the search result may be displayed according to a preset card format, or according to a browsing web page format, or according to an application interface on the current display interface of the shorthand information; when the preset card format is the card size, displaying the search result according to the proper card size; when the preset card format is the font color in the card, displaying the search result according to the proper font color (such as black, gray, red and the like); when the preset card format is the font size in the card, displaying the search result according to the proper font size (such as six size, five size, small five size, four size, small four size and the like); when the preset card format is the in-card font format, displaying the search result according to a proper font format (such as Song body, black body, regular body, Song-imitating body and the like); referring to fig. 7, a schematic structural diagram of a search result display interface provided in an embodiment of the present application is shown; as can be seen from fig. 7, in addition to the shorthand information to be searched (e.g., part 701), the current display interface also contains search results related to the shorthand information; wherein, the search result comprises a search information title (such as part 702) and a search information content (such as part 703) which are displayed in a text form; here, the search result may include network address information corresponding to the search information content and application interface information corresponding to the search information content, in addition to the search information title and the search information content presented in text form; when the search result is the network address information corresponding to the search information content, the browser can be directly called to load the network address for displaying; when the search result is the application interface information corresponding to the search information content, a corresponding application program can be started, and then the search result is displayed through the application program.
It should be noted that, for convenience of management, the shorthand information obtained by the shorthand input instruction may be displayed in a folded manner, and when viewing is required, the corresponding shorthand information may be displayed in an unfolded manner, and specific information such as the content, the attachment, and the recording time of the shorthand information may be viewed after the corresponding shorthand information is unfolded. It should be further noted that, for the display of the search result, when the search keyword extracted from the shorthand information contains the movie information, the search result can provide a movie card corresponding to the movie information in addition to the search result of web browsing; when the search keyword extracted from the shorthand information does not contain the movie information, only the search result of web browsing can be provided at this time; the embodiments of the present application are not particularly limited.
For the technical solution shown in fig. 3, in a possible implementation manner, the recording the search result in the to-be-searched shorthand information includes:
and recording the search result in the shorthand information to be searched in an attachment form.
For example, still taking the search result display interface shown in fig. 7 as an example, the display page includes a function button "add as an attachment" shown in part 704 in addition to the shorthand information to be searched (e.g., part 701), the title of the search information (e.g., part 702), and the content of the search information (e.g., part 703), and the search result can be recorded in the shorthand information in the form of an attachment according to the operation of the button by the user; the search result is used as an auxiliary record of the content of the shorthand information, and the comprehensiveness and intelligence of the shorthand information are improved.
The embodiment provides a search response method, which is applied to a mobile terminal with a shorthand function, and comprises the following steps: acquiring shorthand information to be searched; extracting search keywords from the shorthand information to be searched; obtaining a search result matched with the search keyword according to the auxiliary search model and the search keyword; the auxiliary search model is obtained by training based on historical search data of a user; recording the search result in the shorthand information to be searched; therefore, the comprehensiveness of the shorthand information is improved, the problems of redundancy and meaningless information search results are solved, and the accuracy and the intelligence of information search are further improved.
Based on the same inventive concept of the foregoing technical solution, referring to fig. 8, which shows a composition of a search response device 80 provided in an embodiment of the present application, the search response device 80 may include: an acquisition section 801, an extraction section 802, and a recording section 803; wherein the content of the first and second substances,
the acquisition part 801 is configured to acquire shorthand information to be searched;
the extraction part 802 is configured to extract a search keyword from the shorthand information to be searched;
the obtaining part 801 is further configured to obtain a search result matched with the search keyword according to an auxiliary search model and the search keyword; the auxiliary search model is obtained by training based on historical search data of a user;
the recording section 803 is configured to record the search result in the shorthand information to be searched.
In the above scheme, the acquiring unit 801 is specifically configured to:
receiving a shorthand opening instruction, wherein the shorthand opening instruction is used for indicating to open a shorthand application program;
receiving a shorthand input instruction, wherein the shorthand input instruction comprises recorded shorthand information;
and acquiring the shorthand information to be searched according to the recorded shorthand information in the shorthand input instruction.
In the above scheme, the extracting part 802 is specifically configured to:
performing word segmentation processing on the stenographic information to be searched to obtain word segmentation results;
and extracting search keywords from the word segmentation result by using a keyword extraction algorithm.
In the above solution, referring to fig. 9, the search responding apparatus 80 further includes a establishing part 804 configured to:
acquiring historical search data of a user;
training the historical search data, and extracting user preference data;
and establishing the auxiliary search model based on the user preference data.
In the above scheme, the acquiring unit 801 is specifically configured to:
matching the search keyword with first search information in a preset information base;
acquiring second search information corresponding to the search keyword which is successfully matched based on the matching result; the second search information is first search information, the matching degree of the second search information and the search keyword is not smaller than a preset matching threshold value;
sorting the second search information according to the matching degree to obtain a first sorting result of the second search information;
adjusting the first sequencing result based on the auxiliary search model to obtain an adjusted second sequencing result;
and determining second search information ranked in the top by a preset number as a search result matched with the search keyword according to the second ranking result.
In the foregoing solution, the establishing part 804 is further configured to:
receiving a search instruction containing the search keyword, and generating a search request according to the search instruction;
sending the search request to a server;
receiving first search information returned by the server based on the response of the server to the search request;
and establishing the preset information base based on the first search information.
In the above scheme, referring to fig. 10, the search responding apparatus 80 further includes a display section 805 configured to:
and displaying the search result based on the current display interface of the shorthand information to be searched.
In the above scheme, the display section 805 is specifically configured to:
displaying the search result according to a preset card format in a current display interface for displaying the shorthand information to be searched; the preset card format comprises at least one of card size, font color in the card, font size in the card and font format in the card.
In the above scheme, the recording section 803 is specifically configured to:
and recording the search result in the shorthand information to be searched in an attachment form.
It is understood that, in this embodiment, "part" may be part of a circuit, part of a processor, part of a program or software, etc., may also be a unit, and may also be a module or a non-modular.
In addition, each component in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit. The integrated unit can be realized in a form of hardware or a form of a software functional module.
Based on the understanding that the technical solution of the present embodiment essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the method of the present embodiment. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Accordingly, the present embodiment provides a computer storage medium, which stores a search response program, and the search response program, when executed by at least one processor, implements the steps of the method for searching for a response in the technical solution shown in fig. 3.
Based on the above-mentioned composition of the search response device 80 and the computer storage medium, referring to fig. 11, which shows a specific hardware structure of the search response device 80 provided in the embodiment of the present application, the specific hardware structure may include: a network interface 1101, a memory 1102, and a processor 1103; the various components are coupled together by a bus system 1104. It is understood that the bus system 1104 is used to enable communications among the components for connection. The bus system 1104 includes a power bus, a control bus, and a status signal bus in addition to the data bus. For clarity of illustration, however, the various buses are designated as the bus system 1104 in FIG. 11. The network interface 1101 is configured to receive and transmit signals in a process of receiving and transmitting information with other external network elements;
a memory 1102 for storing a computer program operable on the processor 1103;
a processor 1103 configured to, when running the computer program, perform:
acquiring shorthand information to be searched;
extracting search keywords from the shorthand information to be searched;
obtaining a search result matched with the search keyword according to the auxiliary search model and the search keyword; the auxiliary search model is obtained by training based on historical search data of a user;
and recording the search result in the shorthand information to be searched.
It will be appreciated that the memory 1102 in the subject embodiment can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic random access memory (ddr Data Rate SDRAM, ddr SDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 1102 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
The processor 1103 may be an integrated circuit chip having signal processing capability. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in software form in the processor 1103. The Processor 1103 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 1102, and the processor 1103 reads the information in the memory 1102 and performs the steps of the method in combination with the hardware.
It is to be understood that these embodiments may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, as another embodiment, the processor 1103 is further configured to, when running the computer program, execute the steps of the method for searching for a response in the technical solution shown in fig. 3.
Optionally, an embodiment of the present application further provides a mobile terminal, where the mobile terminal is installed with a shorthand application, and the mobile terminal at least includes the search response device 80 as described above.
It should be noted that: the technical solutions described in the embodiments of the present application can be arbitrarily combined without conflict.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Industrial applicability
In the embodiment of the application, the shorthand information to be searched is obtained; extracting search keywords from the shorthand information to be searched; obtaining a search result matched with the search keyword according to the auxiliary search model and the search keyword; the auxiliary search model is obtained by training based on historical search data of a user; recording the search result in the shorthand information to be searched; therefore, the comprehensiveness of the shorthand information is improved, the problems of redundancy and meaningless information search results are solved, and the accuracy and the intelligence of information search are further improved.

Claims (16)

  1. A search response method, the method comprising:
    acquiring shorthand information to be searched;
    extracting search keywords from the shorthand information to be searched;
    obtaining a search result matched with the search keyword according to the auxiliary search model and the search keyword; the auxiliary search model is obtained by training based on historical search data of a user;
    and recording the search result in the shorthand information to be searched.
  2. The method of claim 1, wherein the obtaining of the shorthand information to be searched comprises:
    receiving a shorthand opening instruction, wherein the shorthand opening instruction is used for indicating to open a shorthand application program;
    receiving a shorthand input instruction, wherein the shorthand input instruction comprises recorded shorthand information;
    and acquiring the shorthand information to be searched according to the recorded shorthand information in the shorthand input instruction.
  3. The method of claim 1, wherein the extracting search keywords from the shorthand information to be searched comprises:
    performing word segmentation processing on the stenographic information to be searched to obtain word segmentation results;
    and extracting search keywords from the word segmentation result by using a keyword extraction algorithm.
  4. The method of claim 1, wherein before the obtaining of the search result matching the search keyword according to the auxiliary search model and the search keyword, the method further comprises:
    acquiring historical search data of a user;
    training the historical search data, and extracting user preference data;
    and establishing the auxiliary search model based on the user preference data.
  5. The method of claim 1, wherein the obtaining of the search result matching the search keyword according to the auxiliary search model and the search keyword comprises:
    matching the search keyword with first search information in a preset information base;
    acquiring second search information corresponding to the search keyword which is successfully matched based on the matching result; the second search information is first search information, the matching degree of the second search information and the search keyword is not smaller than a preset matching threshold value;
    sorting the second search information according to the matching degree to obtain a first sorting result of the second search information;
    adjusting the first sequencing result based on the auxiliary search model to obtain an adjusted second sequencing result;
    and determining second search information ranked in the top by a preset number as a search result matched with the search keyword according to the second ranking result.
  6. The method of claim 5, wherein prior to said matching said search keyword to first search information in a preset information base, said method further comprises:
    receiving a search instruction containing the search keyword, and generating a search request according to the search instruction;
    sending the search request to a server;
    receiving first search information returned by the server based on the response of the server to the search request;
    and establishing the preset information base based on the first search information.
  7. The method according to any one of claims 1 to 6, wherein after the obtaining of the search result matching the search keyword according to the auxiliary search model and the search keyword, the method further comprises:
    and displaying the search result based on the current display interface of the shorthand information to be searched.
  8. The method of claim 7, wherein the displaying the search results based on a currently displayed interface of the shorthand information to be searched comprises:
    displaying the search result according to a preset card format in a current display interface for displaying the shorthand information to be searched; the preset card format comprises at least one of card size, font color in the card, font size in the card and font format in the card.
  9. The method according to any one of claims 1 to 8, wherein the recording of the search result in the shorthand information to be searched comprises:
    and recording the search result in the shorthand information to be searched in an attachment form.
  10. A search response apparatus, wherein the search response apparatus comprises: an acquisition section, an extraction section, and a recording section;
    the acquisition part is configured to acquire shorthand information to be searched;
    the extraction part is configured to extract search keywords from the shorthand information to be searched;
    the acquisition part is also configured to acquire a search result matched with the search keyword according to an auxiliary search model and the search keyword; the auxiliary search model is obtained by training based on historical search data of a user;
    the recording part is configured to record the search result in the shorthand information to be searched.
  11. The search response apparatus according to claim 10, wherein the search response apparatus further comprises a setup section configured to:
    acquiring historical search data of a user;
    training the historical search data, and extracting user preference data;
    and establishing the auxiliary search model based on the user preference data.
  12. The search response apparatus according to claim 10, wherein the acquisition section is specifically configured to:
    matching the search keyword with first search information in a preset information base;
    acquiring second search information corresponding to the search keyword which is successfully matched based on the matching result; the second search information is first search information, the matching degree of the second search information and the search keyword is not smaller than a preset matching threshold value;
    sorting the second search information according to the matching degree to obtain a first sorting result of the second search information;
    adjusting the first sequencing result based on the auxiliary search model to obtain an adjusted second sequencing result;
    and determining second search information ranked in the top by a preset number as a search result matched with the search keyword according to the second ranking result.
  13. The search response device of any one of claims 10 to 12, wherein the search response device further comprises a display portion configured to:
    and displaying the search result based on the current display interface of the shorthand information to be searched.
  14. A search response apparatus, wherein the search response apparatus comprises: a memory and a processor;
    the memory for storing a computer program operable on the processor;
    the processor, when executing the computer program, is adapted to perform the steps of the method of any of claims 1 to 9.
  15. A computer storage medium, wherein the computer storage medium stores a search response program that, when executed by at least one processor, implements the steps of the method of any of claims 1-9.
  16. A mobile terminal, wherein said mobile terminal is installed with a shorthand application, said mobile terminal comprising at least a search response means according to any of claims 10 to 14.
CN201880096709.2A 2018-09-03 2018-09-03 Search response method and device and computer storage medium Pending CN112585597A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/103835 WO2020047721A1 (en) 2018-09-03 2018-09-03 Search response method and apparatus, and computer storage medium

Publications (1)

Publication Number Publication Date
CN112585597A true CN112585597A (en) 2021-03-30

Family

ID=69721451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880096709.2A Pending CN112585597A (en) 2018-09-03 2018-09-03 Search response method and device and computer storage medium

Country Status (2)

Country Link
CN (1) CN112585597A (en)
WO (1) WO2020047721A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010648A (en) * 2021-04-15 2021-06-22 联仁健康医疗大数据科技股份有限公司 Content search method, content search device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102893280A (en) * 2010-05-14 2013-01-23 株式会社Ntt都科摩 Data search device, data search method and program
CN103685687A (en) * 2012-09-04 2014-03-26 百度在线网络技术(北京)有限公司 Context awareness-based voice interaction method and mobile terminal
CN107943398A (en) * 2017-11-28 2018-04-20 珠海格力电器股份有限公司 A kind of information acquisition method and equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105930422A (en) * 2016-04-18 2016-09-07 乐视控股(北京)有限公司 Search response method, apparatus and system
CN106407331A (en) * 2016-09-04 2017-02-15 乐视控股(北京)有限公司 Memo search method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102893280A (en) * 2010-05-14 2013-01-23 株式会社Ntt都科摩 Data search device, data search method and program
CN103685687A (en) * 2012-09-04 2014-03-26 百度在线网络技术(北京)有限公司 Context awareness-based voice interaction method and mobile terminal
CN107943398A (en) * 2017-11-28 2018-04-20 珠海格力电器股份有限公司 A kind of information acquisition method and equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010648A (en) * 2021-04-15 2021-06-22 联仁健康医疗大数据科技股份有限公司 Content search method, content search device, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2020047721A1 (en) 2020-03-12

Similar Documents

Publication Publication Date Title
WO2019095962A1 (en) Recommended content display method, apparatus and system
CN109918669B (en) Entity determining method, device and storage medium
CN109189879B (en) Electronic book display method and device
CN108494947B (en) Image sharing method and mobile terminal
CN110807325B (en) Predicate identification method, predicate identification device and storage medium
TW201322014A (en) Input method for searching in circling manner and system thereof
CN108073303B (en) Input method and device and electronic equipment
CN110989847B (en) Information recommendation method, device, terminal equipment and storage medium
CN109165292A (en) Data processing method, device and mobile terminal
CN112099704A (en) Information display method and device, electronic equipment and readable storage medium
CN112632445A (en) Webpage playing method, device, equipment and storage medium
CN111428522B (en) Translation corpus generation method, device, computer equipment and storage medium
CN111708943A (en) Search result display method and device and search result display device
CN110929176A (en) Information recommendation method and device and electronic equipment
CN112585597A (en) Search response method and device and computer storage medium
CN112764600A (en) Resource processing method, device, storage medium and computer equipment
CN113936697A (en) Voice processing method and device for voice processing
CN107562332B (en) Information searching method, mobile terminal and computer readable storage medium
CN113055529B (en) Recording control method and recording control device
CN114374663B (en) Message processing method and message processing device
CN108073664B (en) Information processing method, device, equipment and client equipment
CN113593614B (en) Image processing method and device
CN111597823B (en) Method, device, equipment and storage medium for extracting center word
CN111341317B (en) Method, device, electronic equipment and medium for evaluating wake-up audio data
CN111353422B (en) Information extraction 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