[go: up one dir, main page]

CN108306814B - Information push method, device, terminal and storage medium based on instant messaging - Google Patents

Information push method, device, terminal and storage medium based on instant messaging Download PDF

Info

Publication number
CN108306814B
CN108306814B CN201710687378.7A CN201710687378A CN108306814B CN 108306814 B CN108306814 B CN 108306814B CN 201710687378 A CN201710687378 A CN 201710687378A CN 108306814 B CN108306814 B CN 108306814B
Authority
CN
China
Prior art keywords
information
push
server
keyword
display
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN201710687378.7A
Other languages
Chinese (zh)
Other versions
CN108306814A (en
Inventor
邹放
李靓
黄达熙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710687378.7A priority Critical patent/CN108306814B/en
Publication of CN108306814A publication Critical patent/CN108306814A/en
Priority to PCT/CN2018/097951 priority patent/WO2019029409A1/en
Priority to TW107127309A priority patent/TWI701959B/en
Application granted granted Critical
Publication of CN108306814B publication Critical patent/CN108306814B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • GPHYSICS
    • G06COMPUTING OR 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/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

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

Abstract

The invention relates to an information pushing method, an information pushing device, a terminal and a storage medium based on instant messaging. The method comprises the following steps: extracting keywords of the chat messages in the conversation area; acquiring push information matched with the keywords from a server; selecting a display template according to the push information; and reconstructing the push information according to the display template, and displaying in a corresponding preset template interface, wherein the preset template interface does not shield the session area. According to the information pushing method, the information pushing device, the information pushing terminal and the storage medium based on the instant messaging, the user does not need to provide keywords, information is pushed according to chat messages in real time, and the content which the user is interested in can be pushed accurately.

Description

基于即时通讯的信息推送方法、装置、终端及存储介质Information push method, device, terminal and storage medium based on instant messaging

技术领域technical field

本发明涉及互联网技术领域,特别是涉及一种基于即时通讯的信息推送方法、装置、终端及存储介质。The present invention relates to the field of Internet technologies, and in particular, to an information push method, device, terminal and storage medium based on instant messaging.

背景技术Background technique

智能推荐在互联网各个领域已经有所应用,很多公司都会基于机器学习的思路在各自的产品形态下推出产品相关的内容智能推荐。在传统的内容智能推荐中,都是根据用户输入的搜索关键词或电商中的个人喜好商品进行推荐,例如在搜索页面,先由用户在搜索框中输入搜索的关键词,再根据用户输入的关键词推送相关的信息,操作繁琐,而有些购物商店则是根据用户的购买行为进行推荐,存在一定的滞后性,导致推荐的内容无法准确贴合用户需求。Intelligent recommendation has been applied in various fields of the Internet. Many companies will launch product-related content intelligent recommendation based on the idea of machine learning in their respective product forms. In the traditional intelligent content recommendation, the recommendation is based on the search keywords input by the user or the personal favorite products in e-commerce. For example, on the search page, the user first enters the search keyword in the search box, and then according to the user However, some shopping stores make recommendations based on users' purchasing behaviors, and there is a certain lag, which makes the recommended content unable to accurately meet user needs.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种基于即时通讯的信息推送方法、装置、终端及存储介质,无需用户提供关键词,实时根据聊天消息推送信息,能够精准推送用户感兴趣的内容。Embodiments of the present invention provide an instant messaging-based information push method, device, terminal, and storage medium, which do not require users to provide keywords, push information in real time according to chat messages, and can accurately push content that users are interested in.

一种基于即时通讯的信息推送方法,包括:A method for pushing information based on instant messaging, comprising:

提取会话区域中的聊天消息的关键词;Extract keywords of chat messages in the conversation area;

从服务器获取与所述关键词匹配的推送信息;obtain push information matching the keyword from the server;

根据所述推送信息选取展示模板;Select a display template according to the push information;

根据所述展示模板对所述推送信息进行重构,并在对应的预设模板界面中展示,所述预设模板界面不遮挡所述会话区域。The push information is reconstructed according to the display template, and displayed in a corresponding preset template interface, where the preset template interface does not block the conversation area.

一种基于即时通讯的信息推送装置,包括:A device for pushing information based on instant messaging, comprising:

提取模块,用于提取会话区域中的聊天消息的关键词;an extraction module for extracting keywords of chat messages in the conversation area;

获取模块,用于从服务器获取与所述关键词匹配的推送信息;an acquisition module, configured to acquire push information matching the keyword from the server;

选取模块,用于根据所述推送信息选取展示模板;a selection module, for selecting a display template according to the push information;

展示模块,用于根据所述展示模板对所述推送信息进行重构,并在对应的预设模板界面中展示,所述预设模板界面不遮挡所述会话区域。A display module, configured to reconstruct the push information according to the display template, and display it in a corresponding preset template interface, where the preset template interface does not block the conversation area.

一种终端,包括存储器及处理器,所述存储器中储存有计算机可执行指令,所述计算机可执行指令被所述处理器执行时,使得所述处理器实现如上所述的方法。A terminal includes a memory and a processor, wherein computer-executable instructions are stored in the memory, and when the computer-executable instructions are executed by the processor, the processor implements the above method.

一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的方法。A computer-readable storage medium having a computer program stored thereon, the computer program implementing the method as described above when executed by a processor.

上述基于即时通讯的信息推送方法、装置、终端及存储介质,通过提取聊天消息的关键词,从服务器获取与关键词匹配的推送信息,根据选取的展示模板对推送信息进行重构后,在对应的预设模板界面中展示,无需用户提供关键词,实时根据聊天消息推送信息,能够精准推送用户感兴趣的内容。此外,预设模板界面不遮挡聊天区域,用户无需跳转当前的聊天界面获取推送信息,也不会打断当前的聊天过程,使即时通讯更加便利、流畅,能够提高用户粘性。The above-mentioned information push method, device, terminal and storage medium based on instant messaging, by extracting the keywords of the chat message, obtaining the push information matching the keywords from the server, reconstructing the push information according to the selected display template, and then correspondingly. The preset template interface of . 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, which makes instant messaging more convenient and smooth, and can improve user stickiness.

附图说明Description of drawings

图1为一个实施例中基于即时通讯的信息推送方法的应用场景图;1 is an application scenario diagram of an instant messaging-based information push method in one embodiment;

图2为一个实施例中终端的框图;2 is a block diagram of a terminal in one embodiment;

图3为一个实施例中基于即时通讯的信息推送方法的流程示意图;3 is a schematic flowchart of an instant messaging-based information push method in one embodiment;

图4(A)为一个实施例中展示推送信息的界面示意图;Fig. 4 (A) is the interface schematic diagram showing push information in one embodiment;

图4(B)为另一个实施例中展示推送信息的界面示意图;4(B) is a schematic diagram of an interface showing push information in another embodiment;

图4(C)为又一个实施例中展示推送信息的界面示意图;Figure 4 (C) is a schematic diagram of an interface showing push information in another embodiment;

图5为一个实施例中展示推送预览数据的流程示意图;FIG. 5 is a schematic flowchart showing the push preview data in one embodiment;

图6为一个实施例中根据用户在预设模板界面中的操作持续展示更多的推送预览数据的示意图;6 is a schematic diagram of continuously displaying more push preview data according to a user's operation in a preset template interface in one embodiment;

图7为一个实施例中展示具体内容数据的流程示意图;FIG. 7 is a schematic flowchart of displaying specific content data in one embodiment;

图8(A)为一个实施例中终端接收对预设模板界面的第一操作的示意图;8(A) is a schematic diagram of a terminal receiving a first operation on a preset template interface in an embodiment;

图8(B)为一个实施例中根据第一操作展示具体内容数据的示意图;FIG. 8(B) is a schematic diagram of displaying specific content data according to a first operation in one embodiment;

图9为一个实施例中分享推送信息的流程示意图;9 is a schematic flowchart of sharing push information in one embodiment;

图10为一个实施例中分享推送信息的示意图;10 is a schematic diagram of sharing push information in one embodiment;

图11为一个实施例中界面设计示意图;11 is a schematic diagram of an interface design in one embodiment;

图12为一个实施例中终端与服务器的交互流程示意图;12 is a schematic diagram of an interaction flow between a terminal and a server in one embodiment;

图13为一个实施例中基于即时通讯的信息推送装置的框图;13 is a block diagram of an instant messaging-based information push device in one embodiment;

图14为另一个实施例中基于即时通讯的信息推送装置的框图;14 is a block diagram of an instant messaging-based information push device in another embodiment;

图15为又一个实施例中基于即时通讯的信息推送装置的框图;15 is a block diagram of an instant messaging-based information push device in another embodiment;

图16为再一个实施例中基于即时通讯的信息推送装置的框图。FIG. 16 is a block diagram of a device for pushing information based on instant messaging in yet another embodiment.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

可以理解,本发明所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本发明的范围的情况下,可以将第一客户端称为第二客户端,且类似地,可将第二客户端称为第一客户端。第一客户端和第二客户端两者都是客户端,但其不是同一客户端。It will be understood that the terms "first", "second", etc., as used herein, may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, a first client could be referred to as a second client, and similarly, a second client could be referred to as a first client, without departing from the scope of this disclosure. Both the first client and the second client are clients, but they are not the same client.

图1为一个实施例中基于即时通讯的信息推送方法的应用场景图。如图1所示,在一个实施例中,终端10与服务器20通过网络进行连接。终端10提取会话区域中的聊天消息的关键词,并将关键词发送给服务器20。终端10从服务器20获取与关键词匹配的推送信息,并根据推送信息选取展示模板。终端10根据选取的展示模板对推送信息进行重构,并在对应的预设模板界面中展示,该预设模板界面不遮挡会话区域。FIG. 1 is an application scenario diagram of an instant messaging-based information push method in one embodiment. As shown in FIG. 1 , in one embodiment, the terminal 10 and the server 20 are connected through a network. The terminal 10 extracts the keywords of the chat messages in the conversation area, and sends the keywords to the server 20 . The terminal 10 obtains the push information matching the keyword from the server 20, and selects a presentation template according to the push information. The terminal 10 reconstructs the push information according to the selected display template, and displays it in a corresponding preset template interface, and the preset template interface does not block the conversation area.

图2为一个实施例中上述终端10的框图。如图2所示,该终端10包括通过系统总线连接的处理器、非易失性存储介质、内存储器和网络接口、显示屏和输入装置。其中,终端10的非易失性存储介质存储有操作系统及计算机可执行指令,该计算机可执行指令被处理器执行时以实现本申请实施例中提供的适用于终端10的一种基于即时通讯的信息推送方法。该处理器用于提供计算和控制能力,支撑整个终端10的运行。终端10中的内存储器为非易失性存储介质中的计算机可执行指令的运行提供环境。网络接口用于与服务器进行网络通信,如向服务器发送关键词、从服务器接收与关键词匹配的推送信息等。终端10的显示屏可以是液晶显示屏或者电子墨水显示屏等,输入装置可以是显示屏上覆盖的触摸层,也可以是终端10外壳上设置的按键、轨迹球或触控板,也可以是外接的键盘、触控板或鼠标等。该终端10可以是手机、平板电脑或者个人数字助理或穿戴式设备等。本领域技术人员可以理解,图2中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的终端10的限定,具体的终端10可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。FIG. 2 is a block diagram of the above-mentioned terminal 10 in one embodiment. As shown in FIG. 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 through a system bus. The non-volatile storage medium of the terminal 10 stores an operating system and computer-executable instructions, and when the computer-executable instructions are executed by the processor, an instant messaging-based instant messaging system suitable for the terminal 10 provided in the embodiment of the present application is implemented when the computer-executable instructions are executed by the processor. information push method. The processor is used to provide computing and control capabilities to support the operation of the entire terminal 10 . Internal memory in terminal 10 provides an environment for the execution of computer-executable instructions in a non-volatile storage medium. The network interface is used for network communication with the server, such as sending keywords to the server, receiving push information matching the keywords from the server, and the like. The display screen of the terminal 10 may be a liquid crystal display screen or an electronic ink display screen, etc., and the input device may be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the shell of the terminal 10, or a An external keyboard, trackpad, or mouse, etc. The terminal 10 may be a mobile phone, a tablet computer, a personal digital assistant, a wearable device, or the like. Those skilled in the art can understand that the structure shown in FIG. 2 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the terminal 10 to which the solution of the present application is applied. The specific terminal 10 may be Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.

如图3所示,在一个实施例中,提供一种基于即时通讯的信息推送方法,上述方法包括以下步骤:As shown in Figure 3, in one embodiment, a method for pushing information based on instant messaging is provided, and the method includes the following steps:

步骤S310,提取会话区域中的聊天消息的关键词。Step S310, extracting keywords of chat messages in the conversation area.

用户可通过终端上安装的即时通讯客户端与其它用户终端进行会话,其中,会话可以是一对一的双人会话,或是多人同时进行的群组会话,用户可在即时通讯会话中传递文字、语音信息,进行文件交流等。终端可提取会话区域中聊天消息的关键词,会话区域指的是进行会话的区域,一般可包括会话信息展示框以及信息输入框,其中,聊天消息可以是文字信息或语音信息等,也可以是视频、图片或文本文件等。The user can have a conversation with other user terminals through the instant messaging client installed on the terminal. The conversation can be a one-to-one two-person conversation, or a group conversation with multiple people at the same time, and the user can pass text in the instant messaging conversation. , voice information, file exchange, etc. The terminal can extract the keywords of the chat message in the conversation area. The conversation area refers to the area in which the conversation is performed, and generally includes a conversation information display box and an information input box. The chat message can be text information or voice information, etc., or Videos, pictures or text files, etc.

在一个实施例中,终端触发提取聊天消息的关键词的时刻可包括接收其它用户终端发送的聊天消息的时刻,以及当终端发送聊天消息的时刻等。当终端接收其它用户终端发送的聊天消息且展示在会话区域的会话消息展示框时,可提取该接收的聊天消息的关键词;当终端发送聊天消息且展示在会话区域的会话信息展示框时,可提取该发送的聊天消息的关键词。进一步地,当用户在会话区域的信息输入框中输入聊天消息时,可提取该输入的聊天消息的关键词。终端可按照聊天消息的时间先后顺序提取对应聊天消息的关键词,例如,终端在第一时刻接收到其它用户终端发送的聊天消息,则可先提取该接收的聊天消息的关键词,在第二时刻获取信息输入框中输入的聊天消息,再提取该输入的聊天消息的关键词等。In one embodiment, the moment when the terminal triggers to extract the keywords of the chat message may include the moment when the chat message sent by other user terminals is received, the moment when the terminal sends the chat message, and the like. When the terminal receives a chat message sent by another user terminal and displays it in the conversation message display box in the conversation area, it can extract the keywords of the received chat message; when the terminal sends the chat message and displays it in the conversation information display box in the conversation area, Keywords of the sent chat message can be extracted. Further, when the user inputs a chat message in the information input box of the conversation area, the keyword of the input chat message can be extracted. The terminal can extract the keywords corresponding to the chat messages 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 extract the keywords of the received chat message, and then in the second The chat message input in the information input box is obtained from time to time, and then the keywords of the input chat message are extracted.

在一个实例中,当终端打开会话窗口时,会话区域的会话信息展示框中可能展示有预设数量的历史聊天消息,终端可提取会话区域中展示的预设数量的历史聊天消息的关键词,当预设数量的历史聊天消息包含的关键词较多时,可选取最后一条历史聊天消息提取关键词。可根据最近的历史聊天消息进行推送,当重新开启会话窗口时,用户无需重新输入关键词即可获取推送信息,更加方便快捷。In one example, when the terminal opens the conversation window, a preset number of historical chat messages may be displayed in the conversation information display box in the conversation area, and the terminal may extract the keywords of the preset number of historical chat messages displayed in the conversation area, When the preset number of historical chat messages contain many keywords, the last historical chat message can be selected to extract keywords. Pushing can be done according to the latest historical chat messages. When the conversation window is reopened, users can get push messages without re-entering keywords, which is more convenient and quick.

在一个实施例中,终端读取会话区域中的聊天消息,对聊天消息进行分词,并对分词后的字词进行字词判定,确定划分的每个字或词的属性,其中,每个字或词的属性指的是字或词在句中的作用以及对应的词性,作用可包括主语、谓语、宾语等,词性可包括名词、动词、形容词、副词等。终端确定划分的每个字或词的属性后,可去掉其中不影响语义的单字或词等,并根据预先设置的关键词词库进行筛选,从而得到最终的关键词。In one embodiment, the terminal reads the chat messages in the conversation area, performs word segmentation on the chat messages, and performs word determination on the words after the word segmentation, and determines the attributes of each divided word or word, wherein each word Or word attribute refers to the function of the word or word in the sentence and the corresponding part of speech. After the terminal determines the attributes of each divided word or word, the single word or word that does not affect the semantics can be removed, and the final keyword can be obtained by screening according to the preset keyword thesaurus.

在本实施例中,在预先设置的关键词词库中可包括多个类别的关键词,例如天气、美食、明星、电影、音乐、科技、时尚、旅游、星座、日程等,每个类别下可分别设置多个不同的关键词,例如,美食类别下设置甜点、火锅、咖啡、日料、牛排、辣、清淡等关键词,明星类别下设置张三、李四、赵五等关键词等。终端可根据预先设置的关键词词库对分词的聊天消息进行识别,得到最终的关键词。例如,聊天消息为“我喜欢听张三的歌”,分词后可得到“我”、“喜欢”、“听”、“张三”、“的”、“歌”,根据每个字词的属性可去掉其中的“我”、“听”、“的”,并在预先设置的关键词词库中进行查找,最终可得到关键词包括“张三”、“歌”。In this embodiment, the preset keyword thesaurus may include keywords of multiple categories, such as weather, food, stars, movies, music, technology, fashion, travel, constellations, schedules, etc., under each category Multiple different keywords can be set separately, for example, keywords such as dessert, hot pot, coffee, Japanese food, steak, spicy, light and so on are set under the food category, and keywords such as Zhang San, Li Si, and Zhao Wu are set under the star category, etc. . The terminal can identify the word-segmented chat message according to a preset keyword thesaurus to obtain the final keyword. For example, if the chat message is "I like listening to Zhang San's songs", after word segmentation, "I", "Like", "Listen", "Zhang San", "De" and "Song" can be obtained. Attributes can remove "I", "Listen", and "De", and search in the preset keyword thesaurus, and finally get the keywords including "Zhang San" and "Song".

步骤S320,从服务器获取与关键词匹配的推送信息。Step S320: Acquire push information matching the keyword from the server.

终端可将从聊天消息中提取的关键词发送至服务器,进行AI(ArtificialIntelligence,人工智能)筛选,得到与关键词匹配的推送信息。不同类别的关键词可接入不同的内外资源库中,例如,日程类别的关键词可接入记录用户日程信息的数据库中,美食类别的关键词可接入大众点评等存储有大量餐厅数据的数据库中,电影可接入视频网站的数据库等。服务器接收终端发送的关键词后,可确定关键词所属的类别,并在该所属的类别接入的数据库中进行AI智能搜索,筛选得到与关键词匹配的推送信息。The terminal may send the keyword extracted from the chat message to the server, perform AI (Artificial Intelligence, artificial intelligence) screening, and obtain push information matching the keyword. Keywords of different categories can be connected to different internal and external resource databases. For example, keywords of schedule category can be accessed to the database that records user schedule information, and keywords of food category can be accessed to public reviews, etc. In the database, the movie can access the database of the video website, etc. After the server receives the keyword sent by the terminal, it can determine the category to which the keyword belongs, and perform AI intelligent search in the database accessed by the category to obtain push information that matches the keyword.

服务器筛选与关键词匹配的推送信息的方式可根据关键词所属的类别进行变化,不同类别可分别设定不同的筛选策略。例如,美食类别,服务器可根据终端的使用场景进行餐厅推荐,获取终端的位置信息,并根据位置信息在接入的存储有大量餐厅数据的数据库中查询与位置信息对应的餐厅数据,并按照各个餐厅与位置信息的距离远近进行排序,再将排序后的餐厅数据作为推送信息发送至终端;日程类别,服务器获取接收关键词的时间及终端的用户标识,在记录用户日程信息的数据库中,根据该时间及用户标识搜索一天内、一周内或一个月内等时间段的对应的日程安排数据,并将日程安排数据作为推送信息发送至终端等,但并不限于此。服务器可根据与关键词所属的类别对应的筛选策略,在对应的数据库中筛选得到与关键词匹配的推送信息,并将推送信息发送给终端。The way that the server filters the push information matching the keywords can be changed according to the categories to which the keywords belong, and different filtering strategies can be set for different categories. For example, in the category of food, the server can recommend restaurants according to the usage scenarios of the terminal, obtain the location information of the terminal, and query the restaurant data corresponding to the location information in the accessed database storing a large amount of restaurant data according to the location information, and according to each location information The distance between the restaurant and the location information is sorted, and then the sorted restaurant data is sent to the terminal as push information; for the schedule category, the server obtains the time of receiving the keyword and the user ID of the terminal, and records the user schedule information in the database according to the The time and the user ID search for corresponding schedule data within a day, a week, or a month, and send the schedule data to the terminal as push information, but not limited to this. The server may obtain push information matching the keyword in the corresponding database according to the filtering strategy corresponding to the category to which the keyword belongs, and send the push information to the terminal.

在一个实施例中,关键词词库针对每个类别,可分别设定多级关键词,一级关键词为表示范围较大的词,二级关键词为进一步限定的词……以此类推,逐级递增,后面级别的关键词相对于前面级别的关键词,均是更为具体、聚焦的延展词汇。例如,美食类别下设定一级关键词可包括美食、聚餐、吃饭、大餐、大吃一顿等表示范围较大的词,二级关键词可包括辣、甜点、清淡、海鲜、日料、火锅、烧烤等进一步限定的词,三级关键词则可为具体餐厅的名字例如海底捞、麦当劳等。终端根据关键词词库提取聊天消息中的关键词后,若该关键词为一级关键词,在将一级关键词发送给服务器获取匹配的推送信息后,可继续检测预设条数聊天消息中是否包含有后面级别的关键词,例如二级关键词等,若有,则将后面级别的关键词继续发送至服务器,服务器根据后面级别的关键词对根据一级关键词筛选得到的推送信息进行进一步筛选,得到新的推送信息。例如,终端向服务器发送关键词为“张三”,则服务器根据“张三”在明星类别中筛选与迪丽热巴相关的新闻资讯推送给终端,终端在三条聊天消息内识别到关键词“A节目”,则将“A节目”关键词发送至服务器,服务器在与张三相关的新闻资讯中筛选出张三与A节目相关的资讯,并发送给终端。利用递进筛选的原理,可保证筛选得到的推送信息更加贴近用户的需求,能更准确地推送用户感兴趣的内容。In one embodiment, the keyword thesaurus can set multi-level keywords for each category, the first-level keywords are words that represent a larger range, the second-level keywords are words that are further limited, and so on. , increasing level by level, the keywords of the latter level are more specific and focused extended words than the keywords of the previous level. For example, the first-level keywords set under the food category may include words that represent a wide range, such as gourmet, dinner, dinner, big meal, and a big meal, and the second-level keywords may include spicy, dessert, light, seafood, and Japanese food. , hot pot, barbecue, etc., and the third-level keywords can be the names of specific restaurants, such as Haidilao, McDonald's, etc. After the terminal extracts the keywords in the chat message according to the keyword thesaurus, 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 of chat messages Whether there are keywords at the following levels, such as secondary keywords, etc., if so, the keywords at the latter levels will continue to be sent to the server, and the server will send the push information filtered by the primary keywords according to the keywords at the latter levels. Perform further screening to get new push information. For example, if the terminal sends the keyword "Zhang San" to the server, the server selects news information related to Dilireba in the star category according to "Zhang San" and pushes it to the terminal, and the terminal recognizes the keyword "Zhang San" in the three chat messages. A program", the keyword "A program" is sent to the server, and the server selects the information related to Zhang San and the A program from the news information related to Zhang San, and sends it to the terminal. Using the principle of progressive screening, it can ensure that the push information obtained by screening is closer to the needs of the user, and can push the content that the user is interested in more accurately.

步骤S330,根据推送信息选取展示模板。Step S330, selecting a display template according to the push information.

终端接收由服务器发送的推送信息,可根据推送信息所属的类别选取对应的展示模板,展示模板中定义了推送信息的展示样式,确定展示的各个元素,例如推送信息中的图片、文字等的排版布局,不同的类别可设定不同的展示模板,使推送信息的展示更具有多样化。The terminal receives the push information sent by the server, and can select the corresponding display template according to the category to which the push information belongs. The display template defines the display style of the push information, and determines each element of the display, such as the typesetting of pictures and text in the push information. Layout, different categories can be set with different display templates to make the display of push information more diverse.

步骤S340,根据展示模板对推送信息进行重构,并在对应的预设模板界面中展示,预设模板界面不遮挡会话区域。In step S340, the push information is reconstructed according to the display template, and displayed in the corresponding preset template interface, and the preset template interface does not block the conversation area.

终端可根据选取的展示模板对推送信息进行重构,根据展示模板定义的展示样式,对推送信息中包含的各个元素资源进行排版,并在预设模板界面中进行展示,其中,预设模板界面指的是用于展示推送信息的界面,在本实施例中,预设模板界面不遮挡会话区域,预设模板界面可在当前界面中任意不遮挡会话区域的预设区域,例如,在会话区域的下方或上方,在会话区域的左边或右边等。The terminal can reconstruct the push information according to the selected display template, typeset each element resource contained in the push information according to the display style defined by the display template, and display it in the preset template interface, wherein the preset template interface Refers to the interface for displaying push information. In this embodiment, the preset template interface does not block the session area, and the preset template interface can be any preset area in the current interface that does not block the session area, for example, in the session area below or above, to the left or right of the conversation area, etc.

图4(A)为一个实施例中展示推送信息的界面示意图。如图4(A)所示,终端提取会话区域402中聊天消息的关键词“美食”,并将关键词“美食”发送至服务器。服务器在与美食类别对应的数据库中根据关键词“美食”及终端的位置信息筛选得到与终端的位置信息对应的餐厅数据,并将餐厅数据作为推送信息发送至终端。终端接收服务器发送的餐厅数据,根据餐厅数据所属的美食类别选取对应的展示模板,根据展示模板对餐厅数据进行重构,对餐厅数据中包含的各个元素资源,例如餐厅的图片、餐厅名称等进行排版,并在预设模板界面404进行展示。在预设模板界面404中,每个餐厅的图片被放入圆圈中,并在圆圈旁边显示对应的餐厅名称,从左至右按与终端的位置信息的距离从近到远展示。FIG. 4(A) is a schematic diagram of an interface for displaying push information in an embodiment. As shown in FIG. 4(A), the terminal extracts the keyword "food" in the chat message in the conversation area 402, and sends the keyword "food" to the server. The server obtains 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 data to the terminal as push information. The terminal receives the restaurant data sent by the server, selects the corresponding display template according to the food category to which the restaurant data belongs, reconstructs the restaurant data according to the display template, and performs various element resources contained in the restaurant data, such as the pictures of the restaurant, the restaurant name, etc. Typesetting and display on the preset template interface 404 . In the preset template interface 404, the picture of each restaurant is placed in a circle, and the corresponding restaurant name is displayed next to the circle, and displayed from left to right according to the distance from the location information of the terminal from near to far.

图4(B)为另一个实施例中展示推送信息的界面示意图。如图4(B)所示,终端提取会话区域402中聊天消息的关键词“日程”,并将关键词“日程”发送至服务器。服务器在与日程类别对应的数据库中根据接收关键词“日程”的时间及用户标识筛选得到对应1周内的日程数据,并将日程数据作为推送信息发送至终端。终端接收服务器发送的日程数据,根据日程数据所属的日程类别选取对应的展示模板,根据展示模板对日程数据进行重构,对日程数据中包含的各个元素资源,例如日期时间、行程安排等进行排版,并在预设模板界面404进行展示。在预设模板界面404中,中间展示有用户需要查看的日程,与用户需要查看的日程关联的其它天的日程按顺序分别排布在两侧。FIG. 4(B) is a schematic diagram of an interface for displaying push information in another embodiment. As shown in FIG. 4(B), the terminal extracts the keyword "schedule" of the chat message in the conversation area 402, and sends the keyword "schedule" to the server. The server selects the schedule data corresponding to one week in the database corresponding to the schedule category according to the time of receiving the keyword "schedule" and the user ID, and sends the schedule data to the terminal as push information. The terminal receives the schedule data sent by the server, selects the corresponding display template according to the schedule category to which the schedule data belongs, reconstructs the schedule data according to the display template, and typesets each element resource contained in the schedule data, such as date and time, itinerary, etc. , and displayed on the preset template interface 404 . In the preset template interface 404, the schedule that the user needs to view is displayed in the middle, and the schedules of other days associated with the schedule that the user needs to view are arranged on both sides in sequence.

图4(C)为又一个实施例中展示推送信息的界面示意图。如图4(C)所示,终端提取会话区域402中聊天消息的关键词“美食”,并将关键词“美食”发送至服务器。服务器在与美食类别对应的数据库中根据关键词“美食”及终端的位置信息筛选得到与终端的位置信息对应的餐厅数据,并将餐厅数据作为推送信息发送至终端。终端接收服务器发送的餐厅数据,根据餐厅数据所属的美食类别选取对应的展示模板,根据展示模板对餐厅数据进行重构,对餐厅数据中包含的各个元素资源,例如餐厅的图片、餐厅名称等进行排版,并在预设模板界面404进行展示。在预设模板界面404中,每个餐厅的图片被放入圆圈中,并在圆圈旁边显示对应的餐厅名称,从左至右按与终端的位置信息的距离从近到远展示。FIG. 4(C) is a schematic diagram of an interface for displaying push information in another embodiment. As shown in FIG. 4(C), the terminal extracts the keyword "food" in the chat message in the conversation area 402, and sends the keyword "food" to the server. The server obtains 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 data to the terminal as push information. The terminal receives the restaurant data sent by the server, selects the corresponding display template according to the food category to which the restaurant data belongs, reconstructs the restaurant data according to the display template, and performs various element resources contained in the restaurant data, such as the pictures of the restaurant, the restaurant name, etc. Typesetting and display on the preset template interface 404 . In the preset template interface 404, the picture of each restaurant is placed in a circle, and the corresponding restaurant name is displayed next to the circle, and displayed from left to right according to the distance from the location information of the terminal from near to far.

上述基于即时通讯的信息推送方法,通过提取聊天消息的关键词,从服务器获取与关键词匹配的推送信息,根据选取的展示模板对推送信息进行重构后,在对应的预设模板界面中展示,无需用户提供关键词,实时根据聊天消息推送信息,能够精准推送用户感兴趣的内容。此外,预设模板界面不遮挡聊天区域,用户无需跳转当前的聊天界面获取推送信息,也不会打断当前的聊天过程,使即时通讯更加便利、流畅,能够提高用户粘性。The above-mentioned information push method based on instant messaging, by extracting the keywords of the chat message, obtaining the push information matching the keywords from the server, reconstructing the push information according to the selected display template, and displaying it in the corresponding preset template interface , without the need for users to provide keywords, and push information in real time according to chat messages, which can accurately push 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, which makes instant messaging more convenient and smooth, and can improve user stickiness.

如图5所示,在一个实施例中,在步骤S310提取会话区域中的聊天消息的关键词之后,还包括以下步骤:As shown in FIG. 5, in one embodiment, after extracting the keywords of the chat messages in the conversation area 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, selects information content matching the keyword according to the category, and generates push preview data according to the information content.

服务器向终端发送与关键词匹配的推送信息,其中,推送信息可包括推送预览数据及具体内容数据,推送预览数据指的是与关键词匹配的资讯内容的预览数据,例如各条资讯内容的名称、简介等信息,具体内容数据指的是每条资讯内容下的具体内容信息。例如,服务器向终端推送与关键词“美食”匹配的餐厅数据,推送信息可包括各个餐厅的图片、名称、简介等推送预览数据,也可包括每个餐厅的具体菜品、评价及优惠信息等具体内容数据。The server sends push information matching the keyword to the terminal, where the push information may include push preview data and specific content data, and the push preview data refers to the preview data of the information content matching the keyword, such as the name of each piece of information content , introduction and other information, the specific content data refers to the specific content information under each information content. For example, the server pushes restaurant data matching the keyword "food" to the terminal. The push information may include push preview data such as pictures, names, and profiles of each restaurant, as well as specific dishes, evaluations, and discount information of each restaurant. content data.

步骤S504,从服务器获取与关键词匹配的推送预览数据。Step S504: Acquire push preview data matching the keyword from the server.

终端将关键词发送至服务器,服务器确定关键词所属的类别后,可在与该类别对应的数据库中筛选与关键词匹配的资讯内容,并根据资讯内容生成推送预览数据。终端接收与关键词匹配的推送预览数据,并根据与推送预览数据对应的类别选取与该类别匹配的展示模板,根据展示模板对推送预览数据进行重构,对推送预览数据中包含的各个元素资源进行排版,并在预设模板界面中进行展示。The terminal sends the keyword to the server, and after determining the category to which the keyword belongs, the server can filter information content matching the keyword in the database corresponding to the category, and generate push preview data according to the information content. The terminal receives the push preview data matching the keyword, selects a 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 analyzes each element resource contained in the push preview data. Typesetting and display in the preset template interface.

步骤S506,根据与推送预览数据对应的类别选取与类别匹配的展示模板。Step S506, select a display template matching the category according to the category corresponding to the push preview data.

进一步地,预设模板界面中展示推送预览数据,终端可根据用户在预设模板界面中的操作持续展示更多的推送预览数据,其中,该操作可以是通过触控预设模板界面对应的触摸屏进行的滑动操作,也可以是通过手、鼠标或触控笔等输入设备点击拖动预设模板界面的进度条的操作等。预设模板界面中展示的推送信息可按照一定规则的排序方式进行排序展示,例如餐厅数据按照与终端的位置信息的距离由近至远排序展示,天气数据按照时间进行排序展示,日程数据按照时间进行排序展示等,但不限于此。终端可根据用户在预设模板界面中的操作变换推送预览数据的排序展示方式,其中,操作可以是预设手势,例如通过手掌滑动预设模板界面,当终端检测到触控面积大于阈值,且进行滑动时,则变更推送预览数据的排序展示方式,或是其它的操作,例如长按预设模板界面的操作,也可以在预设模板界面中设置排序选项按钮,根据点击排序选项按钮触发相应的排序方式。例如,餐厅数据按照与终端的位置信息的距离由近至远排序展示,用户通过长按预设模板界面,将餐厅数据按照用户评价从高至低排序展示。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, wherein the operation may be by touching the touch screen corresponding to the preset template interface. The sliding operation performed may also be an 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 preset template interface can be sorted and displayed according to certain rules. For example, restaurant data is sorted and displayed according to the distance from the terminal's location information, weather data is sorted and displayed according to time, and schedule data is displayed according to time. Sort display, etc., but not limited to this. The terminal can change the sorting and presentation method of the push preview data according to the user's operation in the preset template interface, wherein the operation can be a preset gesture, such as sliding the preset template interface by palm, when the terminal detects that the touch area is larger than the threshold, and When swiping, change the way of sorting and displaying the push preview data, or other operations, such as long-pressing the preset template interface, you can also set the sorting option button in the preset template interface, and click the sorting option button to trigger the corresponding sorting method. For example, the restaurant data is displayed in descending order according to the distance from the terminal's location information, and the user can display the restaurant data in descending order according to the user's evaluation by long-pressing the preset template interface.

图6为一个实施例中根据用户在预设模板界面中的操作持续展示更多的推送预览数据的示意图。如图6所示,预设模板界面404中展示有包含多个餐厅图片、名称的推送预览信息,用户可利用手势在预设模板界面404进行向左滑动操作,当终端接收到在预设模板界面404进行的向左滑动操作时,预设模板界面随着手势滑动持续展示更多的与餐厅相关的推送预览信息。FIG. 6 is a schematic diagram of continuously displaying more push preview data according to the user's operation in the preset template interface in one embodiment. As shown in FIG. 6 , the preset template interface 404 displays push preview information including a plurality of restaurant pictures and names. The user can use gestures to slide left on the preset template interface 404. When the terminal receives the preset template When the interface 404 performs a leftward swipe operation, the preset template interface continues to display more push preview information related to the restaurant as the gesture swipes.

在本实施例中,服务器可先向终端发送与关键词匹配的推送预览数据,减少推送信息的数据传输量,使关键词匹配的响应速度更快。In this embodiment, the server may first send the push preview data matching the keywords to the terminal, so as to reduce the data transmission amount of the push information and make the response speed of the keyword matching faster.

如图7所示,在一个实施例中,上述基于即时通讯的信息推送方法,还包括以下步骤:As shown in Figure 7, in one embodiment, the above-mentioned instant messaging-based information push method further includes the following steps:

步骤S702,根据对预设模板界面的第一操作获取查看目标对象。Step S702, acquiring 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 sent by the server that matches the keywords, and the user can click 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 item. Restaurants, specific dishes in restaurants, specific news related to stars, specific songs, 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, wherein the first operation may be a click operation performed by an input device such as a finger, a stylus or a mouse. The terminal can obtain the identification of the viewing target object, and each information content matching a keyword has a unique identification, which can be the name and number of the information content, such as the number of a restaurant, the name of a star, the name of a movie, etc.

步骤S704,根据查看目标对象向所述服务器发送内容查看请求,以使服务器根据内容查看请求从与推送预览数据关联的层级数据中,获取与查看目标对象对应的具体内容数据,并更新具体内容数据的传输优先级。Step S704, sending 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 the specific content data transmission priority.

终端的预设模板界面可展示多个内容层级的推送信息,通常可为三个以内的内容层级,后面内容层级展示的内容均是前面内容层级展示的内容的细化,例如,预设模板界面展示与关键词“美食”匹配的推送信息,第一内容层级可展示包含各个餐厅图片、名称及简介等信息的推送预览数据,第二内容层级可展示某个餐厅的菜单、评价、优惠信息等,第三内容层级可展示该菜单中具体某道菜的介绍及价格等信息,但不限于此。服务器根据关键词在对应的数据库中筛选匹配的资讯内容后,根据资讯内容生成推送预览数据,并向终端发送推送预览数据的同时,可根据资讯内容生成与推送预览数据关联的层级数据。当服务器接收到终端发送的内容查看请求时,可根据内容查看请求获取查看目标对象的标识,并根据查看目标对象的标识直接从与推送预览数据关联的层级数据中获取与查看目标对象对应的具体内容数据。The preset template interface of the terminal can display the push information of multiple content levels, usually within three content levels, and the content displayed at the later content level is the refinement of the content displayed at the previous content level, for example, the preset template interface Display 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, evaluation, discount information of a restaurant, etc. , the third content level can display information such as the introduction and price of a specific dish in the menu, but is not limited to this. After filtering the matching information content in the corresponding database according to the keywords, the server generates push preview data according to the information content, and while sending the push preview data to the terminal, the hierarchical data associated with the push preview data can be generated according to the information content. When the server receives the content viewing request sent by the terminal, it can obtain the identification of the viewing target object according to the content viewing request, and directly obtain the specific information corresponding to the viewing target object from the hierarchical data associated with the push preview data according to the identification of the viewing target object. content data.

由于服务器向终端发送推送信息是一个持续的过程,服务器获取与关键词匹配的资讯内容后,可根据用户的浏览情况选择数据进行传输。当服务器接收内容查看请求,并根据内容查看请求获取对应的具体内容数据后,可更新具体内容数据的传输优先级,将具体内容数据的传输优先级调至最高级别,即可使具体内容数据先于其它推送信息传送至终端进行展示。Since it is a continuous process for the server to send the push information to the terminal, after the server obtains the information content matching the keyword, it can select data for transmission according to the browsing situation of the user. When the server receives the content viewing request and obtains the corresponding specific content data according to the content viewing 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, so that the specific content data can be sent first. 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 receiving the specific content data sent by the server, the terminal can reconstruct the specific content data according to the display template corresponding to the category to which the keyword belongs, and typeset each element resource contained in the specific content data according to the display style defined in the display template. , and switch the data currently displayed in the preset template interface to the reconstructed specific content data, wherein the data currently displayed in the preset template interface is the relevant data of the previous content level of the specific content data.

图8(A)为一个实施例中终端接收对预设模板界面的第一操作的示意图,图8(B)为一个实施例中根据第一操作展示具体内容数据的示意图。如图8(A)所示,终端接收用户对预设模板界面404的第一操作,根据第一操作确定查看目标对象为餐厅三,终端向服务器发送内容查看请求,从而获取与餐厅三关联的具体内容数据。终端根据展示模板对餐厅三的具体内容数据进行重构,并将预设模板界面404中原本展示的各餐厅的图片、名称等数据切换为重构后的餐厅三的具体内容数据,具体展示可如图8(B)所示,预设模板界面404中展示了餐厅三的多种招牌菜的具体内容数据。FIG. 8(A) is a schematic diagram of a terminal receiving a first operation on a preset template interface in an embodiment, and FIG. 8(B) is a schematic diagram of displaying specific content data according to the first operation in an embodiment. As shown in FIG. 8(A), the terminal receives the user's first operation on the preset template interface 404, and determines that the viewing target object is restaurant three according to the first operation, and the terminal sends a content viewing request to the server, thereby obtaining the information associated with restaurant three. specific content data. The terminal reconstructs the specific content data of the third restaurant according to the display template, and switches the pictures, names and other data of each restaurant originally displayed in the preset template interface 404 to the reconstructed specific content data of the third restaurant. The specific display can be As shown in FIG. 8(B) , the preset template interface 404 displays specific content data 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. A return button can be set in the preset template interface. The return operation can be a click of the return button or a preset return gesture. For example, long press the preset template interface for a preset time and swipe 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, the associated hierarchical data is generated, and when a content viewing request is received, the corresponding specific content data can be filtered according to the content viewing request, and the transmission of the specific content data can be updated. The priority allows the terminal to obtain the specific content data to be viewed more quickly.

如图9所示,在一个实施例中,上述基于即时通讯的信息推送方法,还包括以下步骤:As shown in Figure 9, in one embodiment, the above-mentioned instant messaging-based information push method further includes the following steps:

步骤S902,根据对预设模板界面的第二操作确定分享目标对象。Step S902, determining the sharing target object according to the second operation on the preset template interface.

用户可通过选择预设模板界面上的推送信息,分享给会话区域中的其他会话用户。当终端接收到对预设模板界面的第二操作时,可根据第二操作确定分享目标对象,并获取分享目标对象的标识,其中,第二操作可为分享操作的前置操作,用于生成分享的结构化数据,也可以直接作为分享操作,生成结构化数据后直接进行分享。The user can share the push information with other session users in the session area by selecting the push information on the preset template interface. 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 identification of the sharing target object, wherein the second operation can be a pre-operation of the sharing operation, which is used to generate The shared structured data can also be directly used as a sharing operation, and the structured data can be shared directly after being generated.

分享操作可预先进行设置,例如,可以在预设模板界面上设置分享按扭,当用户通过鼠标右键选中推送信息的具体项时,显示分享按钮,当点击分享按钮时即可触发分享操作,则第二操作即为对具体项的分享按钮进行的点击操作;也可以是预设的手势,例如长按具体项大于或等于预设时间值,并拖动至会话区域,则第二操作可为手或鼠标等的长按操作,用于生成结构化数据。具体的分享操作可根据需求进行设定,并不限于此。The sharing operation can be set in advance. For example, a sharing button can be set on the preset template interface. When the user selects the specific item of the push information with the right mouse button, the sharing button is displayed. When the sharing button is clicked, the sharing operation can be triggered, then The second operation is a click operation on the share button of a specific item; it can also be a preset gesture. For example, long-press a specific item greater than or equal to the preset time value and drag it to the conversation area, then the second operation can be A long-press operation of hand or mouse, etc., used to generate structured data. The specific sharing operation can be set according to requirements, but is not limited to this.

进一步地,进行分享的具体项可以是推送信息中的任意具体项目,而分享目标对象一般可为一条完整的资讯内容,例如,当用户对具体的餐厅或该餐厅中的具体某道菜进行第二操作时,其对应的分享目标对象均是包含该餐厅所有信息的具体内容数据。Further, the specific item to be shared can be any specific item in the push information, and the sharing target object can generally be a complete piece of information content. In the second operation, the corresponding sharing target objects are all specific content data containing all the information of the restaurant.

步骤S904,从服务器获取与分享目标对象匹配的具体内容数据。Step S904: Acquire specific content data matching the sharing target object from the server.

终端可根据分享目标对象的标识向服务器发送内容获取请求,服务器根据内容获取请求获取分享目标对象的标识,并根据分享目标对象的标识直接从与推送预览数据关联的层级数据中获取与分享目标对象对应的具体内容数据,并更新与分享目标对象对应的具体内容数据的传输优先级,将与分享目标对象对应的具体内容数据的传输优先级变为最高优先级,优先将与分享目标对象对应的具体内容数据发送给终端。The terminal can send a content acquisition request to the server according to the identification of the sharing target object, and the server acquires the identification of the sharing target object according to the content acquisition request, and directly obtains and shares the target object from the hierarchical data associated with the push preview data according to the identification of the sharing target object. corresponding specific content data, and update the transmission priority of the specific content data corresponding to the sharing target object, changing the transmission priority of the specific content data corresponding to the sharing target object to the highest priority, and giving priority to the transmission priority corresponding to the sharing target object. The specific content data is sent to the terminal.

步骤S904,按照与推送信息对应的消息样式对与分享目标对象匹配的具体内容数据进行重构,生成结构化消息。Step S904: 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.

终端接收由服务器发送的与分享目标对象对应的具体内容数据,可根据关键词所属的类别选取对应的消息样式,消息样式中定义了推送信息进行分享时的具体展示样式及数据结构。终端可根据选取的消息样式对与分享目标对象匹配的具体内容数据进行重构,按照消息样式定义的展示样式及数据结构从与分享目标对象对应的具体内容数据中选取对应的元素资源进行处理,生成结构化消息。例如,与美食类别对应的消息样式中定义的数据结构中包括餐厅的名称、图片、地址信息,与明星类别对应的消息样式定义的数据结构中包括明星名字、图片,与电影对应的消息样式定义的数据结构中包括电影名字、主演、简介及图片等,并可根据不同类别的需求定义不同的展示样式。The terminal receives the specific content data corresponding to the sharing target sent by the server, and can select the corresponding message style according to the category to which the keyword belongs. The message style defines the specific display style and data structure of the push information for 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 for processing according to the display style and data structure defined by the message style, Generate structured messages. For example, the data structure defined in the message style corresponding to the food category includes the name, picture, and address information of the restaurant; the data structure defined in the message style corresponding to the star category includes the star name, picture, and the message style definition corresponding to the movie The data structure includes the movie name, starring role, 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, send the structured message to the user terminal corresponding to the session area.

终端根据第二操作生成待分享的结构化数据,当接收到第三操作时,其中,第三操作可以是拖动操作或是点击等触发操作。在一个实施例中,若第三操作为拖动操作,终端可监听抬起事件,若抬起事件的抬起坐标点位于会话区域,则将结构化消息发送给与会话区域对应的用户终端,若会话区域中进行的是一对一会话,则将结构化消息发送给对应的用户终端,若会话区域中进行的是多人会话,则可将结构化消息发送给所有参与会话的用户终端。若抬起事件的抬起坐标点位于预设模板界面,则取消发送,不进行推送信息分享。在一个实施例中,若第三操作为拖动操作,可获取拖动的距离及方向,若拖动的方向为向会话区域移动的方向且距离超过预设距离,则将结构化消息发送给与会话区域对应的用户终端等,但不限于此。The terminal generates the structured data to be shared according to the second operation, and when receiving the third operation, the third operation may be a trigger operation such as a drag operation or a click. In one embodiment, if the third operation is a drag operation, the terminal can monitor the lift event, and if the lift coordinate point of the lift event is located in the session area, the structured message is sent to the user terminal corresponding to the session area, If a one-to-one conversation is conducted in the session area, the structured message is sent to the corresponding user terminal; if a multi-person session is conducted in the session area, the structured message can be sent to all user terminals participating in the session. If the lift coordinate point of the lift event is located in the preset template interface, the sending will be cancelled and the push information will not be shared. In one embodiment, if the third operation is a drag operation, the distance and direction of the drag can be obtained, and if the direction of the drag is the direction of moving to the conversation area and the distance exceeds a preset distance, a structured message is sent to A user terminal corresponding to the session area, etc., but not limited to this.

图10为一个实施例中分享推送信息的示意图。如图10所示,用户可先在预设模板界面404上长按餐厅一的具体项,终端根据长按操作获取餐厅一的具体内容数据,并选取与美食类别对应的消息样式对餐厅一的具体内容数据进行重构,生成结构化数据。用户通过将餐厅一的具体项拖动至会话区域402,终端监听到抬起事件的抬起坐标点位于会话区域402,则将结构化数据发送给会话的用户终端,并按照消息样式在会话区域中以卡片的形式展示分享的餐厅一数据。FIG. 10 is a schematic diagram of sharing push information in an embodiment. As shown in FIG. 10 , the user can first long-press the specific item of restaurant 1 on the preset template interface 404, and the terminal obtains the specific content data of restaurant 1 according to the long-press operation, and selects the message style corresponding to the food category for the specific item of restaurant 1. The specific content data is reconstructed to generate structured data. The user drags the specific item of restaurant 1 to the conversation area 402, and the terminal detects that the lift coordinate point of the lift event is located in the conversation area 402, then sends the structured data to the user terminal of the conversation, and according to the message style in the conversation area. The shared restaurant-1 data is displayed in the form of a card.

在本实施例中,用户可根据需求选择推送信息发送给会话的其它用户终端,帮助用户更快了解感兴趣的内容,保证即时通讯的质量,能够提高用户粘性。In this embodiment, the user can select push information to send to other user terminals in the session according to requirements, so as to help the user to understand the content of interest more quickly, ensure the quality of instant messaging, and 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 conversation area, the method further includes: evoking the preset information in a preset manner Template interface, and overlay the preset template interface on the virtual keyboard.

在步骤S340之后,还包括:根据对会话区域的第四操作使预设模板界面处于不可见状态,并重新展示虚拟键盘。After step S340, the method further includes: making the preset template interface in an invisible state according to the fourth operation on the session area, and re-displaying the virtual keyboard.

终端提取会话区域中聊天消息的关键词后,可按预设方式唤起预设模板界面,并将预设模板界面覆盖在界面中原本展示的虚拟键盘上,其中,唤起指的是使预设模板界面处于可见状态,唤起方式可根据需要预先进行设置,例如,以切换效果从下往上唤起预设模板界面、直接在虚拟键盘上以百叶窗的格式展示预设模板界面、从上往下飞入预设模板界面并覆盖在虚拟键盘上等。After the terminal extracts the keywords of the chat message in the conversation area, it can evoke the preset template interface in a preset manner, and overlay the preset template interface on the virtual keyboard originally displayed in the interface, wherein evoking refers to making the preset template interface. The interface is visible, and the evoking method can be pre-set as required, for example, evoke the preset template interface from bottom to top with switching effect, display the preset template interface directly on the virtual keyboard in the form of shutters, fly in from top to bottom Preset template interface and overlay on virtual keyboard etc.

终端在预设模板界面中展示推送信息,当接收到用户对会话区域的第四操作时,其中,第四操作可以是对会话区域中的会话信息展示框或信息输入框等的点击操作等,则根据对会话区域的第四操作使预设模板界面处于不可见状态。使预设模板界面处于不可见状态的方式也可根据需求进行设定,例如,以切换效果从上往下移出预设模板界面,使预设模板界面变成隐藏状态等,并重新展示虚拟键盘,方便用户输入聊天消息。The terminal displays the push information in the preset template interface, and when receiving a fourth operation of the user on the session area, the fourth operation may be a click operation on a session information display box or an information input box in the session area, etc., Then, the preset template interface is made invisible according to the fourth operation on the session area. The way to make the preset template interface invisible can also be set according to requirements, for example, move the preset template interface from top to bottom with a switching effect, make the preset template interface into a hidden state, etc., and re-display the virtual keyboard , which is convenient for users to enter chat messages.

进一步地,终端的界面设计可分为三层,一层为预设模板界面,一层为虚拟键盘,一层为会话窗口,其中,会话窗口指的是进行会话的整个窗口,可包括会话区域、联系人区域或是会话形象展示区域等。可如图11所示,图11为一个实施例中界面设计示意图,会话窗口1106位于底层,预设模板界面1102及虚拟键盘1104位于会话窗口上方,并根据需求进行切换,当终端需要展示推送信息时,预设模板界面1102即位于虚拟键盘1104的上方,若用户选择取消展示推送信息,则虚拟键盘1104位于预设模板界面1102的上方。Further, the interface design of the terminal can be divided into three layers, the first layer is the preset template interface, the first layer is the virtual keyboard, and the first layer is the session window, wherein the session window refers to the entire window in which the session is performed, which may include the session area. , contact area or conversation image display area, etc. As shown in FIG. 11 , which is a schematic diagram of the interface design in one embodiment, the session window 1106 is located at the bottom layer, the preset template interface 1102 and the virtual keyboard 1104 are located above the session window, and can be switched according to requirements. When the terminal needs to display the push information , the preset template interface 1102 is located above the virtual keyboard 1104 , and if the user chooses to cancel the display of the push information, the virtual keyboard 1104 is located above the preset template interface 1102 .

在一个实施例中,在步骤S310提取会话区域中的聊天消息的关键词之后,还包括:通过预设样式对关键词进行标记。In one embodiment, after extracting the keywords of the chat messages in the conversation area in step S310, the method further includes: marking the keywords with a preset style.

终端提取会话区域中的聊天消息的关键词后,可通过预设样式对关键词进行标记,其中,预设样式可包括将关键词加粗、在关键词下添加下划线、对关键词填充颜色等中的一种或多种,但并不限于此。对关键词进行标记后,若终端从服务器获取与关键词匹配的推送信息后,可建立标记的关键词与推送信息之间的链接,当取消展示预设模板界面及推送信息后,可通过触发关键词与推送信息之间的链接重新唤起预设模板界面,并在预设模板界面中展示匹配的推送信息,无需服务器多次进行智能筛选,可降低服务器压力,并提高推送信息的展示速度。After the terminal extracts the keywords of the chat messages in the conversation area, the keywords can be marked with a preset style, wherein the preset style may include bolding the keywords, adding underlines under the keywords, filling the keywords with colors, etc. one or more of, but not limited to. After the keyword is marked, if the terminal obtains the push information matching the keyword from the server, it can establish a link between the marked keyword and the push information. The link between the keywords and the push information re-evokes the preset template interface, and displays the matching push information in the preset template interface, without the need for the server to perform intelligent screening multiple times, which can reduce the pressure on the server and improve the display speed of the push information.

在本实施例中,预设模板界面可根据需求与虚拟键盘进行切换展示,更加贴合用户的日常输入习惯,使即时通讯更加便利、流畅,能够提高用户粘性。In this embodiment, the preset template interface can be switched and displayed with the virtual keyboard according to requirements, which is more suitable for the user's daily input habits, makes instant communication more convenient and smooth, and can improve user stickiness.

在一个实施例中,上述基于即时通讯的信息推送方法,还包括:根据选择操作确定对应的推荐程度选项,并根据推荐程度选项开启对应的推送方式。In one embodiment, the above-mentioned method for pushing information based on instant messaging further includes: determining a corresponding recommendation degree option according to a selection operation, and enabling a corresponding pushing method according to the recommendation degree option.

推荐程度选项可根据需求进行设定,在本实施例中,推荐程序选项可包括实时推荐、提示推荐及不推荐,其中,实时推荐指的是终端只要识别到聊天消息中的关键词即进行推送信息展示;提示推荐指的是终端识别到聊天消息中的关键词后,只按照预设样式对关键词进行标记,对用户进行提示,当接收到用户对关键词的触发操作时,再从服务器获取匹配的推送信息进行展示;不推荐指的是终端不对聊天消息中的关键词进行识别,不进行推送信息展示。The recommendation degree option can be set according to requirements. In this embodiment, the recommendation program options may include real-time recommendation, prompt recommendation, and non-recommendation, where the real-time recommendation means that the terminal will push as long as it recognizes the keyword in the chat message. 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 style, and prompts the user. Obtain matching push information for display; not recommended means that the terminal does not identify the keywords in the chat message and does not display the push information.

在其它的实施例中,推荐程度选项还可以是各类别的推荐开关,例如,用户可根据需要仅选择美食类别与明星类别进行推送,当终端识别到聊天消息中属于上述两个类别的关键词时,即展示匹配的推送信息,若识别到不属于上述两个类别的关键词,则不从服务器获取推送信息进行展示。In other embodiments, the recommendation degree option can also be a recommendation switch of each category. For example, the user can select only the food category and the star category to push as needed. When the terminal recognizes the keywords belonging to the above two categories in the chat message When the matching push information is displayed, if a keyword that does not belong to the above two categories is identified, the push information will not be obtained from the server for display.

在本实施例中,用户可根据需求选择所需的推荐程度选项,从而按照对应的推送方式进行推送,更贴合用户需求,能够提高用户粘性。In this embodiment, the user can select the required recommendation degree option according to the needs, so that the push is performed according to the corresponding push method, which is more suitable for the user's needs and can improve the user stickiness.

图12为一个实施例中终端与服务器的交互流程示意图。如图12所示,上述基于即时通讯的信息推送方法,终端与服务器包括以下交互步骤:FIG. 12 is a schematic diagram of an interaction flow between a terminal and a server in an embodiment. As shown in Figure 12, in the above-mentioned instant messaging-based information push method, the terminal and the server include the following interaction steps:

步骤S1202,终端提取会话区域中的聊天消息的关键词,并发送关键词给服务器。Step S1202, the terminal extracts the keywords of the chat message in the conversation area, and sends the keywords to the server.

步骤S1204,服务器判断是否已有匹配数据库,若是,则执行步骤S1208,若否,则执行步骤S1206。Step S1204, the server judges whether there is a matching database, if yes, executes step S1208, if not, executes step S1206.

步骤S1206,服务器搜索数据。Step S1206, the server searches for data.

步骤S1208,服务器选取与关键词匹配的资讯内容。Step S1208, the server selects information content matching the keyword.

步骤S1210,终端通过预设样式对关键词进行标记。Step S1210, the terminal marks the keyword by using a preset style.

步骤S1212,终端按照预设方式唤起预设模板界面。Step S1212, the terminal invokes a preset template interface in a preset manner.

步骤S1214,服务器根据资讯内容生成推送预览数据,并发送给终端。Step S1214, the server generates push preview data according to the information content, and sends it to the terminal.

步骤S1216,服务器生成与推送预览数据关联的层级数据,并发送给终端。Step S1216, the server generates hierarchical data associated with the push preview data, and sends it to the terminal.

步骤S1218,终端根据展示模板对推送信息进行重构,并在对应的预设模板界面中展示。Step S1218, the terminal reconstructs the push information according to the display template, and displays it in the corresponding preset template interface.

步骤S1220,终端根据用户操作展示所需查看的具体内容数据,向服务器发送请求。Step S1220, the terminal sends a request to the server to display the specific content data to be viewed according to the user operation.

步骤S1222,服务器根据请求获取对应的具体内容数据,并发送给终端。Step S1222, the server obtains the corresponding specific content data according to the request, and sends it to the terminal.

步骤S1224,终端按照消息样式对具体内容数据进行重构,生成结构化消息。Step S1224, the terminal reconstructs the specific content data according to the message style to generate a structured message.

终端提取会话区域中的聊天消息的关键词,并将关键词发送至服务器。服务器确定关键词所属类别,并判断是否已有与关键词所属类别匹配的数据库,若有匹配的数据库,则从匹配的数据库中筛选得到与关键词匹配的资讯内容,若没有匹配的数据库,则搜索是否存储有与关键词关联的陈旧推送信息,若有,则从与关键词关联的陈旧推送信息筛选匹配的资讯内容。服务器根据筛选得到的与关键词匹配的资讯内容生成推送预览数据,同时,生成与推送预览数据关联的层级数据,服务器可将推送预览数据发送给终端。终端提取关键词后,可通过预设样式对关键词进行标记,并按照预设方式唤起预设模板界面。当终端接收到服务器发送的推送信息后,可根据关键词所属的类别选取对应的展示模板,并根据展示模板对推送信息进行重构,并在对应的预设模板界面中进行展示。终端可根据用户操作向服务器发送具体的请求,可包括内容查看请求及内容获取请求,服务器根据终端发送的具体请求从与推送预览数据关联的层级数据中获取对应的具体内容数据,并更新具体内容数据的传输优先级。终端接收服务器根据传输优先级发送的具体内容数据,在预设模板界面中进行展示,并可根据用户操作按照消息对具体内容数据进行重构,重成结构化消息,将结构化消息发送给会话区域中参与会话的其它用户终端,实现推送信息的分享。The terminal extracts the keywords of the chat message in the conversation area, and sends the keywords to the server. The server determines the category to which the keyword belongs, and judges whether there is a database matching the category to which the keyword belongs. If there is a matching database, the information content matching the keyword is filtered from the matching database. Search whether there is stale push information associated with the keyword stored, and if so, filter the matching information content from the stale push information associated with the keyword. The server generates push preview data according to the information content matching the keywords obtained by screening, 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 extracts the keywords, the keywords can be marked with a preset style, and the preset template interface can be invoked according to the preset method. After receiving the push information sent by the server, the terminal can select a corresponding display template according to the category to which the keyword belongs, reconstruct the push information according to the display template, and display it in the corresponding preset template interface. The terminal can send a specific request to the server according to the user operation, which can include a content viewing request and a content acquisition request. 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 updates the specific content. The transmission priority of the data. 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 operation, reconstruct it into a structured message, and send the structured message to the session. Other user terminals participating in the session in the area realize the sharing of push information.

可以理解地,上述终端与服务器的交互过程不一定按照图12所示的执行顺序进行,也可以采用其它的顺序步骤进行交互。It can be understood that, the above-mentioned interaction process between the terminal and the server is not necessarily performed according to the execution sequence shown in FIG. 12 , and other sequence steps may also be used to perform the interaction.

在本实施例中,无需用户提供关键词,实时根据聊天消息推送信息,能够精准推送用户感兴趣的内容。此外,用户可根据需求选择所需的推荐程度选项,从而按照对应的推送方式进行推送,更贴合用户需求,能够提高用户粘性。In this embodiment, the user does not need to provide keywords, and the information is pushed according to the chat message in real time, so that the content that the user is interested in can be accurately pushed. In addition, users can select the required recommendation degree option according to their needs, so as to push according to the corresponding push method, which is more suitable for user needs and can improve user stickiness.

如图13所示,在一个实施例中,提供一种基于即时通讯的信息推送装置1300,包括提取模块1310、获取模块1320、选取模块1330及展示模块1340。As shown in FIG. 13 , in one embodiment, an instant messaging-based information push apparatus 1300 is provided, including an extraction module 1310 , an acquisition module 1320 , a selection module 1330 and a display module 1340 .

提取模块1310,用于提取会话区域中的聊天消息的关键词。The extraction module 1310 is used for extracting keywords of chat messages in the conversation area.

获取模块1320,用于从服务器获取与关键词匹配的推送信息。The obtaining module 1320 is configured to obtain push information matching the keyword from the server.

选取模块1330,用于根据推送信息选取展示模板。The selection module 1330 is configured to select a presentation template according to the push information.

展示模块1340,用于根据展示模板对推送信息进行重构,并在对应的预设模板界面中展示,预设模板界面不遮挡所述会话区域。The display module 1340 is configured to reconstruct the push information according to the display template, and display it in the corresponding preset template interface, and the preset template interface does not block the conversation area.

上述基于即时通讯的信息推送装置,通过提取聊天消息的关键词,从服务器获取与关键词匹配的推送信息,根据选取的展示模板对推送信息进行重构后,在对应的预设模板界面中展示,无需用户提供关键词,实时根据聊天消息推送信息,能够精准推送用户感兴趣的内容。此外,预设模板界面不遮挡聊天区域,用户无需跳转当前的聊天界面获取推送信息,也不会打断当前的聊天过程,使即时通讯更加便利、流畅,能够提高用户粘性。The above-mentioned information push device based on instant messaging, by extracting the keywords of the chat message, obtains the push information matching the keywords from the server, reconstructs the push information according to the selected display template, and displays it in the corresponding preset template interface , without the need for users to provide keywords, and push information in real time according to chat messages, which can accurately push 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, which makes instant messaging more convenient and smooth, and can improve user stickiness.

如图14所示,在一个实施例中,上述基于即时通讯的信息推送装置1300,除了包括提取模块1310、获取模块1320、选取模块1330及展示模块1340,还包括第一发送模块1350。As shown in FIG. 14 , in one embodiment, the above-mentioned instant messaging-based information pushing apparatus 1300 includes a first sending module 1350 in addition to an extraction module 1310 , an acquisition module 1320 , a selection module 1330 and a display module 1340 .

第一发送模块1350,用于将关键词发送至服务器,以使服务器确定关键词所属的类别,并根据类别选取与关键词匹配的资讯内容,然后根据资讯内容生成推送预览数据。The first sending module 1350 is used for sending the keyword to the server, so that the server determines the category to which the keyword belongs, selects information content matching the keyword according to the category, and generates push preview data according to the information content.

获取模块1320,还用于从服务器获取与关键词匹配的推送预览数据。The obtaining module 1320 is further configured to obtain the push preview data matching the keyword from the server.

选取模块1330,还用于根据与推送预览数据对应的类别选取与类别匹配的展示模板。The selecting module 1330 is further configured to select a presentation template matching the category according to the category corresponding to the push preview data.

在本实施例中,服务器可先向终端发送与关键词匹配的推送预览数据,减少推送信息的数据传输量,使关键词匹配的响应速度更快。In this embodiment, the server may first send the push preview data matching the keywords to the terminal, so as to reduce the data transmission amount of the push information and make the response speed of the keyword matching faster.

如图15所示,在一个实施例中,上述基于即时通讯的信息推送装置1300,除了包括提取模块1310、获取模块1320、选取模块1330、展示模块1340及第一发送模块1350,还包括查看模块1360。As shown in FIG. 15 , in one embodiment, the above-mentioned instant messaging-based information pushing device 1300 includes, in addition to an extraction module 1310 , an acquisition module 1320 , a selection module 1330 , a display module 1340 and a first sending module 1350 , a viewing module. 1360.

查看模块1360,用于根据对预设模板界面的第一操作获取查看目标对象。The viewing module 1360 is configured to acquire the viewing target object according to the first operation on the preset template interface.

第一发送模块1350,还用于根据查看目标对象向服务器发送内容查看请求,以使服务器根据内容查看请求从与推送预览数据关联的层级数据中,获取与查看目标对象对应的具体内容数据,并更新具体内容数据的传输优先级。The first sending module 1350 is further configured to send a content viewing request to the server according to the viewing target object, so that the server obtains 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 Update the transmission priority of specific content data.

获取模块1320,还用于接收服务器根据传输优先级发送的具体内容数据。The obtaining module 1320 is further configured to receive the specific content data sent by the server according to the transmission priority.

展示模块1340,还用于根据展示模板对具体内容数据进行重构,将预设模板界面中当前展示的数据切换为重构后的具体内容数据。The display module 1340 is further configured to reconstruct the specific content data according to the display template, and switch the data currently displayed 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, the associated hierarchical data is generated, and when a content viewing request is received, the corresponding specific content data can be filtered according to the content viewing request, and the transmission of the specific content data can be updated. The priority allows the terminal to obtain the specific content data to be viewed more quickly.

如图16所示,在一个实施例中,上述基于即时通讯的信息推送装置1300,除了包括提取模块1310、获取模块1320、选取模块1330、展示模块1340、第一发送模块1350及查看模块1360,还包括分享模块1370及第二发送模块1380。As shown in FIG. 16 , in one embodiment, the above-mentioned instant messaging-based information pushing device 1300 , in addition to including an extraction module 1310 , an acquisition module 1320 , a selection module 1330 , a display module 1340 , a first sending module 1350 and a viewing module 1360 , It also includes a sharing module 1370 and a second sending module 1380.

分享模块1370,用于根据对预设模板界面的第二操作确定分享目标对象。The sharing module 1370 is configured to determine the sharing target object according to the second operation on the preset template interface.

获取模块1320,还用于从服务器获取与分享目标对象匹配的具体内容数据。The acquiring module 1320 is further configured to acquire specific content data matching the sharing target object from the server.

展示模块1340,还用于按照与推送信息对应的消息样式对与分享目标对象匹配的具体内容数据进行重构,生成结构化消息。The presentation module 1340 is further configured to reconstruct the specific content data matched with 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 configured to send the structured message to the user terminal corresponding to the session area when the third operation is received.

在本实施例中,用户可根据需求选择推送信息发送给会话的其它用户终端,帮助用户更快了解感兴趣的内容,保证即时通讯的质量,能够提高用户粘性。In this embodiment, the user can select push information to send to other user terminals in the session according to requirements, so as to help the user to understand the content of interest more quickly, ensure the quality of instant messaging, and improve user stickiness.

在一个实施例中,展示模块1340,还用于按照预设方式唤起预设模板界面,并将预设模板界面覆盖在虚拟键盘上。In one embodiment, the presentation module 1340 is further configured 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 configured to make the preset template interface invisible according to the fourth operation on the session area, and to display the virtual keyboard again.

在一个实施例中,上述基于即时通讯的信息推送装置1300,还包括标记模块。In one embodiment, the above-mentioned instant messaging-based information pushing apparatus 1300 further includes a marking module.

标记模块,用于通过预设样式对关键词进行标记。The tagging module is used to tag keywords with preset styles.

在本实施例中,预设模板界面可根据需求与虚拟键盘进行切换展示,更加贴合用户的日常输入习惯,使即时通讯更加便利、流畅,能够提高用户粘性。In this embodiment, the preset template interface can be switched and displayed with the virtual keyboard according to requirements, which is more suitable for the user's daily input habits, makes instant communication more convenient and smooth, and can improve user stickiness.

在一个实施例中,上述基于即时通讯的信息推送装置1300,还包括开启模块。In one embodiment, the above-mentioned instant messaging-based information pushing apparatus 1300 further includes an enabling module.

开启模块,用于根据选择操作确定对应的推荐程度选项,并根据推荐程度选项开启对应的推送方式。The enabling module is used to determine the corresponding recommendation degree option according to the selection operation, and enable the corresponding push method according to the recommendation degree option.

在本实施例中,用户可根据需求选择所需的推荐程度选项,从而按照对应的推送方式进行推送,更贴合用户需求,能够提高用户粘性。In this embodiment, the user can select the required recommendation degree option according to the needs, so that the push is performed according to the corresponding push method, which is more suitable for the user's needs and can improve the user stickiness.

在一个实施例中,还提供一种终端,包括存储器及处理器,存储器中储存有计算机可执行指令,计算机可执行指令被处理器执行时,使得处理器实现上述的基于即时通讯的信息推送方法。In one embodiment, a terminal is also provided, including a memory and a processor, wherein computer-executable instructions are stored in the memory, and when the computer-executable instructions are executed by the processor, the processor is made to implement the above-mentioned instant messaging-based information push method .

在一个实施例中,还提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述的基于即时通讯的信息推送方法。In one embodiment, a computer-readable storage medium is also provided, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned instant messaging-based information push method is implemented.

以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments can be combined arbitrarily. For the sake of brevity, all possible combinations of the technical features in the above-described embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, All should be regarded as the scope described in this specification.

以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present invention, and the descriptions thereof are specific and detailed, but should not be construed as a limitation on the scope of the invention patent. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can also be made, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention should be subject to the appended claims.

Claims (14)

1.一种基于即时通讯的信息推送方法,包括:1. A method for pushing information based on instant messaging, comprising: 提取会话区域中的聊天消息的关键词;其中,会话窗口包括会话区域和联系人区域,所述会话区域包括会话信息展示框和信息输入框,所述联系人区域显示多名联系人信息,所述联系人区域位于会话区域的一侧;当所述会话区域的会话信息展示框中展示有预设数量的历史聊天消息时,提取所述会话区域中展示的预设数量的历史聊天消息的关键词;Extract the keywords of the chat messages in the conversation area; wherein, the conversation window includes a conversation area and a contact area, the conversation area includes a conversation information display box and an information input box, the contact area displays a plurality of contact information, and the The contact area is located on one side of the conversation area; when a preset number of historical chat messages are displayed in the conversation information display frame of the conversation area, extract the key of the preset number of historical chat messages displayed in the conversation area word; 将所述关键词发送至服务器,以使所述服务器确定所述关键词所属的类别,并根据所述类别选取与所述关键词匹配的资讯内容,然后根据所述资讯内容生成推送预览数据;Sending the keyword to the server, so that 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; 从服务器获取与所述关键词匹配的推送信息;其中,针对每个类别,分别设定多级关键词;提取聊天消息中的关键词后,若该关键词为一级关键词,在将所述一级关键词发送给服务器获取匹配的推送信息后,继续检测预设条数聊天消息中是否包含有后面级别的关键词;若有,则将后面级别的关键词继续发送至服务器,服务器根据后面级别的关键词对根据一级关键词筛选得到的推送信息进行进一步筛选,得到新的推送信息;Acquire push information matching the keyword from the server; wherein, for each category, a multi-level keyword is set respectively; after extracting the keyword in the chat message, if the keyword is a first-level keyword, the After the above-mentioned first-level keywords are sent to the server to obtain matching push information, continue to detect whether the preset number of chat messages contain keywords of the following levels; The keywords of the latter level further filter the push information obtained by screening the first-level keywords to obtain new push information; 根据所述推送信息选取展示模板;Select a display template according to the push information; 根据所述展示模板对所述推送信息进行重构,并在对应的预设模板界面中展示,所述预设模板界面位于会话区域和联系人区域的下方,不遮挡所述会话区域;The push information is reconstructed according to the display template, and displayed in a corresponding preset template interface, the preset template interface is located below the conversation area and the contact area, and does not block the conversation area; 在展示的推送信息中选择要推送的内容并推送到会话区域中。Select the content to be pushed from the displayed push information and push it to the session area. 2.根据权利要求1所述的方法,其特征在于,所述从服务器获取与所述关键词匹配的推送信息,包括:2. The method according to claim 1, wherein the obtaining the push information matching the keyword from the server comprises: 从所述服务器获取与所述关键词匹配的推送预览数据;Acquire push preview data matching the keyword from the server; 所述根据所述推送信息选取展示模板,包括:The selection of the display template according to the push information includes: 根据与所述推送预览数据对应的类别选取与所述类别匹配的展示模板。According to the category corresponding to the push preview data, a display template matching the category is selected. 3.根据权利要求1所述的方法,其特征在于,所述方法还包括:3. The method according to claim 1, wherein the method further comprises: 根据对所述预设模板界面的第一操作获取查看目标对象;Acquiring the 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 obtains, according to the content viewing request, specific content corresponding to the viewing target object from hierarchical data associated with the push preview data data, and update the transmission priority of the specific content data; 接收所述服务器根据所述传输优先级发送的所述具体内容数据,并根据所述展示模板对所述具体内容数据进行重构,将所述预设模板界面中当前展示的数据切换为重构后的具体内容数据。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 reconstructed The specific content data after. 4.根据权利要求1所述的方法,其特征在于,所述方法还包括:4. The method according to claim 1, wherein the method further comprises: 根据对所述预设模板界面的第二操作确定分享目标对象;Determine the sharing target object according to the second operation on the preset template interface; 从服务器获取与所述分享目标对象匹配的具体内容数据;Acquiring specific content data matching the sharing target object from the server; 按照与所述推送信息对应的消息样式对与所述分享目标对象匹配的具体内容数据进行重构,生成结构化消息;Reconstructing the specific content data matched with the sharing target object according to the message style corresponding to the push information to generate a structured message; 当接收到第三操作时,将所述结构化消息发送给与所述会话区域对应的用户终端。When the third operation is received, the structured message is sent to the user terminal corresponding to the conversation area. 5.根据权利要求1所述的方法,其特征在于,在所述提取会话区域中的聊天消息的关键词之后,所述方法还包括:5. The method according to claim 1, wherein after extracting the keywords of the chat messages in the conversation area, the method further comprises: 通过预设样式对所述关键词进行标记。The keywords are marked with a preset style. 6.根据权利要求1所述的方法,其特征在于,在所述根据所述展示模板对所述推送信息进行重构,并在对应的预设模板界面中展示之前,所述方法还包括:6. The method according to claim 1, characterized in that, before reconstructing the push information according to the display template and displaying it in a corresponding preset template interface, the method further comprises: 按照预设方式唤起预设模板界面,并将所述预设模板界面覆盖在虚拟键盘上;Arouse the preset template interface in a preset manner, and overlay the preset template interface on the virtual keyboard; 在所述根据所述展示模板对所述推送信息进行重构,并在对应的预设模板界面中展示之后,所述方法还包括:After the push information is reconstructed according to the display template and displayed in the corresponding preset template interface, the method further includes: 根据对所述会话区域的第四操作使所述预设模板界面处于不可见状态,并重新展示所述虚拟键盘。According to the fourth operation on the conversation area, the preset template interface is made invisible, and the virtual keyboard is displayed again. 7.根据权利要求1所述的方法,其特征在于,所述方法还包括:7. The method of claim 1, wherein the method further comprises: 根据选择操作确定对应的推荐程度选项,并根据所述推荐程度选项开启对应的推送方式。A corresponding recommendation degree option is determined according to the selection operation, and a corresponding push mode is enabled according to the recommendation degree option. 8.一种基于即时通讯的信息推送装置,其特征在于,包括:8. An information push device based on instant messaging, characterized in that, comprising: 提取模块,用于提取会话区域中的聊天消息的关键词;其中,会话窗口包括会话区域和联系人区域,所述会话区域包括会话信息展示框和信息输入框,所述联系人区域显示多名联系人信息,所述联系人区域位于会话区域的一侧;当所述会话区域的会话信息展示框中展示有预设数量的历史聊天消息时,提取所述会话区域中展示的预设数量的历史聊天消息的关键词;The extraction module is used to extract the keywords of the chat messages in the conversation area; wherein, the conversation window includes a conversation area and a contact area, the conversation area includes a conversation information display box and an information input box, and the contact area displays multiple Contact information, the contact area is located on one side of the conversation area; when a preset number of historical chat messages are displayed in the conversation information display frame of the conversation area, extract the preset number of historical chat messages displayed in the conversation area. Keywords of historical chat messages; 第一发送模块,用于将所述关键词发送至服务器,以使所述服务器确定所述关键词所属的类别,并根据所述类别选取与所述关键词匹配的资讯内容,然后根据所述资讯内容生成推送预览数据;The first sending module is configured to send the keyword to the server, so that the server determines the category to which the keyword belongs, selects information content matching the keyword according to the category, and then selects the information content matching the keyword according to the category. Information content generates push preview data; 获取模块,用于从服务器获取与所述关键词匹配的推送信息;其中,针对每个类别,分别设定多级关键词;提取聊天消息中的关键词后,若该关键词为一级关键词,在将所述一级关键词发送给服务器获取匹配的推送信息后,继续检测预设条数聊天消息中是否包含有后面级别的关键词;若有,则将后面级别的关键词继续发送至服务器,服务器根据后面级别的关键词对根据一级关键词筛选得到的推送信息进行进一步筛选,得到新的推送信息;an obtaining module, used for obtaining push information matching the keyword from the server; wherein, for each category, a multi-level keyword is set respectively; after extracting the keyword in the chat message, if the keyword is a first-level key After sending the first-level keywords to the server to obtain matching push information, continue to detect whether the preset number of chat messages contain keywords of the following levels; if so, continue to send the keywords of the following levels to the server, and the server further filters the push information obtained by screening the first-level keywords according to the keywords of the following levels to obtain new push information; 选取模块,用于根据所述推送信息选取展示模板;a selection module, for selecting a display template according to the push information; 展示模块,用于根据所述展示模板对所述推送信息进行重构,并在对应的预设模板界面中展示,所述预设模板界面位于会话区域和联系人区域的下方,不遮挡所述会话区域;在展示的推送信息中选择要推送的内容并推送到会话区域中。A display module, configured to reconstruct the push information according to the display template, and display it in a corresponding preset template interface, the preset template interface is located below the conversation area and the contact area, and does not block the Session area; select the content to be pushed from the displayed push information and push it to the session area. 9.根据权利要求8所述的装置,其特征在于,所述装置还包括:9. The apparatus of claim 8, wherein the apparatus further comprises: 所述获取模块,还用于从所述服务器获取与所述关键词匹配的推送预览数据;The obtaining module is further configured to obtain push preview data matching the keyword from the server; 所述选取模块,还用于根据与所述推送预览数据对应的类别选取与所述类别匹配的展示模板。The selection module is further configured to select a display template matching the category according to the category corresponding to the push preview data. 10.根据权利要求9所述的装置,其特征在于,所述装置还包括:10. The apparatus of claim 9, wherein the apparatus further comprises: 查看模块,用于根据对所述预设模板界面的第一操作获取查看目标对象;A viewing module, configured to acquire the viewing target object according to the first operation on the preset template interface; 所述第一发送模块,还用于根据所述查看目标对象向所述服务器发送内容查看请求,以使所述服务器根据所述内容查看请求从与所述推送预览数据关联的层级数据中,获取与所述查看目标对象对应的具体内容数据,并更新所述具体内容数据的传输优先级;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 obtains from the hierarchical data associated with the push preview data according to the content viewing request. specific content data corresponding to the viewing target object, and updating the transmission priority of the specific content data; 所述获取模块,还用于接收所述服务器根据所述传输优先级发送的所述具体内容数据;The obtaining module is further configured to receive the specific content data sent by the server according to the transmission priority; 所述展示模块,还用于根据所述展示模板对所述具体内容数据进行重构,The display module is further configured to reconstruct the specific content data according to the display template, 将所述预设模板界面中当前展示的数据切换为重构后的具体内容数据。The data currently displayed in the preset template interface is switched to the reconstructed specific content data. 11.根据权利要求8所述的装置,其特征在于,所述装置还包括:11. The apparatus of claim 8, wherein the apparatus further comprises: 分享模块,用于根据对所述预设模板界面的第二操作确定分享目标对象;a sharing module, configured to determine a sharing target object according to the second operation on the preset template interface; 所述获取模块,还用于从服务器获取与所述分享目标对象匹配的具体内容数据;The obtaining module is further configured to obtain specific content data matching the sharing target object from the server; 所述展示模块,还用于按照与所述推送信息对应的消息样式对与所述分享目标对象匹配的具体内容数据进行重构,生成结构化消息;The display module is further configured to reconstruct the specific content data matched with the sharing target object according to the message style corresponding to the push information to generate a structured message; 第二发送模块,用于当接收到第三操作时,将所述结构化消息发送给与所述会话区域对应的用户终端。The second sending module is configured to send the structured message to the user terminal corresponding to the conversation area when the third operation is received. 12.根据权利要求8所述的装置,其特征在于,所述展示模块,还用于按照预设方式唤起预设模板界面,并将所述预设模板界面覆盖在虚拟键盘上;12 . The device according to claim 8 , wherein the display module is further configured to evoke a preset template interface according to a preset method, and overlay the preset template interface on the virtual keyboard; 12 . 所述展示模块,还用于根据对所述会话区域的第四操作使所述预设模板界面处于不可见状态,并重新展示所述虚拟键盘。The display module is further configured to make the preset template interface in an invisible state according to the fourth operation on the conversation area, and display the virtual keyboard again. 13.一种终端,包括存储器及处理器,所述存储器中储存有计算机可执行指令,所述计算机可执行指令被所述处理器执行时,使得所述处理器实现如权利要求1至7任一所述的方法。13. A terminal, comprising a memory and a processor, wherein computer-executable instructions are stored in the memory, and when the computer-executable instructions are executed by the processor, the processor is made to implement any one of claims 1 to 7. a described method. 14.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至7任一所述的方法。14. A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
CN201710687378.7A 2017-08-11 2017-08-11 Information push method, device, terminal and storage medium based on instant messaging Expired - Fee Related CN108306814B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201710687378.7A CN108306814B (en) 2017-08-11 2017-08-11 Information push method, device, terminal and storage medium based on instant messaging
PCT/CN2018/097951 WO2019029409A1 (en) 2017-08-11 2018-08-01 Instant messaging-based information pushing method and apparatus, terminal and storage medium
TW107127309A TWI701959B (en) 2017-08-11 2018-08-06 Method, device, terminal, and storage medium for pusing information based on instant messaging

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN108306814A CN108306814A (en) 2018-07-20
CN108306814B true CN108306814B (en) 2020-07-28

Family

ID=62869190

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710687378.7A Expired - Fee Related CN108306814B (en) 2017-08-11 2017-08-11 Information push method, device, terminal and storage medium 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 (56)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108306814B (en) * 2017-08-11 2020-07-28 腾讯科技(深圳)有限公司 Information push method, device, terminal and storage medium based on instant messaging
CN109344324A (en) * 2018-08-20 2019-02-15 中国平安人寿保险股份有限公司 Push movable method, apparatus, computer equipment and storage medium
CN109241456A (en) * 2018-09-13 2019-01-18 上海宇佑船舶科技有限公司 Location recommendation method, device and server
CN109242642A (en) * 2018-09-30 2019-01-18 上海掌门科技有限公司 Recommend the method and apparatus of boarding application
CN109522705B (en) * 2018-10-23 2024-02-09 深圳平安医疗健康科技服务有限公司 Authority management method, device, electronic equipment and medium
CN109523228A (en) * 2018-10-25 2019-03-26 平安科技(深圳)有限公司 A kind of work report management method, terminal device and computer readable storage medium
CN109446311B (en) * 2018-10-30 2022-04-05 五八有限公司 Chat enhancement method, device, storage medium and terminal
CN111225005B (en) * 2018-11-23 2023-01-31 北京嘀嘀无限科技发展有限公司 Push content generation method and device, electronic equipment and computer storage medium
CN109710740B (en) * 2018-12-27 2020-08-07 杭州美平米科技有限公司 Robot automatic chat method based on commodity information
CN109873751B (en) * 2019-01-11 2020-10-09 珠海格力电器股份有限公司 Group chat voice information processing method and device, storage medium and server
CN109918159A (en) * 2019-01-24 2019-06-21 努比亚技术有限公司 Assist chat method, mobile terminal and computer-readable storage media
CN111695027B (en) * 2019-03-13 2023-11-14 阿里巴巴集团控股有限公司 Information processing methods and devices
CN111670437B (en) * 2019-03-22 2022-03-04 江苏盐城风景风行网络技术研究院 Method for sharing electronic content or comments to specific user
CN110163719A (en) * 2019-04-15 2019-08-23 深圳壹账通智能科技有限公司 Information-pushing method, device, computer equipment and storage medium
CN112087725B (en) * 2019-06-13 2022-08-23 腾讯科技(深圳)有限公司 Push message display method and device and storage medium
CN110399472B (en) * 2019-06-17 2022-07-15 平安科技(深圳)有限公司 Interview question prompting method and device, computer equipment and storage medium
CN110457610B (en) * 2019-06-27 2022-04-19 五八有限公司 Information recommendation method, device, terminal, server and storage medium
CN112241208A (en) * 2019-07-17 2021-01-19 北京搜狗科技发展有限公司 Information recommendation method and device and electronic equipment
CN110516178A (en) * 2019-07-23 2019-11-29 平安科技(深圳)有限公司 Multi-level item display method, server and storage medium based on big data
CN110460514A (en) * 2019-08-19 2019-11-15 广州华多网络科技有限公司 Message method, device, storage medium and the equipment of instant messaging tools
CN112416482B (en) * 2019-08-23 2024-04-23 钉钉控股(开曼)有限公司 Interface switching method and device
CN110633413A (en) * 2019-08-26 2019-12-31 浙江大搜车软件技术有限公司 Label recommendation method and device, computer equipment and storage medium
CN110598098A (en) * 2019-08-30 2019-12-20 北京搜狗科技发展有限公司 Information recommendation method and device and information recommendation device
CN110647615A (en) * 2019-09-11 2020-01-03 腾讯科技(深圳)有限公司 Information pushing method and device, storage medium and electronic device
CN112543432A (en) * 2019-09-20 2021-03-23 上海擎感智能科技有限公司 Information management/processing method/system, storage medium, vehicle machine/client
CN110855548B (en) * 2019-10-18 2025-01-14 深圳前海微众银行股份有限公司 A message push method and device
CN110727435B (en) * 2019-10-21 2023-09-05 百度在线网络技术(北京)有限公司 Rendering method, rendering device, electronic equipment and storage medium
CN111162994B (en) * 2019-12-26 2024-05-03 上海传英信息技术有限公司 Information prompting method, electronic equipment and storage medium
CN111447575B (en) * 2020-03-11 2024-03-05 中国平安人寿保险股份有限公司 Short message pushing method, device, equipment and storage medium
JP7484278B2 (en) * 2020-03-19 2024-05-16 富士フイルムビジネスイノベーション株式会社 Information processing device and program
CN111444415B (en) * 2020-03-24 2023-08-15 咪咕音乐有限公司 Barrage processing method, server, client, electronic equipment and storage medium
CN113626631B (en) * 2020-05-09 2025-09-02 腾讯科技(深圳)有限公司 Image recommendation method, device, client and storage medium
CN111797315A (en) * 2020-06-29 2020-10-20 深圳市锦囊互动技术有限公司 A message push method, device, server and medium
CN112581162A (en) * 2020-12-07 2021-03-30 Oppo广东移动通信有限公司 Information content display method, device, storage medium and terminal
CN113095056B (en) * 2021-03-17 2024-04-12 阿里巴巴创新公司 Generation method, processing method, device, electronic equipment and medium
CN113177160B (en) * 2021-05-25 2024-04-23 上海众源网络有限公司 Push text generation method and device, electronic equipment and storage medium
CN113220774B (en) * 2021-05-28 2023-08-15 抖音视界有限公司 Encyclopedia information display method and device and computer storage medium
CN113609383A (en) * 2021-07-15 2021-11-05 苏州工业园区凌志软件股份有限公司 Unified information pushing system and method
CN113569089B (en) * 2021-07-21 2024-05-17 北京达佳互联信息技术有限公司 Information processing method, device, server, equipment, system and storage medium
CN113689184B (en) * 2021-08-10 2023-06-30 广州市中智软件开发有限公司 Electronic government affair event processing method and device based on workgroup and server
CN113781854B (en) * 2021-09-06 2023-03-28 浙江工商大学 Group discussion method and system for automatic remote teaching
CN115809363B (en) * 2021-09-14 2026-01-02 腾讯科技(北京)有限公司 Content delivery methods, devices, electronic devices and storage media
CN113792198B (en) * 2021-09-17 2024-12-03 贝壳找房(北京)科技有限公司 Method, device, program product, and storage medium for generating article promotional posters
CN113934832B (en) * 2021-10-22 2025-08-19 腾讯科技(深圳)有限公司 Interactive processing method, device, equipment, medium and program product based on session
CN114268664B (en) * 2021-11-29 2023-07-25 中国联合网络通信集团有限公司 Information pushing method, device, equipment, system and storage medium
CN114374572B (en) * 2021-12-30 2023-12-01 广州趣丸网络科技有限公司 Voice information processing method and device
CN114217712A (en) * 2021-12-31 2022-03-22 游密科技(深圳)有限公司 Information positioning processing method and device, computer equipment and storage medium
CN119127364A (en) * 2022-01-25 2024-12-13 支付宝(杭州)信息技术有限公司 A data processing method, device, equipment and medium
CN114610199B (en) * 2022-03-21 2023-04-21 北京明略昭辉科技有限公司 Session message processing method and device, storage medium and electronic equipment
CN115022268B (en) * 2022-06-24 2023-05-12 深圳市六度人和科技有限公司 Session identification method and device, readable storage medium and computer equipment
CN115292472B (en) * 2022-10-09 2022-12-30 四川师范大学 Method and system for pushing applet message
CN116233041A (en) * 2023-02-28 2023-06-06 北京字跳网络技术有限公司 Information processing method, device and electronic device
CN117041890A (en) * 2023-07-13 2023-11-10 北京百悟科技有限公司 Message processing method and device and computing equipment
CN120281735A (en) * 2024-01-05 2025-07-08 华为技术有限公司 Communication method, communication device, communication system, and readable storage medium
CN118277682B (en) * 2024-06-03 2024-08-30 每日互动股份有限公司 Method, device, medium and equipment for confirming target information pushing mode
CN118400346B (en) * 2024-06-28 2024-09-10 北京德惠众合信息技术有限公司 Processing method and platform suitable for instant messaging system

Citations (7)

* 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
CN102790726A (en) * 2011-05-18 2012-11-21 腾讯科技(深圳)有限公司 Method, device and system for pushing information based on instant messaging
CN103744968A (en) * 2014-01-09 2014-04-23 小米科技有限责任公司 Method and device for pushing information in application of terminal
CN104346396A (en) * 2013-08-05 2015-02-11 腾讯科技(深圳)有限公司 Data processing method, device, terminal and system of instant messaging client
CN104765791A (en) * 2015-03-24 2015-07-08 北京搜狗科技发展有限公司 Information inputting method and device
CN106605224A (en) * 2016-08-15 2017-04-26 北京小米移动软件有限公司 Information searching method, information searching device, electronic equipment and server
CN106953913A (en) * 2017-03-20 2017-07-14 维沃移动通信有限公司 A kind of information-pushing method and mobile terminal

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100690590B1 (en) * 2004-12-28 2007-03-09 엔에이치엔(주) Method and system for sharing search results using messenger
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
CN104639420B (en) * 2013-11-15 2019-06-07 腾讯科技(深圳)有限公司 The information processing method and system of instant messaging
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
CN106302081B (en) * 2015-05-14 2020-04-17 阿里巴巴集团控股有限公司 Instant messaging method and client
CN106302085B (en) * 2015-05-18 2020-08-25 腾讯科技(深圳)有限公司 Method and system for recommending instant messaging groups
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
CN108306814B (en) * 2017-08-11 2020-07-28 腾讯科技(深圳)有限公司 Information push method, device, terminal and storage medium based on instant messaging

Patent Citations (8)

* 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
CN102790726A (en) * 2011-05-18 2012-11-21 腾讯科技(深圳)有限公司 Method, device and system for pushing information based on instant messaging
CN104346396A (en) * 2013-08-05 2015-02-11 腾讯科技(深圳)有限公司 Data processing method, device, terminal and system of instant messaging client
CN103744968A (en) * 2014-01-09 2014-04-23 小米科技有限责任公司 Method and device for pushing information in application of terminal
CN104765791A (en) * 2015-03-24 2015-07-08 北京搜狗科技发展有限公司 Information inputting method and device
CN105183787A (en) * 2015-03-24 2015-12-23 北京搜狗科技发展有限公司 Information input method and apparatus
CN106605224A (en) * 2016-08-15 2017-04-26 北京小米移动软件有限公司 Information searching method, information searching device, electronic equipment and server
CN106953913A (en) * 2017-03-20 2017-07-14 维沃移动通信有限公司 A kind of information-pushing method and mobile terminal

Also Published As

Publication number Publication date
TW201911892A (en) 2019-03-16
WO2019029409A1 (en) 2019-02-14
TWI701959B (en) 2020-08-11
CN108306814A (en) 2018-07-20

Similar Documents

Publication Publication Date Title
CN108306814B (en) Information push method, device, terminal and storage medium based on instant messaging
US9965559B2 (en) Providing automatic actions for mobile onscreen content
US10540055B2 (en) Generating interactive content items based on content displayed on a computing device
US9535945B2 (en) Intent based search results associated with a modular search object framework
US9830388B2 (en) Modular search object framework
CN107256109A (en) Method for information display, device and terminal
CN106126514A (en) The message server relevant with search provides method and server and user terminal
CN105404629A (en) Method and device for determining map interface
WO2019171306A1 (en) Search engine scoring and ranking
KR20180079030A (en) Messenger searching method based on interaction, and server and application implementing the same method
US20090300476A1 (en) Internet Guide Link Matching System
US20190278818A1 (en) User created content referral and search
WO2018035164A1 (en) Description information generation and presentation systems, methods, and devices
KR102324200B1 (en) Method for providing emoticons in instant messaging service, user device, server and application implementing the method
US12086766B2 (en) Domain-based visualizations of messaging content
RU2741479C2 (en) Mobile advertisement provisioning system and method
CN105989045A (en) Method, device and system for recommending persuasion content
US20160048875A1 (en) Entity based search advertising within a modular search object framework
KR20250026135A (en) Method and apparatus for providing product object information
US20160054915A1 (en) Systems and methods for providing information to a user about multiple topics
CN116701749A (en) Information display method and related products
US20240419298A1 (en) Domain-based visualizations of messaging content
KR102833255B1 (en) Messenger searching method based on interaction, and server and application implementing the same method
US12353496B2 (en) Identifying contextual objects from web content
KR20180079167A (en) Messenger searching method based on interaction, and server and application implementing the same method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200728