Message interaction method

By introducing a bullet screen feature into 5G messages to generate and send dynamic images, the problem of low user interaction in the 5G message chatbot interaction mechanism has been solved, which has improved user engagement and social interaction, and enhanced the activity of the 5G message ecosystem.

CN119276824BActive Publication Date: 2025-12-16CHINA MOBILE INTERNET CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The existing 5G messaging chatbot interaction mechanism cannot effectively enhance users' willingness to interact, resulting in a disconnect between user engagement and social interaction modes, making it difficult to activate the 5G messaging ecosystem.

Method used

Introducing a bullet screen feature into 5G messaging allows for the generation of dynamic images and their transmission to user terminals by acquiring the target bullet screen content and the image to be sent, breaking down one-to-one closed interactions and creating a group interactive environment.

Benefits of technology

It enhances user interaction with messages, stimulates user interest, strengthens user stickiness and activity, and provides a dynamic tool for the 5G messaging ecosystem.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119276824B_ABST
    Figure CN119276824B_ABST
Patent Text Reader

Abstract

The application discloses a message interaction method, and belongs to the technical field of communication, and aims to improve the interaction between messages and users. The method comprises the following steps: obtaining target barrage content and a picture to be sent to a user terminal; generating a dynamic picture comprising the target barrage content according to the picture and the target barrage 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 technical field of communication, and particularly relates to a message interaction method. BACKGROUND

[0002] At present, the form of a 5G message chatbot is a one-to-one response interaction mechanism. After a chatbot pushes a 5G message to a user, the implementation technology of subsequent interaction is mainly keyword matching. If a keyword is hit, the chatbot automatically uses the pre-set content corresponding to the keyword to respond. Alternatively, the chatbot uses generative AI to generate an answer in real time to respond. Alternatively, a human being responds to the dialogue in the background.

[0003] No matter whether a user actively enters a relevant chatbot or passively receives a chatbot information push, the interaction form is one-to-one dialogue interaction. Generally, the willingness of the user to interact is not high, especially for the 5G chatbot message received passively. For the quality of a 5G message ecosystem, an important indicator is the number of interactions. If a batch of popular and active chatbots appear, the entire 5G message ecosystem will be greatly activated. To achieve such popular chatbots, the most important thing is to improve the willingness of the user to interact. However, such an interaction mechanism is difficult to effectively improve, even if the content pushed by the chatbot is of high quality. Because such a "closed" one-to-one dialogue cannot form a social interaction mode, the feedback and participation of the user are isolated. SUMMARY

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

[0005] In a first aspect, the embodiments of the present application provide a message interaction method, which comprises: acquiring target barrage content and a picture to be sent to a user terminal; generating a dynamic picture comprising the target barrage content according to the picture and the target barrage content; and sending a message comprising the dynamic picture to the user terminal.

[0006] In a second aspect, the embodiments of the present application provide a message interaction device, which comprises: an acquisition module configured to acquire target barrage content and a picture to be sent to a user terminal; a generation module configured to generate a dynamic picture comprising the target barrage content according to the picture and the target barrage content; and a sending module configured to send a message comprising the dynamic picture to the user terminal.

[0007] In a third aspect, an electronic device is provided, which includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.

[0008] In a fourth aspect, a readable storage medium is provided, which stores a program or instructions, and the program or instructions, when executed by a processor, implement the steps of the method according to the first aspect.

[0009] In a fifth aspect, a computer program product is provided, which includes a computer program stored in a non-transitory computer readable storage medium, and the computer program includes program instructions, and the program instructions, when executed by a computer, cause the computer to perform the steps of the method according to the first aspect.

[0010] In the embodiments of the present application, the target barrage content and the picture to be sent to the user terminal are acquired, the dynamic picture including the target barrage content is generated according to the picture and the target barrage content, and the message including the dynamic picture is sent to the user terminal, so that the interactivity of the message and the user can be improved. BRIEF DESCRIPTION OF DRAWINGS

[0011] Figure 1 is a flowchart of a message interaction method provided by the embodiments of the present application;

[0012] Figure 2 is a barrage invitation notification diagram provided by the embodiments of the present application;

[0013] Figure 3 is a closeness calculation model diagram provided by the embodiments of the present application;

[0014] Figure 4 is a dynamic picture time partition diagram provided by the embodiments of the present application;

[0015] Figure 5 is a dynamic picture loading diagram provided by the embodiments of the present application;

[0016] Figure 6 is a barrage continuous time coordinate diagram provided by the embodiments of the present application;

[0017] Figure 7 is a barrage content distribution ratio diagram provided by the embodiments of the present application;

[0018] Figure 8 is a structural diagram of a message interaction device provided by the embodiments of the present application;

[0019] Figure 9 is a structural schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0020] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.

[0021] The terms "first", "second", and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be exchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally a category and do not limit the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / ", generally indicates that the front and rear associated objects are in an "or" relationship.

[0022] The message interaction method provided by the embodiments of the present application will be described in detail below with reference to the drawings, through specific embodiments and their application scenarios.

[0023] Figure 1 A message interaction method provided by one embodiment of the present application is shown, which can be executed by an electronic device. In other words, the method can be executed by software or hardware installed in the electronic device, and the method includes the following steps:

[0024] Step 102: obtaining target bullet screen content and a picture to be sent to a user terminal.

[0025] In the embodiments of the present application, the "bullet screen" function is added to the 5G message, which provides a carrier for real-time group interaction in the 5G message chatbot. Therefore, the target bullet screen content and the picture to be sent to the user terminal need to be obtained first.

[0026] In an implementation manner, the target barrage content includes first barrage content, second barrage content and / or third barrage content, and the obtaining of the target barrage content and the picture to be sent to the user terminal comprises: obtaining the picture to be sent to the user terminal from a message sending request body; in the case that there is a first barrage content recently sent by a current user, obtaining the first barrage content; in the case that there is second barrage content other than the first barrage content, obtaining all the second barrage content or obtaining a first preset number of the second barrage content; and in the case that the first barrage content and the second barrage content are not stored, generating the third barrage content.

[0027] Specifically, the chatbot operator issues a 5G chatbot card message to the user terminal, and the message request is first invoked to each "5G message CSP platform". The CSP platform obtains the picture url of the card homepage from the request body, thereby obtaining the picture to be sent to the user terminal.

[0028] In the case that there is a first barrage content recently sent by a current user, the first barrage content can be directly obtained; and in the case that there is second barrage content other than the first barrage content, all the second barrage content or a first preset number of the second barrage content is obtained; and in the case that the first barrage content and the second barrage content are not stored, the third barrage content is generated. The first preset number and the third barrage content can be set according to actual requirements, which are not limited here.

[0029] As an example, the CSP platform determines the parameters of the initialization animation according to whether the chatbot has a barrage, and the rules are as follows: the "barrage text content + original static picture url" two parameters are finally passed to the downstream dynamic picture generation system; wherein the barrage text content contains two parts of information,

[0030] Barrage information (M) = current user's most recent barrage (I) + most recent 30 barrages (P);

[0031]

[0032] Step 104: generating a dynamic picture including the target barrage content according to the picture and the target barrage content.

[0033] Specifically, after the dynamic picture generation system receives the target barrage content and the picture, a dynamic picture including the target barrage content can be generated.

[0034] In an implementation manner, in the case that the target barrage content includes first barrage content, the personal dynamic picture is generated according to the target barrage content and the picture;

[0035] In a case where the target barrage content does not include the first barrage content, the general dynamic picture is generated according to the target barrage content and the picture.

[0036] After the dynamic picture generation system receives the target barrage content and the picture, two types of dynamic GIF pictures with barrage, i.e., personal dynamic picture and general dynamic picture, can be generated according to the rules. Specifically, in a case where the target barrage content includes the first barrage content, the personal dynamic picture is generated according to the target barrage content and the picture; in a case where the target barrage content does not include the first barrage content, the general dynamic picture is generated according to the target barrage content and the picture.

[0037] As an example, the dynamic picture generation rule is: the barrage information (M) received by the dynamic picture generation system = the latest barrage (I) of the current user + the latest 30 barrages (P), when I is empty, the general dynamic picture is generated (url address format is http: / / domain / image / top / 10-bit incremental code.gif); when I is not empty, the personal dynamic picture is generated (url address format is http: / / domain / image / top / 10-bit incremental code-machine code.gif).

[0038] Step 106: sending a message including the dynamic picture to the user terminal.

[0039] After the dynamic picture is generated, a message including the dynamic picture can be sent to the user terminal. Specifically, the dynamic picture generation system responds to the CSP platform with the url address of the GIF picture, for example, the url style can be: https: / / domain / img / top / 10-bit incremental code(-machine code).gif, such as https: / / test.cn / img / top / 0000000001.gif, https: / / test.cn / img / top / 0000000001-jfU07I.gif.

[0040] The CSP platform replaces the address of the top bar picture in the original request body with a new GIF address, and then sends a 5G message sending request to the message layer of the 5G message; the message request is sent from the message layer to the user terminal; the user terminal loads various resources according to the message, wherein the card top picture is loaded from the CDN at a fixed time interval, and the fixed time interval is 3 seconds, because each generated dynamic picture is played at a fixed frame rate for 4 seconds, and the interval time of the fixed refresh interval needs to be less than the playing time; and the loaded url is the picture name constantly + 1, if the picture address at the current time is http: / / domain / image / top / 1000000001.gif, then the picture address loaded in the subsequent period is http: / / domain / image / top / 1000000002(3|4|5...).gif; after the terminal completes the overall resource loading and rendering, it is displayed to the user.

[0041] The user terminal can load the latest dynamic picture according to the agreed rules and render and display it to the user in real time, ensuring that the user's bullet screen can be displayed in real time. The loading rule is: if the user has not sent a bullet screen in the past 5 seconds, load the general dynamic picture, and the url address format is http: / / domain / image / top / 10-bit incremental code.gif; if the user has sent a bullet screen in the past 5 seconds, load the personal dynamic picture, and the url address format is http: / / domain / image / top / 10-bit incremental code-machine code.gif.

[0042] The message interaction method provided by the embodiment of the application can obtain target bullet screen content and a picture to be sent to a user terminal, generate a dynamic picture including the target bullet screen content according to the picture and the target bullet screen content, and send a message including the dynamic picture to the user terminal, thereby solving the problem that a message and a user cannot form social interaction, improving the interactivity between the user and the message, creating an interactive environment and atmosphere for the user, further reducing the participation difficulty, stimulating the user's participation interest, and enhancing the user's stickiness and activity.

[0043] In an implementation manner, after the message including the dynamic picture is sent to the user terminal, the method further includes:

[0044] receiving fourth bullet screen content uploaded by a user; and in a case where the fourth bullet screen content is audited, performing a warehousing operation on the fourth bullet screen content.

[0045] Specifically, the user can send up the barrage message in the chatbot, for example, the user can send up the fourth barrage content in pure text. For example, the text starting with d / D, considering the size of the chatbot top picture, limiting each barrage content to be within 6 characters, such as "d contract empty screen". The uplink mode is divided into "manual input". After the CSP platform receives the fourth barrage content sent up by the user, it is identified as a barrage message text; then the fourth barrage content is sent for review; in the case that the fourth barrage content is reviewed, the fourth barrage content is stored.

[0046] In an implementation manner, in a case that the user selects a blind box barrage, the first barrage content is randomly selected from a preset barrage library.

[0047] Specifically, the user can select a one-key blind box barrage, and when the user clicks "blind box barrage", a first barrage content can be randomly selected from a preset barrage library for sending. The play of "blind box barrage" is added, which further reduces the participation difficulty and stimulates the user's interest in participation, and at the same time provides a self-propagating fission means for the user.

[0048] In an implementation manner, after the target barrage content and the picture to be sent to the user terminal are obtained, in a case that the target barrage message includes a call-on information, a caller and a called person are determined according to the call-on information; the intimacy of the caller and the called person is calculated; in a case that the intimacy is greater than a preset threshold, a barrage invitation notification is issued to the called person.

[0049] The embodiment of the application also includes a call-on play, that is, the user sends up a call-on text of @+11 digits of a mobile phone number, such as @139****2222. In addition, the terminal needs to bring a "machine code" to the CSP platform when the user sends up, and the user identity is identified by the machine code. The platform stores the barrage content that passes the review, and in addition, if the call-on text starts with @, it is converted into a text of "call-on + middle four masked mobile phone numbers" and stored, such as "call-on 139****2222". The barrage content storage information includes "chatbot id, time, machine code, content" four information, and a user can be mapped through a unique machine code; the CSP system synchronizes the barrage collected in a period of time to the "dynamic picture generation system" regularly; the dynamic picture generation system receives the text and the static picture, generates the latest dynamic picture according to a certain rule, and synchronizes to the CDN to be called.

[0050] After the CSP receives the call-on information in the form of "@+mobile phone number", the caller and the called person are determined according to the call-on information, the intimacy of the caller and the called person is calculated, and if the intimacy is greater than a preset threshold, the subsequent call-on process is triggered, and a barrage invitation notification is issued to the called person, for example Figure 2As shown, the SIM screen master notification is issued to the person called to trigger the roll call. The present embodiment can avoid harassment from strangers. The preset threshold value can be set according to actual needs, which is not limited here.

[0051] In an implementation manner, the intimacy between the person calling and the person called is calculated, including:

[0052] The message exchange times, the number of common exchanges and the number of common chatbots between the person calling and the person called are obtained, and the intimacy is calculated according to the message exchange times, the number of common exchanges and the number of common chatbots.

[0053] The present embodiment provides an intimacy calculation module, as shown in Figure 3 As shown, the intimacy I = T*0.6 + C*0.2 + P*0.2, wherein T represents the message exchange times between the person calling and the person called in the last 180 days, and the exchange is counted as one time only when both parties send and receive, the value range is [0, 5], and the model value accounts for 60% of the weight. C represents the number of common chatbots between the two parties, and the model value accounts for 20% of the weight. P represents the number of third parties commonly exchanged between the two parties, and the model value accounts for 20% of the weight.

[0054] In an implementation manner, in the case that the intimacy is greater than the preset threshold value, after the person called is issued with the barrage invitation notification, it further includes: in the case that the person called refuses the barrage invitation notification, the person calling is prohibited from calling the person called again within a preset time; in the case that the person called receives the barrage invitation notification, the message is sent to the person called.

[0055] The person called can choose whether to accept the invitation. The selection result of the person called is first returned to the csp platform through the sim message platform; after receiving the selection result of the person called, if the person called refuses to participate in the activity, the csp sends a message to the person calling, and the person called refuses to participate in the activity, and a mechanism is set to prevent the person calling from calling the user again within a preset time; if the person called accepts the barrage invitation notification, the csp notifies the person calling, and the person called agrees to participate in the activity, and can further call and interact again; at the same time, the chatbot message is sent to the person called. The introduction of the SIM message in the roll call barrage game also connects the 5G message and the SIM message, and achieves mutual flow and promotion of use.

[0056] In one implementation, generating a dynamic image including the target bullet comment content based on the image and the target bullet comment content includes: generating the dynamic image using multiple images and the target bullet comment content, wherein some of the images are a display area and another portion of the images are a cache area, the display area is used to display a second preset number of the target bullet comment content, the cache area is used to display a third preset number of the target bullet comment content, and the cache area is used to reserve caching time for subsequent dynamic images.

[0057] Due to the afterimage phenomenon of the human eye, as long as the switching time between two frames is higher than 1 / 24 of a second, the human eye will perceive them as continuous. Therefore, in this embodiment of the application, the dynamic image can be taken as the minimum of 24 frames.

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

[0059] Currently, you can set a GIF animation to scroll for 4 seconds, with each animation consisting of 24 frames. Using this formula, the underlying layer will generate the animation from 96 static images. For example... Figure 4 As shown, the 4-second playback duration can be divided into a display area and a buffer. The display area will show a second preset number of target bullet comments, and the buffer will show a third preset number of target bullet comments. The purpose of the buffer is to reserve a certain amount of buffering time for the unpredictable loading time of the new animated image on the mobile terminal. A fixed amount of buffered content is used to ensure that the unpredictable loading time of the new animated image is not wasted. For example... Figure 5 The animated loading diagram shown is shown below.

[0060] The bullet comment font size is set to 10px, with a corresponding height of 3.5mm. For a 4-second, 24-frame animated GIF, this means the bullet comment information is "patchbed" onto 4*24=96 images. The first 72 images are the display area, carrying 80% of the bullet comment information, while the last 24 images are the buffer, carrying 20% ​​of the bullet comment information.

[0061] To store more bullet comment information within the image, the bullet comment content is allowed to be stacked with varying widths. The bullet comments can then be displayed in a scrolling manner from right to left. Figure 6 Taking the diagram of bullet screen coordinates as an example, each image has a length and width of L and H respectively, and the bullet screen content is marked with circles. Each character is the (x, y) coordinate in the image.

[0062] The relevant parameters in the following formulas are explained below:

[0063] Length and height of each picture are L and H respectively; x is the horizontal coordinate position of the content of a certain time of the danmaku, and the value range is the integer of 【0, L】; y is the vertical coordinate position of the content of a certain time of the danmaku, and the value range is the integer of 【0, H】; z is the picture number of the content of a certain time of the danmaku, and the value range is the integer of 【1, 72】 (display area) or 【1, 24】 (buffer area); the Random function is a random function of taking positive integer; n represents the number of the picture, and the value range of n in the display area is the positive integer of 【0, 72】 and the value range of n in the buffer area is the positive integer of 【0, 24】.

[0064] Display area: initial coordinates of each content of the danmaku:

[0065] (x0, y0, z0) = (L, Random[1, 2H / 3.5], Random[1, 72]),

[0066] Subsequent time coordinates:

[0067] (xn, yn, zn) = (L - n*L / 72, y0, z(n-1)+1),

[0068] Buffer area: initial coordinates of each content of the danmaku:

[0069] (x0, y0, z0) = (L, Random[1, 2H / 3.5], Random[1, 24]),

[0070] Subsequent time coordinates:

[0071] (xn, yn, zn) = (L - n*L / 24, y0, z(n-1)+1),

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

[0073] Specifically, as Figure 7As shown, the second preset quantity can be 80%, and the third preset quantity 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 area displays the remaining 20% of the target barrage content. Considering that the user's stay time will be relatively short, the barrage content should be concentrated in the front frame number for display, so as to attract the user's attention and watch at the first time. Because the z coordinate uses the random function, in the extreme case, most of the barrage may be arranged at the back, resulting in sparse barrage content in the front time, which makes the chatbot "low activity". Therefore, artificial intervention is added to the random function, and the probabilities of z values 【1, 24】, 【25, 48】 and 【49, 72】 are 60%, 30% and 10% respectively. In this way, the first part of the display area displays 60% of the second preset quantity of the target barrage content, the second part of the display area displays 30% of the second preset quantity of the target barrage content, and the third part of the display area displays 10% of the second preset quantity of the target barrage content.

[0074] The message interaction method provided in the embodiments of the present application will break the one-to-one closed interaction of the 5G message chatbot, continuously load the latest dynamic pictures containing interactive information in the 5G message, create a real-time group interaction environment and atmosphere for users, enable users to obtain a sense of participation and interesting experience, enhance user stickiness and activity, and provide a reliable grip for 5G message ecological activity.

[0075] It should be noted that the message interaction method provided in the embodiments 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 embodiments of the present application, the message interaction device executes the message interaction method as an example to illustrate the message interaction device provided in the embodiments of the present application.

[0076] Figure 8 is a structural schematic diagram of the message interaction device according to the embodiments of the present application. As shown in Figure 8 The message interaction device 800 includes an acquisition module 810, a generation module 820 and a sending module 830.

[0077] The acquisition module 810 is configured to acquire target barrage content and a picture to be sent to a user terminal. The generation module 820 is configured to generate a dynamic picture including the target barrage content according to the picture and the target barrage content. The sending module 830 is configured to send a message including the dynamic picture to the user terminal.

[0078] In an implementation manner, the target barrage content includes first barrage content, second barrage content and / or third barrage content, the obtaining module 810 is configured to obtain the picture to be sent to the user terminal from a message sending requestor; in a case where there is a first barrage content recently sent by a current user, the first barrage content is obtained; in a case where there is second barrage content other than the first barrage content, all the second barrage content or a first preset number of the second barrage content is obtained; in a case where the first barrage content and the second barrage content are not stored, the third barrage content is generated.

[0079] In an implementation manner, the dynamic picture includes a personal dynamic picture and a general dynamic picture, the generating module 820 is configured to, in a case where the target barrage content includes first barrage content, generate the personal dynamic picture according to the target barrage content and the picture; in a case where the target barrage content does not include the first barrage content, generate the general dynamic picture according to the target barrage content and the picture.

[0080] In an implementation manner, in a case where a user selects a blind box barrage, the first barrage content is randomly selected from a preset barrage library.

[0081] In an implementation manner, the generating module 820 is configured to generate the dynamic picture by using a plurality of pictures and the target barrage content, part of the plurality of pictures is a display area, and another part of the plurality of pictures is a cache area, 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 a cache time for a subsequent dynamic picture.

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

[0083] In an implementation manner, the sending module 830 is further configured to, in a case where the target barrage message includes a calling information, determine a caller and a called person according to the calling information; calculate an intimacy degree of the caller and the called person; and in a case where the intimacy degree is greater than a preset threshold, issue a barrage invitation notification to the called person.

[0084] In an implementation manner, the sending module 830 is configured to acquire the message interaction frequency, the common interaction person number and the common chatbot number of the person being called out and the person called out; and calculate the intimacy degree according to the message interaction frequency, the common interaction person number and the common chatbot number.

[0085] In an implementation manner, the sending module 830 is further configured to, in a case that the person called out rejects the barrage invitation notification, prohibit the person being called out from calling out the person called out again within a preset time; and in a case that the person called out receives the barrage invitation notification, send the message to the person called out.

[0086] In an implementation manner, the acquiring module 810 is further configured to: receive fourth barrage content uploaded by a user; and in a case that the fourth barrage content is audited, perform a warehousing operation on the fourth barrage content.

[0087] The message interaction apparatus in the embodiments of the present application can be an apparatus, or a component, an integrated circuit or a chip in a terminal. The apparatus can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., and the embodiments of the present application are not limited in this regard.

[0088] The message interaction apparatus in the embodiments of the present application can be an apparatus with an operating system. The operating system can be an Android operating system, an ios operating system or other possible operating systems, and the embodiments of the present application are not limited in this regard.

[0089] The message interaction apparatus provided in the embodiments of the present application can implement the method embodiment Figures 1 to 6 The processes implemented by the method embodiment are not repeated here to avoid repetition.

[0090] Optionally, as Figure 9As shown, the embodiments of the present application further provide an electronic device 900, comprising a processor 901 and a memory 902, wherein the memory 902 stores programs or instructions executable on the processor 901, and the programs or instructions are executed by the processor 901 to implement the following steps: obtaining target barrage content and a picture to be sent to a user terminal; generating a dynamic picture comprising the target barrage content according to the picture and the target barrage content; and sending a message comprising the dynamic picture to the user terminal.

[0091] In an implementation manner, the target barrage content comprises first barrage content, second barrage content and / or third barrage content, the picture to be sent to the user terminal is obtained from a message sending requestor; in a case where there is a piece of the first barrage content recently sent by a current user, the first barrage content is obtained; in a case where there is the second barrage content other than the first barrage content, all the second barrage content or a first preset number of the second barrage content is obtained; and in a case where the first barrage content and the second barrage content are not stored, the third barrage content is generated.

[0092] In an implementation manner, the dynamic picture comprises a personal dynamic picture and a general dynamic picture, in a case where the target barrage content comprises the first barrage content, the personal dynamic picture is generated according to the target barrage content and the picture; and in a case where the target barrage content does not comprise the first barrage content, the general dynamic picture is generated according to the target barrage content and the picture.

[0093] In an implementation manner, in a case where a user selects a blind box barrage, the first barrage content is randomly selected from a preset barrage library.

[0094] In an implementation manner, the dynamic picture is generated using a plurality of pictures and the target barrage content, among the plurality of pictures, part of the pictures are display areas, and another part of the pictures are cache areas, the display areas are used to display a second preset number of the target barrage content, the cache areas are used to display a third preset number of the target barrage content, and the cache areas are used to reserve cache time for subsequent dynamic pictures.

[0095] In an implementation manner, the second preset number is 80%, and the third preset number is 20%, wherein a first part of the display areas displays a second preset number of 60% of the target barrage content, a second part of the display areas displays a second preset number of 30% of the target barrage content, and a third part of the display areas displays a second preset number of 10% of the target barrage content.

[0096] In an implementation manner, after the target barrage content and the picture to be sent to the user terminal are acquired, in a case where the target barrage message comprises a calling information, a caller and a called person are determined according to the calling information; a closeness between the caller and the called person is calculated; in a case where the closeness is greater than a preset threshold, a barrage invitation notification is issued to the called person.

[0097] In an implementation manner, the message interaction method further comprises: acquiring a message interaction frequency, a common interaction person number and a common chatbot number of the caller and the called person; and calculating the closeness according to the message interaction frequency, the common interaction person number and the common chatbot number.

[0098] In an implementation manner, in a case where the closeness is greater than a preset threshold, after the barrage invitation notification is issued to the called person, in a case where the called person rejects the barrage invitation notification, the caller is prohibited from calling the called person again within a preset time; and in a case where the called person receives the barrage invitation notification, the message is sent to the called person.

[0099] In an implementation manner, after the message comprising the dynamic picture is sent to the user terminal, a fourth barrage content uploaded by a user is received; and in a case where the fourth barrage content is audited, the fourth barrage content is stored.

[0100] The specific execution steps can refer to each step of the message interaction method embodiments described above, and the same technical effects can be achieved. To avoid repetition, they will not be described here again.

[0101] It should be noted that the electronic device in the embodiments of the present application includes a server, a terminal or other devices other than the terminal.

[0102] The above electronic device structure does not constitute a limitation on the electronic device, and the electronic device can include more or fewer components than the illustration, or combine certain components, or different component arrangements. For example, the input unit can include a graphics processing unit (GPU) and a microphone, and the display unit can be configured with 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. The touch panel is also called a touch screen. Other input devices can include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, on-off buttons, etc.), trackballs, mice, joysticks, and the like, which will not be described here.

[0103] The memory can be used to store software programs and various data. The memory can mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area can store an operating system, application programs or instructions required by at least one function (such as a sound playing function, an image playing function, etc.), and the like. In addition, the memory can include a volatile memory or a non-volatile memory, or the memory can include both volatile and non-volatile memories. The non-volatile memory can be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically EPROM (EEPROM), or a flash memory. The volatile memory can be a Random Access Memory (RAM), a Static RAM (SRAM), a Dynamic RAM (DRAM), a Synchronous DRAM (SDRAM), a Double Data Rate SDRAM (DDR SDRAM), an Enhanced SDRAM (ESDRAM), a Synchlink DRAM (SLDRAM), and a Direct Rambus RAM (DRRAM).

[0104] The processor can include one or more processing units; optionally, the processor integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and an application program, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above-mentioned modem processor can also not be integrated into the processor.

[0105] The application embodiment further provides a readable storage medium, and the readable storage medium stores programs or instructions, the programs or instructions are executed by a processor to realize various processes of the above-mentioned message interaction method embodiment, and the same technical effects can be achieved, and details are not repeated here.

[0106] The processor is the processor in the electronic device in the above-mentioned embodiment. The readable storage medium includes a computer readable storage medium, such as a ROM, a RAM, a magnetic disc, or an optical disc, and the like.

[0107] The embodiment of the present application further provides a computer program product, which comprises a computer program stored on a non-transitory computer readable storage medium, and the computer program comprises program instructions, which, when executed by a computer, cause the computer to perform the processes of the above-mentioned message interaction method, and achieve the same technical effects. To avoid repetition, details are not described herein.

[0108] It should be noted that, in this document, the terms "comprising", "including", or any other variant thereof are intended to cover a non-exclusive inclusion, so that a process, method, article, or apparatus that comprises a list of elements does not only include those elements, but also includes other elements that are not expressly listed, or further includes elements inherent in such process, method, article, or apparatus. Without more limitations, an element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element. In addition, it should be pointed out that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but can also include performing functions in a substantially simultaneous manner or in reverse order, for example, the described method can be performed in an order different from that described, and various steps can also be added, omitted, or combined. In addition, features described with reference to certain examples can be combined in other examples.

[0109] From the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be realized by means of software and a necessary general hardware platform, of course, they can also be realized by hardware, but in many cases the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a plurality of instructions for causing a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the embodiments of the present application.

[0110] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above-mentioned specific embodiments, which are only illustrative and not limiting. Those skilled in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the protection scope of the claims.

Claims

1. A message interaction method, characterized in that, include: Obtain the target bullet screen content and the image to be sent to the user's terminal; Based on the image and the target bullet screen content, generate a dynamic image including the target bullet screen content; Send a message including the animated image to the user terminal; The target bullet screen content includes first bullet screen content, second bullet screen content, and / or third bullet screen content. The step of acquiring the target bullet screen content and the image to be sent to the user terminal includes: Obtain the image to be sent to the user terminal from the message sending request body; If there is a most recently sent comment from the current user, retrieve the first comment content; If there is second bullet screen content other than the first bullet screen content, obtain all second bullet screen content or obtain a first preset number of second bullet screen content; The third bullet screen content is generated without storing the first and second bullet screen content; The animated images include personal animated images and general animated images. Generating an animated image including the target bullet comment content based on the image and the target bullet comment content includes: If the target bullet screen content includes the first bullet screen content, the personal animated image is generated based on the target bullet screen content and the image. If the target bullet screen content does not include the first bullet screen content, the general animated image is generated based on the target bullet screen content and the image.

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

3. The method according to claim 1, characterized in that, The step of generating a dynamic image including the target bullet comment content based on the image and the target bullet comment content includes: The animated image is generated using multiple images and the target bullet screen content. Among the multiple images, some images are a display area and others are a cache area. The display area is used to display a second preset number of the target bullet screen content, and the cache area is used to display a third preset number of the target bullet screen content. The cache area is also used to reserve caching time for subsequent animated images.

4. The method according to claim 3, characterized in that, The second preset quantity is 80%, and the third preset quantity is 20%. The first part of the display area displays 60% of the target bullet screen content of the second preset quantity, the second part of the display area displays 30% of the target bullet screen content of the second preset quantity, and the third part of the display area displays 10% of the target bullet screen content of the second preset quantity.

5. The method according to claim 1, characterized in that, After obtaining the target bullet screen content and the image to be sent to the user terminal, the process also includes: If the target bullet screen message includes naming information, the person who named the speaker and the person who was named are determined based on the naming information. Calculate the intimacy between the person who tagged the other and the person who was tagged. If the intimacy level is greater than a preset threshold, a bullet screen invitation notification will be sent to the person who was tagged.

6. The method according to claim 5, characterized in that, The calculation of the intimacy between the person who tagged someone and the person who was tagged includes: Obtain the number of message exchanges between the person who tagged and the person who was tagged, the number of people they interacted with, and the number of chatbots they both followed; The intimacy level is calculated based on the number of message exchanges, the number of people interacting with each other, and the number of chatbots they follow.

7. The method according to claim 5, characterized in that, After sending a bullet screen invitation notification to the person being tagged when the intimacy level is greater than a preset threshold, the process further includes: If the person being tagged refuses the bullet screen invitation notification, the person who tagged the person is prohibited from tagged the person again within a preset time. If the person being tagged receives the bullet screen invitation notification, the message is sent to the person being tagged.

8. The method according to claim 6, characterized in that, After sending the message including the animated image to the user terminal, the method further includes: Receive the fourth comment from the user; Once the review of the fourth bullet screen content is completed, the fourth bullet screen content will be added to the database.

9. A messaging interaction device, characterized in that, include: The acquisition module is used to acquire the target bullet screen content and the image to be sent to the user's terminal; The generation module is used to generate a dynamic image including the target bullet screen content based on the image and the target bullet screen content; A sending module is used to send a message including the animated image to the user terminal; The target bullet screen content includes first bullet screen content, second bullet screen content, and / or third bullet screen content. The acquisition module is used to acquire the image to be sent to the user terminal from the message sending request body, acquire the first bullet screen content if there is a most recently sent first bullet screen content by the current user, acquire all second bullet screen content or acquire a first preset number of second bullet screen content if there is second bullet screen content other than the first bullet screen content, and generate the third bullet screen content if the first bullet screen content and the second bullet screen content are not stored. The animated images include personal animated images and general animated images. The generation module is used to generate the personal animated image based on the target bullet screen content and the image when the target bullet screen content includes the first bullet screen content, and to generate the general animated image based on the target bullet screen content and the image when the target bullet screen content does not include the first bullet screen content.

10. An electronic device, characterized in that, It includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the message interaction method as described in any one of claims 1-8.

11. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the message interaction method as described in any one of claims 1-8.

12. A computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program including program instructions that, when executed by a computer, cause the computer to perform the steps of the message interaction method as described in any one of claims 1-8.

Citation Information

Patent Citations

  • Expression image generation method and device and electronic equipment

    CN111372141A

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

    CN114827648A