Display method, device and equipment of relay message and medium
By converting the format of the received message chain data, the problem of message chain not displaying correctly in heterogeneous interconnected groups was solved, enabling normal display and participation in message chain, and improving message collection efficiency.
Patent Information
- Application Number
- CN202210081150.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-24
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2042-01-24
AI Technical Summary
The issue of message chain not displaying correctly in heterogeneous communication groups between different instant messaging applications.
By converting the received chain-reaction data into a data format supported by the second instant messaging application, and displaying the chain-reaction message in the chat interface, the system supports chain-reaction operations and a chain-reaction item filling interface, enabling normal display and participation of chain-reaction messages in heterogeneous interconnected groups.
It enables the normal display of chain messages and normal participation in chain messages in heterogeneous interconnected groups, improving message collection efficiency.
Smart Images

Figure CN116527614B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the field of instant messaging technology, and particularly relate to a method and apparatus for displaying a pass-the-parcel message, and a device and a medium. BACKGROUND
[0002] An instant messaging application is an application that enables text or audio / video communication through instant messaging technology. Common instant messaging applications include work-related instant messaging applications and social instant messaging applications.
[0003] In order to improve the convenience of communication, message intercommunication between different instant messaging applications has been achieved. For example, an account of a work-related instant messaging application and an account of a social instant messaging application can be located in the same group (such a group is referred to as a heterogeneous intercommunication group) and communicate with each other in the group.
[0004] However, in the related art, accounts in different instant messaging applications can only exchange general type messages, such as text messages and voice messages, in the same group. For non-general type messages, such as pass-the-parcel messages, there can be a problem of not being able to be normally displayed due to being unable to be recognized. SUMMARY
[0005] Embodiments of the present application provide a method and apparatus for displaying a pass-the-parcel message, and a device and a medium, which can achieve intercommunication of pass-the-parcel messages in a heterogeneous intercommunication group. The technical solution is as follows:
[0006] In one aspect, the present application provides a method for displaying a pass-the-parcel message, the method comprising:
[0007] obtaining first pass-the-parcel data sent by a first account in a target group, the target group containing the first account and a second account, the first account being an account in a first instant messaging application, the second account being an account in a second instant messaging application, the first pass-the-parcel data being in a first data format supported by the first instant messaging application;
[0008] performing data format conversion on the first pass-the-parcel data to obtain a first pass-the-parcel model object, the first pass-the-parcel model object being in a second data format supported by the second instant messaging application;
[0009] displaying a first pass-the-parcel message published by the first account in a target conversation interface based on the first pass-the-parcel model object, the target conversation interface being a conversation interface of the target group in the second instant messaging application;
[0010] in response to a pass-the-parcel operation on the first pass-the-parcel message, displaying a second pass-the-parcel message published by the second account in the target conversation interface.
[0011] In another aspect, the embodiments of the present application provide a method for displaying a relay message, the method comprising:
[0012] displaying a target session interface, the target session interface being a session interface of a target group in a second instant messaging application, the target group comprising a first account and a second account, the first account being an account in a first instant messaging application, and the second account being an account in the second instant messaging application;
[0013] displaying a first relay message published by the first account in the target session interface;
[0014] in response to a first triggering operation on the first relay message, displaying a relay item input interface;
[0015] in response to a triggering operation on a publishing control in the relay item input interface, displaying a second relay message published by the second account in the target session interface, the second relay message comprising the first relay message and a relay item input in the relay item input interface.
[0016] In another aspect, the present application provides a device for displaying a relay message, the device comprising:
[0017] a data acquisition module configured to acquire first relay data sent by a first account in a target group, the target group comprising the first account and a second account, the first account being an account in a first instant messaging application, the second account being an account in a second instant messaging application, and the first relay data being in a first data format supported by the first instant messaging application;
[0018] a first conversion module configured to perform data format conversion on the first relay data to obtain a first relay model object, the first relay model object being in a second data format supported by the second instant messaging application;
[0019] a first message display module configured to display a first relay message published by the first account in a target session interface based on the first relay model object, the target session interface being a session interface of the target group in the second instant messaging application;
[0020] a second message display module configured to display a second relay message published by the second account in the target session interface in response to a relay operation on the first relay message.
[0021] In another aspect, the embodiments of the present application provide a device for displaying a relay message, the device comprising:
[0022] The first interface display module is configured to display a target conversation interface, the target conversation interface being a conversation interface of a target group in a second instant messaging application, the target group including a first account and a second account, the first account being an account in a first instant messaging application, and the second account being an account in the second instant messaging application.
[0023] The first message display module is configured to display a first pass-the-buck message published by the first account in the target conversation interface.
[0024] The second interface display module is configured to display a pass-the-buck item filling interface in response to a triggering operation on the first pass-the-buck message.
[0025] The second message display module is configured to display a second pass-the-buck message published by the second account in the target conversation interface in response to a first triggering operation on a publishing control in the pass-the-buck item filling interface, the second pass-the-buck message including the first pass-the-buck message and a pass-the-buck item input in the pass-the-buck item filling interface.
[0026] In another aspect, an embodiment of the present application provides a computer device, which includes a processor and a memory, the memory storing at least one instruction, the at least one instruction being loaded and executed by the processor to implement the display method of the pass-the-buck message according to the above aspect.
[0027] In another aspect, an embodiment of the present application provides a computer readable storage medium, which stores at least one instruction, the at least one instruction being loaded and executed by a processor to implement the display method of the pass-the-buck message according to the above aspect.
[0028] In another aspect, an embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to enable the computer device to perform the display method of the pass-the-buck message according to the above aspect.
[0029] In the embodiments of the present application, for a target group containing a first account in a first instant communication application and a second account in a second instant communication application, the second instant communication application can display a first dragon message published by the first account in a conversation interface of the target group according to a dragon model object obtained by data format conversion of received dragon data, and display a dragon item filling interface based on a trigger operation on the first dragon message, and obtain a dragon item corresponding to the second account through the dragon item filling interface, and then display a second dragon message in the conversation interface based on the first dragon message and the dragon item, so as to realize normal display of a dragon message and normal participation in a dragon in a heterogeneous interworking instant communication group. BRIEF DESCRIPTION OF DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort.
[0031] Figure 1 is a display interface of a dragon message in a heterogeneous interworking group in the related art;
[0032] Figure 2 shows a schematic diagram of an implementation environment provided by an example embodiment of the present application;
[0033] Figure 3 shows a flowchart of a display method of a dragon message provided by an example embodiment of the present application;
[0034] Figure 4 is a display interface of a dragon message provided by an example embodiment of the present application;
[0035] Figure 5 is a principle diagram of a display process of a dragon message shown by an example embodiment of the present application;
[0036] Figure 6 is a flowchart of a display process of a dragon message and an update process of a dragon model object shown by an example embodiment of the present application;
[0037] Figure 7 is a timing diagram of a display process of a dragon message shown by an example embodiment of the present application;
[0038] Figure 8 is a flowchart of a dragon participation process shown by an example embodiment of the present application;
[0039] Figure 9is an interface diagram of a pass-the-buck participating process according to an example embodiment of the present application;
[0040] Figure 10 is a timing diagram of a pass-the-buck participating or initiating process according to an example embodiment of the present application;
[0041] Figure 11 is an interface diagram of a rule violation content prompting process according to an example embodiment of the present application;
[0042] Figure 12 is an interface diagram of a pass-the-buck item sorting process according to an example embodiment of the present application;
[0043] Figure 13 is an interface diagram of a pass-the-buck authorization process according to an example embodiment of the present application;
[0044] Figure 14 is a structural block diagram of a display device of a pass-the-buck message according to an example embodiment of the present application;
[0045] Figure 15 is a structural block diagram of a display device of a pass-the-buck message according to another example embodiment of the present application;
[0046] Figure 16 shows a structural diagram of a computer device according to an example embodiment of the present application. DETAILED DESCRIPTION
[0047] For the purpose, technical solutions and advantages of the present application to be clearer, the embodiments of the present application will be further described in detail below with reference to the drawings.
[0048] Pass-the-buck is a way of collecting information in a group of instant messaging applications. After an account in the group initiates pass-the-buck, a pass-the-buck message is displayed in the session interface corresponding to the group, and the pass-the-buck message carries a pass-the-buck participating control at the end of the text. By triggering the pass-the-buck participating control, other accounts in the group can participate in pass-the-buck and input pass-the-buck items. The input pass-the-buck items are merged with the current pass-the-buck message to generate a new pass-the-buck message, which is displayed in the session interface.
[0049] According to the use scenarios, instant messaging applications can be divided into work-type instant messaging applications and social-type instant messaging applications. Compared with social-type instant messaging applications, work-type instant messaging applications have stronger office attributes. In order to improve the communication convenience between accounts in different instant messaging applications, message intercommunication is supported between different instant messaging applications, that is, accounts belonging to different instant messaging applications can have a conversation after building a social relationship, or have a conversation in the same group. The group containing accounts corresponding to different instant messaging applications is referred to as a heterogeneous intercommunication group.
[0050] In the related art, due to the difference in message types supported by different instant messaging applications, only some general types of messages, such as text messages, voice messages, picture messages, etc., can be transmitted and received in a heterogeneous interworking group. For some non-general types of messages (i.e., supported by some instant messaging applications but not supported by some instant messaging applications), the messages cannot be normally displayed. As shown in FIG. 1, the heterogeneous interworking group "Company Group" includes accounts in the first instant messaging application and the second instant messaging application. When the account "Wang Wu" in the first instant messaging application publishes a text message in the "Company Group", the first instant messaging application and the second instant messaging application can normally display the text message. When the account "Zhang San" in the first instant messaging application publishes a red packet message in the "Company Group", the first instant messaging application can normally display the red packet message, but the second instant messaging application cannot normally display the red packet message. Figure 1
[0051] Embodiments of the present application provide a technical solution for analyzing, initiating and participating in a red packet message, so that the second instant messaging application can not only normally display a red packet message published by a first account (belonging to the first instant messaging application) in a heterogeneous interworking group, but also participate in the red packet on the basis of the red packet message, thereby displaying a red packet message containing a red packet item of the second instant messaging application, which helps to improve the message collection efficiency (through the red packet mode) in the heterogeneous interworking group.
[0052] Figure 2 FIG. 2 shows a schematic diagram of an implementation environment provided by an example embodiment of the present application. The implementation environment includes a first computer device 210, a first instant messaging server 220, a second instant messaging server 230 and a second computer device 240. The first computer device 210 and the first instant messaging server 220 communicate data through a communication network, the second computer device 240 and the second instant messaging server 230 communicate data through a communication network, and the first instant messaging server 220 and the second instant messaging server 230 communicate data through a communication network. Optionally, the communication network can be a wired network or a wireless network, and the communication network can be at least one of a local area network, a metropolitan area network and a wide area network.
[0053] The first computer device 210 is an electronic device running a first instant messaging application, and the second computer device 240 is an electronic device running a second instant messaging application. The electronic device can be a mobile terminal such as a smart phone, a tablet computer, a laptop computer, a vehicle terminal, etc., or a terminal such as a desktop computer, a projection computer, etc. Figure 2 The first computer device 210 and the second computer device 240 are both smart phones, but this is not a limitation.
[0054] In the embodiments of the present application, the first instant communication application and the second instant communication application are instant communication applications supporting message intercommunication. That is, after a first account in the first instant communication application establishes a social relationship with a second account in the second instant communication application, the first account and the second account can perform cross-application message transmission. Alternatively, after the first account and the second account join the same heterogeneous intercommunication group, the first account and the second account can perform message transmission in the heterogeneous intercommunication group. In a possible implementation, the first instant communication application is a social instant communication application, and the second instant communication application is a work instant communication application.
[0055] The first instant communication server 220 is a background server of the first instant communication application, and the second instant communication server 230 is a background server of the second instant communication application. The first instant communication server 220 and the second instant communication server 230 can be independent physical servers, can be a server cluster or a distributed system composed of multiple physical servers, or can be a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.
[0056] In the embodiments of the present application, the first instant communication server 220 and the second instant communication server 230 both maintain the heterogeneous intercommunication group. When the first computer device 210 publishes a message in the heterogeneous intercommunication group, the first instant communication server 220 synchronizes the received message to the second instant communication server 230, and the second instant communication server 230 further synchronizes the message to the second computer device 240.
[0057] In the embodiments of the present application, after the first computer device 210 publishes a link message in the heterogeneous intercommunication group through the first instant communication application, the first instant communication server 220 synchronizes the link message to the second instant communication server 230, and the second instant communication server 230 further synchronizes the message to the second computer device 240. Since the data format of the link message generated by the first instant communication application is special, the efficiency of direct parsing and operation of the second instant communication application is low. Therefore, in order to ensure the normal display of the link message on the second instant communication application side, the second instant communication application parses the received link message and converts it into a data format supported by itself, so as to display the link message in the conversation interface of the heterogeneous intercommunication group based on the converted data.
[0058] After the second IM application normally displays the pass-the-message message, the user can participate in the pass-the-message by operation. Based on the pass-the-message item input in the pass-the-message process, the second IM application generates a new pass-the-message message, converts the pass-the-message message into a data format supported by the first IM application, and sends the new pass-the-message message to the first computer device 210 through the second IM server 230 and the first IM server 220, so that the first IM application in the first computer device 210 parses and displays the new pass-the-message message. In addition, the second IM application can actively initiate the pass-the-message in addition to normally displaying and participating in the pass-the-message.
[0059] It should be noted that the above embodiments are only illustratively described by taking the case that the heterogeneous intercommunication group contains two IM application accounts, and in other possible implementation manners, the heterogeneous intercommunication group can also contain three or more than three IM application accounts, and the present embodiments do not constitute limitation in this respect.
[0060] For convenience of description, the following embodiments are described by taking the case that the display method of the pass-the-message message is applied to the second computer device 240.
[0061] Figure 3 A flowchart of a display method of a pass-the-message message provided by an example embodiment of the present application is shown. The present embodiment is described by taking the case that the method is applied to a computer device, and the method comprises the following steps.
[0062] In step 301, a target session interface is displayed, the target session interface being a session interface of a target group in a second IM application, the target group containing a first account and a second account, the first account being an account in a first IM application, and the second account being an account in a second IM application.
[0063] In the present embodiment, the first IM application and the second IM application support message intercommunication, the target session interface being a session interface of a heterogeneous intercommunication group (i.e. the target group) in the second IM application, and being used to display session messages published by each account (including accounts in the first IM application and the second IM application) in the heterogeneous intercommunication group. Optionally, the session messages include text messages, picture messages, audio and video messages, files, pass-the-message messages, etc., and the present embodiment does not constitute limitation in this respect.
[0064] In order to distinguish the accounts in different instant messaging applications in the target group, in a possible implementation, the messages published by the account in the first instant messaging application in the target conversation interface contain a first source identifier (indicating from the first instant messaging application), while the messages published by the account in the second instant messaging application do not contain the source identifier; or the messages published by the account in the first instant messaging application contain a first source identifier, while the messages published by the account in the second instant messaging application contain a second source identifier (indicating from the second instant messaging application).
[0065] As shown in FIG. 6, the conversation message published by the account "Zhao Liu" in the first instant messaging application contains a source identifier "@ first instant messaging application", while the conversation message published by the account "Wang Wu" in the second instant messaging application does not contain the source identifier. Figure 4 As shown in FIG. 6, the conversation message published by the account "Zhao Liu" in the first instant messaging application contains a source identifier "@ first instant messaging application", while the conversation message published by the account "Wang Wu" in the second instant messaging application does not contain the source identifier.
[0066] In step 302, the first account publishes a first pass-the-buck message in the target conversation interface.
[0067] The first instant messaging application supports initiating and participating in the pass-the-buck, and the first instant messaging application sends the generated pass-the-buck data to the first instant messaging server, the first instant messaging server synchronizes the pass-the-buck data to the second instant messaging server, and then the second instant messaging server sends the pass-the-buck data to the second account.
[0068] In some embodiments, different from the messages such as text, pictures, audio and video, files, etc., since the first instant messaging application adopts a special data format, and the second instant messaging application directly parses and displays the data format with extremely low efficiency, in order to ensure the normal display of the pass-the-buck message in the second instant messaging application, after the computer device receives the pass-the-buck data sent by the second instant messaging server, the second instant messaging application performs data format conversion on the pass-the-buck data, and then displays the first pass-the-buck message published by the first account based on the data after the format conversion. The specific manner of data format conversion will be described in the following embodiments.
[0069] Optionally, the pass-the-buck message is composed of a pass-the-buck title, a pass-the-buck item example, at least one pass-the-buck item, and a pass-the-buck end, wherein the pass-the-buck title, the pass-the-buck item example, and the pass-the-buck end are optional data, and the pass-the-buck item is mandatory data.
[0070] In a possible implementation, the first pass-the-buck message is a pass-the-buck message displayed after the first account initiates the pass-the-buck, or is a pass-the-buck message displayed after the first account participates in the pass-the-buck for the first time, or is a pass-the-buck message displayed after the first account modifies the pass-the-buck item corresponding to the first account.
[0071] As shown in FIG. 6, the conversation message published by the account "Zhao Liu" in the first instant messaging application contains a source identifier "@ first instant messaging application", while the conversation message published by the account "Wang Wu" in the second instant messaging application does not contain the source identifier. Figure 4As shown, the computer device displays a first chain message 411 published by the account "Zhao Liu" in the first instant messaging application in the target session interface 41. The first chain message 411 is the chain message displayed after the account "Zhao Liu" initiates the chain.
[0072] Step 303: In response to the first trigger operation of the first chain message, display the chain item filling interface.
[0073] In one possible implementation, to facilitate participation from other accounts in the chain-reaction game, the computer device displays a participation control next to the first chain-reaction message. When the first trigger operation of the participation control is received, the computer device displays a chain-reaction item filling interface, which is used to fill in or modify the chain-reaction item corresponding to the current account.
[0074] In other possible implementations, the first triggering operation can also be a long press operation, a pressing operation, a double-click operation, etc., of the first relay message, and this embodiment does not limit this to that.
[0075] Optionally, the link entry interface includes the link entries corresponding to each account that has participated in the link, and the link entries are arranged in order of the order in which the accounts participated in the link.
[0076] Optionally, the join item entry interface includes a join item entry control for entering the join item corresponding to the second account.
[0077] Indicative, such as Figure 4 As shown, when a click operation is received on the join-the-chain control 412, the computer device displays the join-the-chain item entry interface 42. The user can enter the join-the-chain item in the join-the-chain item entry control 421.
[0078] Step 304: In response to the triggering operation of the publish control in the link entry interface, the second link message published by the second account is displayed in the target session interface. The second link message includes the first link message and the link entry entered in the link entry interface.
[0079] After completing the input of the chain entry, users can publish the chain message by triggering the publish control within the chain entry interface, thus truly participating in the chain. Upon participation, the computer device displays a second chain message published by the second account on the target session interface. This second chain message contains at least the first chain message and the chain entry published by the second account, and the chain entry items in the second chain message are ordered according to the order in which the accounts participated in the chain. Optionally, if chain messages are received from other accounts during the chain entry process, the second chain message will also contain chain entry items published by those other accounts.
[0080] Indicative, such as Figure 4As shown, when a click operation on the sending control 422 is received, the computer device generates and displays a second pass-the-torch message 413 based on the input pass-the-torch item "Li Si - grain and oil" and the first pass-the-torch message 411, where, since "Zhang San" participated in the pass-the-torch earlier than "Li Si", the pass-the-torch item "Zhang San - nuts" is located before the pass-the-torch item "Li Si - grain and oil".
[0081] To sum up, in the embodiment of the present application, for a target group containing both a first account in a first instant messaging application and a second account in a second instant messaging application, the second instant messaging application can display a first pass-the-torch message published by the first account in a conversation interface of the target group according to a pass-the-torch model object obtained by performing data format conversion on received pass-the-torch data, display a pass-the-torch item filling interface based on a triggering operation on the first pass-the-torch message, obtain a pass-the-torch item corresponding to the second account through the pass-the-torch item filling interface, and then display a second pass-the-torch message based on the first pass-the-torch message and the pass-the-torch item in the conversation interface, thereby realizing normal display of pass-the-torch messages and normal participation in pass-the-torch in a heterogeneous interworking instant messaging group.
[0082] To ensure normal display of pass-the-torch messages and accuracy of display order between pass-the-torch items, as shown in Figure 5 As shown, after the instant messaging server 51 issues data to the computer device, the message receiving and analyzing module 52 of the second instant messaging application first identifies whether the data is pass-the-torch data. If the data is not pass-the-torch data, the data is directly analyzed and then displayed by the message display layer 57. If the data is pass-the-torch data, the data is further processed by the pass-the-torch data processing module 53. The pass-the-torch data processing module 53 is composed of a pass-the-torch data analyzer 54, a pass-the-torch order controller 55, and a pass-the-torch storage 56. The pass-the-torch data analyzer 54 is configured to perform data format conversion on pass-the-torch data to obtain a pass-the-torch model object. The pass-the-torch order controller 55 is configured to merge pass-the-torch model objects corresponding to the same pass-the-torch and control the order of pass-the-torch items to obtain a complete and ordered pass-the-torch model object. The pass-the-torch storage 56 is configured to persistently store the pass-the-torch model object and feed back the pass-the-torch model object to the message receiving and analyzing module 52. The message receiving and analyzing module 52 analyzes the received pass-the-torch model object to obtain pass-the-torch display data and feeds back the pass-the-torch display data to the message display layer 57 for pass-the-torch message display.
[0083] In a possible implementation, as shown in Figure 6 The background implementation process of the computer device for displaying pass-the-torch messages can include the following steps.
[0084] In step 601, first link data sent by a first account in a target group is acquired, the target group including the first account and a second account, the first account being an account in a first instant communication application, the second account being an account in a second instant communication application, and the first link data being in a first data format supported by the first instant communication application.
[0085] Optionally, the first instant communication application logged in by the first account generates first link data in the first data format, and sends the first link data to the first instant communication server, and the first instant communication server synchronizes the first link data to the second instant communication server. The second instant communication server sends the received first link data to the second instant communication application logged in by the second account.
[0086] In some embodiments, the first link data includes link title data, link item example data, link item data, and link end data, and the link title data, the link item example data, and the link end data are optional data.
[0087] In some embodiments, the first link data includes link title data, link item example data, link item data, and link end data, and the link title data, the link item example data, and the link end data are optional data.
[0088] In an illustrative example, the first data format is an Extensible Markup Language (XML) format. The specific data content of the first link data is as follows:
[0089] <solitaire>
[0090] <tt>xx< / tt> / / Range of Relay Title
[0091] <ex>xx< / ex> / / Range of Relay Item Example
[0092] <tl>xx< / tl> / / Range of Relay End
[0093] <s>、< / s> / / Default Punctuation of Relay End
[0094] <au>xxxxxxxx< / au> / / Account of Relay Initiation
[0095] <hrt> 1< / hrt> / / Whether there is a Relay Title, 1 means there is, 0 means there is not
[0096] <content> / / text
[0097] <s>2< / s> / / Number of items in the chain
[0098] / / Pass
[0099] xxxxxxxx / / Account to which this pass belongs
[0100] <h> 0< / h> / / Whether this pass is a header, 1 for yes, 0 for no
[0101] <s>、< / s> / / Punctuation for this pass
[0102] <t> 1568603149< / t> / / Timestamp for when this pass was made
[0103] <r> 65-5< / r> / / Range of this pass in the text
[0104]
[0105]
[0106] yyyyyyy / / This chain entry belongs to account
[0107] <h> 0< / h> / / Whether as a header
[0108] <s>、< / s> / / Chain entry punctuation
[0109] <t> 1568603162< / t> / / Timestamp of participating in the chain
[0110] <c>Zhang San - nuts< / c> / / Chain entry content
[0111]
[0112] < / content>
[0113] < / solitaire>
[0114] In step 602, data format conversion is performed on the first link data to obtain a first link model object in a second data format supported by the second instant communication application.
[0115] In the embodiments of the present application, the second instant communication application has low efficiency in parsing and operating the first link data in the first data format, and even cannot parse the first link data. Therefore, in order to ensure normal display and display speed of subsequent link messages, the second instant communication application needs to perform data format conversion on the first link data to obtain a first link model object in a second data format supported by the second instant communication application.
[0116] Optionally, display, storage, and update of subsequent link messages are all based on the link model object.
[0117] As to the manner of performing data format conversion, in a possible implementation, the second instant messaging application extracts key data from the first daisy chain data by identifying a data keyword in the first daisy chain data, and fills the extracted key data into a daisy chain model object, to obtain a first daisy chain model object corresponding to the first daisy chain data. The data keyword can include a daisy chain title keyword, a daisy chain item example keyword, a daisy chain end keyword, a daisy chain item keyword (which can include a daisy chain item account keyword, a daisy chain participation timestamp keyword, a daisy chain item content keyword, and the like), and the like, and the embodiments of the present application do not limit the same.
[0118] In an illustrative example, the second data format is a protocol buffer (protobuf) format. The specific data content of the second daisy chain data is as follows:
[0119]
[0120] It should be noted that the xml format and the protobuf format are only illustrative, and the first daisy chain data and the first daisy chain model object can also take other forms, and the embodiments of the present application do not limit the same.
[0121] In step 603, the first account published first daisy chain message is displayed in the target session interface based on the first daisy chain model object, and the target session interface is a session interface of a target group in the second instant messaging application.
[0122] In a possible implementation, the second instant messaging application parses the generated first daisy chain model object, and displays the first daisy chain message in the target session interface based on the parsing result.
[0123] In step 604, the target daisy chain to which the first daisy chain model object belongs is determined.
[0124] Since multiple daisy chains can exist in the target group at the same time, the second instant messaging application needs to further determine the target daisy chain to which the first daisy chain model object belongs, and then update the local daisy chain model object corresponding to the target daisy chain, to ensure the real-time data of the target daisy chain.
[0125] As to the manner of determining the target daisy chain to which the daisy chain model object belongs, in a possible implementation, the second instant messaging application can determine the target daisy chain identifier of the target daisy chain based on target data in the first daisy chain model object.
[0126] Optionally, the target data is data used to distinguish different daisy chains.
[0127] In a possible implementation, the first chain model object includes mandatory data (including the chain item) and optional data (including at least one of the chain title, the chain item example, and the chain end), and the target chain identifier is generated based on the chain title and at least one piece of optional data other than the chain title in the case where the first chain model object includes the chain title.
[0128] Since the chain item corresponding to the account participating in the chain can be modified during the chain (each chain item in the target chain supports modification in the case where the first chain model object includes the chain title), the second instant messaging application generates the target chain identifier based on the chain title and other optional data in the case where the first chain model object includes the chain title, without incorporating the chain item.
[0129] In another possible implementation, the target chain identifier is generated based on the first chain item in the target chain and at least one piece of optional data other than the chain title in the case where the first chain model object does not include the chain title, and the first chain item in the target chain does not support modification in the case where the first chain model object does not include the chain title, so as to avoid that the first chain item is modified to change the chain identifier, that is, the first chain item cannot be modified after the chain is initiated. Optionally, the first chain item is the chain item filled by the chain initiating account when initiating the chain.
[0130] Optionally, the second instant messaging application can calculate a unique value by using a target algorithm, and determine the unique value as the target chain identifier. The target algorithm can be a hash algorithm, a Message-Digest (MD) algorithm, a Secure Hash Algorithm (SHA), or the like, which is not limited in the embodiment.
[0131] Further, the second instant messaging application determines whether the target local chain model object corresponding to the target chain is stored based on the target chain identifier. If the target local chain model object is stored, the target local chain model object is updated; if the target local chain model object is not stored, the generated first chain model object is determined as the target local chain model object and is stored.
[0132] In a possible implementation, the computer device stores the chain identifier and the local chain model object in association, and detects whether there is a chain identifier consistent with the target chain identifier. In the case where there is no chain identifier consistent with the target chain identifier in other chain model objects, it is determined that there is no target local chain model object. In the case where there is a chain identifier consistent with the target chain identifier in the local chain model object, it is determined that there is the target local chain model object.
[0133] In an illustrative example, there are two tag-alongs in the target group, and the tag-along identifiers corresponding to the two tag-alongs are shown in Table 1.
[0134] Table 1
[0135]
[0136] When the first tag-along model object converted based on the first tag-along data contains the tag-along title "Year-end shopping tag-along" and the tag-along end "Today before work ends", the second instant communication application performs hash calculation on "Year-end shopping tag-along" and "Today before work ends", and obtains the target tag-along identifier e8b3dba5e52df3e206b466d1103e2bbe88e3851988eef7adfcac4f22e04ec8c5, thereby determining that there is a target local tag-along model object.
[0137] When the first tag-along model object converted based on the first tag-along data contains the tag-along title "Home time tag-along" and the tag-along item example "Name-time", the second instant communication application performs hash calculation on "Home time tag-along" and "Name-time", and obtains the target tag-along identifier fe4c0c829a11df709fc8388b888a5ae94491db3603ca48eee0f8c59dfbbfe747, thereby determining that there is no target local tag-along model object.
[0138] In step 605, in the case where there is no target local tag-along model object corresponding to the target tag-along, the first tag-along model object is stored.
[0139] If there is no target local tag-along model object corresponding to the target tag-along, the second instant communication application determines the first tag-along model object as the target local tag-along model object and stores it.
[0140] Regarding the storage mode of the tag-along model object, in a possible implementation, the storage of the tag-along model object includes memory cache and persistent storage. The memory cache is used to realize fast update of data, and avoid data disorder caused by concurrent reception when there are too many tag-along messages in the target group. The parsing of the tag-along data is performed according to a serial queue, and then the serial update is performed to the memory cache. After the update of the memory cache, the data can be written to a local temporary file through the mmap mode, and when the local temporary file reaches a certain number or before the program is closed, the data is written to the database for persistent storage. Writing the data to the local temporary file through the mmap mode can prevent the program from suddenly crashing and failing to write the data to the persistent storage of the database in time.
[0141] In step 606, in the case that the target local dora model object corresponding to the target dora exists, the target local dora model object is updated based on the first dora model object.
[0142] Since the first dora model object corresponding to the target dora and the target local dora model object only differ in the dora item, and the first account can only add a dora item or modify the dora item of itself, but cannot modify the dora item of other accounts, in one possible implementation, the second instant messaging application obtains the first dora item corresponding to the first account in the first dora model object, and updates the target local dora model object based on the first dora item, wherein the dora items corresponding to the accounts other than the first account in the target local dora model object remain unchanged.
[0143] Optionally, the second instant messaging application obtains the first dora item from the first dora model object based on the account identifier of the first account, and the obtained first dora item includes the dora item content and the dora participation time.
[0144] When the first account has joined the target dora before, the first historical dora item corresponding to the first account exists in the target local dora model object, in this case, the second instant messaging application updates the first historical dora item based on the first dora item. After updating the first historical dora item, the dora participation time corresponding to the first account does not change, and accordingly, the position of the dora item corresponding to the first account in the target local dora model object does not change.
[0145] In one illustrative example, the target local dora model object includes dora item A (account "Zhang San", dora participation time "1568603155", dora item content "Zhang San - grain and oil"), dora item B (account "Li Si", dora participation time "1568603157", dora item content "Li Si - nuts"), and dora item C (account "Wang Wu", dora participation time "1568603159", dora item content "Wang Wu - cooked food"). When the first dora model object includes the first dora item (account "Zhang San", dora participation time "1568603155", dora item content "Zhang San - nuts"), since the target local dora model object includes the dora item corresponding to "Zhang San", the second instant messaging application only updates the dora item content of dora item A to "Zhang San - nuts", and keeps the remaining dora items unchanged.
[0146] When the first account has not joined the target relay before, the first historical relay item corresponding to the first account does not exist in the target local relay model object. In this case, the second instant messaging application determines a first relay item position of the first relay item in the target local relay model object based on the relay participation time corresponding to the first account, and adds the first relay item to the first relay item position.
[0147] Optionally, the second instant messaging application determines a first relay item position corresponding to the first relay item based on the order of the relay participation time corresponding to the first account and the relay participation time corresponding to other accounts in the target local relay model object. After the first relay item is added to the first relay item position, the relay items in the target local relay model object are arranged in the order of relay participation time from early to late.
[0148] In an illustrative example, the target local relay model object includes relay item A (account "Zhang San", relay participation time "1568603155", and relay item content "Zhang San - grain and oil") and relay item B (account "Li Si", relay participation time "1568603157", and relay item content "Li Si - nuts"). When the first relay model object includes the first relay item (account "Wang Wu", relay participation time "1568603159", and relay item content "Wang Wu - cooked food"), since the target local relay model object does not include the relay item corresponding to "Wang Wu", the second instant messaging application adds the first relay item after relay item B based on the relay participation time "1568603159".
[0149] The complete flow of receiving and displaying the relay message is shown in Figure 7 After the message receiving and parser 71 receives the relay data, the message receiving and parser 71 sends the relay data to the relay data parser 72, which performs data format conversion on the relay data to generate a relay model object. The relay order controller 73 controls the relay sequence based on the relay model object generated by the relay data parser 72, updates the local relay model object in the cache, and stores the updated local relay model object in the relay storage 74. At the same time, the relay order controller 73 sends the relay model object to the message receiving and parser 71 for foreground display of the relay message.
[0150] In step 607, in response to the relay operation on the first relay message, the second account publishes a second relay message in the target session interface.
[0151] Further, the second account can participate in the daisy chain through the first daisy chain message. In some embodiments, upon receiving the daisy chain operation on the first daisy chain message, the second instant messaging application displays a second daisy chain message published by the second account in the target session interface, the second daisy chain message containing, in addition to the daisy chain items published by the other accounts participating in the daisy chain, a daisy chain item corresponding to the second account.
[0152] In this embodiment, the second instant messaging application obtains a daisy chain model object in a second data format supported by itself by performing data format conversion on the daisy chain data, and performs daisy chain storage and updating based on the daisy chain model object; and subsequently, the daisy chain model object can be directly parsed and the daisy chain message can be displayed, thereby realizing normal display of the daisy chain message in the heterogeneous intercommunication group.
[0153] In a possible implementation, the process of participating in the daisy chain based on the first daisy chain message and displaying the second daisy chain message in the target session interface is as shown in Figure 8 .
[0154] In step 801, in response to the triggering operation on the first daisy chain message, a daisy chain item filling interface is displayed.
[0155] In order to ensure that the latest daisy chain item of the target daisy chain is displayed in the daisy chain item filling interface, in a possible implementation, the second instant messaging application parses the target local daisy chain model object to obtain at least one daisy chain item.
[0156] Since other accounts in the target group can concurrently participate in the daisy chain, the first daisy chain message displayed in the target session interface can not be the latest message. In order to ensure that the latest daisy chain item is displayed in the daisy chain item filling interface, when the triggering operation on the first daisy chain message is received, the second instant messaging application parses the target local daisy chain model object to obtain at least one daisy chain item. Since the target local daisy chain model object is updated in real time based on the received daisy chain data, the daisy chain item extracted from the target local daisy chain model object is the latest daisy chain item.
[0157] Illustratively, as shown in Figure 9 , when the triggering operation on the daisy chain message published by “Zhang San” is received, the second instant messaging application obtains the daisy chain items corresponding to “Zhang San” and “Zhao Liu” by parsing the target local daisy chain model object, instead of only the daisy chain item corresponding to “Zhang San”.
[0158] Further, the second instant messaging application displays the daisy chain items in sequence in the daisy chain item filling interface based on the daisy chain participation time corresponding to each daisy chain item, wherein the daisy chain items corresponding to the accounts other than the second account are in an uneditable state.
[0159] Optionally, the second instant messaging application displays the red packet content of each red packet item in the red packet item filling interface according to the red packet participation time of each red packet item, and sets the red packet item corresponding to the account other than the second account as an uneditable state, so as to avoid the red packet item of others being modified at will.
[0160] As shown in Figure 9 , the red packet item filling interface 92 sequentially displays the red packet items corresponding to "Zhang San" and "Zhao Liu".
[0161] At step 802, in response to the triggering operation of the publishing control in the red packet item filling interface, the second instant messaging application acquires the second red packet item corresponding to the second account input in the red packet item filling interface.
[0162] Further, the user can input the red packet item corresponding to the second account through the red packet item filling control in the red packet item filling interface, and trigger the publishing control to publish the red packet message after completing the input of the red packet item. Since the second account can only add a red packet item or modify the red packet item published by itself when participating in the red packet, the second instant messaging application only needs to update the target local red packet model object according to the second red packet item corresponding to the second account.
[0163] As shown in Figure 9 , when the user fills in the red packet item "Li Si - grain and oil" in the red packet item filling interface 92 and clicks the sending control, the second instant messaging application acquires the red packet item corresponding to the account "Li Si".
[0164] At step 803, the target local red packet model object is updated based on the second red packet item, wherein the red packet items corresponding to the accounts other than the second account in the target local red packet model object remain unchanged.
[0165] When updating the target local red packet model object, since only the second red packet item is changed, the second instant messaging application only updates (adds or modifies) the second red packet item, and the red packet items corresponding to the accounts other than the second account remain unchanged.
[0166] In one possible implementation, in the case that the second historical red packet item corresponding to the second account exists in the target local red packet model object (the second account has participated in the target red packet before), the second instant messaging application updates the second historical red packet item based on the second red packet item; in the case that the second historical red packet item corresponding to the second account does not exist in the target local red packet model object (the second account has not participated in the target red packet before), the second instant messaging application determines the second red packet item position of the first red packet item in the target local red packet model object based on the red packet participation time corresponding to the second account, so as to add the second red packet item to the second red packet item position.
[0167] The process of adding the second block item to the corresponding block item position can refer to the process of adding the first block item to the corresponding block item position, and the embodiment will not be described here.
[0168] At step 804, the second block message published by the second account is displayed in the target session interface based on the target local block model object.
[0169] Further, the second instant messaging application displays the second block message published by the second account in the target session interface based on the updated target local block model object. Illustratively, as shown in Figure 9 The block messages published by "Li Si" in the target session interface 91 include the corresponding block items of "Zhang San", "Zhao Liu", and "Li Si", ensuring the real-time data of the published block messages.
[0170] In the embodiment, when the second instant messaging application displays the block item filling interface, it obtains the current participating block items in the block by analyzing the locally stored block model object, and displays the block items in order according to the block participation time, ensuring the real-time display of the block items in the block item filling interface.
[0171] In some embodiments, since the first instant messaging application does not support the second data format, in order to ensure that the first account side in the heterogeneous intercommunication group can normally display the block message published by the second account, in a possible implementation, the second instant messaging application converts the target local block model object into second block data, and then sends the second block data to the server (the server corresponding to the second instant messaging application), so that the server sends the second block data to other accounts (including accounts in the first instant messaging application and the second instant messaging application) in the target group.
[0172] Regarding the way of converting the block model object into block data, since the process is the reverse process of converting the block data into the block model object, in a possible implementation, the second instant messaging application extracts the object data in the target local block model object, and fills the object data into the corresponding position of the block data to obtain the second block data.
[0173] It should be noted that the above embodiment is described by taking the display of the block message and the participation in the block as an example, and the second instant messaging application can also add a block initiation entry to actively initiate the block (need to set the block title, block item example, own block item, and block end, etc.) for other accounts in the target group to participate, and the embodiment will not be described here.
[0174] Illustratively, the complete process of the second account participating in the block is as shown in Figure 10As shown. When the message sender and parser 71 detects the initiation or participation in a chain-reaction, it sends the input chain item to the chain-reaction data parser 72. The chain-reaction sequence controller 73 performs a timing check on the chain item, thereby persistently storing the updated local chain-reaction model object in the chain-reaction storage 74. The chain-reaction data parser 72 converts the updated local chain-reaction model object into chain-reaction data, and then sends the chain-reaction data to the server through the message sender and parser 71.
[0175] To prevent the posting of inappropriate or spam content during the chain-reaction process, the second instant messaging application can also utilize its native anti-harassment function to perform compliance checks on the chain-reaction content. In one possible implementation, in response to the triggering operation of the post control in the chain-reaction entry interface, the second instant messaging application obtains the second chain-reaction item corresponding to the second account entered in the chain-reaction entry interface. If the second chain-reaction item contains the target keyword, the second instant messaging application displays a posting failure message; if the second chain-reaction item does not contain the target keyword, the second instant messaging application displays the second chain-reaction message and sends the chain-reaction data to the server.
[0176] Optionally, the target keyword can be the default keyword of the second instant messaging application, or it can be a user-defined keyword. This embodiment does not limit this.
[0177] Optionally, the identification of whether the second chain item contains the target keyword can be performed by the second instant messaging application or by the server, and the detection result can be fed back to the second instant messaging application. This embodiment does not limit this.
[0178] Indicative, such as Figure 11 As shown, when the user enters "Li Si-ABC" in the chain entry interface, since "ABC" is the target keyword that needs to be blocked, when the user clicks on the send control 1102, the second instant messaging application displays a posting failure pop-up window 1103, prompting the user for the reason why the chain entry failed.
[0179] In addition to detecting the chain-reaction entries it submits, in some embodiments, the second instant messaging application can also detect the first chain-reaction message. If the first chain-reaction message does not contain the target keyword, the second instant messaging application displays the first chain-reaction message posted by the first account in the target session interface; if the first chain-reaction message contains the target keyword, the second instant messaging application either blocks the first chain-reaction message or displays a content prompt while displaying the first chain-reaction message.
[0180] In this embodiment, by leveraging the anti-harassment capabilities of the second instant messaging application, it is possible to identify illegal content in the group chat data, thereby preventing users from posting illegal content through the group chat and improving the security and compliance of conversations within the group.
[0181] In the above embodiments, the items in the chain message are sorted according to the time of participation. Since the purpose of the chain is to collect data, and data sorted by time is not conducive to data organization, the second instant messaging application provides a chain item sorting function so that the chain initiator can readjust the order of the chain items (other chain participants do not have the authority to sort).
[0182] In one possible implementation, when the second account is the initiator of the target chain corresponding to the first chain message, the chain entry interface includes a sorting control. Accordingly, in response to the triggering operation of the sorting control in the chain entry interface, the second instant messaging application adjusts the order of the chain entries in the first chain message.
[0183] Optionally, the sorting control can be used to indicate whether the items are sorted according to the default method or according to user-defined sorting criteria.
[0184] In some embodiments, the second instant messaging application clusters based on the content of the chain-reaction items and sorts the chain-reaction items of the same type according to the time of participation or the account identifier of the account to which the chain-reaction item belongs.
[0185] Furthermore, in response to the triggering operation of the publish control within the entry interface for the matching entries, the second instant messaging application displays a third matching message in the target session interface. This third matching message includes the matching entries after adjusting their order. This third matching message is published by the second account.
[0186] Indicative, such as Figure 12 As shown, when the chain-reaction activity is initiated by account "Zhang San", the items in the chain-reaction item entry interface 1202 are sorted by default according to the time of participation, and the chain-reaction item entry interface 1202 includes a sorting control 1203. When a click operation is received on the sorting control 1203, the second instant messaging application clusters the chain-reaction items based on the chain-reaction content "nuts, grains and oils, and cooked food", and sorts the chain-reaction items corresponding to the same type of chain-reaction content according to the time of participation. When a click operation is received on the send control 1204, the second instant messaging application displays a third chain-reaction message 1205 in the target session interface 1201, adjusting the sorting of the chain-reaction items. Because the chain-reaction items in the message are sorted, it is beneficial for the chain-reaction organizer to quickly understand the data collection status.
[0187] In this embodiment, the initiator of the relay has the right to adjust the order of the relay items in the relay message, which facilitates the initiator to adjust the order of the relay items according to the data sorting requirement, and helps to improve the efficiency of the initiator to understand the relay data collection.
[0188] In some scenarios, when receiving the relay message in the group, the user can not be convenient to fill in the relay item. In this case, in order to enable the user who is not convenient to participate in the relay to participate in the relay in time, the second instant messaging application provides an authorization relay scheme. Through the scheme, the user who is not convenient to participate in the relay can authorize other users in the group to input the relay item on behalf of the user.
[0189] In a possible implementation, in response to the second triggering operation on the first relay message, the second instant messaging application displays an authorization object selection interface, and the authorization object selection interface contains the account in the target group.
[0190] Optionally, the first relay message is displayed with an authorization control on the side. When receiving the triggering operation on the authorization control, the second instant messaging application obtains the account list in the target group, and displays the authorization object selection interface based on the account list.
[0191] Further, the second instant messaging application receives a selection operation on a third account in the authorization object selection interface. The third account is authorized by the obtained second account, and fills in the relay item on behalf of the second account.
[0192] Optionally, the second instant messaging application sends an authorization instruction to the instant messaging application corresponding to the third account through the server. After receiving the authorization instruction, the instant messaging application corresponding to the third account displays a relay item input interface, and obtains the input relay item. The relay item input by the third account belongs to the second account, that is, the relay item is associated with the second account, rather than the third account.
[0193] Optionally, after the second account completes the relay item input and publishing, the second instant messaging application displays a fourth relay message in the target conversation interface. The fourth relay message contains the first message and the relay item input by the third account authorized by the second account.
[0194] In some embodiments, the fourth relay message can be simulated by the second instant messaging application according to the user's relay operation, and published by the second account.
[0195] Illustratively, as shown in FIG. 8, the second instant messaging application displays a fourth relay message in the target conversation interface. The fourth relay message contains the first message and the relay item input by the third account authorized by the second account. Figure 13As shown, the target session interface 1301 of the second instant messaging application displays the first relay message published by the account "Zhang San". When a click operation on the authorization control 1302 corresponding to the first relay message is received, the second instant messaging application displays the authorization object selection interface 1303. When the user "Li Si" selects "Xiaohong" from the object selection list of the authorization object selection interface 1303, the instant messaging application corresponding to the account "Xiaohong" displays the relay item filling interface 1304. After "Xiaohong" fills the relay item "Li Si-grain and oil" according to the instruction of "Li Si", the target session interface 1301 displays the fourth relay message 1305 published by the account "Li Si", and the fourth relay message 1305 contains the relay item corresponding to the account "Li Si".
[0196] In this embodiment, the relay participant can authorize other accounts in the target group to fill the relay item by authorization, so as to provide convenience for the accounts that are currently inconvenient to participate in the relay, and help improve the collection efficiency of the relay data.
[0197] Figure 14 Fig. 1 is a structural block diagram of a relay message display device provided by an exemplary embodiment of the present application. The device comprises:
[0198] A data acquisition module 1401 is configured to acquire first relay data sent by a first account in a target group, wherein the target group comprises the first account and a second account, the first account is an account in a first instant messaging application, the second account is an account in a second instant messaging application, and the first relay data adopts a first data format supported by the first instant messaging application.
[0199] A first conversion module 1402 is configured to perform data format conversion on the first relay data to obtain a first relay model object, wherein the first relay model object adopts a second data format supported by the second instant messaging application.
[0200] A first message display module 1403 is configured to display a first relay message published by the first account in a target session interface based on the first relay model object, wherein the target session interface is a session interface of the target group in the second instant messaging application.
[0201] A second message display module 1404 is configured to display a second relay message published by the second account in the target session interface in response to a relay operation on the first relay message.
[0202] Optionally, the device further comprises:
[0203] A relay determination module is configured to determine a target relay to which the first relay model object belongs.
[0204] a storage module, configured to store the first chain model object in a case where the target local chain model object corresponding to the target chain does not exist;
[0205] an updating module, configured to update the target local chain model object based on the first chain model object in a case where the target local chain model object corresponding to the target chain exists.
[0206] Optionally, the chain determining module is configured to:
[0207] determine the target chain identifier of the target chain based on target data in the first chain model object;
[0208] The apparatus further includes:
[0209] a first determining module, configured to determine that the target local chain model object exists in a case where the chain identifier corresponding to the local chain model object is consistent with the target chain identifier;
[0210] a second determining module, configured to determine that the target local chain model object does not exist in a case where no chain identifier corresponding to other chain model objects is consistent with the target chain identifier.
[0211] Optionally, the chain determining module is configured to:
[0212] generate the target chain identifier based on the chain title and at least one optional data other than the chain title in a case where the first chain model object includes the chain title;
[0213] generate the target chain identifier based on the first chain item in the target chain and at least one optional data other than the chain title in a case where the first chain model object does not include the chain title, wherein the first chain item in the target chain does not support modification;
[0214] The optional data includes at least one of a chain title, a chain item example, and a chain end.
[0215] Optionally, the updating module includes:
[0216] a first chain item obtaining unit, configured to obtain a first chain item corresponding to the first account in the first chain model object;
[0217] a first updating unit, configured to update the target local chain model object based on the first chain item, wherein chain items corresponding to other accounts than the first account in the target local chain model object remain unchanged.
[0218] Optionally, the updating unit is configured to:
[0219] in a case where the first historical draw item corresponding to the first account exists in the target local draw model object, updating the first historical draw item based on the first draw item;
[0220] in a case where the first historical draw item corresponding to the first account exists in the target local draw model object, updating the first historical draw item based on the first draw item;
[0221] Optionally, the second message display module 1404 comprises:
[0222] an interface display unit, configured to display a draw item filling interface in response to a triggering operation on the first draw message;
[0223] a second draw item acquisition unit, configured to acquire a second draw item corresponding to the second account and input in the draw item filling interface in response to a triggering operation on a publishing control in the draw item filling interface;
[0224] a second update unit, configured to update the target local draw model object based on the second draw item, wherein the draw items corresponding to the accounts other than the second account in the target local draw model object remain unchanged;
[0225] a second message display unit, configured to display the second draw message published by the second account in the target session interface based on the target local draw model object.
[0226] Optionally, the second update unit is configured to:
[0227] in a case where the second historical draw item corresponding to the second account exists in the target local draw model object, updating the second historical draw item based on the second draw item;
[0228] in a case where the second historical draw item corresponding to the second account does not exist in the target local draw model object, determining a second draw item position of the first draw item in the target local draw model object based on the draw participation time corresponding to the second account, and adding the second draw item to the second draw item position.
[0229] Optionally, the apparatus further comprises:
[0230] a second conversion module, configured to convert the target local draw model object into second draw data, wherein the second draw data adopts the first data format supported by the first instant messaging application;
[0231] a sending module, configured to send the second daisy chain data to a server, so that the server sends the second daisy chain data to other accounts in the target group.
[0232] Optionally, the interface display unit is configured to:
[0233] analyze the target local daisy chain model object to obtain at least one daisy chain item;
[0234] display each daisy chain item in the daisy chain item filling interface in sequence based on the daisy chain participation time corresponding to each daisy chain item, wherein the daisy chain item corresponding to the other account than the second account is in an uneditable state.
[0235] In summary, in the embodiments of the present application, for the target group containing the first account in the first instant messaging application and the second account in the second instant messaging application, the second instant messaging application can display the first daisy chain message published by the first account in the session interface of the target group by performing data format conversion on the received daisy chain data, display the daisy chain item filling interface based on the triggering operation of the first daisy chain message, obtain the daisy chain item corresponding to the second account through the daisy chain item filling interface, and then display the second daisy chain message in the session interface based on the first daisy chain message and the daisy chain item, thereby realizing normal display of the daisy chain message and normal participation in the daisy chain in the heterogeneous interworking instant messaging group.
[0236] Figure 15 is a structural block diagram of a daisy chain message display device provided by another exemplary embodiment of the present application, which comprises:
[0237] a first interface display module 1501, configured to display a target session interface, the target session interface being a session interface of a target group in a second instant messaging application, the target group containing a first account and a second account, the first account being an account in a first instant messaging application, and the second account being an account in the second instant messaging application;
[0238] a first message display module 1502, configured to display a first daisy chain message published by the first account in the target session interface;
[0239] a second interface display module 1503, configured to display a daisy chain item filling interface in response to a triggering operation of the first daisy chain message;
[0240] The second message display module 1504 is configured to, in response to the first triggering operation on the publishing control in the chain item input interface, display a second chain message published by the second account in the target session interface, wherein the second chain message comprises the first chain message and the chain item input in the chain item input interface.
[0241] Optionally, the device further comprises:
[0242] The acquisition module is configured to, in response to the triggering operation on the publishing control in the chain item input interface, acquire the second chain item corresponding to the second account input in the chain item input interface.
[0243] The prompt display module is configured to, in the case that the target keyword is contained in the second chain item, display a publishing failure prompt.
[0244] Optionally, the first message display module 1502 is further configured to, in the case that the target keyword is not contained in the first chain message, display the first chain message published by the first account in the target session interface.
[0245] Optionally, in the case that the second account is a chain initiator of a target chain corresponding to the first chain message, the chain item input interface comprises a sorting control.
[0246] The device further comprises:
[0247] The adjustment module is configured to, in response to the triggering operation on the sorting control in the chain item input interface, adjust the arrangement order of each chain item in the first chain message.
[0248] The third message display module is configured to, in response to the triggering operation on the publishing control in the chain item input interface, display a third chain message in the target session interface, wherein the third chain message comprises the chain item after the arrangement order is adjusted.
[0249] Optionally, the device further comprises a fourth message display module configured to:
[0250] In response to the second triggering operation on the first chain message, display an authorization object selection interface, wherein the authorization object selection interface comprises accounts in the target group.
[0251] Receive a selection operation on a third account in the authorization object selection interface.
[0252] Display a fourth chain message in the target session interface, wherein the fourth chain message comprises the first message and a chain item input by the third account with authorization of the second account, and the chain item input by the third account belongs to the second account.
[0253] To sum up, in the embodiments of the present application, for a target group containing a first account in a first instant communication application and a second account in a second instant communication application, the second instant communication application can display a first dragon message published by the first account in a conversation interface of the target group according to a dragon model object obtained by performing data format conversion on the received dragon data, display a dragon item filling interface based on a triggering operation on the first dragon message, obtain a dragon item corresponding to the second account through the dragon item filling interface, and then display a second dragon message in the conversation interface based on the first dragon message and the dragon item, thereby realizing normal display of a dragon message and normal participation in a dragon in a heterogeneous interworking instant communication group.
[0254] It should be noted that the apparatus provided in the above embodiments is only used as an example for division of the above functional modules. In actual applications, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules to complete all or part of the above described functions. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the implementation process is detailed in the method embodiments, which will not be described here.
[0255] Please refer to Figure 16 which shows a structural schematic diagram of a computer device provided in an example embodiment of the present application. Specifically, the computer device 1600 includes a central processing unit (CPU) 1601, a system memory 1604 including a random access memory 1602 and a read-only memory 1603, and a system bus 1605 connecting the system memory 1604 and the central processing unit 1601. The computer device 1600 also includes a basic input / output system (Input / Output, I / O system) 1606 to help transfer information between various devices in the computer, and a mass storage device 1607 for storing an operating system 1613, application programs 1614, and other program modules 1615.
[0256] The basic input / output system 1606 includes a display 1608 for displaying information and an input device 1609 such as a mouse, keyboard, etc. for user input. The display 1608 and the input device 1609 are both connected to the central processing unit 1601 through an input / output controller 1610 connected to the system bus 1605. The basic input / output system 1606 can also include an input / output controller 1610 for receiving and processing input from a keyboard, mouse, or electronic stylus, and other devices. Similarly, the input / output controller 1610 also provides output to a display screen, printer, or other types of output devices.
[0257] The mass storage device 1607 is connected to the central processing unit(s) 1601 through a mass storage controller (not shown) connected to the system bus 1605. The mass storage device 1607 and its associated computer readable media provide nonvolatile storage for computer device 1600. That is, the mass storage device 1607 can include a computer readable medium (not shown) such as a hard drive or drive array, etc.
[0258] In general, computer readable media (transitory or non-transitory), includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer readable media include, but is not limited to, random access memory (RAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other solid state memory technology, compact disc read-only memory (CD-ROM), digital versatile disc, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, etc. The computer readable media can also include a computer readable storage medium having one or more computer readable instructions stored thereon, which, when executed by the computer device, cause the computer device to perform various methods described herein.
[0259] The memory stores one or more programs configured to be executed by the one or more central processing units 1601, the one or more programs containing instructions for implementing the methods described above, and the central processing unit(s) 1601 executing the one or more programs implement the methods provided by the various embodiments described above.
[0260] According to various embodiments of the present application, the computer device 1600 can also operate in the capacity of a remote computer through a network such as the Internet. The computer device 1600 can communicate with a remote computer via the network 1612, for example, using the network interface unit 1611 connected to the system bus 1605. The network interface unit 1611 can interface with the system bus 1605 through, for example, an network adapter.
[0261] The memory also includes one or more programs stored therein, which one or more programs contain the steps executed by the computer device in the methods provided by the embodiments of the present application.
[0262] The embodiment of the present application further provides a computer readable storage medium, wherein at least one instruction is stored in the computer readable storage medium, and the at least one instruction is loaded and executed by a processor to implement the display method of the chain message according to any one of the above embodiments.
[0263] Optionally, the computer readable storage medium can include a ROM, a RAM, a solid state disk (SSD, Solid State Drives) or an optical disk, etc. The RAM can include a resistance random access memory (ReRAM, Resistance Random Access Memory) and a dynamic random access memory (DRAM, Dynamic Random Access Memory).
[0264] The embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes the display method of the chain message according to the above embodiments.
[0265] Those skilled in the art can understand that all or part of the steps of the above-mentioned embodiments can be completed by hardware, or by a program instructing relevant hardware to complete, and the program can be stored in a computer readable storage medium. The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk.
[0266] The above is only optional embodiments of the present application, and is not used to limit the present application. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method of displaying a concatenated message, characterized by, The method comprises: obtaining first link data sent by a first account in a target group, the target group comprising the first account and a second account, the first account being an account in a first instant messaging application, the second account being an account in a second instant messaging application, the first link data being in a first data format supported by the first instant messaging application; performing data format conversion on the first link data to obtain a first link model object, the first link model object being in a second data format supported by the second instant messaging application; displaying a first link message published by the first account in a target session interface based on the first link model object, the target session interface being a session interface of the target group in the second instant messaging application; in response to a link operation on the first link message, displaying a second link message published by the second account in the target session interface.
2. The method of claim 1, wherein, The method further comprises: determining a target link to which the first link model object belongs; in a case where a target local link model object corresponding to the target link does not exist, storing the first link model object; in a case where the target local link model object corresponding to the target link exists, updating the target local link model object based on the first link model object.
3. The method of claim 2, wherein, The determination of the target link to which the first link model object belongs comprises: determining a target link identifier of the target link based on target data in the first link model object. The method further comprises: in a case where a link identifier corresponding to a local link model object is consistent with the target link identifier, determining that the target local link model object exists; in a case where no link identifier corresponding to another link model object is consistent with the target link identifier, determining that the target local link model object does not exist.
4. The method of claim 3, wherein, The determination of the target link identifier of the target link based on the target data in the first link model object comprises: in a case where the first link model object comprises a link title, generating the target link identifier based on the link title and at least one optional data other than the link title; in a case where the first link model object does not comprise a link title, generating the target link identifier based on a first link item in the target link and at least one optional data other than the link title, wherein the first link item in the target link does not support modification; wherein the optional data comprises at least one of a link title, a link item example, and a link end.
5. The method of claim 2, wherein, The updating of the target local link model object based on the first link model object comprises: obtaining a first link item corresponding to the first account in the first link model object; updating the target local link model object based on the first link item, wherein link items corresponding to accounts other than the first account in the target local link model object remain unchanged.
6. The method of claim 5, wherein, The updating of the target local link model object based on the first link item comprises: in a case where the first historical draw item corresponding to the first account exists in the target local draw model object, updating the first historical draw item based on the first draw item; in a case where the historical draw item corresponding to the first account does not exist in the target local draw model object, determining a first draw item position of the first draw item in the target local draw model object based on a draw participation time corresponding to the first account, and adding the first draw item to the first draw item position.
7. The method of claim 2, wherein, The method further includes: in response to the draw operation on the first draw message, displaying a second draw message published by the second account in the target session interface, including: in response to the trigger operation on the first draw message, displaying a draw item filling interface; in response to the trigger operation on the publishing control in the draw item filling interface, obtaining a second draw item corresponding to the second account input in the draw item filling interface; updating the target local draw model object based on the second draw item, wherein the draw items corresponding to the accounts other than the second account in the target local draw model object remain unchanged; 8. The method of claim 7, wherein, displaying the second draw message published by the second account in the target session interface based on the target local draw model object. The updating the target local draw model object based on the second draw item includes: in a case where a second historical draw item corresponding to the second account exists in the target local draw model object, updating the second historical draw item based on the second draw item; 9. The method of claim 7, wherein, in a case where the second historical draw item corresponding to the second account does not exist in the target local draw model object, determining a second draw item position of the second draw item in the target local draw model object based on a draw participation time corresponding to the second account, and adding the second draw item to the second draw item position. The method further includes: converting the target local draw model object into second draw data in the first data format supported by the first instant messaging application; 10. The method of claim 7, wherein, sending the second draw data to a server, so that the server sends the second draw data to other accounts in the target group. The display of the draw item filling interface includes: parsing the target local draw model object to obtain at least one draw item; 11. A method of displaying a chain message, characterized by, based on the draw participation time corresponding to each draw item, displaying each draw item in the draw item filling interface in order, wherein the draw items corresponding to the accounts other than the second account are in an uneditable state. The method includes: displaying a target session interface, the target session interface being a session interface of a target group in a second instant messaging application, the target group including a first account and a second account, the first account being an account in a first instant messaging application, and the second account being an account in the second instant messaging application; displaying a first draw message published by the first account in the target session interface; in response to a first trigger operation on the first draw message, displaying a draw item filling interface; in response to a trigger operation on the publishing control in the draw item filling interface, obtaining a second draw item corresponding to the second account input in the draw item filling interface; updating the target local draw model object based on the second draw item, wherein the draw items corresponding to the accounts other than the second account in the target local draw model object remain unchanged; displaying the second draw message published by the second account in the target session interface based on the target local draw model object. In response to a triggering operation on a publishing control in the chain item filling interface, a second chain message published by the second account is displayed in the target session interface, the second chain message including the first chain message and a chain item input in the chain item filling interface.
12. The method of claim 11, wherein, The method further includes: In response to a triggering operation on a publishing control in the chain item filling interface, a second chain item corresponding to the second account and input in the chain item filling interface is obtained; In a case where the second chain item includes a target keyword, a publishing failure prompt is displayed.
13. The method of claim 11, wherein, The displaying of the first chain message published by the first account in the target session interface includes: In a case where the first chain message does not include a target keyword, the first chain message published by the first account is displayed in the target session interface.
14. The method of claim 11, wherein, In a case where the second account is a chain initiator of a target chain corresponding to the first chain message, a sorting control is included in the chain item filling interface. The method further includes: In response to a triggering operation on the sorting control in the chain item filling interface, an arrangement order of each chain item in the first chain message is adjusted; In response to a triggering operation on a publishing control in the chain item filling interface, a third chain message is displayed in the target session interface, the third chain message including the chain item after the arrangement order is adjusted.
15. The method of claim 11, wherein, The method further includes: In response to a second triggering operation on the first chain message, an authorized object selection interface is displayed, the authorized object selection interface including accounts in the target group; A selection operation on a third account in the authorized object selection interface is received; A fourth chain message is displayed in the target session interface, the fourth chain message including the first chain message and a chain item input by the third account, and the chain item input by the third account belonging to the second account.
16. A display device for a chain message, characterized by The apparatus includes: A data obtaining module is configured to obtain first chain data sent by a first account in a target group, the target group including the first account and a second account, the first account being an account in a first instant messaging application, the second account being an account in a second instant messaging application, and the first chain data being in a first data format supported by the first instant messaging application; A first conversion module is configured to perform data format conversion on the first chain data to obtain a first chain model object, the first chain model object being in a second data format supported by the second instant messaging application; A first message display module is configured to display a first chain message published by the first account in a target session interface based on the first chain model object, the target session interface being a session interface of the target group in the second instant messaging application; A second message display module is configured to display a second chain message published by the second account in the target session interface in response to a chain operation on the first chain message.
17. A display device for a chain message, characterized by The apparatus includes: The first interface display module is configured to display a target conversation interface, the target conversation interface being a conversation interface of a target group in a second instant messaging application, the target group including a first account and a second account, the first account being an account in a first instant messaging application, and the second account being an account in the second instant messaging application; The first message display module is configured to display a first pass-the-parcel message published by the first account in the target conversation interface; The second interface display module is configured to display a pass-the-parcel item input interface in response to a first trigger operation on the first pass-the-parcel message; The second message display module is configured to display a second pass-the-parcel message published by the second account in the target conversation interface in response to a trigger operation on a publishing control in the pass-the-parcel item input interface, the second pass-the-parcel message including the first pass-the-parcel message and a pass-the-parcel item input in the pass-the-parcel item input interface.
18. A computer device, comprising: The computer device includes a processor and a memory, and the memory stores at least one instruction, which is loaded and executed by the processor to implement the pass-the-parcel message display method according to any one of claims 1 to 15.
19. A computer-readable storage medium, characterized in that, The readable storage medium stores at least one instruction, which is loaded and executed by the processor to implement the pass-the-parcel message display method according to any one of claims 1 to 15.
20. A computer program product, characterised in that, The computer program product includes computer instructions stored in a computer readable storage medium, and a processor of a computer device reads the computer instructions from the computer readable storage medium, and executes the computer instructions to enable the computer device to implement the pass-the-parcel message display method according to any one of claims 1 to 15.
Citation Information
Patent Citations
Conference method and conference system crossing instant messaging (IM) system
CN102546464A
Instant communication system capable of supporting enterprise cooperative office
CN104794609A