CN113259226A - Information synchronization method and device, electronic equipment and storage medium - Google Patents

Information synchronization method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113259226A
CN113259226A CN202110565559.9A CN202110565559A CN113259226A CN 113259226 A CN113259226 A CN 113259226A CN 202110565559 A CN202110565559 A CN 202110565559A CN 113259226 A CN113259226 A CN 113259226A
Authority
CN
China
Prior art keywords
message
session
target
group
account
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110565559.9A
Other languages
Chinese (zh)
Other versions
CN113259226B (en
Inventor
郝利峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110565559.9A priority Critical patent/CN113259226B/en
Publication of CN113259226A publication Critical patent/CN113259226A/en
Application granted granted Critical
Publication of CN113259226B publication Critical patent/CN113259226B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present disclosure relates to an information synchronization method, an information synchronization apparatus, an electronic device, and a storage medium, wherein the method includes: responding to the message sending operation of the target session interface, and obtaining the session message sent to the target session group; the target session group is a session group corresponding to the target session interface; if the session message has the message synchronization identifier, determining at least one target shared document corresponding to the message synchronization identifier in a plurality of shared documents pre-established by group member accounts of the target session group; synchronizing the session message into the target shared document; the target shared document is used for showing the session message to the group member account. By adopting the method and the device, the reading efficiency of the group chat message can be improved.

Description

Information synchronization method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an information synchronization method and apparatus, an electronic device, and a storage medium.
Background
With the development of internet technology, more and more people use the group chat function of instant messaging software to perform chat interaction.
In the related technology, when people use the group chat function to perform group chat interaction, various chat messages are often mixed in group chat, different types of chat messages cannot be well divided and summarized, and a user often needs to page all unread chat messages in group chat when searching for a certain type of group chat messages; if the number and the types of unread chat messages in group chat are various, situations that a user misses and misreads a target group chat message can be easily caused, and the efficiency of the user in reading the group chat message is greatly reduced.
Disclosure of Invention
The present disclosure provides an information synchronization method, an information synchronization apparatus, an electronic device, and a storage medium, so as to at least solve a problem of low reading efficiency of group chat messages in related technologies. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided an information synchronization method, the method including:
responding to the message sending operation of the target session interface, and obtaining the session message sent to the target session group; the target session group is a session group corresponding to the target session interface;
if the session message has the message synchronization identifier, determining at least one target shared document corresponding to the message synchronization identifier in a plurality of shared documents pre-established by group member accounts of the target session group;
synchronizing the session message into the target shared document; the target shared document is used for showing the session message to the group member account.
In one possible implementation manner, each shared document has a corresponding virtual user account in the target session group, and a session message sent to the target session group is obtained in response to a message sending operation on a target session interface; after the step of determining that the target session group is a session group corresponding to the target session interface, the method further includes:
if the fact that the session message has the message reminding identification is detected, determining a target reminding account corresponding to the session message;
if the target reminding account is the virtual user account, determining that the message synchronization identifier exists in the session message; wherein the message synchronization identifier comprises the message reminding identifier and the identifier of the virtual user account.
In one possible implementation manner, the determining, from among a plurality of shared documents pre-established in a group member account of the target session group, at least one target shared document corresponding to the message synchronization identifier includes:
and in the plurality of pre-established shared documents, taking the shared document corresponding to the identification of the virtual user account as the target shared document.
In one possible implementation, before the step of obtaining the session message of the target session group, the method further includes:
acquiring a virtual user account corresponding to each shared document in the target session group;
if the message reminding identification is detected to be input through the message input box, displaying an account selection list; the account selection list includes the virtual user account and group member accounts of the target session group;
in response to the selection operation of the account selection list, displaying the target account selected in the account selection list in the message input box.
In one possible implementation, after the step of displaying the target account selected in the account selection list in the message input box in response to the selection operation on the account selection list, the method further includes:
responding to a message sending instruction, and taking the information in the message input box as the session message;
and sending the session message to the group member account of the target session group.
In one possible implementation, the synchronizing the session message into the target shared document includes:
determining a target database corresponding to the target shared document based on the access link of the target shared document;
and saving the data record of the session message to the target database.
In one possible implementation, the method further includes:
displaying a document editing entry of the shared document in a group advertisement page of the target session group;
and responding to the triggering operation of the document editing entry, and displaying an editing operation page of the shared document.
In one possible implementation manner, the obtaining a session message sent to the target session group in response to a message sending operation on the target session interface includes:
displaying a real-time live broadcast interface of the live broadcast room; the real-time live broadcast interface comprises a live broadcast message interaction inlet;
responding to the trigger operation of the live broadcast message interaction entrance, and displaying the target session interface; the target session interface comprises a message input box;
responding to the message sending operation of the message input box, and obtaining a live broadcast interactive message sent to the live broadcast room;
and taking the live broadcast interactive message as the session message, and displaying the session message on the real-time live broadcast interface.
According to a second aspect of the embodiments of the present disclosure, there is provided an information synchronization apparatus including:
the acquisition unit is configured to execute message sending operation responding to the target session interface and acquire the session message sent to the target session group; the target session group is a session group corresponding to the target session interface;
a determining unit, configured to determine, if a message synchronization identifier exists in the session message, at least one target shared document corresponding to the message synchronization identifier from among a plurality of shared documents pre-established in a group member account of the target session group;
a synchronization unit configured to perform synchronization of the session message into the target shared document; the target shared document is used for showing the session message to the group member account.
In one possible implementation manner, the information synchronization apparatus further includes: the detection unit is configured to execute the step of determining a target reminding account corresponding to the session message if the message reminding identification is detected to exist in the session message; if the target reminding account is the virtual user account, determining that the message synchronization identifier exists in the session message; wherein the message synchronization identifier comprises the message reminding identifier and the identifier of the virtual user account.
In a possible implementation manner, the determining unit is specifically configured to execute, among the pre-established multiple shared documents, taking a shared document corresponding to the identification of the virtual user account as the target shared document.
In one possible implementation manner, the information synchronization apparatus further includes: a display unit configured to execute acquiring a virtual user account corresponding to each of the shared documents in the target session group; if the message reminding identification is detected to be input through the message input box, displaying an account selection list; the account selection list includes the virtual user account and group member accounts of the target session group; in response to the selection operation of the account selection list, displaying the target account selected in the account selection list in the message input box.
In one possible implementation manner, the information synchronization apparatus further includes: a sending unit configured to execute, in response to a message sending instruction, regarding information in the message input box as the conversation message; and sending the session message to the group member account of the target session group.
In one possible implementation manner, the synchronization unit is specifically configured to execute an access link based on the target shared document, and determine a target database corresponding to the target shared document; and saving the data record of the session message to the target database.
In one possible implementation manner, the information synchronization apparatus further includes: an editing unit configured to execute a document editing entry that displays the shared document in a group advertisement page of the target session group; and responding to the triggering operation of the document editing entry, and displaying an editing operation page of the shared document.
In a possible implementation manner, the target session group is a group consisting of a plurality of user accounts in the same live broadcast room, and the obtaining unit is specifically configured to execute displaying of a real-time live broadcast interface of the live broadcast room; the real-time live broadcast interface comprises a live broadcast message interaction inlet; responding to the trigger operation of the live broadcast message interaction entrance, and displaying the target session interface; the target session interface comprises a message input box; responding to the message sending operation of the message input box, and obtaining a live broadcast interactive message sent to the live broadcast room; and taking the live broadcast interactive message as the session message, and displaying the session message on the real-time live broadcast interface.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor implements the information synchronization method according to the first aspect or any one of the possible implementation manners of the first aspect when executing the computer program.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements an information synchronization method as set forth in the first aspect or any one of the possible implementations of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising a computer program stored in a readable storage medium, from which at least one processor of a device reads and executes the computer program, such that the device performs the information synchronization method described in any one of the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: obtaining a session message sent to a target session group by responding to a message sending operation of a target session interface; the target session group is a session group corresponding to the target session interface; if the session message has the message synchronous identification, determining at least one target shared document corresponding to the message synchronous identification in a plurality of shared documents pre-established by group member accounts of the target session group, and synchronizing the session message to the target shared document; therefore, when the first user needs to summarize certain information to the target shared document, the first user can send the session message comprising the information and the message synchronization identifier to the target session group, so that the electronic equipment synchronizes the session message to the target shared document corresponding to the message synchronization identifier when detecting that the session message has the message synchronization identifier, and further, when searching the session message, the second user only needs to access the target shared document without scrolling all unread chat messages in group chat, thereby improving the efficiency of the second user in reading the target group chat message.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a diagram illustrating an application environment of an information synchronization method according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a method of information synchronization according to an example embodiment.
FIG. 3a is an interface diagram illustrating a target session interface in accordance with an illustrative embodiment;
FIG. 3b is an interface diagram illustrating another target session interface, according to an example embodiment.
Fig. 3c is a diagram illustrating an effect of an information synchronization method according to an exemplary embodiment.
Fig. 4 is a flow chart illustrating another method of information synchronization according to an example embodiment.
FIG. 5 is a flow chart illustrating a method of synchronizing information according to an example embodiment
Fig. 6 is a block diagram illustrating an information synchronization apparatus according to an example embodiment.
Fig. 7 is an internal block diagram of an electronic device shown in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure.
It should be noted that the user information (including but not limited to user device information, user personal information, etc.) referred to in the present disclosure is information authorized by the user or sufficiently authorized by each party.
The information synchronization method provided by the present disclosure may be applied to an application environment as shown in fig. 1. The electronic device 110 responds to the message sending operation of the target session interface to obtain the session message sent to the target session group; the target session group is a session group corresponding to the target session interface; if the electronic device 110 detects that a message synchronization identifier exists in the session message, determining at least one target shared document corresponding to the message synchronization identifier from a plurality of shared documents pre-established in a group member account of the target session group; the electronic device 110 synchronizes the session message to the target shared document; the target shared document is used to expose session messages to group member accounts. In practice, the electronic device 110 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
Fig. 2 is a flowchart illustrating an information synchronization method according to an exemplary embodiment, which is used in the electronic device 110 of fig. 1, as shown in fig. 2, and includes the following steps.
In step S210, in response to a message sending operation to the target session interface, obtaining a session message sent to the target session group; the target session group is a session group corresponding to the target session interface.
The target session group may refer to a group in a group chat function of the instant chat software. Of course, the target session group may also refer to a group consisting of a plurality of user accounts in the same live broadcast.
The session message may refer to a chat message sent by each group member account in the target session group. In practice, the conversation messages may also be named group chat messages.
In a specific implementation, the electronic device obtains a session message of a target session group. Specifically, when a user sends a group chat message to a group chat a through instant chat software, the user may access a chat interface (i.e., a target session interface) corresponding to the group chat a through the instant chat software, the user sends the group chat message to the group chat a through the target session interface to further implement inputting a message sending operation to the target session interface to an electronic device, and after receiving the message sending operation to the target session interface, the electronic device obtains a session message sent to a target session group by the user in response to the message sending operation to the target session interface.
In step S220, if it is detected that the session message includes the message synchronization identifier, at least one target shared document corresponding to the message synchronization identifier is determined from a plurality of shared documents pre-established in the group member account of the target session group.
The shared document may refer to a document that can be edited and modified online by a plurality of user accounts.
In the specific implementation, after the electronic device obtains the session message of the target session group, the electronic device detects whether the session message has a message synchronization identifier, the electronic device can judge whether the session message has a message reminding identifier "@", and if the electronic device detects that the session message has the message reminding identifier, the electronic device determines a target reminding account corresponding to the session message; and if the target reminding account is a virtual user account nick1, nick2 or nick3, determining that the message synchronization identifier exists in the session message.
In step S230, the session message is synchronized into the target shared document.
In a specific implementation, after the electronic device determines at least one target shared document corresponding to the message synchronization identifier, the electronic device synchronizes the session message to the target shared document; the target shared document is used to expose the session message to the group member accounts.
In the information synchronization method, the session message of the target session group is acquired; if the session message is detected to have the message synchronization identifier, determining at least one target shared document corresponding to the message synchronization identifier in a plurality of shared documents pre-established in group member accounts of the target session group, and synchronizing the session message to the target shared document; therefore, when the first user needs to summarize certain information to the target shared document, the first user can send the session message comprising the information and the message synchronization identifier to the target session group, so that the electronic equipment synchronizes the session message to the target shared document corresponding to the message synchronization identifier when detecting that the session message has the message synchronization identifier, and further, when searching the session message, the second user only needs to access the target shared document without scrolling all unread chat messages in group chat, thereby improving the efficiency of the second user in reading the target group chat message.
In an exemplary embodiment, each shared document has a corresponding virtual user account in the target session group, and after the step of obtaining the session message of the target session group, the method further comprises: if the fact that the message reminding identification exists in the session message is detected, determining a target reminding account corresponding to the session message; and if the target reminding account is the virtual user account, determining that the message synchronization identifier exists in the session message.
The strong alert identifier may be an identifier used to represent that the session message is a strong alert message. In practical application, the strong reminder identification may be a character "@".
Wherein each shared document has a corresponding virtual user account in the target session group. Each virtual user account has a corresponding account identification, i.e., nickname, e.g., the identification of the virtual user account for shared document 1 is "nick 1".
The message synchronization identification comprises a message reminding identification and an identification of a virtual user account. For example, the message synchronization identifier corresponding to the shared document 1 may be "@ nick 1".
In the specific implementation, in the process of detecting whether the session message has the message synchronization identifier, the electronic device acquires the session message of the target session group, judges whether the session message has the message reminding identifier "@", and determines a target reminding account corresponding to the session message if the session message has the message reminding identifier; and if the target reminding account is a virtual user account nick1, nick2 or nick3, determining that the message synchronization identifier exists in the session message.
According to the technical scheme of the embodiment, if the fact that the message reminding identification exists in the session message is detected, a target reminding account corresponding to the session message is determined; and if the target reminding account is a virtual user account, determining that the message synchronization identifier exists in the session message, and accurately determining the message synchronization identifier existing in the session message.
In an exemplary embodiment, determining at least one target shared document corresponding to the message synchronization identifier among a plurality of shared documents pre-established by group member accounts of the target session group includes: and taking a shared document corresponding to the identification of the virtual user account as a target shared document in the pre-established shared documents.
In a specific implementation, in the process that the electronic device determines at least one target shared document corresponding to the message synchronization identifier in a plurality of shared documents pre-established in the group member account of the target session group, the electronic device may use, as the target shared document, a shared document corresponding to the identifier of the virtual user account in the plurality of pre-established shared documents.
According to the technical scheme of the embodiment, the shared document corresponding to the identifier of the virtual user account is used as the target shared document in the pre-established shared documents, so that the target shared document corresponding to the message synchronization identifier is accurately determined in the pre-established shared documents.
In an exemplary embodiment, before the step of obtaining the session message of the target session group, the method further comprises: acquiring a virtual user account corresponding to each shared document in a target session group; if the message reminding identification is detected to be input through the message input box, displaying an account selection list; the account selection list comprises a virtual user account and group member accounts of the target session group; and in response to the selection operation of the account selection list, displaying the target account selected in the account selection list in the message input box.
In a specific implementation, the electronic device may obtain a virtual user account corresponding to each shared document in the target session group; if the fact that the message reminding identification '@' is input through the message input box is detected, the electronic equipment displays an account selection list; the account selection list comprises a virtual user account and group member accounts of the target session group; then, the electronic device displays the selected target account in the account selection list in the message input box in response to the selection operation of the account selection list.
According to the technical scheme of the embodiment, a virtual user account corresponding to each shared document in a target session group is obtained; if the message reminding identification is detected to be input through the message input box, displaying an account selection list; the account selection list comprises a virtual user account and group member accounts of the target session group; in response to the selection operation of the account selection list, the selected target account in the account selection list is displayed in the message input box, so that the message synchronization operation can be triggered in a message strong reminding mode, a user can conveniently select a synchronous shared document from a plurality of shared documents, and the convenience of session message synchronization is improved.
In an exemplary embodiment, after the step of displaying the target account selected in the account selection list in the message input box in response to the selection operation of the account selection list, the method further includes: responding to a message sending instruction, and taking the information in the message input box as a session message; and sending the session message to the target session group.
In a specific implementation, after the electronic device responds to the selection operation of the account selection list and displays the selected target account in the account selection list in the message input box, if the group member account needs to send the information in the message input box to the target session group, the group member account can click a message sending button, and then a message sending instruction is input to the electronic device; after receiving the message sending instruction, the electronic equipment responds to the message sending instruction and takes the information in the message input box as a session message; and sending the conversation message to a target conversation group (target chat group).
According to the technical scheme of the embodiment, the information in the message input box is timely sent to the target session group as the session message by responding to the message sending instruction.
In order to facilitate understanding of those skilled in the art, the present disclosure provides an application scenario of an information synchronization method; FIG. 3a provides an interface diagram of a target session interface; as shown in fig. 3a, when a user needs to synchronize a session message into a target shared document pre-established by group members in the group chat 1, the user may access a target session interface 310 corresponding to the group chat 1; inputting a message reminding identifier "@" through the message input box 320, and if the electronic device detects the message reminding identifier "@" in the message input box 320, displaying the account selection list 330 by the electronic device if the electronic device detects the message reminding identifier "@" in the message input box 320; the account selection list 330 includes a virtual user account "nick 1" and group member accounts "group member 1", "group member 2", and "group member 3" of the target session group.
FIG. 3b illustratively provides an interface schematic of another target session interface; as shown in fig. 3b, knowing that the identification of the virtual user account corresponding to the target shared document is "nick 1", the user may then select the virtual user account "nick 1" in the account selection list 330 and type the message content "second test message" of the session message in the message input box 320 in order to synchronize the session message to the target shared document. Then, the user can input a message sending instruction to the electronic equipment by clicking a message sending button; after receiving the message sending instruction, the electronic device sends the conversation message to the group chat 1 by using "@ nick1 second test message" in the message input box as the conversation message 340 in response to the message sending instruction.
FIG. 3c is a schematic diagram illustrating an effect of an information synchronization method; after the electronic equipment acquires the session message, the electronic equipment detects whether the session message has a message synchronization identifier, the electronic equipment can judge whether the session message has a message reminding identifier "@", and if the electronic equipment detects that the session message has the message reminding identifier "@", a target reminding account corresponding to the session message is determined; if the target reminding account is determined to be the virtual user account nick1, the message synchronization identification is determined to exist in the session message. After the electronic device determines the target shared document 350 corresponding to the message synchronization identifier, the electronic device synchronizes the message content of the session message to the target shared document 350.
In an exemplary embodiment, synchronizing a session message into a target shared document includes: determining a target database corresponding to the target shared document based on the access link of the target shared document; and saving the data record of the session message to a target database.
In a specific implementation, in the process of synchronizing the session message to the target shared document, the electronic device may acquire an access link (URL) corresponding to the target shared document, and based on the URL corresponding to the target shared document, the electronic device determines a target database for storing document data records corresponding to the target shared document; and the electronic equipment stores the data record of the session message to a target database, so that the session message is synchronized to a target shared document.
According to the technical scheme of the embodiment, the access link of the target shared document is obtained, the target database corresponding to the target shared document is determined based on the access link of the target shared document, the data record of the session message is stored in the target database, and the data record of the session message is properly stored.
In an exemplary embodiment, the method further comprises: displaying a document editing entry of the shared document in a group advertisement page of the target session group; and displaying an editing operation page of the shared document in response to the triggering operation of the document editing entry.
The group advertisement page may refer to a page for displaying advertisement information of the target session group.
In a specific implementation, the electronic device may further display a document editing entry of the shared document in a group advertisement page of the target session group; if the group member account of the target session group needs to edit the shared document, the group member account can trigger the document editing entry, and then the triggering operation of the document editing entry is input to the electronic equipment; after the electronic device receives the trigger operation on the document editing entry, the electronic device responds to the trigger operation on the document editing entry to display an editing operation page of the shared document, and thus, the group member account of the target session group can perform editing operation on the shared document through the editing operation page.
According to the technical scheme of the embodiment, a document editing entry of a shared document is displayed in a group announcement page of a target session group; and displaying an editing operation page of the shared document in response to the triggering operation of the document editing entry, so that a user can conveniently view and edit each shared document.
In an exemplary embodiment, the target session group is a group consisting of a plurality of user accounts in the same live broadcast room, and obtaining a session message sent to the target session group in response to a message sending operation on a target session interface includes: displaying a real-time live broadcast interface of a live broadcast room; the real-time live broadcast interface comprises a live broadcast message interaction inlet; responding to the trigger operation of the live broadcast message interaction entrance, and displaying a target session interface; the target session interface comprises a message input box; responding to the message sending operation of the message input box, and obtaining a live broadcast interactive message sent to a live broadcast room; and taking the live broadcast interactive message as a session message, and displaying the session message on a real-time live broadcast interface.
The target session group is a group consisting of a plurality of user accounts in the same live broadcast room. In practice, a target session group may refer to a group of all viewer accounts in the same live broadcast room.
The live broadcast message interaction portal may be a portal for a user account to send a live broadcast interaction message. In practical application, the live broadcast message interaction entry may refer to a live broadcast room barrage sending entry.
In a specific implementation, when a target session group is a group consisting of a plurality of user accounts in the same live broadcast room, the electronic device can display a live broadcast message interaction entry (such as a live broadcast room bullet screen sending control) in a real-time live broadcast interface of the current live broadcast room; then, when a user account needs to send a live broadcast room barrage, a user can click a live broadcast message interaction inlet in the real-time live broadcast interface, so that the triggering operation of the live broadcast message interaction inlet is input into the electronic equipment, and after the electronic equipment receives the triggering operation of the live broadcast message interaction inlet, the electronic equipment responds to the triggering operation and displays a target session interface (such as a barrage sending interface) comprising a message input frame; the user can input and send the live broadcast barrage to the live broadcast room through the message input box, and then input and send the message to the electronic equipment, so that the electronic equipment obtains the live broadcast interactive message, takes the live broadcast interactive message as a session message, and displays the session message on a real-time live broadcast interface.
According to the technical scheme of the embodiment, a real-time live broadcast interface comprising a live broadcast message interaction inlet of a live broadcast room is displayed; displaying a target session interface comprising a message input box by responding to a trigger operation of a live message interaction inlet; responding to the message sending operation of the message input box, and obtaining a live broadcast interactive message sent to a live broadcast room; the live broadcast interactive message is used as the session message, and the session message is displayed on the real-time live broadcast interface, so that the live broadcast interactive message sent to the live broadcast room by the user account can be used as the session message in time, and the session message can be synchronized into the corresponding target shared file timely and quickly when the message synchronization identifier exists in the subsequent session message.
Fig. 4 is a flowchart illustrating another information synchronization method according to an exemplary embodiment, which is used in the electronic device 110 in fig. 1, as shown in fig. 4, and includes the following steps. In step S410, in response to a message sending operation to the target session interface, obtaining a session message sent to the target session group; the target session group is a session group corresponding to the target session interface. In step S420, if it is detected that the session message has the message reminding identifier, a target reminding account corresponding to the session message is determined. In step S430, if the target reminder account is the virtual user account, it is determined that the message synchronization identifier exists in the session message; wherein the message synchronization identifier comprises the message reminding identifier and the identifier of the virtual user account. In step S440, a shared document corresponding to the identifier of the virtual user account is used as a target shared document among a plurality of shared documents pre-established in the group member accounts of the target session group. In step S450, a target database corresponding to the target shared document is determined based on the access link of the target shared document. In step S460, the data record of the session message is saved to the target database. It should be noted that, for the specific limitations of the above steps, reference may be made to the above specific limitations of an information synchronization method, which is not described herein again.
To facilitate understanding by those skilled in the art, fig. 5 provides a flow chart diagram of an information synchronization method; if the electronic device detects that a user account is added to a target session group (namely group chat), the electronic device can acquire a group member account of the target session group; wherein the group member account may comprise a real user account and/or a virtual user account; and if the electronic equipment detects that a virtual user account with a mapping relation with the shared document exists in the group member account, the electronic equipment displays the document introduction and the document access link of the shared document corresponding to the virtual user account in the group announcement of the group chat.
If the group member account of the target session group needs to edit the shared document, the group member account can trigger the document editing entry, and then the triggering operation of the document editing entry is input to the electronic equipment; after the electronic device receives the trigger operation on the document editing entry, the electronic device responds to the trigger operation on the document editing entry to display an editing operation page of the shared document, and thus, the group member account of the target session group can perform editing operation on the shared document through the editing operation page.
If the electronic equipment detects that a message reminding identifier is input through the message input box, "@" is displayed by the electronic equipment; the account selection list comprises a virtual user account which accords with the matching rule and a group member account of the target session group; then, the electronic device displays the selected target account in the account selection list in the message input box in response to the selection operation of the account selection list.
When a user inputs a message in a message input box and clicks a message sending button, the electronic equipment detects whether the session message has a message synchronous identifier or not, the electronic equipment can judge whether the session message has a message reminding identifier '@', and if the session message has the message reminding identifier, a target reminding account corresponding to the session message is determined; and if the target reminding account is a virtual user account nick1, nick2 or nick3, determining that the message synchronization identifier exists in the session message. After the electronic equipment determines at least one target shared document corresponding to the message synchronization identification, the electronic equipment synchronizes the session message to the target shared document.
It should be understood that although the steps in the flowcharts of fig. 2 and 4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2 and 4 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
Fig. 6 is a block diagram illustrating an information synchronization apparatus according to an example embodiment. Referring to fig. 6, the apparatus includes:
an obtaining unit 610 configured to perform obtaining a session message of a target session group;
a determining unit 620, configured to determine, if it is detected that a message synchronization identifier exists in the session message, at least one target shared document corresponding to the message synchronization identifier from among a plurality of shared documents pre-established in a group member account of the target session group;
a synchronization unit 630 configured to perform synchronization of the session message into the target shared document; the target shared document is used for showing the session message to the group member account.
In one possible implementation manner, the information synchronization apparatus further includes: the detection unit is configured to execute the step of determining a target reminding account corresponding to the session message if the message reminding identification is detected to exist in the session message; if the target reminding account is the virtual user account, determining that the message synchronization identifier exists in the session message; wherein the message synchronization identifier comprises the message reminding identifier and the identifier of the virtual user account.
In a possible implementation manner, the determining unit 620 is specifically configured to execute, in the pre-established multiple shared documents, taking a shared document corresponding to the identification of the virtual user account as the target shared document.
In one possible implementation manner, the information synchronization apparatus further includes: a display unit configured to execute acquiring a virtual user account corresponding to each of the shared documents in the target session group; if the message reminding identification is detected to be input through the message input box, displaying an account selection list; the account selection list includes the virtual user account and group member accounts of the target session group; in response to the selection operation of the account selection list, displaying the target account selected in the account selection list in the message input box.
In one possible implementation manner, the information synchronization apparatus further includes: a sending unit configured to execute, in response to a message sending instruction, regarding information in the message input box as the conversation message; and sending the session message to the group member account of the target session group.
In a possible implementation manner, the synchronization unit 630 is specifically configured to execute determining, based on the access link of the target shared document, a target database corresponding to the target shared document; and saving the data record of the session message to the target database.
In one possible implementation manner, the information synchronization apparatus further includes: an editing unit configured to execute a document editing entry that displays the shared document in a group advertisement page of the target session group; and responding to the triggering operation of the document editing entry, and displaying an editing operation page of the shared document.
In a possible implementation manner, the target session group is a group consisting of a plurality of user accounts in the same live broadcast room, and the obtaining unit is specifically configured to execute displaying of a real-time live broadcast interface of the live broadcast room; the real-time live broadcast interface comprises a live broadcast message interaction inlet; responding to the trigger operation of the live broadcast message interaction entrance, and displaying the target session interface; the target session interface comprises a message input box; responding to the message sending operation of the message input box, and obtaining a live broadcast interactive message sent to the live broadcast room; and taking the live broadcast interactive message as the session message, and displaying the session message on the real-time live broadcast interface.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 7 is a block diagram illustrating an apparatus 700 for performing a method of information synchronization, according to an example embodiment. For example, the device 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, an exercise device, a personal digital assistant, and so forth.
Referring to fig. 7, device 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls the overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operation at the device 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile storage devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a Microphone (MIC) configured to receive external audio signals when the device 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the device 700. For example, the sensor assembly 714 may detect an open/closed state of the device 700, the relative positioning of components, such as a display and keypad of the device 700, the sensor assembly 714 may also detect a change in the position of the device 700 or a component of the device 700, the presence or absence of user contact with the device 700, orientation or acceleration/deceleration of the device 700, and a change in the temperature of the device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the device 700 and other devices. The device 700 may access a wireless network based on a communication standard, such as WiFi, an operator network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the device 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a computer-readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the electronic device 700 to perform the above-described method is also provided. Alternatively, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, comprising a computer program stored in a computer readable storage medium, which is executable by the processor 720 of the electronic device 700 to perform the above-described method.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for synchronizing information, the method comprising:
responding to the message sending operation of the target session interface, and obtaining the session message sent to the target session group; the target session group is a session group corresponding to the target session interface;
if the session message has the message synchronization identifier, determining at least one target shared document corresponding to the message synchronization identifier in a plurality of shared documents pre-established by group member accounts of the target session group;
synchronizing the session message into the target shared document; the target shared document is used for showing the session message to the group member account.
2. The information synchronization method of claim 1, wherein each of the shared documents has a corresponding virtual user account in the target session group, and after the step of obtaining the session message sent to the target session group in response to the message sending operation to the target session interface, the method further comprises:
if the fact that the session message has the message reminding identification is detected, determining a target reminding account corresponding to the session message;
if the target reminding account is the virtual user account, determining that the message synchronization identifier exists in the session message; wherein the message synchronization identifier comprises the message reminding identifier and the identifier of the virtual user account.
3. The information synchronization method according to claim 2, wherein the determining at least one target shared document corresponding to the message synchronization identifier among a plurality of shared documents pre-established in the group member account of the target session group comprises:
and in the plurality of pre-established shared documents, taking the shared document corresponding to the identification of the virtual user account as the target shared document.
4. The information synchronization method according to claim 1, wherein before the step of obtaining the session message of the target session group, the method further comprises:
acquiring a virtual user account corresponding to each shared document in the target session group;
if the message reminding identification is detected to be input through the message input box, displaying an account selection list; the account selection list includes the virtual user account and group member accounts of the target session group;
in response to the selection operation of the account selection list, displaying the target account selected in the account selection list in the message input box.
5. The information synchronization method according to claim 4, wherein after the step of displaying the target account selected in the account selection list in the message input box in response to the selection operation on the account selection list, the method further comprises:
responding to a message sending instruction, and taking the information in the message input box as the session message;
and sending the session message to the group member account of the target session group.
6. The information synchronization method according to claim 1, wherein the target session group is a group consisting of a plurality of user accounts in the same live broadcast, and the obtaining of the session message sent to the target session group in response to the message sending operation on the target session interface comprises:
displaying a real-time live broadcast interface of the live broadcast room; the real-time live broadcast interface comprises a live broadcast message interaction inlet;
responding to the trigger operation of the live broadcast message interaction entrance, and displaying the target session interface; the target session interface comprises a message input box;
responding to the message sending operation of the message input box, and obtaining a live broadcast interactive message sent to the live broadcast room;
and taking the live broadcast interactive message as the session message, and displaying the session message on the real-time live broadcast interface.
7. An information synchronization apparatus, comprising:
the acquisition unit is configured to execute message sending operation responding to the target session interface and acquire the session message sent to the target session group; the target session group is a session group corresponding to the target session interface;
a determining unit, configured to determine, if a message synchronization identifier exists in the session message, at least one target shared document corresponding to the message synchronization identifier from among a plurality of shared documents pre-established in a group member account of the target session group;
a synchronization unit configured to perform synchronization of the session message into the target shared document; the target shared document is used for showing the session message to the group member account.
8. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the information synchronization method of any one of claims 1 to 6.
9. A computer-readable storage medium whose instructions, when executed by a processor of an electronic device, enable the electronic device to perform the information synchronization method of any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program realizes the information synchronization method of any one of claims 1 to 6 when executed by a processor.
CN202110565559.9A 2021-05-24 2021-05-24 Information synchronization method and device, electronic equipment and storage medium Active CN113259226B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110565559.9A CN113259226B (en) 2021-05-24 2021-05-24 Information synchronization method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110565559.9A CN113259226B (en) 2021-05-24 2021-05-24 Information synchronization method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113259226A true CN113259226A (en) 2021-08-13
CN113259226B CN113259226B (en) 2022-11-11

Family

ID=77184036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110565559.9A Active CN113259226B (en) 2021-05-24 2021-05-24 Information synchronization method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113259226B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114051010A (en) * 2021-11-09 2022-02-15 广州博冠信息科技有限公司 Interaction control method and device, computer storage medium and electronic equipment
CN114157627A (en) * 2021-12-09 2022-03-08 北京达佳互联信息技术有限公司 Group processing method, group processing apparatus, electronic device, medium, and program product
CN115550298A (en) * 2022-09-27 2022-12-30 北京字跳网络技术有限公司 Content sharing method and device, electronic equipment, storage medium and program product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140310357A1 (en) * 2013-04-11 2014-10-16 International Business Machines Corporation Directed message notification in chat sessions
CN106716934A (en) * 2016-12-23 2017-05-24 深圳前海达闼云端智能科技有限公司 Chat interaction method and apparatus, and electronic device thereof
CN109873757A (en) * 2019-03-29 2019-06-11 上海连尚网络科技有限公司 Message display method, electronic equipment and readable medium for multi-conference
CN111880887A (en) * 2020-08-04 2020-11-03 腾讯科技(深圳)有限公司 Message interaction method and device, storage medium and electronic equipment
CN112291136A (en) * 2020-10-28 2021-01-29 广州博冠信息科技有限公司 Method and device for processing session message
CN112685537A (en) * 2020-12-28 2021-04-20 北京达佳互联信息技术有限公司 Session record query method, device and related equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140310357A1 (en) * 2013-04-11 2014-10-16 International Business Machines Corporation Directed message notification in chat sessions
CN106716934A (en) * 2016-12-23 2017-05-24 深圳前海达闼云端智能科技有限公司 Chat interaction method and apparatus, and electronic device thereof
CN109873757A (en) * 2019-03-29 2019-06-11 上海连尚网络科技有限公司 Message display method, electronic equipment and readable medium for multi-conference
CN111880887A (en) * 2020-08-04 2020-11-03 腾讯科技(深圳)有限公司 Message interaction method and device, storage medium and electronic equipment
CN112291136A (en) * 2020-10-28 2021-01-29 广州博冠信息科技有限公司 Method and device for processing session message
CN112685537A (en) * 2020-12-28 2021-04-20 北京达佳互联信息技术有限公司 Session record query method, device and related equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114051010A (en) * 2021-11-09 2022-02-15 广州博冠信息科技有限公司 Interaction control method and device, computer storage medium and electronic equipment
CN114051010B (en) * 2021-11-09 2023-07-14 广州博冠信息科技有限公司 Interactive control method, device, computer storage medium and electronic equipment
CN114157627A (en) * 2021-12-09 2022-03-08 北京达佳互联信息技术有限公司 Group processing method, group processing apparatus, electronic device, medium, and program product
CN115550298A (en) * 2022-09-27 2022-12-30 北京字跳网络技术有限公司 Content sharing method and device, electronic equipment, storage medium and program product

Also Published As

Publication number Publication date
CN113259226B (en) 2022-11-11

Similar Documents

Publication Publication Date Title
CN105843615B (en) Notification message processing method and device
CN113259226B (en) Information synchronization method and device, electronic equipment and storage medium
CN109521918B (en) Information sharing method and device, electronic equipment and storage medium
CN111405302B (en) Live broadcast room attention reminding method and device, electronic equipment and storage medium
CN106919629B (en) Method and device for realizing information screening in group chat
CN107423386B (en) Method and device for generating electronic card
CN113382270B (en) Virtual resource processing method and device, electronic equipment and storage medium
CN112416219B (en) Target object processing method, device and system, electronic equipment and storage medium
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN108011990B (en) Contact management method and device
CN107402767B (en) Method and device for displaying push message
CN114025180A (en) Game operation synchronization system, method, device, equipment and storage medium
CN106331328B (en) Information prompting method and device
CN105721283B (en) Method, device and equipment for sending screenshot message
CN110636318A (en) Message display method, message display device, client device, server and storage medium
CN113988021A (en) Content interaction method and device, electronic equipment and storage medium
CN113901353A (en) Information display method, device and system, electronic equipment and server
CN106506808B (en) Method and device for prompting communication message
CN110213062B (en) Method and device for processing message
CN105656639B (en) Group message display method and device
CN111368329A (en) Message display method and device, electronic equipment and storage medium
CN108012258B (en) Data traffic management method and device for virtual SIM card, terminal and server
US11284127B2 (en) Method and apparatus for pushing information in live broadcast room
CN111049732B (en) Push message display method and device, electronic equipment and medium
CN110769282A (en) Short video generation method, terminal and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant