Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberCN104144224 A
Publication typeApplication
Application numberCN 201410419044
Publication date12 Nov 2014
Filing date22 Aug 2014
Priority date22 Aug 2014
Publication number201410419044.8, CN 104144224 A, CN 104144224A, CN 201410419044, CN-A-104144224, CN104144224 A, CN104144224A, CN201410419044, CN201410419044.8
Inventors郭富森, 秀丽蕴, 张菊元
Applicant北京奇虎科技有限公司, 奇智软件(北京)有限公司
Export CitationBiBTeX, EndNote, RefMan
External Links: SIPO, Espacenet
Method and device for displaying released information through client side
CN 104144224 A
Abstract
The invention discloses a method and device for displaying released information through a client side. The method includes the steps that the released information to be loaded and displayed is acquired; a loading and displaying request for a first type plug-in element is detected; the first type plug-in element is embedded into a first local webpage of the client side, wherein scripts for displaying the released information are injected into the first webpage; when the first webpage is loaded, the scripts for displaying the released information are operated, and the released information is displayed on the first type plug-in element in the first webpage in a covering mode. The scripts are injected into the first webpage to display the released information, the scripts can support released information of multiple formats, and therefore the problem that the display form of the released information is single is solved. The first type plug-in element is embedded into the first local webpage of the client side, and then the scripts are operated to display the released information while the first webpage is loaded, so that the released information is displayed while the first type plug-in element is loaded.
Claims(10)  translated from Chinese
1. 一种客户端显不发布信息的方法,包括: 获取到将被加载显示的发布信息; 检测到对第一类型的插件元素的加载显示请求; 将所述第一类型的插件元素嵌入到客户端本地的第一网页中,其中在第一网页中注入有显示发布信息用的脚本; 在加载所述第一网页时运行所述显示发布信息的脚本,将所述发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 A client was not to release information, comprising: obtaining the release of information will be loaded display; detecting the loading of the first type of plug-in element is displayed request; the first type of plug-in elements embedded in the Client local first page, which is injected into the first pages of the script used to display Ads; when loading the first page of the script to run the display of information release, the release of information covering shown in the first A web page on the plug-in element of the first type.
2. 根据权利要求1所述的方法,所述获取到将被加载显示的发布信息进一步包括: 启动定时器,每当所述定时器的定时时间到达时,检测是否满足请求发布信息的条件; 若检测出满足请求发布信息的条件,向云端服务器发送携带有上次请求的发布信息的标识的发布信息请求消息,而后获取所述云端服务器根据所述上次请求的发布信息的标识筛选出的新的发布信息作为所述将被加载显示的发布信息。 2. A method according to claim 1, the acquisition will be loaded into the issuing information displayed further comprising: starting a timer whenever said timer timing time is reached, detecting whether the release of information to satisfy the request condition; After detecting the request for release of information to satisfy the conditions of release sent to the cloud server to carry information identifying the last request has released information request message, then the cloud server get screened out based on the identification of the last request released information The new release of the information will be loaded as the release of the information displayed.
3. 根据权利要求2所述的方法,所述检测是否满足请求发布信息的条件进一步包括: 读取本地配置文件,获取本次请求发布信息的时间以及上次请求的发布信息的标识; 检测当前时间是否已经到达所述本次请求发布信息的时间,若是,则检测出满足请求发布信息的条件。 3. The method according to claim 2, wherein detecting whether the release of information to satisfy the request condition further comprising: reading the local configuration file, get this time requesting the release of information and the identification information published last request; detecting current whether the time has arrived at this time requesting the release of information, if requested Ads conditions is detected to meet.
4. 根据权利要求2或3所述的方法,所述发布信息请求消息还携带有用户标识; 所述方法还包括:在所述云端服务器侧利用所述用户标识获取用户的喜好类型,根据用户的喜好类型从发布信息库中选取发布信息;从选取的发布信息中筛除本次请求之前已经获取的发布信息,得到所述新的发布信息。 4. A method according to claim 2 or claim 3, wherein the said release information request message further carries a user identifier; said method further comprising: in the cloud server-side identification of the user to obtain the user preference type, according to the user preferences type selected from the release repository Ads; sieve before publishing information in addition to this request has been obtained from the selected distribution information to give the new release information.
5. 根据权利要求4所述的方法,在接收到所述云端服务器筛选出的新的发布信息之后还包括:计算下次请求发布信息的时间,将下次请求发布信息的时间和新的发布信息的标识记录到本地配置文件中。 5. The method according to claim 4, wherein, after receiving the cloud server screened new release information further comprises: Ads of time calculating the next request, the next request release time and a new release of information identification information to a local profile.
6. 根据权利要求4所述的方法,所述方法还包括:如果在所述云端服务器侧没有筛选出所述新的发布信息,则接收所述云端服务器返回的下次请求发布信息的时间,将所述下次请求发布信息的时间记录到本地配置文件中。 6. The method according to claim 4, wherein said method further comprises: if there is no filter out the new release information on the cloud server side, the receiving server the next time the clouds returned request release time information, The time of the next release of information requests to the local profile.
7. 根据权利要求1所述的方法,所述检测到对第一类型的插件元素的加载显示请求具体为:检测到待加载的网页中携带的所述插件元素的加载显示请求; 所述将第一类型的插件元素嵌入到客户端本地的第一网页中进一步包括: 在所述待加载的网页中提取所述插件元素对应的DOM节点; 通过所述DOM节点获取所述插件元素,并将所述插件元素嵌入到客户端本地的第一网页中。 7. The method of claim 1, wherein detecting the loading of the first type of plug elements specifically request the display: detecting a web page to be loaded to the load-carrying elements of the plug-in display request; wherein the The first type of plug-in elements embedded into the client's local first glance further comprising: extracting the plug-in element corresponding DOM node in the page to be loaded; and obtaining the plug-in element through the DOM node, and The plug-in element embedded into the client's local first page.
8. 根据权利要求7所述的方法,所述加载第一网页进一步包括: 同时加载所述待加载的网页和所述第一网页,并且所述第一网页覆盖显示在所述待加载的网页中的第一类型的插件元素之上。 8. The method according to claim 7, further comprising the first web page loading: while loading the page to be loaded and the first page and the first page is displayed in the cover page to be loaded The first type of plug-in elements above.
9. 根据权利要求7所述的方法,所述加载第一网页进一步包括:停止加载所述待加载的网页,加载第一网页。 9. The method according to claim 7, further comprising the first web page loading: stop loading the page to be loaded, loading the first page.
10. -种客户端显示发布信息的装置,包括: 发布信息获取模块,适于获取到将被加载显不的发布信息; 第一检测模块,适于检测到对第一类型的插件元素的加载显示请求; 嵌入模块,适于将所述第一类型的插件元素嵌入到客户端本地的第一网页中,其中在第一网页中注入有显示发布信息用的脚本; 运行模块,适于在加载所述第一网页时运行所述显示发布信息的脚本; 发布信息显示模块,适于将所述发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 10. - kind of client displays device information release, include: publishing information acquisition module adapted to be loaded to obtain the release of the information was not; a first detection module adapted to detect the loading of the first type of plug-in elements display request; embedded module, adapted to the first type of plug-in elements embedded into the client's local first page, which is injected into the first pages of the script used to display Ads; run the module, adapted to load The first page is running the show publish script information; publish information display module, adapted to cover the release of information displayed on the first page of the first type of plug-in elements.
Description  translated from Chinese
客户端显示发布信息的方法及装置 Client display method and apparatus Ads

技术领域 Technical Field

[0001] 本发明涉及互联网技术领域,具体涉及一种客户端显示发布信息的方法及装置。 [0001] The present invention relates to the technical field of the Internet, specifically to a method and device for the client to display the release of information.

背景技术 Background

[0002] 由于HTML(标准通用标记语言下的一个应用)的功能十分有限,无法达到人们的预期设计,为实现令人耳目一新的动态效果,而产生了Flash。 [0002] Since HTML (an application under the Standard Generalized Markup Language) is very limited and can not live up to expectations design for the realization of refreshing dynamic effects arising from the Flash. Flash可以包含简单的动画、 视频内容、复杂演示文稿和应用程序以及介于它们之间的任何内容。 Flash projects can include simple animations, video content, complex presentations, applications, and the range of anything between them. 由于其展现形式丰富多彩而被广泛应用于游戏、动漫或视频等的插件元素。 Because of its rich and varied forms show is widely used in games, animation or video plug-in elements. 为了向用户展示推广信息,一般会在插件元素播放前或播放过程中向用户展示发布信息。 In order to promote the information presented to the user, typically publish information to the user to show or playback before the widget element playback.

[0003]目前,在利用网页显示插件元素前,一般都先显示发布信息,这里的插件元素可以是游戏、动漫、视频等;发布信息指静态或动态的广告。 [0003] Currently, the use of the page is displayed in front of the plug-element, generally to show Ads, where the plug-in elements can be games, animation, video and so on; publish information indicates static or dynamic advertising. 在现有技术中,发布信息的展现形式比较单一,一般只支持图片格式或Flash格式或多媒体格式的广告,内容单调,用户容易对这种单一形式的广告感到厌恶。 In the prior art, the release of information to show in the form of relatively simple, generally supports the picture format or Flash format or media ad formats, monotonous, users easy on the single form of advertising disgusted. 而且现有技术主要是采用先展现发布信息,在发布信息显示结束后才加载插件元素并显示所加载的插件元素,这样在发布信息显示结束后插件元素显示前,会有一段空档时间是没有任何信息可以显示的,因而出现发布信息与插件元素展现分离的问题。 And art is mainly used to show Ads in Ads load the plug after the end of the display element and display plug element loaded, so that after the release of the information display elements appear before the end of the plug-in, there will be a time gap is not Any information that can be displayed to show the release of information and plug-in element separation problem thus appear.

发明内容 DISCLOSURE

[0004] 鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的客户端显示发布信息的方法和相应的客户端显示发布信息的装置。 [0004] In view of the above problems, the present invention is to provide a means of overcoming these problems, or at least partially solve the problem of client displays information published method and corresponding client displays device information released.

[0005] 根据本发明的一个方面,提供了一种客户端显示发布信息的方法,包括: [0005] In accordance with one aspect of the invention, there is provided a client to display Ads, comprising:

[0006] 获取到将被加载显示的发布信息; [0006] get to release the information displayed will be loaded;

[0007] 检测到对第一类型的插件元素的加载显示请求; [0007] detected the loading of the first type of plug-in element display request;

[0008] 将所述第一类型的插件元素嵌入到客户端本地的第一网页中,其中在第一网页中注入有显示发布信息用的脚本; [0008] The first type of plug-in elements embedded into the client's local first page, which is injected into the script used to display information in the first page of the release;

[0009] 在加载所述第一网页时运行所述显示发布信息的脚本,将所述发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 [0009] When the first page load operation of the release script displays information, will cover the release of information displayed on the first page of the first type of plug-in elements.

[0010] 根据本发明的另一方面,提供了一种客户端显示发布信息的装置,包括: [0010] According to another aspect of the present invention, there is provided a client to display Ads, comprising:

[0011] 发布信息获取模块,适于获取到将被加载显示的发布信息; [0011] release information acquisition module adapted to be loaded to obtain the release of the information displayed;

[0012] 第一检测模块,适于检测到对第一类型的插件元素的加载显示请求; [0012] The first detection module is adapted to detect the loading of the first type of plug-in element display request;

[0013] 嵌入模块,适于将所述第一类型的插件元素嵌入到客户端本地的第一网页中,其中在第一网页中注入有显示发布信息用的脚本; [0013] The embedded module is adapted to the first type of plug-in elements embedded into the client's local first page, which is injected into the script used to display information in the first page of the release;

[0014] 运行模块,适于在加载所述第一网页时运行所述显示发布信息的脚本; [0014] Run module adapted to run when loading the first page of the script to display information dissemination;

[0015] 发布信息显示模块,适于将所述发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 [0015] Ads display module is adapted to cover the release of information displayed on the first page of the first type of plug-in elements.

[0016] 根据本发明提供的方案,获取到将被加载显示的发布信息;检测到对第一类型的插件元素的加载显示请求;将所述第一类型的插件元素嵌入到客户端本地的第一网页中, 其中在第一网页中注入有显示发布信息用的脚本;在加载所述第一网页时运行所述显示发布信息的脚本,将所述发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 [0016] According to the present invention provides a program to be loaded to obtain the release of the information display; detecting the loading of the first type of plug-in element is displayed request; the first type of plug-in elements embedded into the client's local section one page, which is injected into the first pages of the script with display Ads; when loading the first page of the script to run the display of information release, the release of information covering the display section of the first page of a type of plug-in elements above. 本发明中,通过在第一网页中注入脚本用来显示发布信息,使用脚本能够支持多种格式的发布信息,克服了发布信息的展现形式单一的问题;通过先将第一类型的插件元素嵌入到客户端本地的第一网页中,然后在加载第一网页的同时运行脚本来展现发布信息,实现了在第一类型的插件元素加载的同时展现发布信息的目的,这样能避免现有技术中先展现发布信息,然后加载第一类型的插件元素所带来的发布信息与第一类型插件元素展现分离的问题。 The present invention, by injecting a script to display the first page of the release of information, the use of scripts to support publishing information in multiple formats, to overcome the release of information to show the form of a single question; the first type by first plug element is embedded local to the client first page, and then loading the first page at the same time run a script to show the release of information to achieve the type of plug-in while the first element of the show is loaded Ads purpose, so to avoid the prior art Ads show first, then load the first type of plug-in elements brought Ads with type plug-in element to show the problem of separation.

[0017] 上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段, 而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。 [0017] The above description is only an overview of the technical solution of the present invention, in order to more clearly understand the techniques of the present invention, and can be implemented in accordance with the prospectus, and in order to make the aforementioned and other objects, features and advantages of the present invention can be more apparent from the following special cite specific embodiment of the present invention.

附图说明 Brief Description

[0018] 通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。 [0018] By reading the following detailed description of preferred embodiments below, a variety of other advantages and benefits to those of ordinary skill will become apparent. 附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。 The drawings are only used to illustrate a preferred embodiment of the purpose, and not as a limitation on the present invention. 而且在整个附图中,用相同的参考符号表示相同的部件。 And throughout the drawings, the same reference numerals denote the same parts. 在附图中: In the drawings:

[0019] 图1示出了根据本发明一个实施例的客户端显示发布信息的方法的流程图; [0019] FIG. 1 shows a flow chart of the release of information based on the client one embodiment of the invention display method;

[0020] 图2示出了根据本发明另一个实施例的客户端显示发布信息的方法的流程图; [0020] FIG. 2 shows a flowchart of the release of information based on the client to another embodiment of the invention display method;

[0021] 图3示出了根据本发明另一个实施例的客户端显示发布信息的方法的流程图; [0021] FIG. 3 shows a flowchart of the release of information based on the client to another embodiment of the invention display method;

[0022] 图4示出了根据本发明一个实施例的客户端显示发布信息的装置的结构框图; [0022] FIG. 4 shows a block diagram of the information distribution apparatus according to the client one embodiment of the invention display;

[0023] 图5示出了根据本发明另一个实施例的客户端显示发布信息的装置的结构框图; [0023] FIG. 5 shows a block diagram of the information distribution apparatus according to the client to another embodiment of the present invention display;

[0024] 图6示出了根据本发明另一个实施例的客户端显示发布信息的装置的结构框图。 [0024] FIG. 6 shows a block diagram of the information distribution apparatus according to the client to another embodiment of the invention is displayed.

具体实施方式 DETAILED DESCRIPTION

[0025] 下面将参照附图更详细地描述本公开的示例性实施例。 [0025] Referring to the drawings exemplary embodiments of the present disclosure described in more detail. 虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。 Although the drawings show exemplary embodiments of the present disclosure, it should be understood that the present disclosure may be implemented embodiments and should not be set forth herein to limit in various forms. 相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。 Rather, these embodiments are provided to more thorough understanding of the present disclosure, and be able to complete the scope of the disclosure convey to those skilled in the art.

[0026] 图1示出了根据本发明一个实施例的客户端显示发布信息的方法的流程图。 [0026] FIG. 1 shows a flow chart of the release of information based on the client one embodiment of the invention display method. 如图1所示,该方法包括以下步骤: As shown in Figure 1, the method comprising the steps of:

[0027] 步骤S100,获取到将被加载显示的发布信息。 [0027] step S100, the display will be loaded to obtain the release of information.

[0028] 可选地,发布信息可以是静态或动态的广告,发布信息的格式可以是Flash格式、 图像格式或多媒体格式。 [0028] Alternatively, the release of the information can be static or dynamic advertising, publishing format information may be Flash format, image format, or multimedia format. 具体地,客户端向云端服务器发送发布信息请求消息,云端服务器根据接收到的发布信息请求消息从发布信息库中选择发布信息,并将选择的发布信息发送给客户端,客户端获取云端服务器发送的发布信息,作为将被加载显示的发布信息。 Specifically, the client sends a release to the cloud server information request message, the cloud server selection Ads from Ads repository based on the received information request message release, publishing information and choice to the client, the server sends the client obtains Cloud The release of information, as will be loaded displayed release information.

[0029] 步骤S110,检测到对第一类型的插件元素的加载显示请求。 [0029] step S110, the detection of the loading of the first type of plug-in elements display request.

[0030] 其中,第一类型的插件元素可以是Flash类型的游戏、动漫或视频等。 [0030] wherein the first type of plug-in elements can be Flash type of games, animation or video. 客户端通过监测用户的操作来检测是否请求加载第一类型的插件元素,例如,若客户端监测到用户通过浏览器访问具有第一类型的插件元素的网页,或者客户端监测到用户打开本地的第一类型的插件元素,则检测到对第一类型的插件元素的加载显示请求。 Clients by monitoring the user's operation to detect whether a request to load the first type of plug-in elements such as, if the client to monitor the user access to pages with the first type of plug-in elements through the browser, or the client to monitor the user to open the local The first type of plug-in element is detected the loading of the first type of plug-in elements display request.

[0031] 步骤S120,将第一类型的插件元素嵌入到客户端本地的第一网页中,其中在第一网页中注入有显示发布信息用的脚本。 [0031] step S120, the first type of plug-in elements embedded into the client's local first page, which is injected into the script used to display information published on the first page.

[0032] 其中,第一网页指第一类型的插件元素显示的网页。 [0032] wherein the first web page refers to the first type of plug-in element will be displayed. 该第一网页为客户端本地的网页,并非从网络侧请求回来的网页。 The first page of the local web client, not the back page request from the network side. 第一网页内部预先注入有用来显示发布信息的脚本。 The first pre-injection internal pages have to display the release scripts.

[0033] 步骤S130,在加载第一网页时运行显示发布信息的脚本,将发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 [0033] step S130, the operation at the time of loading the first page displays information published script, will publish information on the cover display in the first page of the first type of plug-in elements.

[0034] 具体地,由于在第一网页中注入了显示发布信息用的脚本,因此在加载第一网页时,会运行该脚本,通过该脚本来显示发布信息,将发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 [0034] Specifically, since the release of information into the show with a script in the first page, so when loading the first page, will run the script to display Ads through the script and will post information displayed on the first cover Web page on the plug-in element of the first type.

[0035] 根据本发明上述实施例提供的方法,获取到将被加载显示的发布信息;检测到对第一类型的插件元素的加载显示请求;将第一类型的插件元素嵌入到客户端本地的第一网页中,其中在第一网页中注入有显示发布信息用的脚本;在加载第一网页时运行显示发布信息的脚本,将发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 [0035] The process according to embodiments of the present invention provides, access to the published information will be loaded display; detecting the loading of the first type of plug-in element is displayed request; the first type of plug-in elements embedded into the client locally The first page, which is injected into the first pages display the information released by the script; run when loading the first page displays the script information, we will publish the information displayed on the first page of the cover of the first type of plug-in element above. 在本实施例中,通过在第一网页中注入脚本用来显示发布信息,使用脚本能够支持多种格式的发布信息,克服了发布信息的展现形式单一的问题;通过先将第一类型的插件元素嵌入到客户端本地的第一网页中,然后在加载第一网页的同时运行脚本来展现发布信息,实现了在第一类型的插件元素加载的同时展现发布信息的目的,这样能避免现有技术中先展现发布信息,然后加载第一类型的插件元素所带来的发布信息与第一类型插件元素展现分离的问题。 In this embodiment, by injecting a script to display the first page of the release of information, the use of scripts to support publishing information in multiple formats, to overcome the release of information to show the form of a single question; the first type by first plug elements embedded in the client's local first page, and then loading the first page at the same time run a script to show the release of information to achieve the type of plug-in while the first element of the show is loaded Ads purpose, so to avoid existing technology first demonstrated Ads, then loading the first type of plug-in elements brought Ads with type plug-in element to show the problem of separation.

[0036] 图2示出了根据本发明另一个实施例的客户端显示发布信息的方法的流程图。 [0036] FIG. 2 shows a flowchart of the release of information based on the client to another embodiment of the present invention, a display method. 如图2所示,该方法包括以下步骤: 2, the method comprising the steps of:

[0037] 步骤S200,启动定时器,每当定时器的定时时间到达时,检测是否满足请求发布信息的条件,若检测出满足请求发布信息的条件则执行步骤S201 ;若检测出不满足请求发布信息的条件则方法结束。 [0037] step S200, starts the timer, the timer whenever the fixed time, detecting whether the release of information to satisfy the request condition is detected, the release of information to satisfy the request condition proceed to step S201; if the request does not meet the published detected End condition the method of information.

[0038] 具体地,在客户端启动后,程序启动一个定时器,设置定时器的定时时间例如2小时,每隔2小时检测是否满足请求发布信息的条件。 [0038] Specifically, after a client starts, the program starts a timer, set the timer in time, for example two hours, every request for the release of information to detect meets for 2 hours. 其中,检测是否满足请求发布信息的条件进一步包括:读取本地配置文件,获取本次请求发布信息的时间以及上次请求的发布信息的标识;检测当前时间是否已经到达本次请求发布信息的时间,若是,则检测出满足请求发布信息的条件。 Wherein detecting whether the release of information to satisfy the request condition further comprising: reading the local configuration file, get this request release time information and identification information published last request; detecting whether the current time of this release of information request time has arrived If so, it is detected that the release of information to satisfy the request condition. 举例来说,本次请求发布信息的时间为15:00,若检测到当前时间到达15:00,则检测出满足请求发布信息的条件。 For example, this request information published at 15:00, if the detected current time reaches 15:00, it is detected that the release of information to satisfy the request condition.

[0039] 步骤S201,向云端服务器发送携带有上次请求的发布信息的标识的发布信息请求消息。 [0039] step S201, the server sends the clouds carry publish information identifying the last request has released information request message.

[0040] 具体地,发布信息的标识表不了发布信息的相关信息,用于唯一标识发布信息,例如发布信息的发行商、主题等。 [0040] In particular, the publication identifies the table information can not release information relating to information used to uniquely identify publish information, such as the release of information publishers, themes.

[0041] 在检测到满足请求发布信息的条件后,客户端向云端服务器发送发布信息请求消息,其中,发布信息请求消息携带有客户端上次请求的发布信息的标识,该上次请求的发布信息的标识体现了客户端上次显示的发布信息的相关信息。 [0041] After the condition is detected the release of information to satisfy the request, the client sends a release to the cloud server information request message, release information request message carrying an identification Ads client last request, publish the last request identification information reflects the client was displayed last Ads related information.

[0042] 通过向云端服务器发送携带有上次请求的发布信息的标识,可以避免向用户多次展示同一条发布信息的问题,降低了用户的反感度。 [0042] cloud server by sending a request carrying the logo have released information last time, to avoid the release of information to show the same question many times to users, reducing the resentment of the user.

[0043] 步骤S202,获取云端服务器根据上次请求的发布信息的标识筛选出的新的发布信息作为将被加载显不的发布信息。 [0043] step S202, the cloud server get screened out based on identification information published last request the release of new information will be loaded as not significant release of information.

[0044] 具体地,云端服务器在接收到客户端发送的携带有上次显示的发布信息的标识的发布信息请求消息后,根据上次请求的发布信息的标识从发布信息库中筛选出新的发布信息,并将筛选出的新的发布信息发送给客户端,客户端在获取到云端服务器发送的新的发布信息后,将其作为将被加载显不的发布信息。 [0044] In particular, the cloud server receiving the client sends a release message carrying the logo was displayed last release of information request message, according to information published last request identification from the release repository screening new release information, and sends selected new release information to the client, the client in obtaining the release of information to the new cloud server sends back, as will be loaded without significant release of its information.

[0045] 可选地,发布信息请求消息还携带有用户标识,该用户标识体现了用户的请求插件元素的历史记录。 [0045] Alternatively, the release of information request message also carries a user ID, that user ID reflects the history of the user's request plug-in elements.

[0046] 为了避免多次展示同一发布信息以及降低用户的反感度,本实施例可根据发布信息标识以及用户标识选择新的发布信息,具体为:在云端服务器侧利用用户标识获取用户的喜好类型,根据用户的喜好类型从发布信息库中选取发布信息;从选取的发布信息中筛除本次请求之前已经获取的发布信息,得到新的发布信息。 [0046] In order to avoid multiple impressions of the same publishing information and reduce resentment of the user, the present embodiment can select the new logo Ads Ads based on user identity and, in particular: the cloud server-side user ID to obtain the user's preferences type According to the user's preference type selected from Post Ads repository; sieve Ads Except before this request has been obtained from the selected distribution information, get new release information. 云端服务器接收到客户端发送的携带有用户标识的发布信息请求消息后,根据该用户标识计算出用户对插件元素的喜好类型,然后根据用户的喜好类型从发布信息库中选取与插件元素相应的新的发布信息,并将选取的新的发布信息发送给客户端。 Cloud server receives the client sends carrying Ads user identity request message, calculated in accordance with the user identification user preferences for the plug-type element, then choose from the repository and release the plug-type element corresponding to the user's liking The new release information, and send the new release of selected information to the client. 如果在云端服务器侧没有筛选出新的发布信息,则接收云端服务器返回的下次请求发布信息的时间,将下次请求发布信息的时间记录到本地配置文件中。 If the cloud server side does not filter out the new release of information, the receiving cloud server returned the next release of information request time, the next time record request the release of information to the local profile.

[0047] 在接收到云端服务器筛选出的新的发布信息之后,计算下次请求发布信息的时间,将下次请求发布信息的时间和新的发布信息的标识记录到本地配置文件中。 [0047] After the release of the new information received screened to the cloud server, requesting the release of information to calculate the next time, the next request release time and identity of the new information on the release of information to a local profile. 通过将下次请求发布信息的时间和新的发布信息的标识记录到本地配置文件中,使得客户端可以根据本地配置文件中的记录来请求发布信息,并且能够避免向用户展现同一发布信息的问题,此外通过设置请求时间,减少了云端服务器的负载。 Request information released by the next time and identity of the new release of information to a local configuration file, so that the client can request publish information in accordance with the local profile records, and can avoid the release of information to show the same question to the user , in addition to the request by setting the time, reducing the load on the server cloud.

[0048] 步骤S203,检测到待加载的网页中携带的插件元素的加载显示请求。 [0048] step S203, the detected load pages to be loaded plug element carries display request.

[0049] 本实施例中,待加载的网页是云端服务器返回的携带有插件元素的网页,即该加载显示请求是用户通过浏览器访问携带有插件元素的网页而触发的。 [0049] In this embodiment, the page to be loaded is returned carrying the cloud server plug-ins web page elements, namely the loads display request is a user access to the plug-carrying element web browser triggered.

[0050] 步骤S204,在待加载的网页中提取插件元素对应的D0M节点。 [0050] step S204, the extraction plug-in element nodes corresponding D0M pages to be loaded.

[0051] 文档对象模型(D0M)是一种与平台和语言无关的接口,它允许程序和脚本动态访问和修改文档的内容、结构和类型。 [0051] Document Object Model (D0M) is a platform and language-neutral interface that allows programs and scripts to dynamically access and modify document content, structure and types. 它定义了一系列的对象和方法对html D0M树的节点进行各种随机操作。 It defines a set of objects and methods of tree nodes html D0M various random operations. 其中,html网页元素各自有对应的D0M节点,也即插件元素对应有D0M节点。 Wherein, html page elements each of which has a corresponding D0M node, that plug-in element corresponds to have D0M nodes.

[0052] 步骤S205,通过D0M节点获取插件元素,并将插件元素嵌入到客户端本地的第一网页中,其中,在第一网页中注入有显示发布信息用的脚本。 [0052] step S205, the acquisition by D0M node plug-in element and plug-in elements embedded into the client's local first page, which are injected into the script used to display information published on the first page.

[0053] 客户端本地的第一网页用于显示插件元素,其并不是云端服务器根据客户端的请求所返回的网页,而是客户端根据显示需要本地生成的网页。 [0053] The client local first page to display plug-in element, which is not a cloud server at the request of the client returned the page, but the client needs locally generated Web page according to the display. 由于步骤S204中,提取了插件元素对应的D0M节点,因此可以通过该D0M节点获取到相应的插件元素,并将所获取到的插件元素嵌入到客户端本地的第一网页中。 Since the step S204, the extraction of the plug-in element corresponding D0M node, so you can get through this D0M node to the appropriate plug-in element and the acquired plug-in element embedded into the client's local first page.

[0054] 步骤S206,判断是否满足显示发布信息的条件,若满足显示发布信息的条件则执行步骤S207 ;若不满足显示发布信息的条件则方法结束。 [0054] step S206, the judgment meets the conditions for the release of information is displayed, if the conditions are met to display Ads proceed to step S207; if not meet the conditions of displaying Ads method ends.

[0055] 具体地,判断是否满足显示发布信息的条件主要是通过判断当前时间与上次显示发布信息的时间差是否超过预设时间阈值例如6小时。 [0055] Specifically, it is determined whether the release of information conditions are met mainly by determining the current time and the last time difference display Ads exceeds a preset time threshold such as 6 hours. 举例来说,当前时间为16:00,上次显示发布信息的时间为15:00,当前时间与上次显示发布信息的时间差为1小时,没有超过预设时间阈值6小时,则不满足显示发布信息的条件;若当前时间为22:00,上次显示发布信息的时间为15:00,当前时间与上次显示发布信息的时间差为7小时,超过预设时间阈值6小时,则满足显示发布信息的条件。 For example, the current time is 16:00, and the last release of information displays 15:00, the current time and the last time difference display Ads 1 hour, no more than six hours a preset time threshold, the display is not satisfied Ads conditions; if the current time is 22:00, and the last release of information displays 15:00, the current time and the last time difference information display Posted 7 hours, more than six hours a preset time threshold is met display release condition information.

[0056] 通过设置发布信息展现时间间隔,控制了发布信息的出现频次,以保证在一段时间不会连续播放发布信息,极大限度的降了发布信息对用户的打扰。 [0056] By setting Ads show time interval, the control of the information published frequency of occurrence, in order to ensure continuous playback at a time will not release the information, which greatly limits the drop of Ads disturb the user.

[0057] 步骤S206是本实施例的可选步骤。 [0057] Step S206 is an optional step of the present embodiment.

[0058] 步骤S207,通过浏览器内核提供的ProgressChange事件实时获取第一网页的加载进度。 [0058] step S207, ProgressChange event provides real-time access through the browser kernel loading progress of the first page.

[0059] 在确定脚本的执行时机时,主要通过IE内核提供的事件进行通知,其中, DocumentComplete作为页面完全加载完成的事件,通常用来在页面加载完成之后做一些操作。 [0059] In determining the execution timing of the script, the main event notification via IE kernel, where, DocumentComplete as the page is fully loaded to complete the event, usually used after the page loads to do some action. 然而此事件,只有当页面上的所有元素都下载下来才会触发,若页面上有一个图片发生404错误,那么此事件可能永远都不会触发,若以此事件作为展现广告的触发时机,可能会出现用户已经看到了页面,可以玩游戏,可是过了一会弹出广告。 But this event only when all the elements on the page are downloaded will trigger, if there is a picture on page 404 error occurs, then this event may never be triggered, if this event as a show advertising Trigger timing may Users will have seen the page appears, you can play the game, but after a while pop-up ads. 因此,本实施例选用ProgressChange事件来在页面加载的过程中实时通知加载进度。 Therefore, the present embodiment chosen ProgressChange events in real-time notification loading progress in the process of loading the page.

[0060] 加载第一网页的方式主要有两种:(1)同时加载待加载的网页和第一网页,并且第一网页覆盖显示在待加载的网页中的第一类型的插件元素之上;(2)停止加载待加载的网页,加载第一网页。 [0060] loading the first page of the two main ways: (1) to be loaded at the same time to load the page and the first page and the first page is displayed on the cover page to be loaded in the first type of plug-in elements; (2) stop loading the page to be loaded, loading the first page. 其中第(1)种方式是同时加载从云端服务器请求回来的待加载的网页和客户端本地的第一网页,这种方式的好处是第一网页覆盖显示在待加载的网页中的第一类型的插件元素之上,还能保证客户端展现除了覆盖区域以外的待加载的网页的内容; 第(2)种方式待加载的网页没有加载,只展现第一网页的内容,这种方式的好处是提升了第一网页的加载速度。 Wherein the first (1) ways are loaded simultaneously from the cloud server requests back pages to be loaded and the client's local first page, the benefits of this approach is that the first page is displayed in the cover page to be loaded in the first type above the plug element, but also to ensure the client to show content in addition to the coverage area of the page to be loaded; (2) ways to be loaded on the page is not loaded, just to show the contents of the first page, the benefits of this approach It is to enhance the first page load speed.

[0061] 具体地,通过实时获取第一网页的加载进度可以判断第一网页的文档是否已经加载完成,并且文档的主体部分是否加载完成。 [0061] In particular, real-time access by the first web page loading progress can be judged whether the first page of the document has been loaded, and the main part of the document is finished loading.

[0062] 步骤S208,当获知第一网页的主体部分加载完成时,运行脚本。 [0062] step S208, the first informed when the main part of the page is loaded, run the script.

[0063] 具体地,通过ProgressChange事件获知第一网页的主体部分加载完成时,运行在第一网页中注入的显示发布信息用的脚本。 [0063] In particular, the main part of the first page load is complete when informed by ProgressChange event, run on the first page displays Ads injected with the script. 通过ProgressChange事件能够严格地控制脚本的运行时间,避免脚本执行过早发布信息还没有显示出来,就被后来加载显示的第一类型的插件元素页面"冲掉",根本不能显示;而执行过晚,又会出现第一类型的插件元素已显示,突然展现发布信息的情况,从而影响用户对插件元素的正常访问。 Can be strictly controlled through ProgressChange event run time script, script execution to avoid premature release of information is not displayed, it was the first type of plug-in element on the page later Loading display of "flush" can not display; performed too late , will appear first type of plug-in element is displayed, showing a sudden case of the release of information, thus affecting the normal user access to add elements.

[0064] 步骤S209,获取第一网页的D0M节点树结构。 [0064] step S209, get D0M node tree structure of the first page.

[0065] 具体地,利用JavaScript获取第一网页的D0M节点树结构。 [0065] In particular, the use of JavaScript get the first page of D0M node tree structure.

[0066] 步骤S210,根据D0M节点树结构获取第一类型的插件元素以及第一类型的插件元素的显示大小。 [0066] step S210, D0M node tree structure to obtain the display size of the first type of plug-in element and the first type of plug-in elements.

[0067] 由于在步骤S205中已经将插件元素嵌入到第一网页中,因此根据第一网页的D0M 节点树结构即可获取第一类型的插件元素以及第一类型的插件元素的显示大小。 [0067] As has been embedded in the plug-in element in the step S205 in the first page, thus indicating the size of the first type and a first plug element of the plug-type element D0M node tree structure according to a first page can be acquired.

[0068] 步骤S211,将获取到的发布信息转变为浮层的网页元素覆盖显示在第一类型的插件元素之上,且浮层的网页元素的显示大小与第一类型的插件元素的显示大小一致。 [0068] step S211, the release of information will get to the page elements into a floating layer covering the display on the first type of plug-in elements, and display size display size of the first type of plug-in elements floating layer of page elements agreement.

[0069] 这里的浮层是指一个独立显示的窗口,用于显示发布信息。 [0069] where the floating layer means a separate window display for displaying Ads. 根据获取的第一类型的插件元素的显示大小,将获取到的发布信息转变为与第一类型的插件元素的显示大小相适应的浮层的网页元素。 The display size obtaining the first type of plug-in elements, to obtain the release of information to the web element into the display size of the first type of plug-in compatible elements floating layer.

[0070] 步骤S212,在发布信息播放结束后,关闭浮层,显示第一类型的插件元素。 [0070] step S212, after the release of information broadcasting, closed floating layer, displays the first type of plug-in elements.

[0071] 为了避免用户连续看多条发布信息,在本实施例中,还可以判断第一类型的插件元素的自身的内容中是否包含发布信息,若包含,则获取第一类型的插件元素的内容中包含的发布信息的时间长度。 [0071] In order to avoid the user continues to see a number of published information, in this embodiment, it is also possible to judge their own content elements of the first type of plug-in contains release information, if included, get plug-in element of the first type The length of time the content of the information contained in the publication. 其中,可以从客户端本地维护的统计表中查询第一类型的插件元素的内容中包含的发布信息的时间长度。 Among them, the length of time you can query the release of information content of the first type of plug-in elements contained in the client's local maintenance of statistical tables. 由于客户端通过启动定时器定时获取到的将被加载显示的发布信息可以为多个,因此可以从多个发布信息中选择时间长度等于或大于第一类型的插件元素的内容中包含的发布信息的时间长度的发布信息,将选择的发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 Ads Because the client to get the timing to start the timer will be loaded by the release of the information displayed can be multiple, so you can publish information from a plurality of selected length of time equal to or greater than the first type of plug-in element content contained Ads length of time, the release cover the selected information is displayed in the first page on a first type of plug elements. 从而不显示第一类型的插件元素的自身内容中包含的发布信息,避免用户连续看多条发布信息。 So as not to show itself first type of plug-in element content of the information contained in the release, to avoid the user continues to see a number of published information.

[0072] 此外,为了避免发布信息选取的不适当,在本实施中,采用检测网络状态以及第一类型的插件元素的类型的方法,确定第一类型的插件元素的估计加载时间。 [0072] In addition, in order to avoid inappropriate release of selected information, in this embodiment, the use of detecting network status and the first type of plug-in element type of methodology, determining an estimated load time of the first type of plug-in elements. 根据所确定的第一类型的插件元素的估计加载时间,从多个发布信息中选择时间长度等于或大于第一类型的插件元素的估计加载时间的发布信息,将选择的发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 Loading time is determined based on the estimated first type of plug-in elements, Ads, select the length of time equal to or greater than the first type of plug-in elements of the estimated load time publish information from multiple, will select the Ads coverage shown in the first A web page on the plug-in element of the first type.

[0073] 除了上述获取将被加载显示的发布信息的方法外,本发明还可通过其他方法获取将被加载显示的发布信息,例如,利用客户端的主进程从云端服务器侧获取将被加载显示的发布信息。 [0073] In addition to the above method to obtain the release of information displayed will be loaded, the present invention is also available to be loaded Ads displayed by other methods, for example, by the main client acquisition process from the clouds will be loaded on the server side displayed Post information. 之后,在检测到对第一类型的插件元素的加载显示请求时,主进程将需要加载显示的发布信息通知给第一网页的网页进程。 Then, upon detecting the loading of the first type of plug-in elements display request, the master process will need to be loaded Ads displayed notification to the first page of the web process. 其中,第一网页对应的网页进程为独立的网页进程,网页进程维护有至少一个子进程,每个子进程用于加载显示一个第一类型的插件元素。 Wherein the first web page corresponding to the process as a separate web process, web maintenance process has at least one child, each child is used to load display a first type of plug-in elements.

[0074] 根据本发明上述实施例提供的方法,通过设置定时时间、设置请求发布信息的时间间隔以及发布信息展现时间间隔,降低了请求次数,从而有效降低对服务器带宽资源的占用率,减少了云端服务器的负载,并严格控制了发布信息出现的频次,极大限度的降低了发布信息对用户的打扰;通过向云端服务器发送携带上次请求的发布信息的标识,能够避免连续多次向用户展示同一发布信息,从而降低用户反感度;通过浏览器内核提供的ProgressChange事件实时获取第一网页的加载进度,能够严格控制脚本的执行时机,避免脚本执行过早发布信息还没有显示出来,就被后来加载显示的第一类型的插件元素页面"冲掉",根本不能显示;而执行过晚,又会出现第一类型的插件元素已显示,突然展现发布信息的情况,从而影响用户对插件元素的正常访问;通过在第一网页中注入脚本用来显示发布信息,使用脚本能够支持多种格式的发布信息,克服了发布信息的展现形式单一的问题;通过先将第一类型的插件元素嵌入到客户端本地的第一网页中,然后在加载第一网页的同时运行脚本来展现发布信息,实现了在第一类型的插件元素加载的同时展现发布信息的目的,这样能避免现有技术中先展现发布信息,然后加载第一类型的插件元素所带来的发布信息与第一类型插件元素展现分离的问题。 [0074] The method according to the above embodiments of the present invention provides, by setting the timing, setting request Published information interval and the release of information to show time interval, reducing the number of requests, thus effectively reducing the server bandwidth resource utilization, reduced Cloud server load, and strictly control the release message frequency, which greatly limits to reduce the release of information to disturb the user; by sending a cloud server carries identification information published last request, the user can avoid repeatedly show the same release information, thus reducing user favorability; ProgressChange event provided real-time access through the browser kernel loading progress of the first page, can strictly control the execution timing of the script, the script execution to avoid premature release of information is not displayed, it was The first type of plug-in element on the page later Loading display of "flush" can not display; performed too late, will appear first type of plug-in element has been shown to exhibit a sudden case of the release of information, thus affecting the user plug-in element The normal access; by injecting script to display the first page of the release of information, the use of scripts to support publishing information in multiple formats, to overcome the release of information to show the form of a single question; the first type by first plug element is embedded local to the client first page, and then loading the first page at the same time run a script to show the release of information to achieve the type of plug-in while the first element of the show is loaded Ads purpose, so to avoid the prior art Ads show first, then load the first type of plug-in elements brought Ads with type plug-in element to show the problem of separation.

[0075] 图3示出了根据本发明另一个实施例的客户端显示发布信息的方法的流程图。 [0075] FIG. 3 shows a flowchart of the release of information based on the client to another embodiment of the invention display method. 如图3所示,该方法包括以下步骤: As shown in Figure 3, the method comprising the steps of:

[0076] 步骤S300,启动定时器,每当定时器的定时时间到达时,检测是否满足请求发布信息的条件,若检测出满足请求发布信息的条件则执行步骤S301 ;若检测出不满足请求发布信息的条件则方法结束。 [0076] step S300, starts the timer, the timer whenever the fixed time, detecting whether the release of information to satisfy the request condition is detected, the release of information to satisfy the request condition proceed to step S301; if the request does not meet the published detected End condition the method of information.

[0077] 步骤S301,向云端服务器发送携带有上次请求的发布信息的标识的发布信息请求消息。 [0077] step S301, the server sends the clouds carry publish information identifying the last request has released information request message.

[0078] 步骤S302,获取云端服务器根据上次请求的发布信息的标识筛选出的新的发布信息作为将被加载显不的发布信息。 [0078] step S302, the cloud server get screened out based on identification information published last request the release of new information will be loaded as not significant release of information.

[0079] 图3所示实施例中的步骤S300-步骤S302与图2所示实施例中的步骤S200-步骤S202类似,在此不再赘述。 S300- step [0079] FIG. 3 of the procedure of step S302 is similar to the case of step S200- embodiment shown in FIG S202 2, are not discussed here.

[0080] 步骤S303,检测到存储在客户端本地的插件元素的加载显示请求。 [0080] step S303, the display request is detected is stored locally on the client loaded plug element.

[0081] 在本步骤中直接请求显示存储在客户端本地的插件元素,也即,该加载显示请求是用户打开存储在客户端本地的插件元素而触发的,其中,插件元素的格式为SWF格式。 [0081] In this step, a direct request to display stored locally on the client plug-in elements, namely, the load display request is stored in the client user to open a local plug-in element triggered, wherein a format plug-in element to SWF format .

[0082] 步骤S304,将存储在客户端本地的插件元素嵌入到第一网页中,其中,在第一网页中注入有显示发布信息用的脚本。 [0082] step S304, will be stored locally on the client plug-in element embedded in the first page, which are injected into the script used to display information published on the first page.

[0083] 在本步骤并没有提取网页的D0M节点的操作,而是直接将插件元素嵌入到第一网页中。 [0083] In operation this step does not extract pages D0M nodes, but directly to the plug-in element embedded in the first page.

[0084] 步骤S305,判断是否满足显示发布信息的条件,若满足显示发布信息的条件则执行步骤S306 ;若不满足显示发布信息的条件则方法结束,本步骤是该实施例的可选步骤。 [0084] step S305, the judgment whether the release of information conditions are met, if it satisfies the conditions of displaying Ads proceed to step S306; if not meet the conditions of displaying Ads method ends, this step is an optional step of this embodiment.

[0085] 步骤S306,通过浏览器内核提供的ProgressChange事件实时获取第一网页的加载进度。 [0085] step S306, ProgressChange event provides real-time access through the browser kernel loading progress of the first page.

[0086] 步骤S307,当获知第一网页的主体部分加载完成时,运行脚本。 [0086] step S307, when first informed of the main part of the page is loaded, run the script.

[0087] 步骤S308,获取第一网页的D0M节点树结构; [0087] step S308, the acquisition D0M node tree structure of the first page;

[0088] 步骤S309,根据D0M节点树结构获取第一类型的插件元素以及第一类型的插件元素的显示大小。 [0088] step S309, D0M node tree structure to obtain the display size of the first type of plug-in element and the first type of plug-in elements.

[0089] 步骤S310,将获取到的发布信息转变为浮层的网页元素覆盖显示在第一类型的插件元素之上,且浮层的网页元素的显示大小与第一类型的插件元素的显示大小一致。 [0089] step S310, will get to the Ads page elements into a floating layer covering the display on the first type of plug-in elements, and display size display size of the first type of plug-in elements floating layer of page elements agreement.

[0090] 步骤S311,在发布信息播放结束后,关闭浮层,显示第一类型的插件元素。 [0090] step S311, after the release of information broadcasting, closed floating layer, displays the first type of plug-in elements.

[0091] 图3所示实施例中的步骤S305-步骤S311与图2所示实施例中的步骤S206-步骤S212类似,在此不再赘述。 S206-, step step step S305- [0091] FIG. 3 in the procedure of implementation S311 S212 shown in Figure 2 is similar to not repeat them here.

[0092] 为了避免用户连续看多条发布信息,在本实施例中,还可以判断第一类型的插件元素的自身的内容中是否包含发布信息,若包含,则获取第一类型的插件元素的内容中包含的发布信息的时间长度。 [0092] In order to avoid the user continues to see a number of published information, in this embodiment, it is also possible to judge their own content elements of the first type of plug-in contains release information, if included, get plug-in element of the first type The length of time the content of the information contained in the publication. 其中,可以从客户端本地维护的统计表中查询第一类型的插件元素的内容中包含的发布信息的时间长度。 Among them, the length of time you can query the release of information content of the first type of plug-in elements contained in the client's local maintenance of statistical tables. 由于客户端通过启动定时器定时获取到的将被加载显示的发布信息可以为多个,因此可以从多个发布信息中选择时间长度等于或大于第一类型的插件元素的内容中包含的发布信息的时间长度的发布信息,将选择的发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 Ads Because the client to get the timing to start the timer will be loaded by the release of the information displayed can be multiple, so you can publish information from a plurality of selected length of time equal to or greater than the first type of plug-in element content contained Ads length of time, the release cover the selected information is displayed in the first page on a first type of plug elements. 从而不显示第一类型的插件元素的自身内容中包含的发布信息,避免用户连续看多条发布信息。 So as not to show itself first type of plug-in element content of the information contained in the release, to avoid the user continues to see a number of published information.

[0093] 除了上述获取将被加载显示的发布信息的方法外,本发明还可通过其他方法获取将被加载显示的发布信息,例如,利用客户端的主进程从云端服务器侧获取将被加载显示的发布信息。 [0093] In addition to the above method to obtain the release of information displayed will be loaded, the present invention is also available to be loaded Ads displayed by other methods, for example, by the main client acquisition process from the clouds will be loaded on the server side displayed Post information. 之后,在检测到对第一类型的插件元素的加载显示请求时,主进程将需要加载显示的发布信息通知给第一网页的网页进程。 Then, upon detecting the loading of the first type of plug-in elements display request, the master process will need to be loaded Ads displayed notification to the first page of the web process. 其中,第一网页对应的网页进程为独立的网页进程,网页进程维护有至少一个子进程,每个子进程用于加载显示一个第一类型的插件元素。 Wherein the first web page corresponding to the process as a separate web process, web maintenance process has at least one child, each child is used to load display a first type of plug-in elements.

[0094] 根据本发明上述实施例提供的方法,通过设置定时时间、设置请求发布信息的时间间隔以及发布信息展现时间间隔,降低了请求次数,从而有效降低对服务器带宽资源的占用率,减少了云端服务器的负载,并严格控制了发布信息出现的频次,极大限度的降低了发布信息对用户的打扰;通过向云端服务器发送携带上次请求的发布信息的标识,能够避免连续多次向用户展示同一发布信息,从而降低用户反感度;通过浏览器内核提供的ProgressChange事件实时获取第一网页的加载进度,能够严格控制脚本的执行时机,避免脚本执行过早发布信息还没有显示出来,就被后来加载显示的第一类型的插件元素页面"冲掉",根本不能显示;而执行过晚,又会出现第一类型的插件元素已显示,突然展现发布信息的情况,从而影响用户对插件元素的正常访问;通过在第一网页中注入脚本用来显示发布信息,使用能够支持多种格式的发布信息,克服了发布信息的展现形式单一的问题;通过先将第一类型的插件元素嵌入到客户端本地的第一网页中,然后在加载第一网页的同时运行脚本来展现发布信息,实现了在第一类型的插件元素加载的同时展现发布信息的目的,这样能避免现有技术中先展现发布信息,然后加载第一类型的插件元素所带来的发布信息与第一类型插件元素展现分离的问题。 [0094] The method according to the above embodiments of the present invention provides, by setting the timing, setting request Published information interval and the release of information to show time interval, reducing the number of requests, thus effectively reducing the server bandwidth resource utilization, reduced Cloud server load, and strictly control the release message frequency, which greatly limits to reduce the release of information to disturb the user; by sending a cloud server carries identification information published last request, the user can avoid repeatedly show the same release information, thus reducing user favorability; ProgressChange event provided real-time access through the browser kernel loading progress of the first page, can strictly control the execution timing of the script, the script execution to avoid premature release of information is not displayed, it was The first type of plug-in element on the page later Loading display of "flush" can not display; performed too late, will appear first type of plug-in element has been shown to exhibit a sudden case of the release of information, thus affecting the user plug-in element The normal access; by injecting script to display the first page of the release of information to support a variety of formats using the release of information to overcome the release of information to show the form of a single issue; embedded by first element of the first type of plug-ins Client local first page, and then loading the first page at the same time run a script to show the release of information to achieve the type of plug-in while the first element of the show is loaded Ads purpose, so to avoid prior art Ads show, then loading the first type of plug-in elements brought Ads with type plug-in element to show the problem of separation.

[0095] 图4示出了根据本发明一个实施例的客户端显示发布信息的装置的结构框图。 [0095] FIG. 4 shows a block diagram of the information distribution apparatus according to the client one embodiment of the invention is displayed. 如图4所示,该装置包括:发布信息获取模块400、第一检测模块410、嵌入模块420、运行模块430、发布信息显不模块440。 4, the apparatus comprising: Post information acquisition module 400, a first detection module 410, embedding module 420, the module 430 runs, was not published information module 440.

[0096] 发布信息获取模块400,适于获取到将被加载显不的发布信息。 [0096] release information acquisition module 400, adapted to be loaded to obtain the release of the information is not significant.

[0097] 第一检测模块410,适于检测到对第一类型的插件元素的加载显示请求。 [0097] The first detection module 410 is adapted to detect the loading of the first type of plug-in elements display request.

[0098] 嵌入模块420,适于将第一类型的插件元素嵌入到客户端本地的第一网页中,其中在第一网页中注入有显示发布信息用的脚本。 [0098] embedding module 420, adapted to the first type of plug-in elements embedded into the client's local first page, which is injected into the script used to display information published on the first page.

[0099] 运行模块430,适于在加载第一网页时运行显示发布信息的脚本。 [0099] Run module 430, adapted to run when loading the first page displays release scripts.

[0100] 发布信息显示模块440,适于将发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 [0100] release information display module 440 is adapted to cover the release of information displayed on the first page of the first type of plug-in elements.

[0101] 根据本发明上述实施例提供的装置,获取到将被加载显示的发布信息;检测到对第一类型的插件元素的加载显示请求;将第一类型的插件元素嵌入到客户端本地的第一网页中,其中在第一网页中注入有显示发布信息用的脚本;在加载第一网页时运行显示发布信息的脚本,将发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 [0101] the above-described embodiment of the apparatus according to the present invention provides, acquired will be loaded issuing information displayed; detecting the loading of the first type of plug elements display request; a first type of plug elements embedded into the local client The first page, which is injected into the first pages display the information released by the script; run when loading the first page displays the script information, we will publish the information displayed on the first page of the cover of the first type of plug-in element above. 在本实施例中,通过在第一网页中注入脚本用来显示发布信息,使用脚本能够支持多种格式的发布信息,克服了发布信息的展现形式单一的问题;通过先将第一类型的插件元素嵌入到客户端本地的第一网页中,然后在加载第一网页的同时运行脚本来展现发布信息,实现了在第一类型的插件元素加载的同时展现发布信息的目的,这样能避免现有技术中先展现发布信息,然后加载第一类型的插件元素所带来的发布信息与第一类型插件元素展现分离的问题。 In this embodiment, by injecting a script to display the first page of the release of information, the use of scripts to support publishing information in multiple formats, to overcome the release of information to show the form of a single question; the first type by first plug elements embedded in the client's local first page, and then loading the first page at the same time run a script to show the release of information to achieve the type of plug-in while the first element of the show is loaded Ads purpose, so to avoid existing technology first demonstrated Ads, then loading the first type of plug-in elements brought Ads with type plug-in element to show the problem of separation.

[0102] 图5示出了根据本发明另一个实施例的客户端显示发布信息的装置的结构框图。 [0102] FIG. 5 shows a block diagram of the information distribution apparatus according to the client to another embodiment of the invention is displayed. 如图5所示,该装置包括:发布信息获取模块500、第一检测模块510、嵌入模块520、运行模块530、发布信息显不模块540。 As shown in Figure 5, the apparatus comprising: Post information acquisition module 500, a first detection module 510, embedding module 520, the module 530 runs, was not published information module 540.

[0103] 发布信息获取模块500,适于获取到将被加载显不的发布信息。 [0103] release information acquisition module 500, adapted to be loaded to obtain the release of the information is not significant.

[0104] 其中,获取到的将被加载显不的发布信息为多个。 [0104] where, acquired will be loaded without significant release of information for multiple. 发布信息的格式为Flash格式、 图像格式或多媒体格式。 Ads format is Flash format, image format, or multimedia format.

[0105] 发布信息获取模块500进一步包括:启动单元501、检测单元502、获取单元503。 [0105] release information acquisition module 500 further comprising: a start-up unit 501, a detection unit 502, an acquisition unit 503.

[0106] 启动单元501,适于启动定时器。 [0106] Starting unit 501, adapted to start the timer.

[0107] 检测单元502,适于每当定时器的定时时间到达时,检测是否满足请求发布信息的条件。 [0107] detection unit 502, adapted whenever the timer in time arrives, requesting the release of information to detect whether the conditions are met.

[0108] 检测单元502进一步适于:读取本地配置文件,获取本次请求发布信息的时间以及上次请求的发布信息的标识;检测当前时间是否已经到达本次请求发布信息的时间,若是,则检测出满足请求发布信息的条件。 [0108] detection unit 502 is further adapted to: read the local configuration file, get this time requesting the release of information and the identification information published last request; detecting whether the current time has reached this request release time information, and if so, it is detected that the release of information to satisfy the request condition.

[0109] 获取单元503,适于若检测出满足请求发布信息的条件,向云端服务器发送携带有上次请求的发布信息的标识的发布信息请求消息,而后获取云端服务器根据上次请求的发布信息的标识筛选出的新的发布信息作为将被加载显不的发布信息。 [0109] acquisition unit 503, adapted to request the release of information if the test conditions to meet, sent to the cloud server carries publish information identifying the last request has released information request message, then get cloud server publish information in accordance with the last request logo screened as new information will be loaded release was not released information.

[0110] 第一检测模块510,适于检测到对第一类型的插件元素的加载显示请求。 [0110] The first detection module 510, adapted to detect the loading of the first type of plug-in elements display request.

[0111] 第一检测模块510具体适于:检测到待加载的网页中携带的插件元素的加载显示请求。 [0111] The first detection module 510 is specifically adapted to: detect the loading of Web pages to be loaded plug element carries display request.

[0112] 嵌入模块520,适于将第一类型的插件元素嵌入到客户端本地的第一网页中,其中在第一网页中注入有显示发布信息用的脚本。 [0112] embedding module 520, adapted to the first type of plug-in elements embedded into the client's local first page, which is injected into the script used to display information published on the first page.

[0113] 嵌入模块进一步包括:提取单元521、插件元素获取单元522、嵌入单元523。 [0113] embedding module further comprises: extracting unit 521, the plug element acquisition unit 522, embedding unit 523.

[0114] 提取单元521,适于在待加载的网页中提取插件元素对应的D0M节点。 [0114] extraction unit 521, corresponding elements adapted to extract the plug-in to be loaded D0M node pages.

[0115] 插件元素获取单元522,适于通过D0M节点获取插件元素。 [0115] plug-in element acquisition unit 522, adapted to obtain a plug-in element by D0M node.

[0116] 嵌入单元523,将插件元素嵌入到客户端本地的第一网页中。 [0116] embedding unit 523, the plug-in element embedded into the client's local first page.

[0117] 运行模块530,适于在加载第一网页时运行显示发布信息的脚本。 [0117] Run module 530, adapted to run when loading the first page displays release scripts.

[0118] 运行模块530具体适于:同时加载待加载的网页和第一网页,并且第一网页覆盖显示在待加载的网页中的第一类型的插件元素之上。 [01] Run module 530 is specifically adapted: while loading the page to be loaded and the first page and the first page is displayed on the cover page to be loaded in the first type of plug-in elements. 或者,运行模块530具体适于:停止加载待加载的网页,加载第一网页。 Alternatively, run module 530 is specifically adapted: Stop loading the page to be loaded, loading the first page.

[0119] 运行模块530进一步适于:通过浏览器内核提供的ProgressChange事件实时获取第一网页的加载进度;当获知第一网页的主体部分加载完成时,运行脚本。 [0119] Run module 530 is further adapted to: ProgressChange event provides real-time access through the browser kernel loading progress of the first page; when first informed of the main part of the page is loaded, run the script.

[0120] 发布信息显示模块540,适于将发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 [0120] release information display module 540 is adapted to cover the release of information displayed on the first page of the first type of plug-in elements.

[0121] 发布信息显示模块540进一步包括:D0M节点树结构获取单元541、元素提取单元542、发布信息显示单元543。 [0121] release information display module 540 further comprises: D0M node tree structure acquisition unit 541, the element extraction unit 542, released information display unit 543.

[0122] D0M节点树结构获取单元541,适于获取第一网页的D0M节点树结构。 [0122] D0M tree node acquisition unit 541, adapted to obtain D0M node tree structure of the first page.

[0123] 元素提取单元542,适于根据D0M节点树结构获取第一类型的插件元素以及第一类型的插件元素的显示大小。 [0123] element extraction unit 542, adapted to D0M node tree structure to obtain a first type of plug-in elements, and elements of the first type of plug-in display size.

[0124] 发布信息显示单元543,适于将获取到的发布信息转变为浮层的网页元素覆盖显示在第一类型的插件元素之上,且浮层的网页元素的显示大小与第一类型的插件元素的显示大小一致。 [0124] release information display unit 543, adapted to obtain the release of information to the web element into a floating layer covering the display on the first type of plug-in elements, and display the size of page elements floating layer of the first type have consistently shown that the size of the plug-in element.

[0125] 该装置还包括:记录模块550,适于计算下次请求发布信息的时间,将下次请求发布信息的时间和新的发布信息的标识记录到本地配置文件中。 [0125] The device further comprising: a recording module 550, adapted to calculate the next time the release of information request, the next request release time and identity of the new information on the release of information to a local profile.

[0126] 记录模块550还适于:接收云端服务器侧在没有筛选出新的发布信息的情况下返回的下次请求发布信息的时间,将下次请求发布信息的时间记录到本地配置文件中。 [0126] recording module 550 is further adapted: to receive cloud server side in the absence of screening new case returned Ads Ads of time the next request, the next time will be the release of information requests to the local profile.

[0127] 该装置还包括:关闭模块560,适于在发布信息播放结束后,关闭浮层,显示第一类型的插件元素。 [0127] The apparatus further comprises: Close the module 560 is adapted to release information at the end of play, close the floating layer, displays the first type of plug-in elements.

[0128] 该装置还包括:第一判断模块570,适于判断第一类型的插件元素的内容中是否包含发布信息。 [0128] The apparatus further comprises: a first determining module 570, adapted to judge a first type of plug-in element content contains published information.

[0129] 时间长度获取模块571,适于在判断第一类型的插件元素的内容中包含发布信息的情况下,获取第一类型的插件元素的内容中包含的发布信息的时间长度。 [0129] the length of time acquisition module 571, adapted to the case where the judgment of the first type of plug-in element content contained in the release of information, the length of time to obtain the contents of the first type of plug-in elements included in the release of information.

[0130] 发布信息显示模块540具体适于:从多个发布信息中选择时间长度等于或大于第一类型的插件元素的内容中包含的发布信息的时间长度的发布信息;将选择的发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 [0130] release information display module 540 is specifically adapted to: Post Ads Ads length of time information, select the length of time equal to or greater than the first type of plug-in elements contained in the content from a plurality; the selected coverage Ads It is displayed on the first page of the first type of plug elements.

[0131] 时间长度获取模块571具体适于:从客户端本地维护的统计表中查询第一类型的插件元素的内容中包含的发布信息的时间长度。 [0131] the length of time acquisition module 571 is specifically adapted: Discover the length of time the content of the first type of plug-in elements included in the release of information from the client's local maintenance of statistical tables.

[0132] 装置还包括:第二检测模块580,适于检测网络状态以及第一类型的插件元素的类型。 [0132] means further comprises: a second detecting module 580, adapted to detect the status of the network and the type of the first type of plug elements.

[0133] 确定模块581,适于确定第一类型的插件元素的估计加载时间。 [0133] determining module 581, adapted to determine the estimated load time of the first type of plug-in elements.

[0134] 发布信息显示模块540具体适于:从多个发布信息中选择时间长度等于或大于第一类型的插件元素的估计加载时间的发布信息,将选择的发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 [0134] release information display module 540 is specifically adapted: Ads selected length of time equal to or greater than the first type of plug-in elements of the estimated load time publish information from multiple, will publish selected information displayed on the first page of the cover The first type of plug-in elements above.

[0135] 该装置还包括:第二判断模块531,适于判断是否满足显示发布信息的条件。 [0135] The apparatus further comprises: a second judging module 531, adapted to judge whether the conditions are met Ads.

[0136] 运行模块530具体适于:若满足显示发布信息的条件则在加载第一网页时运行显示发布信息的脚本。 [0136] Run module 530 is specifically adapted: If the display Ads conditions are satisfied at the time of loading the first page to run display release scripts.

[0137] 第二判断模块531具体适于:判断当前时间与上次显示发布信息的时间差是否超过预设时间阈值。 [0137] The second judgment module 531 is specifically adapted to: determine the current time and the last time difference display Ads whether time exceeds a preset threshold.

[0138] 发布信息获取模块500具体适于:利用客户端的主进程从云端服务器端获取将被加载显不的发布信息。 [0138] Ads acquisition module 500 is specifically adapted to: use the main client acquisition process will be loaded without significant release of information from the cloud server.

[0139] 该装置还包括:通知模块511,适于在检测到对第一类型的插件元素的加载显示请求时,主进程将需要加载显示的发布信息的通知给第一网页对应的网页进程。 [0139] The apparatus further includes: a notification module 511 is adapted upon detection of the loading of the first type of plug-in elements display request, the master process will inform the release of information need to be loaded to the first page displayed web page corresponding process.

[0140] 第一网页对应的网页进程为独立的网页进程,网页进程维护有至少一个子进程, 每个子进程用于加载显示一个第一类型的插件元素。 [0140] The first web page corresponding to the process as a separate web process, web maintenance process has at least one child, each child is used to load display a first type of plug-in elements.

[0141] 根据本发明上述实施例提供的装置,通过设置定时时间、设置请求发布信息的时间间隔以及发布信息展现时间间隔,降低了请求次数,从而有效降低对服务器带宽资源的占用率,减少了云端服务器的负载,并严格控制了发布信息出现的频次,极大限度的降低了发布信息对用户的打扰;通过向云端服务器发送携带上次请求的发布信息的标识,能够避免连续多次向用户展示同一发布信息,从而降低用户反感度;通过浏览器内核提供的ProgressChange事件实时获取第一网页的加载进度,能够严格控制脚本的执行时机,避免脚本执行过早发布信息还没有显示出来,就被后来加载显示的第一类型的插件元素页面"冲掉",根本不能显示;而执行过晚,又会出现第一类型的插件元素已显示,突然展现发布信息的情况,从而影响用户对插件元素的正常访问;通过在第一网页中注入脚本用来显示发布信息,能够支持多种格式的发布信息,克服了发布信息的展现形式单一的问题;通过先将第一类型的插件元素嵌入到客户端本地的第一网页中,然后在加载第一网页的同时运行脚本来展现发布信息,实现了在第一类型的插件元素加载的同时展现发布信息的目的,这样能避免现有技术中先展现发布信息,然后加载第一类型的插件元素所带来的发布信息与第一类型插件元素展现分离的问题。 [0141] apparatus according to an embodiment according to the present invention provides, by setting the timing, setting request Published information interval and the release of information to show time interval, reducing the number of requests, thus effectively reducing the server bandwidth resource utilization, reduced Cloud server load, and strictly control the release message frequency, which greatly limits to reduce the release of information to disturb the user; by sending a cloud server carries identification information published last request, the user can avoid repeatedly show the same release information, thus reducing user favorability; ProgressChange event provided real-time access through the browser kernel loading progress of the first page, can strictly control the execution timing of the script, the script execution to avoid premature release of information is not displayed, it was The first type of plug-in element on the page later Loading display of "flush" can not display; performed too late, will appear first type of plug-in element has been shown to exhibit a sudden case of the release of information, thus affecting the user plug-in element The normal access; by injecting script to display the first page of the release of information to support the release of information in multiple formats, to overcome the release of information to show the form of a single issue; embedded in the client by first element of the first type of plug-ins end local first page, and then loading the first page at the same time run a script to show the release of information to achieve the type of plug-in while the first element of the show is loaded Ads purpose, so to avoid prior art show Ads, then loading the first type of plug-in elements brought Ads with type plug-in element to show the problem of separation.

[0142] 图6示出了根据本发明另一个实施例的客户端显示发布信息的装置的结构框图。 [0142] FIG. 6 shows a block diagram of the information distribution apparatus according to the client to another embodiment of the invention is displayed. 如图6所示,该装置包括:发布信息获取模块600、第一检测模块610、嵌入模块620、运行模块630、发布信息显不模块640。 As shown in Figure 6, the apparatus comprising: Post information acquisition module 600, a first detection module 610, embedding module 620, module 630 runs, was not published information module 640.

[0143] 发布信息获取模块600,适于获取到将被加载显不的发布信息。 [0143] release information acquisition module 600, adapted to be loaded to obtain the release of the information is not significant.

[0144] 其中,获取到的将被加载显不的发布信息为多个。 [0144] where, acquired will be loaded without significant release of information for multiple. 发布信息的格式为Flash格式、 图像格式或多媒体格式。 Ads format is Flash format, image format, or multimedia format.

[0145] 发布信息获取模块600进一步包括:启动单元601、检测单元602、获取单元603。 [0145] release information acquisition module 600 further comprising: initiating unit 601, a detection unit 602, an acquisition unit 603.

[0146] 启动单元601,适于启动定时器。 [0146] Starting unit 601, adapted to start the timer.

[0147] 检测单元602,适于每当定时器的定时时间到达时,检测是否满足请求发布信息的条件。 [0147] detection unit 602, adapted whenever the timer in time arrives, requesting the release of information to detect whether the conditions are met.

[0148] 检测单元602进一步适于:读取本地配置文件,获取本次请求发布信息的时间以及上次请求的发布信息的标识;检测当前时间是否已经到达本次请求发布信息的时间,若是,则检测出满足请求发布信息的条件。 [0148] detection unit 602 is further adapted to: read the local configuration file, obtain identification Published this request and the last request for information the release of information; detecting whether the current time has arrived at this time requesting the release of information, and if so, it is detected that the release of information to satisfy the request condition.

[0149] 获取单元603,适于若检测出满足请求发布信息的条件,向云端服务器发送携带有上次请求的发布信息的标识的发布信息请求消息,而后获取云端服务器根据上次请求的发布信息的标识筛选出的新的发布信息作为将被加载显不的发布信息。 [0149] acquisition unit 603, adapted to request the release of information if the test conditions to meet, sent to the cloud server carries publish information identifying the last request has released information request message, then get cloud server publish information in accordance with the last request logo screened as new information will be loaded release was not released information.

[0150] 第一检测模块610,适于检测到对第一类型的插件元素的加载显示请求。 [0150] The first detection module 610 is adapted to detect the loading of the first type of plug-in elements display request.

[0151] 第一检测模块610具体适于:检测到存储在客户端本地的插件元素的加载显示请求。 [0151] The first detection module 610 is specifically adapted to: detect the memory display locally on the client request load plug-element.

[0152] 嵌入模块620,适于将第一类型的插件元素嵌入到客户端本地的第一网页中,其中在第一网页中注入有显示发布信息用的脚本。 [0152] embedding module 620, adapted to the first type of plug-in elements embedded into the client's local first page, which is injected into the script used to display information published on the first page.

[0153] 嵌入模块620具体适于:将存储在客户端本地的插件元素嵌入到第一网页中。 [0153] embedded module 620 is specifically adapted: stored locally on the client plug-in element embedded in the first page.

[0154] 运行模块630,适于在加载第一网页时运行显示发布信息的脚本。 [0154] Run module 630, adapted to run when loading the first page displays release scripts.

[0155] 运行模块630进一步适于:通过浏览器内核提供的ProgressChange事件实时获取第一网页的加载进度;当获知第一网页的主体部分加载完成时,运行脚本。 [0155] Run module 630 is further adapted to: ProgressChange event provides real-time access through the browser kernel loading progress of the first page; when first informed of the main part of the page is loaded, run the script.

[0156] 发布信息显不模块640,适于将发布信息覆盖显不在第一网页中的第一类型的插件元素之上。 [0156] Ads module 640 was not suitable to publish information on the cover was not in the first page of the first type of plug-in elements.

[0157] 发布信息显示模块640进一步包括:D0M节点树结构获取单元641、元素提取单元642、发布信息显示单元643。 [0157] release information display module 640 further comprises: D0M node tree structure acquisition unit 641, the element extraction unit 642, released information display unit 643.

[0158] DOM节点树结构获取单元641,适于获取第一网页的DOM节点树结构。 [0158] DOM node tree obtaining unit 641, adapted to obtain a DOM node tree structure of the first page.

[0159] 元素提取单元642,适于根据D0M节点树结构获取第一类型的插件元素以及第一类型的插件元素的显示大小。 [0159] element extraction unit 642, adapted to D0M node tree structure to obtain a first type of plug-in elements, and elements of the first type of plug-in display size.

[0160] 发布信息显示单元643,适于将获取到的发布信息转变为浮层的网页元素覆盖显示在第一类型的插件元素之上,且浮层的网页元素的显示大小与第一类型的插件元素的显示大小一致。 [0160] release information display unit 643, adapted to obtain the release of information to the web element into a floating layer covering the display on the first type of plug-in elements, and display the size of page elements floating layer of the first type have consistently shown that the size of the plug-in element.

[0161] 该装置还包括:记录模块650,适于计算下次请求发布信息的时间,将下次请求发布信息的时间和新的发布信息的标识记录到本地配置文件中。 [0161] The device further comprising: a recording module 650, adapted to calculate the next time the release of information request, the next request release time and identity of the new information on the release of information to a local profile.

[0162] 记录模块650还适于:接收云端服务器侧在没有筛选出新的发布信息的情况下返回的下次请求发布信息的时间,将下次请求发布信息的时间记录到本地配置文件中。 [0162] recording module 650 is further adapted: to receive cloud server side in the absence of screening new case returned Ads Ads of time the next request, the next time will be the release of information requests to the local profile.

[0163] 该装置还包括:关闭模块660,适于在发布信息播放结束后,关闭浮层,显示第一类型的插件元素。 [0163] The apparatus further comprises: Close the module 660 is adapted to release information at the end of play, close the floating layer, displays the first type of plug-in elements.

[0164] 该装置还包括:第一判断模块670,适于判断第一类型的插件元素的内容中是否包含发布信息。 [0164] The apparatus further comprises: a first determining module 670, adapted to judge the contents of a first type of plug-in element contains published information.

[0165] 时间长度获取模块671,适于在判断第一类型的插件元素的内容中包含发布信息的情况下,获取第一类型的插件元素的内容中包含的发布信息的时间长度。 [0165] the length of time acquisition module 671, adapted to the case where the judgment of the first type of plug-in element content contained in the release of information, the length of time to obtain the contents of the first type of plug-in elements included in the release of information.

[0166] 发布信息显示模块640具体适于:从多个发布信息中选择时间长度等于或大于第一类型的插件元素的内容中包含的发布信息的时间长度的发布信息;将选择的发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 [0166] release information display module 640 is specifically adapted to: Post Ads Ads length of time information, select the length of time equal to or greater than the first type of plug-in elements contained in the content from a plurality; the selected coverage Ads It is displayed on the first page of the first type of plug elements.

[0167] 时间长度获取模块671具体适于:从客户端本地维护的统计表中查询第一类型的插件元素的内容中包含的发布信息的时间长度。 [0167] the length of time acquisition module 671 is specifically adapted: Discover the length of time the content of the first type of plug-in elements included in the release of information from the client's local maintenance of statistical tables.

[0168] 发布信息显示模块640具体适于:从多个发布信息中选择时间长度等于或大于第一类型的插件元素的估计加载时间的发布信息,将选择的发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 [0168] release information display module 640 is specifically adapted: Ads selected length of time equal to or greater than the first type of plug-in elements of the estimated load time publish information from multiple, will publish selected information displayed on the first page of the cover The first type of plug-in elements above.

[0169] 该装置还包括:第二判断模块631,适于判断是否满足显示发布信息的条件。 [0169] The apparatus further comprises: a second judging module 631, adapted to judge whether the conditions are met Ads.

[0170] 运行模块630具体适于:若满足显示发布信息的条件则在加载第一网页时运行显示发布信息的脚本。 [0170] Run module 630 is specifically adapted: If the display Ads conditions are satisfied at the time of loading the first page of the script to run display release information.

[0171] 第二判断模块631具体适于:判断当前时间与上次显示发布信息的时间差是否超过预设时间阈值。 [0171] The second judgment module 631 is specifically adapted to: determine the current time and the last time difference display Ads whether time exceeds a preset threshold.

[0172] 发布信息获取模块600具体适于:利用客户端的主进程从云端服务器端获取将被加载显不的发布信息。 [0172] release information acquisition module 600 is specifically adapted to: use the main client acquisition process will be loaded without significant release of information from the cloud server.

[0173] 该装置还包括:通知模块611,适于在检测到对第一类型的插件元素的加载显示请求时,主进程将需要加载显示的发布信息的通知给第一网页对应的网页进程。 [0173] The apparatus further includes: a notification module 611 is adapted upon detection of the loading of the first type of plug-in elements display request, the master process will inform the release of information need to be loaded to the first page displayed web page corresponding process.

[0174] 第一网页对应的网页进程为独立的网页进程,网页进程维护有至少一个子进程, 每个子进程用于加载显示一个第一类型的插件元素。 [0174] The first web page corresponding to the process as a separate web process, web maintenance process has at least one child, each child is used to load display a first type of plug-in elements.

[0175] 根据本发明上述实施例提供的装置,通过设置定时时间、设置请求发布信息的时间间隔以及发布信息展现时间间隔,降低了请求次数,从而有效降低对服务器带宽资源的占用率,减少了云端服务器的负载,并严格控制了发布信息出现的频次,极大限度的降低了发布信息对用户的打扰;通过向云端服务器发送携带上次请求的发布信息的标识,能够避免连续多次向用户展示同一发布信息,从而降低用户反感度;通过浏览器内核提供的ProgressChange事件实时获取第一网页的加载进度,能够严格控制脚本的执行时机,避免脚本执行过早发布信息还没有显示出来,就被后来加载显示的第一类型的插件元素页面"冲掉",根本不能显示;而执行过晚,又会出现第一类型的插件元素已显示,突然展现发布信息的情况,从而影响用户对插件元素的正常访问;通过在第一网页中注入脚本用来显示发布信息,使用脚本能够支持多种格式的发布信息,克服了发布信息的展现形式单一的问题;通过先将第一类型的插件元素嵌入到客户端本地的第一网页中,然后在加载第一网页的同时运行脚本来展现发布信息,实现了在第一类型的插件元素加载的同时展现发布信息的目的,这样能避免现有技术中先展现发布信息,然后加载第一类型的插件元素所带来的发布信息与第一类型插件元素展现分离的问题。 [0175] apparatus according to an embodiment according to the present invention provides, by setting the timing, setting request Published information interval and the release of information to show time interval, reducing the number of requests, thus effectively reducing the server bandwidth resource utilization, reduced Cloud server load, and strictly control the release message frequency, which greatly limits to reduce the release of information to disturb the user; by sending a cloud server carries identification information published last request, the user can avoid repeatedly show the same release information, thus reducing user favorability; ProgressChange event provided real-time access through the browser kernel loading progress of the first page, can strictly control the execution timing of the script, the script execution to avoid premature release of information is not displayed, it was The first type of plug-in element on the page later Loading display of "flush" can not display; performed too late, will appear first type of plug-in element has been shown to exhibit a sudden case of the release of information, thus affecting the user plug-in element The normal access; by injecting script to display the first page of the release of information, the use of scripts to support publishing information in multiple formats, to overcome the release of information to show the form of a single question; the first type by first plug element is embedded local to the client first page, and then loading the first page at the same time run a script to show the release of information to achieve the type of plug-in while the first element of the show is loaded Ads purpose, so to avoid the prior art Ads show first, then load the first type of plug-in elements brought Ads with type plug-in element to show the problem of separation.

[0176] 在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。 [0176] In this algorithm, and the display is not provided to any particular computer or other device-specific virtual system related. 各种通用系统也可以与基于在此的示教一起使用。 Various general purpose systems may also be used in conjunction with the teachings of this is based on. 根据上面的描述,构造这类系统所要求的结构是显而易见的。 According to the above description, the structure of the desired configuration these systems are obvious. 此外,本发明也不针对任何特定编程语言。 Furthermore, the present invention is not directed against any particular programming language. 应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。 It should be appreciated that a variety of programming languages can be used to realize the content of the present invention described herein, and the above description is made to the disclosure of the specific language preferred embodiment of the present invention.

[0177] 在此处所提供的说明书中,说明了大量具体细节。 [0177] In the description provided herein, numerous specific details are described. 然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。 However, it is understood that the embodiments of the present invention may be practiced without these specific details. 在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。 In some instances, it has not been shown in detail well-known methods, structures and techniques, so as not to obscure the understanding of this description.

[0178] 类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。 [0178] Similarly, it should be understood that in order to streamline the disclosure and to help understand various aspects of the invention, one or more, in the above description of exemplary embodiments of the present invention, the various features of the invention are sometimes grouped together in a single embodiment, FIG, or the description thereof. 然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。 However, this method should not be interpreted as reflecting disclosed an intention: that the claimed invention requires features in each claim than those expressly set forth in more features. 更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。 More specifically, as reflected in the book of the following claims, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. 因此, 遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。 Thus, the claims following the requirements of the specific embodiment thus expressly incorporated this particular embodiment, each claim itself as a separate embodiment of the present invention.

[0179] 本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。 [0179] Those skilled in the art can appreciate that the embodiments of the device module adaptively changed and set them in connection with the embodiment of one or more different devices. 可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。 Embodiments can be combined in a module or unit or module into a module or unit or module, and in addition they can be divided into a plurality of sub-modules or sub-units or sub-assemblies. 除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。 In addition to any method such features and / or process, or at least some of the units are mutually exclusive outside, you can use any combination of this document (including the accompanying claims, abstract and drawings), as well as all the features disclosed so openly or All process equipment or unit combination. 除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。 Unless explicitly stated otherwise, each feature of the present specification (including the accompanying claims, abstract and drawings) may be provided by the same, equivalent or similar purpose alternative features instead.

[0180] 此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。 [0180] Moreover, those skilled in the art will appreciate that although in some embodiments described herein include certain features included in other embodiments, rather than other features, combinations of features of different embodiments are meant in the present and forming within the scope of the invention to different embodiments. 例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。 For example, in the book the following claims, any of the claimed embodiments can be in any one of the combinations used.

[0181] 本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。 [0181] various components of the present embodiment of the invention may be implemented in hardware, or in on one or more processors running software modules, or in a combination thereof. 本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的客户端显示发布信息的设备中的一些或者全部部件的一些或者全部功能。 Those skilled in the art will appreciate that a microprocessor may be used, or a digital signal processor (DSP) in practice to implement some or all functions Ads devices some or all of the components of an embodiment according to the client display of the present invention . 本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。 The present invention may also be implemented as a part or all of a device or apparatus programs (e.g. computer programs and computer program products) perform the method described herein is provided. 这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。 Such an implementation program of the present invention may be stored on computer readable media, or may have one or more forms of signals. 这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。 Such signals can be downloaded from the Internet website, or provided on a carrier signal, or in any other form.

[0182] 应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。 [0182] It should be noted that the above embodiments of the present invention will be described rather than limit the invention, and that those skilled in the art without departing from the scope of the appended claims, alternative embodiments may be devised. 在权利要求中, 不应将位于括号之间的任何参考符号构造成对权利要求的限制。 In the claims, it should not be located configured to restrict any reference signs between parentheses rights requirements. 单词"包含"不排除存在未列在权利要求中的元件或步骤。 The word "comprising" does not exclude the presence in a claim listed elements or steps. 位于元件之前的单词"一"或"一个"不排除存在多个这样的元件。 Located member before the word "a" or "an" does not exclude a plurality of such elements. 本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。 The present invention may be by means of hardware comprising several distinct elements, and by means of a suitably programmed computer to achieve. 在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。 In enumerating several means of the unit claims, several of these means may be through the same item of hardware embodied. 单词第一、第二、以及第三等的使用不表示任何顺序。 Word first, second, and third, etc. does not denote any order. 可将这些单词解释为名称。 These words can be interpreted as the name.

[0183] 本发明公开了:A1、一种客户端显示发布信息的方法,包括: [0183] The present invention discloses: A1, a client-side display Ads, comprising:

[0184] 获取到将被加载显示的发布信息; [0184] get to publish information displayed will be loaded;

[0185] 检测到对第一类型的插件元素的加载显示请求; [0185] detected the loading of the first type of plug-in element display request;

[0186] 将所述第一类型的插件元素嵌入到客户端本地的第一网页中,其中在第一网页中注入有显示发布信息用的脚本; [0186] The first type of plug-in elements embedded into the client's local first page, which is injected into the script used to display information in the first page of the release;

[0187] 在加载所述第一网页时运行所述显示发布信息的脚本,将所述发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 [0187] When the first page load operation of the release script displays information, will cover the release of information displayed on the first page of the first type of plug-in elements.

[0188] A2、根据A1所述的方法,所述获取到将被加载显示的发布信息进一步包括: [0188] A2, A1 according to the method of the acquired displayed will be loaded issuing information further comprises:

[0189] 启动定时器,每当所述定时器的定时时间到达时,检测是否满足请求发布信息的条件; [0189] start the timer, whenever the timer in time to reach, to detect whether the release of information to satisfy the request condition;

[0190] 若检测出满足请求发布信息的条件,向云端服务器发送携带有上次请求的发布信息的标识的发布信息请求消息,而后获取所述云端服务器根据所述上次请求的发布信息的标识筛选出的新的发布信息作为所述将被加载显示的发布信息。 [0190] cloud server identification according to the last request the release of information when the detected condition the release of information to satisfy the request, sent to the cloud server carries publish information identifying the last request has released information request message, and then obtain the screening new release information will be loaded as the release of the information displayed.

[0191] A3、根据A2所述的方法,所述检测是否满足请求发布信息的条件进一步包括: [0191] A3, A2 according to the method of detecting whether the request for the release of information satisfies the condition further comprises:

[0192] 读取本地配置文件,获取本次请求发布信息的时间以及上次请求的发布信息的标识; [0192] Read local configuration file, get this time requesting the release of information and the identification of the last request the release of information;

[0193] 检测当前时间是否已经到达所述本次请求发布信息的时间,若是,则检测出满足请求发布信息的条件。 [0193] detect whether the current time has reached the release of information request for this time, and if so, detecting request the release of information to meet the conditions.

[0194] A4、根据A2或A3所述的方法,所述发布信息请求消息还携带有用户标识; [0194] A4, A2 or A3 according to the method, wherein the release information request message further carries a user identifier;

[0195] 所述方法还包括:在所述云端服务器侧利用所述用户标识获取用户的喜好类型, 根据用户的喜好类型从发布信息库中选取发布信息;从选取的发布信息中筛除本次请求之前已经获取的发布信息,得到所述新的发布信息。 [0195] The method further comprises: in the cloud server side using the user ID to obtain the user's favorite genre, choose Post from publishing information repository based on user preferences type; sieve from the selected information in addition to this publication Before requesting release of information has been acquired to obtain the release of the new information.

[0196] A5、根据A4所述的方法,在接收到所述云端服务器筛选出的新的发布信息之后还包括:计算下次请求发布信息的时间,将下次请求发布信息的时间和新的发布信息的标识记录到本地配置文件中。 [0196] A5, A4 according to the method described, after receiving the cloud server screened new release information further comprises: computing time next request the release of information, the next request release time and new information identifies the release of information to a local profile.

[0197] A6、根据A4所述的方法,所述方法还包括:如果在所述云端服务器侧没有筛选出所述新的发布信息,则接收所述云端服务器返回的下次请求发布信息的时间,将所述下次请求发布信息的时间记录到本地配置文件中。 [0197] A6, A4 according to the method, the method further comprises: if there is no filter out the new release information on the cloud server side, the cloud server returns the next request time to receive the information published , the next time record request the release of information to the local profile.

[0198] A7、根据A1所述的方法,所述检测到对第一类型的插件元素的加载显示请求具体为:检测到待加载的网页中携带的所述插件元素的加载显示请求; [0198] A7, according to the method of the A1, the detected load of the first type of plug elements specifically request the display: detecting a web page to be loaded to the load-carrying elements of the plug-in display request;

[0199] 所述将第一类型的插件元素嵌入到客户端本地的第一网页中进一步包括: [0199] The first type of plug-in elements embedded into the client's local first glance further comprising:

[0200] 在所述待加载的网页中提取所述插件元素对应的D0M节点; [0200] extracts elements D0M corresponding node of the plug-ins to be loaded in the web page;

[0201] 通过所述D0M节点获取所述插件元素,并将所述插件元素嵌入到客户端本地的第一网页中。 [0201] obtaining the plug-in element by the D0M node, and embed the plug-in element to the local client first page.

[0202] A8、根据A7所述的方法,所述加载第一网页进一步包括: [0202] A8, A7 according to the method of loading the first page further comprises:

[0203] 同时加载所述待加载的网页和所述第一网页,并且所述第一网页覆盖显示在所述待加载的网页中的第一类型的插件元素之上。 [0203] while loading the page to be loaded and the first page and the first page is displayed on the cover page to be loaded in the first type of plug-in elements.

[0204] A9、根据A7所述的方法,所述加载第一网页进一步包括:停止加载所述待加载的网页,加载第一网页。 [0204] A9, A7 according to the method described in the first page load further comprises: Stop loading the page to be loaded, loading the first page.

[0205] A10、根据A1所述的方法,所述检测到对第一类型的插件元素的加载显示请求具体为:检测到存储在客户端本地的所述插件元素的加载显示请求; [0205] A10, A1 according to the method described, the detected load of the first type of plug-in elements show specific request to: detect the loading of the insert elements are stored locally on the client display request;

[0206] 所述将第一类型的插件元素嵌入到客户端本地的第一网页中具体为:将所述存储在客户端本地的所述插件元素嵌入到第一网页中。 [0206] The first type of plug-in elements embedded into the client's local first pages in particular: the plug-in element of the stored locally on the client embedded in the first page.

[0207] All、根据A1-A10任一项所述的方法,在所述加载第一网页时运行所述显示发布信息的脚本进一步包括: [0207] All, according to the method of any one of A1-A10, the operation of the display release information when loading the first page of the script further comprises:

[0208] 通过浏览器内核提供的ProgressChange事件实时获取所述第一网页的加载进度; [0208] ProgressChange event provides real-time access through the browser kernel loading progress of the first page;

[0209] 当获知所述第一网页的主体部分加载完成时,运行所述脚本。 [0209] When the main part of learning that the first page is loaded, run the script.

[0210] A12、根据A1所述的方法,所述将发布信息覆盖显示在第一网页中的第一类型的插件元素之上进一步包括: [0210] A12, A1 according to the method described, the information will be published on the cover is displayed in the first page of the first type of plug-in element further comprising:

[0211] 获取所述第一网页的D0M节点树结构; [0211] to obtain the first web page D0M node tree structure;

[0212] 根据所述D0M节点树结构获取第一类型的插件元素以及所述第一类型的插件元素的显示大小; [0212] The D0M node tree structure according to a first type of plug-ins to obtain and display the size of the elements of the first type of plug-in elements;

[0213] 将获取到的发布信息转变为浮层的网页元素覆盖显示在所述第一类型的插件元素之上,且所述浮层的网页元素的显示大小与所述第一类型的插件元素的显示大小一致。 [0213] will get to release information into a floating layer covering the display page elements on the first type of plug-in elements, and the size of the display page elements floating layer with the first type of plug-in element The display of the same size.

[0214] A13、根据A12所述的方法,所述方法还包括:在发布信息播放结束后,关闭所述浮层,显示所述第一类型的插件元素。 [0214] A13, A12 according to the method, the method further comprises: at the end of the play after the release of the information, close the floating layer, displaying the first type of plug-in elements.

[0215] A14、根据A1-A13任一项所述的方法,所述获取到的将被加载显示的发布信息为多个; [0215] A14, the method according to any one of A1-A13, wherein the acquired information is displayed will be loaded into a plurality released;

[0216] 所述方法还包括:判断所述第一类型的插件元素的内容中是否包含发布信息;若包含,则获取所述第一类型的插件元素的内容中包含的发布信息的时间长度; [0216] The method further comprises: determining whether the contents of the first type of plug-in element contains Ads; if included, the length of time to obtain the release of information content of the first type of plug-in elements included;

[0217] 所述将发布信息覆盖显示在第一网页中的第一类型的插件元素之上具体为:从多个发布信息中选择时间长度等于或大于所述第一类型的插件元素的内容中包含的发布信息的时间长度的发布信息,将选择的发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 [0217] The release of the information displayed on the cover of the first page of the first type of plug-in elements in particular: publishing selected information from a plurality of the length of time equal to or greater than the first type of plug-in element content Ads length of time of the release of information contained in the release of information covering the selected display on the first page of the first type of plug-in elements.

[0218] A15、根据A14所述的方法,所述获取第一类型的插件元素的内容中包含的发布信息的时间长度具体为:从客户端本地维护的统计表中查询第一类型的插件元素的内容中包含的发布信息的时间长度。 [0218] A15, A14 according to the method described, the acquisition time length of the contents of the first type of plug-in elements included in the release of information in particular: from the client's local maintenance tables in a query first type plug element The length of time the content contained in the release of information.

[0219] A16、根据A1-A13任一项所述的方法,所述获取到的将被加载显示的发布信息为多个; [0219] A16, A method as claimed in any of A1-A13, the acquired information is displayed will be loaded into a plurality released;

[0220] 所述方法还包括:检测网络状态以及第一类型的插件元素的类型,确定所述第一类型的插件元素的估计加载时间; [0220] The method further comprises: detecting the type of network status, and the first type of plug elements, determining an estimated first type of plug elements of the load time;

[0221] 所述将发布信息覆盖显示在第一网页中的第一类型的插件元素之上具体为:从多个发布信息中选择时间长度等于或大于所述第一类型的插件元素的估计加载时间的发布信息,将选择的发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 [0221] The release of the information displayed on the cover of the first page of the first type of plug-in elements in particular: publishing selected information from a plurality of the length of time equal to or greater than the first type of plug-in elements of the estimated load Ads of time, publish information covering the selected display on the first page of the first type of plug-in elements.

[0222] A17、根据A1-A16任一项所述的方法,在所述在加载所述第一网页时运行所述显示发布信息的脚本之前,所述方法还包括:判断是否满足显示发布信息的条件; [0222] A17, the method according to any one of A1-A16, in the first run when the page is loaded before the release of the script information display, the method further comprising: determining whether to meet the display Ads conditions;

[0223] 若满足显示发布信息的条件则在加载所述第一网页时运行所述显示发布信息的脚本。 [0223] If the release of information to satisfy the conditions displayed in the loading operation of the display the first page release scripts.

[0224] A18、根据A17所述的方法,所述判断是否满足显示发布信息的条件具体为:判断当前时间与上次显示发布信息的时间差是否超过预设时间阈值。 [0224] A18, A17 according to the method described in the judgment meets the conditions for the release of information displayed in particular: to determine the current time and the last time difference display Ads whether time exceeds a preset threshold.

[0225] A19、根据A1-A18任一项所述的方法,获取到将被加载显示的发布信息具体为:利用客户端的主进程从云端服务器侧获取将被加载显示的发布信息; [0225] A19, A1-A18 method according to any one of claims, acquired will be loaded displayed Ads particular: the use of the main client acquisition process will be loaded from the display of Ads cloud server side;

[0226] 所述方法还包括:在检测到对第一类型的插件元素的加载显示请求时,所述主进程将需要加载显示的发布信息通知给第一网页对应的网页进程。 [0226] The method further comprises: detecting the loading of the first type of plug-in elements display request, the main process will need to load the release of information to the first page displayed notification process corresponding pages.

[0227] A20、根据A19所述的方法,所述第一网页对应的网页进程为独立的网页进程,所述网页进程维护有至少一个子进程,每个子进程用于加载显示一个第一类型的插件元素。 [0227] A20, A19 according to the method, wherein the first web page corresponding to the process as a separate page process, the process of maintaining the web has at least one child, each child is used to load a first type of display plug-in element.

[0228] A21、根据A1-A20任一项所述的方法,所述发布信息的格式为Flash格式、图像格式或多媒体格式。 [0228] A21, A1-A20 method according to any one of the publishing format information for Flash format, image format, or multimedia format.

[0229] 本发明还公开了:B22、一种客户端显示发布信息的装置,包括: [0229] The present invention also discloses: means information B22, a client displays releases, including:

[0230] 发布信息获取模块,适于获取到将被加载显示的发布信息; [0230] release information acquisition module adapted to be loaded to obtain the release of the information displayed;

[0231] 第一检测模块,适于检测到对第一类型的插件元素的加载显示请求; [0231] The first detection module is adapted to detect the loading of the first type of plug-in element display request;

[0232] 嵌入模块,适于将所述第一类型的插件元素嵌入到客户端本地的第一网页中,其中在第一网页中注入有显示发布信息用的脚本; [0232] embedding module is adapted to the first type of plug-in elements embedded into the client's local first page, which is injected into the script used to display information in the first page of the release;

[0233] 运行模块,适于在加载所述第一网页时运行所述显示发布信息的脚本; [0233] Run module adapted to run when loading the first page of the script to display information dissemination;

[0234] 发布信息显示模块,适于将所述发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 [0234] Ads display module is adapted to cover the release of information displayed on the first page of the first type of plug-in elements.

[0235] B23、根据B22所述的装置,所述发布信息获取模块进一步包括: [0235] B23, B22 apparatus according to the published information acquiring module further comprises:

[0236] 启动单元,适于启动定时器; [0236] Starting unit adapted to start a timer;

[0237] 检测单元,适于每当所述定时器的定时时间到达时,检测是否满足请求发布信息的条件; [0237] detection unit adapted whenever the timer in time to reach, to detect whether the release of information to satisfy the request condition;

[0238] 获取单元,适于若检测出满足请求发布信息的条件,向云端服务器发送携带有上次请求的发布信息的标识的发布信息请求消息,而后获取所述云端服务器根据所述上次请求的发布信息的标识筛选出的新的发布信息作为所述将被加载显示的发布信息。 [0238] acquisition unit adapted to request the release of information if the test conditions to meet, sent to the cloud server carries publish information identifying the last request has released information request message, and then obtaining the cloud server requests based on the last The release identification information selected as the new release of the information displayed will be loaded release information.

[0239] B24、根据B23所述的装置,所述检测单元进一步适于: [0239] B24, B23 apparatus according to the detecting unit is further adapted to:

[0240] 读取本地配置文件,获取本次请求发布信息的时间以及上次请求的发布信息的标识; [0240] Read local configuration file, get this time requesting the release of information and the identification of the last request the release of information;

[0241] 检测当前时间是否已经到达所述本次请求发布信息的时间,若是,则检测出满足请求发布信息的条件。 [0241] detect whether the current time has reached the release of information request for this time, and if so, detecting request the release of information to meet the conditions.

[0242] B25、根据B23或B24所述的方法,还包括:记录模块,适于计算下次请求发布信息的时间,将下次请求发布信息的时间和新的发布信息的标识记录到本地配置文件中。 [0242] B25, according to B23 or B24 method, further comprising: a recording module, adapted to calculate the next time the release of information request, the next time and request the release of information to identify the new release of information to a local configuration file.

[0243] B26、根据B25所述的装置,所述记录模块还适于:接收所述云端服务器侧在没有筛选出所述新的发布信息的情况下返回的下次请求发布信息的时间,将所述下次请求发布信息的时间记录到本地配置文件中。 [0243] B26, B25 apparatus according to the recording module is further adapted to: receive the next cloud server side in the case of the release of the new information did not return requests for release of selected information of time, will Ads of time the next request to a local profile.

[0244] B27、根据B22所述的装置,所述第一检测模块具体适于:检测到待加载的网页中携带的所述插件元素的加载显示请求; [0244] B27, B22 apparatus according to the first specific detection module is adapted to: detect the loading of the page to be loaded in the plug-carrying element display request;

[0245] 所述嵌入模块进一步包括: [0245] The embedding module further comprises:

[0246] 提取单元,适于在所述待加载的网页中提取所述插件元素对应的D0M节点; [0246] extraction unit adapted to extract the insert element corresponding D0M node in the pages to be loaded;

[0247] 插件元素获取单元,适于通过所述D0M节点获取所述插件元素; [0247] plug-in element acquisition unit, adapted by the D0M get the plug-in element node;

[0248] 嵌入单元,将所述插件元素嵌入到客户端本地的第一网页中。 [0248] embedding unit, the plug-in element embedded into the client's local first page.

[0249] B28、根据B27所述的装置,所述运行模块具体适于: [0249] B28, B27 of the apparatus according to the, the specific operation module is adapted to:

[0250] 同时加载所述待加载的网页和所述第一网页,并且所述第一网页覆盖显示在所述待加载的网页中的第一类型的插件元素之上。 [0250] while loading the page to be loaded and the first page and the first page is displayed on the cover page to be loaded in the first type of plug-in elements.

[0251] B29、根据B27所述的装置,所述运行模块具体适于:停止加载所述待加载的网页, 加载第一网页。 [0251] B29, B27 apparatus according to the run-time module is specifically adapted: Stop loading the page to be loaded, loading the first page.

[0252] B30、根据B22所述的装置,所述第一检测模块具体适于:检测到存储在客户端本地的所述插件元素的加载显示请求; [0252] B30, B22 apparatus according to the first detector module specifically adapted to: detect the loading of the insert elements are stored locally on the client display request;

[0253] 所述嵌入模块具体适于:将所述存储在客户端本地的所述插件元素嵌入到第一网页中。 [0253] The embedding module specifically adapted: the plug element is stored in the client local embedded into the first page.

[0254] B31、根据B22-B30任一项所述的装置,所述运行模块进一步适于:通过浏览器内核提供的ProgressChange事件实时获取所述第一网页的加载进度;当获知所述第一网页的主体部分加载完成时,运行所述脚本。 [0254] B31, B22-B30 apparatus according to any one of the run-time module is further adapted to: ProgressChange event provides real-time access through the browser kernel loading progress of the first web page; when informed of the first When the main part of the page is loaded, run the script.

[0255] B32、根据B22所述的装置,所述发布信息显示模块进一步包括: [0255] B32, B22 apparatus according to the published information display module further comprises:

[0256] D0M节点树结构获取单元,适于获取所述第一网页的D0M节点树结构; [0256] D0M node tree acquiring unit, adapted to obtain D0M node tree structure of the first web page;

[0257] 元素提取单元,适于根据所述D0M节点树结构获取第一类型的插件元素以及所述第一类型的插件元素的显示大小; [0257] element extraction unit, adapted to obtain the D0M node tree structure and the first type of plug elements of the plug element of a first type of display size;

[0258] 发布信息显示单元,适于将获取到的发布信息转变为浮层的网页元素覆盖显示在所述第一类型的插件元素之上,且所述浮层的网页元素的显示大小与所述第一类型的插件元素的显示大小一致。 [0258] release information display unit, adapted to obtain the release of information into a floating layer of cover page elements appear on top of the first type of plug-in element and the display size and the floating layer of page elements consistent element of said first type of plug-in display size.

[0259] B33、根据B32所述的装置,还包括:关闭模块,适于在发布信息播放结束后,关闭所述浮层,显示所述第一类型的插件元素。 [0259] B33, B32 apparatus according to, further comprising: a closed module adapted to play after the release of the end of the message, close the floating layer, displaying the first type of plug-in elements.

[0260] B34、根据B22-B33任一项所述的装置,所述获取到的将被加载显示的发布信息为多个; [0260] B34, said apparatus according to any one of B22-B33, the acquired information is displayed will be loaded into a plurality released;

[0261] 所述装置还包括:第一判断模块,适于判断所述第一类型的插件元素的内容中是否包含发布信息; [0261] The apparatus further comprises: a first determining module, adapted to judge the content of the first type of plug-in element contains published information;

[0262] 时间长度获取模块,适于在判断所述第一类型的插件元素的内容中包含发布信息的情况下,获取所述第一类型的插件元素的内容中包含的发布信息的时间长度; Length [0262] time acquisition module, adapted to the case of the release of information contained in the determination of the first type of plug-in element content, the length of time to obtain the release of information content of the first type of plug elements contained;

[0263] 所述发布信息显示模块具体适于:从多个发布信息中选择时间长度等于或大于所述第一类型的插件元素的内容中包含的发布信息的时间长度的发布信息;将选择的发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 [0263] release of the information display module specifically adapted to: release from a plurality of information, select the length of time equal to or greater than the length of time Ads Ads of the contents of the first type of plug-in elements contained; the selected Ads on the cover display in the first page of the first type of plug-in elements.

[0264] B35、根据B34所述的装置,时间长度获取模块具体适于:从客户端本地维护的统计表中查询第一类型的插件元素的内容中包含的发布信息的时间长度。 [0264] B35, B34 apparatus according to the length of time acquisition module specifically adapted to: a locally maintained from the client query tables the length of time the content of the first type of plug-in elements included in the release of information.

[0265] B36、根据B22-B33任一项所述的装置,所述获取到的将被加载显示的发布信息为多个; [0265] B36, said apparatus according to any one of B22-B33, the acquired information is displayed will be loaded into a plurality released;

[0266] 所述装置还包括:第二检测模块,适于检测网络状态以及第一类型的插件元素的类型; [0266] The apparatus further comprises: a second detecting module, adapted to detect the status of the network and the type of the first type of plug-in elements;

[0267] 确定模块,适于确定所述第一类型的插件元素的估计加载时间; [0267] determining module, adapted to determine estimates of the elements of the first type of plug loading time;

[0268] 所述发布信息显示模块具体适于:从多个发布信息中选择时间长度等于或大于所述第一类型的插件元素的估计加载时间的发布信息,将选择的发布信息覆盖显示在第一网页中的第一类型的插件元素之上。 [0268] release of the information display module specifically adapted to: release from a plurality of information, select the length of time equal to or greater than the estimated load time Ads element of the first type of plug-in will publish selected information coverage shown in the first A web page on the plug-in element of the first type.

[0269] B37、根据B22-B36任一项所述的装置,还包括:第二判断模块,适于判断是否满足显示发布信息的条件; [0269] B37, said apparatus according to any one of B22-B36, further comprising: a second judging module, adapted to judge whether the condition is satisfied Ads;

[0270] 所述运行模块具体适于:若满足显示发布信息的条件则在加载所述第一网页时运行所述显示发布信息的脚本。 [0270] The run-time module is specifically adapted: If the display Ads conditions are satisfied in the load script information to run the show released when the first page.

[0271] B38、根据B37所述的装置,所述第二判断模块具体适于:判断当前时间与上次显示发布信息的时间差是否超过预设时间阈值。 [0271] B38, B37 apparatus according to the second judgment module specifically adapted to: determine the current time and the last time difference display Ads whether time exceeds a preset threshold.

[0272] B39、根据B22-B38任一项所述的装置,所述发布信息获取模块具体适于:利用客户端的主进程从云端服务器端获取将被加载显示的发布信息; [0272] B39, device according to any one of the B22-B38, the release of information acquisition module specifically adapted to: use the main client acquisition process will be loaded displayed Ads from the cloud server;

[0273] 所述装置还包括:通知模块,适于在检测到对第一类型的插件元素的加载显示请求时,所述主进程将需要加载显示的发布信息的通知给第一网页对应的网页进程。 [0273] The apparatus further comprises: a notification module adapted to notify the release of information upon detection of the loading of the first type of plug-in elements display request, the main process will need to be loaded to the first page to display the corresponding page process.

[0274] B40、根据B39所述的装置,所述第一网页对应的网页进程为独立的网页进程,所述网页进程维护有至少一个子进程,每个子进程用于加载显示一个第一类型的插件元素。 [0274] B40, B39 apparatus according to the first web page corresponding to the process as a separate page process, the process of maintaining the web has at least one child, each child is used to load a first type of display plug-in element.

[0275] B41、根据B22-B40任一项所述的装置,所述发布信息的格式为Flash格式、图像格式或多媒体格式。 [0275] B41, device according to any one of the B22-B40, the format of the information released to Flash format, image format, or multimedia format.

Patent Citations
Cited PatentFiling datePublication dateApplicantTitle
CN101136815A *31 Aug 20065 Mar 2008腾讯科技(深圳)有限公司Method and system for broadcasting advertisement during network living broadcast buffering process
CN101198022A *26 Dec 200711 Jun 2008青岛海信移动通信技术股份有限公司Method for inter cutting video information in stream media broadcasting or buffering course
CN101430781A *5 Nov 200713 May 2009上海柯楠网络科技有限公司Advertisement putting method for network video
US6654784 *14 Jan 200025 Nov 2003Nexaweb Technologies, IncComputing architecture
Referenced by
Citing PatentFiling datePublication dateApplicantTitle
CN105404539A *30 Dec 201516 Mar 2016网易(杭州)网络有限公司Method for transplanting client game into webpage game, webpage game system and terminal
Classifications
International ClassificationH04L29/08
Legal Events
DateCodeEventDescription
12 Nov 2014C06Publication
10 Dec 2014C10Entry into substantive examination