The content of the invention
Embodiments of the invention provide a kind of method for message interaction and system, can extenuate the message shown in chat interface
Confusion, publisher can not easily understand other members for sent out message reading conditions the problem of.
To reach above-mentioned purpose, embodiments of the invention adopt the following technical scheme that:
In a first aspect, embodiments of the invention provide a kind of method for message interaction, including:
The message that publisher's terminal is sent is received, and the message is issued in group, the group is by least two
Account forms, and publisher's terminal-pair answers one of account;
If detect in the message exist mark content if receive confirmation, the confirmation is by receiving side terminal
Sent after the message is shown, the receiving side terminal corresponds to the account in addition to one of account in the group
Number;
The quantitative value obtained using statistics is generated status information and sent to publisher's terminal, and the quantitative value is used for
Expression have sent the quantity of the receiving side terminal of confirmation, and the status information is used for publisher's terminal described in display
The correspondence position of message shows the quantitative value.
With reference in a first aspect, in the first possible implementation of first aspect, if described detect the message
It is middle then to receive confirmation in the presence of mark content, including:
Mark content be present if detecting in the message, from the mark contents extraction user mark, and according to institute
State user and identify the receiving side terminal for determining that the mark content is pointed to;
Receive the confirmation that the receiving side terminal that the mark content is pointed to is sent.
With reference to the first possible implementation of first aspect, in second of possible implementation, the utilization
Count obtained quantitative value generation status information and sent to publisher's terminal, including:
According to the confirmation being currently received, in the receiving side terminal that the mark content is pointed to, it is determined that having sent
The receiving side terminal of confirmation and the receiving side terminal for not sending confirmation;
According to the quantitative value, it is described sent the receiving side terminal of confirmation corresponding to user's mark and described do not send out
Send the user of the receiving side terminal of confirmation to identify, generate status information and sent to publisher's terminal.
Second aspect, embodiments of the invention provide a kind of method for message interaction, including:
The message that user is inputted by group interface is obtained, and the message is sent to cluster server, the group
It is made up of at least two accounts, publisher's terminal-pair answers one of account, and the message includes mark content;
The status information that the cluster server is sent is received, and according to the status information, in the message described
The correspondence position display number value shown in group interface, the quantitative value are used to represent that the recipient that have sent confirmation is whole
The quantity at end, the confirmation is sent from receiving side terminal after the message is shown to the cluster server, described to connect
Debit's terminal-pair answers the account in addition to one of account in the group.
With reference to second aspect, in the first possible implementation of second aspect, in addition to:
User's mark in the status information, in the user's mark for the receiving side terminal that the mark content is pointed to
In, screening has been sent user's mark of the receiving side terminal of confirmation and has not sent the receiving side terminal of confirmation
User identifies;
Generation redirected link is simultaneously shown in the correspondence position that the message is shown in the group interface, the skip chain
Connect and do not read list for pointing to display and/or read the interface of list, it is described to have read list and be used to representing described having sent confirmation
User's mark of the receiving side terminal of information, it is described not read list for representing the receiving side terminal for not sending confirmation
User mark.
The third aspect, embodiments of the invention provide a kind of method for message interaction, including:
The message of cluster server issue is received, the message is from publisher's terminal in group to the cluster server
Send, the group is made up of at least two accounts, and publisher's terminal-pair answers one of account, the receiving side terminal
Account in the corresponding group in addition to one of account;
When detecting in the currently displayed interface of the message, confirmation is sent to the cluster server, it is described
Confirmation is used for the quantity that cluster server statistics has shown the receiving side terminal of the message.
It is described to detect the message in the first possible implementation of the third aspect with reference to the third aspect
When in currently displayed interface, confirmation is sent to the cluster server, including:
Receive display reminding icon after the message;
After detecting that user clicks on the operation of the prompting icon, the message is shown in current group interface,
And send confirmation to the cluster server.
It is described to detect the message in second of possible implementation of the third aspect with reference to the third aspect
When in currently displayed interface, confirmation is sent to the cluster server, including:
After receiving the message, the content at group interface is scrolled according to the slide of user;
When the content for detecting the message is appeared in current group interface, sent to the cluster server true
Recognize information.
Fourth aspect, embodiments of the invention provide a kind of message exchange system, including:Cluster server, publisher are whole
End and at least one receiving side terminal;
Publisher's terminal, the message inputted for obtaining user by group interface, and by the message to group
Server is sent, and the group is made up of at least two accounts, and publisher's terminal-pair answers one of account, the reception
Square terminal-pair answers the account in addition to one of account in the group, and the message includes mark content;
The cluster server, the message sent for receiving publisher's terminal, and by the message in group
Issue;
The receiving side terminal, the message issued for receiving the cluster server in group;And detected working as
When in the currently displayed interface of message, confirmation is sent to the cluster server;
The cluster server, be additionally operable to if detect in the message exist mark content if receive confirmation, and
The quantitative value obtained using statistics is generated status information and sent to publisher's terminal, and the quantitative value is used to represent to send
The quantity of the receiving side terminal of confirmation, the status information are used for publisher's terminal and are showing pair of the message
Answer quantitative value described in position display;
Publisher's terminal, it is additionally operable to receive the status information that the cluster server is sent, and according to the state
Information, in the correspondence position display number value that the message is shown in the group interface.
With reference to fourth aspect, in the first possible implementation of fourth aspect, the cluster server is specific to use
If mark content be present in detecting in the message, from the mark contents extraction user mark, and according to the user
Mark determines the receiving side terminal that the mark content is pointed to;And receive what the receiving side terminal that the mark content is pointed to was sent
Confirmation;
Further according to the confirmation being currently received, in the receiving side terminal that the mark content is pointed to, it is determined that having sent out
Send the receiving side terminal of confirmation and do not send the receiving side terminal of confirmation;And according to the quantitative value, described sent out
The user of user's mark and the receiving side terminal for not sending confirmation corresponding to the receiving side terminal of confirmation is sent to mark
Know, generate status information and sent to publisher's terminal;
The receiving side terminal, identify specifically for the user in the status information, refer in the mark content
To receiving side terminal user mark in, screening sent confirmation receiving side terminal user mark and do not send out
The user of the receiving side terminal of confirmation is sent to identify;Regeneration redirected link is simultaneously shown in the message at the group interface
The correspondence position of middle display, the redirected link is used for sensing display and does not read list and/or read the interface of list, described to have read
List is used for the user's mark for representing the receiving side terminal for having sent confirmation, described not read list for representing described
User's mark of the receiving side terminal of confirmation is not sent.
Method for message interaction provided in an embodiment of the present invention and system, be capable of programming count group's message by read state simultaneously
Return and give publisher's terminal, extenuated the message confusion shown in chat interface in the prior art, publisher can not be easily
Solve other members for sent out message reading conditions the problem of.
Embodiment
To make those skilled in the art more fully understand technical scheme, below in conjunction with the accompanying drawings and specific embodiment party
Formula is described in further detail to the present invention.Embodiments of the present invention are described in more detail below, the embodiment is shown
Example is shown in the drawings, wherein same or similar label represents same or similar element or has identical or class from beginning to end
Like the element of function.Embodiment below with reference to accompanying drawing description is exemplary, is only used for explaining the present invention, and can not
It is construed to limitation of the present invention.Those skilled in the art of the present technique are appreciated that unless expressly stated, odd number shape used herein
Formula " one ", "one", " described " and "the" may also comprise plural form.It is to be further understood that the specification of the present invention
The middle wording " comprising " used refers to the feature, integer, step, operation, element and/or component be present, but it is not excluded that
In the presence of or other one or more features of addition, integer, step, operation, element, component and/or their groups.It should be understood that
When we claim element to be " connected " or during " coupled " to another element, it can be directly connected or coupled to other elements, or
There may also be intermediary element.In addition, " connection " used herein or " coupling " can include wireless connection or coupling.Here make
Wording "and/or" includes any cell of one or more associated list items and all combined.The art
Technical staff is appreciated that unless otherwise defined all terms (including technical term and scientific terminology) used herein have
With the general understanding identical meaning of the those of ordinary skill in art of the present invention.It is it should also be understood that such as general
Those terms defined in dictionary, which should be understood that, has the meaning consistent with the meaning in the context of prior art, and
Unless being defined as here, will not be explained with the implication of idealization or overly formal.
Method for message interaction provided in an embodiment of the present invention can be specifically realized in system as shown in Figure 1, the system
System includes cluster server, publisher's terminal and at least one receiving side terminal.In the present embodiment, publisher's terminal and reception
Square terminal be only according to a piece of news send and reception order division terminal device, not to terminal device hardware structure
Limit, such as:Terminal 1 sends message 1 to cluster server, and the message 1 of cluster server issue is received and at end by terminal 2
The group chatting interface display message 1 that the display unit (such as touch-screen, display etc.) at end 2 is shown, then terminal 1 is message
1 publisher's terminal, terminal 2 are the receiving side terminal of message 1;If after this, terminal 2 sends message 2 to group service
Device, the message 2 of cluster server issue is received and in display unit (such as touch-screen, display etc.) institute of terminal 1 by terminal 1
The group chatting interface display message 2 of displaying, then terminal 2 is publisher's terminal of message 2, and terminal 1 is whole for the recipient of message 2
End.Further, in the case of the corresponding user account in multiple terminals, cluster server according to the message currently received or
Used terminal device when person's information identification active user account logs in.
Terminal device disclosed in the present embodiment can be with implementation into an independent table apparatus, or is integrated in a variety of ends
In end equipment, such as PC, smart mobile phone, tablet personal computer (Tablet Personal Computer), laptop computer
(Laptop Computer), personal digital assistant (personal digital assistant, abbreviation PDA), mobile Internet access dress
Put (Mobile Internet Device, MID) or wearable device (Wearable Device) etc..Institute in the present embodiment
The cluster server of announcement, can be specifically a kind of server apparatus for being used to manage the information exchange business based on group.This
Cluster server in embodiment, specially include the original papers such as processor, hard disk, internal memory, system bus, communication interface and
Equipment for providing the service of calculating, with implementation into an independent server apparatus, or is integrated in and is made up of platform server apparatus
Device clusters in.
The embodiment of the present invention provides a kind of method for message interaction, specifically can be used for cluster server as shown in Figure 1, should
Method as shown in Fig. 2 including:
S01, the message that publisher's terminal is sent is received, and the message is issued in group.
Wherein, group can be specifically the online instant chat group set up temporarily;Can also be in operator
Website after registration by establishing, and long-standing chat group;And in the present embodiment, group can be chatted
Its group, chatroom etc. or the transmitting-receiving group or other kinds of for entering between multiple user terminals of short message
The group of row interacting message.In the present embodiment, the group is made up of at least two accounts, and publisher's terminal-pair should be wherein
One account.
The message that publisher's terminal is sent can be specifically user (for example to be connected by input equipment with publisher's terminal
Keyboard, mouse, the touch-screen etc. of microphone and publisher's terminal) text message of input publisher's terminal, pictorial information, one section
Audio-frequency information or one section of video information etc..
S02, if detect in the message exist mark content if receive confirmation.
Wherein, mark content can be specifically specific character, pictorial information, one section of specific audio-frequency information or one section
Specific video information etc..If mark content is not detected in the message, extra process after being given out information in group.
S03, the quantitative value obtained using statistics are generated status information and sent to publisher's terminal.
Wherein, the confirmation is sent by receiving side terminal after the message is shown, the receiving side terminal is corresponding
Account in the group in addition to one of account.The quantitative value is used to represent the reception that have sent confirmation
The quantity of square terminal, the status information are used for publisher's terminal and show the number in the correspondence position for showing the message
Value.Such as:As shown in Figure 3, receiving side terminal can inquire the display location of the message in group chatting interface,
And the quantitative value is shown close to the display location, such as:Number is read.
In the present embodiment, identifying can also include pointing to the user's mark for specifying user in content, in order to which group takes
Reading conditions of the pointed user of device counting user mark of being engaged in the message.If there is mark in described detect in the message
Know the concrete mode that content then receives confirmation, can include:
Mark content be present if detecting in the message, from the mark contents extraction user mark, and according to institute
State user and identify the receiving side terminal for determining that the mark content is pointed to.And receive the receiving side terminal that the mark content is pointed to
The confirmation of transmission.
Wherein, user's mark can be the information such as the title, the pet name, ID number of the member in group.Such as:Group's news release
Person inputs message by terminal device (terminal device of wherein this crowd message issuer can be understood as publisher's terminal)
And sent to cluster server, and include character " " in the message inputted, and include being designated as in group after " "
The title of member, the character that " whole members " etc. is used to represent member's coverage can also be included after " ".By group service
For device after into group, all members broadcast the message, cluster server has read number according to received confirmation information record,
Then numerically add 1 in the reading for representing current quantitative value after a confirmation is received.And it can be brushed each time
Publisher's terminal is notified while new quantitative value, so that publisher's terminal updates quantitative value.
Further, user's mark in the present embodiment can also be that title, the pet name, ID number of the member outside group etc. refer to
To the information of non-group member.The message that publisher's terminal is sent to cluster server, the non-of sensing can also be identified to user
The terminal device of group member is sent, wherein, the terminal device of non-group member can also be used as receiving side terminal.When non-group
The terminal device of member sends confirmation after the message is shown to cluster server, and cluster server forms according to non-group
The confirmation information updating quantitative value that the terminal device of member is sent.
In the present embodiment, can be counted based on user's mark that specified user is pointed in mark content, cluster server
The receiving side terminal of confirmation is sent and has not sent the receiving side terminal of confirmation, so that it is determined that having sent confirmation
The user of information and the user for not sending confirmation, and notify publisher's terminal.Specifically, the number obtained using statistics
Value generates status information and sent to publisher's terminal, can include:
According to the confirmation being currently received, in the receiving side terminal that the mark content is pointed to, it is determined that having sent
The receiving side terminal of confirmation and the receiving side terminal for not sending confirmation.And according to the quantitative value, described sent
The user of user's mark and the receiving side terminal for not sending confirmation corresponding to the receiving side terminal of confirmation identifies,
Generate status information and sent to publisher's terminal.
Such as:As shown in Figure 4, the connection of the part of display number value, specially receiving side terminal generation in figure 3,
The interface that number/do not read number details list has been read for showing is pointed in the connection.Publisher's terminal detects user's point
When hitting the operation of the connection, the interface that number/do not read number details list has been read in display is jumped to.
Method for message interaction provided in an embodiment of the present invention, be capable of programming count group's message by read state and return to
Publisher's terminal, has extenuated the message confusion shown in chat interface in the prior art, and publisher can not easily understand other
Member for sent out message reading conditions the problem of.
The embodiment of the present invention also provides a kind of method for message interaction, specifically can be used for publisher's terminal as shown in Figure 1,
This method as shown in figure 5, including:
S11, the message that user is inputted by group interface is obtained, and the message is sent to cluster server.
Wherein, the group is made up of at least two accounts, and publisher's terminal-pair answers one of account, described to disappear
Breath includes identifying content.
S12, the status information that the cluster server is sent is received, and according to the status information, existed in the message
The correspondence position display number value shown in the group interface.
Wherein, the quantitative value is used for the quantity for representing have sent the receiving side terminal of confirmation, the confirmation
Sent from receiving side terminal after the message is shown to the cluster server, the receiving side terminal is corresponded in the group
Account in addition to one of account.
Further, the execution flow in publisher's terminal also includes:
User mark of publisher's terminal in the status information, in the receiving side terminal that the mark content is pointed to
User mark in, screening sent confirmation receiving side terminal user mark and do not send connecing for confirmation
User's mark of debit's terminal.
Further, user mark can be title, ID number, the pet name of group member etc., can also be represent it is specific into
The character of member's set, such as:"@members ", user is identified as " members ", then now user identifies and points to institute in group
There is member;Again for example:" comrade women ", user are identified as " comrade women ", then institute is sexual in now user's mark sensing group
Other information is the member of " female ".
Publisher's terminal generates redirected link and is shown in the correspondence position that the message is shown in the group interface.
Wherein, correspondence position can be front end, upper end, lower end or other described message of adjoining of the message in group
The region of display location in interface.The redirected link is used for sensing display and does not read list and/or read the interface of list, described
User's mark that list is used to represent the receiving side terminal for having sent confirmation has been read, it is described not read list for representing
User's mark of the receiving side terminal for not sending confirmation.Such as:As shown in figure 4, redirected link is character style "@N
People has read ", and be shown in the front end for the correspondence position that the message is shown in the group interface, when from cluster server to
After all members broadcast the message in group, cluster server has read number according to received confirmation information record, whenever
Then add 1 on quantitative value N after receiving a confirmation.If user clicks on redirected link, as shown in Figure 6, publisher
The display interface of terminal jumps to display and does not read list and read the interface of list;Or it is as shown in Figure 7, smart mobile phone,
The limited mobile terminal of the screen sizes such as tablet personal computer, does not read list and display has read list and can be respectively displayed on different boundaries
In face, and toggled by the slide of user.
Method for message interaction provided in an embodiment of the present invention, be capable of programming count group's message by read state and return to
Publisher's terminal, has extenuated the message confusion shown in chat interface in the prior art, and publisher can not easily understand other
Member for sent out message reading conditions the problem of.
The embodiment of the present invention also provides a kind of method for message interaction, specifically can be used for receiving side terminal as shown in Figure 1,
This method as shown in figure 8, including:
S21, the message for receiving cluster server issue, the message are taken from publisher's terminal in group to the group
Business device is sent.
Wherein, the group is made up of at least two accounts, and publisher's terminal-pair answers one of account, described to connect
Debit's terminal-pair answers the account in addition to one of account in the group.
S22, when detecting in the currently displayed interface of the message, to the cluster server send confirmation.
Wherein, the confirmation is used for the number that cluster server statistics has shown the receiving side terminal of the message
Amount.Such as:Receiving side terminal receives display reminding icon after the message.When detecting that user clicks on the prompting icon
After operation, the message is shown in current group interface, and confirmation is sent to the cluster server, such as:With
After prompting icon is clicked at family, the interface of receiving side terminal jumps to group interface, and automatic page turning to the message in group
Position in interface, so as to which the message be included in the current interface of receiving side terminal.
Again for example:After receiving the message, receiving side terminal scrolls group interface according to the slide of user
Content, such as:Pass through slide of the user on the touch-screen of receiving side terminal, downward page turning group interface.Work as detection
When appearing in the content of the message in current group interface, confirmation is sent to the cluster server.
Method for message interaction provided in an embodiment of the present invention, be capable of programming count group's message by read state and return to
Publisher's terminal, has extenuated the message confusion shown in chat interface in the prior art, and publisher can not easily understand other
Member for sent out message reading conditions the problem of.
The embodiment of the present invention also provides a kind of system as shown in Figure 1, and the system includes cluster server, publisher's end
End and at least one receiving side terminal.With reference to interaction as shown in Figure 9, wherein:
Publisher's terminal, the message inputted for obtaining user by group interface, and by the message to group
Server is sent, and the group is made up of at least two accounts, and publisher's terminal-pair answers one of account, the reception
Square terminal-pair answers the account in addition to one of account in the group, and the message includes mark content.
The cluster server, the message sent for receiving publisher's terminal, and by the message in group
Issue.
The receiving side terminal, the message issued for receiving the cluster server in group.And detected working as
When in the currently displayed interface of message, confirmation is sent to the cluster server.
The cluster server, be additionally operable to if detect in the message exist mark content if receive confirmation, and
The quantitative value obtained using statistics is generated status information and sent to publisher's terminal, and the quantitative value is used to represent to send
The quantity of the receiving side terminal of confirmation, the status information are used for publisher's terminal and are showing pair of the message
Answer quantitative value described in position display.
Publisher's terminal, it is additionally operable to receive the status information that the cluster server is sent, and according to the state
Information, in the correspondence position display number value that the message is shown in the group interface.
In the present embodiment, the cluster server, if mark content be present specifically for detecting in the message,
From the mark contents extraction user mark, and identified according to the user and determine that the recipient that the mark content is pointed to is whole
End.And receive the confirmation that the receiving side terminal that the mark content is pointed to is sent.
Further according to the confirmation being currently received, in the receiving side terminal that the mark content is pointed to, it is determined that having sent out
Send the receiving side terminal of confirmation and do not send the receiving side terminal of confirmation.And according to the quantitative value, described sent out
The user of user's mark and the receiving side terminal for not sending confirmation corresponding to the receiving side terminal of confirmation is sent to mark
Know, generate status information and sent to publisher's terminal.
The receiving side terminal, identify specifically for the user in the status information, refer in the mark content
To receiving side terminal user mark in, screening sent confirmation receiving side terminal user mark and do not send out
The user of the receiving side terminal of confirmation is sent to identify.Regeneration redirected link is simultaneously shown in the message at the group interface
The correspondence position of middle display, the redirected link is used for sensing display and does not read list and/or read the interface of list, described to have read
List is used for the user's mark for representing the receiving side terminal for having sent confirmation, described not read list for representing described
User's mark of the receiving side terminal of confirmation is not sent.
Message exchange system provided in an embodiment of the present invention, be capable of programming count group's message by read state and return to
Publisher's terminal, has extenuated the message confusion shown in chat interface in the prior art, and publisher can not easily understand other
Member for sent out message reading conditions the problem of.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for equipment
For applying example, because it is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to embodiment of the method
Part explanation.One of ordinary skill in the art will appreciate that realize all or part of stream in above-described embodiment method
Journey, it is that by computer program the hardware of correlation can be instructed to complete, it is computer-readable that described program can be stored in one
Take in storage medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage
Medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random
Access Memory, RAM) etc..The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not
Be confined to this, any one skilled in the art the invention discloses technical scope in, the change that can readily occur in
Change or replace, should all be included within the scope of the present invention.Therefore, protection scope of the present invention should be with claim
Protection domain is defined.