WO2011088711A1 - Method and system for updating web page data - Google Patents

Method and system for updating web page data Download PDF

Info

Publication number
WO2011088711A1
WO2011088711A1 PCT/CN2010/079661 CN2010079661W WO2011088711A1 WO 2011088711 A1 WO2011088711 A1 WO 2011088711A1 CN 2010079661 W CN2010079661 W CN 2010079661W WO 2011088711 A1 WO2011088711 A1 WO 2011088711A1
Authority
WO
WIPO (PCT)
Prior art keywords
webpage
information
update
update information
updated
Prior art date
Application number
PCT/CN2010/079661
Other languages
French (fr)
Chinese (zh)
Inventor
陈曦
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2011088711A1 publication Critical patent/WO2011088711A1/en

Links

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/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • 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]

Definitions

  • the webpage module performs an update operation on the webpage by refreshing the webpage and/or calling a script function of the webpage.
  • an embedded webpage created by the webpage module 301 receives an operation mode of calling a script function (such as a JavaScript script function), and the script function may include updated content information, and the embedded webpage is directly implemented according to the agreed implementation. Display the updated content information. In this way, the maximum flexibility is achieved in both format and content.
  • Web server 10 can modify the updated content and updated format anytime and anywhere. As long as the control refreshes the webpage, the new script function will be dynamically updated, and the updated content will also be displayed.
  • the webpage module 301 can also directly pull the updated content information to the web server 10 to perform an update operation on the webpage.
  • the webpage of the group dynamic window displays a lot of rich dynamic information in the group. When the group session window is opened, when the group community has a new event, the group dynamic webpage is updated immediately. , without having to refresh the page or reopen the window.
  • step S10 the update information is recorded and the update information is sent out.
  • the instant messaging client 30 includes a protocol processor 300 and a web page module 301.
  • the protocol processor 300 receives the processed update information sent by the communication server 20, decrypts and parses the update information, obtains the control information and the updated content information, and sends the control information and the updated content information to the webpage module 301;
  • the module 301 receives the control information and the updated content information and performs a web page update operation.
  • the control information includes a webpage update method and an identification number of the webpage to be updated.
  • the updated content information includes updated function names, parameter lists, and the like.
  • the parameter list includes parameter types and parameter contents.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A system for updating the web page data is provided by this invention. The system includes a web server for recording the update information and transmitting the update information to a communication server; a communication server for receiving the update information, processing the update information and transmitting the processed update information to an instant communication client terminal through a connection-oriented encryption protocol; an instant communication client terminal for receiving the processed update information, obtaining the control information and updated content information based on the processed update information, and performing the web page updating operation based on the control information and the updated content information. A method for updating the web page data is provided also. The pressure of the server and the network bandwidth can be reduced by the method and system of this invention and the data updating speed is improved.

Description

网页数据更新系统及方法  Webpage data update system and method
技术领域 Technical field
本发明涉及互联网领域, 尤其涉及一种网页数据更新系统及方法。 发明背景  The present invention relates to the field of the Internet, and in particular, to a webpage data updating system and method. Background of the invention
网络即时通讯软件出现了群, 发展至今, 群已经成为用户必不可少 的使用工具。 目前, 群会话已经从筒单的多人会话发展成了好友关系链 的延伸, 因此, 用户对群以及群内群友信息的关注度增强。 群动态为提 供了丰富而多元化的群信息的平台, 群动态的实时更新非常重要。 而群 动态作为内嵌网页的一种, 具有网页技术上的局限性, 即网页上的内容 和数据是通过超文本传输协议 ( Http, HyperText Transfer Protocol ) 向 Web服务器请求后得来的, 而 Http协议不能在没有浏览器 Web请求的 时候主动向 Web实时推送信息。  Network instant messaging software has emerged as a group, and since its inception, the group has become an indispensable tool for users. At present, group conversations have evolved from a multi-person conversation in a single order to an extension of a friendship relationship chain. Therefore, the user's attention to the group and group friends information in the group is enhanced. Group dynamics provides a platform for rich and diverse group information, and real-time updates of group dynamics are very important. As a kind of embedded webpage, group dynamics has the limitation of webpage technology, that is, the content and data on the webpage are obtained by requesting the web server through Hypertext Transfer Protocol (Http, Http, Http The protocol cannot actively push information to the Web in real time without a browser web request.
目前,要使 Web服务器的更新快速在网页响应,可以在网页中通过 脚本语言设置定时器, 定时向 Web服务器发起请求, 如果 Web服务器 有更新就会返回更新信息。但由于需要定时向 Web服务器发起请求, 因 此浪费了带宽, 并增加了 Web服务器的压力; 而且, 若定时间隔设置太 长, 也不能实现太好的实时效果。 发明内容  At present, in order to make the update of the web server quickly respond to the webpage, the timer can be set in the webpage through the scripting language, and the request is periodically sent to the web server, and the update information is returned if the web server is updated. However, due to the need to periodically initiate a request to the Web server, bandwidth is wasted and the pressure on the Web server is increased. Moreover, if the timing interval is set too long, too good real-time effects cannot be achieved. Summary of the invention
基于此,有必要提供一种网页数据更新系统, 能减轻 Web服务器和 网络带宽压力, 提高数据更新速度。  Based on this, it is necessary to provide a webpage data update system, which can alleviate the pressure on the web server and network bandwidth, and improve the data update speed.
此外,还有必要提供一种网页数据更新方法, 能减轻 Web服务器和 网络带宽压力, 提高数据更新速度。 一种网页数据更新系统, 所述系统包括: In addition, it is necessary to provide a method for updating webpage data, which can alleviate the pressure on the web server and network bandwidth, and improve the data update speed. A webpage data update system, the system comprising:
Web服务器, 用于记录更新信息并将更新信息传输给通讯服务器; 通讯服务器, 用于接收所述更新信息, 对所述更新信息进行处理, 并将处理后的更新信息通过面向连接的加密协议发送给即时通讯客户 端;  a web server, configured to record update information and transmit the update information to the communication server; the communication server is configured to receive the update information, process the update information, and send the processed update information through a connection-oriented encryption protocol To the instant messaging client;
即时通讯客户端, 用于接收所述处理后的更新信息, 并根据所述处 理后的更新信息得到控制信息和更新的内容信息, 根据所述控制信息和 更新的内容信息进行网页更新操作。  The instant messaging client is configured to receive the processed update information, obtain control information and updated content information according to the processed update information, and perform a webpage update operation according to the control information and the updated content information.
优选地, 所述通讯服务器对所述更新信息的处理为打包和加密, 所 述即时通讯客户端包括:  Preferably, the processing of the update information by the communication server is packaging and encryption, and the instant messaging client includes:
协议处理器, 用于对接收到的处理后的更新信息进行解密和解析处 理, 得到控制信息和更新的内容信息, 并将所述控制信息和更新的内容 信息传输给网页模块;  a protocol processor, configured to decrypt and parse the received processed update information, obtain control information and updated content information, and transmit the control information and the updated content information to the webpage module;
网页模块, 用于创建内嵌网页, 根据所述控制信息和更新的内容信 息进行网页更新操作。  The webpage module is configured to create an embedded webpage, and perform a webpage update operation according to the control information and the updated content information.
优选地, 所述控制信息包括网页更新方式和需更新的网页的标识 号, 所述更新的内容信息包括更新的函数名和参数列表。  Preferably, the control information includes a webpage update mode and an identification number of the webpage to be updated, and the updated content information includes an updated function name and a parameter list.
优选地,所述网页模块通过刷新网页和 /或调用网页的脚本函数对网 页进行更新操作。  Preferably, the webpage module performs an update operation on the webpage by refreshing the webpage and/or calling a script function of the webpage.
优选地, 所述网页的脚本函数的格式包括操作类型、 网页标识号和 数据内容。  Preferably, the format of the script function of the webpage includes an operation type, a webpage identification number, and a data content.
优选地,所述网页模块还用于直接向所述 Web服务器拉取更新的内 容信息对网页进行更新操作。  Preferably, the webpage module is further configured to perform an update operation on the webpage by directly pulling the updated content information to the web server.
一种网页数据更新方法, 包括以下步骤:  A method for updating webpage data, comprising the following steps:
A. 记录更新信息并将更新信息发送出去; B. 接收该更新信息, 对更新信息进行处理, 并将处理后的更新信 息通过面向连接的加密协议发送给即时通讯客户端; A. Record the update information and send the update information; B. receiving the update information, processing the update information, and sending the processed update information to the instant messaging client through a connection-oriented encryption protocol;
C. 所述即时通讯客户端接收处理后的更新信息, 并根据所述处理 后的更新信息得到控制信息和更新的内容信息, 根据所述控制信息和更 新的内容信息进行网页更新操作。  C. The instant messaging client receives the processed update information, and obtains control information and updated content information according to the processed update information, and performs a webpage update operation according to the control information and the updated content information.
优选地, 所述对更新信息进行处理包括: 对所述更新信息进行打包 和加密;  Preferably, the processing the update information comprises: packaging and encrypting the update information;
所述根据所述处理后的更新信息得到控制信息和更新的内容信息 包括: 对所述处理后的更新信息进行解密和解析处理, 得到控制信息和 更新的内容信息。  The obtaining the control information and the updated content information according to the processed update information comprises: decrypting and parsing the processed update information to obtain control information and updated content information.
优选地, 所述控制信息包括网页更新方式和需更新的网页的标识 号; 所述更新的内容信息包括更新的函数名和参数列表。  Preferably, the control information includes a webpage update mode and an identification number of the webpage to be updated; the updated content information includes an updated function name and a parameter list.
优选地, 所述网页更新操作具体是: 通过刷新网页和 /或调用网页的 脚本函数对网页进行更新操作。  Preferably, the webpage update operation is specifically: performing an update operation on the webpage by refreshing the webpage and/or calling a script function of the webpage.
优选地, 所述网页的脚本函数的格式包括操作类型、 网页标识号和 数据内容。  Preferably, the format of the script function of the webpage includes an operation type, a webpage identification number, and a data content.
优选地, 所述方法还包括: 所述即时通讯客户端直接拉取所述更新 的内容信息对网页进行更新操作。  Preferably, the method further includes: the instant messaging client directly pulling the updated content information to perform an update operation on the webpage.
上述网页数据更新系统及方法中, 将更新信息通过通讯服务器处理 后通过面向连接的加密协议发送给即时通讯客户端, 即时通讯客户端中 的协议处理器根据更新信息得到控制信息和数据信息, 并根据控制信息 和数据信息进行网页更新操作, 不用定时发送请求信息, 减轻了 Web 服务器和网络带宽的压力, 即时通讯客户端的网页更新响应也更快速, 操作筒单, 不用复杂的网页脚本, 性能高。  In the above webpage data updating system and method, the update information is sent to the instant messaging client through the connection-oriented encryption protocol after being processed by the communication server, and the protocol processor in the instant messaging client obtains the control information and the data information according to the update information, and The webpage update operation is performed according to the control information and the data information, and the request information is not sent periodically, thereby reducing the pressure on the web server and the network bandwidth, and the webpage update response of the instant messaging client is also faster, the operation is simple, the complicated webpage script is not used, and the performance is high. .
另外, 采用直接从 Web服务器拉取更新的内容信息的方式, 能够使 数据更新更加快速及时, 达到更好的实时更新的效果。 附图简要说明 In addition, by adopting a method of directly extracting updated content information from a web server, it is possible to Data updates are faster and more timely, achieving better real-time updates. BRIEF DESCRIPTION OF THE DRAWINGS
下面将通过参照附图详细描述本发明的示例性实施例, 使本领域的 普通技术人员更清楚本发明的上述及其它特征和优点, 附图中:  The above and other features and advantages of the present invention will become more apparent to those skilled in the <
图 1为一个实施例中网页数据更新系统的结构示意图;  1 is a schematic structural diagram of a webpage data update system in an embodiment;
图 2为另一个实施例中即时通讯客户端的结构示意图;  2 is a schematic structural diagram of an instant messaging client in another embodiment;
图 3为一个实施例中网页数据更新方法的流程图。 实施本发明的方式  FIG. 3 is a flow chart of a method for updating webpage data in an embodiment. Mode for carrying out the invention
如图 1所示, 一种网页数据更新系统, 包括 Web服务器 10、 通讯 服务器 20和即时通讯客户端 30。 其中:  As shown in FIG. 1, a webpage data updating system includes a web server 10, a communication server 20, and an instant messaging client 30. among them:
Web服务器 10是为即时通讯客户端 30提供更新信息的服务中心, 用于记录更新信息并将更新信息传输给通讯服务器 20。 在一个实施例 中, 如在一个群社区内, Web服务器 10用于记录该群社区发生的事件, 并将更新信息传输给通讯服务器 20。 Web服务器 10可将更新信息通过 内联网中的传输控制协议( TCP , Transmission Control Protocol )的高速 通道传输给通讯服务器 20。  The web server 10 is a service center that provides update information to the instant messaging client 30 for recording update information and transmitting the update information to the communication server 20. In one embodiment, as in a group community, the web server 10 is used to record events that occur in the group community and transmit update information to the communication server 20. The Web server 10 can transmit the update information to the communication server 20 through the high speed channel of the Transmission Control Protocol (TCP) in the intranet.
通讯服务器 20与 Web服务器 10相连,接收更新信息, 并将更新信 息的原始数据进行打包和加密等处理, 再将处理后的更新信息通过面向 连接的加密协议发送给即时通讯客户端 30。  The communication server 20 is connected to the Web server 10, receives the update information, and processes and encrypts the original data of the update information, and then transmits the processed update information to the instant messaging client 30 through the connection-oriented encryption protocol.
其中,通讯服务器 20和即时通讯客户端 30进行通信是基于 TCP协 议或用户数据包协议( UDP, User Datagram Protocol )之上制定的面向 连接的加密协议的, 连接建立后, 通讯服务器 20和即时通讯客户端 30 会保持这个连接的通道, 因此在任意时刻数据传输可以从任意一方发 起, 通讯服务器 20可以不用在即时通讯客户端 30发起请求的前提下, 主动向即时通讯客户端 30发送数据。 The communication between the communication server 20 and the instant messaging client 30 is based on the connection protocol-based encryption protocol established on the TCP protocol or the User Datagram Protocol (UDP). After the connection is established, the communication server 20 and the instant messaging Client 30 will maintain the channel for this connection, so data can be sent from either side at any time. As a result, the communication server 20 can actively send data to the instant messaging client 30 without initiating a request by the instant messaging client 30.
即时通讯客户端 30接收处理后的更新信息, 并对其进行解密和解 析等处理, 得到控制信息和更新的内容信息, 并根据该控制信息和更新 的内容信息进行网页更新操作。 如图 2所示, 在一个实施例中, 即时通 讯客户端 30包括协议处理器 300和网页模块 301。 其中:  The instant messaging client 30 receives the processed update information, decrypts and parses it, and obtains control information and updated content information, and performs a web page update operation based on the control information and the updated content information. As shown in FIG. 2, in one embodiment, the instant messaging client 30 includes a protocol processor 300 and a web page module 301. among them:
协议处理器 300接收通讯服务器 20发送的处理后的更新信息, 并 对其进行解密和解析处理, 得到控制信息和更新的内容信息, 将控制信 息和更新的内容信息发送给网页模块 301 ; 网页模块 301接收到控制信 息和更新的内容信息后进行网页更新操作。 在一个实施方式中, 控制信 息包括网页更新方式和需更新的网页的标识号; 更新的内容信息包括更 新的函数名和参数列表等。 参数列表包括参数类型和参数内容等。  The protocol processor 300 receives the processed update information sent by the communication server 20, decrypts and parses the same, obtains the control information and the updated content information, and sends the control information and the updated content information to the webpage module 301; After receiving the control information and the updated content information, the 301 performs a webpage update operation. In one embodiment, the control information includes a web page update mode and an identification number of the web page to be updated; the updated content information includes an updated function name and parameter list, and the like. The parameter list includes parameter types and parameter contents.
在一个实施例中, 在群动态网页中, 网页模块 301可创建多个内嵌 网页, 如多个内嵌网页为内嵌网页 1、 内嵌网页 2 内嵌网页 n。 根据网页模块 301创建的多个内嵌网页的每个内嵌网页的标识号( ID号 ) 和每个内嵌网页所在的群号确定需更新的具体网页。 网页模块 301接收 到控制信息和更新的内容信息后进行网页更新操作。 网页更新操作具体 可通过刷新网页和 /或调用网页的脚本函数(如 JavaScript脚本函数)来 实现。 其中, 刷新网页即重新加载网页的网址; 所述脚本函数符合网页 模块 301和 Web服务器 10共同设定的函数格式。 该函数格式包括操作 类型、 网页标识号和数据内容等。 在一个实施例中, 该函数格式可采用 如表 1所示的格式:  In one embodiment, in the group dynamic webpage, the webpage module 301 can create a plurality of embedded webpages, such as a plurality of embedded webpages as an embedded webpage 1, an embedded webpage 2, an embedded webpage n. The specific page to be updated is determined according to the identification number (ID number) of each embedded webpage of the plurality of embedded webpages created by the webpage module 301 and the group number of each embedded webpage. The web page module 301 receives the control information and the updated content information and performs a web page update operation. Web page update operations can be implemented by refreshing web pages and/or scripting functions that call web pages, such as JavaScript script functions. The refreshing webpage reloads the webpage of the webpage; the script function conforms to a function format set by the webpage module 301 and the web server 10. The function format includes the operation type, web page identification number, and data content. In one embodiment, the function format can be in the format shown in Table 1:
表 1  Table 1
操作类型 网页 ID 数据内容  Operation Type Web Page ID Data Content
1: 刷新网页 主 ID号:即内嵌网页标识号 无 子 ID号: 群号 函数名 1: Refresh the main ID number of the webpage: that is, the embedded webpage identification number is not Sub ID number: group number function name
2: JavaScript 函数  2: JavaScript function
参数 type值 调用  Parameter type value call
参数 content值 其中, 当操作类型为 1时, 表示刷新网页, 数据内容为空; 当操作 类型为 2时, 表示调用网页的脚本函数, 数据内容包括函数名、 参数类 型和参数内容。 无论操作类型为 1还是 2, 网页标识号(ID号)均是必 须的, 网页标识号可包括内嵌网页标识号和群号。  Parameter content value where, when the operation type is 1, it means to refresh the webpage, the data content is empty; when the operation type is 2, it means the script function of calling the webpage, the data content includes the function name, the parameter type and the parameter content. Regardless of whether the operation type is 1 or 2, the webpage identification number (ID number) is required, and the webpage identification number may include the embedded webpage identification number and the group number.
另外, 网页模块 301创建的某个内嵌网页接收到调用脚本函数(如 JavaScript脚本函数)更新的操作方式,该脚本函数中可以包含更新的内 容信息, 该内嵌网页根据约定的实现操作, 直接将更新的内容信息显示 出来。 这样无论在格式和内容上都实现了最大的灵活, Web服务器 10 可以随时随地修改更新的内容和更新的格式, 只要控制刷新网页, 新的 脚本函数就会被动态更新,更新的内容也会显示在该内嵌网页中。再者, 网页模块 301也可以直接向 Web服务器 10拉取更新的内容信息, 对网 页进行更新操作。 在一个实施例中, 例如在群会话窗口中, 群动态窗口 的网页显示了该群中很多丰富的动态信息, 在打开群会话窗口时, 当群 社区发生新事件时, 群动态网页会立即更新, 不用重新刷新网页或重新 打开窗口。  In addition, an embedded webpage created by the webpage module 301 receives an operation mode of calling a script function (such as a JavaScript script function), and the script function may include updated content information, and the embedded webpage is directly implemented according to the agreed implementation. Display the updated content information. In this way, the maximum flexibility is achieved in both format and content. Web server 10 can modify the updated content and updated format anytime and anywhere. As long as the control refreshes the webpage, the new script function will be dynamically updated, and the updated content will also be displayed. In the embedded web page. Moreover, the webpage module 301 can also directly pull the updated content information to the web server 10 to perform an update operation on the webpage. In one embodiment, for example, in a group session window, the webpage of the group dynamic window displays a lot of rich dynamic information in the group. When the group session window is opened, when the group community has a new event, the group dynamic webpage is updated immediately. , without having to refresh the page or reopen the window.
如图 3所示, 一种网页数据更新方法, 包括以下步骤:  As shown in FIG. 3, a method for updating webpage data includes the following steps:
步骤 S10, 记录更新信息并将更新信息发送出去。  In step S10, the update information is recorded and the update information is sent out.
在一个实施方式中, 通过 Web服务器 10记录更新信息并将更新信 息发送到通讯服务器 20。 在一个实施例中, 如在一个群社区内, Web服 务器 10 用于记录该群社区发生的事件, 并将更新信息传输给通讯服务 器 20。 Web服务器 10将更新信息通过内联网中的 TCP协议的高速通道 传输给通讯服务器 20。 步骤 S20, 接收该更新信息, 对更新信息进行处理, 并将处理后的 更新信息通过面向连接的加密协议发送给即时通讯客户端 30。 In one embodiment, the update information is recorded by the web server 10 and sent to the communication server 20. In one embodiment, as in a group community, the web server 10 is configured to record events that occur in the group community and transmit the update information to the communication server 20. The web server 10 transmits the update information to the communication server 20 through the high speed channel of the TCP protocol in the intranet. Step S20: Receive the update information, process the update information, and send the processed update information to the instant messaging client 30 through the connection-oriented encryption protocol.
通讯服务器 20接收到更新信息后, 对更新信息的原始数据进行打 包和加密等处理, 然后将处理后的更新信息发送给即时通讯客户端 30。 其中,通讯服务器 20和即时通讯客户端 30进行通信是基于 TCP协议或 UDP协议之上制定的面向连接的加密协议的, 连接建立后, 通讯服务器 20和即时通讯客户端 30会保持这个连接的通道, 因此在任意时刻数据 传输可以从任意一方发起, 通讯服务器 20可以不用在即时通讯客户端 30发起请求的前提下, 主动向即时通讯客户端 30发送数据。  After receiving the update information, the communication server 20 performs processing such as packetizing and encrypting the original data of the update information, and then transmits the processed update information to the instant messaging client 30. The communication between the communication server 20 and the instant messaging client 30 is based on a connection-oriented encryption protocol established on the TCP protocol or the UDP protocol. After the connection is established, the communication server 20 and the instant messaging client 30 maintain the connection channel. Therefore, the data transmission can be initiated from any party at any time, and the communication server 20 can actively send data to the instant messaging client 30 without initiating a request by the instant messaging client 30.
步骤 S30, 即时通讯客户端 30接收处理后的更新信息, 并根据处理 后的更新信息得到控制信息和更新的内容信息, ^据控制信息和更新的 内容信息进行网页更新操作。  Step S30, the instant messaging client 30 receives the processed update information, and obtains the control information and the updated content information according to the processed update information, and performs a webpage update operation according to the control information and the updated content information.
在一个实施方式中, 即时通讯客户端 30包括协议处理器 300和网 页模块 301。协议处理器 300接收通讯服务器 20发送的处理后的更新信 息, 并对更新信息进行解密和解析, 得到控制信息和更新的内容信息, 并将控制信息和更新的内容信息发送给网页模块 301 ; 网页模块 301接 收到控制信息和更新的内容信息后进行网页更新操作。 其中, 控制信息 包括网页更新方式和需更新的网页的标识号。 更新的内容信息包括更新 的函数名和参数列表等。 参数列表包括参数类型和参数内容等。  In one embodiment, the instant messaging client 30 includes a protocol processor 300 and a web page module 301. The protocol processor 300 receives the processed update information sent by the communication server 20, decrypts and parses the update information, obtains the control information and the updated content information, and sends the control information and the updated content information to the webpage module 301; The module 301 receives the control information and the updated content information and performs a web page update operation. The control information includes a webpage update method and an identification number of the webpage to be updated. The updated content information includes updated function names, parameter lists, and the like. The parameter list includes parameter types and parameter contents.
在一个实施例中,网页更新操作具体为通过刷新网页和 /或调用网页 的脚本函数来实现。 刷新网页即重新加载网页的网址; 所述脚本函数符 合网页模块 301和 Web服务器 10共同设定的函数格式。 该函数格式包 括操作类型、 网页标识号和数据内容等。 在一个实施例中, 函数格式可 采用如表 1所述的格式。 网页模块 301创建的某个内嵌网页接收到调用 脚本函数(如 JavaScript脚本函数) 更新的操作方式, 该脚本函数中包 含有更新的内容信息, 该内嵌网页根据约定的实现操作, 直接将更新的 内容信息显示出来。 In one embodiment, the web page update operation is specifically implemented by a script function that refreshes the web page and/or invokes the web page. Refreshing the webpage reloads the webpage of the webpage; the script function conforms to a function format set by the webpage module 301 and the web server 10. The function format includes the operation type, web page identification number, and data content. In one embodiment, the function format can take the format described in Table 1. An embedded webpage created by the webpage module 301 receives an update operation mode of a calling script function (such as a JavaScript script function), and the script function package Containing updated content information, the embedded web page directly displays the updated content information according to the agreed implementation operation.
在另一个实施例中, 上述网页数据更新方法还包括通过即时通讯客 户端 30 直接拉取更新的内容信息, 并进行网页更新操作, 即网页模块 301也可以直接向 Web服务器 10拉取更新的内容信息。 在一个实施例 中, 群会话窗口中, 群动态窗口的网页显示了该群中很多丰富的动态信 息, 在打开群会话窗口时, 当群社区发生新事件时, 群动态网页会立即 更新, 不用重新刷新网页或重新打开窗口。  In another embodiment, the method for updating the webpage data further includes directly extracting the updated content information by the instant messaging client 30, and performing a webpage update operation, that is, the webpage module 301 can also directly pull the updated content to the web server 10. information. In an embodiment, in the group session window, the webpage of the group dynamic window displays a lot of rich dynamic information in the group. When the group session window is opened, when a new event occurs in the group community, the group dynamic webpage is updated immediately, without Refresh the page or reopen the window.
上述网页数据更新系统及方法中, 将更新信息通过通讯服务器处理 后通过面向连接的加密协议发送给即时通讯客户端, 即时通讯客户端的 协议处理器根据更新信息得到控制信息和数据信息, 并根据控制信息和 数据信息进行网页更新操作, 不用定时发送请求信息,减轻了 Web服务 器和网络带宽的压力, 即时通讯客户端的网页更新响应也更快速, 操作 筒单, 不用复杂的网页脚本, 性能高。  In the above webpage data updating system and method, the update information is sent to the instant messaging client through the connection-oriented encryption protocol after being processed by the communication server, and the protocol processor of the instant messaging client obtains the control information and the data information according to the update information, and according to the control The information and data information is updated by the webpage, and the request information is not sent periodically, which reduces the pressure on the web server and the network bandwidth. The instant messaging client's webpage update response is also faster, the operation is simple, and the complicated webpage script is not required, and the performance is high.
另外, 采用直接从 Web服务器拉取更新的内容信息的方式, 能够使 数据更新更加快速, 达到更好的实时更新的效果。  In addition, the method of pulling updated content information directly from the web server can make the data update faster and achieve better real-time update effect.
以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡 在本发明的精神和原则之内, 所做的任何修改、 等同替换、 改进等, 均 应包含在本发明的保护范围之内。  The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalents, improvements, etc., which are made within the spirit and principles of the present invention, should be included in the present invention. Within the scope of protection.

Claims

权利要求书 Claim
1、 一种网页数据更新系统, 其特征在于, 所述系统包括:  A webpage data updating system, wherein the system comprises:
Web服务器, 用于记录更新信息并将更新信息传输给通讯服务器; 通讯服务器, 用于接收所述更新信息, 对所述更新信息进行处理, 并将处理后的更新信息通过面向连接的加密协议发送给即时通讯客户 端;  a web server, configured to record update information and transmit the update information to the communication server; the communication server is configured to receive the update information, process the update information, and send the processed update information through a connection-oriented encryption protocol To the instant messaging client;
即时通讯客户端, 用于接收所述处理后的更新信息, 并根据所述处 理后的更新信息得到控制信息和更新的内容信息, 根据所述控制信息和 更新的内容信息进行网页更新操作。  The instant messaging client is configured to receive the processed update information, obtain control information and updated content information according to the processed update information, and perform a webpage update operation according to the control information and the updated content information.
2、 根据权利要求 1 所述的网页数据更新系统, 其特征在于, 所述 通讯服务器对所述更新信息的处理为打包和加密, 所述即时通讯客户端 包括:  2. The webpage data update system according to claim 1, wherein the processing of the update information by the communication server is packaging and encryption, and the instant messaging client comprises:
协议处理器, 用于对接收到的处理后的更新信息进行解密和解析处 理, 得到控制信息和更新的内容信息, 并将所述控制信息和更新的内容 信息传输给网页模块;  a protocol processor, configured to decrypt and parse the received processed update information, obtain control information and updated content information, and transmit the control information and the updated content information to the webpage module;
网页模块, 用于创建内嵌网页, 根据所述控制信息和更新的内容信 息进行网页更新操作。  The webpage module is configured to create an embedded webpage, and perform a webpage update operation according to the control information and the updated content information.
3、 根据权利要求 1或 2所述的网页数据更新系统, 其特征在于, 所述控制信息包括网页更新方式和需更新的网页的标识号, 所述更新的 内容信息包括更新的函数名和参数列表。  The webpage data updating system according to claim 1 or 2, wherein the control information includes a webpage update mode and an identification number of the webpage to be updated, and the updated content information includes an updated function name and a parameter list. .
4、 根据权利要求 2所述的网页数据更新系统, 其特征在于, 所述 网页模块通过刷新网页和 /或调用网页的脚本函数对网页进行更新操作。  The webpage data updating system according to claim 2, wherein the webpage module performs an update operation on the webpage by refreshing the webpage and/or calling a script function of the webpage.
5、 根据权利要求 4所述的网页数据更新系统, 其特征在于, 所述 网页的脚本函数的格式包括操作类型、 网页标识号和数据内容。 The webpage data updating system according to claim 4, wherein the format of the script function of the webpage comprises an operation type, a webpage identification number, and data content.
6、根据权利要求 2、 4或 5所述的网页数据更新系统, 其特征在于, 所述网页模块还用于直接向所述 Web服务器拉取更新的内容信息对网 页进行更新操作。 The webpage data updating system according to claim 2, 4 or 5, wherein the webpage module is further configured to directly update the webpage to the web server to perform an update operation on the webpage.
7、 一种网页数据更新方法, 其特征在于, 包括以下步骤:  7. A method for updating a webpage data, comprising the steps of:
A. 记录更新信息并将更新信息发送出去;  A. Record the update information and send the update information;
B. 接收该更新信息, 对更新信息进行处理, 并将处理后的更新信 息通过面向连接的加密协议发送给即时通讯客户端;  B. receiving the update information, processing the update information, and transmitting the processed update information to the instant messaging client through a connection-oriented encryption protocol;
C. 所述即时通讯客户端接收处理后的更新信息, 并根据所述处理 后的更新信息得到控制信息和更新的内容信息, 根据所述控制信息和更 新的内容信息进行网页更新操作。  C. The instant messaging client receives the processed update information, and obtains control information and updated content information according to the processed update information, and performs a webpage update operation according to the control information and the updated content information.
8、 根据权利要求 7 所述的网页数据更新方法, 其特征在于, 所述 对更新信息进行处理包括: 对所述更新信息进行打包和加密;  The method for updating webpage data according to claim 7, wherein the processing the update information comprises: packaging and encrypting the update information;
所述根据所述处理后的更新信息得到控制信息和更新的内容信息 包括: 对所述处理后的更新信息进行解密和解析处理, 得到控制信息和 更新的内容信息。  The obtaining the control information and the updated content information according to the processed update information comprises: decrypting and parsing the processed update information to obtain control information and updated content information.
9、 根据权利要求 7或 8所述的网页数据更新方法, 其特征在于, 所述控制信息包括网页更新方式和需更新的网页的标识号; 所述更新的 内容信息包括更新的函数名和参数列表。  The method for updating a webpage data according to claim 7 or 8, wherein the control information includes a webpage update mode and an identification number of the webpage to be updated; the updated content information includes an updated function name and a parameter list. .
10、 根据权利要求 7或 8所述的网页数据更新方法, 其特征在于, 所述网页更新操作具体是:通过刷新网页和 /或调用网页的脚本函数对网 页进行更新操作。  The webpage data updating method according to claim 7 or 8, wherein the webpage updating operation is specifically: updating a webpage by refreshing a webpage and/or a script function of calling a webpage.
11、 根据权利要求 10 所述的网页数据更新方法, 其特征在于, 所 述网页的脚本函数的格式包括操作类型、 网页标识号和数据内容。  The webpage data updating method according to claim 10, wherein the format of the script function of the webpage comprises an operation type, a webpage identification number, and a data content.
12、 根据权利要求 7或 8所述的网页数据更新方法, 其特征在于, 所述方法还包括: 所述即时通讯客户端直接拉取所述更新的内容信息对 网页进行更新操作。 The method for updating webpage data according to claim 7 or 8, wherein the method further comprises: directly extracting, by the instant messaging client, the updated content information pair The web page is updated.
PCT/CN2010/079661 2010-01-21 2010-12-10 Method and system for updating web page data WO2011088711A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010102171.7 2010-01-21
CN201010102171.7A CN102137126B (en) 2010-01-21 2010-01-21 System and method for updating web data

Publications (1)

Publication Number Publication Date
WO2011088711A1 true WO2011088711A1 (en) 2011-07-28

Family

ID=44296781

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/079661 WO2011088711A1 (en) 2010-01-21 2010-12-10 Method and system for updating web page data

Country Status (2)

Country Link
CN (1) CN102137126B (en)
WO (1) WO2011088711A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379015B (en) * 2012-04-12 2017-03-01 阿里巴巴集团控股有限公司 The data transmission method of Website server and IM client and its device and system
CN103491066B (en) 2012-06-14 2016-03-16 腾讯科技(深圳)有限公司 The method that the page shows, system, server device and client device
CN109768921B (en) * 2012-11-30 2021-07-27 腾讯科技(深圳)有限公司 Data transparent transmission method and corresponding instant communication terminal
CN104657121B (en) * 2013-11-21 2019-01-18 中国银联股份有限公司 Data processing system and device
CN105471953B (en) * 2014-09-10 2019-10-15 腾讯科技(深圳)有限公司 Customer terminal webpage dynamic display method, device and system
CN104346473B (en) * 2014-11-19 2018-11-02 北京奇虎科技有限公司 The method and apparatus for obtaining identification code for webpage, obtaining webpage external information
CN105245418B (en) * 2015-10-12 2019-05-21 中国联合网络通信集团有限公司 A kind of control method of smart home device, equipment and system
CN110138573B (en) * 2018-02-09 2021-09-28 腾讯科技(深圳)有限公司 Conference state prompting method, server, intelligent terminal and storage medium
CN108932328A (en) * 2018-07-03 2018-12-04 郑州云海信息技术有限公司 A kind of page info update method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1742265A (en) * 2003-11-25 2006-03-01 索尼株式会社 Service management apparatus, service management method, service providing system, and service providing method
CN100407644C (en) * 2005-05-25 2008-07-30 中兴通讯股份有限公司 Method for displaying real-time data in web network management system
KR20090000160A (en) * 2007-01-19 2009-01-07 (주)네오위즈게임즈 Method for providing update information service about web page and server, computer-readable recording medium with program therefore
US20090292667A1 (en) * 2008-05-22 2009-11-26 Nec Electronics Corporation Automatic updating apparatus, automatic updating method, and programmable storage medium embodying program to perform method for automatic updating
CN101620635A (en) * 2009-08-07 2010-01-06 中兴通讯股份有限公司 Page data obtaining method and server, page updating method and server

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7305672B2 (en) * 2004-01-06 2007-12-04 International Business Machines Corporation Dynamic software update system, method and program product
CN100407642C (en) * 2004-12-01 2008-07-30 华为技术有限公司 Realtime updating method for net page data
CN100462964C (en) * 2005-12-22 2009-02-18 腾讯科技(深圳)有限公司 Updating display method for webpage data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1742265A (en) * 2003-11-25 2006-03-01 索尼株式会社 Service management apparatus, service management method, service providing system, and service providing method
CN100407644C (en) * 2005-05-25 2008-07-30 中兴通讯股份有限公司 Method for displaying real-time data in web network management system
KR20090000160A (en) * 2007-01-19 2009-01-07 (주)네오위즈게임즈 Method for providing update information service about web page and server, computer-readable recording medium with program therefore
US20090292667A1 (en) * 2008-05-22 2009-11-26 Nec Electronics Corporation Automatic updating apparatus, automatic updating method, and programmable storage medium embodying program to perform method for automatic updating
CN101620635A (en) * 2009-08-07 2010-01-06 中兴通讯股份有限公司 Page data obtaining method and server, page updating method and server

Also Published As

Publication number Publication date
CN102137126A (en) 2011-07-27
CN102137126B (en) 2015-04-08

Similar Documents

Publication Publication Date Title
WO2011088711A1 (en) Method and system for updating web page data
CN104253742B (en) Virtual WEB real-time Communication for Power gateway is with and related methods, system
WO2007125412B1 (en) Secure transmission system and method
CN104253857B (en) Virtual WEB real-time Communication for Power agency is with and related methods, system back-to-back
US8990412B2 (en) Session sharing system, session sharing method, session sharing program, and user terminal
WO2014019497A1 (en) Real time communication method, terminal device, real time communication server and system
CN102577309A (en) System, method and apparatus for dynamic media file streaming
CN106817341B (en) A kind of Session Initiation Protocol throttling Transmission system and method towards mobile Internet
US20120287224A1 (en) Video chat within a webpage and video instant messaging
US9391943B2 (en) Method, apparatus, and computer program product for reducing session related message size
WO2016177121A1 (en) File transmission method and device, and application server
WO2016086755A1 (en) Packet processing method and transparent proxy server
US10587733B2 (en) Server-side HTTP translator
US20080025306A1 (en) Internet protocol television system, method for providing internet protocol multicast TV signal, TV transferring apparatus, and TV receiving apparatus
CN103973541B (en) A kind of method and apparatus that Multimedia Message is sent to group member
EP2605586A1 (en) Stream media channel switch method, switch agent, client and terminal
CN107809681B (en) It is sliced the method and device of transmission of video
CN103888433B (en) A kind of method and system communicated between browser client and IM clients
TWI298590B (en) A method for transporting real-time audio and video data
CN101420420A (en) Method and device for data stream type transmission
CN107769909A (en) The method that a kind of front end data of Egret engines sends processing
CN107172179B (en) Bilateral acceleration transmission method and system
WO2016090912A1 (en) Method, device, terminal and system for generating and playing live video
CN111222074A (en) Message pushing method and system based on Websocket protocol
WO2014101095A1 (en) Redirection method and network device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10843751

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 7061/CHENP/2012

Country of ref document: IN

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 27/09/2012)

122 Ep: pct application non-entry in european phase

Ref document number: 10843751

Country of ref document: EP

Kind code of ref document: A1