Information search method, device, terminal and storage medium

By providing multiple search types and feature options in social software, and generating and selecting feature information, the method solves the search difficulties when users cannot provide key content, realizes fuzzy search, and improves search efficiency and convenience.

CN111240558BActive Publication Date: 2024-11-29TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202010065962.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-01-20
Publication Date
2024-11-29
Estimated Expiration
2040-01-20

AI Technical Summary

Technical Problem

Current social media apps require users to remember key information about the target message for information to search, making it difficult to search when key information is unavailable, resulting in low search efficiency.

Method used

This paper provides an information search method that displays multiple search types and features by receiving a trigger operation, allows users to select target search types and features, generates and selects feature information, realizes fuzzy search, and reduces reliance on key content.

Benefits of technology

Users can search for information without having to enter the key information of their target, which improves search efficiency and convenience and reduces the burden on memory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111240558B_ABST
    Figure CN111240558B_ABST
Patent Text Reader

Abstract

The present application provides an information search method, device, terminal and storage medium, which receive a trigger operation on a search box to display a first information search page, wherein the first information search page displays a plurality of pre-set search types; receive a selection operation on a target search type among the plurality of search types to display a second information search page; respond to a trigger operation on a target feature item among at least one feature item displayed on the second information search page to generate each feature information of the target feature item; receive a selection operation on the feature information of the target feature item to determine the selected feature information as the target feature information of the target feature item; and query social information for information matching the target feature information of the target feature item to generate a request result. The present application can realize fuzzy search of information without requiring the user to provide the key content of the target information, which reduces the dependence of the information search process on the key content of the target information and provides convenience for users to search for information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information search technology, and more specifically, to an information search method, device, terminal and storage medium. Background Art

[0002] Social software is increasingly used due to its convenient and fast communication methods. People can use social software installed on electronic devices to carry out instant communication or share information through friends. The current method of searching for target information in the information generated by social software requires users to remember the key content of the target information, such as keywords in the target information. When the user cannot provide the key content of the target information, the search will not be able to proceed. Summary of the invention

[0003] In view of this, the present invention proposes an information search method, device, terminal and storage medium to reduce the dependence of information search on the key content of target information.

[0004] In order to achieve the above objectives, the proposed solution is as follows:

[0005] An information search method, comprising:

[0006] Receiving a trigger operation on the search box to display a first information search page, wherein the first information search page displays a plurality of pre-set search types, wherein the plurality of search types include a search type related to the information type in the first service and a search type related to the second service;

[0007] receiving a selection operation of a target search type from among the multiple search types and displaying a second information search page, wherein the second information search page displays at least one feature item matching the target search type;

[0008] generating each feature information of the target feature item in response to a triggering operation on a target feature item among the at least one feature item;

[0009] receiving a selection operation of feature information of the target feature item and determining the selected feature information as target feature information of the target feature item;

[0010] The social information is searched for information matching the target feature information of the target feature item to generate a request result.

[0011] An information search method, comprising:

[0012] Receiving a trigger operation on the search box to display a first information search page, wherein the first information search page displays a plurality of pre-set search types, wherein the plurality of search types include a search type related to the information type in the first service and a search type related to the second service;

[0013] receiving a selection operation of a search type in the first information search page and jumping to a second information search page matching the selected target search type, wherein the second information search page displays at least one feature item matching the target search type;

[0014] In response to a triggering operation on a feature item in the second information search page, displaying each feature information of the target feature item in a target display area related to the triggered target feature item in the second information search page;

[0015] receiving a selection operation of feature information of the target feature item and displaying the selected target feature information in the second information search page, wherein displaying the selected target feature information in the second information search page includes any one or more of displaying the selected target feature information in the target display area and displaying the selected target feature information in a search box on the second information search page;

[0016] The request result is searched in social information based on the target feature information of each target feature item displayed in the second information search page.

[0017] An information search device, comprising:

[0018] A first information search page display unit, configured to receive a trigger operation on a search box to display a first information search page, wherein the first information search page displays a plurality of pre-set search types, wherein the plurality of search types include search types related to information types in the first service and search types related to the second service;

[0019] A second information search page display unit, configured to receive a selection operation of a target search type from among the multiple search types and display a second information search page, wherein the second information search page displays at least one feature item matching the target search type;

[0020] a characteristic information generating unit, configured to generate each characteristic information of the target characteristic item in response to a triggering operation on a target characteristic item among the at least one characteristic item;

[0021] A target feature information generating unit, configured to receive a selection operation on feature information of the target feature item and determine the selected feature information as target feature information of the target feature item;

[0022] The first information search unit is used to search the social information for information matching the target feature information of the target feature item and generate a request result.

[0023] A terminal comprises: a processor and a memory, wherein the processor and the memory are connected via a communication bus; wherein the processor is used to call and execute a program stored in the memory; and the memory is used to store a program, wherein the program is used to implement the information search method.

[0024] A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to execute the information search method.

[0025] The present application provides an information search method, device, terminal and storage medium that can realize information search based on the target search type to which the target information belongs and the target feature information of each target feature item in at least one feature item that matches the target search type. The user does not need to provide the key content of the target information to realize fuzzy search of information, which reduces the dependence of the information search process on the key content of the target information and provides convenience for users to search for information. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0027] Figure 1 (a) to (c) are schematic diagrams of prior art global search provided by embodiments of the present application;

[0028] Figure 2 (a) to (c) are schematic diagrams of local search in the prior art provided in the embodiments of the present application;

[0029] Figure 3 A flow chart of an information search method provided in an embodiment of the present application;

[0030] Figures 4(a)-(b), 4(c)-(d), 4(e)-(f), 4(g)-(h) and 4(i)-(j) are schematic diagrams of an information search method provided in an embodiment of the present application;

[0031] Figure 5 A flow chart of a method for generating various feature information of a target feature item according to social information provided in an embodiment of the present application;

[0032] Figure 6 A flowchart of another method for generating various feature information of a target feature item according to social information provided in an embodiment of the present application;

[0033] Figure 7 A flow chart of another information search method provided in an embodiment of the present application;

[0034] Figure 8 A flow chart of another information search method provided in an embodiment of the present application;

[0035] Fig. 9 A schematic diagram of the structure of an information search device provided in an embodiment of the present application;

[0036] Fig.10 A hardware structure block diagram of a terminal to which an information search method provided in an embodiment of the present application is applicable. DETAILED DESCRIPTION

[0037] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0038] Example:

[0039] Users can use social software installed on electronic devices to carry out instant messaging or share information through Moments. Information generated in social software can be considered as any information generated by users in social software, including Moments information and instant messaging information, and instant messaging information can be considered as chat information.

[0040] Currently, there are two ways to search for target information in the information generated by social software, one is global search and the other is local search. However, both global search and local search require users to remember the key content of the target information. When the user cannot provide the key content of the target information, the search cannot be performed.

[0041] See also Figure 1 (a) to (c) in the figure are schematic diagrams of global search in the prior art. Figure 1 The search box in the page shown in (a) jumps to Figure 1 In (b), the user can select Figure 1 Select any one of the specified contents in (b) (for example, select any one of Moments, Articles, Public Accounts, Mini Programs, Music, and Emojis) and then enter a keyword / do not select Figure 1 In (b), directly enter keywords and click Search to enter the following information: Figure 1 The page shown in (c) in the figure, Figure 1The page shown in (c) in FIG. 1 shows various pieces of information containing keywords, so that users can easily select Figure 1 The target information required is obtained from each piece of information displayed in (c). It should be noted that Figure 1 (b) to (c) are schematic diagrams of a user directly inputting a keyword without selecting a specific content.

[0042] like Figure 1 From (a) to (c), we can see that the global search function currently provided by social software requires users to enter the key content of the target information for global search. Once the user is unable to enter the key content of the target information, the search cannot be performed.

[0043] See also Figure 2 (a) to (c) in the figure are schematic diagrams of local search in the prior art. The user needs to first determine the key content of the target information, for example, the chat where the target information is located, and then select the chat where the target information is located. Figure 2 (a) in the figure is the relevant interface of the chat where the target information determined by the user is located], and then a local search is performed in the selected chat. Specifically, when performing a local search in the selected chat, by selecting any item in the specified content (for example, selecting any item in group members, dates, pictures and videos, files, links, music, transactions, and mini-programs), all information in the selected chat including the selected item can be obtained. Figure 2 (c) The user clicks on Figure 2 After selecting the files in (b) in the chat, you can get all the files included in the selected chat.

[0044] This local search method displays all the information in the selected chat including the selected item to the user, and the user needs to find the target information from the displayed information. If a lot of information is displayed, the user needs to spend a long time to find the target information from the displayed information, which wastes time.

[0045] If the user needs to find the target information as quickly as possible, he still needs to enter the keywords of the target information to improve the accuracy of the search results. If the user forgets the keywords of the target information, he cannot search.

[0046] See also Figure 2 If the user wants to reduce the time it takes to find the target information from the displayed information, after selecting the "File" item in the specified content, further select the following options: Figure 2 Enter keywords in the search box shown in (b) to make Figure 2 The information displayed in (c) is the file including the keyword in the selected chat, and the process of inputting the keyword further requires the user to remember the keyword in the target information, otherwise further search cannot be performed.

[0047] Existing solutions require users to enter specific information, such as keywords or chat locations, before searching, which makes it impossible for some people who have forgotten these specific information to search.

[0048] The present application provides an information search method which does not require the user to input keyword information / location information of the target content, but allows the user to input any relevant information about the target content, and performs a fuzzy search based on the relevant information about the target content input by the user to find the requested result including the target content for the user.

[0049] The following is a detailed description of an information search method, device, terminal and storage medium provided in an embodiment of the present application.

[0050] "A good cook cannot cook without rice", any search is inseparable from the collection of information. The instant search method provided by this application is applied to social software, which includes a first service and a second service. The first service can be an instant messaging service, and the second service can be a circle of friends service. The information search method provided by this application can realize the collection of instant messaging information related to the instant messaging service and the collection of circle of friends information related to the circle of friends service.

[0051] In the embodiment of the present application, after the user downloads the social software on the terminal, the user can send / receive chat messages based on the instant messaging service of the social software, and each chat message can be regarded as an instant messaging message. The method for collecting chat messages provided in the embodiment of the present application can be: pre-setting a plurality of information types related to the instant messaging service, determining the information type to which the chat message belongs from the pre-set plurality of information types, and obtaining at least one tag feature matching the determined information type, for each tag feature in the at least one tag feature, obtaining the feature information of the chat message in the tag feature to generate a tag, and then using the generated tags as tags carried by the chat message, so as to realize the collection and storage of chat messages carrying tags.

[0052] As a preferred implementation of an embodiment of the present application, the characteristic information of the chat information in the tag feature can be determined, and the characteristic information can be regarded as the label of the chat information in the tag feature, and the label can be used as a label carried by the chat information.

[0053] In this embodiment of the present application, the pre-set multiple information types may include any one or more of pictures, videos, files, chat records, links, public accounts, mini-programs and music.

[0054] Taking the pre-set multiple information types including pictures, videos, files, chat records, links, public accounts, mini-programs and music as examples, when the chat message is related to the receipt / sending of pictures, the information type of the chat message is the "picture" information type; when the chat message is related to the receipt / sending of videos, the information type of the chat message is the "video" information type; when the chat message is related to the receipt / sending of files, the information type of the chat message is the "file" information type; when the chat message is related to the receipt / sending of links, the information type of the chat message is the "link" information type; when the chat message is related to the push of public accounts, the information type of the chat message is the "public account" information type; when the chat message is related to the push of mini-programs, the information type of the chat message is the "mini-program" information type; when the chat message is related to the push of music, the information type of the chat message is the "music" information type; when the chat message includes text, it can be considered that the information type of the chat message is the "chat record" information type.

[0055] In the embodiment of the present application, for each pre-set information type, at least one label feature matching the information type is pre-set; between any two information types, the label features matching the two information types may be different. For example, at least one tag feature that matches the "picture" information type includes the publisher, the chat location, and the publishing time; at least one tag feature that matches the "video" information type includes the publisher, the chat location, the publishing time, the video duration, and the video name; at least one tag feature that matches the "file" information type includes the publisher, the chat location, the publishing time, the file type, and the file name; at least one tag feature that matches the "chat record" information type includes the publisher, the chat location, and the publishing time; at least one tag feature that matches the "link" information type includes the publisher, the chat location, the publishing time, the link title, and the link subtitle; at least one tag feature that matches the "public account" information type includes the publisher, the chat location, the publishing time, and the public account name; at least one tag feature that matches the "mini program" information type includes the publisher, the chat location, the publishing time, and the mini program name; at least one tag feature that matches the "music" information type includes the publisher, the chat location, the publishing time, the music name, and the music duration.

[0056] The above is merely a preferred method of label features provided in the embodiments of the present application. The inventors can set the specific content of the label features that match the information type according to their own needs and are not limited here.

[0057] It should be noted that the publisher of the chat information is the user who sends the chat information, the chat room where the chat information is located is the chat room to which the chat information belongs, and the publishing time of the chat information is the sending time of the chat information.

[0058] In the embodiment of the present application, multiple feature information of the label feature of file type can be pre-set. If the chat message belongs to the "file" information type, the feature information of the chat message in the label feature of file type can be selected from the multiple feature information of the label feature of file type that is pre-set. For example, the multiple feature information of the label feature of file type that is pre-set are PDF, document, table, video, picture, MP3, ppt, compressed package and others. If the chat message belongs to the "file" information type, and the file type of the chat message is video, it can be considered that the feature information of the label feature of file type of the chat message is video.

[0059] In an embodiment of the present application, multiple feature information of the label feature of video duration can be pre-set. If the chat information belongs to the "video" information type, the feature information of the label feature of video duration can be selected from the multiple feature information of the label feature of video duration that is pre-set. For example, the multiple feature information of the label feature of video duration that is pre-set are within 1 minute, within 3 minutes, and greater than 3 minutes. If the chat information belongs to the "video" information type, and the playback duration of the video corresponding to the chat information is 2 minutes, then the feature information of the label feature of video duration for the chat information is within 3 minutes. Among them, if the playback duration of the video is not within 1 minute and not greater than 3 minutes, it can be considered that the feature information of the label feature of video duration for the video is within 3 minutes.

[0060] In the embodiment of the present application, multiple feature information of the label feature of music duration can be pre-set. If the chat message belongs to the "music" information type, the feature information of the label feature of music duration of the chat message can be selected from the multiple feature information of the label feature of music duration that is pre-set. For example, the multiple feature information of the label feature of music duration that is pre-set are within 1 minute, within 3 minutes and greater than 3 minutes. If the chat message belongs to the "music" information type, and the playing time of the music corresponding to the chat message is 5 minutes, then the feature information of the label feature of music duration of the chat message is greater than 3 minutes. Among them, if the playing time of the music is not within 1 minute and not greater than 3 minutes, it can be considered that the feature information of the label feature of music duration of the music is within 3 minutes.

[0061] Furthermore, no matter what information type the chat message belongs to, the information type to which the chat message belongs can be used as a label for the chat message. That is, it can be considered that the label feature of the information type is included in the label feature that is pre-set and matches the information type to which the chat message belongs. In other words, no matter what information type the chat message belongs to, the information type to which the chat message actually belongs can be regarded as the characteristic information of the label feature to generate a label for the chat message. For example, when the information type to which the chat message belongs is the "video" information type, the video can be regarded as a label carried by the chat message; when the information type to which the chat message belongs is the "file" information type, the file can be regarded as a label carried by the chat message; when the information type to which the chat message belongs is the "chat record" information type, the chat record can be regarded as a label carried by the chat message.

[0062] For example, a chat message indicates that a user "Zhang San" posted a file named "Latest Data Analysis.PDF" in a chat group named "Data Analysis Group" at "January 1, 2019, 12:30:12"; at this time, the information type to which the chat message belongs is the "file" information type, and at least one tag feature matching the "file" information type includes the publisher, the chat location, the posting time, the file type, and the file name. Then, the feature information of the chat message in the tag feature of the publisher is "Zhang San", the feature information of the chat message in the tag feature of the chat location is "Data Analysis Group", the feature information of the chat message in the tag feature of the posting time is "January 1, 2019, 12:30:12", the feature information of the chat message in the tag feature of the file type is "PDF", and the feature information of the chat message in the tag feature of the file name is "Latest Data Analysis"; further, the feature information of the chat message in the tag feature of the information type is "file". Therefore, this chat message carries the following tags: the tag "Zhang San" in the tag feature of the publisher, the tag "Data Analysis Group" in the tag feature of the chat, the tag "January 1, 2019 12:30:12" in the tag feature of the release time, the tag "PDF" in the tag feature of the file type, the tag "Latest Data Analysis" in the tag feature of the file name, and the tag "File" in the tag feature of the information type.

[0063] In the embodiment of the present application, after the user downloads the social software on the terminal, the user can share the circle of friends information based on the social software. The method of collecting the circle of friends information provided by the embodiment of the present application can be: pre-set at least one tag feature that matches the circle of friends service, and for each tag feature in the at least one tag feature, obtain the feature information of the circle of friends information in the tag feature to generate a tag, and then use the generated tags as the tags carried by the circle of friends information to realize the collection and storage of the circle of friends information carrying the tags. Among them, the feature information of the circle of friends information in the tag feature can be determined, and the feature information is regarded as the tag of the circle of friends information in this tag feature.

[0064] As a preferred implementation of the embodiment of the present application, at least one tag feature matching the Moments service includes publisher, publishing time, Moments information type and interactive information. Among them, the publisher of Moments information is the user who sends the Moments information; the publishing time of Moments information is the time when the Moments information is sent.

[0065] In the embodiment of the present application, multiple feature information of the tag feature "friend circle information type" can be pre-set, and then the feature information of the friend circle information in the tag feature "friend circle information type" can be selected from the multiple feature information of the pre-set tag feature "friend circle information type". For example, the multiple feature information of the tag feature "friend circle information type" are pre-set respectively as the type with picture, the type with video, the type with link and the pure text type. If the friend circle information contains a video, the feature information of the friend circle information in the tag feature "friend circle information type" is the type with video.

[0066] In the embodiment of the present application, multiple feature information of the interactive information tag feature can be pre-set, and then the feature information of the friend circle information in the interactive information tag feature can be selected from the multiple feature information of the interactive information tag feature pre-set. For example, the multiple feature information of the interactive information tag feature pre-set are "I like", "I comment" and "I reply", and if the first social account has liked a certain friend circle information sent by the second social account (for the sake of distinction, the friend circle information is temporarily regarded as the target friend circle information), then when the first social account stores the target friend circle information, it is considered that the feature information of the interactive information tag feature carried by the target friend circle information is "I like".

[0067] Furthermore, the service type may be pre-set as a label feature that matches the circle of friends information. Accordingly, the label of the circle of friends information also includes the label "circle of friends service" of the service type label feature of the circle of friends information.

[0068] Furthermore, multiple information types may be preset, and the information type to which the chat information belongs may be determined from the multiple information types preset. For each information type, the service type is used as a label feature preset to match the information type. Accordingly, the label of the chat information also includes the label "instant messaging service" of the chat information in the label feature of the service type.

[0069] It should be noted that chat messages and circle of friends information can be stored separately, chat messages with the same preset tag can be stored together, and chat messages with different preset tags can be stored separately. The preset tag is a tag with the tag feature of the information type. For example, all chat messages with the tag of picture can be stored separately, all chat messages with the tag of video can be stored separately, all chat messages with the tag of file can be stored separately, all chat messages with the tag of chat record can be stored separately, all chat messages with the tag of link can be stored separately, all chat messages with public account can be stored separately, all chat messages with the tag of mini program can be stored separately, and all chat messages with the tag of music can be stored separately. In this way, when searching for information, you can directly go to the corresponding location to search to improve search efficiency.

[0070] Furthermore, each chat message carries a unique chat message identifier. When storing chat messages carrying tags, the chat message identifiers carrying tags can be stored, and chat messages without tags can be stored separately. When storing chat messages without tags, the chat message identifiers of each chat message can be stored at the same time. Furthermore, when storing chat messages without tags, chat messages carrying the same target tag can also be stored together (this process can be understood as first determining chat messages carrying the same target tag, and then storing the determined chat messages together, but the stored chat messages are chat messages without tags), and chat messages carrying different target tags can be stored separately. In this way, when performing information search, the efficiency of information search can be further improved.

[0071] Now, based on the method of collecting instant messaging information and circle of friends information in an information search method provided in the above-mentioned embodiment of the present application, an information search method provided in an embodiment of the present application is further described in detail from the perspective of information search.

[0072] Figure 3 A flow chart of an information search method provided in an embodiment of the present application.

[0073] like Figure 3 , the method comprising:

[0074] S301, receiving a trigger operation on a search box to display a first information search page, where the first information search page displays a plurality of pre-set search types, the plurality of search types including a search type related to an information type in a first service and a search type related to a second service;

[0075] An information search method provided in an embodiment of the present application can pre-set multiple search types, wherein the circle of friends can be regarded as a search type and each of the multiple information types pre-set and related to the instant messaging service can be regarded as a search type. For example, taking the multiple information types related to the instant messaging service including pictures, videos, files, chat records, links, public accounts, mini-programs and music as an example, the pre-set multiple search types include: circle of friends search type (circle of friends search type is related to the circle of friends service), picture search type, video search type, file search type, chat record search type, link search type, public account search type, mini-program search type and music search type.

[0076] See also Figure 4(a)-(b) to Figure 4(i)-(j) , after the user clicks the search box as shown in (a) in Figure 4(a)-(b) , the search home page can be displayed [see (b) in Figure 4(a)-(b)], and a "Search" button is set in the search home page. The user clicks the "Search" button on the search home page to send an information search request. An information search method provided in an embodiment of the present application can display a first information search page after receiving an information search request [see (c) in Figure 4(c)-(d)]. Various pre-set search types are displayed in the first information search page, and the user can select any search type in the first information search page. After confirming the selection of a certain search type [for example, see (c) in Figure 4(c)-(d) that the file search type is selected], the selected search type is the target search type to which the target information requested to be searched belongs.

[0077] Among them, if the target search type is the circle of friends search type in (c) in Figure 4(c)-(d), it means that the target search type to which the target information belongs is related to the second service, that is, the target information is related to the circle of friends service.

[0078] The above embodiment mentioned that each of the multiple information types pre-set and related to the instant messaging service can be regarded as a search type. Therefore, if the target search type is a search type other than the friend circle search type in (c) of Figure 4 (c)-(d), it means that the target information is related to the instant messaging service, and the information type to which the target information belongs is the target search type. For example, if the target search type is the "file" information type, it means that the target information belongs to the "file" information type.

[0079] S302, receiving a selection operation of a target search type from among multiple search types and displaying a second information search page, wherein the second information search page displays at least one feature item matching the target search type;

[0080] In an embodiment of the present application, a user's selection operation of a target search type from among multiple search types can be received, the selected search type can be determined as the target search type, and a second information search page matching the target search type can be displayed, wherein at least one feature item matching the target search type is displayed in the second information search page. Referring to (d) in FIG. 4(c)-(d), after the user selects the "file" information type in (c) in FIG. 4(c)-(d), a second information search page matching the "file" information type is displayed, wherein at least one feature item matching the "file" information type is displayed in the second information search page.

[0081] S303, generating each feature information of the target feature item in response to a triggering operation on the target feature item among the at least one feature item;

[0082] In the embodiment of the present application, for each pre-set search type, at least one feature item matching the search type is pre-set.

[0083] As a preferred implementation of an embodiment of the present application, for each search type, one or more label features can be selected from at least one label feature pre-set to match the search type, and each selected label feature can be used as a feature item pre-set to match the search type.

[0084] Furthermore, the text keyword search may be used as a feature item that matches the search type. For example, for the chat record search type, the text keyword search may be used as a pre-set feature item that matches the chat record search type.

[0085] It should be noted that different search types may match different feature items. The inventors can set the specific content of the feature items matched by each search type according to their own needs and will not be limited here.

[0086] In the embodiment of the present application, after obtaining the target search type, at least one pre-set feature item matching the target search type can be obtained, and a second information search page matching the target search type is generated based on the at least one acquired feature item, and the second information search page displays the at least one acquired feature item. See (c) in Figure 4(c)-(d). After the user selects the file search type, the page can jump to (d) in Figure 4(c)-(d). (d) in Figure 4(c)-(d) displays at least one pre-set feature item matching the file search type.

[0087] S304, generating each feature information of the target feature item in response to a triggering operation on the target feature item among the at least one feature item;

[0088] S305, receiving a selection operation of feature information of a target feature item and determining the selected feature information as target feature information of the target feature item;

[0089] In an embodiment of the present application, a second information search page matching the target search type is displayed, and at least one feature item matching the target search type is displayed in the second information search page. A user can trigger a feature item in at least one feature item displayed in the second information search page, and determine the triggered feature item as a target feature item, and generate each feature information of the target feature item for the triggered target feature item, and then receive the user's selection operation on feature information in each feature information of the target feature item, and determine each selected feature information as a target feature information of the target feature item.

[0090] As a preferred implementation of an embodiment of the present application, a method for generating various feature information of a target feature item may be: obtaining various feature information corresponding to the target feature item that is preset, and using the obtained feature information as various feature information of the generated target feature item.

[0091] See (d) in Figure 4(c)-(d). If the user triggers the feature item of file type, the feature item of file type is determined as the target feature item of the file search type, and the various feature information of the target feature item is displayed below the target feature item. See (e) in Figure 4(e)-(f). The various feature information of the target feature item of file type are PDF, document, table, video, picture, mp3, ppt, compressed package and others. It should be noted that the various feature information of the target feature item of file type can be the various feature information corresponding to the file type that is pre-set and obtained.

[0092] The user can select each feature information of the target feature item of file type, and determine each selected feature information as a target feature information of the target feature item of file type. Referring to (e) in FIG. 4(e)-(f), there are two target feature information of the target feature item of file type, namely PDF and table.

[0093] As another preferred implementation of the embodiment of the present application, a method for generating various feature information of the target feature item can be: obtaining social information related to the social account requesting to search the target information, and generating various feature information of the target feature item based on the social information.

[0094] See (f) in Figure 4 (e)-(f). If the user selects the target feature information of the target feature item of the file type and then selects the feature item of the publisher as the target feature item, various feature information of the target feature item of the publisher can be displayed below the target feature item of the publisher. It should be noted that various feature information of the target feature item of the publisher can be generated based on social information related to the social account requesting the search target information.

[0095] The user can select each feature information of the publisher's target feature item, and determine the selected feature information as the target feature information of the publisher's target feature item, see (f) in Figure 4(e)-(f), the target feature information of the publisher's target feature item is the publisher "Sunshine".

[0096] See (g) in Figure 4 (g)-(h). If the user selects the target feature information of the publisher target feature item and then selects the chat feature item as the target feature item, the various feature information of the chat target feature item can be displayed below the chat target feature item. It should be noted that the various feature information of the chat target feature item can be generated based on the social information related to the social account requesting the search target information.

[0097] The user can select each feature information of the target feature item of the chat, and determine the selected feature information as the target feature information of the target feature item of the chat. Referring to (g) in FIG. 4 (g)-(h), the target feature information of the target feature item of the chat is the "laboratory" group chat.

[0098] Refer to (h) in Figure 4 (g)-(h). If the user selects the target feature information of the target feature item of the chat, and then selects the feature item of the release time as the target feature item, the various feature information of the target feature item of the release time can be displayed below the target feature item of the release time. It should be noted that the various feature information of the target feature item of the release time can be the various feature information corresponding to the release time that is obtained and preset.

[0099] The user can select each feature information of the target feature item of release time, and determine the selected feature information as the target feature information of the target feature item of release time. Referring to (h) in FIG. 4 (g)-(h), the target feature information of the target feature item of release time is "the last day".

[0100] S306: Query the social information for information matching the target feature information of the target feature item to generate a request result.

[0101] In an embodiment of the present application, after displaying at least one feature item matching the target search type, the triggered feature item among the at least one feature item is the target feature item, and for each target feature item, each feature information of the target feature item is generated, and the feature information selected from each feature information of the target feature item is the target feature information of the target feature item, and then the target feature information of each target feature item is used as a search condition to search in social information to obtain information matching the search condition, and a request result is generated based on the searched information matching the search condition.

[0102] It should be noted that a target feature item may include multiple target feature information. For example, as shown in (e) of Figure 4 (e)-(f), the target feature information of the target feature item of file type is two, namely PDF and table. In the embodiment of the present application, the relationship between the target feature information belonging to the same target feature item can be set to "or", and the relationship between the target feature information of different target feature items can be set to "and", thereby constructing the search condition according to the target feature information of each target feature item.

[0103] In an embodiment of the present application, an information search request sent by a user is received, information matching the search conditions is searched in social information related to the social account for which the target information is requested to be searched (i.e., the social account that sends the information search request), and the searched information is used as a request result of the search request.

[0104] An information search method provided by an embodiment of the present application can regard the "Search" button in (b) of Figure 4 (a)-(b) as a fuzzy memory search button to enter the first information search page [see (c) in Figure 4 (c)-(d)]; select the target search type to which the target information belongs. For example, if you want to search for a file, the target search type to which the target content belongs is the file search type [see (c) in Figure 4 (c)-(d)]; refer to (d) in Figure 4 (c)-(d) to enter any relevant information you remember about the target content. For example, if you want to search for a file, you can enter the file type of this file [see (e) in Figure 4 (e)-(f)]. )】, publisher [see (f) in Figure 4(e)-(f)], in which chat [see (g) in Figure 4(g)-(h)], approximate time of publishing [see (h) in Figure 4(g)-(h)] and other information; through the input information [see (i) in Figure 4(i)-(j)], matching results are obtained from the social information related to the social account that sent the search request [see (j) in Figure 4(i)-(j)], and the results are sorted according to the degree of match with the target feature information of the target attribute item. For example, information with a high degree of match with the target feature information of the target feature item is sorted first, and information with a low degree of match with the target feature information of the target feature item is sorted last.

[0105] In the process of information search, inputting the target feature information of the target content in the target feature item is a critical step. Take file search as an example. If a user wants to search for a file, he may remember the file type of the file, whether it is a document or a picture, or who published the file, in which chat the file was seen, and when the file was seen. Any information that the user remembers can be entered to help match the results.

[0106] Furthermore, in an information search method provided by an embodiment of the present application, if the user does not remember any information, a "target search" button can be set on (d) in FIG. 4 (c)-(d), and the "target search" button can be directly clicked, and the result will return all files for the user to browse and select. In addition, the feature items of the file search type are not limited to the file type, publisher, chat location and publishing time, but can also include title, size, contextual key information when publishing, etc., and the feature items of the file can be continuously expanded.

[0107] The above is an example of the information search process, in which the target feature information of the target feature item input by the user is different for target contents of different search types. The definition of the feature item matching the search type depends on the relevant information that the user can remember. For example, the user can remember what the file type of a file is, so the feature item of the file provides the option of the file type. For the specific setting of the feature items matching different search types, please refer to the description of the above embodiment, which will not be repeated here.

[0108] It should be noted that the content of the pre-set feature items matching the search type provided in the above embodiments is a preferred method provided in the embodiments of the present application. The inventor can adjust the specific content of the feature items matching the search type according to his own needs and is not limited here.

[0109] In order to facilitate the understanding of an information search method provided in an embodiment of the present application, a method for generating various feature information of a target feature item according to social information in an information search method provided in an embodiment of the present application is now described in detail.

[0110] Figure 5 A flow chart of a method for generating various feature information of a target feature item according to social information provided in an embodiment of the present application.

[0111] like Figure 5 As shown, the method includes:

[0112] S501, querying the correspondence between the search type and the tag, and determining the target tag corresponding to the target search type;

[0113] In the embodiment of the present application, a correspondence between search types and tags is pre-set. By querying the correspondence between search types and tags, the tag corresponding to the target search type can be obtained, and then the obtained tag is used as the target tag corresponding to the target search type.

[0114] It should be noted that if the search type is not a circle of friends search type, the information type used as the search type can be determined, and the determined information type is used as a pre-set label corresponding to the search type. For example, when the search type is a chat record search type, the information type used as the search type is the "chat record" information type, and the chat record label is used as a pre-set label corresponding to the chat record search type; when the search type is a file search type, the information type used as the search type is the "file" information type, and the file label is used as a pre-set label corresponding to the file search type.

[0115] If the search type is a circle of friends search type, the pre-set tags corresponding to the circle of friends search type can serve the circle of friends.

[0116] S502, determining each first information carrying a target tag from the social information;

[0117] In the embodiment of the present application, the social account requesting the search target information can be determined, and then the social information related to the social account can be obtained, and the social information includes the instant messaging information and circle of friends information related to the social account. From the social information, each piece of information carrying the target tag is determined, and each determined piece of information is referred to as a first piece of information.

[0118] For example, when the target tag is a file, each piece of information carrying the tag "file" may be determined from the social information, and each determined piece of information is referred to as a first information.

[0119] For example, when the target tag is a circle of friends service, each piece of information carrying the tag of the circle of friends service can be determined from the social information, and each determined piece of information is called a first information.

[0120] It should be noted that when the friend circle information and instant messaging information are stored separately, the chat information with the same preset tag is stored together, and the chat information with different preset tags is stored separately, it is only necessary to go to the corresponding storage location to determine each first information corresponding to the target search type, so that the search efficiency can be improved. For example, when the target search type is a file search type, all the first information corresponding to the target search type can be obtained by going to the target storage location, where the target storage location is the location where all chat information with the tag "file" is stored separately.

[0121] S503, determining a preset first number of second information most recently generated in each first information;

[0122] In the embodiment of the present application, a first quantity is preset, and the most recently generated preset first quantity of first information can be obtained from each piece of first information determined in step S502, and each piece of first information obtained is referred to as a second information.

[0123] The first number may be 8, 10, 15, etc. The inventor may set the specific value of the first number according to his / her own needs, and no limitation is made here. For example, when the first data is 8, if the number of first information determined in step S502 is 15, then the 8 most recently generated first information are determined from the 15 first information, and each of the 8 determined first information is called a second information.

[0124] S504: Determine the labels of the target feature items carried by each piece of second information as each piece of feature information of the target feature item.

[0125] In the embodiment of the present application, the target feature item may be a label feature. After determining each piece of second information, for each piece of second information, the label of the second information in the target feature item may be obtained, and the obtained label may be used as a feature information of the target feature item. Thus, the obtained label of each piece of second information in the target feature item may be used as each feature information of the target feature item.

[0126] Figure 6 A flowchart of another method for generating various feature information of a target feature item according to social information provided in an embodiment of the present application.

[0127] like Figure 6 As shown, the method includes:

[0128] S601, querying the correspondence between the search type and the tag, and determining the target tag corresponding to the target search type;

[0129] S602: Determine each first information carrying a target tag from the social information;

[0130] S603, determining a preset first number of second information most recently generated in each first information;

[0131] S604: Determine the label of the target feature item carried by each piece of second information as each piece of feature information of the target feature item;

[0132] The execution process of steps S601-S604 provided in the embodiment of the present application is the same as the execution process of steps S501-S504 provided in the above embodiment. For the specific execution method of steps S601-S604, please refer to the detailed description of steps S501-S504 in the above embodiment, which will not be repeated here.

[0133] S605: receiving a keyword input operation performed on a search box corresponding to a target feature item, and determining the keyword input by the keyword input operation as a target keyword related to the target feature item;

[0134] Furthermore, if the user sending the search request determines that the feature information required by the user does not exist in the various feature information of the target feature item generated in the above step S604, that is, the various feature information of the target feature item generated in the above step S604 does not meet the search requirements, the user can further perform a keyword input operation in the search box corresponding to the target feature item [see (f) in Figure 4(e)-(f) to (g) in Figure 4(g)-(h)]. An information search method provided in an embodiment of the present application can receive the keyword input operation, obtain the keyword entered in the search box by the keyword input operation, and determine the keyword as a target keyword related to the target feature item.

[0135] S606: Generate various feature information of the target feature item according to the target keyword related to the target feature item.

[0136] In an embodiment of the present application, after inputting a target keyword related to a target feature item, third information can be filtered out from each piece of first information, the third information being the first information including the target keyword in the label of the target feature item; and then, each piece of filtered out third information can be used as each feature information of the target feature item in the label of the target feature item.

[0137] It should be noted that after executing step S604, the user can perform a first selection operation on each feature information of the target feature item determined in step S604, and each selected feature information is used as a target feature information of the target feature item. Further, after executing step S606, the user can also perform a second selection operation on each feature information of the target feature item generated in step S606, and each selected feature information is used as a target feature information of the target feature item. Then, each feature information selected by the first selection operation and each feature information selected by the second selection operation are used as each target feature information of the target feature item. For example, if each feature information of the target feature item selected by the first selection operation is feature information 1 and feature information 2, respectively, and each feature information of the target feature item selected by the second selection operation is feature information 3 and feature information 4, respectively, then feature information 1 can be finally determined as a target feature information of the target feature item, feature information 2 can be determined as a target feature information of the target feature item, feature information 3 can be determined as a target feature information of the target feature item, and feature information 4 can be determined as a target feature information of the target feature item.

[0138] For a target feature item, the target feature information of the target feature item can be one or more, see (d) in Figure 4(c)-(d) to (f) in Figure 4(e)-(f), which will not be repeated here.

[0139] When the target feature item is not a text keyword search, the following example can be used based on the above embodiment: Figure 5 The method shown in the figure directly generates each feature information of the target feature item according to the social information, and can also be based on the example provided in the above embodiment. Figure 6 The method shown generates each feature information of the target feature item according to the social information and generates each feature information of the target feature item according to the target keyword of the target attribute item input by the user. Thus, it is convenient for the user to select the target feature information of the target feature item from the each feature information of the target feature item.

[0140] Furthermore, it should be noted that when the target feature item is a text keyword search, the keyword entered by the user can be directly used as the target feature information of the target feature item. For example, when the target feature item is a text keyword search, a search box can be displayed below the target feature item, and the user directly enters the keyword in the search box, and the keyword is used as the target feature information of the target feature item.

[0141] The method for generating various feature information of target feature items based on the second information / third information provided in the embodiment of the present application can make the generated feature information of the target feature items more inclined to feature information that the user may select, thereby providing convenience for the user.

[0142] Social software consists of a client and a server that provides technical support for the client. Considering the huge amount of friend circle information, the friend circle information in the social information can be saved on the server, and the friend circle information is not saved on the client. Correspondingly, when the search type is the friend circle search type, the information search can be directly performed on the server.

[0143] Taking into account the characteristics of chat information, such as real-time, etc., the present application provides a two-level search architecture to realize information search for chat information. Specifically, the same social account may be logged in on clients located on different terminals to realize instant messaging services and circle of friends services. For a social account, the client of the social software can save the chat information related to the social account of the client in the first recent historical time period locally on the client, and the server of the social software can save the chat information of the social account in the second recent historical time period locally on the server. Among them, the chat information of the social account in the second recent historical time period may include the chat information related to the social account in the second recent historical time period by the clients on each terminal that has logged in to the social account in the second recent historical time period.

[0144] Considering that the chat information saved locally by social software on the client is a key data source recently generated by the user, the information search method provided in the embodiment of the present application can be implemented by using a secondary search architecture when searching for chat information. The information search method provided in the embodiment of the present application, when searching for chat information, defaults to performing a local search on the client. Only when the search has no results or the request results do not meet the standards, will a secondary search be actively performed on the server, otherwise the user needs to manually trigger the secondary search. The secondary search architecture can greatly improve the search efficiency because most of the local primary search on the client can return the user's expected request results, while reducing the storage and concurrency performance pressure of the server caused by fuzzy search.

[0145] In order to facilitate the description of a secondary search architecture provided in the embodiment of the present application, the embodiment of the present application provides another information search method flow chart. Figure 7 As shown, the method includes:

[0146] S701, receiving a trigger operation on a search box to display a first information search page, where the first information search page displays a plurality of pre-set search types, the plurality of search types including a search type related to an information type in a first service and a search type related to a second service;

[0147] S702: receiving a selection operation of a target search type from among multiple search types and displaying a second information search page, wherein the second information search page displays at least one feature item matching the target search type;

[0148] S703: receiving a triggering operation on a feature item in at least one feature item and determining the triggered feature item as a target feature item;

[0149] S704: If the target search type is related to the information type in the first service, obtain first social information related to the social account requesting the search target information;

[0150] In this embodiment of the present application, the first social information may be chat information related to a social account of the client within a first recent historical time period and stored in the client requesting to search for the target information.

[0151] S705, generating each feature information of the target feature item according to the first social information;

[0152] S706, receiving a selection operation of feature information of a target feature item and determining the selected feature information as target feature information of the target feature item;

[0153] S707, searching the first social information for information matching the target feature information of the target feature item to generate a request result;

[0154] As a preferred implementation of the embodiment of the present application, information matching the target feature information of the target feature item can be queried from the first social information, and each queried piece of information is used as the generated request result.

[0155] In an embodiment of the present application, the request result may include multiple pieces of information. For each piece of information in the request result, the degree of match between the piece of information and the target feature information of the target feature item generated in step S706 is calculated as the matching degree of the piece of information. If the matching degree of the piece of information exceeds the preset target matching degree, the piece of information is taken as a piece of information obtained from the request result; the total number of pieces of information obtained from the request result is calculated, and it is determined whether the total number exceeds a preset second number. If the total number exceeds the second number, it is determined that the request result meets the result generation condition; if the total number does not exceed the second number, it is determined that the request result does not meet the result generation condition.

[0156] Furthermore, an information search method provided by an embodiment of the present application can return the request result to the user who sent the information search request if the request result meets the result generation condition. It should be noted that the information in the request result returned to the user can be sorted in descending order according to the degree of matching. This makes it easier for the user to find the target information he needs in the request result more quickly.

[0157] Taking chat records as an example, the present application can use a vector space model to evaluate the matching degree. The vector space model is simple and intuitive compared to other models. The main principle is that after converting the document or content into a feature vector, the matching degree can be measured by calculating the similarity between the feature vectors. The above is only the preferred method for matching degree calculation provided by the embodiment of the present application. The inventor can set the specific method of matching degree calculation according to his own needs, and it is not limited here.

[0158] S708, checking whether the request result meets the preset result generation condition; if the request result does not meet the result generation condition, executing step S709;

[0159] In the embodiment of the present application, if the request result does not meet the result generation condition, the request result may not be returned to the user first, but step S709 is executed, and after the target request result is generated, the target request result is returned to the user.

[0160] S709: Search the second social information for information matching the target feature information of the target feature item to generate a target request result.

[0161] In the embodiment of the present application, the second social information may be chat information of the social account within a second recent historical time period stored in the server of the client, where the second recent historical time period is longer than the first recent historical time period.

[0162] The first recent historical time period may be within the last three months, and the second recent historical time period may be within the last year. The above are only preferred contents of the first recent historical time period and the second recent historical time period provided in the embodiment of the present application. The inventor may set the specific contents of the first recent historical time period and the second recent historical time period according to his own needs, and no limitation is made here.

[0163] As a preferred implementation method of the embodiment of the present application, information matching the target feature information of the target feature item can be queried in the second social information, and the union of each piece of information matching the target feature information of the target feature item queried from the second social information and the request result generated in step S706 is used as the target request result.

[0164] It should be noted that each information in the target request result returned to the user can be sorted in descending order of matching degree, so that the user can find the target information he needs in the target request result more quickly.

[0165] In order to facilitate the description of the friend circle search provided in the embodiment of the present application, the embodiment of the present application provides another information search method flow chart. Figure 8 As shown, the method includes:

[0166] S801, receiving a trigger operation on a search box to display a first information search page, where the first information search page displays a plurality of pre-set search types, the plurality of search types including a search type related to an information type in a first service and a search type related to a second service;

[0167] S802: receiving a selection operation of a target search type from among multiple search types and displaying a second information search page, wherein the second information search page displays at least one feature item matching the target search type;

[0168] S803: receiving a triggering operation on a feature item in at least one feature item and determining the triggered feature item as a target feature item;

[0169] S804: If the target search type is related to the second service, obtain second social information related to the social account requesting the search target information;

[0170] In this embodiment of the present application, the second social information is the circle of friends information of the social account within the second most recent historical time period stored in the server of the client requesting to search the target information.

[0171] S805, generating each piece of characteristic information of each target characteristic item according to the second social information;

[0172] S806, receiving a selection operation of feature information of a target feature item and determining the selected feature information as target feature information of the target feature item;

[0173] S807: Query the social information for information matching the target feature information of the target feature item to generate a request result.

[0174] In the embodiment of the present application, after the request result is generated, the request result can be returned to the user who sent the information search request. It should be noted that the information in the request result returned to the user can be sorted in descending order according to the degree of matching. This makes it easier for the user to find the target information he needs in the request result more quickly.

[0175] An information search method provided by an embodiment of the present application allows a user to start a fuzzy search in a social software, and all search types are displayed to the user. After the user selects a target search type to which the target information belongs from all search types, at least one feature item matching the target search type is determined, and then the target feature information of the selected target feature item is determined from the at least one feature item. If the target search type is related to the information type, a primary search (client local search) is performed first. If the request result of the primary search does not meet the result generation condition, a secondary search (server search) is performed to generate the target search result. The secondary search is mainly retrieved through the server, and the server returns the search result to the client, so that the client uses the union of the request result and the search result returned by the server as the target request result.

[0176] Furthermore, if the request result of the primary search meets the result generation conditions, when the request result is returned to the user, a load more button will be displayed at the end of the page used to display the request result. If the user does not find the target information in the request result, he can click this load more button to manually trigger the secondary search.

[0177] Based on the above commonalities, the structure of an information search device provided in an embodiment of the present application is now described in detail.

[0178] Fig. 9 A schematic diagram of the structure of an information search device provided in an embodiment of the present application.

[0179] like Fig. 9 As shown, the device comprises:

[0180] A first information search page display unit 91, configured to receive a trigger operation on a search box to display a first information search page, wherein the first information search page displays a plurality of pre-set search types, the plurality of search types including a search type related to the information type in the first service and a search type related to the second service;

[0181] A second information search page display unit 92, configured to receive a selection operation of a target search type from among the multiple search types and display a second information search page, wherein the second information search page displays at least one feature item matching the target search type;

[0182] A feature information generating unit 93, configured to generate each feature information of a target feature item in response to a triggering operation on a target feature item among at least one feature item;

[0183] A target feature information generating unit 94 is configured to receive a selection operation of feature information of a target feature item and determine the selected feature information as target feature information of the target feature item;

[0184] The first information search unit 95 is used to search the social information for information matching the target feature information of the target feature item and generate a request result.

[0185] In the embodiment of the present application, preferably, the feature information generating unit includes:

[0186] a target feature item determining unit, configured to receive a triggering operation on a feature item in at least one feature item and determine the triggered feature item as a target feature item;

[0187] A social information acquisition unit, used to acquire social information related to the social account requesting the search target information;

[0188] The feature information generating subunit is used to generate each feature information of each target feature item according to the social information.

[0189] In the embodiment of the present application, preferably, if the target search type is related to the information type in the first service, and the social information is the first social information related to the social account of the client in the first recent historical time period stored in the client requesting to search the target information, the device further includes:

[0190] A detection unit, used to detect whether the request result meets the preset result generation condition;

[0191] A second information search unit, configured to search the second social information for information matching the target feature information of the target feature item to generate a target request result if the request result does not meet the result generation condition;

[0192] The second social information is social information of the social account stored in the server of the client within a second recent historical time period, and the second recent historical time period is longer than the first recent historical time period.

[0193] In the embodiment of the present application, preferably, if the target search type is related to the second service, the social information is the second social information of the social account stored in the server of the client requesting to search the target information within the second most recent historical time period.

[0194] In the embodiment of the present application, preferably, the feature information generating subunit includes:

[0195] A query unit, used to query the corresponding relationship between the search type and the tag, and determine the target tag corresponding to the target search type;

[0196] A first information determining unit, configured to determine each piece of first information carrying a target tag from the social information;

[0197] A second information determining unit, configured to determine a first number of second information that is most recently generated in each first information;

[0198] The first generating unit is used to determine the label of the target feature item carried by each second information as each feature information of the target feature item.

[0199] Furthermore, an information search device provided in an embodiment of the present application also includes:

[0200] A receiving unit, configured to receive a keyword input operation performed on a search box corresponding to a target feature item, and determine the keyword input by the keyword input operation as a target keyword related to the target feature item;

[0201] The second generating unit is used to generate each feature information of the target feature item according to the target keyword related to the target feature item.

[0202] In the embodiment of the present application, preferably, the request result includes at least one piece of information, and the detection unit includes:

[0203] A matching degree calculation unit, used to respectively calculate the matching degree between each piece of information in the request result and the target feature information of the target feature item;

[0204] A number acquisition unit, used to acquire the total number of information in the request result whose matching degree with the target feature information of the target feature item exceeds a preset target matching degree;

[0205] A judging unit, used to judge whether the total number of entries exceeds a preset second number;

[0206] A first determining unit, configured to determine that the request result satisfies a result generation condition if the total number of entries exceeds a second number;

[0207] The second determining unit is used to determine that the request result does not meet the result generation condition if the total number of entries does not exceed the second number.

[0208] Fig.10 A hardware structure block diagram of a terminal to which an information search method provided in an embodiment of the present application is applicable.

[0209] like Fig. 9 The terminal shown may include: a processor 1001 , a memory 1002 , a communication interface 1003 , an input unit 1004 , a display 1005 and a communication bus 1006 .

[0210] The memory 1002 is used to store one or more programs. The program may include program code, and the program code includes computer operation instructions. In the embodiment of the present invention, the memory at least stores a program for implementing the following functions:

[0211] Receiving a trigger operation on the search box to display a first information search page, the first information search page displays a plurality of pre-set search types, the plurality of search types including a search type related to the information type in the first service and a search type related to the second service;

[0212] receiving a selection operation of a target search type from among the multiple search types and displaying a second information search page, the second information search page displaying at least one feature item matching the target search type;

[0213] generating each feature information of the target feature item in response to a triggering operation on the target feature item among the at least one feature item;

[0214] receiving a selection operation of feature information of a target feature item and determining the selected feature information as target feature information of the target feature item;

[0215] The social information is searched for information matching the target feature information of the target feature item to generate a request result.

[0216] Optionally, the detailed and extended functions of the program can be referred to the description below.

[0217] The processor 1001 , the memory 1002 , the communication interface 1003 , the input unit 1004 , and the display 1005 all communicate with each other via the communication bus 1006 .

[0218] In the embodiment of the present invention, the processor 1001 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, etc.

[0219] The processor can call and execute the program stored in the memory 1002 .

[0220] The communication interface 1003 may be an interface of a communication module, such as an interface of a GSM module.

[0221] The present invention may further include an input unit 1004, which may include a touch sensing unit for sensing a touch event on the touch display panel, a keyboard, and the like.

[0222] The display 1005 includes a display panel, such as a touch display panel, etc. In a possible case, the display panel can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.

[0223] certainly, Fig.10 The terminal structure shown does not constitute a limitation on the terminal in the embodiment of the present invention. In actual applications, the terminal may include Fig.10 More or fewer components than shown, or combinations of certain components.

[0224] Furthermore, an embodiment of the present application also provides a computer-readable storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are used to execute the information search method involved in the above embodiment.

[0225] For a detailed description of the program stored in the storage medium provided in the embodiment of the present application, reference can be made to the above embodiment and will not be repeated here.

[0226] The present application provides an information search method, device, terminal and storage medium that can realize information search based on the target search type to which the target information belongs and the target feature information of each target feature item in at least one feature item that matches the target search type. The user does not need to provide the key content of the target information to realize fuzzy search of information, which reduces the dependence of the information search process on the key content of the target information and provides convenience for users to search for information.

[0227] In this article, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0228] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0229] The above description of the embodiments disclosed in the present invention enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An information search method, characterized in that: include: receiving a trigger operation on the search box to display a first information search page, wherein the first information search page displays a plurality of pre-set search types, wherein the plurality of search types include search types related to information types in the first service and search types related to the second service; the first service is an instant messaging service; The second service is a circle of friends service; receiving a selection operation of a target search type from among the multiple search types and displaying a second information search page, wherein the second information search page displays at least one pre-set feature item matching the target search type; receiving a triggering operation on a feature item in the at least one feature item and determining the triggered feature item as a target feature item; Obtaining social information related to the social account requesting the search target information; Querying the correspondence between the search type and the tag, and determining the target tag corresponding to the target search type; Determine each piece of information carrying the target tag from the social information, and take each piece of information carrying the target tag as a first piece of information; Acquire a first number of first information that is most recently generated and preset from each of the first information, and use each of the first number of first information as a second information; Determine the label of the target feature item carried by each piece of the second information as each piece of feature information of the target feature item; receiving a selection operation of feature information of the target feature item and determining the selected feature information as target feature information of the target feature item; The social information is searched for information matching the target feature information of the target feature item to generate a request result.

2. The method according to claim 1, characterized in that If the target search type is related to the information type in the first service, and the social information is first social information related to the social account of the client within the first recent historical time period stored in the client requesting to search for the target information, the method further includes: Detecting whether the request result satisfies a preset result generation condition; If the request result does not meet the result generation condition, searching the second social information for information matching the target feature information of the target feature item to generate a target request result; The second social information is the social information of the social account stored in the server of the client within a second recent historical time period, and the second recent historical time period is longer than the first recent historical time period.

3. The method according to claim 1, characterized in that If the target search type is related to a second service, the social information is second social information of the social account within a second recent historical time period stored in a server of the client requesting to search for the target information.

4. The method according to claim 1, characterized in that: Also includes: receiving a keyword input operation performed on a search box corresponding to the target feature item, and determining a keyword input by the keyword input operation as a target keyword related to the target feature item; Each piece of characteristic information of the target characteristic item is generated according to the target keyword related to the target characteristic item.

5. The method according to claim 2, characterized in that The request result includes at least one piece of information, and the detecting whether the request result satisfies a preset result generation condition includes: Calculate the matching degree between each piece of information in the request result and the target feature information of the target feature item respectively; Obtaining the total number of pieces of information in the request result whose matching degree with the target feature information of the target feature item exceeds a preset target matching degree; Determining whether the total number of entries exceeds a preset second number; If the total number of entries exceeds the second number, determining that the request result satisfies the result generation condition; If the total number of entries does not exceed the second number, it is determined that the request result does not satisfy the result generation condition.

6. An information search method, characterized in that: include: receiving a trigger operation on the search box to display a first information search page, wherein the first information search page displays a plurality of pre-set search types, wherein the plurality of search types include search types related to information types in the first service and search types related to the second service; the first service is an instant messaging service; The second service is a circle of friends service; receiving a selection operation of a search type in the first information search page and jumping to a second information search page matching the selected target search type, wherein the second information search page displays at least one pre-set feature item matching the target search type; In response to a trigger operation on a feature item in the second information search page, displaying each feature information of the target feature item in a target display area related to the triggered target feature item in the second information search page, specifically including: receiving a trigger operation on a feature item in the at least one feature item, determining the triggered feature item as the target feature item; obtaining social information related to the social account requesting to search the target information; querying the correspondence between the search type and the tag, and determining the target tag corresponding to the target search type; determining each piece of information carrying the target tag from the social information, and taking each piece of information carrying the target tag as a first piece of information; obtaining a first number of first pieces of information that are pre-set and most recently generated from each piece of the first information, and taking each of the first number of first pieces of information as a second piece of information; determining the tag carried by each piece of the second information in the target feature item as each piece of feature information of the target feature item; receiving a selection operation of feature information of the target feature item and displaying the selected target feature information in the second information search page, wherein displaying the selected target feature information in the second information search page includes any one or more of displaying the selected target feature information in the target display area and displaying the selected target feature information in a search box on the second information search page; The request result is searched in social information based on the target feature information of each target feature item displayed in the second information search page.

7. An information search device, characterized in that: include: A first information search page display unit, configured to receive a trigger operation on a search box to display a first information search page, wherein the first information search page displays a plurality of pre-set search types, wherein the plurality of search types include search types related to information types in a first service and search types related to a second service; the first service is an instant messaging service; The second service is a circle of friends service; A second information search page display unit, configured to receive a selection operation of a target search type from among the multiple search types and display a second information search page, wherein the second information search page displays at least one pre-set feature item matching the target search type; a target feature item determining unit, configured to receive a triggering operation on a feature item in the at least one feature item and determine the triggered feature item as a target feature item; A social information acquisition unit, used to acquire social information related to the social account requesting the search target information; A query unit, used to query the corresponding relationship between the search type and the tag, and determine the target tag corresponding to the target search type; A first information determining unit, configured to determine each piece of information carrying the target tag from the social information, and to take each piece of information carrying the target tag as a first information; A second information determining unit, configured to obtain a first number of first information that is most recently generated and preset from each of the first information, and to use each of the first number of first information as a second information; A first generating unit, configured to determine the label of the target feature item carried by each piece of the second information as each piece of feature information of the target feature item; A target feature information generating unit, configured to receive a selection operation on feature information of the target feature item and determine the selected feature information as target feature information of the target feature item; The first information search unit is used to search the social information for information matching the target feature information of the target feature item and generate a request result.

8. The device according to claim 7, characterized in that If the target search type is related to the information type in the first service, and the social information is first social information related to the social account of the client within the first recent historical time period and stored in the client requesting to search for the target information, the device further includes: A detection unit, used to detect whether the request result meets a preset result generation condition; A second information searching unit is configured to, if the request result does not satisfy the result generation condition, search the second social information for information matching the target feature information of the target feature item to generate a target request result; The second social information is the social information of the social account stored in the server of the client within a second recent historical time period, and the second recent historical time period is longer than the first recent historical time period.

9. The device according to claim 7, characterized in that If the target search type is related to a second service, the social information is second social information of the social account within a second recent historical time period stored in a server of the client requesting to search for the target information.

10. The device according to claim 7, characterized in that Also includes: a receiving unit, configured to receive a keyword input operation performed on a search box corresponding to the target feature item, and determine the keyword input by the keyword input operation as a target keyword related to the target feature item; The second generating unit is configured to generate each piece of feature information of the target feature item according to a target keyword related to the target feature item.

11. The device according to claim 8, characterized in that The request result includes at least one piece of information, and the detection unit includes: A matching degree calculation unit, used to respectively calculate the matching degree between each piece of information in the request result and the target feature information of the target feature item; A number acquisition unit, used to acquire the total number of pieces of information in the request result whose matching degree with the target feature information of the target feature item exceeds a preset target matching degree; A judging unit, used to judge whether the total number of items exceeds a preset second number; A first determining unit, configured to determine that the request result satisfies the result generation condition if the total number of entries exceeds the second number; The second determining unit is used to determine that the request result does not meet the result generation condition if the total number of entries does not exceed the second number.

12. A terminal, characterized in that: include: A processor and a memory, wherein the processor and the memory are connected via a communication bus; wherein the processor is used to call and execute a program stored in the memory; The memory is used to store a program, and the program is used to implement the information search method as described in any one of claims 1-5.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to execute the information search method described in any one of claims 1-5.

Citation Information

Patent Citations

  • Searching method and device, storage medium and electronic equipment

    CN107291962A

  • Search method, search equipment and terminal equipment

    CN107463619A

  • Information searching method and device, storage medium and electronic equipment

    CN110162685A