Page interaction processing method and device, electronic equipment, computer readable storage medium and computer program product
By responding to the continuous triggering of multiple interactive controls on the interactive page, an upgraded version of virtual resources is displayed, solving the problem of insufficient feedback capabilities in existing technologies and achieving more accurate emotional feedback and precise information recommendation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2024-10-25
- Publication Date
- 2026-04-28
AI Technical Summary
In existing technologies, interactive controls on web pages have limited feedback capabilities to allow users to express complex and diverse emotions, and cannot accurately reflect the user's emotional expression.
By responding to the continuous triggering of multiple interactive controls on the interactive page, if all of them express a preset type of emotion within a short period of time, an upgraded version of the virtual resource is displayed. The upgrade range of the virtual resource is related to the time interval between the triggering operations and the intensity of the emotion, and the sorting and recommendation of information are adjusted according to the emotion type.
It enhances the accuracy and intuitiveness of the interactive interface in responding to user emotions, improves the creativity of information publishers, and optimizes the accuracy of information recommendations and user experience.
Smart Images

Figure CN121934737A_ABST
Abstract
Description
Technical Field
[0001] This application relates to computer technology, and more particularly to a method, apparatus, electronic device, computer-readable storage medium, and computer program product for interactive processing of web pages. Background Technology
[0002] When users browse information on a webpage, they typically interact with the information to express different types of emotions. Related technologies employ various feedback logics to trigger user interaction controls; however, this feedback logic cannot support the complex and diverse emotional needs of users in expressing information, resulting in a technical problem of limited feedback capabilities for user interactions. Summary of the Invention
[0003] This application provides a method, apparatus, electronic device, computer-readable storage medium, and computer program product for processing page interactions, which can provide accurate feedback on user interactions on interactive pages.
[0004] The technical solution of this application embodiment is implemented as follows:
[0005] This application provides a method for handling page interactions, the method comprising:
[0006] Display an interactive page, wherein the interactive page includes at least one piece of information and a set of interactive controls for each piece of information;
[0007] In response to triggering operations of multiple interactive controls in the set of interactive controls respectively targeting the first information, if all of the multiple interactive controls express a preset type of emotion, and the time interval between the triggering operations of the multiple interactive controls is less than a time interval threshold, the first virtual resource is displayed.
[0008] This application provides an interactive processing device for a webpage, the device comprising:
[0009] The first display module is used to display an interactive page, wherein the interactive page includes at least one piece of information and a set of interactive controls for each piece of information;
[0010] The second display module is used to respond to the triggering operations of multiple interactive controls in the set of interactive controls respectively targeting the first information. If the multiple interactive controls all express a preset type of emotion, and the time interval between the triggering operations of the multiple interactive controls is less than a time interval threshold, the first virtual resource is displayed.
[0011] In the above scheme, the first display module is further configured to respond to the triggering operation of multiple interactive controls in the interactive control set that trigger the first information respectively, and send an interactive notification to the account that published the first information. The interactive notification is used to display on the terminal associated with the account to remind that multiple interactive controls in the interactive control set of the first information have been triggered.
[0012] In the above scheme, the interactive page is displayed on the first terminal and logged in with the first account. The first display module is also used to respond to the first trigger operation of at least one first interactive control in the set of interactive controls for the first information. If, before the first trigger operation, the second trigger operation of at least one second interactive control in the set of interactive controls for the first information has been received on the interactive page of the second terminal based on the login of the first account, the first virtual resource is displayed.
[0013] In the above scheme, the first virtual resource is an upgraded version of the second virtual resource, which is the virtual resource displayed when multiple interactive controls are triggered individually.
[0014] In the above scheme, the upgrade method of the first virtual resource relative to the second virtual resource includes at least one of the following: the number of interactive elements included in the first virtual resource is greater than the number of interactive elements included in the second virtual resource; the display duration of the first virtual resource is greater than the display duration of the second virtual resource; the intensity of the emotion expressed by the first virtual resource of a preset type is greater than the intensity of the emotion expressed by the second virtual resource of a preset type; the area of the display area of the first virtual resource is greater than the area of the display area of the second virtual resource.
[0015] In the above scheme, the upgrade range of the first virtual resource relative to the second virtual resource is negatively correlated with the time interval of the triggering operation for multiple interactive controls. The time interval of the triggering operation for multiple interactive controls is the difference between the time of the triggering operation for the first interactive control and the time of the triggering operation for the last interactive control.
[0016] In the above scheme, the intensity of the emotions expressed by the multiple interactive controls varies. The upgrade range of the first virtual resource relative to the second virtual resource is positively correlated with the sum of the intensity of the emotions expressed by the multiple interactive controls.
[0017] In the above scheme, the upgrade range of the first virtual resource relative to the second virtual resource is positively correlated with the operation parameters of the trigger operation for multiple interactive controls. The operation parameters include at least one of the following: the number of times the trigger operation is triggered, and the operation duration of the trigger operation.
[0018] In the above scheme, the second display module is also used to remove duplicate triggering operations after the first triggering operation for the same interactive control if at least one of the multiple interactive controls is repeatedly triggered; if the first triggering operation for each interactive control expresses a preset type of emotion, and the time interval between the first triggering operations for multiple interactive controls is less than the time interval threshold, the first virtual resource is displayed.
[0019] In the above scheme, the second display module is also used to display a first virtual resource expressing a preset type of emotion, wherein the preset type of emotion is a positive emotion or a negative emotion.
[0020] In the above scheme, the second display module is further used to determine multiple sample triggering operations, wherein the multiple sample triggering operations include a triggering operation and multiple triggering operations traced back from the triggering operation; to count the number of times the emotion types expressed by the sample triggering operations are counted to obtain the number of times different types of emotions are expressed; to determine the emotion type of the emotion expressed by the multiple sample triggering operations as a whole based on the number of times different types of emotions are expressed; and to display the first virtual resource corresponding to the emotion type of the emotion expressed as a whole.
[0021] In the above scheme, the second display module is also used to, in response to a preset type of emotion being a positive emotion, improve the order of the first information in the at least one information when there are multiple such information; and in response to a preset type of emotion being a negative emotion, reduce the order of the first information in the at least one information, or delete the first information, when there are multiple such information.
[0022] In the above scheme, the second display module is also used to extract multiple materials from the first information, select target materials from the multiple materials to express a preset type of emotion, wherein the materials include at least one of text and images; and generate a first virtual resource based on the target materials.
[0023] In the above scheme, the second display module is also used to display a resource editing interface, wherein the resource editing interface includes multiple candidate materials, each candidate material includes at least multiple icons of interactive controls, and the candidate materials are used to express a preset type of emotion; in response to a selection operation on multiple candidate materials, the selected candidate material is highlighted as the target material; in response to an editing operation on the target material, the attributes of the target material are updated; in response to a compositing operation on the updated target material, a first virtual resource is generated based on the updated target material.
[0024] In the above scheme, the second display module is also used to obtain the topic features and publishing object features of the first information; based on the topic features and publishing object features, a first virtual resource that meets the preference conditions of the publishing object and conforms to the topic of the first information is generated.
[0025] In the above scheme, the second display module is also used to display a preview control, wherein the preview control includes multiple candidate virtual resources, which are virtual resources pre-set by the second account, and the interactive page is logged in with the first account; in response to the selection operation of any candidate virtual resource among the multiple candidate virtual resources, the selected candidate virtual resource is used as the first virtual resource.
[0026] In the above scheme, the second display module is further configured to respond to a refresh operation on the interactive page by requesting at least one new piece of information from the server and displaying at least one new piece of information on the interactive page to replace at least one piece of information. The at least one new piece of information is obtained by the server in the following manner: determining an adjustment coefficient for the information type to which the first piece of information belongs based on at least one of the trigger counts of multiple interactive controls and the total number of trigger counts of multiple interactive controls; updating the similarity of the information to be recommended belonging to the information type to the first account in the descending order of similarity between the information to be recommended belonging to the information type and the first account, according to the adjustment coefficient, to obtain an updated descending order of sorting results; and selecting at least one piece of information to be recommended from the first position in the updated descending order of sorting results as at least one new piece of information, wherein the first account is logged in on the interactive page.
[0027] In the above scheme, the second display module is further configured to, when the preset emotion type is a positive emotion, set the adjustment coefficient of the information type of the first information to be greater than a preset value based on at least one of the trigger count of multiple interactive controls and the total number of triggers of multiple interactive controls, wherein the adjustment coefficient is positively correlated with at least one of the trigger count of multiple interactive controls and the total number of triggers of multiple interactive controls; and when the preset emotion type is a negative emotion, set the adjustment coefficient of the information type of the first information to be less than a preset value based on at least one of the trigger count of multiple interactive controls and the total number of triggers of multiple interactive controls, wherein the adjustment coefficient is negatively correlated with at least one of the trigger count of multiple interactive controls and the total number of triggers of multiple interactive controls.
[0028] This application provides an electronic device, the electronic device comprising:
[0029] Memory is used to store executable instructions or computer programs.
[0030] The processor, when executing computer-executable instructions or computer programs stored in the memory, implements the page interaction processing method provided in the embodiments of this application.
[0031] This application provides a computer-readable storage medium storing a computer program or computer-executable instructions, which, when executed by a processor, implements the page interaction processing method provided in this application.
[0032] This application provides a computer program product, including a computer program or computer executable instructions. When the computer program or computer executable instructions are executed by a processor, they implement the page interaction processing method provided in this application.
[0033] The embodiments of this application have the following beneficial effects:
[0034] If multiple interactive controls triggered in response to the first information all express a preset type of emotion, and the time interval between the triggering operations of the multiple interactive controls is less than the time interval threshold, it indicates that the user has a strong emotion towards the information, which is why they trigger the interactive controls multiple times in a short period of time. In this case, the intensity of this emotion is higher than the emotion expressed by triggering a single interactive control in a short period of time. Therefore, by using virtual resources corresponding to the preset type of emotion expressed by the multiple interactive controls to provide feedback on the user's emotional interaction, compared to providing feedback on the triggering operations of multiple interactive controls separately, the user can intuitively and accurately feel the feedback of the interactive operation made in response to the first information in a short time interval, thus enhancing the feedback performance of the interactive interface to the user's interactive operation. Attached Figure Description
[0035] Figure 1 This is a schematic diagram of the architecture of the page interaction processing system 100 provided in the embodiments of this application;
[0036] Figure 2 This is a schematic diagram of the structure of the terminal 400 provided in the embodiments of this application;
[0037] Figure 3A This is a first flowchart illustrating the page interaction processing method provided in the embodiments of this application;
[0038] Figure 3B This is a second flowchart illustrating the page interaction processing method provided in the embodiments of this application;
[0039] Figure 3C This is a schematic diagram of the third process of the page interaction processing method provided in the embodiments of this application;
[0040] Figure 3D This is a schematic diagram of the fourth process of the page interaction processing method provided in the embodiments of this application;
[0041] Figure 3E This is a schematic diagram of the fifth process of the page interaction processing method provided in the embodiments of this application;
[0042] Figure 3F This is a schematic diagram of the sixth process of the page interaction processing method provided in the embodiments of this application;
[0043] Figure 3G This is a schematic diagram of the seventh process of the page interaction processing method provided in the embodiments of this application;
[0044] Figure 3H This is a schematic diagram of the eighth process of the page interaction processing method provided in the embodiments of this application;
[0045] Figure 3I This is a ninth flowchart illustrating the page interaction processing method provided in the embodiments of this application;
[0046] Figure 4 This is a schematic diagram illustrating the training principle of the machine learning model provided in the embodiments of this application;
[0047] Figure 5A This is a first application illustration of the interactive processing of a page provided in an embodiment of this application;
[0048] Figure 5B This is a second application illustration of the interactive processing of the page provided in the embodiments of this application;
[0049] Figure 5C This is a third application diagram illustrating the interactive processing of a page provided in the embodiments of this application;
[0050] Figure 5D This is a schematic diagram illustrating the virtual resource upgrade provided in an embodiment of this application;
[0051] Figure 5E This is a schematic diagram illustrating the reduction of the order of the first information provided in an embodiment of this application;
[0052] Figure 5F This is a first schematic diagram of generating virtual materials provided in an embodiment of this application;
[0053] Figure 5G This is a second schematic diagram of generating virtual materials provided in the embodiments of this application;
[0054] Figure 5H This is a schematic diagram illustrating the selection of a first virtual resource provided in an embodiment of this application;
[0055] Figure 6 This is a schematic diagram illustrating the training principle of the material classification model provided in the embodiments of this application;
[0056] Figure 7 This is a schematic diagram illustrating the correspondence between the degree of liking and user actions provided in an embodiment of this application;
[0057] Figure 8This is a schematic diagram of the video author receiving message notifications according to an embodiment of this application;
[0058] Figure 9 This is a schematic diagram of the overall interactive process provided in the embodiments of this application.
[0059] It should be noted that the terms "first" and "second" mentioned above are only used to distinguish between different options and do not represent the degree of superiority or inferiority of the options or their priority in the implementation process. Detailed Implementation
[0060] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0061] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0062] In the following description, the terms "first / second / third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first / second / third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0063] In this application embodiment, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.
[0064] Unless otherwise specified, "at least one" as used below refers to one or more cases, and "multiple" can refer to two or more cases.
[0065] Unless otherwise defined, all technical and scientific terms used in the embodiments of this application have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in the embodiments of this application is for descriptive purposes only and is not intended to limit the scope of this application.
[0066] In the implementation of this application, the collection and processing of relevant data should strictly comply with the requirements of relevant laws and regulations, obtain the informed consent or separate consent of the personal information subject, and carry out subsequent data use and processing within the scope of laws and regulations and the authorization of the personal information subject.
[0067] Before providing a further detailed description of the embodiments of this application, the nouns and terms involved in the embodiments of this application will be explained, and the nouns and terms involved in the embodiments of this application shall be interpreted as follows.
[0068] 1) An interactive page is a page used to display at least one piece of information and allow users to interact with the information through interactive controls. An interactive page includes at least one piece of information, and the type of information includes at least one of the following: video, image, audio, or article.
[0069] 2) An interactive control set is a collection of multiple interactive controls used to interact with information. For example, the types of interactive controls include at least one of the following: like, favorite, comment, share, block, and recommend; the interactive control set can be displayed at the end of the message.
[0070] 3) In response to, used to indicate the conditions or states on which the operation performed depends. When the conditions or states on which it depends are met, one or more operations performed may be performed in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations are performed.
[0071] 4) The time interval refers to the difference between the trigger time of the first interactive control and the trigger time of the last interactive control when multiple controls for the same information are triggered. As a special case, when the triggering operations of multiple interactive controls are triggered consecutively, the time interval is the sum of the triggering durations of each interactive control.
[0072] 5) Upgrade magnitude refers to the degree of improvement of the first virtual resource relative to the second virtual resource in at least one aspect (e.g., the number of interactive elements, display duration, emotional expression intensity, or display area). For example, the upgrade magnitude may be related to at least one of the following factors: the time interval between triggering operations of interactive controls, the sum of emotional intensities, and the parameters of the triggering operations (e.g., the number of triggers or operation duration).
[0073] 6) Thematic features refer to a series of attributes that describe the core concepts or characteristics of the primary information. These features are used to define the thematic scope and content characteristics of the information, and usually include at least one of the following: core keywords, content type, sentiment tendency, topic area, and time range.
[0074] 7) Target audience characteristics refer to the characteristics of the information publisher, such as the publisher's attributes and preferences, used to customize information content to meet the publisher's expected or target audience's needs. Publisher attributes may include at least one of the following: age, region, interactive behavior, areas of interest, and cultural background.
[0075] 8) The adjustment coefficient is a value calculated based on the user's interactive behavior for a specific information type (e.g., the number of times the user clicks, likes, comments, etc.). This value is used to adjust the recommendation weight of the information to be recommended in the information database that belongs to that information type, thereby affecting the recommendation order of the information and making the recommendation results more in line with the user's preferences.
[0076] 9) Human-computer interaction interface: An interface used to provide human-computer interaction functions or display interactive pages. Examples include graphical user interfaces (GUIs), augmented reality (AR) interfaces, virtual reality (VR) interfaces, voice user interfaces (VUIs), interactive projection interfaces (using projection technology to display information on a flat surface), eye-tracking interfaces (interfaces controlled by detecting the user's gaze), holographic interfaces (three-dimensional holograms formed by projecting images using holographic projection technology, allowing viewing of stereoscopic images without special glasses), multimodal interfaces (interfaces combining multiple interaction methods, such as tactile, visual, and auditory interaction), and brain-machine interfaces (BMIs).
[0077] When browsing information, users usually provide feedback through interactive controls. Different interactive controls can express different types of emotions users have towards the information. In related technologies, in response to a trigger operation on any interactive control, the virtual resource corresponding to that interactive control is usually displayed. In response to a series of trigger operations on multiple interactive controls, the virtual resource corresponding to each interactive control is usually displayed separately according to the interaction order for each triggered interactive control. This cannot reflect the complexity and diversity of emotions towards the information.
[0078] Based on the above analysis, the applicant found that the interactive processing methods of related technologies cannot accurately reflect the user's emotional expression towards information by triggering interactive controls. In order to address the above problems, this application provides an interactive processing method for pages that can accurately respond to user interactions on interactive pages.
[0079] The following describes exemplary applications of the electronic devices provided in the embodiments of this application. These electronic devices can be implemented as various types of terminals such as laptops, tablets, desktop computers, set-top boxes, smartphones, smart speakers, smartwatches, smart TVs, and in-vehicle terminals, or as servers. The following will describe exemplary applications when the electronic device is implemented as a terminal.
[0080] See Figure 1 , Figure 1 This is a schematic diagram of the architecture of the page interaction processing system 100 provided in the embodiments of this application. In order to realize the interactive processing application supporting a page, the terminal (terminal 400-1 and terminal 400-2 are shown as examples) connects to the server 200 through the network 300. The network 300 can be a wide area network or a local area network, or a combination of the two.
[0081] Terminal 400-1 or terminal 400-2 is used to display an interactive page on a human-computer interaction interface (human-computer interaction interfaces 410-1 and 410-2 are shown as examples). The interactive page includes at least one piece of information and a set of interactive controls for each piece of information. In response to triggering operations of multiple interactive controls in the set of interactive controls for the first piece of information, if multiple interactive controls express a preset type of emotion and the time interval between the triggering operations of multiple interactive controls is less than a time interval threshold, a first virtual resource is displayed on the graphical interface (human-computer interaction interfaces 410-1 and 410-2 are shown as examples).
[0082] Taking the video account scenario in instant messaging software as an example, if a first account is logged in on both the interactive page of terminal 400-1 and the interactive page of terminal 400-2, in response to the first trigger operation of at least one first interactive control in the set of interactive controls for the video (first information) on the interactive page of terminal 400-1, if before the first trigger operation, a second trigger operation of at least one second interactive control in the set of interactive controls for the video (first information) has been received on the interactive page of the second terminal (i.e., terminal 400-2) based on the login of the first account, the first virtual resource is displayed on the human-computer interaction interface 410-1, and synchronized to terminal 400-2 through server 200 and network 300, so that the first virtual resource is displayed on the human-computer interaction interface 410-2.
[0083] Taking a social dynamics scenario in a social network client as an example, the social network client can be terminal 400-1 or terminal 400-2. If a first account is logged in on both the interaction page of terminal 400-1 and the interaction page of terminal 400-2, in response to a first trigger operation of at least one first interactive control in the set of interactive controls for the social dynamics (first information) on the interaction page of terminal 400-1, if a second trigger operation of at least one second interactive control in the set of interactive controls for the social dynamics (first information) has been received on the interaction page of the second terminal (i.e., terminal 400-2) based on the login of the first account before the first trigger operation, the first virtual resource is displayed on the human-computer interaction interface 410-1, and synchronized to terminal 400-2 through server 200 and network 300, so that the first virtual resource is displayed on the human-computer interaction interface 410-2.
[0084] Taking a news scenario in a news client as an example, the news client can be terminal 400-1 or terminal 400-2. If a first account is logged in on both the interactive page of terminal 400-1 and the interactive page of terminal 400-2, in response to a first trigger operation of at least one first interactive control in the set of interactive controls for the news (first information) on the interactive page of terminal 400-1, if a second trigger operation of at least one second interactive control in the set of interactive controls for the news (first information) has been received on the interactive page of the second terminal (i.e., terminal 400-2) based on the login of the first account before the first trigger operation, the first virtual resource is displayed on the human-computer interaction interface 410-1, and synchronized to terminal 400-2 through server 200 and network 300, so that the first virtual resource is displayed on the human-computer interaction interface 410-2.
[0085] Taking a video scene in an online video client as an example, the online video client can be terminal 400-1 or terminal 400-2. If a first account is logged in on both the interactive page of terminal 400-1 and the interactive page of terminal 400-2, in response to a first trigger operation of at least one first interactive control in the set of interactive controls for the video (first information) on the interactive page of terminal 400-1, if a second trigger operation of at least one second interactive control in the set of interactive controls for the video (first information) has been received on the interactive page of the second terminal (i.e., terminal 400-2) based on the login of the first account before the first trigger operation, the first virtual resource is displayed on the human-computer interaction interface 410-1, and synchronized to terminal 400-2 through server 200 and network 300, so that the first virtual resource is displayed on the human-computer interaction interface 410-2.
[0086] In some embodiments, server 200 may be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. Terminals and servers can be connected directly or indirectly via wired or wireless communication, which is not limited in this embodiment.
[0087] See Figure 2 , Figure 2 This is a schematic diagram of the structure of the terminal 400 provided in the embodiment of this application. Figure 2 The terminal 400 shown includes at least one processor 460, a memory 450, at least one network interface 420, and a user interface 430. The various components in the terminal 400 are coupled together via a bus system 440. It is understood that the bus system 440 is used to implement communication between these components. In addition to a data bus, the bus system 440 also includes a power bus, a control bus, and a status signal bus. However, for clarity, ... Figure 2 The general labeled all buses as Bus System 440.
[0088] Processor 460 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or any conventional processor.
[0089] User interface 430 includes one or more output devices 431 that enable the presentation of media content, including one or more speakers and / or one or more visual displays. User interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0090] The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state storage, hard disk drives, optical disk drives, etc. The memory 450 may optionally include one or more storage devices physically located away from the processor 460.
[0091] The memory 450 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), and the volatile memory may be random access memory (RAM). The memory 450 described in this application embodiment is intended to include any suitable type of memory.
[0092] In some embodiments, memory 450 is capable of storing data to support various operations, examples of which include programs, modules, and data structures or subsets or supersets thereof, as illustrated below.
[0093] Operating system 451 includes system programs for handling various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, driver layer, etc., for implementing various basic business functions and handling hardware-based tasks;
[0094] The network communication module 452 is used to reach other electronic devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 including: Bluetooth, WiFi, and Universal Serial Bus (USB), etc.
[0095] Presentation module 453 is configured to enable the presentation of information (e.g., a user interface for operating peripheral devices and displaying content and information) via one or more output devices 431 (e.g., a display screen, a speaker, etc.) associated with user interface 430;
[0096] The input processing module 454 is used to detect and translate one or more user inputs or interactions from one or more input devices 432.
[0097] In some embodiments, the apparatus provided in this application can be implemented in software. Figure 2 An interactive processing device 455 storing pages in memory 450 is shown. This device can be software in the form of programs and plug-ins, and includes the following software modules: a first module 4551 and a second module 4552. These modules are logically linked and can therefore be arbitrarily combined or further divided according to the functions they implement. The functions of each module will be described below.
[0098] In some embodiments, the terminal or server can implement the page interaction processing method provided in this application embodiment by running various computer-executable instructions or computer programs. For example, computer-executable instructions can be microprogram-level commands, machine instructions, or software instructions. Computer programs can be native programs or software modules in an operating system; they can be native applications (APPs), i.e., programs that need to be installed in the operating system to run, such as short video APPs or instant messaging APPs; or they can be mini-programs that can be embedded in any APP, i.e., programs that only need to be downloaded to a browser environment to run. In summary, the above-mentioned computer-executable instructions can be any form of instruction, and the above-mentioned computer programs can be any form of application, module, or plugin.
[0099] The interactive processing method of the page provided in the embodiments of this application will be described in conjunction with the exemplary application and implementation of the terminal provided in the embodiments of this application.
[0100] See Figure 3A , Figure 3A This is a first flowchart illustrating the page interaction processing method provided in this application embodiment. Taking a terminal as the execution subject as an example, it will be combined with... Figure 3A The steps shown are explained.
[0101] In step 101, an interactive page is displayed, wherein the interactive page includes at least one piece of information and a set of interactive controls for each piece of information.
[0102] In some embodiments, the type of information may be at least one of video, music, image, and article. The set of interactive controls includes two or more interactive controls. When there are multiple pieces of information, the information on the interactive page can be sorted in descending order based on either the amount of interaction (from highest to lowest) or the publication time (from most recent to oldest).
[0103] In some embodiments, when performing step 101, the following processing may also be performed: in response to the triggering operation of multiple interactive controls in the set of interactive controls that trigger the first information respectively, an interactive notification is sent to the account that published the first information, wherein the interactive notification is used to display on the terminal associated with the account to remind that multiple interactive controls in the set of interactive controls of the first information have been triggered.
[0104] In some embodiments, an interactive notification may be sent to the account that published the first information when the time interval between triggering operations on multiple interactive controls is less than a time interval threshold.
[0105] For example, if multiple interactive controls are a like control and a favorite control, the time interval threshold is 5 seconds. If the time interval between triggering the like control and triggering the favorite control is 3 seconds, then an interactive notification "Your content has received likes and favorites" will be sent to the device logged in by the account that posted the first message.
[0106] Here, the time interval threshold can be set by the user or by the backend server (such as server 200 mentioned above). The backend server can set the time threshold by performing the following process: calculating the average time interval between previous user triggers of interactive controls, and taking a certain percentage (such as 50%) as the time interval threshold.
[0107] In this embodiment, in response to triggering operations of multiple interactive controls in a set of interactive controls that trigger the first information, an interactive notification is sent to the account that published the first information. The notification can respond appropriately to interactions of varying emotional intensities, allowing the publisher of the first information to intuitively see which accounts are providing multiple responses to their published information. When multiple interactive controls express positive emotions, it enhances the publisher's creative motivation. Furthermore, using a single interactive notification to reflect consecutive triggers of multiple interactive controls saves communication and server processing resources compared to sending an interactive notification for each trigger of a single interactive control.
[0108] In some embodiments, when the time interval between triggering operations for multiple interactive controls is greater than a time interval threshold, in response to the triggering operation for each control, an interactive notification corresponding to each interactive control is sent to the account that published the first information.
[0109] In some embodiments, the interactive page is displayed on a first terminal and logged in with a first account. When performing step 101, the following processing may also be performed: in response to a first trigger operation of at least one first interactive control in the set of interactive controls for the first information, if a second trigger operation of at least one second interactive control in the set of interactive controls for the first information has been received on the interactive page of the second terminal based on the login of the first account before the first trigger operation, the first virtual resource is displayed.
[0110] In some embodiments, the time interval between a first trigger operation for at least one first interactive control and a second trigger operation for at least one second interactive control is less than a time interval threshold. If there are multiple first and second interactive controls, a first virtual resource is displayed if the time interval between a trigger operation for the first second interactive control and a trigger operation for the last first interactive control is less than a time interval threshold.
[0111] For example, at least one first interactive control includes first interactive control A and first interactive control B. The first trigger operation for at least one first interactive control is to trigger first interactive control A first, then trigger first interactive control B, that is, first interactive control B is the last first interactive control. At least one second interactive control includes second interactive control C and second interactive control D. The second trigger operation for at least one second interactive control is to trigger second interactive control C first, then trigger second interactive control D, that is, second interactive control C is the first second interactive control. If the time interval threshold is 5 seconds, the trigger operation time for second interactive control C is 10:03, the trigger operation time for second interactive control D is 10:04, the trigger operation time for first interactive control A is 10:05, and the trigger operation time for first interactive control B is 10:06, then the time interval between the trigger operation for the first second interactive control and the trigger operation for the last first interactive control, that is, the time interval between the trigger operation for second interactive control C and the trigger operation for first interactive control B, is 3 seconds, which is less than the time interval threshold, and the first virtual resource is displayed.
[0112] This application embodiment displays a first virtual resource by interactively operating on the same information on different terminals within a time interval threshold. The user's interaction between different terminals can be synchronized in real time, providing a seamless user experience and ensuring the continuity of interactive operations. This allows the user's interactive data to be integrated across different terminals, which helps to more accurately capture object characteristics and thus provide more precise content recommendations.
[0113] See also Figure 3A In step 102, in response to the triggering operations of multiple interactive controls in the set of interactive controls for the first information, if the multiple interactive controls all express a preset type of emotion, and the time interval between the triggering operations of the multiple interactive controls is less than the time interval threshold, the first virtual resource is displayed.
[0114] For example, the triggering method for triggering operations on multiple interactive controls in the set of interactive controls for the first information can be simultaneous or sequential. Preset emotion types include positive and negative emotions. The first virtual resource can be at least one of text, video (e.g., animation), image, and audio.
[0115] In some embodiments, if the time interval between triggering operations for multiple interactive controls is greater than a time interval threshold, then the second virtual resource associated with each interactive control is displayed.
[0116] For example, if the time interval between triggering operations for multiple interactive controls is greater than the time interval threshold, the system can identify whether the user's interactive operations on the information are continuous or intermittent by using the time interval between different triggering operations and the time interval threshold, thereby providing comprehensive feedback for different situations.
[0117] In some embodiments, the first virtual resource is an upgraded version of the second virtual resource, which is a virtual resource displayed when multiple interactive controls are triggered individually.
[0118] As an example, the upgrade method of the first virtual resource relative to the second virtual resource includes at least one of the following: the number of interactive elements included in the first virtual resource is greater than the number of interactive elements included in the second virtual resource; the display duration of the first virtual resource is greater than the display duration of the second virtual resource; the intensity of the emotion expressed by the first virtual resource of a preset type is greater than the intensity of the emotion expressed by the second virtual resource of a preset type; the area of the display area of the first virtual resource is greater than the area of the display area of the second virtual resource.
[0119] In some embodiments, different second virtual resources may be displayed when different interactive controls are triggered individually, or the same second virtual resource may be displayed.
[0120] For example, when interactive control A is triggered, fireworks are displayed. When interactive control B is triggered, fireworks or other virtual resources, such as flowers, can be displayed.
[0121] In some embodiments, the first virtual resource may not be an explicit upgrade relative to the second virtual resource; that is, the first virtual resource may simply be a virtual resource different from the second virtual resource.
[0122] For example, the first virtual resource contains more interactive elements than the second virtual resource, and the display duration of the first virtual resource is shorter than that of the second virtual resource.
[0123] In this embodiment, the first virtual resource that is continuously triggered to display multiple interactive controls is different from the second virtual resource that is triggered individually to display each interactive control. Different feedback is given for different triggering operations, which enhances the diversity and applicability of the virtual resource.
[0124] In some embodiments, the first virtual resource includes more interactive elements expressing a preset type of emotion than the second virtual resource includes. Interactive elements can be at least one of images and animations.
[0125] For example, if the preset emotion type is positive emotion, the first virtual resource includes 5 interactive elements expressing positive emotion, and the second virtual resource includes 3 interactive elements. In this case, the first virtual resource includes more interactive elements expressing the preset emotion type than the second virtual resource, so the first virtual resource is an upgraded version of the second virtual resource.
[0126] This application's embodiments display different virtual resources from different angles, enhancing the fun of user interaction with information and the diversity of virtual resources. At the user perception level, the continuous triggering of multiple interactive controls provides stronger feedback than the individual triggering of each interactive control, enabling users to more intuitively and accurately feel the feedback of interactive operations performed on the first information within a short time interval.
[0127] In some embodiments, the intensity of the emotion expressed by the first virtual resource of a preset type can be predicted by a pre-trained machine learning model.
[0128] For example, the machine learning model can be various neural network models, such as Convolutional Neural Networks (CNN), Bidirectional Encoder Representations from Transformers (BERT), a sentiment analysis tool based on the bag-of-words model (Valence Aware Dictionary and sEntiment Reasoner, VADER), and Random Forest (RF). The machine learning model can be trained by performing the following processes: generating a machine learning model with randomly initialized parameters; obtaining virtual resource samples and true intensity labels, where the true intensity labels represent the true sentiment intensity labeled by the virtual resource samples; calling the initialized machine learning model based on the virtual resource samples to obtain predicted intensity labels; determining the intensity loss value based on the true intensity labels and predicted intensity labels; updating the parameters of the initialized machine learning model based on the intensity loss value to obtain a pre-trained machine learning model.
[0129] For example, see Figure 4 , Figure 4 This is a schematic diagram illustrating the training principle of the machine learning model provided in the embodiments of this application. Figure 4In this process, based on virtual resource samples, the convolutional and fully connected layers of the initialized machine learning model can be invoked to obtain predicted intensity labels. The intensity loss value between the true intensity label and the predicted intensity label is calculated using a loss function. The intensity loss value is then backpropagated to update the parameters of the initialized machine learning model. This process of calculating the intensity loss value and updating the parameters is repeated multiple times until the intensity loss value no longer increases or decreases, at which point the iteration process stops, forming a pre-trained machine learning model.
[0130] For example, initializing the representation involves randomly assigning values to the parameters of a machine learning model, such as assigning all parameters to 0 or all to 1. A numerical range can be used to represent emotional intensity, for example, [0, 10], where 0 represents the lowest emotional intensity and 10 represents the highest. Backpropagation is implemented using the backpropagation algorithm, calculating the gradient of each neuron from the output layer to the input layer, and updating the neuron's weights and biases based on the gradients. Gradient descent is used to continuously update the parameters, reducing the loss value. Various gradient descent algorithms can be used, such as batch gradient descent, stochastic gradient descent, adaptive gradient descent, and momentum gradient descent. The loss function can be the mean squared error loss function, cross-entropy loss function, multi-label classification loss function, or triplet loss function.
[0131] Through training, the model in this application can learn complex patterns of sentiment expression in virtual resources, thereby improving the accuracy of sentiment intensity prediction. The model can automatically process a large number of virtual resource samples, quickly predicting sentiment intensity and reducing the need for manual annotation and evaluation. The model can be customized according to specific application scenarios and user groups to provide sentiment intensity predictions that better meet user needs.
[0132] In some embodiments, the upgrade magnitude of the first virtual resource relative to the second virtual resource is negatively correlated with the time interval between the trigger operations for the multiple interactive controls, where the time interval between the trigger operations for the multiple interactive controls is the difference between the time of the trigger operation for the first interactive control and the time of the trigger operation for the last interactive control.
[0133] For example, multiple interactive controls include a like control, a comment control, and a share control. Assume the first triggered interactive control is the like control, and the last triggered interactive control is the share control. If the trigger time for the like control is 15:28:45 and the trigger time for the share control is 15:28:48, then the difference between the trigger times for the first and last interactive controls is 3 seconds, meaning the time interval is 3 seconds. If the trigger time for the like control is 15:28:45 and the trigger time for the share control is 15:28:55, then the difference between the trigger times for the first and last interactive controls is 10 seconds, meaning the time interval is 10 seconds. Therefore, with a time interval of 3 seconds, the upgrade magnitude of the first resource relative to the second virtual resource is greater than with a time interval of 10 seconds.
[0134] In some embodiments, the upgrade range of the first virtual resource relative to the second virtual resource includes at least one of the following: the difference between the number of interactive elements included in the first virtual resource and the number of interactive elements included in the second virtual resource, the difference between the display duration of the first virtual resource and the display duration of the second virtual resource, the difference between the intensity of the first virtual resource expressing a preset type of emotion and the intensity of the second virtual resource expressing a preset type of emotion, and the difference between the area of the display area of the first virtual resource and the area of the display area of the second virtual resource.
[0135] In some embodiments, the intensity of the emotions expressed by the multiple interactive controls of a preset type varies, and the upgrade magnitude of the first virtual resource relative to the second virtual resource is positively correlated with the sum of the intensity of the emotions expressed by the multiple interactive controls of the preset type.
[0136] This application embodiment personalizes virtual resources based on different emotional intensities, providing targeted feedback to different users expressing varying degrees of emotion, thereby enhancing the personalized experience. The extent of the virtual resource upgrade is positively correlated with the intensity of emotions expressed by multiple interactive controls triggered by the user, accurately reflecting the user's emotional expression towards the initial information and providing feedback based on different emotional intensities.
[0137] In some embodiments, different combinations of interactive controls correspond to different first virtual resources. The first virtual resource corresponding to each combination of interactive controls can be configured by the publisher of the first information or uniformly configured by the server.
[0138] In some embodiments, the upgrade extent of the first virtual resource relative to the second virtual resource is positively correlated with the operation parameters of the triggering operation for multiple interactive controls, and the operation parameters include at least one of the following: the number of times the triggering operation is triggered, and the operation duration of the triggering operation.
[0139] In some embodiments, if the operation parameter is the number of times the trigger operation is triggered, the number of times each interactive control is triggered is determined, and the sum of the number of times each interactive control is triggered is determined as the total number of times multiple interactive controls are triggered. The total number of times multiple interactive controls are triggered is positively correlated with the upgrade magnitude of the first virtual resource relative to the second virtual resource.
[0140] In some embodiments, if the operation parameter is the operation duration of the triggering operation, the duration of each interactive control being triggered is determined, and the sum of the durations of each interactive control being triggered is determined as the total duration of the multiple interactive controls being triggered. The total duration of the multiple interactive controls being triggered is positively correlated with the upgrade magnitude of the first virtual resource relative to the second virtual resource.
[0141] This application embodiment determines the upgrade range of the first virtual resource relative to the second virtual resource by the number of triggers or the duration of the trigger operation. The more triggers or the longer the operation duration, the greater the upgrade range of the first virtual resource relative to the second virtual resource. The upgrade range is dynamically adjusted according to the acquired data so as to allocate resources according to the upgrade range, improve resource utilization efficiency, and reduce resource waste.
[0142] In some embodiments, see Figure 3B , Figure 3B This is a second flowchart illustrating the page interaction processing method provided in the embodiments of this application. Figure 3A Step 102, "If multiple interactive controls express a preset type of emotion, and the time interval between the triggering operations of the multiple interactive controls is less than the time interval threshold, display the first virtual resource," can be achieved through... Figure 3B Steps 1021A to 1022A are implemented, and the details are explained below.
[0143] In step 1021A, if at least one of the multiple interactive controls is triggered repeatedly, the other triggering operations after the first triggering operation of the same interactive control will be deduplicated.
[0144] For example, consider multiple interactive controls, including a like control and a share control. If the like control is triggered three times, only the first trigger operation for the like control is retained, and the second and third trigger operations for the like control are cleared. If the share control is triggered twice, only the first trigger operation for the share control is retained, and the second trigger operation for the share control is cleared.
[0145] In step 1022A, if the first trigger operation for each interactive control expresses a preset type of emotion, and the time interval between the first trigger operations for multiple interactive controls is less than a time interval threshold, the first virtual resource is displayed.
[0146] In some embodiments, if the first triggering operation for multiple interactive controls is triggered sequentially, the triggering time periods other than the last triggering operation in the first triggering operation for multiple interactive controls are summed to obtain the time interval of the first triggering operation for multiple interactive controls.
[0147] In some embodiments, if the triggering time periods of the first triggering operation for multiple interactive controls overlap or coincide, the time difference between the time point of the first triggering operation and the time point of the last triggering operation in the first triggering operation for multiple interactive controls is determined as the time interval for the first triggering operation for multiple interactive controls.
[0148] For example, if the first trigger operation in the first trigger operation of multiple interactive controls is the first trigger operation of interactive control A, and the time point of the first trigger operation of interactive control A is 9:52, and the last trigger operation in the first trigger operation of multiple interactive controls is the first trigger operation of interactive control D, and the time point of the first trigger operation of interactive control D is 9:58, the time difference between the time point of the first trigger operation of interactive control A and the time point of the first trigger operation of interactive control D is 6 seconds, and 6 seconds is used as the time interval for the first trigger operation of multiple interactive controls.
[0149] This application embodiment deduplicates trigger operations for the same interactive control to facilitate the counting of the number of users who trigger each interactive control, avoids the same user being counted multiple times, and ensures the accuracy of the first information data statistics.
[0150] In some embodiments, Figure 3A Step 102, “Display the first virtual resource”, can be achieved by performing the following process: displaying the first virtual resource that expresses a preset type of emotion, wherein the preset type of emotion is a positive emotion or a negative emotion.
[0151] In some embodiments, if the emotion types expressed by multiple interactive controls are different, the first virtual resource corresponding to the emotion type expressed by the last triggered interactive control is displayed.
[0152] For example, the first interactive control expresses a positive emotion, and the second interactive control expresses a negative emotion. In response to a triggering action first targeting the first interactive control and then targeting the second interactive control, the first virtual resource corresponding to the emotion expressed by the second interactive control is displayed, that is, the first virtual resource expressing a negative emotion is displayed.
[0153] In some embodiments, see Figure 3C , Figure 3C This is a schematic diagram of the third process of the page interaction processing method provided in the embodiments of this application. Figure 3A Step 102, "Display the first virtual resource," can be done through... Figure 3C Steps 1021B to 1024B are implemented, and the details are explained below.
[0154] In step 1021B, multiple sample triggering operations are determined, wherein the multiple sample triggering operations include a triggering operation and multiple triggering operations traced back from the triggering operation.
[0155] In some embodiments, the plurality of triggering operations traced back from the triggering operation can be any of the following: a preset number of triggering operations traced back from the moment of the triggering operation, or triggering operations within a preset duration traced back from the moment of the triggering operation.
[0156] For example, if there are ten triggering operations before the triggering operation, and the preset number is 5, then five triggering operations will be traced back before the triggering operation to serve as sample triggering operations; if there are multiple triggering operations within one hour before the triggering operation, and the preset duration is 10 minutes, then triggering operations within 10 minutes before the triggering operation will be traced back to serve as sample triggering operations.
[0157] In step 1022B, the number of times the emotion type expressed by the sample trigger operation is counted to obtain the number of times different types of emotions are expressed.
[0158] For example, if the sample triggering operation includes 5 triggering operations, and the types of emotions expressed by the 5 triggering operations are positive emotions, positive emotions, negative emotions, positive emotions, and positive emotions in sequence, the number of times each type of emotion expressed by the 5 triggering operations is counted, where the number of times positive emotions are expressed is 4 and the number of times negative emotions are expressed is 1.
[0159] In step 1023B, the emotion type of the overall emotion expressed by multiple sample trigger operations is determined based on the number of times different types of emotions are expressed.
[0160] In some embodiments, the sentiment type that is expressed more frequently is used as the sentiment type of the overall sentiment expressed by multiple sample-triggered operations.
[0161] Following the example of step 1022B above, if the number of times positive emotions are expressed (e.g., 4 times) is greater than the number of times negative emotions are expressed (e.g., 1 time), then positive emotions are used as the emotion type of the overall emotion expressed by multiple sample trigger operations.
[0162] In step 1024B, a first virtual resource corresponding to the emotion type expressed in the whole is displayed.
[0163] In some embodiments, the proportion of the number of times the emotion type of the overall emotion expressed can be determined in the total number of sample-triggered operations, and the proportion is proportional to the significance of the first virtual resource.
[0164] Following the example of step 1023B above, if the overall emotion expressed by multiple sample triggering operations is positive emotion, the total number of sample triggering operations is 5, the number of positive emotion expressions is 4, and the proportion of positive emotion expressions in the total number of sample triggering operations is 4 / 5, then the first virtual resource corresponding to the proportion of positive emotion expressions in the total number of sample triggering operations is displayed.
[0165] In this embodiment, the overall emotional type is determined based on the number of times different types of emotions are expressed by multiple sample trigger operations, and a first virtual resource corresponding to the emotional type is displayed to reflect the user's overall emotional response to the first information, thereby improving the matching degree between the first virtual resource and the user's emotional expression to the first information.
[0166] For an example of steps 101 to 102, see Figure 5A , Figure 5A This is a first application illustration of the interactive processing of a page provided in this application embodiment. Figure 5A The left-hand image shows an interactive page 210, which includes at least one piece of information, such as information 211, information 212, information 213, and information 214. If information 211 is taken as the first piece of information, in response to a triggering operation on information 211, Figure 5A In the intermediate image, information 211 is displayed, which contains a set of interactive controls. This set includes multiple interactive controls, such as interactive control 215 (for liking the first message), interactive control 216 (for forwarding the first message), interactive control 217 (for saving the first message), and interactive control 218 (for commenting on the first message). In response to triggering operations on interactive controls 215 and 217 respectively, if both interactive controls 215 and 217 express positive emotions, and the time interval between the triggering operations on interactive controls 215 and 217 is less than a time interval threshold, then... Figure 5AThe right-hand image shows a first virtual resource 219, which is a combination of the image of interactive control 215 and the image of interactive control 217.
[0167] As an example of "sending an interactive notification to the account that published the first information in response to the triggering operations of multiple interactive controls in the set of interactive controls that trigger the first information" during step 101, see [link to example]. Figure 5B , Figure 5B This is a second application illustration of the interactive processing of a page provided in this application embodiment. Figure 5B In the left-hand image, the first piece of information, such as information 211, is displayed on interactive page 210. Information 211 displays a set of interactive controls, including multiple interactive controls such as interactive control 215, interactive control 216, interactive control 217, and interactive control 218. In response to trigger operations on interactive controls 215 and 217 respectively, an interactive notification is sent to the account that published information 211. Figure 5B In the right-hand image, the personal center page 220 of the account that published information 211 is displayed on the terminal where the account that published information 211 is located, and the interactive notification 221 is displayed on the personal center page 220.
[0168] As an example of "in response to a first trigger operation of at least one first interactive control in the set of interactive controls for the first information, if a second trigger operation of at least one second interactive control in the set of interactive controls for the first information has been received on the interactive page of the second terminal based on the first account login before the first trigger operation, the first virtual resource is displayed" during the execution of step 101, see [link to example]. Figure 5C , Figure 5C This is a third application illustration of the interactive processing of a page provided in this application embodiment. Figure 5C In the left-hand image, on the interactive page 222 of the second terminal based on the first account login, first information, such as information 211, is displayed in response to a trigger operation on the interactive control 217. Figure 5C In the intermediate diagram, on the interactive page 210 of the first terminal based on the first account login, information 211 and the triggered interactive control 217 are displayed. In response to a trigger operation on the interactive control 215, if the time interval between the first trigger operation on the first interactive control (interactive control 217) and the second trigger operation on the second interactive control (interactive control 215) is less than a time interval threshold, in... Figure 5C The right-hand image shows the first virtual resource 219.
[0169] As an example where the first virtual resource is an upgraded version of the second virtual resource, see [link to relevant documentation]. Figure 5D , Figure 5DThis is a schematic diagram illustrating the virtual resource upgrade provided in an embodiment of this application. Figure 5D The left-hand image shows the first virtual resource 219. Figure 5D The right-hand image shows the second virtual resource 223. The first virtual resource includes two interactive elements, while the second virtual resource includes one interactive element. The first virtual resource includes more interactive elements than the second virtual resource, and the display area of the first virtual resource is larger than the display area of the second virtual resource.
[0170] In some embodiments, in response to a preset type of emotion being a positive emotion, if there are multiple pieces of information, the order of the first piece of information in the at least one piece of information is increased; in response to a preset type of emotion being a negative emotion, if there are multiple pieces of information, the order of the first piece of information in the at least one piece of information is decreased, or the first piece of information is deleted.
[0171] In some embodiments, in response to a preset type of emotion being a positive emotion, when there are multiple messages, the numerical value of increasing the order of the first message in the at least one message is positively correlated with the number of interactive controls expressing positive emotions being triggered; in response to a preset type of emotion being a negative emotion, when there are multiple messages, the numerical value of decreasing the order of the first message in the at least one message is positively correlated with the number of interactive controls expressing negative emotions being triggered.
[0172] As an example of "responding to a presupposed type of negative emotion, when there are multiple pieces of information, the order of the first piece of information among the at least one piece of information is reduced," see [link to example]. Figure 5E , Figure 5E This is a schematic diagram illustrating the reduction of the order of the first information provided in an embodiment of this application. Figure 5E In the left-hand diagram, interactive page 210 includes at least one piece of information, such as information 211, information 212, information 213, and information 214. If information 211 is taken as the first piece of information, the order of information 211 in the at least one piece of information is 1. The emotion responded to by the preset type is negative emotion. When the number of at least one piece of information is multiple, in Figure 5E In the right-hand diagram, the order of information 211 in at least one piece of information is reduced, and the order of information 211 in at least one piece of information is updated to 4.
[0173] In some embodiments, see Figure 3D , Figure 3D This is a schematic diagram of the fourth process of the page interaction processing method provided in this application embodiment. Before step 102, the following steps are executed: Figure 3D Steps 201 to 202 are explained in detail below.
[0174] In step 201, multiple materials are extracted from the first information, and target materials for expressing a preset type of emotion are selected from the multiple materials. The materials include at least one of text and images.
[0175] In some embodiments, combinations of different interactive controls are associated with materials of different emotional types. This association can be set by the publisher of the first information or by the server.
[0176] In some embodiments, target materials for expressing a preset type of emotion can be selected from multiple materials based on a pre-trained material classification model.
[0177] In some embodiments, the material classification model is trained by performing the following processes: obtaining an initialized material classification model; obtaining material samples and true sentiment type labels, wherein the true sentiment type labels include positive sentiment and negative sentiment; invoking the initialized material classification model based on the material samples to obtain predicted sentiment type labels; determining a sentiment type loss value based on the true sentiment type labels and the predicted sentiment type labels; and updating the parameters of the initialized material classification model based on the sentiment type loss value to obtain a pre-trained material classification model.
[0178] For example, see Figure 6 , Figure 6 This is a schematic diagram illustrating the training principle of the material classification model provided in this application embodiment. Figure 6 In this process, based on sample materials, the convolutional and fully connected layers of the initialized material classification model can be called to obtain predicted sentiment type labels. The sentiment type loss value between the true sentiment type label and the predicted sentiment type label is calculated using a loss function. The sentiment type loss value is backpropagated to update the parameters of the initialized material classification model. This process of calculating the sentiment type loss value and updating the parameters is repeated multiple times until the sentiment type loss value no longer increases or decreases, at which point the iteration process stops, forming a pre-trained material classification model.
[0179] For example, initializing the representation involves randomly assigning values to the parameters of the material classification model, such as setting all parameters to 0 or all to 1. Backpropagation is implemented using the backpropagation algorithm, calculating the gradient of each neuron from the output layer to the input layer, and updating the neuron's weights and biases based on the gradients. Gradient descent is used to continuously update the parameters, reducing the loss value. Various gradient descent algorithms can be used, such as batch gradient descent, stochastic gradient descent, adaptive gradient descent, and momentum gradient descent. The loss function can be the mean squared error loss function, cross-entropy loss function, multi-label classification loss function, or triplet loss function.
[0180] In step 202, a first virtual resource is generated based on the target material.
[0181] In some embodiments, a pre-trained resource generation model is invoked based on the target material to generate virtual resources, wherein the resource generation model may be an image generation model, a video generation model, an audio generation model, or a text generation model.
[0182] In some embodiments, an initialized resource generation model is obtained, which includes a generator and a discriminator; sample data pairs are obtained, which include input conditions and corresponding output materials; the generator is trained by performing the following processes: randomly generating noise vectors as input to the generator, generating materials according to the input conditions, calculating the generator loss based on preset materials, and updating the generator weights using gradient descent; the discriminator is trained by performing the following processes: using real materials and materials generated by the generator as input to the discriminator, calculating the discriminator loss based on real materials and materials generated by the generator, and updating the discriminator weights using gradient descent; based on the updated generator and discriminator, a pre-trained resource generation model is obtained.
[0183] In some embodiments, steps 201 to 202 can be implemented by a terminal (e.g., terminal 400-1 as described above), or the terminal can send a request to a server (e.g., server 200 as described above) to enable the server to implement steps 201 to 202 and return the generated virtual resources to the terminal.
[0184] For an example of steps 201 to 202, see Figure 5F , Figure 5F This is a first schematic diagram illustrating the generation of virtual materials provided in an embodiment of this application. Figure 5F In the left-hand image, multiple materials, such as material 224, material 225, and material 226, are extracted from the first information 211. A target material, such as material 224, is selected from these materials to express a preset type of emotion. In response to the selection operation on material 224, in... Figure 5F In the right-hand image, the first virtual resource 227 is generated based on material 224.
[0185] This application embodiment extracts multiple materials from the first information and selects target materials from the multiple materials to express a preset type of emotion in order to generate a first virtual resource. This ensures the correlation between the first virtual resource and the first information, and also ensures that the first virtual resource and the multiple interactive controls that are triggered express the same type of emotion, thereby improving the accuracy of the user's emotional response.
[0186] In some embodiments, see Figure 3E , Figure 3EThis is a schematic diagram of the fifth process of the page interaction processing method provided in this application embodiment. Before step 102, the following steps are executed: Figure 3E Steps 301 to 304 are explained in detail below.
[0187] In step 301, a resource editing interface is displayed, which includes multiple candidate materials. Each candidate material includes at least the icons of multiple interactive controls, and the candidate materials are used to express a preset type of emotion.
[0188] In some embodiments, candidate materials include at least one of the following: audio, video, images, and text.
[0189] In step 302, in response to the selection operation for multiple candidate materials, the selected candidate material is highlighted as the target material.
[0190] In some embodiments, the highlighting method includes at least one of the following: highlighting, flashing, magnification, displaying an aperture within a preset distance, thickening the edge, and a specific background.
[0191] In step 303, in response to the editing operation on the target material, the attributes of the target material are updated.
[0192] In some embodiments, the attributes of the target material include at least one of the following: position, size, color, transparency, edge color, and edge thickness.
[0193] In step 304, in response to the compositing operation for the updated target material, a first virtual resource is generated based on the updated target material.
[0194] For examples of steps 301 to 304, see Figure 5G , Figure 5G This is a second schematic diagram illustrating the generation of virtual materials provided in an embodiment of this application. Figure 5G The left-hand image shows a resource editing interface 228, which includes multiple candidate materials, such as candidate material 229, candidate material 230, candidate material 231, and candidate material 232. Each candidate material includes at least one icon for an interactive control; for example, candidate material 229 includes the icon for interactive control 215, candidate material 230 includes the icon for interactive control 216, candidate material 231 includes the icon for interactive control 217, and candidate material 232 includes the icon for interactive control 218. These candidate materials are used to express a preset type of emotion. In response to a selection operation on multiple candidate materials, the selected candidate material, such as candidate material 229 and candidate material 231, is highlighted as the target material. In response to an editing operation on the target material, such as zooming in on candidate material 229 and candidate material 231, the selected candidate material is highlighted. Figure 5GIn the intermediate image, the properties of the target asset are updated in response to the compositing operation on the updated target asset. Figure 5G In the right-hand image, a first virtual resource 219 is generated based on the updated target material, and the first virtual resource 219 is displayed.
[0195] In some embodiments, in response to a compositing operation for an updated target material, a first virtual resource is generated by invoking the pre-trained resource generation model described above based on the updated target material.
[0196] In some embodiments, the icons of triggered interactive controls can be automatically composited to form a first virtual resource. Other materials can also be added to the icons of triggered interactive controls to form the first virtual resource.
[0197] In some embodiments, the corresponding first virtual resource can be edited according to the number of triggered interactive controls or the different value ranges of the operation parameters for triggering operations on multiple interactive controls. The number of triggered interactive controls is positively correlated with the significance of the first virtual resource, that is, the larger the average value of the number of triggered interactive controls in the value range, the more significant the first virtual resource. The operation parameters for triggering operations on multiple interactive controls are also positively correlated with the significance of the first virtual resource, that is, the larger the average value of the operation parameters for triggering operations on multiple interactive controls in the value range, the more significant the first virtual resource.
[0198] For example, different numbers of triggered interactive controls correspond to different first virtual resources. This correspondence can be pre-set by the publisher of the first information or by the server. The range of values for the number of triggered interactive controls and the correspondence between different control values and virtual resources can be set. For example, 0-5 controls correspond to first virtual resource A, and 6-10 controls correspond to first virtual resource B.
[0199] For example, the operation parameters for triggering multiple interactive controls include the number of times the trigger operation is performed and the operation duration. When the trigger parameter is the number of times the trigger operation is performed, the total number of times the multiple interactive controls are triggered is determined based on the number of times each interactive control is triggered. Different total number of times values are set, and different first virtual resources are corresponding to different total number of times. For example, a total number of times of 0-5 corresponds to first virtual resource A, and a total number of times of 6-10 corresponds to first virtual resource B. When the trigger parameter is the operation duration, the total operation duration of the multiple interactive controls is determined based on the operation duration of each interactive control. Different total operation duration values are set, and different first resources are corresponding to different total operation duration values. For example, a total operation duration of 0-5 seconds corresponds to first virtual resource A, and a total operation duration of 6-10 seconds corresponds to first virtual resource B.
[0200] This application embodiment improves the correlation between the first virtual resource and the interactive controls by selecting icons of multiple interactive controls, combining and editing them into a first virtual resource, and provides corresponding feedback on the number of triggered interactive controls and the operation parameters of the triggering operation for multiple interactive controls, thereby enhancing the scalability and diversity of the first virtual resource.
[0201] In some embodiments, see Figure 3F , Figure 3F This is a schematic diagram of the sixth flow of the page interaction processing method provided in the embodiments of this application. Before step 102, the following steps are executed: Figure 3F Steps 401 to 402 are explained in detail below.
[0202] In step 401, the subject characteristics and publishing object characteristics of the first information are obtained.
[0203] In some embodiments, the topic features of the first information are a series of attributes describing the core concepts or characteristics of the content of the first information. For example, they may include at least one of the following: dance, music, food, sports, lifestyle, finance, news, and games. The topic features of the first information can be obtained through a pre-trained topic classification model. The publishing target features refer to the characteristics of the publisher of the first information, such as the publisher's attributes and preferences. The publisher's attributes may include at least one of the following: age, region, interactive behavior, areas of interest, and cultural background.
[0204] In some embodiments, the topic classification model is trained by performing the following processes: obtaining an initialized topic classification model; obtaining information samples and real topic labels, wherein the real topic labels represent the real topic features of the first information; invoking the initialized topic classification model based on the information samples to obtain predicted topic labels; obtaining topic loss values based on the real topic labels and predicted topic labels; and updating the parameters of the initialized topic classification model based on the topic loss values to obtain a pre-trained topic classification model.
[0205] For example, based on information samples, the convolutional and fully connected layers of the initialized topic classification model can be called to obtain predicted topic labels. The topic loss value between the true topic labels and the predicted topic labels is calculated using a loss function. The topic loss value is backpropagated to update the parameters of the initialized topic classification model. This process of calculating the topic loss value and updating the parameters is repeated multiple times until the topic loss value no longer increases or decreases. The iteration process is then stopped, forming a pre-trained topic classification model.
[0206] For example, initializing the representation involves randomly assigning values to the parameters of a topic classification model, such as setting all parameters to 0 or all to 1. Backpropagation is implemented using the backpropagation algorithm, calculating the gradient of each neuron from the output layer to the input layer, and updating the neuron's weights and biases based on the gradients. Gradient descent is used to continuously update the parameters, reducing the loss value. Various gradient descent algorithms can be used, such as batch gradient descent, stochastic gradient descent, adaptive gradient descent, and momentum gradient descent. The loss function can be the mean squared error loss function, cross-entropy loss function, multi-label classification loss function, or triplet loss function.
[0207] In step 402, based on topic features and publishing object features, a first virtual resource is generated that conforms to the publishing object's preference conditions and the first information.
[0208] For example, the topic of the first message is dance, and the characteristics of the publishing object include the publisher's preferences. If the publishing object's preference is red, then the first virtual resource can be a virtual object composed of red lines that are dancing.
[0209] In some embodiments, a pre-trained virtual resource generation model can be invoked based on topic features and publishing object features to generate a first virtual resource that conforms to the preferences of the publishing object and the first information.
[0210] In some embodiments, the virtual resource generation model can be trained by performing the following processes: obtaining an initialized virtual resource generation model; obtaining training samples and real labels, wherein the training samples include data pairs consisting of features (topic features and publishing object features) and virtual resources, and the real labels characterize whether the virtual resources meet the preferences of the publishing object and the topic of the first information; invoking the initialized virtual resource generation model based on the training samples to obtain predicted labels; determining a loss value based on the real labels and predicted labels, and updating the parameters of the initialized virtual resource generation model based on the loss value to obtain a pre-trained virtual resource generation model.
[0211] For example, initialization involves randomly assigning values to the parameters of the virtual resource generation model, such as setting all parameters to 0 or all to 1. Backpropagation is implemented using the backpropagation algorithm, calculating the gradient of each neuron from the output layer to the input layer, and updating the neuron's weights and biases based on the gradients. Gradient descent is used to continuously update the parameters, reducing the loss value. Various gradient descent algorithms can be used, such as batch gradient descent, stochastic gradient descent, adaptive gradient descent, and momentum gradient descent. The loss function can be the mean squared error loss function, cross-entropy loss function, multi-label classification loss function, or triplet loss function.
[0212] This application embodiment generates a first virtual resource based on the subject characteristics of the first information and the characteristics of the publishing object of the first information. At the same time, it improves the matching degree between the first virtual resource and the subject of the first information, as well as the matching degree between the first virtual resource and the publishing object of the first information, so that the first virtual resource can reflect the subject of the first information while conforming to the publisher's preferences.
[0213] In some embodiments, see Figure 3G , Figure 3G This is a schematic diagram of the seventh process of the page interaction processing method provided in this application embodiment. Before step 102, the following steps are executed: Figure 3G Steps 501 to 502 are explained in detail below.
[0214] In step 501, a preview control is displayed, which includes multiple candidate virtual resources. These candidate virtual resources are virtual resources pre-set by the second account, and the first account is logged in on the interactive page.
[0215] In some embodiments, the second account can be an account that has interacted with the first account, or it can be any account that can log in to the interaction page. If there are multiple second accounts, the virtual resources can be sorted from the multiple virtual resources pre-defined by the multiple second accounts in descending order of the number of times they have been selected or in ascending order of the generation time of the candidate virtual resources. A preset number or a preset proportion of virtual resources can be selected from the sorting results as multiple candidate virtual resources.
[0216] In step 502, in response to the selection operation for any candidate virtual resource among a plurality of candidate virtual resources, the selected candidate virtual resource is designated as the first virtual resource.
[0217] For examples of steps 501 to 502, see Figure 5H , Figure 5H This is a schematic diagram illustrating the selection of a first virtual resource according to an embodiment of this application. Figure 5H In the left-hand image, a preview control 233 is displayed. This preview control 233 includes multiple candidate virtual resources, such as candidate virtual resource 234 and candidate virtual resource 235. These candidate virtual resources are pre-set virtual resources by a second account, and the interactive page is logged in with a first account. In response to a selection operation on any candidate virtual resource among the multiple candidate virtual resources, such as candidate virtual resource 234, the selected candidate virtual resource is used as the first virtual resource. Figure 5H The right-hand image shows the first virtual resource 219.
[0218] In some embodiments, in response to a selection operation for any one of a plurality of candidate virtual resources, and in response to an editing operation for the selected candidate virtual resource, the edited selected candidate virtual resource is used as a first virtual resource.
[0219] In some embodiments, the corresponding first virtual resource can be selected according to the number of triggered interactive controls or the different value ranges of the operation parameters for triggering multiple interactive controls.
[0220] For example, different numbers of triggered interactive controls correspond to different first virtual resources. This correspondence can be pre-set by the publisher of the first information or by the server. The operation parameters for triggering multiple interactive controls include the number of triggers and the operation duration. When the trigger parameter is the number of triggers, the total number of triggers for all interactive controls is determined based on the number of times each interactive control is triggered. Different total number values are set, and different total number values correspond to different first virtual resources. For example, a total number of 0-5 triggers corresponds to first virtual resource A, and a total number of 6-10 triggers corresponds to first virtual resource B. When the trigger parameter is the operation duration, the total operation duration for all interactive controls is determined based on the operation duration of each interactive control. Different total operation duration values are set, and different total operation duration values correspond to different first virtual resources. For example, a total operation duration of 0-5 seconds corresponds to first virtual resource A, and a total operation duration of 6-10 seconds corresponds to first virtual resource B.
[0221] This application embodiment can select any candidate virtual resource as the first virtual resource from multiple candidate virtual resources set by other accounts, thereby providing users with more choices and improving the selectivity and diversity of virtual resources.
[0222] In some embodiments, when performing step 102, the following processing may also be performed: in response to a refresh operation on the interactive page, requesting at least one new piece of information from the server and displaying at least one new piece of information on the interactive page to replace at least one piece of information.
[0223] In some embodiments, see Figure 3H , Figure 3H This is a schematic diagram of the eighth step of the page interaction processing method provided in this application embodiment. At least one piece of new information is executed by the server. Figure 3H The results obtained in steps 601 to 604 are explained in detail below.
[0224] In step 601, an adjustment coefficient for the information type to which the first information belongs is determined based on at least one of the number of triggers of the multiple interactive controls and the total number of triggers of the multiple interactive controls.
[0225] For example, the information type to which the first piece of information belongs includes music, sports, dance, education, food, travel, medical, or games, etc.
[0226] In some embodiments, the number of triggers of different interactive controls corresponds to different adjustment coefficients for the information type to which the first information belongs, and the total number of triggers of different interactive controls corresponds to different adjustment coefficients for the information type to which the first information belongs. The adjustment coefficient can be a value determined by a function based on the number of triggers of multiple interactive controls and the total number of triggers of multiple interactive controls.
[0227] In some embodiments, see Figure 3I , Figure 3I This is a ninth flowchart illustrating the page interaction processing method provided in the embodiments of this application. Figure 3H Step 601 can be achieved through Figure 3I Steps 6011 to 6012 are implemented, and the details are explained below.
[0228] In step 6011, if the preset emotion type is a positive emotion, the adjustment coefficient of the information type of the first information is set to be greater than a preset value based on at least one of the trigger count of the multiple interactive controls and the total number of triggers of the multiple interactive controls. The adjustment coefficient is positively correlated with at least one of the trigger count of the multiple interactive controls and the total number of triggers of the multiple interactive controls.
[0229] In some embodiments, the number of times multiple interactive controls are triggered and the total number of times multiple interactive controls are triggered can be weighted and summed according to different weights, with an adjustment coefficient positively correlated with the summation. The adjustment coefficient can be a function constructed based on the number of times multiple interactive controls are triggered and the total number of times multiple interactive controls are triggered.
[0230] For example, taking a preset value of 1 as an example, the function relationship can be: adjustment coefficient = 1 + number of triggers * total number of triggers. In this case, the adjustment coefficient is greater than the preset value and is positively correlated with the number of triggers of multiple interactive controls and the total number of triggers of multiple interactive controls.
[0231] In step 6012, when the preset type of emotion is negative emotion, the adjustment coefficient of the information type of the first information is set to be less than a preset value based on at least one of the trigger count of the multiple interactive controls and the total number of triggers of the multiple interactive controls. The adjustment coefficient is negatively correlated with at least one of the trigger count of the multiple interactive controls and the total number of triggers of the multiple interactive controls.
[0232] In some embodiments, the number of triggers of multiple interactive controls and the total number of triggers of the multiple interactive controls can be weighted and summed based on different weights. The adjustment coefficient is negatively correlated with the sum; for example, the adjustment coefficient can be positively correlated with the reciprocal of the sum. The adjustment coefficient can be a value determined by a function constructed based on the number of triggers of the multiple interactive controls and the total number of triggers of the multiple interactive controls.
[0233] For example, taking a preset value of 1 as an example, the product of the number of triggers of multiple interactive controls and the total number of triggers of multiple interactive controls is determined: number of triggers * total number of triggers. The reciprocal of the product is determined and normalized to serve as the adjustment coefficient for the information type of the first information. At this time, the adjustment coefficient is less than the preset value and is negatively correlated with both the number of triggers of multiple interactive controls and the total number of triggers of multiple interactive controls.
[0234] In this embodiment, when multiple interactive controls that are triggered express positive emotions, the adjustment coefficient of the information type of the first information is increased to ensure that information of this type can be displayed preferentially in at least one piece of information on the interactive page, thereby increasing the prominence of information of the type expressing positive emotions; when multiple interactive controls that are triggered express negative emotions, the adjustment coefficient of the information type of the first information is decreased to ensure that information of this type can be placed later in at least one piece of information on the interactive page, thereby reducing the prominence of information of the type expressing negative emotions.
[0235] In some embodiments, the adjustment coefficient of the information type of the first information is applied to the information to be recommended in the information database that belongs to the information type.
[0236] For example, the database includes information of various types, such as music, sports, dance, education, food, travel, medical, or games. If the first piece of information is of type "game," then all recommended information of the game type in the database will be adjusted using the corresponding adjustment factor for that game.
[0237] In step 602, in the descending sorting results of the similarity between the information to be recommended and the first account belonging to the information type, the similarity of the information to be recommended belonging to the information type is updated according to the adjustment coefficient to obtain the updated descending sorting results, wherein the first account is logged in on the interactive page.
[0238] In some embodiments, the information feature vector of the information to be recommended in the information database is determined, the account feature vector of the first account is determined, and the similarity between the information feature vector and the account feature vector is determined.
[0239] For example, the similarity between information feature vectors and account feature vectors can be determined by: cosine similarity, Euclidean distance, Manhattan distance, and Pearson correlation coefficient.
[0240] For example, taking cosine similarity as an example, we determine the vector product of the information feature vector and the account feature vector; we determine the product between the length of the information feature vector and the length of the account feature vector; and we determine the ratio of the vector product to the product, which is used as the similarity.
[0241] For example, if the information feature vector is m and the account feature vector is n, then the vector product is m*n, the length of the information feature vector is |m|, the length of the account feature vector is |n|, the product is |m|*|n|, and the similarity is (m*n) / (|m|*|n|).
[0242] Here, we can determine the product of the adjustment coefficient and the similarity to obtain the updated similarity. Then, we sort the updated similarity in descending order to obtain the updated descending sorted result.
[0243] In step 603, at least one piece of information to be recommended, starting from the first position, is selected from the updated descending sort results as at least one new piece of information.
[0244] In some embodiments, at least one piece of information to be recommended is selected from the updated descending sort results, starting from the first position, in a predetermined quantity or proportion, as at least one new piece of information.
[0245] In this embodiment of the application, when new information is obtained, the similarity between the information to be recommended and the first account is adjusted based on the number of previously triggered interactive controls and the total number of triggers. Then, the information with the highest similarity ranking is selected for recommendation to ensure that the recommendations are made according to the user's emotional tendency towards the information, thereby ensuring the accuracy of the recommended new information and its matching degree with the user.
[0246] The following will describe an exemplary application of the embodiments of this application in the application scenario of video accounts in instant messaging software.
[0247] The embodiments of this application include, but are not limited to, page interaction processing in the scenario of video accounts in instant messaging software. They are also applicable in other scenarios, such as short video APP scenarios, music APP scenarios, or news APP scenarios.
[0248] The related technology responds to triggering operations from any two interactive controls that respectively activate the video (i.e., the message), displaying the corresponding animation effect (i.e., virtual resource) for each triggering operation. These animation effects are independent of each other. When a user clicks two like buttons (i.e., interactive controls) on a video, the feedback may not be strong enough, or even seem monotonous, leading the user to believe that clicking two likes is unnecessary. This design flaw not only reduces the number of likes a video creator receives but also suppresses users' desire to express strong liking for the video.
[0249] For video creators, a decrease in likes means their work (i.e., information) doesn't receive the recognition and encouragement it deserves, which can affect their motivation and enthusiasm for creating content. For users, if they really like a video but lack sufficient feedback, they might refrain from clicking a second like, thus failing to fully express their enjoyment.
[0250] This embodiment of the application can trigger a more intense and dazzling animation effect after both "like" buttons are clicked on a video, enhancing the user's feedback experience. This animation effect can be achieved through richer visual elements and stronger dynamic effects, such as colorful fireworks blooming on the screen, or a shimmering halo appearing around the "like" button. This design not only brings users greater surprise and satisfaction but also stimulates their greater enthusiasm for interaction.
[0251] See Figure 5A ,exist Figure 5A In the intermediate image, information 211 is displayed, responding to trigger operations for interactive controls 215 and 217 respectively. If the time interval between the trigger operations for interactive controls 215 and 217 is less than a time interval threshold, in Figure 5A The right-hand image shows the first virtual resource 219.
[0252] See Figure 7 , Figure 7 This is a schematic diagram illustrating the correspondence between the degree of liking and user actions provided in an embodiment of this application. Figure 7 In the process, if a user dislikes a video, they will quickly swipe away or click "not interested"; if a user is indifferent to a video, they will swipe away; if they generally like a video, they will think it's good and then swipe away; if they like a video, they will give it a thumbs up or a heart; if they like a video a lot, they will give both a thumbs up and a heart; if they really like a video, they will leave a short comment in the video's comment section; if they are moved by a video, they will leave a long comment in the video's comment section.
[0253] Different buttons on the video represent different emotional intensities. For example, a single like has a lower emotional intensity than a double like, a positive comment has a higher emotional intensity than a like, and a positive share also has a higher emotional intensity than a like.
[0254] When a user clicks both "like" and "heart" on a video simultaneously, it indicates a high level of liking for the video. In related technologies, the feedback received when a user clicks two likes sequentially is independent, with each like triggering only a single animation effect. This independent feedback mechanism might make users feel that the animation feedback is somewhat insufficient and cannot fully express their strong liking for the video.
[0255] Therefore, a more impactful animation effect (i.e., a virtual resource) should be designed for users who click "double like" on a video. This animation can be achieved through richer visual elements and more intense dynamic effects. Through enhanced animation feedback, users will not only know that they can click "double like" on a video simultaneously, but also feel the special significance of this action—their extreme appreciation for the video.
[0256] This design not only enhances the user's interactive experience, making them feel more enjoyable and accomplished when liking videos, but also stimulates their enthusiasm for interaction, making them more willing to click "like" twice. This not only helps increase the number of likes received by video creators and boosts their creative motivation, but also allows users to have a better experience during the interaction process and fully express their love for the videos.
[0257] When a user has already clicked the thumbs-up icon to indicate "awesome," and then clicks the heart icon to indicate "touched," the system will trigger a significant animation effect. This animation could include colorful fireworks exploding on the screen, or a shimmering halo appearing around the thumbs-up button, further enhancing the user's visual experience.
[0258] Similarly, when a user clicks the heart icon to indicate they are "touched," and then clicks the thumbs-up icon to indicate they "like it," this upgraded animation effect will also be triggered. In this way, users not only experience stronger feedback but also clearly know that their double-like action has been recognized and acknowledged.
[0259] This design aims to enhance the user's interactive experience through richer visual elements and more dynamic effects. Users will feel more enjoyment and a sense of accomplishment when liking videos, making them more willing to click "like" twice. This not only helps increase the number of likes for video creators, boosting their creative motivation, but also allows users to have a better experience during interaction, fully expressing their love for the videos.
[0260] See Figure 8 , Figure 8 This is a schematic diagram illustrating the video author's receipt of message notifications according to an embodiment of this application. When a user gives an author a "double like" on a video, the author receives a combined notification showing that the user "liked and recommended your video," allowing the author to know which users have given their videos a "double like" when receiving message notifications.
[0261] See Figure 9 , Figure 9 This is a schematic diagram of the overall interactive process provided in the embodiments of this application. Taking a terminal (such as the aforementioned terminal 400) as an example, the process will be combined with... Figure 9The steps shown are explained.
[0262] In step 801, the video content (i.e., the first information) is displayed.
[0263] In some embodiments, the video includes multiple like buttons (i.e., multiple interactive controls) of the like type.
[0264] For example, the types of likes on a video account can be abstracted into two categories: thumbs-up likes and heart likes. Like types can be expanded according to product needs; for example, types like favorites or shares can be added.
[0265] In step 802, in response to the triggering operation of the first like button, the first like type and the first like time are obtained.
[0266] In some embodiments, a new data table is created in the database to record the type of likes a user makes on a video account and the operation timestamp. The first like type can be recorded as ActionType1, and the first like time can be recorded as ActionTimeStamp1.
[0267] In step 803, in response to the triggering operation of the second like button, the second like type and the second like time are obtained.
[0268] In some embodiments, the second like time is later than the first like time. The second like type can be recorded as ActionType2, and the second like time can be recorded as ActionTimeStamp2.
[0269] In step 804, it is determined whether the first like type and the second like type are the same.
[0270] In some embodiments, if the first like type is the same as the second like type (i.e., multiple interactive controls all express the preset type of emotion), that is, ActionType1 = ActionType2, then step 805 is executed; if the first like type is different from the second like type, that is, ActionType1 ≠ ActionType2, then step 806 is executed.
[0271] In some embodiments, likes may be deduplicated before step 804 is performed.
[0272] In step 805, the double like animation is not displayed if the first like type is the same as the second like type, or if the time difference between the second like time and the first like time is greater than the time threshold (i.e., the time interval threshold).
[0273] In some embodiments, only the single-like animation corresponding to the first like type may be displayed.
[0274] In step 806, it is determined whether the time difference between the second like time and the first like time is less than the time threshold (i.e., the time interval threshold).
[0275] In some embodiments, if the time difference between the second like time and the first like time is less than the time threshold, that is, ActionTimeStamp2 - ActionTimeStamp1 < N, where N is the time threshold, then step 807 is executed; if the time difference between the second like time and the first like time is greater than the time threshold, that is, ActionTimeStamp2 - ActionTimeStamp1 > N, then step 805 is executed.
[0276] In some embodiments, the conditions for double likes can be adjusted according to product requirements. At the same time, the time threshold for double likes can also be adjusted according to product requirements, for example, it can be adjusted according to the duration of different videos. In addition to the interval time of double likes, other configurations can also be sent according to product requirements, such as the animation effect of likes or the prompt message for double likes, etc.
[0277] In step 807, in response to the time difference between the second like time and the first like time being less than the time threshold, a double-like animation effect is displayed.
[0278] In some embodiments, when the conditions for double likes are met (that is, the first like type is different from the second like type and the time difference between the second like time and the first like time is less than the time threshold), relevant animation resources are loaded, and a vibration feedback is executed.
[0279] The terminal reports the double-like event to the server (for example, it can be the above-mentioned server 200). The server updates the user portrait and increases the weight of this type of video category in the user's information stream. The weight can be used when calculating the similarity between the user's portrait and the video, or it can be used during recall sorting, so as to recommend better similar content to the user.
[0280] After the double-like is completed, the terminal sends a request to the server to update the video stream below the current video, so that the server can obtain a batch of videos that the user likes more according to the user's double-like behavior this time, and send them to the terminal for display on the terminal.
[0281] Through this enhanced animation feedback, users will feel more fun and a sense of achievement when liking, and thus be more willing to click two likes. This not only helps to increase the number of likes received by video authors and boost their creative motivation, but also enables users to obtain a better experience during the interaction process and fully express their love for the video.
[0282] In this embodiment of the application, if multiple interactive controls triggered in response to the first information all express a preset type of emotion, and the time interval between the triggering operations of the multiple interactive controls is less than a time interval threshold, it indicates that the user has a strong emotion towards the information, which is why they trigger the interactive controls multiple times in a short period of time. In this case, the intensity of this emotion is higher than the emotion expressed by triggering a single interactive control in a short period of time. Therefore, by using virtual resources corresponding to the preset type of emotion expressed by the multiple interactive controls to provide feedback on the user's emotional interaction, compared to providing feedback separately for each triggering operation of the multiple interactive controls, the user can intuitively and accurately feel the feedback of the interactive operation made in response to the first information within a short time interval, thus enhancing the feedback performance of the interactive interface for the user's interactive operation. In response to the triggering operation of multiple interactive controls in the set of interactive controls that trigger the first information, an interactive notification is sent to the account that published the first information. Appropriate responses can be made to the user's interactions with different emotional intensities, allowing the publisher of the first information to intuitively see which accounts are providing various responses to their published first information. When multiple interactive controls all express positive emotions, the publisher's creative enthusiasm is increased. Meanwhile, using a single interactive notification to reflect consecutive triggers of multiple interactive controls saves communication and server processing resources compared to sending an interactive notification for each trigger of a single interactive control. By displaying the first virtual resource through interactive operations on the same information on different terminals within a time interval threshold, user interactions across different terminals can be synchronized in real time, providing a seamless user experience and ensuring the continuity of interactive operations. This allows user interaction data to be integrated across different terminals, helping to more accurately capture object characteristics and thus provide more precise content recommendations. The number of times different types of emotions are expressed by multiple sample trigger operations determines the overall emotion type expressed, and the first virtual resource corresponding to this emotion type is displayed to reflect the user's overall emotional response to the first information, improving the matching degree between the first virtual resource and the user's emotional expression towards the first information.
[0283] The following description continues to illustrate the exemplary structure of the page interaction processing device 455 provided in the embodiments of this application as a software module. In some embodiments, such as Figure 2 As shown, the software modules in the interactive processing device 455 storing pages in the memory 450 may include:
[0284] The first display module 4551 is used to display an interactive page, wherein the interactive page includes at least one piece of information and a set of interactive controls for each piece of information.
[0285] The second display module 4552 is used to respond to the triggering operation of multiple interactive controls in the set of interactive controls for the first information. If the multiple interactive controls express a preset type of emotion and the time interval between the triggering operations of the multiple interactive controls is less than the time interval threshold, the first virtual resource is displayed.
[0286] In some embodiments, the first display module 4551 is further configured to send an interactive notification to the account that published the first information in response to the triggering operation of multiple interactive controls in the interactive control set that respectively trigger the first information, wherein the interactive notification is used to be displayed on the terminal associated with the account to remind that multiple interactive controls in the interactive control set of the first information have been triggered.
[0287] In some embodiments, the interactive page is displayed on a first terminal and logged in with a first account. The first display module 4551 is further configured to respond to a first trigger operation of at least one first interactive control in the set of interactive controls for the first information. If, before the first trigger operation, a second trigger operation of at least one second interactive control in the set of interactive controls for the first information has been received on the interactive page of the second terminal based on the login of the first account, the first virtual resource is displayed.
[0288] In some embodiments, the first virtual resource is an upgraded version of the second virtual resource, which is a virtual resource displayed when multiple interactive controls are triggered individually.
[0289] In some embodiments, the upgrade method of the first virtual resource relative to the second virtual resource includes at least one of the following: the number of interactive elements included in the first virtual resource is greater than the number of interactive elements included in the second virtual resource; the display duration of the first virtual resource is greater than the display duration of the second virtual resource; the intensity of the emotion expressed by the first virtual resource of a preset type is greater than the intensity of the emotion expressed by the second virtual resource of a preset type; and the area of the display area of the first virtual resource is greater than the area of the display area of the second virtual resource.
[0290] In some embodiments, the upgrade magnitude of the first virtual resource relative to the second virtual resource is negatively correlated with the time interval between the trigger operations for the multiple interactive controls, where the time interval between the trigger operations for the multiple interactive controls is the difference between the time of the trigger operation for the first interactive control and the time of the trigger operation for the last interactive control.
[0291] In some embodiments, the intensity of the emotions expressed by the multiple interactive controls of a preset type varies, and the upgrade magnitude of the first virtual resource relative to the second virtual resource is positively correlated with the sum of the intensity of the emotions expressed by the multiple interactive controls of the preset type.
[0292] In some embodiments, the upgrade extent of the first virtual resource relative to the second virtual resource is positively correlated with the operation parameters of the triggering operation for multiple interactive controls, and the operation parameters include at least one of the following: the number of times the triggering operation is triggered, and the operation duration of the triggering operation.
[0293] In some embodiments, the second display module 4552 is further configured to, if at least one of the multiple interactive controls is repeatedly triggered, remove duplicate triggering operations after the first triggering operation for the same interactive control; if the first triggering operation for each interactive control expresses a preset type of emotion, and the time interval between the first triggering operations for the multiple interactive controls is less than a time interval threshold, display the first virtual resource.
[0294] In some embodiments, the second display module 4552 is further configured to display a first virtual resource expressing a preset type of emotion, wherein the preset type of emotion is a positive emotion or a negative emotion.
[0295] In some embodiments, the second display module 4552 is further configured to determine a plurality of sample triggering operations, wherein the plurality of sample triggering operations include a triggering operation and a plurality of triggering operations traced back from the triggering operation; count the number of times the types of emotions expressed by the sample triggering operations are statistically analyzed to obtain the number of times different types of emotions are expressed; determine the emotion type of the emotion expressed by the plurality of sample triggering operations as a whole based on the number of times different types of emotions are expressed; and display a first virtual resource corresponding to the emotion type of the emotion expressed as a whole.
[0296] In some embodiments, the second display module 4552 is further configured to, in response to a preset type of emotion being a positive emotion, improve the order of the first information in the at least one information when there are multiple information items; and, in response to a preset type of emotion being a negative emotion, reduce the order of the first information in the at least one information item, or delete the first information when there are multiple information items.
[0297] In some embodiments, the second display module 4552 is further configured to extract multiple materials from the first information, select target materials from the multiple materials to express a preset type of emotion, wherein the materials include at least one of text and images; and generate a first virtual resource based on the target materials.
[0298] In some embodiments, the second display module 4552 is further configured to display a resource editing interface, wherein the resource editing interface includes multiple candidate materials, the multiple candidate materials include at least icons of multiple interactive controls, and the candidate materials are used to express a preset type of emotion; in response to a selection operation on the multiple candidate materials, the selected candidate material is highlighted as the target material; in response to an editing operation on the target material, the attributes of the target material are updated; in response to a compositing operation on the updated target material, a first virtual resource is generated based on the updated target material.
[0299] In some embodiments, the second display module 4552 is further configured to acquire the topic features and publishing object features of the first information; and based on the topic features and publishing object features, generate a first virtual resource that conforms to the preferences of the publishing object and the topic of the first information.
[0300] In some embodiments, the second display module 4552 is further configured to display a preview control, wherein the preview control includes a plurality of candidate virtual resources, the plurality of candidate virtual resources are virtual resources pre-set by the second account, and the interactive page is logged in with the first account; in response to a selection operation for any candidate virtual resource among the plurality of candidate virtual resources, the selected candidate virtual resource is used as the first virtual resource.
[0301] In some embodiments, the second display module 4552 is further configured to, in response to a refresh operation on the interactive page, request at least one new piece of information from the server and display at least one new piece of information on the interactive page to replace at least one piece of information, wherein the at least one new piece of information is obtained by the server in the following manner: determining an adjustment coefficient for the information type to which the first piece of information belongs based on at least one of the trigger counts of multiple interactive controls and the total number of trigger counts of multiple interactive controls; updating the similarity of the information to be recommended belonging to the information type to the first account in the descending order of similarity between the information to be recommended belonging to the information type and the first account, according to the adjustment coefficient, to obtain an updated descending order of sorting results; selecting at least one piece of information to be recommended from the first position in the updated descending order of sorting results as at least one new piece of information, wherein the first account is logged in on the interactive page.
[0302] In some embodiments, the second display module 4552 is further configured to, when the preset type of emotion is a positive emotion, set the adjustment coefficient of the information type of the first information to be greater than a preset value based on at least one of the trigger count of the multiple interactive controls and the total number of triggers of the multiple interactive controls, wherein the adjustment coefficient is positively correlated with at least one of the trigger count of the multiple interactive controls and the total number of triggers of the multiple interactive controls; and when the preset type of emotion is a negative emotion, set the adjustment coefficient of the information type of the first information to be less than a preset value based on at least one of the trigger count of the multiple interactive controls and the total number of triggers of the multiple interactive controls, wherein the adjustment coefficient is negatively correlated with at least one of the trigger count of the multiple interactive controls and the total number of triggers of the multiple interactive controls.
[0303] This application provides a computer program product, which includes a computer program or computer-executable instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer-executable instructions from the computer-readable storage medium and executes the computer-executable instructions, causing the electronic device to perform the page interaction processing method described above in this application.
[0304] This application provides a computer-readable storage medium storing computer-executable instructions or a computer program. When the computer-executable instructions or the computer program are executed by a processor, the processor will execute the page interaction processing method provided in this application embodiment, for example, such as... Figure 3A The interactive processing methods shown on the page.
[0305] In some embodiments, the computer-readable storage medium may be a memory such as RAM, ROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or it may be a variety of devices including one or any combination of the above-mentioned memories.
[0306] In some embodiments, computer-executable instructions may take the form of programs, software, software modules, scripts, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as stand-alone programs or as modules, components, subroutines, or other units suitable for use in a computing environment.
[0307] As an example, computer-executable instructions may, but do not necessarily, correspond to files in a file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a Hyper Text Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple co-located files (e.g., files that store one or more modules, subroutines, or code sections).
[0308] As an example, computer-executable instructions can be deployed to execute on a single electronic device, or on multiple electronic devices located at one location, or on multiple electronic devices distributed across multiple locations and interconnected via a communication network.
[0309] In summary, if multiple interactive controls triggered in response to the first piece of information all express a preset type of emotion, and the time interval between the triggering operations of these multiple interactive controls is less than a time interval threshold, it indicates that the user has a strong emotional response to the information, which is why they trigger the interactive controls multiple times in a short period of time. In this case, the intensity of this emotion is higher than the emotion expressed by triggering a single interactive control in a short period of time. Therefore, by using virtual resources corresponding to the preset type of emotion expressed by multiple interactive controls to provide feedback on the user's emotional interaction, compared to providing feedback on each triggering operation of multiple interactive controls individually, the user can intuitively and accurately perceive the feedback on their interactive operations in response to the first piece of information within a short time interval, thus enhancing the feedback performance of the interactive interface for the user's interactive operations. Responding to the triggering operations of multiple interactive controls in the set of interactive controls that trigger the first piece of information, an interactive notification is sent to the account that published the first piece of information. This allows for corresponding responses to interactions with different emotional intensities from the user, enabling the publisher of the first piece of information to intuitively see which accounts are providing various responses to their published first piece of information. When multiple interactive controls all express positive emotions, this increases the publisher's creative enthusiasm. Meanwhile, using a single interactive notification to reflect consecutive triggers of multiple interactive controls saves communication and server processing resources compared to sending an interactive notification for each trigger of a single interactive control. By displaying the first virtual resource through interactive operations on the same information on different terminals within a time interval threshold, user interactions across different terminals can be synchronized in real time, providing a seamless user experience and ensuring the continuity of interactive operations. This allows user interaction data to be integrated across different terminals, helping to more accurately capture object characteristics and thus provide more precise content recommendations. The number of times different types of emotions are expressed by multiple sample trigger operations determines the overall emotion type expressed, and the first virtual resource corresponding to this emotion type is displayed to reflect the user's overall emotional response to the first information, improving the matching degree between the first virtual resource and the user's emotional expression towards the first information.
[0310] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.
Claims
1. A method for handling page interactions, characterized in that, The method includes: Display an interactive page, wherein the interactive page includes at least one piece of information and a set of interactive controls for each piece of information; In response to triggering operations of multiple interactive controls in the set of interactive controls respectively targeting the first information, if all of the multiple interactive controls express a preset type of emotion, and the time interval between the triggering operations of the multiple interactive controls is less than a time interval threshold, the first virtual resource is displayed.
2. The method according to claim 1, characterized in that, The first virtual resource is an upgraded version of the second virtual resource, which is the virtual resource displayed when the multiple interactive controls are triggered individually.
3. The method according to claim 2, characterized in that, The upgrade method of the first virtual resource relative to the second virtual resource includes at least one of the following: The first virtual resource includes more interactive elements than the second virtual resource. The display duration of the first virtual resource is longer than the display duration of the second virtual resource; The intensity of the emotion expressed by the first virtual resource of the preset type is greater than the intensity of the emotion expressed by the second virtual resource of the preset type; The area of the display area of the first virtual resource is larger than the area of the display area of the second virtual resource.
4. The method according to claim 2, characterized in that, The upgrade magnitude of the first virtual resource relative to the second virtual resource is negatively correlated with the time interval between the trigger operations of the plurality of interactive controls. The time interval between the trigger operations of the plurality of interactive controls is the difference between the time of the trigger operation of the first interactive control and the time of the trigger operation of the last interactive control.
5. The method according to claim 2, characterized in that, The intensity of the emotions expressed by the multiple interactive controls of the preset type varies, and the upgrade range of the first virtual resource relative to the second virtual resource is positively correlated with the sum of the intensity of the emotions expressed by the multiple interactive controls of the preset type.
6. The method according to claim 2, characterized in that, The upgrade extent of the first virtual resource relative to the second virtual resource is positively correlated with the operation parameters of the triggering operation for the plurality of interactive controls. The operation parameters include at least one of the following: the number of times the triggering operation is triggered, and the operation duration of the triggering operation.
7. The method according to any one of claims 1 to 3, characterized in that, If all the multiple interactive controls express a preset type of emotion, and the time interval between the triggering operations of the multiple interactive controls is less than a time interval threshold, the first virtual resource is displayed, including: If at least one of the multiple interactive controls is triggered repeatedly, duplicate triggering operations will be removed for subsequent triggering operations of the same interactive control after the first triggering operation. If the first trigger operation for each of the interactive controls expresses the preset type of emotion, and the time interval between the first trigger operations for the multiple interactive controls is less than the time interval threshold, then the first virtual resource is displayed.
8. The method according to any one of claims 1 to 3, characterized in that, The first virtual resource to be displayed includes: Display a first virtual resource expressing the preset type of emotion, wherein the preset type of emotion is a positive emotion or a negative emotion.
9. The method according to any one of claims 1 to 3, characterized in that, Prior to displaying the first virtual resource, the method further includes: Multiple materials are extracted from the first information, and target materials for expressing the preset type of emotion are selected from the multiple materials, wherein the materials include at least one of text and images; The first virtual resource is generated based on the target material.
10. The method according to any one of claims 1 to 3, characterized in that, Prior to displaying the first virtual resource, the method further includes: The resource editing interface is displayed, which includes multiple candidate materials. The multiple candidate materials include at least the icons of the multiple interactive controls. The candidate materials are used to express the preset type of emotion. In response to the selection operation for the plurality of candidate materials, the selected candidate material is highlighted as the target material; In response to an editing operation on the target material, update the attributes of the target material; In response to a compositing operation on the updated target material, the first virtual resource is generated based on the updated target material.
11. The method according to any one of claims 1 to 3, characterized in that, Prior to displaying the first virtual resource, the method further includes: Obtain the topic characteristics and publishing object characteristics of the first information; Based on the topic features and the publishing object features, a first virtual resource is generated that conforms to the publishing object's preference conditions and the first information.
12. The method according to any one of claims 1 to 3, characterized in that, The first virtual resource to be displayed includes: Multiple sample triggering operations are identified, wherein the multiple sample triggering operations include the triggering operation and multiple triggering operations traced back from the triggering operation; The frequency of different types of emotions expressed by the sample triggering operations is counted to obtain the frequency of different types of emotions expressed. The emotion type of the overall emotion expressed by the multiple sample trigger operations is determined based on the number of times the different types of emotions are expressed. Displays a first virtual resource corresponding to the emotion type expressed in the whole.
13. The method according to any one of claims 1 to 3, characterized in that, Prior to displaying the first virtual resource, the method further includes: A preview control is displayed, wherein the preview control includes multiple candidate virtual resources, which are virtual resources preset by a second account, and the interactive page is logged in with a first account; In response to a selection operation for any of the plurality of candidate virtual resources, the selected candidate virtual resource is used as the first virtual resource.
14. The method according to any one of claims 1 to 3, characterized in that, The method further includes: In response to the preset type of emotion being a positive emotion, if the number of at least one piece of information is multiple, the order of the first piece of information among the at least one piece of information is increased; In response to the preset type of emotion being a negative emotion, if the number of the at least one piece of information is multiple, the order of the first piece of information in the at least one piece of information is reduced, or the first piece of information is deleted.
15. The method according to any one of claims 1 to 3, characterized in that, When displaying the first virtual resource, the method further includes: In response to a refresh operation on the interactive page, a request is made to the server for at least one new piece of information, and the at least one new piece of information is displayed on the interactive page to replace the at least one piece of information. Wherein, the at least one piece of new information is obtained by the server through the following means: An adjustment coefficient for the information type to which the first information belongs is determined based on at least one of the number of times the multiple interactive controls are triggered and the total number of times the multiple interactive controls are triggered; In the descending sorting results of the similarity between the information to be recommended belonging to the aforementioned information type and the first account, the similarity of the information to be recommended belonging to the aforementioned information type is updated according to the adjustment coefficient to obtain the updated descending sorting results, wherein the first account is logged in on the interactive page; Select at least one piece of the information to be recommended from the first position in the updated descending sorting results, and use it as the at least one new piece of information.
16. The method according to claim 15, characterized in that, The step of determining the adjustment coefficient for the information type to which the first information belongs based on at least one of the trigger count of the plurality of interactive controls and the total number of triggers of the plurality of interactive controls includes: When the preset type of emotion is a positive emotion, the adjustment coefficient of the information type of the first information is set to be greater than a preset value based on at least one of the trigger count of the plurality of interactive controls and the total number of triggers of the plurality of interactive controls, wherein the adjustment coefficient is positively correlated with at least one of the trigger count of the plurality of interactive controls and the total number of triggers of the plurality of interactive controls; When the preset emotion type is negative, the adjustment coefficient of the information type of the first information is set to be less than a preset value based on at least one of the trigger count of the plurality of interactive controls and the total number of triggers of the plurality of interactive controls, wherein the adjustment coefficient is negatively correlated with at least one of the trigger count of the plurality of interactive controls and the total number of triggers of the plurality of interactive controls.
17. The method according to any one of claims 1 to 3, characterized in that, When displaying the interactive page, the method further includes: In response to the triggering operation of multiple interactive controls in the set of interactive controls that trigger the first information respectively, an interactive notification is sent to the account that published the first information, wherein the interactive notification is used to display on the terminal associated with the account to remind that multiple interactive controls in the set of interactive controls of the first information have been triggered.
18. The method according to any one of claims 1 to 3, characterized in that, The interactive page is displayed on a first terminal where a first account is logged in. When displaying the interactive page, the method further includes: In response to a first trigger operation of at least one first interactive control in the set of interactive controls for the first information, if a second trigger operation of at least one second interactive control in the set of interactive controls for the first information has been received on the interactive page of the second terminal based on the first account login before the first trigger operation, the first virtual resource is displayed.
19. An interactive processing device for a webpage, characterized in that, The device includes: The first display module is used to display an interactive page, wherein the interactive page includes at least one piece of information and a set of interactive controls for each piece of information; The second display module is used to respond to the triggering operations of multiple interactive controls in the set of interactive controls respectively targeting the first information. If the multiple interactive controls all express a preset type of emotion, and the time interval between the triggering operations of the multiple interactive controls is less than a time interval threshold, the first virtual resource is displayed.
20. An electronic device, characterized in that, The electronic device includes: Memory is used to store executable instructions or computer programs. A processor, when executing computer-executable instructions or computer programs stored in the memory, implements the page interaction processing method according to any one of claims 1 to 18.
21. A computer-readable storage medium storing computer-executable instructions or a computer program, characterized in that, When the computer-executable instructions or computer program are executed by a processor, they implement the page interaction processing method according to any one of claims 1 to 18.
22. A computer program product comprising computer-executable instructions or a computer program, characterized in that, When the computer-executable instructions or computer program are executed by a processor, they implement the interactive processing method of the page as described in any one of claims 1 to 18.