Interaction method, device, electronic device and storage medium

By performing real-time detection and preset search logic processing on the information entered by the user on the target page in social applications, the interaction troubles when the user enters preset recognition characters but has no intention to mention, and the user experience is improved.

CN114063795BActive Publication Date: 2025-04-25BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111384435.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-18
Publication Date
2025-04-25
Estimated Expiration
2041-11-18

AI Technical Summary

Technical Problem

Existing social applications will cause trouble to the user and affect normal input when users enter preset recognition characters (such as @) but do not mention the needs of other users.

Method used

After the user enters the preset recognition characters on the target page, the input target information is checked in real time to determine whether the preset conditions are met. If it does not match, execute the preset search logic, determine the search results, and display the results in the associated location of the target page.

Benefits of technology

By judging the user's true intentions, avoid unnecessary searches and results display, improve the user's interactive experience and reduce interference with user input operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114063795B_ABST
    Figure CN114063795B_ABST
Patent Text Reader

Abstract

The embodiment of the present disclosure discloses an interactive method, device, electronic device and storage medium, the method comprising: after the current user inputs a preset recognition character on the target page, real-time detection of the target information input by the current user is performed to determine whether the current target information meets the preset condition; when the current target information does not meet the preset condition, a preset search logic is executed based on the target information to determine the search result, and the search result is displayed at the associated position of the target information in the target page. The interactive method provided by the present disclosure achieves the purpose of automatic search and helps to improve the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of information technology, and in particular to an interaction method, device, electronic device and storage medium. Background Art

[0002] With the rapid development of terminal technology and network technology, more and more social applications have emerged, based on which different users can interact online.

[0003] In some social applications, when the current user wants to mention another user, he needs to enter a set character in the input box, such as @. After the current user enters the character @, the social application will automatically search based on the user's input to provide the current user with a candidate list, making it convenient for the current user to quickly find the target user he wants to mention.

[0004] However, when the current user inputs the character @ but does not mention the needs of other users, the existing interaction method will cause certain troubles to the current user and affect the normal input of the current user. Summary of the invention

[0005] In order to solve the above technical problems or at least partially solve the above technical problems, the embodiments of the present disclosure provide an interaction method, device, electronic device and storage medium, which are helpful to improve the user experience.

[0006] In a first aspect, an embodiment of the present disclosure provides an interaction method, the method comprising:

[0007] After the current user inputs the preset recognition characters on the target page, the target information input by the current user is detected in real time to determine whether the current target information meets the preset conditions;

[0008] When the current target information does not meet the preset condition, executing the preset search logic based on the target information to determine the search result;

[0009] The search result is displayed at a location associated with the target information in the target page.

[0010] In a second aspect, an embodiment of the present disclosure further provides an interactive device, the device comprising:

[0011] A detection module, used to perform real-time detection on the target information input by the current user after the current user inputs the preset recognition characters on the target page, so as to determine whether the current target information meets the preset conditions;

[0012] A search module, configured to execute a preset search logic based on the target information to determine a search result when the current target information does not meet the preset condition;

[0013] The display module is used to display the search result at a location associated with the target information in the target page.

[0014] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:

[0015] one or more processors;

[0016] A storage device for storing one or more programs;

[0017] When the one or more programs are executed by the one or more processors, the one or more processors implement the interaction method as described above.

[0018] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, which implements the above-mentioned interaction method when executed by a processor.

[0019] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has at least the following advantages:

[0020] The interactive method provided by the embodiment of the present disclosure performs real-time detection on the target information input by the current user after the current user inputs preset recognition characters on the target page to determine whether the current target information meets the preset conditions; when the current target information does not meet the preset conditions, performs preset search logic based on the target information to determine search results, and displays the search results at the associated position of the target information in the target page. This technical means realizes that after the current user inputs preset recognition characters on the target page, automatic search is performed and search results are displayed only when the target information input by the current user in real time does not meet the preset conditions. Whether the user really has the search intention is judged by whether it meets the preset conditions, which can facilitate the user's next operation and bring a better interactive experience to the user. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0022] Figure 1 is a flow chart of an interaction method in an embodiment of the present disclosure;

[0023] Figure 2 is a schematic diagram of an interactive interface in an embodiment of the present disclosure;

[0024] Figure 3is a schematic diagram of the structure of an interactive device in an embodiment of the present disclosure;

[0025] Figure 4 It is a structural schematic diagram of an electronic device in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0026] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0027] It should be understood that the various steps described in the method embodiments of the present disclosure can be performed in different orders and in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0028] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0029] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0030] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0031] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0032] Figure 1The flowchart of an interactive method in an embodiment of the present disclosure is shown in FIG. The method can be executed by an interactive device, which can be implemented in software and / or hardware, and can be configured in an electronic device, such as a display terminal, specifically including but not limited to smart phones, PDAs, tablet computers, portable wearable devices, smart home devices (such as desk lamps) and other electronic devices with display screens.

[0033] like Figure 1 As shown, the method may specifically include the following steps:

[0034] Step 110: After the current user inputs preset recognition characters on the target page, the target information input by the current user is detected in real time to determine whether the current target information meets the preset conditions.

[0035] Among them, the preset identification character can be pre-specified and written into the code of the application. Exemplarily, the target page can be a page including a comment input area, a page including a work text content input area, or a conversation page, etc. The preset identification character can be "@". When the current user uses the application, after entering the preset identification character "@" in the input area (such as an input box) of the interactive interface, the application will think that the current user has the intention to search for users, and the application automatically executes the preset search logic, determines the search results, and displays the search results on the interactive interface to facilitate the user to quickly select the results they want. After the current user selects the mentioned user, that is, the @ user, the @ user will receive a notification message. In the prior art, especially when the application supports fuzzy matching, when the user enters "@" not for search intentions, the application still executes the preset search logic and displays the search results, which will reduce the user experience.

[0036] In this embodiment, the current user can enter information related to the target result he wants after the preset recognition character "@". For example, in the scenario of @ other users (i.e., mentioning other users), the target information can be the nicknames of other users that the current user wants to mention. When the application detects that the current user continues to enter the target information after entering the preset recognition character "@", the target information entered by the current user is detected in real time to determine whether the current target information meets the preset conditions. Among them, the preset conditions are used to indicate whether the current user does not have a search intention based on the preset search logic. When the current user has the above-mentioned search intention, the search intention based on the preset search logic is the intention to search for users based on user nicknames. That is, if the preset conditions are not met, the search continues based on the target information entered by the current user to display a list of other users that the current user wants to mention to the current user, so that the current user can quickly find other users that he wants to mention from the list, thereby improving the user experience.

[0037] Step 120: When the current target information does not meet the preset condition, execute the preset search logic based on the target information to determine the search result.

[0038] When the current target information does not meet the preset condition, it indicates that the current user has the above-mentioned search intention. At this time, the preset search logic is executed based on the target information to determine the search result.

[0039] Specifically, the target information that the current user continues to input after inputting the preset recognition character “@” may represent the current user’s true intention of inputting the preset recognition character “@”. The first case is that the current user’s true intention of inputting the preset recognition character “@” is that the current user wants to search for the target result, such as searching for other users that the current user wants to mention. At this time, the target information that continues to be input after the preset recognition character “@” is used to represent the relevant information of the other users that the current user wants to mention. For example, the target information is the first character, the second character, or all of the nicknames of the other users that the current user wants to mention, so as to assist the application in searching for the other users that the current user wants to mention. The second case is that the current user’s true intention of inputting the preset recognition character “@” is to use it only as the character “@”, and has no intention of mentioning other users.

[0040] Obviously, for the second case, the application should no longer search based on the target information after the preset recognition character "@" to avoid wasting the terminal's system resources, and should no longer display the search results to avoid inconvenience to the current user, such as hindering the current user's input operation. In summary, in order to improve the user's interactive experience, it is necessary to determine the current user's true intention to decide whether to execute the preset search logic based on the current user's true intention.

[0041] Exemplarily, when the current target information does not meet the preset conditions, the preset search logic is executed based on the target information to determine the search results, and the search results are displayed at the associated position of the target information in the target page; when it is detected that the target information meets the preset conditions, the execution of the preset search logic is canceled, and the search results are hidden when the search results are displayed in the target page, so as to avoid inconvenience to the current user caused by the display of the search results and reduce interference to the current user, such as hindering the current user's input operations, hindering the current user from browsing the area covered by the search results, etc.

[0042] In some optional implementations, determining whether the current target information meets a preset condition includes: inputting the current target information into a preset network model to determine whether the current target information meets the preset condition through the preset network model.

[0043] Specifically, the preset network model is used to determine whether the current user has a search intention based on a preset search logic. If the current user has the above search intention, it is determined that the target information does not meet the preset conditions. At this time, the preset search logic is executed and the search results are displayed to help the current user quickly find the results he wants, which meets the interaction needs of the current user; if the current user does not have a search intention, it is determined that the target information meets the preset conditions. At this time, the preset search logic is not executed and the search results are not displayed to prevent the display of search results from causing interference and inconvenience to the current user, which meets the input needs of the current user and achieves the purpose of improving the interactive experience.

[0044] Exemplarily, the inputting the current target information into a preset network model to determine whether the current target information meets the preset conditions through the preset network model includes: obtaining a judgment condition based on the current target information, and inputting the judgment condition into the preset network model to determine whether the current target information meets the preset conditions through the preset network model.

[0045] Among them, the judgment condition includes at least one of the following: characters included in the target information; the total length of the target information. Specifically, the preset network model can be used to determine whether the characters included in the target information include preset characters, and the preset characters are characters preset based on the search intent and unrelated to the preset search logic. Exemplarily, the target information includes preset characters, and the preset characters are, for example, characters that cannot be included according to the preset search logic. For example, when the preset search logic is to search for users based on user nicknames, and the target information includes emoticon characters that cannot be included in the user nickname, it can be determined that the real intention of the current user to enter the preset recognition character "@" is not to mention other users, or the current user has no search intention to search for other users. At this time, it is determined that the target information meets the preset conditions and the preset search logic is canceled. If the target information before the current user enters the emoticon character does not meet the preset conditions, a search result list is displayed on the interactive interface. After the current user enters the emoticon character, the search result list is hidden, that is, the display of the search result list is canceled, and the search result list is no longer displayed.

[0046] In another embodiment, when it is detected that the total length of the target information reaches a threshold, the threshold can be determined according to a preset network model. When the total length of the target information is too large, it can be determined that the current user has no search demand. At this time, the application in the prior art still provides search results through fuzzy matching, but in fact, when the current user enters the first few characters, if the correct target user is matched, the target user to be mentioned is usually selected. Therefore, it can be determined that the current user's true intention of entering the preset recognition character "@" is not to mention other users, or the current user has no search intention. At this time, it is determined that the target information meets the preset conditions, and the execution of the preset search logic is canceled.

[0047] Step 130: Display the search result at a location associated with the target information in the target page.

[0048] Exemplarily, displaying the search results at a position associated with the target information in the target page includes: displaying the search results at a position associated with an input area of ​​the target information, wherein the input area is used to input the target information to facilitate the current user to select the target result he wants from the search results.

[0049] The interactive method provided by the embodiment of the present disclosure, when it is determined that the current user has a search intention, searches based on the target information input after the preset recognition characters, and displays the search results; as the user continues to input the target information, when it is determined based on the target information that the current user has no search intention, the preset search logic is canceled and the displayed search results are hidden, thereby avoiding inconvenience to the current user's interactive operations and achieving the purpose of improving the interactive experience.

[0050] Based on the above embodiments, Figure 2 The schematic diagram of an interactive interface shown in the figure displays the search results at the associated position of the target information in the target page, including: displaying the search results 210 at the associated position of the input area 220 of the target information, and the input area 220 is used to input the target information. The current user can enter the nickname of other users that he wants to mention in the input area 220, and the search results 210 are displayed above the input area 220, so that the current user can select the user that meets the expectations from the search results 210. The search results 210 can specifically be the user's avatar and nickname.

[0051] Further, in some embodiments, executing a preset search logic based on the target information to determine the search results includes: searching for user information based on the target information to obtain search results including the user information; wherein the user information is, for example, a user's nickname. Specifically, the target information and the user's nickname may be fuzzy matched, and the user whose nickname has a high matching degree with the target information may be used as the search result.

[0052] Optionally, before executing the preset search logic, the method further includes: determining candidate users whose interaction frequency with the current user reaches a frequency threshold; and determining and displaying the search results based on the candidate users. Specifically, after the current user enters @ and before entering the target information, the application automatically displays users with a higher interaction frequency with the current user as candidate users for the current user to select, so as to provide search results to the current user more quickly. The interaction frequency with the current user can be measured from the following dimensions, for example: the number of likes, comments, and reposts of videos posted by the current user; the number of likes, comments, and reposts of videos posted by another user by the current user; the frequency of private messages with the current user, etc.

[0053] Further, in some implementations, executing a preset search logic to determine search results includes:

[0054] Determine a candidate user whose user identification matches the target information to a degree greater than a preset threshold, and use the candidate user as the search result. That is, determine the search result based on the user identification.

[0055] Optionally, the candidate users may be first determined based on the user identifier, and then the candidate users may be screened for a second time based on the interaction frequency with the current user. Exemplarily, the execution of the preset search logic to determine the search results includes: determining the candidate users whose user identifiers match the target information to a degree greater than a preset threshold; and determining the search results based on the interaction frequency between the candidate users and the current user. For example, the candidate users are sorted in descending order of the interaction frequency, and a preset number of users ranked top are selected as search results, so that users with a higher interaction frequency with the current user are provided to the current user.

[0056] Figure 3 FIG. 1 is a schematic diagram of the structure of an interactive device in an embodiment of the present disclosure. Figure 3 As shown, the interaction device specifically includes: a detection module 310, a search module 320 and a display module 330.

[0057] Among them, the detection module 310 is used to perform real-time detection on the target information input by the current user after the current user inputs the preset recognition characters on the target page to determine whether the current target information meets the preset conditions; the search module 320 is used to execute the preset search logic based on the target information to determine the search results when the current target information does not meet the preset conditions; the display module 330 is used to display the search results at the associated position of the target information in the target page.

[0058] Optionally, it also includes: a hiding module, which is used to cancel the execution of the preset search logic when it is detected that the current target information meets the preset condition, and hide the search results when the search results are displayed in the target page.

[0059] Optionally, the detection module 310 includes: a first determination unit, configured to input the current target information into a preset network model to determine whether the current target information meets the preset condition through the preset network model. The preset network model is used to determine whether the current user has a search intention based on the preset search logic, and if the current user has a search intention, it is determined that the current target information does not meet the preset condition.

[0060] Optionally, the first determination unit is specifically used to: obtain a judgment condition based on the current target information, and input the judgment condition into the preset network model, so as to determine whether the current target information meets the preset condition through the preset network model; wherein the judgment condition includes at least one of the following: characters included in the target information, so as to determine whether the characters include preset characters through the preset network model, the preset characters are characters preset based on the search intent and unrelated to the preset search logic; the total length of the target information. Optionally, the display module is specifically used to: display the search results at an associated position of an input area of ​​the target information, and the input area is used to input the target information.

[0061] Optionally, the search module 320 includes a first search unit, configured to search for user information based on the target information to obtain search results including user information.

[0062] Optionally, the search module 320 includes a second search unit, configured to search for user information based on the target information to obtain search results including user information.

[0063] Optionally, it also includes: a determination module, which is used to determine candidate users whose interaction frequency with the current user reaches a frequency threshold before executing the preset search logic; and determine and display the search results based on the candidate users.

[0064] Optionally, the search module 320 includes a third search unit, which is used to determine a candidate user whose user identification matches the target information to a degree greater than a preset threshold; and use the candidate user as the search result.

[0065] Optionally, the search module 320 includes a fourth search unit, which is used to determine candidate users whose user identifications match the target information to a degree greater than a preset threshold; and determine the search results based on the interaction frequency between the candidate users and the current user.

[0066] The interactive device provided by the embodiment of the present disclosure, when determining that the current user has a search intention, searches based on the target information input after the preset recognition characters, and displays the search results; as the user continues to input the target information, when it is determined based on the target information that the current user has no search intention, the preset search logic is canceled and the displayed search results are hidden, thereby reducing the inconvenience and interference to the current user's interactive operations, thereby achieving the purpose of improving the interactive experience.

[0067] The interactive device provided in the embodiment of the present disclosure can execute the steps in the interactive method provided in the embodiment of the method of the present disclosure, and the execution steps and beneficial effects are no longer repeated here.

[0068] Figure 4 Schematic diagram of the structure of an electronic device in the embodiment of the present disclosure. Figure 4 , which shows a schematic diagram of the structure of an electronic device 400 suitable for implementing the embodiment of the present disclosure. The electronic device 400 in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), wearable electronic devices, etc., and fixed terminals such as digital TVs, desktop computers, smart home devices, etc. Figure 4 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0069] like Figure 4 As shown, the electronic device 400 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes to implement the method of the embodiment described in the present disclosure according to the program stored in the read-only memory (ROM) 402 or the program loaded from the storage device 408 to the random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the electronic device 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0070] Typically, the following devices may be connected to the I / O interface 405: an input device 406 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 408 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 The electronic device 400 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0071] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart, thereby implementing the method as described above. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 409, or installed from a storage device 408, or installed from a ROM 402. When the computer program is executed by the processing device 401, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0072] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0073] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0074] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0075] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:

[0076] After the current user enters preset recognition characters on the target page, the target information entered by the current user is detected in real time to determine whether the current target information meets the preset conditions; when the current target information does not meet the preset conditions, the preset search logic is executed based on the target information to determine the search results; and the search results are displayed at the associated position of the target information in the target page.

[0077] Optionally, when the above one or more programs are executed by the electronic device, the electronic device may also execute other steps described in the above embodiments.

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

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

[0080] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.

[0081] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0082] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0083] According to one or more embodiments of the present disclosure, the present disclosure provides an interaction method, comprising: after the current user inputs preset recognition characters on a target page, performing real-time detection on the target information input by the current user to determine whether the current target information meets preset conditions; when the current target information does not meet the preset conditions, executing preset search logic based on the target information, determining search results, and displaying the search results at an associated position of the target information in the target page.

[0084] According to one or more embodiments of the present disclosure, in the interactive method provided by the present disclosure, optionally, when it is detected that the current target information meets the preset condition, the execution of the preset search logic is canceled, and the search results are hidden when the search results are displayed in the target page.

[0085] According to one or more embodiments of the present disclosure, in the interactive method provided by the present disclosure, optionally, determining whether the current target information meets the preset conditions includes: inputting the current target information into a preset network model to determine whether the current target information meets the preset conditions through the preset network model.

[0086] According to one or more embodiments of the present disclosure, in the interaction method provided by the present disclosure, optionally, the preset network model is used to determine whether the current user has a search intention based on the preset search logic, and if the current user has the search intention, it is determined that the current target information does not meet the preset conditions.

[0087] According to one or more embodiments of the present disclosure, in the interactive method provided by the present disclosure, optionally, the inputting the target information into a preset network model to determine whether the target information meets the preset condition through the preset network model includes: obtaining a judgment condition based on the current target information, and inputting the judgment condition into the preset network model to determine whether the current target information meets the preset condition through the preset network model.

[0088] According to one or more embodiments of the present disclosure, in the interactive method provided by the present disclosure, optionally, the judgment condition includes at least one of the following: characters included in the target information, to determine whether the characters include preset characters through the preset network model, the preset characters are characters preset based on the search intent and unrelated to the preset search logic; the total length of the target information. According to one or more embodiments of the present disclosure, in the interactive method provided by the present disclosure, optionally, the displaying of the search results at the associated position of the target information in the target page includes: displaying the search results at the associated position of the input area of ​​the target information, the input area being used to input the target information.

[0089] According to one or more embodiments of the present disclosure, in the interactive method provided by the present disclosure, optionally, executing a preset search logic based on the target information to determine search results includes: searching for user information based on the target information to obtain search results including user information.

[0090] According to one or more embodiments of the present disclosure, in the interactive method provided by the present disclosure, optionally, before executing the preset search logic, the method further includes: determining a candidate user whose interaction frequency with the current user reaches a frequency threshold; and determining and displaying the search results based on the candidate user. According to one or more embodiments of the present disclosure, in the interactive method provided by the present disclosure, optionally, executing the preset search logic and determining the search results include: determining a candidate user whose user identifier matches the target information to a degree greater than a preset threshold; and using the candidate user as the search result.

[0091] According to one or more embodiments of the present disclosure, in the interactive method provided by the present disclosure, optionally, the executing preset search logic to determine the search results includes: determining a candidate user whose user identification matches the target information to a degree greater than a preset threshold; and determining the search results based on the interaction frequency between the candidate user and the current user. According to one or more embodiments of the present disclosure, the present disclosure provides an interactive device, including: a detection module, for performing real-time detection on the target information input by the current user after the current user inputs preset recognition characters on the target page to determine whether the current target information meets preset conditions; a search module, for executing preset search logic based on the target information when the current target information does not meet the preset conditions; and a display module, for displaying the search results at the associated position of the target information on the target page.

[0092] According to one or more embodiments of the present disclosure, in the interactive device provided by the present disclosure, optionally, it also includes: a hiding module, which is used to cancel the execution of the preset search logic when it is detected that the current target information meets the preset condition, and hide the search results when the search results are displayed in the target page.

[0093] According to one or more embodiments of the present disclosure, in the interactive device provided by the present disclosure, optionally, the detection module includes: a first determination unit, which is used to input the current target information into a preset network model to determine whether the current target information meets the preset condition through the preset network model. The preset network model is used to determine whether the current user has a search intention based on the preset search logic, and if the current user has a search intention, it is determined that the current target information does not meet the preset condition.

[0094] According to one or more embodiments of the present disclosure, in the interactive device provided by the present disclosure, optionally, the first determination unit is specifically used to: obtain a judgment condition based on the current target information, and input the judgment condition into the preset network model to determine whether the target information meets the preset condition through the preset network model; wherein the judgment condition includes at least one of the following: characters included in the target information, to determine whether the characters include preset characters through the preset network model, the preset characters are characters preset based on the search intent and unrelated to the preset search logic; the total length of the target information.

[0095] According to one or more embodiments of the present disclosure, in the interactive device provided by the present disclosure, optionally, the display module is specifically used to: display the search result at a position associated with an input area of ​​the target information, and the input area is used to input the target information.

[0096] According to one or more embodiments of the present disclosure, in the interactive device provided by the present disclosure, optionally, the search module includes a first search unit, which is used to search for user information based on the target information and obtain search results including user information. According to one or more embodiments of the present disclosure, in the interactive device provided by the present disclosure, optionally, the search module includes a second search unit, which is used to search for user information based on the target information and obtain search results including user information.

[0097] According to one or more embodiments of the present disclosure, in the interactive device provided by the present disclosure, optionally, it also includes: a determination module, which is used to determine candidate users whose interaction frequency with the current user reaches a frequency threshold before executing the preset search logic; and determine and display the search results based on the candidate users.

[0098] According to one or more embodiments of the present disclosure, in the interactive device provided by the present disclosure, optionally, the search module includes a third search unit, which is used to determine candidate users whose user identifiers match the target information to a degree greater than a preset threshold; and use the candidate users as the search results.

[0099] According to one or more embodiments of the present disclosure, in the interactive device provided by the present disclosure, optionally, the search module includes a fourth search unit, which is used to determine candidate users whose user identification matches the target information to a degree greater than a preset threshold; and determine the search results based on the interaction frequency between the candidate users and the current user.

[0100] According to one or more embodiments of the present disclosure, the present disclosure provides an electronic device, including:

[0101] one or more processors;

[0102] A memory for storing one or more programs;

[0103] When the one or more programs are executed by the one or more processors, the one or more processors implement any interaction method provided in the present disclosure.

[0104] According to one or more embodiments of the present disclosure, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the program implements any of the interaction methods provided by the present disclosure.

[0105] The embodiments of the present disclosure further provide a computer program product, which includes a computer program or instructions, and the computer program or instructions implement the above-mentioned interaction method when executed by a processor.

[0106] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0107] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0108] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. An interactive method, characterized in that: The method comprises: After the current user inputs the preset recognition characters on the target page, the target information input by the current user is detected in real time; Determine whether the current target information meets a preset condition, wherein the preset condition is used to distinguish whether the preset identification character input by the user is used to search for a user or the preset identification character is only used as a character; When the current target information does not meet the preset condition, executing the preset search logic based on the target information to determine the search result; Displaying the search result at a location associated with the target information in the target page; The search results include a search user result list, and the step of displaying the search results at a location associated with the target information in the target page includes: The search user result list is displayed at a position associated with the target information in the target page, and multiple user information in the search user list are horizontally arranged and displayed at a position associated with an input area of ​​the target information, where the input area is used to input the target information.

2. The method according to claim 1, characterized in that The method further includes: when it is detected that the current target information meets the preset condition, canceling the execution of the preset search logic, and hiding the search results when the search results are displayed in the target page.

3. The method according to claim 1, characterized in that The determining whether the current target information meets a preset condition includes: The current target information is input into a preset network model to determine whether the current target information meets the preset condition through the preset network model.

4. The method according to claim 3, characterized in that The preset network model is used to determine whether the current user has a search intention based on the preset search logic. If the current user has the search intention, it is determined that the current target information does not meet the preset condition.

5. The method according to claim 3, characterized in that: The step of inputting the target information into a preset network model to determine whether the target information meets the preset condition through the preset network model includes: Acquire a judgment condition based on the current target information; The judgment condition is input into the preset network model to determine whether the current target information meets the preset condition through the preset network model.

6. The method according to claim 5, characterized in that The judgment condition includes at least one of the following: The characters included in the target information are used to determine whether the characters include preset characters through the preset network model, wherein the preset characters are characters preset based on the search intent and are unrelated to the preset search logic; The total length of the target information.

7. The method according to any one of claims 1 to 6, characterized in that: The step of executing a preset search logic based on the target information to determine search results includes: A user information search is performed based on the target information to obtain a search result including the user information.

8. The method according to claim 7, characterized in that Before executing the preset search logic, the method further includes: Determine candidate users whose interaction frequency with the current user reaches a frequency threshold; The search results are determined and displayed based on the candidate users.

9. The method according to any one of claims 1 to 6, characterized in that: The executing the preset search logic to determine the search results includes: Determine a candidate user whose user identification matches the target information to a degree greater than a preset threshold; The candidate user is used as the search result.

10. The method according to any one of claims 1 to 6, characterized in that: The executing the preset search logic to determine the search results includes: Determine a candidate user whose user identification matches the target information to a degree greater than a preset threshold; The search result is determined based on the interaction frequency between the candidate user and the current user.

11. An interactive device, characterized in that: include: A detection module, used for performing real-time detection on the target information input by the current user after the current user inputs the preset recognition characters on the target page; Determine whether the current target information meets a preset condition, wherein the preset condition is used to distinguish whether the preset identification character input by the user is used to search for a user or the preset identification character is only used as a character; A search module, configured to execute a preset search logic based on the target information to determine a search result when the current target information does not meet the preset condition; A display module, used for displaying the search result at a location associated with the target information in the target page; The search results include a search user result list, and the step of displaying the search results at a location associated with the target information in the target page includes: The search user result list is displayed at a position associated with the target information in the target page, and multiple user information in the search user list are horizontally arranged and displayed at a position associated with an input area of ​​the target information, where the input area is used to input the target information.

12. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 10.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 10 is implemented.

Citation Information

Patent Citations

  • Information input method and device

    CN106681598A

  • Intelligent operating system and method based on keywords inputting

    WO2010124509A1