TW201911892A - Method, device, terminal, and storage medium for pusing information based on instant messaging - Google Patents

Method, device, terminal, and storage medium for pusing information based on instant messaging Download PDF

Info

Publication number
TW201911892A
TW201911892A TW107127309A TW107127309A TW201911892A TW 201911892 A TW201911892 A TW 201911892A TW 107127309 A TW107127309 A TW 107127309A TW 107127309 A TW107127309 A TW 107127309A TW 201911892 A TW201911892 A TW 201911892A
Authority
TW
Taiwan
Prior art keywords
information
keyword
server
push
display
Prior art date
Application number
TW107127309A
Other languages
Chinese (zh)
Other versions
TWI701959B (en
Inventor
鄒放
李靚
黃達熙
Original Assignee
大陸商騰訊科技(深圳)有限公司
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 大陸商騰訊科技(深圳)有限公司 filed Critical 大陸商騰訊科技(深圳)有限公司
Publication of TW201911892A publication Critical patent/TW201911892A/en
Application granted granted Critical
Publication of TWI701959B publication Critical patent/TWI701959B/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]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • 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/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention is related to a method, device, terminal, and storage medium for pushing information based on instant messaging. The method includes extracting a keyword in a chat message in a conversation area; obtaining push information matching the keyword from a server; selecting a display template according to the push information; reconstructing the push information according to the display template, and displaying the push information in a corresponding predetermined template interface, wherein the predetermined template interface does not block the conversation area. The method, device, terminal, and storage medium for pushing information based on instant messaging do not require users to provide keywords, push information according to chat messages in real time, and push contents that users are interested in accurately.

Description

基於即時通訊的資訊推播方法、裝置、終端機及儲存媒體  Information dissemination method, device, terminal and storage medium based on instant messaging  

本發明涉及網際網路技術領域,特別是涉及一種基於即時通訊的資訊推播方法、裝置、終端機及儲存媒體。 The present invention relates to the field of Internet technologies, and in particular, to an information dissemination method, apparatus, terminal, and storage medium based on instant messaging.

智慧推薦在網際網路各個領域已經有所應用,很多公司都會基於機器學習的思路在各自的產品形態下推出產品相關的內容智慧推薦。在傳統的內容智慧推薦中,都是根據用戶輸入的搜索關鍵詞或電子商務中的個人喜好商品進行推薦,例如在搜索頁面,先由用戶在搜索框中輸入搜索的關鍵詞,再根據用戶輸入的關鍵詞推播相關的資訊,操作繁瑣,而有些購物商店則是根據用戶的購買行為進行推薦,存在一定的落後性,導致推薦的內容無法準確貼合用戶需求。 Wisdom recommendation has been applied in various fields of the Internet. Many companies will introduce product-related content wisdom recommendations based on machine learning in their respective product forms. In the traditional content wisdom recommendation, the recommendation is based on the search keyword input by the user or the personal preference product in the e-commerce. For example, in the search page, the user first inputs the search keyword in the search box, and then according to the user input. The keywords push the relevant information, the operation is cumbersome, and some shopping stores are recommended according to the user's purchase behavior, there is a certain backwardness, resulting in the recommended content can not accurately meet the user's needs.

本發明實施例提供一種基於即時通訊的資訊推播方法、裝置、終端機及儲存媒體,無需用戶提供關鍵詞,實時根據聊天訊息推播資訊,能夠精準推播用戶感興趣的內容。 The embodiment of the invention provides an information dissemination method, a device, a terminal device and a storage medium based on instant messaging, which can push the information according to the chat message in real time without the user providing the keyword, and can accurately push the content of interest to the user.

一種基於即時通訊的資訊推播方法,包括:擷取對話區域中的聊天訊息的關鍵詞; 從伺服器獲得與所述關鍵詞匹配的推播資訊;根據所述推播資訊選擇展示模板;根據所述展示模板對所述推播資訊進行重建,並在對應的預設模板界面中展示,所述預設模板界面不遮擋所述對話區域。 An information dissemination method based on instant messaging, comprising: capturing a keyword of a chat message in a conversation area; obtaining a push information matching the keyword from a server; and selecting a display template according to the push information; The display template reconstructs the push information and displays it in a corresponding preset template interface, where the preset template interface does not block the dialog area.

一種基於即時通訊的資訊推播裝置,包括:擷取模組,用於擷取對話區域中的聊天訊息的關鍵詞;獲得模組,用於從伺服器獲得與所述關鍵詞匹配的推播資訊;選擇模組,用於根據所述推播資訊選擇展示模板;展示模組,用於根據所述展示模板對所述推播資訊進行重建,並在對應的預設模板界面中展示,所述預設模板界面不遮擋所述對話區域。 An information dissemination device based on instant messaging, comprising: a capture module for capturing keywords of a chat message in a conversation area; and a obtaining module, configured to obtain a push broadcast matching the keyword from a server a display module, configured to select a display template according to the push information; a display module, configured to reconstruct the push information according to the display template, and display the corresponding preset template interface The preset template interface does not obscure the dialog area.

一種終端機,包括儲存器及處理器,所述儲存器中儲存有電腦可執行指令,所述電腦可執行指令被所述處理器執行時,使得所述處理器實現如上所述的方法。 A terminal, comprising a memory and a processor, the memory storing computer executable instructions, the computer executable instructions being executed by the processor, such that the processor implements the method as described above.

一種電腦可讀儲存媒體,其上儲存有電腦程式,所述電腦程式被處理器執行時實現如上所述的方法。 A computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the method as described above.

上述基於即時通訊的資訊推播方法、裝置、終端機及儲存媒體,通過擷取聊天訊息的關鍵詞,從伺服器獲得與關鍵詞匹配的推播資訊,根據選擇的展示模板對推播資訊進行重建後,在對應的預設模板界面中展示,無需用戶提供關鍵詞,實時根據聊天訊息推播資訊,能夠精準推播用戶感興趣的內容。此外,預設模板界面不遮擋聊天區域,用戶無需跳轉當前的聊天界面獲得推播資訊,也不會打斷當前的聊天過程,使即時通訊更加便利、流暢,能夠提高用戶黏著度。 The above-mentioned information dissemination method, device, terminal device and storage medium based on instant messaging obtain the push information matched with the keyword from the server by capturing the keyword of the chat message, and perform the push information according to the selected display template. After the reconstruction, it is displayed in the corresponding preset template interface, and the user is not required to provide keywords, and the information is pushed according to the chat message in real time, and the content of interest to the user can be accurately pushed. In addition, the preset template interface does not block the chat area, the user does not need to jump to the current chat interface to obtain the push information, and does not interrupt the current chat process, making the instant communication more convenient and smooth, and can improve the user adhesion.

10‧‧‧終端機 10‧‧‧ Terminal

20‧‧‧伺服器 20‧‧‧Server

S310~S340‧‧‧步驟 S310~S340‧‧‧Steps

402‧‧‧對話區域 402‧‧‧Dialogue area

404‧‧‧預設模板界面 404‧‧‧Preset template interface

S502~S506‧‧‧步驟 S502~S506‧‧‧Steps

S702~S706‧‧‧步驟 S702~S706‧‧‧Steps

S902~S908‧‧‧步驟 S902~S908‧‧‧Steps

1002‧‧‧餐廳一資料 1002‧‧‧Restaurant Information

1102‧‧‧預設模板界面 1102‧‧‧Preset template interface

1104‧‧‧虛擬鍵盤 1104‧‧‧Virtual keyboard

1106‧‧‧對話窗口 1106‧‧‧Dialog window

1202~1224‧‧‧步驟 1202~1224‧‧‧Steps

1300‧‧‧基於即時通訊的資訊推播裝置 1300‧‧‧Information dissemination device based on instant messaging

1310‧‧‧擷取模組 1310‧‧‧Capture module

1320‧‧‧獲得模組 1320‧‧‧Get the module

1330‧‧‧選擇模組 1330‧‧‧Selection module

1340‧‧‧展示模組 1340‧‧‧Display module

1350‧‧‧第一發送模組 1350‧‧‧First Sending Module

1360‧‧‧查看模組 1360‧‧‧View module

1370‧‧‧分享模組 1370‧‧‧Share module

1380‧‧‧第二發送模組 1380‧‧‧second transmission module

第1圖為一個實施例中基於即時通訊的資訊推播方法的應用場景圖;第2圖為一個實施例中終端機的方塊圖;第3圖為一個實施例中基於即時通訊的資訊推播方法的流程示意圖;第4A圖為一個實施例中展示推播資訊的界面示意圖;第4B圖為另一個實施例中展示推播資訊的界面示意圖;第4C圖為又一個實施例中展示推播資訊的界面示意圖;第5圖為一個實施例中展示推播預覽資料的流程示意圖;第6圖為一個實施例中根據用戶在預設模板界面中的操作持續展示更多的推播預覽資料的示意圖;第7圖為一個實施例中展示具體內容資料的流程示意圖;第8A圖為一個實施例中終端機接收對預設模板界面的第一操作的示意圖;第8B圖為一個實施例中根據第一操作展示具體內容資料的示意圖;第9圖為一個實施例中分享推播資訊的流程示意圖;第10圖為一個實施例中分享推播資訊的示意圖;第11圖為一個實施例中界面設計示意圖;第12圖為一個實施例中終端機與伺服器的交互流程示意圖;第13圖為一個實施例中基於即時通訊的資訊推播裝置的方塊圖;第14圖為另一個實施例中基於即時通訊的資訊推播裝置的方塊圖;第15圖為又一個實施例中基於即時通訊的資訊推播裝置的方塊圖;第16圖為再一個實施例中基於即時通訊的資訊推播裝置的方塊圖。 1 is an application scenario diagram of an instant messaging-based information push method in an embodiment; FIG. 2 is a block diagram of a terminal device in one embodiment; and FIG. 3 is an information broadcast based on instant messaging in an embodiment. FIG. 4A is a schematic diagram showing an interface for displaying push information in one embodiment; FIG. 4B is a schematic diagram showing an interface for displaying push information in another embodiment; FIG. 4C is a view showing a push broadcast in another embodiment. The interface diagram of the information; FIG. 5 is a schematic diagram showing the process of displaying the preview data in an embodiment; FIG. 6 is a diagram showing the continuous display of more preview data according to the operation of the user in the preset template interface in one embodiment. FIG. 7 is a schematic diagram showing a process of displaying specific content data in an embodiment; FIG. 8A is a schematic diagram of a first operation of a terminal machine receiving a preset template interface in an embodiment; FIG. 8B is an embodiment according to an embodiment; The first operation shows a schematic diagram of the specific content data; FIG. 9 is a schematic diagram of the flow of sharing the push information in one embodiment; and FIG. 10 is a shared push broadcast in one embodiment. Schematic diagram of information; FIG. 11 is a schematic diagram of interface design in one embodiment; FIG. 12 is a schematic diagram of interaction process between a terminal and a server in one embodiment; and FIG. 13 is an information pushing apparatus based on instant messaging in one embodiment Figure 14 is a block diagram of an information dissemination apparatus based on instant messaging in another embodiment; Fig. 15 is a block diagram of an information dissemination apparatus based on instant messaging in still another embodiment; In another embodiment, a block diagram of an instant messaging based information push device.

為了使本發明的目的、技術方案及優點更加清楚明白,以下結合圖式及實施例,對本發明進行進一步詳細說明。應當理解,此處所描 述的具體實施例僅用以解釋本發明,並不用於限定本發明。 In order to make the objects, the technical solutions and the advantages of the present invention more comprehensible, the present invention will be further described in detail below with reference to the drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

可以理解,本發明所使用的術語“第一”、“第二”等可在本文中用於描述各種元件,但這些元件不受這些術語限制。這些術語僅用於將第一個元件與另一個元件區分。舉例來說,在不脫離本發明的範圍的情況下,可以將第一客戶端稱為第二客戶端,且類似地,可將第二客戶端稱為第一客戶端。第一客戶端和第二客戶端兩者都是客戶端,但其不是同一客戶端。 It will be understood that the terms "first", "second" and the like, as used herein, may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first client may be referred to as a second client, and similarly, a second client may be referred to as a first client, without departing from the scope of the present invention. Both the first client and the second client are clients, but they are not the same client.

第1圖為一個實施例中基於即時通訊的資訊推播方法的應用場景圖。如第1圖所示,在一個實施例中,終端機10與伺服器20通過網路進行連接。終端機10擷取對話區域中的聊天訊息的關鍵詞,並將關鍵詞發送給伺服器20。終端機10從伺服器20獲得與關鍵詞匹配的推播資訊,並根據推播資訊選擇展示模板。終端機10根據選擇的展示模板對推播資訊進行重建,並在對應的預設模板界面中展示,該預設模板界面不遮擋對話區域。 FIG. 1 is an application scenario diagram of an information dissemination method based on instant messaging in an embodiment. As shown in FIG. 1, in one embodiment, the terminal 10 and the server 20 are connected via a network. The terminal 10 captures the keyword of the chat message in the conversation area and transmits the keyword to the server 20. The terminal 10 obtains the push information matching the keyword from the server 20, and selects the presentation template based on the push information. The terminal device 10 reconstructs the push information according to the selected display template, and displays it in the corresponding preset template interface, and the preset template interface does not block the dialog area.

第2圖為一個實施例中上述終端機10的方塊圖。如第2圖所示,該終端機10包括通過系統匯流排連接的處理器、非揮發性儲存媒體、內儲存器和網路界面、顯示螢幕和輸入裝置。其中,終端機10的非揮發性儲存媒體儲存有操作系統及電腦可執行指令,該電腦可執行指令被處理器執行時以實現本申請實施例中提供的適用於終端機10的一種基於即時通訊的資訊推播方法。該處理器用於提供計算和控制能力,支撐整個終端機10的運行。終端機10中的內儲存器為非揮發性儲存媒體中的電腦可執行指令的運行提供環境。網路界面用於與伺服器進行網路通信,如向伺服器發送 關鍵詞、從伺服器接收與關鍵詞匹配的推播資訊等。終端機10的顯示螢幕可以是液晶顯示螢幕或者電子墨水顯示螢幕等,輸入裝置可以是顯示螢幕上覆蓋的觸摸層,也可以是終端機10外殼上設置的按鍵、軌跡球或觸控板,也可以是外接的鍵盤、觸控板或滑鼠等。該終端機10可以是手機、平板電腦或者個人數位助理或穿戴式設備等。所屬技術領域中具有通常知識者可以理解,第2圖中示出的結構,僅僅是與本申請方案相關的部分結構的方塊圖,並不構成對本申請方案所應用於其上的終端機10的限定,具體的終端機10可以包括比圖中所示更多或更少的部件,或者組合某些部件,或者具有不同的部件佈置。 Figure 2 is a block diagram of the above terminal 10 in one embodiment. As shown in FIG. 2, the terminal 10 includes a processor coupled through a system bus, a non-volatile storage medium, an internal storage and network interface, a display screen, and an input device. The non-volatile storage medium of the terminal device 10 stores an operating system and computer executable instructions, and the computer executable instructions are executed by the processor to implement an instant messaging application for the terminal device 10 provided in the embodiment of the present application. Information dissemination method. The processor is used to provide computing and control capabilities to support the operation of the entire terminal 10. The internal storage in the terminal 10 provides an environment for the operation of computer executable instructions in the non-volatile storage medium. The network interface is used for network communication with the server, such as sending keywords to the server, receiving push information matching the keywords from the server, and the like. The display screen of the terminal 10 may be a liquid crystal display screen or an electronic ink display screen. The input device may be a touch layer covered on the display screen, or may be a button, a trackball or a touchpad provided on the outer casing of the terminal 10. It can be an external keyboard, trackpad or mouse. The terminal device 10 can be a mobile phone, a tablet computer, or a personal digital assistant or wearable device. It will be understood by those skilled in the art that the structure shown in FIG. 2 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute the terminal device 10 to which the present application is applied. By definition, a particular terminal 10 may include more or fewer components than shown, or some components may be combined, or have different component arrangements.

如第3圖所示,在一個實施例中,提供一種基於即時通訊的資訊推播方法,上述方法包括以下步驟: As shown in FIG. 3, in an embodiment, an information dissemination method based on instant messaging is provided, and the method includes the following steps:

步驟S310,擷取對話區域中的聊天訊息的關鍵詞。 Step S310, capturing keywords of the chat message in the conversation area.

用戶可通過終端機上安裝的即時通訊客戶端與其它用戶終端機進行對話,其中,對話可以是一對一的雙人對話,或是多人同時進行的群組對話,用戶可在即時通訊對話中傳遞文字、語音資訊,進行文件交流等。終端機可擷取對話區域中聊天訊息的關鍵詞,對話區域指的是進行對話的區域,一般可包括對話資訊展示框以及資訊輸入框,其中,聊天訊息可以是文字資訊或語音資訊等,也可以是視頻、圖片或文字文件等。 The user can talk to other user terminals through the instant messaging client installed on the terminal, wherein the conversation can be a one-to-one two-person conversation or a group conversation with multiple people at the same time, and the user can be in the instant messaging conversation. Transfer text, voice information, and exchange documents. The terminal can capture the keyword of the chat message in the conversation area, and the dialog area refers to the area where the conversation is performed, and generally includes a dialog information display box and an information input box, wherein the chat message can be text information or voice information, etc. It can be a video, a picture or a text file.

在一個實施例中,終端機觸發擷取聊天訊息的關鍵詞的時刻可包括接收其它用戶終端機發送的聊天訊息的時刻,以及當終端機發送聊天訊息的時刻等。當終端機接收其它用戶終端機發送的聊天訊息且展示在對話區域的對話訊息展示框時,可擷取該接收的聊天訊息的關鍵詞;當終 端機發送聊天訊息且展示在對話區域的對話資訊展示框時,可擷取該發送的聊天訊息的關鍵詞。進一步地,當用戶在對話區域的資訊輸入框中輸入聊天訊息時,可擷取該輸入的聊天訊息的關鍵詞。終端機可按照聊天訊息的時間先後順序擷取對應聊天訊息的關鍵詞,例如,終端機在第一時刻接收到其它用戶終端機發送的聊天訊息,則可先擷取該接收的聊天訊息的關鍵詞,在第二時刻獲得資訊輸入框中輸入的聊天訊息,再擷取該輸入的聊天訊息的關鍵詞等。 In one embodiment, the moment at which the terminal triggers the keyword capturing the chat message may include a moment of receiving a chat message sent by another user terminal, and a moment when the terminal sends the chat message. When the terminal receives the chat message sent by the other user terminal and displays the dialog message display box in the conversation area, the keyword of the received chat message can be retrieved; when the terminal sends the chat message and displays the dialog information in the conversation area When the box is displayed, the keywords of the sent chat message can be retrieved. Further, when the user inputs a chat message in the information input box of the conversation area, the keyword of the input chat message may be retrieved. The terminal device may retrieve keywords corresponding to the chat message according to the chronological order of the chat message. For example, if the terminal device receives the chat message sent by another user terminal device at the first moment, the key of the received chat message may be retrieved first. The word, in the second moment, obtains the chat message input in the information input box, and then retrieves the keyword of the input chat message.

在一個實例中,當終端機打開對話窗口時,對話區域的對話資訊展示框中可能展示有預設數量的歷史聊天訊息,終端機可擷取對話區域中展示的預設數量的歷史聊天訊息的關鍵詞,當預設數量的歷史聊天訊息包含的關鍵詞較多時,可選擇最後一條歷史聊天訊息擷取關鍵詞。可根據最近的歷史聊天訊息進行推播,當重新開啟對話窗口時,用戶無需重新輸入關鍵詞即可獲得推播資訊,更加方便快捷。 In an example, when the terminal opens the dialog window, a preset number of historical chat messages may be displayed in the dialog information display box of the dialog area, and the terminal may capture a preset number of historical chat messages displayed in the dialog area. Keywords: When a preset number of historical chat messages contain more keywords, the last historical chat message can be selected to capture keywords. It can be pushed according to the recent historical chat message. When the dialog window is reopened, the user can obtain the push information without re-entering the keyword, which is more convenient and quick.

在一個實施例中,終端機讀取對話區域中的聊天訊息,對聊天訊息進行分詞,並對分詞後的字詞進行字詞判定,確定劃分的每個字或詞的屬性,其中,每個字或詞的屬性指的是字或詞在句中的作用以及對應的詞性,作用可包括主詞、謂詞、受詞等,詞性可包括名詞、動詞、形容詞、副詞等。終端機確定劃分的每個字或詞的屬性後,可去掉其中不影響語義的單字或詞等,並根據預先設置的關鍵詞詞庫進行篩選,從而得到最終的關鍵詞。 In one embodiment, the terminal reads the chat message in the conversation area, classifies the chat message, and performs word determination on the word after the word segmentation, and determines the attribute of each word or word divided, wherein each The attribute of a word or a word refers to the role of a word or a word in a sentence and the corresponding part of speech. The functions may include a main word, a predicate, a received word, etc. The part of speech may include a noun, a verb, an adjective, an adverb, and the like. After the terminal determines the attributes of each word or word that is divided, the words or words that do not affect the semantics can be removed, and the keywords are sorted according to the preset keyword lexicon, thereby obtaining the final keyword.

在本實施例中,在預先設置的關鍵詞詞庫中可包括多個類別的關鍵詞,例如天氣、美食、明星、電影、音樂、科技、時尚、旅遊、星 座、行程表等,每個類別下可分別設置多個不同的關鍵詞,例如,美食類別下設置甜點、火鍋、咖啡、日料、牛排、辣、清淡等關鍵詞,明星類別下設置張三、李四、趙五等關鍵詞等。終端機可根據預先設置的關鍵詞詞庫對分詞的聊天訊息進行辨識,得到最終的關鍵詞。例如,聊天訊息為“我喜歡聽張三的歌”,分詞後可得到“我”、“喜歡”、“聽”、“張三”、“的”、“歌”,根據每個字詞的屬性可去掉其中的“我”、“聽”、“的”,並在預先設置的關鍵詞詞庫中進行查找,最終可得到關鍵詞包括“張三”、“歌”。 In this embodiment, a plurality of categories of keywords may be included in a preset keyword vocabulary, such as weather, food, star, movie, music, technology, fashion, travel, constellation, itinerary, etc., each category Different keywords can be set separately. For example, desserts, hot pot, coffee, Japanese food, steak, spicy, light and other keywords are set under the food category. Keywords such as Zhang San, Li Si and Zhao Wu are set under the star category. Wait. The terminal can identify the chat message of the word segmentation according to the preset keyword vocabulary to obtain the final keyword. For example, the chat message is "I like to listen to Zhang San's song", and after the word segmentation, I can get "I", "Like", "Listen", "Zhang San", "", "Song", according to each word. The attribute can be removed from "I", "Listen", "", and searched in the pre-set keyword vocabulary, and finally the keywords can be obtained including "Zhang San" and "Song".

步驟S320,從伺服器獲得與關鍵詞匹配的推播資訊。 In step S320, the push information matching the keyword is obtained from the server.

終端機可將從聊天訊息中擷取的關鍵詞發送至伺服器,進行AI(Artificial Intelligence,人工智慧)篩選,得到與關鍵詞匹配的推播資訊。不同類別的關鍵詞可接入不同的內外資料庫中,例如,行程表類別的關鍵詞可接入記錄用戶行程表資訊的資料庫中,美食類別的關鍵詞可接入大眾評價等儲存有大量餐廳資料的資料庫中,電影可接入視頻網站的資料庫等。伺服器接收終端機發送的關鍵詞後,可確定關鍵詞所屬的類別,並在該所屬的類別接入的資料庫中進行AI智慧搜索,篩選得到與關鍵詞匹配的推播資訊。 The terminal can send the keywords extracted from the chat message to the server, perform AI (Artificial Intelligence) screening, and obtain the push information matching the keyword. Different categories of keywords can be accessed in different internal and external databases. For example, keywords in the itinerary category can be accessed in a database that records user schedule information, and keywords in food categories can be accessed in public evaluations, etc. In the database of restaurant materials, movies can be accessed in the database of video websites. After receiving the keyword sent by the terminal, the server can determine the category to which the keyword belongs, and perform AI smart search in the database accessed by the category to filter and obtain the push information matching the keyword.

伺服器篩選與關鍵詞匹配的推播資訊的方式可根據關鍵詞所屬的類別進行變化,不同類別可分別設定不同的篩選策略。例如,美食類別,伺服器可根據終端機的使用場景進行餐廳推薦,獲得終端機的位置資訊,並根據位置資訊在接入的儲存有大量餐廳資料的資料庫中查詢與位置資訊對應的餐廳資料,並按照各個餐廳與位置資訊的距離遠近進行排序, 再將排序後的餐廳資料作為推播資訊發送至終端機;行程表類別,伺服器獲得接收關鍵詞的時間及終端機的用戶識別,在記錄用戶行程表資訊的資料庫中,根據該時間及用戶識別搜索一天內、一週內或一個月內等時間段的對應的行程表安排資料,並將行程表安排資料作為推播資訊發送至終端機等,但並不限於此。伺服器可根據與關鍵詞所屬的類別對應的篩選策略,在對應的資料庫中篩選得到與關鍵詞匹配的推播資訊,並將推播資訊發送給終端機。 The manner in which the server filters the push information matching the keyword may be changed according to the category to which the keyword belongs, and different categories may respectively set different screening strategies. For example, in the food category, the server can recommend the restaurant according to the usage scene of the terminal, obtain the location information of the terminal, and query the restaurant information corresponding to the location information in the accessed database storing a large amount of restaurant data according to the location information. And sorting according to the distance between each restaurant and the location information, and then sending the sorted restaurant information as the push information to the terminal; the schedule type, the time when the server obtains the keyword and the user identification of the terminal, Recording the information of the user's itinerary information, according to the time and user identification, searching for the corresponding schedule of the time of day, within a week or within a month, and transmitting the schedule information as the push information to the terminal Machine, etc., but not limited to this. The server may filter the push information matched with the keyword in the corresponding database according to the screening policy corresponding to the category to which the keyword belongs, and send the push information to the terminal.

在一個實施例中,關鍵詞詞庫針對每個類別,可分別設定多級關鍵詞,一級關鍵詞為表示範圍較大的詞,二級關鍵詞為進一步限定的詞……以此類推,逐級遞增,後面級別的關鍵詞相對於前面級別的關鍵詞,均是更為具體、聚焦的延伸詞彙。例如,美食類別下設定一級關鍵詞可包括美食、聚餐、吃飯、大餐、大吃一頓等表示範圍較大的詞,二級關鍵詞可包括辣、甜點、清淡、海鮮、日料、火鍋、燒烤等進一步限定的詞,三級關鍵詞則可為具體餐廳的名字例如海底撈、麥當勞等。終端機根據關鍵詞詞庫擷取聊天訊息中的關鍵詞後,若該關鍵詞為一級關鍵詞,在將一級關鍵詞發送給伺服器獲得匹配的推播資訊後,可繼續檢測預設條數聊天訊息中是否包含有後面級別的關鍵詞,例如二級關鍵詞等,若有,則將後面級別的關鍵詞繼續發送至伺服器,伺服器根據後面級別的關鍵詞對根據一級關鍵詞篩選得到的推播資訊進行進一步篩選,得到新的推播資訊。例如,終端機向伺服器發送關鍵詞為“張三”,則伺服器根據“張三”在明星類別中篩選與迪麗熱巴相關的新聞資訊推播給終端機,終端機在三條聊天訊息內辨識到關鍵詞“A節目”,則將“A節目”關鍵詞發送至伺服器,伺 服器在與張三相關的新聞資訊中篩選出張三與A節目相關的資訊,並發送給終端機。利用漸進篩選的原理,可保證篩選得到的推播資訊更加貼近用戶的需求,能更準確地推播用戶感興趣的內容。 In one embodiment, the keyword lexicon can set multiple levels of keywords for each category, the first level keywords are words with a larger range, the second level keywords are further defined words, and so on. The level is incremented, and the keywords at the later level are more specific and focused extension words than the keywords at the previous level. For example, the first-level keywords under the food category may include a wide range of words such as food, dinner, dinner, big meal, big meal, etc. The secondary keywords may include spicy, dessert, light, seafood, Japanese, hot pot. Further limited words such as barbecues, and third-level keywords can be the names of specific restaurants such as Haidilao and McDonald's. After the terminal machine retrieves the keyword in the chat message according to the keyword vocabulary, if the keyword is a first-level keyword, after the first-level keyword is sent to the server to obtain the matched push information, the terminal can continue to detect the preset number of pages. Whether the chat message includes a keyword of a later level, for example, a secondary keyword, and if so, the keyword of the subsequent level is further sent to the server, and the server selects the keyword according to the keyword of the later level according to the keyword of the first level. The push information is further filtered to get new push information. For example, if the terminal sends the keyword "Zhang San" to the server, the server selects the news information related to Dilizhba in the star category according to "Zhang San" to push the terminal information to the terminal, and the terminal is in three chat messages. After identifying the keyword "A program", the "A program" keyword is sent to the server, and the server filters out the information related to the A program in the news information related to Zhang San, and sends it to the terminal. By using the principle of progressive filtering, it is ensured that the pushed information obtained by the screening is closer to the user's needs, and the content of interest to the user can be more accurately pushed.

步驟S330,根據推播資訊選擇展示模板。 Step S330, selecting a presentation template according to the push information.

終端機接收由伺服器發送的推播資訊,可根據推播資訊所屬的類別選擇對應的展示模板,展示模板中定義了推播資訊的展示樣式,確定展示的各個元素,例如推播資訊中的圖片、文字等的排版佈局,不同的類別可設定不同的展示模板,使推播資訊的展示更具有多樣化。 The terminal receives the push information sent by the server, and selects a corresponding display template according to the category to which the push information belongs, displays a display style in which the push information is defined in the template, and determines various elements of the display, such as in the push information. The layout layout of pictures, texts, etc., different display templates can be set in different categories, so that the display of push information is more diverse.

步驟S340,根據展示模板對推播資訊進行重建,並在對應的預設模板界面中展示,預設模板界面不遮擋對話區域。 In step S340, the push information is reconstructed according to the display template, and displayed in the corresponding preset template interface, and the preset template interface does not block the dialog area.

終端機可根據選擇的展示模板對推播資訊進行重建,根據展示模板定義的展示樣式,對推播資訊中包含的各個元素資源進行排版,並在預設模板界面中進行展示,其中,預設模板界面指的是用於展示推播資訊的界面,在本實施例中,預設模板界面不遮擋對話區域,預設模板界面可在當前界面中任意不遮擋對話區域的預設區域,例如,在對話區域的下方或上方,在對話區域的左邊或右邊等。 The terminal device may reconstruct the push information according to the selected display template, and perform layout according to the display style defined by the display template, and display the element resources included in the push information, and display in the preset template interface, wherein, the preset The template interface refers to an interface for displaying the push information. In this embodiment, the preset template interface does not block the dialog area, and the preset template interface can arbitrarily block the preset area of the dialog area in the current interface, for example, Below or above the conversation area, on the left or right side of the conversation area.

第4A圖為一個實施例中展示推播資訊的界面示意圖。如第4A圖所示,終端機擷取對話區域402中聊天訊息的關鍵詞“美食”,並將關鍵詞“美食”發送至伺服器。伺服器在與美食類別對應的資料庫中根據關鍵詞“美食”及終端機的位置資訊篩選得到與終端機的位置資訊對應的餐廳資料,並將餐廳資料作為推播資訊發送至終端機。終端機接收伺服器發送的餐廳資料,根據餐廳資料所屬的美食類別選擇對應的展示模板,根 據展示模板對餐廳資料進行重建,對餐廳資料中包含的各個元素資源,例如餐廳的圖片、餐廳名稱等進行排版,並在預設模板界面404進行展示。在預設模板界面404中,每個餐廳的圖片被放入圓圈中,並在圓圈旁邊顯示對應的餐廳名稱,從左至右按與終端機的位置資訊的距離從近到遠展示。 FIG. 4A is a schematic diagram of an interface showing push information in one embodiment. As shown in FIG. 4A, the terminal captures the keyword "food" of the chat message in the conversation area 402 and sends the keyword "food" to the server. The server filters the restaurant information corresponding to the location information of the terminal according to the keyword "food" and the location information of the terminal in the database corresponding to the food category, and transmits the restaurant information as the push information to the terminal. The terminal receives the restaurant information sent by the server, selects a corresponding display template according to the food category to which the restaurant data belongs, reconstructs the restaurant data according to the display template, and uses various element resources included in the restaurant data, such as a restaurant picture, a restaurant name, etc. The layout is performed and displayed on the preset template interface 404. In the preset template interface 404, the picture of each restaurant is placed in a circle, and the corresponding restaurant name is displayed next to the circle, and the distance from the position information of the terminal is displayed from left to right from near to far.

第4B圖為另一個實施例中展示推播資訊的界面示意圖。如第4B圖所示,終端機擷取對話區域402中聊天訊息的關鍵詞“行程表”,並將關鍵詞“行程表”發送至伺服器。伺服器在與行程表類別對應的資料庫中根據接收關鍵詞“行程表”的時間及用戶識別篩選得到對應1週內的行程表資料,並將行程表資料作為推播資訊發送至終端機。終端機接收伺服器發送的行程表資料,根據行程表資料所屬的行程表類別選擇對應的展示模板,根據展示模板對行程表資料進行重建,對行程表資料中包含的各個元素資源,例如日期時間、行程安排等進行排版,並在預設模板界面404進行展示。在預設模板界面404中,中間展示有用戶需要查看的行程表,與用戶需要查看的行程表關聯的其它天的行程表按順序分別排布在兩側。 FIG. 4B is a schematic diagram of an interface showing push information in another embodiment. As shown in FIG. 4B, the terminal captures the keyword "stroke table" of the chat message in the conversation area 402, and transmits the keyword "stroke table" to the server. The server selects the schedule data corresponding to one week according to the time and user identification of the received keyword "stroke table" in the database corresponding to the schedule type, and sends the schedule information as the push information to the terminal. The terminal machine receives the schedule data sent by the server, selects a corresponding display template according to the schedule type to which the schedule data belongs, reconstructs the schedule data according to the display template, and uses various element resources included in the schedule data, such as date and time. The arrangement, the schedule, and the like are typeset and displayed on the preset template interface 404. In the preset template interface 404, a travel schedule that the user needs to view is displayed in the middle, and the travel schedules of other days associated with the travel schedule that the user needs to view are arranged on both sides in order.

第4C圖為又一個實施例中展示推播資訊的界面示意圖。如第4C圖所示,終端機擷取對話區域402中聊天訊息的關鍵詞“美食”,並將關鍵詞“美食”發送至伺服器。伺服器在與美食類別對應的資料庫中根據關鍵詞“美食”及終端機的位置資訊篩選得到與終端機的位置資訊對應的餐廳資料,並將餐廳資料作為推播資訊發送至終端機。終端機接收伺服器發送的餐廳資料,根據餐廳資料所屬的美食類別選擇對應的展示模板,根據展示模板對餐廳資料進行重建,對餐廳資料中包含的各個元素資源, 例如餐廳的圖片、餐廳名稱等進行排版,並在預設模板界面404進行展示。在預設模板界面404中,每個餐廳的圖片被放入圓圈中,並在圓圈旁邊顯示對應的餐廳名稱,從左至右按與終端機的位置資訊的距離從近到遠展示。 FIG. 4C is a schematic diagram showing an interface for displaying push information in still another embodiment. As shown in FIG. 4C, the terminal captures the keyword "food" of the chat message in the conversation area 402 and sends the keyword "food" to the server. The server filters the restaurant information corresponding to the location information of the terminal according to the keyword "food" and the location information of the terminal in the database corresponding to the food category, and transmits the restaurant information as the push information to the terminal. The terminal receives the restaurant information sent by the server, selects a corresponding display template according to the food category to which the restaurant data belongs, reconstructs the restaurant data according to the display template, and includes various element resources included in the restaurant data, such as a restaurant picture, a restaurant name, etc. The layout is performed and displayed on the preset template interface 404. In the preset template interface 404, the picture of each restaurant is placed in a circle, and the corresponding restaurant name is displayed next to the circle, and the distance from the position information of the terminal is displayed from left to right from near to far.

上述基於即時通訊的資訊推播方法,通過擷取聊天訊息的關鍵詞,從伺服器獲得與關鍵詞匹配的推播資訊,根據選擇的展示模板對推播資訊進行重建後,在對應的預設模板界面中展示,無需用戶提供關鍵詞,實時根據聊天訊息推播資訊,能夠精準推播用戶感興趣的內容。此外,預設模板界面不遮擋聊天區域,用戶無需跳轉當前的聊天界面獲得推播資訊,也不會打斷當前的聊天過程,使即時通訊更加便利、流暢,能夠提高用戶黏著度。 The above-mentioned information dissemination method based on instant messaging obtains the push information matched with the keyword from the server by extracting the keyword of the chat message, and reconstructs the push information according to the selected display template, in the corresponding preset Displayed in the template interface, the user does not need to provide keywords, and the information is pushed according to the chat message in real time, and the content of interest to the user can be accurately pushed. In addition, the preset template interface does not block the chat area, the user does not need to jump to the current chat interface to obtain the push information, and does not interrupt the current chat process, making the instant communication more convenient and smooth, and can improve the user adhesion.

如第5圖所示,在一個實施例中,在步驟S310擷取對話區域中的聊天訊息的關鍵詞之後,更包括以下步驟: As shown in FIG. 5, in an embodiment, after the keyword of the chat message in the conversation area is captured in step S310, the following steps are further included:

步驟S502,將關鍵詞發送至伺服器,以使伺服器確定關鍵詞所屬的類別,並根據類別選擇與所述關鍵詞匹配的資訊內容,然後根據資訊內容生成推播預覽資料。 Step S502, the keyword is sent to the server, so that the server determines the category to which the keyword belongs, and selects the information content that matches the keyword according to the category, and then generates the preview data according to the information content.

伺服器向終端機發送與關鍵詞匹配的推播資訊,其中,推播資訊可包括推播預覽資料及具體內容資料,推播預覽資料指的是與關鍵詞匹配的資訊內容的預覽資料,例如各條資訊內容的名稱、簡介等資訊,具體內容資料指的是每條資訊內容下的具體內容資訊。例如,伺服器向終端機推播與關鍵詞“美食”匹配的餐廳資料,推播資訊可包括各個餐廳的圖片、名稱、簡介等推播預覽資料,也可包括每個餐廳的具體菜肴、評價及 優惠資訊等具體內容資料。 The server sends the push information matching the keyword to the terminal device, wherein the push broadcast information may include the push preview data and the specific content data, and the push preview data refers to the preview data of the information content matched with the keyword, for example, The name, introduction and other information of each piece of information content. The specific content information refers to the specific content information under each piece of information content. For example, the server pushes the restaurant material matching the keyword “food” to the terminal device, and the push information may include the preview information of the pictures, names, profiles, etc. of each restaurant, and may also include specific dishes and evaluations of each restaurant. And specific information such as special offers.

步驟S504,從伺服器獲得與關鍵詞匹配的推播預覽資料。 Step S504, obtaining a push preview data matching the keyword from the server.

終端機將關鍵詞發送至伺服器,伺服器確定關鍵詞所屬的類別後,可在與該類別對應的資料庫中篩選與關鍵詞匹配的資訊內容,並根據資訊內容生成推播預覽資料。終端機接收與關鍵詞匹配的推播預覽資料,並根據與推播預覽資料對應的類別選擇與該類別匹配的展示模板,根據展示模板對推播預覽資料進行重建,對推播預覽資料中包含的各個元素資源進行排版,並在預設模板界面中進行展示。 The terminal sends the keyword to the server, and after determining the category to which the keyword belongs, the server may filter the information content matching the keyword in the database corresponding to the category, and generate the preview data according to the information content. The terminal machine receives the push preview data matching the keyword, and selects the display template matching the category according to the category corresponding to the push preview data, and reconstructs the push preview data according to the display template, and the preview data is included in the push preview data. The various element resources are typeset and displayed in the preset template interface.

步驟S506,根據與推播預覽資料對應的類別選擇與類別匹配的展示模板。 Step S506, selecting a display template that matches the category according to the category corresponding to the push preview data.

進一步地,預設模板界面中展示推播預覽資料,終端機可根據用戶在預設模板界面中的操作持續展示更多的推播預覽資料,其中,該操作可以是通過觸控預設模板界面對應的觸摸螢幕進行的滑動操作,也可以是通過手、滑鼠或觸控筆等輸入設備點擊拖曳預設模板界面的進度條的操作等。預設模板界面中展示的推播資訊可按照一定規則的排序方式進行排序展示,例如餐廳資料按照與終端機的位置資訊的距離由近至遠排序展示,天氣資料按照時間進行排序展示,行程表資料按照時間進行排序展示等,但不限於此。終端機可根據用戶在預設模板界面中的操作變換推播預覽資料的排序展示方式,其中,操作可以是預設手勢,例如通過手掌滑動預設模板界面,當終端機檢測到觸控面積大於閾值,且進行滑動時,則變更推播預覽資料的排序展示方式,或是其它的操作,例如長按預設模板界面的操作,也可以在預設模板界面中設置排序選項按鈕,根據點擊排序選 項按鈕觸發相應的排序方式。例如,餐廳資料按照與終端機的位置資訊的距離由近至遠排序展示,用戶通過長按預設模板界面,將餐廳資料按照用戶評價從高至低排序展示。 Further, the preset preview interface displays the push preview data, and the terminal device can continuously display more push preview data according to the operation of the user in the preset template interface, wherein the operation may be through the touch preset template interface. The sliding operation performed by the corresponding touch screen may also be an operation of clicking and dragging a progress bar of the preset template interface by an input device such as a hand, a mouse or a stylus. The push information displayed in the preset template interface can be sorted according to the order of certain rules. For example, the restaurant data is displayed in order from the distance to the location information of the terminal, and the weather data is sorted according to time. The data is sorted by time, etc., but is not limited to this. The terminal can change the display manner of the preview data according to the operation of the user in the preset template interface, wherein the operation may be a preset gesture, for example, sliding the preset template interface through the palm, when the terminal detects that the touch area is greater than Threshold, and when sliding, change the sorting display mode of the push preview data, or other operations, such as long press the preset template interface operation, or set the sort option button in the preset template interface, sort by click The option button triggers the corresponding sorting method. For example, the restaurant data is displayed in order from the distance to the location information of the terminal, and the user displays the restaurant data in descending order according to the user evaluation by long pressing the preset template interface.

第6圖為一個實施例中根據用戶在預設模板界面中的操作持續展示更多的推播預覽資料的示意圖。如第6圖所示,預設模板界面404中展示有包含多個餐廳圖片、名稱的推播預覽資訊,用戶可利用手勢在預設模板界面404進行向左滑動操作,當終端機接收到在預設模板界面404進行的向左滑動操作時,預設模板界面隨著手勢滑動持續展示更多的與餐廳相關的推播預覽資訊。 FIG. 6 is a schematic diagram of continuously displaying more preview preview data according to the operation of the user in the preset template interface in one embodiment. As shown in FIG. 6 , the preset template interface 404 displays push preview information including a plurality of restaurant pictures and names, and the user can perform a left sliding operation on the preset template interface 404 by using a gesture, when the terminal receives the When the slide operation is performed by the preset template interface 404, the preset template interface continuously displays more preview information related to the restaurant as the gesture slides.

在本實施例中,伺服器可先向終端機發送與關鍵詞匹配的推播預覽資料,減少推播資訊的資料傳輸量,使關鍵詞匹配的響應速度更快。 In this embodiment, the server may first send the push preview data matching the keyword to the terminal device, thereby reducing the data transmission amount of the push information, so that the response speed of the keyword matching is faster.

如第7圖所示,在一個實施例中,上述基於即時通訊的資訊推播方法,更包括以下步驟: As shown in FIG. 7, in an embodiment, the above-mentioned instant messaging-based information pushing method further includes the following steps:

步驟S702,根據對預設模板界面的第一操作獲得查看目標對象。 Step S702, obtaining a viewing target object according to the first operation on the preset template interface.

終端機的預設模板界面上可展示伺服器發送的與關鍵詞匹配的推播預覽資訊,用戶可通過點擊具體項,查看具體內容資料,其中,具體項指的是推播資訊中的具體項目,例如具體的餐廳、餐廳中的具體某道菜,與明星相關的具體新聞、具體的歌等。當終端機接收到用戶對預設模板界面進行的第一操作時,根據第一操作獲得查看目標對象,其中,第一操作可以是通過手指、觸控筆或滑鼠等輸入設備進行的點擊操作等。終端機可獲得查看目標對象的識別,每條與關鍵詞匹配的資訊內容都具有唯 一的識別,可以是資訊內容的名稱、編號等,例如餐廳的編號、明星的名字、電影的名字等。 The preset template interface of the terminal device can display the push preview information sent by the server and matched with the keyword, and the user can click on the specific item to view the specific content data, wherein the specific item refers to the specific item in the push information. For example, a specific restaurant, a specific dish in a restaurant, specific news related to a star, a specific song, and the like. When the terminal device receives the first operation performed by the user on the preset template interface, the viewing target object is obtained according to the first operation, wherein the first operation may be a click operation performed by an input device such as a finger, a stylus, or a mouse. Wait. The terminal can obtain the identification of the target object, and each piece of information content matching the keyword has a unique identification, which can be the name, number, and the like of the information content, such as the number of the restaurant, the name of the star, the name of the movie, and the like.

步驟S704,根據查看目標對象向所述伺服器發送內容查看請求,以使伺服器根據內容查看請求從與推播預覽資料關聯的層級資料中,獲得與查看目標對象對應的具體內容資料,並更新具體內容資料的傳輸優先權。 Step S704: Send a content viewing request to the server according to the viewing target object, so that the server obtains specific content data corresponding to the viewing target object from the hierarchical data associated with the preview preview data according to the content viewing request, and updates The transmission priority of the specific content data.

終端機的預設模板界面可展示多個內容層級的推播資訊,通常可為三個以內的內容層級,後面內容層級展示的內容均是前面內容層級展示的內容的細化,例如,預設模板界面展示與關鍵詞“美食”匹配的推播資訊,第一內容層級可展示包含各個餐廳圖片、名稱及簡介等資訊的推播預覽資料,第二內容層級可展示某個餐廳的菜單、評價、優惠資訊等,第三內容層級可展示該菜單中具體某道菜的介紹及價格等資訊,但不限於此。伺服器根據關鍵詞在對應的資料庫中篩選匹配的資訊內容後,根據資訊內容生成推播預覽資料,並向終端機發送推播預覽資料的同時,可根據資訊內容生成與推播預覽資料關聯的層級資料。當伺服器接收到終端機發送的內容查看請求時,可根據內容查看請求獲得查看目標對象的識別,並根據查看目標對象的識別直接從與推播預覽資料關聯的層級資料中獲得與查看目標對象對應的具體內容資料。 The preset template interface of the terminal can display the push information of multiple content levels, usually three levels of content, and the content displayed at the later content level is the refinement of the content displayed in the previous content level, for example, the preset The template interface displays the push information matching the keyword “Gourmet”. The first content level can display the push preview data including the information of each restaurant picture, name and profile. The second content level can display the menu and evaluation of a restaurant. , the preferential information, etc., the third content level can display the introduction and price of a certain dish in the menu, but is not limited to this. After filtering the matched information content in the corresponding database according to the keyword, the server generates the push preview data according to the information content, and sends the push preview data to the terminal device, and may generate the association with the push preview data according to the information content. Hierarchical data. When the server receives the content viewing request sent by the terminal, the device may obtain the identification of the viewing target object according to the content viewing request, and obtain and view the target object directly from the hierarchical data associated with the preview preview data according to the identification of the viewing target object. Corresponding specific content materials.

由於伺服器向終端機發送推播資訊是一個持續的過程,伺服器獲得與關鍵詞匹配的資訊內容後,可根據用戶的瀏覽情況選擇資料進行傳輸。當伺服器接收內容查看請求,並根據內容查看請求獲得對應的具體內容資料後,可更新具體內容資料的傳輸優先權,將具體內容資料的傳輸 優先權調至最高級別,即可使具體內容資料先於其它推播資訊傳送至終端機進行展示。 Since the server sends the push information to the terminal device is an ongoing process, after the server obtains the information content that matches the keyword, the data can be selected for transmission according to the user's browsing situation. After the server receives the content viewing request and obtains the corresponding specific content data according to the content viewing request, the transmission priority of the specific content data may be updated, and the transmission priority of the specific content data is adjusted to the highest level, so that the specific content data can be made. Before other broadcast information is transmitted to the terminal for display.

步驟S706,接收伺服器根據傳輸優先權發送的具體內容資料,並根據展示模板對具體內容資料進行重建,將預設模板界面中當前展示的資料切換為重建後的具體內容資料。 Step S706: Receive specific content data sent by the server according to the transmission priority, and reconstruct the specific content data according to the display template, and switch the currently displayed data in the preset template interface to the specific content data after the reconstruction.

終端機接收伺服器發送的具體內容資料後,可根據與關鍵詞所屬類別對應的展示模板對具體內容資料進行重建,按照展示模板中定義的展示樣式,對具體內容資料中包含的各個元素資源進行排版,並將預設模板界面中當前展示的資料切換為重建後的具體內容資料,其中,預設模板界面中當前展示的資料為具體內容資料的上一內容層級的相關資料。 After receiving the specific content data sent by the server, the terminal device may reconstruct the specific content data according to the display template corresponding to the category of the keyword, and perform the element resources included in the specific content data according to the display style defined in the display template. The typesetting is performed, and the currently displayed data in the preset template interface is switched to the specific content data after the reconstruction, wherein the data currently displayed in the preset template interface is related information of the previous content level of the specific content data.

第8A圖為一個實施例中終端機接收對預設模板界面的第一操作的示意圖,第8B圖為一個實施例中根據第一操作展示具體內容資料的示意圖。如第8A圖所示,終端機接收用戶對預設模板界面404的第一操作,根據第一操作確定查看目標對象為餐廳三,終端機向伺服器發送內容查看請求,從而獲得與餐廳三關聯的具體內容資料。終端機根據展示模板對餐廳三的具體內容資料進行重建,並將預設模板界面404中原本展示的各餐廳的圖片、名稱等資料切換為重建後的餐廳三的具體內容資料,具體展示可如第8B圖所示,預設模板界面404中展示了餐廳三的多種招牌菜的具體內容資料。 FIG. 8A is a schematic diagram of a first operation of the terminal machine receiving the preset template interface in an embodiment, and FIG. 8B is a schematic diagram showing the specific content data according to the first operation in an embodiment. As shown in FIG. 8A, the terminal device receives the first operation of the user on the preset template interface 404, and determines that the viewing target object is the restaurant three according to the first operation, and the terminal device sends a content viewing request to the server, thereby obtaining the association with the restaurant 3. Specific content information. The terminal device reconstructs the specific content data of the restaurant 3 according to the display template, and switches the image, name and other materials of the original restaurant displayed in the preset template interface 404 to the specific content data of the reconstructed restaurant 3, and the specific display may be as follows. As shown in FIG. 8B, the preset template interface 404 displays specific content materials of various signature dishes of the restaurant three.

在一個實施例中,當終端機接收到對預設模板界面的返回操作時,可根據返回操作返回上一內容層級,將預設模板界面展示的具體內容資料切換為上一內容層級的資料。可在預設模板界面中設置返回按鈕, 返回操作可以是點擊返回按鈕,也可以是預設的返回手勢,例如長按預設模板界面達到預設時間並向下滑動,則返回上一內容層級,並不限於此。 In an embodiment, when the terminal device receives the return operation to the preset template interface, the terminal may return to the previous content level according to the return operation, and switch the specific content data displayed by the preset template interface to the data of the previous content level. The return button can be set in the preset template interface. The return operation can be a click back button or a preset return gesture. For example, long press the preset template interface to reach the preset time and slide down to return to the previous content level. Not limited to this.

在本實施例中,伺服器向終端機發送推播預覽資料時,即生成關聯的層級資料,當接收到內容查看請求時,即可根據內容查看請求篩選對應的具體內容資料,並更新具體內容資料的傳輸優先權,可使終端機更加快速地獲得所需查看的具體內容資料。 In this embodiment, when the server sends the preview data to the terminal, the associated hierarchical data is generated. When the content viewing request is received, the corresponding specific content data may be filtered according to the content viewing request, and the specific content is updated. The transmission priority of the data enables the terminal to obtain the specific content data that needs to be viewed more quickly.

如第9圖所示,在一個實施例中,上述基於即時通訊的資訊推播方法,更包括以下步驟: As shown in FIG. 9, in an embodiment, the above-mentioned instant messaging-based information dissemination method further includes the following steps:

步驟S902,根據對預設模板界面的第二操作確定分享目標對象。 Step S902, determining a sharing target object according to a second operation on the preset template interface.

用戶可通過選擇預設模板界面上的推播資訊,分享給對話區域中的其他對話用戶。當終端機接收到對預設模板界面的第二操作時,可根據第二操作確定分享目標對象,並獲得分享目標對象的識別,其中,第二操作可為分享操作的前置操作,用於生成分享的結構化資料,也可以直接作為分享操作,生成結構化資料後直接進行分享。 The user can share the other conversation users in the conversation area by selecting the push information on the preset template interface. When the terminal device receives the second operation of the preset template interface, the sharing target object may be determined according to the second operation, and the identification of the sharing target object is obtained, wherein the second operation may be a pre-operation of the sharing operation, and used for Generate shared structured data, or directly as a sharing operation, generate structured data and share directly.

分享操作可預先進行設置,例如,可以在預設模板界面上設置分享按扭,當用戶通過滑鼠右鍵選中推播資訊的具體項時,顯示分享按鈕,當點擊分享按鈕時即可觸發分享操作,則第二操作即為對具體項的分享按鈕進行的點擊操作;也可以是預設的手勢,例如長按具體項大於或等於預設時間值,並拖曳至對話區域,則第二操作可為手或滑鼠等的長按操作,用於生成結構化資料。具體的分享操作可根據需求進行設定,並不限於此。 The sharing operation can be set in advance. For example, the sharing button can be set on the preset template interface. When the user selects the specific item of the push information through the right mouse button, the sharing button is displayed, and when the sharing button is clicked, the sharing can be triggered. In operation, the second operation is a click operation on a sharing button of a specific item; or a preset gesture, such as long pressing a specific item greater than or equal to a preset time value, and dragging to the dialogue area, then the second operation It can be used for long-pressing operations such as hand or mouse to generate structured data. The specific sharing operation can be set according to requirements, and is not limited to this.

進一步地,進行分享的具體項可以是推播資訊中的任意具體項目,而分享目標對象一般可為一條完整的資訊內容,例如,當用戶對具體的餐廳或該餐廳中的具體某道菜進行第二操作時,其對應的分享目標對象均是包含該餐廳所有資訊的具體內容資料。 Further, the specific item to be shared may be any specific item in the push information, and the sharing target object may generally be a complete information content, for example, when the user conducts a specific restaurant or a specific dish in the restaurant. In the second operation, the corresponding sharing target objects are specific content materials including all the information of the restaurant.

步驟S904,從伺服器獲得與分享目標對象匹配的具體內容資料。 Step S904, obtaining specific content data matching the sharing target object from the server.

終端機可根據分享目標對象的識別向伺服器發送內容獲得請求,伺服器根據內容獲得請求獲得分享目標對象的識別,並根據分享目標對象的識別直接從與推播預覽資料關聯的層級資料中獲得與分享目標對象對應的具體內容資料,並更新與分享目標對象對應的具體內容資料的傳輸優先權,將與分享目標對象對應的具體內容資料的傳輸優先權變為最高優先權,優先將與分享目標對象對應的具體內容資料發送給終端機。 The terminal device may send a content obtaining request to the server according to the identification of the sharing target object, and the server obtains the identification of the sharing target object according to the content obtaining request, and obtains directly from the hierarchical data associated with the push preview data according to the identification of the sharing target object. The specific content data corresponding to the shared target object is updated, and the transmission priority of the specific content data corresponding to the shared target object is updated, and the transmission priority of the specific content data corresponding to the shared target object is changed to the highest priority, and the priority is shared with the target. The specific content data corresponding to the object is sent to the terminal.

步驟S906,按照與推播資訊對應的訊息樣式對與分享目標對象匹配的具體內容資料進行重建,生成結構化訊息。 Step S906, reconstructing specific content data that matches the sharing target object according to the message pattern corresponding to the push information, and generating a structured message.

終端機接收由伺服器發送的與分享目標對象對應的具體內容資料,可根據關鍵詞所屬的類別選擇對應的訊息樣式,訊息樣式中定義了推播資訊進行分享時的具體展示樣式及資料結構。終端機可根據選擇的訊息樣式對與分享目標對象匹配的具體內容資料進行重建,按照訊息樣式定義的展示樣式及資料結構從與分享目標對象對應的具體內容資料中選擇對應的元素資源進行處理,生成結構化訊息。例如,與美食類別對應的訊息樣式中定義的資料結構中包括餐廳的名稱、圖片、地址資訊,與明星類別對應的訊息樣式定義的資料結構中包括明星名字、圖片,與電影對應的 訊息樣式定義的資料結構中包括電影名字、主演、簡介及圖片等,並可根據不同類別的需求定義不同的展示樣式。 The terminal device receives the specific content data corresponding to the sharing target object sent by the server, and selects a corresponding message style according to the category to which the keyword belongs. The message style defines a specific display style and data structure when the push information is shared. The terminal device can reconstruct the specific content data that matches the sharing target object according to the selected message style, and select corresponding element resources from the specific content data corresponding to the sharing target object according to the display style and data structure defined by the message style, Generate structured messages. For example, the data structure defined in the message style corresponding to the food category includes the name, picture, and address information of the restaurant, and the data structure defined by the message style corresponding to the star category includes the star name, the picture, and the message style definition corresponding to the movie. The data structure includes the movie name, starring, introduction and picture, and can define different display styles according to the needs of different categories.

步驟S908,當接收到第三操作時,將結構化訊息發送給與對話區域對應的用戶終端機。 Step S908, when the third operation is received, the structured message is sent to the user terminal corresponding to the conversation area.

終端機根據第二操作生成待分享的結構化資料,當接收到第三操作時,其中,第三操作可以是拖曳操作或是點擊等觸發操作。在一個實施例中,若第三操作為拖曳操作,終端機可監聽抬起事件,若抬起事件的抬起坐標點位於對話區域,則將結構化訊息發送給與對話區域對應的用戶終端機,若對話區域中進行的是一對一對話,則將結構化訊息發送給對應的用戶終端機,若對話區域中進行的是多人對話,則可將結構化訊息發送給所有參與對話的用戶終端機。若抬起事件的抬起坐標點位於預設模板界面,則取消發送,不進行推播資訊分享。在一個實施例中,若第三操作為拖曳操作,可獲得拖曳的距離及方向,若拖曳的方向為向對話區域移動的方向且距離超過預設距離,則將結構化訊息發送給與對話區域對應的用戶終端機等,但不限於此。 The terminal device generates the structured data to be shared according to the second operation. When the third operation is received, the third operation may be a trigger operation such as a drag operation or a click. In an embodiment, if the third operation is a drag operation, the terminal device can monitor the lifting event, and if the lifting coordinate point of the lifting event is located in the conversation area, the structured message is sent to the user terminal corresponding to the dialogue area. If a one-to-one conversation is performed in the conversation area, the structured message is sent to the corresponding user terminal, and if a multi-person conversation is performed in the conversation area, the structured message can be sent to all users participating in the conversation. Terminal. If the lifting coordinate point of the lifting event is located on the preset template interface, the sending is canceled, and the push information sharing is not performed. In one embodiment, if the third operation is a drag operation, the distance and direction of the drag can be obtained. If the direction of the drag is the direction of moving to the dialog area and the distance exceeds the preset distance, the structured message is sent to the dialog area. Corresponding user terminal, etc., but is not limited thereto.

第10圖為一個實施例中分享推播資訊的示意圖。如第10圖所示,用戶可先在預設模板界面404上長按餐廳一的具體項,終端機根據長按操作獲得餐廳一的具體內容資料,並選擇與美食類別對應的訊息樣式對餐廳一的具體內容資料進行重建,生成結構化資料。用戶通過將餐廳一的具體項拖曳至對話區域402,終端機監聽到抬起事件的抬起坐標點位於對話區域402,則將結構化資料發送給對話的用戶終端機,並按照訊息樣式在對話區域中以卡片的形式展示分享的餐廳一資料1002。 Figure 10 is a schematic diagram of sharing push information in one embodiment. As shown in FIG. 10, the user may first press a specific item of the restaurant one on the preset template interface 404, and the terminal machine obtains the specific content data of the restaurant 1 according to the long press operation, and selects the message style corresponding to the food category to the restaurant. The specific content of one is reconstructed to generate structured data. The user drags the specific item of the restaurant one to the conversation area 402, and the terminal monitors that the lifting coordinate point of the lifting event is located in the conversation area 402, and then sends the structured data to the user terminal of the conversation, and the conversation is in accordance with the message style. The shared restaurant information 1002 is displayed in the form of a card in the area.

在本實施例中,用戶可根據需求選擇推播資訊發送給對話的其它用戶終端機,幫助用戶更快瞭解感興趣的內容,保證即時通訊的質量,能夠提高用戶黏著度。 In this embodiment, the user can select the push information to be sent to other user terminals of the conversation according to the requirements, help the user to better understand the content of interest, ensure the quality of instant communication, and improve the user adhesion.

在一個實施例中,在步驟S340根據展示模板對推播資訊進行重建,並在對應的預設模板界面中展示,預設模板界面不遮擋對話區域之前,更包括:按照預設方式喚起預設模板界面,並將預設模板界面覆蓋在虛擬鍵盤上。 In an embodiment, the push information is reconstructed according to the display template in step S340, and is displayed in the corresponding preset template interface. Before the preset template interface does not block the dialog area, the method further includes: activating the preset according to a preset manner. Template interface and overlay the preset template interface on the virtual keyboard.

在步驟S340之後,更包括:根據對對話區域的第四操作使預設模板界面處於不可見狀態,並重新展示虛擬鍵盤。 After step S340, the method further includes: placing the preset template interface in an invisible state according to the fourth operation on the dialog area, and redisplaying the virtual keyboard.

終端機擷取對話區域中聊天訊息的關鍵詞後,可按預設方式喚起預設模板界面,並將預設模板界面覆蓋在界面中原本展示的虛擬鍵盤上,其中,喚起指的是使預設模板界面處於可見狀態,喚起方式可根據需要預先進行設置,例如,以切換效果從下往上喚起預設模板界面、直接在虛擬鍵盤上以百葉窗的格式展示預設模板界面、從上往下飛入預設模板界面並覆蓋在虛擬鍵盤上等。 After the terminal captures the keyword of the chat message in the conversation area, the preset template interface may be evoked according to a preset manner, and the preset template interface is overlaid on the virtual keyboard originally displayed in the interface, wherein the evoke refers to making the pre- The template interface is in a visible state, and the evoke mode can be set in advance according to requirements. For example, the preset template interface is evoked from the bottom up by the switching effect, and the preset template interface is displayed in the form of a louver directly on the virtual keyboard, from top to bottom. Fly into the preset template interface and overlay on the virtual keyboard.

終端機在預設模板界面中展示推播資訊,當接收到用戶對對話區域的第四操作時,其中,第四操作可以是對對話區域中的對話資訊展示框或資訊輸入框等的點擊操作等,則根據對對話區域的第四操作使預設模板界面處於不可見狀態。使預設模板界面處於不可見狀態的方式也可根據需求進行設定,例如,以切換效果從上往下移出預設模板界面,使預設模板界面變成隱藏狀態等,並重新展示虛擬鍵盤,方便用戶輸入聊天訊息。 The terminal device displays the push information in the preset template interface. When receiving the fourth operation of the user in the dialog area, the fourth operation may be a click operation on the dialog information display box or the information input box in the dialog area. Etc., the preset template interface is invisible according to the fourth operation on the dialog area. The way to make the preset template interface invisible can also be set according to requirements. For example, the switching effect is removed from the top to the preset template interface, the preset template interface is changed to a hidden state, and the virtual keyboard is redisplayed. The user enters a chat message.

進一步地,終端機的界面設計可分為三層,一層為預設模板 界面,一層為虛擬鍵盤,一層為對話窗口,其中,對話窗口指的是進行對話的整個窗口,可包括對話區域、連絡人區域或是對話形象展示區域等。可如第11圖所示,第11圖為一個實施例中界面設計示意圖,對話窗口1106位於底層,預設模板界面1102及虛擬鍵盤1104位於對話窗口上方,並根據需求進行切換,當終端機需要展示推播資訊時,預設模板界面1102即位於虛擬鍵盤1104的上方,若用戶選擇取消展示推播資訊,則虛擬鍵盤1104位於預設模板界面1102的上方。 Further, the interface design of the terminal can be divided into three layers, one layer is a preset template interface, one layer is a virtual keyboard, and one layer is a dialog window, wherein the dialog window refers to an entire window for conducting a dialogue, which may include a dialogue area and a contact. Human area or dialogue image display area. As shown in FIG. 11, FIG. 11 is a schematic diagram of interface design in an embodiment. The dialog window 1106 is located at the bottom layer, and the preset template interface 1102 and the virtual keyboard 1104 are located above the dialog window, and are switched according to requirements, when the terminal needs When the push information is displayed, the preset template interface 1102 is located above the virtual keyboard 1104. If the user chooses to cancel the display of the push information, the virtual keyboard 1104 is located above the preset template interface 1102.

在一個實施例中,在步驟S310擷取對話區域中的聊天訊息的關鍵詞之後,更包括:通過預設樣式對關鍵詞進行標記。 In an embodiment, after the keyword of the chat message in the conversation area is captured in step S310, the method further includes: marking the keyword by using a preset style.

終端機擷取對話區域中的聊天訊息的關鍵詞後,可通過預設樣式對關鍵詞進行標記,其中,預設樣式可包括將關鍵詞加粗、在關鍵詞下添加下劃線、對關鍵詞填充顏色等中的一種或多種,但並不限於此。對關鍵詞進行標記後,若終端機從伺服器獲得與關鍵詞匹配的推播資訊後,可建立標記的關鍵詞與推播資訊之間的鏈接,當取消展示預設模板界面及推播資訊後,可通過觸發關鍵詞與推播資訊之間的鏈接重新喚起預設模板界面,並在預設模板界面中展示匹配的推播資訊,無需伺服器多次進行智慧篩選,可降低伺服器壓力,並提高推播資訊的展示速度。 After the terminal captures the keyword of the chat message in the conversation area, the keyword may be marked by a preset style, wherein the preset style may include thickening the keyword, adding an underline under the keyword, and filling the keyword One or more of colors and the like, but is not limited thereto. After the keyword is marked, if the terminal obtains the push information matching the keyword from the server, the link between the tagged keyword and the push information can be established, and the preset template interface and the push information are cancelled. After that, the preset template interface can be re-initiated by triggering the link between the keyword and the push information, and the matching push information is displayed in the preset template interface, and the server is not required to perform the smart screening multiple times, thereby reducing the server pressure. And improve the speed of the push information.

在本實施例中,預設模板界面可根據需求與虛擬鍵盤進行切換展示,更加貼合用戶的日常輸入習慣,使即時通訊更加便利、流暢,能夠提高用戶黏著度。 In this embodiment, the preset template interface can be switched and displayed according to the requirements and the virtual keyboard, which is more suitable for the user's daily input habits, makes the instant communication more convenient and smooth, and can improve the user adhesion.

在一個實施例中,上述基於即時通訊的資訊推播方法,更包括:根據選擇操作確定對應的推薦程度選項,並根據推薦程度選項開啟對 應的推播方式。 In an embodiment, the instant messaging-based information push method further includes: determining a corresponding recommendation degree option according to the selection operation, and starting a corresponding push mode according to the recommendation degree option.

推薦程度選項可根據需求進行設定,在本實施例中,推薦程式選項可包括實時推薦、提示推薦及不推薦,其中,實時推薦指的是終端機只要辨識到聊天訊息中的關鍵詞即進行推播資訊展示;提示推薦指的是終端機辨識到聊天訊息中的關鍵詞後,只按照預設樣式對關鍵詞進行標記,對用戶進行提示,當接收到用戶對關鍵詞的觸發操作時,再從伺服器獲得匹配的推播資訊進行展示;不推薦指的是終端機不對聊天訊息中的關鍵詞進行辨識,不進行推播資訊展示。 The recommendation level option can be set according to requirements. In this embodiment, the recommended program option may include real-time recommendation, prompt recommendation, and no recommendation. The real-time recommendation means that the terminal only pushes the keyword in the chat message to push. Broadcast information display; prompt recommendation means that after the terminal recognizes the keyword in the chat message, the keyword is only marked according to the preset style, and the user is prompted, when receiving the trigger operation of the keyword by the user, The matching push information is obtained from the server for display; the recommendation is that the terminal does not recognize the keywords in the chat message, and does not display the push information.

在其它的實施例中,推薦程度選項還可以是各類別的推薦開關,例如,用戶可根據需要僅選擇美食類別與明星類別進行推播,當終端機辨識到聊天訊息中屬上述兩個類別的關鍵詞時,即展示匹配的推播資訊,若辨識到不屬上述兩個類別的關鍵詞,則不從伺服器獲得推播資訊進行展示。 In other embodiments, the recommendation level option may also be a recommendation switch of each category. For example, the user may select only the food category and the star category to be pushed according to the need, and when the terminal recognizes the chat message, the two categories belong to the above two categories. When the keyword is displayed, the matching push information is displayed. If the keywords that are not in the above two categories are recognized, the push information is not obtained from the server for display.

在本實施例中,用戶可根據需求選擇所需的推薦程度選項,從而按照對應的推播方式進行推播,更貼合用戶需求,能夠提高用戶黏著度。 In this embodiment, the user can select a desired recommendation degree option according to the requirement, so that the user can perform the push according to the corresponding push mode, which is more suitable for the user's needs, and can improve the user's adhesion.

第12圖為一個實施例中終端機與伺服器的交互流程示意圖。如第12圖所示,上述基於即時通訊的資訊推播方法,終端機與伺服器包括以下交互步驟: Figure 12 is a flow chart showing the interaction between the terminal and the server in one embodiment. As shown in FIG. 12, the above-mentioned instant messaging-based information dissemination method, the terminal and the server include the following interactive steps:

步驟S1202,終端機擷取對話區域中的聊天訊息的關鍵詞,並發送關鍵詞給伺服器。 In step S1202, the terminal captures the keyword of the chat message in the conversation area and sends the keyword to the server.

步驟S1204,伺服器判斷是否已有匹配資料庫,若是,則執 行步驟S1208,若否,則執行步驟S1206。 In step S1204, the server determines whether there is a matching database, and if so, proceeds to step S1208, and if not, proceeds to step S1206.

步驟S1206,伺服器搜索資料。 In step S1206, the server searches for data.

步驟S1208,伺服器選擇與關鍵詞匹配的資訊內容。 In step S1208, the server selects the information content that matches the keyword.

步驟S1210,終端機通過預設樣式對關鍵詞進行標記。 In step S1210, the terminal machine marks the keyword by using a preset style.

步驟S1212,終端機按照預設方式喚起預設模板界面。 In step S1212, the terminal device evokes the preset template interface according to a preset manner.

步驟S1214,伺服器根據資訊內容生成推播預覽資料,並發送給終端機。 In step S1214, the server generates a push preview data according to the information content, and sends the preview data to the terminal.

步驟S1216,伺服器生成與推播預覽資料關聯的層級資料,並發送給終端機。 In step S1216, the server generates hierarchical data associated with the push preview data, and sends the data to the terminal.

步驟S1218,終端機根據展示模板對推播資訊進行重建,並在對應的預設模板界面中展示。 In step S1218, the terminal device reconstructs the push information according to the display template, and displays the corresponding push template interface.

步驟S1220,終端機根據用戶操作展示所需查看的具體內容資料,向伺服器發送請求。 In step S1220, the terminal device displays the specific content data to be viewed according to the user operation, and sends a request to the server.

步驟S1222,伺服器根據請求獲得對應的具體內容資料,並發送給終端機。 In step S1222, the server obtains the corresponding specific content data according to the request, and sends the corresponding content data to the terminal.

步驟S1224,終端機按照訊息樣式對具體內容資料進行重建,生成結構化訊息。 In step S1224, the terminal device reconstructs the specific content data according to the message pattern to generate a structured message.

終端機擷取對話區域中的聊天訊息的關鍵詞,並將關鍵詞發送至伺服器。伺服器確定關鍵詞所屬類別,並判斷是否已有與關鍵詞所屬類別匹配的資料庫,若有匹配的資料庫,則從匹配的資料庫中篩選得到與關鍵詞匹配的資訊內容,若沒有匹配的資料庫,則搜索是否儲存有與關鍵詞關聯的陳舊推播資訊,若有,則從與關鍵詞關聯的陳舊推播資訊篩選匹 配的資訊內容。伺服器根據篩選得到的與關鍵詞匹配的資訊內容生成推播預覽資料,同時,生成與推播預覽資料關聯的層級資料,伺服器可將推播預覽資料發送給終端機。終端機擷取關鍵詞後,可通過預設樣式對關鍵詞進行標記,並按照預設方式喚起預設模板界面。當終端機接收到伺服器發送的推播資訊後,可根據關鍵詞所屬的類別選擇對應的展示模板,並根據展示模板對推播資訊進行重建,並在對應的預設模板界面中進行展示。終端機可根據用戶操作向伺服器發送具體的請求,可包括內容查看請求及內容獲得請求,伺服器根據終端機發送的具體請求從與推播預覽資料關聯的層級資料中獲得對應的具體內容資料,並更新具體內容資料的傳輸優先權。終端機接收伺服器根據傳輸優先權發送的具體內容資料,在預設模板界面中進行展示,並可根據用戶操作按照訊息對具體內容資料進行重建,重成結構化訊息,將結構化訊息發送給對話區域中參與對話的其它用戶終端機,實現推播資訊的分享。 The terminal captures the keyword of the chat message in the conversation area and sends the keyword to the server. The server determines the category of the keyword, and determines whether there is a database matching the category of the keyword. If there is a matching database, the information content matching the keyword is filtered from the matched database, if there is no match The database searches for the presence of stale push information associated with the keyword, and if so, filters the matching information content from the stale push information associated with the keyword. The server generates a push preview data according to the filtered information content matched by the keyword, and at the same time, generates a hierarchical data associated with the push preview data, and the server can send the push preview data to the terminal. After the terminal captures the keyword, the keyword can be marked by the preset style, and the preset template interface is evoked according to a preset manner. After receiving the push information sent by the server, the terminal device may select a corresponding display template according to the category to which the keyword belongs, and reconstruct the push information according to the display template, and display it in the corresponding preset template interface. The terminal device may send a specific request to the server according to the user operation, and may include a content viewing request and a content obtaining request, and the server obtains the corresponding specific content data from the hierarchical data associated with the push preview data according to the specific request sent by the terminal device. And update the transmission priority of the specific content material. The terminal receives the specific content data sent by the server according to the transmission priority, displays it in the preset template interface, and reconstructs the specific content data according to the user operation, re-forms the structured message, and sends the structured message to the Other user terminals participating in the dialogue in the dialogue area realize the sharing of push information.

可以理解地,上述終端機與伺服器的交互過程不一定按照第12圖所示的執行順序進行,也可以採用其它的順序步驟進行交互。 It can be understood that the interaction process between the terminal device and the server is not necessarily performed in the execution order shown in FIG. 12, and other sequential steps may be used for interaction.

在本實施例中,無需用戶提供關鍵詞,實時根據聊天訊息推播資訊,能夠精準推播用戶感興趣的內容。此外,用戶可根據需求選擇所需的推薦程度選項,從而按照對應的推播方式進行推播,更貼合用戶需求,能夠提高用戶黏著度。 In this embodiment, the user does not need to provide keywords, and the information is pushed according to the chat message in real time, so that the content of interest to the user can be accurately pushed. In addition, the user can select the desired recommendation level option according to the demand, so as to push according to the corresponding push mode, which is more suitable for the user's needs and can improve the user adhesion.

如第13圖所示,在一個實施例中,提供一種基於即時通訊的資訊推播裝置1300,包括擷取模組1310、獲得模組1320、選擇模組1330及展示模組1340。 As shown in FIG. 13 , in one embodiment, an instant messaging-based information push device 1300 is provided, including a capture module 1310 , an acquisition module 1320 , a selection module 1330 , and a display module 1340 .

擷取模組1310,用於擷取對話區域中的聊天訊息的關鍵詞。 The capture module 1310 is configured to capture keywords of the chat message in the conversation area.

獲得模組1320,用於從伺服器獲得與關鍵詞匹配的推播資訊。 The obtaining module 1320 is configured to obtain, from the server, the push information that matches the keyword.

選擇模組1330,用於根據推播資訊選擇展示模板。 The selection module 1330 is configured to select a presentation template according to the push information.

展示模組1340,用於根據展示模板對推播資訊進行重建,並在對應的預設模板界面中展示,預設模板界面不遮擋所述對話區域。 The display module 1340 is configured to reconstruct the push information according to the display template and display the corresponding preset template interface, and the preset template interface does not block the dialog area.

上述基於即時通訊的資訊推播裝置,通過擷取聊天訊息的關鍵詞,從伺服器獲得與關鍵詞匹配的推播資訊,根據選擇的展示模板對推播資訊進行重建後,在對應的預設模板界面中展示,無需用戶提供關鍵詞,實時根據聊天訊息推播資訊,能夠精準推播用戶感興趣的內容。此外,預設模板界面不遮擋聊天區域,用戶無需跳轉當前的聊天界面獲得推播資訊,也不會打斷當前的聊天過程,使即時通訊更加便利、流暢,能夠提高用戶黏著度。 The above-mentioned information dissemination device based on instant messaging obtains the push information matched with the keyword from the server by capturing the keyword of the chat message, and reconstructs the push information according to the selected display template, and correspondingly presets Displayed in the template interface, the user does not need to provide keywords, and the information is pushed according to the chat message in real time, and the content of interest to the user can be accurately pushed. In addition, the preset template interface does not block the chat area, the user does not need to jump to the current chat interface to obtain the push information, and does not interrupt the current chat process, making the instant communication more convenient and smooth, and can improve the user adhesion.

如第14圖所示,在一個實施例中,上述基於即時通訊的資訊推播裝置1300,除了包括擷取模組1310、獲得模組1320、選擇模組1330及展示模組1340,更包括第一發送模組1350。 As shown in FIG. 14, in one embodiment, the instant messaging-based information pushing device 1300 includes a capture module 1310, an obtaining module 1320, a selection module 1330, and a display module 1340, and includes A transmitting module 1350.

第一發送模組1350,用於將關鍵詞發送至伺服器,以使伺服器確定關鍵詞所屬的類別,並根據類別選擇與關鍵詞匹配的資訊內容,然後根據資訊內容生成推播預覽資料。 The first sending module 1350 is configured to send the keyword to the server, so that the server determines the category to which the keyword belongs, and selects the information content that matches the keyword according to the category, and then generates the push preview data according to the information content.

獲得模組1320,更用於從伺服器獲得與關鍵詞匹配的推播預覽資料。 The obtaining module 1320 is further configured to obtain a preview preview data matching the keyword from the server.

選擇模組1330,更用於根據與推播預覽資料對應的類別選擇與類別匹配的展示模板。 The selection module 1330 is further configured to select a presentation template that matches the category according to the category corresponding to the preview preview data.

在本實施例中,伺服器可先向終端機發送與關鍵詞匹配的推播預覽資料,減少推播資訊的資料傳輸量,使關鍵詞匹配的響應速度更快。 In this embodiment, the server may first send the push preview data matching the keyword to the terminal device, thereby reducing the data transmission amount of the push information, so that the response speed of the keyword matching is faster.

如第15圖所示,在一個實施例中,上述基於即時通訊的資訊推播裝置1300,除了包括擷取模組1310、獲得模組1320、選擇模組1330、展示模組1340及第一發送模組1350,更包括查看模組1360。 As shown in FIG. 15, in one embodiment, the instant messaging-based information pushing device 1300 includes a capture module 1310, an obtaining module 1320, a selection module 1330, a display module 1340, and a first transmission. The module 1350 further includes a viewing module 1360.

查看模組1360,用於根據對預設模板界面的第一操作獲得查看目標對象。 The module 1360 is configured to obtain a viewing target object according to the first operation on the preset template interface.

第一發送模組1350,更用於根據查看目標對象向伺服器發送內容查看請求,以使伺服器根據內容查看請求從與推播預覽資料關聯的層級資料中,獲得與查看目標對象對應的具體內容資料,並更新具體內容資料的傳輸優先權。 The first sending module 1350 is further configured to send a content viewing request to the server according to the viewing target object, so that the server obtains, according to the content viewing request, the specific content corresponding to the viewing target object from the hierarchical data associated with the preview preview data. Content material, and update the transmission priority of the specific content data.

獲得模組1320,更用於接收伺服器根據傳輸優先權發送的具體內容資料。 The obtaining module 1320 is further configured to receive specific content data sent by the server according to the transmission priority.

展示模組1340,更用於根據展示模板對具體內容資料進行重建,將預設模板界面中當前展示的資料切換為重建後的具體內容資料。 The display module 1340 is further configured to reconstruct the specific content data according to the display template, and switch the currently displayed data in the preset template interface to the reconstructed specific content data.

在本實施例中,伺服器向終端機發送推播預覽資料時,即生成關聯的層級資料,當接收到內容查看請求時,即可根據內容查看請求篩選對應的具體內容資料,並更新具體內容資料的傳輸優先權,可使終端機更加快速地獲得所需查看的具體內容資料。 In this embodiment, when the server sends the preview data to the terminal, the associated hierarchical data is generated. When the content viewing request is received, the corresponding specific content data may be filtered according to the content viewing request, and the specific content is updated. The transmission priority of the data enables the terminal to obtain the specific content data that needs to be viewed more quickly.

如第16圖所示,在一個實施例中,上述基於即時通訊的資 訊推播裝置1300,除了包括擷取模組1310、獲得模組1320、選擇模組1330、展示模組1340、第一發送模組1350及查看模組1360,更包括分享模組1370及第二發送模組1380。 As shown in FIG. 16, in an embodiment, the instant messaging-based information pushing device 1300 includes a capture module 1310, an obtaining module 1320, a selection module 1330, a display module 1340, and a first sending. The module 1350 and the viewing module 1360 further include a sharing module 1370 and a second sending module 1380.

分享模組1370,用於根據對預設模板界面的第二操作確定分享目標對象。 The sharing module 1370 is configured to determine a sharing target object according to a second operation on the preset template interface.

獲得模組1320,更用於從伺服器獲得與分享目標對象匹配的具體內容資料。 The obtaining module 1320 is further configured to obtain, from the server, specific content materials that match the sharing target object.

展示模組1340,更用於按照與推播資訊對應的訊息樣式對與分享目標對象匹配的具體內容資料進行重建,生成結構化訊息。 The display module 1340 is further configured to reconstruct the specific content data that matches the sharing target object according to the message style corresponding to the push information, and generate a structured message.

第二發送模組1380,用於當接收到第三操作時,將結構化訊息發送給與對話區域對應的用戶終端機。 The second sending module 1380 is configured to send the structured message to the user terminal corresponding to the dialog area when receiving the third operation.

在本實施例中,用戶可根據需求選擇推播資訊發送給對話的其它用戶終端機,幫助用戶更快瞭解感興趣的內容,保證即時通訊的質量,能夠提高用戶黏著度。 In this embodiment, the user can select the push information to be sent to other user terminals of the conversation according to the requirements, help the user to better understand the content of interest, ensure the quality of instant communication, and improve the user adhesion.

在一個實施例中,展示模組1340,更用於按照預設方式喚起預設模板界面,並將預設模板界面覆蓋在虛擬鍵盤上。 In one embodiment, the display module 1340 is further configured to evoke the preset template interface according to a preset manner, and overlay the preset template interface on the virtual keyboard.

展示模組1340,更用於根據對對話區域的第四操作使預設模板界面處於不可見狀態,並重新展示虛擬鍵盤。 The display module 1340 is further configured to make the preset template interface invisible according to the fourth operation on the dialog area, and redisplay the virtual keyboard.

在一個實施例中,上述基於即時通訊的資訊推播裝置1300,更包括標記模組。 In an embodiment, the instant messaging-based information pushing device 1300 further includes a marking module.

標記模組,用於通過預設樣式對關鍵詞進行標記。 A tagging module for tagging keywords by a preset style.

在本實施例中,預設模板界面可根據需求與虛擬鍵盤進行切 換展示,更加貼合用戶的日常輸入習慣,使即時通訊更加便利、流暢,能夠提高用戶黏著度。 In this embodiment, the preset template interface can be switched and displayed according to requirements and the virtual keyboard, which is more suitable for the user's daily input habits, makes the instant communication more convenient and smooth, and can improve the user adhesion.

在一個實施例中,上述基於即時通訊的資訊推播裝置1300,更包括開啟模組。 In an embodiment, the instant messaging-based information pushing device 1300 further includes an opening module.

開啟模組,用於根據選擇操作確定對應的推薦程度選項,並根據推薦程度選項開啟對應的推播方式。 The module is opened, and the corresponding recommendation degree option is determined according to the selection operation, and the corresponding promotion mode is started according to the recommendation degree option.

在本實施例中,用戶可根據需求選擇所需的推薦程度選項,從而按照對應的推播方式進行推播,更貼合用戶需求,能夠提高用戶黏著度。 In this embodiment, the user can select a desired recommendation degree option according to the requirement, so that the user can perform the push according to the corresponding push mode, which is more suitable for the user's needs, and can improve the user's adhesion.

在一個實施例中,還提供一種終端機,包括儲存器及處理器,儲存器中儲存有電腦可執行指令,電腦可執行指令被處理器執行時,使得處理器實現上述的基於即時通訊的資訊推播方法。 In an embodiment, a terminal device is further provided, including a storage device and a processor, where the computer stores executable instructions, and when the computer executable instructions are executed by the processor, the processor implements the foregoing instant messaging-based information. Push method.

在一個實施例中,還提供一種電腦可讀儲存媒體,其上儲存有電腦程式,電腦程式被處理器執行時實現上述的基於即時通訊的資訊推播方法。 In one embodiment, a computer readable storage medium is further provided, and the computer program is stored thereon, and the computer program is executed by the processor to implement the instant messaging-based information dissemination method.

以上所述實施例的各技術特徵可以進行任意的組合,為使描述簡潔,未對上述實施例中的各個技術特徵所有可能的組合都進行描述,然而,只要這些技術特徵的組合不存在矛盾,都應當認為是本說明書記載的範圍。 The technical features of the above-described embodiments may be arbitrarily combined. For the sake of brevity of description, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, All should be considered as the scope of this manual.

以上所述實施例僅表達了本發明的幾種實施方式,其描述較為具體和詳細,但並不能因此而理解為對發明專利範圍的限制。應當指出的是,對於所屬技術領域中具有通常知識者來說,在不脫離本發明構思的 前提下,還可以做出若干變形和改進,這些都屬本發明的保護範圍。因此,本發明專利的保護範圍應以所附申請專利範圍為准。 The above-described embodiments are merely illustrative of several embodiments of the present invention, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the invention. It should be noted that a number of variations and modifications may be made without departing from the spirit and scope of the invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims (15)

一種基於即時通訊的資訊推播方法,包括:擷取對話區域中的聊天訊息的關鍵詞;從伺服器獲得與所述關鍵詞匹配的推播資訊;根據所述推播資訊選擇展示模板;及根據所述展示模板對所述推播資訊進行重建,並在對應的預設模板界面中展示,所述預設模板界面不遮擋所述對話區域。  An information dissemination method based on instant messaging, comprising: capturing keywords of chat messages in a conversation area; obtaining push information matching the keywords from a server; and selecting a display template according to the push information; The push information is reconstructed according to the display template, and displayed in a corresponding preset template interface, where the preset template interface does not block the dialog area.   如請求項1之方法,其中,在所述擷取對話區域中的聊天訊息的關鍵詞之後,所述方法更包括:將所述關鍵詞發送至伺服器,以使所述伺服器確定所述關鍵詞所屬的類別,並根據所述類別選擇與所述關鍵詞匹配的資訊內容,然後根據所述資訊內容生成推播預覽資料。  The method of claim 1, wherein after the capturing a keyword of the chat message in the conversation area, the method further comprises: transmitting the keyword to a server, so that the server determines the The category to which the keyword belongs, and selecting the information content that matches the keyword according to the category, and then generating the push preview data according to the information content.   如請求項2之方法,其中,所述從伺服器獲得與所述關鍵詞匹配的推播資訊,包括:從所述伺服器獲得與所述關鍵詞匹配的推播預覽資料;及所述根據所述推播資訊選擇展示模板,包括:根據與所述推播預覽資料對應的類別選擇與所述類別匹配的展示模板。  The method of claim 2, wherein the obtaining, by the server, the push information matching the keyword comprises: obtaining, from the server, a push preview data matching the keyword; and the basis The pushing information selection display template includes: selecting a display template that matches the category according to a category corresponding to the push preview data.   如請求項2之方法,其中,所述方法更包括:根據對所述預設模板界面的第一操作獲得查看目標對象;根據所述查看目標對象向所述伺服器發送內容查看請求,以使所述伺服器根據所述內容查看請求從與所述推播預覽資料關聯的層級資料中,獲得與所述查看目標對象對應的具體內容資料,並更新所述具體內容資料的 傳輸優先權;及接收所述伺服器根據所述傳輸優先權發送的所述具體內容資料,並根據所述展示模板對所述具體內容資料進行重建,將所述預設模板界面中當前展示的資料切換為重建後的具體內容資料。  The method of claim 2, wherein the method further comprises: obtaining a viewing target object according to the first operation of the preset template interface; and transmitting a content viewing request to the server according to the viewing target object, so that And the server obtains specific content data corresponding to the viewing target object from the hierarchical data associated with the push preview data according to the content viewing request, and updates a transmission priority of the specific content data; and Receiving, by the server, the specific content data sent according to the transmission priority, and reconstructing the specific content data according to the display template, and switching the currently displayed data in the preset template interface to the reconstructed Specific content information.   如請求項1之方法,其中,所述方法更包括:根據對所述預設模板界面的第二操作確定分享目標對象;從伺服器獲得與所述分享目標對象匹配的具體內容資料;按照與所述推播資訊對應的訊息樣式對與所述分享目標對象匹配的具體內容資料進行重建,生成結構化訊息;及當接收到第三操作時,將所述結構化訊息發送給與所述對話區域對應的用戶終端機。  The method of claim 1, wherein the method further comprises: determining a sharing target object according to a second operation of the preset template interface; obtaining, from the server, specific content data that matches the sharing target object; Reconstructing the specific content data that matches the sharing target object to generate a structured message; and sending the structured message to the conversation when the third operation is received; The user terminal corresponding to the area.   如請求項1之方法,其中,在所述擷取對話區域中的聊天訊息的關鍵詞之後,所述方法更包括:通過預設樣式對所述關鍵詞進行標記。  The method of claim 1, wherein after the keyword of the chat message in the conversation area is captured, the method further comprises: marking the keyword by a preset style.   如請求項1之方法,其中,在所述根據所述展示模板對所述推播資訊進行重建,並在對應的預設模板界面中展示之前,所述方法更包括:按照預設方式喚起預設模板界面,並將所述預設模板界面覆蓋在虛擬鍵盤上;及在所述根據所述展示模板對所述推播資訊進行重建,並在對應的預設模板界面中展示之後,所述方法更包括:根據對所述對話區域的第四操作使所述預設模板界面處於不可見狀態,並重新展示所述虛擬鍵盤。  The method of claim 1, wherein before the re-creating the push information according to the display template and displaying in the corresponding preset template interface, the method further comprises: activating the preset according to a preset manner. Setting a template interface, and overlaying the preset template interface on the virtual keyboard; and after the re-creating the push information according to the display template and displaying the corresponding preset template interface, The method further includes: causing the preset template interface to be in an invisible state according to a fourth operation on the dialog area, and re-presenting the virtual keyboard.   如請求項1之方法,其中,所述方法更包括:根據選擇操作確定對應的推薦程度選項,並根據所述推薦程度選項開啟對應的推播方式。  The method of claim 1, wherein the method further comprises: determining a corresponding recommendation degree option according to the selection operation, and starting the corresponding promotion mode according to the recommendation degree option.   一種基於即時通訊的資訊推播裝置,包括:擷取模組,用於擷取對話區域中的聊天訊息的關鍵詞;獲得模組,用於從伺服器獲得與所述關鍵詞匹配的推播資訊;選擇模組,用於根據所述推播資訊選擇展示模板;及展示模組,用於根據所述展示模板對所述推播資訊進行重建,並在對應的預設模板界面中展示,所述預設模板界面不遮擋所述對話區域。  An information dissemination device based on instant messaging, comprising: a capture module for capturing keywords of a chat message in a conversation area; and a obtaining module, configured to obtain a push broadcast matching the keyword from a server And a display module, configured to select a display template according to the push information; and a display module, configured to reconstruct the push information according to the display template, and display the corresponding preset template interface, The preset template interface does not block the dialog area.   如請求項9之裝置,其中,所述裝置更包括:第一發送模組,用於將所述關鍵詞發送至伺服器,以使所述伺服器確定所述關鍵詞所屬的類別,並根據所述類別選擇與所述關鍵詞匹配的資訊內容,然後根據所述資訊內容生成推播預覽資料;所述獲得模組,更用於從所述伺服器獲得與所述關鍵詞匹配的推播預覽資料;及所述選擇模組,更用於根據與所述推播預覽資料對應的類別選擇與所述類別匹配的展示模板。  The device of claim 9, wherein the device further comprises: a first sending module, configured to send the keyword to a server, so that the server determines a category to which the keyword belongs, and according to The category selects the information content that matches the keyword, and then generates a preview data according to the information content; the obtaining module is further configured to obtain a push broadcast matching the keyword from the server. The preview data is further used to select a display template that matches the category according to a category corresponding to the push preview data.   如請求項10之裝置,其中,所述裝置更包括:查看模組,用於根據對所述預設模板界面的第一操作獲得查看目標對象;所述第一發送模組,更用於根據所述查看目標對象向所述伺服器發送內容查看請求,以使所述伺服器根據所述內容查看請求從與所述推播預覽資料關聯的層級資料中,獲得與所述查看目標對象對應的具體內容資料, 並更新所述具體內容資料的傳輸優先權;所述獲得模組,更用於接收所述伺服器根據所述傳輸優先權發送的所述具體內容資料;及所述展示模組,更用於根據所述展示模板對所述具體內容資料進行重建,將所述預設模板界面中當前展示的資料切換為重建後的具體內容資料。  The device of claim 10, wherein the device further comprises: a viewing module, configured to obtain a viewing target object according to the first operation of the preset template interface; the first sending module is further configured to The viewing target object sends a content viewing request to the server, so that the server obtains, from the hierarchical material associated with the push preview data, a corresponding to the viewing target object according to the content viewing request. Specific content information, and updating the transmission priority of the specific content data; the obtaining module is further configured to receive the specific content data sent by the server according to the transmission priority; and the display module And being used to reconstruct the specific content data according to the display template, and switch the currently displayed data in the preset template interface to the specific content data after the reconstruction.   如請求項9之裝置,其中,所述裝置更包括:分享模組,用於根據對所述預設模板界面的第二操作確定分享目標對象;所述獲得模組,更用於從伺服器獲得與所述分享目標對象匹配的具體內容資料;所述展示模組,更用於按照與所述推播資訊對應的訊息樣式對與所述分享目標對象匹配的具體內容資料進行重建,生成結構化訊息;及第二發送模組,用於當接收到第三操作時,將所述結構化訊息發送給與所述對話區域對應的用戶終端機。  The device of claim 9, wherein the device further comprises: a sharing module, configured to determine a sharing target object according to a second operation of the preset template interface; and the obtaining module is further used for a slave server Obtaining specific content data that matches the sharing target object; the display module is further configured to reconstruct specific content data that matches the sharing target object according to a message style corresponding to the push information, and generate a structure The second sending module is configured to send the structured message to the user terminal corresponding to the conversation area when receiving the third operation.   如請求項9之裝置,其中,所述展示模組,更用於按照預設方式喚起預設模板界面,並將所述預設模板界面覆蓋在虛擬鍵盤上;及所述展示模組,更用於根據對所述對話區域的第四操作使所述預設模板界面處於不可見狀態,並重新展示所述虛擬鍵盤。  The device of claim 9, wherein the display module is further configured to evoke a preset template interface according to a preset manner, and overlay the preset template interface on the virtual keyboard; and the display module, And the fourth template is used to make the preset template interface in an invisible state according to the fourth operation of the dialog area, and re-present the virtual keyboard.   一種終端機,包括儲存器及處理器,所述儲存器中儲存有電腦可執行指令,所述電腦可執行指令被所述處理器執行時,使得所述處理器實現如請求項1至8任一項所述之方法。  A terminal device includes a storage and a processor, wherein the storage stores computer executable instructions, and when the computer executable instructions are executed by the processor, the processor is implemented as claimed in claims 1 to 8 One of the methods described.   一種電腦可讀儲存媒體,其上儲存有電腦程式,其中,所述電腦程式被處理器執行時實現如請求項1至8任一項所述之方法。  A computer readable storage medium having stored thereon a computer program, wherein the computer program is executed by a processor to implement the method of any one of claims 1 to 8.  
TW107127309A 2017-08-11 2018-08-06 Method, device, terminal, and storage medium for pusing information based on instant messaging TWI701959B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201710687378.7 2017-08-11
CN201710687378.7A CN108306814B (en) 2017-08-11 2017-08-11 Information pushing method, device, terminal and storage medium based on instant messaging
??201710687378.7 2017-08-11

Publications (2)

Publication Number Publication Date
TW201911892A true TW201911892A (en) 2019-03-16
TWI701959B TWI701959B (en) 2020-08-11

Family

ID=62869190

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107127309A TWI701959B (en) 2017-08-11 2018-08-06 Method, device, terminal, and storage medium for pusing information based on instant messaging

Country Status (3)

Country Link
CN (1) CN108306814B (en)
TW (1) TWI701959B (en)
WO (1) WO2019029409A1 (en)

Families Citing this family (45)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108306814B (en) * 2017-08-11 2020-07-28 腾讯科技(深圳)有限公司 Information pushing method, device, terminal and storage medium based on instant messaging
CN109344324A (en) * 2018-08-20 2019-02-15 中国平安人寿保险股份有限公司 Push movable method, apparatus, computer equipment and storage medium
CN109241456A (en) * 2018-09-13 2019-01-18 上海宇佑船舶科技有限公司 Location recommendation method, device and server
CN109242642A (en) * 2018-09-30 2019-01-18 上海掌门科技有限公司 Recommend the method and apparatus of boarding application
CN109522705B (en) * 2018-10-23 2024-02-09 深圳平安医疗健康科技服务有限公司 Authority management method, device, electronic equipment and medium
CN109523228A (en) * 2018-10-25 2019-03-26 平安科技(深圳)有限公司 A kind of work report management method, terminal device and computer readable storage medium
CN109446311B (en) * 2018-10-30 2022-04-05 五八有限公司 Chat enhancement method, device, storage medium and terminal
CN111225005B (en) * 2018-11-23 2023-01-31 北京嘀嘀无限科技发展有限公司 Push content generation method and device, electronic equipment and computer storage medium
CN109710740B (en) * 2018-12-27 2020-08-07 杭州美平米科技有限公司 Robot automatic chat method based on commodity information
CN109873751B (en) * 2019-01-11 2020-10-09 珠海格力电器股份有限公司 Group chat voice information processing method and device, storage medium and server
CN109918159A (en) * 2019-01-24 2019-06-21 努比亚技术有限公司 Assist chat method, mobile terminal and computer-readable storage media
CN111695027B (en) * 2019-03-13 2023-11-14 阿里巴巴集团控股有限公司 Information processing method and device
EP3944566A4 (en) * 2019-03-22 2023-04-12 Jiangsu Yancheng Scenery and Wind Network Technology Research Institute Method for sharing electronic content or comments with specific user
CN110163719A (en) * 2019-04-15 2019-08-23 深圳壹账通智能科技有限公司 Information-pushing method, device, computer equipment and storage medium
CN112087725B (en) * 2019-06-13 2022-08-23 腾讯科技(深圳)有限公司 Push message display method and device and storage medium
CN110399472B (en) * 2019-06-17 2022-07-15 平安科技(深圳)有限公司 Interview question prompting method and device, computer equipment and storage medium
CN110457610B (en) * 2019-06-27 2022-04-19 五八有限公司 Information recommendation method, device, terminal, server and storage medium
CN110516178A (en) * 2019-07-23 2019-11-29 平安科技(深圳)有限公司 Multistage items methods of exhibiting, server and storage medium based on big data
CN110460514A (en) * 2019-08-19 2019-11-15 广州华多网络科技有限公司 Message method, device, storage medium and the equipment of instant messaging tools
CN112416482B (en) * 2019-08-23 2024-04-23 钉钉控股(开曼)有限公司 Interface switching method and device
CN110633413A (en) * 2019-08-26 2019-12-31 浙江大搜车软件技术有限公司 Label recommendation method and device, computer equipment and storage medium
CN110598098A (en) * 2019-08-30 2019-12-20 北京搜狗科技发展有限公司 Information recommendation method and device and information recommendation device
CN110647615A (en) * 2019-09-11 2020-01-03 腾讯科技(深圳)有限公司 Information pushing method and device, storage medium and electronic device
CN112543432A (en) * 2019-09-20 2021-03-23 上海擎感智能科技有限公司 Information management/processing method/system, storage medium, vehicle machine/client
CN110855548A (en) * 2019-10-18 2020-02-28 深圳前海微众银行股份有限公司 Message pushing method and device
CN110727435B (en) * 2019-10-21 2023-09-05 百度在线网络技术(北京)有限公司 Rendering method, rendering device, electronic equipment and storage medium
CN111162994B (en) * 2019-12-26 2024-05-03 上海传英信息技术有限公司 Information prompting method, electronic equipment and storage medium
CN111447575B (en) * 2020-03-11 2024-03-05 中国平安人寿保险股份有限公司 Short message pushing method, device, equipment and storage medium
CN111444415B (en) * 2020-03-24 2023-08-15 咪咕音乐有限公司 Barrage processing method, server, client, electronic equipment and storage medium
CN111797315A (en) * 2020-06-29 2020-10-20 深圳市锦囊互动技术有限公司 Message pushing method, device, server and medium
CN112581162A (en) * 2020-12-07 2021-03-30 Oppo广东移动通信有限公司 Information content display method, device, storage medium and terminal
CN113095056B (en) * 2021-03-17 2024-04-12 阿里巴巴创新公司 Generation method, processing method, device, electronic equipment and medium
CN113177160B (en) * 2021-05-25 2024-04-23 上海众源网络有限公司 Push text generation method and device, electronic equipment and storage medium
CN113220774B (en) * 2021-05-28 2023-08-15 抖音视界有限公司 Encyclopedia information display method and device and computer storage medium
CN113609383A (en) * 2021-07-15 2021-11-05 苏州工业园区凌志软件股份有限公司 Unified information pushing system and method
CN113569089B (en) * 2021-07-21 2024-05-17 北京达佳互联信息技术有限公司 Information processing method, device, server, equipment, system and storage medium
CN113689184B (en) * 2021-08-10 2023-06-30 广州市中智软件开发有限公司 Electronic government affair event processing method and device based on workgroup and server
CN113781854B (en) * 2021-09-06 2023-03-28 浙江工商大学 Group discussion method and system for automatic remote teaching
CN113792198A (en) * 2021-09-17 2021-12-14 北京房江湖科技有限公司 Method and device for generating article propaganda poster, program product and storage medium
CN114268664B (en) * 2021-11-29 2023-07-25 中国联合网络通信集团有限公司 Information pushing method, device, equipment, system and storage medium
CN114374572B (en) * 2021-12-30 2023-12-01 广州趣丸网络科技有限公司 Voice information processing method and device
CN114510182A (en) * 2022-01-25 2022-05-17 支付宝(杭州)信息技术有限公司 Data processing method, device, equipment and medium
CN114610199B (en) * 2022-03-21 2023-04-21 北京明略昭辉科技有限公司 Session message processing method and device, storage medium and electronic equipment
CN115022268B (en) * 2022-06-24 2023-05-12 深圳市六度人和科技有限公司 Session identification method and device, readable storage medium and computer equipment
CN115292472B (en) * 2022-10-09 2022-12-30 四川师范大学 Method and system for pushing applet message

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100690590B1 (en) * 2004-12-28 2007-03-09 엔에이치엔(주) System and Method for Sharing Search Result Using Messenger
CN101794292A (en) * 2009-06-03 2010-08-04 朱世康 Method and device for displaying related information according to instant messaging interaction content
CN102790726B (en) * 2011-05-18 2015-10-28 腾讯科技(深圳)有限公司 A kind of method based on instant messaging pushed information, Apparatus and system
CN103885947B (en) * 2012-12-19 2018-08-10 北京百度网讯科技有限公司 A kind of method for digging of search need, intelligent search method and its device
US9467409B2 (en) * 2013-06-04 2016-10-11 Yahoo! Inc. System and method for contextual mail recommendations
CN104142964B (en) * 2013-06-13 2019-11-05 腾讯科技(北京)有限公司 The method and device of information matches
CN104346396B (en) * 2013-08-05 2020-08-25 腾讯科技(深圳)有限公司 Data processing method, device, terminal and system for instant messaging client
CN104639420B (en) * 2013-11-15 2019-06-07 腾讯科技(深圳)有限公司 The information processing method and system of instant messaging
CN103744968A (en) * 2014-01-09 2014-04-23 小米科技有限责任公司 Method and device for pushing information in application of terminal
US20160034977A1 (en) * 2014-08-01 2016-02-04 Yahoo! Inc. System and method for embedded search within messaging applications
CN104765791A (en) * 2015-03-24 2015-07-08 北京搜狗科技发展有限公司 Information inputting method and device
KR101665969B1 (en) * 2015-03-25 2016-10-13 주식회사 카카오 Device, server and method for keyword retrieval via interaction
CN106302081B (en) * 2015-05-14 2020-04-17 阿里巴巴集团控股有限公司 Instant messaging method and client
CN106302085B (en) * 2015-05-18 2020-08-25 腾讯科技(深圳)有限公司 Recommendation method and system for instant messaging group
CN104933028A (en) * 2015-06-23 2015-09-23 百度在线网络技术(北京)有限公司 Information pushing method and information pushing device
CN105607756B (en) * 2015-12-24 2019-05-10 百度在线网络技术(北京)有限公司 Information recommendation method and device
CN105915439A (en) * 2016-04-18 2016-08-31 百度在线网络技术(北京)有限公司 Information pushing method, device and system
WO2018032271A1 (en) * 2016-08-15 2018-02-22 北京小米移动软件有限公司 Information searching method, device, electronic apparatus and server
CN106953913A (en) * 2017-03-20 2017-07-14 维沃移动通信有限公司 A kind of information-pushing method and mobile terminal
CN108306814B (en) * 2017-08-11 2020-07-28 腾讯科技(深圳)有限公司 Information pushing method, device, terminal and storage medium based on instant messaging

Also Published As

Publication number Publication date
TWI701959B (en) 2020-08-11
CN108306814A (en) 2018-07-20
WO2019029409A1 (en) 2019-02-14
CN108306814B (en) 2020-07-28

Similar Documents

Publication Publication Date Title
TWI701959B (en) Method, device, terminal, and storage medium for pusing information based on instant messaging
CN106126514B (en) Method for providing search related message server, server and user terminal
Wilson Search user interface design
CN109800352A (en) Method, system and the terminal device of information push are carried out based on clipbook
US11216525B2 (en) Information resource collection method, device, and computer-readable storage medium
US20090300476A1 (en) Internet Guide Link Matching System
WO2022111249A1 (en) Information presentation method, apparatus, and computer storage medium
KR102340228B1 (en) Message service providing method for message service linking search service and message server and user device for performing the method
KR102079221B1 (en) Messenger searching method based on interaction, and server and application implementing the same method
CN105893564A (en) Search method and device based on search engine client
US10783192B1 (en) System, method, and user interface for a search engine based on multi-document summarization
US20230153761A1 (en) Domain-based visualizations of messaging content
KR101350525B1 (en) Method and apparatus for using tab corresponding to query to provide additional information
JP2004178384A (en) Contents retrieval method and device, program, and recording medium
JP5805134B2 (en) Terminal device and device program
CN116610243A (en) Display control method, display control device, electronic equipment and storage medium
KR102324200B1 (en) Method for providing emoticons in instant messaging service, user device, server and application implementing the method
Qi et al. Visual design of smartphone app interface based on user experience
KR20150031918A (en) Method of preparing an advertisement images on image materials, preparation system using the same, and playing method on prepared image data
JP2014157542A (en) Terminal device and program of device
KR102592287B1 (en) Messenger searching method based on interaction, and server and application implementing the same method
Głowacka et al. Heuristic Evaluation of University Libraries’ Mobile Websites in Poland
Heimonen Design and evaluation of user interfaces for mobile web search
KR20160002434A (en) System and method for providing customized content in standby screen of terminal
MacDonald et al. Deciding which pattern to use and when