Message processing method and system, electronic equipment, computer storage medium and program product
By introducing the association between attitude expressions and data object resources in the instant messaging session window, the problem of chat participants' insufficiency in expressing interests and values is solved, users are encouraged to publish high-quality information, and user stickiness and information sharing frequency are improved.
Patent Information
- Application Number
- CN202410662415.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2024-08-27
AI Technical Summary
During the instant messaging process, chat participants have limited expression of interest or value in certain messages, resulting in a lack of incentives for message publishers and affecting user stickiness and information sharing.
By introducing attitude emoticons into the instant messaging session window and associating them with data object resources (such as points, red envelopes), users can feedback messages through attitude emoticons and obtain corresponding resources, motivating users to publish high-quality information.
It effectively motivates users to publish high-quality information, increases user stickiness and information sharing frequency, and enhances user participation in instant messaging applications.
Smart Images

Figure CN118555262A
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and in particular, to a message processing method, a message processing system, an electronic device, a computer storage medium, and a computer program product. Background Art
[0002] IM (Instant Messaging) is an Internet-based communication service that allows two or more people to use a conversation window (also called a chat window) to instantly transmit text or picture messages, files, and conduct voice and video chats, etc. For the convenience of subsequent description, in the embodiments of the present application, the above-mentioned messages, files, voice chat information, video chat information, etc. transmitted through IM are collectively referred to as instant messaging messages.
[0003] Among the numerous instant messaging messages in a chat, chat participants may be very interested in or find some messages valuable, and often express them through emoticons. Although this method can express the feelings of chat participants, it has limited incentive effect on the message publisher, and cannot effectively stimulate such message publishers to share more knowledge and information, nor is it conducive to improving user stickiness of IM applications. Summary of the invention
[0004] In view of this, an embodiment of the present application provides a message processing solution to at least partially solve the above-mentioned problem.
[0005] According to a first aspect of an embodiment of the present application, a message processing method is provided, the method comprising: receiving a trigger operation for an attitude expression by a first user in an instant communication session window, the attitude expression being used to provide attitude feedback to an instant communication message of a second user in the instant communication session window; based on the trigger operation, obtaining a data object resource corresponding to the attitude expression from a data object resource pool of the first user; providing attitude feedback to the instant communication message of the second user using the attitude expression triggered by the trigger operation, and sending the data object resource to the second user.
[0006] According to a second aspect of an embodiment of the present application, a message processing method is provided, comprising: receiving, in an instant messaging session window of a second user, attitude feedback from a first user to an instant messaging message of a second user using an attitude expression; acquiring a data object resource corresponding to the attitude expression, and transferring the data object resource to a data object resource pool of the second user.
[0007] According to a third aspect of an embodiment of the present application, a message processing system is provided, comprising: a conversation module, an expression module and a transaction module; wherein: the conversation module is used to provide an instant messaging conversation window for multiple users to conduct an instant messaging conversation; the expression module is used to provide and manage multiple expressions including attitude expressions that can be used in the instant messaging conversation window; the transaction module is decoupled from the expression module and is used to process and manage the interaction of data object resources between different users; the conversation module is also used to receive a trigger operation of a first user in the instant messaging conversation window for an attitude expression provided by the expression module, the attitude expression being used to provide attitude feedback on an instant messaging message of a second user in the instant messaging conversation window; the transaction module is used to obtain a data object resource corresponding to the attitude expression from a data object resource pool of the first user based on the trigger operation, and send the data object resource to the second user; the conversation module is also used to provide attitude feedback on the instant messaging message of the second user using the attitude expression triggered by the trigger operation.
[0008] According to the fourth aspect of an embodiment of the present application, there is provided an electronic device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other through the communication bus; the memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the method described in the first aspect or the second aspect.
[0009] According to a fifth aspect of the embodiments of the present application, a computer storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the method described in the first aspect or the second aspect is implemented.
[0010] According to a sixth aspect of an embodiment of the present application, a computer program product is provided, comprising computer instructions, wherein the computer instructions instruct a computing device to perform operations corresponding to the method described in the first aspect or the second aspect.
[0011] According to the message processing solution provided in the embodiment of the present application, in order to encourage users to post meaningful messages, especially high-quality conversation messages, attitude expressions that can represent user attitudes are set, and they are associated with corresponding resources, namely data object resources (such as points, red envelopes, etc.). Therefore, when the first user wants to express his attitude towards the instant messaging message posted by the second user, such as expressing appreciation, recognition, etc., he can not only express it through attitude expressions, but also send data object resources to the second user simultaneously. In other words, the second user can obtain actual benefits, namely data object resources. Therefore, users can be greatly motivated to post high-quality and valuable information and share more knowledge and information. Furthermore, the stickiness of the IM application to users is also improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0013] Figure 1 A schematic diagram of an exemplary system applicable to the embodiment of the present application;
[0014] Figure 2 A flowchart of a message processing method according to an embodiment of the present application;
[0015] Figure 3 A flowchart of another message processing method according to an embodiment of the present application;
[0016] Figure 4 A schematic diagram of an example scenario according to an embodiment of the present application;
[0017] Figure 5 is a schematic diagram of another scenario example according to an embodiment of the present application;
[0018] Fig. 6A is a structural block diagram of a message processing system according to an embodiment of the present application;
[0019] Figure 6B for Fig. 6A A schematic diagram of an example of a message processing system in the illustrated embodiment;
[0020] Figure 7 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0021] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the embodiments of the present application should fall within the scope of protection of the embodiments of the present application.
[0022] The specific implementation of the embodiment of the present application is further explained below in conjunction with the accompanying drawings of the embodiment of the present application.
[0023] Figure 1 An exemplary system applicable to the embodiment of the present application is shown. Figure 1As shown, the system 100 may include a cloud service end 102, a communication network 104 and / or one or more clients 106. Figure 1 The example in the figure is a plurality of clients, ie, user devices of the terminals.
[0024] The cloud service end 102 may be any suitable device for storing information, data, programs and / or any other suitable type of content, including but not limited to distributed storage system devices, server clusters, computing cloud service end clusters, etc. In some embodiments, the cloud service end 102 may perform any suitable function. For example, in some embodiments, the cloud service end 102 may provide service support for instant messaging between different clients 106. As an optional example, in some embodiments, the cloud service end 102 may provide background support for the transfer of data object resources between different users in an instant messaging application, such as transferring a data object resource sent by a first user to a second user to a data object resource pool corresponding to the second user, and so on.
[0025] In some embodiments, the communication network 104 can be any suitable combination of one or more wired and / or wireless networks. For example, the communication network 104 can include any one or more of the following: the Internet, an intranet, a wide area network (WAN), a local area network (LAN), a wireless network, a digital subscriber line (DSL) network, a frame relay network, an asynchronous transfer mode (ATM) network, a virtual private network (VPN) and / or any other suitable communication network. The client 106 can be connected to the communication network 104 via one or more communication links (e.g., communication link 112), and the communication network 104 can be linked to the cloud service end 102 via one or more communication links (e.g., communication link 114). The communication link can be any communication link suitable for transmitting data between the client 106 and the cloud service end 102, such as a network link, a dial-up link, a wireless link, a hard-wired link, any other suitable communication link, or any suitable combination of such links.
[0026] The client 106 may include any one or more clients suitable for interacting with a user, presenting an interface image, and running an instant messaging application. In some embodiments, the client 106 runs an instant messaging application and displays an instant messaging session window. Through the instant messaging session window, a trigger operation of a first user for an attitude expression is received, and the attitude expression is used to provide attitude feedback to an instant messaging message of a second user in the instant messaging session window; based on the trigger operation, a data object resource corresponding to the attitude expression is obtained from a data object resource pool of the first user; the attitude expression triggered by the trigger operation is used to provide attitude feedback to an instant messaging message of the second user, and the data object resource is sent to the second user. In some embodiments, the client 106 may include any suitable type of device. For example, in some embodiments, the client 106 may include a mobile device, a tablet computer, a laptop computer, a desktop computer, a wearable computer, a game console, a media player, a vehicle entertainment system, and / or any other suitable type of client.
[0027] Based on the above system, an embodiment of the present application provides a message processing method, which is described below through multiple embodiments.
[0028] Reference Figure 2 , shows a flow chart of steps of a message processing method according to an embodiment of the present application. This embodiment describes the message processing method of the embodiment of the present application from the perspective of the data object resource sender, that is, the perspective of the first user.
[0029] The message processing method of this embodiment includes the following steps:
[0030] Step S202: receiving a trigger operation of the first user on the attitude expression in the instant messaging session window.
[0031] The attitude expression is used to provide attitude feedback to the instant messaging message of the second user in the instant messaging session window.
[0032] In the embodiment of the present application, the instant messaging session window can be a window for a real-time online one-to-one or one-to-many session, in which the user can send messages, receive messages, reply to or give feedback to messages of other users as needed (for the convenience of description, in the embodiment of the present application, "instant messaging messages" are sometimes referred to as "messages", which have the same meaning). The instant messaging session window accepts messages in various forms such as text, emoticons, pictures, audio, video, etc., and the reply and feedback to the messages can be implemented in any of the above forms.
[0033] When using expressions to reply or feedback messages, unlike the traditional method, the embodiment of the present application is provided with an attitude expression, and the attitude expression is associated with a data object resource. Among them, through the attitude expression, the user can express his attitude towards the messages posted by other users, that is, the subjective evaluation and psychological tendency towards a certain message. Although attitudes can include positive attitudes and negative attitudes, in order to motivate users to post messages more actively, the attitude expressions set in the embodiment of the present application are usually expressions that represent positive attitudes, such as "Great", "You are great", "A little thought" (implicit attitude), etc.
[0034] Furthermore, the attitude expression in the embodiment of the present application is also associated with a data object resource. The data object resource can be any appropriate data object that can be used as a stimulus and reward for users to post instant messaging messages, such as points, virtual red envelopes, virtual shopping cards, etc. The data object resource is independent of the instant messaging session and exists under a separate account or accounts.
[0035] The attitude expression associated with the data object resource can be presented in a conventional manner, such as a text expression, a picture expression, or a text plus picture expression. However, it is not limited thereto. In one feasible manner, in order to distinguish it from other expressions, the attitude expression of the embodiment of the present application is further displayed with information of the corresponding data object resource on the basis of the above expression presentation, including but not limited to the image and quantity of the data object resource, etc.
[0036] When a first user (in the embodiment of the present application, the first user does not refer to a specific user) needs to provide attitude feedback to an instant messaging message posted by a second user (only to distinguish from the first user, not to refer to a specific user) to encourage the second user to post more, more meaningful or valuable messages, a trigger operation can be performed on the attitude expression. The trigger operation includes but is not limited to a click operation, a selection operation, etc., and the embodiment of the present application does not specifically limit the trigger operation.
[0037] In addition, the scheme of the embodiment of the present application also provides users with a way to customize expressions, including customized attitude expressions. Then, for customized attitude expressions, in a feasible way, in this step, i.e., receiving the trigger operation of the first user for the attitude expression in the instant messaging session window, before receiving the trigger operation for the attitude expression, an operation for indicating the option of adding a customized attitude expression in the display interface for the attitude expression can also be received; according to the operation, a customized expression setting interface is displayed, wherein the setting interface includes: a control for inputting the number of data object resources corresponding to the customized expression, and a control for inputting text and / or pictures corresponding to the customized expression; receiving the settings of each control in the customized expression setting interface, and generating a customized attitude expression according to the settings. In this way, the presentation method of the attitude expression can be enriched, and the user can set the number of data object resources according to their own needs, so that the attitude expression can further meet the personalized needs of the user.
[0038] After the custom attitude expression is set, the instant messaging application can generate the custom attitude expression in any appropriate way according to the setting, and add it to the existing attitude expression collection for user use. In addition, in the background of the instant messaging application, the corresponding relationship between the custom attitude expression and its corresponding data object resource and its quantity will be added to facilitate subsequent resource interaction. It should be noted that in one feasible way, a user's custom attitude expression can be used only by the user himself; in another feasible way, it can be published to the instant messaging application platform after review, so that all users of the instant messaging application can download and use it on demand; or, it can be shared by the user to the target user for use.
[0039] Step S204: based on the triggering operation, obtaining data object resources corresponding to the attitude expression from the data object resource pool of the first user.
[0040] As mentioned above, in the embodiment of the present application, the attitude expression is associated with its corresponding data object resource. When the trigger operation triggers a certain attitude expression, the client will obtain the data object resource corresponding to the attitude expression from the data object resource pool of the user who triggered the attitude expression, that is, the first user in this embodiment.
[0041] Among them, the data object resource pool is used to store data object resources. The data object resource pool can be implemented as an independent application for storing data object resources, or as a functional module or service in a certain application. The same user can correspond to one data object resource pool, or can correspond to multiple (two or more) data object resource pools. In a feasible manner, different data object resources can be distinguished by resource type. Specifically, this step can be implemented as: based on the trigger operation, obtaining the resource type corresponding to the attitude expression; obtaining the data object resource corresponding to the attitude expression from the data object resource pool of the first user corresponding to the resource type.
[0042] Suppose that a user has application A and application B, and has certain equity points in application A and B respectively, and the equity points are the data object resources in this embodiment. Suppose again that in order to distinguish between these two types of equity points, the data object resources of application A are set to resource type type01, then the service or function module that stores the information of equity points in application A is the data object resource pool corresponding to type01, in this example, it is specifically the equity points resource pool. Similarly, the data object resources of application B are set to resource type type02, then the service or function module that stores the information of equity points in application B is the data object resource pool corresponding to type02. In this way, on the one hand, data object resources can be effectively distinguished; on the other hand, data object resources can be more diversified and enriched. It should be noted that the application to which the data object resource pool belongs can be either an instant messaging application or a non-instant messaging application.
[0043] Correspondingly, attitude expressions will be presented differently according to the resource type to facilitate users to distinguish and use them.
[0044] In a feasible manner, obtaining the data object resource corresponding to the attitude expression from the data object resource pool corresponding to the resource type of the first user can be implemented in one of the following ways:
[0045] Method 1: If the resource type indicates that the data object resource pool is a resource pool in the application to which the instant messaging session window belongs, then the data object resource corresponding to the attitude expression is directly obtained from the data object resource pool of the first user in the application.
[0046] In this method, the instant messaging application itself has a corresponding data object resource pool, such as instant messaging application A itself has a rights and interests points function. Generally speaking, the instant conversation function and the rights and interests points function provided by the instant messaging application are independent of each other, but because they belong to the same application, they can be directly accessed to obtain data object resources from the data object resource pool, such as directly obtaining the rights and interests points of the instant messaging application.
[0047] In this way, data object resources can be obtained more quickly and conveniently.
[0048] Method 2: If the resource type indicates that the data object resource pool is a resource pool in a third-party application, then based on the common identification information of the first user in the application to which the instant messaging session window belongs and the third-party application, obtain the data object resource corresponding to the attitude expression from the data object resource pool of the first user in the third-party application.
[0049] In this way, the data object resource pool is located in an application different from the instant messaging application. For ease of distinction, the embodiment of the present application refers to the different application as a third-party application. Because the instant messaging session and the data object resource pool belong to different applications, it is necessary to use common identification information for both. When the attitude expression is triggered, the data object resource is obtained from the data object resource pool of the third-party application. Among them, the common identification information includes but is not limited to: account information, mobile phone number information, email information, etc., which can play an identification role and can be shared by both. It should be noted that the common identification information may be different from the identification information used when logging into the instant messaging application.
[0050] For example, after determining that an attitude expression is triggered, instant messaging application A can obtain data object resources from payment application B, such as obtaining equity points.
[0051] In this way, the instant messaging session can be associated with the data object resources in the third-party application, which greatly expands the range of data object resources that can be used in the instant messaging session, provides a more flexible data object resource access method for the third-party application, and can achieve the effect of promoting the third-party application.
[0052] In addition, because data object resources usually have a quantity attribute, in order to meet the first user's demand for accurate sending and provide higher flexibility for the first user's data object resource sending, in a feasible way, obtaining data object resources corresponding to the attitude expression from the first user's data object resource pool can be implemented as follows: determining the number of data object resources corresponding to the attitude expression; if there are data object resources that meet the said number in the first user's data object resource pool, then obtaining data object resources from the data object resource pool according to the said number. However, it is not limited to this. In actual applications, a default number can also be set for the attitude expression, that is, after the attitude expression is triggered, the default number of data object resources is obtained and sent to simplify the implementation of the solution and reduce the cost of the solution implementation.
[0053] Step S206: using the attitude expression triggered by the triggering operation to provide attitude feedback to the instant communication message of the second user, and sending the data object resource to the second user.
[0054] After the data object resource is obtained, the data object resource can be sent to the second user while using the attitude expression to provide attitude feedback to the instant communication message of the second user.
[0055] Regarding the use of attitude expressions for attitude feedback, in one feasible method, the attitude expression triggered by the triggering operation can be pasted after the second user's instant messaging message to provide attitude feedback. In this way, it can be more clearly indicated which instant messaging message the feedback is for, and it has a cumulative effect, which can better motivate the user of the instant messaging message. Exemplarily, when displaying each attitude expression, the sending user corresponding to each attitude expression can also be displayed at the same time to achieve richer information display.
[0056] In another feasible way, the attitude expression triggered by the triggering operation can be used as the reply content of the instant communication message to the second user, and the attitude feedback is given through the reply message. This method is similar to the conventional method of replying messages with expressions, which can make the most of the existing reply methods of the instant communication application, with little modification to the application and low implementation cost.
[0057] Sending the data object resource to the second user can be implemented as follows: initiating a resource transfer to the second user to transfer the data object resource to the data object resource pool of the second user. By means of the resource transfer, it can be ensured that the data object resource can effectively reach the data object resource pool of the second user.
[0058] However, in some cases, especially when the data object resource pool is located in a third-party application, the second user may not have enabled the instant messaging application to access the data object resource pool, which may result in the data object resources sent by the first user not being able to be transferred out smoothly. In order to ensure that the data object resources of the first user can be transferred smoothly to the data object resource pool of the second user, in a feasible manner, initiating a resource transfer to the second user to transfer the data object resources to the data object resource pool of the second user can be implemented as follows: initiating a resource transfer to the second user, and when it is determined that the second user has enabled access rights to the data object resource pool, transferring the data object resources to the data object resource pool of the second user. In the case where the data object resource pool is located in the application to which the instant messaging session window belongs, if there may also be an access rights issue, the method of first determining whether to enable access rights and then performing resource transfers can also be adopted; if there is no such issue, the resource transfer can be performed directly.
[0059] In addition, after the above-mentioned resource transfer is completed, in a feasible method, a transfer record of the resource transfer can also be generated and saved. The transfer record can record information about the data object resources sent and received by the user (including but not limited to the resource transfer time, the number of data object resources sent or received, the corresponding user information of sending or receiving, etc.) for the user to view later.
[0060] Based on the transfer record, in one feasible method, after initiating the resource transfer to the second user, a risk detection can be performed on the resource transfer; if the risk detection passes, it is determined whether the second user has opened access rights to the data object resource pool. Among them, the detection rules of risk detection can be flexibly set by those skilled in the art according to actual needs, and the embodiments of this application do not limit this.
[0061] For example, if the transfer record shows that within a preset time range, user A frequently transfers resources to user B, or user A and user B frequently transfer resources, it indicates that the resource transfer between the two may be at risk of violation. In this case, the resource transfer between user A and user B may be prohibited, or user A and user B may be required to provide evidence proving that the resource transfer between them is a normal transfer before the resource transfer can be carried out, and so on. It should be noted that this operation can also be implemented on the back end such as the cloud service end. However, in this example, it is implemented on the client side, that is, risk detection is performed in advance, which can detect risks more promptly and ensure the security of resource transfers.
[0062] In addition, in another feasible manner, based on the transfer record, a resource transfer query request initiated by the first user can be received, the transfer record can be queried according to the request, and the query result can be fed back to the resource transfer query request according to the query result. The feedback query result can be presented in a pop-up window on the instant messaging session window, or in the form of a message on the instant messaging session window. However, it is not limited to this, and other presentation forms are also applicable to the solution of the embodiment of the present application.
[0063] Through this embodiment, in order to encourage users to post meaningful messages, especially high-quality conversation messages, attitude expressions that can represent user attitudes are set, and they are associated with corresponding resources, namely data object resources (such as points, red envelopes, etc.). Therefore, when the first user wants to express his attitude towards the instant messaging message posted by the second user, such as expressing appreciation, recognition, etc., he can not only express it through the attitude expression, but also send the data object resource to the second user synchronously. That is, the second user can obtain actual benefits, namely data object resources. Therefore, users can be greatly encouraged to post high-quality and valuable information and share more knowledge and information. Furthermore, the stickiness of the IM application to users is also improved.
[0064] Below, refer to Figure 3 , shows a flow chart of steps of another message processing method according to an embodiment of the present application. This embodiment describes the message processing method of the embodiment of the present application from the perspective of the data object resource receiving end, that is, the perspective of the second user.
[0065] The message processing method of this embodiment includes the following steps:
[0066] Step S302: In the instant messaging session window of the second user, attitude feedback of the first user to the instant messaging message of the second user using an attitude expression is received.
[0067] For the second user, when a message published by the second user in the instant communication session window is given attitude feedback using an attitude expression, it will be displayed in the second user's instant communication session window so that the second user can know which message or messages published by the second user have attitude feedback. Further, it can be known which users gave attitude feedback to which message or messages of the second user and / or what kind of attitude feedback was given.
[0068] Step S304: Acquire the data object resource corresponding to the attitude expression, and transfer the data object resource to the data object resource pool of the second user.
[0069] As mentioned above, the attitude expression is associated with a data object resource. When the second user receives the attitude expression, it means that he can also receive the data object resource sent to him. The data object resource needs to be stored in the data object resource pool. Since the data object resource pool is usually outside the instant messaging session window and is independent of the instant messaging session window setting, the data object resource sent by the first user needs to be transferred to the data object resource pool of the second user by means of resource transfer.
[0070] In one feasible method, different data object resources correspond to different resource types. Therefore, this step can be implemented as follows: obtaining the resource type corresponding to the attitude expression; based on the resource type, transferring the data object resource to the data object resource pool of the second user corresponding to the resource type, so as to ensure the smooth and effective transfer of data object resources between different users.
[0071] In another feasible manner, different attitude expressions may correspond to different numbers of data object resources. Therefore, this step can be implemented as: obtaining corresponding data object resources according to the number indicated by the attitude expression, and transferring the number of data object resources to the data object resource pool of the second user.
[0072] In a specific implementation, the data object resources of the first user and the second user can be transferred to the data object resource pool of the second user after the data object resources are obtained from the data object resource pool of the first user via a backend such as a cloud service. The specific operation implementation of the backend is not limited here.
[0073] In another feasible method, the second user may not have opened access rights to the data object resource pool of the instant messaging application. In this case, it is also possible to first determine whether the access rights have been opened; if opened, the data object resources can be transferred to the data object resource pool of the second user; if not opened, the second user can be prompted to open it, or a prompt message can be given that the resource transfer failed, etc.
[0074] Further optionally, after the resource transfer is completed, a notification message indicating that the data object resource has arrived may be sent to the second user, so that the second user can clearly know the resource transfer status and improve the user experience.
[0075] Through this embodiment, the second user can obtain actual benefits, that is, benefits of data object resources, by publishing instant messaging messages, thereby greatly motivating the second user to publish high-quality and valuable information and share more knowledge and information. Furthermore, the stickiness of IM applications to users is also improved.
[0076] The message processing method of this embodiment is: Figure 2 The implementation of the illustrated embodiment at the opposite end has relatively simple descriptions of some steps, and the relevant parts can be implemented by referring to the descriptions of the relevant parts in the aforementioned embodiments.
[0077] It should be noted that the above Figure 2 and Figure 3 The illustrated embodiments respectively illustrate the message processing scheme of the embodiments of the present application from different perspectives. However, those skilled in the art should understand that, in actual applications, for a certain user, in the same instant messaging session window, he can be a message publisher at one time and a message receiver at another time, or in other words, he can be a sender of a data object resource at one time and a receiver of a data object resource at another time. Therefore, in actual applications, the aforementioned Figure 2 and Figure 3 The embodiments are implemented in combination. However, it is not limited thereto, for some applications, it may only provide a data object resource sending function, and for other applications, it may only provide a data object resource receiving function, but no matter which one, the solution of the embodiments of the present application can be applied.
[0078] The following, combined Figure 4 and Figure 5 , in the form of a scenario example Figure 2 and Figure 3 The message processing process of the illustrated embodiment is exemplarily described.
[0079] Scenario Example 1
[0080] In this example, the instant messaging application is set as chat tool X, which has a data object resource pool available for users, denoted as X resource pool, in which the user's equity points (i.e., a type of data object resource) are recorded; in addition, chat tool X can also access third-party application Y, which is provided with a virtual public forest function (another form of implementation of the data object resource pool), denoted as Y resource pool, in which the forest energy points (also a type of data object resource) obtained by the user according to the points rule of third-party application Y are recorded.
[0081] like Figure 4 As shown in the figure, the first interface shows that user A posted a message in his own group chat instant messaging window: "ChatGPT is also applicable to legal professionals. Based on current experience, it is recommended to use it..." (user A's suggestion for using large language models). This message triggered a heated discussion in the chat group, and some users used attitude expressions to give feedback on the message. For example, user B clicked on the expression icon after the message, which triggered the expression interface display in the group chat instant messaging window, as shown in the figure below. Figure 4 In this interface, in addition to the regular expressions represented by the smiley face icon, there are two types of attitude expressions, namely the first type of attitude expression corresponding to forest energy points (shown in the figure as a circular icon with the text "5g" inside), and the second type of attitude expression corresponding to equity points (shown in the figure as a circular icon with a document pattern inside).
[0082] In this example, assuming that user B selects the first type of attitude expression, the third interface will be displayed. As can be seen from this interface, in addition to a variety of attitude expressions (in this example, presented in the form of text + forest energy points), there are also guiding words, such as "When posting an expression, send the forest energy points shown."
[0083] Assuming that among the multiple attitude expressions presented in the third interface, one attitude expression is "Come on! Add energy! 10g", and user B clicks on the attitude expression in response to the above message posted by user A, the fourth interface will be presented. It can be seen from the fourth interface that the attitude expression is displayed after the above message of user A. In addition to the relevant information of the specific attitude expression, the information of user B who sent the attitude expression is also displayed. At the same time, chat tool X will also request the backend such as the cloud service end to query the forest energy points in user B's Y resource pool, and whether user A has opened the access right for chat tool X to access the virtual public forest function of third-party application Y. Set user B's forest energy points to 105g, which is enough to send 10g of forest energy points to user A; and determine that user A has opened the access right. Then, the 10g forest energy points corresponding to the attitude expression sent by user B will be successfully sent to user A through resource transfer.
[0084] For user A, the corresponding receipt reminder will be displayed in his group chat instant messaging session window, for example, "User A successfully received 10g of forest energy points from user B". Figure 4 As shown in the fifth interface.
[0085] If user B clicks on the second type of attitude expression, it means that user B will transfer his own equity points and resources in chat tool X to user A. The resource transfer process can be implemented by referring to the resource transfer process of the aforementioned forest energy points, which will not be described in detail here.
[0086] Scenario Example 2
[0087] In this example, similar to scenario example 1, the instant messaging application is also set as chat tool X, which has a data object resource pool available for users, denoted as X resource pool, which records the user's equity points (i.e., a data object resource).
[0088] However, the difference from scenario example 1 is that in scenario example 1, a real natural person, user B, gives attitude feedback to the message posted by user A. In this example, chat tool X plays the role of user B, that is, it becomes a robot user. In this case, chat tool X can analyze the messages posted by users in a one-to-one instant messaging session window or a group chat instant messaging session window through appropriate methods, such as semantic analysis, and determine high-quality or high-value messages (such as the quality score meets the preset score or the value meets the preset value through the deep learning machine model). Chat tool X triggers attitude expressions and sends data object resources, such as equity points of chat tool X, to users (natural person users) who post high-quality or high-value messages.
[0089] In addition to messages, attitude expressions can also be used to provide attitude feedback and send data object resources for documents, videos, audio, etc. published by users in the instant messaging session window.
[0090] Figure 5 In FIG. 1 , it is shown that user A creates a document in chat tool X and shares it in a group chat instant messaging session window (eg, Figure 5 To encourage this behavior, after detecting that user A has successfully shared the document to the group chat instant messaging session window, chat tool X will send an attitude expression to user A and send the equity points of chat tool X, such as 15 points.
[0091] Among them, for the chat tool X acting as a robot user, the selection of the specific attitude expression and its corresponding equity points to be sent to user A can be, in one feasible way, a default fixed attitude expression and its corresponding equity points, that is, a fixed attitude expression and its corresponding data object resource can be sent; in another feasible way, an attitude expression can be randomly selected from the existing multiple attitude expressions or selected according to other selection rules (such as alternating selection), and the attitude expression and the equity points corresponding to the attitude expression can be sent to user A.
[0092] Figure 5 The fourth interface in FIG. 4 shows the interface display of the group chat instant messaging session window of user A after the robot user sends an attitude expression to user A.
[0093] It can be seen that in this example, Figure 4 Unlike the example shown, the attitude expression interface is not displayed. Figure 4 Similarly, while sending the attitude expression, chat tool X will also request the backend, such as the cloud server, to check whether user A has activated the equity points function of chat tool X. If it is determined that user A has activated the function, the 15 points corresponding to the attitude expression sent by the robot user will be successfully sent to user A through resource transfer.
[0094] For user A, the corresponding receipt reminder will be displayed in his group chat instant messaging session window, for example, "User A successfully received 15 equity points". Figure 5 As shown in the fifth interface.
[0095] It should be noted that the above scenarios are only exemplary descriptions. Other scenarios of various operations performed based on chat tool X and transmitting the operations and / or operation results with the help of the instant messaging session window of chat tool X can also be implemented with reference to the above examples and are all within the protection scope of the embodiments of the present application.
[0096] The following, combined Fig. 6A and Figure 6B, a message processing system that executes the above message processing method is described.
[0097] Reference Fig. 6A , shows a structural block diagram of a message processing system according to an embodiment of the present application. The message processing system of this embodiment includes: a conversation module 602, an expression module 604 and a transaction module 606. Among them: the conversation module 602 is used to provide an instant messaging conversation window for multiple users to conduct instant messaging conversations; the expression module 604 is used to provide and manage multiple expressions including attitude expressions that can be used in the instant messaging conversation window; the transaction module 606 is decoupled from the expression module and is used to process and manage the interaction of data object resources between different users.
[0098] Furthermore, the conversation module 602 is also used to receive a trigger operation of the first user in the instant communication conversation window for an attitude expression provided by the expression module 604, wherein the attitude expression is used to provide attitude feedback to the instant communication message of the second user in the instant communication conversation window; the transaction module 606 is used to obtain a data object resource corresponding to the attitude expression from the data object resource pool of the first user based on the trigger operation, and send the data object resource to the second user; the conversation module 602 is also used to provide attitude feedback to the instant communication message of the second user using the attitude expression triggered by the trigger operation.
[0099] The specific implementation of each of the above modules can refer to the description of the corresponding parts in the aforementioned method embodiment, which will not be repeated here.
[0100] An example of a specific message processing system is Figure 6B As shown, in Figure 6B In the example, the session module 602 provides conventional functions, including providing an instant messaging session window for multiple users to conduct instant messaging sessions, etc. It may include a session configuration unit, a session member unit, a chat record unit, etc., to achieve the management and maintenance of session messages, session members, and all messages (chat records) generated by the session.
[0101] The expression module 604 includes an expression classification unit, an expression configuration unit, and an expression pasting recording unit. In this embodiment, the expression classification unit can classify expressions, that is, which expressions are regular ordinary expressions and which expressions are attitude expressions. The expression configuration unit can configure various expression attributes for the corresponding expressions, such as: the text content of the expression, the background image, whether it is an attitude expression, etc. For attitude expressions, a specific type identifier (such as indicating the type of equity points, or the type of forest energy points) and the number of corresponding data object resources (such as 10g, 5g, 15g points, etc.) can also be configured. The expression pasting recording unit is mainly responsible for maintaining the pasting records of various expressions (that is, the operation records for various expressions).
[0102] Depend on Figure 6B As can be seen in the figure, the transaction module 606 is decoupled from the expression module 604. The transaction module 606 can connect to a variety of different applications with data object resource pools (including the data object resource pool of the application in which it is located) to expand more data object resource application scenarios. In addition, the transaction module 606 is provided with a resource balance query unit, a resource transfer unit, and a transfer record query unit. The resource balance query unit can query whether there are enough resources in the corresponding data object resource pool for sending when a user sends a data object resource corresponding to an attitude expression to another user; the resource transfer unit can perform resource transfer processing of data object resources between users when the resources are sufficient; the transfer record query unit can respond to the request when the user initiates a resource transfer query request, query the transfer record and feedback the corresponding query result.
[0103] For applications with data object resource pools, corresponding resource management units and resource flow recording units may be provided. The resource management unit can maintain and manage the resources in the data object resource pool, and the resource flow recording unit can record the transfer in and out of resources. The specific implementation depends on the specific settings of each application, and the embodiments of the present application do not limit the specific implementation.
[0104] As mentioned above, the specific process of the conversation module 602, the expression module 604 and the transaction module 606 performing the message processing of the embodiment of the present application can refer to the relevant description in the aforementioned method embodiment, which will not be repeated here. In addition, since the message processing system of this embodiment is used to implement the message processing method in the aforementioned method embodiment, it has corresponding beneficial effects, which will not be repeated here.
[0105] Reference Figure 7 , shows a schematic diagram of the structure of an electronic device according to an embodiment of the present application. The specific embodiment of the present application does not limit the specific implementation of the electronic device.
[0106] like Figure 7As shown, the electronic device may include: a processor (processor) 702, a communication interface (Communications Interface) 704, a memory (memory) 706, and a communication bus 708.
[0107] in:
[0108] The processor 702 , the communication interface 704 , and the memory 706 communicate with each other via a communication bus 708 .
[0109] The communication interface 704 is used to communicate with other electronic devices or servers.
[0110] The processor 702 is used to execute the program 710, and specifically can execute the relevant steps in the above-mentioned message processing method embodiment.
[0111] Specifically, the program 710 may include program codes, which include computer operation instructions.
[0112] The processor 702 may be a CPU, a GPU (Graphic Processing Unit), an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the smart device may be processors of the same type, such as one or more CPUs; or may be processors of different types, such as one or more CPUs and one or more ASICs.
[0113] The memory 706 is used to store the program 710. The memory 706 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.
[0114] The program 710 may include multiple computer instructions. Specifically, the program 710 may enable the processor 702 to execute operations corresponding to the message processing method described in any of the aforementioned method embodiments through the multiple computer instructions.
[0115] The specific implementation of each step in program 710 can refer to the corresponding description of the corresponding steps and units in the above method embodiment, and has corresponding beneficial effects, which will not be repeated here. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described devices and modules can refer to the corresponding process description in the above method embodiment, which will not be repeated here.
[0116] The present application also provides a computer storage medium on which a computer program is stored, and when the program is executed by a processor, the method described in any of the above-mentioned multiple method embodiments is implemented. The computer storage medium includes but is not limited to: a compact disk (CD-ROM), a random access memory (RAM), a floppy disk, a hard disk or a magneto-optical disk, etc.
[0117] An embodiment of the present application also provides a computer program product, including computer instructions, which instruct a computing device to execute operations corresponding to any message processing method in the above-mentioned multiple method embodiments.
[0118] In addition, it should be noted that the user-related information (including but not limited to client information, user personal information, etc.) and data (including but not limited to data related to the user's data object resources, data used for analysis, stored data, displayed data, etc.) involved in the embodiments of the present application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0119] It should be pointed out that, according to the needs of implementation, the various components / steps described in the embodiments of the present application can be split into more components / steps, or two or more components / steps or partial operations of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of the present application.
[0120] The above-mentioned method according to the embodiment of the present application can be implemented in hardware, firmware, or implemented as software or computer code that can be stored in a recording medium (such as a CD-ROM, RAM, floppy disk, hard disk or magneto-optical disk), or implemented as a computer code originally stored in a remote recording medium or a non-temporary machine-readable medium downloaded through a network and to be stored in a local recording medium, so that the method described herein can be stored in such software processing on a recording medium using a general-purpose computer, a dedicated processor or programmable or dedicated hardware (such as an Application Specific Integrated Circuit (ASIC) or a Field Programmable Gate Array (FPGA)). It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component (for example, a random access memory (RAM), a read-only memory (ROM), a flash memory, etc.) that can store or receive software or computer code, and when the software or computer code is accessed and executed by a computer, a processor or hardware, the method described herein is implemented. In addition, when a general purpose computer accesses code for implementing the methods shown herein, the execution of the code transforms the general purpose computer into a special purpose computer for executing the methods shown herein.
[0121] Those of ordinary skill in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for specific applications, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.
[0122] The above implementation methods are only used to illustrate the embodiments of the present application, and are not limitations on the embodiments of the present application. Ordinary technicians in the relevant technical field can make various changes and modifications without departing from the spirit and scope of the embodiments of the present application. Therefore, all equivalent technical solutions also belong to the scope of the embodiments of the present application. The scope of patent protection of the embodiments of the present application should be limited by the claims.
Claims
1. A message processing method, the method comprising: Receiving a triggering operation of an attitude expression by a first user in an instant communication session window, wherein the attitude expression is used to provide attitude feedback to an instant communication message of a second user in the instant communication session window; Based on the trigger operation, acquiring a data object resource corresponding to the attitude expression from a data object resource pool of the first user; The attitude expression triggered by the trigger operation is used to provide attitude feedback to the instant communication message of the second user, and the data object resource is sent to the second user.
2. The method according to claim 1, wherein: The acquiring, based on the trigger operation, a data object resource corresponding to the attitude expression from a data object resource pool of the first user comprises: Based on the trigger operation, obtaining a resource type corresponding to the attitude expression; A data object resource corresponding to the attitude expression is acquired from a data object resource pool of the first user corresponding to the resource type.
3. The method according to claim 2, wherein: The acquiring, from the data object resource pool of the first user corresponding to the resource type, a data object resource corresponding to the attitude expression comprises: If the resource type indicates that the data object resource pool is a resource pool in the application to which the instant messaging session window belongs, directly acquiring the data object resource corresponding to the attitude expression from the data object resource pool of the first user in the application to which the window belongs; or, If the resource type indicates that the data object resource pool is a resource pool in a third-party application, then based on the common identification information of the first user in the application to which the instant messaging session window belongs and the third-party application, the data object resource corresponding to the attitude expression is obtained from the data object resource pool of the first user in the third-party application.
4. The method according to claim 1, wherein: The acquiring the data object resource corresponding to the attitude expression from the data object resource pool of the first user includes: Determine the number of data object resources corresponding to the attitude expression; If the data object resource pool of the first user has data object resources satisfying the quantity, data object resources are acquired from the data object resource pool according to the quantity.
5. The method according to any one of claims 1 to 4, wherein: The sending the data object resource to the second user comprises: Initiate a resource transfer to the second user to transfer the data object resource to the data object resource pool of the second user.
6. The method according to claim 5, wherein: The initiating a resource transfer to the second user to transfer the data object resource to the data object resource pool of the second user includes: A resource transfer is initiated to the second user, and when it is determined that the second user has opened an access right to the data object resource pool, the data object resource is transferred to the data object resource pool of the second user.
7. The method according to claim 5, wherein: The method further comprises: Generate and save a transfer record of the resource transfer.
8. The method according to claim 7, wherein: After initiating the resource transfer to the second user, the method further includes: Based on the transfer record, performing risk detection on the resource transfer; If the risk detection passes, it is determined whether the second user has opened access rights to the data object resource pool.
9. The method according to claim 7, wherein: The method further comprises: A resource transfer query request initiated by the first user is received, the transfer record is searched according to the request, and query result feedback is provided to the resource transfer query request according to the query result.
10. The method according to any one of claims 1 to 4, wherein: The using the attitude expression triggered by the triggering operation to provide attitude feedback to the instant communication message of the second user includes: Pasting the attitude expression triggered by the triggering operation onto the instant messaging message of the second user to provide attitude feedback; or, The attitude expression triggered by the triggering operation is used as the reply content of the instant communication message to the second user, and attitude feedback is performed through the reply message.
11. The method according to any one of claims 1 to 4, wherein: In the receiving instant communication session window, before the first user triggers the attitude expression, the method further includes: Receiving an operation for indicating an option of adding a custom attitude expression in the display interface of the attitude expression; According to the operation, a custom expression setting interface is displayed, wherein the setting interface includes: a control for inputting the number of data object resources corresponding to the custom expression, and a control for inputting text and / or pictures corresponding to the custom expression; The settings of each control in the custom expression setting interface are received, and a custom attitude expression is generated according to the settings.
12. A message processing system, comprising: Conversation module, expression module and transaction module; in: The conversation module is used to provide an instant messaging conversation window for multiple users to conduct instant messaging conversations; the expression module is used to provide and manage multiple expressions including attitude expressions that can be used in the instant messaging conversation window; the transaction module is decoupled from the expression module and is used to process and manage the interaction of data object resources between different users; The conversation module is further used to receive a trigger operation of the first user in the instant communication conversation window for the attitude expression provided by the expression module, wherein the attitude expression is used to provide attitude feedback to the instant communication message of the second user in the instant communication conversation window; The transaction module is configured to obtain, based on the trigger operation, a data object resource corresponding to the attitude expression from the data object resource pool of the first user, and send the data object resource to the second user; The conversation module is further configured to use the attitude expression triggered by the trigger operation to provide attitude feedback to the instant communication message of the second user.
13. An electronic device comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the method according to any one of claims 1-11.
14. A computer storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.
15. A computer program product, comprising computer instructions, wherein the computer instructions instruct a computing device to execute operations corresponding to the method according to any one of claims 1 to 11.
