An information providing method, device and readable medium

By adjusting the sorting of candidate messages and utilizing historical user input data, the problem of candidate messages not conforming to user habits in the intelligent reply function was solved, thus improving the utilization rate of candidate messages.

CN111382242BActive Publication Date: 2026-11-27BEIJING SOGOU TECHNOLOGY DEVELOPMENT CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN201811629403.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-12-28
Publication Date
2026-11-27
Estimated Expiration
2038-12-28

AI Technical Summary

Technical Problem

The existing intelligent reply function is difficult to match users' personal word usage habits, resulting in a low utilization rate of reply candidate information.

Method used

By acquiring users' historical input data, the order of server-generated response candidates is adjusted to ensure that candidates with higher word frequency or higher similarity are ranked first, providing response candidates that are more in line with user habits.

Benefits of technology

It improves the utilization rate of response candidate information, makes its order more in line with users' personalized habits, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111382242B_ABST
    Figure CN111382242B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide an information providing method and device. The method comprises: obtaining a plurality of reply candidate information generated by a server for to-be-replied information and an order thereof, wherein the to-be-replied information is sent by a client to the server; adjusting the order of the plurality of reply candidate information according to historical input data of a user; and providing the plurality of reply candidate information according to the adjusted order. The method realizes rearrangement of the order of the reply candidate information by using the historical input data of the user, avoids the problem that the order of the reply candidate information does not conform to the individual word usage habit of the user, makes the providing order of the reply candidate information conform to the individual habit of the user, and thus improves the utilization rate of the reply candidate information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and in particular to an information providing method, an information providing device, an apparatus for providing information, and a machine-readable medium. Background Technology

[0002] To facilitate typing, chatting, and working, current input methods have added intelligent reply functions. These functions use the previous message sent by the other party to provide common and popular reply options. For example, in a chat application, if someone sends the message "Come home early tonight," the input method can intelligently provide several commonly used options, such as "Okay" or "Got it."

[0003] Typically, intelligent response models are trained on massive amounts of data. When a client requests an intelligent response, the resulting answer is usually a common one. The candidate options and their order are determined based on data from the majority of users, making it difficult to match the user's personal word usage habits. In some cases, none of the candidate responses displayed may even be what the user needs, leading to a low utilization rate of intelligent responses. Summary of the Invention

[0004] In view of the above problems, this application proposes an information providing method, information providing device, information providing apparatus, and machine-readable medium that overcome or at least partially solve the above problems. This application can avoid the problem that the order of response candidate information does not conform to the user's personal word usage habits.

[0005] To address the aforementioned problems, this application discloses an information provision method, comprising:

[0006] Obtain multiple candidate responses generated by the server for the information to be responded to, and their order, wherein the information to be responded to is sent to the server by the client;

[0007] Adjust the order of the multiple response candidates based on the user's historical input data;

[0008] Based on the adjusted sorting, the multiple response candidate information is provided.

[0009] Optionally, adjusting the order of the multiple response candidate information based on the user's historical input data includes:

[0010] Based on the user's historical input data, determine the word frequency information of the multiple response candidate information;

[0011] Based on the word frequency information, response candidate information with higher word frequency is ranked before response candidate information with lower word frequency.

[0012] Optionally, before adjusting the order of the plurality of response candidate information based on user historical input data, the method further includes:

[0013] In the user's historical input data, at least one similar candidate information that meets the preset similarity requirement compared with the response candidate information is selected.

[0014] Optionally, adjusting the order of the multiple response candidate information based on the user's historical input data includes:

[0015] Based on the user's historical input data, adjust the order of the multiple response candidate information and at least one similar candidate information;

[0016] The provision of the multiple response candidate information based on the adjusted sorting includes:

[0017] Based on the adjusted sorting, the multiple response candidate information and similar candidate information are provided.

[0018] Optionally, before adjusting the order of the plurality of response candidate information based on user historical input data, the method further includes:

[0019] Based on the user's historical input data, determine the word frequency information of the response candidate information and its corresponding similar candidate information;

[0020] If the word frequency of the response candidate information is lower than the word frequency of the corresponding similar candidate information, then the response candidate information is replaced with the corresponding similar candidate information.

[0021] Optionally, adjusting the order of the multiple response candidate information based on the user's historical input data includes:

[0022] Obtain the scene information at the time of the current input;

[0023] Obtain target input data that matches the scene information from the user's historical input data;

[0024] Based on the target input data, adjust the order of the multiple response candidate information.

[0025] This application also discloses an information providing device, including:

[0026] The information acquisition module is used to acquire multiple candidate response information and their order generated by the server for the information to be replied to, wherein the information to be replied to is sent to the server by the client;

[0027] The sorting adjustment module is used to adjust the sorting of the multiple response candidate information based on the user's historical input data;

[0028] The information providing module is used to provide the multiple response candidate information according to the adjusted sorting.

[0029] Optionally, the sorting adjustment module includes:

[0030] The word frequency determination submodule is used to determine the word frequency information of the multiple response candidate information based on the user's historical input data;

[0031] The word frequency ranking submodule is used to rank response candidate information with higher word frequency before response candidate information with lower word frequency based on the word frequency information.

[0032] Optionally, the device further includes:

[0033] The similar information filtering module is used to filter at least one similar candidate information that meets a preset similarity requirement compared with the candidate information in the user's historical input data before adjusting the sorting of the multiple candidate information based on the user's historical input data.

[0034] Optionally, the sorting adjustment module includes:

[0035] The sorting adjustment submodule is used to adjust the sorting of the multiple response candidate information and at least one similar candidate information based on the user's historical input data;

[0036] The information provided includes:

[0037] The information providing submodule is used to provide the multiple response candidate information and similar candidate information according to the adjusted sorting.

[0038] Optionally, the device further includes:

[0039] The word frequency determination module is used to determine the word frequency information of the response candidate information and its corresponding similar candidate information based on the user's historical input data before adjusting the order of the multiple response candidate information according to the user's historical input data.

[0040] The replacement module is used to replace the response candidate information with the corresponding similar candidate information if the word frequency of the response candidate information is lower than the word frequency of the corresponding similar candidate information.

[0041] Optionally, the sorting adjustment module includes:

[0042] The information acquisition submodule is used to acquire scene information at the time of the current input;

[0043] The target data acquisition submodule is used to acquire target input data that matches the scene information from the user's historical input data;

[0044] The sorting submodule is used to adjust the sorting of the multiple response candidate information according to the target input data.

[0045] This application also discloses an apparatus for providing information, including a memory and one or more programs, wherein one or more programs are stored in the memory and configured to be executed by one or more processors. The one or more programs contain instructions for performing the following operations:

[0046] Obtain multiple candidate responses generated by the server for the information to be responded to, and their order, wherein the information to be responded to is sent to the server by the client;

[0047] Adjust the order of the multiple response candidates based on the user's historical input data;

[0048] Based on the adjusted sorting, the multiple response candidate information is provided.

[0049] Optionally, adjusting the order of the multiple response candidate information based on the user's historical input data includes:

[0050] Based on the user's historical input data, determine the word frequency information of the multiple response candidate information;

[0051] Based on the word frequency information, response candidate information with higher word frequency is ranked before response candidate information with lower word frequency.

[0052] Optionally, before adjusting the order of the plurality of response candidate information based on user historical input data, the method further includes:

[0053] In the user's historical input data, at least one similar candidate information that meets the preset similarity requirement compared with the response candidate information is selected.

[0054] Optionally, adjusting the order of the multiple response candidate information based on the user's historical input data includes:

[0055] Based on the user's historical input data, adjust the order of the multiple response candidate information and at least one similar candidate information;

[0056] The provision of the multiple response candidate information based on the adjusted sorting includes:

[0057] Based on the adjusted sorting, the multiple response candidate information and similar candidate information are provided.

[0058] Optionally, before adjusting the order of the plurality of response candidate information based on user historical input data, the method further includes:

[0059] Based on the user's historical input data, determine the word frequency information of the response candidate information and its corresponding similar candidate information;

[0060] If the word frequency of the response candidate information is lower than the word frequency of the corresponding similar candidate information, then the response candidate information is replaced with the corresponding similar candidate information.

[0061] Optionally, adjusting the order of the multiple response candidate information based on the user's historical input data includes:

[0062] Obtain the scene information at the time of the current input;

[0063] Obtain target input data that matches the scene information from the user's historical input data;

[0064] Based on the target input data, adjust the order of the multiple response candidate information.

[0065] This application also discloses a machine-readable medium storing instructions that, when executed by one or more processors, cause a device to perform the information provision method described above.

[0066] The embodiments of this application have the following advantages:

[0067] This application embodiment can obtain multiple candidate response information and their order generated by the server for the information to be replied to during the information provision process. The information to be replied to is sent from the client to the server. Based on the user's historical input data, the order of the multiple candidate response information is adjusted. Based on the adjusted order, multiple candidate response information is provided. This realizes the use of the user's historical input data to rearrange the order of the candidate response information, avoiding the problem that the order of the candidate response information does not conform to the user's personal word usage habits. This makes the order of providing candidate response information conform to the user's personalized habits, thereby improving the utilization rate of candidate response information. Attached Figure Description

[0068] Figure 1 A flowchart illustrating the steps of an embodiment of the information provision method of this application is shown;

[0069] Figure 2 A flowchart illustrating the steps of a second embodiment of the information provision method of this application is shown;

[0070] Figure 3 A flowchart illustrating the steps of a third embodiment of the information provision method of this application is shown;

[0071] Figure 4 A structural block diagram of an embodiment of an information providing device according to this application is shown;

[0072] Figure 5This is a block diagram illustrating an apparatus for providing information according to an exemplary embodiment;

[0073] and Figure 6 This is a schematic diagram of the server structure in some embodiments of the present invention. Detailed Implementation

[0074] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, this application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0075] Reference Figure 1 The diagram illustrates a flowchart of one embodiment of an information provision method according to this application, which may specifically include the following steps:

[0076] Step 101: Obtain multiple candidate response information and their order generated by the server for the information to be responded to, wherein the information to be responded to is sent to the server by the client.

[0077] In this embodiment, the client can be an input method client, and the server can provide intelligent reply services to the client. The client obtains the information to be replied to currently displayed on the screen and sends the information to be replied to to the input method intelligent reply server via network transmission.

[0078] The pending reply information includes messages received via SMS, chat software, or other communication software, such as the latest unanswered message currently displayed on the screen, or any other applicable information. This application embodiment does not limit this. The pending reply information can be in the form of text, voice, images, or any other applicable form; this application embodiment does not limit this.

[0079] After receiving the information to be replied to, the server can generate multiple candidate responses and their order. For example, an intelligent response model can be trained using massive amounts of data. When the information to be replied to is input, the intelligent response model can provide multiple candidate responses for the information to be replied to, and the response with the highest probability or most common response will be ranked first. The server can generate the information to be replied to and its order in various ways, and this application embodiment does not limit this.

[0080] For example, if the message to be replied to is "Go home early tonight", the server's intelligent reply model generates several candidate reply messages, including "I know", "I understand", "Okay", "I have to work overtime", etc., and sorts these candidate reply messages according to the frequency of use by the general public. The client then obtains the candidate reply messages and their sorting from the server.

[0081] Step 102: Adjust the order of the multiple response candidate information according to the user's historical input data.

[0082] In this embodiment, the user's historical input data includes relevant data on the user's historical input recorded locally on the client and on the network. For example, the user's frequently used vocabulary, the frequency of each word or sentence selected in the user's historical input, the frequency of each emoticon used by the user, or any other applicable data. This embodiment does not limit this data.

[0083] The implementation methods for adjusting the order of multiple response candidate information based on user historical input data can include various approaches. For example, based on user historical input data, the word frequency information of multiple response candidate information can be determined, and the response candidate information with higher word frequency can be ranked before the response candidate information with lower word frequency. Alternatively, at least one similar candidate information that meets the preset similarity requirement compared with the response candidate information can be filtered in the user historical input data, and then the order of multiple response candidate information and at least one similar candidate information can be adjusted based on the user historical input data. Specifically, any applicable implementation method can be included, and the embodiments of this application do not limit this.

[0084] For example, for the message "Go home early tonight," the generated candidate messages are sorted as follows: "I have to work overtime," "I know," "I understand," and "Okay." According to the client's local user dictionary (i.e., the user's historical input data), the frequency of selection for the four candidate messages "I have to work overtime," "I know," "I understand," and "Okay" is 90%, 20%, 30%, and 50%, respectively. After adjusting the order of these candidate messages, the new order is "I have to work overtime," "Okay," "I understand," and "I know."

[0085] Step 103: Provide the multiple response candidate information according to the adjusted sorting.

[0086] In this embodiment, when recommending intelligent replies to users, multiple candidate replies can be provided based on the adjusted sorting. When providing candidate replies, one scenario is that the server returns several candidate replies; after adjusting the sorting, all these candidate replies are provided to the user in the new order, making it easier for the user to find the most suitable or desired candidate reply. Another scenario is that the server returns several candidate replies, but the client cannot display all of them at once; only the top-ranked candidate replies are displayed. Based on the reordered sequence, the provided candidate replies better match the user's personal word choice habits, avoiding the problem of provided candidate replies not conforming to the user's preferences.

[0087] In summary, according to the embodiments of this application, by obtaining multiple candidate response information generated by the server for the information to be replied to and their order, wherein the information to be replied to is sent from the client to the server, the order of the multiple candidate response information is adjusted according to the user's historical input data, and multiple candidate response information is provided based on the adjusted order, the order of the candidate response information is rearranged using the user's historical input data, avoiding the problem that the order of the candidate response information does not conform to the user's personal word usage habits, so that the order of providing candidate response information can conform to the user's personalized habits, thereby improving the utilization rate of candidate response information.

[0088] Reference Figure 2 The diagram illustrates a flowchart of a second embodiment of an information provision method according to this application, which may specifically include the following steps:

[0089] Step 201: Obtain multiple candidate response information and their order generated by the server for the information to be responded to, wherein the information to be responded to is sent to the server by the client.

[0090] In the embodiments of this application, the specific implementation of this step can be found in the description of the foregoing embodiments, and will not be repeated here.

[0091] Step 202: Determine the word frequency information of the multiple response candidate information based on the user's historical input data.

[0092] In this embodiment of the application, word frequency information includes the frequency of selecting response candidate information in the user's input history, or the frequency of selecting response candidate information when the user replies to the same pending response information in the past, or any other applicable word frequency information. This embodiment of the application does not limit this.

[0093] Step 203: Based on the word frequency information, the response candidate information with higher word frequency is ranked before the response candidate information with lower word frequency.

[0094] In this embodiment of the application, the response candidate information is reordered according to word frequency information, and the response candidate information with higher word frequency is placed before the response candidate information with lower word frequency.

[0095] Step 204: Provide the multiple response candidate information according to the adjusted sorting.

[0096] In the embodiments of this application, the specific implementation of this step can be found in the description of the foregoing embodiments, and will not be repeated here.

[0097] In summary, according to the embodiments of the present application, by obtaining multiple pieces of reply candidate information generated by the server for the information to be replied and their ranking, wherein the information to be replied is sent by the client to the server, determining word frequency information of the multiple pieces of reply candidate information according to the user historical input data, ranking the reply candidate information with a higher word frequency before the reply candidate information with a lower word frequency according to the word frequency information, and providing the multiple pieces of reply candidate information according to the adjusted ranking, it is achieved that the user's historical input data is used to re-rank the reply candidate information, so as to avoid the problem that the ranking of the reply candidate information does not conform to the user's personal wording habit, so that the providing order of the reply candidate information can conform to the user's personalized habit, and further the utilization rate of the reply candidate information is improved.

[0098] Referring to Figure 3 , a flowchart of steps of Embodiment 3 of an information providing method of the present application is shown, which may specifically include the following steps:

[0099] Step 301: Obtain multiple pieces of reply candidate information generated by the server for the information to be replied and their ranking, wherein the information to be replied is sent by the client to the server.

[0100] In the embodiments of the present application, for a specific implementation of this step, reference may be made to the description in the foregoing embodiments, and details are not described herein again.

[0101] Step 302: Screen, from the user historical input data, at least one piece of similar candidate information that meets a preset similarity requirement compared with the reply candidate information.

[0102] In the embodiments of the present application, text, voice, image, and other information used or commonly used by the user are recorded in the user historical input data. For each piece of reply candidate information, the similarity between the reply candidate information and the information input by the user is compared, and at least one piece of information that meets the preset similarity requirement compared with each piece of reply candidate information is screened and recorded as similar candidate information. For example, when the reply candidate information is "好的", a word "好嘞" whose similarity with "好的" is higher than a preset threshold may be used as the similar candidate information.

[0103] In the embodiments of the present application, optionally, an implementation manner of adjusting the ranking of the multiple pieces of reply candidate information according to the user historical input data may include: adjusting the ranking of the multiple pieces of reply candidate information and the at least one piece of similar candidate information according to the user historical input data. Correspondingly, an implementation manner of providing the multiple pieces of reply candidate information according to the adjusted ranking may include: providing the multiple pieces of reply candidate information and the similar candidate information according to the adjusted ranking.

[0104] The user's historical input data records the word frequency information of the response candidates and similar candidates. Based on the word frequency information, the response candidates and similar candidates are put together and reordered to obtain a new order. Based on the adjusted order, both the response candidates and similar candidates are provided to the user.

[0105] Step 303: Based on the user's historical input data, determine the word frequency information of the response candidate information and its corresponding similar candidate information.

[0106] In this embodiment of the application, for each response candidate information, if there is corresponding similar candidate information, the word frequency information of the response candidate information and its corresponding similar candidate information is determined based on the user's historical input data.

[0107] Step 304: If the word frequency of the response candidate information is lower than the word frequency of the corresponding similar candidate information, then the response candidate information is replaced with the corresponding similar candidate information.

[0108] In this embodiment of the application, the word frequencies of the response candidate information and the corresponding similar candidate information are compared. If the word frequency of the response candidate information is lower than that of the corresponding similar candidate information, the response candidate information can be replaced with the corresponding similar candidate information. That is, among multiple response candidate information, the response candidate information is deleted and the corresponding similar candidate information is added.

[0109] Step 305: Adjust the order of the multiple response candidate messages based on the user's historical input data.

[0110] In the embodiments of this application, the specific implementation of this step can be found in the description of the foregoing embodiments, and will not be repeated here.

[0111] In this application embodiment, optionally, one implementation of adjusting the order of the multiple response candidate information according to the user's historical input data may include: obtaining the scene information at the time of the current input, obtaining the target input data that matches the scene information from the user's historical input data, and adjusting the order of the multiple response candidate information according to the target input data.

[0112] Scene information includes the user's location at the time of input, the app (application) in which the input was performed, the person being spoken to, the time of input, or any other applicable scene-related information. This application embodiment does not impose any limitations on this. User history input data can be tagged with information related to the input scene. For example, user history input data can record the input words, as well as the user's geographical location, the app used, the time, and other scene information at the time of input.

[0113] To ensure the order of candidate responses better reflects the context of the current input, the context information can be obtained first. Then, input data matching the context information can be retrieved from the user's historical input data and designated as the target input data. Based on the target input data, the order of multiple candidate responses can be adjusted. Specifically, this could be done by adjusting the order based on word frequency information in the target input data, or by any other applicable adjustment method. This embodiment does not impose any limitations on this approach.

[0114] Step 306: Provide the multiple response candidate information according to the adjusted sorting.

[0115] In the embodiments of this application, the specific implementation of this step can be found in the description of the foregoing embodiments, and will not be repeated here.

[0116] In summary, according to the embodiments of this application, by obtaining multiple candidate response information generated by the server for the information to be replied to and their order, wherein the information to be replied to is sent from the client to the server, the order of the multiple candidate response information is adjusted according to the user's historical input data, and multiple candidate response information is provided based on the adjusted order, the order of the candidate response information is rearranged using the user's historical input data, avoiding the problem that the order of the candidate response information does not conform to the user's personal word usage habits, so that the order of providing candidate response information can conform to the user's personalized habits, thereby improving the utilization rate of candidate response information.

[0117] Furthermore, by filtering at least one similar candidate information that meets a preset similarity requirement compared to the response candidate information from the user's historical input data, and determining the word frequency information of the response candidate information and its corresponding similar candidate information based on the user's historical input data, if the word frequency of the response candidate information is lower than that of the corresponding similar candidate information, the response candidate information is replaced with the corresponding similar candidate information. This avoids the problem that the response candidate information generated by the server is not in the user's commonly used language. By finding similar candidate information with a higher word frequency than the response candidate information in the user's historical input data to replace the response candidate information generated by the server, the response candidate information is made more in line with the user's personalized habits, further improving the utilization rate of the response candidate information.

[0118] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of motion actions. However, those skilled in the art should understand that the embodiments of this application are not limited to the described order of motion actions, because according to the embodiments of this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the motion actions involved are not necessarily required by the embodiments of this application.

[0119] ReferenceFigure 4 The diagram illustrates a structural block diagram of an embodiment of an information providing device according to this application, which may specifically include:

[0120] The information acquisition module 401 is used to acquire multiple candidate reply information and their order generated by the server for the information to be replied to, wherein the information to be replied to is sent to the server by the client;

[0121] The sorting adjustment module 402 is used to adjust the sorting of the multiple response candidate information according to the user's historical input data;

[0122] The information providing module 403 is used to provide the multiple response candidate information according to the adjusted sorting.

[0123] Optionally, the sorting adjustment module includes:

[0124] The word frequency determination submodule is used to determine the word frequency information of the multiple response candidate information based on the user's historical input data;

[0125] The word frequency ranking submodule is used to rank response candidate information with higher word frequency before response candidate information with lower word frequency based on the word frequency information.

[0126] Optionally, the device further includes:

[0127] The similar information filtering module is used to filter at least one similar candidate information that meets a preset similarity requirement compared with the candidate information in the user's historical input data before adjusting the order of the multiple candidate information based on the user's historical input data.

[0128] Optionally, the sorting adjustment module includes:

[0129] The sorting adjustment submodule is used to adjust the sorting of the multiple response candidate information and at least one similar candidate information based on the user's historical input data;

[0130] The information provided includes:

[0131] The information providing submodule is used to provide the multiple response candidate information and similar candidate information according to the adjusted sorting.

[0132] Optionally, the device further includes:

[0133] The word frequency determination module is used to determine the word frequency information of the response candidate information and its corresponding similar candidate information based on the user's historical input data before adjusting the order of the multiple response candidate information according to the user's historical input data.

[0134] The replacement module is used to replace the response candidate information with the corresponding similar candidate information if the word frequency of the response candidate information is lower than the word frequency of the corresponding similar candidate information.

[0135] Optionally, the sorting adjustment module includes:

[0136] The information acquisition submodule is used to acquire scene information at the time of the current input;

[0137] The target data acquisition submodule is used to acquire target input data that matches the scene information from the user's historical input data;

[0138] The sorting submodule is used to adjust the sorting of the multiple response candidate information according to the target input data.

[0139] In summary, according to the embodiments of this application, by obtaining multiple candidate response information generated by the server for the information to be replied to and their order, wherein the information to be replied to is sent from the client to the server, the order of the multiple candidate response information is adjusted according to the user's historical input data, and multiple candidate response information is provided based on the adjusted order, the order of the candidate response information is rearranged using the user's historical input data, avoiding the problem that the order of the candidate response information does not conform to the user's personal word usage habits, so that the order of providing candidate response information can conform to the user's personalized habits, thereby improving the utilization rate of candidate response information.

[0140] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.

[0141] Figure 5 This is a block diagram illustrating an apparatus 500 for stress testing according to an exemplary embodiment. For example, apparatus 500 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.

[0142] Reference Figure 5 The device 500 may include one or more of the following components: a processing component 502, a memory 504, a power supply component 506, a multimedia component 508, an audio component 510, an input / output (I / O) interface 512, a sensor component 514, and a communication component 516.

[0143] Processing component 502 typically controls the overall operation of device 500, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 502 may include one or more modules to facilitate interaction between processing component 502 and other components. For example, processing component 502 may include a multimedia module to facilitate interaction between multimedia component 508 and processing component 502.

[0144] Memory 504 is configured to store various types of data to support the operation of device 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, etc. Memory 504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0145] Power supply component 506 provides power to various components of device 500. Power supply component 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 500.

[0146] Multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 508 includes a front-facing camera and / or a rear-facing camera. When the device 500 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0147] Audio component 510 is configured to output and / or input audio signals. For example, audio component 510 includes a microphone (MIC) configured to receive external audio signals when device 500 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 504 or transmitted via communication component 516. In some embodiments, audio component 510 also includes a speaker for outputting audio signals.

[0148] I / O interface 512 provides an interface between processing component 502 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0149] Sensor assembly 514 includes one or more sensors for providing status assessments of various aspects of device 500. For example, sensor assembly 514 may detect the on / off state of device 500, the relative positioning of components such as the display and keypad of device 500, changes in the position of device 500 or a component of device 500, the presence or absence of user contact with device 500, the orientation or acceleration / deceleration of device 500, and temperature changes of device 500. Sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 514 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0150] Communication component 516 is configured to facilitate wired or wireless communication between device 500 and other devices. Device 500 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 516 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 516 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0151] In an exemplary embodiment, the apparatus 500 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.

[0152] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 504 including instructions, which can be executed by a processor 520 of the device 500 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0153] Figure 6 This is a schematic diagram of the server structure in some embodiments of the present invention. The server 1900 can vary considerably depending on its configuration or performance, and may include one or more central processing units (CPUs) 1922 (e.g., one or more processors) and memory 1932, and one or more storage media 1930 (e.g., one or more mass storage devices) for storing application programs 1942 or data 1944. The memory 1932 and storage media 1930 can be temporary or persistent storage. The program stored in the storage media 1930 may include one or more modules (not shown in the diagram), each module including a series of instruction operations on the server. Furthermore, the CPU 1922 may be configured to communicate with the storage media 1930 and execute the series of instruction operations in the storage media 1930 on the server 1900.

[0154] Server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input / output interfaces 1958, one or more keyboards 1956, and / or one or more operating systems 1941, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, etc.

[0155] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a device (smart terminal or server), enables the device to perform an information providing method, the method comprising:

[0156] Obtain multiple candidate responses generated by the server for the information to be responded to, and their order, wherein the information to be responded to is sent to the server by the client;

[0157] Adjust the order of the multiple response candidates based on the user's historical input data;

[0158] Based on the adjusted sorting, the multiple response candidate information is provided.

[0159] Optionally, adjusting the order of the multiple response candidate information based on the user's historical input data includes:

[0160] Based on the user's historical input data, determine the word frequency information of the multiple response candidate information;

[0161] Based on the word frequency information, response candidate information with higher word frequency is ranked before response candidate information with lower word frequency.

[0162] Optionally, before adjusting the order of the plurality of response candidate information based on user historical input data, the method further includes:

[0163] In the user's historical input data, at least one similar candidate information that meets the preset similarity requirement compared with the response candidate information is selected.

[0164] Optionally, adjusting the order of the multiple response candidate information based on the user's historical input data includes:

[0165] Based on the user's historical input data, adjust the order of the multiple response candidate information and at least one similar candidate information;

[0166] The provision of the multiple response candidate information based on the adjusted sorting includes:

[0167] Based on the adjusted sorting, the multiple response candidate information and similar candidate information are provided.

[0168] Optionally, before adjusting the order of the plurality of response candidate information based on user historical input data, the method further includes:

[0169] Based on the user's historical input data, determine the word frequency information of the response candidate information and its corresponding similar candidate information;

[0170] If the word frequency of the response candidate information is lower than the word frequency of the corresponding similar candidate information, then the response candidate information is replaced with the corresponding similar candidate information.

[0171] Optionally, adjusting the order of the multiple response candidate information based on the user's historical input data includes:

[0172] Obtain the scene information at the time of the current input;

[0173] Obtain target input data that matches the scene information from the user's historical input data;

[0174] Based on the target input data, adjust the order of the multiple response candidate information.

[0175] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0176] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus, or computer program products. Therefore, embodiments of this application can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of this application can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0177] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0178] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0179] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0180] Although preferred embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present application.

[0181] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.

[0182] The above provides a detailed description of an information providing method, an information providing device, and an information providing apparatus. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, those skilled in the art will recognize that there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. An information provision method, characterized in that, include: The system obtains multiple candidate response information and their order generated by the server for the information to be responded to. The information to be responded to is sent to the server by the client. After the server inputs the information to be responded to into the intelligent response model, the intelligent response model outputs the multiple candidate response information and their order. The intelligent response model is obtained through data training. The order indicates the frequency with which the public uses the multiple candidate response information. The higher the frequency, the higher the order. For each response candidate, the similarity between the response candidate and the information entered by the user in the user's historical input data is compared. At least one piece of information that meets the preset similarity requirement compared with each response candidate is selected and recorded as similar candidate information. The user's historical input data records the word frequency information of the response candidate and the similar candidate. Based on the user's historical input data, determine the word frequency information of the response candidate information and its corresponding similar candidate information; if the word frequency of the first response candidate information in the response candidate information is lower than the word frequency of the corresponding first similar candidate information in the similar candidate information, then delete the first response candidate information from the plurality of response candidate information and add the first similar candidate information, and replace the first response candidate information with the first similar candidate information in the user's historical input data; Based on the word frequency information, the response candidate information and the similar candidate information are put together and reordered to obtain a new order; Obtain the scene information at the time of the current input; obtain input data that matches the scene information from the user's historical input data, and record it as the target input data, wherein the user's historical input data is marked with information related to the input scene; adjust the new order corresponding to the multiple response candidate information according to the target input data; Based on the adjusted sorting, multiple response candidates and similar candidate information are provided.

2. The method according to claim 1, characterized in that, The method further includes: Based on the user's historical input data, determine the word frequency information of the multiple response candidate information; Based on the word frequency information, response candidate information with higher word frequency is ranked before response candidate information with lower word frequency.

3. An information providing device, characterized in that, include: The information acquisition module is used to acquire multiple candidate response information and their order generated by the server for the information to be replied to. The information to be replied to is sent by the client to the server. After the server inputs the information to be replied to the intelligent reply model, the intelligent reply model outputs the multiple candidate response information and their order. The intelligent reply model is obtained through data training. The order indicates the frequency with which the public uses the multiple candidate response information. The higher the frequency, the higher the order. The similarity information filtering module is used to compare the similarity between each candidate response information and the information entered by the user in the user's historical input data, and to filter at least one piece of information that meets the preset similarity requirements compared with each candidate response information, which is recorded as similar candidate information. The user's historical input data records the word frequency information of the candidate response information and the similar candidate information. The word frequency determination module is used to determine the word frequency information of the response candidate information and the corresponding similar candidate information based on the user's historical input data. The replacement module is configured to, if the word frequency of the first response candidate information in the response candidate information is lower than the word frequency of the corresponding first similar candidate information in the similar candidate information, delete the first response candidate information and add the first similar candidate information in the plurality of response candidate information, and replace the first response candidate information with the first similar candidate information in the user's historical input data; The sorting adjustment module includes a sorting adjustment submodule, an information acquisition submodule, a target data acquisition submodule, and a sorting submodule; The sorting adjustment submodule is used to re-sort the response candidate information and the similar candidate information together based on the word frequency information to obtain a new sorting. The information acquisition submodule is used to acquire scene information at the time of the current input; The target data acquisition submodule is used to acquire input data that matches the scene information from the user's historical input data, and denoted as target input data. The user's historical input data is marked with information related to the input scene. The sorting submodule is used to adjust the new sorting of the multiple response candidate information according to the target input data; The information providing module is used to provide multiple response candidate information and similar candidate information based on the adjusted sorting.

4. The apparatus according to claim 3, characterized in that, The sorting adjustment module also includes: The word frequency determination submodule is used to determine the word frequency information of the multiple response candidate information based on the user's historical input data; The word frequency ranking submodule is used to rank response candidate information with higher word frequency before response candidate information with lower word frequency based on the word frequency information.

5. An apparatus for providing information, characterized in that, It includes memory and one or more programs, wherein the one or more programs are stored in memory and configured to be executed by one or more processors. The one or more programs contain instructions for performing the following operations: The system obtains multiple candidate response information and their order generated by the server for the information to be responded to. The information to be responded to is sent to the server by the client. After the server inputs the information to be responded to into the intelligent response model, the intelligent response model outputs the multiple candidate response information and their order. The intelligent response model is obtained through data training. The order indicates the frequency with which the public uses the multiple candidate response information. The higher the frequency, the higher the order. For each response candidate, the similarity between the response candidate and the information entered by the user in the user's historical input data is compared. At least one piece of information that meets the preset similarity requirement compared with each response candidate is selected and recorded as similar candidate information. The user's historical input data records the word frequency information of the response candidate and the similar candidate. Based on the user's historical input data, determine the word frequency information of the response candidate information and its corresponding similar candidate information; if the word frequency of the first response candidate information in the response candidate information is lower than the word frequency of the corresponding first similar candidate information in the similar candidate information, then delete the first response candidate information from the plurality of response candidate information and add the first similar candidate information, and replace the first response candidate information with the first similar candidate information in the user's historical input data; Based on the word frequency information, the response candidate information and the similar candidate information are put together and reordered to obtain a new order; Obtain the scene information at the time of the current input; From the user's historical input data, input data that matches the scene information is obtained and recorded as target input data. The user's historical input data is marked with information related to the input scene. Based on the target input data, adjust the new order corresponding to the multiple response candidate information; Based on the adjusted sorting, multiple response candidates and similar candidate information are provided.

6. The apparatus according to claim 5, characterized in that, The instructions also include: Based on the user's historical input data, determine the word frequency information of the multiple response candidate information; Based on the word frequency information, response candidate information with higher word frequency is ranked before response candidate information with lower word frequency.

7. A machine-readable medium having instructions stored thereon that, when executed by one or more processors, cause a device to perform the information provision method as described in one or more of claims 1 to 2.

Citation Information

Patent Citations

  • Intelligent question-answer method, device and system

    CN105989040A

  • Information recommendation method and apparatus, and electronic device

    CN106446054A

  • Scenarized text input method and system, terminal and computer readable storage medium

    CN108319377A