TWI701959B - 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
TWI701959B
TWI701959B TW107127309A TW107127309A TWI701959B TW I701959 B TWI701959 B TW I701959B TW 107127309 A TW107127309 A TW 107127309A TW 107127309 A TW107127309 A TW 107127309A TW I701959 B TWI701959 B TW I701959B
Authority
TW
Taiwan
Prior art keywords
information
push
server
display
keyword
Prior art date
Application number
TW107127309A
Other languages
Chinese (zh)
Other versions
TW201911892A (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
Priority to CN201710687378.7 priority Critical
Priority to CN201710687378.7A priority patent/CN108306814B/en
Priority to ??201710687378.7 priority
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

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00Arrangements for user-to-user messaging in packet-switching networks, e.g. e-mail or instant messages
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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/00Arrangements for user-to-user messaging in packet-switching networks, e.g. e-mail or instant messages
    • H04L51/14Arrangements for user-to-user messaging in packet-switching networks, e.g. e-mail or instant messages with selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/26Push based network services

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 pushing and broadcasting method, device, terminal and storage medium based on instant communication
本發明涉及網際網路技術領域,特別是涉及一種基於即時通訊的資訊推播方法、裝置、終端機及儲存媒體。 The present invention relates to the field of Internet technology, in particular to an information push and broadcast method, device, terminal and storage medium based on instant messaging.
智慧推薦在網際網路各個領域已經有所應用,很多公司都會基於機器學習的思路在各自的產品形態下推出產品相關的內容智慧推薦。在傳統的內容智慧推薦中,都是根據用戶輸入的搜索關鍵詞或電子商務中的個人喜好商品進行推薦,例如在搜索頁面,先由用戶在搜索框中輸入搜索的關鍵詞,再根據用戶輸入的關鍵詞推播相關的資訊,操作繁瑣,而有些購物商店則是根據用戶的購買行為進行推薦,存在一定的落後性,導致推薦的內容無法準確貼合用戶需求。 Smart recommendation has been applied in various fields of the Internet, and many companies will launch product-related content smart recommendation in their respective product forms based on the idea of machine learning. In traditional content smart recommendation, recommendations are based on the search keywords entered by the user or personal preferences in e-commerce. For example, on the search page, the user first enters the search keyword in the search box, and then based on the user input The keywords push related information, which is cumbersome to operate, and some shopping stores make recommendations based on users’ buying behavior, which has a certain degree of backwardness, causing the recommended content to not accurately meet user needs.
本發明實施例提供一種基於即時通訊的資訊推播方法、裝置、終端機及儲存媒體,無需用戶提供關鍵詞,實時根據聊天訊息推播資訊,能夠精準推播用戶感興趣的內容。 The embodiments of the present invention provide an information push method, device, terminal, and storage media based on instant messaging, without the user providing keywords, pushing information based on chat messages in real time, and accurately pushing content that users are interested in.
一種基於即時通訊的資訊推播方法,包括:擷取對話區域中的聊天訊息的關鍵詞; 從伺服器獲得與所述關鍵詞匹配的推播資訊;根據所述推播資訊選擇展示模板;根據所述展示模板對所述推播資訊進行重建,並在對應的預設模板界面中展示,所述預設模板界面不遮擋所述對話區域。 An information push method based on instant messaging includes: extracting keywords of chat messages in a dialogue area; obtaining push information matching the keywords from a server; selecting a display template based on the push information; The display template reconstructs the push information and displays it in a corresponding preset template interface, and the preset template interface does not block the dialog area.
一種基於即時通訊的資訊推播裝置,包括:擷取模組,用於擷取對話區域中的聊天訊息的關鍵詞;獲得模組,用於從伺服器獲得與所述關鍵詞匹配的推播資訊;選擇模組,用於根據所述推播資訊選擇展示模板;展示模組,用於根據所述展示模板對所述推播資訊進行重建,並在對應的預設模板界面中展示,所述預設模板界面不遮擋所述對話區域。 An information push broadcast device based on instant messaging, comprising: a capturing module for capturing keywords of chat messages in a dialog area; an obtaining module for obtaining pushes matching the keywords from a server Information; a selection module for selecting a display template according to the push information; a display module for reconstructing the push information according to the display template and displaying it in the corresponding preset template interface, so The preset template interface does not block the dialogue area.
一種終端機,包括儲存器及處理器,所述儲存器中儲存有電腦可執行指令,所述電腦可執行指令被所述處理器執行時,使得所述處理器實現如上所述的方法。 A terminal includes a storage and a processor. The storage stores computer-executable instructions. When the computer-executable instructions are executed by the processor, the processor realizes the method described above.
一種電腦可讀儲存媒體,其上儲存有電腦程式,所述電腦程式被處理器執行時實現如上所述的方法。 A computer-readable storage medium has a computer program stored thereon, and the computer program is executed by a processor to realize the above-mentioned method.
上述基於即時通訊的資訊推播方法、裝置、終端機及儲存媒體,通過擷取聊天訊息的關鍵詞,從伺服器獲得與關鍵詞匹配的推播資訊,根據選擇的展示模板對推播資訊進行重建後,在對應的預設模板界面中展示,無需用戶提供關鍵詞,實時根據聊天訊息推播資訊,能夠精準推播用戶感興趣的內容。此外,預設模板界面不遮擋聊天區域,用戶無需跳轉當前的聊天界面獲得推播資訊,也不會打斷當前的聊天過程,使即時通訊更加便利、流暢,能夠提高用戶黏著度。 The above-mentioned information push method, device, terminal, and storage media based on instant messaging can obtain push information matching the keywords from the server by retrieving the keywords of the chat message, and perform push information according to the selected display template After reconstruction, it will be displayed in the corresponding preset template interface, without the user providing keywords, real-time push and broadcast of information based on the chat message, which can accurately push the content of interest to the user. In addition, the preset template interface does not block the chat area, and users do not need to jump to the current chat interface to obtain push information, nor interrupt the current chat process, making instant messaging more convenient and smooth, and improving user stickiness.
10‧‧‧終端機 10‧‧‧Terminal
20‧‧‧伺服器 20‧‧‧Server
S310~S340‧‧‧步驟 S310~S340‧‧‧Step
402‧‧‧對話區域 402‧‧‧Dialog area
404‧‧‧預設模板界面 404‧‧‧Preset template interface
S502~S506‧‧‧步驟 S502~S506‧‧‧Step
S702~S706‧‧‧步驟 S702~S706‧‧‧Step
S902~S908‧‧‧步驟 S902~S908‧‧‧Step
1002‧‧‧餐廳一資料 1002‧‧‧Restaurant 1 information
1102‧‧‧預設模板界面 1102‧‧‧Preset template interface
1104‧‧‧虛擬鍵盤 1104‧‧‧Virtual keyboard
1106‧‧‧對話窗口 1106‧‧‧Dialog window
1202~1224‧‧‧步驟 1202~1224‧‧‧Step
1300‧‧‧基於即時通訊的資訊推播裝置 1300‧‧‧Information push and broadcast device based on instant messaging
1310‧‧‧擷取模組 1310‧‧‧Capture Module
1320‧‧‧獲得模組 1320‧‧‧Get the mod
1330‧‧‧選擇模組 1330‧‧‧Select Module
1340‧‧‧展示模組 1340‧‧‧Display Module
1350‧‧‧第一發送模組 1350‧‧‧First sending module
1360‧‧‧查看模組 1360‧‧‧View Module
1370‧‧‧分享模組 1370‧‧‧Sharing Module
1380‧‧‧第二發送模組 1380‧‧‧Second sending module
第1圖為一個實施例中基於即時通訊的資訊推播方法的應用場景圖;第2圖為一個實施例中終端機的方塊圖;第3圖為一個實施例中基於即時通訊的資訊推播方法的流程示意圖;第4A圖為一個實施例中展示推播資訊的界面示意圖;第4B圖為另一個實施例中展示推播資訊的界面示意圖;第4C圖為又一個實施例中展示推播資訊的界面示意圖;第5圖為一個實施例中展示推播預覽資料的流程示意圖;第6圖為一個實施例中根據用戶在預設模板界面中的操作持續展示更多的推播預覽資料的示意圖;第7圖為一個實施例中展示具體內容資料的流程示意圖;第8A圖為一個實施例中終端機接收對預設模板界面的第一操作的示意圖;第8B圖為一個實施例中根據第一操作展示具體內容資料的示意圖;第9圖為一個實施例中分享推播資訊的流程示意圖;第10圖為一個實施例中分享推播資訊的示意圖;第11圖為一個實施例中界面設計示意圖;第12圖為一個實施例中終端機與伺服器的交互流程示意圖;第13圖為一個實施例中基於即時通訊的資訊推播裝置的方塊圖;第14圖為另一個實施例中基於即時通訊的資訊推播裝置的方塊圖;第15圖為又一個實施例中基於即時通訊的資訊推播裝置的方塊圖;第16圖為再一個實施例中基於即時通訊的資訊推播裝置的方塊圖。 Figure 1 is an application scenario diagram of an instant messaging-based information push method in an embodiment; Figure 2 is a block diagram of a terminal in an embodiment; Figure 3 is an instant messaging-based information push in an embodiment A schematic flow diagram of the method; Figure 4A is a schematic diagram of an interface for displaying push information in one embodiment; Figure 4B is a schematic diagram of an interface for displaying push information in another embodiment; Figure 4C is a schematic diagram of an interface for displaying push information in another embodiment Schematic diagram of the information interface; Figure 5 is a schematic diagram of the flow of displaying push preview data in an embodiment; Figure 6 is an embodiment of continuously displaying more push preview data according to the user's operation in the preset template interface Schematic diagram; Figure 7 is a schematic diagram of the process of displaying specific content materials in an embodiment; Figure 8A is a schematic diagram of the terminal receiving the first operation on the preset template interface in an embodiment; Figure 8B is an embodiment based on The first operation shows a schematic diagram of specific content data; Figure 9 is a schematic diagram of the flow of sharing push information in an embodiment; Figure 10 is a schematic diagram of sharing push information in an embodiment; Figure 11 is an interface in an embodiment Design schematic diagram; Figure 12 is a schematic diagram of the interaction process between the terminal and the server in an embodiment; Figure 13 is a block diagram of an instant messaging-based information push and broadcast device in one embodiment; Figure 14 is in another embodiment A block diagram of an information pushing and broadcasting device based on instant messaging; Figure 15 is a block diagram of an information pushing and broadcasting device based on instant messaging in another embodiment; Figure 16 is a block diagram of an information pushing and broadcasting device based on instant messaging in another embodiment Block diagram.
為了使本發明的目的、技術方案及優點更加清楚明白,以下結合圖式及實施例,對本發明進行進一步詳細說明。應當理解,此處所描 述的具體實施例僅用以解釋本發明,並不用於限定本發明。 In order to make the objectives, technical solutions, and advantages of the present invention clearer, the following further describes the present invention in detail with reference to the drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention.
可以理解,本發明所使用的術語“第一”、“第二”等可在本文中用於描述各種元件,但這些元件不受這些術語限制。這些術語僅用於將第一個元件與另一個元件區分。舉例來說,在不脫離本發明的範圍的情況下,可以將第一客戶端稱為第二客戶端,且類似地,可將第二客戶端稱為第一客戶端。第一客戶端和第二客戶端兩者都是客戶端,但其不是同一客戶端。 It can be understood that the terms "first", "second", etc. used in the present invention can be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from another element. For example, without departing from the scope of the present invention, the first client may be referred to as the second client, and similarly, the second client may be referred to as the first client. 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根據選擇的展示模板對推播資訊進行重建,並在對應的預設模板界面中展示,該預設模板界面不遮擋對話區域。 Figure 1 is an application scenario diagram of an information push method based on instant messaging in an embodiment. As shown in Figure 1, in one embodiment, the terminal 10 and the server 20 are connected via a network. The terminal 10 captures the keywords of the chat message in the dialogue area and sends the keywords to the server 20. The terminal 10 obtains push information matching the keywords from the server 20, and selects a display template according to the push information. The terminal 10 reconstructs the push broadcast information according to the selected display template, and displays it in a corresponding preset template interface, which does not block the dialogue area.
第2圖為一個實施例中上述終端機10的方塊圖。如第2圖所示,該終端機10包括通過系統匯流排連接的處理器、非揮發性儲存媒體、內儲存器和網路界面、顯示螢幕和輸入裝置。其中,終端機10的非揮發性儲存媒體儲存有操作系統及電腦可執行指令,該電腦可執行指令被處理器執行時以實現本申請實施例中提供的適用於終端機10的一種基於即時通訊的資訊推播方法。該處理器用於提供計算和控制能力,支撐整個終端機10的運行。終端機10中的內儲存器為非揮發性儲存媒體中的電腦可執行指令的運行提供環境。網路界面用於與伺服器進行網路通信,如向伺服器發送 關鍵詞、從伺服器接收與關鍵詞匹配的推播資訊等。終端機10的顯示螢幕可以是液晶顯示螢幕或者電子墨水顯示螢幕等,輸入裝置可以是顯示螢幕上覆蓋的觸摸層,也可以是終端機10外殼上設置的按鍵、軌跡球或觸控板,也可以是外接的鍵盤、觸控板或滑鼠等。該終端機10可以是手機、平板電腦或者個人數位助理或穿戴式設備等。所屬技術領域中具有通常知識者可以理解,第2圖中示出的結構,僅僅是與本申請方案相關的部分結構的方塊圖,並不構成對本申請方案所應用於其上的終端機10的限定,具體的終端機10可以包括比圖中所示更多或更少的部件,或者組合某些部件,或者具有不同的部件佈置。 Fig. 2 is a block diagram of the aforementioned terminal 10 in an embodiment. As shown in Figure 2, the terminal 10 includes a processor, a non-volatile storage medium, an internal memory and a network interface, a display screen, and an input device connected via a system bus. Wherein, the non-volatile storage medium of the terminal 10 stores an operating system and computer-executable instructions. When the computer-executable instructions are executed by the processor, they can implement an instant messaging-based method suitable for the terminal 10 provided in the embodiments of the present application. Method of pushing information. The processor is used to provide calculation and control capabilities, and support the operation of the entire terminal 10. The internal storage in the terminal 10 provides an environment for the execution 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 and receiving push information matching the keywords from the server. The display screen of the terminal 10 may be a liquid crystal display screen or an electronic ink display screen, etc. The input device may be a touch layer covered on the display screen, or a button, trackball or touch pad provided on the shell of the terminal 10. It can be an external keyboard, touchpad, or mouse. The terminal 10 may be a mobile phone, a tablet computer, or a personal digital assistant or a wearable device. Those with ordinary knowledge in the technical field can understand that the structure shown in Figure 2 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a reference to the terminal 10 to which the solution of the present application is applied. To be limited, a specific terminal 10 may include more or less components than shown in the figure, or combine certain components, or have a different component arrangement.
如第3圖所示,在一個實施例中,提供一種基於即時通訊的資訊推播方法,上述方法包括以下步驟: As shown in Figure 3, in one embodiment, an information push method based on instant messaging is provided. The above method includes the following steps:
步驟S310,擷取對話區域中的聊天訊息的關鍵詞。 Step S310: Retrieve the keywords of the chat message in the dialogue area.
用戶可通過終端機上安裝的即時通訊客戶端與其它用戶終端機進行對話,其中,對話可以是一對一的雙人對話,或是多人同時進行的群組對話,用戶可在即時通訊對話中傳遞文字、語音資訊,進行文件交流等。終端機可擷取對話區域中聊天訊息的關鍵詞,對話區域指的是進行對話的區域,一般可包括對話資訊展示框以及資訊輸入框,其中,聊天訊息可以是文字資訊或語音資訊等,也可以是視頻、圖片或文字文件等。 The user can have a conversation with other user terminals through the instant messaging client installed on the terminal. Among them, the conversation can be a one-to-one two-person conversation or a group conversation with multiple people at the same time. The user can be in the instant messaging conversation Transmit text, voice information, document exchanges, etc. The terminal can capture the keywords of the chat message in the dialogue area. The dialogue area refers to the area where the dialogue is conducted. Generally, it can include a dialogue information display box and an information input box. The chat message can be text information or voice information, etc. It can be a video, picture or text file, etc.
在一個實施例中,終端機觸發擷取聊天訊息的關鍵詞的時刻可包括接收其它用戶終端機發送的聊天訊息的時刻,以及當終端機發送聊天訊息的時刻等。當終端機接收其它用戶終端機發送的聊天訊息且展示在對話區域的對話訊息展示框時,可擷取該接收的聊天訊息的關鍵詞;當終 端機發送聊天訊息且展示在對話區域的對話資訊展示框時,可擷取該發送的聊天訊息的關鍵詞。進一步地,當用戶在對話區域的資訊輸入框中輸入聊天訊息時,可擷取該輸入的聊天訊息的關鍵詞。終端機可按照聊天訊息的時間先後順序擷取對應聊天訊息的關鍵詞,例如,終端機在第一時刻接收到其它用戶終端機發送的聊天訊息,則可先擷取該接收的聊天訊息的關鍵詞,在第二時刻獲得資訊輸入框中輸入的聊天訊息,再擷取該輸入的聊天訊息的關鍵詞等。 In one embodiment, the moment when the terminal triggers the retrieval of the keywords of the chat message may include the moment when the chat message sent by other user terminals is received, and the moment when the terminal sends the chat message, etc. When the terminal receives a chat message sent by another user's terminal and displays it in the dialog message display box of the dialog area, it can retrieve the keywords of the received chat message; when the terminal sends a chat message and displays the dialog information in the dialog area When the box is displayed, the keywords of the chat message to be sent can be retrieved. Further, when the user inputs a chat message in the information input box of the dialogue area, the keywords of the input chat message can be retrieved. The terminal can retrieve the keywords corresponding to the chat message according to the chronological order of the chat messages. For example, if the terminal receives a chat message sent by another user terminal at the first moment, it can first capture the key of the received chat message Word, the chat message entered in the information input box is obtained at the second moment, and then the keywords of the entered chat message are retrieved.
在一個實例中,當終端機打開對話窗口時,對話區域的對話資訊展示框中可能展示有預設數量的歷史聊天訊息,終端機可擷取對話區域中展示的預設數量的歷史聊天訊息的關鍵詞,當預設數量的歷史聊天訊息包含的關鍵詞較多時,可選擇最後一條歷史聊天訊息擷取關鍵詞。可根據最近的歷史聊天訊息進行推播,當重新開啟對話窗口時,用戶無需重新輸入關鍵詞即可獲得推播資訊,更加方便快捷。 In one example, when the terminal opens the dialog window, the dialog information display box of the dialog area may display a preset number of historical chat messages, and the terminal can capture the preset number of historical chat messages displayed in the dialog area. Keywords. When the preset number of historical chat messages contains more keywords, the last historical chat message can be selected to retrieve the keywords. It can be pushed based on recent historical chat messages. When the dialog window is reopened, users can get push information without re-entering keywords, which is more convenient and faster.
在一個實施例中,終端機讀取對話區域中的聊天訊息,對聊天訊息進行分詞,並對分詞後的字詞進行字詞判定,確定劃分的每個字或詞的屬性,其中,每個字或詞的屬性指的是字或詞在句中的作用以及對應的詞性,作用可包括主詞、謂詞、受詞等,詞性可包括名詞、動詞、形容詞、副詞等。終端機確定劃分的每個字或詞的屬性後,可去掉其中不影響語義的單字或詞等,並根據預先設置的關鍵詞詞庫進行篩選,從而得到最終的關鍵詞。 In one embodiment, the terminal reads the chat message in the dialogue area, performs word segmentation on the chat message, and determines the word after the word segmentation to determine the attribute of each divided word or word, where each The attribute of a word or word refers to the role of the word or word in a sentence and the corresponding part of speech. The role can include subject, predicate, and receiver. The part of speech can include nouns, verbs, adjectives, and adverbs. After the terminal determines the attribute of each divided word or word, it can remove the word or word that does not affect the semantics, and filter according to the preset keyword lexicon to obtain the final keyword.
在本實施例中,在預先設置的關鍵詞詞庫中可包括多個類別的關鍵詞,例如天氣、美食、明星、電影、音樂、科技、時尚、旅遊、星 座、行程表等,每個類別下可分別設置多個不同的關鍵詞,例如,美食類別下設置甜點、火鍋、咖啡、日料、牛排、辣、清淡等關鍵詞,明星類別下設置張三、李四、趙五等關鍵詞等。終端機可根據預先設置的關鍵詞詞庫對分詞的聊天訊息進行辨識,得到最終的關鍵詞。例如,聊天訊息為“我喜歡聽張三的歌”,分詞後可得到“我”、“喜歡”、“聽”、“張三”、“的”、“歌”,根據每個字詞的屬性可去掉其中的“我”、“聽”、“的”,並在預先設置的關鍵詞詞庫中進行查找,最終可得到關鍵詞包括“張三”、“歌”。 In this embodiment, the preset keyword vocabulary may include keywords in multiple categories, such as weather, food, stars, movies, music, technology, fashion, travel, constellations, schedules, etc., each category You can set a number of different keywords under the category. For example, under the food category, set keywords such as dessert, hot pot, coffee, Japanese food, steak, spicy, and light. Under the star category, set keywords such as Zhang San, Li Si, Zhao Wu, etc. Wait. The terminal can recognize the segmented chat messages according to the pre-set keyword thesaurus, and obtain the final keywords. For example, if the chat message is "I like listening to Zhang San's song", after word segmentation, you can get "I", "Like", "Listen", "Zhang San", "的", "Song". You can remove the "I", "listen" and "的" in the attribute, and search in the pre-set keyword thesaurus, and finally get the keywords including "Zhang San" and "Song".
步驟S320,從伺服器獲得與關鍵詞匹配的推播資訊。 Step S320: Obtain push information matching the keyword from the server.
終端機可將從聊天訊息中擷取的關鍵詞發送至伺服器,進行AI(Artificial Intelligence,人工智慧)篩選,得到與關鍵詞匹配的推播資訊。不同類別的關鍵詞可接入不同的內外資料庫中,例如,行程表類別的關鍵詞可接入記錄用戶行程表資訊的資料庫中,美食類別的關鍵詞可接入大眾評價等儲存有大量餐廳資料的資料庫中,電影可接入視頻網站的資料庫等。伺服器接收終端機發送的關鍵詞後,可確定關鍵詞所屬的類別,並在該所屬的類別接入的資料庫中進行AI智慧搜索,篩選得到與關鍵詞匹配的推播資訊。 The terminal can send the keywords retrieved from the chat message to the server to perform AI (Artificial Intelligence) screening to obtain push information matching the keywords. Keywords of different categories can be connected to different internal and external databases. For example, keywords of the itinerary category can be connected to the database that records the user’s schedule information, and keywords of the food category can be connected to the public evaluation. In the database of restaurant information, movies can be connected to the database of video websites. After the server receives the keyword sent by the terminal, it can determine the category to which the keyword belongs, and conduct an AI smart search in the database accessed by the category to which it belongs, and filter the push information that matches the keyword.
伺服器篩選與關鍵詞匹配的推播資訊的方式可根據關鍵詞所屬的類別進行變化,不同類別可分別設定不同的篩選策略。例如,美食類別,伺服器可根據終端機的使用場景進行餐廳推薦,獲得終端機的位置資訊,並根據位置資訊在接入的儲存有大量餐廳資料的資料庫中查詢與位置資訊對應的餐廳資料,並按照各個餐廳與位置資訊的距離遠近進行排序, 再將排序後的餐廳資料作為推播資訊發送至終端機;行程表類別,伺服器獲得接收關鍵詞的時間及終端機的用戶識別,在記錄用戶行程表資訊的資料庫中,根據該時間及用戶識別搜索一天內、一週內或一個月內等時間段的對應的行程表安排資料,並將行程表安排資料作為推播資訊發送至終端機等,但並不限於此。伺服器可根據與關鍵詞所屬的類別對應的篩選策略,在對應的資料庫中篩選得到與關鍵詞匹配的推播資訊,並將推播資訊發送給終端機。 The way the server filters the push information that matches the keyword can be changed according to the category to which the keyword belongs, and different categories can be set with different screening strategies. For example, for the category of food, the server can recommend restaurants based on the usage scenarios of the terminal, obtain the location information of the terminal, and query the restaurant information corresponding to the location information in the database that stores a large amount of restaurant information based on the location information. , And sort according to the distance between each restaurant and the location information, and then send the sorted restaurant information as push information to the terminal; itinerary category, the server obtains the time when the keyword is received and the user identification of the terminal, in In the database that records the user's itinerary information, search for the corresponding itinerary arrangement data within a day, a week, or a month according to the time and user identification, and send the itinerary arrangement data to the terminal as push information Machine, but not limited to this. The server can filter out the push information matching the keywords in the corresponding database according to the filtering strategy corresponding to the category to which the keywords belong, and send the push information to the terminal.
在一個實施例中,關鍵詞詞庫針對每個類別,可分別設定多級關鍵詞,一級關鍵詞為表示範圍較大的詞,二級關鍵詞為進一步限定的詞……以此類推,逐級遞增,後面級別的關鍵詞相對於前面級別的關鍵詞,均是更為具體、聚焦的延伸詞彙。例如,美食類別下設定一級關鍵詞可包括美食、聚餐、吃飯、大餐、大吃一頓等表示範圍較大的詞,二級關鍵詞可包括辣、甜點、清淡、海鮮、日料、火鍋、燒烤等進一步限定的詞,三級關鍵詞則可為具體餐廳的名字例如海底撈、麥當勞等。終端機根據關鍵詞詞庫擷取聊天訊息中的關鍵詞後,若該關鍵詞為一級關鍵詞,在將一級關鍵詞發送給伺服器獲得匹配的推播資訊後,可繼續檢測預設條數聊天訊息中是否包含有後面級別的關鍵詞,例如二級關鍵詞等,若有,則將後面級別的關鍵詞繼續發送至伺服器,伺服器根據後面級別的關鍵詞對根據一級關鍵詞篩選得到的推播資訊進行進一步篩選,得到新的推播資訊。例如,終端機向伺服器發送關鍵詞為“張三”,則伺服器根據“張三”在明星類別中篩選與迪麗熱巴相關的新聞資訊推播給終端機,終端機在三條聊天訊息內辨識到關鍵詞“A節目”,則將“A節目”關鍵詞發送至伺服器,伺 服器在與張三相關的新聞資訊中篩選出張三與A節目相關的資訊,並發送給終端機。利用漸進篩選的原理,可保證篩選得到的推播資訊更加貼近用戶的需求,能更準確地推播用戶感興趣的內容。 In one embodiment, for each category, the keyword dictionary can set multi-level keywords separately, the first-level keywords are words that represent a larger range, and the second-level keywords are words that are further restricted... and so on, one by one. The level increases, the keywords at the later levels are more specific and focused extended vocabulary than the keywords at the previous levels. For example, the first-level keywords set under the food category can include food, dinner, meal, big meal, big meal, etc., which represent a wide range of words, and the second-level keywords can include spicy, dessert, light, seafood, Japanese food, hot pot The third-level keywords can be the names of specific restaurants such as Haidilao, McDonald’s and so on. After the terminal retrieves the keywords in the chat message according to the keyword dictionary, if the keyword is a first-level keyword, after sending the first-level keyword to the server to obtain matching push information, it can continue to detect the preset number Does the chat message contain keywords at a later level, such as second-level keywords, etc., if so, the later-level keywords will continue to be sent to the server, and the server will filter them according to the first-level keyword pairs according to the keyword pairs at the later levels The push information of is further screened to obtain new push information. For example, if the terminal sends the keyword "Zhang San" to the server, the server screens the news information related to Di Ali Reba in the star category according to "Zhang San" and pushes it to the terminal. The terminal displays three chat messages If the keyword "A program" is identified in the internal, the keyword "A program" is sent to the server. The server filters out the information related to Zhang San and A program from the news information related to Zhang San, and sends it to the terminal. Using the principle of gradual screening can ensure that the filtered push information is closer to the needs of users, and the content that users are interested in can be pushed more accurately.
步驟S330,根據推播資訊選擇展示模板。 In step S330, a display template is selected according to the push broadcast information.
終端機接收由伺服器發送的推播資訊,可根據推播資訊所屬的類別選擇對應的展示模板,展示模板中定義了推播資訊的展示樣式,確定展示的各個元素,例如推播資訊中的圖片、文字等的排版佈局,不同的類別可設定不同的展示模板,使推播資訊的展示更具有多樣化。 The terminal receives the push information sent by the server, and can select the corresponding display template according to the category of the push information. The display template defines the display style of the push information and determines the various elements of the display, such as The layout of pictures, texts, etc., different types of display templates can be set to make the display of push information more diversified.
步驟S340,根據展示模板對推播資訊進行重建,並在對應的預設模板界面中展示,預設模板界面不遮擋對話區域。 In step S340, the push broadcast information is reconstructed according to the display template, and displayed in the corresponding preset template interface, which does not cover the dialogue area.
終端機可根據選擇的展示模板對推播資訊進行重建,根據展示模板定義的展示樣式,對推播資訊中包含的各個元素資源進行排版,並在預設模板界面中進行展示,其中,預設模板界面指的是用於展示推播資訊的界面,在本實施例中,預設模板界面不遮擋對話區域,預設模板界面可在當前界面中任意不遮擋對話區域的預設區域,例如,在對話區域的下方或上方,在對話區域的左邊或右邊等。 The terminal can reconstruct the push broadcast information according to the selected display template, typeset each element resource contained in the push broadcast information according to the display style defined by the display template, and display it in the preset template interface. The template interface refers to the interface used to display push information. In this embodiment, the preset template interface does not block the dialog area, and the preset template interface can arbitrarily not block the preset area of the dialog area in the current interface, for example, Below or above the dialogue area, on the left or right side of the dialogue area, etc.
第4A圖為一個實施例中展示推播資訊的界面示意圖。如第4A圖所示,終端機擷取對話區域402中聊天訊息的關鍵詞“美食”,並將關鍵詞“美食”發送至伺服器。伺服器在與美食類別對應的資料庫中根據關鍵詞“美食”及終端機的位置資訊篩選得到與終端機的位置資訊對應的餐廳資料,並將餐廳資料作為推播資訊發送至終端機。終端機接收伺服器發送的餐廳資料,根據餐廳資料所屬的美食類別選擇對應的展示模板,根 據展示模板對餐廳資料進行重建,對餐廳資料中包含的各個元素資源,例如餐廳的圖片、餐廳名稱等進行排版,並在預設模板界面404進行展示。在預設模板界面404中,每個餐廳的圖片被放入圓圈中,並在圓圈旁邊顯示對應的餐廳名稱,從左至右按與終端機的位置資訊的距離從近到遠展示。 Figure 4A is a schematic diagram of an interface displaying push information in an embodiment. As shown in FIG. 4A, the terminal retrieves the keyword "food" of the chat message in the dialogue area 402, and sends the keyword "food" to the server. The server filters out the restaurant data corresponding to the location information of the terminal in the database corresponding to the food category according to the keyword "food" and the location information of the terminal, and sends the restaurant information to the terminal as push information. The terminal receives the restaurant information sent by the server, selects the corresponding display template according to the food category to which the restaurant information belongs, reconstructs the restaurant information according to the display template, and rebuilds the various element resources contained in the restaurant information, such as restaurant pictures, restaurant names, etc. Perform typesetting and display on the preset template interface 404. In the default 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 to the location information of the terminal is displayed from left to right from near to far.
第4B圖為另一個實施例中展示推播資訊的界面示意圖。如第4B圖所示,終端機擷取對話區域402中聊天訊息的關鍵詞“行程表”,並將關鍵詞“行程表”發送至伺服器。伺服器在與行程表類別對應的資料庫中根據接收關鍵詞“行程表”的時間及用戶識別篩選得到對應1週內的行程表資料,並將行程表資料作為推播資訊發送至終端機。終端機接收伺服器發送的行程表資料,根據行程表資料所屬的行程表類別選擇對應的展示模板,根據展示模板對行程表資料進行重建,對行程表資料中包含的各個元素資源,例如日期時間、行程安排等進行排版,並在預設模板界面404進行展示。在預設模板界面404中,中間展示有用戶需要查看的行程表,與用戶需要查看的行程表關聯的其它天的行程表按順序分別排布在兩側。 Figure 4B is a schematic diagram of an interface for displaying push information in another embodiment. As shown in FIG. 4B, the terminal retrieves the keyword "schedule" of the chat message in the dialog area 402, and sends the keyword "schedule" to the server. The server obtains the itinerary data corresponding to one week in the database corresponding to the itinerary category according to the time of receiving the keyword "schedule" and user identification, and sends the itinerary data to the terminal as push information. The terminal receives the itinerary data sent by the server, selects the corresponding display template according to the itinerary category to which the itinerary data belongs, reconstructs the itinerary data according to the display template, and rebuilds each element resource contained in the itinerary data, such as date and time , Itinerary, etc. are typeset and displayed on the preset template interface 404. In the preset template interface 404, the itinerary that the user needs to view is displayed in the middle, and the itinerary of other days associated with the itinerary that the user needs to view are arranged on both sides in order.
第4C圖為又一個實施例中展示推播資訊的界面示意圖。如第4C圖所示,終端機擷取對話區域402中聊天訊息的關鍵詞“美食”,並將關鍵詞“美食”發送至伺服器。伺服器在與美食類別對應的資料庫中根據關鍵詞“美食”及終端機的位置資訊篩選得到與終端機的位置資訊對應的餐廳資料,並將餐廳資料作為推播資訊發送至終端機。終端機接收伺服器發送的餐廳資料,根據餐廳資料所屬的美食類別選擇對應的展示模板,根據展示模板對餐廳資料進行重建,對餐廳資料中包含的各個元素資源, 例如餐廳的圖片、餐廳名稱等進行排版,並在預設模板界面404進行展示。在預設模板界面404中,每個餐廳的圖片被放入圓圈中,並在圓圈旁邊顯示對應的餐廳名稱,從左至右按與終端機的位置資訊的距離從近到遠展示。 FIG. 4C is a schematic diagram of an interface for displaying push information in another embodiment. As shown in Figure 4C, the terminal captures the keyword "food" of the chat message in the dialogue area 402, and sends the keyword "food" to the server. The server filters out the restaurant data corresponding to the location information of the terminal in the database corresponding to the food category according to the keyword "food" and the location information of the terminal, and sends the restaurant information to the terminal as push information. The terminal receives the restaurant information sent by the server, selects the corresponding display template according to the food category to which the restaurant information belongs, reconstructs the restaurant information according to the display template, and rebuilds the various element resources contained in the restaurant information, such as restaurant pictures, restaurant names, etc. Perform typesetting and display on the preset template interface 404. In the default 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 to the location information of the terminal is displayed from left to right from near to far.
上述基於即時通訊的資訊推播方法,通過擷取聊天訊息的關鍵詞,從伺服器獲得與關鍵詞匹配的推播資訊,根據選擇的展示模板對推播資訊進行重建後,在對應的預設模板界面中展示,無需用戶提供關鍵詞,實時根據聊天訊息推播資訊,能夠精準推播用戶感興趣的內容。此外,預設模板界面不遮擋聊天區域,用戶無需跳轉當前的聊天界面獲得推播資訊,也不會打斷當前的聊天過程,使即時通訊更加便利、流暢,能夠提高用戶黏著度。 The above-mentioned information push method based on instant messaging obtains push information matching the keywords from the server by retrieving the keywords of the chat message. After the push information is reconstructed according to the selected display template, the corresponding preset Display in the template interface, without the user providing keywords, real-time push and broadcast of information based on chat messages, which can accurately push the content of interest to users. In addition, the preset template interface does not block the chat area, and users do not need to jump to the current chat interface to obtain push information, nor interrupt the current chat process, making instant messaging more convenient and smooth, and improving user stickiness.
如第5圖所示,在一個實施例中,在步驟S310擷取對話區域中的聊天訊息的關鍵詞之後,更包括以下步驟: As shown in Figure 5, in one embodiment, after the keyword of the chat message in the dialogue area is retrieved 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 information content matching the keyword according to the category, and then generates push preview data based on the information content.
伺服器向終端機發送與關鍵詞匹配的推播資訊,其中,推播資訊可包括推播預覽資料及具體內容資料,推播預覽資料指的是與關鍵詞匹配的資訊內容的預覽資料,例如各條資訊內容的名稱、簡介等資訊,具體內容資料指的是每條資訊內容下的具體內容資訊。例如,伺服器向終端機推播與關鍵詞“美食”匹配的餐廳資料,推播資訊可包括各個餐廳的圖片、名稱、簡介等推播預覽資料,也可包括每個餐廳的具體菜肴、評價及 優惠資訊等具體內容資料。 The server sends push information matching the keywords to the terminal, where push information can include push preview data and specific content data. Push preview data refers to the preview data of the information content that matches the keywords, for example The name, introduction and other information of each piece of information content. The specific content data refers to the specific content information under each piece of information content. For example, the server pushes the restaurant information that matches the keyword "food" to the terminal. The push information can include the pictures, names, profiles and other push preview data of each restaurant, as well as the specific dishes and reviews of each restaurant. And specific content information such as discount information.
步驟S504,從伺服器獲得與關鍵詞匹配的推播預覽資料。 Step S504: Obtain push preview data matching the keyword from the server.
終端機將關鍵詞發送至伺服器,伺服器確定關鍵詞所屬的類別後,可在與該類別對應的資料庫中篩選與關鍵詞匹配的資訊內容,並根據資訊內容生成推播預覽資料。終端機接收與關鍵詞匹配的推播預覽資料,並根據與推播預覽資料對應的類別選擇與該類別匹配的展示模板,根據展示模板對推播預覽資料進行重建,對推播預覽資料中包含的各個元素資源進行排版,並在預設模板界面中進行展示。 The terminal sends the keywords to the server. After the server determines the category to which the keyword belongs, it can filter the information content matching the keyword in the database corresponding to the category, and generate push preview data based on the information content. The terminal receives the push preview data that matches the keyword, and selects the display template matching the category according to the category corresponding to the push preview data, reconstructs the push preview data according to the display template, and rebuilds the push preview data that contains The various elements of the resource are typeset and displayed in the preset template interface.
步驟S506,根據與推播預覽資料對應的類別選擇與類別匹配的展示模板。 Step S506: Select a display template matching the category according to the category corresponding to the push preview material.
進一步地,預設模板界面中展示推播預覽資料,終端機可根據用戶在預設模板界面中的操作持續展示更多的推播預覽資料,其中,該操作可以是通過觸控預設模板界面對應的觸摸螢幕進行的滑動操作,也可以是通過手、滑鼠或觸控筆等輸入設備點擊拖曳預設模板界面的進度條的操作等。預設模板界面中展示的推播資訊可按照一定規則的排序方式進行排序展示,例如餐廳資料按照與終端機的位置資訊的距離由近至遠排序展示,天氣資料按照時間進行排序展示,行程表資料按照時間進行排序展示等,但不限於此。終端機可根據用戶在預設模板界面中的操作變換推播預覽資料的排序展示方式,其中,操作可以是預設手勢,例如通過手掌滑動預設模板界面,當終端機檢測到觸控面積大於閾值,且進行滑動時,則變更推播預覽資料的排序展示方式,或是其它的操作,例如長按預設模板界面的操作,也可以在預設模板界面中設置排序選項按鈕,根據點擊排序選 項按鈕觸發相應的排序方式。例如,餐廳資料按照與終端機的位置資訊的距離由近至遠排序展示,用戶通過長按預設模板界面,將餐廳資料按照用戶評價從高至低排序展示。 Further, the push preview data is displayed in the preset template interface, and the terminal can continuously display more push preview data according to the user's operation in the preset template interface, where the operation can be by touching the preset template interface The corresponding sliding operation on the touch screen can also be the operation of clicking and dragging the progress bar of the preset template interface through an input device such as a hand, a mouse or a stylus. The push information displayed in the default template interface can be sorted and displayed according to certain rules. For example, restaurant information is displayed in order of distance from the terminal's location information, weather information is displayed in order of time, and itinerary The information is sorted and displayed according to time, but not limited to this. The terminal can change the sorting display mode of the push preview data according to the user's operation in the preset template interface. The operation can be a preset gesture, such as sliding the preset template interface with 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 operation of the preset template interface, you can also set the sort option button in the preset template interface, and sort according to click The option button triggers the corresponding sorting method. For example, restaurant information is displayed in order of distance from the terminal's location information, and the user long presses the preset template interface to display the restaurant information in order of user evaluation from high to low.
第6圖為一個實施例中根據用戶在預設模板界面中的操作持續展示更多的推播預覽資料的示意圖。如第6圖所示,預設模板界面404中展示有包含多個餐廳圖片、名稱的推播預覽資訊,用戶可利用手勢在預設模板界面404進行向左滑動操作,當終端機接收到在預設模板界面404進行的向左滑動操作時,預設模板界面隨著手勢滑動持續展示更多的與餐廳相關的推播預覽資訊。 Figure 6 is a schematic diagram of continuously displaying more push preview materials according to user operations in the preset template interface in an embodiment. As shown in Figure 6, the preset template interface 404 displays push preview information containing multiple restaurant pictures and names. The user can use gestures to slide left on the preset template interface 404. When the terminal receives the When the preset template interface 404 performs a leftward sliding operation, the preset template interface continues to display more restaurant-related push preview information along with the gesture sliding.
在本實施例中,伺服器可先向終端機發送與關鍵詞匹配的推播預覽資料,減少推播資訊的資料傳輸量,使關鍵詞匹配的響應速度更快。 In this embodiment, the server may first send push preview data matching the keywords to the terminal, reducing the amount of data transmission of push information and making the response speed of keyword matching faster.
如第7圖所示,在一個實施例中,上述基於即時通訊的資訊推播方法,更包括以下步驟: As shown in Figure 7, in one embodiment, the above-mentioned instant messaging-based information pushing method further includes the following steps:
步驟S702,根據對預設模板界面的第一操作獲得查看目標對象。 Step S702: Obtain the viewing target object according to the first operation on the preset template interface.
終端機的預設模板界面上可展示伺服器發送的與關鍵詞匹配的推播預覽資訊,用戶可通過點擊具體項,查看具體內容資料,其中,具體項指的是推播資訊中的具體項目,例如具體的餐廳、餐廳中的具體某道菜,與明星相關的具體新聞、具體的歌等。當終端機接收到用戶對預設模板界面進行的第一操作時,根據第一操作獲得查看目標對象,其中,第一操作可以是通過手指、觸控筆或滑鼠等輸入設備進行的點擊操作等。終端機可獲得查看目標對象的識別,每條與關鍵詞匹配的資訊內容都具有唯 一的識別,可以是資訊內容的名稱、編號等,例如餐廳的編號、明星的名字、電影的名字等。 The preset template interface of the terminal can display the push preview information that matches the keyword sent by the server. The user can click on the specific item to view the specific content data, where the specific item refers to the specific item in the push information , Such as a specific restaurant, a specific dish in a restaurant, specific news related to a star, a specific song, etc. When the terminal receives the first operation performed by the user on the preset template interface, the viewing target object is obtained according to the first operation, where the first operation can 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 viewing target, and each piece of information that matches the keyword has a unique identification, which can be the name and number of the information content, such as the number of the restaurant, the name of the star, the name of the movie, and so on.
步驟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 push preview data according to the content viewing request, and updates Priority of transmission of specific content materials.
終端機的預設模板界面可展示多個內容層級的推播資訊,通常可為三個以內的內容層級,後面內容層級展示的內容均是前面內容層級展示的內容的細化,例如,預設模板界面展示與關鍵詞“美食”匹配的推播資訊,第一內容層級可展示包含各個餐廳圖片、名稱及簡介等資訊的推播預覽資料,第二內容層級可展示某個餐廳的菜單、評價、優惠資訊等,第三內容層級可展示該菜單中具體某道菜的介紹及價格等資訊,但不限於此。伺服器根據關鍵詞在對應的資料庫中篩選匹配的資訊內容後,根據資訊內容生成推播預覽資料,並向終端機發送推播預覽資料的同時,可根據資訊內容生成與推播預覽資料關聯的層級資料。當伺服器接收到終端機發送的內容查看請求時,可根據內容查看請求獲得查看目標對象的識別,並根據查看目標對象的識別直接從與推播預覽資料關聯的層級資料中獲得與查看目標對象對應的具體內容資料。 The preset template interface of the terminal can display push information of multiple content levels, usually within three content levels. The content displayed at the subsequent content levels is a refinement of the content displayed at the previous content level, for example, the default The template interface displays the push information matching the keyword "food". The first content level can display the push preview data including the pictures, names and profiles of each restaurant, and the second content level can display the menu and evaluation of a restaurant , Discount information, etc. The third content level can display the introduction and price of a specific dish in the menu, but it is not limited to this. After the server filters the matching information content in the corresponding database according to the keywords, it generates push preview data based on the information content, and sends the push preview data to the terminal, and can generate and associate the push preview data according to the information content The level of data. When the server receives the content viewing request sent by the terminal, it can obtain the identification of the viewing target according to the content viewing request, and directly obtain and view the viewing target from the hierarchical data associated with the push preview according to the identification of the viewing target. Corresponding specific content information.
由於伺服器向終端機發送推播資訊是一個持續的過程,伺服器獲得與關鍵詞匹配的資訊內容後,可根據用戶的瀏覽情況選擇資料進行傳輸。當伺服器接收內容查看請求,並根據內容查看請求獲得對應的具體內容資料後,可更新具體內容資料的傳輸優先權,將具體內容資料的傳輸 優先權調至最高級別,即可使具體內容資料先於其它推播資訊傳送至終端機進行展示。 Since the server sending push information to the terminal is a continuous process, after the server obtains the information content that matches the keyword, it can select the data for transmission according to the user's browsing situation. After the server receives the content view request and obtains the corresponding specific content data according to the content view request, it can update the transmission priority of the specific content data, and adjust the transmission priority of the specific content data to the highest level to make the specific content data Before other push information is sent to the terminal for display.
步驟S706,接收伺服器根據傳輸優先權發送的具體內容資料,並根據展示模板對具體內容資料進行重建,將預設模板界面中當前展示的資料切換為重建後的具體內容資料。 Step S706: Receive the specific content data sent by the server according to the transmission priority, reconstruct the specific content data according to the display template, and switch the data currently displayed in the preset template interface to the reconstructed specific content data.
終端機接收伺服器發送的具體內容資料後,可根據與關鍵詞所屬類別對應的展示模板對具體內容資料進行重建,按照展示模板中定義的展示樣式,對具體內容資料中包含的各個元素資源進行排版,並將預設模板界面中當前展示的資料切換為重建後的具體內容資料,其中,預設模板界面中當前展示的資料為具體內容資料的上一內容層級的相關資料。 After the terminal receives the specific content data sent by the server, it can reconstruct the specific content data according to the display template corresponding to the category of the keyword. According to the display style defined in the display template, perform various element resources contained in the specific content data. Typesetting, and switch the data currently displayed in the preset template interface to the reconstructed specific content data, where the currently displayed data in the preset template interface is related data of the previous content level of the specific content data.
第8A圖為一個實施例中終端機接收對預設模板界面的第一操作的示意圖,第8B圖為一個實施例中根據第一操作展示具體內容資料的示意圖。如第8A圖所示,終端機接收用戶對預設模板界面404的第一操作,根據第一操作確定查看目標對象為餐廳三,終端機向伺服器發送內容查看請求,從而獲得與餐廳三關聯的具體內容資料。終端機根據展示模板對餐廳三的具體內容資料進行重建,並將預設模板界面404中原本展示的各餐廳的圖片、名稱等資料切換為重建後的餐廳三的具體內容資料,具體展示可如第8B圖所示,預設模板界面404中展示了餐廳三的多種招牌菜的具體內容資料。 FIG. 8A is a schematic diagram of the terminal receiving the first operation on the preset template interface in an embodiment, and FIG. 8B is a schematic diagram of displaying specific content data according to the first operation in an embodiment. As shown in Figure 8A, the terminal receives the user's first operation on the preset template interface 404, and according to the first operation determines that the viewing target is restaurant three, and the terminal sends a content viewing request to the server to obtain the association with restaurant three The specific content information. The terminal reconstructs the specific content data of restaurant three according to the display template, and switches the pictures and names of each restaurant originally displayed in the preset template interface 404 to the specific content data of the reconstructed restaurant three. The specific display can be as follows As shown in FIG. 8B, the preset template interface 404 displays specific content information of various signature dishes of Restaurant Three.
在一個實施例中,當終端機接收到對預設模板界面的返回操作時,可根據返回操作返回上一內容層級,將預設模板界面展示的具體內容資料切換為上一內容層級的資料。可在預設模板界面中設置返回按鈕, 返回操作可以是點擊返回按鈕,也可以是預設的返回手勢,例如長按預設模板界面達到預設時間並向下滑動,則返回上一內容層級,並不限於此。 In one embodiment, when the terminal receives a return operation to the preset template interface, it can return to the previous content level according to the return operation, and switch the specific content data displayed on 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 click the return button or a preset return gesture. For example, long press the preset template interface for a preset time and slide down to return to the previous content level , Not limited to this.
在本實施例中,伺服器向終端機發送推播預覽資料時,即生成關聯的層級資料,當接收到內容查看請求時,即可根據內容查看請求篩選對應的具體內容資料,並更新具體內容資料的傳輸優先權,可使終端機更加快速地獲得所需查看的具體內容資料。 In this embodiment, when the server sends the push preview data to the terminal, it generates the associated hierarchical data. When receiving the content view request, it can filter the corresponding specific content data according to the content view request and update the specific content The priority of data transmission allows the terminal to obtain the specific content data that it needs to view more quickly.
如第9圖所示,在一個實施例中,上述基於即時通訊的資訊推播方法,更包括以下步驟: As shown in Figure 9, in one embodiment, the above-mentioned information push method based on instant messaging further includes the following steps:
步驟S902,根據對預設模板界面的第二操作確定分享目標對象。 Step S902: Determine the sharing target object according to the second operation on the preset template interface.
用戶可通過選擇預設模板界面上的推播資訊,分享給對話區域中的其他對話用戶。當終端機接收到對預設模板界面的第二操作時,可根據第二操作確定分享目標對象,並獲得分享目標對象的識別,其中,第二操作可為分享操作的前置操作,用於生成分享的結構化資料,也可以直接作為分享操作,生成結構化資料後直接進行分享。 The user can share the push information on the interface of the preset template with other users in the conversation area. When the terminal receives the second operation on the preset template interface, it can determine the sharing target object according to the second operation, and obtain the recognition of the sharing target object, where the second operation can be a pre-operation of the sharing operation for Generated and shared structured data can also be directly used as a sharing operation, and share directly after generating structured data.
分享操作可預先進行設置,例如,可以在預設模板界面上設置分享按扭,當用戶通過滑鼠右鍵選中推播資訊的具體項時,顯示分享按鈕,當點擊分享按鈕時即可觸發分享操作,則第二操作即為對具體項的分享按鈕進行的點擊操作;也可以是預設的手勢,例如長按具體項大於或等於預設時間值,並拖曳至對話區域,則第二操作可為手或滑鼠等的長按操作,用於生成結構化資料。具體的分享操作可根據需求進行設定,並不限於此。 The sharing operation can be set in advance. For example, you can set the sharing button on the preset template interface. When the user selects the specific item of the push broadcast information with the right mouse button, the sharing button is displayed, and the sharing can be triggered when the sharing button is clicked Operation, the second operation is the click operation on the share button of the specific item; it can also be a preset gesture, for example, long press the specific item greater than or equal to the preset time value and drag it to the dialog area, then the second operation It can be a long-press operation such as a hand or a 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 can be any specific item in the push information, and the target audience for sharing can generally be a complete piece of information content, for example, when a user performs a specific restaurant or a specific dish in the restaurant. In the second operation, the corresponding sharing target objects are all specific content data containing all the information of the restaurant.
步驟S904,從伺服器獲得與分享目標對象匹配的具體內容資料。 Step S904: Obtain specific content data matching the sharing target from the server.
終端機可根據分享目標對象的識別向伺服器發送內容獲得請求,伺服器根據內容獲得請求獲得分享目標對象的識別,並根據分享目標對象的識別直接從與推播預覽資料關聯的層級資料中獲得與分享目標對象對應的具體內容資料,並更新與分享目標對象對應的具體內容資料的傳輸優先權,將與分享目標對象對應的具體內容資料的傳輸優先權變為最高優先權,優先將與分享目標對象對應的具體內容資料發送給終端機。 The terminal can send a content acquisition request to the server according to the identification of the sharing target. The server obtains the identification of the sharing target according to the content acquisition request, and directly obtains the hierarchical data associated with the push preview according to the identification of the sharing target The specific content data corresponding to the sharing target object, and the transmission priority of the specific content data corresponding to the sharing target object is updated, and the transmission priority of the specific content data corresponding to the sharing target object is changed to the highest priority, and the priority will be with the sharing target The specific content data corresponding to the object is sent to the terminal.
步驟S906,按照與推播資訊對應的訊息樣式對與分享目標對象匹配的具體內容資料進行重建,生成結構化訊息。 In step S906, the specific content data matching the sharing target object is reconstructed according to the message style corresponding to the push information to generate a structured message.
終端機接收由伺服器發送的與分享目標對象對應的具體內容資料,可根據關鍵詞所屬的類別選擇對應的訊息樣式,訊息樣式中定義了推播資訊進行分享時的具體展示樣式及資料結構。終端機可根據選擇的訊息樣式對與分享目標對象匹配的具體內容資料進行重建,按照訊息樣式定義的展示樣式及資料結構從與分享目標對象對應的具體內容資料中選擇對應的元素資源進行處理,生成結構化訊息。例如,與美食類別對應的訊息樣式中定義的資料結構中包括餐廳的名稱、圖片、地址資訊,與明星類別對應的訊息樣式定義的資料結構中包括明星名字、圖片,與電影對應的 訊息樣式定義的資料結構中包括電影名字、主演、簡介及圖片等,並可根據不同類別的需求定義不同的展示樣式。 The terminal receives the specific content data corresponding to the sharing target object sent by the server, and can select the corresponding message style according to the category of the keyword. The message style defines the specific display style and data structure of the push information when sharing. The terminal can reconstruct the specific content data matching 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 for processing. 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 message style definition corresponding to the star category includes the name and picture of the star, and the message style definition corresponding to the movie. The data structure includes movie name, starring, introduction and pictures, etc., and different display styles can be defined 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 dialog area.
終端機根據第二操作生成待分享的結構化資料,當接收到第三操作時,其中,第三操作可以是拖曳操作或是點擊等觸發操作。在一個實施例中,若第三操作為拖曳操作,終端機可監聽抬起事件,若抬起事件的抬起坐標點位於對話區域,則將結構化訊息發送給與對話區域對應的用戶終端機,若對話區域中進行的是一對一對話,則將結構化訊息發送給對應的用戶終端機,若對話區域中進行的是多人對話,則可將結構化訊息發送給所有參與對話的用戶終端機。若抬起事件的抬起坐標點位於預設模板界面,則取消發送,不進行推播資訊分享。在一個實施例中,若第三操作為拖曳操作,可獲得拖曳的距離及方向,若拖曳的方向為向對話區域移動的方向且距離超過預設距離,則將結構化訊息發送給與對話區域對應的用戶終端機等,但不限於此。 The terminal generates the structured data to be shared according to the second operation. When the third operation is received, the third operation may be a drag operation or a trigger operation such as a click. In one embodiment, if the third operation is a drag operation, the terminal can monitor the lifting event, and if the lifting coordinate point of the lifting event is located in the dialogue area, the structured message is sent to the user terminal corresponding to the dialogue area If there is a one-to-one conversation in the dialogue area, the structured message will be sent to the corresponding user terminal. If the dialogue area is a multi-person dialogue, 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 in 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 dialogue area and the distance exceeds the preset distance, the structured message is sent to the dialogue area The corresponding user terminal, etc., but not limited to this.
第10圖為一個實施例中分享推播資訊的示意圖。如第10圖所示,用戶可先在預設模板界面404上長按餐廳一的具體項,終端機根據長按操作獲得餐廳一的具體內容資料,並選擇與美食類別對應的訊息樣式對餐廳一的具體內容資料進行重建,生成結構化資料。用戶通過將餐廳一的具體項拖曳至對話區域402,終端機監聽到抬起事件的抬起坐標點位於對話區域402,則將結構化資料發送給對話的用戶終端機,並按照訊息樣式在對話區域中以卡片的形式展示分享的餐廳一資料1002。 Figure 10 is a schematic diagram of sharing push information in an embodiment. As shown in Figure 10, the user can first long-press the specific item of restaurant one on the preset template interface 404, and the terminal can obtain the specific content data of restaurant one according to the long-press operation, and select the message style corresponding to the food category. 1. The specific content data is reconstructed to generate structured data. The user drags the specific item of restaurant 1 to the dialogue area 402, and the terminal monitors that the lifting coordinate point of the lifting event is located in the dialogue area 402, and then sends the structured data to the user terminal of the dialogue, and displays it in the dialogue according to the message style. The shared restaurant one information 1002 is displayed in the form of a card in the area.
在本實施例中,用戶可根據需求選擇推播資訊發送給對話的其它用戶終端機,幫助用戶更快瞭解感興趣的內容,保證即時通訊的質量,能夠提高用戶黏著度。 In this embodiment, the user can select push information to be sent to other user terminals of the conversation according to needs, which helps the user understand the content of interest more quickly, guarantees the quality of instant messaging, and can improve user stickiness.
在一個實施例中,在步驟S340根據展示模板對推播資訊進行重建,並在對應的預設模板界面中展示,預設模板界面不遮擋對話區域之前,更包括:按照預設方式喚起預設模板界面,並將預設模板界面覆蓋在虛擬鍵盤上。 In one embodiment, in step S340, the push information is reconstructed according to the display template, and displayed in the corresponding preset template interface. Before the preset template interface does not block the dialog area, it further includes: evoke the preset in a preset manner Template interface, and overlay the preset template interface on the virtual keyboard.
在步驟S340之後,更包括:根據對對話區域的第四操作使預設模板界面處於不可見狀態,並重新展示虛擬鍵盤。 After step S340, it further includes: making the preset template interface in an invisible state according to the fourth operation on the dialog area, and re-displaying the virtual keyboard.
終端機擷取對話區域中聊天訊息的關鍵詞後,可按預設方式喚起預設模板界面,並將預設模板界面覆蓋在界面中原本展示的虛擬鍵盤上,其中,喚起指的是使預設模板界面處於可見狀態,喚起方式可根據需要預先進行設置,例如,以切換效果從下往上喚起預設模板界面、直接在虛擬鍵盤上以百葉窗的格式展示預設模板界面、從上往下飛入預設模板界面並覆蓋在虛擬鍵盤上等。 After the terminal retrieves the keywords of the chat message in the dialogue area, it can call up the preset template interface in a preset way, and overlay the preset template interface on the virtual keyboard originally displayed in the interface. Set the template interface in a visible state, and the arousal method can be set in advance as needed, for example, the preset template interface is evoked from bottom to top with the switching effect, the preset template interface is displayed in the blind format directly on the virtual keyboard, from top to bottom Fly into the preset template interface and overlay it on the virtual keyboard, etc.
終端機在預設模板界面中展示推播資訊,當接收到用戶對對話區域的第四操作時,其中,第四操作可以是對對話區域中的對話資訊展示框或資訊輸入框等的點擊操作等,則根據對對話區域的第四操作使預設模板界面處於不可見狀態。使預設模板界面處於不可見狀態的方式也可根據需求進行設定,例如,以切換效果從上往下移出預設模板界面,使預設模板界面變成隱藏狀態等,並重新展示虛擬鍵盤,方便用戶輸入聊天訊息。 The terminal displays the push information in the preset template interface. When receiving the user's fourth operation on the dialog area, the fourth operation can 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 in an invisible state according to the fourth operation on the dialog area. The way to make the preset template interface in an invisible state can also be set according to needs, for example, to move the preset template interface from top to bottom with a switching effect, make the preset template interface hidden, etc., and re-display the virtual keyboard for convenience 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 is the preset template interface, one is the virtual keyboard, and the other is the dialogue window. Among them, the dialogue window refers to the entire window for dialogue, which can include dialogue area and contact. People area or dialogue image display area, etc. As shown in Figure 11, Figure 11 is a schematic diagram of the interface design in an embodiment. The dialog window 1106 is located at the bottom, the preset template interface 1102 and the virtual keyboard 1104 are located above the dialog window, and they can be switched as required. When displaying push information, the default template interface 1102 is located above the virtual keyboard 1104. If the user chooses to cancel the display of push information, the virtual keyboard 1104 is located above the default template interface 1102.
在一個實施例中,在步驟S310擷取對話區域中的聊天訊息的關鍵詞之後,更包括:通過預設樣式對關鍵詞進行標記。 In one embodiment, after the keyword of the chat message in the dialogue area is retrieved in step S310, the method further includes: marking the keyword with a preset pattern.
終端機擷取對話區域中的聊天訊息的關鍵詞後,可通過預設樣式對關鍵詞進行標記,其中,預設樣式可包括將關鍵詞加粗、在關鍵詞下添加下劃線、對關鍵詞填充顏色等中的一種或多種,但並不限於此。對關鍵詞進行標記後,若終端機從伺服器獲得與關鍵詞匹配的推播資訊後,可建立標記的關鍵詞與推播資訊之間的鏈接,當取消展示預設模板界面及推播資訊後,可通過觸發關鍵詞與推播資訊之間的鏈接重新喚起預設模板界面,並在預設模板界面中展示匹配的推播資訊,無需伺服器多次進行智慧篩選,可降低伺服器壓力,並提高推播資訊的展示速度。 After the terminal retrieves the keywords of the chat message in the dialog area, it can mark the keywords with a preset style, where the preset style can include bolding the keywords, adding underlines under the keywords, and filling keywords One or more of colors, etc., but not limited thereto. After the keywords are marked, if the terminal obtains the push information matching the keywords from the server, it can establish a link between the marked keywords and the push information, and the default template interface and push information will be canceled. After that, the default template interface can be re-evoked by triggering the link between the keyword and the push information, and the matching push information will be displayed in the default template interface. There is no need for the server to perform multiple intelligent screening, which can reduce the pressure on the server , And improve the display speed of push news.
在本實施例中,預設模板界面可根據需求與虛擬鍵盤進行切換展示,更加貼合用戶的日常輸入習慣,使即時通訊更加便利、流暢,能夠提高用戶黏著度。 In this embodiment, the preset template interface can be switched and displayed with the virtual keyboard according to needs, which is more in line with the user's daily input habits, makes instant messaging more convenient and smooth, and can improve user adhesion.
在一個實施例中,上述基於即時通訊的資訊推播方法,更包括:根據選擇操作確定對應的推薦程度選項,並根據推薦程度選項開啟對 應的推播方式。 In one embodiment, the foregoing instant messaging-based information push method further includes: determining a corresponding recommendation level option according to the selection operation, and enabling the corresponding push method according to the recommendation level option.
推薦程度選項可根據需求進行設定,在本實施例中,推薦程式選項可包括實時推薦、提示推薦及不推薦,其中,實時推薦指的是終端機只要辨識到聊天訊息中的關鍵詞即進行推播資訊展示;提示推薦指的是終端機辨識到聊天訊息中的關鍵詞後,只按照預設樣式對關鍵詞進行標記,對用戶進行提示,當接收到用戶對關鍵詞的觸發操作時,再從伺服器獲得匹配的推播資訊進行展示;不推薦指的是終端機不對聊天訊息中的關鍵詞進行辨識,不進行推播資訊展示。 The recommendation level options can be set according to requirements. In this embodiment, the recommendation program options can include real-time recommendation, prompt recommendation, and non-recommendation. Among them, real-time recommendation means that the terminal will push as long as the keyword in the chat message is recognized. Broadcast information display; prompt recommendation means that after the terminal recognizes the keyword in the chat message, it only marks the keyword according to the preset pattern, and prompts the user. When the user triggers the keyword operation, then Obtain matching push information from the server for display; not recommended means that the terminal does not recognize keywords in chat messages and does not display push information.
在其它的實施例中,推薦程度選項還可以是各類別的推薦開關,例如,用戶可根據需要僅選擇美食類別與明星類別進行推播,當終端機辨識到聊天訊息中屬上述兩個類別的關鍵詞時,即展示匹配的推播資訊,若辨識到不屬上述兩個類別的關鍵詞,則不從伺服器獲得推播資訊進行展示。 In other embodiments, the recommendation level option can also be a recommendation switch for each category. For example, the user can select only the food category and the celebrity category to push as needed. When the terminal recognizes that the chat message belongs to the above two categories When keywords are used, the matching push information is displayed. If keywords that do not belong to the above two categories are identified, the push information will not be obtained from the server for display.
在本實施例中,用戶可根據需求選擇所需的推薦程度選項,從而按照對應的推播方式進行推播,更貼合用戶需求,能夠提高用戶黏著度。 In this embodiment, the user can select the required recommendation level option according to the demand, so as to perform the push broadcast according to the corresponding push broadcast method, which is more suitable for the user's demand and can improve the user's stickiness.
第12圖為一個實施例中終端機與伺服器的交互流程示意圖。如第12圖所示,上述基於即時通訊的資訊推播方法,終端機與伺服器包括以下交互步驟: Figure 12 is a schematic diagram of the interaction process between the terminal and the server in an embodiment. As shown in Figure 12, in the above-mentioned information push method based on instant messaging, the terminal and the server include the following interaction steps:
步驟S1202,終端機擷取對話區域中的聊天訊息的關鍵詞,並發送關鍵詞給伺服器。 Step S1202: The terminal retrieves the keywords of the chat message in the dialogue area, and sends the keywords to the server.
步驟S1204,伺服器判斷是否已有匹配資料庫,若是,則執 行步驟S1208,若否,則執行步驟S1206。 In step S1204, the server determines whether there is a matching database, if yes, then executes step S1208, if not, executes step S1206.
步驟S1206,伺服器搜索資料。 Step S1206, the server searches for data.
步驟S1208,伺服器選擇與關鍵詞匹配的資訊內容。 In step S1208, the server selects information content matching the keyword.
步驟S1210,終端機通過預設樣式對關鍵詞進行標記。 In step S1210, the terminal marks the keywords in a preset pattern.
步驟S1212,終端機按照預設方式喚起預設模板界面。 In step S1212, the terminal evokes a preset template interface in a preset manner.
步驟S1214,伺服器根據資訊內容生成推播預覽資料,並發送給終端機。 In step S1214, the server generates push preview data according to the information content, and sends it to the terminal.
步驟S1216,伺服器生成與推播預覽資料關聯的層級資料,並發送給終端機。 In step S1216, the server generates hierarchical data associated with the push preview data and sends it to the terminal.
步驟S1218,終端機根據展示模板對推播資訊進行重建,並在對應的預設模板界面中展示。 In step S1218, the terminal reconstructs the push broadcast information according to the display template, and displays it in the corresponding preset template interface.
步驟S1220,終端機根據用戶操作展示所需查看的具體內容資料,向伺服器發送請求。 In step S1220, the terminal sends a request to the server according to the user's operation to display the specific content data to be viewed.
步驟S1222,伺服器根據請求獲得對應的具體內容資料,並發送給終端機。 In step S1222, the server obtains the corresponding specific content data according to the request, and sends it to the terminal.
步驟S1224,終端機按照訊息樣式對具體內容資料進行重建,生成結構化訊息。 In step S1224, the terminal reconstructs the specific content data according to the message style to generate a structured message.
終端機擷取對話區域中的聊天訊息的關鍵詞,並將關鍵詞發送至伺服器。伺服器確定關鍵詞所屬類別,並判斷是否已有與關鍵詞所屬類別匹配的資料庫,若有匹配的資料庫,則從匹配的資料庫中篩選得到與關鍵詞匹配的資訊內容,若沒有匹配的資料庫,則搜索是否儲存有與關鍵詞關聯的陳舊推播資訊,若有,則從與關鍵詞關聯的陳舊推播資訊篩選匹 配的資訊內容。伺服器根據篩選得到的與關鍵詞匹配的資訊內容生成推播預覽資料,同時,生成與推播預覽資料關聯的層級資料,伺服器可將推播預覽資料發送給終端機。終端機擷取關鍵詞後,可通過預設樣式對關鍵詞進行標記,並按照預設方式喚起預設模板界面。當終端機接收到伺服器發送的推播資訊後,可根據關鍵詞所屬的類別選擇對應的展示模板,並根據展示模板對推播資訊進行重建,並在對應的預設模板界面中進行展示。終端機可根據用戶操作向伺服器發送具體的請求,可包括內容查看請求及內容獲得請求,伺服器根據終端機發送的具體請求從與推播預覽資料關聯的層級資料中獲得對應的具體內容資料,並更新具體內容資料的傳輸優先權。終端機接收伺服器根據傳輸優先權發送的具體內容資料,在預設模板界面中進行展示,並可根據用戶操作按照訊息對具體內容資料進行重建,重成結構化訊息,將結構化訊息發送給對話區域中參與對話的其它用戶終端機,實現推播資訊的分享。 The terminal retrieves the keywords of the chat message in the dialogue area and sends the keywords 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, it will filter the matching database to obtain the information content that matches the keyword. If there is no match Search the database of whether there are old push information associated with the keyword. If so, filter the matching information content from the old push information associated with the keyword. The server generates push preview data based on the filtered information content that matches the keywords, and at the same time, generates hierarchical data associated with the push preview data, and the server can send the push preview data to the terminal. After the terminal retrieves the keywords, the keywords can be marked with a preset pattern, and the preset template interface can be invoked in a preset manner. When the terminal receives the push information sent by the server, it can select the corresponding display template according to the category of the keyword, reconstruct the push information according to the display template, and display it in the corresponding preset template interface. The terminal can send specific requests to the server based on user operations, including content viewing requests and content obtaining requests. 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 , And update the transmission priority of specific content materials. The terminal receives the specific content data sent by the server according to the transmission priority and displays it in the preset template interface, and can reconstruct the specific content data according to the message according to the user's operation, rebuild it into a structured message, and send the structured message to Other user terminals participating in the dialogue in the dialogue area realize the sharing of push information.
可以理解地,上述終端機與伺服器的交互過程不一定按照第12圖所示的執行順序進行,也可以採用其它的順序步驟進行交互。 It is understandable that the foregoing interaction process between the terminal and the server does not necessarily follow the execution sequence shown in FIG. 12, and other sequence steps may also be adopted for interaction.
在本實施例中,無需用戶提供關鍵詞,實時根據聊天訊息推播資訊,能夠精準推播用戶感興趣的內容。此外,用戶可根據需求選擇所需的推薦程度選項,從而按照對應的推播方式進行推播,更貼合用戶需求,能夠提高用戶黏著度。 In this embodiment, the user does not need to provide keywords and pushes information based on chat messages in real time, which can accurately push the content of interest to the user. In addition, the user can select the required recommendation level option according to the demand, so as to perform the push broadcast according to the corresponding push broadcast method, which is more suitable for the user's needs and can improve the user's adhesion.
如第13圖所示,在一個實施例中,提供一種基於即時通訊的資訊推播裝置1300,包括擷取模組1310、獲得模組1320、選擇模組1330及展示模組1340。 As shown in FIG. 13, in one embodiment, an instant messaging-based information pushing and broadcasting device 1300 is provided, which includes an acquisition module 1310, an acquisition module 1320, a selection module 1330, and a display module 1340.
擷取模組1310,用於擷取對話區域中的聊天訊息的關鍵詞。 The capture module 1310 is used to capture keywords of chat messages in the dialogue area.
獲得模組1320,用於從伺服器獲得與關鍵詞匹配的推播資訊。 The obtaining module 1320 is used to obtain push information matching the keywords from the server.
選擇模組1330,用於根據推播資訊選擇展示模板。 The selection module 1330 is used to select a display template according to the push broadcast information.
展示模組1340,用於根據展示模板對推播資訊進行重建,並在對應的預設模板界面中展示,預設模板界面不遮擋所述對話區域。 The display module 1340 is used to reconstruct the push information according to the display template and display it in the corresponding preset template interface, which does not block the dialogue area.
上述基於即時通訊的資訊推播裝置,通過擷取聊天訊息的關鍵詞,從伺服器獲得與關鍵詞匹配的推播資訊,根據選擇的展示模板對推播資訊進行重建後,在對應的預設模板界面中展示,無需用戶提供關鍵詞,實時根據聊天訊息推播資訊,能夠精準推播用戶感興趣的內容。此外,預設模板界面不遮擋聊天區域,用戶無需跳轉當前的聊天界面獲得推播資訊,也不會打斷當前的聊天過程,使即時通訊更加便利、流暢,能夠提高用戶黏著度。 The above-mentioned instant messaging-based information push device obtains push information matching the keywords from the server by retrieving the keywords of the chat message, and reconstructs the push information according to the selected display template. Display in the template interface, without the user providing keywords, real-time push and broadcast of information based on chat messages, which can accurately push and broadcast the content that users are interested in. In addition, the preset template interface does not block the chat area, and users do not need to jump to the current chat interface to obtain push information, nor interrupt the current chat process, making instant messaging more convenient and smooth, and improving user stickiness.
如第14圖所示,在一個實施例中,上述基於即時通訊的資訊推播裝置1300,除了包括擷取模組1310、獲得模組1320、選擇模組1330及展示模組1340,更包括第一發送模組1350。 As shown in Figure 14, in one embodiment, the above-mentioned instant messaging-based information pushing and broadcasting device 1300 includes a capturing module 1310, an obtaining module 1320, a selection module 1330, and a display module 1340, and also includes a first A sending module 1350.
第一發送模組1350,用於將關鍵詞發送至伺服器,以使伺服器確定關鍵詞所屬的類別,並根據類別選擇與關鍵詞匹配的資訊內容,然後根據資訊內容生成推播預覽資料。 The first sending module 1350 is used to send keywords to the server so that the server determines the category to which the keywords belong, selects information content matching the keywords according to the category, and then generates push preview data according to the information content.
獲得模組1320,更用於從伺服器獲得與關鍵詞匹配的推播預覽資料。 The obtaining module 1320 is further used to obtain push preview data matching the keywords from the server.
選擇模組1330,更用於根據與推播預覽資料對應的類別選擇與類別匹配的展示模板。 The selection module 1330 is further used to select a display template matching the category according to the category corresponding to the push preview data.
在本實施例中,伺服器可先向終端機發送與關鍵詞匹配的推播預覽資料,減少推播資訊的資料傳輸量,使關鍵詞匹配的響應速度更快。 In this embodiment, the server may first send push preview data matching the keywords to the terminal, reducing the amount of data transmission of push information and making the response speed of keyword matching faster.
如第15圖所示,在一個實施例中,上述基於即時通訊的資訊推播裝置1300,除了包括擷取模組1310、獲得模組1320、選擇模組1330、展示模組1340及第一發送模組1350,更包括查看模組1360。 As shown in Figure 15, in one embodiment, the above-mentioned instant messaging-based information pushing and broadcasting device 1300 includes a capturing module 1310, an obtaining module 1320, a selecting module 1330, a displaying module 1340, and a first sending module. Module 1350 also includes viewing module 1360.
查看模組1360,用於根據對預設模板界面的第一操作獲得查看目標對象。 The viewing module 1360 is used to obtain the viewing target object according to the first operation on the preset template interface.
第一發送模組1350,更用於根據查看目標對象向伺服器發送內容查看請求,以使伺服器根據內容查看請求從與推播預覽資料關聯的層級資料中,獲得與查看目標對象對應的具體內容資料,並更新具體內容資料的傳輸優先權。 The first sending module 1350 is further used to send a content viewing request to the server according to the viewing target object, so that the server obtains the specific content corresponding to the viewing target object from the hierarchical data associated with the push preview data according to the content viewing request. Content data, and update the transmission priority of specific content data.
獲得模組1320,更用於接收伺服器根據傳輸優先權發送的具體內容資料。 The obtaining module 1320 is further used for receiving specific content data sent by the server according to the transmission priority.
展示模組1340,更用於根據展示模板對具體內容資料進行重建,將預設模板界面中當前展示的資料切換為重建後的具體內容資料。 The display module 1340 is further used to reconstruct 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 push preview data to the terminal, it generates the associated hierarchical data. When receiving the content view request, it can filter the corresponding specific content data according to the content view request and update the specific content The priority of data transmission allows the terminal to obtain the specific content data that it needs to view more quickly.
如第16圖所示,在一個實施例中,上述基於即時通訊的資 訊推播裝置1300,除了包括擷取模組1310、獲得模組1320、選擇模組1330、展示模組1340、第一發送模組1350及查看模組1360,更包括分享模組1370及第二發送模組1380。 As shown in Figure 16, in one embodiment, the above-mentioned instant messaging-based information pushing and broadcasting device 1300 includes a capturing module 1310, an obtaining module 1320, a selecting module 1330, a displaying module 1340, and a first sending module. 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 used to determine the sharing target object according to the second operation on the preset template interface.
獲得模組1320,更用於從伺服器獲得與分享目標對象匹配的具體內容資料。 The obtaining module 1320 is further used to obtain specific content data matching the sharing target object from the server.
展示模組1340,更用於按照與推播資訊對應的訊息樣式對與分享目標對象匹配的具體內容資料進行重建,生成結構化訊息。 The display module 1340 is further used to reconstruct the specific content data matching the sharing target object according to the message style corresponding to the push information to generate a structured message.
第二發送模組1380,用於當接收到第三操作時,將結構化訊息發送給與對話區域對應的用戶終端機。 The second sending module 1380 is used to send the structured message to the user terminal corresponding to the dialog area when the third operation is received.
在本實施例中,用戶可根據需求選擇推播資訊發送給對話的其它用戶終端機,幫助用戶更快瞭解感興趣的內容,保證即時通訊的質量,能夠提高用戶黏著度。 In this embodiment, the user can select push information to be sent to other user terminals of the conversation according to needs, which helps the user understand the content of interest more quickly, guarantees the quality of instant messaging, and can improve user stickiness.
在一個實施例中,展示模組1340,更用於按照預設方式喚起預設模板界面,並將預設模板界面覆蓋在虛擬鍵盤上。 In one embodiment, the display module 1340 is further used to evoke a preset template interface in a preset manner and overlay the preset template interface on the virtual keyboard.
展示模組1340,更用於根據對對話區域的第四操作使預設模板界面處於不可見狀態,並重新展示虛擬鍵盤。 The display module 1340 is further used for making the preset template interface in an invisible state according to the fourth operation on the dialog area, and redisplaying the virtual keyboard.
在一個實施例中,上述基於即時通訊的資訊推播裝置1300,更包括標記模組。 In one embodiment, the above-mentioned instant messaging-based information pushing and broadcasting device 1300 further includes a marking module.
標記模組,用於通過預設樣式對關鍵詞進行標記。 The marking module is used to mark keywords with preset patterns.
在本實施例中,預設模板界面可根據需求與虛擬鍵盤進行切 換展示,更加貼合用戶的日常輸入習慣,使即時通訊更加便利、流暢,能夠提高用戶黏著度。 In this embodiment, the preset template interface can be switched and displayed with the virtual keyboard according to needs, which is more in line with the user's daily input habits, makes instant messaging more convenient and smooth, and can improve user adhesion.
在一個實施例中,上述基於即時通訊的資訊推播裝置1300,更包括開啟模組。 In one embodiment, the above-mentioned instant messaging-based information pushing and broadcasting device 1300 further includes an opening module.
開啟模組,用於根據選擇操作確定對應的推薦程度選項,並根據推薦程度選項開啟對應的推播方式。 The opening module is used to determine the corresponding recommendation level option according to the selection operation, and to open the corresponding push method according to the recommendation level option.
在本實施例中,用戶可根據需求選擇所需的推薦程度選項,從而按照對應的推播方式進行推播,更貼合用戶需求,能夠提高用戶黏著度。 In this embodiment, the user can select the required recommendation level option according to the demand, so as to perform the push broadcast according to the corresponding push broadcast method, which is more suitable for the user's demand and can improve the user's stickiness.
在一個實施例中,還提供一種終端機,包括儲存器及處理器,儲存器中儲存有電腦可執行指令,電腦可執行指令被處理器執行時,使得處理器實現上述的基於即時通訊的資訊推播方法。 In one embodiment, a terminal is further provided, including a memory and a processor. The memory stores computer-executable instructions. When the computer-executable instructions are executed by the processor, the processor realizes the aforementioned information based on instant messaging. Push broadcast method.
在一個實施例中,還提供一種電腦可讀儲存媒體,其上儲存有電腦程式,電腦程式被處理器執行時實現上述的基於即時通訊的資訊推播方法。 In one embodiment, a computer-readable storage medium is also provided, on which a computer program is stored, and the computer program is executed by a processor to realize the aforementioned information push method based on instant messaging.
以上所述實施例的各技術特徵可以進行任意的組合,為使描述簡潔,未對上述實施例中的各個技術特徵所有可能的組合都進行描述,然而,只要這些技術特徵的組合不存在矛盾,都應當認為是本說明書記載的範圍。 The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, All should be considered as the scope of this specification.
以上所述實施例僅表達了本發明的幾種實施方式,其描述較為具體和詳細,但並不能因此而理解為對發明專利範圍的限制。應當指出的是,對於所屬技術領域中具有通常知識者來說,在不脫離本發明構思的 前提下,還可以做出若干變形和改進,這些都屬本發明的保護範圍。因此,本發明專利的保護範圍應以所附申請專利範圍為准。 The above-mentioned embodiments only express several embodiments of the present invention, and the descriptions are more specific and detailed, but they should not be understood as limiting the scope of the invention patent. It should be pointed out that for those with ordinary knowledge in the technical field, without departing from the concept of the present invention, several modifications and improvements can be made, and these all fall within the protection scope of the present invention. Therefore, the scope of protection of the patent for the present invention shall be subject to the scope of the attached patent application.
S310~S340‧‧‧步驟 S310~S340‧‧‧Step

Claims (13)

  1. 一種基於即時通訊的資訊推播方法,包括:自動擷取對話區域中的對話資訊展示框的聊天訊息的關鍵詞;從伺服器獲得與所述關鍵詞匹配的推播資訊,其中所述推播資訊至少包括推播預覽資料;根據所述推播資訊選擇展示模板;根據所述展示模板對所述推播資訊進行重建,並在對應的預設模板界面中展示,所述預設模板界面不遮擋所述對話區域;根據對所述預設模板界面的第一操作獲得查看目標對象;根據所述查看目標對象向所述伺服器發送內容查看請求,以使所述伺服器根據所述內容查看請求從與所述推播預覽資料關聯的層級資料中,獲得與所述查看目標對象對應的具體內容資料,並更新所述具體內容資料的傳輸優先權;及接收所述伺服器根據所述傳輸優先權發送的所述具體內容資料,並根據所述展示模板對所述具體內容資料進行重建,將所述預設模板界面中當前展示的資料切換為重建後的具體內容資料。 An information push method based on instant messaging includes: automatically extracting keywords of a chat message in a dialog information display frame in a dialog area; obtaining push information matching the keywords from a server, wherein the push The information includes at least push broadcast preview data; a display template is selected according to the push broadcast information; the push broadcast information is reconstructed according to the display template, and displayed in the corresponding preset template interface, which is not Block the dialogue area; obtain a viewing target object according to the first operation on the preset template interface; send a content viewing request to the server according to the viewing target object, so that the server can view according to the content Request to obtain specific content data corresponding to the viewing target object from the hierarchical data associated with the push preview data, and update the transmission priority of the specific content data; and receive the server according to the transmission Priority is given to the specific content materials sent, and the specific content materials are reconstructed according to the display template, and the materials currently displayed in the preset template interface are switched to the reconstructed specific content materials.
  2. 如請求項1之方法,其中,在所述自動擷取對話區域中的對話資訊展示框的聊天訊息的關鍵詞之後,所述方法更包括:將所述關鍵詞發送至伺服器,以使所述伺服器確定所述關鍵詞所屬的類別,並根據所述類別選擇與所述關鍵詞匹配的資訊內容,然後根據所述資訊內容生成推播預覽資料。 Such as the method of claim 1, wherein, after the keyword of the chat message in the dialog information display box in the dialog area is automatically captured, the method further includes: sending the keyword to the server so that all The server determines the category to which the keyword belongs, selects information content matching the keyword according to the category, and then generates push preview data according to the information content.
  3. 如請求項2之方法,其中,所述從伺服器獲得與所述關鍵詞匹配的推播資訊,包括:從所述伺服器獲得與所述關鍵詞匹配的推播預覽資料;及 所述根據所述推播資訊選擇展示模板,包括:根據與所述推播預覽資料對應的類別選擇與所述類別匹配的展示模板。 The method of claim 2, wherein the obtaining push information matching the keyword from a server includes: obtaining push preview data matching the keyword from the server; and The selecting a display template according to the push broadcast information includes: selecting a display template matching the category according to the category corresponding to the push broadcast preview data.
  4. 如請求項1之方法,其中,所述方法更包括:根據對所述預設模板界面的第二操作確定分享目標對象;從伺服器獲得與所述分享目標對象匹配的具體內容資料;按照與所述推播資訊對應的訊息樣式對與所述分享目標對象匹配的具體內容資料進行重建,生成結構化訊息;及當接收到第三操作時,將所述結構化訊息發送給與所述對話區域對應的用戶終端機。 Such as the method of claim 1, wherein the method further includes: determining a sharing target object according to a second operation on the preset template interface; obtaining specific content data matching the sharing target object from the server; The message style corresponding to the push information reconstructs the specific content data matching the sharing target object to generate a structured message; and when a third operation is received, the structured message is sent to the dialogue User terminal corresponding to the area.
  5. 如請求項1之方法,其中,在所述自動擷取對話區域中的對話資訊展示框的聊天訊息的關鍵詞之後,所述方法更包括:通過預設樣式對所述關鍵詞進行標記。 Such as the method of claim 1, wherein, after the keyword of the chat message in the dialog information display box in the dialog area is automatically captured, the method further includes: marking the keyword with a preset pattern.
  6. 如請求項1之方法,其中,在所述根據所述展示模板對所述推播資訊進行重建,並在對應的預設模板界面中展示之前,所述方法更包括:按照預設方式喚起預設模板界面,並將所述預設模板界面覆蓋在虛擬鍵盤上;及在所述根據所述展示模板對所述推播資訊進行重建,並在對應的預設模板界面中展示之後,所述方法更包括:根據對所述對話區域的第四操作使所述預設模板界面處於不可見狀態,並重新展示所述虛擬鍵盤。 Such as the method of claim 1, wherein, before the reconstruction of the push information according to the display template and display in the corresponding preset template interface, the method further includes: evoking the preview in a preset manner Set a template interface, and overlay the preset template interface on a virtual keyboard; and after the push information is reconstructed according to the display template and displayed in the corresponding preset template interface, the The method further includes: making the preset template interface in an invisible state according to the fourth operation on the dialogue area, and re-displaying the virtual keyboard.
  7. 如請求項1之方法,其中,所述方法更包括: 根據選擇操作確定對應的推薦程度選項,並根據所述推薦程度選項開啟對應的推播方式。 Such as the method of claim 1, wherein the method further includes: The corresponding recommendation degree option is determined according to the selection operation, and the corresponding push mode is turned on according to the recommendation degree option.
  8. 一種基於即時通訊的資訊推播裝置,包括:擷取模組,用於自動擷取對話區域中的對話資訊展示框的聊天訊息的關鍵詞;獲得模組,用於從伺服器獲得與所述關鍵詞匹配的推播資訊,其中所述推播資訊至少包括推播預覽資料;選擇模組,用於根據所述推播資訊選擇展示模板;展示模組,用於根據所述展示模板對所述推播資訊進行重建,並在對應的預設模板界面中展示,所述預設模板界面不遮擋所述對話區域;及查看模組,用於根據對所述預設模板界面的第一操作獲得查看目標對象;所述第一發送模組,更用於根據所述查看目標對象向所述伺服器發送內容查看請求,以使所述伺服器根據所述內容查看請求從與所述推播預覽資料關聯的層級資料中,獲得與所述查看目標對象對應的具體內容資料,並更新所述具體內容資料的傳輸優先權;所述獲得模組,更用於接收所述伺服器根據所述傳輸優先權發送的所述具體內容資料;及所述展示模組,更用於根據所述展示模板對所述具體內容資料進行重建,將所述預設模板界面中當前展示的資料切換為重建後的具體內容資料。 An information pushing and broadcasting device based on instant messaging includes: a capturing module for automatically capturing keywords of a chat message in a dialog information display frame in a dialog area; an obtaining module for obtaining information from a server Keyword-matched push information, wherein the push information includes at least push preview data; a selection module for selecting a display template based on the push information; a display module for comparing all items based on the display template The push broadcast information is reconstructed and displayed in the corresponding preset template interface, the preset template interface does not obscure the dialog area; and the viewing module is used to perform the first operation on the preset template interface Obtain the viewing target object; the first sending module is further configured to send a content viewing request to the server according to the viewing target object, so that the server will follow the push broadcast according to the content viewing request Among the hierarchical data associated with the preview data, the specific content data corresponding to the viewing target object is obtained, and the transmission priority of the specific content data is updated; the obtaining module is further used for receiving the server according to the Transmitting the specific content data sent by priority; and the display module is further configured to reconstruct the specific content data according to the display template, and switch the data currently displayed in the preset template interface to reconstruction After the specific content information.
  9. 如請求項8之裝置,其中,所述裝置更包括:第一發送模組,用於將所述關鍵詞發送至伺服器,以使所述伺服器確定所述關鍵詞所屬的類別,並根據所述類別選擇與所述關鍵詞匹配的資訊 內容,然後根據所述資訊內容生成推播預覽資料;所述獲得模組,更用於從所述伺服器獲得與所述關鍵詞匹配的推播預覽資料;及所述選擇模組,更用於根據與所述推播預覽資料對應的類別選擇與所述類別匹配的展示模板。 Such as the device of claim 8, wherein the device further includes: a first sending module for sending the keyword to a server, so that the server determines the category to which the keyword belongs, and according to The category selects information that matches the keyword Content, and then generate push preview data according to the information content; the obtaining module is further used to obtain push preview data matching the keywords from the server; and the selection module is further used Selecting a display template matching the category according to the category corresponding to the push preview material.
  10. 如請求項8之裝置,其中,所述裝置更包括:分享模組,用於根據對所述預設模板界面的第二操作確定分享目標對象;所述獲得模組,更用於從伺服器獲得與所述分享目標對象匹配的具體內容資料;所述展示模組,更用於按照與所述推播資訊對應的訊息樣式對與所述分享目標對象匹配的具體內容資料進行重建,生成結構化訊息;及第二發送模組,用於當接收到第三操作時,將所述結構化訊息發送給與所述對話區域對應的用戶終端機。 Such as the device of claim 8, wherein the device further includes: a sharing module for determining a sharing target object according to a second operation on the preset template interface; the obtaining module is further used for downloading from a server Obtain specific content data matching the sharing target object; the display module is further used to reconstruct the specific content data matching the sharing target object according to the message style corresponding to the push information to generate a structure And a second sending module for sending the structured message to the user terminal corresponding to the dialogue area when the third operation is received.
  11. 如請求項8之裝置,其中,所述展示模組,更用於按照預設方式喚起預設模板界面,並將所述預設模板界面覆蓋在虛擬鍵盤上;及所述展示模組,更用於根據對所述對話區域的第四操作使所述預設模板界面處於不可見狀態,並重新展示所述虛擬鍵盤。 Such as the device of claim 8, wherein the display module is further used to evoke a preset template interface in a preset manner, and overlay the preset template interface on a virtual keyboard; and the display module, more It is used for making the preset template interface in an invisible state according to the fourth operation on the dialogue area, and redisplaying the virtual keyboard.
  12. 一種終端機,包括儲存器及處理器,所述儲存器中儲存有電腦可執行指令,所述電腦可執行指令被所述處理器執行時,使得所述處理器實現如請求項1至7任一項所述之方法。 A terminal includes a storage and a processor, and the storage stores computer-executable instructions. When the computer-executable instructions are executed by the processor, the processor realizes any of the requests 1 to 7 The method described in one.
  13. 一種電腦可讀儲存媒體,其上儲存有電腦程式,其中,所述電腦 程式被處理器執行時實現如請求項1至7任一項所述之方法。 A computer-readable storage medium on which a computer program is stored, wherein the computer When the program is executed by the processor, the method described in any one of claims 1 to 7 is realized.
TW107127309A 2017-08-11 2018-08-06 Method, device, terminal, and storage medium for pusing information based on instant messaging TWI701959B (en)

Priority Applications (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 TW201911892A (en) 2019-03-16
TWI701959B true 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 (7)

* 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
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
CN109446311A (en) * 2018-10-30 2019-03-08 五八有限公司 A kind of chat Enhancement Method, device, storage medium and terminal
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
CN110460514A (en) * 2019-08-19 2019-11-15 广州华多网络科技有限公司 Message method, device, storage medium and the equipment of instant messaging tools

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080140779A1 (en) * 2004-12-28 2008-06-12 Nhn Corporation System And Method For Sharing Search Result Using Messenger
CN104765791A (en) * 2015-03-24 2015-07-08 北京搜狗科技发展有限公司 Information inputting method and device
TW201640925A (en) * 2015-05-14 2016-11-16 Alibaba Group Services Ltd Instant communication
CN106302085A (en) * 2015-05-18 2017-01-04 腾讯科技(深圳)有限公司 The recommendation method and system of instant messaging group
CN106605224A (en) * 2016-08-15 2017-04-26 北京小米移动软件有限公司 Information searching method, information searching device, electronic equipment and server

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
KR101665969B1 (en) * 2015-03-25 2016-10-13 주식회사 카카오 Device, server and method for keyword retrieval via interaction
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
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080140779A1 (en) * 2004-12-28 2008-06-12 Nhn Corporation System And Method For Sharing Search Result Using Messenger
CN104765791A (en) * 2015-03-24 2015-07-08 北京搜狗科技发展有限公司 Information inputting method and device
TW201640925A (en) * 2015-05-14 2016-11-16 Alibaba Group Services Ltd Instant communication
CN106302085A (en) * 2015-05-18 2017-01-04 腾讯科技(深圳)有限公司 The recommendation method and system of instant messaging group
CN106605224A (en) * 2016-08-15 2017-04-26 北京小米移动软件有限公司 Information searching method, information searching device, electronic equipment and server

Also Published As

Publication number Publication date
CN108306814A (en) 2018-07-20
TW201911892A (en) 2019-03-16
CN108306814B (en) 2020-07-28
WO2019029409A1 (en) 2019-02-14

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
US20180246978A1 (en) Providing actions for onscreen entities
US9613132B2 (en) Method of and system for displaying a plurality of user-selectable refinements to a search query
US20140324902A1 (en) Automatic generation of a collection of content
US20090300476A1 (en) Internet Guide Link Matching System
JP2004178384A (en) Contents retrieval method and device, program, and recording medium
WO2020140360A1 (en) Clipboard-based information pushing method and system, and terminal device
US20180225032A1 (en) Generating interactive content items based on content displayed on a computing device
KR101350525B1 (en) Method and apparatus for using tab corresponding to query to provide additional information
EP2189917A1 (en) Facilitating display of an interactive and dynamic cloud with advertising and domain features
JP2013196141A (en) Terminal device, information display system and information display method
US20160048875A1 (en) Entity based search advertising within a modular search object framework
RU2741479C2 (en) Mobile advertisement provisioning system and method
KR20180079167A (en) Messenger searching method based on interaction, and server and application implementing the same method
JP2014157542A (en) Terminal device and program of device
CN109801119A (en) Showing interface, information offer, user behavior content information processing method and equipment
KR20210078927A (en) Method for providing emoticons in instant messaging service, user device, server and application implementing the method
KR102277300B1 (en) Message service providing method for message service linking search service and message server and user device for performing the method
KR20150031918A (en) Method of preparing an advertisement images on image materials, preparation system using the same, and playing method on prepared image data
JP6576534B1 (en) Information display program, information display method, information display device, and information processing system
Qi et al. Visual design of smartphone APP interface based on user experience
KR102079221B1 (en) Messenger searching method based on interaction, and server and application implementing the same method
TW202046082A (en) Thread of conversation displaying method, computer readable recording medium and computer device
KR20210090133A (en) Message service providing method for message service linking search service and message server and user device for performing the method