Information display method, device, system, electronic device and server
By receiving and replacing the display of interactive information in social applications, the problem that user interaction behavior cannot be updated in real time is solved, real-time display of interactive information is realized, and user experience and social atmosphere are improved.
Patent Information
- Application Number
- CN202111234321.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-22
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2041-10-22
AI Technical Summary
In social applications, users' interaction behavior cannot be updated in real time, resulting in the interaction information being unable to be displayed in real time.
By receiving the target content recommended to the current account, pre-interaction display information and post-interaction display information, the matching between the current account and the target interaction type is detected, and the pre-interaction display information in the preset area is replaced in real time as post-interaction display information.
Real-time display of interactive information is realized, user experience is improved, and social atmosphere is enhanced.
Smart Images

Figure CN113901353B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of Internet technology, and in particular to an information display method, device, system, electronic device, server and storage medium. Background Art
[0002] In social applications, users often generate a series of interactive behaviors, such as liking, collecting, and commenting on certain content; this means that there will be some dynamic behaviors in social applications, which in layman's terms are a series of interactive behaviors generated by the people you follow during the use of the application.
[0003] In the related art, when the received content is displayed, the relationship chain copy information on the content will be displayed at the same time, for example, Zhang San and two other friends liked it; however, if the current user also performs the same interactive behavior on the content, the relationship chain copy information on the content will not be updated in real time, resulting in the inability to display the interactive information in real time. Summary of the invention
[0004] The present disclosure provides an information display method, device, system, electronic device, server and storage medium to at least solve the problem that interactive information cannot be displayed in real time in the related art. The technical solution of the present disclosure is as follows:
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided an information display method, which is applied to a terminal and includes:
[0006] Receive target content recommended to the current account, pre-interaction display information, and post-interaction display information corresponding to the pre-interaction display information; the target content is content that the following account of the current account has interacted with, the pre-interaction display information is interaction information of the target interaction type of the following account with the target content before the current account interacts with the target content; the post-interaction display information is interaction information of the target interaction type of the current account and the following account with the target content after the current account interacts with the target content;
[0007] The target content is displayed; the pre-interaction display information is displayed in a preset area of the target content;
[0008] When it is detected that the interaction type of the interaction operation of the current account on the target content matches the target interaction type, the pre-interaction display information displayed in the preset area is replaced with the post-interaction display information.
[0009] In an exemplary embodiment, after displaying the target content, the method further includes:
[0010] In response to an interactive operation of the current account on the target content, acquiring an interactive type of the interactive operation;
[0011] When the interaction type and the target interaction type are the same, it is confirmed that the interaction type of the interaction operation of the current account on the target content matches the target interaction type.
[0012] In an exemplary embodiment, after the pre-interaction display information displayed in the preset area is replaced with the post-interaction display information, the method further includes:
[0013] When it is detected that the current account cancels the interactive operation of the target interactive type on the target content, the post-interaction display information displayed in the preset area is replaced with the pre-interaction display information.
[0014] According to a second aspect of an embodiment of the present disclosure, there is provided an information display method, which is applied to a server and includes:
[0015] Determine the target content recommended to the current account, pre-interaction display information, and post-interaction display information corresponding to the pre-interaction display information; the target content is the content that the following account of the current account has interacted with, the pre-interaction display information is the interaction information of the target interaction type of the following account to the target content before the current account interacts with the target content; the post-interaction display information is the interaction information of the target interaction type of the current account and the following account to the target content after the current account interacts with the target content;
[0016] The target content, the pre-interaction display information and the post-interaction display information are sent to the current account, so that the terminal of the current account displays the target content, the pre-interaction display information is displayed in a preset area of the target content, and when it is detected that the interaction type of the current account's interactive operation on the target content matches the target interaction type, the pre-interaction display information displayed in the preset area is replaced with the post-interaction display information.
[0017] In an exemplary embodiment, the pre-interaction display information and the post-interaction display information are obtained in the following manner:
[0018] Obtaining each pre-interaction detail information of the target content and each post-interaction detail information corresponding to the pre-interaction detail information; the pre-interaction detail information is the interaction detail information of the target content by the concerned account before the current account interacts with the target content; the post-interaction detail information is the interaction detail information of the target content by the current account and the concerned account after the current account interacts with the target content;
[0019] Filtering target pre-interaction detailed information from each of the pre-interaction detailed information;
[0020] Acquire first display information corresponding to the target pre-interaction detail information, and identify the first display information as the pre-interaction display information, and acquire second display information of the post-interaction detail information corresponding to the target pre-interaction detail information, and identify the second display information as the post-interaction display information.
[0021] In an exemplary embodiment, filtering out target pre-interaction detailed information from each of the pre-interaction detailed information includes:
[0022] Obtaining the interaction type of each of the pre-interaction detailed information;
[0023] Query the matching relationship between the interaction type and the priority, and obtain the priority of the interaction type of each of the pre-interaction detailed information;
[0024] The pre-interaction detail information of the interaction type with the highest priority is screened out from each of the pre-interaction detail information, and the pre-interaction detail information of the interaction type with the highest priority is identified as the target pre-interaction detail information.
[0025] In an exemplary embodiment, the target pre-interaction detailed information includes a display information template identifier, the follow account and the number of the follow accounts;
[0026] The obtaining first display information corresponding to the target pre-interaction detailed information includes:
[0027] Acquire a display information template that matches the display information template identifier;
[0028] The follow-up account and the quantity are added to corresponding positions in the display information template respectively to obtain the first display information.
[0029] According to a third aspect of an embodiment of the present disclosure, there is provided an information display device, which is applied to a terminal and includes:
[0030] An information receiving unit is configured to receive target content recommended to a current account, pre-interaction display information, and post-interaction display information corresponding to the pre-interaction display information; the target content is content that has been interacted with by a follower account of the current account, the pre-interaction display information is interaction information of a target interaction type of the follower account with the target content before the current account interacts with the target content; the post-interaction display information is interaction information of the target interaction type of the current account and the follower account with the target content after the current account interacts with the target content;
[0031] A content display unit is configured to display the target content; the pre-interaction display information is displayed in a preset area of the target content;
[0032] The first replacement unit is configured to replace the pre-interaction display information displayed in the preset area with the post-interaction display information when it is detected that the interaction type of the interaction operation of the current account on the target content matches the target interaction type.
[0033] In an exemplary embodiment, the device also includes a type detection unit, which is configured to execute an interaction type of the interaction operation in response to the current account's interaction operation on the target content; when the interaction type is the same as the target interaction type, it is confirmed that the interaction type of the current account's interaction operation on the target content matches the target interaction type.
[0034] In an exemplary embodiment, the device also includes a second replacement unit configured to replace the post-interaction display information displayed in the preset area with the pre-interaction display information when it is detected that the current account cancels the interaction operation of the target interaction type on the target content.
[0035] According to a fourth aspect of an embodiment of the present disclosure, there is provided an information display device, which is applied to a server and includes:
[0036] The information acquisition unit is configured to determine the target content recommended to the current account, the pre-interaction display information, and the post-interaction display information corresponding to the pre-interaction display information; the target content is the content that the follower account of the current account has interacted with, the pre-interaction display information is the interaction information of the target interaction type of the follower account to the target content before the current account interacts with the target content; the post-interaction display information is the interaction information of the target interaction type of the current account and the follower account to the target content after the current account interacts with the target content;
[0037] An information sending unit is configured to send the target content, the pre-interaction display information and the post-interaction display information to the current account, so that the terminal of the current account displays the target content, the pre-interaction display information is displayed in a preset area of the target content, and when it is detected that the interaction type of the current account's interactive operation on the target content matches the target interaction type, the pre-interaction display information displayed in the preset area is replaced by the post-interaction display information.
[0038] In an exemplary embodiment, the information acquisition unit is further configured to execute acquisition of each pre-interaction detail information of the target content and the post-interaction detail information corresponding to each pre-interaction detail information; the pre-interaction detail information is the interaction detail information of the follow account with the target content before the current account interacts with the target content; the post-interaction detail information is the interaction detail information of the current account and the follow account with the target content after the current account interacts with the target content; from each pre-interaction detail information, filter out the target pre-interaction detail information; acquire first display information corresponding to the target pre-interaction detail information, and identify the first display information as the pre-interaction display information, and acquire second display information of the post-interaction detail information corresponding to the target pre-interaction detail information, and identify the second display information as the post-interaction display information.
[0039] In an exemplary embodiment, the information acquisition unit is further configured to execute acquisition of the interaction type of each of the pre-interaction details information; query the matching relationship between the interaction type and the priority to obtain the priority of the interaction type of each of the pre-interaction details information; filter out the pre-interaction details information with the highest priority of the interaction type from each of the pre-interaction details information, and identify the pre-interaction details information with the highest priority of the interaction type as the target pre-interaction details information.
[0040] In an exemplary embodiment, the target pre-interaction details information includes a display information template identifier, the follow account and the number of follow accounts; the information acquisition unit is further configured to execute acquisition of a display information template that matches the display information template identifier; and to add the follow account and the number to corresponding positions in the display information template, respectively, to obtain the first display information.
[0041] According to a fifth aspect of an embodiment of the present disclosure, there is provided a system, including: a server and a terminal, wherein the server and the terminal are communicatively connected;
[0042] The server is used to determine target content recommended to the current account, pre-interaction display information, and post-interaction display information corresponding to the pre-interaction display information; the target content is content that the following account of the current account has interacted with, the pre-interaction display information is interaction information of the target interaction type of the following account with the target content before the current account interacts with the recommended content; the post-interaction display information is interaction information of the target interaction type of the current account and the following account with the target content after the current account interacts with the target content; the target content, the pre-interaction display information, and the post-interaction display information are sent to the terminal;
[0043] The terminal is used to display the target content, wherein the pre-interaction display information is displayed in a preset area of the target content, and when it is detected that the interaction type of the current account's interaction operation on the target content matches the target interaction type, the pre-interaction display information displayed in the preset area is replaced by the post-interaction display information.
[0044] According to a sixth aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the information display method as described in any one of the embodiments of the first aspect.
[0045] According to the seventh aspect of the embodiments of the present disclosure, a server is provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the information display method as described in any one of the embodiments of the second aspect.
[0046] According to an eighth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the information display method described in any one of the embodiments of the first aspect.
[0047] According to a ninth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of a server, the server is enabled to execute the information display method described in any one of the embodiments of the second aspect.
[0048] According to a tenth aspect of the embodiments of the present disclosure, a computer program product is provided, wherein the computer program product includes instructions, and when the instructions are executed by a processor of an electronic device, the electronic device is able to execute the information display method described in any one of the embodiments of the first aspect.
[0049] According to an eleventh aspect of the embodiments of the present disclosure, a computer program product is provided, wherein the computer program product includes instructions, and when the instructions are executed by a processor of a server, the server is able to execute the information display method described in any one of the embodiments of the second aspect.
[0050] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0051] By receiving the target content recommended to the current account, the pre-interaction display information and the post-interaction display information corresponding to the pre-interaction display information; the target content is the content that the current account's follow account has interacted with, the pre-interaction display information is the interaction information of the target interaction type of the follow account to the target content before the current account interacts with the target content; the post-interaction display information is the interaction information of the target interaction type of the current account and the follow account to the target content after the current account interacts with the target content; the target interaction type is the highest priority interaction type among the various interaction types of the follow account to the target content; then the target content is displayed; the pre-interaction display information is displayed in the preset area of the target content, and when it is detected that the interaction type of the current account's interaction operation on the target content matches the target interaction type, the pre-interaction display information displayed in the preset area is replaced with the post-interaction display information; in this way, by extending the post-interaction display information, the purpose of replacing the pre-interaction display information displayed in the preset area of the target content with the post-interaction display information is achieved when the interaction type of the current account's interaction operation on the target content matches the target interaction type, so as to facilitate the real-time display of the interaction information.
[0052] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0054] Figure 1 The present invention is an application environment diagram of an information display method according to an exemplary embodiment.
[0055] Figure 2 The present invention is a flowchart of an information display method according to an exemplary embodiment.
[0056] Figure 3 The figure is a flowchart of another information display method according to an exemplary embodiment.
[0057] Figure 4 The figure is a flowchart of another information display method according to an exemplary embodiment.
[0058] Figure 5 The invention is a block diagram of an information display device according to an exemplary embodiment.
[0059] Figure 6 It is a block diagram of another information display device according to an exemplary embodiment.
[0060] Figure 7It is a block diagram of an electronic device according to an exemplary embodiment.
[0061] Figure 8 It is a block diagram of a server according to an exemplary embodiment. DETAILED DESCRIPTION
[0062] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0063] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0064] It should also be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.
[0065] The information display method provided by the present disclosure can be applied to Figure 1 In the application environment shown in FIG. 1 , the terminal 110 interacts with the server 120 via a network. Specifically, refer to Figure 1In a dynamic scene (such as a scene where a friend is watching), the terminal 110 receives the target content recommended to the current account, the pre-interaction display information, and the post-interaction display information corresponding to the pre-interaction display information sent by the server 120; the target content is the content that the current account's follower account has interacted with, the pre-interaction display information is the interaction information of the target interaction type of the follower account to the target content before the current account interacts with the target content; the post-interaction display information is the interaction information of the target interaction type of the current account and the follower account to the target content after the current account interacts with the target content; the target interaction type is the highest priority interaction type among the various interaction types of the follower account to the target content; the target content is displayed; the pre-interaction display information is displayed in the preset area of the target content; when it is detected that the interaction type of the interaction operation of the current account to the target content matches the target interaction type, the pre-interaction display information displayed in the preset area is replaced with the post-interaction display information. Among them, the terminal 110 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, and portable wearable devices, and the server 120 can be implemented by an independent server or a server cluster composed of multiple servers.
[0066] Figure 2 is a flowchart of an information display method according to an exemplary embodiment. Figure 2 As shown, the information display method is used as follows Figure 1 In the terminal shown, the following steps are included:
[0067] In step S210, target content recommended to the current account, pre-interaction display information, and post-interaction display information corresponding to the pre-interaction display information are received.
[0068] Among them, the target content is the content that the accounts followed by the current account have interacted with; the information displayed before interaction is the interaction information of the target interaction type of the followed account with the target content before the current account interacts with the target content; the information displayed after interaction is the interaction information of the target interaction type of the current account and the followed account with the target content after the current account interacts with the target content; the target interaction type is the interaction type with the highest priority among the various interaction types of the followed account with the target content.
[0069] The account refers to the registered account of the application in the terminal, such as the registered account of the short video application, the registered account of the video browsing program, etc. The current account refers to the account that has been authorized and needs to be processed and analyzed, specifically refers to the recommended object of the content; in actual scenarios, the current account can refer to the recommended object of the video, the recommended object of the live broadcast, or the recommended object of the news information, etc.
[0070] The target content refers to the content recommended to the current account, which can be videos, live broadcasts, pictures, advertisements, articles, etc. The followed accounts refer to the friends followed by the current account. For example, in a short video application, if account A follows accounts B, C, and D, then the followed accounts of account A are accounts B, C, and D. In addition, the content that the followed accounts have interacted with refers to the content that the followed accounts have liked, commented on, shared, or collected.
[0071] Among them, the interaction type refers to the interaction type of the interactive operation on the target content, such as likes, comments, shares, collections, etc. Each interaction type corresponds to a priority, for example, the priority of likes is higher than the priority of comments; the target interaction type refers to the highest priority interaction type among the various interaction types of the follow account for the same target content, such as likes, and the specific interaction type can be adjusted according to the actual situation.
[0072] Among them, the pre-interaction display information refers to the interactive information of the target interactive type of the current account's followed accounts on the target content, which needs to be displayed in the preset area of the target content before the current account performs the target interactive type of interactive operation on the target content. Specifically, it refers to the pre-interaction relationship chain copywriting information, such as Zhang San and 2 other friends liked it, and Zhang San, Li Si and 6 other friends liked it.
[0073] Among them, the post-interaction display information refers to the interaction information of the target interaction type between the current account and the accounts followed by the current account on the target content, which needs to be displayed in the preset area of the target content after the current account performs the target interaction type of interaction operation on the target content. Specifically, it refers to the post-interaction relationship chain copywriting information, such as Wang Er, Zhang San and other 3 friends liked it, and Wang Er, Zhang San, Li Si and other 7 friends liked it.
[0074] It should be noted that each pre-interaction display information of each target interaction type corresponds to a post-interaction display information of one target interaction type, and the pre-interaction display information and the post-interaction display information corresponding to the pre-interaction display information are for the same target interaction type; for example, the pre-interaction display information is "Zhang San and two other friends liked it", and the current account is Wang Er. When Wang Er also liked the target content, the corresponding post-interaction display information is "Wang Er, Zhang San and three other friends liked it".
[0075] Specifically, the terminal generates a content recommendation request in response to the content acquisition operation of the current account, and sends the content recommendation request to the server; the server obtains the content that the follow account of the current account has interacted with as the target content based on the received content recommendation request; obtains the target interaction type interaction information of the follow account on the target content before the current account performs the target interaction type interaction operation on the target content, as the pre-interaction display information; obtains the target interaction type interaction information of the current account and the follow account on the target content after the current account performs the target interaction type interaction operation on the target content, as the post-interaction display information corresponding to the pre-interaction display information; the target content, the pre-interaction display information, and the post-interaction display information corresponding to the pre-interaction display information are sent to the terminal.
[0076] In step S220, the target content is displayed; the pre-interaction display information is displayed in a preset area of the target content.
[0077] Among them, the preset area refers to the area in the target content that displays the information displayed before interaction, and its area size is adapted to the information displayed before interaction. Of course, the size and position of the preset area can also be adjusted according to actual conditions, and this disclosure does not limit it specifically.
[0078] Specifically, the terminal displays the target content through the terminal interface, and the pre-interaction display information is displayed in a preset area of the target content; for example, the terminal displays video A, and displays "Zhang San and 2 other friends liked it" in a certain area of video A.
[0079] In step S230, when it is detected that the interaction type of the interaction operation of the current account on the target content matches the target interaction type, the pre-interaction display information displayed in the preset area is replaced with the post-interaction display information.
[0080] Specifically, after displaying the target content, the terminal locally stores the target interaction type carried by the pre-interaction display information for the target content and the post-interaction display information corresponding to the pre-interaction display information, and detects the interaction type of the current account's interaction operation on the target content based on the target interaction type. When it is detected that the interaction type of the current account's interaction operation on the target content matches the target interaction type, the terminal responds to the current account's interaction operation of the target interaction type on the target content, and replaces the pre-interaction display information displayed in a preset area of the target content with the corresponding post-interaction display information.
[0081] It should be noted that when it is detected that the interaction type of the current account's interaction operation on the target content does not match the target interaction type, the terminal only responds to the current account's interaction operation of this interaction type on the target content, and does not replace the pre-interaction display information displayed in the preset area of the target content with the corresponding post-interaction display information.
[0082] For example, the current account "Wang Er" enters the scene where friends are watching through the short video application of the terminal, and displays video A returned by the server through the terminal interface, and displays "Zhang San and other 2 friends liked it" in a certain area of video A; when Wang Er also likes video A, "Wang Er, Zhang San and other 3 friends liked it" is displayed in the area of video A to replace "Zhang San and other 2 friends liked it".
[0083] In the above information display method, the target content of the current account, the pre-interaction display information and the post-interaction display information corresponding to the pre-interaction display information are received; the target content is the content that the current account's follow account has interacted with, the pre-interaction display information is the interaction information of the target interaction type of the follow account to the target content before the current account interacts with the target content; the post-interaction display information is the interaction information of the target interaction type of the current account and the follow account to the target content after the current account interacts with the target content; the target interaction type is the highest priority interaction type among the various interaction types of the follow account to the target content; then the target content is displayed; the pre-interaction display information is displayed in the preset area of the target content, and when it is detected that the interaction type of the current account's interaction operation on the target content matches the target interaction type, the pre-interaction display information displayed in the preset area is replaced with the post-interaction display information; in this way, by extending the post-interaction display information, the purpose of replacing the pre-interaction display information displayed in the preset area of the target content with the post-interaction display information is achieved when the interaction type of the current account's interaction operation on the target content matches the target interaction type, so as to facilitate the real-time display of the interaction information.
[0084] In an exemplary embodiment, in the above step S220, after displaying the target content, it also includes: in response to the current account's interactive operation on the target content, obtaining the interaction type of the interactive operation; when the interaction type and the target interaction type are the same, confirming that the interaction type of the current account's interactive operation on the target content matches the target interaction type.
[0085] Specifically, the terminal obtains the interaction type of the interaction operation on the target content in response to the current account's interaction operation on the target content; matches the interaction type with the target interaction type to obtain a matching degree between the interaction type and the target interaction type; when the matching degree is greater than or equal to a preset matching degree, it indicates that the interaction type and the target interaction type are the same, thereby confirming that the interaction type of the current account's interaction operation on the target content matches the target interaction type.
[0086] For example, assuming that the target interaction type is like, the target content is video A, and the terminal monitors that the current account "Wang Er" also likes video A, it means that the interaction type of the current account "Wang Er"'s interactive operation on video A matches the target interaction type.
[0087] The technical solution provided by the disclosed embodiment detects in real time, after displaying the target content, whether the interaction type of the current account's interaction operation on the target content matches the target interaction type according to the target interaction type. This is beneficial for quickly replacing the pre-interaction display information displayed in a preset area of the target content with the corresponding post-interaction display information when the interaction type of the current account's interaction operation on the target content matches the target interaction type, which is beneficial for reducing the display delay of the post-interaction display information.
[0088] In an exemplary embodiment, in the above step S220, after replacing the pre-interaction display information displayed in the preset area with the post-interaction display information, it also includes: when it is detected that the current account cancels the interactive operation of the target interactive type on the target content, the post-interaction display information displayed in the preset area is replaced with the pre-interaction display information.
[0089] Specifically, after replacing the pre-interaction display information displayed in the preset area with the post-interaction display information, the terminal detects in real time whether the current account cancels the interactive operation of the target interactive type on the target content; when it is detected that the current account cancels the interactive operation of the target interactive type on the target content, the post-interaction display information displayed in the preset area of the target content is replaced with the pre-interaction display information corresponding to the post-interaction display information.
[0090] For example, video A returned by the server is displayed through the terminal interface, and "Zhang San and other 2 friends liked it" is displayed in a certain area of video A; when the current account "Wang Er" also likes video A, "Wang Er, Zhang San and other 3 friends liked it" is displayed in that area of video A to replace "Zhang San and other 2 friends liked it"; when Wang Er cancels the like of video A, "Zhang San and other 2 friends liked it" is displayed in that area of video A to replace "Wang Er, Zhang San and other 3 friends liked it".
[0091] The technical solution provided by the embodiments of the present disclosure achieves the purpose of replacing the post-interaction display information displayed in the preset area with the pre-interaction display information when it is detected that the current account cancels the interactive operation of the target interactive type on the target content, thereby avoiding the defect that the pre-interaction display information cannot be displayed due to user error operation.
[0092] Figure 3 is a flowchart of another information display method according to an exemplary embodiment. Figure 3 As shown, the information display method is used as follows Figure 1 In the server shown, the following steps are included:
[0093] In step S310, target content recommended to the current account, pre-interaction display information, and post-interaction display information corresponding to the pre-interaction display information are determined.
[0094] Among them, the target content is the content that the accounts followed by the current account have interacted with; the information displayed before interaction is the interaction information of the target interaction type of the followed account with the target content before the current account interacts with the target content; the information displayed after interaction is the interaction information of the target interaction type of the current account and the followed account with the target content after the current account interacts with the target content; the target interaction type is the interaction type with the highest priority among the various interaction types of the followed account with the target content.
[0095] In step S320, the target content, pre-interaction display information and post-interaction display information are sent to the current account, so that the terminal of the current account displays the target content, and the pre-interaction display information is displayed in the preset area of the target content, and when it is detected that the interaction type of the current account's interactive operation on the target content matches the target interaction type, the pre-interaction display information displayed in the preset area is replaced with the post-interaction display information.
[0096] For example, the text (originRelationText) is displayed on the current feed video work: "Zhang San, Li Si and other 5 friends liked it". After the current user (Wang Wu) also liked this video, the client directly displayed interactRelationText: "Wang Wu, Zhang San, Li Si and other 6 friends liked it". In other words, we can pre-set the text after the user interacts when sending the feed stream, so as to realize the real-time exposure of the interactive behavior. By expanding a variety of different relationship chain text types, such as collection, sharing and other types, we can realize the real-time exposure of various interactive behaviors. The server sends the preset relationship text after the user's real-time interaction to the client, and cooperates with the client to realize the real-time exposure of interactive behaviors for various types, strengthening the user's social mentality.
[0097] It should be noted that, for the specific limitations of the above steps S310 to S320, reference may be made to steps S210 to S230, which will not be repeated here.
[0098] In the above information display method, by expanding the post-interaction display information, the purpose of replacing the pre-interaction display information displayed in the preset area of the target content with the post-interaction display information is achieved when the interaction type of the current account's interactive operation on the target content matches the target interaction type, thereby facilitating the real-time display of the interactive information.
[0099] In an exemplary embodiment, in the above step S310, the pre-interaction display information and the post-interaction display information are obtained in the following manner: obtaining each pre-interaction detail information of the target content and the post-interaction detail information corresponding to each pre-interaction detail information; the pre-interaction detail information is the interaction detail information of the follow account on the target content before the current account interacts with the target content; the post-interaction detail information is the interaction detail information of the current account and the follow account on the target content after the current account interacts with the target content; from each pre-interaction detail information, filtering out the target pre-interaction detail information; obtaining the first display information corresponding to the target pre-interaction detail information, and identifying the first display information as the pre-interaction display information, and obtaining the second display information of the post-interaction detail information corresponding to the target pre-interaction detail information, and identifying the second display information as the post-interaction display information.
[0100] Among them, the pre-interaction detailed information is the detailed information of the current account's followed accounts performing the same type of interactive operations on the target content before the current account performs an interactive operation of a certain type of interactive operation on the target content. Specifically, it refers to the pre-interaction relationship chain copy information before rendering, including the information template identifier, the followed accounts that perform interactive operations on the target content, the number of followed accounts that perform interactive operations on the target content, and the interaction type; for example, the pre-interaction detailed information is [information template identifier n, followed account A, followed account B, 2, likes].
[0101] Among them, the post-interaction detailed information is the detailed information of the current account and the current account's followed accounts performing the same type of interactive operations on the target content after the current account performs an interactive operation of a certain type of interactive operation on the target content. Specifically, it refers to the post-interaction relationship chain copy information before rendering, including the information template identifier, the current account and followed accounts that perform interactive operations on the target content, the number of followed accounts and the current account that perform interactive operations on the target content, and the interaction type; for example, the pre-interaction detailed information is [information template identifier n, current account C, followed account A, followed account B, 3, likes].
[0102] Among them, the target pre-interaction details information refers to the pre-interaction details information with the highest priority of the corresponding interaction type; the first display information corresponding to the target pre-interaction details information refers to the pre-interaction display information, specifically refers to the rendered pre-interaction relationship chain copy information; the second display information of the post-interaction details information corresponding to the target pre-interaction details information refers to the post-interaction display information, specifically refers to the rendered post-interaction relationship chain copy information.
[0103] Specifically, the server obtains interaction detail information of the followed account on the target content before the current account interacts with the target content, as the pre-interaction detail information of the target content; obtains interaction detail information of the current account and the followed account on the target content after the current account interacts with the target content, as the post-interaction detail information of the target content; filters out the pre-interaction detail information with the highest priority of the corresponding interaction type from each pre-interaction detail information of the target content, as the target pre-interaction detail information; renders the target pre-interaction detail information to obtain first display information corresponding to the target pre-interaction detail information, as the pre-interaction display information of the target content; renders the post-interaction detail information corresponding to the target pre-interaction detail information to obtain second display information of the post-interaction detail information corresponding to the target pre-interaction detail information, as the post-interaction display information of the target content.
[0104] The technical solution provided by the disclosed embodiment simultaneously obtains the pre-interaction display information and the post-interaction display information of the target content and sends them to the terminal. This is beneficial for the terminal to replace the pre-interaction display information displayed in the preset area with the post-interaction display information when it detects that the interaction type of the current account's interactive operation on the target content matches the target interaction type, thereby ensuring the real-time exposure of the interactive behavior and strengthening the user's social mindset.
[0105] In an exemplary embodiment, target pre-interaction details information is filtered out from each pre-interaction details information, specifically including: obtaining the interaction type of each pre-interaction details information; querying the matching relationship between the interaction type and the priority to obtain the priority of the interaction type of each pre-interaction details information; filtering out the pre-interaction details information with the highest priority of the interaction type from each pre-interaction details information, and identifying the pre-interaction details information with the highest priority of the interaction type as the target pre-interaction details information.
[0106] Among them, there is a one-to-one matching relationship between interaction type and priority, and different interaction types correspond to different priorities.
[0107] Specifically, the server obtains the interaction type corresponding to each pre-interaction details information through the interaction type acquisition instruction; according to the interaction type corresponding to each pre-interaction details information, the server queries the pre-constructed matching relationship between the interaction type and the priority to obtain the priority of the interaction type of each pre-interaction details information; from each pre-interaction details information, the pre-interaction details information with the highest priority of the corresponding interaction type is filtered out as the target pre-interaction details information.
[0108] The technical solution provided by the embodiment of the present disclosure, by screening out the target pre-interaction details information from each pre-interaction details information, is conducive to the subsequent rendering of the target pre-interaction details information and the post-interaction details information corresponding to the target pre-interaction details information, and obtains the pre-interaction display information and post-interaction display information of the target interaction type of the target content, thereby achieving the purpose of strengthening the interactive operation of the target interaction type of the target content.
[0109] In an exemplary embodiment, the target pre-interaction details information includes a display information template identifier, a follow account, and the number of follow accounts; then, obtaining the first display information corresponding to the target pre-interaction details information specifically includes: obtaining a display information template that matches the display information template identifier; and adding the follow account and the number to corresponding positions in the display information template, respectively, to obtain the first display information.
[0110] Among them, the information template identifier refers to the unique identification information of the display information template, such as the template number, template name, etc. Different information template identifiers correspond to different display information templates; for example, the display information template for likes "XXX waits for N friends to like" is different from the display information template for comments "XXX waits for N friends to comment"; it should be noted that there is no limit to the number of user nicknames "XXX" that need to be displayed before "wait for N friends to like", as long as it is less than N; in actual scenarios, generally 1 is exposed, and no more than 3 at most.
[0111] Specifically, the server parses the target interaction details information before obtaining the display information template identifier, the follow accounts that perform the same interactive type of interactive operations on the target content, and the number of follow accounts that perform the same interactive type of interactive operations on the target content; according to the display information template identifier, the matching relationship between the display information template identifier and the display information template is queried to obtain the display information template that matches the display information template identifier; the follow accounts and the number are respectively added to the corresponding positions in the display information template to obtain the first display information, such as "Zhang San and 2 other friends liked it".
[0112] Furthermore, the server can also parse the post-interaction details information corresponding to the target pre-interaction details information to obtain the display information template identifier, the current account and the followed accounts that perform the same interactive type of interactive operations on the target content, and the number of the current account and the followed accounts that perform the same interactive type of interactive operations on the target content; query the matching relationship between the display information template identifier and the display information template to obtain the display information template that matches the display information template identifier; add the current account and the followed accounts and the number to the corresponding positions in the display information template respectively to obtain the second display information, such as "Wang Er, Zhang San and other 3 friends liked it".
[0113] The technical solution provided by the embodiment of the present disclosure first obtains a display information template that matches the display information template identifier, and then respectively adds the follow account and quantity to the corresponding positions in the display information template to obtain the first display information. In this way, it is not necessary to separately construct a display information template each time the first display information is generated, thereby improving the generation efficiency of the first display information.
[0114] In order to more clearly illustrate the information display method provided by the embodiment of the present disclosure, the information display method is specifically described below with a specific embodiment. Figure 4 As shown, the present disclosure also provides another information display method. In the data sent by the dynamic feed stream interface, the type of relationship chain text textType can be sent, such as: like, comment, follow and other types. In the relationship chain text, the relationship chain text originRelationText currently displayed by the user and the relationship text interactRelationText after interaction can be sent at the same time. The client monitors different types of user behaviors according to the type of current relationship chain text received, such as monitoring the user's like behavior. Initially, the client displays originRelationText. When the user likes the current work, the client can display the interactRelationText text, in which the relationship text interactRelationText after interaction contains this interaction behavior. When the user cancels the like of the current work, the client can switch back to the previous original text originRelationText; specifically including the following contents:
[0115] The server first maintains a set of enumeration information to represent the relationship chain text type textType, such as like, favorite, follow, etc. The client needs to monitor the corresponding user behavior based on the issued textType; when the user clicks on the dynamic entrance, the server needs to request the RPC interface of reco (recommendation server) to obtain the recommended feed stream works and the relationship chain text corresponding to each work, and the obtained reco returns the data; that is, the reco side will return a List, which is a series of Feeds, recoPhoto indicates a video Photo; recoLiveStream indicates a live broadcast type Feed, and userText indicates the relationship chain text information that needs to be displayed on the current Feed. The relationship chain text information is also in the form of a List list, which can return multiple relationship text information; for example, userText: [recoTextKey (reco_text_like_12, indicating the text platform key), recoTextParam (the text information corresponding to the placeholder, which needs to be rendered and replaced): [RECO_TEXT_USER_IDS (1829928176, 1020413728), RECO_TEXT_USER_CNT (number of users)], textType (text type)], [recoTextKey (reco_text_like_12, indicating the text platform key), recoTextParam (the text information corresponding to the placeholder, which needs to be rendered and replaced): [RECO_TEXT_USER_IDS (1 229425510, 1829928176, 1020413728), RECO_TEXT_USER_CNT (number of users)], textType (copy type)]; It should be noted that two relational copywritings are returned in userText, representing the recommended copywritings before and after the interaction respectively; the second one is the copywriting after the interaction, the difference is that the current user's userId: 1229425510 is added, and RECO_TEXT_USER_CNT changes from 2 to 3; recoTextKey represents the key of the copywriting platform. For example, according to the current "reco_text_like_12", you can get a copywriting template information with placeholders: "${RECO_TEXT_USER_IDS} and ${RECO_TEXT_USER_CNT} friends liked it".The final rendered text information is "Zhang San and two other friends liked it", indicating that the relationship of this feed video recommendation is Zhang San and two other friends liked it; among them, the userId corresponding to Zhang San is 1829928176 contained in the placeholder RECO_TEXT_USER_IDS in the recoTextParam parameter; similarly, the text after interaction can be rendered as: "Xisanqi Di Renjie and three other friends liked it", among which Xisanqi Di Renjie corresponds to the user nickname of userId 1229425510 (that is, the current user).
[0116] In the process of feed stream rendering, in addition to the parsing and rendering of the relationship chain text in the second step, there is also the rendering of general feed stream works. The general process is to obtain Photo and LiveStream works, and perform some permission verification and privacy filtering on the work information. After the server renders the feed stream and constructs the relationship chain text, it returns the feed stream information with the relationship chain text before and after the interaction to the client; such as photo (general photo information), originRelationText (original relationship text information): [headUrls (avatar information, which may be multiple avatars depending on the text), textInfo (text information, such as Zhang San and other 2 friends liked it), showArrow (arrow on the right side of the text)], interactRelationText (relationship text information after the user interacts): [headUrls, textInfo (text information, such as Xisanqi Di Renjie and other 3 friends liked it)], showArrow (arrow on the right side of the text)], textType (text type). Next, the client receives the feed stream sent by the server and renders and displays the relationship text information on the feed video. The client monitors the current user's like behavior of the work according to textType:LIKE. After the user likes the work, the client will use the information of interactRelationText as the text display. After the user likes the work, the client will monitor the user's cancellation of the like. If the user cancels the like, the client will switch the relationship text to the initial relationship text.
[0117] The above method can achieve the following technical effects: (1) A solution for real-time exposure of user interaction behaviors in a dynamic feed flow is implemented, which improves the user's interactive enthusiasm and effectively improves the social atmosphere. By expanding a variety of different relationship chain copy types, such as collection, sharing and other types, we can realize the real-time exposure of various interactive behaviors. The server sends the preset relationship copy after the user's real-time interaction to the client, and cooperates with the client to monitor various types, realizing the real-time exposure of interactive behaviors and strengthening the user's social mind; (2) Based on the content distribution based on the relationship chain, the exposure of the user's real-time interactive behavior is realized, which strengthens the user's social mind and is more conducive to creating a social atmosphere; More importantly, by expanding a variety of relationship chain copy types and cooperating with the client to monitor the corresponding user behavior, more types of user interaction behaviors can be exposed in real time, which will greatly increase the user's social mind, improve the social atmosphere between users, and be conducive to the sustainable development of the social platform.
[0118] It should be understood that although Figure 2-Figure 3 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-Figure 3 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0119] It can be understood that the same / similar parts between the various embodiments of the above method in this specification can refer to each other, and each embodiment focuses on the differences from other embodiments. For related points, please refer to the description of other method embodiments.
[0120] Figure 5 is a block diagram of an information display device according to an exemplary embodiment. Figure 5 The device includes an information receiving unit 510, a content display unit 520 and a first replacement unit 530.
[0121] The information receiving unit 510 is configured to execute receiving target content recommended to the current account, pre-interaction display information and post-interaction display information corresponding to the pre-interaction display information; the target content is the content that the follow accounts of the current account have interacted with, the pre-interaction display information is the interaction information of the target interaction type of the follow accounts with the target content before the current account interacts with the target content; the post-interaction display information is the interaction information of the target interaction type of the current account and the follow accounts with the target content after the current account interacts with the target content.
[0122] The content display unit 520 is configured to display the target content; the pre-interaction display information is displayed in the preset area of the target content.
[0123] The first replacement unit 530 is configured to replace the pre-interaction display information displayed in the preset area with the post-interaction display information when it is detected that the interaction type of the interaction operation of the current account on the target content matches the target interaction type.
[0124] In an exemplary embodiment, the information display device also includes a type detection unit, which is configured to execute an interaction type of the interaction operation in response to the current account's interaction operation on the target content; when the interaction type and the target interaction type are the same, it is confirmed that the interaction type of the current account's interaction operation on the target content matches the target interaction type.
[0125] In an exemplary embodiment, the information display device also includes a second replacement unit, which is configured to replace the post-interaction display information displayed in the preset area with the pre-interaction display information when it is detected that the current account cancels the interaction operation of the target interaction type on the target content.
[0126] Figure 6 is a block diagram of another information display device according to an exemplary embodiment. Figure 6 , the device includes an information acquiring unit 610 and an information sending unit 620.
[0127] The information acquisition unit 610 is configured to determine the target content recommended to the current account, the pre-interaction display information, and the post-interaction display information corresponding to the pre-interaction display information; the target content is the content that the follower account of the current account has interacted with, the pre-interaction display information is the interaction information of the target interaction type of the follower account with the target content before the current account interacts with the target content; the post-interaction display information is the interaction information of the target interaction type of the current account and the follower account with the target content after the current account interacts with the target content.
[0128] The information sending unit 620 is configured to send the target content, pre-interaction display information and post-interaction display information to the current account, so that the terminal of the current account displays the target content, and the pre-interaction display information is displayed in a preset area of the target content, and when it is detected that the interaction type of the current account's interactive operation on the target content matches the target interaction type, the pre-interaction display information displayed in the preset area is replaced with the post-interaction display information.
[0129] In an exemplary embodiment, the information acquisition unit 610 is further configured to execute the acquisition of each pre-interaction detail information of the target content and the post-interaction detail information corresponding to each pre-interaction detail information; the pre-interaction detail information is the interaction detail information of the follow account on the target content before the current account interacts with the target content; the post-interaction detail information is the interaction detail information of the current account and the follow account on the target content after the current account interacts with the target content; from each pre-interaction detail information, the target pre-interaction detail information is filtered out; the first display information corresponding to the target pre-interaction detail information is acquired, and the first display information is identified as the pre-interaction display information, and the second display information of the post-interaction detail information corresponding to the target pre-interaction detail information is acquired, and the second display information is identified as the post-interaction display information.
[0130] In an exemplary embodiment, the information acquisition unit 610 is further configured to execute the acquisition of the interaction type of each pre-interaction details information; query the matching relationship between the interaction type and the priority to obtain the priority of the interaction type of each pre-interaction details information; filter out the pre-interaction details information with the highest priority of the interaction type from each pre-interaction details information, and identify the pre-interaction details information with the highest priority of the interaction type as the target pre-interaction details information.
[0131] In an exemplary embodiment, the target pre-interaction details information includes a display information template identifier, a follow account and the number of follow accounts; the information acquisition unit 610 is also configured to execute acquisition of a display information template that matches the display information template identifier; and add the follow account and the number to corresponding positions in the display information template respectively to obtain the first display information.
[0132] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0133] Figure 1 is a block diagram of a system according to an exemplary embodiment. Figure 1 The system includes a terminal 110 and a server 120; the server 120 and the terminal 110 are communicatively connected.
[0134] The server 120 is used to determine the target content recommended to the current account, the pre-interaction display information, and the post-interaction display information corresponding to the pre-interaction display information; the target content is the content that the follower accounts of the current account have interacted with, the pre-interaction display information is the interaction information of the target interaction type of the follower accounts with the target content before the current account interacts with the recommended content; the post-interaction display information is the interaction information of the target interaction type of the current account and the follower accounts with the target content after the current account interacts with the target content; the target content, the pre-interaction display information, and the post-interaction display information are sent to the terminal 110.
[0135] Terminal 110 is used to display target content, and pre-interaction display information is displayed in a preset area of the target content. When it is detected that the interaction type of the current account's interactive operation on the target content matches the target interaction type, the pre-interaction display information displayed in the preset area is replaced with post-interaction display information.
[0136] The above system, by expanding the post-interaction display information, achieves the purpose of replacing the pre-interaction display information displayed in the preset area of the target content with the post-interaction display information when the interaction type of the current account's interactive operation on the target content matches the target interaction type, thereby facilitating the real-time display of the interaction information.
[0137] Figure 7 1 is a block diagram of an electronic device 700 for executing an information display method according to an exemplary embodiment. For example, the electronic device 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0138] Reference Figure 7 , the electronic device 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power component 706 , a multimedia component 708 , an audio component 710 , an input / output (I / O) interface 712 , a sensor component 714 , and a communication component 716 .
[0139] The processing component 702 generally controls the overall operation of the electronic device 700, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 702 may include one or more modules to facilitate the interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate the interaction between the multimedia component 708 and the processing component 702.
[0140] The memory 704 is configured to store various types of data to support operations on the electronic device 700. Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk, an optical disk, or a graphene memory.
[0141] The power supply component 706 provides power to the various components of the electronic device 700. The power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 700.
[0142] The multimedia component 708 includes a screen that provides an output interface between the electronic device 700 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 touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front camera and / or a rear camera. When the electronic device 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0143] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), and when the electronic device 700 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory Z04 or sent via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting an audio signal.
[0144] I / O interface 712 provides an interface between processing component 702 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0145] The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the electronic device 700. For example, the sensor assembly 714 can detect the open / closed state of the electronic device 700, the relative positioning of components, such as the display and keypad of the electronic device 700, and the sensor assembly 714 can also detect changes in the position of the electronic device 700 or components of the electronic device 700, the presence or absence of contact between the user and the electronic device 700, the device Z00 orientation or acceleration / deceleration and temperature changes of the electronic device 700. The sensor assembly Z14 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly Z14 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0146] The communication component 716 is configured to facilitate wired or wireless communication between the electronic device 700 and other devices. The electronic device 700 can access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G or 5G), or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0147] In an exemplary embodiment, the electronic device 700 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 above methods.
[0148] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, and the above instructions can be executed by the processor 720 of the electronic device 700 to perform the above method. For example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0149] In an exemplary embodiment, a computer program product is further provided. The computer program product includes instructions. The instructions can be executed by the processor 720 of the electronic device 700 to complete the above method.
[0150] Figure 8 8 is a block diagram of a server 800 for executing an information display method according to an exemplary embodiment. Figure 8 The server 800 includes a processing component 820, which further includes one or more processors, and a memory resource represented by a memory 822 for storing instructions, such as applications, that can be executed by the processing component 820. The application stored in the memory 822 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 820 is configured to execute instructions to perform the above method.
[0151] The server 800 may also include a power supply component 824 configured to perform power management of the server 800, a wired or wireless network interface 826 configured to connect the server 800 to a network, and an input / output (I / O) interface 828. The server 800 may operate based on an operating system stored in the memory 822, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, or the like.
[0152] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 822 including instructions, and the above instructions can be executed by a processor of the server 800 to perform the above method. The storage medium can be a computer-readable storage medium, for example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0153] In an exemplary embodiment, a computer program product is also provided. The computer program product includes instructions, and the instructions can be executed by a processor of the server 800 to implement the above method.
[0154] It should be noted that the above-mentioned devices, electronic devices, servers, computer-readable storage media, computer program products, etc. may also include other implementation methods according to the description of the method embodiments. The specific implementation methods can refer to the description of the relevant method embodiments, which will not be described one by one here.
[0155] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0156] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. An information display method, characterized in that: Applied to terminals, including: Receive target content recommended to the current account, pre-interaction display information, and pre-set post-interaction display information corresponding to the pre-interaction display information; the target content is content that has been interacted with by the follower accounts of the current account, and the pre-interaction display information is the follower accounts of the target interaction type of interaction operation on the target content, the number of follower accounts of the target interaction type of interaction operation on the target content, and the target interaction type before the current account interacts with the target content; the post-interaction display information is the current account and follower accounts of the target interaction type of interaction operation on the target content, the number of the current account and follower accounts of the target interaction type of interaction operation on the target content, and the target interaction type after the current account interacts with the target content; the target interaction type is the interaction type with the highest priority among various interaction types of the follower accounts with the target content; The target content is displayed; the pre-interaction display information is displayed in a preset area of the target content; In response to the current account's interactive operation on the target content, the interaction type of the current account's interactive operation on the target content is detected according to the target interaction type; when it is detected that the interaction type of the current account's interactive operation on the target content matches the target interaction type, the pre-interaction display information displayed in the preset area is replaced with the post-interaction display information.
2. The information display method according to claim 1, characterized in that: After displaying the target content, it also includes: In response to an interactive operation of the current account on the target content, acquiring an interactive type of the interactive operation; When the interaction type and the target interaction type are the same, it is confirmed that the interaction type of the interaction operation of the current account on the target content matches the target interaction type.
3. The information display method according to claim 1, characterized in that: After replacing the pre-interaction display information displayed in the preset area with the post-interaction display information, the method further includes: When it is detected that the current account cancels the interactive operation of the target interactive type on the target content, the post-interaction display information displayed in the preset area is replaced with the pre-interaction display information.
4. An information display method, characterized in that: Applicable to servers, including: Determine the target content recommended to the current account, pre-interaction display information, and pre-set post-interaction display information corresponding to the pre-interaction display information; the target content is the content that the follower accounts of the current account have interacted with, and the pre-interaction display information is the follower accounts of the target interaction type of the target content, the number of follower accounts of the target interaction type of the target content, and the target interaction type before the current account interacts with the target content; the post-interaction display information is the current account and follower accounts of the target interaction type of the target content, the number of the current account and follower accounts of the target interaction type of the target content, and the target interaction type after the current account interacts with the target content; the target interaction type is the interaction type with the highest priority among the various interaction types of the follower accounts with the target content; The target content, the pre-interaction display information and the post-interaction display information are sent to the current account, so that the terminal of the current account displays the target content, the pre-interaction display information is displayed in a preset area of the target content, and in response to the interactive operation of the current account on the target content, the interaction type of the interactive operation of the current account on the target content is detected according to the target interaction type; when it is detected that the interaction type of the interactive operation of the current account on the target content matches the target interaction type, the pre-interaction display information displayed in the preset area is replaced by the post-interaction display information.
5. The information display method according to claim 4, characterized in that: The pre-interaction display information and the post-interaction display information are obtained in the following manner: Acquire each pre-interaction detail information of the target content and each post-interaction detail information corresponding to the pre-interaction detail information; The pre-interaction detailed information is the interaction detailed information of the followed account on the target content before the current account interacts with the target content; The post-interaction detailed information is the interaction detailed information of the current account and the followed account on the target content after the current account interacts with the target content; Filtering target pre-interaction detailed information from each of the pre-interaction detailed information; Acquire first display information corresponding to the target pre-interaction detail information, and identify the first display information as the pre-interaction display information, and acquire second display information of the post-interaction detail information corresponding to the target pre-interaction detail information, and identify the second display information as the post-interaction display information.
6. The information display method according to claim 5, characterized in that: The step of filtering out target pre-interaction detailed information from each of the pre-interaction detailed information includes: Obtaining the interaction type of each of the pre-interaction detailed information; Query the matching relationship between the interaction type and the priority, and obtain the priority of the interaction type of each of the pre-interaction detailed information; The pre-interaction detail information of the interaction type with the highest priority is screened out from each of the pre-interaction detail information, and the pre-interaction detail information of the interaction type with the highest priority is identified as the target pre-interaction detail information.
7. The information display method according to claim 5, characterized in that: The target pre-interaction detailed information includes a display information template identifier, the follow account and the number of the follow accounts; The obtaining first display information corresponding to the target pre-interaction detailed information includes: Acquire a display information template that matches the display information template identifier; The follow-up account and the quantity are added to corresponding positions in the display information template respectively to obtain the first display information.
8. An information display device, characterized in that: Applied to terminals, including: The information receiving unit is configured to receive target content recommended to the current account, pre-interaction display information, and pre-set post-interaction display information corresponding to the pre-interaction display information; the target content is content that has been interacted with by the follower accounts of the current account, and the pre-interaction display information is the follower accounts of the target interaction type of interaction operation on the target content, the number of follower accounts of the target interaction type of interaction operation on the target content, and the target interaction type before the current account interacts with the target content; the post-interaction display information is the current account and follower accounts of the target interaction type of interaction operation on the target content, the number of the current account and follower accounts of the target interaction type of interaction operation on the target content, and the target interaction type after the current account interacts with the target content; the target interaction type is the interaction type with the highest priority among the various interaction types of the follower accounts with the target content; A content display unit is configured to display the target content; the pre-interaction display information is displayed in a preset area of the target content; The first replacement unit is configured to execute an interaction operation of the current account on the target content in response to the interaction operation of the current account, and detect the interaction type of the interaction operation of the current account on the target content according to the target interaction type, and when it is detected that the interaction type of the interaction operation of the current account on the target content matches the target interaction type, replace the pre-interaction display information displayed in the preset area with the post-interaction display information.
9. The information display device according to claim 8, characterized in that: The device further comprises a type detection unit configured to execute, in response to an interaction operation of the current account on the target content, acquiring an interaction type of the interaction operation; When the interaction type and the target interaction type are the same, it is confirmed that the interaction type of the interaction operation of the current account on the target content matches the target interaction type.
10. The information display device according to claim 8, characterized in that: The device also includes a second replacement unit configured to replace the post-interaction display information displayed in the preset area with the pre-interaction display information when it is detected that the current account cancels the interaction operation of the target interaction type on the target content.
11. An information display device, characterized in that: Applicable to servers, including: The information acquisition unit is configured to determine the target content recommended to the current account, the pre-interaction display information, and the preset post-interaction display information corresponding to the pre-interaction display information; the target content is the content that the follower accounts of the current account have interacted with, and the pre-interaction display information is the follower accounts of the target interaction type of the target content, the number of follower accounts of the target interaction type of the target content, and the target interaction type before the current account interacts with the target content; the post-interaction display information is the current account and follower accounts of the target interaction type of the target content, the number of the current account and follower accounts of the target interaction type of the target content, and the target interaction type after the current account interacts with the target content; the target interaction type is the interaction type with the highest priority among the various interaction types of the follower accounts with the target content; An information sending unit is configured to execute sending the target content, the pre-interaction display information and the post-interaction display information to the current account, so that the terminal of the current account displays the target content, the pre-interaction display information is displayed in a preset area of the target content, and in response to the interactive operation of the current account on the target content, the interaction type of the interactive operation of the current account on the target content is detected according to the target interaction type; when it is detected that the interaction type of the interactive operation of the current account on the target content matches the target interaction type, the pre-interaction display information displayed in the preset area is replaced by the post-interaction display information.
12. The information display device according to claim 11, characterized in that: The information acquisition unit is further configured to acquire each pre-interaction detail information of the target content and each post-interaction detail information corresponding to the pre-interaction detail information; The pre-interaction detailed information is the interaction detailed information of the followed account on the target content before the current account interacts with the target content; The post-interaction detailed information is the interaction detailed information of the current account and the followed account on the target content after the current account interacts with the target content; Filtering target pre-interaction detailed information from each of the pre-interaction detailed information; Acquire first display information corresponding to the target pre-interaction detail information, and identify the first display information as the pre-interaction display information, and acquire second display information of the post-interaction detail information corresponding to the target pre-interaction detail information, and identify the second display information as the post-interaction display information.
13. The information display device according to claim 12, characterized in that: The information acquisition unit is further configured to execute acquisition of the interaction type of each of the pre-interaction details information; query the matching relationship between the interaction type and the priority to obtain the priority of the interaction type of each of the pre-interaction details information; filter out the pre-interaction details information with the highest priority of the interaction type from each of the pre-interaction details information, and identify the pre-interaction details information with the highest priority of the interaction type as the target pre-interaction details information.
14. The information display device according to claim 12, characterized in that: The target pre-interaction detailed information includes a display information template identifier, the follow account and the number of the follow accounts; the information acquisition unit is further configured to execute acquisition of a display information template matching the display information template identifier; The follow-up account and the quantity are added to corresponding positions in the display information template respectively to obtain the first display information.
15. A system, characterized in that: include: A server and a terminal, wherein the server and the terminal are communicatively connected; The server is used to determine the target content recommended to the current account, the pre-interaction display information, and the pre-set post-interaction display information corresponding to the pre-interaction display information; The target content is content that the following accounts of the current account have interacted with, and the pre-interaction display information is the following accounts of the target interaction type of the target content, the number of following accounts of the target interaction type of the target content, and the target interaction type before the current account interacts with the target content; The post-interaction display information includes, after the current account interacts with the target content, the current account and the followed accounts that have interactive operations of the target interactive type on the target content, the number of the current account and the followed accounts that have interactive operations of the target interactive type on the target content, and the target interactive type; Sending the target content, the pre-interaction display information, and the post-interaction display information to the terminal; The target interaction type is an interaction type with the highest priority among various interaction types of the follow account to the target content; The terminal is used to display the target content, the pre-interaction display information is displayed in a preset area of the target content, and in response to the interactive operation of the current account on the target content, the interaction type of the interactive operation of the current account on the target content is detected according to the target interaction type; when it is detected that the interaction type of the interactive operation of the current account on the target content matches the target interaction type, the pre-interaction display information displayed in the preset area is replaced by the post-interaction display information.
16. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the information display method as described in any one of claims 1 to 3.
17. A server, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the information display method as described in any one of claims 4 to 7.
18. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the information display method as claimed in any one of claims 1 to 3.
19. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of a server, the server is enabled to execute the information presentation method as described in any one of claims 4 to 7.
20. A computer program product, comprising instructions, characterized in that: When the instruction is executed by a processor of an electronic device, the electronic device is enabled to execute the information display method as described in any one of claims 1 to 3.
21. A computer program product, comprising instructions, characterized in that: When the instruction is executed by the processor of the server, the server is enabled to execute the information display method as described in any one of claims 4 to 7.
