一种网络信息推送方法、 系统及装置 技术领域 本发明涉及计算机技术领域, 更具体地说, 涉及一种网络信息推送 方法、 系统及装置。 TECHNICAL FIELD The present invention relates to the field of computer technologies, and in particular, to a network information pushing method, system and device.
发明背景 随着网络的发展, 越来越多的人开始接触和使用互联网。 在互联网 上用户几乎可找到所有想显示的信息。 而现有的网络信息显示和推送都 是按照统一的顺序由服务器向客户端推送。 由于网络信息量的庞大, 在 众多信息中想找到自己感兴趣的信息有时候也需要进行一系列繁瑣的 操作, 即使经常使用网络的用户也感觉不便。 此外还有通过用户定制信 息来实现向网络用户推送用户感兴趣的信息的方法。 然而该种方法在定 制时需要进行定制操作, 并且每次用户兴趣转移时需要重复进行定制操 作, 使用较为不便。 BACKGROUND OF THE INVENTION With the development of networks, more and more people are beginning to contact and use the Internet. On the Internet, users can find almost all the information they want to display. The existing network information display and push are pushed from the server to the client in a uniform order. Due to the huge amount of information on the network, it is sometimes necessary to perform a series of cumbersome operations in order to find information of interest in a large amount of information, even if users who frequently use the network feel inconvenience. There is also a way to push information of interest to the user to the network user through user-customized information. However, this method requires customization when it is customized, and it is necessary to repeat the customization operation every time the user's interest is transferred, which is inconvenient to use.
网络即时通信工具(Instant Messenger, IM )通过点对点的技术实 现互联网上的即时沟通, 甚至是多个用户间的交互, 其已经成为大多数 网民所使用的沟通工具, 其不仅应用于平时的休闲娱乐, 而且在工作中 也得到了广泛的使用。 即时通信工具为每一用户提供一个网络标识(即 帐号), 从而与其他用户相区别。 在即时通信工具中, 已经提供了越来 越多的服务, 包括网络信息显示(例如新闻、 产品资讯、 在线广告等)。 在现有的即时通信工具中, 一般由即时通信服务器按照编辑好的列表向 所有客户端统一推送, 并在客户端分批按时间显示。 Instant Messenger (IM) enables peer-to-peer communication on the Internet through peer-to-peer technology, and even the interaction between multiple users. It has become the communication tool used by most Internet users, and it is not only used for casual entertainment. And it has also been widely used in the work. The instant messaging tool provides each user with a network identity (ie, an account number) that distinguishes them from other users. In instant messaging tools, more and more services have been provided, including network information displays (eg news, product news, online advertising, etc.). In the existing instant messaging tools, the instant messaging server generally pushes all clients in accordance with the edited list, and displays them in batches on the client side by time.
由于上述网络信息的推送以服务器为主导, 而无客户端参与, 因此 无法根据用户的喜好, 投放用户感兴趣的网络信息, 导致对用户的过度 發扰。特别是一些广告信息,例如图文广告、 FLASH广告、文字广告等,
更被大多数用户认为是垃圾信息。 发明内容 针对上述网络信息推送操作繁瑣及无针对性推送的问题, 本发明实 施例提供一种网络信息推送方法, 包括以下步骤: Since the push of the above network information is server-oriented and no client participates, the network information of interest to the user cannot be delivered according to the user's preference, resulting in excessive interference to the user. Especially some advertising information, such as graphic ads, FLASH ads, text ads, etc. It is considered by most users to be spam. SUMMARY OF THE INVENTION The present invention provides a method for pushing a network information, which includes the following steps:
从客户端的用户信息中攫取关键字; Extract keywords from the user information of the client;
使用所述关键字匹配网络信息, 并将匹配的网络信息推送到所述客 户端显示。 本发明实施例还提供一种网络信息推送系统, 包括用于存储网络信 息的服务器和用于显示来自服务器的网络信息的客户端, 所述客户端还 用于从用户信息中攫取关键字; 该系统还包括关键字匹配单元, 用于根 据所述关键字匹配服务器中的网络信息。 The keyword is used to match the network information, and the matched network information is pushed to the client for display. The embodiment of the present invention further provides a network information pushing system, including a server for storing network information and a client for displaying network information from the server, where the client is further configured to retrieve a keyword from the user information; The system further includes a keyword matching unit for matching network information in the server according to the keyword.
此外, 本发明实施例提供了用于实现网络信息推送的客户端和服务 器。 In addition, embodiments of the present invention provide a client and a server for implementing network information push.
所述客户端包括用于显示用户信息的第一显示单元, 以及用于显示 网络信息的第二显示单元, 并且还包括: 关键字攫取单元, 用于从所述 第一显示单元所显示的用户信息中攫取关键字。 The client includes a first display unit for displaying user information, and a second display unit for displaying network information, and further comprising: a keyword capturing unit for displaying the user from the first display unit Capture keywords from the message.
所述服务器包括用于存储网络信息的存储单元, 并且还包括: 关键字匹配单元, 用于根据来自客户端的关键字, 匹配所述存储单 元中相应的网络信息。 从以上发明方案可以看出, 通过攫取用户信息中的关键字并根据关 键字匹配网络信息进行显示, 从而有针对性地在客户端显示网络信息, 避免了对用户的發扰, 提高了用户满意度。 使用本发明的方法及系统进 行广告信息的推送,极大提高了推送的针对性,避免了广告的盲目推送,
防止无用信息对用户的¾:>扰, 同时也节省了资源。 The server includes a storage unit for storing network information, and further includes: a keyword matching unit, configured to match corresponding network information in the storage unit according to a keyword from the client. It can be seen from the above invention that by capturing the keywords in the user information and displaying the network information according to the keywords, the network information is displayed on the client in a targeted manner, thereby avoiding the user's interference and improving the user satisfaction. degree. The use of the method and system of the invention for pushing advertisement information greatly improves the targeting of the push and avoids the blind push of the advertisement. Prevents unwanted information from being used by users, while also saving resources.
附图简要说明 图 1是本发明实施例的网络信息推送系统的结构示意图; BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic structural diagram of a network information push system according to an embodiment of the present invention;
图 2是图 1中客户端和服务器的第一实施例示意图; 2 is a schematic diagram of a first embodiment of the client and the server in FIG. 1;
图 3是图 1中客户端和服务器的第二实施例示意图; 3 is a schematic diagram of a second embodiment of the client and the server in FIG. 1;
图 4是本发明第一实施例的网络信息推送方法的流程图; 4 is a flowchart of a network information pushing method according to a first embodiment of the present invention;
图 5是本发明第二实施例的网络信息推送方法的流程图。 Figure 5 is a flow chart showing a method of pushing a network information according to a second embodiment of the present invention.
实施本发明的方式 如图 1所示, 在本发明实施例的网络信息推送系统中, 包括有分别 连接到网络 13的月良务器 12和多个客户端 11。 在本实施例中, 网络 13 可以是互联网、 局域网或其他任意类型的通信网络。 服务器 12 中存储 有网络信息, 例如新闻、 广告、 电子图书等。 客户端 11 包括有显示服 务器 12中网络信息的工具, 其通过网络 13访问服务器 12, 并以图形、 文字、 音频或视频方式显示服务器 12中的网络信息。 Mode for Carrying Out the Invention As shown in FIG. 1, a network information push system according to an embodiment of the present invention includes a server 12 and a plurality of clients 11 respectively connected to the network 13. In this embodiment, the network 13 may be the Internet, a local area network, or any other type of communication network. Server 12 stores network information such as news, advertisements, e-books, and the like. The client 11 includes a tool for displaying network information in the server 12, which accesses the server 12 via the network 13, and displays the network information in the server 12 in a graphical, textual, audio or video manner.
服务器 12和客户端 11可以分别为即时通信服务器和即时通信客户 端。 任意两个客户端 11 可建立会话, 从而实现文字交互。 当然, 客户 端 11 也可以是网页浏览器、 电子邮件客户端或其它类型的终端工具, 而相应的服务器 12则为网页服务器、 电子邮件服务器或其它类型的服 务器。 The server 12 and the client 11 can be an instant messaging server and an instant messaging client, respectively. Any two clients 11 can establish a session for text interaction. Of course, the client 11 can also be a web browser, an email client or other type of terminal tool, and the corresponding server 12 is a web server, an email server or other type of server.
如图 2所示, 是图 1中服务器 12和客户端 11的结构及连接的第一 实施例的示意图。 服务器 12包括有存储单元 121 以及关键字匹配单元 122; 客户端 11 包括有第一显示单元 111、 关键字攫取单元 112以及第 二显示单元 113。 第一显示单元 111用于显示用户信息, 包括用户在当
前客户端输入的信息和 /或其他客户端向当前客户端发送的信息。关键字 攫取单元 112从第一显示单元 111显示的用户信息中攫取关键字, 并将 所攫取的关键字发送到服务器 12的关键字匹配单元 122。关键字匹配单 元 122使用接收的关键字从存储单元 121中选择匹配的网络信息发送到 第二显示单元 113显示。 2 is a schematic diagram of a first embodiment of the structure and connection of the server 12 and the client 11 in FIG. The server 12 includes a storage unit 121 and a keyword matching unit 122. The client 11 includes a first display unit 111, a keyword capturing unit 112, and a second display unit 113. The first display unit 111 is configured to display user information, including the user being in the Information entered by the former client and/or information sent by other clients to the current client. The keyword capturing unit 112 retrieves the keyword from the user information displayed by the first display unit 111, and transmits the captured keyword to the keyword matching unit 122 of the server 12. The keyword matching unit 122 transmits the matched network information from the storage unit 121 using the received keyword to the second display unit 113 for display.
当服务器 12和客户端 11分别为即时通信服务器和即时通信客户端 时, 第一显示单元 111即为文字会话的显示窗口。 在该窗口中显示了客 户端 11 在即时通信会话中发送和接收的信息, 上述信息在一定程度上 反映了会话双方的兴趣点。 此外, 当服务器 12和客户端 11分别为电子 邮件系统的服务器和电子邮件系统客户端时, 第一显示单元 111显示的 则是当前客户端 11 发送或接收的电子邮件, 这些电子邮件内容也必然 反映了兴趣点。 当然, 服务器 12和客户端 11也可以是其他类型的服务 器或客户端, 相应地, 第一显示单元 111显示的内容也根据具体系统而 显示不同内容。 When the server 12 and the client 11 are an instant messaging server and an instant messaging client, respectively, the first display unit 111 is a display window of the text session. In this window, the information sent and received by the client 11 in the instant messaging session is displayed. The above information reflects the points of interest of both parties to a certain extent. In addition, when the server 12 and the client 11 are the server and the email system client of the email system, respectively, the first display unit 111 displays the emails sent or received by the current client 11, and the email contents are also inevitable. Reflects the point of interest. Of course, the server 12 and the client 11 may also be other types of servers or clients. Accordingly, the content displayed by the first display unit 111 also displays different contents according to a specific system.
关键字攫取单元 112从上述用户信息中使用应用程序接口 (API ) 攫取关键字,该关键字一般是上述信息中的名词。例如第一显示单元 111 中显示 "我要购买电脑" 时, 关键字攫取单元 112攫取 "电脑" 作为关 键字。 在本实施例中, 关键字攫取单元 112将所有攫取的关键字发送到 关键字匹配单元 122。 The keyword retrieval unit 112 retrieves a keyword from the above user information using an application program interface (API), which is generally a noun in the above information. For example, when "I want to purchase a computer" is displayed in the first display unit 111, the keyword capturing unit 112 retrieves "computer" as a keyword. In the present embodiment, the keyword capturing unit 112 transmits all the captured keywords to the keyword matching unit 122.
关键字匹配单元 122根据关键字攫取单元 112攫取的关键字, 从存 储单元 121中选择匹配的网络信息。在实际应用中,关键字匹配单元 122 可以是诸如搜索引擎等。 在选择时, 同一关键字可能存在多个匹配的网 络信息, 则关键字匹配单元 122向第二显示单元 113发送一个列表, 第 二显示单元 113在客户端 11展示该列表或以固定的间隔时间依次展示该 列表中的每一项。 当关键字匹配单元 122未找到匹配的网络信息, 则第 二显示单元 113继续显示上一关键字对应的网络信息。 The keyword matching unit 122 selects matching network information from the storage unit 121 based on the keywords retrieved by the keyword capturing unit 112. In an actual application, the keyword matching unit 122 may be, for example, a search engine or the like. When selecting, there may be multiple matching network information for the same keyword, the keyword matching unit 122 sends a list to the second display unit 113, and the second display unit 113 displays the list at the client 11 or at a fixed interval. Show each item in the list in turn. When the keyword matching unit 122 does not find the matching network information, the second display unit 113 continues to display the network information corresponding to the previous keyword.
第二显示单元 113用于显示来自服务器 12的网络信息。 该第二显
示单元 113可显示文字、 图片、 语音、 动画和 /或视频等类型的信息。 如图 3所示, 是图 1中服务器 12和客户端 11的结构及连接的第二 实施例的示意图。 与第一实施例类似服务器 12包括有存储单元 321; 客 户端 11包括有第一显示单元 311、 关键字攫取单元 312以及第二显示单 元 313。 与第一实施例不同的是, 客户端 11还包括关键字更新单元 315 及关键字列表 314。 关键字更新单元 315在客户端 11进入系统时, 从服 务器 12的存储单元 321获取发布的关键字, 并使用获取的关键字更新 客户端 11的关键字列表 314, 该关键字列表 314包括有关键字、 与关键 字对应的网络信息的链接等。 关键字列表 314的功能就是根据关键字匹 配相应的网络信息链接,即相当于第一实施例中的关键字匹配单元 122。 关键字攫取单元 312在攫取关键字后查询关键字列表 314获取与该关键 字对应的网络信息链接, 并根据该链接通过第二显示单元 313从服务器 12的存储单元 321获取对应网络信息显示。 The second display unit 113 is for displaying network information from the server 12. The second display The display unit 113 can display information of a type such as text, picture, voice, animation, and/or video. As shown in FIG. 3, it is a schematic diagram of a second embodiment of the structure and connection of the server 12 and the client 11 in FIG. Similar to the first embodiment, the server 12 includes a storage unit 321; the client 11 includes a first display unit 311, a keyword capture unit 312, and a second display unit 313. Different from the first embodiment, the client 11 further includes a keyword updating unit 315 and a keyword list 314. The keyword updating unit 315 acquires the posted keyword from the storage unit 321 of the server 12 when the client 11 enters the system, and updates the keyword list 314 of the client 11 using the acquired keyword, the keyword list 314 including the key Word, link to network information corresponding to the keyword, etc. The function of the keyword list 314 is to match the corresponding network information link according to the keyword, that is, equivalent to the keyword matching unit 122 in the first embodiment. The keyword capturing unit 312 obtains the network information link corresponding to the keyword after the keyword is searched, and acquires the corresponding network information display from the storage unit 321 of the server 12 through the second display unit 313 according to the link.
关键字更新单元 315除了在客户端 11启动时更新外, 还可在启动 后定时更新, 例如每一个小时更新一次。 In addition to the update when the client 11 is started, the keyword update unit 315 can also be updated periodically after startup, for example, every hour.
如图 4所示, 是本发明第一实施例的网络信息推送方法的流程图。 在本实施例中, 网络信息存储于服务器并通过与所述服务器连接的客户 端显示, 其具体包括: As shown in FIG. 4, it is a flowchart of the network information pushing method according to the first embodiment of the present invention. In this embodiment, the network information is stored in the server and displayed by the client connected to the server, and specifically includes:
步骤 S41: 从客户端 11输入或接收的信息中攫取关键字, 并将该关 键字传送到服务器 12。 当服务器 12和客户端 11分别为即时通信的服务 器和客户端, 则客户端 11 输入和接收的信息分别为即时通信会话中的 交互内容; 当服务器 12和客户端 11分别为邮件服务系统的服务器和客 户端, 则客户端 11输入和接收的信息分别为发送或接收邮件的内容。 Step S41: The keyword is retrieved from the information input or received by the client 11, and the keyword is transmitted to the server 12. When the server 12 and the client 11 are respectively the server and the client of the instant communication, the information input and received by the client 11 is the interactive content in the instant communication session respectively; when the server 12 and the client 11 are the servers of the mail service system respectively And the client, the information input and received by the client 11 is the content of sending or receiving the mail, respectively.
步骤 S42:服务器 12根据上述接收的关键字在存储单元 121中匹配 网络信息, 并将匹配的网络信息推送到客户端 11 显示。 其中存储单元 121中的网络信息包括新闻、 产品和 /或广告信息等。 若同一关键字存在 多个匹配的网络信息, 则匹配结果为一个列表, 客户端 11 展示该列表
或以固定的间隔时间依次展示该列表中的每一项; 当未找到匹配的网络 信息, 则客户端 11继续显示上一关键字对应的网络信息。 Step S42: The server 12 matches the network information in the storage unit 121 according to the received keyword, and pushes the matched network information to the client 11 for display. The network information in the storage unit 121 includes news, products, and/or advertisement information and the like. If there are multiple matching network information in the same keyword, the matching result is a list, and the client 11 displays the list. Or each item in the list is displayed in a fixed interval; when no matching network information is found, the client 11 continues to display the network information corresponding to the previous keyword.
通过步骤 S41和步骤 S42, 完成了一次网络信息地推送, 客户端 11 和服务器 12连续执行上述步骤, 从而实现了本发明的网络信息推送方 法。 Through step S41 and step S42, a network information push is completed, and the client 11 and the server 12 continuously perform the above steps, thereby implementing the network information push method of the present invention.
如图 5所示, 为本发明方法的第二实施例的流程图。 该实施例实现 了在即时通信工具中针对特定用户推送广告, 其具体包括以下步骤: 步骤 S51 : 即时通信客户端 11登录成功后, 从服务器 12获取最新 发布的关键字, 并更新本地的关键字列表 314, 其中该关键字列表 314 包含关键字及对应的广告信息链接。 As shown in Figure 5, a flow chart of a second embodiment of the method of the present invention. This embodiment implements the push advertisement for a specific user in the instant communication tool, which specifically includes the following steps: Step S51: After the instant messaging client 11 successfully logs in, the latest published keyword is obtained from the server 12, and the local keyword is updated. List 314, wherein the keyword list 314 includes a keyword and a corresponding advertisement information link.
步骤 S52:在客户端 11通过即时通信会话过程中,通过 API从会话 内容中攫取关键字。 Step S52: The keyword is retrieved from the session content through the API during the instant communication session of the client 11.
步骤 S53: 判断关键字列表 314中是否存在与攫取的关键字对应的 项。 Step S53: It is judged whether there is an item corresponding to the captured keyword in the keyword list 314.
步骤 S54: 若关键字列表 314中不存在与攫取的关键字对应的项, 则在客户端 11 显示默认的广告或继续显示当前广告(前一关键字对应 的广告), 并返回步骤 S52。 Step S54: If there is no item corresponding to the captured keyword in the keyword list 314, the default advertisement is displayed on the client 11 or the current advertisement (the advertisement corresponding to the previous keyword) is continuously displayed, and the process returns to step S52.
步骤 S55: 若关键字列表 314中存在与攫取的关键字对应的项, 则 判断该对应的项与当前显示广告是否相同。 Step S55: If there is an item corresponding to the captured keyword in the keyword list 314, it is determined whether the corresponding item is the same as the currently displayed advertisement.
步骤 S56: 若当前关键字对应项与当前显示的广告不相同, 则从关 键字列表 314获取对应的广告链接, 并显示链接中与当前关键字对应的 新广告, 然后返回步骤 S52。 若当前关键字对应项与当前显示的广告相 同, 则执行步骤 S54。 Step S56: If the current keyword corresponding item is different from the currently displayed advertisement, the corresponding advertisement link is obtained from the keyword list 314, and the new advertisement corresponding to the current keyword in the link is displayed, and then the process returns to step S52. If the current keyword corresponding item is the same as the currently displayed advertisement, step S54 is performed.
在上述的步骤 S54及 S56中,在显示广告时以预定的时间间隔进行, 例如每一广告显示 30秒。 当然, 也可采用以预定时间间隔来获取关键 字,例如间隔 30秒执行步骤 S52。若在上述的步骤 S54及 S56中包括多 个与关键字对应的项, 则以指定的时间间隔顺序显示这几个对应的广
此外, 在步骤 S54及 S56中显示广告时, 若鼠标停留在广告信息显 示处, 则继续显示当前广告。 In the above-described steps S54 and S56, the advertisement is displayed at predetermined time intervals, for example, each advertisement is displayed for 30 seconds. Of course, it is also possible to obtain the keywords at predetermined time intervals, for example, step S52 is performed at intervals of 30 seconds. If a plurality of items corresponding to the keywords are included in the above-described steps S54 and S56, the corresponding plurality of pixels are sequentially displayed at specified time intervals. Further, when the advertisement is displayed in steps S54 and S56, if the mouse stays at the advertisement information display, the current advertisement is continuously displayed.
以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围 并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范 围内, 可轻易想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应该以权利要求的保护范围为准。
The above is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or within the technical scope disclosed by the present invention. Alternatives are intended to be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.