Information query method, device and equipment

By matching the labels generated by user input description information in the image tag database, the problem of inefficient contact query methods is solved, and the function of efficiently finding communication objects without remembering the detailed information of the contact is realized.

CN119988401APending Publication Date: 2025-05-13HUIZHOU GOLDMAN SACHS DAZHIXIAN TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510016963.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-06
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

The existing contact query methods are inefficient in querying, especially if you don’t remember the contact nickname or contact account, which can easily cause omissions and inconvenience to use.

Method used

By obtaining the description information of the information to be searched input by the user, generating the tag to be searched, and matching it in the image tag database to obtain the target image tag, and then displaying the communication information of the target communication object.

Benefits of technology

It provides an additional way to find communication objects without knowing nicknames, numbers or notes, improving the efficiency of contact query, especially in special groups or scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119988401A_ABST
    Figure CN119988401A_ABST
Patent Text Reader

Abstract

The invention discloses an information query method, device and equipment, and relates to the technical field of data processing, the information query method comprises the following steps: obtaining description information of to-be-searched information input by a user; generating a to-be-searched label according to the description information; matching in an image tag database according to the to-be-searched tag to obtain a target image tag, the image tag database being established based on a communication head portrait in a target information base of the user; and displaying the target communication object corresponding to the target image tag.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to information query methods, devices and equipment. Background Art

[0002] As people's living standards improve, smartphones are widely used, and users often use some communication applications in daily communication. As communication applications are used for a longer time, the number of people in the target information database will increase, even to thousands or tens of thousands of contacts. In this case, it will be difficult to find contacts.

[0003] Currently, the method for searching contacts in the target information database is usually to search by contact information such as nickname, notes or contact number, etc. This method of searching is easy to cause omissions and inconvenience in use for scenarios such as not remembering the contact nickname or contact account, or for some special groups of people. Summary of the invention

[0004] The main purpose of the present application is to provide an information query method, device and equipment, aiming to solve the technical problem of low query efficiency of existing contact query methods.

[0005] To achieve the above purpose, the present application proposes an information query method, which includes:

[0006] Obtaining description information of the information to be searched input by the user;

[0007] Generate tags to be searched based on the description information;

[0008] According to the tag to be searched, a target image tag is obtained by matching in the image tag database, and the image tag database is established based on the image tags of the communication objects in the user's target information database;

[0009] The communication information of the target communication object corresponding to the target image label is displayed.

[0010] In addition, to achieve the above purpose, the present application also proposes an information query device, which includes:

[0011] An information acquisition module is used to acquire the description information of the information to be searched input by the user;

[0012] A tag generation module, used to generate tags to be searched according to the description information;

[0013] A tag matching module is used to match the tag to be searched in the image tag database to obtain the target image tag, and the image tag database is established based on the image tag of the communication object in the user's target information database;

[0014] The result display module is used to display the communication information of the target communication object corresponding to the target image label.

[0015] In addition, to achieve the above objectives, the present application also proposes an information query device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the information query method as described above. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0018] Figure 1 A flowchart of the first embodiment of the information query method of this application is provided;

[0019] Figure 2 A schematic diagram of a communication object query scenario in an implementation of this application

[0020] Figure 3 A flowchart of the second embodiment of the information query method of this application is provided;

[0021] Figure 4 A flowchart of the third embodiment of the information query method of this application is provided;

[0022] Figure 5 This is a schematic diagram of the module structure of the information query device according to an embodiment of the present application;

[0023] Figure 6 A schematic diagram of the device structure of the hardware operating environment involved in the information query method in the embodiment of the present application.

[0024] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0025] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0026] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0027] The main solution of the embodiment of the present application is: obtain the description information of the information to be searched input by the user; generate a tag to be searched based on the description information; match the tag to be searched in the image tag database to obtain the target image tag; and display the communication information of the target communication object corresponding to the target image tag.

[0028] At present, the existing technology usually searches for contacts by nickname, number, notes, etc. When used by the elderly, children or some special groups who do not know how to make notes, they can only search by manually sliding through the target information database from beginning to end, which is easy to cause omissions and inconvenient to use.

[0029] The present application provides a solution, which searches for the information to be searched by querying the tags of the WeChat avatar of the communication object. It can also search for the communication object without knowing the nickname, number, or remarks, thereby providing an additional way to search for the communication object in the target information database, thereby improving the query efficiency of contacts.

[0030] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a computer, a smart phone, a smart watch, etc., or an electronic device, a virtual device, etc. that can realize the above functions, such as an information query device, an information query device, etc. The following takes the communication application as an example to illustrate this embodiment and the following embodiments.

[0031] Based on this, the present application embodiment provides an information query method, referring to Figure 1 , Figure 1 A flowchart diagram of the first embodiment of the information query method of this application.

[0032] In this embodiment, the information query method includes steps S10 to S40:

[0033] Step S10, obtaining description information of the information to be searched input by the user;

[0034] It should be noted that the communication application mentioned above in this application is an application that can be used for communication between users, such as WeChat, QQ, LINE, etc. The communication application in this application can be a mobile application, such as a mobile phone application, a watch application, a car computer application, etc.; it can also be a desktop application, such as an application on a computer, a web application, etc., and the embodiments of this application do not specifically limit it.

[0035] It is understandable that in these communication applications, users can add contact information of other users (contacts), companies or institutions, and generate communication information for storage with the contact information and information of these communication objects. Through the communication information storage function in the communication application, it is possible to save multiple communication objects, so that users can more conveniently find communication information and contact with communication objects.

[0036] It should be noted that the above-mentioned communication information may include information related to the communication object, such as the communication object's portrait, the communication object's contact information, the communication object's personal information (such as birthday, notes, nickname, contact number, etc.), etc., and the embodiment of the present application does not limit this.

[0037] It should be understood that different users may usually correspond to a communication number for uniquely identifying the user's identity, such as a WeChat number in WeChat, a QQ number in QQ, etc. In some implementations of the embodiments of the present application, the communication object can be queried through the communication number.

[0038] It is understandable that in order to highlight the personality of the user, communication applications usually also have some avatar and nickname setting functions. This application uses the description information of the information to be searched entered by the user to realize the search for the user's avatar, thereby providing a new way to query the communication object in the communication application, so that the communication object search in some special scenarios has more convenient search options, and improves the query efficiency of communication information.

[0039] It should be noted that the above information to be searched may include relevant information of the communication object that the user wants to query. When the user has a communication object query requirement, the user can enter the description information of the information to be searched in a preset area of ​​the communication application to realize the communication object query.

[0040] It should be explained that the above-mentioned preset area is also the area used for searching the information to be searched.

[0041] Exemplarily, the above-mentioned preset area can be a communication object search box, a communication object search interface, etc., which is not limited in this embodiment of the present application.

[0042] Exemplarily, the calling method of the above-mentioned preset area can be click calling, action calling (such as sliding calling, shaking calling, etc.), voice calling, etc., which is not limited in this embodiment of the present application.

[0043] It should be noted that the above-mentioned description information in the embodiment of the present application may be used together with the information of the avatar used to describe the information to be searched.

[0044] In some implementations of the embodiments of the present application, the communication application can obtain initial description information input by the user. The input method of the initial description information can be voice input, text input, or image input, etc., which is not limited by the embodiments of the present application.

[0045] In some implementations of the embodiments of the present application, when the communication application obtains the user's initial description information, it can be standardized to obtain the description information of the information to be searched. Specifically, for the initial description information input by voice, the communication application can perform voice recognition on the initial description information to obtain the corresponding voice text information, and then obtain the description information by performing text analysis and decomposition on the voice text information; for the initial description information input by text, the initial description information can be analyzed and decomposed to obtain the description information; for the initial description information input by image, the initial description information can be image feature recognized to obtain the description information corresponding to the image feature.

[0046] It should be noted that in the embodiments of the present application, the specific process of the above-mentioned text analysis and disassembly and image feature recognition is not limited, and any method that can achieve the above-mentioned functions can be used as the solution of text analysis and disassembly / image feature recognition of the present application.

[0047] It should be understood that the obtained description information may generally include standardized tag words, and tags to be searched may be generated based on the tag words.

[0048] For example, the initial description information input by the user is "I want to find someone with a profile picture of mountains and flowing water". After processing the initial description information input by the user, the tag words "mountains" and "flowing water" can be obtained, and based on the tag words, the search tags corresponding to the communication object to be searched that the user wants to query can be generated. That is, step S20 generates the search tags according to the description information.

[0049] In some implementations of the embodiments of the present application, the step of generating a tag to be searched based on the description information includes: obtaining a description search statement in the description information; performing word segmentation on the description search statement to obtain search word segments; and performing semantic analysis based on the search word segments to obtain a tag to be searched.

[0050] It is understandable that the description information input by the user can be converted into text information, and then the description search sentence in the description information can be determined. By performing word segmentation processing on the description search sentence, the search word carried in the description information can be obtained.

[0051] It should be understood that by performing semantic analysis on the search terms, the meaning of the description information can be understood more accurately, thereby generating search tags that are more in line with the user's intention, so as to return more accurate search results. In some implementations of the embodiments of the present application, the semantic analysis method used in the present application can be natural language processing technology, knowledge base, machine learning, etc., and the embodiments of the present application are not limited to this.

[0052] It can be understood that the above-mentioned tag to be searched is the tag corresponding to the information to be searched input by the user. When data matching is performed through the tag to be searched, the target image tag corresponding to the information to be searched can be obtained when the matching is successful; when the matching is unsuccessful, it means that there may be no communication object similar to the tag to be searched in the user's target information library, and the user needs to re-enter the search description information for searching. That is, when the target image tag cannot be matched according to the tag to be searched, the method also includes: prompting the user of a match failure to obtain the secondary search description information input by the user based on the prompt of the match failure; and returning the secondary search description information as the description information of the information to be searched to the step of generating the tag to be searched according to the description information.

[0053] Exemplarily, the above-mentioned matching failure prompt may be in the form of a pop-up prompt, a voice prompt or other prompts, which is not limited in this embodiment of the present application.

[0054] Exemplarily, the target information library may be a database or functional module capable of storing and managing the communication information of the communication object. In practical applications, the target information library may be in the form of an address book, a communication group, a contact directory, etc., which is not limited in the present embodiment.

[0055] Step S30, matching the tag to be searched in the image tag database to obtain the target image tag, the image tag database is established based on the image tags of the communication objects in the user's target information database;

[0056] Step S40, displaying the communication information of the target communication object corresponding to the target image tag.

[0057] It should be noted that the above-mentioned image label database can be a database established by a communication application based on the communication avatar of the communication object in the user's target information library. By parsing the communication avatar of the communication object in the target information library, the image label of the communication object corresponding to the communication avatar can be obtained, and then an image label database can be established. The image label database is used to match the label to be searched corresponding to the information to be searched that the user needs to query, and the target image label can be obtained when the match is successful. Based on the target image label, the target communication object queried by the user can be determined (that is, the information to be searched is determined).

[0058] In some implementations of the embodiments of the present application, in order to enhance the timeliness of the query, the embodiments of the present application may update the image tags of the communication object in the image tag database. The updating method may be one or more of real-time updating, scheduled updating, manual updating, etc., and the embodiments of the present application are not limited to this.

[0059] It is understandable that, since the image tag of the communication object is obtained based on the analysis of the communication avatar, there is a data mapping relationship between the communication avatar and the image tag of the communication object. According to the data mapping relationship, when it is determined that the target image tag corresponding to the searched tag matches, the target communication object corresponding to the target image tag can be determined. The specific method is not limited in the embodiment of the present application, and can be selected according to the needs of the actual application.

[0060] In the embodiment of the present application, the number of the above-mentioned target communication objects can be one or more than one, and the embodiment of the present application does not limit this. When the number of the target communication objects is one, the target communication object can be directly displayed; when the number of the target communication objects is more than one, the target communication objects can be sorted based on the similarity of the matched target image tags, and the higher the similarity, the higher the display position.

[0061] It should be noted that, in order to display the communication information of the target communication object, a display area for displaying the communication information of the target communication object may be provided in the communication application in the embodiment of the present application.

[0062] In some implementations of the embodiments of the present application, the step of obtaining a target image tag by matching the tag to be searched in an image tag database includes: matching the target tag of the tag to be searched in the image tag database through a text matching algorithm; calculating the similarity between each target tag and the tag to be searched to obtain tag similarity; and determining the target image tag in the target tags based on the tag similarity.

[0063] It is understood that the text matching algorithm is an algorithm that can be used to determine the relevance of two texts. In the embodiment of the present application, the tag to be searched is compared with the image tag in the image tag database by the text matching algorithm to determine the target tag. Further, by calculating the similarity between the target tag and the tag to be searched, the tag similarity between each target tag and the tag to be searched is determined.

[0064] Furthermore, when determining the tag similarity, the target tags may be sorted according to the tag similarity, and the target image tag may be determined from the target tags based on the sorting result.

[0065] In some implementations of the embodiments of the present application, a method for determining a target image label may be to set a similarity threshold, and use a target label whose label similarity is greater than the similarity threshold as the target image label.

[0066] In some implementations of the embodiments of the present application, a target tag with the highest tag similarity may be determined based on the sorting result, and the target tag with the highest tag similarity may be used as the target image tag.

[0067] In some implementations of the present application, Figure 2 As shown, Figure 2 This is a schematic diagram of a communication object query scenario in one implementation of the present application. Figure 2 The initial description information entered by the user in the preset area is "Pavilion in the Lake". Through the information query method of the present application, the target communication objects "Watching the Snow" and "Pond" can be obtained, and then these two target communication objects can be displayed in the display area.

[0068] The embodiment of the present application obtains the description information of the information to be searched input by the user; generates the tag to be searched according to the description information; matches the tag to be searched in the image tag database to obtain the target image tag, and the image tag database is established based on the communication avatar in the user's target information library; and displays the target communication object corresponding to the target image tag. Since the communication object is searched through the avatar tag of the communication avatar, there is no need for the user nickname and communication number, which provides an additional way for users such as the elderly and children to query the target information library, improving the user's query efficiency for communication information.

[0069] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 3 , Figure is a flow chart of Example 2 of the information query method of this application.

[0070] like Figure 3 As shown, in the embodiment of the present application, an image tag database is established, including:

[0071] Step S100, obtaining a communication avatar of a communication partner in a user's target information database;

[0072] Step S200, performing content analysis on the image of the communication avatar to obtain image content elements;

[0073] Step S300, generating an image tag of a communication object according to the image content elements;

[0074] Step S400: establishing an image tag database based on image tags.

[0075] It should be noted that the user's target information library may include several communication objects, and these communication objects may be provided with communication avatars. The communication avatar may be an avatar selected by the user or an initial avatar provided by the communication application. The embodiment of the present application does not limit this.

[0076] It is understandable that when a user logs into a communication application for the first time, the communication application can obtain the communication avatar of the communication object in the user's target information library, and obtain the picture content elements in the communication avatar by analyzing the content of the communication avatar. Specifically, the picture content elements may include picture elements and picture content.

[0077] In some implementations of the embodiments of the present application, the picture element may be the type of the corresponding picture content in the picture. Exemplarily, the picture element may include style elements, specifically including picture content such as science fiction style, cartoon style, and realistic style; Exemplarily, the picture element may include character elements, specifically including picture content such as the elderly, children, and robots; Exemplarily, the picture element may include position elements, specifically including picture content such as surround and symmetry; Exemplarily, the picture element may include landscape elements, specifically including picture content such as trees, rivers, pavilions, and bridges.

[0078] It is understandable that, based on the image content elements included in the communication avatar, an image tag of the communication object can be generated for the communication avatar. The image tags of the communication objects generated by different communication avatars are stored in a database to obtain an image tag database.

[0079] It should be noted that, since the image tag of the communication object is generated based on the image content elements in the communication avatar, there is a certain data mapping relationship between the communication avatar and the communication object. In order to facilitate the rapid determination of the target communication object based on the communication avatar, in the embodiment of the present application, a data mapping can be established based on the communication object and the communication avatar, and the data mapping can be stored through a data mapping library. When the communication application determines the target image tag corresponding to the information to be searched that the user wants to query, it can be searched in the data mapping library based on the target image tag, and then the target data mapping relationship can be determined. Based on the target data mapping relationship, the target communication object that the user wants to query can be determined, thereby realizing the visual display of the target communication object. That is, the step of displaying the communication information of the target communication object corresponding to the target image tag includes: determining the target data mapping relationship in the data mapping library according to the target image tag; the data mapping library is established based on the communication information of the communication object in the user's target information library and the communication avatar of the communication object; obtaining the user's target communication object based on the target data mapping relationship; and displaying the communication information of the target communication object.

[0080] In the embodiments of the present application, the image content analysis method used may be a support vector machine, a k-nearest neighbor algorithm, etc., or a neural network model may be used for analysis, which is not limited in the embodiments of the present application.

[0081] The embodiment of the present application obtains the communication avatar of the communication object in the user's target information database; performs content analysis on the picture screen of the communication avatar to obtain picture content elements; generates image tags of the communication object based on the picture content elements; and establishes an image tag database based on the image tags of the communication object. Since the picture content elements are obtained by analyzing the picture screen of the communication avatar, and then the image tags of the communication object are generated based on the picture content elements, the user can search for the communication object by entering the description information of the avatar, thereby improving the query efficiency of the communication object in special scenarios.

[0082] Based on the first embodiment and / or the second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those of the first embodiment and / or the second embodiment can be referred to the above introduction, and will not be described in detail later. Figure 4 , Figure 4 A flowchart of Example 3 of the information query method of this application is provided.

[0083] like Figure 4 As shown, in the embodiment of the present application, the step of performing content analysis on the picture screen of the communication avatar to obtain picture content elements includes:

[0084] Step S210, extracting features from the image of the communication avatar according to a preset feature extraction model to obtain an avatar feature vector.

[0085] It should be noted that, in order to perform content analysis on the image screen of the communication avatar, in the embodiment of the present application, the feature extraction of the image screen of the communication avatar can be performed through a preset feature extraction model, and then the avatar feature vector can be obtained. Specifically, the image content in the communication avatar can be regionally identified to obtain image regions corresponding to different image contents; by segmenting these image regions, some sub-images can be obtained.

[0086] It is understandable that by inputting these sub-pictures into the preset feature extraction model respectively, the avatar feature vectors corresponding to different picture areas in the communication avatar can be obtained. The above-mentioned preset feature extraction model can be a pre-trained convolutional neural network model or other models, which is not limited in the embodiment of the present application.

[0087] It should be understood that the extracted avatar feature vector may also be normalized to improve the accuracy and stability of subsequent similarity calculation.

[0088] Step S220, filtering a target image in a graph database based on the avatar feature vector;

[0089] Step S230, obtaining the picture content elements included in the communication avatar according to the target picture.

[0090] It should be noted that in order to implement labeling of the avatar feature vector extracted based on the communication avatar, a graph database is set up in the embodiment of the present application. The graph database may include a number of standard images and labels corresponding to the standard images. By determining the target image corresponding to the avatar feature vector in the graph database, the image elements and image content included in the communication avatar can be determined, and the label corresponding to the target image is used as the image label of the communication object of the communication avatar.

[0091] Specifically, in order to achieve the screening of target images from the graph database, in an embodiment of the present application, the step of screening the target images in the graph database based on the avatar feature vector includes: performing nearest neighbor search in the feature vector library based on the avatar feature vector to obtain a preset number of target feature vectors that are most similar to the avatar feature vector; obtaining the initial element image corresponding to the target feature vector; weighting the initial element images according to the similarity between the target feature vector and the avatar feature vector to obtain a weighted sorting table; performing feature verification on the initial element images in the weighted sorting table in order from high to low weights, and using the verified initial element images as the target images corresponding to the avatar feature vector.

[0092] It can be understood that the nearest neighbor search is a method for finding the image that is most similar to the input avatar feature vector in the graph database. In the embodiment of the present application, the avatar feature vector can be mapped to an avatar hash value through a hash function, and the hash value distance between the avatar hash value and the image hash value is obtained by comparing the avatar hash value with the hash value of the image feature vector corresponding to each standard image in the graph database, and a standard image with a hash value distance less than a preset distance is found therefrom, the standard image is also the initial element image, and the image feature vector corresponding to the standard image is also the target feature vector.

[0093] In some implementations of the embodiments of the present application, when performing the nearest neighbor search, the number of initial element images obtained may include multiple ones. At this time, the initial element images can be weighted and sorted according to the similarity between the target feature vector and the avatar feature vector (that is, the hash value distance). Specifically, the smaller the hash value distance between the target feature vector and the avatar feature vector, the greater the similarity can be considered, and the higher the corresponding weight. By sorting the target feature vectors based on the similarity, a weighted sorting table can be obtained.

[0094] In some implementations of the embodiments of the present application, when the number of target feature vectors is large, a preset number of target feature vectors that are most similar to the avatar feature vector can be selected from the weight sorting table. Furthermore, feature verification can be performed on each initial element image in the weight sorting table in descending order of weight. When the feature verification passes, the initial element image that passes the feature verification can be used as the target image corresponding to the avatar feature vector, and the image content element and label corresponding to the target image can be used as the image content element and label included in the communication avatar.

[0095] In some implementations of the embodiments of the present application, the method for feature verification may be image semantic verification or other verification methods, which is not limited by the embodiments of the present application.

[0096] The embodiment of the present application extracts features from the image screen of the communication avatar according to a preset feature extraction model to obtain an avatar feature vector; based on the avatar feature vector, a target image is obtained by screening in a graph database; and the image content elements included in the communication avatar are obtained according to the target image. Since each area in the image screen of the communication avatar is matched through the graph database to determine the image element content included in the communication avatar and the image label of the communication object, the accuracy of the communication object query is improved.

[0097] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the information query method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0098] This application also provides an information query device, please refer to Figure 5 , Figure 5 This is a schematic diagram of the module structure of the information query device according to an embodiment of the present application. The information query device includes:

[0099] The information acquisition module 10 is used to acquire the description information of the information to be searched input by the user;

[0100] The tag generation module 20 is used to generate tags to be searched according to the description information;

[0101] The tag matching module 30 is used to match the tag to be searched in the image tag database to obtain the target image tag, and the image tag database is established based on the image tag of the communication object in the user's target information database;

[0102] The result display module 40 is used to display the communication information of the target communication object corresponding to the target image tag.

[0103] The information query device provided by the present application adopts the information query method in the above embodiment, which can solve the technical problem of low query efficiency of the existing contact query method. Compared with the prior art, the beneficial effects of the information query device provided by the present application are the same as the beneficial effects of the information query method provided by the above embodiment, and other technical features in the information query device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0104] The present application provides an information query device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the information query method in the above-mentioned embodiment one.

[0105] Reference below Figure 6 , which shows a schematic diagram of the structure of an information query device suitable for implementing an embodiment of the present application. The information query device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The information query device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0106] like Figure 6As shown, the information query device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the information query device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the information query device to communicate with other devices wirelessly or wired to exchange data. Although the figure shows an information query device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0107] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0108] The information query device provided by the present application adopts the information query method in the above embodiment, which can solve the technical problem of low query efficiency of the existing contact query method. Compared with the prior art, the beneficial effects of the information query device provided by the present application are the same as the beneficial effects of the information query method provided by the above embodiment, and the other technical features in the information query device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0109] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0110] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0111] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the information query method in the above-mentioned embodiment.

[0112] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0113] The computer-readable storage medium may be included in the information query device; or may exist independently without being assembled into the information query device.

[0114] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the information query device, the information query device:

[0115] Obtaining description information of the information to be searched input by the user;

[0116] Generate tags to be searched based on the description information;

[0117] According to the tag to be searched, a target image tag is obtained by matching in the image tag database, and the image tag database is established based on the communication avatar in the user's target information database;

[0118] Display the target communication object corresponding to the target image label.

[0119] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0120] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0121] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0122] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned information query method, and can solve the technical problem of low query efficiency of the existing contact query method. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the information query method provided by the above-mentioned embodiment, and will not be repeated here.

[0123] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned information query method when executed by a processor.

[0124] The computer program product provided by the present application can solve the technical problem of low query efficiency of the existing contact query method. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the information query method provided by the above embodiment, which will not be repeated here.

[0125] The above are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.

Claims

1. An information query method, characterized in that: The method comprises: Obtaining description information of the information to be searched input by the user; Generate a tag to be searched according to the description information; According to the tag to be searched, matching is performed in an image tag database to obtain a target image tag, wherein the image tag database is established based on the image tag of the communication object in the target information database of the user; The communication information of the target communication object corresponding to the target image tag is displayed.

2. The information query method according to claim 1, characterized in that: Before the step of matching the tag to be searched in the image tag database to obtain the target image tag, the method further includes: Obtain the communication avatar of the communication object in the user's target information database; Performing content analysis on the picture of the communication avatar to obtain picture content elements; generating an image tag of the communication object according to the image content element; An image tag database is established based on the image tags.

3. The information query method according to claim 2, characterized in that: The step of displaying the communication information of the target communication object corresponding to the target image tag includes: Determining a target data mapping relationship in a data mapping library according to the target image tag; the data mapping library is established based on the communication information and the communication avatar of the communication object in the target information library of the user; Obtaining the user's target communication object based on the target data mapping relationship; The communication information of the target communication object is displayed.

4. The information query method according to claim 1, characterized in that: The method further comprises: When the target image tag cannot be matched according to the tag to be searched, a matching failure prompt is given to the user to obtain secondary search description information input by the user based on the matching failure prompt; The secondary search description information is returned as the description information of the information to be searched to the step of generating the tag to be searched according to the description information.

5. The information query method according to claim 2, characterized in that: The step of performing content analysis on the image of the communication avatar to obtain image content elements includes: Extract features from the picture of the communication avatar according to a preset feature extraction model to obtain an avatar feature vector; Filtering a target image in a graph database based on the avatar feature vector; The picture content elements included in the communication avatar are obtained according to the target picture.

6. The information query method according to claim 5, characterized in that: The step of selecting a target image in a graph database based on the avatar feature vector comprises: Performing a nearest neighbor search in a feature vector library based on the avatar feature vector to obtain a preset number of target feature vectors that are most similar to the avatar feature vector; Obtaining an initial element image corresponding to the target feature vector; According to the similarity between the target feature vector and the avatar feature vector, the initial element images are weighted and sorted to obtain a weighted sorting table; The initial element images in the weight sorting table are subjected to feature verification in descending order of weight, and the initial element images that pass the verification are used as the target images corresponding to the avatar feature vectors.

7. The information query method according to claim 1, characterized in that: The step of generating a tag to be searched according to the description information comprises: Obtaining a description search sentence in the description information; Performing word segmentation processing on the description search sentence to obtain search word segmentation; Semantic analysis is performed based on the search word segmentation to obtain a tag to be searched.

8. The information query method according to claim 1, characterized in that: The step of matching the tag to be searched in the image tag database to obtain the target image tag comprises: Matching the target tag of the tag to be searched in the image tag database by a text matching algorithm; Calculate similarity between the target tags and the tags to be searched to obtain tag similarity; A target image label is determined from the target labels according to the label similarity.

9. An information query device, characterized in that: The information query device comprises: An information acquisition module is used to acquire the description information of the information to be searched input by the user; A tag generation module, used to generate tags to be searched according to the description information; A tag matching module, used to match the tag to be searched in an image tag database to obtain a target image tag, wherein the image tag database is established based on the image tag of the communication object in the target information database of the user; The result display module is used to display the communication information of the target communication object corresponding to the target image tag.

10. An information query device, characterized in that: The device comprises: a memory, a processor, and an information query program stored in the memory and executable on the processor, wherein the information query program is configured to implement the steps of the information query method according to any one of claims 1 to 8.