Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present inventionAttached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is onlyThe embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill peopleThe model that the present invention protects all should belong in member's every other embodiment obtained without making creative workIt encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this wayData be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein orSequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that coverCover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited toStep or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, productOr other step or units that equipment is intrinsic.
According to an aspect of an embodiment of the present invention, a kind of message treatment method is provided, optionally, as a kind of optionalEmbodiment, above-mentioned message treatment method can be, but not limited to be applied to network environment as shown in Figure 1 in Message ProcessingSystem, wherein the message handling system can include but is not limited to: user equipment 102, network 110, server 112 and userEquipment 120.Further, it is assumed that user equipment 102 runs the client of the first session and the visitor of the second session using the first accountFamily end, wherein user equipment 120 runs the client of the second session using the second account, and the first account and the second account are totalWith the associated account number for participating in the second session.It include human-computer interaction screen 104, processor 106 and storage in above-mentioned user equipment 102Device 108.The session interface at human-computer interaction screen 104 the session interface of first session and the second session for rendering, and and meshThe floating layer icon that mark message matches is also used to obtain by man-machine interactive interface corresponding with above-mentioned client to the first meetingThe first contact action that target message in words executes, and to the second contact action that shown floating layer icon executes;ProcessingDevice 106 is also used to respond to floating layer icon for responding first contact action, generation and the matched floating layer icon of target messageThe second contact action executed, pastes above-mentioned mesh in the region to be sent for the second session that human-computer interaction screen 104 is presentedMessage is marked, or directly shares above-mentioned target message into the second session.Memory 108 is for storing above-mentioned target message.ClothesIt is engaged in device 112 including database 114 and handles engine 116, mapping table, the data map for storing data in database 114Table is for recording the message identifier of target message involved in above-mentioned Message Processing event, the session identification of the first session and theThe mapping relations of the session identification of two sessions etc..Processing engine 116 is used to cooperate above-mentioned user to set according to above-mentioned data mapping tablesClient in standby completes the message processing procedure provided in the present embodiment.It include human-computer interaction screen in user equipment 120122, processor 124 and memory 126.The target message for rendering of human-computer interaction screen 120.Processor 124 is for realizing generalTarget message is shared into the second session.Memory 126 is for storing target message.
Detailed process such as following steps: such as step S102-S108, pass through the human-computer interaction screen 104 in user equipment 102The first contact action executed at least one target message in the first session is obtained, first contact action is responded, is handledDevice 106 will generate the floating layer icon to match with target message, and the floating layer icon is shown on human-computer interaction screen 104.SoHandover operation is executed to the first session afterwards, is switched to the second session.Further, the second touching executed to above-mentioned floating layer icon is obtainedScreen operation.
It is used to indicate in the second contact action and shares target message in the case where the second session, then such as step S110,Operational order corresponding with above-mentioned second contact action is passed through into the transmission server 112 of network 110.Such as step S112, server112 will search the session identification of the second session in database 114;Then, such as step S114-S116, handling engine 116 can be withIt is instructed according to aforesaid operations, above-mentioned target message is sent to the second session by network 110, and in the second session in displayState target message.It is as shown in Figure 1 by sharing target message to user equipment 120, so that man-machine in user equipment 120Interactive screen 122 can show shared target message.In addition, the meeting of the second session presented in user equipment 102It talks about in window, also by the result of the above-mentioned sharing of simultaneous display.
In the case where the second contact action is used to indicate target message affixing to the region to be sent of the second session, thenIt is independently realized in user equipment 102: above-mentioned target message is affixed into the pending of the second session that user equipment 102 is runSend region (not shown).
It should be noted that in the present embodiment, obtaining at least one target message execution in the first sessionAfter first contact action, first contact action is responded, generates the floating layer icon to match with target message, and shows that this is floatingLayer icon, wherein the floating layer icon executes processing operation to target message for triggering.Then, switching is executed to the first sessionOperation switches to the second session, and obtains the second contact action executed to floating layer icon, responds second contact action,Above-mentioned target message is pasted in the region to be sent of second session or directly shares the target message to the second session.NamelyIt says, floating layer icon is generated by executing the first contact action to target message in the first session, further to the first sessionIt is switched to the second session, and is detected in the case of the floating layer icon the second contact action of execution, can be done directly to targetThe processing operations such as the stickup or sharing of message, with realize target message is transferred to the second session from the first session, without withFamily manually performs multiple man-machine interactive operation again, so that the Message Processing operation in message process is simplified, to realizeThe effect of Message Processing efficiency is improved, and then overcomes and is needed at message caused by multiple man-machine interactive operation in the related technologyManage the lower problem of efficiency.
Optionally, in the present embodiment, above-mentioned message treatment method can be, but not limited to be applied in user equipment, the useThe terminal that family equipment can be, but not limited to run applications client for supports such as mobile phone, tablet computer, laptop, PC machine is setIt is standby.Above-mentioned server and user equipment can be, but not limited to through network implementations data interaction, and above-mentioned network may include but notIt is limited to wireless network or cable network.Wherein, which includes: the network of bluetooth, WIFI and other realization wireless communications.Above-mentioned cable network can include but is not limited to: wide area network, Metropolitan Area Network (MAN), local area network.Above-mentioned is only a kind of example, in the present embodimentThis is not limited in any way.
Optionally, as an alternative embodiment, as shown in Fig. 2, above-mentioned message treatment method includes:
S202 obtains the first contact action executed at least one target message in the first session;
S204 responds the first contact action, generates the floating layer icon to match with target message, and show floating layer icon,Wherein, floating layer icon executes processing operation to target message for triggering;
S206 executes handover operation to the first session, switches to the second session;
S208 obtains the second contact action executed to floating layer icon;
S210 responds the second contact action, pastes target message in the region to be sent of the second session, or by targetMessage is directly shared to the second session.
Optionally, in the present embodiment, above-mentioned message treatment method can be, but not limited to be applied to realize by session logicalThe message processing procedure that the communications applications client of letter provides.Wherein, above-mentioned communications applications can include but is not limited to: Instant MessengerLetter application, community space sharing application (delay communication), or the storage application etc. for the long-term communication of delaying of temporal cache realization.In addition, in the embodiment of the present application, above-mentioned first session and the second session be can be, but not limited to as identical terminal applies, can alsoThink different terminal applies.Optionally, in the present embodiment, above-mentioned target message to be processed can include but is not limited toIt is at least one lower: text message, audio message, image message, link message, wherein link message can include but is not limited toAt least one of: file storage link, page access link.Above-mentioned is only a kind of example, is not appointed in the present embodiment to thisWhat is limited.
Optionally, in the present embodiment, above-mentioned contact action can be, but not limited to include: drag operation, double click operation, lengthBy operation.For example, detecting that target message, (can also by movement from the first position in the first session by taking drag operation as an exampleReferred to as pull) arrive the second position, then trigger generate the first contact action, with generate with the matched floating layer icon of the target message,Wherein, which is used to trigger the processing operation to target message.In another example by taking long press operation as an example, detecting pairIn the case that target message executes long press operation, and operation duration reaches targets threshold, then triggers and generate the first contact action, withIt generates and the matched floating layer icon of the target message, wherein the floating layer icon is used to trigger the processing operation to target message.
In addition, the display control of above-mentioned floating layer icon can include but is not limited to: state to be triggered and triggering state.?Before the display control of the floating layer icon is triggered, floating layer icon top set will be shown always.
It should be noted that in the present embodiment, the triggering state of the display control of above-mentioned floating layer icon can be, but not limited toDisplay is marked on floating layer icon.For example, this is floating in the case where the display control of floating layer icon is in state to be triggeredLayer icon will be configured with and highlight label, and in the case where the display control of floating layer icon is in triggering state, it is above-mentionedHighlighting label will disappear or hide.In another example being shown in the case where the display control of floating layer icon is in state to be triggeredShow the floating layer icon, and in the case where the display control of floating layer icon is in triggering state, above-mentioned floating layer icon will disappearIt loses or hides.Above-mentioned is only example, is not limited in any way in the present embodiment to this.
Optionally, in the present embodiment, detect to floating layer icon execute the second contact action after, can with but notBe limited to include:
1) second contact action is responded, pastes target message in the region to be sent of the second session;
It should be noted that in the present embodiment, can from obtain above-mentioned mesh under the cache path of floating layer icons associationMessage is marked, and pastes above-mentioned target message in the sending zone of the second session, using the target message as object to be pushed.
For example, as shown in Figure 3, it is assumed that the first session and the second session run in mobile terminal device is communications applicationsAPP1 runs the client of the first session using the first account ID-1, as shown in Fig. 3 (a), obtains to target message (as schemed instituteShow access link -1) execute drag operation (the first contact action), respond the drag operation, as shown in Fig. 3 (b) generate andThe floating layer icon that above-mentioned target message matches.Then as shown in Fig. 3 (c), from the first meeting for using the first account ID-1 to runThe client of words is switched to the client of the second session using the first account ID-1 operation, wherein above-mentioned floating layer icon is alwaysTop set is shown in mobile terminal device.Obtain the clicking operation (the second contact action) executed to floating layer icon, and response pointHit operation display reminding information, such as " being confirmed whether to replicate? ".Confirming that show stickup as a result, such as Fig. 3 in the case where stickup(d) shown in, in the region to be sent in the client of the second session using the first account ID-1 operation, above-mentioned access is presentedLink -1.
2) second contact action is responded, target message is directly shared into the second session.
It should be noted that in the present embodiment, can be, but not limited to for message identifier to be sent to the first session correspondingTarget message so that first server obtains target message using message identifier, and is sent to the second session by first serverCorresponding second server;Directly share target message in the second session.That is, cooperating session client by serverEnd completes above-mentioned message and shares process, is directly and quickly shared message in other sessions with realizing.
It specifically combines and is illustrated shown in Fig. 4 (a) -4 (d): assuming that the first session run in mobile terminal device and theTwo sessions are communications applications APP1, and the client of the first session is run using the first account ID-1, as shown in Fig. 4 (a), are obtainedTo the drag operation (the first contact action) that target message (access link -1 as shown in the figure) executes, the drag operation is responded,The floating layer icon that generation matches with above-mentioned target message as shown in Fig. 4 (b).Then as shown in Fig. 4 (c), from using the first accountThe client of first session of number ID-1 operation is switched to the client of the second session using the first account ID-1 operation,In, top set is shown above-mentioned floating layer icon in mobile terminal device always.Obtain the clicking operation (second executed to floating layer iconContact action), and respond clicking operation display reminding information, such as " being confirmed whether to share? ".In the case where confirming sharing, showShow sharing as a result, as shown in Fig. 4 (d), the session provided by the client of the second session using the first account ID-1 operationIn window, the above-mentioned access link -1 shared is presented.In addition, in the client of the second session using the second account ID-2 operationIn session window provided by holding, above-mentioned shared above-mentioned access will also be presented and link -1 (not shown).
In another example as shown in Fig. 5 (a) -5 (d), it is assumed that the first session run in mobile terminal device is with the second sessionDifferent communications applications, such as the first session are communications applications APP1, and the second session is communications applications APP2.In such as Fig. 5 (a) -5(b) after generating floating layer icon shown in, the second session in display communications applications APP2 can be switched in mobile terminal deviceSession interface, and top set is shown above-mentioned floating layer icon in mobile terminal device always.Then it as shown in Fig. 5 (c), obtains to floatingThe clicking operation (the second contact action) that layer icon executes, and responds clicking operation display reminding information, such as " is confirmed whether pointEnjoy? ".Confirming that display is shared as a result, as shown in Fig. 5 (d) in the case where sharing, the first account ID-1 operation is used theIn session window provided by the client of second session, in the access link -1 shared.In addition, using the second accountIn session window provided by the client of second session of ID-2 operation, above-mentioned shared above-mentioned access chain will also be presentedConnect -1 (not shown).
The interface shown in fig. 5 above-mentioned Fig. 3-and process are example, are not limited in any way in the present embodiment to this.
By embodiment provided by the present application, generated by executing the first contact action to target message in the first sessionFloating layer icon is further being switched to the second session to the first session, and detects and execute the second touch screen behaviour to the floating layer iconIn the case of work, the processing operations such as stickup or the sharing to target message can be done directly, to realize target message from firstSession is transferred to the second session, manually performs multiple man-machine interactive operation again without user, to simplify message transmission mistakeIn journey Message Processing operation, thus realize improve Message Processing efficiency effect, and then overcome need in the related technology it is moreThe lower problem of Message Processing efficiency caused by secondary man-machine interactive operation.
As a kind of optional scheme, obtains and the first touch screen that at least one target message in the first session executes is graspedWork includes:
S1 is detecting the case where target message on first position in the first session is moved into the second positionUnder, determine triggering to the first contact action of target message, wherein first position is different positions from the second position.
Optionally, in the present embodiment, the above-mentioned contact action executed to target message can include but is not limited to pullOperation.Wherein, first position and the second position are different location.But the moving direction of drag operation and the displacement of movement, can be withBut it is not limited to be set as different values according to actual scene, this is not limited in any way in the present embodiment.
For example, as shown in fig. 6, target message (access chain as shown in the figure in choosing the first session on first positionConnect -1) in the case where, drag operation is executed to the target message, wherein the moving direction of the drag operation can be such as Fig. 6 instituteThe different directions for the dotted arrow meaning shown, the dotted line length that mobile displacement can be as shown in Figure 5 are different displacements.This implementationThe mode of above-mentioned dragging is not limited in any way in example.
By embodiment provided by the present application, touched by executing drag operation to the target message in mobile terminal deviceOccur into the matched floating layer icon of the target message, in order to trigger the place to above-mentioned target message based on floating layer iconReason, to achieve the purpose that the operation for simplifying transmitting target message.
As a kind of optional scheme, the floating layer icon to match with target message is generated, and shows that floating layer icon includes:
S1 obtains the message identifier of target message;
S2 generates the display control of the floating layer icon to match with target message using message identifier, wherein floating layer iconDisplay control be in state to be triggered;
S3, in the case where the display control of floating layer icon is in state to be triggered, floating layer icon top set will be shown always.
Optionally, in the present embodiment, the display control of above-mentioned floating layer icon can include but is not limited to: state to be triggeredAnd triggering state.Before the display control of the floating layer icon is triggered, floating layer icon top set will be shown always.
In addition, in the present embodiment, the triggering state of the display control of above-mentioned floating layer icon can be, but not limited in floating layerDisplay is marked on icon.For example, in the case where the display control of floating layer icon is in state to be triggered, the floating layer iconPresentation is highlighted into label, the label of the diagonal line hatches as shown in Fig. 7 (a).And it is in and has triggered in the display control of floating layer iconIn the case where state, the above-mentioned label that highlights will be disappeared or be hidden, and the label of the diagonal line hatches as shown in Fig. 7 (b) disappears.Example againIt such as,, can be such as Fig. 8 (a) when showing the floating layer icon in the case where the display control of floating layer icon is in state to be triggeredThe shown floating layer icon with diagonal line hatches label.And in the case where the display control of floating layer icon is in triggering state,Above-mentioned floating layer icon will be disappeared or be hidden, and the floating layer icon with diagonal line hatches label as shown in Fig. 8 (b) has disappeared.It is above-mentioned onlyIt is example, this is not limited in any way in the present embodiment.
By embodiment provided by the present application, is generating with after the matched floating layer icon of target message, inspection can be passed throughThe triggering state of the display control of floating layer icon is surveyed, to determine whether to trigger the second touch screen behaviour for executing above-mentioned floating layer iconMake, without executing duplicate man-machine interactive operation to target message, can quickly be triggered to target message based on floating layer iconProcessing operation improve the purpose for the treatment of effeciency to reach simplified operation difficulty.
As a kind of optional scheme, after obtaining the second contact action executed to floating layer icon, further includes:
The display control of floating layer icon is adjusted to triggering state by S1;
S2, in the case where detecting that the display control of floating layer icon is in triggering state, display reminding information,In, whether prompt information is used to prompt whether in the region to be sent of the second session to paste target message, or for prompt by meshDuring mark message is directly shared into the second session.
It is specific as shown in Fig. 4 (c) or 5 (c), detecting that floating layer icon has been performed the second contact action (as clicked behaviourMake) in the case where, the display control of floating layer icon will be adjusted to triggering state, and will corresponding display reminding information " confirmation isNo sharing? ".Further, in the case where detecting that executing clicking operation confirmation generated to " confirmation " button shares instruction,Then corresponding target message (access link -1 as shown in the figure) is directly shared to the session of the second session according to message identifierIn window.
Through embodiment provided by the present application, the case where the display control for detecting floating layer icon is in triggering stateUnder, the display reminding information in mobile terminal device shares whether user confirms sharing with prompt, to avoid to target messageSharing maloperation, and then guarantee message share accuracy.
As a kind of optional scheme, the second contact action is responded, pastes target in the region to be sent of the second sessionMessage, or target message is directly shared to the second session and includes:
1) determined according to prompt information paste target message in the region to be sent of the second session in the case where, from it is floatingTarget message is obtained under the cache path of layer icons association, and pastes target message in the region to be sent of the second session;
2) target message is directly shared in the case where the second session according to prompt information is determining, message identifier is sent outFirst server corresponding to the first session is sent, so that first server obtains target message using message identifier, and by targetMessage is sent to the corresponding second server of the second session;Directly share target message in the second session.
Optionally, in the present embodiment, after message identifier to be sent to the corresponding first server of the first session, alsoIt include: in first server at least with the session identification of message identifier, the session identification of the first session and the second session, lifeAt data mapping tables.
It should be noted that in the present embodiment, target message is pasted second for triggering in the second contact actionIn the case where the region to be sent of session, then when generating floating layer icon, above-mentioned target message will arrive floating layer figure by storage simultaneouslyIt marks in associated cache path.Further, it determines according to prompt information in the above-mentioned mesh of the region to be sent of the second session stickupIn the case where marking message, above-mentioned target message can be directly read under above-mentioned cache path, and the target message is pastedInto the region to be sent of the second session, as message to be sent.Here other clients in the second session will be unable to be inExisting above-mentioned target message.
In addition, in the present embodiment, target message is directly shared to the second session for triggering in the second contact actionIn in the case where, then target message directly shared in the case where the second session being determined according to prompt information, will be above-mentionedThe message identifier of target message is sent to the corresponding first server of the first session, so that first server utilizes the message identifierTarget message is obtained, and the target message is sent to the corresponding second server of the second session, so that second server shouldTarget message pushes in the session window of the second session.Here it participates in present in each client of second sessionAbove-mentioned target message.
In the feelings that the corresponding communications applications of the first session communications applications corresponding with the second session are identical communications applicationsUnder condition, above-mentioned first server and second server are same server.
That is, in the present embodiment, above-mentioned message treatment method can be, but not limited to be by client and serviceDevice carries out data interaction to complete message process.Where it is assumed that being illustrated so that message is shared as an example, above-mentioned clientIt can include but is not limited to: for the client of sharing, and the client for receiving to share.Client for sharing can be withBut it is not limited to use in the dragging message for collecting the different-format for executing drag operation in session, is also used to collect above-mentioned dragging messageDragging place to go (i.e. target session interface position).Here pulling place to go can be with the different meeting in the same communications applicationsWords are also possible to the different sessions of different communication application.And server can be, but not limited to for executing message processing logic, such asIt is communicated with client, to obtain attribute information relevant to the target message shared, which can be clientShare the user account of the target message, the content of target message, the session identification etc. of the second session in end.Further, it is used forThe client for receiving to share can be, but not limited to for being communicated with above-mentioned server, to obtain target message and target messageDragging place to go, in order to which the target message is presented in corresponding second session.
Detailed process step can be illustrated as shown in connection with fig. 9:
Such as step S902, client (sharing client), which is responsible for collecting, pulls message, #drag_msg;
Wherein, detection pulls the drag direction of message m sg, dragging track etc. and pulls behavior.Here, the format of message is pulledIt can include but is not limited to: interaction message, file, link, small routine etc..Interaction message can include but is not limited to following latticeFormula: text, picture, audio and video etc..
As the responsible collection of step S904, client (sharing client) pull place to go, #drag_place;
Wherein, above-mentioned dragging place to go place can include but is not limited to: the session in instant messaging application, and community is sharedSpace or dynamic stream in space, document storage tray etc..Here above-mentioned dragging place to go place can share within client(sharing in the i.e. same communications applications) can also share except client (sharing i.e. across different communication application).
Such as step S906, server executes message processing logic, #sever_drag_msg_place;
Wherein, server and client carry out data communication here, for obtain run above-mentioned client user account,The target message and dragging place to go place to be shared etc..
Further, it after getting above- mentioned information, can be, but not limited in server establish the data mapping such as table 1Table, to record the content that above-mentioned message shares event.
Table 1
Such as step S908, client (receiving the client shared) shows target message, #show_drag_msg.
Wherein, receive the client shared by display reminding information, to prompt user to be confirmed whether that will pull message sharesSo far.If it is confirmed that sharing, then it will pull message and show in the session for the client that the receiving is shared, share if cancelled,Then above-mentioned target message is not shown in the session for the client that the receiving is shared.
By embodiment provided by the present application, above-mentioned message is completed with the interaction of server by client and was sharedJourney, and the relevant information stored in message processing procedure in the server is looked into realizing the backup of interaction data convenient for subsequentIt reads.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series ofCombination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described becauseAccording to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also knowIt knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the inventionIt is necessary.
Other side according to an embodiment of the present invention additionally provides a kind of for implementing disappearing for above-mentioned message treatment methodCease processing unit.As shown in Figure 10, which includes:
1) first acquisition unit 1002, for obtaining the first touching executed at least one target message in the first sessionScreen operation;
2) generation unit 1004 generate the floating layer icon to match with target message for the first operational order of response, andFloating layer icon is shown in mobile terminal device, wherein floating layer icon executes sharing operation to target message for triggering;
3) switch unit 1006 switch to the second session for executing handover operation to the first session;
4) second acquisition unit 1008, for obtaining the second contact action executed to floating layer icon;
5) target is pasted in the region to be sent of the second session for responding the second contact action in processing unit 1010Message, or target message is directly shared to the second session.
Optionally, in the present embodiment, above-mentioned message processing apparatus can be, but not limited to be applied to realize by session logicalThe message processing procedure that the communications applications client of letter provides.Wherein, above-mentioned communications applications can include but is not limited to: Instant MessengerLetter application, community space sharing application (delay communication), or the storage application etc. for the long-term communication of delaying of temporal cache realization.In addition, in the embodiment of the present application, above-mentioned first session and the second session be can be, but not limited to as identical terminal applies, can alsoThink different terminal applies.Optionally, in the present embodiment, above-mentioned target message to be processed can include but is not limited toIt is at least one lower: text message, audio message, image message, link message, wherein link message can include but is not limited toAt least one of: file storage link, page access link.Above-mentioned is only a kind of example, is not appointed in the present embodiment to thisWhat is limited.
Optionally, in the present embodiment, above-mentioned contact action can be, but not limited to include: drag operation, double click operation, lengthBy operation.For example, detecting that target message, (can also by movement from the first position in the first session by taking drag operation as an exampleReferred to as pull) arrive the second position, then trigger generate the first contact action, with generate with the matched floating layer icon of the target message,Wherein, which is used to trigger the processing operation to target message.In another example by taking long press operation as an example, detecting pairIn the case that target message executes long press operation, and operation duration reaches targets threshold, then triggers and generate the first contact action, withIt generates and the matched floating layer icon of the target message, wherein the floating layer icon is used to trigger the processing operation to target message.
In addition, the display control of above-mentioned floating layer icon can include but is not limited to: state to be triggered and triggering state.?Before the display control of the floating layer icon is triggered, floating layer icon top set will be shown always.
It should be noted that in the present embodiment, the triggering state of the display control of above-mentioned floating layer icon can be, but not limited toDisplay is marked on floating layer icon.For example, this is floating in the case where the display control of floating layer icon is in state to be triggeredLayer icon will be configured with and highlight label, and in the case where the display control of floating layer icon is in triggering state, it is above-mentionedHighlighting label will disappear or hide.In another example being shown in the case where the display control of floating layer icon is in state to be triggeredShow the floating layer icon, and in the case where the display control of floating layer icon is in triggering state, above-mentioned floating layer icon will disappearIt loses or hides.Above-mentioned is only example, is not limited in any way in the present embodiment to this.
Optionally, in the present embodiment, detect to floating layer icon execute the second contact action after, can with but notBe limited to include:
1) second contact action is responded, pastes target message in the region to be sent of the second session;
It should be noted that in the present embodiment, can from obtain above-mentioned mesh under the cache path of floating layer icons associationMessage is marked, and pastes above-mentioned target message in the sending zone of the second session, using the target message as object to be pushed.
2) second contact action is responded, target message is directly shared into the second session.
It should be noted that in the present embodiment, can be, but not limited to for message identifier to be sent to the first session correspondingTarget message so that first server obtains target message using message identifier, and is sent to the second session by first serverCorresponding second server;Directly share target message in the second session.That is, cooperating session client by serverEnd completes above-mentioned message and shares process, is directly and quickly shared message in other sessions with realizing.
By embodiment provided by the present application, generated by executing the first contact action to target message in the first sessionFloating layer icon is further being switched to the second session to the first session, and detects and execute the second touch screen behaviour to the floating layer iconIn the case of work, the processing operations such as stickup or the sharing to target message can be done directly, to realize target message from firstSession is transferred to the second session, manually performs multiple man-machine interactive operation again without user, to simplify message transmission mistakeIn journey Message Processing operation, thus realize improve Message Processing efficiency effect, and then overcome need in the related technology it is moreThe lower problem of Message Processing efficiency caused by secondary man-machine interactive operation.
As a kind of optional scheme, first acquisition unit 1002 includes:
1) trigger module, for detecting that the target message being located in the first session on first position is moved into secondIn the case where position, determine triggering to the first contact action of target message, wherein first position is different from the second positionPosition.
Embodiment in this programme can be, but not limited to reference above-described embodiment, not make any limit to this in the present embodimentIt is fixed.
As a kind of optional scheme, generation unit 1004 includes:
1) first module is obtained, for obtaining the message identifier of target message;
2) the second generation module, for generating the display control of the floating layer icon to match with target message using message identifierPart, wherein the display control of floating layer icon is in state to be triggered;
3) the first display module, in the case where the display control of floating layer icon is in state to be triggered, floating layer figureMark top set will be shown always.
Embodiment in this programme can be, but not limited to reference above-described embodiment, not make any limit to this in the present embodimentIt is fixed.
As a kind of optional scheme, further includes:
1) module is adjusted, for after obtaining the second contact action for executing to floating layer icon, by showing for floating layer iconShow that control is adjusted to triggering state;
2) the second display module is used for display reminding information, wherein whether prompt information is for prompting in the second sessionWhether target message is pasted in region to be sent, or for prompting directly to share target message into the second session.
Embodiment in this programme can be, but not limited to reference above-described embodiment, not make any limit to this in the present embodimentIt is fixed.
As a kind of optional scheme, processing unit 1010 includes:
1) first processing module, for determining that pasting target in the region to be sent of the second session disappears according to prompt informationIn the case where breath, from target message is obtained under the cache path of floating layer icons association, and in the region to be sent of the second sessionPaste target message;
2) Second processing module, for directly sharing target message to the feelings of the second session according to prompt information is determiningUnder condition, message identifier is sent to the corresponding first server of the first session, so that first server is obtained using message identifierTarget message, and target message is sent to the corresponding second server of the second session;Directly share target in the second sessionMessage.
Embodiment in this programme can be, but not limited to reference above-described embodiment, not make any limit to this in the present embodimentIt is fixed.
Another aspect according to an embodiment of the present invention additionally provides a kind of for implementing the electricity of above-mentioned message treatment methodSub-device, as shown in figure 11, the electronic device include memory 1102 and processor 1104, are stored with meter in the memory 1102Calculation machine program, the processor 1104 are arranged to execute the step in any of the above-described embodiment of the method by computer program.
Optionally, in the present embodiment, above-mentioned electronic device can be located in multiple network equipments of computer networkAt least one network equipment.
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
S1 obtains the first contact action executed at least one target message in the first session;
S2 responds the first contact action, generates the floating layer icon to match with target message, and show floating layer icon,In, floating layer icon executes processing operation to target message for triggering;
S3 executes handover operation to the first session, switches to the second session;
S4 obtains the second contact action executed to floating layer icon;
S5 responds the second contact action, pastes target message in the region to be sent of the second session, or target is disappearedBreath is directly shared to the second session.
Optionally, it will appreciated by the skilled person that structure shown in Figure 11 is only to illustrate, electronic device can alsoTo be smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC and mobile internet deviceThe terminal devices such as (Mobile Internet Devices, MID), PAD.Figure 11 it does not make to the structure of above-mentioned electronic deviceAt restriction.For example, electronic device may also include than shown in Figure 11 more perhaps less component (such as network interface) orWith the configuration different from shown in Figure 11.
Wherein, memory 1102 can be used for storing software program and module, such as the Message Processing in the embodiment of the present inventionCorresponding program instruction/the module of method and apparatus, the software program that processor 1104 is stored in memory 1102 by operationAnd module realizes above-mentioned message treatment method thereby executing various function application and data processing.Memory 1102It may include high speed random access memory, can also include nonvolatile memory, such as one or more magnetic storage device dodgesIt deposits or other non-volatile solid state memories.In some instances, memory 1102 can further comprise relative to processor1104 remotely located memories, these remote memories can pass through network connection to terminal.The example of above-mentioned network includesBut be not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.Wherein, memory 1102 specifically can with butIt is not limited to use in the information such as storage target message.As an example, as shown in figure 11, in above-mentioned memory 1102 can with but notTo be limited to include first acquisition unit 1002 in above-mentioned message processing apparatus, generation unit 1004, switch unit 1006, second is obtainedTake unit 1008 and processing unit 1010.In addition, it can include but other modules for being not limited in above-mentioned message processing apparatusUnit repeats no more in this example.
Optionally, above-mentioned transmitting device 1106 is used to that data to be received or sent via a network.Above-mentioned networkSpecific example may include cable network and wireless network.In an example, transmitting device 1106 includes a network adapter(Network Interface Controller, NIC), can be connected by cable with other network equipments with router toIt can be communicated with internet or local area network.In an example, transmitting device 1106 be radio frequency (Radio Frequency,RF) module is used to wirelessly be communicated with internet.
In addition, above-mentioned electronic device further include: display 1108, for showing above-mentioned target message.Prompt information etc.;WithBus 1111 is connected, for connecting the modules component in above-mentioned electronic device.
The another aspect of embodiment according to the present invention, additionally provides a kind of storage medium, is stored in the storage mediumComputer program, wherein the computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following stepsCalculation machine program:
S1 obtains the first contact action executed at least one target message in the first session;
S2 responds the first contact action, generates the floating layer icon to match with target message, and show floating layer icon,In, floating layer icon executes processing operation to target message for triggering;
S3 executes handover operation to the first session, switches to the second session;
S4 obtains the second contact action executed to floating layer icon;
S5 responds the second contact action, pastes target message in the region to be sent of the second session, or target is disappearedBreath is directly shared to the second session.
Optionally, in the present embodiment, those of ordinary skill in the art will appreciate that in the various methods of above-described embodimentAll or part of the steps be that the relevant hardware of terminal device can be instructed to complete by program, the program can store inIn one computer readable storage medium, storage medium may include: flash disk, read-only memory (Read-Only Memory,ROM), random access device (Random Access Memory, RAM), disk or CD etc..
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent productWhen selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the inventionSubstantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art schemeThe form of part product embodies, which is stored in a storage medium, including some instructions are used so that onePlatform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present inventionState all or part of the steps of method.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodimentThe part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others sideFormula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only oneKind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine orIt is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual itBetween coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or moduleIt connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unitThe component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multipleIn network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unitIt is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated listMember both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the artFor member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answeredIt is considered as protection scope of the present invention.