Message processing method, device, electronic device, and storage medium

By querying requests and user account identification of key fields of the receiving server, determining and displaying the target key fields of the session message, the problem of difficulty in understanding the proper noun in IM message interaction is solved and the efficiency of message interaction is improved.

CN115118695BActive Publication Date: 2024-12-10BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210769524.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-01
Publication Date
2024-12-10
Estimated Expiration
2042-07-01

AI Technical Summary

Technical Problem

During IM message interaction, when the user sends a proper noun, the receiver does not understand its meaning, resulting in low message interaction efficiency.

Method used

By receiving the key field query request sent by the server, the key field query result of the session message is determined based on the user account identification, and it is returned to the server to generate a prompt message with the target keyword. The receiver can use the custom keyword The information matching and display of segment content.

Benefits of technology

Effectively displaying custom content in session messages improves message interaction efficiency. Users can match and display information based on the customized key field content, improving the efficiency of information exchange.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115118695B_ABST
    Figure CN115118695B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a message processing method, device, electronic device, and storage medium, the method comprising: receiving a key field query request sent by a first server; the key field query request is generated by the first server in response to a session message sent by a first client to a second client; determining the key field query result of the session message according to a user account identifier, and returning it to the first server; the key field query result is used to indicate a target key field; receiving a key information acquisition request sent by a second client, determining the target key information for the session message after the query; the target key information is used to characterize the description content configured by the user account identifier for the target key field; sending the target key information to the second client; the second client is used to display the target key information. The method can effectively display the customized content in the session message, thereby improving the message interaction efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of Internet technology, and in particular to a message processing method, device, electronic device, storage medium and computer program product. Background Art

[0002] At present, there are some specific fields in the IM (Instant Messaging) message interaction process. For example, different message communication scenarios may have different proper nouns. When the message sender user inputs a similar proper noun, but the message receiver user does not understand the meaning of the received proper noun, it is necessary to repeatedly confirm the meaning of the noun, which reduces the efficiency of message interaction.

[0003] Therefore, there is a problem of low message interaction efficiency in the related technology. Summary of the invention

[0004] The present disclosure provides a message processing method, device, electronic device, storage medium and computer program product to at least solve the problem of low message interaction efficiency in the related art. The technical solution of the present disclosure is as follows:

[0005] According to a first aspect of an embodiment of the present disclosure, a message processing method is provided, including:

[0006] receiving a key field query request sent by a first server; the key field query request is generated by the first server in response to a session message sent by a first client to a second client, and the key field query request carries a user account identifier corresponding to the first client;

[0007] Determine a key field query result of the conversation message according to the user account identifier, and return the result to the first server; the key field query result is used to indicate a target key field, and the first server is used to send the queried conversation message to the second client, wherein the queried conversation message has prompt information for the target key field;

[0008] receiving a key information acquisition request sent by the second client, and determining target key information for the queried session message; the target key information is used to represent the description content configured by the user account identifier for the target key field;

[0009] The target key information is sent to the second client; the second client is used to display the target key information.

[0010] In a possible implementation, before the step of receiving the key field query request sent by the first server, the method further includes:

[0011] receiving a key field configuration request for the user account identifier, and acquiring an updated key field and updated key information corresponding to the updated key field; the key field configuration request is generated by the first client in response to a key field configuration operation; the description content represented by the updated key information includes different types of multimedia data and page entry information;

[0012] The updated key field and the updated key information are added to the key field information set corresponding to the user account identifier.

[0013] In a possible implementation, determining the key field query result of the conversation message according to the user account identifier includes:

[0014] Determine a key field information set corresponding to the user account identifier;

[0015] If the session message hits at least one key field in the key field information set, the at least one key field is used as the target key field, and a key field query result is obtained according to the target key field.

[0016] In a possible implementation, the receiving the key information acquisition request sent by the second client and determining the target key information for the queried session message includes:

[0017] Acquire the target key field to be searched and the user account identifier to which the target key field belongs from the key information acquisition request;

[0018] According to the key field information set corresponding to the user account identifier, the key information corresponding to the target key field is found out as the target key information.

[0019] According to a second aspect of an embodiment of the present disclosure, a message processing method is provided, including:

[0020] receiving a target session message including prompt information of a target key field sent by the first server, and displaying the message in a session interface; the target session message is a session message sent by the first client to the second client, and a key field query result is obtained according to a user account identifier corresponding to the first client;

[0021] In response to the trigger operation for the target key field, a key information acquisition request is generated and sent to a second server; the second server stores a key field information set corresponding to the user account identifier;

[0022] Receive the target key information returned by the second server, and display the target key information in the session interface; the target key information is used to represent the description content configured by the user account identifier for the target key field.

[0023] In a possible implementation, the target key field includes at least one, and displaying the target key information in the conversation interface includes:

[0024] In the conversation interface, a floating component corresponding to each target key field in the target conversation message is displayed; the floating component is used to display the target key information corresponding to the target key field, and the description content represented by the target key information includes different types of multimedia data and page entry information.

[0025] In one possible implementation, the method further includes:

[0026] When the target key information displayed by the floating component is preset page entry information, in response to a first operation on the floating component, displaying a target page corresponding to the preset page entry information;

[0027] When the target key information displayed by the floating component is preset multimedia data, in response to a second operation on the floating component, the preset multimedia data is displayed in the conversation interface.

[0028] According to a third aspect of an embodiment of the present disclosure, a message processing device is provided, including:

[0029] a query request receiving unit, configured to execute receiving a key field query request sent by a first server; the key field query request is generated by the first server in response to a session message sent by a first client to a second client, and the key field query request carries a user account identifier corresponding to the first client;

[0030] a query result determination unit configured to determine a key field query result of the session message according to the user account identifier, and return the result to the first server; the key field query result is used to indicate a target key field, and the first server is used to send the queried session message to the second client, and the queried session message has prompt information for the target key field;

[0031] A key information obtaining unit is configured to receive a key information obtaining request sent by the second client, and determine target key information for the queried session message; the target key information is used to represent the description content configured by the user account identifier for the target key field;

[0032] The key information sending unit is configured to send the target key information to the second client; the second client is used to display the target key information.

[0033] According to a fourth aspect of an embodiment of the present disclosure, a message processing device is provided, including:

[0034] A session message receiving unit is configured to receive a target session message including prompt information of a target key field sent by a first server and display the target session message in a session interface; the target session message is a session message sent by a first client to a second client, and a key field query result is obtained according to a user account identifier corresponding to the first client;

[0035] an information acquisition request sending unit, configured to execute a trigger operation for the target key field, generate a key information acquisition request, and send the request to a second server; the second server stores a key field information set corresponding to the user account identifier;

[0036] The key information display unit is configured to receive the target key information returned by the second server and display the target key information in the session interface; the target key information is used to represent the description content configured by the user account identifier for the target key field.

[0037] According to a fifth aspect of an embodiment of the present disclosure, there is provided an electronic device, including:

[0038] processor;

[0039] a memory for storing instructions executable by the processor;

[0040] The processor is configured to execute the instructions to implement the message processing method as described in any one of the first aspects above, and / or the message processing method as described in any one of the second aspects above.

[0041] According to the sixth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute a message processing method as described in any one of the first aspect above, and / or a message processing method as described in any one of the second aspect above.

[0042] According to the seventh aspect of an embodiment of the present disclosure, a computer program product is provided, wherein the computer program product includes instructions, and when the instructions are executed by a processor of an electronic device, the electronic device is capable of executing a message processing method as described in any one of the first aspect above, and / or a message processing method as described in any one of the second aspect above.

[0043] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0044] The scheme disclosed in the present invention receives a key field query request sent by a first server, the key field query request is generated by the first server in response to a session message sent by a first client to a second client, the key field query request carries a user account identifier corresponding to the first client, and then determines the key field query result of the session message according to the user account identifier, and returns it to the first server, the key field query result is used to indicate the target key field, the first server is used to send the queried session message to the second client, the queried session message has prompt information for the target key field, and then receives a key information acquisition request sent by the second client, determines the target key information for the queried session message, the target key information is used to characterize the description content configured by the user account identifier for the target key field, sends the target key information to the second client, and the second client is used to display the target key information. In this way, information matching can be performed for the session message sent by the user according to the customized key field content, and then displayed to the user receiving the session message, which can effectively display the customized content in the session message and improve the message interaction efficiency.

[0045] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0047] Figure 1 The diagram is an application environment diagram of a message processing method according to an exemplary embodiment.

[0048] Figure 2 The figure is a flowchart of a message processing method according to an exemplary embodiment.

[0049] Figure 3 The diagram is a schematic diagram of a message interaction process according to an exemplary embodiment.

[0050] Figure 4 The figure is a flowchart of another message processing method according to an exemplary embodiment.

[0051] Figure 5 The figure is a flowchart of another message processing method according to an exemplary embodiment.

[0052] Figure 6The invention is a block diagram of a message processing device according to an exemplary embodiment.

[0053] Figure 7 It is a block diagram of another message processing device according to an exemplary embodiment.

[0054] Figure 8 It is a block diagram of an electronic device according to an exemplary embodiment.

[0055] Fig. 9 is a block diagram of another electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0056] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0057] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure.

[0058] It should also be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.

[0059] The message processing method provided by the present disclosure can be applied to Figure 1In the application environment shown. Among them, the first terminal 101 communicates with the instant messaging server 102 and the dictionary server 104 through the network, the instant messaging server 102 can communicate with the dictionary server 104, and the second terminal 103 can also communicate with the instant messaging server 102 and the dictionary server 104 through the network. The data storage system can store the data that the dictionary server 104 needs to process. The data storage system can be integrated on the dictionary server 104, or it can be placed on the cloud or other network servers. Among them, the first terminal 101 and the second terminal 103 can be but not limited to various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The instant messaging server 102 and the dictionary server 104 can be implemented with independent servers or server clusters consisting of multiple servers.

[0060] Figure 2 is a flowchart of a message processing method according to an exemplary embodiment. Figure 2 As shown, this method can be used to Figure 1 The dictionary server 104 in includes the following steps.

[0061] In step S210, a key field query request sent by the first server is received; the key field query request is generated by the first server in response to a session message sent by the first client to the second client;

[0062] Among them, the conversation message can be an IM (Instant Messaging) message. The first terminal 101 can run a first client that uses a first user account to log in to the conversation application, and the second terminal 103 can run a second client that uses a second user account to log in to the conversation application. The first client can send an IM message to the second client through the instant messaging server 102.

[0063] As an example, the first server may be an instant messaging server; the key field query request may carry a user account identifier corresponding to the first client, that is, an identifier corresponding to the first user account of the first client that logs into the session application, such as a user ID.

[0064] In actual applications, the first client can send a conversation message to the second client through the instant messaging server. The instant messaging server can generate a key field query request for the conversation message in response to the received conversation message, and then send the key field query request to the dictionary server for query to determine whether the conversation message sent by the first client hits the target key field.

[0065] Specifically, the user account identifier corresponding to the first client may be pre-set with a custom key field information set, which may include each key field and the key information defined therein. For example, user A of the first client who logs in to the session application may have a custom dictionary (i.e., a key field information set) corresponding to a pre-configured user A account identifier. The custom dictionary may be a key-value set, i.e., a correspondence between multiple key fields and key information.

[0066] In one example, if Figure 3 As shown, user A who logs into a first client of a conversation application can send an IM message (i.e., a conversation message) to user B who logs into a second client of the conversation application. The IM message can carry key fields in user A's custom dictionary. The IM message is sent to an instant messaging server (i.e., the first server). The instant messaging server can then generate a key field query request based on the IM message and send it to the dictionary server. The dictionary server can then query whether the IM message hits the key field in user A's custom dictionary based on the user ID corresponding to the sending IM message (i.e., the user account identifier corresponding to the first client).

[0067] In step S220, the key field query result of the session message is determined according to the user account identifier, and returned to the first server;

[0068] Among them, the key field query result can be used to indicate the target key field; the first server can be used to send the post-query conversation message to the second client, and the post-query conversation message can have prompt information for the target key field, such as the target key field can be identified in the post-query conversation message to distinguish the target key field and the non-target key field in the text content of the conversation message.

[0069] In a specific implementation, the dictionary server can obtain a key field information set corresponding to the user account identifier corresponding to the first client, and then can obtain a key field query result of the session message by judging whether the session message sent by the first client hits the key field in the key field information set based on the key field information set, and then can return the key field query result to the first server.

[0070] In one example, if Figure 3As shown, the dictionary server can query whether the text content of the IM message hits the key field in the user's customized dictionary based on the user ID corresponding to the sent IM message (i.e., conversation message) (i.e., the user account identifier corresponding to the first client). If it hits, the hit word (i.e., the key field query result is used to indicate the target key field) can be returned to the instant messaging server (i.e., the first server), and then the instant messaging server can push information (i.e., the conversation message after the query) to the second client and can carry the hit keyword (i.e., the target key field).

[0071] In step S230, a key information acquisition request sent by the second client is received, and target key information for the queried session message is determined;

[0072] Among them, the target key information can be used to represent the descriptive content configured for the target key field by the user account identifier, such as the correspondence between multiple key-value pairs in the custom dictionary preset by user A (i.e., the key field information set). User A can preset the key fields and configure the corresponding descriptive content for each key field as the key information corresponding to the key field.

[0073] In actual applications, the dictionary server can receive the key information acquisition request sent by the second client, determine the target key field of the key information to be acquired, and then obtain the target key information corresponding to the target key field according to the key field information set of the user account identifier corresponding to the first client.

[0074] For example, the target key field can be determined based on the identification keyword information in the queried session message, and then the configured description content corresponding to the target key field can be matched from the key field information set of the user account identification corresponding to the first client to obtain the target key information.

[0075] In step S240, the target key information is sent to the second client; the second client is used to display the target key information.

[0076] After obtaining the target key information, the dictionary server can send the target key information to the second client, and then the target key information can be displayed by the second client, such as displaying the target key information next to the text content of the conversation message received by the second client in the conversation interface of the second client.

[0077] In one example, if Figure 3 As shown, after the dictionary server sends the target key information to the second client, the second client can obtain the hit word interpretation of user A (i.e., the user account identifier corresponding to the first client), and can suspend and display the corresponding interpretation of the hit word around the conversation message bubble in the conversation interface of the second client.

[0078] In the above message processing method, by receiving a key field query request sent by the first server, the key field query request is generated by the first server in response to the session message sent by the first client to the second client, the key field query request carries the user account identifier corresponding to the first client, and then according to the user account identifier, the key field query result of the session message is determined and returned to the first server, the key field query result is used to indicate the target key field, the first server is used to send the queried session message to the second client, the queried session message has prompt information for the target key field, and then receive the key information acquisition request sent by the second client, determine the target key information for the queried session message, the target key information is used to characterize the description content configured by the user account identifier for the target key field, send the target key information to the second client, and the second client is used to display the target key information. In this way, the session message sent by the user can be matched according to the customized key field content, and then displayed to the user receiving the session message, which can effectively display the customized content in the session message and improve the message interaction efficiency.

[0079] In an exemplary embodiment, before the step of receiving the key field query request sent by the first server, it also includes: receiving a key field configuration request for the user account identifier, obtaining updated key fields and updated key information corresponding to the updated key fields; adding the updated key fields and the updated key information to the key field information set corresponding to the user account identifier.

[0080] In actual applications, the first client can generate a key field configuration request in response to the key field configuration operation and send it to the dictionary server. The dictionary server can then receive the key field configuration request for the user account identifier corresponding to the first client, obtain the updated key fields and the updated key information corresponding to the updated key fields, and then update the key field information set of the user account identifier corresponding to the first client, and add the updated key fields and the updated key information to the key field information set.

[0081] Specifically, Figure 3 As shown, user A can update his custom dictionary (i.e., a set of key field information) by uploading the latest dictionary data of user A to the dictionary server through the first client, and then the dictionary server can save / update the custom dictionary of user A in the dictionary database according to the latest dictionary data of user A.

[0082] In an optional embodiment, by constructing dictionary data based on user dimensions, users can be supported to define content for custom key fields, and when a user sends a conversation message to others, when others receive the conversation message, it can automatically trigger information matching based on the user's custom dictionary, and then the user's custom content can be displayed to others for more effective information exchange; in the case where the same key fields exist in the speeches of different users, since the users' respective custom dictionaries are different, the interpretation content of the key fields will also have different effects, which can provide a more personalized and interesting experience during the actual conversation.

[0083] In one example, the IM client (i.e., the first client) can support users to configure a custom dictionary function. The custom dictionary can be a key-value collection. After each user update, the IM client will automatically upload the updated dictionary data to the dictionary server. The custom dictionary content of each user can be fully saved in the dictionary database of the dictionary server.

[0084] For example, a key-value set can be represented as follows:

[0085] "keyword1":"value1",

[0086] "keyword2":"value2",

[0087] "keyword3":"value3"

[0088] Among them, the description content represented by the value (i.e., key information) may include different types of multimedia data and page entry information. For example, the description content configured for the key field in the dictionary may support users to set rich media functions such as hyperlinks, thereby facilitating page jumps or display of different types of multimedia data when users click in conversation scenarios.

[0089] For another example, the dictionary server can provide save interface, update interface and delete interface to facilitate the client of the session application to implement management functions. The table structure storing dictionary data in the dictionary database can be expressed as follows:

[0090] Create table my_dict{

[0091] Id bigint primary key auto_increment, / / Primary key

[0092] Uid bigint not null, / / user id

[0093] Dict varchar(1024)not null, / / dictionary content

[0094] Create_time bigint, / / creation time

[0095] Update_time bigint, / / Update time

[0096] }

[0097] Each user may have a corresponding record, and the content of the record is the complete dictionary information customized by the user.

[0098] The technical solution of this embodiment, by receiving a key field configuration request for a user account identifier, obtains update key fields and update key information corresponding to the update key fields, and then adds the update key fields and the update key information to the key field information set corresponding to the user account identifier. A custom dictionary can be constructed based on the user dimension, which is more flexible.

[0099] In an exemplary embodiment, a key field query result of a conversation message is determined based on a user account identifier, including: determining a key field information set corresponding to the user account identifier; if the conversation message hits at least one key field in the key field information set, taking the at least one key field as a target key field, and obtaining a key field query result based on the target key field.

[0100] In the specific implementation, Figure 3 As shown, after the dictionary server receives the key field query request, it can obtain the key field information set corresponding to the user account identifier from the dictionary data stored in the dictionary database, such as a custom dictionary, based on the user account identifier corresponding to the first client sending the session message, such as the user ID, and then query whether the text content of the session message hits the key field in the custom dictionary. If the session message hits at least one key field in the key field information set, at least one key field can be used as the target key field, and the key field query result can be obtained based on the target key field to be sent to the first server, such as the instant messaging server.

[0101] For example, if it is determined that the conversation message hits a key field in a custom dictionary, the hit word (i.e., the target key field) can be returned to the instant messaging server, and then the instant messaging server can push information (i.e., the conversation message after the query) to the second client and can carry the hit keyword (i.e., the target key field).

[0102] The technical solution of this embodiment determines the key field information set corresponding to the user account identifier. If the conversation message hits at least one key field in the key field information set, at least one key field is used as the target key field, and the key field query result is obtained according to the target key field. It can match the information of the conversation message sent by the user according to the customized key field content, so as to identify the key fields in the conversation message.

[0103] In an exemplary embodiment, a key information acquisition request sent by a second client is received, and target key information for the queried session message is determined, including: obtaining the target key field to be searched and the user account identifier to which the target key field belongs from the key information acquisition request; and searching for the key information corresponding to the target key field according to the key field information set corresponding to the user account identifier as the target key information.

[0104] In one example, after the dictionary server receives a request to obtain key information, it can determine the user account identifier corresponding to the first client that sends the session message, such as the user ID, and the target key field to be searched in the session message, and then, based on a key field information set corresponding to the user account identifier, such as a custom dictionary, through the correspondence between the target key field and its key information, find the key information corresponding to the target key field as the target key information.

[0105] For example, the target key field may be determined according to the identification keyword information, and then the configured description content corresponding to the target key field may be matched from the key field information set of the user account identification corresponding to the first client to obtain the target key information.

[0106] The technical solution of this embodiment obtains the target key field to be searched and the user account identifier to which the target key field belongs from the key information acquisition request, and then searches out the key information corresponding to the target key field according to the key field information set corresponding to the user account identifier. As the target key information, the information matching result of the user-defined key field content can be based on the customized content in the conversation message for feedback, thereby improving the message interaction efficiency.

[0107] Figure 4 is a flowchart of another message processing method according to an exemplary embodiment. Figure 4 As shown, this method can be used to Figure 1 In the second terminal 103, the following steps are included.

[0108] In step S410, a target conversation message including prompt information of a target key field sent by the first server is received and displayed in a conversation interface;

[0109] The target session message may be a session message sent by the first client to the second client, and the key field query result is obtained according to the user account identifier corresponding to the first client.

[0110] In actual applications, the first server can send a target conversation message from the first client to the second client. The target conversation message can have prompt information for the target key field, such as identifying the target key field in the conversation message to distinguish the target key field from the non-target key field in the text content of the conversation message, and can display the target conversation message sent by the first client to the second client in the conversation interface of the second client.

[0111] In step S420, in response to the trigger operation for the target key field, a key information acquisition request is generated and sent to the second server; the second server stores a key field information set corresponding to the user account identifier;

[0112] As an example, the trigger operation may be triggered by the second client in response to a user's click operation on a target key field, or may be automatically triggered when the second client receives a target conversation message.

[0113] In a specific implementation, the second client can generate a key information acquisition request in response to a trigger operation on a target key field, and send it to a second server, which can store a set of key field information corresponding to a user account identifier, such as a dictionary database of a dictionary server that can fully store the custom dictionary content of each user.

[0114] In step S430, the target key information returned by the second server is received and displayed in the conversation interface; the target key information is used to represent the description content configured by the user account identifier for the target key field.

[0115] In actual applications, the second server can determine the target key field of the key information to be obtained based on the received key information acquisition request, and then can obtain the target key information corresponding to the target key field according to the key field information set of the user account identifier corresponding to the first client. Then, the second client can receive the target key information returned by the second server and display the target key information in the session interface.

[0116] For example, the target key information may be displayed in the conversation interface of the second client next to the text content of the conversation message received by the second client.

[0117] For example, after the second client receives the target key information returned by the dictionary server (i.e., the second server), it can obtain the hit word interpretation for the user account identifier corresponding to the first client, and can display the corresponding interpretation of the hit word in a suspended manner around the conversation message bubble in the second client conversation interface.

[0118] In the above message processing method, a target conversation message containing prompt information of a target key field sent by a first server is received and displayed in a conversation interface, and then a key information acquisition request is generated in response to a trigger operation on the target key field and sent to a second server. The second server stores a key field information set corresponding to a user account identifier, and then receives the target key information returned by the second server and displays the target key information in the conversation interface. The target key information is used to characterize the description content configured for the target key field by the user account identifier, and the customized key field content of the user sending the conversation message can be displayed to the user receiving the conversation message, which can effectively display the user-defined description in the conversation message and improve the message interaction efficiency.

[0119] In an exemplary embodiment, the target key field may include at least one, and the target key information is displayed in the conversation interface, including: in the conversation interface, displaying a floating component corresponding to each target key field in the target conversation message; the floating component is used to display the target key information corresponding to the target key field.

[0120] In one example, the target keyword field may include at least one floating component corresponding to each target keyword field in the target conversation message can be displayed in the conversation interface. The floating component can be used to display the target keyword information corresponding to the target keyword field, such as floating the explanation corresponding to the hit word around the conversation message bubble in the second client conversation interface.

[0121] The technical solution of this embodiment can effectively display the customized content in the conversation message by displaying the floating components corresponding to each target key field in the target conversation message in the conversation interface.

[0122] In an exemplary embodiment, it also includes: when the target key information displayed by the floating component is preset page entry information, in response to a first operation on the floating component, the target page corresponding to the preset page entry information is displayed; when the target key information displayed by the floating component is preset multimedia data, in response to a second operation on the floating component, the preset multimedia data is displayed in the session interface.

[0123] In actual applications, since the descriptive content represented by the key information may include different types of multimedia data and page entry information, when the target key information displayed by the floating component is the preset page entry information, in response to a first operation on the floating component, such as a page jump operation, the target page corresponding to the preset page entry information can be displayed; and when the target key information displayed by the floating component is the preset multimedia data, in response to a second operation on the floating component, such as a multimedia data playback operation, the preset multimedia data, such as video, audio, image, etc., can be displayed in the session interface.

[0124] In one example, a user can display the meaning analysis content by clicking on the target key information corresponding to the target key field to obtain the custom description content configured by the user for the target key field, or jump to the corresponding URL to perform operations, thereby dynamically and intelligently displaying text messages in rich media, greatly improving the display capabilities of plain text content.

[0125] The technical solution of this embodiment can improve the content display capability of the conversation message by displaying the target page corresponding to the preset page entry information in response to a first operation on the floating component when the target key information displayed by the floating component is the preset page entry information, and by displaying the preset multimedia data in the conversation interface in response to a second operation on the floating component when the target key information displayed by the floating component is the preset multimedia data.

[0126] Figure 5 is a flowchart of another message processing method according to an exemplary embodiment. Figure 5 As shown, the method is used in computer devices such as terminals / servers, and includes the following steps.

[0127] In step S510, a key field configuration request for a user account identifier is received, and an update key field and update key information corresponding to the update key field are obtained; the description content represented by the update key information includes different types of multimedia data and page entry information. In step S520, the update key field and the update key information are added to the key field information set corresponding to the user account identifier. In step S530, a key field query request sent by the first server is received, and the key field query request carries the user account identifier corresponding to the first client. In step S540, the key field information set corresponding to the user account identifier is determined. In step S550, if the session message hits at least one key field in the key field information set, at least one key field is used as a target key field, and a key field query result is obtained according to the target key field. In step S560, a target session message containing prompt information of the target key field sent by the first server is received and displayed in the session interface, and the target session message is sent by the first client to the second client. In step S570, in response to the trigger operation for the target key field, a key information acquisition request is generated and sent to the second server, which stores a key field information set corresponding to the user account identifier. In step S580, the target key information returned by the second server is received and displayed in the conversation interface; the target key information is used to characterize the description content configured by the user account identifier for the target key field. It should be noted that the specific definition of the above steps can be found in the specific definition of a message processing method above, which will not be repeated here.

[0128] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0129] It can be understood that the same / similar parts between the various embodiments of the above method in this specification can refer to each other, and each embodiment focuses on the differences from other embodiments. For related points, please refer to the description of other method embodiments.

[0130] Based on the same inventive concept, an embodiment of the present disclosure also provides a message processing device for implementing the above-mentioned message processing method.

[0131] Figure 6 FIG. 1 is a block diagram of a message processing device according to an exemplary embodiment. Figure 6 , the device comprises:

[0132] The query request receiving unit 601 is configured to receive a key field query request sent by a first server; the key field query request is generated by the first server in response to a session message sent by a first client to a second client, and the key field query request carries a user account identifier corresponding to the first client;

[0133] The query result determination unit 602 is configured to determine the key field query result of the session message according to the user account identifier, and return the result to the first server; the key field query result is used to indicate the target key field, and the first server is used to send the queried session message to the second client, and the queried session message has prompt information for the target key field;

[0134] The key information obtaining unit 603 is configured to receive the key information obtaining request sent by the second client, and determine the target key information for the queried session message; the target key information is used to represent the description content configured by the user account identifier for the target key field;

[0135] The key information sending unit 604 is configured to send the target key information to the second client; the second client is used to display the target key information.

[0136] In a possible implementation, the message processing device further includes:

[0137] a configuration request receiving unit, specifically configured to receive a key field configuration request for the user account identifier, obtain an updated key field and updated key information corresponding to the updated key field; the key field configuration request is generated by the first client in response to a key field configuration operation; the description content represented by the updated key information includes different types of multimedia data and page entry information;

[0138] The key information updating unit is specifically configured to execute adding the updated key field and the updated key information to the key field information set corresponding to the user account identifier.

[0139] In one possible implementation, the query result determination unit 602 is specifically configured to determine the key field information set corresponding to the user account identifier; if the session message hits at least one key field in the key field information set, the at least one key field is used as the target key field, and the key field query result is obtained based on the target key field.

[0140] In one possible implementation, the key information obtaining unit 603 is specifically configured to execute, from the key information obtaining request, obtaining the target key field to be searched and the user account identifier to which the target key field belongs; and according to the key field information set corresponding to the user account identifier, finding out the key information corresponding to the target key field as the target key information.

[0141] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0142] Each module in the above message processing device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module above.

[0143] Based on the same inventive concept, the embodiment of the present disclosure also provides another message processing device for implementing the above-mentioned message processing method.

[0144] Figure 7 FIG. 1 is a block diagram of a message processing device according to an exemplary embodiment. Figure 7 , the device comprises:

[0145] The session message receiving unit 701 is configured to receive a target session message including prompt information of a target key field sent by the first server, and display the target session message in the session interface; the target session message is a session message sent by the first client to the second client, and the key field query result is obtained according to the user account identifier corresponding to the first client;

[0146] The information acquisition request sending unit 702 is configured to generate a key information acquisition request in response to a trigger operation on the target key field, and send the request to a second server; the second server stores a key field information set corresponding to the user account identifier;

[0147] The key information display unit 703 is configured to receive the target key information returned by the second server and display the target key information in the session interface; the target key information is used to represent the description content configured by the user account identifier for the target key field.

[0148] In one possible implementation, the target key field includes at least one, and the key information display unit 703 is specifically configured to execute in the session interface to display a floating component corresponding to each of the target key fields in the target session message; the floating component is used to display the target key information corresponding to the target key field, and the description content represented by the target key information includes different types of multimedia data and page entry information.

[0149] In a possible implementation, the message processing device further includes:

[0150] The first display unit is specifically configured to execute, when the target key information displayed by the floating component is the preset page entry information, in response to a first operation on the floating component, displaying a target page corresponding to the preset page entry information;

[0151] The second display unit is specifically configured to display the preset multimedia data in the conversation interface in response to a second operation on the floating component when the target key information displayed by the floating component is preset multimedia data.

[0152] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0153] Each module in the above message processing device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module above.

[0154] Figure 8 8 is a block diagram of an electronic device 800 for implementing a message processing method according to an exemplary embodiment. For example, the electronic device 800 may be a server. Figure 8, the electronic device 800 includes a processing component 820, which further includes one or more processors, and a memory resource represented by a memory 822 for storing instructions executable by the processing component 820, such as an application. The application stored in the memory 822 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 820 is configured to execute the instructions to perform the above method.

[0155] The electronic device 800 may further include a power supply component 824 configured to perform power management of the electronic device 800, a wired or wireless network interface 826 configured to connect the electronic device 800 to a network, and an input / output (I / O) interface 828. The electronic device 800 may operate based on an operating system stored in the memory 822, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, or the like.

[0156] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 822 including instructions, and the above instructions can be executed by a processor of the electronic device 800 to perform the above method. The storage medium can be a computer-readable storage medium, for example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0157] In an exemplary embodiment, a computer program product is further provided. The computer program product includes instructions. The instructions can be executed by a processor of the electronic device 800 to complete the above method.

[0158] Fig. 9 1 is a block diagram of an electronic device 900 for implementing a message processing method according to an exemplary embodiment. For example, the electronic device 900 may be a mobile phone, a computer, a digital broadcast terminal, a message transceiver device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0159] Reference Fig. 9 , the electronic device 900 may include one or more of the following components: a processing component 902 , a memory 904 , a power component 906 , a multimedia component 908 , an audio component 910 , an input / output (I / O) interface 912 , a sensor component 914 , and a communication component 916 .

[0160] The processing component 902 generally controls the overall operation of the electronic device 900, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 902 may include one or more modules to facilitate the interaction between the processing component 902 and other components. For example, the processing component 902 may include a multimedia module to facilitate the interaction between the multimedia component 908 and the processing component 902.

[0161] The memory 904 is configured to store various types of data to support operations on the electronic device 900. Examples of such data include instructions for any application or method operating on the electronic device 900, contact data, phone book data, messages, pictures, videos, etc. The memory 904 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk, an optical disk, or a graphene memory.

[0162] The power supply component 906 provides power to the various components of the electronic device 900. The power supply component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 900.

[0163] The multimedia component 908 includes a screen that provides an output interface between the electronic device 900 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front camera and / or a rear camera. When the electronic device 900 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0164] The audio component 910 is configured to output and / or input audio signals. For example, the audio component 910 includes a microphone (MIC), and when the electronic device 900 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 904 or sent via the communication component 916. In some embodiments, the audio component 910 also includes a speaker for outputting an audio signal.

[0165] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0166] The sensor assembly 914 includes one or more sensors for providing various aspects of status assessment for the electronic device 900. For example, the sensor assembly 914 can detect the open / closed state of the electronic device 900, the relative positioning of the components, such as the display and keypad of the electronic device 900, and the sensor assembly 914 can also detect the position change of the electronic device 900 or the electronic device 900 components, the presence or absence of contact between the user and the electronic device 900, the orientation or acceleration / deceleration of the device 900 and the temperature change of the electronic device 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0167] The communication component 916 is configured to facilitate wired or wireless communication between the electronic device 900 and other devices. The electronic device 900 can access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G or 5G), or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0168] In an exemplary embodiment, the electronic device 900 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0169] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 904 including instructions, and the above instructions can be executed by the processor 920 of the electronic device 900 to perform the above method. For example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0170] In an exemplary embodiment, a computer program product is further provided. The computer program product includes instructions. The instructions can be executed by the processor 920 of the electronic device 900 to complete the above method.

[0171] It should be noted that the above-mentioned devices, electronic devices, computer-readable storage media, computer program products, etc. may also include other implementation methods according to the description of the method embodiments. The specific implementation methods can refer to the description of the relevant method embodiments, which will not be described one by one here.

[0172] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0173] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A message processing method, characterized in that: The method comprises: receiving a key field query request sent by a first server; the key field query request is generated by the first server in response to a session message sent by a first client to a second client, and the key field query request carries a user account identifier corresponding to the first client; Determine a key field information set corresponding to the user account identifier; If the session message hits at least one key field in the key field information set, the at least one key field is used as the target key field, and a key field query result is obtained according to the target key field, and returned to the first server; the key field query result is used to indicate the target key field, and the first server is used to send the session message after the query to the second client, and the session message after the query has prompt information for the target key field; receiving a key information acquisition request sent by the second client, and determining target key information for the queried session message; the target key information is used to represent the description content configured by the user account identifier for the target key field; The target key information is sent to the second client; the second client is used to display the target key information.

2. The method according to claim 1, characterized in that Before the step of receiving the key field query request sent by the first server, the method further includes: receiving a key field configuration request for the user account identifier, and acquiring an updated key field and updated key information corresponding to the updated key field; the key field configuration request is generated by the first client in response to a key field configuration operation; the description content represented by the updated key information includes different types of multimedia data and page entry information; The updated key field and the updated key information are added to the key field information set corresponding to the user account identifier.

3. The method according to any one of claims 1 to 2, characterized in that: The receiving the key information acquisition request sent by the second client and determining the target key information of the queried session message includes: Acquire the target key field to be searched and the user account identifier to which the target key field belongs from the key information acquisition request; According to the key field information set corresponding to the user account identifier, the key information corresponding to the target key field is found out as the target key information.

4. A message processing method, characterized in that: The method comprises: A target session message including prompt information of a target key field sent by a first server is received, and displayed in a session interface; the target session message is a session message sent by a first client to a second client, and a key field query result is obtained according to a user account identifier corresponding to the first client; the key field query result is used to indicate that the session message hits a target key field in a key field information set corresponding to the user account identifier; In response to the trigger operation for the target key field, a key information acquisition request is generated and sent to a second server; the second server stores a key field information set corresponding to the user account identifier; Receive the target key information returned by the second server, and display the target key information in the session interface; the target key information is used to represent the description content configured by the user account identifier for the target key field.

5. The method according to claim 4, characterized in that The target key field includes at least one, and the displaying of the target key information in the conversation interface includes: In the conversation interface, a floating component corresponding to each target key field in the target conversation message is displayed; the floating component is used to display the target key information corresponding to the target key field, and the description content represented by the target key information includes different types of multimedia data and page entry information.

6. A message processing device, characterized in that: The device comprises: a query request receiving unit, configured to execute receiving a key field query request sent by a first server; the key field query request is generated by the first server in response to a session message sent by a first client to a second client, and the key field query request carries a user account identifier corresponding to the first client; a query result determination unit configured to determine a key field information set corresponding to the user account identifier; if the session message hits at least one key field in the key field information set, use the at least one key field as the target key field, obtain a key field query result according to the target key field, and return it to the first server; the key field query result is used to indicate the target key field, and the first server is used to send the session message after the query to the second client, and the session message after the query has prompt information for the target key field; A key information obtaining unit is configured to receive a key information obtaining request sent by the second client, and determine target key information for the queried session message; the target key information is used to represent the description content configured by the user account identifier for the target key field; The key information sending unit is configured to send the target key information to the second client; the second client is used to display the target key information.

7. A message processing device, characterized in that: The device comprises: A session message receiving unit is configured to receive a target session message including prompt information of a target key field sent by a first server, and display the target session message in a session interface; the target session message is a session message sent by a first client to a second client, and a key field query result is obtained according to a user account identifier corresponding to the first client; the key field query result is used to indicate that the session message hits a target key field in a key field information set corresponding to the user account identifier; an information acquisition request sending unit, configured to execute a trigger operation for the target key field, generate a key information acquisition request, and send the request to a second server; the second server stores a key field information set corresponding to the user account identifier; The key information display unit is configured to receive the target key information returned by the second server and display the target key information in the session interface; the target key information is used to represent the description content configured by the user account identifier for the target key field.

8. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the message processing method according to any one of claims 1 to 3 and / or the message processing method according to any one of claims 4 to 5.

9. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the message processing method as described in any one of claims 1 to 4, and / or the message processing method as described in any one of claims 5 to 6.

Citation Information

Patent Citations

  • Information processing method and apparatus

    CN105338158A

  • Keyword processing method, apparatus and system in distributed storage system

    CN107786595A

  • Data query method, device and system

    CN110020040A

  • Method and equipment for prompting user message in group communication

    CN111147347A

  • Instant message query method and device, server and storage medium

    CN113986948A