[go: up one dir, main page]

CN102185865A - Method and device for reporting statistical RSS (really simple syndication) service information - Google Patents

Method and device for reporting statistical RSS (really simple syndication) service information Download PDF

Info

Publication number
CN102185865A
CN102185865A CN2011101260286A CN201110126028A CN102185865A CN 102185865 A CN102185865 A CN 102185865A CN 2011101260286 A CN2011101260286 A CN 2011101260286A CN 201110126028 A CN201110126028 A CN 201110126028A CN 102185865 A CN102185865 A CN 102185865A
Authority
CN
China
Prior art keywords
rss
business information
statistics
server
request message
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.)
Pending
Application number
CN2011101260286A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2011101260286A priority Critical patent/CN102185865A/en
Priority to PCT/CN2011/076938 priority patent/WO2012155384A1/en
Publication of CN102185865A publication Critical patent/CN102185865A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for reporting statistical RSS (really simple syndication) service information. The method comprises the following steps: recording the RSS service information; carrying out statistics on the recorded RSS service information; and reporting the statistical RSS service information to an RSS server. The invention also provides the corresponding device. The method and device provided by the invention have the following beneficial effects: after recording and carrying out statistics on the RSS service information at the client, the RSS client reports the statistical RSS service information to the RSS server for the RSS server to master such important operation reference data as use habits and click conditions of the users, thus improving the accuracy and timeliness of RSS service statistics.

Description

RSS业务统计信息上报的方法及装置Method and device for reporting RSS service statistics information

技术领域technical field

本发明涉及到通信领域,特别涉及到一种RSS业务统计信息上报的方法及装置。The invention relates to the communication field, in particular to a method and device for reporting RSS service statistics information.

背景技术Background technique

RSS(Really Simple Syndication,聚合内容)是一种描述和同步网站内容的技术。网站使用特定格式的XML来提供最新应用或者咨询。RSS搭建了信息迅速传播的技术平台,使得每个使用者都成为潜在的内容提供者,极大的丰富了互联网以及移动终端网络的内容。RSS在移动终端上的应用,为RSS技术带来了飞速发展的机遇。RSS (Really Simple Syndication, aggregated content) is a technology for describing and synchronizing website content. The website uses XML in a specific format to provide the latest application or consultation. RSS builds a technical platform for the rapid dissemination of information, making every user a potential content provider, greatly enriching the content of the Internet and mobile terminal networks. The application of RSS on mobile terminals has brought opportunities for the rapid development of RSS technology.

目前通过移动终端与RSS订阅服务器的交互,用户只需要在移动终端上订阅某个门户网站的频道项,RSS订阅服务器就可以为该用户提供大量的频道项包含的实时更新信息。用户在获取信息时,无而登陆到具体的各门户网站。RSS技术还可以避免用户下载大量无意义内容和广告等,仅将移动终端用户感兴趣的内容实时的传送并展示。At present, through the interaction between the mobile terminal and the RSS subscription server, the user only needs to subscribe to a channel item of a certain portal website on the mobile terminal, and the RSS subscription server can provide the user with real-time update information contained in a large number of channel items. When users obtain information, they do not need to log in to specific portal websites. RSS technology can also prevent users from downloading a large amount of meaningless content and advertisements, etc., and only transmit and display the content that mobile terminal users are interested in in real time.

然而,目前RSS业务在实际的使用过程中,服务器和运营商对于用户使用习惯、用户点击情况等重要的运营参考数据无准确途径进行收集和获取。现有统计数据大多是通过网上调查、问卷调查等方式完成,其准确性和时效性差。However, in the actual use of the RSS service at present, the server and the operator have no accurate way to collect and obtain important operational reference data such as user usage habits and user clicks. Most of the existing statistical data are completed through online surveys, questionnaires, etc., which are poor in accuracy and timeliness.

发明内容Contents of the invention

本发明的主要目的为提供一种RSS业务统计信息上报的方法及装置,提高RSS业务统计的准确性和时效性。The main purpose of the present invention is to provide a method and device for reporting RSS service statistical information, so as to improve the accuracy and timeliness of RSS service statistics.

本发明提出一种RSS业务统计信息上报的方法,包括:The present invention proposes a method for reporting RSS service statistics information, including:

记录RSS业务信息;Record RSS business information;

将所述记录的RSS业务信息进行统计;making statistics on the recorded RSS service information;

上报所述统计的RSS业务信息至RSS服务器。Report the statistical RSS service information to the RSS server.

优选地,在执行所述记录RSS业务信息之前,还包括:Preferably, before performing the recording RSS service information, it also includes:

清除历史RSS业务信息。Clear historical RSS service information.

优选地,在执行所述上报统计的RSS信息至RSS服务器之前,还包括:Preferably, before executing the RSS information of reporting statistics to the RSS server, it also includes:

约定上报开关或对所述统计的RSS业务信息进行数据加密。Agree on a report switch or perform data encryption on the statistical RSS service information.

优选地,所述上报统计的RSS业务信息至RSS服务器包括:Preferably, the reporting of statistical RSS service information to the RSS server includes:

构建同步请求报文;所述同步请求报文携带所述统计的RSS业务信息;Constructing a synchronization request message; the synchronization request message carries the statistical RSS service information;

发送所述同步请求报文至RSS服务器,供RSS服务器提取需要的RSS业务信息;Send the synchronization request message to the RSS server, for the RSS server to extract the required RSS service information;

接收所述RSS服务器反馈的消息,提示同步是否成功。Receive a message fed back by the RSS server, prompting whether the synchronization is successful.

优选地,所述构建同步请求报文包括:Preferably, said constructing a synchronization request message includes:

根据预设的协议定义所述统计的RSS业务信息;defining the statistical RSS service information according to a preset protocol;

将所述定义写入所述同步请求报文的报头或报体。Writing the definition into the header or body of the synchronization request message.

优选地,将所述RSS业务信息写入预设的配置文件、数据库或注册表。Preferably, the RSS service information is written into a preset configuration file, database or registry.

本发明还提出一种RSS业务统计信息上报的装置,包括:The present invention also proposes a device for reporting RSS service statistics information, including:

记录模块,用于记录RSS业务信息;Recording module, used for recording RSS service information;

统计模块,用于将所述记录的RSS业务信息进行统计;A statistics module, configured to perform statistics on the recorded RSS service information;

上报模块,用于上报所述统计的RSS业务信息至RSS服务器。A reporting module, configured to report the statistical RSS service information to the RSS server.

优选地,所述装置还包括:Preferably, the device also includes:

清除模块,用于清除历史RSS业务信息。The clearing module is used for clearing historical RSS service information.

优选地,所述装置还包括:Preferably, the device also includes:

安全模块,用于约定上报开关或对所述统计的RSS业务信息进行数据加密。A security module, configured to agree on a report switch or perform data encryption on the statistical RSS service information.

优选地,所述上报模块包括:Preferably, the reporting module includes:

构建单元,用于构建同步请求报文;所述同步请求报文携带所述统计的RSS业务信息;A construction unit, configured to construct a synchronization request message; the synchronization request message carries the statistical RSS service information;

发送单元,用于发送所述同步请求报文至RSS服务器,供RSS服务器提取需要的RSS业务信息;A sending unit, configured to send the synchronization request message to the RSS server, for the RSS server to extract the required RSS service information;

接收单元,用于接收所述RSS服务器反馈的消息,提示同步是否成功。The receiving unit is configured to receive the message fed back by the RSS server, prompting whether the synchronization is successful.

优选地,所述构建单元包括:Preferably, the building blocks include:

定义子单元,用于根据预设的协议定义所述统计的RSS业务信息;Define a subunit, used to define the statistical RSS service information according to a preset protocol;

写入子单元,用于将所述定义写入所述同步请求报文的报头或报体。The writing subunit is used to write the definition into the header or body of the synchronization request message.

优选地,所述记录模块具体用于:Preferably, the recording module is specifically used for:

将所述RSS业务信息写入预设的配置文件、数据库或注册表。Write the RSS service information into a preset configuration file, database or registry.

本发明提出的一种RSS业务统计信息上报的方法及装置,通过RSS客户端对本端的RSS业务的信息进行记录并统计后,上报至RSS服务器,供RSS服务器掌握用户的使用习惯、点击情况等重要的运营参考数据,提高RSS业务统计的准确性和时效性。A method and device for reporting RSS service statistical information proposed by the present invention, after recording and counting the information of the RSS service at the local end through the RSS client, report it to the RSS server, so that the RSS server can grasp the user's usage habits, click status, etc. Operational reference data to improve the accuracy and timeliness of RSS business statistics.

附图说明Description of drawings

图1为本发明RSS业务统计信息上报的方法一实施例的流程示意图;Fig. 1 is a schematic flow chart of an embodiment of a method for reporting RSS service statistical information of the present invention;

图2为本发明RSS业务统计信息上报的方法一实施例中上报步骤的流程示意图;Fig. 2 is a schematic flow chart of the reporting steps in an embodiment of the method for reporting RSS service statistical information of the present invention;

图3为本发明RSS业务统计信息上报的方法一实施例中构建同步请求报文的流程示意图;FIG. 3 is a schematic flow diagram of constructing a synchronization request message in an embodiment of the method for reporting RSS service statistical information of the present invention;

图4为本发明RSS业务统计信息上报的方法又一实施例的流程示意图;FIG. 4 is a schematic flow diagram of another embodiment of the method for reporting RSS service statistical information of the present invention;

图5为本发明RSS业务统计信息上报的装置一实施例的结构示意图;FIG. 5 is a schematic structural diagram of an embodiment of an apparatus for reporting RSS service statistical information according to the present invention;

图6为本发明RSS业务统计信息上报的装置一实施例中上报模块的结构示意图;FIG. 6 is a schematic structural diagram of a reporting module in an embodiment of an apparatus for reporting RSS service statistical information according to the present invention;

图7为本发明RSS业务统计信息上报的装置一实施例中构建单元的结构示意图;FIG. 7 is a schematic structural diagram of a construction unit in an embodiment of an apparatus for reporting RSS service statistical information according to the present invention;

图8为本发明RSS业务统计信息上报的装置又一实施例的结构示意图。FIG. 8 is a schematic structural diagram of another embodiment of an apparatus for reporting RSS service statistics information according to the present invention.

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.

具体实施方式Detailed ways

应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

参照图1,提出本发明RSS业务统计信息上报的方法一实施例,包括:Referring to Fig. 1, an embodiment of the method for reporting RSS service statistical information of the present invention is proposed, including:

步骤S10、记录RSS业务信息;Step S10, recording RSS service information;

RSS客户端记录本端RSS业务使用的相关信息,可以包括:The RSS client records information related to the use of the local RSS service, which may include:

RSS客户端被启用的次数,该数据表示用户使用RSS客户端的次数,并可推算出使用频率等其它数据如一天或一周等某一时间周期内启用RSS客户端的次数。The number of times the RSS client is enabled, this data indicates the number of times the user uses the RSS client, and other data such as frequency of use can be calculated, such as the number of times the RSS client is enabled within a certain period of time such as a day or a week.

每一个RSS频道的点击次数,该数据表示用户在一时间周期内进入某一RSS频道的次数,通过它即可计算该RSS频道的点击率如一天或一周等某一时间周期中进入某一RSS频道的次数。The number of clicks of each RSS channel, the data indicates the number of times a user enters a certain RSS channel within a time period, and it can be used to calculate the click rate of the RSS channel, such as entering a certain RSS in a certain time period such as a day or a week number of channels.

每一RSS频道的更新频率,更新指下载该RSS频道的最新内容以供查看。The update frequency of each RSS channel. Updating refers to downloading the latest content of the RSS channel for viewing.

在每次启动RSS客户端、进入某RSS频道、更新某RSS频道等事件发生时,记录相应的数据(RSS业务信息),记录方法可以有多种,例如可以采用保存配置文件记录的方法,每有一次新的记录,就更新一次配置文件。也可以是写入数据库,对于windows mobile终端还可能写入注册表。步骤S11、将所述记录的RSS业务信息进行统计;When events such as starting the RSS client, entering a certain RSS channel, and updating a certain RSS channel occur, the corresponding data (RSS service information) is recorded. There are many recording methods, such as saving configuration files. Once there is a new record, the configuration file is updated once. It can also be written into the database, and may also be written into the registry for windows mobile terminals. Step S11, making statistics on the recorded RSS service information;

根据需要对上述数据进行统计,如根据RSS客户端被启用的次数统计一时间周期内RSS客户端被启用的频率,或统计每一RSS频道的点击次数等。统计的方法可以是求和,求平均值等。Count the above data as required, such as counting the frequency of the RSS client being enabled within a time period according to the number of times the RSS client is enabled, or counting the number of clicks of each RSS channel, etc. Statistical methods can be summation, averaging, etc.

步骤S12、上报所述统计的RSS业务信息至RSS服务器。Step S12, reporting the statistical RSS service information to the RSS server.

当RSS客户端或RSS服务器发起同步时,RSS客户端弹出用户同步提示信息,由用户确认是否需要发送统计数据,如需要发送统计数据。RSS客户端在请求同步的消息中包含该统计数据。统计数据可以放在http消息包的消息头中,也可以放在消息体中,并可以自定义字段名。RSS服务器接受并记录这些统计数据,提取对其有用的信息。RSS服务器返回同步数据信息,并根据需要记录或者处理上报的统计数据。RSS客户端解析收到的同步数据信息,解析成功,则同步成功。解析失败,则同步失败,进入同步重试流程,重试同步。When the RSS client or RSS server initiates synchronization, the RSS client pops up a user synchronization prompt message, and the user confirms whether to send statistical data, and if so, the statistical data needs to be sent. RSS clients include this statistics in messages requesting synchronization. Statistical data can be placed in the header of the http message package or in the message body, and the field name can be customized. The RSS server accepts and records these statistics and extracts useful information for them. The RSS server returns synchronous data information, and records or processes the reported statistical data as required. The RSS client parses the received synchronization data information, and if the parsing is successful, the synchronization is successful. If the parsing fails, the synchronization fails, enter the synchronization retry process, and retry the synchronization.

本实施例中,通过RSS客户端对本端的RSS业务的信息进行记录并统计后,上报至RSS服务器,供RSS服务器掌握用户的使用习惯、点击情况等重要的运营参考数据,提高RSS业务统计的准确性和时效性。In this embodiment, after the RSS client records and counts the information of the RSS service at this end, it is reported to the RSS server, so that the RSS server can grasp important operational reference data such as the user's usage habits and click situations, and improve the accuracy of RSS service statistics sex and timeliness.

参照图2,在一实施例中,步骤S12可包括:Referring to FIG. 2, in one embodiment, step S12 may include:

步骤S121、构建同步请求报文;所述同步请求报文携带所述统计的RSS业务信息;Step S121, constructing a synchronization request message; the synchronization request message carries the statistical RSS service information;

步骤S122、发送所述同步请求报文至RSS服务器,供RSS服务器提取需要的RSS业务信息;Step S122, sending the synchronization request message to the RSS server for the RSS server to extract the required RSS service information;

步骤S123、接收所述RSS服务器反馈的消息,提示同步是否成功。Step S123, receiving a message fed back by the RSS server, prompting whether the synchronization is successful.

参照图3,步骤S121进一步包括:With reference to Fig. 3, step S121 further comprises:

步骤S1211、根据预设的协议定义所述统计的RSS业务信息;Step S1211, defining the statistical RSS service information according to a preset protocol;

步骤S1212、将所述定义写入所述同步请求报文的报头或报体。Step S1212, writing the definition into the header or body of the synchronization request message.

RSS业务信息的统计数据可以通过在同步请求报文的报头或者报体中发送,可由RSS服务器和RSS客户端协商定义名称以携带统计数据。如下所示是通过同步请求报文的报头发送统计数据的一示例:Get表示同步发起命令,Accept-Language、Host、Connection、User-Agent等都是当前协议要求的内容,Client-Launched-Times:10表示启动RSS客户端的次数为10次,此数据由RSS客户端通过配置文件等方式记录,Feed-Launched-Times:xxxxx=10;yyyyy=2;zzzzz=30表示启动RSS客户端中ID为xxxxx、yyyyy、zzzzz三个RSS频道的点击次数,Feed-Synced-Frequence:xxxxx=2;yyyyy=12;zzzzz=0表示启动RSS客户端中ID为xxxxx、yyyyy、zzzzz的三个RSS频道的同步刷新频率。The statistical data of the RSS service information can be sent in the header or body of the synchronization request message, and the RSS server and the RSS client can negotiate and define a name to carry the statistical data. The following is an example of sending statistical data through the header of the synchronization request message: Get indicates a synchronization initiation command, Accept-Language, Host, Connection, User-Agent, etc. are all required by the current protocol, Client-Launched-Times: 10 means that the number of times the RSS client has been started is 10 times. This data is recorded by the RSS client through configuration files, etc. Feed-Launched-Times: xxxxx=10; yyyyy=2; zzzzz=30 means that the ID in the RSS client is started is xxxxx , yyyyy, zzzzz three RSS channel click times, Feed-Synced-Frequence: xxxxx=2; yyyyy=12; zzzzz=0 means to start the synchronous refresh of the three RSS channels whose IDs are xxxxx, yyyyy, zzzzz in the RSS client frequency.

GET/listnews_23413_feed.rss HTTP/1.1GET/listnews_23413_feed.rss HTTP/1.1

HOST:aeiou.expresso.ptHOST: aeiou.expresso.pt

User-Agent:ZTE-*******User-Agent: ZTE-*******

Connection:Keep-AliveConnection: Keep-Alive

Accept-Charset:utf-8,iso-8859-1,US-ASCII,GB2312Accept-Charset: utf-8, iso-8859-1, US-ASCII, GB2312

Accept-Language:en,fr,pt,esAccept-Language: en, fr, pt, es

Client-Launched-Times:10Client-Launched-Times: 10

Feed-Launched-Times:xxxxx=10;yyyyy=2;zzzzz=30;Feed-Launched-Times: xxxxx=10; yyyyy=2; zzzzz=30;

Feed-Synced-Frequence:xxxxx=2;yyyyy=12;;zzzzz=0;Feed-Synced-Frequence: xxxxx=2; yyyyy=12;; zzzzz=0;

上述示例说明了在同步请求报文的报头中上报统计数据的方法,在同步请求报体中也可以用类似的字段定义来实现上报数据。The above example illustrates the method of reporting statistical data in the header of the synchronization request message. Similar field definitions can also be used in the body of the synchronization request message to report data.

参照图4,提出本发明RSS业务统计信息上报的方法又一实施例,在上述实施例中,在执行步骤S10之前,还包括:Referring to FIG. 4 , another embodiment of the method for reporting RSS service statistical information of the present invention is proposed. In the above embodiment, before performing step S10, it also includes:

步骤S9、清除历史RSS业务信息。Step S9, clearing historical RSS service information.

此步骤可在RSS客户端上报统计数据完成之后进行,但可能存在如下情况,RSS客户端在第一次上报后由于链路中断或RSS服务器等原因,有可能需要再次上报,因此较佳实施例是在RSS客户端上报本次的统计数据后,暂时保存该统计数据,直到RSS客户端下次上报下一时间周期的统计数据之前再清除。既可防止RSS客户端数据量过大,又可防止统计数据丢失。This step can be carried out after the RSS client reports the statistical data, but there may be the following situations, the RSS client may need to report again due to reasons such as link interruption or RSS server after the first report, so the preferred embodiment After the RSS client reports the statistical data of this time, the statistical data is temporarily saved and cleared until the RSS client reports the statistical data of the next time period next time. It can prevent the data volume of the RSS client from being too large, and prevent the statistical data from being lost.

在执行步骤S12之前,还包括:Before executing step S12, also include:

步骤S13、约定上报开关或对所述统计的RSS业务信息进行数据加密。Step S13, agreeing on a report switch or performing data encryption on the statistical RSS service information.

RSS服务器和RSS客户端之间可以约定是否上报RSS业务信息的统计数据,如约定一信号作为上报开关或者进行数据加密等,避免不合适的统计数据被所有RSS服务器捕获。The RSS server and the RSS client can agree whether to report statistical data of RSS service information, such as agreeing on a signal as a reporting switch or data encryption, etc., to avoid inappropriate statistical data from being captured by all RSS servers.

参照图5,提出本发明一种RSS业务统计信息上报的装置一实施例,包括:Referring to Fig. 5, an embodiment of a device for reporting RSS service statistical information of the present invention is proposed, including:

记录模块10,用于记录RSS业务信息;Recording module 10, for recording RSS business information;

统计模块20,用于将所述记录的RSS业务信息进行统计;A statistics module 20, configured to perform statistics on the recorded RSS service information;

上报模块30,用于上报所述统计的RSS业务信息至RSS服务器。The reporting module 30 is configured to report the statistical RSS service information to the RSS server.

本实施例中,RSS业务统计信息上报的装置可以是RSS客户端或RSS客户端外置的一装置。In this embodiment, the device for reporting RSS service statistics information may be an RSS client or a device external to the RSS client.

记录模块10记录RSS客户端RSS业务使用的相关信息,可以包括:Recording module 10 records the relevant information that RSS client RSS business uses, can comprise:

RSS客户端被启用的次数,该数据表示用户使用RSS客户端的次数,并可推算出使用频率等其它数据如一天或一周等某一时间周期内启用RSS客户端的次数。The number of times the RSS client is enabled, this data indicates the number of times the user uses the RSS client, and other data such as frequency of use can be calculated, such as the number of times the RSS client is enabled within a certain period of time such as a day or a week.

每一个RSS频道的点击次数,该数据表示用户在一时间周期内进入某一RSS频道的次数,通过它即可计算该RSS频道的点击率如一天或一周等某一时间周期中进入某一RSS频道的次数。The number of clicks of each RSS channel, the data indicates the number of times a user enters a certain RSS channel within a time period, and it can be used to calculate the click rate of the RSS channel, such as entering a certain RSS in a certain time period such as a day or a week number of channels.

每一RSS频道的更新频率,更新指下载该RSS频道的最新内容以供查看。The update frequency of each RSS channel. Updating refers to downloading the latest content of the RSS channel for viewing.

在每次启动RSS客户端、进入某RSS频道、更新某RSS频道等事件发生时,记录模块10记录相应的数据(RSS业务信息),记录方法可以有多种,例如可以采用保存配置文件记录的方法,每有一次新的记录,就更新一次配置文件。也可以是写入数据库,对于windows mobile终端还可能写入注册表。When events such as starting the RSS client at every turn, entering a certain RSS channel, and updating a certain RSS channel take place, the recording module 10 records the corresponding data (RSS service information). method, every time there is a new record, the configuration file is updated once. It can also be written into the database, and may also be written into the registry for windows mobile terminals.

统计模块20根据需要对上述数据进行统计,如根据RSS客户端被启用的次数统计一时间周期内RSS客户端被启用的频率,或统计每一RSS频道的点击次数等。统计的方法可以是求和,求平均值等。The statistics module 20 performs statistics on the above-mentioned data as required, such as counting the frequency of the RSS client being activated within a time period according to the number of times the RSS client is activated, or counting the number of clicks of each RSS channel, etc. Statistical methods can be summation, averaging, etc.

当RSS客户端或RSS服务器发起同步时,上报模块30弹出用户同步提示信息,由用户确认是否需要发送统计数据,如需要发送统计数据,则上报模块30在请求同步的消息中包含该统计数据。统计数据可以放在http消息包的消息头中,也可以放在消息体中,并可以自定义字段名。RSS服务器接受并记录这些统计数据,提取对其有用的信息。RSS服务器返回同步数据信息,并根据需要记录或者处理上报的统计数据。上报模块30解析收到的同步数据信息,解析成功,则同步成功。解析失败,则同步失败,进入同步重试流程,重试同步。When the RSS client or the RSS server initiates synchronization, the reporting module 30 pops up a user synchronization prompt message, and the user confirms whether the statistical data needs to be sent. If the statistical data needs to be sent, the reporting module 30 includes the statistical data in the message requesting synchronization. Statistical data can be placed in the header of the http message package or in the message body, and the field name can be customized. The RSS server accepts and records these statistics and extracts useful information for them. The RSS server returns synchronous data information, and records or processes the reported statistical data as required. The reporting module 30 analyzes the received synchronization data information, and if the analysis is successful, the synchronization is successful. If the parsing fails, the synchronization fails, enter the synchronization retry process, and retry the synchronization.

本实施例中,对RSS客户端的RSS业务的信息进行记录并统计后,上报至RSS服务器,供RSS服务器掌握用户的使用习惯、点击情况等重要的运营参考数据,提高RSS业务统计的准确性和时效性。In this embodiment, after the information of the RSS service of the RSS client is recorded and counted, it is reported to the RSS server for the RSS server to grasp important operational reference data such as the user's usage habits and click situations, so as to improve the accuracy and accuracy of the RSS service statistics. Timeliness.

参照图6,在一实施例中,上报模块30包括:Referring to Fig. 6, in one embodiment, the reporting module 30 includes:

构建单元31,用于构建同步请求报文;所述同步请求报文携带所述统计的RSS业务信息;A construction unit 31, configured to construct a synchronization request message; the synchronization request message carries the statistical RSS service information;

发送单元32,用于发送所述同步请求报文至RSS服务器,供RSS服务器提取需要的RSS业务信息;The sending unit 32 is configured to send the synchronization request message to the RSS server for the RSS server to extract the required RSS service information;

接收单元33,用于接收所述RSS服务器反馈的消息,提示同步是否成功。The receiving unit 33 is configured to receive a message fed back by the RSS server, prompting whether the synchronization is successful.

参照图7,在上述实施例中,构建单元31进一步包括:Referring to Fig. 7, in the above embodiment, the construction unit 31 further includes:

定义子单元311,用于根据预设的协议定义所述统计的RSS业务信息;A defining subunit 311, configured to define the statistical RSS service information according to a preset protocol;

写入子单元312,用于将所述定义写入所述同步请求报文的报头或报体。The writing subunit 312 is configured to write the definition into the header or body of the synchronization request message.

RSS业务信息的统计数据可以通过写入子单元312在同步请求报文的报头或者报体中发送,可由RSS服务器和RSS客户端的定义子单元311协商定义名称以携带统计数据。如下所示是通过同步请求报文的报头发送统计数据的一示例:Get表示同步发起命令,Accept-Language、Host、Connection、User-Agent等都是当前协议要求的内容,Client-Launched-Times:10表示启动RSS客户端的次数为10次,此数据由RSS客户端通过配置文件等方式记录,Feed-Launched-Times:xxxxx=10;yyyyy=2;zzzzz=30表示启动RSS客户端中ID为xxxxx、yyyyy、zzzzz三个RSS频道的点击次数,Feed-Synced-Frequence:xxxxx=2;yyyyy=12;zzzzz=0表示启动RSS客户端中ID为xxxxx、yyyyy、zzzzz的三个RSS频道的同步刷新频率。Statistical data of RSS service information can be sent in the header or body of the synchronization request message through the writing subunit 312, and the definition subunit 311 of the RSS server and RSS client can negotiate and define a name to carry statistical data. The following is an example of sending statistical data through the header of the synchronization request message: Get indicates a synchronization initiation command, Accept-Language, Host, Connection, User-Agent, etc. are all required by the current protocol, Client-Launched-Times: 10 means that the number of times the RSS client has been started is 10 times. This data is recorded by the RSS client through configuration files, etc. Feed-Launched-Times: xxxxx=10; yyyyy=2; zzzzz=30 means that the ID in the RSS client is started is xxxxx , yyyyy, zzzzz three RSS channel click times, Feed-Synced-Frequence: xxxxx=2; yyyyy=12; zzzzz=0 means to start the synchronous refresh of the three RSS channels whose IDs are xxxxx, yyyyy, zzzzz in the RSS client frequency.

GET/listnews_23413_feed.rss HTTP/1.1GET/listnews_23413_feed.rss HTTP/1.1

HOST:aeiou.expresso.ptHOST: aeiou.expresso.pt

User-Agent:ZTE-*******User-Agent: ZTE-*******

Connection:Keep-AliveConnection: Keep-Alive

Accept-Charset:utf-8,iso-8859-1,US-ASCII,GB2312Accept-Charset: utf-8, iso-8859-1, US-ASCII, GB2312

Accept-Language:en,fr,pt,esAccept-Language: en, fr, pt, es

Client-Launched-Times:10Client-Launched-Times: 10

Feed-Launched-Times:xxxxx=10;yyyyy=2;zzzzz=30;Feed-Launched-Times: xxxxx=10; yyyyy=2; zzzzz=30;

Feed-Synced-Frequence:xxxxx=2;yyyyy=12;;zzzzz=0;Feed-Synced-Frequence: xxxxx=2; yyyyy=12;; zzzzz=0;

上述示例说明了在同步请求报文的报头中上报统计数据的方法,在同步请求报体中也可以用类似的字段定义来实现上报数据。The above example illustrates the method of reporting statistical data in the header of the synchronization request message. Similar field definitions can also be used in the body of the synchronization request message to report data.

参照图8,提出本发明一种RSS业务统计信息上报的装置又一实施例,在上述实施例中,还包括:Referring to FIG. 8 , another embodiment of a device for reporting RSS service statistical information according to the present invention is proposed. In the above embodiment, it also includes:

清除模块40,用于清除历史RSS业务信息。The clearing module 40 is used for clearing the historical RSS service information.

安全模块50,用于约定上报开关或对所述统计的RSS业务信息进行数据加密。The security module 50 is configured to agree on a report switch or perform data encryption on the statistical RSS service information.

清除模块40可在RSS客户端上报统计数据完成之后进行清除,但可能存在如下情况,上报模块30在第一次上报后由于链路中断或RSS服务器等原因,有可能需要再次上报,因此较佳实施例是在上报模块30上报本次的统计数据后,暂时保存该统计数据,直到上报模块30下次上报下一时间周期的统计数据之前再由清除模块40清除。既可防止RSS客户端数据量过大,又可防止统计数据丢失。The clearing module 40 can be cleared after the statistical data reported by the RSS client is completed, but there may be the following situations, the reporting module 30 may need to report again due to reasons such as link interruption or the RSS server after the first report, so it is better An embodiment is that after the reporting module 30 reports the statistical data of this time, the statistical data is temporarily saved, and is cleared by the clearing module 40 until the reporting module 30 reports the statistical data of the next time period next time. It can prevent the data volume of the RSS client from being too large, and prevent the statistical data from being lost.

RSS服务器和安全模块50之间可以约定是否上报RSS业务信息的统计数据,如约定一信号作为上报开关或者进行数据加密等,避免不合适的统计数据被所有RSS服务器捕获。Whether to report statistical data of RSS service information can be agreed between the RSS server and the security module 50, such as agreeing on a signal as a report switch or performing data encryption, etc., to avoid inappropriate statistical data from being captured by all RSS servers.

以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related All technical fields are equally included in the scope of patent protection of the present invention.

Claims (12)

1. the method that RSS business statistics information reports is characterized in that, comprising:
Record RSS business information;
The RSS business information of described record is added up;
The RSS business information that reports described statistics is to the RSS server.
2. the method for claim 1 is characterized in that, before carrying out described record RSS business information, also comprises:
Remove historical RSS business information.
3. method as claimed in claim 1 or 2 is characterized in that, is carrying out the described RSS information that reports statistics to the RSS server, also comprises:
Agreement reports switch or the RSS business information of described statistics is carried out data encryption.
4. method as claimed in claim 1 or 2 is characterized in that, described RSS business information to the RSS server of statistics that reports comprises:
Make up the synchronization request message; Described synchronization request message carries the RSS business information of described statistics;
Send described synchronization request message to the RSS server, extract the RSS business information that needs for the RSS server;
Receive the message of described RSS server feedback, whether prompting is successful synchronously.
5. method as claimed in claim 4 is characterized in that, described structure synchronization request message comprises:
RSS business information according to the default described statistics of protocol definition;
Described definition is write the header or the newspaper body of described synchronization request message.
6. method as claimed in claim 1 or 2 is characterized in that, described record RSS business information is specially:
Described RSS business information is write preset configuration file, database or registration table.
7. the device that RSS business statistics information reports is characterized in that, comprising:
Logging modle is used to write down the RSS business information;
Statistical module is used for the RSS business information of described record is added up;
Reporting module is used to report the RSS business information of described statistics to the RSS server.
8. device as claimed in claim 7 is characterized in that, also comprises:
Remove module, be used to remove historical RSS business information.
9. as claim 7 or 8 described devices, it is characterized in that, also comprise:
Security module is used to arrange to report switch or the RSS business information of described statistics is carried out data encryption.
10. as claim 7 or 8 described devices, it is characterized in that described reporting module comprises:
Construction unit is used to make up the synchronization request message; Described synchronization request message carries the RSS business information of described statistics;
Transmitting element is used to send described synchronization request message to the RSS server, extracts the RSS business information that needs for the RSS server;
Receiving element is used to receive the message of described RSS server feedback, and prompting is whether success synchronously.
11. device as claimed in claim 10 is characterized in that, described construction unit comprises:
The definition subelement is used for the RSS business information according to the default described statistics of protocol definition;
Write subelement, be used for described definition is write the header or the newspaper body of described synchronization request message.
12., it is characterized in that described logging modle specifically is used for as claim 7 or 8 described devices:
Described RSS business information is write preset configuration file, database or registration table.
CN2011101260286A 2011-05-16 2011-05-16 Method and device for reporting statistical RSS (really simple syndication) service information Pending CN102185865A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2011101260286A CN102185865A (en) 2011-05-16 2011-05-16 Method and device for reporting statistical RSS (really simple syndication) service information
PCT/CN2011/076938 WO2012155384A1 (en) 2011-05-16 2011-07-07 Method and apparatus for reporting really simple syndication service statistic information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101260286A CN102185865A (en) 2011-05-16 2011-05-16 Method and device for reporting statistical RSS (really simple syndication) service information

Publications (1)

Publication Number Publication Date
CN102185865A true CN102185865A (en) 2011-09-14

Family

ID=44571935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101260286A Pending CN102185865A (en) 2011-05-16 2011-05-16 Method and device for reporting statistical RSS (really simple syndication) service information

Country Status (2)

Country Link
CN (1) CN102185865A (en)
WO (1) WO2012155384A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106156277A (en) * 2016-06-24 2016-11-23 乐视控股(北京)有限公司 For third-party data sharing update method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047611A (en) * 2006-03-30 2007-10-03 腾讯科技(深圳)有限公司 System and method for clustering RSS information
US20090106768A1 (en) * 2007-10-23 2009-04-23 Sri Ramanathan System and method for accessing really simple syndication (rss) enabled content using session initiation protocol (sip) signaling

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101115225B (en) * 2006-07-28 2010-12-08 中兴通讯股份有限公司 System and method for implementing RSS subscription using multimedia message of mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047611A (en) * 2006-03-30 2007-10-03 腾讯科技(深圳)有限公司 System and method for clustering RSS information
US20090106768A1 (en) * 2007-10-23 2009-04-23 Sri Ramanathan System and method for accessing really simple syndication (rss) enabled content using session initiation protocol (sip) signaling

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106156277A (en) * 2016-06-24 2016-11-23 乐视控股(北京)有限公司 For third-party data sharing update method and system

Also Published As

Publication number Publication date
WO2012155384A1 (en) 2012-11-22

Similar Documents

Publication Publication Date Title
EP1388260B1 (en) Interactive media response processing system
EP2574004B1 (en) Method, apparatus and system for improving synchronization efficiency of really simple syndication service
US20080155112A1 (en) System and method for updating information feeds
CN106921717B (en) Message pushing method and system based on mobile terminal
US8688074B2 (en) Service classification of web traffic
CN108540565A (en) A method of mobile terminal push and statistics based on MQTT protocol
CN103379019B (en) Information push method and device in microblogging, system
US11115483B2 (en) Methods and apparatus for census and panel matching using session identifiers positioned in an HTTP header
CN103473107A (en) Interactive interface dynamic update method based on movable middleware
CN108228625B (en) Push message processing method and device
CN103748888B (en) A kind of sending method of streaming media service, player method and device
CN101227432B (en) A message conversion method, access method, device and system
CN101232386B (en) Method for counting MMS flow quantity
WO2012041032A1 (en) Method for investigating audience rating, terminal and system thereof
CN104283849A (en) Popup window data pushing and displaying method, device and system
CN102185865A (en) Method and device for reporting statistical RSS (really simple syndication) service information
CN102137081B (en) Method, device and system for inserting advertisements
CN102377789B (en) Realize the method and system of IPTV television viewing audience investigation
CN111818154B (en) Service pushing system and method based on network layer message analysis
EP2721536A1 (en) Method and system for accessing micro-blog album and micro-blog client
CN101645931A (en) Method and system for monitoring user click condition in dynamic content distributing service
WO2013000215A1 (en) Method and device for issuing notification message
JP2005167907A (en) Television audience rating survey system, viewing status data collection method, and computer program therefor
WO2017041648A1 (en) Method and device for processing application request
CN108449726A (en) SMS-based vehicle alarm information push method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C05 Deemed withdrawal (patent law before 1993)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110914