Method and device for displaying information
The method and apparatus address the issue of unresponsive user feedback by identifying and removing irrelevant content based on similarity thresholds and feedback data, improving user interaction and storage efficiency.
Patent Information
- Application Number
- CN202510361505.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2019-12-16
- Publication Date
- 2025-07-15
AI Technical Summary
In the prior art, after the user feedback operation, the client still pushes uninterested information, resulting in information overload and storage pressure increase.
By detecting user feedback operations, it is determined that the information matching the target information in the display information set is useless information, and deletes it from the display information set, updates the display set, and responds to user feedback in real time.
It reduces the number of user feedback operations, reduces storage pressure, improves the accuracy of information push, and avoids the display of uninterested information.
Smart Images

Figure CN120316342A_ABST
Abstract
Description
[0001] This application is a divisional application of "Method and Device for Displaying Information". The filing date of the original application is December 16, 2019, the application number of the original application is 201911290504.0, and the title of the invention-creation of the original application is: Method and Device for Displaying Information. Technical Field
[0002] Embodiments of the present disclosure relate to the field of computer technologies, and particularly to a method and a device for displaying information. Background Art
[0003] Information push generally refers to a technology that reduces information overload by transmitting information required by users, so as to reduce the time used by users to search on the network. Information push is one of the most widely used technologies in the current Internet.
[0004] Generally, according to the request of a client, a server can push a certain number of pieces of information to the client. The client can receive and store the information pushed by the server, and then display it to the user in a certain order.
[0005] Currently, while a client displays information to a user, it can receive feedback from the user on the displayed information. For example, when the user browses information that they are not interested in, they can provide feedback to the client. The client can send the feedback information of the user to the server, so that the server can determine the subsequent pushed information according to the feedback information of the user, and avoid pushing information that the user is not interested in to the user again. Summary of the Invention
[0006] Embodiments of the present disclosure provide a method and a device for displaying information.
[0007] In a first aspect, an embodiment of the present disclosure provides a method for displaying information, the method including: in response to detecting a feedback operation of a user on target information currently being displayed, determining information that matches the target information in a first display information set where the target information is stored and pre-stored as useless information, where the feedback operation is used to request to close the display of the target information; deleting the useless information from the first display information set to obtain an updated first display information set; displaying the information in the updated first display information set to the user.
[0008] In some embodiments, in response to detecting a feedback operation of a user on target information currently being displayed, determining information that matches the target information in a first display information set where the target information is stored and pre-stored as useless information includes: receiving feedback data submitted by the user through the feedback operation, where the feedback data is used to characterize the reason for the user to perform the feedback operation; determining the useless information in the first display information set according to the feedback data.
[0009] In some embodiments, the feedback data is used to indicate the target attribute of the target information; and based on the feedback data, determining the useless information in the first display information set includes: for the information in the first display information set, in response to determining that the similarity between the attribute value of the target attribute of the information and the attribute value of the target attribute of the target information is greater than a preset similarity threshold, determining the information as useless information.
[0010] In some embodiments, the first display information set is obtained in advance through the following steps: sending a first information acquisition request to the server; receiving and storing the first display information set returned by the server according to the first information acquisition request.
[0011] In some embodiments, the above method further includes: receiving and storing the attribute information set returned by the server according to the first information acquisition request, where the attribute information set is composed of the attribute information of each piece of information in the first display information set, where the attribute information of the information in the first display information set includes the attribute values of the information corresponding to each attribute in a preset attribute set, and the preset attribute set includes the target attribute.
[0012] In some embodiments, the above method further includes: sending the feedback data and the user identifier of the user to the server, so that the server stores the correspondence between the feedback data and the user identifier.
[0013] In some embodiments, the above method further includes: sending a second information acquisition request to the server, where the second information acquisition request includes the user identifier; receiving the second display information set returned by the server according to the second information acquisition request, where the second display information set is determined by the server through the following steps: obtaining the feedback data corresponding to the user identifier, and based on the feedback data, determining and deleting the useless information in the candidate display information set to obtain the second display information set; presenting the information in the second display information set to the user.
[0014] In a second aspect, an embodiment of the present disclosure provides a device for displaying information, the device includes: a determination unit configured to, in response to detecting a feedback operation of the user for the currently displayed target information, determine the information matching the target information in the pre-stored first display information set where the target information is located as useless information, where the feedback operation is used to request to close the display of the target information; a deletion unit configured to delete the useless information from the first display information set to obtain an updated first display information set; a display unit configured to present the information in the updated first display information set to the user.
[0015] In some embodiments, the determining unit is further configured to receive feedback data submitted by the user through a feedback operation, where the feedback data is used to characterize the reason for the user to perform the feedback operation; and determine the useless information in the first display information set according to the feedback data.
[0016] In some embodiments, the feedback data is used to indicate the target attribute of the target information; and the determining unit is further configured to, for the information in the first display information set, in response to determining that the similarity between the attribute value of the target attribute of the information and the attribute value of the target attribute of the target information is greater than a preset similarity threshold, determine the information as useless information.
[0017] In some embodiments, the first display information set is obtained in advance through the following steps: sending a first information acquisition request to the server; receiving and storing the first display information set returned by the server according to the first information acquisition request.
[0018] In some embodiments, the apparatus for displaying information further includes: a storage unit configured to receive and store an attribute information set returned by the server according to the first information acquisition request, where the attribute information set is composed of the attribute information of each piece of information in the first display information set, and the attribute information of the information in the first display information set includes the attribute values of the information corresponding to each attribute in a preset attribute set, and the preset attribute set includes the target attribute.
[0019] In some embodiments, the apparatus for displaying information further includes: a sending unit configured to send the feedback data and the user identifier of the user to the server, so that the server stores the correspondence between the feedback data and the user identifier.
[0020] In some embodiments, the sending unit is further configured to send a second information acquisition request to the server, where the second information acquisition request includes the user identifier; the storage unit is further configured to receive and store a second display information set returned by the server according to the second information acquisition request, where the second display information set is determined by the server through the following steps: obtaining the feedback data corresponding to the user identifier, and determining and deleting the useless information in the candidate display information set according to the feedback data to obtain the second display information set; the display unit is further configured to display the information in the second display information set to the user.
[0021] In a third aspect, an embodiment of the present disclosure provides a terminal, which includes: 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 described in any implementation manner of the first aspect.
[0022] Fourthly, an embodiment of the present disclosure provides a computer-readable medium, on which a computer program is stored, and when the computer program is executed by a processor, the method described in any implementation manner of the first aspect is implemented.
[0023] The method and apparatus for presenting information provided by the embodiments of the present disclosure, when detecting a feedback operation of a user on the target information currently presented, determine the information matching the target information in the pre-stored first presentation information set as useless information, and delete the determined useless information from the first presentation information set. Furthermore, the information in the first presentation information set after deleting the useless information can be presented to the user, achieving the immediate processing of the local first presentation information set after receiving the user's feedback operation, thereby responding to the user's feedback operation in real time, avoiding presenting the information that the user is not interested in to the user again, helping to reduce the number of subsequent feedback operations of the user, and at the same time reducing the local storage pressure. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Other features, objects, and advantages of the present disclosure will become more apparent by reading the detailed description of the non-limiting embodiments with reference to the following drawings:
[0025] Figure 1 is an exemplary system architecture diagram to which an embodiment of the present disclosure can be applied;
[0026] Figure 2 is a flowchart of an embodiment of the method for presenting information according to the present disclosure;
[0027] Figure 3 is a schematic diagram of an application scenario of the method for presenting information according to the embodiment of the present disclosure;
[0028] Figure 4 is a flowchart of another embodiment of the method for presenting information according to the present disclosure;
[0029] Figure 5 is a schematic structural diagram of an embodiment of the apparatus for presenting information according to the present disclosure;
[0030] Figure 6 is a schematic structural diagram of an electronic device suitable for implementing the embodiments of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0031] The present disclosure will be further described in detail below with reference to the drawings and embodiments. It can be understood that the specific embodiments described herein are only for explaining the related invention and not for limiting the invention. Additionally, it should be noted that for the sake of description, only parts related to the relevant invention are shown in the drawings.
[0032] It should be noted that, without conflict, the embodiments in the present disclosure and the features in the embodiments may be combined with each other. The following will describe the present disclosure in detail with reference to the accompanying drawings and in combination with the embodiments.
[0033] Figure 1 An exemplary architecture 100 of an embodiment of a method for displaying information or a device for displaying information to which the present disclosure can be applied is shown.
[0034] As Figure 1 shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.
[0035] The terminal devices 101, 102, 103 interact with the server 105 through the network 104 to receive or send messages, etc. Various client applications may be installed on the terminal devices 101, 102, 103. For example, browser applications, shopping applications, search applications, social platform software, etc.
[0036] The terminal devices 101, 102, 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers, and desktop computers, etc. When the terminal devices 101, 102, 103 are software, they may be installed in the above-listed electronic devices. It may be implemented as multiple software or software modules (for example, multiple software or software modules for providing distributed services), or it may be implemented as a single software or software module. No specific limitation is made here.
[0037] The server 105 may be a server that provides various services, such as a backend server that provides backend support for the terminal devices 101, 102, 103. The server 105 may return display information for the information acquisition requests sent by the terminal devices 101, 102, 103 for obtaining information, so that the terminal devices can display the display information returned by the server 105 to the user.
[0038] It should be noted that the above display information may also be directly stored locally in the terminal devices 101, 102, 103. The terminal devices 101, 102, 103 may directly extract the display information stored locally and display it to the user. At this time, the server 105 and the network 104 may not exist.
[0039] It should be noted that the method for displaying information provided by the embodiments of the present disclosure is generally executed by the terminal devices 101, 102, and 103. Correspondingly, the device for displaying information is generally disposed in the terminal devices 101, 102, and 103.
[0040] It should be noted that the server 105 can be hardware or software. When the server 105 is hardware, it can be implemented as a distributed server cluster composed of multiple servers, or as a single server. When the server 105 is software, it can be implemented as multiple software or software modules (such as multiple software or software modules for providing distributed services), or as a single software or software module. No specific limitation is made herein.
[0041] It should be understood that Figure 1 the numbers of the terminal devices, the network, and the server in
[0042] Continue to refer to Figure 2 , which shows a flow 200 of an embodiment of the method for displaying information according to the present disclosure. The method for displaying information includes the following steps:
[0043] Step 201, in response to detecting a feedback operation of the user on the target information currently displayed, determine the information that matches the target information in the first display information set where the target information is stored as useless information.
[0044] In this embodiment, the information can refer to various types of information that can be displayed. For example, the information can refer to one or more of images, texts, audios, and videos. The target information can refer to the information currently displayed.
[0045] Generally, the execution subject of the method for displaying information (such as Figure 1 the terminal devices 101, 102, and 103 shown) can display information to the user and can detect various operations of the user on the information it displays.
[0046] In this embodiment, the feedback operation can be used to request closing the display of the target information. It should be understood that in different application scenarios, the feedback operation can be various different user operations. For example, the feedback operation can be a single-click operation on the target information, a double-click operation on the target information, or a long-press operation on the target information, etc.
[0047] Generally, the user's request to close the display of the target information can indicate that the user is not interested in the target information currently displayed.
[0048] In this embodiment, the first display information set can be pre-stored locally in the above-mentioned execution entity. The first display information set can be composed of target information and other information for display to the user.
[0049] Optionally, the first display information set can be pre-obtained by the above-mentioned execution entity from other storage devices or databases, etc.
[0050] Optionally, the first display information set can be pre-obtained through the following steps: sending a first information acquisition request to the server; receiving the first display information set returned by the server according to the first information acquisition request.
[0051] Among them, the first information acquisition request can be used to request the server (such as Figure 1 the server 105 shown) to return information. According to different application requirements, the first information acquisition request can be triggered by various conditions. For example, the above-mentioned execution entity can even send an information acquisition request to the server every preset time period. For another example, the above-mentioned execution entity can send an information acquisition request to the server when detecting a user operation (such as a refresh operation, a swipe operation, etc.) for indicating the sending of an information acquisition request.
[0052] In this embodiment, each piece of information in the first display information set can be sequentially matched with the target information to determine the matching result of each piece of information with the target information. It should be understood that different information matching methods can be adopted according to different application requirements.
[0053] Optionally, the technical personnel can pre-set specific matching methods according to actual application requirements.
[0054] Optionally, for the information in the first display information set, the matching result of the information can be determined by determining the similarity between the information and the target information and comparing the size relationship between the similarity and a preset similarity threshold, that is, whether the information matches the target information. Generally, if the similarity between the information and the target information is greater than the similarity threshold, it can be considered that the information matches the target information. On the contrary, if the similarity between the information and the target information is not greater than the similarity threshold, it can be considered that the information does not match the target information.
[0055] Among them, various existing similarity calculation methods can be used to determine the similarity between the information in the first display information set and the target information. It should be understood that different types of information can adopt different similarity calculation methods.
[0056] Optionally, various existing clustering methods can be used to cluster the information in the first display information set to obtain a clustering result. Then, according to the clustering result, the information belonging to the same group as the target information can be determined as the information matching the target information.
[0057] Optionally, the information matching the target information in the first display information set can be determined through the following steps: receiving feedback data submitted by the user through a feedback operation; determining the information matching the target information in the first display information set according to the feedback data.
[0058] Among them, the feedback data can be used to characterize the reason for the user to perform the feedback operation. That is, the feedback data can be used to characterize the reason for the user to request to close the display of the target information. The feedback data can be submitted through the user's feedback operation. It should be understood that in different application scenarios or application requirements, the user's feedback operation can be different, and the way for the user to submit the feedback data through the feedback operation and the type of the feedback data can also be different.
[0059] As an example, when the above-mentioned execution entity detects the user's feedback operation, it can display various user interface controls that can be interacted with to the user. At this time, the user can submit feedback data through the user interface controls.
[0060] For example, the user interface control can be a text box. At this time, the user can enter the reason for performing the feedback operation in the text box. At this time, the feedback data submitted by the user can be determined according to the content entered by the user in the feedback text box. For example, the content entered by the user can be directly regarded as the user's feedback data, or the content entered by the user can be pre-processed first (such as cleaning, keyword extraction, etc.), and the processing result obtained after the processing can be used as the user's feedback data.
[0061] Again, for example, a set of options can be provided to the user through the user interface control for the user to select. Among them, the content of each option provided can be pre-set by the technical personnel according to the actual application requirements. As an example, the options can include the following items: dislike the content, dislike the illustration, repeated display, etc.
[0062] In some cases, for each option, the feedback data corresponding to each option can be pre-set. At this time, after the user selects one of the options, it can be determined that the feedback data corresponding to the option selected by the user is the feedback data submitted by the user.
[0063] At this time, the information matching the target information in the first display information set can be determined according to the feedback data. Since different types of feedback data can be set in different application scenarios. Therefore, according to different types of feedback data, different methods can be used to determine the information matching the target information in the first display information set.
[0064] In some alternative implementation manners of this embodiment, the feedback data can be used to indicate the target attributes of the target information. For example, when a feedback operation of the user is detected, a set of options corresponding to each attribute in the target attribute set can be presented to the user for selection. Among them, the options can correspond one by one to the attributes in the target attribute set. At this time, the attribute corresponding to the option selected by the user is the target attribute.
[0065] At this time, the feedback data can characterize that the user requests to close the display of the target information because of the target attributes of the target information. In other words, it can be considered that the target attributes of the target information are the reasons for the user's lack of interest in the target information.
[0066] Optionally, based on the target attributes, a clustering operation can be performed on the information in the first display information set to obtain a clustering result. Then, according to the clustering result, the information in the same group as the target information can be determined as the information matching the target information, that is, useless information.
[0067] Optionally, at this time, the feedback data can be used to characterize that the user requests to close the display of the target information because of the target attributes of the target information. In other words, it can be considered that the target attributes of the target information are the reasons for the user's lack of interest in the target information.
[0068] At this time, the information in the first display information set that matches the target information can be determined according to the feedback data through the following steps: for the information in the first display information set, in response to determining that the similarity between the attribute value of the target attribute of the information and the attribute value of the target attribute of the target information is greater than a preset similarity threshold, determine that the information is the information that matches the target information.
[0069] Among them, the similarity threshold can be set by a technician according to actual application requirements. The attribute values of the target attributes corresponding to each piece of information in the first display information set can be stored locally in the above-mentioned execution entity in advance.
[0070] Optionally, the above-mentioned execution entity can store an attribute information set in advance. Among them, the attribute information set can be composed of the attribute information of each piece of information in the first display information set. Among them, for the information in the first display information set, the attribute information of the information can include the attribute values of the information corresponding to each attribute in the preset attribute set. Of course, the preset attribute set can include the target attributes of the above-mentioned target information.
[0071] Among them, the above-mentioned execution entity can obtain the above-mentioned attribute information set from other storage devices or connected databases in advance. The above-mentioned execution entity can also receive and store in advance the attribute information set returned by the server according to the above-mentioned first information acquisition request. At this time, the server can return the attribute information set corresponding to the first display information set while returning the first display information set according to the first information acquisition request.
[0072] When a feedback operation of a user is detected and a set of options corresponding to each attribute in the target attribute set are presented to the user for selection, the target attribute set can be the above-mentioned preset attribute set, that is, the attributes corresponding to each user option can form the above-mentioned preset attribute set.
[0073] Since the target information also belongs to the first display information set, therefore, the attribute value of the target attribute of the target information can be obtained from the above-mentioned attribute information set. At this time, for the information in the first display information set, the attribute value corresponding to the target attribute of this information can be obtained from the above-mentioned attribute information set. Then, the attribute value of the target attribute of the target information and the attribute value corresponding to the target attribute of this information can be compared to determine the similarity between the target information and the attribute values corresponding to the target attribute of this information respectively. If the determined similarity is greater than the preset similarity threshold, it can be determined that this information is the information matching the target information, that is, it is determined that this information is useless information. If the determined similarity is not greater than the preset similarity threshold, it can be determined that this information is not the information matching the target information, that is, it is determined that this information is not useless information.
[0074] It can be understood that since the target information belongs to the first display information set. Therefore, it is also necessary to determine the matching degree between the target information and the target information. Two completely identical pieces of information must be matching. Therefore, the target information must be useless information.
[0075] By pre-storing the attribute information set, the above-mentioned execution entity can make the entire process of determining the information matching the target information in the first display information set be performed offline, thereby further improving the response speed to the feedback operation of the user.
[0076] It can be understood that since the size of the display component of the terminal device for displaying information is usually limited, therefore, the information that the user can see at each moment is limited. In other words, the number of information items presented to the user by the above-mentioned execution entity at each moment is limited. Therefore, generally, when the above-mentioned execution entity presents the information in an information set to the user, the information in the information set can be presented to the user in a certain order.
[0077] It should be noted that in the present disclosure, for the convenience of describing different display information sets, each display information set is respectively named the first display information set and the second display information set. Those skilled in the art should understand that the "first" and "second" therein do not constitute a special limitation on the display information set.
[0078] Similarly, for the convenience of describing different information acquisition requests, each information acquisition request is named the first information acquisition request and the second information acquisition request respectively. Those skilled in the art should understand that the "first" and "second" herein do not constitute special limitations on the information acquisition requests.
[0079] Step 202: Delete useless information from the first display information set to obtain an updated first display information set.
[0080] In this embodiment, as described above, since the user requests to close the display of the target information, it can be considered that the user is not interested in the target information. Based on this, it can be determined that the information matching the target information also belongs to the information that the user is not interested in. Therefore, the information matching the target information can be deleted from the first display information set to avoid excessive storage of information that the user is not interested in in the local storage of the above-mentioned execution entity and display it to the user. While reducing the user's feedback operation, it can save local storage space.
[0081] Step 203: Display the information in the updated first display information set to the user.
[0082] In this embodiment, after obtaining the updated first display information set, the display order of each piece of information in the updated first display information set can be re-determined according to a preset algorithm, and then the information in the updated first display information set can be displayed to the user in the determined order.
[0083] Continue to refer to Figure 3 , Figure 3 is a schematic application scenario 300 of the method for displaying information according to this embodiment. In Figure 3 the application scenario, the terminal 301 locally pre-stores a display information set 302, and the terminal 301 is currently displaying display information 01, display information 02, and display information 03 in the display information set 302 to the user.
[0084] For the information that the user is not interested in, the user can submit feedback by clicking the upper right corner of the information. As shown by the reference numeral 303 in the figure, the user clicks the upper right corner of the display information 01 to give feedback, and the terminal 301 displays a drop-down list 304 to the user. The user can select the feedback reason in the drop-down list 304. As shown in the figure, the feedback reasons include dislike of the category and already viewed. Among them, each feedback reason can be preset to correspond to an attribute. For example, dislike of the category can correspond to the attribute of category. Already viewed can correspond to the attribute of the number of times displayed.
[0085] As shown by reference numeral 305 in the figure, the user selects a category that they dislike and provides feedback. The terminal 301 can look up the attribute values corresponding to the category attribute for each piece of information in the pre-stored display information set 302. As shown by reference numeral 306 in the figure, the display information set 302 includes display information 03, which has the same category "A" as the display information 01. Therefore, the display of display information 01 and display information 03 can be turned off, and display information 01 and display information 03 can be deleted from the display information set 302 to obtain a new display information set 307.
[0086] After that, the information in the new display information set 307 can be shown to the user. As shown at 308 in the figure, the information currently shown to the user has been updated to display information 02, display information 04, and display information 05.
[0087] The method provided in the above embodiments of the present disclosure, by detecting a feedback operation of the user on the currently displayed information, promptly determines, according to the feedback operation of the user, the information that matches the information targeted by the feedback operation in the display information set as useless information, and deletes the determined useless information from the display information set, thereby updating the display information set shown to the user, so as to achieve an immediate and efficient response to the feedback operation of the user, and avoid the situation where the user may still browse the information in the display information set that matches the target information after performing the feedback operation, that is, the feedback operation of the user is not promptly responded to.
[0088] Further referring to Figure 4 , which shows a flowchart 400 of another embodiment of the method for displaying information. The flowchart 400 of the method for displaying information includes the following steps:
[0089] Step 401: Send a first information acquisition request to the server.
[0090] Step 402: Receive and store the first display information set and the attribute information set returned by the server according to the first information acquisition request.
[0091] Step 403: In response to detecting a feedback operation of the user on the currently displayed target information, receive the feedback data submitted by the user through the feedback operation.
[0092] Step 404: Determine the useless information in the first display information set according to the feedback data.
[0093] Step 405: Delete the useless information from the first display information set to obtain an updated first display information set.
[0094] Step 406: Show the information in the updated first display information set to the user.
[0095] For the specific execution processes of the above steps 401-406, reference can be made to Figure 2 the relevant descriptions in the corresponding embodiments, which will not be elaborated here.
[0096] Step 407: Send feedback data and the user identification of the user to the server, so that the server stores the corresponding relationship between the feedback data and the user identification.
[0097] In this embodiment, while the above execution entity instantaneously processes the local first display information set according to the user's feedback operation, it can also send the feedback data submitted by the user and the user identification of the user to the server. After receiving the feedback data and the user identification, the server can correspondingly store the feedback data and the corresponding user identification. Among them, the user identification can be various information that can be used to identify the user. For example, the user identification can be a user account, a user mobile phone number, a terminal identification, etc.
[0098] Step 408: Send a second information acquisition request to the server.
[0099] In this embodiment, the second information acquisition request can be used to request the server to send information. Among them, the second information acquisition request can include the above user identification.
[0100] Step 409: Receive and store the second display information set returned by the server according to the second information acquisition request.
[0101] In this embodiment, after receiving the second information acquisition request, the server can determine the second display information set through the following steps:
[0102] Step 1: Acquire the feedback data corresponding to the user identification.
[0103] In this step, since the server stores the corresponding relationship between the user identification and the feedback data. Therefore, the server can first look up the feedback data submitted by the user indicated by the user identification according to the user identification.
[0104] Step 2: According to the feedback data, determine and delete the useless information in the candidate display information set to obtain the second display information set.
[0105] In this step, the server can first determine the useless information in the candidate display information set according to the feedback data, then delete the determined useless information from the candidate display information set, and determine the candidate display information set after deleting the useless information as the second display information set.
[0106] Among them, the candidate display information set can be determined by the server according to its preset processing algorithm. It should be understood that in different application scenarios, the server can set different processing algorithms to determine the candidate display information set.
[0107] Among them, the useless information may refer to the information determined according to the feedback data and matching the above-mentioned target information. When the feedback data is used to indicate the target attribute of the target information, it is possible to determine whether the information in the candidate display information set is useless information by comparing the similarity between the attribute value of the target attribute of the information in the candidate display information set and the attribute value of the target attribute of the target information with the similarity threshold.
[0108] At this time, for the information in the candidate display information set, in response to determining that the similarity between the attribute value of the target attribute of the information and the attribute value of the target attribute of the target information is greater than the preset similarity threshold, it can be determined that the information is useless information. In response to determining that the similarity between the attribute value of the target attribute of the information and the attribute value of the target attribute of the target information is not greater than the preset similarity threshold, it can be determined that the information is not useless information.
[0109] Optionally, when the server returns the second display information set according to the second information acquisition request, it may return the attribute information set corresponding to the second display information set to the above-mentioned execution entity. Among them, the attribute information set corresponding to the second display information set may be composed of the attribute information of each information in the second display information set. Among them, the attribute information of the information in the second display information set may include the attribute values of the information corresponding to each attribute in the above-mentioned preset attribute set.
[0110] At the same time, the above-mentioned execution entity may receive and store the second display information set and the corresponding attribute information set returned by the server. Thus, when the above-mentioned execution entity detects the user's feedback operation again, it can quickly determine and delete the useless information in the second display information set according to the locally stored attribute information set, so as to ensure an immediate response to the user's next feedback operation.
[0111] Step 410, display the information in the second display information set to the user.
[0112] The process 400 of the method for displaying information in this embodiment can be carried out when the above-mentioned execution entity processes the first set of display information pre-stored locally according to the user's feedback operation to delete the useless information in the first set of display information, so as to achieve an instant response to the user's feedback operation. At the same time, it can also send the feedback data submitted by the user through the feedback operation to the server. As a result, when the server receives the information acquisition request from the above-mentioned execution entity, it can process the candidate set of display information according to the received feedback data to delete the useless information in the candidate set of display information, and push the candidate set of display information with the useless information deleted to the above-mentioned execution entity for the above-mentioned execution entity to display to the user. Thus, it is ensured that the above-mentioned execution entity can not only respond instantaneously to the user's feedback operation offline, but also ensure that there is no information that does not conform to the user's feedback operation in the new information displayed to the user online, avoiding pushing useless information to the user, thereby avoiding waste of traffic on the server and the above-mentioned execution entity, and helping to reduce the number of subsequent feedback operations of the user and improve the accurate push of display information.
[0113] Further referring to Figure 5 , as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a device for displaying information. This device embodiment corresponds to Figure 2 the method embodiment shown, and this device can be specifically applied to various electronic devices.
[0114] As Figure 5 shown, the device 500 for displaying information provided in this embodiment includes a determination unit 501, a deletion unit 502, and a display unit 503. Among them, the determination unit 501 is configured to, in response to detecting a feedback operation of the user on the target information currently being displayed, determine the information that matches the target information in the first set of display information where the target information is located and pre-stored as useless information, where the feedback operation is used to request to close the display of the target information; the deletion unit 502 is configured to delete the useless information from the first set of display information to obtain an updated first set of display information; the display unit 503 is configured to display the information in the updated first set of display information to the user.
[0115] In this embodiment, in the device 500 for displaying information: the specific processing of the determination unit 501, the deletion unit 502, and the display unit 503 and the technical effects brought by them can respectively refer to Figure 2 the relevant descriptions of step 201, step 202, and step 203 in the corresponding embodiment, which will not be elaborated here.
[0116] In some alternative implementation manners of this embodiment, the above-mentioned determining unit 501 is further configured to receive feedback data submitted by a user through a feedback operation, where the feedback data is used to characterize the reason for the user to perform the feedback operation; and determine useless information in the first display information set according to the feedback data.
[0117] In some alternative implementation manners of this embodiment, the above-mentioned feedback data is used to indicate the target attribute of the target information; and the above-mentioned determining unit 501 is further configured to, for the information in the first display information set, in response to determining that the similarity between the attribute value of the target attribute of the information and the attribute value of the target attribute of the target information is greater than a preset similarity threshold, determine that the information is useless information.
[0118] In some alternative implementation manners of this embodiment, the above-mentioned first display information set is obtained in advance through the following steps: sending a first information acquisition request to the server; receiving and storing the first display information set returned by the server according to the first information acquisition request.
[0119] In some alternative implementation manners of this embodiment, the above-mentioned device 500 for displaying information further includes: a storage unit (not shown in the figure) configured to receive and store an attribute information set returned by the server according to the first information acquisition request, where the attribute information set is composed of the attribute information of each piece of information in the first display information set, where the attribute information of the information in the first display information set includes the attribute values corresponding to each attribute in a preset attribute set respectively, and the preset attribute set includes the target attribute.
[0120] In some alternative implementation manners of this embodiment, the above-mentioned device 500 for displaying information further includes: a sending unit (not shown in the figure) configured to send the feedback data and the user identifier of the user to the server, so that the server stores the corresponding relationship between the feedback data and the user identifier.
[0121] In some alternative implementation manners of this embodiment, the above-mentioned sending unit is further configured to send a second information acquisition request to the server, where the second information acquisition request includes the user identifier; the above-mentioned storage unit is further configured to receive and store a second display information set returned by the server according to the second information acquisition request, where the second display information set is determined by the server through the following steps: obtaining the feedback data corresponding to the user identifier, and determining and deleting the useless information in the candidate display information set according to the feedback data to obtain the second display information set; the above-mentioned display unit is further configured to display the information in the second display information set to the user.
[0122] The device provided by the above embodiments of the present disclosure determines, by a determination unit, information that is pre-stored and matches the target information in the first display information set where the target information is located as useless information in response to detecting a feedback operation of the user on the currently displayed target information, where the feedback operation is used to request to close the display of the target information; a deletion unit deletes the useless information from the first display information set to obtain an updated first display information set; a display unit displays the information in the updated first display information set to the user, thereby realizing the immediate processing of the local first display information set after receiving the feedback operation of the user, responding to the feedback operation of the user in real time, avoiding displaying information that the user is not interested in to the user again, helping to reduce the number of subsequent feedback operations of the user, and at the same time reducing the local storage pressure.
[0123] Reference is made below to Figure 6 , which shows a schematic structural diagram of an electronic device (such as Figure 1 the terminal device in) 600 suitable for implementing the embodiments of the present disclosure. The terminal device in the embodiments 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), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The terminal device shown is only an example and should not impose any limitations on the functions and usage scopes of the embodiments of the present disclosure.
[0124] As Figure 6 shown, the electronic device 600 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 601, which may perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0125] Generally, the following devices may be connected to the I / O interface 605: an input device 606 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 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or wiredly to exchange data. Although Figure 6An electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or have all the devices shown. Instead, more or fewer devices may be implemented or had. Figure 6 Each block shown in can represent a device or, as needed, multiple devices.
[0126] In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, an embodiment of the present disclosure includes a computer program product that includes a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by a processing device 601, the above functions defined in the methods of the embodiments of the present disclosure are performed.
[0127] It should be noted that the computer-readable medium described in the embodiments of the present disclosure can be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of a computer-readable storage medium can include, but are not limited to: an electrical connection having 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 embodiments of the present disclosure, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. And in the embodiments of the present disclosure, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, in which computer-readable program code is carried. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can 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 can be transmitted with any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0128] The above computer-readable medium may be included in the above terminal; or it may exist independently without being assembled into the terminal. The above computer-readable medium carries one or more programs, and when the one or more programs are executed by the terminal, the terminal is caused to: in response to detecting a feedback operation of the user for the target information currently displayed, determine, as useless information, the information in the first display information set where the target information is located and that matches the target information among the pre-stored information, wherein the feedback operation is used to request closing the display of the target information; delete the useless information from the first display information set to obtain an updated first display information set; and display the information in the updated first display information set to the user.
[0129] Computer program code for performing the operations of the embodiments of the present disclosure may be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (for example, by connecting through the Internet using an Internet service provider).
[0130] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combinations of blocks in the block diagram and / or flowchart, may be implemented by a dedicated hardware-based system for performing the specified functions or operations, or may be implemented by a combination of dedicated hardware and computer instructions.
[0131] The units involved in the embodiments described in this disclosure can be implemented in software or in hardware. The described units can also be provided in a processor. For example, it can be described as: a processor includes a determination unit, a deletion unit, and a display unit. Among them, the names of these units do not constitute a limitation on the unit itself in some cases. For example, the display unit can also be described as "the unit that displays the information in the updated first display information set to the user".
[0132] The above description is only for the preferred embodiments of this disclosure and the explanation of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in the embodiments of this disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, and should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above inventive concept. For example, the technical solutions formed by mutually replacing the above features with the technical features (but not limited to) having similar functions disclosed in the embodiments of this disclosure.
Claims
1. A method for presenting information, applied to a terminal device, the method comprising: In response to detecting a feedback operation of a user on the target information currently presented, determining, according to the target attribute of the target information characterized by the feedback operation, the information that matches the target information in the first presentation information set where the target information is located and stored locally as useless information, wherein the feedback operation is used to request to close the presentation of the target information; Deleting the useless information from the first presentation information set to obtain an updated first presentation information set; Presenting the information in the updated first presentation information set to the user.
2. The method according to claim 1, wherein, The step of "In response to detecting a feedback operation of a user on the target information currently presented, determining, according to the target attribute of the target information characterized by the feedback operation, the information that matches the target information in the first presentation information set where the target information is located and stored locally as useless information" includes: Receiving the feedback data submitted by the user through the feedback operation, wherein the feedback data is used to characterize the reason for the user to perform the feedback operation; Determining the useless information in the first presentation information set according to the target attribute of the target information characterized by the feedback data.
3. The method according to claim 2, wherein, The step of "Determining the useless information in the first presentation information set according to the target attribute of the target information characterized by the feedback data" includes: For the information in the first presentation information set, in response to determining that the similarity between the attribute value of the target attribute of the information and the attribute value of the target attribute of the target information is greater than a preset similarity threshold, determining the information as useless information.
4. The method according to claim 3, wherein, The first presentation information set is obtained in advance through the following steps: Sending a first information acquisition request to the server; Receiving and storing the first presentation information set returned by the server according to the first information acquisition request.
5. The method according to claim 4, wherein The method further includes: Receiving and storing the attribute information set returned by the server according to the first information acquisition request, wherein the attribute information set is composed of the attribute information of each piece of information in the first presentation information set, wherein the attribute information of the information in the first presentation information set includes the attribute values of the information corresponding to each attribute in a preset attribute set, and the preset attribute set includes the target attribute.
6. The method according to claim 4, wherein The method further includes: Sending the feedback data and the user identifier of the user to the server so that the server stores the corresponding relationship between the feedback data and the user identifier.
7. The method according to claim 6, wherein, The method further includes: Sending a second information acquisition request to the server, wherein the second information acquisition request includes the user identifier; Receiving and storing the second presentation information set returned by the server according to the second information acquisition request, wherein the second presentation information set is determined by the server through the following steps: obtaining the feedback data corresponding to the user identifier, and determining and deleting the useless information in the candidate presentation information set according to the feedback data to obtain the second presentation information set; Presenting the information in the second presentation information set to the user.
8. A device for displaying information, which is applied to a terminal device, and the device includes: A determination unit, configured to, in response to detecting a feedback operation of a user for target information currently displayed, determine, according to a target attribute of the target information represented by the feedback operation, information that matches the target information in a first display information set where the target information is located and is pre-stored locally as useless information, where the feedback operation is used to request to close the display of the target information; A deletion unit, configured to delete the useless information from the first display information set to obtain an updated first display information set; A display unit, configured to display the information in the updated first display information set to the user.
9. A terminal, including: One or more processors; A storage device, on which one or more programs are stored; 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-7.
10. A computer-readable medium having a computer program stored thereon, wherein, When the program is executed by the processor, the method according to any one of claims 1-7 is implemented.