CN112765447A - Data searching method and device and electronic equipment - Google Patents

Data searching method and device and electronic equipment Download PDF

Info

Publication number
CN112765447A
CN112765447A CN202110114239.1A CN202110114239A CN112765447A CN 112765447 A CN112765447 A CN 112765447A CN 202110114239 A CN202110114239 A CN 202110114239A CN 112765447 A CN112765447 A CN 112765447A
Authority
CN
China
Prior art keywords
target data
target
data
search
search information
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
CN202110114239.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 CN202110114239.1A priority Critical patent/CN112765447A/en
Publication of CN112765447A publication Critical patent/CN112765447A/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/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9532Query formulation
    • 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/334Query execution
    • G06F16/3344Query execution using natural language analysis
    • 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
    • G06F16/9535Search customisation based on user profiles and personalisation
    • 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
    • G06F16/9538Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Computational Linguistics (AREA)
  • Mathematical Physics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a data searching method, a data searching device and electronic equipment, and belongs to the field of data processing. Wherein, the method comprises the following steps: receiving user input, wherein the user input carries first search information; responding to user input, performing intention identification on the first search information to obtain second search information; searching target data from preset local data according to the second search information; and the target data corresponds to a target attribute, and the target attribute is matched with the second search information. According to the method and the device, the intention of the first search information input by the user is identified, the first search information is converted into second search information expressing more refined and accurate information and then used for searching the local data, and therefore the search result is more accurate. In addition, the attribute is preset for the local data, and then the local data is searched by matching the attribute with the second search information, so that the appropriate local data can be quickly matched according to the intention of the user, and the convenience of searching the data is ensured.

Description

Data searching method and device and electronic equipment
Technical Field
The application belongs to the field of data processing, and particularly relates to a data search method and device and electronic equipment.
Background
Nowadays, the digitization process is rapidly developing, and people can obtain required information from massive information, for example, people can search interesting news, learning materials and the like through a browser. The personal electronic devices such as mobile phones and computers also store a large amount of data, but different from massive information in the network, the local data in the personal electronic devices belong to private data of users, and have independence and difference, so that the data search mode universally adopted by the network cannot be directly applied to search of the local data.
At present, the search mode of local data is still simple literal search, that is, a user inputs a search word, and searches for data containing the search word locally, and then displays the data to the user. However, in such a search mode, a user needs to input a search word accurately, briefly, and straightly, so as to obtain a more accurate search result, and how to refine and accurately express the content to be searched has difficulty for most users, so that the search difficulty is increased, repeated search is easily caused, the time for searching data is prolonged, and the search process becomes complicated.
Disclosure of Invention
The embodiment of the application aims to provide a data searching method, a data searching device and electronic equipment, and solves the problems that local data are searched in a simple literal retrieval mode by inputting search words by a user, so that the searching difficulty is high, and the searching process is complicated.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a data search method, where the method includes:
receiving user input, wherein the user input carries first search information;
responding to the user input, performing intention identification on the first search information to obtain second search information;
searching target data from preset local data according to the second search information;
and the target data corresponds to a target attribute, and the target attribute is matched with the second search information.
In a second aspect, an embodiment of the present application provides an apparatus for data search, where the apparatus includes:
the receiving module is used for receiving user input, and the user input carries first search information;
the identification module is used for responding to the user input, performing intention identification on the first search information and obtaining second search information;
the searching module is used for searching target data from preset local data according to the second searching information;
and the target data corresponds to a target attribute, and the target attribute is matched with the second search information.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the electronic device may receive user input carrying first search information, then perform intention identification on the first search information in response to the user input, obtain second search information expressing a search intention of the user, and then search target data from preset local data according to the second search information, where the target data corresponds to a target attribute, and the target attribute is matched with the second search information. The intention recognition is carried out on the first search information input by the user, the first search information is converted into second search information which expresses more refined and accurate, and then the local data is searched according to the second search information, so that a more accurate search result can be obtained quickly, and the search difficulty is reduced. In addition, the attribute is preset for the local data, and then the local data is searched by matching the attribute with the second search information, so that the appropriate local data can be quickly matched according to the intention of the user, and the convenience of searching the data is ensured.
Drawings
Fig. 1 is a flowchart of a data search method provided in an embodiment of the present application;
fig. 2 is a schematic diagram illustrating that an engine analyzes local data and sets an attribute corresponding to the local data according to an embodiment of the present application;
FIG. 3 is a flow chart of another data searching method provided by the embodiments of the present application;
fig. 4 is a block diagram of a data search apparatus according to an embodiment of the present application;
fig. 5 is a block diagram of an electronic device according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The data search method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, an embodiment of the present application provides a data search method, where the data search method includes:
step 101, receiving a user input, wherein the user input carries first search information.
In the embodiment of the present application, the user input may be an operation of searching the local data by the user, for example, an operation of inputting a search word in a search box corresponding to the local data by the user. The electronic device receives a user input, and can acquire first search information carried by the user input, where the first search information may be a search word input by the user, and the first search information may include a word, a phrase, a number, a symbol, and the like, and this is not specifically limited in this embodiment of the present application.
And 102, responding to the user input, performing intention identification on the first search information, and obtaining second search information.
In the embodiment of the application, the electronic device, in response to the user input carrying the first search information, may perform intent recognition on the first search information, that is, convert the search word input by the user into an expression of a search intent.
Specifically, after a user inputs a search word in a search box, the electronic device may first perform normalization processing on the search word to obtain a search keyword, where the normalization processing includes filtering search-prohibited words, meaningless texts, and the like, and reference may be made to related technologies, which is not specifically limited in this embodiment of the present application. Then, the electronic device may input a locally preset Natural Language Processing (NLP) model with the search keyword as an input parameter, so as to perform intent analysis on the search keyword, thereby identifying the search intent of the user. The output parameter of the NLP model is an intention search factor corresponding to the first search information, that is, the second search information.
Since the second search information can refine and accurately express the search intention corresponding to the first search information, compared with the first search information expressed by the user through the language of the user, the data search is carried out through the second search information expressing the intention, and the search accuracy can be improved.
In practical applications, the content that the user wants to search usually involves various attributes such as time, place, people, data category, content elements, and so on, and therefore, the NLP model can set the intention slot according to these attributes. One slot position can represent one attribute, such as a time slot position, a place slot position, a person slot position, a data category slot position, a content element slot position and the like, and the NLP model can carry out semantic analysis on search keywords to complete filling of an intention slot position.
It should be noted that the first search information input by the user does not necessarily include attributes corresponding to all the intended slots, and therefore, empty intended slots may be filled with default values. For example, the user inputs "self-portrait shot in osaka japan", the normalization process obtains "osaka japan, self-portrait", the intention recognition can be performed, it can be analyzed that the place is osaka japan, the data category is a photograph, and the content element is self-portrait, and therefore, the place slot can be filled with osaka japan, the data category slot is filled with a photograph, and the content element slot is filled with self-portrait, but the time and the character cannot be recognized, and therefore, the time slot and the character slot are blank, the time slot can be filled with the time default value "all times", and the character slot is filled with the character default value "all characters".
The intention recognition result output by the NLP model, i.e., the second search information, may be used as a search factor for the local data. For example, a user chats with the king XX in WeChat, and prepares to send some pictures when sharing the japanese travel interest in the last year, but because there are too many pictures in the mobile phone, a search is initiated in the global search box, and the first search information "self-shoot in osaka in japan in the last year" is input, then the electronic device firstly performs standardized processing such as filtering search forbidden vocabulary, filtering nonsense vocabulary and the like on the "self-shoot in osaka in japan in the last year", and obtains search keywords "in the last year", "osaka in japan" and "self-shoot", and then performs intention recognition through the NLP model, fills intention slots such as time, place and the like, and outputs the second search information "time 2020; osaka, japan; data type is photo; content element is face autodyne; the rest slots are the default values.
103, searching target data from preset local data according to the second search information; and the target data corresponds to a target attribute, and the target attribute is matched with the second search information.
In the embodiment of the application, for the local data stored locally, the electronic device may set a corresponding attribute for the local data in advance, that is, perform tagging on the local data, and extract an element of each local data, so that the element of the local data is conveniently matched with the second search information, and the matched local data is searched. In practical applications, the attribute corresponding to the local data may be a tag of the local data, the attribute may represent an element of the local data, such as a self-taken picture stored locally, and the corresponding attribute may include a shooting time and a shooting location of the self-taken picture, a content element including a face of a person, and the face of the person belonging to the electronic device, and so on.
In specific application, the attribute presetting of the local data can be realized through an Artificial Intelligence (AI) engine preset locally, that is, the tagging of the local data can be realized through the AI engine, so that an portrait system of the local data is established. The localized engine may protect the privacy and security of the user's private data. As shown in FIG. 2, attributes may be set for local data from various attribute dimensions, such as preferences, time, data format, geography, and so forth.
Specifically, the electronic device may match the second search information with an attribute corresponding to each local data, and optionally, the matching manner may be a simple word-by-word matching manner, a relevancy matching manner, or other matching manners, which is not specifically limited in this embodiment of the present application. Under the condition that the second search information is matched with the target attribute of the target data, the electronic device can determine that the target data is the search result desired by the user, and further can display the target data or the opening trigger item corresponding to the target data so that the user can conveniently view the search result.
Optionally, in practical application, for protecting the privacy of the user, the user may be asked in advance whether to authorize the local data to perform content analysis using the AI engine, if not, tagging of the local data cannot be completed, and the search mode is still in a conventional mode of literal matching; if the data is authorized, the AI engine can be used for analyzing the local data to obtain the related attribute tags, and an image system of the local data is built.
It should be noted that the local data related to the search may be a picture, a document, a video, an audio, and the like, and this is not particularly limited in this embodiment of the application.
In addition, optionally, attributes may be preset for all local data, or attributes may be preset for part of the local data, and in practical application, the range of the local data of which the attribute is to be set may be determined based on user selection or other rules. In this embodiment of the present application, the preset local data is local data that allows setting of an attribute, for example, data in some local folders selected by a user, which is not specifically limited in this embodiment of the present application.
In the embodiment of the application, the intention of the first search information input by the user is identified, the first search information is converted into the second search information which expresses more refined and accurate, and then the local data is searched according to the second search information, so that a more accurate search result can be obtained quickly, and the search difficulty is reduced. In addition, the attribute is preset for the local data, and then the local data is searched by matching the attribute with the second search information, so that the appropriate local data can be quickly matched according to the intention of the user, and the convenience of searching the data is ensured.
Optionally, referring to fig. 3, after step 103, the following steps are further included:
step 104, determining a target contact person, wherein the target contact person is associated with the target data;
105, displaying at least one of the target data and a sending item of the target data according to the target contact; wherein the sending item is used for indicating that the target data is sent to the target contact.
In most life scenes, the purpose of searching local data by a user is to send the local data to other people except for viewing the local data by the user, so after the target data is searched, the electronic device can determine a target contact person, namely a receiving object for recommending the target data to the user, wherein the target contact person can be a contact person associated with the target data. For example, if the user and a contact have target data mentioned in their chat records before searching, the contact is associated with the target data and can be the target contact. For another example, if the target data is a group photo of people and there is a contact person contacted by the user in the group photo, or if the target data is a document and there is a name of a contact person in the document name or content, the contact person is associated with the target data and can be used as the target contact person.
After the target contact person is determined, the electronic equipment can display at least one of the target data and the sending item of the target data according to the target contact person, namely, the sending item of the target data and the sending item of the target data are displayed in what way and are related to the target contact person, so that the searching result of the local data can be displayed according to the sending requirement of the user, the user can share the target data conveniently, and the data sharing efficiency is improved. The sending item of the target data may be a virtual sending key, a sending link, and the like of the target data, and may be triggered by a click of a user and other operations, so that the electronic device sends the target data to the target contact person.
Optionally, step 105 may specifically include the following steps:
in the case that first target data is included in the target data, displaying the first target data differently from the rest of the target data;
the first target data is data with the characteristic attribute of the target contact in the target data.
In this embodiment of the application, if the searched target data includes data with the characteristic attribute of the target contact, that is, some data in the target data are related to the target contact, the first target data related to the target contact in the target data may be displayed differently from the rest data in the target data.
The characteristic attribute may be a face, a name, a phone number, and the like of the target contact, which is not specifically limited in this embodiment of the application. For example, the target data includes a photo, and if the photo has a face of the target contact, the photo is the first target data. For another example, the target data includes a document, and the name of the document includes the name of the target contact, so that the document is the first target data.
In practical application, the manner of displaying the first target data and the remaining search results in a different manner may include displaying the first target data at the top of all the search results, that is, displaying the first target data on top, displaying the first target data in an enlarged manner, displaying the remaining search results according to a normal size, displaying the first target data in a highlighted manner, displaying the remaining search results in a non-highlighted manner, and the like, which is not specifically limited in this embodiment of the present application. Therefore, the search results with the characteristic attributes of the target contact persons can be preferentially or mainly recommended, so that the user can quickly check and share the search results with the relevant target contact persons, and the sharing efficiency of the search results is improved.
Still optionally, step 105 may specifically include the following steps:
acquiring processing demand information of the target data from the communication information corresponding to the target contact person;
identifying preset characteristics from the target data;
displaying a first sending item of the target data under the condition that at least one condition of acquiring the processing requirement information and identifying the preset characteristics from the target data is met;
the first sending item is used for indicating that preset processing operation is carried out on the target data and then sending the target data to the target contact person, and the preset processing operation comprises at least one of processing operation corresponding to the preset characteristic and processing operation corresponding to the processing demand information.
In the embodiment of the application, the communication information may be, for example, a chat record of the user and the target contact, and the electronic device may search whether a processing requirement for the target data exists from the chat record of the user and the target contact. For example, the target data is a self-portrait shot in osaka japan in the last year, and the electronic device may acquire the processing demand information for the target data "P one stroke" in a chat log "give me a self-portrait shot in osaka japan in the last year, and i want P to give a friend circle".
In addition, some features may also exist in the target data, for example, when the target data is a photograph, the preset feature may be a human face, and the human face feature may indicate that the target data is a photograph containing a human face, and for the human face photograph, there may be a need for beauty treatment. For another example, when the target data is a short message, the preset feature may be existence time and place, and the time and place feature may indicate that the target data is an important short message including time and place information, and for such an important short message, there may be a need to highlight the time and place.
In one implementation manner, when the electronic device acquires processing requirement information of target data from communication information corresponding to a target contact, a first sending item of the target data may be displayed, where the first sending item may indicate that a preset processing operation is performed on the target data and then the preset processing operation is sent to the target contact, and the preset processing operation may be a processing operation corresponding to the processing requirement information. For example, the electronic device acquires processing requirement information "P one stroke" of target data (a self-portrait in osaka, japan in the last year) from a chat record corresponding to the target contact XX, and the electronic device may display a first transmission item of the target data, where the first transmission item is used to instruct to perform a beauty processing operation on the target data and then transmit the beauty processing operation to the XX, and the beauty processing operation is also a processing operation corresponding to the processing requirement information "P one stroke".
In another implementation manner, in a case that the electronic device identifies a preset feature from the target data, a first sending item of the target data may be displayed, where the first sending item may indicate that a preset processing operation is performed on the target data and then the target data is sent to the target contact, and the preset processing operation may be a processing operation corresponding to the preset feature. For example, the electronic device recognizes a preset feature "face" from target data (selfie picture in osaka, japan in the last year), and the electronic device may display a first transmission item of the target data, where the first transmission item is used to instruct to perform a beauty processing operation on the target data and then transmit the beauty processing operation to the wang XX, and the beauty processing operation is also a processing operation corresponding to the preset feature "face".
In another implementation manner, the electronic device may both obtain the processing requirement information for the target data and identify the preset feature from the target data, and at this time, the electronic device may display the first sending item according to at least one of the processing operation corresponding to the processing requirement information and the processing operation corresponding to the preset feature. Specifically, if the processing operation corresponding to the processing requirement information conflicts with the processing operation corresponding to the preset feature, that is, the processing operation corresponding to the processing requirement information and the processing operation corresponding to the preset feature cannot be simultaneously implemented, the electronic device may select either one of the processing operations, and if the processing operation corresponding to the processing requirement information does not conflict with the processing operation corresponding to the preset feature, that is, the processing operation corresponding to the processing requirement information and the processing operation corresponding to the preset feature can be simultaneously implemented, the electronic device may select both of the processing operations, and certainly, any one of the processing operations may be selected, which is not specifically limited in this embodiment of.
After the user triggers the first sending item through clicking, setting operation and the like, the electronic device can process the target data through the selected processing operation and send the processed target data to the target contact person.
For example, if character features are contained in the searched self-portrait photo in osaka, japan in the last year, and the chat records of the user and XX in the past contain processing requirement information such as retouching and the like, the first transmission item may indicate that the self-portrait photo in osaka, japan is to be transmitted after being beautified, and the user clicks the first transmission item, the electronic device automatically beautifies and processes the self-portrait photo and transmits the self-portrait photo to XX in the past year.
In a specific application, the first sending item may specifically be a virtual sending key, a sending link, and the like of the target data, and may be triggered by a user clicking and other operations, so that the electronic device performs a preset processing operation on the target data and sends the target data to the target contact.
In addition, in the above step, a manner of sending the processed target data to the target contact person may be that the electronic device displays various contact manners of the target contact person, and then the user selects one of the contact manners, for example, the target data may be sent in a form of a short message, a multimedia message, and the like through a phone number, sent through chat software, shared through social software, and the like, which is not specifically limited in this embodiment of the application.
In the embodiment of the application, under the condition that the electronic device acquires the processing requirement information from the communication information corresponding to the target contact and/or recognizes the preset characteristics from the target data, the electronic device may display a first sending item of the target data to indicate that the processing operation corresponding to the preset characteristics is performed on the target data and/or send the processing operation corresponding to the processing requirement information to the target contact, so that a sending option for processing and sharing the target data to the target contact after processing the target data can be provided for a user according to at least one of the processing requirement of the target contact and the characteristics of the target data, and thus the processing and sharing efficiency of search results is improved.
Still optionally, step 105 may specifically include the following steps:
displaying a second transmission item of the target data;
the second sending item is used for indicating that the target data are sent to the target contact person through the communication application to which the target contact person belongs.
In practical applications, if the electronic device is the target contact determined from the chat software a, a second sending item for instructing to send the target data to the target contact through the chat software a may be displayed, and if the electronic device is the target contact determined from the short message application B, a second sending item for instructing to send the target data to the target contact through the short message application B may be displayed. Certainly, in specific application, the electronic device may further display other contact ways of the target contact person, so that the user may select which way to share.
In the embodiment of the application, the electronic device can display the second sending item of the target data to indicate that the target data are sent to the target contact through the communication application to which the target contact belongs, so that a sending option for sharing the target data to the target contact which may be needed can be provided for a user, and the sharing efficiency of the search result is improved.
In the embodiment of the application, the electronic device may receive user input carrying first search information, then perform intention identification on the first search information in response to the user input, obtain second search information expressing a search intention of the user, and then search target data from preset local data according to the second search information, where the target data corresponds to a target attribute, and the target attribute is matched with the second search information. The intention recognition is carried out on the first search information input by the user, the first search information is converted into second search information which expresses more refined and accurate, and then the local data is searched according to the second search information, so that a more accurate search result can be obtained quickly, and the search difficulty is reduced. In addition, the attribute is preset for the local data, and then the local data is searched by matching the attribute with the second search information, so that the appropriate local data can be quickly matched according to the intention of the user, and the convenience of searching the data is ensured.
It should be noted that, in the data search method provided in the embodiment of the present application, the execution main body may be a data search apparatus, or a control module of the data search apparatus for executing the data search method. In the embodiment of the present application, a method for performing data search by using a data search apparatus is taken as an example, and a data search apparatus provided in the embodiment of the present application is described.
Referring to fig. 4, there is provided an apparatus 400 for data searching, the apparatus comprising:
a receiving module 401, configured to receive a user input, where the user input carries first search information;
an identifying module 402, configured to perform intent identification on the first search information in response to the user input, to obtain second search information;
a searching module 403, configured to search for target data from preset local data according to the second search information;
and the target data corresponds to a target attribute, and the target attribute is matched with the second search information.
Optionally, the apparatus further comprises:
a determination module to determine a target contact, the target contact associated with the target data;
the display module is used for displaying at least one of the target data and the sending item of the target data according to the target contact person;
wherein the sending item is used for indicating that the target data is sent to the target contact.
Optionally, the display module comprises:
the first display sub-module is used for displaying the first target data and other data in the target data in a distinguishing manner under the condition that the target data comprises the first target data;
the first target data is data with the characteristic attribute of the target contact in the target data.
Optionally, the display module comprises:
the acquisition submodule is used for acquiring processing requirement information of the target data from the communication information corresponding to the target contact person;
the identification submodule is used for identifying preset characteristics from the target data;
the second display sub-module is used for displaying the first sending item of the target data under the condition that at least one condition of the preset characteristics is identified from the target data when the processing requirement information is acquired;
the first sending item is used for indicating that preset processing operation is carried out on the target data and then sending the target data to the target contact person, and the preset processing operation comprises at least one of processing operation corresponding to the preset characteristic and processing operation corresponding to the processing demand information.
Optionally, the display module comprises:
the third display submodule is used for displaying a second sending item of the target data;
the second sending item is used for indicating that the target data are sent to the target contact person through the communication application to which the target contact person belongs.
In the embodiment of the application, the electronic device may receive, through the receiving module, a user input carrying first search information, then perform intent recognition on the first search information through the recognition module in response to the user input, to obtain second search information expressing a user search intent, and then search, through the search module, target data from preset local data according to the second search information, where the target data corresponds to a target attribute, and the target attribute is matched with the second search information. The intention recognition is carried out on the first search information input by the user, the first search information is converted into second search information which expresses more refined and accurate, and then the local data is searched according to the second search information, so that a more accurate search result can be obtained quickly, and the search difficulty is reduced. In addition, the attribute is preset for the local data, and then the local data is searched by matching the attribute with the second search information, so that the appropriate local data can be quickly matched according to the intention of the user, and the convenience of searching the data is ensured.
The data search device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The data search device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The data search device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 and fig. 3, and is not described here again to avoid repetition.
Optionally, as shown in fig. 5, an electronic device 500 is further provided in this embodiment of the present application, and includes a processor 501, a memory 502, and a program or an instruction stored in the memory 502 and executable on the processor 501, where the program or the instruction is executed by the processor 501 to implement each process of the foregoing data search method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and the like.
Those skilled in the art will appreciate that the electronic device 600 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 610 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The user input unit 607 is configured to receive a user input, where the user input carries first search information;
a processor 610, configured to perform intent recognition on the first search information in response to the user input, to obtain second search information; searching target data from preset local data according to the second search information; and the target data corresponds to a target attribute, and the target attribute is matched with the second search information.
Optionally, the processor 610 is further configured to determine a target contact, where the target contact is associated with the target data;
displaying at least one of the target data and a sending item of the target data according to the target contact;
wherein the sending item is used for indicating that the target data is sent to the target contact.
Optionally, the display unit 606 is configured to, when the target data includes first target data, display the first target data differently from other data in the target data;
the first target data is data with the characteristic attribute of the target contact in the target data.
Optionally, the processor 610 is further configured to obtain processing requirement information of the target data from the communication information corresponding to the target contact; identifying preset characteristics from the target data;
the display unit 606 is further configured to display a first sending item of the target data when at least one condition of acquiring the processing requirement information and identifying the preset feature from the target data is met;
the first sending item is used for indicating that preset processing operation is carried out on the target data and then sending the target data to the target contact person, and the preset processing operation comprises at least one of processing operation corresponding to the preset characteristic and processing operation corresponding to the processing demand information.
Optionally, the display unit 606 is further configured to display a second sending item of the target data;
the second sending item is used for indicating that the target data are sent to the target contact person through the communication application to which the target contact person belongs.
In the embodiment of the application, the electronic device may receive user input carrying first search information, then perform intention identification on the first search information in response to the user input, obtain second search information expressing a search intention of the user, and then search target data from preset local data according to the second search information, where the target data corresponds to a target attribute, and the target attribute is matched with the second search information. The intention recognition is carried out on the first search information input by the user, the first search information is converted into second search information which expresses more refined and accurate, and then the local data is searched according to the second search information, so that a more accurate search result can be obtained quickly, and the search difficulty is reduced. In addition, the attribute is preset for the local data, and then the local data is searched by matching the attribute with the second search information, so that the appropriate local data can be quickly matched according to the intention of the user, and the convenience of searching the data is ensured.
It is to be understood that, in the embodiment of the present application, the input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics Processing Unit 6041 processes image data of a still picture or a video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 607 includes a touch panel 6071 and other input devices 6072. A touch panel 6071, also referred to as a touch screen. The touch panel 6071 may include two parts of a touch detection device and a touch controller. Other input devices 6072 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. The memory 609 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 610 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 610.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the data search method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the data search method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. A method of searching data, the method comprising:
receiving user input, wherein the user input carries first search information;
responding to the user input, performing intention identification on the first search information to obtain second search information;
searching target data from preset local data according to the second search information;
and the target data corresponds to a target attribute, and the target attribute is matched with the second search information.
2. The method according to claim 1, wherein after searching for target data from preset local data according to the second search information, the method further comprises:
determining a target contact, the target contact being associated with the target data;
displaying at least one of the target data and a sending item of the target data according to the target contact;
wherein the sending item is used for indicating that the target data is sent to the target contact.
3. The method of claim 2, wherein the displaying at least one of the target data and the sending item of the target data according to the target contact comprises:
in the case that first target data is included in the target data, displaying the first target data differently from the rest of the target data;
the first target data is data with the characteristic attribute of the target contact in the target data.
4. The method of claim 2, wherein the displaying at least one of the target data and the sending item of the target data according to the target contact comprises:
acquiring processing demand information of the target data from the communication information corresponding to the target contact person;
identifying preset characteristics from the target data;
displaying a first sending item of the target data under the condition that at least one condition of acquiring the processing requirement information and identifying the preset characteristics from the target data is met;
the first sending item is used for indicating that preset processing operation is carried out on the target data and then sending the target data to the target contact person, and the preset processing operation comprises at least one of processing operation corresponding to the preset characteristic and processing operation corresponding to the processing demand information.
5. The method of claim 2, wherein the displaying at least one of the target data and the sending item of the target data according to the target contact comprises:
displaying a second transmission item of the target data;
the second sending item is used for indicating that the target data are sent to the target contact person through the communication application to which the target contact person belongs.
6. An apparatus for data searching, the apparatus comprising:
the receiving module is used for receiving user input, and the user input carries first search information;
the identification module is used for responding to the user input, performing intention identification on the first search information and obtaining second search information;
the searching module is used for searching target data from preset local data according to the second searching information;
and the target data corresponds to a target attribute, and the target attribute is matched with the second search information.
7. The apparatus of claim 6, further comprising:
a determination module to determine a target contact, the target contact associated with the target data;
the display module is used for displaying at least one of the target data and the sending item of the target data according to the target contact person;
wherein the sending item is used for indicating that the target data is sent to the target contact.
8. The apparatus of claim 7, wherein the display module comprises:
the first display sub-module is used for displaying the first target data and other data in the target data in a distinguishing manner under the condition that the target data comprises the first target data;
the first target data is data with the characteristic attribute of the target contact in the target data.
9. The apparatus of claim 7, wherein the display module comprises:
the acquisition submodule is used for acquiring processing requirement information of the target data from the communication information corresponding to the target contact person;
the identification submodule is used for identifying preset characteristics from the target data;
the second display sub-module is used for displaying the first sending item of the target data under the condition that at least one condition of the preset characteristics is identified from the target data when the processing requirement information is acquired;
the first sending item is used for indicating that preset processing operation is carried out on the target data and then sending the target data to the target contact person, and the preset processing operation comprises at least one of processing operation corresponding to the preset characteristic and processing operation corresponding to the processing demand information.
10. The apparatus of claim 7, wherein the display module comprises:
the third display submodule is used for displaying a second sending item of the target data;
the second sending item is used for indicating that the target data are sent to the target contact person through the communication application to which the target contact person belongs.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the data search method of any one of claims 1-10.
CN202110114239.1A 2021-01-27 2021-01-27 Data searching method and device and electronic equipment Pending CN112765447A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110114239.1A CN112765447A (en) 2021-01-27 2021-01-27 Data searching method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110114239.1A CN112765447A (en) 2021-01-27 2021-01-27 Data searching method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112765447A true CN112765447A (en) 2021-05-07

Family

ID=75706276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110114239.1A Pending CN112765447A (en) 2021-01-27 2021-01-27 Data searching method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112765447A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412877A (en) * 2013-07-15 2013-11-27 珠海市魅族科技有限公司 Method and device for transmitting picture
CN106096011A (en) * 2016-06-23 2016-11-09 北京小米移动软件有限公司 Method for picture sharing and device
CN106375531A (en) * 2016-08-29 2017-02-01 捷开通讯(深圳)有限公司 Picture sharing method and terminal
CN108809808A (en) * 2018-06-06 2018-11-13 出门问问信息科技有限公司 Information processing method, device, equipment and storage medium
CN109522465A (en) * 2018-10-22 2019-03-26 国家电网公司 The semantic searching method and device of knowledge based map
CN110765275A (en) * 2019-10-14 2020-02-07 平安医疗健康管理股份有限公司 Search method, search device, computer equipment and storage medium
CN111638843A (en) * 2020-05-22 2020-09-08 维沃移动通信(杭州)有限公司 Information processing method and device and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412877A (en) * 2013-07-15 2013-11-27 珠海市魅族科技有限公司 Method and device for transmitting picture
CN106096011A (en) * 2016-06-23 2016-11-09 北京小米移动软件有限公司 Method for picture sharing and device
CN106375531A (en) * 2016-08-29 2017-02-01 捷开通讯(深圳)有限公司 Picture sharing method and terminal
CN108809808A (en) * 2018-06-06 2018-11-13 出门问问信息科技有限公司 Information processing method, device, equipment and storage medium
CN109522465A (en) * 2018-10-22 2019-03-26 国家电网公司 The semantic searching method and device of knowledge based map
CN110765275A (en) * 2019-10-14 2020-02-07 平安医疗健康管理股份有限公司 Search method, search device, computer equipment and storage medium
CN111638843A (en) * 2020-05-22 2020-09-08 维沃移动通信(杭州)有限公司 Information processing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN109614482B (en) Label processing method and device, electronic equipment and storage medium
CN111708943B (en) Search result display method and device for displaying search result
CN110019675B (en) Keyword extraction method and device
CN112099704A (en) Information display method and device, electronic equipment and readable storage medium
CN108345625B (en) Information mining method and device for information mining
CN112333084B (en) File sending method and device and electronic equipment
CN111859119A (en) Information processing method and device
CN111538830B (en) French searching method, device, computer equipment and storage medium
CN108197105B (en) Natural language processing method, device, storage medium and electronic equipment
CN113869063A (en) Data recommendation method and device, electronic equipment and storage medium
CN113037925B (en) Information processing method, information processing apparatus, electronic device, and readable storage medium
CN112383662B (en) Information display method and device and electronic equipment
CN110232181B (en) Comment analysis method and device
CN107784037B (en) Information processing method and device, and device for information processing
CN114374663B (en) Message processing method and message processing device
WO2022222821A1 (en) Information display method and apparatus
CN113157966B (en) Display method and device and electronic equipment
CN115309487A (en) Display method, display device, electronic equipment and readable storage medium
CN112765447A (en) Data searching method and device and electronic equipment
CN114020384A (en) Message display method and device and electronic equipment
CN113593614A (en) Image processing method and device
CN114491213A (en) Commodity searching method and device based on image, electronic equipment and computer readable storage medium
CN113010072A (en) Searching method and device, electronic equipment and readable storage medium
CN112287131A (en) Information interaction method and information interaction device
CN112084151A (en) File processing 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