CN100414869C - A method and system for realizing information subscription on the Internet - Google Patents
A method and system for realizing information subscription on the Internet Download PDFInfo
- Publication number
- CN100414869C CN100414869C CNB2004101035790A CN200410103579A CN100414869C CN 100414869 C CN100414869 C CN 100414869C CN B2004101035790 A CNB2004101035790 A CN B2004101035790A CN 200410103579 A CN200410103579 A CN 200410103579A CN 100414869 C CN100414869 C CN 100414869C
- Authority
- CN
- China
- Prior art keywords
- information
- server
- user
- push
- subscription
- 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 - Lifetime
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
技术领域 technical field
本发明涉及互联网的信息传送技术,特别涉及一种互联网上实现资讯订阅的方法及系统。The invention relates to the information transmission technology of the Internet, in particular to a method and system for realizing information subscription on the Internet.
背景技术 Background technique
资讯订阅业务是一种互联网(Internet)上向固定的用户群体传送信息的一种业务,信息可以是新闻或者相关邮件列表中的邮件,新闻组的讨论邮件等。The information subscription service is a service that transmits information to fixed user groups on the Internet. The information can be news or emails in related mailing lists, discussion emails in newsgroups, and the like.
目前资讯订阅的实现是邮件系统按订阅用户,将用户订阅的资讯通过邮件发送给订阅用户,只要有新的邮件或者信息发表,系统就会把相关的邮件和信息投递到订阅用户的邮箱。At present, the realization of information subscription is that the mail system sends the information subscribed by the user to the subscriber by email. As long as there is a new email or information published, the system will deliver the relevant email and information to the mailbox of the subscriber.
图1为现有技术的资讯订阅系统的结构简图。如图1所示,现有的资讯订阅系统是基于邮件的订阅系统,其由以下三部分组成:FIG. 1 is a schematic structural diagram of an information subscription system in the prior art. As shown in Figure 1, the existing information subscription system is an email-based subscription system, which consists of the following three parts:
邮件客户端,是接收邮件的软件。比如Outlook、Foxmail等,也可以是基于Web的邮箱。用户要打开软件或者登录到Web邮箱收取订阅的新闻或者其他资讯邮件。An email client is software for receiving emails. For example, Outlook, Foxmail, etc., can also be a Web-based mailbox. Users need to open the software or log in to the Web mailbox to receive subscribed news or other information emails.
订阅邮件的Web接口模块,提供给用户到互联网订阅资讯的接口,让用户选择订阅的分类。比如用户选择电影相关的新闻,或者选择军事相关的新闻等,也提供用户修改订阅的接口,以及注销用户和退定的接口。The Web interface module for subscribing to emails provides an interface for users to subscribe to information on the Internet, allowing users to choose the category to subscribe to. For example, if a user selects movie-related news or military-related news, an interface is also provided for the user to modify the subscription, as well as an interface for canceling the user and unsubscribing.
邮件投递服务模块,邮件投递模块负责把管理人员按照用户的订阅而丢到邮件列表里的资讯信件发送给相应的订阅用户。The mail delivery service module, the mail delivery module is responsible for sending the information letters thrown into the mailing list by the management personnel according to the user's subscription to the corresponding subscribers.
由于现有的资讯订阅系统是基于邮件的订阅系统,因此资讯订阅业务收到邮件系统的限制,用户使用过程中,可能出现以下问题:Since the existing information subscription system is based on email, the information subscription service is limited by the email system. During the user's use, the following problems may occur:
1、邮件订阅系统不能及时通知用户接收到新的订阅资讯。1. The email subscription system cannot notify users of new subscription information in a timely manner.
2、用户不但每次接收订阅的资讯时都要打开邮件系统,而且要自己管理订阅的资讯邮件,管理起来繁琐而且浪费时间,如果用户不及时删除订阅邮件,可能造成邮件堆积,填满用户的邮箱,造成收不到重要的邮件,对用户造成不必要的损失。2. Users not only need to open the email system every time they receive subscribed information, but also have to manage the subscribed information emails themselves, which is cumbersome and time-consuming to manage. If the user does not delete the subscribed emails in time, it may cause emails to pile up and fill up the user's account. Mailboxes, resulting in failure to receive important emails, causing unnecessary losses to users.
3、由于传统的订阅系统信息源过滤单调,更新速度慢,不能满足个性化的用户需求。3. Due to the monotonous filtering of information sources in the traditional subscription system and the slow update speed, it cannot meet the personalized needs of users.
发明内容 Contents of the invention
有鉴于此,本发明的主要目的在于提供一种互联网上实现资讯订阅的方法,该方法能够简化用户接收订阅资讯的操作,满足用户个性化需求。In view of this, the main purpose of the present invention is to provide a method for implementing information subscription on the Internet, which can simplify the user's operation of receiving and subscribing information, and meet the user's personalized needs.
本发明的另一个目的在于提供一种互联网上实现资讯订阅的系统,该系统能够简化用户接收订阅信息的操作,满足用户个性化需求。Another object of the present invention is to provide a system for realizing information subscription on the Internet, which can simplify the user's operation of receiving subscription information and meet the personalized needs of users.
为达到上述目的的一个方面,本发明提供了一种互联网上实现资讯订阅的方法,该方法包括:In order to achieve one aspect of the above object, the present invention provides a method for realizing information subscription on the Internet, the method comprising:
A、将用户指定的搜索关键信息发送给资讯订阅系统中的资讯搜索服务器订阅资讯信息的过程;A. The process of sending the search key information specified by the user to the news search server in the news subscription system to subscribe to the news information;
B、资讯搜索服务器根据用户指定的搜索关键信息到互联网搜索资讯信息的过程;B. The process that the information search server searches for information on the Internet according to the search key information specified by the user;
C、将资讯搜索服务器搜索到的资讯信息推送给用户的过程。C. The process of pushing the news information searched by the news search server to the user.
该方法在资讯订阅系统中设置订阅前台服务器和推送服务器,A过程所述订阅资讯信息的过程可以包括:The method sets the subscription front-end server and the push server in the information subscription system, and the process of subscribing information information described in the A process may include:
A1、订阅前台服务器接收用户输入的其指定的搜索关键信息并将该搜索关键信息与该订阅用户信息对应存储;并将搜索关键信息和对应的订阅用户信息转发给推送服务器;A1. The subscribing front-end server receives the specified search key information input by the user and stores the search key information corresponding to the subscriber information; and forwards the search key information and the corresponding subscriber information to the push server;
A2、推送服务器接收订阅前台服务器发送的搜索关键信息和对应的订阅用户信息并存储,并将搜索关键信息发送给资讯搜索服务器。A2. The push server receives and stores the key search information sent by the subscription front-end server and the corresponding subscriber information, and sends the key search information to the information search server.
所述的订阅前台服务器中可以设置有订阅用户数据库;The subscription user database may be set in the subscription front server;
所述步骤A1中,订阅前台服务器将收到的将搜索关键信息与订阅用户信息对应存储到订阅用户数据库中。In the step A1, the subscribing foreground server correspondingly stores the received search key information and subscribing user information in the subscribing user database.
推送服务器中可以设置有共享内存;Shared memory can be set in the push server;
所述步骤A2中,推送服务器将搜索关键信息和对应的订阅用户信息存储到共享内存中。In the step A2, the push server stores the search key information and the corresponding subscriber information in the shared memory.
所述的步骤A2中,推送服务器可以进一步定时查询订阅前台服务器存储的搜索关键信息和订阅用户信息,更新共享内存中的搜索关键信息和订阅用户信息。In the step A2, the push server may further regularly query the search key information and subscriber information stored in the subscription front-end server, and update the search key information and subscriber information in the shared memory.
过程B所述资讯搜索服务器搜索资讯信息的过程可以为:The process of searching for news information by the information search server described in process B may be as follows:
资讯搜索服务器接收推送服务器发送的搜索关键信息,根据搜索关键信息在互联网上进行搜索,并将搜索到的资讯信息存储下来。The information search server receives the search key information sent by the push server, searches the Internet according to the search key information, and stores the searched information.
资讯搜索服务器中可以设置有资讯信息数据库;An information database may be set in the information search server;
所述B过程为:资讯搜索服务器根据搜索关键信息到互联网搜索资讯信息,并将搜索到的资讯信息存储到资讯信息数据库中。The B process is: the information search server searches the Internet for information according to the search key information, and stores the searched information in the information database.
所述B过程中,资讯搜索服务器若在资讯信息数据库中查询时,没有获得包含搜索关键信息的用户订阅资讯信息,则获得与搜索关键信息相关的用户订阅资讯信息返回给推送服务器;并记录该搜索关键信息。In the B process, if the information search server does not obtain the user subscription information information containing the search key information when inquiring in the information information database, it will obtain the user subscription information information related to the search key information and return it to the push server; and record the information Search for key information.
过程C所述将资讯搜索服务器搜索到的资讯信息推送给用户的过程可以包括:The process of pushing the news information searched by the news search server to the user described in process C may include:
C1、推送服务器在预设的资讯推送时间,将用户指定的搜索关键信息发送给资讯搜索服务器;C1. The push server sends the search key information specified by the user to the information search server at the preset information push time;
C2、资讯搜索服务器根据搜索关键信息,到存储的资讯信息中查询,获得订阅资讯信息,并将获得的订阅资讯信息返回给推送服务器;C2. The information search server queries the stored information according to the search key information, obtains the subscribed information, and returns the obtained subscribed information to the push server;
C3、推送服务器根据订阅用户将返回的订阅资讯信息推送给用户。C3. The push server pushes the returned subscription information to the user according to the subscriber.
步骤C3所述将订阅资讯信息推送给用户的方法可以包括:The method for pushing subscription news information to the user described in step C3 may include:
C31、推送服务器将返回的订阅资讯信息按照订阅用户分别生成超文本链接,将超文本链接封装成即时通讯消息发送给即时通讯后台服务器;C31. The push server generates hypertext links for the returned subscription information according to the subscribers, and encapsulates the hypertext links into instant messaging messages and sends them to the instant messaging background server;
C32、即时通讯后台服务器将该消息按照订阅用户转发给即时通讯客户端,即时通讯客户端根据该消息将用户订阅的资讯输出给用户。C32. The instant messaging background server forwards the message to the instant messaging client according to the subscribed user, and the instant messaging client outputs the information subscribed by the user to the user according to the message.
所述步骤A进一步包括:订阅前台服务器接收用户设置的推送类型并存储,并转发送给推送服务器;所述步骤B中,推送服务器进一步存储用户设置的推送类型;The step A further includes: subscribing to the foreground server to receive and store the push type set by the user, and forwarding it to the push server; in the step B, the push server further stores the push type set by the user;
所述用户设置的推送类型为:上线推送或定时推送。The push type set by the user is: online push or scheduled push.
如果有用户设置了上线推送,则:If a user has set up online push, then:
所述步骤C31前进一步包括:即时通讯后台服务器实时把上线用户通知给推送服务器;推送服务器查询上述上线用户是否为订阅用户且设置了上线推送,对于设置了上线推送的上线订阅用户执行步骤C31。The steps before step C31 further include: the instant messaging background server notifies the push server of the online user in real time; the push server inquires whether the above-mentioned online user is a subscriber and has set online push, and performs step C31 for the online subscriber who has set online push.
如果有用户设置了定时推送,则:If a user has set a scheduled push, then:
步骤C1所述推送服务器将搜索关键信息发送给资讯搜索服务器的方法为:推送服务器根据需要定时推送的订阅用户,定时将搜索关键信息发送给资讯搜索服务器;The method for the push server in step C1 to send the search key information to the information search server is as follows: the push server regularly sends the search key information to the information search server for the subscribers who regularly push according to the needs;
所述步骤C3中进一步包括:推送服务器查找到需要定时推送的订阅用户;步骤C3中推送服务器按照这些订阅用户的用户信息将获得各个需要定时推送用户的订阅资讯信息推送给用户。The step C3 further includes: the push server finds the subscribers who need to be pushed regularly; in step C3, the push server pushes the subscription information obtained by each user who needs to be pushed regularly to the user according to the user information of these subscribers.
为达到上述目的的另一个方面,本发明提供了一种互联网上实现资讯订阅的系统,该系统包括:即时通讯客户端、订阅前台服务器、即时通讯后台服务器、资讯搜索服务器,和推送服务器;In order to achieve another aspect of the above object, the present invention provides a system for realizing information subscription on the Internet, the system includes: an instant messaging client, a subscribing foreground server, an instant messaging background server, an information search server, and a push server;
所述即时通讯客户端,用于通过向订阅前台服务器发送用户指定的搜索关键信息来订阅资讯;The instant messaging client is used to subscribe to information by sending the user-specified search key information to the subscription front-end server;
订阅前台服务器,用于将用户指定的搜索关键信息发送给资讯搜索服务器和推送服务器;Subscribe to the front-end server, which is used to send the key search information specified by the user to the news search server and the push server;
资讯搜索服务器,用于根据用户指定的搜索关键信息到互联网上搜索资讯信息;The information search server is used to search for information on the Internet according to the search key information specified by the user;
推送服务器,用于根据用户指定的搜索关键信息到搜索服务器获得用户订阅的资讯信息发送给即时通讯后台服务器;The push server is used to obtain the information subscribed by the user from the search server according to the search key information specified by the user and send it to the instant messaging background server;
即时通讯后台服务器,用于将用户订阅的资讯信息通过即时通讯客户端输出给用户。The instant messaging background server is configured to output the information subscribed by the user to the user through the instant messaging client.
所述的订阅前台服务器可以包含用户数据存储单元;The subscription front server may include a user data storage unit;
所述订阅用户数据存储单元存储订阅前台服务器收到的用户指定的搜索关键信息及对应的订阅用户信息。The subscriber data storage unit stores the search key information specified by the user and the corresponding subscriber information received by the subscription foreground server.
所述的推送服务器包含共享内存;The push server includes shared memory;
所述的共享内存存储推送服务器收到的用户指定的搜索关键信息及对应的订阅用户信息。The shared memory stores the key search information specified by the user and the corresponding subscriber information received by the push server.
所述的资讯搜索服务器可以包含资讯信息数据存储单元;The information search server may include an information information data storage unit;
所述资讯信息数据存储单元存储资讯搜索服务器搜索到的资讯信息;The information information data storage unit stores the information information searched by the information search server;
资讯搜索服务器根据接收的搜索关键信息到资讯信息数据存储单元获取用户订阅的资讯信息返回给推送服务器。The information search server obtains the information subscribed by the user from the information information data storage unit according to the received search key information and returns it to the push server.
由上述的技术方案可见,本发明的这种互联网上实现资讯订阅的方法中突出的特点是采用关键信息搜索技术,将按照关键信息在互联网上搜索的资讯推送给用户,针对性强,能够满足用户的个性化需求。It can be seen from the above-mentioned technical solution that the prominent feature of the method for realizing information subscription on the Internet of the present invention is to use key information search technology to push information searched on the Internet according to key information to users, which is highly targeted and can satisfy user's individual needs.
本发明的这种互联网上实现资讯订阅的系统,将即时通讯的客户端和后台服务器设置在资讯订阅系统中,将资讯订阅与即时通讯工具相结合,可以在交流的同时,直接获取新闻资讯,接收方式简洁、方便。由于本发明不采用邮件系统发送订阅的资讯,也就避免因订阅的资讯占用用户邮箱而造成的损失。The system for realizing information subscription on the Internet of the present invention sets the client and background server of instant messaging in the information subscription system, combines information subscription with instant messaging tools, and can directly obtain news information while communicating, The receiving method is simple and convenient. Because the present invention does not use the mail system to send the subscribed information, it also avoids the loss caused by the subscribed information occupying the user's mailbox.
附图说明 Description of drawings
图1为现有技术的资讯订阅系统的结构简图;FIG. 1 is a schematic structural diagram of an information subscription system in the prior art;
图2为本发明一个较佳实施例的资讯订阅系统的结构示意图;FIG. 2 is a schematic structural diagram of an information subscription system in a preferred embodiment of the present invention;
图3为图2所示资讯订阅系统中用户订阅资讯的流程图;FIG. 3 is a flowchart of a user subscribing information in the information subscription system shown in FIG. 2;
图4为图2所示资讯订阅系统中搜索资讯的流程图;FIG. 4 is a flow chart of searching for information in the information subscription system shown in FIG. 2;
图5为图2所示资讯订阅系统中推送服务的定时推送处理流程图;Fig. 5 is a flowchart of timing push processing of the push service in the information subscription system shown in Fig. 2;
图6为图2所示资讯订阅系统中推送服务的上线推送处理流程图。FIG. 6 is a flow chart of online push processing of the push service in the information subscription system shown in FIG. 2 .
具体实施方式 Detailed ways
为使本发明的目的、技术方案及优点更加清楚明白,以下参照附图并举实施例,对本发明进一步详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples.
本发明的这种互联网上实现资讯订阅的方法,包括:A、将用户指定的搜索关键信息发送给资讯搜索服务器订阅资讯信息的过程;B、资讯搜索服务器根据用户指定的搜索关键信息到互联网搜索资讯信息的过程;C、将资讯搜索服务器搜索到的资讯信息推送给用户的过程。The method for realizing information subscription on the Internet of the present invention includes: A. the process of sending the key search information specified by the user to the information search server to subscribe to the information; B. the information search server searches the Internet according to the key information specified by the user. The process of information information; C. The process of pushing the information information searched by the information search server to the user.
本发明的实现方法有多种形式,本发明互联网上实现资讯订阅的系统是其中的一种,系统中设置了订阅前台服务器和推送服务器,通过订阅前台服务器、推送服务器和资讯搜索服务器的信息交互来实现资讯信息订阅和资讯信息的推送,将推送给用户的资讯信息通过目前常用的即时通讯系统输出给用户,当然也可以通过手机短信等方式将资讯信息输出给用户。The realization method of the present invention has multiple forms, and the system for realizing information subscription on the Internet of the present invention is one of them. In the system, a subscription front-end server and a push server are arranged, and information interaction between the subscription front-end server, the push server and the information search server To realize the information subscription and information push, the information pushed to the user is output to the user through the current instant messaging system commonly used, of course, the information information can also be output to the user through mobile phone text messages, etc.
本发明的这种互联网上实现资讯订阅的系统,把即时通讯的客户端和后台服务器设置在资讯订阅系统中,将资讯订阅与即时通讯工具相结合,可以在交流的同时,及时获取新闻资讯。The system for realizing information subscription on the Internet of the present invention sets an instant messaging client and background server in the information subscription system, combines information subscription with instant messaging tools, and can obtain news information in a timely manner while communicating.
参见图2,图2为本发明一个较佳实施例的资讯订阅系统的结构示意图。该系统包含:即时通讯客户端200、即时通讯后台服务器210、订阅前台服务器220、资讯搜索服务器230和推送服务器240。Referring to FIG. 2, FIG. 2 is a schematic structural diagram of an information subscription system according to a preferred embodiment of the present invention. The system includes: an
其中,即时通讯客户端200接收用户输入的其指定的搜索关键字,发送给订阅前台服务器220;或从即时通讯后台服务器210接收包含用户订阅的资讯信息的即时通讯UDP消息,根据该消息将用户订阅的资讯显示给用户。本实施例中,采用了搜索关键字作为搜索关键信息,实际应用中还可以是搜索关键图片或音频信息等搜索关键信息。Wherein, the
订阅前台服务器220,接收即时通讯客户端或者Web上用户输入的订阅其指定的搜索关键信息,并将搜索关键信息和订阅用户信息对应存储;并将存储的信息作为用户订阅信息转发给推送服务器240。订阅前台服务器220包含了订阅用户数据库221,订阅用户数据库221存储订阅前台服务器220收到的搜索关键信息和订阅用户信息。Subscribe to the
即时通讯后台服务器210,接收推送服务器240发送的包含订阅资讯信息的即时通讯UDP消息,并将该消息转发给即时通讯客户端200。The instant
推送服务器240接收订阅前台服务器220转发的用户订阅信息并存储,并将订阅信息中的搜索关键字发送给资讯搜索服务器230;或接收资讯搜索服务器230返回的资讯信息,查询存储的用户订阅信息,按照用户订阅信息,将获得的资讯信息生成超文本链接,并封装成即时通讯消息发送给即时通讯后台服务器210。The
推送服务器240包含共享内存241;共享内存241存储推送服务器240收到的用户订阅信息。The
推送服务器240进一步定时查询订阅前台服务器220中的订阅用户数据库221,获得新的搜索关键信息和订阅用户信息,用该信息更新共享内存241中的搜索关键信息和订阅用户信息。The
由于在推送服务器240的共享内存241中存储了用户订阅信息,这样在向用户推送资讯信息时,不需要每次都查询订阅用户数据库221,而直接从共享内存241中查询用户订阅信息,能够加快推送的速度,提高系统性能。Since the user subscription information is stored in the shared
资讯搜索服务器230接收推送服务器240发送的搜索关键字,按照搜索关键字在互联网上搜索资讯信息并存储;或接收推送服务器240发送的搜索关键字,从存储的资讯信息查询订阅资讯信息,将查询到的订阅资讯信息返回给推送服务器240。The
资讯搜索服务器230包含资讯信息数据库231;资讯信息数据库231存储资讯搜索服务器230搜索到的资讯信息。The
资讯信息数据库231以搜索关键字为索引。资讯搜索服务器230收到推送服务器240发送的搜索关键字后,根据搜索关键字到资讯信息数据库231中查询,获得用户的订阅资讯信息。若在资讯信息数据库231中查询时,没有获得包含搜索关键字的用户订阅资讯信息,则资讯搜索服务器230获得与搜索关键字相关的用户订阅资讯信息;并记录该搜索关键字,更新搜索关键字索引,这样能够方便搜索服务器搜索到更广泛的资讯信息。The
应用图2所示的资讯订阅系统,就可以实现资讯订阅,其实现方法包括:A、将用户指定的搜索关键信息发送给资讯搜索服务器订阅资讯信息的过程;B、资讯搜索服务器根据用户指定的搜索关键信息搜索资讯信息的过程;C、将资讯搜索服务器搜索到的资讯信息推送给用户的过程。By applying the information subscription system shown in Figure 2, information subscription can be realized. The implementation method includes: A. the process of sending key search information specified by the user to the information search server to subscribe to the information information; B. the information search server according to the information specified by the user. The process of searching for key information and searching for news information; C. The process of pushing the news information searched by the news search server to the user.
以下对上述过程分别进行详细说明。The above processes will be described in detail below.
首先,用户订阅资讯过程包括两步骤:A1、订阅前台服务器220接收用户输入的其指定的搜索关键信息的订阅信息并存储;并将这些订阅信息转发给推送服务器240;First of all, the user subscription information process includes two steps: A1, the
A2、推送服务器240接收订阅前台服务器220转发的用户订阅信息并存储,且推送服务器240将搜索关键信息发送给资讯搜索服务器230。A2. The
具体订阅流程参见图3,图3为图2所示资讯订阅系统中,用户订阅资讯的流程图。该流程包括以下步骤:Refer to FIG. 3 for a specific subscription process. FIG. 3 is a flow chart of a user subscribing to information in the information subscription system shown in FIG. 2 . The process includes the following steps:
步骤301,即时通讯客户端200接收用户输入的包含搜索关键字或关键图片、推送类型、订阅时间等的订阅信息。这里,推送类型是由用户设置的,可以是定时推送或上线推送。In step 301, the
步骤302,即时通讯客户端200将用户的订阅信息发送给订阅前台服务器220。Step 302 , the
步骤303,订阅前台服务器220将接收的订阅信息存储到订阅用户数据库221,并发送给推送服务器240。
步骤304,推送服务器240将订阅信息存储到共享内存241中。
推送服务器240存储用户订阅信息的方法为:按照用户即时通讯号码存储到其共享内存,且对于每个订阅用户的即时通讯号码、推送类型、搜索关键字等订阅信息在一个数据结构中存储。The method for the
其中步骤301和302,用户还可以通过资讯订阅系统的门户网站,也就是web用户将用订阅信息发送给订阅前台服务器220。In steps 301 and 302, the user can also send the subscription information to the
所述资讯搜索服务器根据所述关键信息搜索资讯信息的过程为:资讯搜索服务器接收推送服务器发送的搜索关键信息,根据关键信息在互联网上进行搜索,并将搜索到的资讯信息存储下来。The process of the information search server searching for information according to the key information is as follows: the information search server receives the search key information sent by the push server, searches the Internet according to the key information, and stores the searched information.
具体搜索流程参见图4,图4为图2所示资讯订阅系统中,搜索资讯的流程图。该流程包括以下步骤:Refer to FIG. 4 for the specific search process. FIG. 4 is a flow chart of searching for information in the information subscription system shown in FIG. 2 . The process includes the following steps:
步骤401,推送服务器240,定期或不定期向资讯搜索服务器230发送搜索关键字。Step 401 , the
步骤402,资讯搜索服务器230根据搜索关键字到互联网上搜索,将搜索到的资讯的网页信息存储到资讯信息数据库231中。资讯信息数据库231可以以搜索关键字或关键图片的搜索关键信息为索引。
资讯搜索服务器230,可以采用常用的关键字搜索服务器。The
关键字搜索服务器收到搜索关键字后,其搜索引擎定期派出蜘蛛程序自动访问互联网及网站,并沿着网页中的链接爬到其他网页,把爬过来的所有网页收集回来。由搜索引擎的分析索引系统程序对搜集回来的网页进行分析,提取相关网页信息,包括:网页所在URL、编码类型、网页内容报的所有的关键词、关键词位置、生成时间、大小、与其他网页的链接关系等,根据搜索引擎的相关法算法进行大量复杂的计算,得到每一个网页针对网页内容中及超链接中关键词的相关度,然后用这些相关信息建立网页索引数据库也就是本发明所述的资讯信息数据库231。After the keyword search server receives the search keywords, its search engine regularly sends spider programs to automatically access the Internet and websites, and crawls to other webpages along the links in the webpages, and collects all the webpages crawled back. The analysis and indexing system program of the search engine analyzes the collected webpages and extracts relevant webpage information, including: URL of the webpage, encoding type, all keywords reported in the webpage content, keyword position, generation time, size, and others The link relation of webpage etc., carry out a large amount of complicated calculations according to the correlation method algorithm of search engine, obtain the relevancy degree of each webpage to the keyword in the webpage content and hyperlink, then use these relevant information to build webpage index database and it is exactly the present invention The
搜索引擎的搜索系统程序接收推送服务器240发送的用户的搜索关键字,从网页索引数据库中找到符合该关键词的所有相关网页信息。因为所有的相关网页针对该关键词的相关度早已算好,所以推送服务器240只需要按照现成的相关度数值排序,相关度越高的排在前面,就可以根据用户选择的接收的条数,生成网页。The search system program of the search engine receives the user's search keyword sent by the
所述将资讯搜索服务器搜索到的资讯信息推送给用户的过程包括以下步骤:The process of pushing the news information searched by the news search server to the user includes the following steps:
C1、推送服务器将用户的订阅信息中的搜索关键信息发送给资讯搜索服务器;C1. The push server sends the search key information in the user's subscription information to the information search server;
C2、资讯搜索服务器根据搜索关键信息,到存储的资讯信息中查询,获得订阅资讯信息,并将获得的订阅资讯信息返回给推送服务器;C2. The information search server queries the stored information according to the search key information, obtains the subscribed information, and returns the obtained subscribed information to the push server;
C3、推送服务器查询记录的用户订阅信息,按照订阅用户信息,从搜索服务器返回的订阅资讯信息中,获得各个订阅用户的订阅资讯信息;C3. The push server queries the recorded user subscription information, and obtains the subscription information information of each subscriber from the subscription information information returned by the search server according to the subscriber information;
C4、推送服务器将各个用户的订阅资讯信息分别生成超文本链接;C4. The push server generates hypertext links for each user's subscription information;
C5、将超文本链接推送给用户。C5. Pushing the hypertext link to the user.
本实施例中,推送服务器240将超文本链接封装成即时通讯消息发送给即时通讯后台服务器210;即时通讯后台服务器210将该消息转发给即时通讯客户端200,即时通讯客户端200根据该消息将用户订阅的资讯输出给用户。In this embodiment, the
推送服务器240支持两种推送类型:定时推送和上线退送。The
定时推送是推送服务器240在不考虑用户是否在线的情况下,主动进行推送的方式。Timing push is a way for the
参见图5,图5为图2所示资讯订阅系统中推送服务的定时推送处理流程图。Referring to FIG. 5 , FIG. 5 is a flow chart of timing push processing of the push service in the information subscription system shown in FIG. 2 .
定时推送流程包括以下步骤:The scheduled push process includes the following steps:
步骤501,推送服务器240定时把所有的该时刻需要推送的用户信息从共享内存读出,逐个把关键字传到资讯搜索服务器230中的资讯信息数据库231查询订阅资讯信息。Step 501 , the
步骤502,推送服务器240根据共享内存中各个用户的订阅信息,将查询到的资讯信息按照用户的即时通讯号码,逐个把资讯搜索服务器230返回的该用户的资讯信息,也就是网页信息生成超文本链接,并封装成即时通讯UDP消息发送给即时通讯后台服务器210。
步骤503,即时通讯后台服务器210,判断各个用户是否在线,对于在线用户将上述包含网页信息的即时通讯消息发送到即时通讯客户端200;对于没在线的用户则将该消息存储下来,待用户上线后再转发。
这样,用户只需点击消息标识,即可通过客户端的浏览工具浏览订阅的资讯。In this way, the user only needs to click on the message logo to browse the subscribed information through the browsing tool of the client.
上线推送是推送服务器收到即时通讯服务器发送的新上线用户信息后,对上线用户推送其订阅资讯的方式。Online push is a way for the push server to push subscription information to the online users after receiving the new online user information sent by the instant messaging server.
参见图6,图6为图2所示资讯订阅系统的推送服务中上线推送处理流程图。该流程包括以下步骤:Referring to FIG. 6 , FIG. 6 is a flow chart of online push processing in the push service of the information subscription system shown in FIG. 2 . The process includes the following steps:
步骤601,即时通讯后台服务器210在收到即时通讯客户端200发送的新用户的上线消息后,通知推送服务器240进行上线推送。In step 601 , the instant
步骤602,推送服务器240查询即时通讯后台服务器210,获得当前最新上线的用户信息。In
用户注册即时通讯的用户时,通过即时通讯后台服务器210将用户信息插入到用户数据库211中。When a user registers as an instant messaging user, the user information is inserted into the user database 211 through the instant
数据库可以是SQL Server,Oracle,Mysql等常用的数据库软件。当用户登录时,即时通讯后台服务器210收到用户上线的通知,把上线用户标识放入到内存开辟的队列中,提供TCP/IP的访问接口,其他服务器可以通过查询这个上线队列服务,收集到当前登录系统的用户信息,即哪些用户是在线用户。The database can be SQL Server, Oracle, Mysql and other commonly used database software. When a user logs in, the instant
推送服务器240从即时通讯后台服务器210中查询到上线队列的信息,然后将信息放入到上线推送服务器240的线程池的共享队列中。The
步骤603,推送服务器240选择1个在线用户,根据共享内存241中的订阅信息,判断该用户是否要求上线推送,如果是则执行步骤604,否则重复本步骤,选择下一个在线用户。
步骤604,推送服务器240把该用户的关键字传到资讯搜索服务器230中的资讯信息数据库231查询订阅资讯信息。
步骤605,根据共享内存中该用户的订阅信息,将查询到的资讯信息按照用户的用户即时通讯号码,把资讯搜索服务器230返回的该用户的资讯信息,也就是网页信息生成超文本链接,并封装成即时通讯消息发送给即时通讯后台服务器210。
步骤606,即时通讯后台服务器210将包含资讯信息的UDP消息发送给即时通讯客户端200。
这样,用户只需点击消息标识,即可通过客户端的浏览工具浏览订阅的资讯。In this way, the user only needs to click on the message logo to browse the subscribed information through the browsing tool of the client.
步骤607,推送服务器240判断是否还有未选择的上线用户,如果有则返回步骤603,否则结束本次推送流程。In
另外,在上述两个推送过程中,资讯搜索服务器230在查询资讯信息时,在资讯信息数据库231中可能没有完全包含搜索关键字的订阅资讯信息,则资讯搜索服务器230将与搜索关键字相关的资讯信息返回给推送服务器;并记录该搜索关键字,更新搜索关键字索引。这样,就能方便资讯搜索服务器230搜索到更广泛的资讯信息。In addition, in the above two pushing processes, when the
由上述的实施例可见,本发明的这种互联网上实现资讯订阅的方法采用关键信息搜索技术,针对性强,能够满足用户的个性化需求。本发明的这种互联网上实现资讯订阅的系统,将即时通讯的客户端和后台服务器设置在资讯订阅系统中,将资讯订阅与即时通讯工具相结合,可以在交流的同时,直接获取新闻资讯,接收方式简洁、方便。由于本发明不采用邮件系统发送订阅的资讯,也就避免因订阅的资讯占用用户邮箱而造成的损失。It can be seen from the above embodiments that the method for realizing information subscription on the Internet of the present invention adopts the key information search technology, is highly targeted, and can meet the personalized needs of users. The system for realizing information subscription on the Internet of the present invention sets the instant messaging client and background server in the information subscription system, combines information subscription with instant messaging tools, and can directly obtain news information while communicating, The receiving method is simple and convenient. Since the present invention does not use the mail system to send the subscribed information, the loss caused by the subscribed information occupying the user's mailbox is avoided.
Claims (17)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004101035790A CN100414869C (en) | 2004-12-30 | 2004-12-30 | A method and system for realizing information subscription on the Internet |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004101035790A CN100414869C (en) | 2004-12-30 | 2004-12-30 | A method and system for realizing information subscription on the Internet |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1798032A CN1798032A (en) | 2006-07-05 |
CN100414869C true CN100414869C (en) | 2008-08-27 |
Family
ID=36818834
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004101035790A Expired - Lifetime CN100414869C (en) | 2004-12-30 | 2004-12-30 | A method and system for realizing information subscription on the Internet |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100414869C (en) |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7647353B2 (en) * | 2006-11-14 | 2010-01-12 | Google Inc. | Event searching |
CN102006546A (en) * | 2009-09-01 | 2011-04-06 | 中兴通讯股份有限公司 | Personalization information service system and sending method thereof |
CN102196011B (en) * | 2010-03-15 | 2015-06-03 | 中兴通讯股份有限公司 | Method and system for providing application information by using push service |
CN102420804B (en) * | 2010-09-27 | 2016-02-24 | 中国电信股份有限公司 | Client, information processing module of user's, content delivery method and system |
CN102611674B (en) * | 2011-01-20 | 2015-01-07 | 深圳博菲科特科技有限公司 | Application method of collective communication engine work system |
CN103116581B (en) * | 2011-11-16 | 2018-05-08 | 阿里巴巴集团控股有限公司 | The recommendation method and device of a kind of electronic information |
CN103139190B (en) * | 2011-12-02 | 2016-04-06 | 人民网股份有限公司 | information acquisition device and method |
CN103378978A (en) * | 2012-04-16 | 2013-10-30 | 腾讯科技(深圳)有限公司 | Message push method and server |
CN102739655B (en) * | 2012-06-12 | 2015-04-08 | 成都边界元科技有限公司 | Information continuous pushing method of multiple interest points |
CN103853799A (en) * | 2012-11-29 | 2014-06-11 | 北京千橡网景科技发展有限公司 | Method and equipment for content recommendation |
US9787615B2 (en) | 2013-04-27 | 2017-10-10 | Tencent Technology (Shenzhen) Company Limited | Apparatus, systems, and methods for network interactions |
CN104125134B (en) * | 2013-04-27 | 2016-04-13 | 腾讯科技(深圳)有限公司 | A kind of network interaction method and device, system |
CN104301353B (en) * | 2013-07-18 | 2019-10-08 | 腾讯科技(深圳)有限公司 | A kind of methods, devices and systems for subscribing to long-tail category information |
CN109933718B (en) * | 2014-12-23 | 2023-07-07 | 优酷网络技术(北京)有限公司 | Searching method for subscription card association information |
CN106302576B (en) * | 2015-05-18 | 2020-02-21 | 腾讯科技(深圳)有限公司 | Information sending method and device and information agent sending method and device |
CN105912653A (en) * | 2016-04-08 | 2016-08-31 | 广东凯通软件开发有限公司 | Rapid data subscription method and apparatus |
CN112632376A (en) * | 2020-12-18 | 2021-04-09 | 张家港市鸿嘉数字科技有限公司 | Scientific and technological reward declaration information pushing method and device |
CN112765464A (en) * | 2021-01-13 | 2021-05-07 | 中国地质大学(武汉) | Theme-oriented new content retrieval pushing method, device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1324044A (en) * | 2000-05-11 | 2001-11-28 | 贵州东方世纪科技有限责任公司 | Search service supplying method and server in Internet |
CN1339748A (en) * | 2000-08-21 | 2002-03-13 | 叶柯 | Method for imformation releasing sorting and access |
US6691106B1 (en) * | 2000-05-23 | 2004-02-10 | Intel Corporation | Profile driven instant web portal |
-
2004
- 2004-12-30 CN CNB2004101035790A patent/CN100414869C/en not_active Expired - Lifetime
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1324044A (en) * | 2000-05-11 | 2001-11-28 | 贵州东方世纪科技有限责任公司 | Search service supplying method and server in Internet |
US6691106B1 (en) * | 2000-05-23 | 2004-02-10 | Intel Corporation | Profile driven instant web portal |
CN1339748A (en) * | 2000-08-21 | 2002-03-13 | 叶柯 | Method for imformation releasing sorting and access |
Also Published As
Publication number | Publication date |
---|---|
CN1798032A (en) | 2006-07-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100414869C (en) | A method and system for realizing information subscription on the Internet | |
CN102088419B (en) | Method and system for searching information of good friends in social network | |
US8554852B2 (en) | System and method for targeting advertisements or other information using user geographical information | |
US7822738B2 (en) | Collaborative workspace context information filtering | |
US6999957B1 (en) | System and method for real-time searching | |
CN100571423C (en) | Group sending system and method based on search engine | |
CN101317173A (en) | Systems for Communication and Collaboration | |
US20110307569A1 (en) | System and method for collaborative short messaging and discussion | |
US10275742B2 (en) | Methods and devices for managing emails | |
CN102436513A (en) | Distributed retrieval method and system | |
CN101833570A (en) | Method and device for optimizing page push of mobile terminal | |
AU2005231112A1 (en) | Methods and systems for structuring event data in a database for location and retrieval | |
CA2741216A1 (en) | Search based specification for data synchronization | |
US20240020305A1 (en) | Systems and methods for automatic archiving, sorting, and/or indexing of secondary message content | |
US8601004B1 (en) | System and method for targeting information items based on popularities of the information items | |
WO2013063925A1 (en) | Method and system for collecting general information | |
WO2003088064A1 (en) | Method and system for pushing content through cellular network | |
CN1783849A (en) | News subscribing method and system based on immediate communication platform | |
US20110145345A1 (en) | Methods, systems,and computer program products for retrieving a file of machine readable data | |
CN102404240A (en) | Information searching system and method | |
US9002725B1 (en) | System and method for targeting information based on message content | |
CN102394836A (en) | Method, terminal and system for counting transmitted files based on instant messaging | |
CN101639838A (en) | Method and system for searching resource | |
Hurst et al. | Social streams blog crawler | |
CN116522020A (en) | Page content display method, related device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CX01 | Expiry of patent term | ||
CX01 | Expiry of patent term |
Granted publication date: 20080827 |