CN116991250A - Information searching method, device, equipment, storage medium and program product - Google Patents

Information searching method, device, equipment, storage medium and program product Download PDF

Info

Publication number
CN116991250A
CN116991250A CN202210441871.1A CN202210441871A CN116991250A CN 116991250 A CN116991250 A CN 116991250A CN 202210441871 A CN202210441871 A CN 202210441871A CN 116991250 A CN116991250 A CN 116991250A
Authority
CN
China
Prior art keywords
information
search
input
candidate
recommended
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210441871.1A
Other languages
Chinese (zh)
Inventor
欧鹏
莫曾
黄蕊妍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202210441871.1A priority Critical patent/CN116991250A/en
Publication of CN116991250A publication Critical patent/CN116991250A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0236Character input methods using selection techniques to select from displayed items
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Abstract

The application provides an information searching method, an information searching device, an information searching equipment, an information searching storage medium and a program product, which are applied to various information searching scenes such as cloud technology, artificial intelligence, intelligent traffic, vehicle-mounted and the like; the information searching method comprises the following steps: displaying a search area in an information input state, wherein the information input state refers to a state of receiving information input; in response to an input operation for a search area, displaying input information, and displaying search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information, wherein the search candidate information is candidate information semantically related to the input information, and the recommended search information is information to be recommended which is determined based on the search candidate information and has semantics independent of the search candidate information; in response to a selection operation for the recommended search information, information search results searched based on the recommended search information are displayed. By the method and the device, the information searching effect can be improved.

Description

Information searching method, device, equipment, storage medium and program product
Technical Field
The present application relates to information processing technology in the field of computer applications, and in particular, to an information search method, apparatus, device, storage medium, and program product.
Background
Generally, when an input operation performed by a user with respect to a search box of a target application is received, search candidate information, which is generally complement information of input information corresponding to the input operation, is displayed in both a search candidate area and a keyboard candidate area of the search box; therefore, the search candidate information is single; thus, when information search is performed based on the search candidate information, the search range is small, resulting in poor information search effect.
Disclosure of Invention
The embodiment of the application provides an information searching method, an information searching device, information searching equipment, a computer readable storage medium and a computer program product, which can improve the information searching effect.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides an information searching method, which comprises the following steps:
displaying a search area in an information input state, wherein the information input state refers to a state of receiving information input;
displaying input information in response to an input operation for the search area, and displaying search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information, wherein the search candidate information is candidate information semantically related to the input information, and the recommended search information is information to be recommended which is determined based on the search candidate information and has a semantic independent of the search candidate information;
And displaying information search results searched based on the recommended search information in response to a selection operation for the recommended search information.
An embodiment of the present application provides an information search apparatus, including:
the area display module is used for displaying a search area in an information input state, wherein the information input state is a state of receiving information input;
an information input module for displaying input information in response to an input operation for the search area, and displaying search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information, wherein the search candidate information is candidate information semantically related to the input information, and the recommended search information is information to be recommended which is determined based on the search candidate information and has a semantic independent of the search candidate information;
and the information searching module is used for responding to the selection operation of the recommended search information and displaying information search results searched based on the recommended search information.
In an embodiment of the present application, the relationship between the recommended search information and the search candidate information includes at least one of: the recommended search information and the search candidate information belong to the same category; the recommended search information and the search candidate information are in a same-good relation, wherein the same-good relation indicates that the probability that different information is converted on the same object is larger than the designated probability.
In the embodiment of the application, when the recommended search information and the search candidate information belong to the same category, the information search device further comprises a combination construction module, which is used for classifying a plurality of character strings to be processed to obtain a character string set to be processed corresponding to each category; and determining the first appointed number of character strings to be processed selected from the character string set to be processed as the same-category character string combination, and obtaining each same-category character string combination corresponding to each category.
In the embodiment of the present application, the information input module is further configured to perform, in response to the input operation for the search area, string matching in each of the similar string combinations based on the search candidate information corresponding to the input information; and determining the character strings to be processed except the search candidate information in the matched similar character string combination as the recommended search information, and displaying the input information, the search candidate information and the recommended search information.
In the embodiment of the present application, the information input module is further configured to display the input information and the search candidate information when the string matching result indicates that the search candidate information does not match each of the similar string combinations.
In the embodiment of the application, when the recommended search information and the search candidate information are in a same good relationship, the information search device further comprises a combination construction module, wherein the combination construction module is used for acquiring a plurality of conversion records, and each conversion record comprises at least two conversion character strings corresponding to a target object; obtaining a converted character string combination of the first appointed number of different information on the same target object from a plurality of conversion records, and obtaining the number of target objects corresponding to the converted character string combination; determining the homomorphism probability corresponding to the conversion character string combination based on the comparison result of the target object number and the record number of the plurality of conversion records; and combining the converted character string combinations with the homonymy probability larger than the appointed probability to obtain each homonymy character string combination.
In the embodiment of the application, the information input module is further configured to perform, in response to the input operation for the search area, string matching in each of the homonymous string combinations based on the search candidate information corresponding to the input information; and in the matched homomorphic character string combination, determining conversion character strings except the search candidate information as the recommended search information, and displaying the input information, the search candidate information and the recommended search information.
In the embodiment of the application, the input information comprises at least one of key information, to-be-input search information and input search information, wherein the key information is information corresponding to a key triggered by the input operation, the to-be-input search information is information corresponding to the key information determined based on an input information type, and the input search information is information in the search area; the search candidate information includes at least one of inputted candidate information and candidate information to be inputted; the input candidate information is candidate information generated based on the input search information, the candidate information to be input refers to candidate information generated based on candidate basis information, and the candidate basis information comprises at least one of the key information, the search information to be input and the input search information.
In an embodiment of the present application, the information input module is further configured to display the input information in response to the input operation of triggering an input control for the search area, and display, in an input candidate area in the input control, the search candidate information corresponding to the input information and the recommended search information corresponding to the search candidate information; the input control is used for acquiring information to be searched for the search area, and the input candidate area is used for displaying information generated based on key information corresponding to the input control.
In an embodiment of the present application, when the input information includes input search information, the information input module is further configured to display the input information in the search area in response to the input operation for the search area, and display the search candidate information corresponding to the input information and the recommended search information corresponding to the search candidate information in a search candidate area corresponding to the search area; wherein the search candidate area is for displaying information generated based on the input search information.
In an embodiment of the present application, the information input module is further configured to obtain the search candidate information corresponding to the input information in response to the input operation of triggering an input control for the search area; determining a second appointed number of candidate character strings selected from the search candidate information as character strings to be judged; obtaining a search intention value corresponding to the character string to be judged, wherein the search intention value represents the degree of search intention reflected by the character string to be judged; and displaying the input information, the search candidate information, and the recommended search information when the search intention value is greater than a specified search intention value.
In the embodiment of the present application, the information input module is further configured to cancel acquisition of the recommended search information when the search intention value is less than or equal to the specified search intention value.
In the embodiment of the application, the information input module is further configured to obtain a search frequency corresponding to each candidate character string in the character strings to be judged, so as to obtain a search frequency to be judged corresponding to the character strings to be judged, where the search frequency to be judged is an accumulated value of at least one search frequency; acquiring the total search frequency corresponding to the search candidate information; and determining the search intention value corresponding to the character string to be judged based on the comparison result of the search times to be judged and the total search frequency.
In the embodiment of the present application, the information input module is further configured to insert the recommended search information between the to-be-determined character string and a remaining character string in the search candidate information when the search intention value is greater than the specified search intention value, to obtain a to-be-displayed character string sequence, where the remaining character string refers to a character string in the recommended search information other than the to-be-determined character string; and displaying the input information and the character string sequence to be displayed.
In an embodiment of the present application, the information search module is further configured to display the recommended search information in the search area in response to the selection operation for the recommended search information; displaying the information search result searched based on the recommended search information in response to a search operation for the search area in which the recommended search information is displayed.
In an embodiment of the present application, the information search module is further configured to replace and display the input search information with the recommended search information in the search area in response to the selection operation for the recommended search information.
In the embodiment of the present application, the information input module is further configured to obtain the input information in response to the input operation for the search area; acquiring candidate character strings or character string key information from each piece of data of a designated search candidate library, wherein the candidate character strings or character string key information comprises at least one candidate character string of the input information and a search frequency corresponding to each candidate character string in at least one search character, and each piece of data of the designated search candidate library comprises the candidate character strings, the character string key information and the search frequency; determining the candidate character strings with the search frequency greater than a designated search frequency as the search candidate information in at least one candidate character string; and displaying the input information, the search candidate information and the recommended search information.
In the embodiment of the present application, the combination construction module is further configured to obtain the string key information and the search frequency corresponding to each of the candidate strings; and combining the character string key information corresponding to each candidate character string with the search frequency to obtain the appointed search candidate library corresponding to a plurality of candidate character strings.
An embodiment of the present application provides an information search apparatus including:
a memory for storing executable instructions;
and the processor is used for realizing the information searching method provided by the embodiment of the application when executing the executable instructions stored in the memory.
The embodiment of the application provides a computer readable storage medium which stores executable instructions for realizing the information searching method provided by the embodiment of the application when being executed by a processor.
The embodiment of the application provides a computer program product, which comprises a computer program or instructions, wherein the computer program or instructions realize the information searching method provided by the embodiment of the application when being executed by a processor.
The embodiment of the application has at least the following beneficial effects: when an input operation for a search area is received, not only input information corresponding to the input operation and candidate information semantically related to the input information (referred to as search candidate information) but also information to be recommended (referred to as recommended search information) which is determined based on the input information and semantically independent of the input information are displayed; therefore, the diversity of the display information corresponding to the input information is improved; therefore, when information searching is performed based on the recommended search information, the information searching range can be enlarged, and the information searching effect can be improved.
Drawings
FIG. 1 is a schematic diagram of an exemplary entered search message provided by an embodiment of the present application;
FIG. 2 is a schematic diagram of exemplary search information to be entered provided by an embodiment of the present application;
FIG. 3 is a schematic diagram of an exemplary search candidate information provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of an exemplary search candidate information;
FIG. 5 is a schematic diagram of an information search system according to an embodiment of the present application;
fig. 6 is a schematic diagram of a composition structure of the terminal in fig. 5 according to an embodiment of the present application;
fig. 7 is a schematic flow chart of an information searching method according to an embodiment of the present application;
FIG. 8 is a schematic diagram of information display provided by an embodiment of the present application;
fig. 9 is a second schematic flow chart of an information searching method according to an embodiment of the present application;
FIG. 10 is a schematic diagram of an exemplary information search process according to an embodiment of the present application;
FIG. 11 is a display diagram I of an exemplary information search provided by an embodiment of the present application;
FIG. 12 is a second display diagram of an exemplary information search provided by an embodiment of the present application;
FIG. 13 is a third display diagram of an exemplary information search provided by an embodiment of the present application;
FIG. 14 is a display diagram IV of an exemplary information search provided by an embodiment of the present application;
FIG. 15 is a fifth display diagram of an exemplary information search provided by an embodiment of the present application;
fig. 16 is a display diagram six of an exemplary information search provided by an embodiment of the present application.
Detailed Description
The present application will be further described in detail with reference to the accompanying drawings, for the purpose of making the objects, technical solutions and advantages of the present application more apparent, and the described embodiments should not be construed as limiting the present application, and all other embodiments obtained by those skilled in the art without making any inventive effort are within the scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
In the following description, the terms "first", "second", and the like are merely used to distinguish between similar objects and do not represent a particular ordering of the objects, it being understood that the "first", "second", or the like may be interchanged with one another, if permitted, to enable embodiments of the application described herein to be practiced otherwise than as illustrated or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the embodiments of the application is for the purpose of describing embodiments of the application only and is not intended to be limiting of the application.
Before describing embodiments of the present application in further detail, the terms and terminology involved in the embodiments of the present application will be described, and the terms and terminology involved in the embodiments of the present application will be used in the following explanation.
1) Searching input information, which represents search intention information and comprises at least one of input information to be searched and information to be searched; the input information to be searched is, for example, information from the screen to the search area, that is, the input search information in the embodiment of the application; the information to be input to be searched is the highest frequency information corresponding to the key operation received through the keyboard, namely the information to be input to be searched in the embodiment of the application.
Referring to fig. 1, fig. 1 is a schematic diagram of an exemplary inputted search information provided by an embodiment of the present application; as shown in fig. 1, "small rigidity" is already displayed in the search box 1-11 of the search page 1-1, and thus, "small rigidity" is already input search information and is also search input information.
Referring to fig. 2, fig. 2 is a schematic diagram of exemplary search information to be input according to an embodiment of the present application; as shown in fig. 2, in the search page 2-1, key operations of a user (the user sequentially triggers virtual buttons corresponding to "X", "I", "a", "O", "G", "a", "N", "G" … … on the virtual keyboard 2-11), keyboard input information (xiao' gang) is displayed in a candidate display area 2-12 corresponding to the keyboard input information, and "xiao", "hong", and "small jar" … … are displayed in the candidate display area 2-12 (referred to as input candidate area); here, "small just" is the search information to be input, and is also the search input information.
2) Candidate information is searched, and candidate information generated based on the search input information comprises at least one of candidate information corresponding to a search area and candidate information corresponding to keyboard input information. The candidate information corresponding to the search area is candidate information generated by the search application based on the input information to be searched, namely the input candidate information in the embodiment of the application, and the candidate information is displayed in the search candidate area corresponding to the search area; the candidate information corresponding to the keyboard input information may be candidate information generated by the keyboard application based on the input search information, or may be candidate information generated by the keyboard application based on the input information in the virtual keyboard, or may be a combination of the two, that is, the candidate information to be input in the embodiment of the present application is displayed in the keyboard candidate area. In addition, the search application refers to an application comprising a search function, namely a target application in the embodiment of the application; the keyboard application refers to an application for acquiring input information through a keyboard, for example, an input method application; here, the keyboard application may generate candidate information based on the keyboard information, may generate candidate information based on the search information to be input corresponding to the keyboard information, may interact with the search application to obtain the input search information in the search area of the search application, generate candidate information including the input search information based on the input search information, and the like, and the embodiment of the present application is not limited thereto.
Referring to fig. 3, fig. 3 is a schematic diagram of exemplary search candidate information according to an embodiment of the present application; as shown in fig. 3, the search input information "small rigidity" has been displayed in the search box 3-11 in the search page 3-1, and the information of the search candidate area 3-12 and the information of the keyboard candidate area 3-13 (referred to as input candidate area) are both search candidate information; wherein the information of the search candidate area 3-12 is candidate information generated by a video application (referred to as a search application) based on the inputted search information, and the information of the keyboard candidate area 3-13 is candidate information generated by a keyboard application based on the inputted search information.
3) A content authoring object that uploads or publishes a content producer of content in an internet platform; such as a video provider in a short video platform, a host in a live platform, etc.
4) The similar creation objects refer to at least two content creation objects which belong to the same category and are determined based on the creation content; for example, the created content corresponding to the content creation object a belongs to a food category, and the created content corresponding to the content creation object B also belongs to a food category, so that the content creation object a and the content creation object B are similar created objects.
5) The contemporaneous authoring objects refer to correlation among content authoring objects established based on big data; for example, based on big data of viewing information, determining that a user viewing the authored content of the content authored object C will view the authored content of the content authored object D with a high probability (greater than a threshold value), if the content authored object C and the content authored object D are good authored objects, namely good relationships in the embodiment of the present application; for another example, based on the big data of the search information, it is determined that the user searching the content creation object E will search the content creation object F with a high probability (greater than the threshold value), and then the content creation object E and the content creation object F are good creation objects.
Generally, when an input operation performed by a user with respect to a search box of a target application is received, search candidate information, which is complement of input information corresponding to the input operation, is displayed in both a search candidate area and a keyboard candidate area of the search box.
Illustratively, referring to FIG. 4, FIG. 4 is a schematic illustration of an exemplary search candidate information; as shown in fig. 4, the search input information xiao Li is displayed on the search box 4-11 in the search page 4-1, and the information of the search candidate area 4-12 and the information of the keyboard candidate area 4-13 are both search candidate information; the "xiao Li classmate", "small Li Tongzhuo", "xiao Li agree to eat together", "xiao Li classmate daily", and "xiao Li classmate fueling" in the search candidate area 4-12 are search candidate information obtained by the video application by complementing the input information "xiao Li classmate", and the "xiao Li classmate" and "xiao Li classmate fueling" in the keyboard candidate area 4-13 are search candidate information obtained by the keyboard application by complementing the search input information "xiao Li classmate".
However, when the search candidate information is obtained by complementing the search input information, the search candidate information is single; therefore, when information searching is performed based on the search candidate information, only the search result including the search input information can be searched, the search range is small, and the search effect is poor.
Based on the above, embodiments of the present application provide an information searching method, apparatus, device, computer readable storage medium and computer program product, which can improve the information searching effect. The following describes exemplary applications of the information searching device provided by the embodiment of the present application, where the information searching device provided by the embodiment of the present application may be implemented as various types of terminals, such as a smart phone, a smart watch, a notebook computer, a tablet computer, a desktop computer, an intelligent home appliance, a set-top box, an intelligent vehicle-mounted device, a portable music player, a personal digital assistant, a dedicated messaging device, an intelligent voice interaction device, a portable game device, and an intelligent sound box, and may also be implemented as a server. Next, an exemplary application when the information search apparatus is implemented as a terminal will be described.
Referring to fig. 5, fig. 5 is a schematic diagram of an architecture of an information search system according to an embodiment of the present application; as shown in fig. 5, in order to support an information search application, in the information search system 100, a terminal 400 (the terminal 400-1 and the terminal 400-2 are exemplarily shown as an information search apparatus) is connected to a server 200 through a network 300, and the network 300 may be a wide area network or a local area network, or a combination of both. In addition, the information search system 100 further includes a database 500 for providing data support to the server 200; also, the database 500 is shown in fig. 5 as a case independent of the server 200, and in addition, the database 500 may be integrated in the server 200, which is not limited in the embodiment of the present application.
A terminal 400 for displaying a search area in an information input state, wherein the information input state refers to a state of receiving information input; in response to an input operation for the search area, displaying input information, and transmitting a candidate acquisition request to the server 200 through the network 300; receiving search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information transmitted by the server 200 through the network 300, displaying the search candidate information, which is candidate information semantically related to the input information, and recommended search information (the graphical interface 410-1 and the graphical interface 410-2 are exemplarily shown), which is information to be recommended, which is determined based on the search candidate information and has a semantic independent of the search candidate information; in response to a selection operation for recommending search information, a search request is transmitted to the server 200 through the network 300; the information search result searched based on the recommended search information transmitted from the server 200 is received through the network 300, and the information search result is displayed.
A server 200 for receiving a candidate acquisition request transmitted from the terminal 400 through the network 300, and acquiring search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information in response to the candidate acquisition request; transmitting search candidate information and recommended search information to the terminal 400 through the network 300; receiving a search request sent by the terminal 400 through the network 300, and searching information based on recommended search information in response to the search request to obtain an information search result; the information search result is transmitted to the terminal 400 through the network 300.
In some embodiments, the server 200 may be a stand-alone physical server, a server cluster or a distributed system formed by a plurality of physical servers, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs, content Delivery Network), and basic cloud computing services such as big data and artificial intelligence platforms. The terminal 400 may be, but is not limited to, a smart phone, a smart watch, a notebook computer, a tablet computer, a desktop computer, a smart television, a set-top box, a smart car device, a portable music player, a personal digital assistant, a dedicated messaging device, a portable game device, a smart speaker, etc. The terminal and the server may be directly or indirectly connected through wired or wireless communication, which is not limited in the embodiment of the present application.
Referring to fig. 6, fig. 6 is a schematic diagram illustrating a composition structure of the terminal in fig. 5 according to an embodiment of the present application, and the terminal 400 shown in fig. 6 includes: at least one processor 410, a memory 450, at least one network interface 420, and a user interface 430. The various components in terminal 400 are coupled together by a bus system 440. It is understood that the bus system 440 is used to enable connected communication between these components. The bus system 440 includes a power bus, a control bus, and a status signal bus in addition to the data bus. But for clarity of illustration the various buses are labeled in fig. 6 as bus system 440.
The processor 410 may be an integrated circuit chip having signal processing capabilities such as a general purpose processor, such as a microprocessor or any conventional processor, or the like, a digital signal processor (DSP, digital Signal Processor), or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
The user interface 430 includes one or more output devices 431, including one or more speakers and/or one or more visual displays, that enable presentation of the media content. The user interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
Memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid state memory, hard drives, optical drives, and the like. Memory 450 optionally includes one or more storage devices physically remote from processor 410.
Memory 450 includes volatile memory or nonvolatile memory, and may also include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read Only Memory (ROM), and the volatile Memory may be a random access Memory (RAM, random Access Memory). The memory 450 described in embodiments of the present application is intended to comprise any suitable type of memory.
In some embodiments, memory 450 is capable of storing data to support various operations, examples of which include programs, modules and data structures, or subsets or supersets thereof, as exemplified below.
An operating system 451 including system programs, e.g., framework layer, core library layer, driver layer, etc., for handling various basic system services and performing hardware-related tasks, for implementing various basic services and handling hardware-based tasks;
network communication module 452 for reaching other computer devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 include: bluetooth, wireless compatibility authentication (Wi-Fi), universal serial bus (USB, universal Serial Bus), and the like;
a presentation module 453 for enabling presentation of information (e.g., a user interface for operating peripheral devices and displaying content and information) via one or more output devices 431 (e.g., a display screen, speakers, etc.) associated with the user interface 430;
an input processing module 454 for detecting one or more user inputs or interactions from one of the one or more input devices 432 and translating the detected inputs or interactions.
In some embodiments, the information searching apparatus provided in the embodiments of the present application may be implemented in a software manner, and fig. 6 shows the information searching apparatus 455 stored in the memory 450, which may be software in the form of a program, a plug-in, or the like, including the following software modules: the area display module 4551, the information input module 4552, the information search module 4553 and the combination construction module 4554 are logical, and thus may be arbitrarily combined or further split according to the functions implemented. The functions of the respective modules will be described hereinafter.
In some embodiments, the information searching apparatus provided in the embodiments of the present application may be implemented in a hardware manner, and as an example, the information searching apparatus provided in the embodiments of the present application may be a processor in the form of a hardware decoding processor, which is programmed to perform the information searching method provided in the embodiments of the present application; for example, a processor in the form of a hardware decoding processor may employ one or more application specific integrated circuits (ASICs, application Specific Integrated Circuit), DSPs, programmable logic devices (PLDs, programmable Logic Device), complex programmable logic devices (CPLDs, complex Programmable Logic Device), field programmable gate arrays (FPGAs, field-Programmable Gate Array), or other electronic components.
In some embodiments, the terminal or the server may implement the information searching method provided by the embodiment of the present application by running a computer program. For example, the computer program may be a native program or a software module in an operating system; a local (Native) Application program (APP), i.e. a program that needs to be installed in an operating system to run, such as a live APP or an instant messaging APP; the method can also be an applet, namely a program which can be run only by being downloaded into a browser environment; but also an applet that can be embedded in any APP. In general, the computer programs described above may be any form of application, module or plug-in.
Next, an information searching method provided by the embodiment of the present application will be described in connection with exemplary applications and implementations of the information searching apparatus provided by the embodiment of the present application. In addition, the information searching method provided by the embodiment of the application is applied to various information searching scenes such as cloud technology, artificial intelligence, intelligent traffic, vehicle-mounted and the like.
Referring to fig. 7, fig. 7 is a flowchart illustrating a method for searching information according to an embodiment of the present application, and the steps illustrated in fig. 7 will be described.
Step 701, displaying a search area in an information input state.
In the embodiment of the application, when a user performs information search in a target application, an information search device displays information including an information search function in response to a user operation, that is, a search area is displayed, and the displayed search area is in an information input state; the information input state refers to a state of receiving information input, for example, an input light is focused on a search area;
it should be noted that the search area is used to acquire information to be searched, such as a search box, a delimited area, and the like. In addition, when the search area in the information input state is displayed, an input control (for example, a virtual keyboard) may be displayed, or input prompt information (for example, a five-stroke pen, english, chinese, etc.) of the input control may be displayed, or information related to the input control may not be displayed (in this case, a default input mode may be used), and the embodiment of the present application is not limited thereto.
Step 702, in response to an input operation for a search area, displaying input information, and displaying search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information.
In the embodiment of the application, when a user inputs information in a search area, the information search equipment also receives an input operation for the search area; at this time, the information search apparatus displays the input information in response to the input operation, and displays search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information.
The input information is information corresponding to an input operation; searching candidate information to be candidate information semantically related to the input information; recommending search information is information to be recommended which is determined based on the search candidate information and has semantics independent of the search candidate information; the meaning of the recommended search information is independent of the meaning of the recommended search information and the meaning of the recommended search information are not related in meaning, for example, the recommended search information is "Ganbaomei sauce" and the recommended search information is "golden hair yolk".
It should be noted that the input information includes at least one of key information, search information to be input, and search information that has been input. The key information refers to information corresponding to a key triggered by an input operation, for example, "xiao". The search information to be input refers to information corresponding to key information, such as "small", "XIAO", etc., determined based on the type of input information (e.g., chinese, english, capital letter, etc.); when the input information type indicates a key, i.e., the obtained type, the search information to be input is key information. The entered search information refers to information in the search area, such as character strings that have been displayed in the search box. The search candidate information includes at least one of inputted candidate information and candidate information to be inputted. Wherein the inputted candidate information refers to search candidate information generated based on the inputted search information in the search area, and may be obtained by acquiring a character string including the inputted candidate information. The candidate information to be input is search candidate information semantically related to candidate basis information including at least one of search information to be input, key information, and input search information, which may be obtained by acquiring information including at least one of search information to be input, key information, and input search information, for example, "xiao", "xiao-jingjinglong", and "xiao-yangyang", etc. In addition, the search candidate information and the recommended search information may each be a character string.
In the embodiment of the application, the search candidate information is generated based on the input information, and the semantic correlation of the search candidate information and the input information at least comprises two cases; one case is that searching for candidate information refers to candidate information including information determined based on input information.
For example, when the input information is key information, the search candidate information is semantically related to the input information, which may mean that the search candidate information includes candidate information of search information to be input determined based on the input information; for example, when the input information is "xiaogang", and the determined corresponding search information to be input is "xiaogang" and "harbour", the search candidate information is "xiaogang", "xiaogang" and "harbour", etc.
For example, when the input information is input search information, the search candidate information is semantically related to the input information, which may mean that the search candidate information includes candidate information of other input type information determined by the input information; for example, when the inputted search information is "xiaogang", and the determined other input type information is "small rigid" and "small harbor", the search candidate information is "small rigid", "small rigid pair", and "small harbor", etc.
Another case is that searching for candidate information refers to candidate information including input information.
For example, when the input information is key information and search information to be input, the search candidate information is semantically related to the input information, which may mean that the search candidate information includes the candidate information of the search information to be input in the input information; for example, when the key information is "xiaogang", the search information to be input is "xiaogang" and "harbour", the search candidate information is "xiaogang", "xiaogang" and "harbour", and the like.
Illustratively, when the input information is to-be-input search information or input search information, the search candidate information is semantically related to the input information, meaning that the search candidate information includes candidate information of the input information; for example, when the search information to be input is "lite", the search candidate information may be "lite" and "lite egg", or the like; for another example, when the inputted search information is "xiaojust", the search candidate information is "xiaojust college brother" and "xiaojung", or the like.
Step 703, in response to a selection operation for the recommended search information, displaying information search results searched out based on the recommended search information.
In the embodiment of the application, when the user selects the displayed recommended search information to perform information search, the information search equipment also receives the selection operation aiming at the recommended search information; at this time, the information search apparatus performs information search based on the recommended search information in response to the selection operation, and displays the obtained information search result.
It can be understood that when an input operation for the search area is received, not only input information corresponding to the input operation and candidate information semantically related to the input information, but also information to be recommended, which is determined based on the input information and has a semantic independent of the input information, are displayed; therefore, the diversity of the display information corresponding to the input information is improved; therefore, when information searching is performed based on the recommended search information, the information searching range can be enlarged, and the information searching effect can be improved.
In an embodiment of the present application, after step 702, the information searching method further includes: the information search device displays a result searched based on the input information in response to a first search operation for the input information; alternatively, the information search apparatus displays a result searched based on the search candidate information in response to a second search operation for the search candidate information.
In an embodiment of the present application, the relationship between the recommended search information and the search candidate information includes at least one of: the recommended search information and the search candidate information belong to the same category, for example, the recommended search information and the search candidate information are content creation objects of the same kind (the field of creating content is the same), the recommended search information and the search candidate information are video names of the same kind (the field of video content is the same), and the like; recommending the search information and the search candidate information to be in a good relationship, for example, recommending the search information and the search candidate information to be in a good creation object, and the like.
It should be noted that, the homography relationship indicates that the probability of obtaining the conversion of different information on the same object (for example, the account object) is greater than the specified probability, where the conversion includes searching, viewing, purchasing, focusing on, and the like. The recommended search information and the search candidate information are in the same-good relation, and the probability of converting the recommended search information by the object converting the search candidate information is larger than the designated probability; the recommended search information is converted by the method that the object for converting the search candidate information has a larger probability (the conversion probability is larger than the designated probability). Here, the recommended search information and the search candidate information may be the same category of information, may be the same-good relationship information, or may be both the same category of information and the same-good relationship information.
In the embodiment of the present application, when the recommended search information and the search candidate information belong to the same category, step 702 is preceded by step 704 and step 705 (not shown in the figure); that is, the information search apparatus displays input information in response to an input operation for a search area, and before displaying search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information, the information search method further includes steps 704 and 705, each of which will be described below.
Step 704, classifying the plurality of character strings to be processed to obtain a set of character strings to be processed corresponding to each category.
In the embodiment of the application, the information searching equipment acquires a plurality of character strings to be processed by collecting the character strings in each platform; here, the information search apparatus classifies a plurality of character strings to be processed; thus, for each category, a set of strings to be processed is corresponding, and the set of strings to be processed includes at least two strings to be processed, and at least two strings to be processed in the set of strings to be processed belong to the same category.
Step 705, determining a first designated number of to-be-processed strings selected from the to-be-processed string set as a same category string combination, and obtaining each same category string combination corresponding to each category.
In the embodiment of the application, the information searching equipment selects a first appointed number of character strings to be processed from a character string set to be processed, and determines the selected first appointed number of character strings to be processed as the same-category character string combination; thus, corresponding to each category, each similar character string combination can be obtained to determine recommended search information corresponding to the search candidate information based on each similar character string combination; and each category corresponds to each similar character string combination one by one; and each character string to be processed in a similar character string combination belongs to the same category.
It should be noted that the first specified number is a positive integer greater than 1, and the first specified number is less than or equal to the number of the character strings to be processed in the character string set to be processed; such as 2,3, etc. It is readily apparent that the input information and the recommended search information may belong to the same similar string combination.
Accordingly, in an embodiment of the present application, step 702 may be implemented by step 7021 and step 7022 (not shown in the figure); that is, the information search apparatus displays input information in response to an input operation for a search area, and displays search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information, including step 7021 and step 7022, which will be described below, respectively.
Step 7021, in response to an input operation for the search area, character string matching is performed in each similar character string combination based on search candidate information corresponding to the input information.
In the embodiment of the application, after the information searching equipment obtains the input information, search candidate information corresponding to the input information is obtained, and character string matching is performed in each similar character string combination based on the search candidate information.
Step 7022, determining character strings other than the search candidate information as recommended search information in the matched similar character string combination, and displaying the input information, the search candidate information, and the recommended search information.
In the embodiment of the application, the information searching equipment aims at the character string matching result of the search candidate information and each similar character string combination; if the character string matching result is determined to comprise the matched similar character string combination, each similar character string combination of the matched similar character string combination is indicated to comprise a character string to be processed which is consistent with the character string in the search candidate information, and the character string to be processed is the search candidate information corresponding to the search candidate information. At this time, the information search apparatus combines the character strings to be processed except the search candidate information in each of the matched similar character string combinations into first initial recommended search information, and determines the first initial recommended search information as recommended search information; thus, the input information, the search candidate information, and the recommended search information are displayed.
When the number of the character strings to be processed included in the first initial recommendation search information is greater than a specified value (for example, 1,2, etc.), the information search device selects the character strings to be processed of the specified value from the first initial recommendation search information as recommendation search information; the condition of selection may be the number of searches, the number of times selected after recommendation, or the like.
It can be understood that when an input operation is performed in a search area to perform information search, not only search candidate information corresponding to the input information but also recommended search information belonging to the same category as the search candidate information is displayed; therefore, the search based on the input information and the search based on the search candidate information can be realized, and the search based on the recommended search information can be realized, so that the range and the flexibility of the information search can be improved.
Step 7021 is followed by step 7023 (not shown in the figures) in the embodiment of the present application; that is, the information search apparatus performs character string matching in each of the similar character string combinations based on search candidate information corresponding to the input information in response to an input operation for the search area, and the information search method further includes step 7023, which will be described below.
Step 7023, when the string matching result indicates that the search candidate information does not match each of the similar string combinations, the input information and the search candidate information are displayed.
It should be noted that, the information search device aims at the character string matching result of the search candidate information and each similar character string combination, if the character string matching result is determined to not include the matched similar character string combination, it indicates that each similar character string combination of each similar character string combination does not include a character string to be processed consistent with the character string in the search candidate information, that is, the search candidate information which does not correspond to the search candidate information is not included. At this time, the information search apparatus displays the input information, and the search candidate information, without displaying the search candidate information.
In the embodiment of the present application, when the recommended search information and the search candidate information are in the same good relationship, step 706 to step 709 (not shown in the figure) are further included before step 702; that is, the information search apparatus displays input information in response to an input operation for a search area, and before displaying search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information, the information search method further includes steps 706 to 709, which will be described below, respectively.
Step 706, obtaining a plurality of conversion records.
It should be noted that, in the plurality of conversion records obtained by the information searching device, each conversion record includes at least two conversion character strings corresponding to the target object; that is, at least two conversion strings in a conversion record are each converted on a target object of the conversion record. Wherein the plurality of conversion records are, for example, search data records, view data records, purchase data records, etc.
Step 707, obtaining a converted character string combination of the first designated number of different information on the same target object from the plurality of conversion records, and obtaining the number of target objects corresponding to the converted character string combination.
In the embodiment of the application, the information search device obtains a converted string combination of the first specified number of different information obtained from the plurality of conversion records on the same target object, and the converted string combination includes the first specified number of conversion strings, and the first specified number of conversion strings in the converted string combination are all converted on the same target object. Here, the information search apparatus obtains a plurality of conversion character string combinations. In addition, the information searching device also acquires the number of target objects corresponding to each conversion character string combination, and the conversion character string combination is converted on the target objects of the number of target objects.
Step 708, determining the homomorphism probability corresponding to the conversion character string combination based on the comparison result of the target object number and the record number of the plurality of conversion records.
In the embodiment of the application, the information searching equipment acquires the record number of conversion records corresponding to a plurality of conversion records, compares the target object number with the record number, and determines the ratio of the target object number to the record number as the homomorphism probability corresponding to the conversion character string combination. Here, the ratio of the number of target objects to the number of records is the comparison result. In addition, the information searching device may also adopt other comparison modes, such as subtraction, etc., which are not limited in the embodiment of the present application. It is easy to know that the homomorphism probability indicates the probability that the first designated number of conversion strings in the conversion string combination are converted on the same target object, or that is, the homomorphism probability indicates the probability that different information are converted on the same object.
Step 709, combining the converted character string combinations with the homomorphism probability larger than the specified probability to obtain each homomorphism character string combination.
In the embodiment of the application, the information searching equipment compares the obtained co-best probability with the appointed probability, and if the co-best probability is determined to be larger than the appointed probability, the possibility that the first appointed number of conversion character strings in the conversion character string combination are converted on the same target object is higher is indicated; if the same good probability is less than or equal to the specified probability, the probability that the first specified number of conversion character strings in the conversion character string combination are converted on the same target object is smaller; here, the information search apparatus acquires each of the combinations of the co-good strings having a co-good probability greater than the specified probability to determine recommended search information corresponding to the search candidate information based on each of the combinations of the co-good strings. It is readily apparent that the search candidate information and the recommended search information may belong to the same homonymous string combination.
Accordingly, in an embodiment of the present application, step 702 may be implemented by step 7024 and step 7025 (not shown in the figure); that is, the information search apparatus displays input information in response to an input operation for a search area, and displays search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information, including step 7024 and step 7025, which will be described below, respectively.
Step 7024, in response to the input operation for the search area, character string matching is performed in each of the identical character string combinations based on the search candidate information corresponding to the input information.
In the embodiment of the application, after the information searching equipment obtains the input information, search candidate information corresponding to the input information is obtained, and character string matching is carried out in each identical character string combination based on the search candidate information.
Step 7025, determining the converted character strings except the search candidate information as recommended search information in the matched homonymous character string combination, and displaying the input information, the search candidate information, and the recommended search information.
In the embodiment of the application, the information searching equipment aims at the character string matching result of the search candidate information and each identical character string combination, and if the character string matching result is determined to comprise the matched identical character string combination, the information searching equipment indicates that each identical character string combination of the matched identical character string combination comprises a character string to be processed which is consistent with the character string in the search candidate information, and the information searching equipment is the search candidate information corresponding to the search candidate information. At this time, the information search device combines the character strings to be processed except the search candidate information in each of the matched homonym character string combinations into second initial recommended search information, and determines the second initial recommended search information as recommended search information; thus, the input information, the search candidate information, and the recommended search information are displayed.
Note that the process of selecting the recommended search information from the second initial recommended search information by the information search apparatus is similar to the process of selecting the recommended search information from the second initial recommended search information in step 7021, and a description thereof will not be repeated.
It can be understood that when an input operation is performed in the search area to perform information search, not only search candidate information corresponding to the input information but also recommended search information belonging to the same good relationship as the search candidate information are displayed; therefore, the search based on the input information and the search based on the search candidate information can be realized, and the search based on the recommended search information can be realized, so that the range and the flexibility of the information search can be improved.
In the embodiment of the application, after obtaining each similar character string combination and each homonymous character string combination, the information search device can integrate each similar character string combination and each homonymous character string combination to obtain a recommended search library so as to determine recommended search information corresponding to search candidate information based on the recommended search library.
In an embodiment of the present application, step 702 may be implemented by step 7026 (not shown in the figure); that is, the information search apparatus displays input information in response to an input operation for a search area, and displays search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information, including step 7026, which will be described below.
Step 7026, input information is displayed in response to an input operation of the input control being triggered for the search area, and search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information are displayed in an input candidate area in the input control.
When the information searching device displays the searching area, an input control is also displayed, and the input control comprises an input candidate area, so that the information searching device can display searching candidate information and recommended searching information in the input candidate area; at this time, the search candidate information is input candidate information. The input control is used for acquiring information to be searched for the search area, and the input candidate area is used for displaying information generated by input application corresponding to the input control based on key information corresponding to the input control. In addition, the input information may be displayed in the search area or may be displayed in the input candidate area of the input control, which is not limited in the embodiment of the present application.
In the embodiment of the application, when the input information is the input search information, and the search candidate information and the recommended search information can be displayed in the input candidate area when the input information is displayed in the search area; when the input information is at least one of key information and search information to be input, search candidate information and recommended search information are displayed in the input candidate region when the input candidate region is displayed.
It can be understood that the input control firstly determines the search candidate information corresponding to the input information based on the input information displayed in the search area or the input candidate area of the input control, and then simultaneously displays the recommended search information in the input candidate area, so that the input flexibility of the input control is improved; therefore, when information searching is performed based on the input control, the flexibility, the range and the efficiency of information searching can be improved.
In an embodiment of the present application, when the input information includes the input search information, step 702 may be implemented through step 7027 (not shown in the figure); that is, the information search apparatus displays input information in response to an input operation for a search area, and displays search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information, including step 7027, which will be described below.
Step 7027, in response to an input operation for the search area, displaying the input information in the search area, and displaying search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information in a search candidate area corresponding to the search area.
In the embodiment of the application, when the input information is the input search information, the input information is displayed in the search area. At this time, the search candidate information and the recommended search information may be displayed in the search candidate area; of course, the search candidate information may be displayed in the search candidate area, the recommended search information may be displayed in the input candidate area, and the like, which is not limited in the embodiment of the present application. The search candidate area is used for displaying information generated by a target application corresponding to the search area based on the input search information.
Referring to fig. 8, fig. 8 is a schematic diagram of information display provided in an embodiment of the present application; as shown in fig. 8, the display of the input information, the search candidate information, and the recommended search information may be as page 8-1, with the input information 8-11 displayed in the search area 8-12, and the search candidate information 8-13 and the recommended search information 8-14 displayed in the search candidate area 8-15. The display of the input information, search candidate information, and recommended search information may also be as in page 8-2, with input information 8-21 displayed in search area 8-22, search candidate information 8-23 displayed in search candidate area 8-24, and recommended search information 8-25 displayed in input candidate area 8-26. The input information, search candidate information, and recommended search information may be displayed as page 8-3, with input information 8-31 displayed in search area 8-32, and search candidate information 8-33 and recommended search information 8-34 displayed in input candidate area 8-35. The display of the input information, the search candidate information, and the recommended search information may also be such as page 8-4, with the input information 8-41, the search candidate information 8-42, and the recommended search information 8-43 each displayed in the input candidate region 8-44.
Referring to fig. 9, fig. 9 is a second schematic flow chart of an information searching method according to an embodiment of the present application; as shown in fig. 9, step 702 may be implemented by steps 7028 to 70210; that is, the information search apparatus displays input information in response to an input operation for a search area, and displays search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information, including steps 7028 to 70210, which will be described below, respectively.
Step 7028, in response to an input operation of triggering an input control for a search area, search candidate information corresponding to the input information is obtained.
In the embodiment of the application, the information searching equipment responds to the input operation of triggering the input control aiming at the searching area, so that the input information corresponding to the input operation is obtained; search candidate information is then acquired based on the input information.
Step 7029, determining the second designated number of candidate strings selected from the search candidate information as the character strings to be judged, and obtaining the search intention values corresponding to the character strings to be judged.
The second specified number is a positive integer, for example, 1,2, or the like. When the search candidate information is arranged in an inverted order based on the candidate likelihood, the information search apparatus may sequentially select a second specified number of candidate selection strings from the first candidate string of the search candidate information, and determine the selected second specified number of candidate strings as the character string to be judged; then obtaining a search intention value corresponding to the character string to be judged; the search intention value represents the degree of search intention embodied by the character string to be judged, and can be determined by search frequency and the like.
Step 70210, when the search intention value is greater than the specified search intention value, displaying the input information, the search candidate information, and the recommended search information.
In the embodiment of the application, the information searching device compares the obtained searching intention value with the appointed searching intention value, and if the searching intention value is determined to be larger than the appointed searching intention value, the information searching device indicates that the searching intention is converged to the judging character string, and the searching intention is clear; so that the recommended search information of the search candidate information is obtained at this time, and the input information, the search candidate information, and the recommended search information are displayed.
With continued reference to fig. 9, step 7029 is followed by step 70211; that is, after the information search apparatus acquires the search intention value corresponding to the character string to be judged, the information search method further includes step 70211, each of which is described below.
Step 70211, when the search intention value is less than or equal to the specified search intention value, the acquisition of the recommended search information is canceled.
In the embodiment of the application, the information searching device compares the obtained searching intention value with the appointed searching intention value, and if the searching intention value is smaller than or equal to the appointed searching intention value, the information searching device indicates that the searching intention is not converged to the judging character string, and the searching intention is not clear; so that the recommended search information corresponding to the search candidate information is not acquired at this time, but the input information and the search candidate information are displayed.
It can be understood that the degree of the embodiment of the search intention of the first second appointed number of candidate character strings in the search candidate information is judged, and the recommended search information corresponding to the search candidate information is obtained when the search intention is clear; therefore, the recommendation accuracy of the recommended search information can be improved, and the number of times of searching the estimated search information is reduced; thereby improving the efficiency of information searching. And when the search intention is ambiguous, the recommended search information corresponding to the search candidate information is not acquired, so that the resource consumption of information search can be reduced.
In the embodiment of the present application, the information searching apparatus in step 7029 obtains the search intention value corresponding to the character string to be determined, including steps 70291 to 70293 (not shown in the figure), and each step is described below.
And 70291, obtaining the searching frequency corresponding to each candidate character string in the character strings to be judged, and obtaining the searching frequency to be judged corresponding to the character strings to be judged.
In the embodiment of the application, each candidate character string corresponds to a search frequency and is used for indicating the number of times the candidate character string is searched; thus, the information search device can obtain a corresponding search frequency for each candidate character string in the character strings to be judged; therefore, at least one search frequency corresponding to the character string to be judged is obtained; here, the information searching device accumulates at least one search frequency corresponding to the character string to be judged, and the search frequency to be judged is obtained; that is, the search frequency to be determined is an accumulated value of at least one search frequency.
Step 70292, obtaining the total search frequency corresponding to the search candidate information.
It should be noted that, the information searching apparatus obtains the total search frequency corresponding to the search candidate information by accumulating the search frequency corresponding to each candidate character string in the search candidate information.
Step 70293, determining a search intention value corresponding to the character string to be judged based on the comparison result of the number of searches to be judged and the total search frequency.
In the embodiment of the application, the information searching equipment can obtain the comparison result of the number of times of searching to be judged and the total searching frequency by obtaining the ratio of the number of times of searching to be judged and the total searching frequency; the comparison result of the number of searches to be judged and the total search frequency can also be obtained by obtaining the difference value of the number of searches to be judged and the total search frequency; etc., to which embodiments of the application are not limited; here, the search intention value corresponding to the character string to be judged is a comparison result of the number of searches to be judged and the total search frequency.
In an embodiment of the present application, when a search intention value is greater than a specified search intention value, an information search apparatus displays input information, search candidate information, and recommended search information, including: when the search intention value is larger than the appointed search intention value, the information search equipment inserts recommended search information between a character string to be judged and the rest character strings in the search candidate information to obtain a character string sequence to be displayed, wherein the rest character strings refer to character strings except the character string to be judged in the recommended search information; and displaying the input information and the character string sequence to be displayed.
It should be noted that, the recommended search information may be displayed independently from the search candidate information, and when the search candidate information includes a plurality of candidate character strings, the recommended search information may also be inserted into the search candidate information for display, which is not limited by the embodiment of the present application. When the information search device inserts the recommended search information into the search candidate information for display, the insertion position may be a position between the character string to be determined and a next candidate character string of the character string to be determined, that is, a position between the character string to be determined and the remaining character strings in the search candidate information. Here, the search candidate information and the recommended search information are displayed by displaying a character string sequence to be displayed.
In the embodiment of the present application, in response to the selection operation for the recommended search information, the information search device displays the information search result searched based on the recommended search information in step 703, including: the information search device displays recommended search information in the search area in response to a selection operation for the recommended search information; and displaying information search results searched based on the recommended search information in response to a search operation for a search area in which the recommended search information is displayed.
When the user selects the recommended search information, the information search device may perform information search directly based on the recommended search information; the recommended search information may be displayed in the search area, and when a search operation for the search area in which the recommended search information is displayed is received, information search may be performed based on the recommended search information; the embodiment of the present application is not limited thereto.
In an embodiment of the present application, when the input information includes input search information, the information search apparatus displays recommended search information in a search area in response to a selection operation for the recommended search information, including: the information search apparatus displays the input search information in the search area in place of the recommended search information in response to a selection operation for the recommended search information. Of course, the information search apparatus may also display the input search information and the recommended search information in the search area; etc., and the embodiments of the present application are not limited thereto.
In the embodiment of the present application, in response to an input operation for a search area, the information search apparatus displays input information, and displays search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information in step 702, including: the information searching device responds to the input operation aiming at the searching area to obtain input information; acquiring candidate character strings or character string key information from each piece of data of a designated search candidate library, wherein the candidate character strings or the character string key information comprises at least one candidate character string of input information and search frequency corresponding to each candidate character string in at least one search character, and each piece of data of the designated search candidate library comprises the candidate character strings, the character string key information and the search frequency; in the at least one candidate character string, determining the candidate character string with the searching frequency larger than the appointed searching frequency as searching candidate information; input information, search candidate information, and recommended search information are displayed. Here, the candidate character string may be the same as the character string key information, or may be a character string corresponding to the character string key information determined based on the input information type.
When the input information is key information, the information searching device performs matching based on the character string key information to obtain at least one candidate character string including the input information; when the input information is search information to be input or search information has been input, the information search apparatus performs matching based on the candidate character strings to acquire at least one candidate character string including the input information.
In the embodiment of the present application, before the information searching device obtains, from each piece of data of the specified search candidate library, at least one candidate character string of the input information and the search frequency corresponding to each candidate character string in the at least one search character, the information searching method further includes: the information searching device obtains character string key information and searching frequency corresponding to each candidate character string of the plurality of candidate character strings; and combining the character string key information corresponding to each candidate character string and the search frequency to obtain a designated search candidate library corresponding to the plurality of candidate character strings.
In the following, an exemplary application of the embodiment of the present application in a practical application scenario will be described. This example application describes a process of displaying, when information is input in a search box of a target application by an input method application, recommendation candidate information (referred to as recommendation search information) that is homogeneous or homogeneous with the completed input information (referred to as search candidate information) in an input candidate area corresponding to the input method application to realize information search by the recommendation candidate information.
Referring to fig. 10, fig. 10 is a schematic diagram of an exemplary information searching process according to an embodiment of the present application; as shown in fig. 10, the exemplary information search flow includes steps 1001 to 1007, and each step is described below.
In step 1001, the client reports the text input by the user (called as the input search information) or the key information to the server.
Step 1002, the server generates search candidate information based on the reported information: search term 1, search term 2, search term 3 … ….
The search candidate information includes a plurality of search words arranged in reverse order based on the number of times of search input, namely, search word 1, search word 2, and search word 3 … … in this order.
In the embodiment of the application, the server side comprises a search word list (called a designated search candidate library) generated based on big data; wherein each record of the search vocabulary comprises: search words (called candidate character strings), keys corresponding to the search words (called character string key information), and the number of search inputs of the search words (called search frequency); such as: the little rigid student-xiaogangxuezhang-10000.
Here, when the server matches in the search word list based on the reported text input by the user, each search word in the search word list is matched with the text input by the user; when the server matches in the search word list based on the reported key information, matching keys corresponding to each search word in the search word list with the key information. When matching, the search word comprising the reported information can be obtained, and the search word beginning with the reported information can also be obtained; finally, the obtained matched search words are arranged in a descending order based on the search input times, and search candidate information is generated: search term 1, search term 2, search term 3 … …. For example, when the user inputs a small word, the reported information is small, and all search words beginning with the small word are matched from the search word list; when the user inputs the "xiao" word, the reported information is "xiao", and then all search words with keys corresponding to the search words beginning with "xiao" are matched from the search word list.
In step 1003, the server determines whether the search intention converges on the search term 1 (referred to as a string to be determined) in the search candidate information. If so, execute step 1004; if not, step 1005 is performed.
It should be noted that, when the concentration of the search term 1 (referred to as a search intention value) is higher than a threshold value (referred to as a specified search intention value), it is indicated that the search intention converges to the search term 1; when the concentration of search term 1 is less than or equal to the threshold, it is indicated that the search intention does not converge on search term 1. The concentration of the search term 1 can be described by the formula (1), and the formula (1) is as follows.
Wherein J is the concentration of search term 1, C 1 For the number of search inputs of search word 1 (referred to as the frequency of search to be judged), C 1~n The sum of the search input times (called total search frequency) corresponding to n search words in the search candidate information is obtained.
For example, when the reported information is "xiao", the obtained search candidate information includes 3 search words in order: the number of search inputs corresponding to xiaojust, xiaoyang and xiaohui is 5000, 4000 and 3000 respectively, and the concentration of "xiaojust" is 5000/(5000+4000+3000) =0.4167 and is lower than the threshold value 0.8, so that it is determined that the search intention does not converge on the search word 1 in the search candidate information.
When the reported information is "xiaogangxue", the obtained search candidate information comprises 3 search words in sequence: the number of search inputs corresponding to the small preschool length, the small preschool length daily period and the small preschool length wedding period is 5000, 100 and 10, respectively, and the concentration of the "small preschool length" is 5000/(5000+100+10) = 0.97857, and is higher than the threshold value of 0.8, so that it is determined that the search intention converges on the search word 1 in the search candidate information.
Step 1004, the server determines whether the search word 1 has a corresponding recommended word (referred to as recommended search information). If so, then step 1006 is performed; if not, step 1005 is performed.
It should be noted that, the server side performs word matching on the search word 1 in the recommendation table (referred to as each similar character string combination and each homonymy character string combination), so as to determine whether the search word 1 has a corresponding recommendation word. When the mapping record corresponding to the search word 1 is determined to be included in the recommendation table, judging that the search word 1 has a corresponding recommendation word, and taking the word corresponding to the search word 1 in the mapping record as the recommendation word; when it is determined that the mapping record corresponding to the search word 1 is not included in the recommendation table, it is determined that the search word 1 does not have a corresponding recommendation word.
In the embodiment of the application, each mapping record in the recommendation table is a recommendation mapping of two search words, such as 'little-just-learned-dar talk'; the establishment of the recommendation mapping of the two search words comprises two aspects. On one hand, establishing recommendation mapping of two search words based on the same category aiming at the collected open data of each application platform; for example, the content making objects "small rigid student" and "dapeople say car" in the short video platform are all in the category of "automobile evaluation", so that similar recommendation mapping of "small rigid student-dapeople say car" is established in the recommendation table. On the other hand, aiming at inputting big data, the probability of being input by the same object based on different information is larger than the appointed probability so as to establish a recommendation mapping representing the homomorphism relation; for example, in the search input data, the user who inputs 'Li four drum' in the search box of the short video platform inputs 'Zhang Sanji' at a higher rate (the probability of inputting is greater than the designated probability), thus, the same good recommendation mapping of 'Lifour-drum-Zhang Sanzhu' is established in the recommendation table.
Step 1005, the server returns search candidate information to enable the client to display: search term 1, search term 2, search term 3 … ….
In step 1006, the server inserts the recommended word between the search word 1 and the search word 2 in the search candidate information.
Step 1007, the server returns the inserted search candidate information (called a string sequence to be displayed) to enable the client to display: search term 1, recommended term, search term 2, search term 3 … ….
An exemplary description of information search based on the steps in fig. 10 is explained below by fig. 11 to 16.
Referring to fig. 11, fig. 11 is a schematic diagram illustrating an exemplary information search according to an embodiment of the present application; as shown in fig. 11, when receiving through the page 11-1 that the text that the user has input is "little rigid", the search candidate area 11-11 displays search candidate information generated based on "little rigid" for the short video application a; when the search intention is not converged to the "little rigid student" or the search intention is converged to the "little rigid student" but no corresponding recommended word exists in the search candidate information "little rigid student" and "little rigid student" generated by the input method, the search candidate information "little rigid student" and "little rigid student" generated by the input method are displayed on the input candidate region 11-12 of the input method; when the search intention is converged on 'little rigid student' and 'little rigid student' has a corresponding recommended word 'reaching a person to speak', search candidate information 'little rigid student', 'reaching a person to speak' and 'little rigid student' generated by the input method are displayed on the input candidate areas 11-12 of the input method; thus, the content related to the "primary school", such as the "primary school", can be searched, and the "driver can speak the car. Wherein, "the man says the car" corresponds to has the prompt message "the recommendation: in addition, when the input candidate region is limited and cannot be completely displayed, partial information and an omission mark are displayed, and the display of all the information can be triggered through the omission mark; of course, it can also be displayed by a sliding frame. Here, "dapeople say car" and "little just school length" are both content creation objects of the car evaluation category in the short video application a, so both are in a similar relationship.
Referring to fig. 12, fig. 12 is a second display schematic diagram of an exemplary information search according to an embodiment of the present application; as shown in fig. 12, when receiving the text input by the user as "Li Shiliu" through the page 12-1, the search candidate area 12-11 displays search candidate information generated based on "Li Shiliu" for the short video application; when the search intention is not converged to the "Li Shiliu school long" or the search intention is converged to the "Li Shiliu school long" but the "Li Shiliu school long" does not have the corresponding recommended word in the search candidate information "Li Shiliu school long", "Li Shiliu who", "Li Shiliu live" generated by the input method, the search candidate information "Li Shiliu school long", "Li Shiliu who" and "Li Shiliu live" generated by the input method are displayed on the input candidate region 12-12 of the input method; when the search intention is converged to "Li Shiliu schdule" and "Li Shiliu schdule" has the corresponding recommended words "small orange" and "Wang Shiqi", search candidate information "Li Shiliu schdule", "small orange", "Wang Shiqi", "Li Shiliu who" Li Shiliu live broadcast "generated by the input method is displayed on the input candidate region 12-12 of the input method; thus, content related to "Li Shiliu" such as "Li Shiliu scholar" can be searched, and "orange" and "Li Shiqi" can be searched. Wherein, "small orange" and "Li Shiqi" correspond to the prompt "referral: in addition, when the input candidate region is limited and cannot be completely displayed, partial information and an omission mark are displayed, and the display of all the information can be triggered through the omission mark; of course, it can also be displayed by a sliding frame. Here, "small oranges" and "Li Shiqi" and "Li Shiliu school long" are content creation objects of the short video application a, and the three are in the same-good relationship, i.e., users searching for "Li Shiliu school long" (referred to as objects or target objects) also search for "small oranges" and "Li Shiqi" in a higher proportion (referred to as same-good probability greater than a specified probability).
Referring to fig. 13, fig. 13 is a third display diagram of an exemplary information search provided by an embodiment of the present application; as shown in fig. 13, when receiving that the text input by the user is "Zhang Sanqi" through the page 13-1, the search candidate area 13-11 displays search candidate information generated for the short video application B based on "Zhang Sanmeng"; when search candidate information 'Zhang Sanzhu' and 'Zhang Sanzhu live broadcast' generated by the input method are not converged to 'Zhang Sanzhu', or the search intention is converged to 'Zhang Sanzhu' but no corresponding recommended word, search candidate information 'Zhang Sanzhu' and 'Zhang Sanzhu live broadcast' generated by the input method are displayed on an input candidate area 13-12 of the input method; when the search intention is converged on 'Zhang Sanzhu' and 'Zhang Sanzhu' has the corresponding recommended word 'Jin Maowang five', search candidate information 'Zhang Sanzhu', 'Jin Maowang five' and 'Zhang Sanzhu live broadcast' generated by the input method are displayed on an input candidate area 13-12 of the input method; thus, the content related to Zhang Sanlovely and the like can be searched, and the content related to Zhang Sanlovely and the like can be searched as well as the content related to Zhang Sanlovely and the like can be searched for. Wherein, "Jin Maowang five" corresponds to the prompt "referring to: in addition, when the input candidate region is limited and cannot be completely displayed, partial information and an omission mark are displayed, and the display of all the information can be triggered through the omission mark; of course, it can also be displayed by a sliding frame. Here, "Zhang Sanlovely pet" and "Jin Maowang five" are content creation objects of the pet category in the short video application B, so the two are in a similar relationship.
Referring to fig. 14, fig. 14 is a display diagram of an exemplary information search provided by an embodiment of the present application; as shown in fig. 14, when receiving the text "Liu Liu say" which has been input by the user through the page 14-1, the search candidate area 14-11 displays search candidate information generated for the short video application D based on "Liu Liu say"; when the search intention is not converged to the "Liu Liu car speaking" or the search intention is converged to the "Liu Liu car speaking" but the "Liu Liu car speaking" does not have the corresponding recommended word in the search candidate information "Liu Liu car speaking" and "Liu Liu car speaking live broadcast" generated by the input method, the search candidate information "Liu Liu car speaking" and "Liu Liu car speaking live broadcast" generated by the input method are displayed on the input candidate region 14-12 of the input method; when the search intention is converged to "Liu Liu say car" and "Liu Liu say car" has the corresponding recommended word "Xiaoming mr", then the search candidate information "Liu Liu say car", "Xiaoming mr" and "Liu Liu say car live broadcast" generated by the input method is displayed on the input candidate region 14-12 of the input method; thus, the content related to "Liu Liu say car" and the like can be searched, and the content related to "small teacher" can be searched. Wherein, "Xiaoming mr" corresponds to the prompt message "referring to: in addition, when the input candidate region is limited and cannot be completely displayed, partial information and an omission mark are displayed, and the display of all the information can be triggered through the omission mark; of course, it can also be displayed by a sliding frame. Here, "Liu Liu says that the car" and "small teacher" are content creation objects of the car evaluation category in the short video application D, so that both are in a similar relationship.
Referring to fig. 15, fig. 15 is a fifth display schematic diagram of an exemplary information search provided by an embodiment of the present application; as shown in fig. 15, when receiving through the page 15-1 that the text that the user has input is "litz", the search candidate area 15-11 displays search candidate information generated based on "litz" for the short video application E; when the search intention is not converged to "Li four" or the search intention is converged to "Li four" but no corresponding recommended word is not found in the search candidate information "Li four", "Li four skin care" and "Li four video" generated by the input method, the search candidate information "Li four", "Li four skin care" and "Li four video" generated by the input method is displayed on the input candidate region 15-12 of the input method; when the search intention is converged on 'Liqu' and 'Liqu' has the corresponding recommended word 'Xiaobai', search candidate information 'Liqu', 'Xiaobai', 'Liqu skin care' and 'Liqu video' generated by the input method are displayed on the input candidate area 15-12 of the input method; thus, the content related to 'Liqu' and the like can be searched, and the content related to 'Xiaobai' can be searched. Wherein, the "xiaobai" corresponds to the prompting information "referring to: in addition, when the input candidate region is limited and cannot be completely displayed, partial information and an omission mark are displayed, and the display of all the information can be triggered through the omission mark; of course, it can also be displayed by a sliding frame. Here, "litu" and "xiaobai" are content creation objects in the short video application E, so both are in a similar relationship.
Referring to fig. 16, fig. 16 is a display diagram six of an exemplary information search provided by an embodiment of the present application; as shown in fig. 16, when receiving through the page 16-1 that the text that the user has input is "li four", the search candidate area 16-11 displays search candidate information generated based on "Li Lisi" for the live application F; when the search intention is not converged to "Li Lisi elite" or the search intention is converged to "Li Lisi elite" but "Li Lisi elite" does not have a corresponding recommended word in the search candidate information "Li Lisi elite" generated by the input method, the search candidate information "Li Lisi elite" generated by the input method is displayed on the input candidate area 16-12 of the input method; when the search intention is converged on 'Li Lisi elite' and 'Li Lisi elite' has a corresponding recommended word 'small white six', search candidate information 'Li Lisi elite' and 'small white six' generated by the input method are displayed on an input candidate area 16-12 of the input method; thus, the content related to "Li Lisi elite" and the like can be searched, and the content related to "xiaobailiu" can be searched. Wherein, the 'Xiaobaixiao' corresponds to the 'prompting message': in addition, when the input candidate region is limited and cannot be completely displayed, partial information and an omission mark are displayed, and the display of all the information can be triggered through the omission mark; of course, it can also be displayed by a sliding frame. Here, "Li Lisi elite" and "small white six" are content authoring objects in live application F, and are in a good relationship, i.e., the user searching for "Li Lisi elite" also searches for "small white six" in a higher proportion.
It can be understood that, the information searching method provided by the embodiment of the application not only can search the searching candidate information corresponding to the text or key information input by the user, but also can search the related content of the recommended word belonging to the same category or the same good relation with the searching candidate information; therefore, the information searching range of the content consumption object can be improved, and the flexibility of information searching is improved; the accurate recommendation of the recommended words can be realized, and the information searching times of the recommended words can be reduced, so that the resource consumption in the information searching is reduced; but also can promote the content distribution efficiency in the information searching process.
Continuing with the description below of an exemplary structure of the information searching apparatus 455 implemented as a software module provided in an embodiment of the present application, in some embodiments, as shown in fig. 6, the software module stored in the information searching apparatus 455 of the memory 450 may include:
a region display module 4551 for displaying a search region in an information input state, wherein the information input state is a state in which information is received to be input;
an information input module 4552 for displaying input information in response to an input operation for the search region, and displaying search candidate information corresponding to the input information, which is candidate information semantically related to the input information, and recommended search information corresponding to the search candidate information, which is information to be recommended determined based on the search candidate information and semantically independent of the search candidate information;
And an information search module 4553 for displaying information search results searched based on the recommended search information in response to a selection operation for the recommended search information.
In an embodiment of the present application, the relationship between the recommended search information and the search candidate information includes at least one of: the recommended search information and the search candidate information belong to the same category; the recommended search information and the search candidate information are in a same-good relation, wherein the same-good relation indicates that the probability that different information is converted on the same object is larger than the designated probability.
In this embodiment of the present application, when the recommended search information and the search candidate information belong to the same category, the information search device 455 further includes a combination construction module 4554 configured to classify a plurality of to-be-processed strings to obtain a to-be-processed string set corresponding to each category; and determining the first appointed number of character strings to be processed selected from the character string set to be processed as the same-category character string combination, and obtaining each same-category character string combination corresponding to each category.
In this embodiment of the present application, the information input module 4552 is further configured to perform, in response to the input operation for the search region, string matching in each of the similar string combinations based on the search candidate information corresponding to the input information; and determining the character strings to be processed except the search candidate information in the matched similar character string combination as the recommended search information, and displaying the input information, the search candidate information and the recommended search information.
In this embodiment of the present application, the information input module 4552 is further configured to display the input information and the search candidate information when the string matching result indicates that the search candidate information does not match each of the similar string combinations.
In this embodiment of the present application, when the recommended search information and the search candidate information are in a good relationship, the information search device 455 further includes a combination construction module 4554 configured to obtain a plurality of conversion records, where each conversion record includes at least two conversion strings corresponding to a target object; obtaining a converted character string combination of the first appointed number of different information on the same target object from a plurality of conversion records, and obtaining the number of target objects corresponding to the converted character string combination; determining the homomorphism probability corresponding to the conversion character string combination based on the comparison result of the target object number and the record number of the plurality of conversion records; and combining the converted character string combinations with the homonymy probability larger than the appointed probability to obtain each homonymy character string combination.
In this embodiment of the present application, the information input module 4552 is further configured to perform, in response to the input operation for the search region, string matching in each of the homonymous string combinations based on the search candidate information corresponding to the input information; and in the matched homomorphic character string combination, determining conversion character strings except the search candidate information as the recommended search information, and displaying the input information, the search candidate information and the recommended search information.
In the embodiment of the application, the input information comprises at least one of key information, to-be-input search information and input search information, wherein the key information is information corresponding to a key triggered by the input operation, the to-be-input search information is information corresponding to the key information determined based on an input information type, and the input search information is information in the search area; the search candidate information includes at least one of inputted candidate information and candidate information to be inputted; the input candidate information is candidate information generated based on the input search information, the candidate information to be input refers to candidate information generated based on candidate basis information, and the candidate basis information comprises at least one of the key information, the search information to be input and the input search information.
In the embodiment of the present application, the information input module 4552 is further configured to, in response to the input operation for the search area triggering an input control, display the input information, and display, in an input candidate area in the input control, the search candidate information corresponding to the input information and the recommended search information corresponding to the search candidate information; the input control is used for acquiring information to be searched for the search area, and the input candidate area is used for displaying information generated based on key information corresponding to the input control.
In an embodiment of the present application, when the input information includes input search information, the information input module 4552 is further configured to display the input information in the search area and display the search candidate information corresponding to the input information and the recommended search information corresponding to the search candidate information in a search candidate area corresponding to the search area in response to the input operation for the search area; wherein the search candidate area is for displaying information generated based on the input search information.
In an embodiment of the present application, the information input module 4552 is further configured to obtain the search candidate information corresponding to the input information in response to the input operation of triggering an input control for the search region; determining a second appointed number of candidate character strings selected from the search candidate information as character strings to be judged; obtaining a search intention value corresponding to the character string to be judged, wherein the search intention value represents the degree of search intention reflected by the character string to be judged; and displaying the input information, the search candidate information, and the recommended search information when the search intention value is greater than a specified search intention value.
In the embodiment of the present application, the information input module 4552 is further configured to cancel acquisition of the recommended search information when the search intention value is less than or equal to the specified search intention value.
In the embodiment of the present application, the information input module 4552 is further configured to obtain a search frequency corresponding to each candidate character string in the character strings to be determined, so as to obtain a search frequency to be determined corresponding to the character strings to be determined, where the search frequency to be determined is an accumulated value of at least one search frequency; acquiring the total search frequency corresponding to the search candidate information; and determining the search intention value corresponding to the character string to be judged based on the comparison result of the search times to be judged and the total search frequency.
In this embodiment of the present application, the information input module 4552 is further configured to insert the recommended search information between the to-be-determined character string and a remaining character string in the search candidate information to obtain a to-be-displayed character string sequence when the search intention value is greater than the specified search intention value, where the remaining character string refers to a character string in the recommended search information other than the to-be-determined character string; and displaying the input information and the character string sequence to be displayed.
In the embodiment of the present application, the information search module 4553 is further configured to display the recommended search information in the search area in response to the selection operation for the recommended search information; displaying the information search result searched based on the recommended search information in response to a search operation for the search area in which the recommended search information is displayed.
In an embodiment of the present application, the information search module 4553 is further configured to display the input search information in the search region in place of the recommended search information in response to the selection operation for the recommended search information.
In the embodiment of the present application, the information input module 4552 is further configured to obtain the input information in response to the input operation for the search region; acquiring candidate character strings or character string key information from each piece of data of a designated search candidate library, wherein the candidate character strings or character string key information comprises at least one candidate character string of the input information and a search frequency corresponding to each candidate character string in at least one search character, and each piece of data of the designated search candidate library comprises the candidate character strings, the character string key information and the search frequency; determining the candidate character strings with the search frequency greater than a designated search frequency as the search candidate information in at least one candidate character string; and displaying the input information, the search candidate information and the recommended search information.
In this embodiment of the present application, the combination construction module 4554 is further configured to obtain the string key information and the search frequency corresponding to each of the candidate strings; and combining the character string key information corresponding to each candidate character string with the search frequency to obtain the appointed search candidate library corresponding to a plurality of candidate character strings.
Embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. A processor of a computer device (referred to as an information search device) reads the computer instructions from a computer-readable storage medium, and the processor executes the computer instructions so that the computer device performs the information search method described above according to the embodiment of the present application.
An embodiment of the present application provides a computer-readable storage medium storing executable instructions that, when executed by a processor, cause the processor to perform an information search method provided by an embodiment of the present application, for example, an information search method as shown in fig. 7.
In some embodiments, the computer readable storage medium may be FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; but may be a variety of devices including one or any combination of the above memories.
In some embodiments, the executable instructions may be in the form of programs, software modules, scripts, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and they may be deployed in any form, including as stand-alone programs or as modules, components, subroutines, or other units suitable for use in a computing environment.
As an example, the executable instructions may, but need not, correspond to files in a file system, may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a hypertext markup language (HTML, hyper Text Markup Language) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
As an example, the executable instructions may be deployed to be executed on one computer device (at this time, the one computer device is an information search device) or on a plurality of computer devices located at one place (at this time, the plurality of computer devices located at one place is an information search device), or on a plurality of computer devices distributed at a plurality of places and interconnected by a communication network (at this time, the plurality of computer devices distributed at a plurality of places and interconnected by a communication network is an information search device).
It can be appreciated that in the embodiment of the present application, related data such as a plurality of character strings to be processed, a plurality of conversion character strings, search frequencies, etc. are involved, when the embodiment of the present application is applied to a specific product or technology, user permission or consent needs to be obtained, and the collection, use and processing of related data need to comply with related laws and regulations and standards of related countries and regions.
In summary, in the embodiment of the present application, when an input operation for a search area is received, not only the input information corresponding to the input operation and the candidate information related to the input information semantically are displayed, but also the information to be recommended, which is determined based on the input information and has a semantic independent of the input information, is displayed; therefore, the diversity of the display information corresponding to the input information is improved; therefore, when information searching is performed based on the recommended search information, the information searching range can be enlarged, and the information searching effect can be improved.
The foregoing is merely exemplary embodiments of the present application and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and scope of the present application are included in the protection scope of the present application.

Claims (20)

1. An information search method, the method comprising:
displaying a search area in an information input state, wherein the information input state refers to a state of receiving information input;
displaying input information in response to an input operation for the search area, and displaying search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information, wherein the search candidate information is candidate information semantically related to the input information, and the recommended search information is recommendation information which is determined based on the search candidate information and has semantics independent of the search candidate information;
and displaying information search results searched based on the recommended search information in response to a selection operation for the recommended search information.
2. The method of claim 1, wherein the relationship between the recommended search information and the search candidate information comprises at least one of:
The recommended search information and the search candidate information belong to the same category;
the recommended search information and the search candidate information are in a same-good relation, wherein the same-good relation indicates that the probability that different information is converted on the same object is larger than the designated probability.
3. The method according to claim 1 or 2, wherein when the recommended search information and the search candidate information belong to the same category, the method further comprises, in response to an input operation for the search area, before displaying input information and search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information:
classifying the plurality of character strings to be processed to obtain a character string set to be processed corresponding to each category;
determining a first appointed number of character strings to be processed selected from the character string set to be processed as a same-category character string combination, and obtaining each same-category character string combination corresponding to each category;
the displaying input information in response to an input operation for the search area, and displaying search candidate information corresponding to the input information, and recommended search information corresponding to the search candidate information, includes:
Performing character string matching in each of the similar character string combinations based on the search candidate information corresponding to the input information in response to the input operation for the search area;
and determining the character strings to be processed except the search candidate information in the matched similar character string combination as the recommended search information, and displaying the input information, the search candidate information and the recommended search information.
4. The method according to claim 3, wherein said responding to said input operation for said search area, based on said search candidate information corresponding to said input information, after performing character string matching in each of said homogeneous character string combinations, said method further comprises:
and when the character string matching result shows that the search candidate information is not matched with each similar character string combination, displaying the input information and the search candidate information.
5. The method according to claim 1 or 2, wherein when the recommended search information is in a homonymy with the search candidate information, the method further comprises, in response to an input operation for the search area, before displaying input information and displaying search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information:
Obtaining a plurality of conversion records, wherein each conversion record comprises at least two conversion character strings corresponding to a target object;
obtaining a converted character string combination of the first appointed number of different information on the same target object from a plurality of conversion records, and obtaining the number of target objects corresponding to the converted character string combination;
determining the homomorphism probability corresponding to the conversion character string combination based on the comparison result of the target object number and the record number of the plurality of conversion records;
combining the converted character string combinations with the homonymy probability larger than the appointed probability to obtain each homonymy character string combination;
the displaying input information in response to an input operation for the search area, and displaying search candidate information corresponding to the input information, and recommended search information corresponding to the search candidate information, includes:
responding to the input operation aiming at the search area, and carrying out character string matching in each homonymous character string combination based on the search candidate information corresponding to the input information;
and in the matched homomorphic character string combination, determining conversion character strings except the search candidate information as the recommended search information, and displaying the input information, the search candidate information and the recommended search information.
6. The method according to claim 1 or 2, wherein the input information includes at least one of key information, search information to be input, and input search information, wherein the key information is information corresponding to a key triggered by the input operation, the search information to be input is information corresponding to the key information determined based on an input information type, and the input search information is information in the search area;
the search candidate information includes at least one of inputted candidate information and candidate information to be inputted; the input candidate information is candidate information generated based on the input search information, the candidate information to be input refers to candidate information generated based on candidate basis information, and the candidate basis information comprises at least one of the key information, the search information to be input and the input search information.
7. The method according to claim 1 or 2, wherein the displaying input information in response to an input operation for the search area and displaying search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information includes:
In response to the input operation of triggering an input control for the search area, displaying the input information, and displaying the search candidate information corresponding to the input information and the recommended search information corresponding to the search candidate information in an input candidate area in the input control;
the input control is used for acquiring information to be searched for the search area, and the input candidate area is used for displaying information generated based on key information corresponding to the input control.
8. The method according to claim 1 or 2, wherein when the input information includes input search information, the displaying input information in response to an input operation for the search area, and displaying search candidate information corresponding to the input information, and recommended search information corresponding to the search candidate information, includes:
in response to the input operation for the search area, displaying the input information in the search area, and displaying the search candidate information corresponding to the input information and the recommended search information corresponding to the search candidate information in a search candidate area corresponding to the search area;
Wherein the search candidate area is for displaying information generated based on the input search information.
9. The method according to claim 1 or 2, wherein the displaying input information in response to an input operation for the search area and displaying search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information includes:
in response to the input operation of triggering an input control for the search area, obtaining the search candidate information corresponding to the input information;
determining a second appointed number of candidate character strings selected from the search candidate information as character strings to be judged;
obtaining a search intention value corresponding to the character string to be judged, wherein the search intention value represents the degree of search intention reflected by the character string to be judged;
and displaying the input information, the search candidate information, and the recommended search information when the search intention value is greater than a specified search intention value.
10. The method of claim 9, wherein after the obtaining the search intention value corresponding to the character string to be determined, the method further comprises:
And when the search intention value is smaller than or equal to the specified search intention value, canceling the acquisition of the recommended search information.
11. The method of claim 9, wherein the obtaining the search intent value corresponding to the string to be determined includes:
obtaining search frequencies corresponding to each candidate character string in the character strings to be judged, and obtaining search frequencies to be judged corresponding to the character strings to be judged, wherein the search frequencies to be judged are accumulated values of at least one search frequency;
acquiring the total search frequency corresponding to the search candidate information;
and determining the search intention value corresponding to the character string to be judged based on the comparison result of the search times to be judged and the total search frequency.
12. The method of claim 9, wherein the displaying the input information, the search candidate information, and the recommended search information when the search intention value is greater than a specified search intention value comprises:
when the search intention value is larger than the appointed search intention value, inserting the recommended search information between the character string to be judged and the rest character strings in the search candidate information to obtain a character string sequence to be displayed, wherein the rest character strings refer to character strings except the character string to be judged in the recommended search information;
And displaying the input information and the character string sequence to be displayed.
13. The method according to claim 1 or 2, wherein the displaying information search results searched based on the recommended search information in response to a selection operation for the recommended search information includes:
displaying the recommended search information in the search area in response to the selection operation for the recommended search information;
displaying the information search result searched based on the recommended search information in response to a search operation for the search area in which the recommended search information is displayed.
14. The method of claim 13, wherein when the input information includes input search information, the displaying the recommended search information in the search area in response to the selection operation for the recommended search information comprises:
in response to the selection operation for the recommended search information, the entered search information is displayed in the search area in place of the recommended search information.
15. The method according to claim 1 or 2, wherein the displaying input information in response to an input operation for the search area and displaying search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information includes:
Obtaining the input information in response to the input operation for the search area;
acquiring candidate character strings or character string key information from each piece of data of a designated search candidate library, wherein the candidate character strings or character string key information comprises at least one candidate character string of the input information and a search frequency corresponding to each candidate character string in at least one search character, and each piece of data of the designated search candidate library comprises the candidate character strings, the character string key information and the search frequency;
determining the candidate character strings with the search frequency greater than a designated search frequency as the search candidate information in at least one candidate character string;
and displaying the input information, the search candidate information and the recommended search information.
16. The method of claim 15, wherein the obtaining candidate strings or string key information from each piece of data of the designated search candidate library includes at least one candidate string of the input information and a search frequency corresponding to each of the candidate strings in at least one of the search characters, the method further comprising:
Acquiring the character string key information and the search frequency corresponding to each candidate character string of a plurality of candidate character strings;
and combining the character string key information corresponding to each candidate character string with the search frequency to obtain the appointed search candidate library corresponding to a plurality of candidate character strings.
17. An information search apparatus, characterized in that the information search apparatus includes:
the area display module is used for displaying a search area in an information input state, wherein the information input state is a state of receiving information input;
an information input module for displaying input information in response to an input operation for the search area, and displaying search candidate information corresponding to the input information and recommended search information corresponding to the search candidate information, wherein the search candidate information is candidate information semantically related to the input information, and the recommended search information is information to be recommended which is determined based on the search candidate information and has a semantic independent of the search candidate information;
and the information searching module is used for responding to the selection operation of the recommended search information and displaying information search results searched based on the recommended search information.
18. An information search apparatus, characterized in that the information search apparatus includes:
a memory for storing executable instructions;
a processor for implementing the information search method of any one of claims 1 to 16 when executing executable instructions stored in the memory.
19. A computer readable storage medium storing executable instructions for implementing the information search method of any one of claims 1 to 16 when executed by a processor.
20. A computer program product comprising a computer program or instructions which, when executed by a processor, implements the information search method of any one of claims 1 to 16.
CN202210441871.1A 2022-04-25 2022-04-25 Information searching method, device, equipment, storage medium and program product Pending CN116991250A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210441871.1A CN116991250A (en) 2022-04-25 2022-04-25 Information searching method, device, equipment, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210441871.1A CN116991250A (en) 2022-04-25 2022-04-25 Information searching method, device, equipment, storage medium and program product

Publications (1)

Publication Number Publication Date
CN116991250A true CN116991250A (en) 2023-11-03

Family

ID=88532620

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210441871.1A Pending CN116991250A (en) 2022-04-25 2022-04-25 Information searching method, device, equipment, storage medium and program product

Country Status (1)

Country Link
CN (1) CN116991250A (en)

Similar Documents

Publication Publication Date Title
US11157490B2 (en) Conversational virtual assistant
US9672201B1 (en) Learning parsing rules and argument identification from crowdsourcing of proposed command inputs
US11093711B2 (en) Entity-specific conversational artificial intelligence
CN110770694B (en) Obtaining response information from multiple corpora
US20170337261A1 (en) Decision Making and Planning/Prediction System for Human Intention Resolution
CN104969173B (en) Adaptive dialog state management method and system for dynamic application filter operator
WO2017151400A1 (en) Interpreting and resolving conditional natural language queries
US20120016661A1 (en) System, method and device for intelligent textual conversation system
CN109804364A (en) Knowledge mapping constructs system and method
KR20190016653A (en) System and method for providing intelligent counselling service
CA2823835C (en) Voice search and response based on relevancy
JP2017505964A (en) Automatic task classification based on machine learning
KR102169382B1 (en) Artificial Intelligence-Based Personalized Expert Cross Matching and Proposal System
US9524320B2 (en) Collection and storage of a personalized, searchable, unstructured corpora
US20150309988A1 (en) Evaluating Crowd Sourced Information Using Crowd Sourced Metadata
US11922209B2 (en) Invoking functions of agents via digital assistant applications using address templates
US11651039B1 (en) System, method, and user interface for a search engine based on multi-document summarization
CN111316276A (en) Using distributed state machines with automated assistants for human-machine conversation to protect private data
CN110692042A (en) Platform selection to perform requested actions in an audio-based computing environment
US11328181B2 (en) Knowledge graph-based query in artificial intelligence chatbot with base query element detection and graph path generation
Georgiev et al. Methodology for creating new scenes through the use of thematic relations for innovative designs
US20140351232A1 (en) Accessing enterprise data using a natural language-based search
JP2020021489A (en) Area-based item recommendation device and method
US20230244862A1 (en) Form processing method and apparatus, device, and storage medium
WO2023040516A1 (en) Event integration method and apparatus, and electronic device, computer-readable storage medium and computer program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination