Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Following
When description relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous
Key element.Embodiment described in following exemplary embodiment does not represent the institute consistent with the application
There is embodiment.On the contrary, they only with as appended claims describes in detail, the one of the application
The example of the apparatus and method that a little aspects are consistent.
It is only merely for describing the purpose of specific embodiment at term used in this application, and is not intended to be limiting
The application." a kind of " of singulative used in the application and appended claims, " institute
State " and " being somebody's turn to do " be also intended to include most form, unless context clearly shows that other implications.Also should
Work as understanding, term "and/or" used herein refer to and comprise one or more be associated list item
Any or all possible combination of purpose.
Although should be appreciated that may use term first, second, third, etc. various to describe in the application
Information, but these information should not necessarily be limited by these terms.These terms only be used for by same type of information that
This distinguishes.Such as, in the case of without departing from the application scope, the first information can also be referred to as
Two information, similarly, the second information can also be referred to as the first information.Depend on linguistic context, as in this institute
Use word " if " can be construed to " and ... time " or " when ... time " or " response
In determining ".
Fig. 1 is that the flow process of the implementation method of a kind of instant messaging shown in the application one exemplary embodiment is shown
It is intended to.
Refer to Fig. 1, the implementation method of described instant messaging can be applied has instant communication function
In client (hereinafter referred to as: client), following steps are included:
Step 101, when the operation that user opens session interface being detected, obtains user and replicates or shear
Link.
In the present embodiment, described session interface is that user realizes session chat with one or more users
Interface, when user's opening face is to the session interface of good friend or group, client can be from the shearing of system
Plate obtains the link that user replicates or shears.
Step 102, shows the parsing of described link in the described session interface opened with the form of card
Information.
Based on abovementioned steps 101, after getting described link, described link can be sent to service
End, service end, after receiving described link, can resolve described link, to obtain the solution of described link
Analysis information, and described parsing information is returned to client.Wherein, described parsing information may include that
The information such as the title of the page, summary and picture are pointed in described link.
In the present embodiment, client, after receiving the parsing information that service end sends, can opened
Described session interface in automatically show described parsing information with the form of card.Such as: with suspended frame
Form shows described parsing information etc..
By above description it can be seen that the application client can be when user opens session interface, in institute
State the parsing information of the link showing user's duplication or shearing in session interface with the form of card, in order to use
Its related content replicating or shearing link is intuitively understood at family, improves the experience of user.
Optionally, in one example of the application, client is detecting that user's opening face is to good friend or group
During the session interface organized, the all-links that user replicates or sheared can be obtained from the shear plate of system.
Such as: client can judge, according to default character, the number that in shear plate, user replicates or sheared successively
According to whether being link, if link, then obtain described link.In actual applications, replicate as user
Or when having a plurality of of the link sheared, client can obtain the all-links that user replicates or sheared,
And show every each parsing information linked, such as: client can in the described session interface opened
To show all parsing information of all-links in a card, client can also be respectively each chain
Delivering a child into a corresponding card, this is not particularly limited by the application.
Optionally, in another example of the application, client detect user's opening face to good friend or
During the session interface of group, can only obtain the link that user's the last time replicates or shear.Such as: visitor
Family end can according to replicate or shear time from evening to order early, judge user's duplication in shear plate successively
Or whether the data sheared are link, when being defined as link, described link can be obtained to be used
The link that family the last time replicates or shears.
Optionally, in another example of the application, client open described session interface in card
After the form of sheet shows the parsing information of described link, user replicate before can intuitively recognizing oneself or
The related content of the link sheared, user can be by sending instruction by described link and the information of parsing thereof
It is sent to the session object at session interface, such as: user can click on message edit box in session interface
Send button, user can also click on the send button of corresponding described card, and it is special that this is not made by the application
Limit.
Fig. 2 is the flow process of the implementation method of the another kind of instant messaging shown in the application one exemplary embodiment
Schematic diagram.
Refer to Fig. 2, the implementation method of described instant messaging can be applied has instant communication function
In client, described client may be mounted at mobile phone, panel computer, PDA (Personal Digital
Assistant, palm PC) etc. in intelligent terminal, this is not particularly limited by the application.Described
The implementation method of instant messaging may comprise steps of:
Step 201, when the operation that user opens session interface being detected, obtains user's the last time multiple
System or the link sheared.
In the present embodiment, user can register user account, then in advance in instant communication service end
Input registered user account (such as: username and password) in the client and carry out authentication,
When user is by after authentication, can be conversated chat by client and good friend or group.This
The process of part and realization are referred to correlation technique, and this is no longer going to repeat them for the application.
In the present embodiment, client is detecting user's opening face session interface to good friend or group
During operation, the link that user's the last time replicates or shear can be obtained.In one example, client
The link that user's the last time replicates or shear, described shearing can be obtained from the shear plate of smart machine
The link that in plate, user replicates or shears includes that user carries out the link replicating or shearing based on this client,
Also the link that user replicates in other application softwaries or shears is included.
Step 202, is sent to service end by described link, and receive that service end returns corresponding to described
The parsing information of link.
Based on abovementioned steps 201, client when getting the link that user's the last time replicates or shears,
Described link can be sent to service end, service end, after receiving described link, can resolve described
Link thus obtain the parsing information that described link is corresponding.Wherein, described parsing information may include that institute
State the information such as the title of the page, summary and picture that link is pointed to.
In the present embodiment, when service end successfully resolves described link, get the solution that described link is corresponding
After analysis information, described parsing information can be returned to client.When service end fails described in parsing
During link, the follow-up flow process of the application can be terminated, such as: service end can return to client and resolve
Failure, client is after receiving described parsing failure, it is not necessary to carry out subsequent treatment.
Step 203, it is judged that whether the time interval of the duplication of described link or shear time and current time
In default threshold value.If time in default threshold value, step 204 can be performed, if not in advance
If threshold value in, then can perform step 206.
In the present embodiment, client, can after getting the link that user's the last time replicates or shears
To calculate the time interval of the duplication of described link or shear time and current time, when then judging described
Between be spaced whether in default threshold value, when in default threshold value, step 204 can be performed.As
The most described time interval not in described default threshold value, then can perform step 206.
In the present embodiment, described default threshold value can be configured by developer, such as: 30 seconds
Deng, this is not particularly limited by the application.
It should be noted that in actual applications, client, after getting described link, can first be held
Described link is sent to service end by row step 202, it is also possible to first carries out this step and judges between the described time
Whether every in default threshold value, client can also open parallel thread, perform simultaneously step 202 and
This step, this is not particularly limited by the application.
Step 204, shows the parsing of described link in the described session interface opened with the form of card
Information.
Judged result based on abovementioned steps 203, when the duplication of described link or shear time with time current
Between time interval in default threshold value time, illustrate that the operation that user carries out replicating or shearing is opened with it
The time interval of session interface operation is shorter, and described chain is received and sent session pair after opening session interface by user
The probability of elephant is higher, and client can be with the form described parsing information of displaying of card in session interface.
Wherein, described " card " is the image understanding that described parsing information represents form, described card
Represent form and may include that suspended frame, button etc..For example, client can be in described session circle
Face generates a suspended frame, and described parsing information is illustrated in described suspended frame.Client also may be used
To generate a button in described session interface, and described parsing information is illustrated in described button.
Client shows described parsing information with the form of card, in order to user can intuitively distinguish described parsing and believe
Breath and the passing conversation message in session interface.In the present embodiment, want to browse described link as user
During the page pointed to, user can click on described card, and client can be opened when user clicks on card
The page that described link is pointed to.
Step 205, after receiving transmission instruction, is sent to session by described link and parsing information thereof
The session object at interface.
Based on abovementioned steps 204, user after opening session interface, can be visually seen just replicated or
The link sheared and the information of parsing thereof, after user inputs transmission instruction, client can be by described link
And parsing information is sent to session object.In one example, client can carry in described card
The send button of confession and cancel button, such as: can the lower right corner of card provide described send button and
Cancel button.If user wants described link is sent to session object, user can click on described transmission
Button, client is considered as receiving transmission instruction, and described link and parsing information thereof is sent to session
Object, the client of session object is after receiving described link and parsing information thereof, it is also possible in its meeting
In words interface, the form with card shows described parsing information, and session object can click on described card to beat
Open the page of described link.If user is not desired to described link is sent to session object, then user is permissible
Clicking on cancel button, client can hide the described card of displaying.In another example, client
May be provided for send button and the cancel button of corresponding described card, such as: client can be described
The top of card provides described send button and cancel button, and this is not particularly limited by the application.Optional
, client can also no longer be provided separately send button and cancel button, and client can be at user's point
Hit in session interface after the send button of message edit box, described link and parsing information thereof are sent to meeting
Words object, this is not particularly limited by the application.
It should be noted that when the session interface that described session interface is towards good friend, described session pair
As for opposite end good friend.When the session interface that described session interface is towards group, described session object is
Other group members in addition to user self in this group.Additionally, client by described link and
When parsing information is sent to session object, the most described link and parsing information thereof are sent to service end,
Then being transmitted to described session object by service end, the process of this part and realization are referred to correlation technique,
This is no longer going to repeat them for the application.
Step 206, when described link is pasted the message edit box at described session interface by user,
Described session interface is shown the parsing information of described link with the form of card.
Judged result based on abovementioned steps 203, when the duplication of described link or shear time with time current
Between time interval not in default threshold value time, illustrate that user replicates or shears described link and had one
The section time, user sends described link probability after opening session interface is relatively low, so now without exhibition
Show described parsing information.
In the present embodiment, if user wants the link replicating before or shearing is sent to session object,
Described link can be pasted in the message edit box at described session interface by user.Client is detecting
After the paste operation of user, can while described link is illustrated in described message edit box,
Described session interface is shown the parsing information of described link with the form of card, such as: in described session
Interface generates a suspended frame, and in described suspended frame, shows the parsing information of described link.
Step 207, after receiving transmission instruction, is sent to session by described link and parsing information thereof
The session object at interface, and delete the described link in described message edit box.
Based on abovementioned steps 206, client is after the parsing information showing described link, and user can be straight
Watch the parsing information of described link.Optionally, similar with abovementioned steps 205, client is all right
There is provided the transmission corresponding to described card or cancel button, if user wants described link is sent to session
Object, user can click on described send button, and described link and parsing information thereof can be sent out by client
Giving session object, client also can delete the described link that in message edit box, user pastes simultaneously.As
Really user is not desired to described link is sent to session object, then user can click on cancel button, client
The described card of display can be hidden.
By above description it can be seen that the application client can replicate user or shear the time of link
During with the time interval of current time in predetermined threshold value, in the session interface opened described in automatic Display
The parsing information of link, in order to user intuitively understands the related content of its link replicating or shearing.User
Can directly transmit described link and parsing information thereof by clicking on send button, whole process is without user
Carry out paste operation, enormously simplify the operation complexity of user, improve the interactive efficiency of instant messaging,
Improve the experience of user simultaneously.
In the present embodiment, when user browses information, user can by the information page share button
The information browsed is sent to instant messaging good friend, when user browses software and the instant communication software of information
Time incompatible, user can replicate the link of described information, and the scheme using the application to provide realizes money
Sharing of news.Certainly, when user browses the software of information with instant communication software compatibility, user also may be used
Realizing sharing of information with the scheme using the application to provide, this is not particularly limited by the application.
Process is realized below in conjunction with what specific example described the application.
It is assumed that the mobile phone of user is mounted with Alipay client and Baidu's browser.User uses hundred
Degree browser browses news, and after user sees a significant news, user can replicate this news
Link, and in Alipay client, open the session interface with good friend, now client confirms user
The last time of described link and the time interval of current time of replicating is within 30 seconds, and client is by institute
Stating link and be sent to service end, service end resolves described link, and returns the mark of described news to client
Topic, summary and picture, in order to client in described session interface with the form of card show described newly
Title, summary and the picture heard.For a user, user opens the described session interface with good friend
Afterwards, just can see the title of described news, summary and picture, user clicks on corresponding described card
Described link and the title of described news, summary and picture can be sent to good friend by send button.
Whole process is for a user, it is not necessary to carry out paste operation, improves the interactive efficiency of user.
Fig. 3 is the flow process of the implementation method of the another kind of instant messaging shown in the application one exemplary embodiment
Schematic diagram.
Refer to Fig. 3, the implementation method of described instant messaging can be applied has instant communication function
In client, include following steps:
Step 301, when the operation that user opens instant communication client being detected, obtains user and replicates
Or the link sheared.
Step 302, in the homepage of described instant communication client, the form with card shows described link
Parsing information.
In the present embodiment, user is when opening client, and client just can obtain user and replicates or cut
The link cut through, and in homepage, the parsing information of described link is shown with the form of card, and provide right
Answering the send button of described card, when user clicks on described send button, client can show session
Index list, described session index list includes the good friend of user, group, discussion group etc..User can
To select to send the session object of described link in described session index list, client and then can be by
Described link and parsing information thereof are sent to the session object that user selects.
By above description it can be seen that the application client can be with the form displaying use of card in homepage
The parsing information of the link of family or shearing, in order to user intuitively understands it and replicates or shear inside the Pass the phase of link
Hold.Described link and parsing information thereof can be sent to user and select in session index list by client
Session object, whole process carries out paste operation without user, opens session interface without user,
Enormously simplify the operation complexity of user, improve the interactive efficiency of instant messaging, improve user simultaneously
Experience.
Corresponding with the embodiment of the implementation method of aforementioned instant messaging, present invention also provides instant messaging
The embodiment realizing device.
The embodiment realizing device of the application instant messaging can apply in terminal unit load instant
On communication customer end.Device embodiment can be realized by software, it is also possible to by hardware or software and hardware
In conjunction with mode realize.As a example by implemented in software, as the device on a logical meaning, it is by it
In computer program instructions corresponding in nonvolatile memory is read by the processor of place terminal unit
Deposit what middle operation was formed.For hardware view, as shown in Figure 4, for the realization of the application instant messaging
A kind of hardware structure diagram of device place terminal unit, except the processor shown in Fig. 4, internal memory, network
Outside interface and nonvolatile memory, in embodiment, the terminal unit at device place is generally according to this
The actual functional capability of terminal unit, it is also possible to include other hardware, this is repeated no more.
Fig. 5 is that the structure realizing device of a kind of instant messaging shown in the application one exemplary embodiment is shown
It is intended to.
Refer to Fig. 5, the realizing device 400 and can apply shown in earlier figures 4 of described instant messaging
In the instant communication client loaded in terminal unit, include: the first acquiring unit 401, first is opened up
Show unit the 402, second display unit the 403, first transmitting element 404 and the second transmitting element 405.
Wherein, described first acquiring unit 401, when the operation that user opens session interface being detected,
Obtain the link that user replicates or shears;
Described first display unit 402, in the described session interface opened, the form with card shows institute
State the parsing information of link;
Wherein, described session interface is the interface that user and one or more users realize session chat.
Optionally, described first acquiring unit 401, the link that acquisition user's the last time replicates or shears.
Optionally, described first display unit 402, it is judged that it is described that user's the last time replicates or shears
Whether the time interval of the duplication of link or shear time and current time is in default threshold value;And in advance
If threshold value in time, the described session interface opened is shown the parsing of described link with the form of card
Information.
Described second display unit 403, pastes the message at described session interface user by described link
During edit box, described session interface is shown with the form of card the parsing information of described link.
Described first transmitting element 404, after receiving transmission instruction, by described link and parsing letter thereof
Breath is sent to the session object at described session interface, with in the session interface of described session object with card
Form show described link parsing information;
Delete the described link in described message edit box.
Described second transmitting element 405, when receiving transmission instruction, by described link and parsing letter thereof
Breath is sent to the session object at described session interface, with in the session interface of described session object with card
Form show described link parsing information.
Optionally, described transmission instruction includes: user click on the send button of message edit box instruction,
The instruction of the send button that user's click is corresponding with described card and user click on the instruction of described card.
Optionally, described parsing information includes: the title of the page, summary and picture are pointed in described link.
Fig. 6 is the structure realizing device of the another kind of instant messaging shown in the application one exemplary embodiment
Schematic diagram.
Refer to Fig. 6, the realizing device 400 and can also apply shown in earlier figures 4 of described instant messaging
Terminal unit in load instant communication client in, include: second acquisition unit the 410, the 3rd
Display unit 420, list display unit 430 and the 3rd transmitting element 440.
Wherein, described second acquisition unit 410, detecting that user opens the behaviour of instant communication client
When making, obtain the link that user replicates or shears;
Described 3rd display unit 420, with the form of card in the homepage of described instant communication client
Show the parsing information of described link.
Described list display unit 430, when receiving transmission instruction, shows session index list;
Described 3rd transmitting element 440, is sent to user in described meeting by described link and parsing information thereof
The session object selected in words index list.
In said apparatus, the function of unit and the process that realizes of effect specifically refer in said method corresponding
Step realize process, do not repeat them here.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part ginseng
See that the part of embodiment of the method illustrates.Device embodiment described above is only schematically,
The wherein said unit illustrated as separating component can be or may not be physically separate, makees
The parts shown for unit can be or may not be physical location, i.e. may be located at a place,
Or can also be distributed on multiple NE.Can select according to the actual needs part therein or
The whole module of person realizes the purpose of the application scheme.Those of ordinary skill in the art are not paying creativeness
In the case of work, i.e. it is appreciated that and implements.
The foregoing is only the preferred embodiment of the application, not in order to limit the application, all at this
Within the spirit of application and principle, any modification, equivalent substitution and improvement etc. done, should be included in
Within the scope of the application protection.