CN114157625A - Message state processing method and device, computer readable medium and electronic equipment - Google Patents

Message state processing method and device, computer readable medium and electronic equipment Download PDF

Info

Publication number
CN114157625A
CN114157625A CN202111466160.1A CN202111466160A CN114157625A CN 114157625 A CN114157625 A CN 114157625A CN 202111466160 A CN202111466160 A CN 202111466160A CN 114157625 A CN114157625 A CN 114157625A
Authority
CN
China
Prior art keywords
user
target
message
group chat
target user
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
CN202111466160.1A
Other languages
Chinese (zh)
Other versions
CN114157625B (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.)
Guangzhou Boguan Information Technology Co Ltd
Original Assignee
Guangzhou Boguan 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 Guangzhou Boguan Information Technology Co Ltd filed Critical Guangzhou Boguan Information Technology Co Ltd
Priority to CN202111466160.1A priority Critical patent/CN114157625B/en
Publication of CN114157625A publication Critical patent/CN114157625A/en
Application granted granted Critical
Publication of CN114157625B publication Critical patent/CN114157625B/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/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information

Landscapes

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

Abstract

The embodiment of the disclosure provides a method, a device, a medium and equipment for processing a message state; the method comprises the following steps: acquiring a target message issued by a user in group chat, and detecting a user tag carried by the target message; determining a target user associated with a target message according to the user tag; sending a target instruction to the terminal of the target user, and acquiring the editing state information of the target user for the target message, which is uploaded by the terminal of the target user; and forwarding the editing state information to the group chat user terminal. Therefore, by implementing the technical scheme of the embodiment of the disclosure, the intuitiveness and the communication efficiency of group chat communication can be improved.

Description

Message state processing method and device, computer readable medium and electronic equipment
Technical Field
The present disclosure relates to the field of message processing technologies, and in particular, to a method and an apparatus for processing a message state, a computer-readable medium, and an electronic device.
Background
With the development of computer technology, network-based message transmission becomes an important way to communicate and exchange. In the application of network messages, communication among multiple persons is possible, and the communication among multiple persons is also called group chat.
In group chat, a message sender sends out a message and a message receiver needs to reply. In this communication process, a message sender often wants to know whether a message receiver is replying after receiving a message. The current scheme can not accurately know whether the message receiver replies the sent message. Therefore, misunderstanding and duplicate confirmation may be caused, so that the efficiency of group chat communication is low.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The embodiment of the disclosure aims to provide a message state processing method, a message state processing device, a computer readable medium and an electronic device. And determining a target user through the acquisition message, acquiring the editing state of the target user, and displaying the editing state. The communication efficiency and the intuition degree in group chat are improved.
A first aspect of the embodiments of the present disclosure provides a method for processing a message status, including:
acquiring a target message issued by a user in group chat, and detecting a user tag carried by the target message;
determining a target user associated with a target message according to the user tag;
sending a target instruction to the terminal of the target user, and acquiring the editing state information of the target user for the target message, which is uploaded by the terminal of the target user;
and forwarding the editing state information to the group chat user terminal.
In an exemplary embodiment of the present disclosure, after the step of obtaining a target message published by a user in a group chat, the method further includes:
receiving a reference instruction sent by the group chat user terminal, wherein the reference instruction is generated by the group chat user terminal according to a reference operation of a group chat user for a target message;
and according to the group chat user terminal which sends the reference instruction, determining the group chat user with the reference operation as a target user associated with the target message.
In an exemplary embodiment of the present disclosure, the obtaining of the edit status information of the target user uploaded by the target user terminal for the target message includes:
acquiring first editing state information of the target user uploaded by the target user terminal, and taking the first editing state information as the editing state information of the target user;
continuously acquiring second editing state information of the target user uploaded by the target user terminal;
and updating the editing state information to the second editing state information when the second editing state information is detected to be inconsistent with the first editing state information.
In an exemplary embodiment of the present disclosure, after the step of determining a target user associated with a target message according to the user tag, the method further includes:
sending the user information of the target user to a group chat user terminal, wherein the user information at least comprises one of a user head portrait and a user nickname;
and sending a user information display instruction to the group chat user terminal to instruct the group chat user terminal to display the user information in association with the target message.
In an exemplary embodiment of the present disclosure, after the forwarding the edit status information to a group chat user terminal, the method further includes:
receiving a reply message of the target user;
and sending the reply message and a reply message display instruction to the group chat user terminal, wherein the reply message display instruction is used for instructing the group chat user terminal to display the reply message in association with the target message.
In an exemplary embodiment of the present disclosure, after the step of obtaining the edit status information of the target user for the target message, uploaded by the target user terminal, further includes:
detecting that a plurality of editing state information are acquired, carrying out priority ordering according to parameters of the editing state information, and generating an ordering result, wherein the parameters at least comprise one of an editing text and editing time;
and sending the sorting result to the group chat user server, wherein the sorting result is used for the group chat user server to sort the plurality of editing state information.
In an exemplary embodiment of the present disclosure, the forwarding the edit status information to a group chat user terminal includes:
taking the target user determined according to the user label as a first target user, and taking the target user determined according to the reference operation as a second target user;
and sending a target user distinguishing instruction to a group chat user terminal to instruct the group chat user terminal to distinguish and display the editing state information of the first target user and the second target user.
According to a second aspect of the embodiments of the present disclosure, there is provided a device for processing a message status, including:
the target message detection module is used for acquiring a target message issued by a user in the group chat and detecting a user tag carried by the target message;
the target user determining module is used for determining a target user associated with the target message according to the user tag;
the editing state acquisition module is used for sending a target instruction to the terminal of the target user and acquiring the editing state information of the target user for the target message, which is uploaded by the terminal of the target user;
and the edit state forwarding module is used for forwarding the edit state information to the group chat user terminal.
In an exemplary embodiment of the present disclosure, a device for processing a message status is also provided. The device further comprises:
a reference user determining module, configured to accept a reference instruction sent by the group chat user terminal after the step of obtaining the target message issued by the group chat user, where the reference instruction is generated by the group chat user terminal according to a reference operation of the group chat user on the target message;
and according to the group chat user terminal which sends the reference instruction, determining the group chat user with the reference operation as a target user associated with the target message.
In an exemplary embodiment of the present disclosure, the edit status acquiring module is configured to acquire first edit status information of the target user, which is uploaded by the target user terminal, and use the first edit status information as edit status information of the target user;
continuously acquiring second editing state information of the target user uploaded by the target user terminal;
and updating the editing state information to the second editing state information when the second editing state information is detected to be inconsistent with the first editing state information.
In an exemplary embodiment of the present disclosure, a device for processing a message status is also provided. The message state processing device further comprises:
a user information sending module, configured to send user information of a target user to a group chat user terminal after the step of determining the target user associated with the target message according to the user tag is performed, where the user information at least includes one of a user avatar and a user nickname;
and sending a user information display instruction to the group chat user terminal to instruct the group chat user terminal to display the user information in association with the target message.
In an exemplary embodiment of the present disclosure, a device for processing a message status is also provided. The message state processing device further comprises:
a reply message sending module, configured to receive a reply message of the target user after the step of forwarding the edit status information to the group chat user terminal;
and sending the reply message and a reply message display instruction to the group chat user terminal, wherein the reply message display instruction is used for instructing the group chat user terminal to display the reply message in association with the target message.
In an exemplary embodiment of the present disclosure, a device for processing a message status is also provided. The message state processing device further comprises:
the editing state sorting module is used for detecting that a plurality of pieces of editing state information are acquired after the step of acquiring the editing state information of the target user for the target message uploaded by the target user terminal, and performing priority sorting according to parameters of the editing state information to generate a sorting result, wherein the parameters at least comprise one of an editing text and editing time;
and sending the sequencing result to the group chat user terminal, wherein the sequencing result is used for the group chat user terminal to sequence the plurality of editing state information.
In an exemplary embodiment of the present disclosure, the edit status forwarding module is configured to use a target user determined according to the user tag as a first target user, and use a target user determined according to the reference operation as a second target user;
and sending a target user distinguishing instruction to a group chat user terminal to instruct the group chat user terminal to distinguish and display the editing state information of the first target user and the second target user.
According to a third aspect of embodiments of the present disclosure, there is provided a computer-readable medium, on which a computer program is stored, which when executed by a processor, implements the method for processing the message status as described in the first aspect of the embodiments above.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method of processing message states as described in the first aspect of the embodiments above.
According to a fifth aspect of the present disclosure, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method provided in the various alternative implementations described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the technical solutions provided by some embodiments of the present disclosure, after a target message issued by a user is acquired, a target user is not determined according to a user tag, and an editing state of the target user is sent to a group chat user terminal for display. By implementing the embodiment of the disclosure, on one hand, the editing state of a message receiving party, namely a target user, can be displayed, so that a group chat user can know whether the target user replies, thereby avoiding communication misunderstanding and communication cost for knowing the situation to the target user again, and improving communication efficiency; on the other hand, the editing state of the user is displayed, so that the communication process is more transparent, and the intuition degree of group chat communication is improved.
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. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.
Fig. 1 is a schematic diagram of an exemplary terminal device to which a message status processing method and a message status processing apparatus according to an embodiment of the disclosure may be applied;
FIG. 2 schematically illustrates a block diagram of a computer system suitable for use with a terminal device that implements an embodiment of the disclosure;
FIG. 3 schematically illustrates a flow diagram of a method of processing message status according to one embodiment of the present disclosure;
FIG. 4 schematically illustrates a flow diagram of a method of processing message status according to one embodiment of the present disclosure;
FIG. 5A schematically illustrates a group chat interface diagram according to an embodiment of the present disclosure;
FIG. 5B schematically illustrates a group chat interface diagram according to an embodiment of the present disclosure;
fig. 5C schematically illustrates a group chat interface diagram according to an embodiment of the present disclosure;
FIG. 6 schematically illustrates a group chat interface schematic according to an embodiment of the present disclosure;
FIG. 7 schematically illustrates a flow diagram of a method of processing message status according to one embodiment of the present disclosure;
fig. 8 schematically shows a block diagram of a processing device of a message status in an embodiment according to the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and the like. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
Fig. 1 is a schematic diagram of an exemplary terminal device to which a message status processing method and a message status processing apparatus according to an embodiment of the disclosure may be applied.
As shown in fig. 1, the group chat user terminal may comprise one or more of terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few. The terminal devices 101, 102, 103 may be various electronic devices having a display screen, including but not limited to desktop computers, portable computers, smart phones, tablet computers, and the like. It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices and servers, as desired for implementation. For example, server 105 may be a server cluster comprised of multiple servers, or the like.
FIG. 2 illustrates a schematic block diagram of a computer system suitable for use in implementing a terminal device of an embodiment of the disclosure.
It should be noted that the computer system 200 of the terminal device shown in fig. 2 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 2, the computer system 200 includes a Central Processing Unit (CPU)201 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)202 or a program loaded from a storage section 208 into a Random Access Memory (RAM) 203. In the (RAM)203, various programs and data necessary for system operation are also stored. The (CPU)201, (ROM)202, and (RAM)203 are connected to each other by a bus 204. An input/output (I/O) interface 205 is also connected to bus 204.
The following components are connected to the (I/O) interface 205: an input portion 206 including a keyboard, a mouse, and the like; an output section 207 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 208 including a hard disk and the like; and a communication section 209 including a network interface card such as a LAN card, a modem, or the like. The communication section 209 performs communication processing via a network such as the internet. The driver 210 is also connected to the (I/O) interface 205 as necessary. A removable medium 211 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 210 as necessary, so that a computer program read out therefrom is mounted into the storage section 208 as necessary.
In particular, the processes described below with reference to the flowcharts may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 209 and/or installed from the removable medium 211. The computer program, when executed by a Central Processing Unit (CPU)201, performs various functions defined in the methods and apparatus of the present disclosure.
It should be noted that the computer readable media shown in the present disclosure may be computer readable signal media or computer readable storage media or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some cases constitute a limitation on the elements themselves.
As another aspect, the present disclosure also provides a computer-readable medium, which may be contained in the terminal device described in the above embodiments; or may exist separately without being assembled into the terminal device. The computer-readable medium carries one or more programs which, when executed by the terminal device, cause the terminal device to implement the method as described in the embodiments below.
The present exemplary embodiment provides a method for processing a message status, which, as shown in fig. 3, may include the following steps S310 to S340, specifically:
step S310: and acquiring a target message issued by a user in the group chat, and detecting a user tag carried by the target message.
Step S320: and determining a target user associated with the target message according to the user tag.
Step S330: and sending the target instruction to a terminal of the target user, and acquiring the editing state information of the target user, which is uploaded by the terminal of the target user, aiming at the target message.
Step S340: and forwarding the editing state information to the group chat user terminal, wherein the editing state information is used for displaying the editing state of the target user by the group chat user terminal.
By implementing the message status processing method shown in fig. 3, the target message issued by the user can be acquired, the user tag is detected to determine the target user, and the editing status of the target user is sent to the group chat user terminal for display. By implementing the embodiment of the disclosure, on one hand, the editing state of a message receiving party, namely a target user, can be displayed, so that a group chat user can know whether the target user replies, the misunderstanding rate of communication and the communication cost for knowing the situation to the target user again are reduced, and the communication efficiency is improved; on the other hand, the editing state of the user is displayed, so that the communication process is more transparent, and the intuition degree of group chat communication is improved.
The above steps of the present exemplary embodiment will be described in more detail below.
In step S310, a target message issued by a user in the group chat is obtained, and a user tag carried by the target message is detected.
In the embodiment of the present disclosure, the target message may be any one message in a group chat, any user in the group chat may send the target message, and multiple target messages may also exist in the group chat at the same time. The target message is sent by the user in the group chat, and the target message sending user is the initiating user. The initiating user publishes the target information at the group chat client terminal of the user terminal, the target information is received by the group chat server, and then the target information is forwarded to the terminals of all users in the group chat by the group chat server, and then the target information is displayed on the group chat interfaces of the group chat client terminals of all the users in the group chat.
The target message carries user tags of part or all of the group chat users. The user tags may include a user's group chat nickname, a user's avatar, a remark nickname of the initiating user to the user, a nickname keyword, the user's group chat account number or a pure numeric code, etc.
In step S320, a target user associated with the target message is determined according to the user tag.
For example, target message a may be "group friend a, change nickname," target message B may be "group B friend, schedule weekend", wherein the user tags may be "a" and "group B. The users indicated by the user tags "A" and "B" in the target message are the target users. Optionally, before sending the message, the target user is selected on the group chat user list, and the user tag is directly hidden in the target message and sent together with the target message when sending the message. When the server receives the target message, the user tag is read to identify the user tag, so that the user tag can be determined to determine the target user associated with the target message.
The number of target users may be determined by the target message, for example, if the target message a is "group friend, third and fourth change the nickname," the number of target users is increased from one to three. Or as determined by the initiating user's selection when the user is selected as described above. The disclosed embodiments are not particularly limited herein.
In step S330, a target instruction is sent to the terminal of the target user, and the terminal of the target user is controlled to upload the edit status information of the target user for the target message.
In the embodiment of the disclosure, after the group chat server determines the target user, a target instruction is sent to the terminal of the target user to obtain the editing state information of the target user. The content indicated by the target instruction may be different according to different situations. The target instruction may be only used for instructing the target user terminal to upload the editing state information under the condition that the target user terminal actually acquires the editing state information; the target instruction may indicate that the target user terminal acquires the edit status information first and then uploads the edit status information, in a case where the target user terminal has not acquired the edit status information. In different use cases, different target instructions may be configured when the use requirements can be met, and the embodiments of the present disclosure do not limit the content and the specific indication function of the target instructions.
The edit status information may be a variety of different status information, such as edit status of being entered, pending entry, not entered, etc. The edit status information of the target user terminal can be obtained in various ways. Optionally, the target user terminal detects whether a text is input in an input box of the group chat user client; the client can also call an input method interface of the terminal to judge the editing state of the current user; or detecting whether the input method client occupies a partial display area of the terminal display interface to judge. The different modes correspond to different judgment criteria, for example, it can be considered that the label status information is input only if characters are input in the input box of the group chat user client. Or when the user calls out the input method client operation interface, even if the text is not edited in the input box temporarily, the target message is supposed to be replied, and the target user is actually input or to be input. The definition standard of the editing state and the detection mode of the editing state are not limited in the embodiment of the disclosure.
In step S340, the edit status information is forwarded to the group chat user terminal.
In the embodiment of the present disclosure, the group chat server may forward the edit status information to all the terminals of the users in the group chat, or may forward the edit status information to some of the terminals of the users, for example, only to the terminal of the target message sending user. Optionally, the editing state viewing permission is set, permission configuration is performed on the user in the group chat, and the editing state information is forwarded to the user with permission. Optionally, when the edit status information is forwarded to all users in the group chat, the edit status information is displayed in a highlight position of the group chat interface. For example, a separate display area is arranged at the top of the group chat interface and is used for displaying the editing state information of the target user; the head portrait or the nickname of the target user can be displayed in the form of a floating icon, if the editing state information of the target user is being input, a green dot is displayed beside the floating icon or the outline of the floating icon is displayed in green, and different distinguishing display modes are matched according to different editing states indicated by the editing state information, so that the group chat user can clearly and intuitively judge the editing state of the target user. The embodiment of the disclosure does not limit how the group chat user terminal embodies the editing state after receiving the editing state information.
Further, two or more targeted messages may appear in the group chat interface. The two or more target messages may be sent by the same group chat user or by a plurality of different group chat users. Multiple target messages can be directed to the same target user, and the terminal device can determine which target message the target user aims at in response to a specific operation of the target user. For example, in response to a selection operation, determining a target message replied by a target user, and uploading the editing state information aiming at the target message by the terminal equipment. Correspondingly, the group chat interface on the terminal equipment can also display the editing state information of the target user more clearly. For example, a message showing "target user A is replying to target message sender A" or "target user A is replying to target message sender B"
The present disclosure also provides an implementation manner of the message state processing method. As shown in fig. 4, after the step of obtaining the target message issued by the group chat user, the method further includes:
and S410, receiving a reference instruction sent by the group chat user terminal, wherein the reference instruction is generated by the group chat user terminal according to a reference operation of the group chat user to the target message.
In the disclosed embodiment, there may be a plurality of reference instructions, and one user terminal in the group chat may send one reference instruction for one target message. If there are multiple target messages and one user terminal makes references separately, one user terminal can send multiple reference instructions for multiple target messages. If multiple users can also send target instructions for the same target message, multiple reference instructions for the same target message can be received.
The quote instruction is triggered when the quote operation occurs in the terminal. The reference operation may be in various forms, for example, when the operation is performed through an external device such as a mouse and a keyboard, the reference may be performed by right-clicking the target message, or the reference may be performed by dragging the target message. For example, when the intelligent mobile terminal device is operated, the intelligent mobile terminal device is operated by pressing the target message. The disclosed embodiments do not limit how the quote operation is done here.
And step S420, determining the group chat user with the reference operation as a target user associated with the target message according to the group chat user terminal sending the reference instruction.
Optionally, the group chat user terminal sending the reference instruction may be used as the target user terminal, and then the user using the target user terminal may be used as the target user. In the process of determining the target user terminal, the device identification code of the group chat user terminal may be sent together with the reference instruction when the reference instruction occurs, and a mapping relationship is formed between the group chat user and the device identification code. The device Identity may be, for example, a Mobile Equipment Identity (MEID), an International Mobile Equipment Identity (IMEI), or the like.
By implementing the embodiment of the disclosure, the group chat user who implements the reference operation is also used as the target user by receiving the reference instruction sent by the group chat user terminal. Under the condition that the target message has no other user tags, the other users can acquire the editing states of the other users when the other users refer to the target message. The user range that the editing state can be displayed is expanded, and the transparency and the efficiency of group chat communication are improved.
During the process of replying to the target message by the target user, the editing state of the target user may be in change. For example, the target user may start replying immediately upon receiving the target message, but not continue replying due to interference from other things. Therefore, in the actual group chat, the editing state of the target user is likely to be constantly changing, and the editing state information needs to accurately reflect the editing state of the target user.
Based on the above, the present disclosure also provides an implementation manner of the message state processing method. The acquiring of the edit status information of the target user uploaded by the target user terminal for the target message includes:
the method comprises the steps of obtaining first editing state information of a target user uploaded by a target user terminal, and using the first editing state information as the editing state information of the target user.
And continuously acquiring second editing state information of the target user uploaded by the target user terminal.
And when the second editing state information is detected to be inconsistent with the first editing state information, updating the editing state information into the second editing state information.
In the embodiment of the present disclosure, the edit status information of the target user may be continuously obtained, or a time period may be set, and the edit status information is obtained once every time period elapses. The disclosed embodiments are not limited herein.
And comparing the first editing state information acquired firstly with the second editing state information acquired later. When the two are consistent, the first editing state information can be reserved; when the two are not identical, the second edit status information is newer edit status information. The first edit status information is deleted and the second edit status information is retained.
By implementing the embodiment of the disclosure, the editing state information of the target user is continuously acquired, the acquired second editing state information is compared with the first editing state information, and the latest editing state information is judged. The real editing state of the target user can be determined in time, so that information with higher accuracy is conveyed to the group chat users.
In the group chat messages, when a group chat user faces a large amount of group chat messages, especially text messages, much effort is required to extract important information. Similarly, in the target message, the group chat user needs to spend much effort to know who the target user is. Knowing the direction of the target message is a necessary step in reading and analyzing the target message.
Based on the above, the present disclosure also provides an implementation manner of the message state processing method. After the step of determining a target user associated with a target message according to the user tag, the method further comprises:
and sending the user information of the target user to a group chat user terminal, wherein the user information at least comprises one of a user head portrait and a user nickname.
And sending a user information display instruction to the group chat user terminal to instruct the group chat user terminal to display the user information in association with the target message.
In the embodiment of the present disclosure, after the target user is determined, the user information of the target user is searched from the database. The user information may be a user avatar or a user nickname, or both. The user head portrait and the user nickname can express the identity of the user more accurately in group chat, and the target user can be identified more quickly through the user head portrait and the user nickname. Other user information may also be used, such as the time the user joins the group chat, the level of the user in the group chat, the role (group owner, administrator, group member), etc., and the content of the user information is not particularly limited in this disclosure.
And the user information display instruction is used for instructing the group chat user terminal to display the user information and the user information in a correlation manner. The user information display instruction may explicitly instruct the terminal how to display, or may be only used as a trigger condition when the terminal has a preset display rule.
The association display refers to display of user information and user information, and has an association at a spatial position of a terminal display interface. For example, the user information of the target user may be displayed below or to the right of the target message through the user information display instruction. As shown in fig. 5A, an avatar 502 of target user a and an avatar 503 of target user B are displayed below target message 501; as shown in fig. 5B, the avatar 502 of target user a and the avatar 503 of target user B are displayed to the right of the target message 501.
It can be understood that, on the basis of displaying the user information of the target user in association with the target message, when the edit status information of the target user is acquired, such an identifier capable of representing the edit status information during editing or editing can be displayed. As shown in FIG. 5C, next to the avatar 502 of target user A and the avatar 503 of target user B, a "pen" is displayed to indicate that target user A and target user B are editing. Of course, other visual manners may also be adopted to distinguish whether the target user is editing, for example, the editing state information is to add a red circular contour to the avatar of the target user in the un-edited state, and the editing state information is to add a green circular contour to the avatar of the target user in the editing state, which is not limited herein in this embodiment of the disclosure.
By implementing the embodiment of the disclosure, the user information of the target user is acquired and sent to the group chat user client, and meanwhile, the instruction is sent to indicate that the user information is displayed in association with the target message. The method and the device can enable the user to observe important information of the target message, such as the target user, more quickly when viewing the target message. The intuition degree and the information transmission efficiency of the group chat message are improved.
The present disclosure also provides an implementation manner of the message state processing method. After the step of forwarding the edit status information to a group chat user terminal, further comprising:
receiving a reply message of a target user; and sending a reply message and a reply message display instruction to the group chat user terminal, wherein the reply message display instruction is used for instructing the group chat user terminal to display the reply message in association with the target message.
In the embodiment of the present disclosure, the reply message of the target user is made for the target message, and is used for the user to reply to the target message. For example, the target message may be "crowd friend a, please vote", and the reply message to the crowd chat user a may be "received, voted"; the target message may be "group friend a, what you have a view" and the reply message to group chat user a may be "i feel … …".
And sending a reply message display instruction to the group chat user terminal together with the reply message. The reply message display instruction may be an explicit indication of how the reply message should be displayed, such as the instruction content including displaying the reply message below the target message. The reply message display instruction may also be used to indicate to the group chat user terminal that the message belongs to a reply message, and to distinguish the reply message from a normal group chat message, i.e. the reply message display instruction does not explicitly include the instruction content of how to display. Instead, a display rule of the reply message is preset in the group chat client of the group chat user terminal, and after the reply message display instruction is obtained, whether the display rule of the reply message is to be applied is judged according to the instruction.
It can be understood that the reply message may also correspond to the user information, and the corresponding reply message and the user information are jointly associated with the target message for display, so that the message of each person is bound to the person, and the association between the information and the information is stronger. As shown in fig. 6, the reply message 602 of the target user a and the reply message 603 of the target user B are displayed in association with the target message 601, and simultaneously, the user information of the target user 602 and the target user 603 is displayed corresponding to the reply message 602 of the target user a and the reply message 603 of the target user B, and the normal group chat message 604 is normally displayed as the target message 601.
By implementing the embodiment of the disclosure, the reply message and the reply message display instruction are sent to the group chat user terminal, and the reply message display instruction instructs the terminal to display the reply message in a correlation manner. When the user views the target message, the user can quickly view the message such as the reply message closely related to the target message, and the efficiency and the intuition degree of group chat communication are improved.
The present disclosure also provides an implementation manner of the message state processing method. As shown in fig. 7, after the step of obtaining the edit status information of the target user for the target message uploaded by the target user terminal, the method further includes:
step S710, detecting that a plurality of editing status information are acquired, performing priority ranking according to parameters of the editing status information, and generating a ranking result, where the parameters at least include one of an editing text and an editing time.
In the embodiment of the present disclosure, when it is detected that a plurality of pieces of editing state information are acquired, the plurality of pieces of editing state information may be sorted. The edit status information parameter upon which the ordering is based may be edit text, edit time, or both. The edit text may refer to a number of characters edited by the target user, and the edit time may be a time when the edit status information is acquired.
When the editing texts are sequenced, a plurality of editing state information levels of the editing state information are in direct proportion to the number of the editing texts. The editing state information of the edited more texts is given higher priority, and the editing state information of the edited less texts is given lower priority. When sorted according to edit time, the priority of edit status information is proportional to edit time. The edit status information with an earlier edit time is given a higher priority, and the edit status information with a later edit time is given a lower priority. When the ordering is carried out according to the editing text and the editing time, the priorities of the editing text and the editing time can be directly superposed, and the ordering result can be obtained by combining the priorities of the editing text and the editing time with different weights. Different weights may be set for different degrees of importance to the text being edited and the time being edited. It is understood that other parameters for editing the status information may be used to order the status information to meet different requirements.
And S720, sending the sequencing result to the group chat user terminal, wherein the sequencing result is used for the group chat user terminal to sequence the plurality of editing state information.
And sending the editing state information to the group chat user terminal, and sequencing and displaying the editing state information by the group chat user terminal by using the sequencing result indicated by the sequencing result. For example, the sorting mode may be that the editing state information is vertically arranged, and the priority is decreased from top to bottom; or arranged transversely, and the priority is decreased from left to right.
By implementing the embodiment of the disclosure, the ranking result is obtained by ranking according to the parameters of the editing state information, and the group chat user terminal can rank the editing state information according to a certain priority by using the ranking result. The editing state between the target users can be checked by the group chat users, so that the group chat users can clearly know the reply condition of each target user.
The present disclosure also provides an implementation manner of the message state processing method. The forwarding the edit status information to a group chat user terminal includes:
and taking the target user determined according to the user label as a first target user, and taking the target user determined according to the reference operation as a second target user.
And sending a target user distinguishing instruction to a group chat user terminal to instruct the group chat user terminal to distinguish and display the editing state information of the first target user and the second target user.
In the embodiment of the disclosure, the target users determined according to the user tags and the target users determined according to the reference operation are included according to different target user sources. In group chat, a target user determined by a user tag is a user to which a target message is directly directed, and is also a user which a target message initiator wants to actively know; while the target user determined from the quote operation is additionally passively generated.
When distinguishing between the first and second target users, different identifications may be added to the edit status information of the target users according to the source of the target users. And when the group chat user actively receives the editing state information of different identifications, a target user distinguishing instruction is also received. The target user distinguishing instruction may be a specific instruction indicating how to distinguish the edit status information of the first target user from the edit status information of the second target user; or may simply indicate the differential display, and the group chat user terminal decides how to specifically differentiate the display. The disclosed embodiments are not limited herein.
Further, in this example embodiment, a device for processing a message status is also provided. Referring to fig. 8, the message status processing device 800 may include:
the target message detection module 801 is configured to acquire a target message issued by a user in the group chat, and detect a user tag carried by the target message.
A target user determining module 802, configured to determine a target user associated with the target message according to the user tag.
An edit status acquiring module 803, configured to send a target instruction to the terminal of the target user, and acquire edit status information of the target user for the target message, which is uploaded by the terminal of the target user.
And an edit status forwarding module 804, configured to forward the edit status information to the group chat user terminal.
In an exemplary embodiment of the present disclosure, a device for processing a message status is also provided. The device further comprises:
and the reference user determining module is used for receiving a reference instruction sent by the group chat user terminal after the step of acquiring the target message issued by the group chat user, wherein the reference instruction is generated by the group chat user terminal according to the reference operation of the group chat user on the target message.
And according to the group chat user terminal which sends the reference instruction, determining the group chat user with the reference operation as a target user associated with the target message.
In an exemplary embodiment of the present disclosure, the edit status acquiring module 803 is configured to acquire first edit status information of the target user, which is uploaded by the target user terminal, and use the first edit status information as edit status information of the target user;
continuously acquiring second editing state information of the target user uploaded by the target user terminal;
and updating the editing state information to the second editing state information when the second editing state information is detected to be inconsistent with the first editing state information.
In an exemplary embodiment of the present disclosure, a device for processing a message status is also provided. The message state processing device further comprises:
and the user information sending module is used for sending the user information of the target user to the group chat user terminal after the step of determining the target user associated with the target message according to the user tag is finished, wherein the user information at least comprises one of a user head portrait and a user nickname.
And sending a user information display instruction to the group chat user terminal to instruct the group chat user terminal to display the user information in association with the target message.
In an exemplary embodiment of the present disclosure, a device for processing a message status is also provided. The message state processing device further comprises:
and a reply message sending module, configured to receive a reply message of the target user after the step of forwarding the edit status information to the group chat user terminal.
And sending the reply message and a reply message display instruction to the group chat user terminal, wherein the reply message display instruction is used for instructing the group chat user terminal to display the reply message in association with the target message.
In an exemplary embodiment of the present disclosure, a device for processing a message status is also provided. The message state processing device further comprises:
and the editing state sorting module is used for detecting that a plurality of pieces of editing state information are acquired after the step of acquiring the editing state information of the target user for the target message uploaded by the target user terminal, and performing priority sorting according to parameters of the editing state information to generate a sorting result, wherein the parameters at least comprise one of an editing text and editing time.
And sending the sequencing result to the group chat user terminal, wherein the sequencing result is used for the group chat user terminal to sequence the plurality of editing state information.
In an exemplary embodiment of the present disclosure, the edit status forwarding module 804 is configured to use a target user determined according to the user tag as a first target user, and use a target user determined according to the reference operation as a second target user;
and sending a target user distinguishing instruction to a group chat user terminal to instruct the group chat user terminal to distinguish and display the editing state information of the first target user and the second target user.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
For details that are not disclosed in the embodiments of the apparatus of the present disclosure, please refer to the embodiments of the method for processing a message state of the present disclosure for the details that are not disclosed in the embodiments of the apparatus of the present disclosure.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, the modules may be integrated together and implemented in the form of a System-on-a-chip (SOC).
In the embodiments provided in the present disclosure, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (english: processor) to execute some steps of the methods according to the embodiments of the present disclosure.
The above is only a specific embodiment of the present disclosure, but the scope of the present disclosure is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present disclosure, and shall be covered by the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (10)

1. A method for processing message status, comprising:
acquiring a target message issued by a user in group chat, and detecting a user tag carried by the target message;
determining a target user associated with a target message according to the user tag;
sending a target instruction to the terminal of the target user, and acquiring the editing state information of the target user for the target message, which is uploaded by the terminal of the target user;
and forwarding the editing state information to the group chat user terminal.
2. The method of claim 1, wherein after the step of obtaining the target message published by the user in the group chat, the method further comprises:
receiving a reference instruction sent by the group chat user terminal, wherein the reference instruction is generated by the group chat user terminal according to a reference operation of a group chat user for a target message;
and according to the group chat user terminal which sends the reference instruction, determining the group chat user with the reference operation as a target user associated with the target message.
3. The method according to claim 1, wherein the obtaining of the edit status information of the target user uploaded by the target user terminal for the target message comprises:
acquiring first editing state information of the target user uploaded by the target user terminal, and taking the first editing state information as the editing state information of the target user;
continuously acquiring second editing state information of the target user uploaded by the target user terminal;
and updating the editing state information to the second editing state information when the second editing state information is detected to be inconsistent with the first editing state information.
4. The method of claim 1, further comprising, after the step of determining a target user associated with a target message based on the user tag:
sending the user information of the target user to a group chat user terminal, wherein the user information at least comprises one of a user head portrait and a user nickname;
and sending a user information display instruction to the group chat user terminal to instruct the group chat user terminal to display the user information in association with the target message.
5. The method of claim 1, wherein after the step of forwarding the edit status information to a group chat user terminal, further comprising:
receiving a reply message of the target user;
and sending the reply message and a reply message display instruction to the group chat user terminal, wherein the reply message display instruction is used for instructing the group chat user terminal to display the reply message in association with the target message.
6. The method according to claim 1, wherein after the step of obtaining the edit status information of the target user uploaded by the target user terminal for the target message, the method further comprises:
detecting that a plurality of editing state information are acquired, carrying out priority ordering according to parameters of the editing state information, and generating an ordering result, wherein the parameters at least comprise one of an editing text and editing time;
and sending the sequencing result to the group chat user terminal, wherein the sequencing result is used for the group chat user terminal to sequence the plurality of editing state information.
7. The method of claim 2, wherein forwarding the edit status information to a group chat user terminal comprises:
taking the target user determined according to the user label as a first target user, and taking the target user determined according to the reference operation as a second target user;
and sending a target user distinguishing instruction to a group chat user terminal to instruct the group chat user terminal to distinguish and display the editing state information of the first target user and the second target user.
8. An apparatus for processing message status, comprising:
the target message detection module is used for acquiring a target message issued by a user in the group chat and detecting a user tag carried by the target message;
the target user determining module is used for determining a target user associated with the target message according to the user tag;
the editing state acquisition module is used for sending a target instruction to the terminal of the target user and acquiring the editing state information of the target user for the target message, which is uploaded by the terminal of the target user;
and the edit state forwarding module is used for forwarding the edit state information to the group chat user terminal.
9. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of processing a message state according to any one of claims 1 to 7.
10. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out a method of processing a message state as claimed in any one of claims 1 to 7.
CN202111466160.1A 2021-12-03 2021-12-03 Message state processing method and device, computer readable medium and electronic equipment Active CN114157625B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111466160.1A CN114157625B (en) 2021-12-03 2021-12-03 Message state processing method and device, computer readable medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111466160.1A CN114157625B (en) 2021-12-03 2021-12-03 Message state processing method and device, computer readable medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN114157625A true CN114157625A (en) 2022-03-08
CN114157625B CN114157625B (en) 2023-09-26

Family

ID=80456166

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111466160.1A Active CN114157625B (en) 2021-12-03 2021-12-03 Message state processing method and device, computer readable medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114157625B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808647A (en) * 2016-02-26 2016-07-27 北京小米移动软件有限公司 Message editing processing method and device
WO2017071461A1 (en) * 2015-10-30 2017-05-04 腾讯科技(深圳)有限公司 Event message notification method, apparatus and device
WO2018094572A1 (en) * 2016-11-22 2018-05-31 深圳前海达闼云端智能科技有限公司 Information viewing method, device and equipment
CN108989185A (en) * 2018-07-06 2018-12-11 北京三快在线科技有限公司 Message treatment method, device, electronic equipment and computer-readable medium
CN110147188A (en) * 2019-05-27 2019-08-20 腾讯科技(深圳)有限公司 A kind of information cuing method, device, equipment and storage medium
CN112187488A (en) * 2020-10-28 2021-01-05 上海连尚网络科技有限公司 Network communication method and equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017071461A1 (en) * 2015-10-30 2017-05-04 腾讯科技(深圳)有限公司 Event message notification method, apparatus and device
CN105808647A (en) * 2016-02-26 2016-07-27 北京小米移动软件有限公司 Message editing processing method and device
WO2018094572A1 (en) * 2016-11-22 2018-05-31 深圳前海达闼云端智能科技有限公司 Information viewing method, device and equipment
CN108989185A (en) * 2018-07-06 2018-12-11 北京三快在线科技有限公司 Message treatment method, device, electronic equipment and computer-readable medium
CN110147188A (en) * 2019-05-27 2019-08-20 腾讯科技(深圳)有限公司 A kind of information cuing method, device, equipment and storage medium
CN112187488A (en) * 2020-10-28 2021-01-05 上海连尚网络科技有限公司 Network communication method and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郭艾侠;张连宽;李峰;: "基于混合模式网络聊天系统的设计与实现", 内蒙古师范大学学报(自然科学汉文版), no. 03 *

Also Published As

Publication number Publication date
CN114157625B (en) 2023-09-26

Similar Documents

Publication Publication Date Title
CN106470110B (en) Method and device for sending messages to multiple users in user list in group mode
US10613717B2 (en) Reproducing state of source environment when image was screen captured on a different computing device using resource location, resource navigation and positional metadata embedded in image
CN113595861B (en) Information display method and device, electronic equipment and storage medium
US9449309B2 (en) Managing emails at an electronic mail client
CN112350923A (en) Session message display method and device, computer equipment and storage medium
CN109446442B (en) Method and apparatus for processing information
CN110022399B (en) Message display method and device, user terminal and readable storage medium
CN112291134A (en) Information prompting method, device, equipment and storage medium
US9860198B1 (en) Apparatus and method for message reference management
CN112231463A (en) Session display method and device, computer equipment and storage medium
CN110580486B (en) Data processing method, device, electronic equipment and readable medium
CN110781408A (en) Information display method and device
CN116599783A (en) Communication method, device and equipment
CN105991396A (en) Message sending method and device
CN104462305A (en) Data analyzing method and device
CN111766997A (en) Screenshot sharing method and device, storage medium and electronic equipment
CN114721755A (en) To-do transaction message processing method and device and storage medium
CN112422402A (en) Message forwarding tracing method and device, storage medium and terminal
CN109947526B (en) Method and apparatus for outputting information
CN112887803B (en) Session processing method, device, storage medium and electronic equipment
CN114157625B (en) Message state processing method and device, computer readable medium and electronic equipment
CN110941760A (en) User evaluation method, system, server and storage medium based on information recommendation
CN114035729B (en) Electronic voting method and device and terminal equipment
CN113434432B (en) Performance test method, device, equipment and medium for recommendation platform
CN111752885B (en) Method and device for processing reading authority in reading material

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