Display method, information processing method, device, equipment and computer medium
By introducing interactive controls into the target page, users can obtain and display the featured animations in the first content, solving the problems of low efficiency and poor user experience of users in the prior art to obtain featured content at the locations, and achieving efficient information acquisition and improved user experience.
Patent Information
- Application Number
- CN202311251022.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-25
- Publication Date
- 2025-03-25
AI Technical Summary
In the prior art, when users acquire special contents of the location, the information acquisition efficiency is low, and there is a lack of special contents that directly interact with the user, resulting in poor user experience.
A display method is provided. By displaying interactive controls in a target page, the user can obtain the first character string in the first content through preset operations and display the first target information corresponding to the first character string, including the first target animation.
The interesting interaction between the target page and the user is achieved, allowing users to see the special animations in the first content through simple operations, and improves the user's information acquisition efficiency and user experience when acquiring the special content of the object.
Smart Images

Figure CN119690302A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of page interaction technology, and in particular relates to a display method, an information processing method, a device, a equipment and a computer medium. Background Art
[0002] In the related art, when displaying the introduction content or comment content of an object, it is generally displayed through a static page, which lacks the special content related to the object that can be directly interacted with by the user. The special content of the object itself needs to be separately consulted by the user, and the user cannot directly obtain the special content of the object itself. The efficiency of the user obtaining information is low, and the user experience is also poor. Summary of the invention
[0003] The embodiment of the present application provides an implementation scheme different from the related art to solve the technical problem in the related art that the user has low efficiency in obtaining information when obtaining the characteristic content of a location.
[0004] In a first aspect, the present application provides a display method, comprising:
[0005] Displaying a target page, wherein the target page displays first content and a first interactive control corresponding to the first content, and the first content at least includes text content;
[0006] In response to a preset operation on a first interactive control, obtaining a first character string in a first content;
[0007] The first target information corresponding to the first character string is displayed, where the first target information at least includes a first target animation corresponding to the first character string.
[0008] In a second aspect, the present application provides a display device, comprising:
[0009] A display unit, used to display a target page, wherein the target page displays a first content and a first interactive control corresponding to the first content, and the first content at least includes text content;
[0010] An acquiring unit, configured to acquire a first character string in the first content in response to a preset operation on the first interactive control;
[0011] The display unit is further used to display first target information corresponding to the first character string, where the first target information at least includes a first target animation corresponding to the first character string.
[0012] In a third aspect, the present application provides an electronic device, including:
[0013] Processor; and
[0014] A memory for storing executable instructions of the processor;
[0015] The processor is configured to execute any method in the first aspect or any possible implementation manner of the first aspect by executing executable instructions.
[0016] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the computer program implements any method in the first aspect or any possible implementation manner of the first aspect.
[0017] The solution provided by the present application can display a first interactive control for users to interact with the page in a target page displaying the first content. When the user interacts with the page through the first interactive control, the text content of the first content can be analyzed to determine the first string in the first content, and the first target animation corresponding to the first string can be displayed. Through this solution, interesting interaction between the target page and the user can be achieved, and the user can see the featured animation in the first content based on simple operations, which improves the efficiency of information acquisition when the user acquires the featured content of the object and improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following is a brief introduction to the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0019] Figure 1 A schematic diagram of the structure of a system provided in one embodiment of the present application;
[0020] Figure 2a A schematic diagram of a flow chart of a display method provided in an embodiment of the present application;
[0021] Figure 2b A schematic diagram of a scene of a display method provided in an embodiment of the present application;
[0022] Figure 2c A schematic diagram of another scenario of a display method provided in an embodiment of the present application;
[0023] Figure 2d A schematic diagram of another scenario of a display method provided in an embodiment of the present application;
[0024] Figure 2e A schematic diagram of another scenario of a display method provided in an embodiment of the present application;
[0025] Figure 2f A schematic diagram of a scene showing a change in the display position of first target information provided in an embodiment of the present application;
[0026] Figure 3a A flowchart of an information processing method provided in one embodiment of the present application;
[0027] Figure 3b A schematic diagram of a flow chart of a display method provided in an embodiment of the present application;
[0028] Figure 4 A schematic diagram of the structure of a display device provided in one embodiment of the present application;
[0029] Figure 5 A schematic diagram of the structure of an information processing device provided in one embodiment of the present application;
[0030] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, but cannot be understood as limiting the present application.
[0032] The terms "first" and "second" in the embodiment of the present application, etc. are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable in appropriate circumstances, so that the embodiments of the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, the process, method, system, product or equipment comprising a series of steps or units need not be limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0033] In the related art, when displaying introductions or comments about places, products, etc., they are generally displayed through static pages, which lack the characteristic content related to the place that can be directly interacted with by users. The characteristic content of the place itself, such as the details of the people related to the place, needs to be separately obtained by users, and the characteristic content of the place itself cannot be obtained intuitively, and the efficiency of users obtaining information is low. In addition, there is a lack of interesting interaction with users, and the user experience is poor.
[0034] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0035] The embodiments of the present application provide a display method, an information processing method, an apparatus, a device and a computer medium. Specifically, the display method in the embodiments of the present application can be executed by a terminal device, which can be a smart phone, a tablet computer, a laptop computer, an intelligent voice interaction device, a smart home appliance, a wearable smart device, an aircraft, an intelligent vehicle terminal and other devices. The terminal device can also include a client, which can be a video client, a browser client or an instant messaging client, etc. The information processing method in the present application can be executed by a server, which can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
[0036] Figure 1 A schematic diagram of a system structure provided for an exemplary embodiment of the present application, the structure includes: a terminal device 11 and a server 12.
[0037] Among them, the terminal device 11 can be used to display a target page, in which a first content and a first interactive control corresponding to the first content are displayed, and the first content at least includes text content; in response to a preset operation on the first interactive control, a first character string in the first content is obtained; and the first character string is sent to the server 12.
[0038] The server 12 is configured to receive the first character string; determine corresponding first target information based on the first character string; and feed back the first target information to the terminal device 11 .
[0039] The terminal device 11 is further used to display first target information, where the first target information at least includes a first target animation corresponding to the first character string.
[0040] The various components in the system embodiment, such as the data processing process in the terminal device 11, the data processing process in the server 12, and the interaction process between the terminal device 11 and the server 12, can be found in the description of the following method embodiments.
[0041] Figure 2a This is a flowchart of a display method provided by an exemplary embodiment of the present application. The method can be executed by the aforementioned terminal device 11, or by the server 12, or by the terminal device 11 and the server 12 together. The method includes at least the following steps S201-S203:
[0042] S201, displaying a target page, wherein the target page displays first content and a first interactive control corresponding to the first content, and the first content at least includes text content;
[0043] In some embodiments of the present application, the target page can be understood as a page that provides interactive functions, that is, the user can perform interactive operations in the target page. In one implementation, the target page can be provided with interactive controls, which are controls that can trigger at least one interactive function. In one implementation, the first interactive control can be a control that can trigger an interactive function for the first content.
[0044] The interactive function refers to a function in which a user can interact with a target page displayed by the terminal device 11 by operating the first interactive control. The interaction may include: inputting information, clicking a button to trigger a corresponding display, and the like.
[0045] The first interactive control is associated with the first content, and the association enables the interactive function of the first interactive control to act on the first content.
[0046] Specifically, the target page may be an application, a mini-program, or a web page on a website displayed in the terminal device 11 .
[0047] In some other optional embodiments of the present application, the target page is a window of a video screen when a video is played in the terminal device 11.
[0048] The target page allows users to view their own or other users' descriptions of the target object. The target object is the object described by the first content. The description in this application may refer to: comments, sharing, introductions, or posting bullet comments, etc. The object described may specifically refer to goods, music, places, food, movies, TV series, games, etc.
[0049] The first content refers to the description content of the target object by the user on the target page, wherein the description content may be comment content, sharing content, introduction content, or barrage content, etc.
[0050] The interactive control in this application is a visual graphical interface element in the target page that can be operated by the user. Specifically, it can be a text box, button, drop-down menu, etc. that can be operated by the user. The interactive control in this application includes a first interactive control and the second interactive control below.
[0051] In some embodiments, the first interactive control may be a button for the user to click "like", or a button for the user to trigger operations such as "support", "like", "collect", and "mark as useful".
[0052] S202: In response to a preset operation on a first interactive control, obtaining a first character string in a first content;
[0053] In some optional embodiments of the present application, the preset operation is an interactive operation performed by the user with the target page through the first interactive control, and the user can trigger the acquisition of the first character string in the first content through the preset operation.
[0054] In some optional embodiments of the present application, the preset operation may be a click operation, a long press operation, etc. The click operation may be a single click operation or a double click operation.
[0055] S203: Display first target information corresponding to the first character string, where the first target information at least includes a first target animation corresponding to the first character string.
[0056] The first target animation is an animation associated with the first character string.
[0057] The character string in the present application is a string of characters consisting of any one or more of numbers, letters, symbols and other characters. The character string in the present application may include a first character string and a second character string.
[0058] Optionally, the aforementioned first content also includes picture content.
[0059] This application provides a scene diagram of the aforementioned display method, which can be found in Figure 2b As shown, the target page is a comment page, the first interactive control is a button for users to mark useful, the first content includes the comment content of the user corresponding to the username 1, part of the comment content is: "……, Xiao Z is so handsome, ………………", where the ellipsis is part of the user's comment content, and the comment picture 1, comment picture 2, and comment picture 3 are also part of the user's comment content. The first target information is: the animation corresponding to the first string "Xiao Z".
[0060] exist Figure 2b In the example, when the user clicks the button for marking useful information, the corresponding animation of the small Z is displayed on the target page. The specific effect is as follows: Figure 2c shown.
[0061] The solution of the present application can display a first interactive control for users to interact with the page in a target page displaying the first content. When the user interacts with the page through the first interactive control, the text content of the first content can be analyzed to determine the first string in the first content, and the first target animation corresponding to the first string can be displayed. Through this solution, interesting interaction between the target page and the user can be achieved, and the user can see the featured animation in the first content based on simple operations, which improves the efficiency of information acquisition when the user acquires the featured content of the object and improves the user experience.
[0062] In some embodiments, the first target information corresponding to the first character string further includes: audio corresponding to the first character string and / or a first image corresponding to the first character string.
[0063] In some embodiments, when the first target information also includes the audio corresponding to the first string, the first target animation corresponding to the first string can be displayed simultaneously with the audio corresponding to the first string. When the first target information also includes the first image corresponding to the first string, the first target animation corresponding to the first string can be displayed in a preset order with the first image corresponding to the first string, and the preset order can be to display the first target animation first and then the first image.
[0064] In some optional embodiments of the present application, in the aforementioned S202, obtaining the first character string in the first content may include the following steps S2021-S2022:
[0065] S2021. Obtain a preset string library, where the string library includes multiple strings;
[0066] Specifically, the plurality of character strings included in the character string library may be set by relevant personnel.
[0067] Optionally, the aforementioned string library is a container for storing data, and can store various types of strings such as text, numbers, images, audio, etc.
[0068] The string library is used to query whether the first content contains a first string included in the string library.
[0069] The string library may be set in the terminal device 11 or in the server 12. When the string library is set in the server 12, the terminal device 11 may send the first content to the server 12. After the server 12 obtains the first content, it obtains the preset string library.
[0070] In this application, the string library may store strings such as product names, music names, place names, food names, film and television drama names, film and television drama character names, game names, as well as game character names, animal names, plant names, festival names, and the like.
[0071] S2022: Use a character string in the first content that is included in the character string library as a first character string.
[0072] The aforementioned S2022 can be executed by the terminal device 11 or by the server 12.
[0073] In some optional embodiments of the present application, in the first content, the string included in the string library may be one or more. Wherein, the "more" in the present application refers to 2 or more. When there are more than one string included in the string library in the first content, the number of the first string is more than one.
[0074] In some optional embodiments of the present application, when there are multiple first character strings, displaying the first target information corresponding to the first character string may include:
[0075] Obtaining first target information corresponding to any first character string among multiple first character strings, and displaying the first target information corresponding to any first character string;
[0076] or
[0077] According to the order in which the multiple first character strings appear in the first content, the first target information corresponding to the first character strings is displayed in sequence.
[0078] For the case where the number of first character strings is 2, the present application also provides a scenario diagram of the aforementioned display method, which can be found in Figure 2d As shown, the target page is a comment page, the first interactive control is a button for users to like, and the first content includes the comment content of the user corresponding to Username 1, part of which is: "………, ABC opened, D is so cute, …………………………………………………", where the ellipsis is part of the user's comment content, and Comment Picture 1, Comment Picture 2, and Comment Picture 3 are also part of the comment content. The first string is "ABC", and "D". The first target information is: the animation corresponding to the first string "ABC", and the animation corresponding to the first string "D".
[0079] The aforementioned preset operation can be a click operation. Figure 2d In the example, when the user clicks the button for the user to perform a like operation, the animation corresponding to the first string "ABC" and the animation corresponding to the first string "D" are displayed in sequence on the target page. Figure 2d The castle animation in the figure is the animation corresponding to the first character string "ABC", and the animation corresponding to the first character string "D" is not shown in the figure.
[0080] In some optional embodiments of the present application, in the aforementioned S203, displaying the first target information corresponding to the first character string includes:
[0081] When it is determined that the first character string corresponds to the first target information, displaying the first target information;
[0082] When it is determined that the first character string does not correspond to the first target information, a second character string associated with the first character string is determined based on the first character string; the second target information corresponding to the second character string is determined as the first target information corresponding to the first character string; and the first target information is displayed.
[0083] Specifically, when determining whether the first character string corresponds to the first target information, it can be achieved by detecting whether the first target information corresponding to the first character string is stored in a preset corresponding relationship table.
[0084] In some optional embodiments of the present application, the foregoing determination of the second character string associated with the first character string based on the first character string may include:
[0085] Obtaining a preset knowledge graph containing an association relationship between a first string and a second string; determining a second string associated with the first string according to the preset knowledge graph;
[0086] Or determine the second character string associated with the first character string according to a preset association relationship table.
[0087] Specifically, the aforementioned association table includes an association relationship between a first string and a second string. It is understandable that both the first string and the second string are associated with the target object, for example, both the first string and the second string are text information related to the target object, but the text information content of the first string and the second string is different and not completely consistent.
[0088] A knowledge graph is a graph-based data structure consisting of nodes and edges. Each node represents an "entity" and each edge is a "relationship" between entities. The knowledge graph is essentially a semantic network. In this application, each entity in the knowledge graph can be a string, and an edge can refer to the association relationship between entities on both sides of the edge.
[0089] In some optional embodiments of the present application, the method further includes the following S21-S22:
[0090] S21, obtaining preset string display mode information;
[0091] S22, displaying the first string according to the string display mode information, and displaying the first string and text content belonging to the same sentence as the first string according to the string display mode information;
[0092] Among them, the string display method information is different from the display method information of the remaining text content except the first string, or the text content except the first string and the first string belonging to the same sentence, which can facilitate the user to intuitively view the first string in the first content and improve the user experience.
[0093] The display mode information of the foregoing string and the display mode information of the remaining text content include any one or more of the following: font color, font size, and font type.
[0094] Among them, the font type may include: Song typeface, boldface, regular script, etc.
[0095] In some embodiments, when the display mode information of the string is blue font, reference may be further made to Figure 2b As shown, the first string is "Little Z", and "Little Z" can be displayed in blue font, or both "Little Z" and the text content "is really handsome" that belongs to the same sentence as "Little Z" can be displayed in blue font.
[0096] In some alternative embodiments of the present application, in S203, displaying the first target information corresponding to the first string includes the following S2031-S2032:
[0097] S2031. Obtain the screen size of the current device for displaying the first target information corresponding to the first string;
[0098] The current device refers to the foregoing terminal device 11.
[0099] S2032. Display the first target information corresponding to the first string according to the screen size.
[0100] Optionally, in the foregoing S2032, displaying the first target information corresponding to the first string according to the screen size includes the following S0321-S0323:
[0101] S0321. Obtain a preset proportional value indicating the display size of the first target information and the screen size;
[0102] S0322. Determine the display size of the first target information according to the preset proportional value and the screen size;
[0103] S0323. Display the first target information according to the display size of the first target information.
[0104] Among them, in the foregoing S0322, determining the display size according to the preset proportional value and the screen size includes: taking the product of the preset proportional value and the screen size as the display size of the first target information. The display size of the foregoing first target information is the size when the first target information is displayed.
[0105] Optionally, the foregoing preset proportional value may be less than or equal to 1. When the preset proportional value is 1, the first target information is displayed full screen.
[0106] Optionally, prompt information corresponding to the first interactive control may also be displayed at a preset distance from the first interactive control, and the prompt information is used to indicate the meaning of the first interactive control, such as: like, support, like, favorite, useful, etc.
[0107] In some optional embodiments, the method further includes the following S23-S24:
[0108] S23 obtains third target information corresponding to the first character string;
[0109] In some embodiments, the third target information corresponding to the first character string may include the second target animation corresponding to the first character string.
[0110] In some other embodiments, the third target information corresponding to the first character string may include: a second image corresponding to the first character string.
[0111] In some other embodiments, the third target information corresponding to the first character string may include: a second target animation corresponding to the first character string and a second image corresponding to the first character string.
[0112] S24. Change the icon corresponding to the first interactive control to the third target information.
[0113] Among them, the icon corresponding to the first interactive control is a graphic symbol used to indicate the meaning of the first interactive control.
[0114] In some optional embodiments of the present application, the icon corresponding to the first interactive control may be the first interactive control itself.
[0115] Specifically, see Figure 2e As shown, when the third target information is an animation of a little rabbit, the first interactive control is changed to an animation of a little rabbit.
[0116] In some optional embodiments of the present application, the target page also displays second content located below the first content and a second interactive control corresponding to the second content. The second interactive control is associated with the second content, and the association enables the interactive function of the second interactive control to act on the second content.
[0117] In some optional embodiments of the present application, in S203, displaying the first target information corresponding to the first character string includes: displaying the first target information corresponding to the first character string in a target display area;
[0118] The target display area is an area on the screen of the current device for displaying the first target information, and is used to display the first target information. When displaying the first target information, the center position of the target display area coincides with the center point of the first target information.
[0119] Among them, the target display area includes any one of the following: the central area of the screen of the current device used to display the first target information, the area where the first content is located, the preset area between the first content and the second content, the background area, the upper half of the screen of the current device used to display the first target information, the lower half of the screen of the current device used to display the first target information, and a blank area in the screen.
[0120] In some optional embodiments of the present application, with respect to a method for determining a preset area between a first content and a second content, the method further includes: taking a center point of a line connecting a center position of an area where the first content is located and a center position of an area where the second content is located as a center point of the preset area; and taking a size of the preset area as a size of the preset area to determine the preset area between the first content and the second content.
[0121] In some other optional embodiments of the present application, displaying the first target information corresponding to the first character string includes: obtaining a target display area; obtaining a preset display track; using the target display area as the initial display area, and displaying the first target information corresponding to the first character string along the preset display track. The starting position of the preset display track may be the center position of the target display area. The specific content of the target display area can be referred to the above content.
[0122] The preset display trajectory is used to indicate the moving trajectory of the first target information during the display process.
[0123] The preset display trajectory can be any one of the following: a trajectory moving along the edge of the screen of the current device used to display the first target information corresponding to the first character string, a trajectory moving in a circle with a preset threshold as the radius and the center position of the target display area as the center, a trajectory repeatedly moving horizontally along the screen of the current device used to display the first target information corresponding to the first character string, and a trajectory repeatedly moving vertically along the screen of the current device used to display the first target information corresponding to the first character string.
[0124] It should be noted that the preset display track may also be other tracks, and this application does not limit this.
[0125] Among them, when the screen of the current device used to display the first target information corresponding to the first character string moves horizontally, the vertical coordinate of the center position of the first target information remains unchanged, and when the screen of the current device used to display the first target information corresponding to the first character string moves vertically, the horizontal coordinate of the center position of the first target information remains unchanged.
[0126] Specifically, when the target display area is the central area of the screen of the current device for displaying the first target information, and the preset display trajectory is a trajectory of repeated horizontal movement along the screen of the current device, the change of the display position of the first target information and the movement direction corresponding to the first target information at different display positions can be referred to. Figure 2f shown.
[0127] The solution provided by the present application can realize interesting interaction between the target page and the user, and can enable the user to see the featured animation in the first content based on simple operations, thereby improving the efficiency of information acquisition when the user obtains the featured content of the object and improving the user experience.
[0128] Figure 3a A flowchart of an information processing method provided by an exemplary embodiment of the present application is provided. The method can be applied to the aforementioned server 12. The method at least includes the following S301-S303:
[0129] S301, receiving a first character string in a first content, where the first character string is sent by a sending device after a target page is displayed in response to a preset operation on a first interactive control, wherein the target page displays a first content and a first interactive control corresponding to the first content, and the first content includes at least text content;
[0130] S302, determining corresponding first target information based on the first character string;
[0131] Among them, the sending device is the aforementioned terminal device 11.
[0132] S303: Send first target information, so that the sending device displays the first target information corresponding to the first character string, where the first target information at least includes a first target animation corresponding to the first character string.
[0133] The details corresponding to this embodiment can be found in the above content and will not be repeated here.
[0134] Furthermore, the present application also provides a flow chart of a display method to further illustrate the present solution. Specifically, see Figure 3b As shown, the display method includes the following S1-S5:
[0135] S1, the terminal device 11 displays the target page;
[0136] S2, the terminal device 11 sends the first content to the server 12 in response to a preset operation on the first interactive control;
[0137] S3, the server 12 obtains a preset string library; and uses a string in the first content that is included in the string library as a first string;
[0138] S4, the server 12 determines whether the first character string corresponds to the first target information, and if so, sends the first target information to the terminal device 11; if not, obtains a preset knowledge graph containing an association relationship between the first character string and the second character string; determines the second character string associated with the first character string according to the preset knowledge graph; or determines the second character string associated with the first character string according to a preset association relationship table; determines the second target information corresponding to the second character string as the first target information corresponding to the first character string, and sends the first target information to the terminal device 11;
[0139] S5. The server 12 obtains a preset ratio value indicating a display size of the first target information and a screen size; and determines a display size of the first target information according to the preset ratio value and the screen size.
[0140] S6, the server 12 sends the center position of the target display area and the display size of the first target information to the terminal device 11;
[0141] S7. The terminal device 11 displays the first target information according to the center position of the target display area and the display size of the first target information.
[0142] Specifically, the specific details corresponding to this embodiment can be found in the aforementioned content and will not be repeated here.
[0143] Figure 4 A schematic diagram of a display device provided as an exemplary embodiment of the present application; wherein the device comprises:
[0144] A display unit 41 is used to display a target page, in which a first content and a first interactive control corresponding to the first content are displayed, and the first content at least includes text content;
[0145] An acquisition unit 42, configured to acquire a first character string in the first content in response to a preset operation on the first interactive control;
[0146] The display unit 41 is further configured to display first target information corresponding to the first character string, where the first target information at least includes a first target animation corresponding to the first character string.
[0147] According to one or more embodiments of the present application, the target page is a comment page for the comment object, the first content is the comment content, and the first interactive control is a button for providing a like.
[0148] According to one or more embodiments of the present application, the first target information corresponding to the first character string further includes: audio corresponding to the first character string and / or a first image corresponding to the first character string.
[0149] According to one or more embodiments of the present application, when the aforementioned apparatus is used to obtain a first character string in a first content, it is specifically used to:
[0150] Get a preset string library, which includes multiple strings;
[0151] A character string in the first content that is included in the character string library is used as a first character string.
[0152] According to one or more embodiments of the present application, when the aforementioned device is used to display the first target information corresponding to the first character string, it is specifically used to:
[0153] When it is determined that the first character string corresponds to the first target information, displaying the first target information;
[0154] When it is determined that the first character string does not correspond to the first target information, a second character string associated with the first character string is determined based on the first character string; the second target information corresponding to the second character string is determined as the first target information corresponding to the first character string; and the first target information is displayed.
[0155] According to one or more embodiments of the present application, when the aforementioned apparatus is used to determine a second string associated with the first string based on the first string, it is specifically used to:
[0156] Obtaining a preset knowledge graph including an association relationship between the first string and the second string;
[0157] Determine a second character string associated with the first character string according to a preset knowledge graph;
[0158] or
[0159] A second character string associated with the first character string is determined according to a preset association relationship table.
[0160] According to one or more embodiments of the present application, the aforementioned device is also used for:
[0161] Get the preset string display information;
[0162] Displaying the first string according to the string display method information, and displaying the first string and text content belonging to the same sentence as the first string according to the string display method information;
[0163] The character string display information includes any one or more of the following: font color, font size, and font type.
[0164] According to one or more embodiments of the present application, when the aforementioned device is used to display the first target information corresponding to the first character string, it is specifically used to:
[0165] Obtaining a screen size of a current device for displaying first target information corresponding to the first character string;
[0166] The first target information corresponding to the first character string is displayed according to the screen size.
[0167] According to one or more embodiments of the present application, the aforementioned device is also used for:
[0168] Obtain third target information corresponding to the first character string;
[0169] The icon corresponding to the first interactive control is changed to the third target information.
[0170] According to one or more embodiments of the present application, the target page also displays second content located below the first content;
[0171] When the aforementioned device is used to display the first target information corresponding to the first character string, it is specifically used to: display the first target information corresponding to the first character string in the target display area;
[0172] The target display area includes any one of the following: a central area of a screen of a current device for displaying the first target information, an area where the first content is located, a preset area between the first content and the second content, and a background area.
[0173] Figure 5 A schematic diagram of the structure of an information processing device provided for an exemplary embodiment of the present application; wherein the device comprises:
[0174] The receiving unit 51 is configured to receive a first character string in the first content, where the first character string is sent by the sending device in response to a preset operation on the first interactive control after the sending device displays the target page, wherein the target page displays the first content and the first interactive control corresponding to the first content, and the first content includes at least text content;
[0175] A determination unit 52, configured to determine corresponding first target information based on the first character string;
[0176] The sending unit 53 is used to send the first target information so that the sending device displays the first target information corresponding to the first character string, and the first target information at least includes a first target animation corresponding to the first character string.
[0177] It should be understood that the device embodiment and the method embodiment may correspond to each other, and similar descriptions may refer to the method embodiment. To avoid repetition, no further description is given here. Specifically, the device may perform the above method embodiment, and the above and other operations and / or functions of each module in the device are the corresponding processes in each method in the above method embodiment, respectively, and no further description is given here for the sake of brevity.
[0178] The above describes the device of the embodiment of the present application from the perspective of the functional module in conjunction with the accompanying drawings. It should be understood that the functional module can be implemented in hardware form, can be implemented by instructions in software form, and can also be implemented by a combination of hardware and software modules. Specifically, the steps of the method embodiment in the embodiment of the present application can be completed by the hardware integrated logic circuit and / or software form instructions in the processor, and the steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or a combination of hardware and software modules in the decoding processor to perform. Optionally, the software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory, and completes the steps in the above method embodiment in conjunction with its hardware.
[0179] Figure 6 is a schematic block diagram of an electronic device provided in an embodiment of the present application, and the electronic device may include:
[0180] The memory 601 and the processor 602, the memory 601 is used to store the computer program and transmit the program code to the processor 602. In other words, the processor 602 can call and run the computer program from the memory 601 to implement the method in the embodiment of the present application.
[0181] For example, the processor 602 may be configured to execute the above method embodiments according to instructions in the computer program.
[0182] In some embodiments of the present application, the processor 602 may include but is not limited to:
[0183] General-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.
[0184] In some embodiments of the present application, the memory 601 includes but is not limited to:
[0185] Volatile memory and / or non-volatile memory. Among them, the non-volatile memory can be read-only memory (ROM), programmable ROM (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM) or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus random access memory (DR RAM).
[0186] In some embodiments of the present application, the computer program may be divided into one or more modules, which are stored in the memory 601 and executed by the processor 602 to complete the method provided by the present application. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device.
[0187] like Figure 6 As shown, the electronic device may also include:
[0188] The transceiver 603 may be connected to the processor 602 or the memory 601 .
[0189] The processor 602 may control the transceiver 603 to communicate with other devices, specifically, to send information or data to other devices, or to receive information or data sent by other devices. The transceiver 603 may include a transmitter and a receiver. The transceiver 603 may further include an antenna, and the number of antennas may be one or more.
[0190] It should be understood that the various components in the electronic device are connected via a bus system, wherein the bus system includes not only a data bus but also a power bus, a control bus and a status signal bus.
[0191] The present application also provides a computer storage medium on which a computer program is stored, and when the computer program is executed by a computer, the computer can perform the method of the above method embodiment. In other words, the present application embodiment also provides a computer program product containing instructions, and when the instructions are executed by a computer, the computer can perform the method of the above method embodiment.
[0192] When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disc (digital video disc, DVD)), or a semiconductor medium (e.g., a solid state drive (solid state disk, SSD)), etc.
[0193] According to one or more embodiments of the present application, an electronic device is provided, including:
[0194] Processor; and
[0195] A memory for storing executable instructions of the processor;
[0196] The processor is configured to perform the aforementioned methods by executing executable instructions.
[0197] According to one or more embodiments of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the aforementioned methods are implemented.
[0198] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0199] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the module is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0200] The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. For example, each functional module in each embodiment of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
[0201] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A display method, characterized in that: include: Displaying a target page, wherein the target page displays first content and a first interactive control corresponding to the first content, wherein the first content at least includes text content; In response to a preset operation on the first interactive control, obtaining a first character string in the first content; The first target information corresponding to the first character string is displayed, where the first target information at least includes a first target animation corresponding to the first character string.
2. The method according to claim 1, characterized in that The target page is a comment page for the comment object, the first content is the comment content, and the first interactive control is a button for a user to click "Like"; and / or, The first target information corresponding to the first character string further includes: audio corresponding to the first character string and / or a first image corresponding to the first character string.
3. The method according to any one of claims 1 to 2, characterized in that: The obtaining of the first character string in the first content includes: Obtain a preset string library, wherein the string library includes a plurality of strings; The character string in the first content that is included in the character string library is used as the first character string.
4. The method according to any one of claims 1 to 2, characterized in that The displaying of the first target information corresponding to the first character string includes: When it is determined that the first character string corresponds to the first target information, displaying the first target information; When it is determined that the first character string does not correspond to the first target information, a second character string associated with the first character string is determined based on the first character string; second target information corresponding to the second character string is determined as the first target information corresponding to the first character string; and the first target information is displayed.
5. The method according to claim 4, characterized in that The determining, based on the first character string, a second character string associated with the first character string comprises: Obtaining a preset knowledge graph containing an association relationship between the first character string and a second character string; determining a second character string associated with the first character string according to the preset knowledge graph; or A second character string associated with the first character string is determined according to a preset association relationship table.
6. The method according to claim 1, further comprising: Get the preset string display information; Displaying the first string according to the string display mode information, and displaying the first string and text content belonging to the same sentence as the first string according to the string display mode information; The character string display information includes any one or more of the following: font color, font size, and font type.
7. The method according to claim 1, characterized in that The displaying of the first target information corresponding to the first character string includes: Obtaining a screen size of a current device for displaying first target information corresponding to the first character string; The first target information corresponding to the first character string is displayed according to the screen size.
8. The method according to claim 1, characterized in that The method further comprises: Obtaining third target information corresponding to the first character string; The icon corresponding to the first interactive control is changed to the third target information.
9. The method according to claim 1, characterized in that: The target page also displays second content located below the first content; The displaying of the first target information corresponding to the first character string includes: displaying the first target information corresponding to the first character string in a target display area; The target display area includes any one of the following: a central area of a screen of a current device for displaying the first target information, an area where the first content is located, a preset area between the first content and the second content, and a background area.
10. A display device, characterized in that: include: A display unit, configured to display a target page, wherein the target page displays a first content and a first interactive control corresponding to the first content, wherein the first content at least includes text content; an acquiring unit, configured to acquire a first character string in the first content in response to a preset operation on the first interactive control; The display unit is further used to display first target information corresponding to the first character string, where the first target information at least includes a first target animation corresponding to the first character string.
11. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 9 by executing the executable instructions.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.