CN109361592A - A kind of instant communication message processing method, device, equipment and storage medium - Google Patents
A kind of instant communication message processing method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN109361592A CN109361592A CN201810897719.8A CN201810897719A CN109361592A CN 109361592 A CN109361592 A CN 109361592A CN 201810897719 A CN201810897719 A CN 201810897719A CN 109361592 A CN109361592 A CN 109361592A
- Authority
- CN
- China
- Prior art keywords
- message
- client
- target
- instruction
- text
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/06—Message adaptation to terminal or network requirements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention provides a kind of instant communication message processing method, device, equipment and storage mediums, which comprises obtains the corresponding reference instruction of target message;According to the reference instruction, the target message is shown in region corresponding with edit box;In detecting the edit box when sending instruction of text message, the data structure of the target message is extended to obtain reference message;The reference message and corresponding text message are sent, the reference message and text message are forwarded and shows output.Reference message and text message significantly can be presented and be distinguished by the present invention, and user is helped intuitively to check message content, fast understanding message context;It can support any kind of message;Improve the user experience and user's viscosity of the client.
Description
Technical field
The present invention relates to internet IM instant messaging field more particularly to a kind of instant communication message processing method,
Device, equipment and storage medium.
Background technique
Message reference is as a relatively common interacting aspects in instant messaging scene, and existing section communication tool is all
Support message reference;These meanss of communication are handled by the way of replicating original text substantially, specifically by the original of reference
The a part of literary content as message to be sent will issue after the textual content of reference and content splicing to be sent;And
The centre of content uses additional character to distinguish to identify reference portion and body part.
But although these meanss of communication have achieved the purpose that quote message, but this mode is not in practical application
Reference original text and reply text can be distinguished well, also, it is former further to help user to obtain the reference
The language ambience information of literary context.
So message reference as in instant chat scene using the operation of high frequency is compared, so needing to seek a kind of letter
The technical solution that single, quick, convenient and fast mode is effectively treated.
Summary of the invention
In order to solve the problems in the prior art, the present invention provides a kind of instant communication message processing method, device, set
Standby and storage medium, specifically:
On the one hand a kind of instant communication message processing method is provided, which comprises
Obtain the corresponding reference instruction of target message;
According to the reference instruction, the target message is shown in region corresponding with edit box;
In detecting the edit box when sending instruction of text message, the data structure of the target message is carried out
Extension obtains reference message;
The reference message and corresponding text message are sent, the reference message and text message is made to be forwarded and show
Output.
On the other hand a kind of instant communication message processing method is provided, which comprises
First client obtains the corresponding reference instruction of target message;
First client shows the target message in area corresponding with edit box according to the reference instruction
Domain;
When first client detects the sending instruction of the text message inputted in the edit box, to the mesh
The data structure of mark message is extended to obtain reference message;
The reference message and corresponding text message are sent to server by first client;
The reference message and text message are transmitted to the second client by the server together;
Second client exports the reference message and text message display.
On the other hand a kind of instant communication message processing unit is provided, described device includes:
Reference instruction obtains module, for obtaining the corresponding reference instruction of target message;
Target message display module, for according to the reference instruction, by the target message show with edit box pair
The region answered;
Reference message obtains module, when the sending for the text message in detecting the edit box instructs, to described
The data structure of target message is extended to obtain reference message;
Message transmission module makes the reference message and just for sending the reference message and corresponding text message
Literary message is forwarded and shows output.
On the other hand a kind of instant communication message processing unit is provided, described device includes:
Reference instruction obtains module, for making the first client obtain the corresponding reference instruction of target message;
Target message display module, for making first client according to the reference instruction, by the target message
It is shown in region corresponding with edit box;
Reference message obtains module, for detecting the text message inputted in the edit box in first client
Sending instruction when, be extended to obtain reference message to the data structure of the target message;
Message transmission module, for being sent to first client by the reference message and corresponding text message
Server;
Message transmitting module, for making the server that the reference message and text message are transmitted to the second visitor together
Family end;
Message output module, for making second client by the reference message and text message display output.
On the other hand a kind of equipment is provided, the equipment includes processor and memory, is stored in the memory
At least one instruction, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, institute
Code set or instruction set are stated as the processor loads and executes to realize such as the message treatment method as described in terms of above-mentioned.
On the other hand a kind of computer readable storage medium is provided, at least one finger is stored in the storage medium
Enable, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or
Instruction set is as processor loads and executes to realize such as the message treatment method as described in terms of above-mentioned.
A kind of instant communication message processing method, device, equipment and storage medium provided by the invention, the beneficial effect having
Fruit are as follows:
The present invention can show reference original text simultaneously and reply text, to intuitively understand very much message context.This hair
The extension that the bright data structure based on to message carries out, it is thus possible to support any kind of message, and then expand reference and disappear
The usage scenario of breath.Specifically, the present invention can be right according to the first client (message transmission client) for sending target message
The extension of the data structure of the target message obtains reference message;So that being shown in client after the forwarding by server
The reference message of (message sends client or message sink client) can get touch control operation in corresponding client
When, by the page rapidly as the page where the page jump to corresponding target message where the reference message;And then it helps
Corresponding client user (the especially user of message sink client) carries out checking for target message contextual information;To
User is set to know context of co-text and more detailed message content.The present invention improves the usage experience and impression of user, is promoted
User's viscosity of corresponding client.
Detailed description of the invention
It in order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology and advantage, below will be to implementation
Example or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, the accompanying drawings in the following description is only
It is only some embodiments of the present invention, for those of ordinary skill in the art, without creative efforts,
It can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is the schematic diagram of the implementation environment under the instant messaging scene that this specification embodiment provides;
Fig. 2 is a kind of instant communication message processing method flow chart that this specification embodiment provides;
Fig. 3 is the schematic diagram for the reference instruction information for obtaining the target message that this specification embodiment provides;
Fig. 4 is that the message content by the target message that this specification embodiment provides is shown above the edit box
Schematic diagram;
Fig. 5 is first client that provides of this specification embodiment by the message content and text of the target message
Message issue together after schematic diagram;
Fig. 6 be this specification embodiment provide be extended to obtain reference message to the data structure of the target message
The flow chart of step;
Fig. 7 (a) is the partial schematic diagram applied under the actual scene that this specification embodiment provides;
Fig. 7 (b) is the partial schematic diagram applied under the actual scene that this specification embodiment provides;
Fig. 8 is another instant communication message processing method flow chart that this specification embodiment provides;
Fig. 9 is that the second client that this specification embodiment provides walks the reference message and text message display output
Rapid flow chart;
Figure 10 is another instant communication message processing method flow chart that this specification embodiment provides;
Figure 11 is the timing diagram for the initiation reference message that this specification embodiment provides;
Figure 12 be this specification embodiment provide check the flow chart of target message in the second client;
Figure 13 is another instant communication message processing method flow chart that this specification embodiment provides;
Figure 14 is a kind of instant communication message processing device structure diagram that this specification embodiment provides;
Figure 15 is that the reference message that this specification embodiment provides obtains module composition schematic diagram;
Figure 16 is another instant communication message processing device structure diagram that this specification embodiment provides;
Figure 17 is another instant communication message processing device structure diagram that this specification embodiment provides;
Figure 18 is another instant communication message processing device structure diagram that this specification embodiment provides;
Figure 19 is a kind of structural schematic diagram for instant communication message processing equipment that this specification embodiment provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art without making creative work it is obtained it is all its
His embodiment, shall fall within the protection scope of the present invention.
It should be noted that term " ", " second " etc. in description and claims of this specification and above-mentioned attached drawing
It is to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that the number used in this way
According to being interchangeable under appropriate circumstances, so that the embodiment of the present invention described herein can include to illustrate or describe herein
Sequence other than those is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that covering is not arranged
His includes, for example, contain the process, method of a series of steps or units, system, product or server be not necessarily limited to it is clear
Step or unit those of is listed on ground, but is not clearly listed or for these process, methods, product or is set
Standby intrinsic other step or units.
The present invention relates to instant messaging fields;Wherein existing scheme is by that will quote when quoting instant communication message
Original text and reply content are spliced in input frame, reference message and text are replied message intermediate using additional character progress
It distinguishes, to identify reference portion and body part;The content of interval and splicing is sent out as message to be sent together later
Out.
Wherein, although being divided reference portion and body part using separator or similar form in existing scheme
It opens, but still cannot intuitively distinguish very much reference portion and body part, especially in former message content (reference portion)
When long, it is easy to cause to misread.Also, existing scheme supports the type of former message content relatively simple;Generally can only
It supports the reference to plaintext message, does not support the reference to other type of messages such as picture, files.In addition, because existing
Scheme is will to quote original text splicing replying before text;In nested reference for the first time, by the reference portion of first time and just
Literary part display output;It is still to splice the reference portion of first time in new textual again in nested reference again
In point;This inconvenience that message will be caused to search and read.Based on the above problem present in existing scheme, so this specification
Propose a kind of effective message processing technique scheme;It is able to solve in instant communication process, communicates multi-party historical session
The problem of message is mutually quoted but is unable to effective district point reference portion and body part;Being able to solve user needs frequently rolling to go through
History messaging list, to find the cumbersome problem for the message position that is cited.
As shown in Figure 1, it illustrates the schematic diagrames of the implementation environment under instant messaging scene;The implementation environment includes: clothes
The terminal 01 and terminal 03 that business device 02 and the server 02 communicate.Wherein, terminal 01 and terminal 03 all can be
Mobile phone, tablet computer, portable acquisition machine on knee, PAD or desk-top acquisition machine etc..Operation has in terminal 01 and terminal 03
Client, the client can be the applications client etc. of instant communication client or same type;Wherein, described to be
When communication customer end can be able to carry out the transmission of message and the reception of message, that is to say, that the instant messaging in terminal 01
Client can be used as message and send client, can also be used as message sink client, likewise, the Instant Messenger in terminal 03
Letter client can also be used as message and send client or message sink client.
The client has Application Program Interface, may include one or more kinds of composition interfaces in Application Program Interface
Interface element, specific interface element includes but is not limited to one in window, dialog box, message box, status bar, icon etc.
Kind is a variety of.For example, can only include a window in an Application Program Interface, for conversation message information (such as text
Sheet, picture etc.);It can also simultaneously include message box, icon, status bar etc..Also, Application Program Interface may include display
It interface in terminal screen and is stored in user terminal but is not shown at the interface of terminal screen.It is shown in terminal
Interface on screen is referred to as display interface.Various interface elements in interface may be collectively referred to as the content information in interface.
Server 02 can be a server, be also possible to the server cluster consisted of several servers, or
It is that a cloud obtains service centre.Server 02 is established by network and terminal 01 and is communicated to connect.
In detail, this specification embodiment provides a kind of instant communication message processing method, as shown in Fig. 2, the side
Method includes:
S202. the corresponding reference instruction of target message is obtained;
Specifically, client (the message transmission client) user of the target message is sent on interface to the target
Message carries out touch control operation, and display obtains reference instruction information (referenced key);Particular by the corresponding touch control operation of detection
Touch parameter is matched with the preset parameter for characterizing reference instruction information, if matching, reference is generated on interface
Information is indicated, if mismatching, then it is assumed that the touch control operation is invalid operation.
It should be noted that the mode of the touch control operation has diversity;It can be long press operation or double click operation etc.
Deng.For example, the touch parameter can be when the target message present position carries out long press operation to the target message
The duration of long press operation, or be the duration of long press operation and the pressure value of long press operation.If touch parameter is long press operation
Duration when, when the duration of long press operation reaches preset duration, then can on target message interface pop-up occur reference dish
It is single, it include reference instruction information (referenced key) in the reference menu.
Wherein, for showing the touch control operation mode of " the reference instruction information " on interface, can with obtain session
The mode of operation of the operation keys such as " duplication indicates information " of message, " pasting instruction information " is the same, facilitates the memory of user and makes
With as shown in Figure 3.
Further, when the user of the client chooses the reference to indicate information by clicking operation, the visitor
Family end has just obtained the corresponding reference instruction of the target message.
It should be noted that the target message can be existing customer end subscriber oneself sending, it is also possible to other
What client user issued, and without limitation.Also, touch control operation and subsequent touch-control selection (clicking operation) in the present embodiment
Both for the target message complete content.
S204. according to the reference instruction, the target message is shown in region corresponding with edit box;
In detail, when the client obtains the corresponding reference instruction of the target message, the target message disappears
Breath content is shown in the client current interface and corresponds to region where edit box.Such as the message content of the target message
(message content being cited) can be in same fixed area with the edit box of information to be entered;Alternatively, the target message
Message content suspend and be shown in the top of edit box region.Wherein, disappear in the historical session slided in the client
When breath, the message content of the target message be as the edit box it is fixed, not with the rolling of historical session message
And it rolls.
Also, the message content of the target message is the position except the edit box;It is placed in existing scheme
In edit box, many input content regions can be occupied in this way, also, will use family and the difference of former message and reply content is perceived
It is not apparent.And be located at the mode except edit box in the present embodiment and prevent take up the space in edit box or region, more
The content being cited and body matter, the more efficient input and volume that body matter is completed in input frame are distinguished convenient for user
Volume;More good usage experience is brought to user.
Wherein it is possible to message content and editor according to the use habit and visual experience of user, to the target message
Frame carries out row layout setting;Specifically, the message content can be shown in the top position of the edit box, or will
The message content suspension is shown in edit box.
It should be noted that when showing the message content above the edit box, while obtaining the client
The user identifier (or account information) at end is shown together.Wherein, the user identifier of the client, that is, before
Send account title, the user pet name or head portrait etc. of the sender of the target message under the client.
Also, when showing the message content above the edit box, at the same generate deletion instruction information (such as
In the mark for the "×" that the right positions of the message content generate).As shown in Fig. 4, the edit box is shown in Fig. 4
Top may include: before send the account title of the target message, the message content of the target message, "×" indicate
Deletion indicate information.
Wherein, it is shown in the message content content presentation as a whole of the target message above the edit box, is used
Family can carry out whole deletion to the message content, quickly to carry out the replacement of target message or without using recited function
It adjusts.Also, it by deleting operation of the instruction information to overall message content, compares and is shown in edit box, but need
It selects for the operation deleted again after message content by continuous delete operation or entirely, to the target message in the present embodiment
The whole delete operation of message content is efficiently succinct, promotes user experience impression.Further, it is illustrated in figure 5 described first
Client the message content of the target message and text message are issued together after schematic diagram.
It further explains, if the message content of the target message is a long message (in the message of multirow
Hold), then the message content is being shown that, at the edit box top position, the client only shows institute on interface
The partial content of message content is stated, for example only shows the partial information of the beginning of the message content on the edit box
Side, and the last prompt that content omission is given using ellipsis (...) of text is shown in the part.That is, this implementation
The content being cited is nested in the top position of the edit box by way of similar abstract, wherein to avoid target in example
The message content of message is too many and influences the reading experience problem of full page, can only show in a line on interface
Hold;The space that edit box will not only be occupied in this way, the space of conversation message list will not be occupied in full page, is convenient for
User checking and reading to other information.Wherein, the inner capacities for a line content that can be shown in the top of the edit box,
It is to be calculated according to the text importing parameter (such as font size and font etc.) of setting.It can be disappeared based on target in this specification
The message content (content being cited) of breath as a whole, and is incorporated in above edit box and only shows a line content
Form;Experiencing user, mode of operation is simple, content displaying is succinct and intuitive usage experience.
If the message content is a picture, it is shown on the edit box in the message content of the target message
When orientation is set, the client is the picture display parameters (such as size after scaling) according to setting, is drawn described
Picture presentation is in the top of the edit box.
S206. in detecting the edit box when sending instruction of text message, to the data knot of the target message
Structure is extended to obtain reference message;
Specifically, user inputs text message in the edit box, by clicking the corresponding sending instruction letter of edit box
Breath, the text message is issued.
Accordingly, the client is after the sending instruction for detecting the text message, and the client is to the mesh
The data structure of mark message is extended, so that the target that the message content of the target message is shown after sending disappears
Breath can become the reference message.
Wherein, positioned at all conversation messages data structure having the same of the same client;So out of edit box
The text message of sending and the target message data structure having the same being located on edit box, are clicked by the text message
When sending, the reference message content is issued together with the text message of input;The text in detecting the edit box
When the sending instruction of message, the sending instruction of the referenced content can be detected together.
Further, it in the reference message that touch control operation is obtained by extended data structure, can be corresponded to according to record
The attribute information of target message position quickly directly jumps to the position of the target message;To make user effectively look into
It sees context message, knows the situation that internal staff links up.
Wherein, the position of the target message is jumped to, preferably jumps to and is located in the page with the target message
Between position the page.The context of the target message, mainly with from the point of view of receiving time in the reception of the target message
Between before or after predetermined time in conversation message.
It should be noted that since the present invention is based on the extended operations that the data structure to target message carries out, so, it should
The message content of target message can support any kind of message, specifically may include text, picture, link etc., can also
To include the merging message obtained by pooling function.Wherein, the reference to message is merged, is existing customer end subscriber in order to just
Can quickly understand his content to be expressed in other users, it is selective will continuous several conversation messages or discontinuous
Several conversation messages merge, and further quote the merging message, by the conversation message and the content to be expressed (in text
Hold) it issues together, so that other users are reading body matter, and click reference message jumps and merges message
After reading, the information content for linking up interaction more sufficiently can be quickly understood;Also, it can also in conjunction with the mode for merging message
The occupied area of space of entire new information on interface is saved, enough in order to which user checks message.
The reference of a plurality of types of message can be supported in the present embodiment, this is greatly enriched the use field of reference message
Scape or use situation, and then improve the user volume of corresponding client.
Specifically in embodiment, step S206 is extended the data structure of the target message and is quoted one kind
Message, as shown in fig. 6, may include:
S402. the identification field for identifying the target message is obtained;
In detail, detect the target message sending instruction when, the client from server obtain for pair
Unique identification field that the target message is identified.That is, the identification field is to search the target message
The field information of present position.Wherein, for the message in instant messaging, each conversation message all has a message
Unique ID, the unique ID of this message can be server and generate and message is followed to send together.
S404. in the data structure of the target message, attribute letter of the addition for target message described in record reference
Breath, obtains the reference message;The attribute information includes the message object and the identifier word of described target message itself
Section.
Specifically, the present embodiment is based on the basis of existing message interface, will quote the attribute information of the target message
It is added in corresponding data structure, to obtain the reference message.Wherein, using the attribute information, the reference disappears
Breath can carry out the lookup of target message position after obtaining touch control operation instruction.
In detail, the attribute information includes the message object (Message object) and institute of described target message itself
State identification field (id information).Wherein, Message object can be directly obtained the type of former message (target message) and interior
Hold, the convenient message content that the former message is shown in the new information sent (including reference message and text message).
Wherein, id information is the message unique identity obtained when being sent by message from server, for searching former message;Help the page from
Reference message the jumping to the former message;So that current location can directly jump when reference message is clicked
To the position of former message.
It should be noted that the input of text message operates and carries out the elder generation of the referencing operation of target message in this specification
Sequence can be without limitation afterwards.The input of text message can be first carried out, then carry out the reference of target message;Or it first carries out
The reference of target message, then carry out the input of text message.
S208. the reference message and corresponding text message are sent, the reference message and text message are forwarded
And show output.
Specifically, message sends client and the reference message and corresponding text message is sent to server, later,
The reference message and text message are transmitted to the message sink client of docking by the server;So that the reference message
It is issued with text message on the interface for being shown in corresponding client.
Further, the reference message can make the reference in user's touch-control clicking operation of corresponding client
The page where page jump where message to corresponding target message;And then user is helped quickly to find relevant context letter
Breath, to help the detailed content and context of user's understanding current chat.
It should be noted that the display of reference message can not only be carried out in the message sink client and correspond to mesh
Mark message is checked.Also, client is sent after issuing new information in the message, can equally be sent in the message
The reference message of sending is shown on the interface of client, and corresponds to checking for target message, to help sender of the message to look into
Whether the situation position where seeing cited target message can effectively illustrate the content for being intended by or linking up;As it can be seen that
User can also be helped to verify reference message content correctness and availability.
According to the application schematic diagram under actual scene, it is described in conjunction with Fig. 7 (a) and 7 (b):
At conversation message interface, user passes through the message bubble where long-pressing target message, that is, can trigger message reference and patrol
Volume;
It quotes after message issues, the reference portion by clicking message bubble (" Zhang Keli: is also needed as shown in Fig. 7 (a)
To prepare a PPT again, the deadline is Friday."), the message position where reference original text can be jumped to, and be highlighted
(" Zhang Keli: also needing to prepare again a PPT to message original text, and the deadline is Friday as shown in Fig. 7 (b)."), facilitate user
It reads.
If Fig. 7 (a) is reference message bubble pattern, including the application to plain text, and the reference to file.Such as
Fig. 7 (b) is to quote message to jump the highlighted pattern performance after original text.
Message treatment method provided in this embodiment, displaying that can be intuitionistic and concise are quoted message, can be supported to more again
Kind type of message is quoted, and can also be jumped to the position where being cited message with succinctly operating efficient process be carried out original text
Check, help user fast and effeciently understand the context in chat scenario.
A kind of instant communication message processing method provided in this embodiment, and in particular to (message is sent to the first client
Client), the interaction of the information of server and the second client (message sink client);In detail, as shown in figure 8, it is described
Method may include:
S602. the first client obtains the corresponding reference instruction of target message;
Specifically, the first client (message transmission client) can detect user to the touch-control of the target message
When operation meets preset with operation parameters, pop-up reference menu described in reference menu can occur including drawing on target message interface
With instruction information (referenced key);Further, when detecting that user chooses the reference to indicate information by touch control operation, institute
It states the first client and obtains corresponding reference instruction.
S604. first client shows the target message corresponding with edit box according to the reference instruction
Region;
Specifically, first client is after getting the reference instruction, and specifically, first client is obtaining
After getting the reference instruction, the message content (message content being cited) of the target message is shown in first client
End current interface corresponds to edit box region;That is, the message content of the target message and the volume of information to be entered
It collects frame and is in same fixed area;When sliding the historical session message in first client, the target message disappears
Breath content be as the edit box it is fixed, do not rolled with the rolling of historical session message.
Also, the message content of the target message is the position except the edit box.Generally according to user's
Using and visual custom, and history message on interface is checked convenient for user, usually by the message of the target message
Content is presented on the top of the edit box.
It should be noted that when showing the message content above the edit box, while obtaining the client
The user identifier at end is shown together.Wherein, the user identifier of the client, that is, disappear sending the target before
Account title, the user pet name or head portrait of the sender of breath under the client.
Also, when showing the message content above the edit box, at the same generate deletion instruction information (such as
In the mark for the "×" that the right positions of the message content generate).
Wherein, the message content for being shown in the target message above the edit box must content be in as a whole
Existing, user can carry out whole deletion to the message content, quickly to carry out the replacement of target message or without using reference
The adjusting of function.It is efficiently succinct to the whole delete operation of the message content of the target message in the present embodiment, promote user
Experience sense by.
It further explains, if the message content is a long message, by the message of the target message
When content is shown in the edit box top position, the client is only shown on interface in a line of the message content
Hold.Namely only the partial information of the beginning of the message content is shown above the edit box, and in the display
The last prompt that content omission is given using ellipsis (...) of text.Wherein, it can be shown in the top of the edit box
The inner capacities of a line content is calculated according to the text importing parameter (such as font size and font etc.) of setting.
If the message content is a picture, it is shown on the edit box in the message content of the target message
When orientation is set, the client is the picture display parameters (such as size after scaling) according to setting, is drawn described
Picture presentation is in the top of the edit box.
S606. right when first client detects the sending instruction of the text message inputted in the edit box
The data structure of the target message is extended to obtain reference message;
Specifically, the user of first client inputs text message in the edit box, by clicking edit box
Corresponding sending indicates information, and the text message is issued;Due to be located at the edit box outside reference message content, be with
The edit box is in same fixed area, can receive identical sending instruction, so, it is issued by the text message
When, the reference message content is to be issued together.
Accordingly, the client is in the sending instruction for getting the text message, while getting the target and disappearing
When the sending instruction of the message content of breath, the client is extended the data structure of the target message, to be had
There is the attribute information for recording the target message position, so that the message content of the target message shown after issuing becomes
The reference message.So that when quoting message described in touch control operation, it can be according to the correspondence target message position of record
Attribute information, quickly directly jump to the position of the target message;To make user effectively check context message,
Know the situation that internal staff links up.
It should be noted that since the present invention is based on the extended operations that the data structure to target message carries out, so, it should
The message content of target message can support any kind of message, specifically may include text, picture, link etc., can also
To include the merging message obtained by pooling function.
Specifically, the data structure of the target message is extended to obtain reference message, may include:
First client obtains the identification field for identifying the target message from server;
First client is in the data structure of the target message, and addition is for target message described in record reference
Attribute information, obtain the reference message;The attribute information may include the message object of described target message itself, with
And the identification field.
The attribute information for being used for target message described in record reference is added to the target message by first client
Data structure in, obtain the reference message;The reference message, which can be realized, to be carried out searching jumping for corresponding target message.
Wherein, due to the extension based on data structure, so can be realized the reference of any kind of message in the present embodiment.
In detail, the attribute information includes the message object (Message object) and institute of described target message itself
State identification field (id information).Wherein, Message object can be directly obtained the type of former message (target message) and interior
Hold, the convenient message content that the former message is shown in the new information sent (including reference message and text message).
Id information is the message unique identity obtained when being sent by message from server, for searching former message;So that disappearing in reference
When breath is clicked, current location can jump directly to the position of former message.
S608. the reference message and corresponding text message are sent to server by first client;
S610. the reference message and text message are transmitted to the second client by the server together;
S612. second client exports the reference message and text message display.
Specifically, in first client (message transmission client) by the reference message and corresponding text message
When issuing on interface, first client is that the reference message and text message are sent server in bottom;Later
The reference message and corresponding text message are transmitted to the second client (message sink client) by the server,
So that the reference message and corresponding text message carry out display output in second client.
It should be noted that the interaction role of described the first client and the second client can be interchangeable;Namely
Second client can also be used as message and send client, realize the function that the first client described in above-described embodiment is realized
Can, accordingly, first client can also be used as message sink client, realize the second client described in above-described embodiment
Hold the function of realizing.
In a kind of specific embodiment, the second client shows the reference message and text message in step S612
Output, as shown in figure 9, may include:
S802. second client obtains the first display parameters;
S804. according to first display parameters, second client accordingly disappears the reference message and sending
The client-side information for ceasing content shows output.
In detail, in the reference message and text message display output, in the display interface, the reference message
The account information of the client of the corresponding message content of message content and before transmission, carries out according to the first display parameters of setting
Display output.
Wherein it is possible to be that the message content and the account information are shown output in the form of the first display parameters;
It is also possible to the background of the message content and the account information showing data in the form of first display parameters;Or
Own content and background are respectively set different display parameters and carry out display output by person.
Wherein if it is the message content and corresponding account information setting display parameters, if wherein comprising text
Word, then the display parameters of text may include color, size and font etc.;If wherein including picture, the display parameters of picture
It may include color, size etc..Display parameters wherein are set if it is the background of the message content and the account information,
Display parameters may include color etc..For example it can be set that text color is " green ", text size is " small ", font is " Song
Body ", it is " yellow " etc. that background colour, which can be set,;The present embodiment can be joined by the way that different displays is arranged according to the needs of users
Number is to help the more efficient identification and operation for carrying out content significantly of user.
Preferably, whether comprising reference message in the message in order to quickly distinguish sending, and in order to more effectively distinguish
Quote the content of message and text message, it is general to select the background of the message content and the account information, with described the
The form of one display parameters shows output.
By taking wechat enterprise as an example, in the message bubble that the reference message and text message issue together, if setting
The first display parameters that the reference background of message (corresponding message content and account information) in new information is shown are grey, are led to
The background (for example being transparent) for crossing primary color locating for the gray background text message of reference message, can effectively distinguish institute
State reference message and text message;So that current page is linked to corresponding mesh by touch control operation by corresponding client user
The page where message is marked, checking for context message is carried out.
In a kind of feasible embodiment, as shown in Figure 10, the method also includes:
S614. second client obtains the corresponding touch command of the reference message;
S616. according to the touch command, the location of described reference message is jumped to institute by second client
State the location of target message.
In detail, it is shown on client end interface in the new information (including reference message and corresponding text message)
When, for the second client user, the reference message can be clicked by touch-control, according to the reference message data knot
Attribute information in structure, the position where making the reference message jump to the position where corresponding target message.
It should be noted that user can be generated in correspondence for carrying out the part of display parameters setting in this specification
The control that " setting " position of client can voluntarily select, convenient for user according to their own needs or personal vision situation voluntarily
It is adjusted.
Explanation is further given, the whole process of the present embodiment includes initiating the process of reference and checking target message
Process;
Wherein, as shown in figure 11, initiate reference process may include:
First client detects the long press operation to target message, when long press operation reaches preset with operation parameters,
Initiate reference instruction information (referenced key is exported on interface);
First client is when detecting the corresponding reference instruction of reference instruction information, by the target message
Message content show described edit box the same area and be located at the edit box top;
First client refers in the sending for detecting the body matter in the message content and corresponding edit box
When enabling, the id information for inquiring corresponding target message (former message) position is obtained from server;
The Message object of the target message and the id information of acquisition are arranged to target first client
In the attribute information of message, construction obtains reference message;
Meanwhile the reference message and corresponding text message are sent to server by first client;
The reference message and corresponding text message are transmitted to second client by the server;
The second client parsing reference message and corresponding text message;It is added by parsing in the reference message
Message object, obtain type (text, picture, file etc.), the particular content of target message;
Second client will quote message according to the type and particular content of target message with specific display parameters
Nesting is shown in the message bubble issued together with text message.
Wherein, as shown in figure 12, check that (the second client jumps to the location of described reference message to target message
The location of described target message) process include:
Second client gets the touch command that user operates the reference message and (namely clicks and look into
See the instruction of the original text of reference message);
Second client parses the data structure of the reference message, obtains being used in the reference message
Record the attribute information of the target message;Specifically the attribute information include message object (type of the target message,
Content and the account for sending the target message) and identification field (the namely described target for indicating target message position
The id information of message);
Wherein, the message content of target message is local when being shown on edit box by touch control operation (such as long-pressing)
Client just has recorded current cited message content in memory, and the information that can be stored according to client carries out target and disappears
The inquiry of breath;So may include: later
Being inquired according to the attribute information whether there is the target message in local message library;Specifically by pair
The message object is matched, and is matched in the account of the type of the target message, content and the transmission target message
When success, the identification field for indicating target message position is further obtained, jumping for the page is carried out.
It (type of the target message, content and sends the account of the target message and matches that is, if it exists
Success), then judge whether the target message is located in the caching of current sessions message flow;If in current sessions message flow
In caching, then the position of the target message is jumped directly to according to the location information in caching;If do not disappeared in current sessions
Cease stream caching in, then load in batches or paging load before conversation message into caching, disappear until being loaded into the target
Breath;At this point, jumping to the position where the target message according to the path position of the target message found in the buffer;
If it does not exist, illustrate that the target message may be deleted or be recalled, export " target on corresponding interface
Message is not present " prompt information.
Wherein, it should be noted that the conversation message before the load in batches or paging load, is from described in sending
At the time of quoting message, according to the Session Time at interval, the page nearest from the time is successively added to the time farther away page
It carries and judges;Loading procedure can be carries out load judgement page by page, is also possible to multipage and is loaded and judged.
It should be noted that the new information is issued it by the first client (message transmission client) in the present embodiment
Afterwards, can equally be shown on corresponding client end interface, at this point, first client equally can to the reference message into
Row touch control operation, to realize that checking for corresponding target message is verified with information.
In a kind of embodiment, the location of described reference message is jumped to institute by the second client described in step S616
The location of target message is stated, as shown in figure 13, may include: later
S618. second client obtains the second display parameters;
S620. according to second display parameters, second client carries out the background area of the target message
Dynamically Announce.
Specifically, the location of described reference message is jumped to locating for the target message in second client
Position after, the target message can based on the second display parameters of setting carry out Dynamically Announce.Specifically, described second
Display parameters may include display color and the corresponding change frequency of display color, wherein the display color can be a kind of face
Color or multiple color;When the display color is a kind of color, can be is having color and without color by change frequency
Between flash variation;When the display color is multiple color, it can be and carried out between multiple color by change frequency
Flashing variation.By way of this Dynamically Announce, to help the user efficiently to determine corresponding target message, know
Corresponding contextual information and context.
Also, on the page where the target message, a plurality of message content phase with the target message if it exists
With message when, the present embodiment can also help active user accurately to know correct target message and corresponding sender
Information.
It should be noted that in reference message (the first reference message) the corresponding new information (first issued based on first time
New information, first new information include the first reference message and the first text message) on the basis of, if reusing reference
Function, then corresponding message treatment method include:
S1A: message sends client and obtains the corresponding reference instruction of the first new information;
S2A: message sends client and is disappeared according to corresponding first text of reference instruction acquisition first new information
Breath;
S3A: message sends client and shows the message content of first text message where corresponding edit box
Region, and it is located at the top of the edit box;It is fixed first text message and the edit box together, described first
The content inputted in text message and the edit box is issued together;
S4A: message sends client and obtains the second text message inputted in the edit box;
S5A: in the sending instruction for getting second text message and first text message, message sends visitor
The data structure of first text message is extended by family end, obtains the second reference message;Wherein, to first text
Message data structure extends to obtain the process of the second reference message, extends with data structure of the above content to the target message
The process for obtaining reference message is identical.
S6A: message sends client and the second reference message and the second text message is sent to server;
S7A: the second reference message and the second text message are transmitted to the message sink client by the server
End.
As it can be seen that on the basis of the new information obtained based on the reference message (the first reference message) issued before, if again
Secondary to use recited function, the message content being specifically cited is last text message, that is to say, that nesting reference is only to just
It is quoted literary part;As it can be seen that the content being cited can clearly be differentiated and be known to the present embodiment, it is not in nested again
When reference, that still quotes is last reference original text and the problem for bringing message to read inconvenience.
Reference message and text message significantly can be presented and be distinguished by the present invention, so that user be helped intuitively to check
Message content, fast understanding message context.Also, have in the reference message that the present invention is sent for mesh described in record reference
The attribute information (identification field and type of message and content including recording corresponding target message position) for marking message, passes through
Attribute information can be in the case where the reference message that user's touch-control issues, from the page jump of current reference message to corresponding mesh
Mark the page of message;As it can be seen that corresponding target message and its context message are closed in the link of the reference message issued
Connection;So that user can further check more detailed message content and context of co-text when jumping to the target message page,
Improve the communication efficiency using same client.Also, the extension of message based data structure in the present invention, can support
Any kind of message expands the usage scenario of reference message;Improve the user experience and user's viscosity of the client.
This specification embodiment provides a kind of instant communication message processing unit, and as shown in figure 14, described device includes:
Reference instruction obtains module 202, for obtaining the corresponding reference instruction of target message;
Target message display module 204, for according to the reference instruction, by the target message show with edit box
Corresponding region;
Reference message obtains module 206, when the sending for the text message in detecting the edit box instructs, to institute
The data structure for stating target message is extended to obtain reference message;
Message transmission module 208, for sending the reference message and corresponding text message, make the reference message and
Text message is forwarded and shows output.
In a kind of specific embodiment, the reference message obtains module 206, as shown in figure 15, comprising:
Identification field acquiring unit 402, for obtaining the identification field for identifying the target message;
Attribute information adding unit 404, in the data structure of the target message, addition to be used for record reference institute
The attribute information for stating target message obtains the reference message;The attribute information includes the message of described target message itself
Object and the identification field.
The message object corresponds to the type information and content information of the target message, and the identification field corresponds to
Search the field information of the target message present position.
This specification embodiment provides a kind of instant communication message processing unit, and as shown in figure 16, described device includes:
Reference instruction obtains module 602, for making the first client obtain the corresponding reference instruction of target message;
Target message display module 604 disappears the target for making first client according to the reference instruction
Breath is shown in region corresponding with edit box;
Reference message obtains module 606, for detecting the text inputted in the edit box in first client
When the sending instruction of message, the data structure of the target message is extended to obtain reference message;
Message transmission module 608, for sending out first client by the reference message and corresponding text message
Give server;
Message transmitting module 610, for making the server that the reference message and text message are transmitted to together
Two clients;
Message output module 612, for making second client by the reference message and text message display output.
In a kind of feasible embodiment, the reference message obtains module 606, comprising:
Identification field acquiring unit, for making first client obtain the identifier word for identifying the target message
Section;
Reference message obtains unit, for making first client in the data structure of the target message, adds
For the attribute information of target message described in record reference, the reference message is obtained;The attribute information includes the target
The message object of message itself and the identification field.
In a kind of feasible embodiment, as shown in figure 17, described device further includes information position jump module 614, institute
Rheme sets jump module
Touch command acquiring unit 802 refers to for making second client obtain the corresponding touch-control of the reference message
It enables;
Information position jump-transfer unit 804, for making second client that the reference to disappear according to the touch command
The location of breath jumps to the location of described target message.
Further, in a kind of feasible embodiment, as shown in figure 18, described device further includes that message background dynamics are aobvious
Show module 616, the message background dynamics display module includes:
Second display parameters acquiring unit 1002, for making second client obtain the second display parameters;
Message background dynamics display unit 1004, for making second client will according to second display parameters
The background area of the target message carries out Dynamically Announce.
In a kind of specific embodiment, the message output module 612, comprising:
First display parameters acquiring unit, for making second client obtain the first display parameters;
Message output unit, for making second client by the reference message according to first display parameters
And issue the client-side information display output of corresponding message content.
It should be noted that described device embodiment has inventive concept identical with the method embodiment.
This specification embodiment additionally provides a kind of structural schematic diagram of instant communication message processing equipment, such as Figure 19 institute
Show, which can be used for implementing the message treatment method provided in above method embodiment.Specifically:
The equipment may include RF (Radio Frequency, radio frequency) circuit 2010, include one or more
Memory 2020, input unit 2030, display unit 2040, the sensor 2050, voicefrequency circuit of computer readable storage medium
2060, WiFi (wireless fidelity, Wireless Fidelity) module 2070, include one or more than one processing core
Processor 2080 and the components such as power supply 2090.It will be understood by those skilled in the art that device structure shown in Figure 19
The restriction to equipment is not constituted, may include perhaps combining certain components or difference than illustrating more or fewer components
Component layout.Wherein:
RF circuit 2010 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, one or the processing of more than one processor 2080 are transferred to;In addition, the data for being related to uplink are sent to
Base station.In general, RF circuit 2010 include but is not limited to antenna, at least one amplifier, tuner, one or more oscillator,
Subscriber identity module (SIM) card, transceiver, coupler, LNA (LowNoiseAmplifier, low-noise amplifier), duplex
Device etc..In addition, RF circuit 2010 can also be communicated with network and other equipment by wireless communication.The wireless communication can make
With any communication standard or agreement, and including but not limited to GSM (Global System ofMobile communication, entirely
Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code
Division MultipleAccess, CDMA), WCDMA (Wideband Code Division
MultipleAccess, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS
(Short Messaging Service, short message service) etc..
Memory 2020 can be used for storing software program and module, and processor 2080 is stored in memory by operation
2020 software program and module, thereby executing various function application and data processing.Memory 2020 can mainly include
Storing program area and storage data area, wherein storing program area can application program needed for storage program area, function etc.;It deposits
Storage data field, which can be stored, uses created data etc. according to the equipment.In addition, memory 2020 may include high speed with
Machine access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or its
His volatile solid-state part.Correspondingly, memory 2020 can also include Memory Controller, to provide processor 2080
Access with input unit 2030 to memory 2020.
Input unit 2030 can be used for receiving the number or character information of input, and generate and user setting and function
Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 2030 may include touching
Sensitive surfaces 2031 and other input equipments 2032.Touch sensitive surface 2031, also referred to as touch display screen or Trackpad collect
User on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus touch-sensitive
Operation on surface 2031 or near touch sensitive surface 2031), and corresponding connection dress is driven according to preset formula
It sets.Optionally, touch sensitive surface 2031 may include both touch detecting apparatus and touch controller.Wherein, touch detection fills
The touch orientation of detection user is set, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 2080, and can receive
Order that processor 2080 is sent simultaneously is executed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface acoustic wave
Equal multiple types realize touch sensitive surface 2031.In addition to touch sensitive surface 2031, input unit 2030 can also include that other inputs are set
Standby 2032.Specifically, other input equipments 2032 can include but is not limited to physical keyboard, function key (for example press by volume control
Key, switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Display unit 2040 can be used for showing information input by user or the information and the equipment that are supplied to user
Various graphical user interface, these graphical user interface can be by figure, text, icon, video and any combination thereof come structure
At.Display unit 2040 may include display panel 2041, optionally, can using LCD (Liquid Crystal Display,
Liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display
Panel 2041.Further, touch sensitive surface 2031 can cover display panel 2041, when touch sensitive surface 2031 detect on it or
After neighbouring touch operation, processor 2080 is sent to determine the type of touch event, is followed by subsequent processing device 2080 according to touch
The type of event provides corresponding visual output on display panel 2041.Wherein, touch sensitive surface 2031 and display panel 2041
Can two independent components realize input and input function, but in certain embodiments, can also by touch sensitive surface
2031 integrate with display panel 2041 and realize and output and input function.
The equipment may also include at least one sensor 2050, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring
The light and shade of border light adjusts the brightness of display panel 2041, and proximity sensor can close when the equipment is moved in one's ear
Display panel 2041 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions
The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify equipment posture when static
It (for example pedometer, is struck using (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function
Hit) etc.;Other biographies such as gyroscope, barometer, hygrometer, thermometer, infrared sensor for can also configure as the equipment
Sensor, details are not described herein.
Voicefrequency circuit 2060, loudspeaker 2061, microphone 2062 can provide the audio interface between user and the equipment.
Electric signal after the audio data received conversion can be transferred to loudspeaker 2061, by loudspeaker 2061 by voicefrequency circuit 2060
Be converted to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 2062, by audio-frequency electric
Road 2060 is converted to audio data after receiving, then by after the processing of audio data output processor 2080, through RF circuit 2010 to send out
Such as another equipment is given, or audio data is exported to memory 2020 to be further processed.Voicefrequency circuit 2060 is also
It may include earphone jack, to provide the communication of peripheral hardware earphone Yu the equipment.
WiFi belongs to short range wireless transmission technology, and the equipment can help user to receive and dispatch electricity by WiFi module 2070
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Figure 19 shows
Go out WiFi module 2070, but it is understood that, and it is not belonging to must be configured into for the equipment, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Processor 2080 is the control centre of the equipment, utilizes each portion of various interfaces and connection whole equipment
Point, by running or execute the software program and/or module that are stored in memory 2020, and calls and be stored in memory
Data in 2020 execute the various functions and processing data of the equipment, to carry out integral monitoring to equipment.Optionally,
Processor 2080 may include one or more processing cores;Preferably, processor 2080 can integrate application processor and modulatedemodulate
Adjust processor, wherein the main processing operation system of application processor, user interface and application program etc., modem processor
Main processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 2080.
The equipment further includes the power supply 2090 (such as battery) powered to all parts, it is preferred that power supply can pass through
Power-supply management system and processor 2080 are logically contiguous, to realize management charging, electric discharge, Yi Jigong by power-supply management system
The functions such as consumption management.Power supply 2090 can also include one or more direct current or AC power source, recharging system, power supply
The random components such as fault detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, the equipment can also include camera, bluetooth module etc., and details are not described herein.Specifically at this
In embodiment, the display unit of equipment is touch-screen display, equipment further include have memory and one or more than one
Program, one of them perhaps more than one program be stored in memory and be configured to by one or more than one
Manage the instruction in the device execution present invention in embodiment of the method.
This specification embodiment provides a kind of computer readable storage medium, and at least one is stored in the storage medium
Item instruction, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the code
Collection or instruction set are loaded by the processor and are executed to realize any message treatment method of above method embodiment.
Optionally, in the present embodiment, above-mentioned storage medium can be located in multiple network equipments of computer network
At least one network equipment.Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk read-only is deposited
Reservoir (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), mobile hard disk,
The various media that can store program code such as magnetic or disk.
It should be understood that above-mentioned this specification embodiment sequencing is for illustration only, the excellent of embodiment is not represented
It is bad.And above-mentioned this specification specific embodiment is described.Other embodiments are within the scope of the appended claims.?
The movement recorded in detail in the claims under some cases or step can execute simultaneously according to the sequence being different from embodiment
And desired result still may be implemented.In addition, process depicted in the drawing not necessarily require the particular order shown or
Consecutive order is just able to achieve desired result.In some embodiments, multitasking and parallel processing it is also possible or
Person may be advantageous.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device and
For server example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to side
The part of method embodiment illustrates.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (15)
1. a kind of instant communication message processing method, which is characterized in that the described method includes:
Obtain the corresponding reference instruction of target message;
According to the reference instruction, the target message is shown in region corresponding with edit box;
In detecting the edit box when sending instruction of text message, the data structure of the target message is extended
Obtain reference message;
The reference message and corresponding text message are sent, the reference message and text message are forwarded and is shown defeated
Out.
2. message treatment method according to claim 1, which is characterized in that the data structure to the target message
It is extended to obtain reference message, comprising:
Obtain the identification field for identifying the target message;
In the data structure of the target message, attribute information of the addition for target message described in record reference obtains institute
State reference message;The attribute information includes the message object and the identification field of described target message itself.
3. message treatment method according to claim 2, which is characterized in that
The message object corresponds to the type information and content information of the target message, and the identification field, which corresponds to, searches
The field information of the target message present position.
4. a kind of instant communication message processing method, which is characterized in that the described method includes:
First client obtains the corresponding reference instruction of target message;
First client shows the target message in region corresponding with edit box according to the reference instruction;
When first client detects the sending instruction of the text message inputted in the edit box, disappear to the target
The data structure of breath is extended to obtain reference message;
The reference message and corresponding text message are sent to server by first client;
The reference message and text message are transmitted to the second client by the server together;
Second client exports the reference message and text message display.
5. message treatment method according to claim 4, which is characterized in that the data structure to the target message
It is extended to obtain reference message, comprising:
First client obtains the identification field for identifying the target message;
First client is in the data structure of the target message, category of the addition for target message described in record reference
Property information, obtains the reference message;The attribute information include described target message itself message object and the mark
Character learning section.
6. message treatment method according to claim 4, which is characterized in that the method also includes:
Second client obtains the corresponding touch command of the reference message;
According to the touch command, the location of described reference message is jumped to the target message by second client
Location.
7. message treatment method according to claim 6, which is characterized in that second client is by the reference message
Location jumps to the location of described target message, includes: later
Second client obtains the second display parameters;
According to second display parameters, the background area of the target message is carried out Dynamically Announce by second client.
8. message treatment method according to claim 4, which is characterized in that second client is by the reference message
It shows and exports with text message, comprising:
Second client obtains the first display parameters;
According to first display parameters, second client by it is described reference message and issue corresponding message content visitor
The display output of family client information.
9. a kind of instant communication message processing unit, which is characterized in that described device includes:
Reference instruction obtains module, for obtaining the corresponding reference instruction of target message;
Target message display module, for according to the reference instruction, the target message to be shown corresponding with edit box
Region;
Reference message obtains module, when the sending for the text message in detecting the edit box instructs, to the target
The data structure of message is extended to obtain reference message;
Message transmission module makes the reference message and text disappear for sending the reference message and corresponding text message
Breath is forwarded and shows output.
10. instant communication message processing unit according to claim 9, which is characterized in that the reference message obtains mould
Block, comprising:
Identification field acquiring unit, for obtaining the identification field for identifying the target message;
Attribute information adding unit, in the data structure of the target message, addition to be for target described in record reference
The attribute information of message obtains the reference message;The attribute information includes the message object of described target message itself, with
And the identification field.
11. a kind of instant communication message processing unit, which is characterized in that described device includes:
Reference instruction obtains module, for making the first client obtain the corresponding reference instruction of target message;
Target message display module shows the target message for making first client according to the reference instruction
In region corresponding with edit box;
Reference message obtains module, for detecting the hair of the text message inputted in the edit box in first client
When instructing out, the data structure of the target message is extended to obtain reference message;
Message transmission module, for making first client that the reference message and corresponding text message are sent to service
Device;
Message transmitting module, for making the server that the reference message and text message are transmitted to the second client together
End;
Message output module, for making second client by the reference message and text message display output.
12. instant communication message processing unit according to claim 11, which is characterized in that the reference message obtains mould
Block, comprising:
Identification field acquiring unit, for making first client obtain the identification field for identifying the target message;
Reference message obtains unit, and for making first client in the data structure of the target message, addition is used for
The attribute information of target message described in record reference obtains the reference message;The attribute information includes the target message
The message object of itself and the identification field.
13. instant communication message processing unit according to claim 11, which is characterized in that described device further includes message
Background dynamics display module, the message background dynamics display module include:
Second display parameters acquiring unit, for making second client obtain the second display parameters;
Message background dynamics display unit, for making second client by the target according to second display parameters
The background area of message carries out Dynamically Announce.
14. a kind of equipment, which is characterized in that the equipment includes processor and memory, is stored at least in the memory
One instruction, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the generation
Code collection or instruction set are loaded by the processor and are executed to realize the message treatment method as described in claims 1 to 3 is any,
Or the message treatment method as described in claim 4 to 8 is any.
15. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, extremely in the storage medium
Few one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or the instruction
Collection is loaded by processor and is executed to realize the message treatment method as described in claims 1 to 3 is any, or such as claim
4 to 8 any message treatment methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810897719.8A CN109361592B (en) | 2018-08-08 | 2018-08-08 | Instant communication message processing method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810897719.8A CN109361592B (en) | 2018-08-08 | 2018-08-08 | Instant communication message processing method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109361592A true CN109361592A (en) | 2019-02-19 |
CN109361592B CN109361592B (en) | 2021-04-20 |
Family
ID=65349821
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810897719.8A Active CN109361592B (en) | 2018-08-08 | 2018-08-08 | Instant communication message processing method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109361592B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109939445A (en) * | 2019-04-12 | 2019-06-28 | 网易(杭州)网络有限公司 | Information processing method and device, electronic equipment, storage medium |
CN111131002A (en) * | 2019-12-30 | 2020-05-08 | 论客科技(广州)有限公司 | Method, system and storage medium for tracing chat records |
CN111130818A (en) * | 2019-12-30 | 2020-05-08 | 论客科技(广州)有限公司 | Group message reply method, device and storage medium |
CN111782829A (en) * | 2020-05-21 | 2020-10-16 | 香港乐蜜有限公司 | Instant messaging session message processing method and device and electronic equipment |
CN112311650A (en) * | 2019-07-23 | 2021-02-02 | 腾讯科技(深圳)有限公司 | Session information loading method, device and storage medium |
CN112448884A (en) * | 2020-11-11 | 2021-03-05 | 维沃移动通信(杭州)有限公司 | Content saving method and device |
CN112462987A (en) * | 2020-11-24 | 2021-03-09 | 维沃移动通信(杭州)有限公司 | Input box display method and device and electronic equipment |
CN113144604A (en) * | 2021-02-08 | 2021-07-23 | 网易(杭州)网络有限公司 | Information processing method, device, equipment and storage medium for game role |
CN113407710A (en) * | 2021-06-07 | 2021-09-17 | 维沃移动通信有限公司 | Information display method and device, electronic equipment and readable storage medium |
CN113472631A (en) * | 2021-06-24 | 2021-10-01 | 北京达佳互联信息技术有限公司 | Reminding information processing method and device, electronic equipment and storage medium |
CN114422461A (en) * | 2022-01-04 | 2022-04-29 | 维沃移动通信有限公司 | Message reference method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1996959A (en) * | 2005-12-31 | 2007-07-11 | 腾讯科技(深圳)有限公司 | Instant communication terminal and message reference method for instant communication |
CN103269303A (en) * | 2012-12-18 | 2013-08-28 | 北京奇虎科技有限公司 | Group exchange message distribution method and system |
CN104052655A (en) * | 2014-06-27 | 2014-09-17 | 上海梦荻网络科技有限公司 | Group chatting method and instant messaging client-side |
US20150032686A1 (en) * | 2013-07-23 | 2015-01-29 | Salesforce.Com, Inc. | Application sharing functionality in an information networking environment |
CN104572883A (en) * | 2014-12-22 | 2015-04-29 | 东软集团股份有限公司 | Method and device for implementing quick replies and clues between comments |
CN106020595A (en) * | 2016-05-12 | 2016-10-12 | 腾讯科技(深圳)有限公司 | Message reply method and apparatus |
-
2018
- 2018-08-08 CN CN201810897719.8A patent/CN109361592B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1996959A (en) * | 2005-12-31 | 2007-07-11 | 腾讯科技(深圳)有限公司 | Instant communication terminal and message reference method for instant communication |
CN103269303A (en) * | 2012-12-18 | 2013-08-28 | 北京奇虎科技有限公司 | Group exchange message distribution method and system |
US20150032686A1 (en) * | 2013-07-23 | 2015-01-29 | Salesforce.Com, Inc. | Application sharing functionality in an information networking environment |
CN104052655A (en) * | 2014-06-27 | 2014-09-17 | 上海梦荻网络科技有限公司 | Group chatting method and instant messaging client-side |
CN104572883A (en) * | 2014-12-22 | 2015-04-29 | 东软集团股份有限公司 | Method and device for implementing quick replies and clues between comments |
CN106020595A (en) * | 2016-05-12 | 2016-10-12 | 腾讯科技(深圳)有限公司 | Message reply method and apparatus |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109939445B (en) * | 2019-04-12 | 2023-04-07 | 网易(杭州)网络有限公司 | Information processing method and device, electronic equipment and storage medium |
CN109939445A (en) * | 2019-04-12 | 2019-06-28 | 网易(杭州)网络有限公司 | Information processing method and device, electronic equipment, storage medium |
CN112311650A (en) * | 2019-07-23 | 2021-02-02 | 腾讯科技(深圳)有限公司 | Session information loading method, device and storage medium |
CN112311650B (en) * | 2019-07-23 | 2022-04-19 | 腾讯科技(深圳)有限公司 | Session information loading method, device and storage medium |
CN111131002B (en) * | 2019-12-30 | 2022-06-03 | 论客科技(广州)有限公司 | Method, system and storage medium for tracing chat records |
CN111130818A (en) * | 2019-12-30 | 2020-05-08 | 论客科技(广州)有限公司 | Group message reply method, device and storage medium |
CN111131002A (en) * | 2019-12-30 | 2020-05-08 | 论客科技(广州)有限公司 | Method, system and storage medium for tracing chat records |
CN111782829A (en) * | 2020-05-21 | 2020-10-16 | 香港乐蜜有限公司 | Instant messaging session message processing method and device and electronic equipment |
CN112448884A (en) * | 2020-11-11 | 2021-03-05 | 维沃移动通信(杭州)有限公司 | Content saving method and device |
CN112462987A (en) * | 2020-11-24 | 2021-03-09 | 维沃移动通信(杭州)有限公司 | Input box display method and device and electronic equipment |
CN113144604A (en) * | 2021-02-08 | 2021-07-23 | 网易(杭州)网络有限公司 | Information processing method, device, equipment and storage medium for game role |
CN113144604B (en) * | 2021-02-08 | 2024-05-10 | 网易(杭州)网络有限公司 | Information processing method, device, equipment and storage medium for game roles |
CN113407710A (en) * | 2021-06-07 | 2021-09-17 | 维沃移动通信有限公司 | Information display method and device, electronic equipment and readable storage medium |
WO2022257840A1 (en) * | 2021-06-07 | 2022-12-15 | 维沃移动通信有限公司 | Information display method and apparatus, electronic device, and readable storage medium |
CN113472631A (en) * | 2021-06-24 | 2021-10-01 | 北京达佳互联信息技术有限公司 | Reminding information processing method and device, electronic equipment and storage medium |
CN114422461A (en) * | 2022-01-04 | 2022-04-29 | 维沃移动通信有限公司 | Message reference method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109361592B (en) | 2021-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109361592A (en) | A kind of instant communication message processing method, device, equipment and storage medium | |
CN106502834B (en) | Backup method, the apparatus and system of data | |
CN109062467B (en) | Split screen application switching method and device, storage medium and electronic equipment | |
CN104571787B (en) | A kind of message display method and communication terminal | |
CN104636047B (en) | The method, apparatus and touch screen terminal operated to the object in list | |
CN103455582A (en) | Display method of navigation page of browser and mobile terminal | |
CN103530115B (en) | Application program display method and device and terminal equipment | |
US20170318061A1 (en) | Method, device, and system for managing information recommendation | |
CN108984064A (en) | Multi-screen display method, device, storage medium and electronic equipment | |
CN104965843A (en) | Method and apparatus for acquiring comment information | |
CN104281394A (en) | Method and device for intelligently selecting words | |
CN104965641A (en) | Method and apparatus for displaying information | |
CN104216915A (en) | Webpage processing method, device and terminal equipment | |
CN105094809A (en) | Combined picture layout modification method and device and terminal equipment | |
CN108932094A (en) | Split screen application switching method, device, storage medium and electronic equipment | |
CN103310009A (en) | Method, device and terminal for updating webpage data | |
CN103401982A (en) | Information display method and device and mobile terminal | |
CN109062468A (en) | Multi-screen display method, device, storage medium and electronic equipment | |
CN104954159A (en) | Network information statistics method and device | |
CN109067981A (en) | Split screen application switching method, device, storage medium and electronic equipment | |
CN104104711A (en) | Reading history processing method and device | |
CN103472995A (en) | Message display method and device and terminal device | |
CN108958629A (en) | Split screen exits method, apparatus, storage medium and electronic equipment | |
CN108769360A (en) | Method for controlling mobile terminal, mobile terminal and storage medium | |
CN105955597A (en) | Method and device for displaying information |
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 |