Display method, information processing method and apparatus, device, and computer medium
By introducing interactive controls and target animation display methods into the display page, the problem of low efficiency in user acquisition locations and other special content in the prior art is solved, and user-friendly interactive experience and information acquisition efficiency are improved.
Patent Information
- Application Number
- PCT/CN2024/121230
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-09-25
- Filing Date
- 2024-09-25
- Publication Date
- 2025-04-03
AI Technical Summary
When presenting content or comment content such as display locations, the prior art lacks special content that directly interacts with users, resulting in low efficiency in users to obtain information and poor user experience.
A display method is provided, by displaying the first content and the first interactive control in the target page, in response to a user's preset operation, obtaining the first character string in the first content, and displaying the first target information related to the character string, including the first target animation corresponding to the first character string.
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 CN2024121230_03042025_PF_FP_ABST
Abstract
Description
Display method, information processing method, device, equipment and computer medium
[0001] This application claims priority to the Chinese invention patent application entitled “Display method, information processing method, device, equipment and computer medium” and application number 202311251022.0 filed on September 25, 2023. The entire contents of that application are incorporated by reference into this application. Technical Field
[0002] The present application belongs to the field of page interaction technology, and in particular relates to a display method, information processing method, device, equipment and computer medium. Background Art
[0003] In related technologies, when displaying introductions or reviews of an object, they are typically displayed through static pages. These pages lack user-friendly, object-related content. Users must browse and access the object's unique content separately, which prevents them from directly accessing it. This results in inefficient information acquisition and a poor user experience.
[0004] Summary of the Invention
[0005] The embodiment of the present application provides an implementation solution that is different from the related art to solve the technical problem in the related art that users have low efficiency in obtaining information when obtaining the characteristic content of a location.
[0006] In a first aspect, the present application provides a display method, including: displaying a target page, wherein the target page displays first content and a first interactive control corresponding to the first content, the first content including at least text content; in response to a preset operation on the first interactive control, obtaining a first character string in the first content; displaying first target information corresponding to the first character string, the first target information including at least a first target animation corresponding to the first character string.
[0007] In a second aspect, the present application provides a display device, comprising: a display unit for 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 includes at least text content; an acquisition unit for acquiring a first character string in the first content in response to a preset operation on the first interactive control; the display unit is also used to display first target information corresponding to the first character string, and the first target information includes at least a first target animation corresponding to the first character string.
[0008] In a third aspect, the present application provides an electronic device comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any method in the first aspect or any possible implementation of the first aspect by executing the executable instructions.
[0009] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any method in the first aspect or any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for the embodiments or related technical descriptions. Obviously, the drawings described below are some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0011] FIG1 is a schematic structural diagram of a system provided in one embodiment of the present application;
[0012] FIG2a is a schematic diagram of a flow chart of a display method provided in an embodiment of the present application;
[0013] FIG2 b is a schematic diagram of a scenario of a display method provided in an embodiment of the present application;
[0014] FIG2c is a schematic diagram of another scenario of the display method provided by an embodiment of the present application;
[0015] FIG2 d is a schematic diagram of another scenario of the display method provided by an embodiment of the present application;
[0016] FIG2e is a schematic diagram of another scenario of the display method provided by an embodiment of the present application;
[0017] FIG2f is a schematic diagram of a scenario showing a change in the display position of first target information provided by an embodiment of the present application;
[0018] FIG3a is a flow chart of an information processing method according to an embodiment of the present application;
[0019] FIG3 b is a schematic diagram of a flow chart of a display method provided in an embodiment of the present application;
[0020] FIG4 is a schematic structural diagram of a display device provided in one embodiment of the present application;
[0021] FIG5 is a schematic diagram of the structure of an information processing device provided in one embodiment of the present application;
[0022] FIG6 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] 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 intended to be used to explain the present application, but should not be understood as limiting the present application.
[0024] The terms "first" and "second" in the embodiment of the present application are used to distinguish similar objects, and are not necessarily 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 embodiment of the embodiment of the present application described herein, for example, can be implemented in an order other than those illustrated or described here. 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 is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or that are intrinsic to these processes, methods, products or equipment.
[0025] In the prior art, when displaying introductions or reviews of places and products, these are typically displayed through static pages. These pages lack unique, place-related content that users can interact with directly. Users must browse and retrieve specific content about the place, such as details about people associated with the place, without being able to directly access the specific content. This results in inefficient information acquisition. Furthermore, the lack of engaging user interaction results in a poor user experience.
[0026] The following specific embodiments describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. 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.
[0027] 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-mounted 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 (CDNs), and basic cloud computing services such as big data and artificial intelligence platforms.
[0028] FIG1 is a schematic diagram of a system structure provided by an exemplary embodiment of the present application, wherein the system structure includes a terminal device 11 and a server 12 .
[0029] 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 includes at least 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.
[0030] The server 12 is configured to receive the first character string; determine corresponding first target information based on the first character string; and feed the first target information back to the terminal device 11 .
[0031] The terminal device 11 is further configured to display first target information, where the first target information at least includes a first target animation corresponding to the first character string.
[0032] The various components in the embodiment of this system, such as the data processing process in the terminal device 11, the data processing process of 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.
[0033] FIG2a is a flow chart 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 both the terminal device 11 and the server 12. The method includes at least the following steps S201-S203:
[0034] S201: Display a target page, where first content and a first interactive control corresponding to the first content are displayed on the target page, where the first content includes at least text content;
[0035] In some embodiments of the present application, a target page can be understood as a page that provides interactive functions, that is, a user can perform interactive operations on the target page. In one implementation, the target page can be provided with interactive controls that can trigger at least one interactive function. In one implementation, a first interactive control can be a control that can trigger an interactive function for the first content.
[0036] The interactive function refers to a function in which a user can interact with a target page displayed on 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.
[0037] 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.
[0038] Specifically, the target page may be an application, a mini-program, or a web page on a website displayed in the terminal device 11 .
[0039] 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 .
[0040] 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. In this application, description can refer to: comments, sharing, introductions, or posting barrages. The described object can specifically refer to products, music, places, food, movies, TV shows, games, etc.
[0041] The first content refers to the description content of the target object by the user on the target page, wherein the description content can be comment content, sharing content, introduction content, or barrage content, etc.
[0042] The interactive controls in this application are visual graphical interface elements in the target page that can be operated by the user. Specifically, they can be text boxes, buttons, drop-down menus, etc. that can be operated by the user. The interactive controls in this application include the first interactive control and the second interactive control below.
[0043] 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, favorite, and mark as useful.
[0044] S202: In response to a preset operation on a first interactive control, obtain a first character string in a first content;
[0045] 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.
[0046] 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.
[0047] 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.
[0048] The first target animation is an animation associated with the first character string.
[0049] The character string in this application is a string of characters consisting of any one or more of numbers, letters, symbols and other characters. The character string in this application may include a first character string and a second character string.
[0050] Optionally, the aforementioned first content also includes picture content.
[0051] This application provides a scenario diagram of the aforementioned display method, specifically shown in FIG2b . The target page is a comment page, the first interactive control is a button for the user to mark as useful, and the first content includes a comment from a user corresponding to Username 1. Part of the comment reads: "..., Xiao Z is so handsome, ………………...", where the ellipsis represents part of the user's comment. Comment Image 1, Comment Image 2, and Comment Image 3 also represent part of the user's comment. The first target information is the animation corresponding to the first string "Xiao Z."
[0052] In FIG2b, when the user clicks the button for marking useful information, the animation corresponding to the small Z is displayed on the target page. The specific effect is shown in FIG2c.
[0053] The solution of this application can display a first interactive control for users to interact with the target page displaying 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. This solution can achieve interesting interaction between the target page and the user, allowing the user to view the featured animation in the first content with just a simple operation, thereby improving the user's information acquisition efficiency when obtaining the target's featured content and enhancing the user experience.
[0054] 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.
[0055] In some embodiments, when the first target information also includes 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 a 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, where the preset order may be to display the first target animation first and then the first image.
[0056] 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:
[0057] S2021. Obtain a preset string library, where the string library includes multiple strings;
[0058] Specifically, the multiple character strings included in the character string library can be set by relevant personnel.
[0059] 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.
[0060] The string library is used to query whether the first content contains a first string included in the string library.
[0061] The string library can 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 can send the first content to the server 12. After the server 12 obtains the first content, it obtains the preset string library.
[0062] In this application, the string library can 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, etc.
[0063] S2022: Use a character string in the first content that is included in the character string library as a first character string.
[0064] The aforementioned S2022 can be executed by the terminal device 11 or by the server 12.
[0065] In some optional embodiments of the present application, in the first content, the string contained in the string library can be one or more. Wherein, the "more" in the present application refers to 2 or more. When the first content,
[0066] When there are multiple character strings included in the character string library, the number of first character strings is multiple.
[0067] 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 strings may include:
[0068] 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;
[0069] or
[0070] According to the order in which the multiple first character strings appear in the first content, the first target information corresponding to each first character string is displayed in sequence.
[0071] 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 specifically seen in Figure 2d. The aforementioned target page is a comment page, the aforementioned first interactive control is a button for users to perform a like operation, and the aforementioned first content includes the comment content of the user corresponding to username 1, part of the comment content 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 character string is "ABC", and "D". The first target information is: the animation corresponding to the first character string "ABC", and the animation corresponding to the first character string "D".
[0072] The aforementioned preset operation can be a click operation. In Figure 2d, when the user clicks the button for the user to click "Like," the animation corresponding to the first character string "ABC" and the animation corresponding to the first character string "D" are displayed on the target page in sequence. The castle animation in Figure 2d corresponds to the first character string "ABC," and the animation corresponding to the first character string "D" is not shown in the figure.
[0073] In some optional embodiments of the present application, in the aforementioned S203, displaying the first target information corresponding to the first character string includes:
[0074] When it is determined that the first character string corresponds to the first target information, displaying the first target information;
[0075] 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.
[0076] 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 correspondence table.
[0077] In some optional embodiments of the present application, the aforementioned determining, based on the first character string, a second character string associated with the first character string may include:
[0078] Obtaining a preset knowledge graph containing an association relationship between a first character string and a second character string; determining a second character string associated with the first character string based on the preset knowledge graph;
[0079] Alternatively, a second character string associated with the first character string is determined according to a preset association relationship table.
[0080] Specifically, the aforementioned association table includes an association between a first string and a second string. It is understood that both the first string and the second string are associated with the target object. For example, the first string and the second string are both 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 identical.
[0081] A knowledge graph is a graph-based data structure consisting of nodes and edges. Each node represents an entity, and each edge represents a relationship between entities. A knowledge graph is essentially a semantic network. In this application, entities in a knowledge graph can be strings, and edges can refer to the relationships between entities on either side of the edge.
[0082] In some optional embodiments of the present application, the method further includes the following S21-S22:
[0083] S21. Obtaining preset string display mode information;
[0084] S22: Display the first string according to the string display mode information, and display the first string and text content in the same sentence as the first string according to the string display mode information;
[0085] 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, thereby improving the user experience.
[0086] The aforementioned character string display mode information 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.
[0087] Among them, font types may include: Songti, Heiti, Kaiti, etc.
[0088] In some embodiments, when the string display mode information is blue font, as shown in Figure 2b, 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.
[0089] In some optional embodiments of the present application, in S203, displaying the first target information corresponding to the first string includes the following S2031 - S2032:
[0090] S2031. Obtain the screen size of the current device for displaying the first target information corresponding to the first string;
[0091] The current device refers to the aforementioned terminal device 11.
[0092] S2032. Display the first target information corresponding to the first string according to the screen size.
[0093] Optionally, in the aforementioned S2032, displaying the first target information corresponding to the first string according to the screen size includes the following S0321 - S0323:
[0094] S0321. Obtain a preset ratio value indicating the display size of the first target information to the screen size;
[0095] S0322. Determine the display size of the first target information according to the preset ratio value and the screen size;
[0096] S0323. Display the first target information according to the display size of the first target information.
[0097] Among them, in the aforementioned S0322, determining the display size according to the preset ratio value and the screen size includes: taking the product of the preset ratio value and the screen size as the display size of the first target information. The display size of the first target information is the size when the first target information is displayed.
[0098] Optionally, the aforementioned preset ratio value can be less than or equal to 1. When the preset ratio value is 1, the first target information is displayed full screen.
[0099] Optionally, at a preset distance from the first interaction control, a prompt message corresponding to the first interaction control can also be displayed. This prompt message is used to indicate the meaning of the first interaction control, such as: like, support, love, collect, useful, etc.
[0100] In some optional embodiments, the method further includes the following S23 - S24:
[0101] S23. Obtain the third target information corresponding to the first string;
[0102] 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.
[0103] 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.
[0104] In 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.
[0105] S24. Change the icon corresponding to the first interactive control to the third target information.
[0106] The icon corresponding to the first interactive control is a graphic symbol used to indicate the meaning of the first interactive control.
[0107] In some optional embodiments of the present application, the icon corresponding to the first interactive control may be the first interactive control itself.
[0108] Specifically, as shown in FIG2e , 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.
[0109] In some optional embodiments of the present application, the target page further displays second content 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.
[0110] 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;
[0111] The target display area is an area on the screen of the current device for displaying the first target information. When the first target information is displayed, the center position of the target display area coincides with the center point of the first target information.
[0112] Among them, the target display area includes any one of the following: the central area of the screen of the current device for displaying 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 for displaying the first target information, the lower half of the screen of the current device for displaying the first target information, and the blank area in the screen.
[0113] In some optional embodiments of the present application, regarding the method for determining the preset area between the first content and the second content, the above method also includes: taking the center position of the area where the first content is located and the center point of the line connecting the center position of the area where the second content is located as the center point of the preset area; and taking the size of the preset area as the size of the preset area to determine the preset area between the first content and the second content.
[0114] In 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 trajectory; and displaying the first target information corresponding to the first character string along the preset display trajectory using the target display area as the initial display area. The starting position of the preset display trajectory may be the center of the target display area. For details about the target display area, please refer to the aforementioned content.
[0115] The preset display trajectory is used to indicate the movement trajectory of the first target information during the display process.
[0116] 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 moving horizontally repeatedly along the screen of the current device used to display the first target information corresponding to the first character string, and a trajectory moving vertically repeatedly along the screen of the current device used to display the first target information corresponding to the first character string.
[0117] It should be noted that the preset display track can also be other tracks, and this application does not limit this.
[0118] 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.
[0119] Specifically, when the target display area is the central area of the screen of the current device used to display 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 in the display position of the first target information and the corresponding movement direction of the first target information at different display positions can be seen in Figure 2f.
[0120] The solution provided in this application can realize interesting interaction between the target page and the user, and can enable the user to see the special animation in the first content based on simple operations, thereby improving the user's information acquisition efficiency when obtaining the special content of the object and improving the user experience.
[0121] FIG3 a is a flow chart of an information processing method provided by an exemplary embodiment of the present application. The method may be applicable to the aforementioned server 12 . The method at least includes the following steps S301 to S303 :
[0122] S301: Receive a first character string in first content, where the first character string is sent by a sending device in response to a preset operation on a first interactive control after a target page is displayed, wherein the target page displays first content and a first interactive control corresponding to the first content, and the first content includes at least text content;
[0123] S302, determining corresponding first target information based on the first character string;
[0124] Among them, the sending device is the aforementioned terminal device 11.
[0125] 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.
[0126] The details corresponding to this embodiment can be found in the above content and will not be repeated here.
[0127] Furthermore, the present application also provides a flow chart of a display method to further illustrate the present solution. Specifically, as shown in FIG3b , the display method includes the following S1-S5:
[0128] S1. The terminal device 11 displays the target page;
[0129] S2. The terminal device 11 sends the first content to the server 12 in response to a preset operation on the first interactive control;
[0130] 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;
[0131] S4. The server 12 determines whether the first character string corresponds to the first target information. If so, the server 12 sends the first target information to the terminal device 11. If not, the server 12 obtains a preset knowledge graph containing an association relationship between the first character string and the second character string; determines a second character string associated with the first character string based on the preset knowledge graph; or determines a second character string associated with the first character string based on 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.
[0132] S5. The server 12 obtains a preset ratio value indicating the display size of the first target information and the screen size; and determines the display size of the first target information according to the preset ratio value and the screen size.
[0133] 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.
[0134] 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.
[0135] Specifically, the specific details corresponding to this embodiment can be found in the aforementioned content and will not be repeated here.
[0136] FIG4 is a schematic structural diagram of a display device provided by an exemplary embodiment of the present application; wherein the device includes:
[0137] The display unit 41 is configured to display a target page, wherein the target page displays first content and a first interactive control corresponding to the first content, where the first content includes at least text content;
[0138] An acquiring unit 42 is configured to acquire a first character string in the first content in response to a preset operation on the first interactive control;
[0139] 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.
[0140] 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 likes.
[0141] 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.
[0142] According to one or more embodiments of the present application, when the aforementioned apparatus is used to obtain the first character string in the first content, it is specifically configured to:
[0143] Get the preset string library, which includes multiple strings;
[0144] A character string in the first content that is included in the character string library is used as a first character string.
[0145] According to one or more embodiments of the present application, when the aforementioned apparatus is used to display the first target information corresponding to the first character string, it is specifically configured to:
[0146] When it is determined that the first character string corresponds to the first target information, displaying the first target information;
[0147] 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.
[0148] 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 configured to:
[0149] Obtaining a preset knowledge graph including an association relationship between the first character string and the second character string;
[0150] Determine a second character string associated with the first character string according to a preset knowledge graph;
[0151] or
[0152] A second character string associated with the first character string is determined according to a preset association relationship table.
[0153] According to one or more embodiments of the present application, the aforementioned device is further used to:
[0154] Get the preset string display information;
[0155] 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;
[0156] The character string display information includes any one or more of the following: font color, font size, and font type.
[0157] According to one or more embodiments of the present application, when the aforementioned apparatus is used to display the first target information corresponding to the first character string, it is specifically configured to:
[0158] Obtaining a screen size of a current device for displaying first target information corresponding to the first character string;
[0159] The first target information corresponding to the first character string is displayed according to the screen size.
[0160] According to one or more embodiments of the present application, the aforementioned device is further used to:
[0161] Obtain third target information corresponding to the first character string;
[0162] Change the icon corresponding to the first interactive control to the third target information.
[0163] According to one or more embodiments of the present application, the target page further displays second content located below the first content;
[0164] 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;
[0165] The target display area includes any one of the following: a central area of the screen of the 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.
[0166] The solution provided by this application can display a first interactive control for user interaction with a target page displaying first content. When the user interacts with the page through the first interactive control, the text of the first content can be analyzed to determine a first character string within the first content, and a first target animation corresponding to the first character string can be displayed. This solution enables interesting interaction between the target page and the user, allowing the user to view the featured animation within the first content with a simple operation, thereby improving the user's efficiency in obtaining information when accessing the target's featured content and enhancing the user experience.
[0167] FIG5 is a schematic diagram of the structure of an information processing device provided by an exemplary embodiment of the present application; wherein the device includes:
[0168] A receiving unit 51 is configured to receive a first character string in a first content, where the first character string is sent by a sending device in response to a preset operation on a first interactive control after the sending device displays a target page, wherein the target page displays the first content and a first interactive control corresponding to the first content, and the first content includes at least text content;
[0169] A determining unit 52, configured to determine corresponding first target information based on the first character string;
[0170] The sending unit 53 is configured to send the 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.
[0171] It should be understood that the device embodiments and the method embodiments may correspond to each other, and similar descriptions may refer to the method embodiments. To avoid repetition, they will not be described in detail here. Specifically, the device can perform the above-mentioned method embodiments, and the aforementioned and other operations and / or functions of each module in the device are the corresponding processes in each method in the above-mentioned method embodiments, which will not be described in detail here for the sake of brevity.
[0172] The apparatus of the embodiment of the present application is described above from the perspective of functional modules 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, or can 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 being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. Optionally, the software module can be located in a mature storage medium in the art 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 the memory, and the processor reads the information in the memory and completes the steps in the above method embodiment in conjunction with its hardware.
[0173] FIG6 is a schematic block diagram of an electronic device provided in an embodiment of the present application. The electronic device may include:
[0174] The memory 601 and the processor 602 are configured to store computer programs 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.
[0175] For example, the processor 602 may be configured to execute the above method embodiments according to instructions in the computer program.
[0176] In some embodiments of the present application, the processor 602 may include but is not limited to:
[0177] 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.
[0178] In some embodiments of the present application, the memory 601 includes but is not limited to:
[0179] Volatile memory and / or non-volatile memory. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. 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).
[0180] 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 implement the method provided by the present application. The one or more modules may be a series of computer program instruction segments capable of implementing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device.
[0181] As shown in FIG6 , the electronic device may further include:
[0182] The transceiver 603 may be connected to the processor 602 or the memory 601 .
[0183] The processor 602 may control the transceiver 603 to communicate with other devices. Specifically, the processor 602 may send information or data to other devices or receive information or data sent by other devices. The transceiver 603 may include a transmitter and a receiver. The transceiver 603 may further include one or more antennas.
[0184] 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.
[0185] The present application also provides a computer storage medium having a computer program stored thereon, which, when executed by a computer, enables the computer to perform the method of the above-mentioned method embodiment. In other words, the present application also provides a computer program product containing instructions, which, when executed by a computer, enables the computer to perform the method of the above-mentioned method embodiment.
[0186] 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 device. 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 one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. 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. 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 (DVD)), or a semiconductor medium (e.g., a solid state drive (SSD)).
[0187] According to one or more embodiments of the present application, an electronic device is provided, including:
[0188] processor; and
[0189] a memory for storing executable instructions for the processor;
[0190] The processor is configured to perform the aforementioned methods by executing executable instructions.
[0191] 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.
[0192] Those skilled 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 beyond the scope of this application.
[0193] In the several embodiments provided in this 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 merely schematic. For example, the division of the modules is merely a logical function division. In actual implementation, there may be other division methods, 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.
[0194] Modules described as separate components may or may not be physically separate, and components displayed as modules may or may not be physical modules, i.e., they may be located in one place or distributed across multiple network elements. Some or all of the modules may be selected based on actual needs to achieve the purpose of the present embodiment. For example, the functional modules in the various embodiments 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 a single module.
[0195] The above are only specific embodiments of the present application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A display method, comprising: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, comprising: 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, comprising: 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, wherein the computer program implements the method according to any one of claims 1 to 9 when executed by a processor.
Citation Information
Patent Citations
Information display method and terminal device
CN105955582A
Method and device for achieving animation effect of character strings based on text control
CN108108220A
Picture book processing method and device, electronic equipment and storage medium
CN112988002A
Information display method and device
CN115562528A
Interaction method and device, electronic equipment and storage medium
CN115686290A