Information flow display processing method and device, electronic equipment and storage medium
By merging marketing information from social networks into a single information slot and displaying business information separately, and using machine learning models for classification and display, the problem of marketing information interfering with user browsing is solved, thereby improving the browsing efficiency and resource utilization of the information flow.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2020-12-31
- Publication Date
- 2026-05-12
AI Technical Summary
The influx of marketing information (such as advertisements and advertorials) into social networks makes it difficult for users to find information of interest in their feeds, affecting the browsing experience and consuming terminal device and server resources.
Marketing information in the information flow is merged into one information slot, while business information is displayed separately. Machine learning models are used for classification, and the merged marketing information is displayed through keyword combinations, preview image combinations, or posting account displays.
It improves the efficiency for users to find information of interest in the information stream, reduces resource consumption, and enhances the browsing experience.
Smart Images

Figure CN122019903A_ABST
Abstract
Description
[0001] This application is a divisional application of Chinese patent application No. 202011616716.6, filed on December 31, 2020, entitled "Information Flow Display Processing Method, Apparatus, Electronic Device and Storage Medium". Technical Field
[0002] This application relates to the field of communication technology, and in particular to a method, apparatus, electronic device, and computer-readable storage medium for displaying and processing information streams. Background Technology
[0003] The development of internet technology has broadened people's access to and communication of information. Taking social networks as an example, they provide content-based social functions, including content sharing, commenting, and forwarding, making them an important form of information interaction in the internet age. For instance, Moments (WeChat's social circle) is a space where users share and follow their friends' lives. Users can share meaningful things from their lives or work, and other users in the Moments can interact with the content shared, increasing social communication among users.
[0004] However, an increasing amount of marketing information (such as advertisements and advertorials) is flooding social networks, causing some degree of harassment to ordinary users. This makes it difficult for ordinary users to find the information they are interested in in the information flow in a timely manner, affecting their experience when browsing their friends' life content, and also causing unnecessary consumption of terminal device and backend server resources. Summary of the Invention
[0005] This application provides a method, apparatus, electronic device, and computer-readable storage medium for displaying information streams, which can merge marketing information in the information stream to improve information browsing efficiency and save resources.
[0006] The technical solution of this application embodiment is implemented as follows: This application provides a method for displaying and processing an information stream, including: Acquire information flow, wherein the types of information in the information flow include business information and marketing information; At least one piece of business information from the information flow is displayed in the human-computer interaction interface, and each piece of business information occupies one information slot in the human-computer interaction interface. Multiple marketing messages in the information stream are merged into one information slot in the human-computer interaction interface for display; The information bits occupied by the multiple marketing information are different from the information bits occupied by any business information.
[0007] This application provides an information stream display processing device, comprising: An acquisition module is used to acquire information streams, wherein the types of information in the information streams include business information and marketing information; The display module is used to display at least one business information in the information flow in the human-computer interaction interface, and each business information occupies one information bit in the human-computer interaction interface; The display module is also used to merge multiple marketing messages in the information stream into one information slot of the human-computer interaction interface for display. The information bits occupied by the multiple marketing information are different from the information bits occupied by any business information.
[0008] In the above scheme, the display module merges the multiple marketing information messages into one information slot of the human-computer interaction interface for display, including at least one of the following: forming a keyword combination based on the keywords corresponding to the multiple marketing information messages respectively, and displaying the keyword combination in one information slot of the human-computer interaction interface; stitching together the images included in the multiple marketing information messages to form a preview image combination, and displaying the preview image combination in one information slot of the human-computer interaction interface; displaying the name of the publishing account of the multiple marketing information messages and the quantity of the multiple marketing information messages in one information slot of the human-computer interaction interface.
[0009] In the above scheme, the device further includes a division module for dividing the information flow into multiple intervals; the device further includes a classification module for identifying at least one marketing information included in the interval; the display module is further used to merge the multiple marketing information in the interval into one information position in the human-computer interaction interface when the interval is displayed in the human-computer interaction interface and the interval includes multiple marketing information.
[0010] In the above scheme, the device further includes a determining module, used to determine the publishing account of each marketing message in the interval, and perform the following processing for each publishing account: when the number of marketing messages published by the publishing account in the interval is multiple, the multiple marketing messages published by the publishing account in the interval are merged into an information position in the human-computer interaction interface corresponding to the publishing account for display.
[0011] In the above scheme, the determining module is further used to determine the type of each marketing information in the interval, and perform the following processing for each type: when there are multiple marketing information belonging to the type in the interval, the multiple marketing information belonging to the type in the interval are merged into an information position corresponding to the type in the human-computer interaction interface for display.
[0012] In the above scheme, the division module is further configured to divide the information flow into multiple intervals in any of the following ways: dividing the information flow into intervals corresponding to multiple publication time periods; dividing the information flow into multiple intervals including the same number of information; dividing the information flow into multiple intervals including the same number of publishing accounts.
[0013] In the above scheme, the display module is further configured to respond to a trigger operation on an information position displaying multiple marketing information in the human-computer interaction interface, and present a marketing information details page; wherein the marketing information details page displays the content of the multiple marketing information.
[0014] In the above scheme, the marketing information details page displays a control to unmerge; the display module is also used to respond to the trigger operation of the control to unmerge, and according to the merging display method adopted by the information position, cancel the merging display of multiple marketing information corresponding to the merging display method in the new information stream and the marketing information to be displayed later in the information stream; wherein, the merging display method includes at least one of the following: merging multiple marketing information of the same type; merging multiple marketing information published by the same publishing account.
[0015] In the above scheme, the information slots occupied by the multiple marketing information items display a release merge control; the display module is further configured to, in response to a trigger operation on the release merge control, cancel the merge display of multiple marketing information items corresponding to the merge display method adopted by the information slots, for the new information stream and the marketing information to be displayed subsequently in the information stream; wherein, the merge display method includes at least one of the following: merging and displaying multiple marketing information items of the same type; merging and displaying multiple marketing information items published by the same publishing account.
[0016] In the above scheme, the types of accounts publishing marketing information include business accounts and marketing accounts, and the type of account used to merge and display multiple marketing information is the marketing account; the classification module is also used to classify each piece of information in the information flow into business information or marketing information; the display module is also used to display the marketing information published by the business account when the information flow includes marketing information published by the business account, and each piece of marketing information published by the business account occupies one information position in the human-computer interaction interface; wherein, the information position occupied by each piece of marketing information published by the business account is different from the information position occupied by each piece of business information and the information position occupied by each piece of marketing information published by each marketing account.
[0017] In the above scheme, the classification module is further configured to call a machine learning model to perform the following processing for each piece of information in the information stream: extracting features from at least one of the text, images, and videos included in the information; performing fusion processing on the extracted features, and determining the type of the information based on the probability that the fused features obtained after fusion processing belong to business information and marketing information, with the type corresponding to the highest probability being the type of the information.
[0018] In the above scheme, the determining module is further used to determine the quantity and / or frequency of marketing information published by each marketing information publishing account; to determine the type of publishing account whose quantity and / or frequency of publishing marketing information reaches the corresponding threshold as a marketing account, to determine the type of publishing account whose quantity and / or frequency of publishing marketing information does not reach the corresponding threshold as a business account, and to determine the type of publishing account that has not published any marketing information as a business account.
[0019] This application provides an electronic device, including: Memory, used to store executable instructions; The processor, when executing executable instructions stored in the memory, implements the information flow display processing method provided in the embodiments of this application.
[0020] This application provides a computer-readable storage medium storing executable instructions, which, when executed by a processor, implement the information stream display processing method provided in this application.
[0021] The embodiments of this application have the following beneficial effects: Different display methods are used for different types of information in the information stream. For marketing information, multiple marketing messages are displayed together; while for business information, each business message is displayed separately. In this way, users can perceive that the information stream includes marketing information without causing interference. This ensures that users can find the information of interest in a timely manner while browsing the information stream, making the browsing behavior of users to browse normal business information more efficient and saving the resource consumption caused by long search times. Attached Figure Description
[0022] Figure 1 This is a schematic diagram of the architecture of the information flow display processing system 100 provided in an embodiment of this application; Figure 2 This is a schematic diagram of the structure of the terminal device 400 provided in the embodiments of this application; Figure 3 This is a flowchart illustrating the information flow display processing method provided in an embodiment of this application; Figure 4This is a schematic diagram illustrating an application scenario of the information flow display processing method provided in the embodiments of this application; Figure 5 This is a schematic diagram illustrating an application scenario of the information flow display processing method provided in the embodiments of this application; Figure 6 This is a schematic diagram illustrating an application scenario of the information flow display processing method provided in the embodiments of this application; Figure 7 This is a flowchart illustrating the information flow display processing method provided in an embodiment of this application; Figure 8 This is a schematic diagram illustrating an application scenario of the information flow display processing method provided in the embodiments of this application; Figure 9 This is a schematic diagram illustrating an application scenario of the information flow display processing method provided in the embodiments of this application; Figure 10 This is a schematic diagram illustrating an application scenario of the information flow display processing method provided in the embodiments of this application; Figure 11 This is a schematic diagram illustrating the principle of classifying information in an information flow, as provided in an embodiment of this application. Figure 12 This is a schematic diagram illustrating an application scenario of the information flow display processing method provided in this application embodiment. Detailed Implementation
[0023] 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.
[0024] 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.
[0025] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0026] 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.
[0027] 1) Marketing information: Information intended for marketing purposes, such as advertisements and advertorials. This article refers to information inserted into the various business messages included in the information flow for marketing purposes.
[0028] 2) Business information: The original information carried in the information flow. The type of information varies depending on the specific business scenario. For example, the business information in the information flow of a social network can be social dynamic information that users are following. Social dynamic information is information in at least one form of text, voice, or video shared for the purpose of social interaction. Another example is the business information in the information flow of a news aggregation platform, which can be news that users may be interested in.
[0029] 3) Marketing accounts are accounts whose purpose or primary purpose is to publish marketing information. For example, a marketing account can be an account that publishes marketing information in a quantity / frequency that exceeds the quantity / frequency threshold.
[0030] 4) Publishing accounts, which are accounts that publish information, including business accounts that publish normal business information and marketing accounts that are for the purpose of publishing marketing information or whose main purpose is to publish marketing information.
[0031] 5) Business accounts, which are accounts that publish business information, such as social accounts that publish social updates on social networks and news accounts that publish current events in news clustering scenarios.
[0032] The related technology provides a solution for text folding for each marketing message in Moments, such as folding the text into a single line and folding multiple images or videos included in the marketing message into a small preview image, while notifying the user interface (UI) layer to update the latest Moments status.
[0033] However, the solutions provided by related technologies have the following problems: (1) The identification of marketing information relies on text analysis, which is not accurate or comprehensive enough.
[0034] If only the text within the content of WeChat Moments is used for identification and judgment, without using images and videos as auxiliary materials, it is impossible to accurately identify as much advertising content as possible in WeChat Moments. For example, when an advertisement has no text or the text has no advertising characteristics, but the image or video has obvious advertising characteristics, the WeChat text model provided by the relevant technology cannot accurately determine that the content is an advertisement.
[0035] (2) Each advertisement is folded individually, resulting in a lower degree of weakening.
[0036] The solutions provided by related technologies will collapse each of the multiple marketing messages that appear in a user's Moments, but the same number of ads will still be displayed after collapse. For example, if there are 10 ads in a user's Moments, there will still be 10 collapsed ads after collapse, which cannot solve the problem of a large number of ads harassing users.
[0037] (3) The folded style takes up an area and the folding effect is limited.
[0038] Based on the solutions provided by related technologies, when a piece of content is identified as advertising by the server, the text included in the content will be folded down to a single line, multiple images included in the content will be folded down to a single image, and large videos included in the content will be folded down to small thumbnails. The folded style occupies a large area of the human-computer interaction interface, but the specific content is not visible. Revealing a little information actually piques the user's curiosity, making them more willing to click and view the specific content.
[0039] To address the aforementioned technical problems, embodiments of this application provide a method, apparatus, electronic device, and computer-readable storage medium for displaying and processing information streams. These methods can merge marketing information within an information stream to improve browsing efficiency and conserve resources. The following describes exemplary applications of the electronic devices provided in this application. These devices can be implemented as various types of terminal devices, such as laptops, tablets, desktop computers, set-top boxes, and mobile devices (e.g., mobile phones, portable music players, personal digital assistants, dedicated messaging devices, portable gaming devices), or as servers, or a combination of terminal devices and servers. Exemplary applications of the electronic devices implemented as terminal devices will be described below.
[0040] See Figure 1 , Figure 1 This is a schematic diagram of the architecture of the information flow display processing system 100 provided in the embodiments of this application. The information flow display processing system 100 includes: server 200, network 300 and terminal device 400, which will be described below.
[0041] Server 200 is the backend server for client 410 running on terminal device 400, providing backend services to client 410. When server 200 receives a request from terminal device 400 for an information stream, it pushes the corresponding information stream to terminal device 400 via network 300; alternatively, server 200 automatically pushes an information stream to terminal device 400 via network 300 every preset time interval (e.g., every hour). The information stream pushed by server 200 may include information posted by the user's (e.g., the user's logged-in account on client 410) friends or people the user follows (or subscribes to). For example, assuming server 200 receives a request from terminal device 400 at 10:00 and determines that the last time terminal device 400 sent a request was at 9:00, server 200 can obtain information posted by the user's friends or people the user follows between 9:00 and 10:00, integrate it to form an information stream, and then push the formed information stream to terminal device 400 via network 300.
[0042] Network 300 is the communication medium between server 200 and terminal device 400, which can be a wide area network, a local area network, or a combination of both.
[0043] Terminal device 400 is the terminal device associated with the user, on which client 410 runs. Client 410 can be various types of clients, such as instant messaging clients, microblogging clients, news clients, etc. The information types in the information stream pushed by server 200 can include business information and marketing information. Therefore, after receiving the information stream pushed by server 200, terminal device 400 can call a machine learning model to classify each piece of information in the information stream into business information or marketing information. Subsequently, terminal device 400 deploys information slots in the human-computer interaction interface of client 410, and for business information in the information stream, each piece of business information is assigned to a corresponding information slot in the human-computer interaction interface of client 410 for display, that is, one piece of business information occupies one information slot in the human-computer interaction interface of client 410; while for marketing information in the information stream, terminal device 400 merges multiple pieces of marketing information in the information stream into one information slot in the human-computer interaction interface of client 410 for display, that is, multiple pieces of marketing information are merged into one information slot in the human-computer interaction interface of client 410 for display, and the information slot occupied by multiple pieces of marketing information in the human-computer interaction interface of client 410 is different from the information slot occupied by any business information. In this way, the terminal device 400 uses different display methods to display different types of information in the information stream pushed by the server 200, which ensures that marketing information can be displayed in a basic way, while also improving the efficiency of users browsing business information and enhancing the browsing experience.
[0044] In other embodiments, the server 200 can also classify each piece of information in the information stream. For example, after responding to a request from the terminal device 400 to obtain information stream data, the server 200 can acquire multiple pieces of information posted by the user's friends or people the user follows within a specific time period, integrate them to form an information stream, and then call a machine learning model to classify each piece of information in the information stream into business information or marketing information. Subsequently, the server 200 sends the information stream, along with the category information of each piece of information in the information stream, to the terminal device 400 to reduce the consumption of computing resources on the terminal device 400 and thereby increase the availability of the terminal device 400.
[0045] In some embodiments, following the above, after determining the category to which each piece of information in the information stream belongs, the server 200 can also pre-merge multiple marketing information. In this way, after receiving the information stream pushed by the server 200, the terminal device 400 can directly present the business information in the information stream and the merged multiple marketing information in the corresponding information position of the human-computer interaction interface of the client 410, further reducing the consumption of computing resources of the terminal device 400.
[0046] 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, CDN, and big data and artificial intelligence platforms. Terminal device 400 may be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, etc., but is not limited to these. Terminal device 400 and server 200 can be directly or indirectly connected via wired or wireless communication, which is not limited in this embodiment.
[0047] The following is about Figure 1 The structure of the terminal device 400 in the document will be described. See [link / reference]. Figure 2 , Figure 2 This is a schematic diagram of the structure of the terminal device 400 provided in the embodiments of this application. Figure 2 The terminal device 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 device 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 2The general labeled all buses as Bus System 440.
[0048] 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.
[0049] 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.
[0050] 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.
[0051] 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.
[0052] 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.
[0053] 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; The network communication module 452 is used to reach other computing devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 including: Bluetooth, WiFi, and Universal Serial Bus (USB), etc. 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. 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.
[0054] In some embodiments, the information stream display processing apparatus provided in this application can be implemented in software. Figure 2 A display processing device 455, which shows an information stream stored in memory 450, can be software in the form of programs and plug-ins, and includes the following software modules: an acquisition module 4551, a display module 4552, a segmentation module 4553, a classification module 4554, and a determination module 4555. These modules are logically connected and can therefore be arbitrarily combined or further split according to the functions they implement. It should be noted that in Figure 2 For ease of explanation, the above modules are shown at once, but this should not be considered as excluding the implementation of the information flow display processing device 455 which may only include the acquisition module 4551 and the display module 4552. The functions of each module will be described below.
[0055] In other embodiments, the information stream display processing device provided in this application can be implemented in hardware. As an example, the device provided in this application can be a processor in the form of a hardware decoding processor, which is programmed to execute the information stream display processing method provided in this application. For example, the processor in the form of a hardware decoding processor can be one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0056] The following description, in conjunction with exemplary applications and implementations of the terminal devices provided in the embodiments of this application, will illustrate these points. The steps described below can be executed by the terminal devices described above, for example, by a client running on the terminal. See also Figure 3 , Figure 3 This is a flowchart illustrating the information flow display processing method provided in the embodiments of this application, which will be combined with... Figure 3The steps shown are explained.
[0057] In step S101, the information stream is acquired.
[0058] In some embodiments, the server may return a corresponding information stream to the terminal device based on the acquisition request sent by the terminal device, wherein the types of information in the information stream include business information and marketing information.
[0059] For example, taking social networks as an example, after a user logs in to a client running on a terminal device (such as an instant messaging client) using a pre-registered account and password, they can enter the Moments page by clicking the Moments entry presented in the client's human-computer interaction interface. Subsequently, when the user performs a refresh operation on the Moments page (such as pulling down to refresh or refreshing by clicking the corresponding position), the terminal device responds by sending a request to the server to retrieve the information stream.
[0060] For example, assuming the server determines that the terminal device last sent a request at 10:00 AM, and the current time is 12:00 PM, the server can retrieve multiple messages posted by the user's friends or people the user follows between 10:00 AM and 12:00 PM, integrate them to form an information stream, and then return the information stream to the terminal device. Since some of the user's friends or people the user follows may be marketing accounts, such as businesses, whose posts may be marketing information, the types of information in the information stream returned by the server to the terminal device can include both social media updates and marketing information.
[0061] It should be noted that, in addition to the user manually refreshing Moments as mentioned above, the timing for triggering a terminal device to send a request to the server for the information stream can also be in the scenario of automatic refresh when Moments switches from the background to the foreground. For example, when a terminal device responds to a user-triggered switching operation and switches from another client back to the Moments page displayed by the instant messaging client, the terminal device automatically sends a request to the server and automatically updates the content displayed on the Moments page based on the information stream returned by the server.
[0062] In other embodiments, the server may also automatically push the latest information stream to the terminal device at preset intervals (e.g., every hour). For example, the server may automatically push an information stream consisting of multiple messages published by the user's friends or people the user follows between 11:00 and 12:00 at 12:00. Similarly, the server may automatically push an information stream consisting of multiple messages published by the user's friends or people the user follows between 12:00 and 13:00 at 13:00.
[0063] In some embodiments, after receiving the information stream returned by the server, the terminal device may also perform the following operations: invoke a machine learning model to perform the following processing for each piece of information in the information stream: extract features from at least one of the text, images, and videos included in the information; fuse the extracted features, and based on the probability of the fused features being mapped to social dynamic information and marketing information, determine the type corresponding to the highest probability as the type of information. Thus, invoking the machine learning model for classification based on the fused features of the information can improve the accuracy of the classification results.
[0064] In addition, to avoid the leakage of user privacy data, before using the labeled sample information to train the machine learning model, the sample information is first screened for privacy, and content that may involve user personal information is deleted. Then, the sample information after deletion is sent to the annotators for manual annotation.
[0065] For example, taking information A in an information stream as an example, assuming information A includes both text and images, the text and images included in information A can be used together as input to a machine learning model. For instance, firstly, corresponding embeddings can be found for the text and images included in information A using their respective representation methods; then, feature extraction is performed on the embeddings corresponding to the text and images (i.e., vectorized text and images) to obtain the text features and image features of information A. Subsequently, a concat operation can be used to fuse the text features and image features of information A to obtain the feature representation of information A (i.e., the fused feature of information A). Finally, the feature representation of information A is input to fully connected layers (FC) for mapping to obtain the probability that information A belongs to social dynamic information and marketing information, and the type corresponding to the highest probability is determined as the type of information A. For example, when the probability of information A's feature representation mapping to social dynamic information is greater than the probability of marketing information, the type of information A is determined to be social dynamic information. Similarly, the terminal device can call the machine learning model to perform the above classification operation on other information in the information stream in turn to determine the type of each piece of information in the information stream.
[0066] It should be noted that the process of classifying each piece of information in the information flow can also be performed by the server. The specific execution process can be referred to the description above, and will not be repeated here in the embodiments of this application.
[0067] In other embodiments, when the client installed on the user's terminal device is a news client, the server (e.g., a news backend server) can automatically push the latest news stream (i.e., a series of news items ordered by publication time, with some marketing information such as advertisements and advertorials mixed in) to the user's terminal device every preset time interval (e.g., every hour). After receiving the news stream returned by the news backend server, the terminal device can allocate each news item to a separate information slot in the terminal device's human-computer interaction interface for display, i.e., one news item occupies one information slot. As for the marketing information mixed in the news stream, multiple marketing information items can be merged into one information slot in the human-computer interaction interface for display. In this way, the user can perceive that the news stream includes marketing information without causing interference, thereby ensuring that the user can find the news of interest in a timely manner while browsing the news, making the user's news browsing behavior more efficient and saving the user's time.
[0068] In step S102, at least one piece of business information in the information flow is displayed in the human-computer interaction interface, and each piece of business information occupies one information bit in the human-computer interaction interface.
[0069] In some embodiments, business information may include social dynamic information, which refers to information shared by users regarding their personal social status, such as photos, articles, or videos shared by users about interesting things in their daily lives or work.
[0070] For example, the information stream returned by the server to the terminal device may include social media updates posted by the user's friends or people the user follows within a specific time period. For these social media updates, the terminal device can invoke the client's human-computer interaction interface (HCI) to display at least one social media update from the information stream, with each social media update occupying one information slot on the HCI. For instance, the terminal device can determine the number of updates displayed per screen based on the available display area of the client's HCI. If the terminal device determines that the client displays four updates per screen, it will read four social media updates from the beginning of the information stream and adapt them to the four information slots on the client's HCI for display. When the user performs a swipe-down operation on the client's HCI, the terminal device will continue to read a corresponding number of social media updates from the beginning of the information stream based on the swipe distance, updating the content of the social media updates displayed on the client's HCI. For example, if the user swipes down two information slots, the terminal device will continue to read the next two social media updates from the beginning of the information stream and present them in the two information slots on the client's HCI. In addition, to help users distinguish between different social media updates, the terminal device can also display a dividing line between adjacent information segments.
[0071] In some embodiments, the types of information read by the terminal device from the information stream are not all social dynamic information; marketing information may also be present, meaning that marketing information may exist between adjacent social dynamic information in the information stream. The following describes how marketing information is displayed in the client's human-computer interaction interface.
[0072] In step S103, multiple marketing messages in the information flow are merged into one information slot in the human-computer interaction interface for display.
[0073] In some embodiments, the terminal device may merge multiple marketing messages from the information stream into a single information slot in the human-computer interaction interface for display using at least one of the following display methods: forming a keyword combination based on keywords corresponding to each of the multiple marketing messages (e.g., the first word of the marketing message content can be used as a keyword), and displaying the formed keyword combination in a single information slot in the human-computer interaction interface (e.g., a simple list of multiple keywords, or a sentence formed by combining multiple keywords); stitching together at least one image included in each of the multiple marketing messages to form a preview image combination, and displaying the formed preview image combination in a single information slot in the human-computer interaction interface; displaying the name of the publishing account of the multiple marketing messages and the quantity of the multiple marketing messages in a single information slot in the human-computer interaction interface. It should be noted that the above three display methods can be used in combination, and will be described separately below.
[0074] For example, see Figure 4 , Figure 4 This is a schematic diagram illustrating an application scenario of the information flow display processing method provided in the embodiments of this application, such as... Figure 4 As shown, assuming the terminal device identifies three marketing messages from the information stream: "BuX milk candy, piggy bank, Japanese version, very fine workmanship and good paint job", "Showa era vintage item, super large Kewpie, meticulous workmanship, classic Kewpie design", and "New energy vehicle, try the ME7 first, intelligent cockpit, lifetime free vehicle warranty", the terminal device will use the first word of each marketing message as a keyword to form a keyword combination, namely "BuX milk candy, Showa era vintage item, new energy vehicle", and display it in information position 401 of the human-computer interaction interface.
[0075] In other embodiments, Figure 4 The content displayed in information position 401 of the human-computer interaction interface shown in the figure can also be at least part of the content of any one of the marketing messages (such as the beginning of the first marketing message published by the marketing account). For example, suppose the account name is "Xiaohua who sells toys" and publishes the following three marketing messages: "BuX milk candy, piggy bank, Japanese version, very fine workmanship and good paint", "Showa old item, super large Kewpie, fine workmanship, classic Kewpie shape", and "New energy vehicle, try ME7 before you talk, intelligent cockpit, lifetime free whole vehicle warranty", then the content displayed in information position 401 can also be "BuX milk candy, piggy bank, Japanese version, etc. 3 items".
[0076] It should be noted that, Figure 4 The position of information slot 401, which contains multiple marketing messages, in the human-computer interaction interface can be determined according to the publication time of the first marketing message among the multiple marketing messages. That is, the publication time of the first marketing message among the three marketing messages mentioned above, "Not X's milk candy, piggy bank, Japanese version, very fine workmanship and good paint job," is... Figure 4The social media post 402, "Contemporary painting no longer emphasizes sketching," and the image 403 shared by a user with the social media account name "Will" are both displayed in the human-computer interaction interface. Therefore, the information position 401 is also positioned between the social media post 402 and the image 403 shared by the user with the social media account name "Will." Furthermore, in practical applications, the information position containing multiple marketing messages can be displayed after the social media post is displayed; this embodiment does not limit this. Thus, by combining the keywords corresponding to multiple marketing messages and displaying the resulting keyword combination in a single information position, users can intuitively understand the content of the marketing information and reduce the encroachment on the display area of the social media post above and below.
[0077] For example, see Figure 5 , Figure 5 This is a schematic diagram illustrating an application scenario of the information flow display processing method provided in this application embodiment. For example... Figure 5 As shown, for marketing information containing images in the information stream, the terminal device can select the key image corresponding to each marketing message (the key image can be the image that best represents the product being marketed; for example, when a marketing account wants to market a chick-shaped doll, the corresponding key image could be a photo of the chick doll) and stitch them together to obtain a preview combined image. Then, based on the publication time of the image contained in the first marketing message, the terminal device displays the image in the corresponding position on the human-computer interaction interface, for example... Figure 5 The information bit 501 shows a preview combined image obtained by splicing together the image. The preview combined image can be obtained by splicing together the key image 5011 corresponding to marketing information A, the key image 5012 corresponding to marketing information B, and the key image 5013 corresponding to marketing information C.
[0078] It should be noted that when marketing information includes both text and images, keywords can be extracted and combined for the text included in each marketing message, and at least one image included in each marketing message can be combined to obtain keyword combinations and preview image combinations corresponding to multiple marketing messages. The obtained keyword combinations and preview image combinations are then displayed in an information slot on the human-computer interaction interface.
[0079] For example, see Figure 6 , Figure 6 This is a schematic diagram illustrating an application scenario of the information flow display processing method provided in this application embodiment. For example... Figure 6 As shown, assuming the terminal device identifies four marketing messages from the information stream, and these four messages were published by the same marketing account, the terminal device can, based on the time of the first marketing message published by the marketing account, display the message at a corresponding position on the human-computer interaction interface, for example... Figure 6The information slot 601 displays prompts such as "No X brand milk stick piggy bank Japanese version..." and 4 other items. It also displays the marketing account name "Toy Factory Xiaohua" and its corresponding profile picture 602. By displaying the name of the publishing account and the number of marketing messages in the information slots, users can intuitively perceive the publishing account, the quantity of marketing messages included in the information slots, and their approximate content, allowing them to decide whether to proceed with further viewing.
[0080] It should be noted that in practical applications, when multiple marketing messages are not published by the same marketing account, the information display can show the name (or avatar) of the marketing account that published the most marketing messages, or the name (or avatar) of the marketing account most closely related to the user (e.g., the user has liked or commented on it recently), as well as the number of marketing messages. Of course, when the number of marketing accounts publishing marketing messages is below a certain threshold, for example, when multiple marketing messages are published by two marketing accounts, the information display can show the names and / or avatars of both marketing accounts simultaneously.
[0081] In addition, it should be noted that for information slots that combine multiple marketing messages, such as... Figure 4 Information bit 401 shown in the image Figure 5 Information bit 501 shown in the figure, and Figure 6 The information positions shown in the figure, such as 601, can each be bound to a corresponding jump link. When the terminal device receives a user's click operation on an information position that combines multiple marketing information, it will jump to the corresponding marketing information details page and display the complete content of multiple marketing information on the redirected marketing information details page.
[0082] In some embodiments, the terminal device may merge multiple marketing information in the information stream into one information position in the human-computer interaction interface for display in the following manner: divide the information stream into multiple intervals, and perform the following operations for each interval: identify at least one marketing information included in the interval; when the position of the interval is displayed in the human-computer interaction interface and the interval includes multiple marketing information, merge the multiple marketing information in the interval into one information position in the human-computer interaction interface for display.
[0083] The terminal device can divide the information flow in any of the following ways: dividing the information flow into intervals corresponding to multiple publication time periods; dividing the information flow into multiple intervals containing the same number of information; or dividing the information flow into multiple intervals containing the same number of publishing accounts.
[0084] For example, when dividing an information stream into intervals corresponding to multiple publication time periods, the time granularity used for dividing the intervals can be negatively correlated with the amount of information in the information stream. The time granularity can be a fixed value (e.g., 1 hour) or it can be based on the user's continuous reading time (i.e., the division is based on the user's reading time). For instance, when the amount of information in the information stream exceeds a threshold, the terminal device can set a shorter duration (e.g., 20 minutes) as a time interval; while when the amount of information in the information stream is less than the threshold, the terminal device can set a longer duration (e.g., 1 hour) as a time interval.
[0085] For example, when dividing an information stream into multiple intervals containing the same number of messages, the stream can be divided into multiple intervals based on the quantity granularity (e.g., 10 messages, 20 messages). The quantity granularity can be a fixed value or the number of messages a user reads consecutively (e.g., the number of messages a user reads from entering to leaving their Moments). Furthermore, the quantity granularity used for interval division can also be positively correlated with the number of messages in the information stream. For example, when the number of messages in the information stream exceeds a threshold, the terminal device can use a larger quantity granularity for division (e.g., dividing 20 messages into the same interval); conversely, when the number of messages in the information stream is less than the threshold, the terminal device can use a smaller quantity granularity for division (e.g., dividing 10 messages into the same interval).
[0086] For example, when dividing the information feed into multiple intervals that include the same number of publishing accounts, the information feed can be divided into multiple intervals based on the granularity of the number of accounts. Each interval includes information published by accounts with the same granularity of the number of accounts (e.g., 10 publishing accounts, 20 publishing accounts). Furthermore, the granularity of the number of accounts used for interval division can be fixed or determined based on the number of accounts a user has continuously read (for example, it can be obtained by statistically analyzing the user's historical reading data, i.e., how many accounts' posts a user typically reads before leaving Moments after entering Moments).
[0087] In some embodiments, following the above, the terminal device can also merge multiple marketing messages published by the same marketing account in each divided interval into one information position for display. For example, the terminal device can merge multiple marketing messages in an interval into one information position in the human-computer interaction interface for display in the following way: determine the publishing account of each marketing message in the interval, and perform the following processing for each publishing account: when the number of marketing messages published by the publishing account in the interval is multiple, merge the multiple marketing messages published by the publishing account in the interval into one information position in the human-computer interaction interface corresponding to the publishing account for display.
[0088] For example, taking interval A out of the multiple intervals obtained after segmentation as an example, suppose there are two marketing accounts in interval A: "Toy Factory Xiaohua" and "Beauty Agent - Dingding". These two accounts have published multiple marketing messages in interval A. The terminal device first deploys corresponding information slots for each of these two marketing accounts. Then, the terminal device can merge the multiple marketing messages published by the account "Toy Factory Xiaohua" into a single information slot corresponding to "Toy Factory Xiaohua" for display; similarly, for the marketing account "Beauty Agent - Dingding", the multiple marketing messages published by "Beauty Agent - Dingding" can be merged into a single information slot corresponding to "Beauty Agent - Dingding". In this way, by merging multiple marketing messages published by the same marketing account into a single information slot, it facilitates users' subsequent browsing of marketing messages published by that account.
[0089] In other embodiments, following the above, multiple marketing messages of the same type in each interval obtained after division can also be merged into one information position for display. For example, the terminal device can merge multiple marketing messages in an interval into one information position of the human-computer interaction interface for display in the following way: determine the type of each marketing message in the interval, and perform the following processing for each type: when there are multiple marketing messages of the same type in the interval, merge the multiple marketing messages of the same type in the interval into one information position of the human-computer interaction interface corresponding to the type for display.
[0090] For example, taking interval B out of the multiple intervals obtained after division as an example, suppose there are three different types of marketing information in interval B: "clothing," "food," and "toys." The terminal device first deploys three information slots corresponding to each of these three types of marketing information. Then, it merges the multiple marketing information items belonging to "clothing" in interval B into a single information slot corresponding to "clothing"; the multiple marketing information items belonging to "food" in interval B into a single information slot corresponding to "food"; and the multiple marketing information items belonging to "toys" in interval B into a single information slot corresponding to "toys." In this way, by merging and displaying multiple marketing information items based on their type, it facilitates subsequent browsing for users. For example, when a user is interested in clothing, they can click on the information slot corresponding to "clothing" displayed in the human-computer interaction interface to obtain multiple marketing information items about clothing.
[0091] In other embodiments, when the number of marketing messages in the information stream is small (e.g., not exceeding a quantity threshold), the terminal device may not segment the information stream. Instead, it can directly merge multiple marketing messages published by the same marketing account into the information slot corresponding to that marketing account for display. Alternatively, it can directly categorize all marketing messages in the information stream, merging marketing messages of the same type into a single information slot corresponding to that type for display. In other words, segmenting the information stream is not mandatory. Segmentation is only performed when the number of marketing messages in the information stream exceeds a quantity threshold to avoid merging too much marketing information into a single information slot, making it impossible to understand the merged marketing messages from the information slot.
[0092] In addition, it should be noted that for the multiple intervals obtained after division, when a certain interval contains only one marketing message, the terminal device does not need to merge the display for this one marketing message. That is, this one marketing message in this interval can occupy a separate information slot in the human-computer interaction interface.
[0093] In some embodiments, for social media updates displayed in the human-computer interaction interface, controls for liking and / or commenting can be displayed in the information slot corresponding to each social media update, allowing users to interact with the publisher of the social media update. However, for information slots that combine multiple marketing updates, controls for liking and / or commenting can be omitted, meaning users cannot like or comment on information slots that combine multiple marketing updates. Alternatively, controls for unified liking and commenting can be deployed in the information slots, especially for information slots that combine multiple marketing updates published by the same marketing account or multiple marketing updates of the same type. For example, when a user clicks the liking control displayed in an information slot that combines multiple marketing updates published by the same marketing account, the user's liking information will be displayed below each marketing update published by that marketing account on the corresponding marketing update details page, thus achieving one-click liking and avoiding repetitive operations.
[0094] In some embodiments, see Figure 7 , Figure 7 This is a flowchart illustrating the information flow display processing method provided in the embodiments of this application, based on... Figure 3 After step S103, the terminal device can also execute Figure 7 Steps S104 to S105 shown will combine Figure 7 The steps shown are explained.
[0095] In step S104, in response to a trigger operation on an information segment displaying multiple marketing information in the human-computer interaction interface, a marketing information details page is presented.
[0096] In some embodiments, for information slots displaying multiple marketing messages in the human-computer interaction interface, the terminal device can bind a corresponding jump link to each information slot. When the terminal device receives a user's click operation on an information slot displaying multiple marketing messages in the human-computer interaction interface, it jumps to the corresponding marketing information details page, where the content of multiple marketing messages is displayed. Thus, when a user learns from the content displayed in an information slot that a particular marketing message is of interest, they can quickly jump to the corresponding details page to help them further understand the details of the marketing message. Furthermore, the display can also be based on keywords or images triggered by the user in the information slot to locate the corresponding marketing message, instead of displaying it from the beginning. For example, when a user clicks... Figure 4 When the information in information position 401 is "new energy vehicles", the corresponding marketing information for "new energy vehicles" will be displayed directly on the corresponding marketing details page, instead of first displaying the marketing information for "BuX Family Milk Sticks", thus improving the efficiency of users finding target information.
[0097] For example, see Figure 8 , Figure 8 This is a schematic diagram illustrating an application scenario of the information flow display processing method provided in the embodiments of this application, such as... Figure 8 As shown, when the terminal device receives a click operation from the user on the information position 801 that combines multiple marketing information displayed in the human-computer interaction interface, it jumps to the corresponding marketing information details page 802. The marketing information details page 802 displays the complete content corresponding to each of the multiple marketing information. In this way, the user can view multiple marketing information at once on the marketing information details page 801, which improves the user's browsing efficiency.
[0098] In step S105, in response to the triggering operation of the unmerge control displayed on the marketing information details page, the merged display of multiple marketing information corresponding to the merged display method is canceled for the new information stream and the marketing information to be displayed later in the information stream, according to the merged display method adopted by the information position.
[0099] In some embodiments, a "Unmerge" control may also be displayed on the marketing information details page after the redirection. When the terminal device receives a user's click operation on the "Unmerge" control, it cancels the merged display of multiple marketing information corresponding to the merged display method based on the merged display method adopted by the information position (i.e., the information position with multiple marketing information merged that the user clicks in the human-computer interaction interface). The merged display method adopted by the information position includes at least one of the following: merging and displaying multiple marketing information of the same type; merging and displaying multiple marketing information published by the same marketing account.
[0100] For example, to show how to unmerge multiple marketing messages published by the same marketing account, see [link / example]. Figure 9 , Figure 9 This is a flowchart illustrating the information flow display processing method provided in an embodiment of this application, as shown below. Figure 9 As described above, a de-merge control 902 is displayed on the marketing information details page 901. When the terminal device receives a user's click operation on the de-merge control 902, a pop-up window presents a candidate box 903 including "Don't fold him / her again" and "Cancel". When the user clicks the option corresponding to "Don't fold him / her again" displayed in the candidate box 903, the terminal device cancels the merged display of multiple marketing information published by the account name "Selling Toys Factory Xiaohua" for the new information stream and subsequent marketing information to be displayed in the information stream. That is, each marketing information published by the account name "Selling Toys Factory Xiaohua" occupies one information position in the human-computer interaction interface.
[0101] In other embodiments, the unmerge control may also be displayed in the information slot occupied by multiple marketing messages in the human-computer interaction interface. For example, in response to the user's trigger operation on the unmerge control displayed in the information slot occupied by multiple marketing messages, the terminal device cancels the merged display of multiple marketing messages corresponding to the merged display method according to the merged display method adopted by the information slot, for the marketing messages to be displayed later in the new information stream and the original information stream; wherein, the merged display method adopted by the information slot includes at least one of the following: merging and displaying multiple marketing messages of the same type; merging and displaying multiple marketing messages published by the same marketing account.
[0102] For example, see Figure 10 , Figure 10 This is a schematic diagram illustrating an application scenario of the information flow display processing method provided in the embodiments of this application, such as... Figure 10As shown, the information slot 1001 in the human-computer interaction interface, which displays multiple marketing messages, includes a de-merge control 1002. The information slot 1001 uses a merge display method that merges multiple marketing messages of type "toy". When the terminal device receives a user's click on the de-merge control 1002, a pop-up window presents a candidate box 1003 including "Do not collapse this type" and "Cancel". When the user clicks the "Do not collapse this type" option displayed in the candidate box 1003, the terminal device cancels the merge display of multiple marketing messages of type "toy" in the new information stream and the subsequent marketing messages to be displayed in the information stream. That is, for marketing messages of type "toy", each marketing message occupies one information slot in the human-computer interaction interface when it is subsequently displayed.
[0103] In some embodiments, the type of account publishing marketing information in the information stream may include business accounts (e.g., social accounts) and marketing accounts. The type of account used to merge and display multiple marketing messages is a marketing account. That is, the terminal device only merges and displays multiple marketing messages published by marketing accounts. As for marketing messages published by business accounts, since the number and / or frequency of marketing messages published by business accounts are relatively small, the impact on users browsing normal social dynamic information is small. Therefore, marketing messages published by business accounts can be displayed in the same way as business information (e.g., social dynamic information).
[0104] For example, taking social networks as an example, when the information stream includes marketing information published by social accounts, the marketing information published by the social accounts is displayed, and each marketing message published by a social account occupies one information slot in the human-computer interaction interface. The information slot occupied by each marketing message published by a social account is different from the information slot occupied by each social dynamic message and the information slot occupied by multiple marketing messages published by a marketing account. In other words, when displaying marketing information published by social accounts in the human-computer interaction interface, each marketing message occupies one information slot in the human-computer interaction interface.
[0105] In other embodiments, the terminal device may not distinguish between the types of accounts that publish marketing information; that is, the terminal device will display both marketing information published by business accounts and marketing accounts in a merged manner.
[0106] In some embodiments, the terminal device may distinguish the type of each publishing account in the information flow as a business account or a marketing account by: determining the number and / or frequency of marketing information published by each marketing information publishing account; determining the type of publishing account whose number and / or frequency of publishing marketing information reaches a corresponding threshold as a marketing account; determining the type of publishing account whose number and / or frequency of publishing marketing information does not reach the corresponding threshold as a business account; and determining the type of publishing account that has not published any marketing information as a business account.
[0107] For example, a terminal device can count the number and / or frequency of marketing messages published by each marketing account within a certain period (e.g., within one month). For instance, if the terminal device counts that the number and / or frequency of marketing messages published by account A within a certain period reaches a certain threshold, such as account A publishing 100 marketing messages within a certain period, or account A publishing one marketing message every hour, then the terminal device will classify account A as a marketing account. On the other hand, if the terminal device counts that account B has only published two marketing messages within the past month, then the terminal device will classify account B as a business account, such as a social media account.
[0108] The information flow display processing method provided in this application adopts different display methods for different types of information in the information flow. For example, for marketing information, multiple marketing information in the information flow are merged into one information position for display; while for business information, each business information occupies one information position in the human-computer interaction interface. In this way, the content of marketing information can be basically displayed, and the user's behavior of browsing business information is more efficient, reducing the harassment of marketing information and improving the browsing experience.
[0109] The following uses WeChat Moments as an example to illustrate an exemplary application of this application in a real-world application scenario.
[0110] This application provides a method for displaying information streams. When calling a machine learning model to determine advertisements, it also includes images and videos posted by users in their Moments (WeChat's social media feed) within the analysis scope. By comprehensively considering text, images, and videos, it determines whether the information posted by users is an advertisement, thereby improving the accuracy and coverage of the model's recognition. Simultaneously, at the UI level, multiple advertisements posted by the same merchant user (corresponding to the aforementioned marketing account) are merged to reduce the number of advertisements in Moments and increase their visibility. Furthermore, the folding style is upgraded to a link-like style, maintaining the existing style experience and reducing user discomfort when browsing Moments. At the same time, merging (or folding) multiple advertisements into a slot (corresponding to an information slot) prevents excessive content from being displayed, thus avoiding users clicking on them out of curiosity.
[0111] For example, see Figure 11 , Figure 11 This is a schematic diagram illustrating the principle of classifying information in an information flow, as provided in an embodiment of this application. For example... Figure 11 The process begins by finding corresponding embeddings for the information, including video (e.g., multiple frames extracted from a video), text, and images, using their respective representation methods. Next, feature extraction is performed on the embeddings (i.e., vectorized text and images) to obtain the video, text, and image features of the information. Then, a concat operation is used to fuse these features to obtain the information's feature representation (i.e., the fused feature). Finally, this feature representation is input into fully connected layers (FC) for mapping to determine the probability that the information belongs to social dynamics or marketing information. The type corresponding to the highest probability is then determined as the information type. For example, if the probability of the information's feature representation mapping to social dynamics is greater than the probability of it mapping to marketing information, then the information type is determined to be social dynamics.
[0112] The information flow display processing method provided in this application addresses the scenario where advertisements posted by merchants in WeChat Moments cause harassment to ordinary users. It helps users reduce advertising harassment and improve the browsing experience by merging multiple advertisements posted by the same merchant within the same timeframe. The specific processing logic is as follows: (1) Within a fixed interval, multiple advertisements published by the same merchant user are merged into one slot for display.
[0113] Every n posts in a Moments feed (the value of n can be controlled by the backend server) are positioned within a specific interval. Within a given interval, if a merchant user (i.e., a marketing account) posts multiple ads, the client will collapse these ads into a single slot. The outer layer of the slot will not display controls for liking or commenting, and active liking and commenting will not be supported. However, regular Moments posts (corresponding to the aforementioned social dynamic information) by the merchant user will not be affected. Furthermore, the slot's position in the client's user interface can be the earliest ad posted by the merchant user within the interval (or the latest ad, or a representative ad). The posting time displayed in the slot can be the posting time corresponding to the earliest ad posted by the merchant user within the interval (or the time corresponding to the latest ad, or a time period, such as the time from the earliest posting time to the latest posting time).
[0114] In other embodiments, an interval can also be defined based on a period (e.g., m hours) or based on the number of users who publish, for example, defining the content published by three consecutive users as an interval.
[0115] (2) When the client receives a user’s click operation on a folded slot (i.e., a slot that combines multiple ads), it can jump to the details page to display all the ads of the corresponding merchant user that are folded in the range.
[0116] For example, when a user clicks on a collapsed slot displayed in the human-computer interaction interface, a new details page will open. This page will display all the merchant's ads that have been collapsed within that range. The ad content displayed on the details page is presented in the normal style of a WeChat Moments post, supporting viewing likes and comments, as well as allowing users to actively like and comment.
[0117] (3) The details page displays an unfolding function key, which allows you to unfold a merchant user's page.
[0118] For example, see Figure 12 , Figure 12 This is a schematic diagram illustrating an application scenario of the information flow display processing method provided in the embodiments of this application, such as... Figure 12As shown, on the Moments page 1201, there are two folded slots: 1202 for the account "KISSY Agent-Dingding" (which contains two ads) and 1203 for the account "Toy Factory Xiaohua" (which contains four ads). For folded slots with multiple ads, no controls for liking or commenting are displayed on the outer layer of the slot. However, for social media posts shared by ordinary users, controls for liking and commenting (1204) are displayed below each post's corresponding slot. Users can also access the corresponding details page by clicking on either folded slot 1202 or 1203. For example, when a user clicks on the collapsed slot 1203 displayed on the Moments page 1201, the client is redirected to the details page 1205. Details page 1205 fully displays four advertisements posted by the merchant user "Selling Toys Factory Xiaohua". Below each advertisement, controls 1206 are displayed for users to like and comment on the advertisements posted by the merchant user. In addition, details page 1205 also displays an uncollapse function button 1207. When the user clicks the uncollapse function button 1207, a candidate box 1208 pops up containing "Don't Collapse This / Her" and "Cancel". When the user clicks "Don't Collapse This / Her" displayed in candidate box 1208, the server will no longer collapse the multiple advertisements posted by the merchant user with the account name "Selling Toys Factory Xiaohua", but will instead display them in the same way as social media updates shared by ordinary users.
[0119] The following explains the process of determining advertisements and the process of the client collapsing multiple advertisements for display.
[0120] 1. Determination of Advertising (1) To determine what constitutes an advertisement, a machine learning classification model can be used. For example, a large number of samples can be obtained through manual judgment by labelers, and then the text, images, and images obtained from video frames in the samples can be used as materials to train the model, thereby determining whether a piece of content is an advertisement; (2) Since classification models struggle to balance accuracy and recall, supplementary judgment logic can be added before finalizing ad identification. For example, in addition to ad identification, the server can also determine the identity of the user posting the ad. When the number and frequency of ads posted by a user reach a certain threshold, the server can identify the user as a professional or semi-professional advertiser, i.e., a merchant user. Only when a user with merchant status posts an ad will that ad be subject to a certain demotion by the server, i.e., the collapsed display mentioned above. Meanwhile, lifestyle content posted by merchant users and ads not identified as posted by merchant users will be displayed normally.
[0121] (3) User privacy is taken into account during the data annotation process. First, when selecting data for annotation, a privacy screening layer can be performed through an algorithm model to delete content in the data that may involve user personal information. Second, during the annotation process, user personal information is not displayed to the annotators at all, and the annotation backend is completed in a highly confidential and strictly restricted operating platform.
[0122] 2. Collapsible display of multiple ads (1) Folding is calculated from the perspective of the viewer (i.e., the user). Therefore, if different users can see the same content, the folding method may be different. The backend server can divide the number of contents that each viewer can see into intervals according to the quantity. Taking a certain piece of content at a certain moment when the function is activated (such as entering or refreshing Moments) as the starting point, every certain number is recorded as an interval. Within the same interval, multiple advertisements published by a single user identified as a merchant will be folded together.
[0123] (2) The specific differentiation method is as follows: During each content request, the client and the backend server will exchange information on the interval division and the interval in which the previous content was located, so as to keep the division standards on the client side and the backend server side consistent. Then, based on the above information, the server calculates the corresponding interval and which ads will be collapsed into which slot, and caches them to ensure response performance. At the same time, the server will store the interval information for a certain period of time, but ads that exceed the certain period of time will not be collapsed.
[0124] (3) The implementation logic of the folded display layer is implemented by the client after receiving the information returned by the server. The client first deploys the corresponding folded slots in the normal content (that is, the information slots used to display multiple marketing information combined as mentioned above), and points the fold to a set of folded content (such as multiple advertisements published by the same merchant user). The outer layer of the folded slot only displays the latest one of the folded content, that is, the content displayed in the folded slot may be updated as advertisements are added. At the same time, a small, fully functional Moments information stream is implemented in the set of folded content. The client only sends a request to the server for content retrieval when the viewer enters the set of folded content.
[0125] The information flow display method provided in this application assigns different display weights to different types of Moments content in terms of style. This ensures that advertisements receive basic display while making the user's browsing behavior more efficient and focused on the life content posted by the user's friends. Whether to view advertisements posted by merchants can be automatically selected by the user. Simultaneously, merging multiple advertisements into a single display slot saves space in the human-computer interaction interface and user effort, and allows users interested in advertisements to view multiple advertisements at once. Furthermore, the style, similar to external links, minimizes the user's cognitive cost, ensuring that users do not abruptly discover a new format in their Moments content flow, quickly understand it, and can access the next level of details page by clicking on the format.
[0126] In some embodiments, when users have a low tolerance for advertising, advertisements posted by merchants can be hidden directly, or their ranking can be downgraded so that they can be displayed only after other content has been shown.
[0127] The following continues to describe an exemplary structure of the information stream display processing device 455 provided in the embodiments of this application, implemented as a software module. In some embodiments, such as Figure 2 As shown, the software modules in the display processing device 455 storing the information stream in the memory 450 may include: an acquisition module 4551, a display module 4552, a division module 4553, a classification module 4554, and a determination module 4555.
[0128] The acquisition module 4551 is used to acquire information flow, wherein the types of information in the information flow include business information and marketing information; the display module 4552 is used to display at least one piece of business information in the information flow in the human-computer interaction interface, and each piece of business information occupies one information position in the human-computer interaction interface; the display module 4552 is also used to merge multiple pieces of marketing information in the information flow into one information position in the human-computer interaction interface for display; wherein the information position occupied by multiple pieces of marketing information is different from the information position occupied by any piece of business information.
[0129] In some embodiments, the display module 4551 displays multiple marketing messages in a single information slot of the human-computer interaction interface in at least one of the following ways: forming a keyword combination based on the keywords corresponding to the multiple marketing messages, and displaying the keyword combination in a single information slot of the human-computer interaction interface; stitching together the images included in the multiple marketing messages to form a preview image combination, and displaying the preview image combination in a single information slot of the human-computer interaction interface; or displaying the name of the account that published the multiple marketing messages and the number of multiple marketing messages in a single information slot of the human-computer interaction interface.
[0130] In some embodiments, the information flow display processing device 455 further includes a division module 4553 for dividing the information flow into multiple intervals; the information flow display processing device 455 also includes a classification module 4554 for identifying at least one marketing information included in the interval; and the display module 4552 is further used to merge the multiple marketing information in the interval into an information position in the human-computer interaction interface when the position of the interval is displayed in the human-computer interaction interface and the interval includes multiple marketing information.
[0131] In some embodiments, the information flow display processing device 455 further includes a determination module 4555, which is used to determine the publishing account of each marketing message in the interval, and perform the following processing for each publishing account: when the number of marketing messages published by the publishing account in the interval is multiple, the multiple marketing messages published by the publishing account in the interval are merged into an information position in the human-computer interaction interface corresponding to the publishing account for display.
[0132] In some embodiments, the determining module 4555 is further configured to determine the type of each marketing message in the interval, and perform the following processing for each type: when there are multiple marketing messages belonging to the type in the interval, the multiple marketing messages belonging to the type in the interval are merged into an information position corresponding to the type in the human-computer interaction interface for display.
[0133] In some embodiments, the division module 4553 is further configured to divide the information flow into multiple intervals in any of the following ways: dividing the information flow into intervals corresponding to multiple publication time periods; dividing the information flow into multiple intervals including the same number of information; dividing the information flow into multiple intervals including the same number of publishing accounts.
[0134] In some embodiments, the display module 4552 is further configured to present a marketing information details page in response to a trigger operation on an information segment displaying multiple marketing information in the human-computer interaction interface; wherein the marketing information details page displays the content of multiple marketing information.
[0135] In some embodiments, a de-merge control is displayed on the marketing information details page; the display module 4552 is further configured to, in response to a trigger operation on the de-merge control, cancel the merging display of multiple marketing information corresponding to the merging display method, for the new information stream and the marketing information to be displayed subsequently in the information stream, according to the merging display method adopted by the information position; wherein, the merging display method includes at least one of the following: merging multiple marketing information of the same type; merging multiple marketing information published by the same publishing account.
[0136] In some embodiments, a de-merge control is displayed in the information space occupied by multiple marketing messages; the display module 4552 is further configured to, in response to a trigger operation on the de-merge control, cancel the merging display of multiple marketing messages corresponding to the merging display method adopted by the information space, for the new information stream and the marketing messages to be displayed subsequently in the information stream; wherein, the merging display method includes at least one of the following: merging multiple marketing messages of the same type; merging multiple marketing messages published by the same publishing account.
[0137] In some embodiments, the types of accounts publishing marketing information include business accounts and marketing accounts, and the type of account used to merge and display multiple marketing information is a marketing account; the classification module 4554 is further used to classify each piece of information in the information flow as business information or marketing information; the display module 4552 is further used to display the marketing information published by the business account when the information flow includes marketing information published by the business account, and each piece of marketing information published by the business account occupies one information position in the human-computer interaction interface; wherein, the information position occupied by each piece of marketing information published by the business account is different from the information position occupied by each piece of business information and the information position occupied by each piece of marketing information published by each marketing account.
[0138] In some embodiments, the classification module 4554 is further configured to invoke a machine learning model to perform the following processing for each piece of information in the information stream: extracting features from at least one of the text, images, and videos included in the information; fusing the extracted features; and determining the type of information based on the probability that the fused feature mapping obtained after fusion processing belongs to business information and marketing information, with the type corresponding to the highest probability being the type of information.
[0139] In some embodiments, the determining module 4555 is further configured to determine the quantity and / or frequency of marketing information published by each marketing information publishing account; to determine the type of publishing account whose quantity and / or frequency of publishing marketing information reaches the corresponding threshold as a marketing account; to determine the type of publishing account whose quantity and / or frequency of publishing marketing information does not reach the corresponding threshold as a business account; and to determine the type of publishing account that has not published any marketing information as a business account.
[0140] It should be noted that the description of the apparatus in this application embodiment is similar to the description of the method embodiment above, and has similar beneficial effects as the method embodiment, therefore it will not be repeated. For any technical details not covered in the information flow display processing apparatus provided in this application embodiment, please refer to... Figure 3 ,or Figure 7 The meaning is understood in accordance with the description of any of the accompanying drawings.
[0141] This application provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the information flow display processing method described in this application embodiment.
[0142] This application provides a computer-readable storage medium storing executable instructions. When these executable instructions are executed by a processor, they cause the processor to perform the method provided in this application, for example... Figure 3 or Figure 7 The method for displaying and processing the information flow is shown.
[0143] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, 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.
[0144] In some embodiments, executable instructions may take the form of a program, software, software module, script, 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 a standalone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0145] As an example, 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 collaborating files (e.g., a file that stores one or more modules, subroutines, or code sections).
[0146] As an example, executable instructions can be deployed to execute on a single computing device, or on multiple computing devices located in one location, or on multiple computing devices distributed across multiple locations and interconnected via a communication network.
[0147] In summary, the embodiments of this application employ different display methods for different types of information in the information stream. For example, for marketing information in the information stream, multiple marketing information items are displayed together; while for social dynamic information, each social dynamic information item is displayed separately. In this way, it is ensured that marketing information can be displayed in a basic way, while making the user's browsing behavior of normal social dynamic information more efficient, helping users reduce the harassment of marketing information and improve the browsing experience.
[0148] 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 displaying and processing information streams, characterized in that, The method includes: Acquire information flow, wherein the types of information in the information flow include business information and marketing information; The information flow is divided into multiple intervals, and at least one of the marketing messages included in each interval is identified; When the location of the interval is displayed in the human-computer interaction interface and the interval includes multiple marketing information, the multiple marketing information in the interval are merged into one information position in the human-computer interaction interface for display. The information bits occupied by the multiple marketing information are different from the information bits occupied by any of the business information.
2. The method according to claim 1, characterized in that, The process of dividing the information stream into multiple intervals includes: The information flow can be divided into multiple intervals using any of the following methods: The information flow is divided into intervals corresponding to multiple publication time periods; The information flow is divided into multiple intervals, each containing the same amount of information. The information flow is divided into multiple intervals, each containing the same number of publishing accounts.
3. The method according to claim 2, characterized in that, When dividing the information stream into intervals corresponding to multiple publication time periods, the time granularity used to divide the intervals is negatively correlated with the amount of information in the information stream. The time granularity includes any one of the following: a fixed value, or the user's continuous reading time. When dividing the information stream into multiple intervals containing the same amount of information, the quantity granularity used to divide the intervals is positively correlated with the amount of information in the information stream. The quantity granularity includes any one of the following: a fixed value, or the number of information that the user reads continuously. When dividing an information stream into multiple intervals that include the same number of publishing accounts, the multiple intervals are divided according to the granularity of the number of accounts. Each interval includes information published by publishing accounts with the same granularity of the number of accounts, which is determined by any of the following methods: fixed or determined according to the number of accounts that a user reads continuously.
4. The method according to any one of claims 1 to 3, characterized in that, The method further includes: If the quantity of marketing information in the information flow does not exceed the quantity threshold, then perform any of the following processes: Multiple marketing messages published by the same marketing account will be merged and displayed in the information slot corresponding to the marketing account. Marketing information of the same type is merged into a single information slot corresponding to that type for display.
5. The method according to any one of claims 1 to 3, characterized in that, The method further includes: If any interval includes a marketing message, then the marketing message within that interval will be displayed in one information slot on the human-computer interaction interface.
6. The method according to any one of claims 1 to 4, characterized in that, When the business information is social dynamic information, the method further includes: Controls for liking and / or commenting are displayed in the information slot corresponding to each of the aforementioned social dynamic information; For information slots that combine multiple marketing messages published by the same marketing account, or information slots that combine multiple marketing messages of the same type, controls for liking and commenting are displayed in the information slots.
7. The method according to claim 6, characterized in that, When the information field displays controls for liking and commenting, the method further includes: In response to a click operation on the control in the information field, like information is displayed below each marketing message published by the marketing account on the corresponding marketing information details page.
8. The method according to any one of claims 1 to 4, characterized in that, The method of merging multiple marketing messages into a single information slot in the human-computer interaction interface for display includes at least one of the following: A keyword combination is formed based on the keywords corresponding to the multiple marketing messages, and the keyword combination is displayed in an information slot of the human-computer interaction interface. The images included in the multiple marketing messages are stitched together to form a preview image combination, and the preview image combination is displayed in an information position of the human-computer interaction interface; The names of the accounts that published the multiple marketing messages and the quantity of the multiple marketing messages are displayed in an information field of the human-computer interaction interface.
9. The method according to any one of claims 1 to 4, characterized in that, The step of merging multiple marketing messages from the specified interval into a single information slot in the human-computer interaction interface for display includes: Identify the account that published each marketing message within the specified interval, and perform the following processing for each account: When the number of marketing messages published by the publishing account in the specified interval is multiple, the multiple marketing messages published by the publishing account in the specified interval are merged into one information slot in the human-computer interaction interface corresponding to the publishing account for display.
10. The method according to any one of claims 1 to 4, characterized in that, The step of merging multiple marketing messages from the specified interval into a single information slot in the human-computer interaction interface for display includes: Determine the type of each marketing message within the specified interval, and perform the following processing for each type: When there are multiple marketing messages of the same type in the specified interval, the multiple marketing messages of the same type in the specified interval are merged into one information slot in the human-computer interaction interface that corresponds to the type and displayed thereon.
11. The method according to any one of claims 1 to 10, characterized in that, The method further includes: At least one of the business information items in the information flow is displayed in the human-computer interaction interface, and each of the business information items occupies one information bit in the human-computer interaction interface.
12. The method according to any one of claims 1 to 4, 6 to 11, characterized in that, The method further includes: In response to a trigger operation on an information segment in the human-computer interaction interface that combines multiple marketing information segments, a marketing information details page is displayed; The marketing information details page displays multiple pieces of marketing information.
13. The method according to claim 12, characterized in that, The marketing information details page displays a control to unmerge; The method further includes: In response to the trigger operation of the unmerge control, based on the merging display method adopted by the information bit, the merging display of multiple marketing information corresponding to the merging display method is canceled for the new information stream and the subsequent marketing information to be displayed in the information stream; The merging display method includes at least one of the following: merging and displaying multiple marketing messages of the same type; merging and displaying multiple marketing messages published by the same publishing account.
14. The method according to any one of claims 1 to 4, 6 to 11, characterized in that, Multiple information slots occupied by the aforementioned marketing messages display a control to unmerge them; The method further includes: In response to the trigger operation of the unmerge control, based on the merging display method adopted by the information bit, the merging display of multiple marketing information corresponding to the merging display method is canceled for the new information stream and the subsequent marketing information to be displayed in the information stream; The merging display method includes at least one of the following: merging and displaying multiple marketing messages of the same type; merging and displaying multiple marketing messages published by the same publishing account.
15. The method according to any one of claims 1 to 4, 6 to 11, characterized in that, The types of accounts that publish the marketing information include business accounts and marketing accounts, and the types of accounts that publish the multiple marketing information messages used for merging and displaying are marketing accounts; The method further includes: Each piece of information in the information flow is categorized into business information or marketing information; When the information stream includes marketing information published by the business account, the marketing information published by the business account is displayed, and each piece of marketing information published by the business account occupies one information slot in the human-computer interaction interface; The information space occupied by each marketing message published by the business account is different from the information space occupied by each business message and the information space occupied by each marketing message published by each marketing account.
16. The method according to claim 15, characterized in that, The step of classifying each piece of information in the information flow into business information or marketing information includes: Invoke a machine learning model to perform the following processing for each piece of information in the information stream: Feature extraction is performed on at least one of the information, including text, images, and videos; The extracted features are fused, and based on the probability that the fused features are mapped to business information and marketing information, the type corresponding to the highest probability is determined as the type of information.
17. The method according to claim 15, characterized in that, After classifying each piece of information in the information flow into business information or marketing information, the method further includes: Determine the quantity and / or frequency of marketing messages published by each marketing account; Accounts that publish marketing information in a quantity and / or frequency that reaches the corresponding threshold are classified as marketing accounts; accounts that publish marketing information in a quantity and / or frequency that does not reach the corresponding threshold are classified as business accounts; and accounts that publish no marketing information are classified as business accounts.
18. An information stream display processing device, characterized in that, The device includes: An acquisition module is used to acquire information streams, wherein the types of information in the information streams include business information and marketing information; The display module is used to divide the information flow into multiple intervals and identify at least one of the marketing information included in the intervals; when the position of the interval is displayed in the human-computer interaction interface and the interval includes multiple marketing information, the multiple marketing information in the interval is merged into an information position in the human-computer interaction interface for display. The information bits occupied by the multiple marketing information are different from the information bits occupied by any of the business information.
19. An electronic device, characterized in that, include: Memory, used to store executable instructions; A processor, configured to implement the display processing method for the information stream according to any one of claims 1-17 when executing the executable instructions.
20. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the information stream display processing method according to any one of claims 1-17.
21. A computer program product comprising computer instructions, characterized in that, When the computer instructions are executed by the processor, they implement claim 1. The method for displaying information streams as described in any one of the 17 claims.