Message interaction method

By generating and sending dynamic pictures, the closed one-to-one interaction mode of 5G message chatbot is broken, and the problem of low user willingness to interact is solved, and the user's sense of participation and the activity of the 5G message ecosystem is improved.

CN119276824AActive Publication Date: 2025-01-07CHINA MOBILE INTERNET CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411340232.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2025-01-07
Estimated Expiration
2044-09-25

AI Technical Summary

Technical Problem

The existing 5G message chatbot interaction mechanism is closed one-to-one, which cannot effectively improve users' willingness to interact, resulting in low user feedback and sense of participation, and it is difficult to stimulate interaction activity.

Method used

By obtaining the target barrage content and the pictures to be sent to the user terminal, generating dynamic pictures and sending them to the user terminal, breaking the one-to-one interaction mode, creating a group interaction environment, and increasing user participation and activity.

Benefits of technology

It improves the interaction between users and messages, enhances the sense of participation and stickiness of users, stimulates users' interaction interest, reduces the difficulty of participation, and provides an active tool for the 5G message ecosystem.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119276824A_ABST
    Figure CN119276824A_ABST
Patent Text Reader

Abstract

The invention discloses a message interaction method, belongs to the technical field of communication, and is used for improving interactivity between messages and users. The method comprises the following steps: acquiring target bullet screen content and a picture to be sent to a user terminal; generating a dynamic picture including the target bullet screen content according to the picture and the target bullet screen content; and sending a message comprising the dynamic picture to the user terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a message interaction method. Background Art

[0002] Currently, the form of 5G message chatbot is a one-to-one response interaction mechanism. When a chatbot pushes a 5G message to a user, the subsequent interaction implementation technology is mainly keyword matching. If the keyword is hit, it will automatically use the corresponding pre-set content to respond; or with the help of generative AI, the answer is generated in real time for response; or human response dialogue is used in the background.

[0003] Whether users actively engage with a chatbot or passively receive push notifications, the interaction is typically one-on-one, conversational. Generally speaking, users are not very willing to engage, especially with passively received 5G chatbot messages. A crucial indicator of the quality of the 5G messaging ecosystem is the number of interactions. The emergence of a number of highly interactive and popular chatbots will significantly invigorate the entire 5G messaging ecosystem. To achieve these types of viral chatbots, the most important factor is increasing user engagement. However, current mechanisms for this type of interaction are difficult to effectively enhance, even with high-quality content. This closed, one-on-one dialogue prevents social interaction, hindering user feedback and engagement. Summary of the Invention

[0004] The embodiments of the present application provide a message interaction method that can solve the problem that chatbot messages cannot interact with users.

[0005] In the first aspect, an embodiment of the present application provides a message interaction method, which includes: obtaining target barrage content and a picture to be sent to a user terminal; generating a dynamic picture including the target barrage content based on the picture and the target barrage content; and sending a message including the dynamic picture to the user terminal.

[0006] In the second aspect, an embodiment of the present application provides a message interaction device, which includes: an acquisition module for acquiring target barrage content and a picture to be sent to a user terminal; a generation module for generating a dynamic picture including the target barrage content based on the picture and the target barrage content; and a sending module for sending a message including the dynamic picture to the user terminal.

[0007] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0009] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer performs the steps of the method described in the first aspect.

[0010] In an embodiment of the present application, by obtaining the target barrage content and the picture to be sent to the user terminal; generating a dynamic picture including the target barrage content based on the picture and the target barrage content; and sending the message including the dynamic picture to the user terminal, the interactivity between the message and the user can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 This is a flow chart of a message interaction method provided in an embodiment of the present application; Figure 2 This is a schematic diagram of a bullet screen invitation notification provided in an embodiment of the present application; Figure 3 This is a schematic diagram of an intimacy calculation model provided in an embodiment of the present application; Figure 4 This is a schematic diagram of time division of an animated image provided by an embodiment of the present application; Figure 5 This is a schematic diagram of a loading animation provided by an embodiment of the present application; Figure 6 This is a schematic diagram of the coordinates of a bullet screen at consecutive moments provided by an embodiment of the present application; Figure 7 This is a barrage content distribution ratio diagram provided by an embodiment of the present application; Figure 8 This is a structural diagram of a message interaction device provided in an embodiment of the present application; Figure 9 This is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0012] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0013] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0014] The message interaction method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0015] Figure 1 An embodiment of the present application provides a message interaction method, which can be executed by an electronic device. In other words, the method can be executed by software or hardware installed on the electronic device, and the method includes the following steps: Step 102: Obtain the target barrage content and the picture to be sent to the user terminal.

[0016] In the embodiment of the present application, the "bullet screen" function is added to the 5G message to provide a carrier for real-time group interaction in the 5G message chatbot. Therefore, it is necessary to first obtain the target bullet screen content and the picture to be sent to the user terminal.

[0017] In one implementation, the target barrage content includes the first barrage content, the second barrage content and / or the third barrage content, and obtaining the target barrage content and the picture to be sent to the user terminal includes: obtaining the picture to be sent to the user terminal from the message sending request body; when there is a first barrage content recently sent by the current user, obtaining the first barrage content; when there is a second barrage content other than the first barrage content, obtaining all the second barrage contents or obtaining a first preset number of the second barrage contents; generating the third barrage content without storing the first barrage content and the second barrage content.

[0018] Specifically, the chatbot operator sends a 5G chatbot card message to the user terminal. The message request is first called to each "5G Message CSP platform." The CSP platform obtains the image URL of the card homepage from the request body, and thus obtains the image to be sent to the user terminal.

[0019] If the current user has recently sent a first barrage content, the first barrage content can be directly obtained; and if there is a second barrage content other than the first barrage content, all the second barrage content can be obtained or a first preset number of second barrage content can be obtained; if the first and second barrage content are not stored, a third barrage content can be generated. The first preset number and the third barrage content can be set according to actual needs and are not specifically limited here.

[0020] As an example, the CSP platform determines the parameters for initializing the animated image based on whether the chatbot has a bullet comment. The rules are as shown in the table below. Ultimately, the two parameters of "bullet comment text content + original static image URL" are passed to the downstream dynamic image generation system. The bullet comment text content contains two parts of information: Bullet comment information (M) = the current user's most recent bullet comment (I) + the most recent 30 bullet comments (P);

[0021] Step 104: Generate a dynamic image including the target barrage content based on the image and the target barrage content.

[0022] Specifically, after receiving the target barrage content and picture, the dynamic picture generation system can generate a dynamic picture including the target barrage content.

[0023] In one implementation, when the target barrage content includes the first barrage content, the personal dynamic picture is generated according to the target barrage content and the picture; When the target barrage content does not include the first barrage content, the universal dynamic picture is generated according to the target barrage content and the picture.

[0024] After receiving the target barrage content and image, the animated image generation system can generate two types of animated GIF images containing barrage according to the rules: person animated images and general animated images. Specifically, if the target barrage content includes the first barrage content, the personal animated image is generated based on the target barrage content and image; if the target barrage content does not include the first barrage content, the general animated image is generated based on the target barrage content and image.

[0025] As an example, the rules for generating animated images are as follows: the barrage information (M) received by the animated image generation system = the current user's most recent barrage (I) + the most recent 30 barrages (P). When I is empty, a general animated image is generated (the URL address format is http: / / domain name / image / top / 10-digit self-incremental code.gif); when I is not empty, a personal animated image is generated (the URL address format is http: / / domain name / image / top / 10-digit self-incremental code-machine code.gif).

[0026] Step 106: Send a message including the dynamic picture to the user terminal.

[0027] After generating the dynamic image, a message including the dynamic image can be sent to the user terminal. Specifically, the dynamic image generation system responds to the CSP platform with the URL address of the GIF image. For example, the URL format can be: https: / / domain name / img / top / 10-bit self-incremental code (-machine code).gif, such as https: / / test.cn / img / top / 0000000001.gif, https: / / test.cn / img / top / 0000000001-jfU07I.gif.

[0028] The CSP platform replaces the top bar image address in the original request body with the new GIF address, and then delivers the 5G message sending request to the message layer of the 5G message; the message request is delivered to the user terminal from the message layer; the user terminal loads various resources according to the message, among which the top image of the card is loaded from the CDN at a scheduled time of 3 seconds. Because each generated animated image is played at a fixed frame rate of 4 seconds, the scheduled refresh interval must be less than the playback time; the loaded URL is the image name plus 1. If the current image address is http: / / domain name / image / top / 1000000001.gif, the image address loaded in the subsequent period will be http: / / domain name / image / top / 1000000002(3|4|5...).gif; after the terminal completes loading and rendering of the entire resource, it is displayed to the user.

[0029] The user terminal can load the latest dynamic image according to the agreed-upon rules and then render it for display to the user, ensuring that the user's barrage is displayed in near real time. The loading rules are as follows: if the user has not sent a barrage within 5 seconds, the general dynamic image is loaded, and the URL address format is http: / / domain name / image / top / 10-digit self-incremental code.gif; if the user has sent a barrage within 5 seconds, the personal dynamic image is loaded, and the URL address format is http: / / domain name / image / top / 10-digit self-incremental code-machine code.gif.

[0030] The message interaction method provided in the embodiment of the present application obtains the target barrage content and the picture to be sent to the user terminal; generates a dynamic picture including the target barrage content based on the picture and the target barrage content; and sends the message including the dynamic picture to the user terminal. This can solve the problem that the message and the user cannot form social interaction, improve the interactivity between the user and the message, create an interactive environment and atmosphere for the user, further reduce the difficulty of participation, stimulate the user's interest in participation, and enhance user stickiness and activity.

[0031] In one implementation, after sending the message including the dynamic picture to the user terminal, the method further includes: Receive the fourth barrage content uploaded by the user; when the review of the fourth barrage content is completed, store the fourth barrage content in the database.

[0032] Specifically, users can upload bullet messages in the chatbot. For example, users can upload the fourth bullet content in plain text. For example, for text starting with d / D, considering the size of the top picture of the chatbot, each bullet content is limited to 6 characters, such as "d contracted empty screen". The upload method is divided into "manual input". After the CSP platform receives the fourth bullet content uploaded by the user, it recognizes it as the bullet message text; then submits the fourth bullet content for review; when the review of the fourth bullet content is completed, the fourth bullet content is stored in the database.

[0033] In one implementation, when the user selects a blind box barrage, the first barrage content is randomly selected from a preset barrage library.

[0034] Specifically, users can select a one-click blind box barrage. When the user clicks on "blind box barrage", a first barrage content is randomly selected from the preset barrage library and sent. The addition of the "blind box barrage" gameplay further reduces the difficulty of participation and stimulates user interest, while providing users with a means of self-propagation fission.

[0035] In one implementation, after obtaining the target barrage content and the picture to be sent to the user terminal, it also includes: when the target barrage message includes naming information, determining the namer and the named person according to the naming information; calculating the intimacy between the namer and the named person; when the intimacy is greater than a preset threshold, sending a barrage invitation notification to the named person.

[0036] The embodiment of the present application also includes a roll call gameplay, that is, the user goes up to the roll call text of @+11-digit mobile phone number, such as @139****2222; in addition, when the user goes up, the terminal needs to bring the "machine code" to the CSP platform, and use the machine code to identify the user's identity. The platform stores the barrage content that has passed the review. In addition, if the roll call text starts with @, it will be converted into a text of "roll call+mobile phone number with a four-digit mask in the middle" and then stored in the database, in the form of "roll call 139****2222". The barrage content storage information includes "chatbotid, time, machine code, content" 4 information, and a user can be mapped through a unique machine code; the CSP system regularly synchronizes the barrage collected within a period of time to the "dynamic image generation system"; the dynamic image generation system receives text and static images, generates the latest dynamic image according to certain rules (see the next section "Description of the dynamic image generation mechanism") and synchronizes it to the CDN to be called.

[0037] After receiving the "@+mobile phone number" format roll call information, CSP will first determine the caller and the person being called based on the roll call information, calculate the intimacy between the "caller" and the "person being called", and if the intimacy is greater than the preset threshold, it will trigger the subsequent roll call process and send a barrage invitation notification to the person being called, for example Figure 2 As shown, a SIM card screen notification is sent to the named person, thereby triggering the "calling". In addition, the embodiment of the present application can avoid harassment from strangers. Among them, the preset threshold can be set according to actual needs and is not specifically limited here.

[0038] In one implementation, calculating the intimacy between the person who names the person and the person who is named includes: The number of message exchanges, the number of people who have common exchanges, and the number of chatbots that the named person and the named person have in common are obtained; and the intimacy is calculated based on the number of message exchanges, the number of people who have common exchanges, and the number of chatbots that the named person has in common.

[0039] The embodiment of the present application provides an intimacy calculation module, such as Figure 3 As shown in the figure, intimacy I = T*0.6 + C*0,2 + P*0.2, where T represents the number of messages exchanged between the person who named the person and the person being named in the past 180 days. A message exchange is considered a message if both parties send and receive messages. The value range is [0, 5], and the model value accounts for 60% of the weight. C represents the number of chatbots that both parties follow, and the model value accounts for 20% of the weight. P represents the number of third-party users that both parties interact with, and the model value accounts for 20% of the weight.

[0040] In one implementation, when the intimacy is greater than a preset threshold, after sending a barrage invitation notification to the named person, it also includes: when the named person rejects the barrage invitation notification, prohibiting the namer from naming the named person again within a preset time; when the named person receives the barrage invitation notification, sending the message to the named person.

[0041] The named person can choose whether to accept the invitation. The result of the named person's choice is first transmitted to the CSP platform via the SIM messaging platform. After receiving the result of the named person's choice, if it is "rejected", the CSP sends a message to notify the named person, indicating that the named person has declined to participate in the event and cannot name the named person again within a preset time period. If the named person accepts the barrage invitation notification, the CSP notifies the named person that they agree to participate in the event and can further name the named person for interaction. At the same time, a chatbot message will be sent to the named person. The introduction of SIM messaging into the barrage gameplay also integrates 5G messaging and SIM messaging, achieving mutual traffic diversion and promotion.

[0042] In one implementation, generating a dynamic picture including the target barrage content based on the picture and the target barrage content includes: using multiple pictures and the target barrage content to generate the dynamic picture, among the multiple pictures, some of the pictures are display areas, and another part of the pictures are cache areas, the display area is used to display a second preset number of the target barrage content, the cache area is used to display a third preset number of the target barrage content, and the cache area is used to reserve cache time for subsequent dynamic pictures.

[0043] Due to the afterimage phenomenon of the human eye, as long as the switching time between two frames is longer than 1 / 24 second, the human eye will feel that they are continuous. Therefore, in the embodiment of the present application, the dynamic image can take a minimum of 24 frames.

[0044] A GIF animation is composed of multiple static images. The formula for calculating the number of static images required for a GIF is as follows: Total number of images = playback duration * number of animation frames.

[0045] Currently, you can set a GIF animation to scroll for 4 seconds, with 24 frames. According to this formula, the underlying animation will be generated from 96 static images. Figure 4 As shown, the 4-second playback time can be divided into a display area and a buffer area. The display area will display the second preset number of target barrage contents, and the buffer area will display the third preset number of target barrage contents. The purpose of the buffer area is to reserve a certain buffer time for the irregular time consumption during the loading of new dynamic images by the mobile terminal, and use the determined cache area content to ensure the irregular loading time consumption of new dynamic images, for example Figure 5 The following figure shows the schematic diagram of the dynamic image loading.

[0046] If the bullet message font size is set to 10px, the corresponding height is 3.5mm. For a 4-second 24-frame animation, the bullet message information is "dotted" onto 4*24=96 images. The first 72 images are the display area, carrying 80% of the bullet message information, and the last 24 images are the buffer area, carrying 20% ​​of the bullet message information.

[0047] In order to store more bullet comments in the image, the bullet comments can be stacked in staggered widths. Then the bullet comments can be displayed in a scrolling manner from right to left. Figure 6 Taking the barrage coordinate diagram as an example, the length and width of each picture are L and H respectively. The barrage content is marked with a circle, and each word is the (x, y) coordinate in the picture.

[0048] In the following formula, the relevant parameters are described as follows: The length and width of each picture are L and H respectively; x is the horizontal coordinate position of the barrage content at a certain moment, and its value range is an integer from [0 to L]; y is the vertical coordinate position of the barrage content at a certain moment, and its value range is an integer from [0 to H]; z is the picture number of the barrage content at a certain moment, and its value range is an integer from [1 to 72] (display area) or [1 to 24] (buffer); Random function is a random function that takes a positive integer; n represents the number of the picture, and the value range of n display area is a positive integer from [0 to 72], while the value range of n buffer is a positive integer from [0 to 24].

[0049] Display area: initial coordinates of each bullet comment content: (x0, y0, z0) = (L, Random[1, 2H / 3.5], Random[1, 72]), Subsequent time coordinates: (xn, yn, zn) = (L - n*L / 72, y0, z(n-1)+1), Buffer: The initial coordinates of each bullet comment content: (x0, y0, z0) = (L, Random[1, 2H / 3.5], Random[1, 24]), Subsequent time coordinates: (xn, yn, zn) = (L - n*L / 24, y0, z(n-1)+1), In one implementation, the second preset number is 80%, and the third preset number is 20%, wherein the first part of the display area displays 60% of the second preset number of target barrage content, the second part of the display area displays 30% of the second preset number of target barrage content, and the third part of the display area displays 10% of the second preset number of target barrage content.

[0050] Specifically, such as Figure 7 As shown, the second preset number can be 80%, and the third preset number can be 20%. That is, according to the 2 / 8 principle, the display area will display 80% of the target barrage content, and the buffer will display the remaining 20% ​​of the target barrage content. Considering that the user's stay time is relatively short, the barrage content should be concentrated in the first few frames to attract the user's attention and viewing immediately. Because the z coordinate uses a random function, in extreme cases, most of the barrages may be in the back row, resulting in sparse barrage content in the front time, making the chatbot appear "low in activity". Therefore, human intervention is added to the random function, forcing the z value to [1, 24], [25, 48], and [49, 72] with a probability of 60%, 30%, and 10% respectively. In this way, the first part of the display area displays 60% of the second preset number of target barrage content, the second part of the display area displays 30% of the second preset number of target barrage content, and the third part of the display area displays 10% of the second preset number of target barrage content.

[0051] The message interaction method provided in the embodiment of the present application will break the one-to-one closed interaction of 5G message chatbot, and continuously scroll and load the latest dynamic pictures containing interactive information in 5G messages, creating a real-time group interaction environment and atmosphere for users, allowing users to gain a sense of participation and interesting experience, enhance user stickiness and activity, and provide a reliable handle for the active 5G message ecosystem.

[0052] It should be noted that the message interaction method provided in the embodiment of the present application can be executed by a message interaction device or a control module in the message interaction device for executing the message interaction method. In the embodiment of the present application, the message interaction device provided in the embodiment of the present application is described by taking the message interaction device executing the message interaction method as an example.

[0053] Figure 8 Schematic diagram of the structure of the message interaction device according to the embodiment of the present application. Figure 8 As shown, the message interaction device 800 includes: an acquisition module 810, a generation module 820 and a sending module 830.

[0054] The acquisition module 810 is used to obtain the target barrage content and the picture to be sent to the user terminal; the generation module 820 is used to generate a dynamic picture including the target barrage content based on the picture and the target barrage content; the sending module 830 is used to send the message including the dynamic picture to the user terminal.

[0055] In one implementation, the target barrage content includes the first barrage content, the second barrage content and / or the third barrage content, and the acquisition module 810 is used to obtain the picture to be sent to the user terminal from the message sending request body; if there is a first barrage content recently sent by the current user, obtain the first barrage content; if there is a second barrage content other than the first barrage content, obtain all the second barrage contents or obtain a first preset number of the second barrage contents; without storing the first barrage content and the second barrage content, generate the third barrage content.

[0056] In one implementation, the dynamic picture includes personal dynamic pictures and general dynamic pictures. The generation module 820 is used to generate the personal dynamic picture according to the target barrage content and the picture when the target barrage content includes the first barrage content; and to generate the general dynamic picture according to the target barrage content and the picture when the target barrage content does not include the first barrage content.

[0057] In one implementation, when the user selects a blind box barrage, the first barrage content is randomly selected from a preset barrage library.

[0058] In one implementation, the generation module 820 is used to generate the dynamic picture using multiple pictures and the target barrage content. Among the multiple pictures, some of the pictures are display areas, and another part of the pictures are cache areas. The display area is used to display a second preset number of the target barrage content, and the cache area is used to display a third preset number of the target barrage content, and the cache area is used to reserve cache time for subsequent dynamic pictures.

[0059] In one implementation, in one implementation, the second preset number is 80%, and the third preset number is 20%, wherein the first part of the display area displays 60% of the second preset number of target barrage content, the second part of the display area displays 30% of the second preset number of target barrage content, and the third part of the display area displays 10% of the second preset number of target barrage content.

[0060] In one implementation, the sending module 830 is also used to determine the namer and the named person based on the name-calling information when the target barrage message includes the name-calling information; calculate the intimacy between the namer and the named person; and send a barrage invitation notification to the named person when the intimacy is greater than a preset threshold.

[0061] In one implementation, the sending module 830 is used to obtain the number of message exchanges, the number of people who have common exchanges, and the number of chatbots that the person who named the person and the person who was named has shared a common interest in; and calculate the intimacy based on the number of message exchanges, the number of people who have common exchanges, and the number of chatbots that the person has shared a common interest in.

[0062] In one implementation, the sending module 830 is further used to prohibit the namer from naming the named person again within a preset time if the named person rejects the barrage invitation notification; and to send the message to the named person if the named person accepts the barrage invitation notification.

[0063] In one implementation, the acquisition module 810 is further used to: receive the fourth barrage content uploaded by the user; and when the review of the fourth barrage content is completed, store the fourth barrage content in the database.

[0064] The message interaction device in the embodiments of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc., and the embodiments of the present application do not specifically limit this.

[0065] The message interaction device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0066] The message interaction device provided in the embodiment of the present application can achieve Figures 1 to 6 To avoid repetition, the various processes implemented in the method embodiment are not described here.

[0067] Alternatively, as Figure 9As shown, an embodiment of the present application further provides an electronic device 900, including a processor 901 and a memory 902, wherein the memory 902 stores a program or instruction that can be run on the processor 901, and when the program or instruction is executed by the processor 901, it implements: obtaining target barrage content and a picture to be sent to a user terminal; generating a dynamic picture including the target barrage content based on the picture and the target barrage content; and sending a message including the dynamic picture to the user terminal.

[0068] In one implementation, the target barrage content includes the first barrage content, the second barrage content and / or the third barrage content, and the picture to be sent to the user terminal is obtained from the message sending request body; if there is a first barrage content recently sent by the current user, the first barrage content is obtained; if there is a second barrage content other than the first barrage content, all the second barrage contents are obtained or a first preset number of the second barrage contents are obtained; without storing the first barrage content and the second barrage content, the third barrage content is generated.

[0069] In one implementation, the dynamic picture includes personal dynamic pictures and general dynamic pictures. When the target barrage content includes the first barrage content, the personal dynamic picture is generated based on the target barrage content and the picture; when the target barrage content does not include the first barrage content, the general dynamic picture is generated based on the target barrage content and the picture.

[0070] In one implementation, when the user selects a blind box barrage, the first barrage content is randomly selected from a preset barrage library.

[0071] In one implementation, the dynamic picture is generated using multiple pictures and the target barrage content. Among the multiple pictures, some of the pictures are display areas, and another part of the pictures are cache areas. The display area is used to display a second preset number of the target barrage content, and the cache area is used to display a third preset number of the target barrage content, and the cache area is used to reserve cache time for subsequent dynamic pictures.

[0072] In one implementation, the second preset number is 80%, and the third preset number is 20%, wherein the first part of the display area displays 60% of the second preset number of target barrage content, the second part of the display area displays 30% of the second preset number of target barrage content, and the third part of the display area displays 10% of the second preset number of target barrage content.

[0073] In one implementation, after obtaining the target barrage content and the picture to be sent to the user terminal, if the target barrage message includes naming information, the namer and the named person are determined according to the naming information; the intimacy between the namer and the named person is calculated; and if the intimacy is greater than a preset threshold, a barrage invitation notification is sent to the named person.

[0074] In one implementation, the number of message exchanges, the number of people who have common exchanges, and the number of chatbots that the person who named the person and the person who was named are obtained; and the intimacy is calculated based on the number of message exchanges, the number of people who have common exchanges, and the number of chatbots that the person has common interests in.

[0075] In one implementation, when the intimacy is greater than a preset threshold, after a barrage invitation notification is sent to the named person, if the named person rejects the barrage invitation notification, the namer is prohibited from naming the named person again within a preset time; if the named person accepts the barrage invitation notification, the message is sent to the named person.

[0076] In one implementation, after the message including the dynamic picture is sent to the user terminal, the fourth barrage content uploaded by the user is received; when the review of the fourth barrage content is completed, the fourth barrage content is stored in the database.

[0077] The specific execution steps can refer to the various steps of the above-mentioned message interaction method embodiment, and can achieve the same technical effect. To avoid repetition, they will not be repeated here.

[0078] It should be noted that the electronic devices in the embodiments of the present application include: servers, terminals, or other devices other than terminals.

[0079] The above electronic device structure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, the input unit may include a graphics processing unit (GPU) and a microphone, and the display unit may be configured as a display panel in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit includes at least one of a touch panel and other input devices. A touch panel is also called a touch screen. Other input devices may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, power buttons, etc.), a trackball, a mouse, and a joystick, which will not be detailed here.

[0080] The memory can be used to store software programs and various data. The memory may mainly include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory may include volatile memory or non-volatile memory, or the memory may include both volatile and non-volatile memory. The non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct rambus random access memory (DRRAM).

[0081] The processor may include one or more processing units; optionally, the processor may integrate an application processor and a modem processor, wherein the application processor primarily handles operations related to the operating system, user interface, and application programs, and the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into the processor.

[0082] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned message interaction method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0083] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as ROM, RAM, magnetic disk or optical disk.

[0084] An embodiment of the present application also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the various processes of the embodiment of the above-mentioned message interaction method and can achieve the same technical effect. To avoid repetition, they will not be repeated here.

[0085] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0086] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of this application, or the part that contributes to the existing technology, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of this application.

[0087] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. A message interaction method, characterized in that: include: Get the target barrage content and the picture to be sent to the user terminal; Generate a dynamic picture including the target barrage content according to the picture and the target barrage content; A message including the dynamic picture is sent to the user terminal.

2. The method according to claim 1, characterized in that The target barrage content includes the first barrage content, the second barrage content and / or the third barrage content, and the acquiring the target barrage content and the picture to be sent to the user terminal includes: Acquire the picture to be sent to the user terminal from the message sending request body; If there is a piece of the first bullet comment content most recently sent by the current user, obtaining the first bullet comment content; In the case where there is a second barrage content other than the first barrage content, obtaining all of the second barrage content or obtaining a first preset number of the second barrage content; The third barrage content is generated without storing the first barrage content and the second barrage content.

3. The method according to claim 2, characterized in that The dynamic picture includes a personal dynamic picture and a general dynamic picture, and generating a dynamic picture including the target barrage content according to the picture and the target barrage content includes: In the case where the target barrage content includes the first barrage content, generating the personal dynamic picture according to the target barrage content and the picture; When the target barrage content does not include the first barrage content, the universal dynamic picture is generated according to the target barrage content and the picture.

4. The method according to claim 2, characterized in that: When the user selects a blind box barrage, the first barrage content is randomly selected from a preset barrage library.

5. The method according to claim 1, characterized in that The step of generating a dynamic image including the target barrage content according to the image and the target barrage content comprises: The dynamic image is generated using multiple images and the target barrage content. Among the multiple images, some of the images are display areas, and another part of the images are cache areas. The display area is used to display a second preset number of the target barrage content, the cache area is used to display a third preset number of the target barrage content, and the cache area is used to reserve cache time for subsequent dynamic images.

6. The method according to claim 5, characterized in that The second preset number is 80%, and the third preset number is 20%, wherein the first part of the display area displays 60% of the second preset number of target barrage contents, the second part of the display area displays 30% of the second preset number of target barrage contents, and the third part of the display area displays 10% of the second preset number of target barrage contents.

7. The method according to claim 1, characterized in that After obtaining the target bullet screen content and the picture to be sent to the user terminal, the method further includes: In the case where the target bullet screen message includes naming information, determining the person who names the person and the person who is named according to the naming information; Calculate the intimacy between the person who names the person and the person who is named; When the intimacy is greater than a preset threshold, a bullet screen invitation notification is sent to the named person.

8. The method according to claim 7, characterized in that The calculating of the intimacy between the person who names the person and the person who is named comprises: Obtain the number of message exchanges between the person who named the person and the person who was named, the number of people who have common exchanges, and the number of chatbots that the person has common attention to; The intimacy is calculated according to the number of message exchanges, the number of people who have common exchanges, and the number of chatbots that are of common interest.

9. The method according to claim 7, characterized in that: When the intimacy is greater than a preset threshold, after sending a bullet screen invitation notification to the named person, the method further includes: If the named person refuses the barrage invitation notification, the namer is prohibited from naming the named person again within a preset time; In a case where the named person receives the bullet screen invitation notification, the message is sent to the named person.

10. The method according to claim 8, characterized in that After sending the message including the dynamic picture to the user terminal, the method further includes: Receive the fourth bullet screen content uploaded by the user; When the review of the fourth barrage content is completed, the fourth barrage content is stored in the database.

Citation Information

Patent Citations

  • Multi-modal chatting techniques

    CN111159472A

  • Expression image generation method and device and electronic equipment

    CN111372141A

  • Bullet screen display method and device, storage medium and terminal

    CN112667081A

  • Dynamic expression package generation method and device, equipment and medium

    CN114827648A