TWI677225B - Instant messaging implementation method and device - Google Patents

Instant messaging implementation method and device Download PDF

Info

Publication number
TWI677225B
TWI677225B TW106102214A TW106102214A TWI677225B TW I677225 B TWI677225 B TW I677225B TW 106102214 A TW106102214 A TW 106102214A TW 106102214 A TW106102214 A TW 106102214A TW I677225 B TWI677225 B TW I677225B
Authority
TW
Taiwan
Prior art keywords
link
user
conversation
card
conversation interface
Prior art date
Application number
TW106102214A
Other languages
Chinese (zh)
Other versions
TW201737681A (en
Inventor
苑露
Original Assignee
香港商阿里巴巴集團服務有限公司
Alibaba Group Services Limited
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 香港商阿里巴巴集團服務有限公司, Alibaba Group Services Limited filed Critical 香港商阿里巴巴集團服務有限公司
Publication of TW201737681A publication Critical patent/TW201737681A/en
Application granted granted Critical
Publication of TWI677225B publication Critical patent/TWI677225B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)
  • Computer And Data Communications (AREA)

Abstract

本發明提供一種即時通訊方法和裝置。所述方法包括:在檢測到使用者開啟會話介面的操作時,獲取使用者複製或剪貼的連結,在開啟的所述會話介面中以卡片的形式展示所述連結的解析資訊,其中,所述會話介面為使用者與一個或多個使用者實現會話聊天的介面。本發明客戶端可以在使用者開啟會話介面時,在所述會話介面中以卡片的形式展示使用者複製或剪貼的連結的解析資訊,以便使用者直觀瞭解其複製或剪貼連結的相關內容,提高了使用者的使用體驗。 The invention provides a method and a device for instant communication. The method includes: when detecting a user's operation of opening a conversation interface, obtaining a link copied or cut by the user, and displaying the parsing information of the link in the form of a card in the opened conversation interface, wherein the Conversation interface is an interface for users to chat with one or more users. When the user opens the conversation interface, the client of the present invention can display the parsing information of the link copied or cut by the user in the form of a card in the conversation interface, so that the user can intuitively understand the relevant content of the copied or cut link. User experience.

Description

即時通訊的實現方法和裝置 Method and device for realizing instant communication

本發明係關於通訊技術領域,尤其係關於一種即時通訊的實現方法和裝置。 The present invention relates to the field of communication technology, and in particular, to a method and device for implementing instant communication.

隨著網際網路技術的快速發展,即時通訊技術給使用者的工作和生活帶來了各種便利。如何提高即時通訊技術的使用者體驗已成為目前亟待解決的問題。 With the rapid development of Internet technology, instant messaging technology has brought various conveniences to users' work and life. How to improve the user experience of instant messaging technology has become an urgent problem.

有鑑於此,本發明提供一種即時通訊的實現方法和裝置。 In view of this, the present invention provides a method and a device for implementing instant messaging.

具體地,本發明是通過如下技術方案實現的:一種即時通訊的實現方法,所述方法包括:在檢測到使用者開啟會話介面的操作時,獲取使用者複製或剪貼的連結;在開啟的所述會話介面中以卡片的形式展示所述連結的解析資訊;其中,所述會話介面為使用者與一個或多個使用者實 現會話聊天的介面。 Specifically, the present invention is implemented by the following technical solutions: an implementation method of instant messaging, the method comprising: when detecting a user's operation of opening a conversation interface, obtaining a link copied or cut by the user; The session interface displays the parsing information of the link in the form of a card; wherein, the session interface is a user interface with one or more users. Interface for conversation.

一種即時通訊的實現方法,所述方法包括:在檢測到使用者開啟即時通訊客戶端的操作時,獲取使用者複製或剪貼的連結;在所述即時通訊客戶端的首頁中以卡片的形式展示所述連結的解析資訊。 A method for implementing instant messaging, the method comprising: obtaining a link copied or cut by a user when a user's operation of opening an instant messaging client is detected; displaying the card in the form of a card on a homepage of the instant messaging client Linked parse information.

一種即時通訊的實現裝置,所述裝置包括:第一獲取單元,在檢測到使用者開啟會話介面的操作時,獲取使用者複製或剪貼的連結;第一展示單元,在開啟的所述會話介面中以卡片的形式展示所述連結的解析資訊;其中,所述會話介面為使用者與一個或多個使用者實現會話聊天的介面。 A device for realizing instant messaging, the device includes: a first obtaining unit that obtains a link copied or cut by a user when a user operation of opening a conversation interface is detected; a first display unit that opens the conversation interface The analytical information of the link is displayed in the form of a card; wherein the conversation interface is an interface for a user to chat with one or more users.

一種即時通訊的實現裝置,所述裝置包括:第二獲取單元,在檢測到使用者開啟即時通訊客戶端的操作時,獲取使用者複製或剪貼的連結;第三展示單元,在所述即時通訊客戶端的首頁中以卡片的形式展示所述連結的解析資訊。 A device for realizing instant messaging, the device includes: a second obtaining unit that obtains a link copied or cut by a user when detecting an operation of a user to open an instant messaging client; and a third display unit that is located at the instant messaging client The homepage of the client displays the resolution information of the link in the form of a card.

由以上描述可以看出,本發明客戶端可以在使用者開啟會話介面時,在所述會話介面中以卡片的形式展示使用者複製或剪貼的連結的解析資訊,以便使用者直觀瞭解其複製或剪貼連結的相關內容,提高了使用者的使用體驗。 As can be seen from the above description, when the user opens the conversation interface, the client of the present invention can display the parsing information of the link copied or cut by the user in the form of a card in the conversation interface, so that the user can intuitively understand the copy or cut The related content of the cut and paste link improves the user experience.

400‧‧‧即時通訊的實現裝置 400‧‧‧ Realization device for instant communication

401‧‧‧第一獲取單元 401‧‧‧first acquisition unit

402‧‧‧第一展示單元 402‧‧‧The first display unit

403‧‧‧第二展示單元 403‧‧‧Second Display Unit

404‧‧‧第一發送單元 404‧‧‧First sending unit

405‧‧‧第二發送單元 405‧‧‧Second sending unit

410‧‧‧第二獲取單元 410‧‧‧Second Acquisition Unit

420‧‧‧第三展示單元 420‧‧‧The third display unit

430‧‧‧清單展示單元 430‧‧‧List display unit

440‧‧‧第三發送單元 440‧‧‧ third sending unit

圖1是本發明一示例性實施例示出的一種即時通訊的實現方法的流程示意圖。 Fig. 1 is a schematic flowchart of a method for implementing instant messaging according to an exemplary embodiment of the present invention.

圖2是本發明一示例性實施例示出的另一種即時通訊的實現方法的流程示意圖。 FIG. 2 is a schematic flowchart of another method for implementing instant messaging according to an exemplary embodiment of the present invention.

圖3是本發明一示例性實施例示出的另一種即時通訊的實現方法的流程示意圖。 Fig. 3 is a schematic flowchart of another method for implementing instant messaging according to an exemplary embodiment of the present invention.

圖4是本發明一示例性實施例示出的一種用於即時通訊的實現裝置的一結構示意圖。 Fig. 4 is a schematic structural diagram of a device for implementing instant messaging, according to an exemplary embodiment of the present invention.

圖5是本發明一示例性實施例示出的一種即時通訊的實現裝置的結構示意圖。 Fig. 5 is a schematic structural diagram of a device for implementing instant messaging according to an exemplary embodiment of the present invention.

圖6是本發明一示例性實施例示出的另一種即時通訊的實現裝置的結構示意圖。 FIG. 6 is a schematic structural diagram of another device for implementing instant messaging according to an exemplary embodiment of the present invention.

這裡將詳細地對示例性實施例進行說明,其示例表示在附圖中。下面的描述涉及附圖時,除非另有表示,不同附圖中的相同數字表示相同或相似的要素。以下示例性實施例中所描述的實施方式並不代表與本發明相一致的所有實施方式。相反,它們僅是與如所附申請專利範圍中所詳述的、本發明的一些方面相一致的裝置和方法的例子。 Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present invention. Rather, they are merely examples of devices and methods consistent with aspects of the invention as detailed in the scope of the appended patent application.

在本發明使用的術語是僅僅出於描述特定實施例的目的,而非旨在限制本發明。在本發明和所附申請專利範圍中所使用的單數形式的“一種”、“所述”和“該”也旨在包括多數形式,除非上下文清楚地表示其他含義。還應 當理解,本文中使用的術語“和/或”是指並包含一個或多個相關聯的列出專案的任何或所有可能組合。 The terminology used in the present invention is for the purpose of describing particular embodiments and is not intended to limit the present invention. The singular forms "a", "the" and "the" used in the scope of the invention and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. Should also As understood, the term "and / or" as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.

應當理解,儘管在本發明可能採用術語第一、第二、第三等來描述各種資訊,但這些資訊不應限於這些術語。這些術語僅用來將同一類型的資訊彼此區分開。例如,在不脫離本發明範圍的情況下,第一資訊也可以被稱為第二資訊,類似地,第二資訊也可以被稱為第一資訊。取決於語境,如在此所使用的詞語“如果”可以被解釋成為“在……時”或“當……時”或“回應於確定”。 It should be understood that although the terms first, second, third, etc. may be used in the present invention to describe various kinds of information, the information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present invention, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein can be interpreted as "at ..." or "when ..." or "responding to determination".

圖1是本發明一示例性實施例示出的一種即時通訊的實現方法的流程示意圖。 Fig. 1 is a schematic flowchart of a method for implementing instant messaging according to an exemplary embodiment of the present invention.

請參考圖1,所述即時通訊的實現方法可以應用在具有即時通訊功能的客戶端中(以下簡稱:客戶端),包括有以下步驟: Please refer to FIG. 1, the method for implementing instant messaging can be applied to a client with an instant messaging function (hereinafter referred to as a client), and includes the following steps:

步驟101,在檢測到使用者開啟會話介面的操作時,獲取使用者複製或剪貼的連結。 In step 101, when a user's operation of opening a conversation interface is detected, a link copied or cut by the user is obtained.

在本實施例中,所述會話介面為使用者與一個或多個使用者實現會話聊天的介面,當使用者開啟面向好友或群組的會話介面時,客戶端可以從系統的剪貼簿中獲取使用者複製或剪貼的連結。 In this embodiment, the conversation interface is an interface in which a user chats with one or more users. When a user opens a conversation interface facing a friend or a group, the client can obtain it from the system ’s clipboard. User copied or cut link.

步驟102,在開啟的所述會話介面中以卡片的形式展示所述連結的解析資訊。 Step 102: Display the parsing information of the link in the form of a card in the opened conversation interface.

基於前述步驟101,在獲取到所述連結後,可以將所述連結發送給伺服器端,伺服器端在接收到所述連結後, 可以解析所述連結,以得到所述連結的解析資訊,並將所述解析資訊返回給客戶端。其中,所述解析資訊可以包括:所述連結指向頁面的標題、摘要以及圖片等資訊。 Based on the foregoing step 101, after obtaining the link, the link may be sent to a server end. After the server end receives the link, The link may be parsed to obtain the parsed information of the link, and the parsed information is returned to the client. The parsing information may include information such as a title, a summary, and an image of the page to which the link points.

在本實施例中,客戶端在接收到伺服器端發送的解析資訊後,可以在開啟的所述會話介面中自動以卡片的形式展示所述解析資訊。比如:以懸浮框的形式展示所述解析資訊等。 In this embodiment, after receiving the parsing information sent by the server, the client can automatically display the parsing information in the form of a card in the opened session interface. For example: displaying the parsing information in the form of a floating frame.

由以上描述可以看出,本發明客戶端可以在使用者開啟會話介面時,在所述會話介面中以卡片的形式展示使用者複製或剪貼的連結的解析資訊,以便使用者直觀瞭解其複製或剪貼連結的相關內容,提高了使用者的使用體驗。 As can be seen from the above description, when the user opens the conversation interface, the client of the present invention can display the parsing information of the link copied or cut by the user in the form of a card in the conversation interface, so that the user can intuitively understand the copy or The related content of the cut and paste link improves the user experience.

可選的,在本發明一個例子中,客戶端在檢測到使用者開啟面向好友或群組的會話介面時,可以從系統的剪貼簿中獲取使用者複製或剪貼過的所有連結。比如:客戶端可以根據預設的字元依次判斷剪貼簿中使用者複製或剪貼過的資料是否為連結,如果為連結,則獲取所述連結。在實際應用中,當使用者複製或剪貼過的連結的有多條時,客戶端可以獲取使用者複製或剪貼過的所有連結,並在開啟的所述會話介面中展示每條連結的每個解析資訊,比如:客戶端可以在一張卡片中展示所有連結的所有解析資訊,客戶端也可以分別為每個連結生成一張對應的卡片,本發明對此不作特殊限制。 Optionally, in an example of the present invention, when the client detects that the user opens a conversation interface facing a friend or a group, the client may obtain all links copied or pasted by the user from the system clipboard. For example, the client may sequentially determine whether the data copied or pasted by the user in the scrapbook is a link according to the preset characters, and if it is a link, obtain the link. In practical applications, when there are multiple links copied or cut by the user, the client can obtain all the links copied or cut by the user, and display each of the links in the opened conversation interface. Parsing information, for example, the client can display all parsing information of all links in one card, and the client can also generate a corresponding card for each link, which is not particularly limited in the present invention.

可選的,在本發明另一個例子中,客戶端在檢測到使用者開啟面向好友或群組的會話介面時,可以僅獲取使用 者最近一次複製或剪貼的連結。比如:客戶端可以按照複製或剪貼時間從晚到早的順序,依次判斷剪貼簿中使用者複製或剪貼過的資料是否為連結,當確定為連結時,可以獲取所述連結以得到使用者最近一次複製或剪貼的連結。 Optionally, in another example of the present invention, when the client detects that the user opens a conversation interface facing a friend or a group, the client may only obtain and use Link from the last copy or cut. For example, the client can sequentially determine whether the data copied or cut by the user in the scrapbook is a link in the order of the time of copying or cutting from late to early. When it is determined as a link, it can obtain the link to get the user's latest Copy or cut links at once.

可選的,在本發明另一個例子中,客戶端在開啟的所述會話介面中以卡片的形式展示所述連結的解析資訊後,使用者可以直觀瞭解到自己之前複製或剪貼過的連結的相關內容,使用者可以通過發送指令將所述連結及其解析資訊發送給會話介面的會話對象,比如:使用者可以點擊會話介面中消息編輯方塊的發送按鈕,使用者還可以點擊對應所述卡片的發送按鈕,本發明對此不作特殊限制。 Optionally, in another example of the present invention, after the client displays the parsing information of the link in the form of a card in the opened conversation interface, the user can intuitively understand the link of the link that he has previously copied or pasted For related content, the user can send the link and its parsed information to the conversation object of the conversation interface by sending instructions. For example, the user can click the send button of the message edit box in the conversation interface, and the user can also click the corresponding card. The present invention does not specifically limit this.

圖2是本發明一示例性實施例示出的另一種即時通訊的實現方法的流程示意圖。 FIG. 2 is a schematic flowchart of another method for implementing instant messaging according to an exemplary embodiment of the present invention.

請參考圖2,所述即時通訊的實現方法可以應用在具有即時通訊功能的客戶端中,所述客戶端可以安裝在手機、平板電腦、PDA(Personal Digital Assistant,掌上型電腦)等智慧終端機設備中,本發明對此不作特殊限制。所述即時通訊的實現方法可以包括以下步驟: Please refer to FIG. 2, the method for implementing instant messaging can be applied to a client having an instant messaging function, and the client can be installed on a smart terminal such as a mobile phone, a tablet computer, or a PDA (Personal Digital Assistant) In the device, the present invention does not specifically limit this. The method for implementing instant messaging may include the following steps:

步驟201,在檢測到使用者開啟會話介面的操作時,獲取使用者最近一次複製或剪貼的連結。 In step 201, when the operation of opening the conversation interface by the user is detected, the link of the user's latest copy or cut and paste is obtained.

在本實施例中,使用者可以預先在即時通訊伺服器端中註冊使用者帳號,然後在客戶端中輸入已註冊的使用者帳號(比如:使用者名和密碼)進行身份驗證,當使用者通過身份驗證後,可以通過客戶端與好友或者群組進行會 話聊天。這部分的處理與實現可以參照相關技術,本發明在此不再一一贅述。 In this embodiment, the user can register a user account in the instant messaging server in advance, and then enter the registered user account (such as a username and password) in the client for identity verification. When the user passes After authentication, you can meet with friends or groups through the client Words chat. The processing and implementation of this part can refer to related technologies, and the present invention will not repeat them one by one here.

在本實施例中,客戶端在檢測到使用者開啟面向好友或群組的會話介面的操作時,可以獲取使用者最近一次複製或剪貼的連結。在一個例子中,客戶端可以從智慧設備的剪貼簿中獲取使用者最近一次複製或剪貼的連結,所述剪貼簿中使用者複製或剪貼的連結包括使用者基於本客戶端進行複製或剪貼的連結,也包括使用者在其他應用軟體中複製或剪貼的連結。 In this embodiment, when the client detects an operation of the user to open a conversation interface facing a friend or a group, the client can obtain a link of the user's latest copy or cut and paste. In one example, the client can obtain the link copied or cut by the user from the scrapbook of the smart device. The link copied or cut by the user in the scrapbook includes the link copied or cut by the user based on the client. Links, including links that users copy or cut and paste in other applications.

步驟202,將所述連結發送給伺服器端,並接收伺服器端返回的對應於所述連結的解析資訊。 Step 202: Send the link to the server, and receive the parsing information corresponding to the link returned by the server.

基於前述步驟201,客戶端在獲取到使用者最近一次複製或剪貼的連結時,可以將所述連結發送給伺服器端,伺服器端在接收到所述連結後,可以解析所述連結從而獲取所述連結對應的解析資訊。其中,所述解析資訊可以包括:所述連結指向的頁面的標題、摘要以及圖片等資訊。 Based on the foregoing step 201, when the client obtains the link copied or cut by the user last time, the client can send the link to the server. After receiving the link, the server can parse the link to obtain the link. Parsing information corresponding to the link. The parsed information may include information such as a title, a summary, and a picture of a page pointed to by the link.

在本實施例中,當伺服器端成功解析所述連結,獲取到所述連結對應的解析資訊後,可以將所述解析資訊返回給客戶端。當伺服器端未能成功解析所述連結時,可以結束本發明的後續流程,比如:伺服器端可以向客戶端返回解析失敗的消息,客戶端在接收到所述解析失敗的消息後,無需進行後續處理。 In this embodiment, when the server successfully parses the link and obtains the parsing information corresponding to the link, the parsing information may be returned to the client. When the server fails to parse the connection, the subsequent process of the present invention can be ended. For example, the server can return a parse failure message to the client. After receiving the parse failure message, the client does not need to For subsequent processing.

步驟203,判斷所述連結的複製或剪貼時間與當前時間的時間間隔是否在預設的閾值內。如果在預設的閾值內 時,可以執行步驟204,如果未在預設的閾值內,則可以執行步驟206。 Step 203: Determine whether the time interval between the linked copy or cut time and the current time is within a preset threshold. If within a preset threshold When step 204 is performed, if it is not within the preset threshold, step 206 may be performed.

在本實施例中,客戶端在獲取到使用者最近一次複製或剪貼的連結後,可以計算所述連結的複製或剪貼時間與當前時間的時間間隔,然後判斷所述時間間隔是否在預設的閾值內,當在預設的閾值內時,可以執行步驟204。如果所述時間間隔未在所述預設的閾值內,則可以執行步驟206。 In this embodiment, after the client obtains the link of the user's latest copy or cut and paste, the client can calculate the time interval between the copy or cut and paste of the link and the current time, and then determine whether the time interval is within a preset Within the threshold, when it is within the preset threshold, step 204 may be performed. If the time interval is not within the preset threshold, step 206 may be performed.

在本實施例中,所述預設的閾值可以由開發人員進行設置,比如:30秒等,本發明對此不作特殊限制。 In this embodiment, the preset threshold may be set by a developer, for example, 30 seconds, etc. The present invention does not specifically limit this.

值得注意的是,在實際應用中,客戶端在獲取到所述連結後,可以先執行步驟202將所述連結發送給伺服器端,也可以先執行本步驟判斷所述時間間隔是否在預設的閾值內,客戶端還可以開啟平行線程,同時執行步驟202和本步驟,本發明對此不作特殊限制。 It is worth noting that, in actual applications, after the client obtains the link, the client may first execute step 202 to send the link to the server, or may first perform this step to determine whether the time interval is within a preset Within the threshold, the client can also start parallel threads and execute step 202 and this step at the same time, which is not specifically limited in the present invention.

步驟204,在開啟的所述會話介面中以卡片的形式展示所述連結的解析資訊。 Step 204: Display the parsing information of the link in the form of a card in the opened conversation interface.

基於前述步驟203的判斷結果,當所述連結的複製或剪貼時間與當前時間的時間間隔在預設的閾值內時,說明使用者進行複製或剪貼的操作與其開啟會話介面操作的時間間隔較短,使用者開啟會話介面後將所述連結發送會話對象的概率較高,客戶端可以在會話介面中以卡片的形式展示所述解析資訊。其中,所述“卡片”是對所述解析資訊的展現形式的形象理解,所述卡片的展現形式可以包 括:懸浮框、按鈕等。舉例來說,客戶端可以在所述會話介面中生成一個懸浮框,並將所述解析資訊展示在所述懸浮框中。客戶端也可以在所述會話介面中生成一個按鈕,並將所述解析資訊展示在所述按鈕中。客戶端以卡片的形式展示所述解析資訊,以便使用者能夠直觀區分所述解析資訊與會話介面中的過往會話消息。在本實施例中,當使用者想要瀏覽所述連結指向的頁面時,使用者可以點擊所述卡片,客戶端可以在使用者點擊卡片時打開所述連結指向的頁面。 Based on the judgment result of the foregoing step 203, when the time interval between the linked copy or cut time and the current time is within a preset threshold, the time interval between the user's copy or cut operation and the opening of the conversation interface is short. The probability that the user sends the link to the conversation object after opening the conversation interface is high, and the client can display the parsed information in the form of a card in the conversation interface. The "card" is an image understanding of the display form of the parsed information, and the display form of the card may include Including: floating boxes, buttons, etc. For example, the client may generate a floating box in the conversation interface and display the parsed information in the floating box. The client may also generate a button in the conversation interface and display the parsed information in the button. The client displays the parsed information in the form of a card, so that the user can intuitively distinguish the parsed information from past conversation messages in the conversation interface. In this embodiment, when the user wants to browse the page pointed to by the link, the user can click the card, and the client can open the page pointed to by the link when the user clicks the card.

步驟205,在接收到發送指令後,將所述連結及其解析資訊發送給會話介面的會話對象。 Step 205: After receiving the sending instruction, send the link and its parsing information to the conversation object of the conversation interface.

基於前述步驟204,使用者在開啟會話介面後,可以直觀看到剛剛複製或剪貼的連結及其解析資訊,當使用者輸入發送指令後,客戶端可以將所述連結及其解析資訊發送給會話對象。在一個例子中,客戶端可以在所述卡片中提供的發送按鈕和取消按鈕,比如:可以在卡片的右下角提供所述發送按鈕和取消按鈕。如果使用者想將所述連結發送給會話對象,使用者可以點擊所述發送按鈕,客戶端視為接收到發送指令,並將所述連結及其解析資訊發送給會話對象,會話對象的客戶端在接收到所述連結及其解析資訊後,也可以在其會話介面中以卡片的形式展示所述解析資訊,會話對象可以點擊所述卡片以打開所述連結的頁面。如果使用者不想將所述連結發送給會話對象,則使用者可以點擊取消按鈕,客戶端可以隱藏展示的所述卡片。 在另一個例子中,客戶端還可以提供對應所述卡片的發送按鈕和取消按鈕,比如:客戶端可以在所述卡片的上方提供所述發送按鈕和取消按鈕,本發明對此不作特殊限制。可選的,客戶端也可以不再單獨提供發送按鈕和取消按鈕,客戶端可以在使用者點擊會話介面中消息編輯方塊的發送按鈕後,將所述連結及其解析資訊發送給會話對象,本發明對此不作特殊限制。 Based on the foregoing step 204, after opening the conversation interface, the user can directly see the link that has just been copied or pasted and its parsing information. After the user enters the sending instruction, the client can send the link and its parsing information to the conversation. Object. In one example, the client may provide a send button and a cancel button in the card, for example, the send button and a cancel button may be provided in a lower right corner of the card. If the user wants to send the link to the conversation object, the user can click the send button, the client is deemed to have received the sending instruction, and sends the link and its parsing information to the conversation object, the client of the conversation object After receiving the link and its parsed information, the parsed information can also be displayed in the form of a card in its conversation interface, and the conversation object can click the card to open the page of the link. If the user does not want to send the link to the conversation object, the user can click the cancel button, and the client can hide the displayed card. In another example, the client may further provide a send button and a cancel button corresponding to the card, for example, the client may provide the send button and the cancel button above the card, which is not particularly limited in the present invention. Optionally, the client may no longer provide a send button and a cancel button separately. The client may send the link and its parsed information to the conversation object after the user clicks the send button of the message edit box in the conversation interface. The invention does not specifically limit this.

需要說明的是,當所述會話介面為面向好友的會話介面時,所述會話對象為對端好友。當所述會話介面為面向群組的會話介面時,所述會話對象為該群組中除使用者自身以外的其他群組成員。此外,客戶端在將所述連結及其解析資訊發送給會話對象時,往往先將所述連結及其解析資訊發送給伺服器端,然後由伺服器端轉發給所述會話對象,這部分的處理與實現可以參照相關技術,本發明在此不再一一贅述。 It should be noted that when the conversation interface is a friend-oriented conversation interface, the conversation object is a peer friend. When the conversation interface is a group-oriented conversation interface, the conversation object is a member of the group other than the user himself. In addition, when the client sends the link and its parsing information to the conversation object, the client often sends the link and its parsing information to the server side, and then the server side forwards the conversation object to the conversation object. For processing and implementation, reference may be made to related technologies, and the present invention is not described in detail here.

步驟206,當使用者將所述連結粘貼到所述會話介面的消息編輯方塊時,在所述會話介面中以卡片的形式展示所述連結的解析資訊。 Step 206: When the user pastes the link into the message editing box of the conversation interface, the parsing information of the link is displayed in the form of a card in the conversation interface.

基於前述步驟203的判斷結果,當所述連結的複製或剪貼時間與當前時間的時間間隔未在預設的閾值內時,說明使用者複製或剪貼所述連結已經有一段時間了,使用者開啟會話介面後發送所述連結的概率較低,所以此時無需展示所述解析資訊。 Based on the judgment result of the foregoing step 203, when the time interval between the copying or cutting time of the link and the current time is not within a preset threshold, it indicates that the user has been copying or cutting the link for a period of time, and the user opens the link. The probability of sending the link after the conversation interface is low, so there is no need to display the parsed information at this time.

在本實施例中,如果使用者想將之前複製或剪貼的連 結發送給會話對象,使用者可以將所述連結粘貼到所述會話介面的消息編輯方塊中。客戶端在檢測到使用者的粘貼操作後,可以在將所述連結展示在所述消息編輯方塊中的同時,在所述會話介面中以卡片的形式展示所述連結的解析資訊,比如:在所述會話介面中生成一個懸浮框,並在所述懸浮框中展示所述連結的解析資訊。 In this embodiment, if the user wants to copy or paste The knot is sent to the conversation object, and the user can paste the link into the message editing box of the conversation interface. After detecting the user's paste operation, the client can display the link's analytical information in the form of a card in the conversation interface while displaying the link in the message editing box, such as: A floating frame is generated in the conversation interface, and the parsing information of the link is displayed in the floating frame.

步驟207,在接收到發送指令後,將所述連結及其解析資訊發送給會話介面的會話對象,並刪除所述消息編輯方塊中的所述連結。 Step 207: After receiving the sending instruction, send the link and its parsing information to the conversation object of the conversation interface, and delete the link in the message editing box.

基於前述步驟206,客戶端在展示所述連結的解析資訊後,使用者可以直觀看到所述連結的解析資訊。可選的,與前述步驟205類似,客戶端還可以提供對應於所述卡片的發送或取消按鈕,如果使用者想將所述連結發送給會話對象,使用者可以點擊所述發送按鈕,客戶端可以將所述連結及其解析資訊發送給會話對象,同時客戶端還會刪除消息編輯方塊中使用者粘貼的所述連結。如果使用者不想將所述連結發送給會話對象,則使用者可以點擊取消按鈕,客戶端可以隱藏顯示的所述卡片。 Based on the foregoing step 206, after the client displays the parsed information of the link, the user can intuitively see the parsed information of the link. Optionally, similar to the foregoing step 205, the client may also provide a send or cancel button corresponding to the card. If the user wants to send the link to the conversation object, the user may click the send button, and the client The link and its parsing information can be sent to the conversation object, and the client will also delete the link pasted by the user in the message edit box. If the user does not want to send the link to the conversation object, the user can click the cancel button, and the client can hide the displayed card.

由以上描述可以看出,本發明客戶端可以在使用者複製或剪貼連結的時間與當前時間的時間間隔在預設閾值內時,在開啟的會話介面中自動展示所述連結的解析資訊,以便使用者直觀瞭解其複製或剪貼的連結的相關內容。使用者可以通過點擊發送按鈕直接發送所述連結及其解析資訊,整個過程無需使用者進行粘貼操作,大大簡化了使用 者的操作複雜度,提高即時通訊的交互效率,同時提升了使用者的使用體驗。 From the above description, it can be seen that the client of the present invention can automatically display the parsing information of the link in the open session interface when the time interval between the time when the user copied or cut the link and the current time is within a preset threshold, so that Users see the content of the link they copied or pasted intuitively. The user can directly send the link and its parsed information by clicking the send button. The entire process does not require the user to paste, which greatly simplifies the use. The user's operation complexity improves the interactive efficiency of instant messaging and improves the user experience.

在本實施例中,當使用者瀏覽資訊時,使用者可以通過資訊頁面的分享按鈕將瀏覽的資訊發送給即時通訊好友,當使用者瀏覽資訊的軟體與即時通訊軟體不相容時,使用者可以複製所述資訊的連結,並採用本發明提供的方案實現資訊的分享。當然,當使用者瀏覽資訊的軟體與即時通訊軟體相容時,使用者也可以採用本發明提供的方案實現資訊的分享,本發明對此不作特殊限制。 In this embodiment, when the user browses the information, the user can send the browsed information to the instant messaging friend by using the share button on the information page. The link of the information can be copied, and the solution provided by the present invention can be used to share the information. Of course, when the user's software for viewing information is compatible with the instant messaging software, the user can also use the solution provided by the present invention to share information, which is not specifically limited in the present invention.

下面結合具體的例子來描述本發明的實現過程。 The following describes the implementation process of the present invention with specific examples.

假設,使用者的手機中裝載有支付寶客戶端以及百度瀏覽器。使用者使用百度瀏覽器瀏覽新聞,當使用者看到一篇有意思的新聞後,使用者可以複製該新聞的連結,並在支付寶客戶端中打開與好友的會話介面,此時客戶端確認使用者最近一次複製所述連結的時間與當前時間的時間間隔30秒之內,客戶端將所述連結發送給伺服器端,伺服器端解析所述連結,並向客戶端返回所述新聞的標題、摘要以及圖片,以便客戶端在所述會話介面中以卡片的形式展示所述新聞的標題、摘要以及圖片。對於使用者而言,使用者開啟與好友的所述會話介面之後,就能看到所述新聞的標題、摘要以及圖片,使用者點擊對應所述卡片的發送按鈕即可將所述連結以及所述新聞的標題、摘要以及圖片發送給好友。整個過程對於使用者而言,無需進行粘貼操作,提高了使用者的交互效率。 It is assumed that the user's mobile phone is loaded with the Alipay client and Baidu browser. The user uses Baidu Browser to browse the news. When the user sees an interesting news, the user can copy the link to the news and open the conversation interface with the friend in the Alipay client. At this time, the client confirms the user. Within 30 seconds between the time when the link was last copied and the current time, the client sends the link to the server, the server parses the link, and returns the news title, A summary and a picture, so that the client displays the title, summary, and picture of the news in the form of a card in the conversation interface. For the user, after opening the conversation interface with friends, the user can see the title, summary, and picture of the news, and the user can click the send button corresponding to the card to link the link and all Send news headlines, summaries, and pictures to your friends. For the user, the entire process does not need to be pasted, which improves the user's interaction efficiency.

圖3是本發明一示例性實施例示出的另一種即時通訊的實現方法的流程示意圖。 Fig. 3 is a schematic flowchart of another method for implementing instant messaging according to an exemplary embodiment of the present invention.

請參考圖3,所述即時通訊的實現方法可以應用在具有即時通訊功能的客戶端中,包括有以下步驟: Please refer to FIG. 3, the method for implementing instant messaging can be applied to a client having an instant messaging function, and includes the following steps:

步驟301,在檢測到使用者開啟即時通訊客戶端的操作時,獲取使用者複製或剪貼的連結。 In step 301, when the operation of opening the instant messaging client by the user is detected, a link copied or cut by the user is obtained.

步驟302,在所述即時通訊客戶端的首頁中以卡片的形式展示所述連結的解析資訊。 Step 302: Display the parsing information of the link in the form of a card on the homepage of the instant messaging client.

在本實施例中,使用者在開啟客戶端時,客戶端就可以獲取使用者複製或剪貼過的連結,並在首頁中以卡片的形式展示所述連結的解析資訊,並提供對應所述卡片的發送按鈕,當使用者點擊所述發送按鈕時,客戶端可以展示會話索引清單,所述會話索引清單中包括使用者的好友、群組、討論群組等。使用者可以在所述會話索引清單中選擇發送所述連結的會話對象,客戶端進而可以將所述連結及其解析資訊發送給使用者選擇的會話對象。 In this embodiment, when the user opens the client, the client can obtain the link that the user copied or cut and pasted, and display the parsing information of the link in the form of a card on the homepage, and provide a corresponding card When the user clicks the send button, the client can display a session index list, and the session index list includes the user's friends, groups, and discussion groups. The user can choose to send the linked conversation object in the conversation index list, and the client can further send the link and its parsing information to the conversation object selected by the user.

由以上描述可以看出,本發明客戶端可以在首頁中以卡片的形式展示使用者或剪貼的連結的解析資訊,以便使用者直觀瞭解其複製或剪貼連結的相關內容。客戶端可以將所述連結及其解析資訊發送給使用者在會話索引清單中選擇的會話對象,整個過程無需使用者進行粘貼操作,也無需使用者開啟會話介面,大大簡化了使用者的操作複雜度,提高即時通訊的交互效率,同時提升了使用者的使用體驗。 It can be seen from the above description that the client of the present invention can display the parsing information of the user or the cut-and-paste link in the form of a card on the homepage, so that the user can intuitively understand the relevant content of the copied or cut-and-paste link. The client can send the link and its parsing information to the conversation object selected by the user in the conversation index list. The entire process does not require the user to paste and does not require the user to open the conversation interface, which greatly simplifies the user's operation complexity And improve the interactive efficiency of instant messaging, while improving the user experience.

與前述即時通訊的實現方法的實施例相對應,本發明還提供了即時通訊的實現裝置的實施例。 Corresponding to the foregoing embodiment of the method for implementing instant messaging, the present invention also provides an embodiment of a device for implementing instant messaging.

本發明即時通訊的實現裝置的實施例可以應用在終端設備中裝載的即時通訊客戶端上。裝置實施例可以通過軟體實現,也可以通過硬體或者軟硬體結合的方式實現。以軟體實現為例,作為一個邏輯意義上的裝置,是通過其所在終端設備的處理器將非易失性記憶體中對應的電腦程式指令讀取到記憶體中運行形成的。從硬體層面而言,如圖4所示,為本發明即時通訊的實現裝置所在終端設備的一種硬體結構圖,除了圖4所示的處理器、記憶體、網路介面、以及非易失性記憶體之外,實施例中裝置所在的終端設備通常根據該終端設備的實際功能,還可以包括其他硬體,對此不再贅述。 The embodiment of the instant messaging implementation device of the present invention can be applied to an instant messaging client loaded in a terminal device. The device embodiments can be implemented by software, or by a combination of hardware or software and hardware. Taking software implementation as an example, as a logical device, it is formed by reading the corresponding computer program instructions in the non-volatile memory into the memory through the processor of the terminal device where it is located. In terms of hardware, as shown in FIG. 4, it is a hardware structure diagram of the terminal device where the real-time communication implementing device of the present invention is located, except for the processor, memory, network interface, and In addition to the volatile memory, the terminal device where the device is located in the embodiments may generally include other hardware according to the actual function of the terminal device, which will not be described again.

圖5是本發明一示例性實施例示出的一種即時通訊的實現裝置的結構示意圖。 Fig. 5 is a schematic structural diagram of a device for implementing instant messaging according to an exemplary embodiment of the present invention.

請參考圖5,所述即時通訊的實現裝置400可以應用在前述圖4所示的終端設備中裝載的即時通訊客戶端中,包括有:第一獲取單元401、第一展示單元402、第二展示單元403、第一發送單元404以及第二發送單元405。 Please refer to FIG. 5, the instant messaging implementation device 400 may be applied to the instant messaging client loaded in the terminal device shown in FIG. 4, and includes: a first obtaining unit 401, a first display unit 402, and a second The display unit 403, the first sending unit 404, and the second sending unit 405.

其中,所述第一獲取單元401,在檢測到使用者開啟會話介面的操作時,獲取使用者複製或剪貼的連結;所述第一展示單元402,在開啟的所述會話介面中以卡片的形式展示所述連結的解析資訊;其中,所述會話介面為使用者與一個或多個使用者實 現會話聊天的介面。 Wherein, the first obtaining unit 401 obtains a link copied or cut by the user when the operation of opening the conversation interface is detected by the user; the first display unit 402 uses a card in the opened conversation interface Displaying the parsed information of the link in a form; wherein the conversation interface is a real interface for the user and one or more users Interface for conversation.

可選的,所述第一獲取單元401,獲取使用者最近一次複製或剪貼的連結。 Optionally, the first obtaining unit 401 obtains a link that the user copied or cut and pasted last time.

可選的,所述第一展示單元402,判斷使用者最近一次複製或剪貼的所述連結的複製或剪貼時間與當前時間的時間間隔是否在預設的閾值內;並在預設的閾值內時,在開啟的所述會話介面中以卡片的形式展示所述連結的解析資訊。 Optionally, the first display unit 402 determines whether the time interval between the last copying or cutting time of the link that the user copied or cut and pasted and the current time are within a preset threshold; and within a preset threshold , The parsing information of the link is displayed in the form of a card in the opened conversation interface.

所述第二展示單元403,在使用者將所述連結粘貼到所述會話介面的消息編輯方塊時,在所述會話介面中以卡片的形式展示所述連結的解析資訊。 The second display unit 403 displays the analytical information of the link in the form of a card when the user pastes the link into the message editing box of the conversation interface.

所述第一發送單元404,在接收到發送指令後,將所述連結及其解析資訊發送給所述會話介面的會話對象,以在所述會話對象的會話介面中以卡片的形式展示所述連結的解析資訊;刪除所述消息編輯方塊中的所述連結。 After receiving the sending instruction, the first sending unit 404 sends the link and its parsing information to the conversation object of the conversation interface, so as to display the card in the conversation interface of the conversation object. Parsed information of the link; delete the link in the message edit box.

所述第二發送單元405,在接收到發送指令時,將所述連結及其解析資訊發送給所述會話介面的會話對象,以在所述會話對象的會話介面中以卡片的形式展示所述連結的解析資訊。 When receiving the sending instruction, the second sending unit 405 sends the link and its parsing information to the conversation object of the conversation interface to display the card in the conversation interface of the conversation object. Linked parse information.

可選的,所述發送指令包括:使用者點擊消息編輯方塊的發送按鈕的指令、使用者點擊與所述卡片對應的發送按鈕的指令以及使用者點擊所述卡片的指令。 Optionally, the sending instruction includes: a user's instruction to click a send button of a message edit box, a user's instruction to click a send button corresponding to the card, and a user's instruction to click the card.

可選的,所述解析資訊包括:所述連結指向頁面的標 題、摘要以及圖片。 Optionally, the parsing information includes: Questions, abstracts, and pictures.

圖6是本發明一示例性實施例示出的另一種即時通訊的實現裝置的結構示意圖。 FIG. 6 is a schematic structural diagram of another device for implementing instant messaging according to an exemplary embodiment of the present invention.

請參考圖6,所述即時通訊的實現裝置400也可以應用在前述圖4所示的終端設備中裝載的即時通訊客戶端中,包括有:第二獲取單元410、第三展示單元420、清單展示單元430以及第三發送單元440。 Referring to FIG. 6, the instant messaging implementation device 400 can also be applied to the instant messaging client loaded in the terminal device shown in FIG. 4 described above, including: a second obtaining unit 410, a third display unit 420, and a list The display unit 430 and the third sending unit 440.

其中,所述第二獲取單元410,在檢測到使用者開啟即時通訊客戶端的操作時,獲取使用者複製或剪貼的連結;所述第三展示單元420,在所述即時通訊客戶端的首頁中以卡片的形式展示所述連結的解析資訊。 Wherein, the second obtaining unit 410 obtains a link copied or cut by the user when the user's operation of opening the instant messaging client is detected; and the third display unit 420 is based on the homepage of the instant messaging client. The form of a card shows the resolution information of the link.

所述清單展示單元430,在接收到發送指令時,展示會話索引清單;所述第三發送單元440,將所述連結及其解析資訊發送給使用者在所述會話索引清單中選擇的會話對象。 The list display unit 430 displays a session index list when receiving a sending instruction; the third sending unit 440 sends the link and its parsing information to a conversation object selected by the user in the session index list .

上述裝置中各個單元的功能和作用的實現過程具體詳見上述方法中對應步驟的實現過程,在此不再贅述。 For details about the implementation process of the functions and functions of the units in the foregoing device, see the implementation process of the corresponding steps in the foregoing method for details, and details are not described herein again.

對於裝置實施例而言,由於其基本對應於方法實施例,所以相關之處參見方法實施例的部分說明即可。以上所描述的裝置實施例僅僅是示意性的,其中所述作為分離部件說明的單元可以是或者也可以不是物理上分開的,作為單元顯示的部件可以是或者也可以不是物理單元,即可以位於一個地方,或者也可以分佈到多個網路單元上。可 以根據實際的需要選擇其中的部分或者全部模組來實現本發明方案的目的。本領域普通技術人員在不付出創造性勞動的情況下,即可以理解並實施。 As for the device embodiment, since it basically corresponds to the method embodiment, the relevant part may refer to the description of the method embodiment. The device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, may be located One place, or it can be distributed across multiple network units. can Some or all of the modules are selected according to actual needs to achieve the objective of the solution of the present invention. Those of ordinary skill in the art can understand and implement without creative efforts.

以上所述僅為本發明的較佳實施例而已,並不用以限制本發明,凡在本發明的精神和原則之內,所做的任何修改、等同替換、改進等,均應包含在本發明保護的範圍之內。 The above are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention shall be included in the present invention. Within the scope of protection.

Claims (20)

一種即時通訊的實現方法,包括:在檢測到使用者開啟會話介面的操作時,獲取使用者複製或剪貼的連結;在開啟的所述會話介面中以卡片的形式展示所述連結的解析資訊;及在接收到發送指令後,將所述連結及其解析資訊發送給所述會話介面的會話對象;其中,所述會話介面為使用者與一個或多個使用者實現會話聊天的介面。A method for implementing instant messaging includes: obtaining a link copied or cut by a user when a user's operation of opening a conversation interface is detected; displaying the parsing information of the link in the form of a card in the opened conversation interface; And after receiving the sending instruction, sending the link and its parsing information to the conversation object of the conversation interface; wherein the conversation interface is an interface for a user to chat with one or more users. 根據申請專利範圍第1項所述的方法,其中,所述獲取使用者複製或剪貼的連結,包括:獲取使用者最近一次複製或剪貼的連結。The method according to item 1 of the scope of patent application, wherein the obtaining a link copied or cut by a user comprises: obtaining a link copied or cut by a user last time. 根據申請專利範圍第2項所述的方法,其中,所述在開啟的所述會話介面中以卡片的形式展示所述連結的解析資訊,包括:判斷使用者最近一次複製或剪貼的所述連結的複製或剪貼時間與當前時間的時間間隔是否在預設的閾值內;如果在預設的閾值內,則在開啟的所述會話介面中以卡片的形式展示所述連結的解析資訊。The method according to item 2 of the scope of patent application, wherein the displaying the parsing information of the link in the form of a card in the opened conversation interface includes: judging a user's most recent copy or cut and paste of the link Whether the time interval between the copying or cutting time and the current time is within a preset threshold; if it is within the preset threshold, the linked parsing information is displayed in the form of a card in the opened conversation interface. 根據申請專利範圍第1項所述的方法,其中,所述方法還包括:當使用者將所述連結粘貼到所述會話介面的消息編輯方塊時,在所述會話介面中以卡片的形式展示所述連結的解析資訊。The method according to item 1 of the scope of patent application, wherein the method further comprises: when the user pastes the link into a message editing box of the conversation interface, displaying the card in the conversation interface Parsing information for the link. 根據申請專利範圍第4項所述的方法,其中,所述方法還包括:在接收到發送指令後,將所述連結及其解析資訊發送給所述會話介面的會話對象,以在所述會話對象的會話介面中以卡片的形式展示所述連結的解析資訊;刪除所述消息編輯方塊中的所述連結。The method according to item 4 of the scope of patent application, wherein the method further comprises: after receiving the sending instruction, sending the link and its parsing information to a conversation object of the conversation interface, so as to The subject's conversation interface displays the parsing information of the link in the form of a card; deleting the link in the message edit box. 根據申請專利範圍第1項所述的方法,其中,所述方法還包括:在接收到發送指令時,將所述連結及其解析資訊發送給所述會話介面的會話對象,以在所述會話對象的會話介面中以卡片的形式展示所述連結的解析資訊。The method according to item 1 of the scope of patent application, wherein the method further comprises: upon receiving a sending instruction, sending the link and its parsing information to a conversation object of the conversation interface, so as to The subject's conversation interface displays the parsing information of the link in the form of a card. 根據申請專利範圍第5或6項所述的方法,其中,所述發送指令包括:使用者點擊消息編輯方塊的發送按鈕的指令、使用者點擊與所述卡片對應的發送按鈕的指令以及使用者點擊所述卡片的指令。The method according to item 5 or 6 of the scope of patent application, wherein the sending instruction includes: a user's instruction to click a send button of a message edit box, a user's instruction to click a send button corresponding to the card, and a user Click the instruction of the card. 根據申請專利範圍第1項所述的方法,其中,所述解析資訊包括:所述連結指向頁面的標題、摘要以及圖片。The method according to item 1 of the scope of patent application, wherein the parsed information includes: a title, an abstract, and a picture of the link to the page. 一種即時通訊的實現方法,包括:在檢測到使用者開啟即時通訊客戶端的操作時,獲取使用者複製或剪貼的連結;在所述即時通訊客戶端的首頁中以卡片的形式展示所述連結的解析資訊;及在接收到發送指令後,將所述連結及其解析資訊發送給所述會話介面的會話對象。A method for implementing instant messaging includes: obtaining a link copied or cut by a user when a user's operation of opening an instant messaging client is detected; and displaying the analysis of the link in the form of a card on a homepage of the instant messaging client Information; and after receiving the sending instruction, sending the link and its parsed information to the conversation object of the conversation interface. 根據申請專利範圍第9項所述的方法,其中,所述方法還包括:在接收到發送指令時,展示會話索引清單;將所述連結及其解析資訊發送給使用者在所述會話索引清單中選擇的會話對象。The method according to item 9 of the scope of patent application, wherein the method further comprises: displaying a session index list when receiving a sending instruction; and sending the link and its parsing information to a user in the session index list Session object selected in. 一種即時通訊的實現裝置,包括:第一獲取單元,在檢測到使用者開啟會話介面的操作時,獲取使用者複製或剪貼的連結;第一展示單元,在開啟的所述會話介面中以卡片的形式展示所述連結的解析資訊;以及第一發送單元,在接收到發送指令後,將所述連結及其解析資訊發送給所述會話介面的會話對象;其中,所述會話介面為使用者與一個或多個使用者實現會話聊天的介面。A device for realizing instant communication includes: a first obtaining unit that obtains a link copied or cut by a user when an operation of opening a conversation interface is detected by a user; a first display unit that uses a card in the opened conversation interface Display the parsing information of the link; and a first sending unit, after receiving the sending instruction, sends the link and its parsing information to a conversation object of the conversation interface; wherein the conversation interface is a user Interface to chat with one or more users. 根據申請專利範圍第11項所述的裝置,其中,所述第一獲取單元,獲取使用者最近一次複製或剪貼的連結。The device according to item 11 of the scope of patent application, wherein the first obtaining unit obtains a link that the user copied or cut and paste the latest time. 根據申請專利範圍第12項所述的裝置,其中,所述第一展示單元,判斷使用者最近一次複製或剪貼的所述連結的複製或剪貼時間與當前時間的時間間隔是否在預設的閾值內;並在預設的閾值內時,在開啟的所述會話介面中以卡片的形式展示所述連結的解析資訊。The device according to item 12 of the scope of patent application, wherein the first display unit determines whether a time interval between the copy or cut time of the link that was most recently copied or cut by the user and the current time is within a preset threshold And within a preset threshold, displaying the parsing information of the link in the form of a card in the opened conversation interface. 根據申請專利範圍第11項所述的裝置,其中,所述裝置還包括:第二展示單元,在使用者將所述連結粘貼到所述會話介面的消息編輯方塊時,在所述會話介面中以卡片的形式展示所述連結的解析資訊。The device according to item 11 of the scope of patent application, wherein the device further includes: a second display unit in the conversation interface when the user pastes the link into the message editing box of the conversation interface Display the resolution information of the link as a card. 根據申請專利範圍第14項所述的裝置,其中,所述裝置還包括:第一發送單元,在接收到發送指令後,將所述連結及其解析資訊發送給所述會話介面的會話對象,以在所述會話對象的會話介面中以卡片的形式展示所述連結的解析資訊,並刪除所述消息編輯方塊中的所述連結。The device according to item 14 of the scope of patent application, wherein the device further comprises: a first sending unit, after receiving the sending instruction, sending the link and its parsing information to a conversation object of the conversation interface, Displaying the parsing information of the link in the form of a card in the conversation interface of the conversation object, and deleting the link in the message editing box. 根據申請專利範圍第11項所述的裝置,其中,所述裝置還包括:第二發送單元,在接收到發送指令時,將所述連結及其解析資訊發送給所述會話介面的會話對象,以在所述會話對象的會話介面中以卡片的形式展示所述連結的解析資訊。The device according to item 11 of the scope of patent application, wherein the device further comprises: a second sending unit that sends the link and its parsing information to a conversation object of the conversation interface when receiving a sending instruction, Displaying the parsing information of the link in the form of a card in the conversation interface of the conversation object. 根據申請專利範圍第15或16項所述的裝置,其中,所述發送指令包括:使用者點擊消息編輯方塊的發送按鈕的指令、使用者點擊與所述卡片對應的發送按鈕的指令以及使用者點擊所述卡片的指令。The device according to item 15 or 16 of the scope of patent application, wherein the sending instruction includes: a user's instruction to click a send button of a message edit box, a user's instruction to click a send button corresponding to the card, and a user Click the instruction of the card. 根據申請專利範圍第11項所述的裝置,其中,所述解析資訊包括:所述連結指向頁面的標題、摘要以及圖片。The device according to item 11 of the scope of patent application, wherein the parsing information includes a title, an abstract, and a picture of the link to a page. 一種即時通訊的實現裝置,所述裝置包括:第二獲取單元,在檢測到使用者開啟即時通訊客戶端的操作時,獲取使用者複製或剪貼的連結;第三展示單元,在所述即時通訊客戶端的首頁中以卡片的形式展示所述連結的解析資訊;以及第三發送單元,在接收到發送指令後,將所述連結及其解析資訊發送給所述會話介面的會話對象。A device for realizing instant messaging, the device includes: a second obtaining unit that obtains a link copied or cut by a user when detecting an operation of a user to open an instant messaging client; and a third display unit that is located at the instant messaging client The homepage of the terminal displays the parsing information of the link in the form of a card; and the third sending unit sends the link and the parsing information to the conversation object of the conversation interface after receiving the sending instruction. 根據申請專利範圍第19項所述的裝置,其中,所述裝置還包括:清單展示單元,在接收到發送指令時,展示會話索引清單;第三發送單元,將所述連結及其解析資訊發送給使用者在所述會話索引清單中選擇的會話對象。The device according to item 19 of the scope of patent application, wherein the device further comprises: a list display unit that displays a session index list when a sending instruction is received; a third sending unit that sends the link and its analytical information Giving the user a conversation object selected in the conversation index list.
TW106102214A 2016-03-31 2017-01-20 Instant messaging implementation method and device TWI677225B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610201416.9A CN105871690B (en) 2016-03-31 2016-03-31 Method and device for realizing instant messaging
??201610201416.9 2016-03-31

Publications (2)

Publication Number Publication Date
TW201737681A TW201737681A (en) 2017-10-16
TWI677225B true TWI677225B (en) 2019-11-11

Family

ID=56627563

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106102214A TWI677225B (en) 2016-03-31 2017-01-20 Instant messaging implementation method and device

Country Status (3)

Country Link
CN (1) CN105871690B (en)
TW (1) TWI677225B (en)
WO (1) WO2017167132A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105871690B (en) * 2016-03-31 2020-01-21 阿里巴巴集团控股有限公司 Method and device for realizing instant messaging
CN106789551B (en) * 2016-11-14 2019-12-03 北京小米移动软件有限公司 Conversation message methods of exhibiting and device
CN107239351B (en) * 2017-05-25 2020-11-10 北京小米移动软件有限公司 Pasting method and device
CN107526821A (en) * 2017-08-29 2017-12-29 珠海市魅族科技有限公司 One kind link inspection method and device, terminal and readable storage medium storing program for executing
CN108664303B (en) 2018-04-28 2023-06-30 北京小米移动软件有限公司 Webpage content display method and device
CN110875868A (en) * 2018-08-31 2020-03-10 阿里巴巴集团控股有限公司 Information interaction method and device and electronic equipment
CN110333853A (en) * 2019-04-04 2019-10-15 平安科技(深圳)有限公司 Application method, device, equipment and the readable storage medium storing program for executing of active card
CN111447139A (en) * 2020-03-26 2020-07-24 支付宝(杭州)信息技术有限公司 Method and device for realizing private chat conversation of multiple persons in instant messaging and electronic equipment
CN114816600B (en) * 2021-01-27 2023-12-19 北京达佳互联信息技术有限公司 Session message display method, device, terminal and storage medium
CN113656572B (en) * 2021-08-26 2024-07-02 支付宝(杭州)信息技术有限公司 Dialogue processing method and system
CN114168869A (en) * 2021-11-25 2022-03-11 北京字跳网络技术有限公司 Information display method, device, system and storage medium
CN116418770A (en) * 2021-12-29 2023-07-11 北京字跳网络技术有限公司 Instant message processing method, device and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314511A (en) * 2011-09-16 2012-01-11 李建成 Hyperlink attaching method and system
CN102420782A (en) * 2011-12-18 2012-04-18 上海量明科技发展有限公司 Method, client and system for sharing webpage by instant messaging
CN102437974A (en) * 2011-12-29 2012-05-02 上海量明科技发展有限公司 Method and system for obtaining network links by instant messaging tool
TW201442462A (en) * 2013-04-27 2014-11-01 Tencent Tech Shenzhen Co Ltd Method, device and system for conversational notifications in instant messaging application
US20140372911A1 (en) * 2012-03-09 2014-12-18 Tencent Technology (Shenzhen) Company Limited Interactive interface display control method, instant communication tool and computer storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5451095B2 (en) * 2009-02-02 2014-03-26 キヤノン株式会社 Information processing apparatus and control method thereof
CN103067248B (en) * 2011-10-19 2016-05-18 腾讯数码(天津)有限公司 A kind of method and device that shows link summary info in instant communication software window
CN102394838A (en) * 2011-11-04 2012-03-28 宇龙计算机通信科技(深圳)有限公司 IM (instant messaging) method, server and IM system
CN103312595A (en) * 2013-06-25 2013-09-18 珠海金山办公软件有限公司 Method and device for conducting corresponding relevant mark processing according to content
KR101834188B1 (en) * 2013-12-18 2018-03-05 주식회사 케이티 Method for sharing contents data, computing device and computer-readable medium
CN104298744B (en) * 2014-10-10 2018-01-26 广州三星通信技术研究有限公司 Share, obtain the method and apparatus of web page contents
CN105871690B (en) * 2016-03-31 2020-01-21 阿里巴巴集团控股有限公司 Method and device for realizing instant messaging

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314511A (en) * 2011-09-16 2012-01-11 李建成 Hyperlink attaching method and system
CN102420782A (en) * 2011-12-18 2012-04-18 上海量明科技发展有限公司 Method, client and system for sharing webpage by instant messaging
CN102437974A (en) * 2011-12-29 2012-05-02 上海量明科技发展有限公司 Method and system for obtaining network links by instant messaging tool
US20140372911A1 (en) * 2012-03-09 2014-12-18 Tencent Technology (Shenzhen) Company Limited Interactive interface display control method, instant communication tool and computer storage medium
TW201442462A (en) * 2013-04-27 2014-11-01 Tencent Tech Shenzhen Co Ltd Method, device and system for conversational notifications in instant messaging application

Also Published As

Publication number Publication date
TW201737681A (en) 2017-10-16
CN105871690A (en) 2016-08-17
CN105871690B (en) 2020-01-21
WO2017167132A1 (en) 2017-10-05

Similar Documents

Publication Publication Date Title
TWI677225B (en) Instant messaging implementation method and device
US10326715B2 (en) System and method for updating information in an instant messaging application
US10740277B2 (en) Method and system for embedded personalized communication
US10536420B2 (en) Information processing method, client, server, and computer storage medium
JP6507255B2 (en) Method and system for providing private chat within group chat
KR102197248B1 (en) Integrating co-browsing with other forms of information sharing
US20170091717A1 (en) Auto extraction of tasks from unstructured communications such as emails and messages
US20150281142A1 (en) Hot Topic Pushing Method and Apparatus
US7831673B1 (en) Methods and systems for processing offline chat messages
KR20150100760A (en) Aggregating interactions for content items
US20160162151A1 (en) Input method and device thereof, and auxiliary input method and system thereof
TWI496485B (en) Method for instant communication, terminal and system
EP2605460A1 (en) Method, apparatus, and system for transferring file to user of instant message system
WO2023179549A1 (en) Document block sharing method, apparatus and system, and storage medium
US20200233878A1 (en) Card-based information management method and system
CN106888150B (en) Instant message processing method and device
CN111880858A (en) Document processing and instant messaging method, device, electronic equipment and storage medium
US20140157290A1 (en) Method, system, and device for switching between network applications, and computer storage medium
WO2008006115A9 (en) A method and system for embedded personalized communication
KR101416790B1 (en) Method and apparatus for establishing independent message page
KR101403783B1 (en) Virtual space providing system for distinct step of application execution
CN112187628B (en) Method and device for processing identification picture
CN108293182A (en) Mobile device and method
WO2023134255A1 (en) Information insertion method and apparatus, device, medium, and computer program product
WO2023124907A1 (en) Instant message processing method and apparatus and device