[go: up one dir, main page]

CN106951238A - Page display method and device - Google Patents

Page display method and device Download PDF

Info

Publication number
CN106951238A
CN106951238A CN201710137203.9A CN201710137203A CN106951238A CN 106951238 A CN106951238 A CN 106951238A CN 201710137203 A CN201710137203 A CN 201710137203A CN 106951238 A CN106951238 A CN 106951238A
Authority
CN
China
Prior art keywords
page
preheating
content
attribute information
effective time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710137203.9A
Other languages
Chinese (zh)
Other versions
CN106951238B (en
Inventor
张旭华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710137203.9A priority Critical patent/CN106951238B/en
Publication of CN106951238A publication Critical patent/CN106951238A/en
Application granted granted Critical
Publication of CN106951238B publication Critical patent/CN106951238B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本公开是关于一种页面显示方法和装置,当监测到用户访问页面的操作时,页面的属性信息中包括该页面的预热页面的信息获取页面的属性信息,根据该页面的属性信息,显示该页面的预热页面的内容,并在预热页面的生效时间过期时,将当前页面的显示内容从该页面的预热页面的内容切换到该页面的内容。所述方法当页面的预热页面的生效时间过期时,能够自动从预热页面切换到该页面,不需要用户操作,带给用户更好的体验。

The present disclosure relates to a method and device for displaying a page. When the operation of a user accessing a page is detected, the attribute information of the page includes the information of the preheated page of the page to obtain the attribute information of the page, and according to the attribute information of the page, display The content of the preheated page of the page, and when the effective time of the preheated page expires, the display content of the current page is switched from the content of the preheated page of the page to the content of the page. The method can automatically switch from the preheating page to the page when the effective time of the preheating page of the page expires, without user operation, and brings users a better experience.

Description

页面显示方法和装置Page display method and device

技术领域technical field

本公开涉及通信技术,尤其涉及一种页面显示方法和装置。The present disclosure relates to communication technology, and in particular to a page display method and device.

背景技术Background technique

现有终端设备上的应用(application,简称app)越来越多地采用(hypertextmarkup language,简称html5)来配合android/ios操作系统实现一些功能,例如,各种购物app。在购物app上,商家可能会定期做一些商品推广、促销活动,这些活动往往是有一定的实效性,且需要预先告知用户活动的存在,在活动正式开始之前,页面上不显示活动内容,只显示活动的宣传推广内容,在活动正式开始后,用户通过操作可以将该页面的内容从宣传推广内容切换到活动内容。More and more applications (application, app for short) on existing terminal devices adopt (hypertextmarkup language, html5 for short) to cooperate with android/ios operating system to realize some functions, for example, various shopping apps. On the shopping app, merchants may carry out some product promotion and sales promotion activities on a regular basis. These activities often have certain effectiveness, and users need to be notified of the existence of the activity in advance. Display the promotional content of the event. After the event officially starts, the user can switch the content of the page from the promotional content to the event content through operations.

发明内容Contents of the invention

为克服相关技术中存在的问题,本公开提供一种页面显示方法和装置。In order to overcome the problems existing in related technologies, the present disclosure provides a page display method and device.

根据本公开实施例的第一方面,提供一种页面显示方法,包括:According to a first aspect of an embodiment of the present disclosure, a method for displaying a page is provided, including:

当监测到用户访问页面的操作时,获取所述页面的属性信息,所述页面的属性信息中包括所述页面的预热页面的信息;When the operation of the user accessing the page is monitored, the attribute information of the page is obtained, and the attribute information of the page includes the information of the preheating page of the page;

根据所述页面的属性信息,显示所述页面的预热页面的内容,并在所述预热页面的生效时间过期时,将当前页面的显示内容从所述页面的预热页面的内容切换到所述页面的内容。According to the attribute information of the page, display the content of the preheating page of the page, and when the effective time of the preheating page expires, switch the display content of the current page from the content of the preheating page of the page to the content of said page.

可选的,所述根据所述页面的属性信息,显示所述页面的预热页面的内容,包括:Optionally, the displaying the content of the preheating page of the page according to the attribute information of the page includes:

根据所述页面的属性信息判断所述页面是否有预热页面;judging whether the page has a warm-up page according to the attribute information of the page;

当所述页面有预热页面时,根据所述预热页面的生效时间判断所述预热页面是否有效;When the page has a preheating page, judge whether the preheating page is valid according to the effective time of the preheating page;

当所述预热页面有效时,获取所述预热页面的内容,并显示所述预热页面的内容。When the preheating page is valid, acquire the content of the preheating page and display the content of the preheating page.

可选的,所述根据所述页面的属性信息判断所述页面是否有预热页面,包括:Optionally, the judging whether the page has a preheating page according to the attribute information of the page includes:

判断所述页面的属性信息中是否包含预热属性的标识;Judging whether the attribute information of the page includes the identifier of the preheating attribute;

当所述页面的属性信息中包含预热属性的标识时,确定所述页面有预热页面。When the attribute information of the page includes the identifier of the preheating attribute, it is determined that the page has a preheating page.

可选的,所述页面的预热页面为多个,每个预热页面的生效时间不同。Optionally, there are multiple preheating pages for the page, and each preheating page has a different effective time.

可选的,当所述多个预热页面的生效时间连续时,还包括:Optionally, when the effective times of the multiple preheating pages are continuous, further include:

当当前预热页面的生效时间过期时,切换到下一个生效时间连续的预热页面。When the effective time of the current preheating page expires, switch to the next preheating page with continuous effective time.

可选的,所述方法还包括:Optionally, the method also includes:

生成所述预热页面、所述预热页面的生效时间和所述预热页面的预热属性的标识;Generating the preheating page, the effective time of the preheating page, and the preheating attribute identification of the preheating page;

将所述预热页面的内容和所述页面的内容存储在硬盘中,将所述预热页面的内容存储在内存中;storing the content of the preheated page and the content of the page in the hard disk, and storing the content of the preheated page in the memory;

将所述预热页面的生效时间和所述预热页面的预热属性的标识添加到所述页面的属性信息中。The effective time of the preheating page and the identifier of the preheating attribute of the preheating page are added to the attribute information of the page.

根据本公开实施例的第二方面,提供一种页面显示装置,包括:According to a second aspect of the embodiments of the present disclosure, there is provided a page display device, including:

第一获取模块,被配置为当监测到用户访问页面的操作时,获取所述页面的属性信息,所述页面的属性信息中包括所述页面的预热页面的信息;The first obtaining module is configured to obtain the attribute information of the page when monitoring the user's operation of accessing the page, and the attribute information of the page includes the information of the preheating page of the page;

显示模块,被配置为根据所述页面的属性信息,显示所述页面的预热页面的内容;The display module is configured to display the content of the preheating page of the page according to the attribute information of the page;

第一切换模块,被配置为根据所述页面的属性信息,在所述预热页面的生效时间过期时,将当前页面的显示内容从所述页面的预热页面的内容切换到所述页面的内容。The first switching module is configured to switch the display content of the current page from the content of the preheating page of the page to the content of the page when the effective time of the preheating page expires according to the attribute information of the page content.

可选的,所述显示模块,包括:Optionally, the display module includes:

第一判断子模块,被配置为根据所述页面的属性信息判断所述页面是否有预热页面;The first judging submodule is configured to judge whether the page has a preheating page according to the attribute information of the page;

第二判断子模块,被配置为当所述页面有预热页面时,根据所述预热页面的生效时间判断所述预热页面是否有效;The second judging submodule is configured to judge whether the preheating page is valid according to the effective time of the preheating page when the page has a preheating page;

获取子模块,被配置为当所述预热页面有效时,获取所述预热页面的内容;The obtaining submodule is configured to obtain the content of the preheating page when the preheating page is valid;

显示子模块,被配置为显示所述获取子模块获取的所述预热页面的内容。The display submodule is configured to display the content of the warm-up page acquired by the acquisition submodule.

可选的,所述第一判断模块具体被配置为:Optionally, the first judging module is specifically configured as:

判断所述页面的属性信息中是否包含预热属性的标识;Judging whether the attribute information of the page includes the identifier of the preheating attribute;

当所述页面的属性信息中包含预热属性的标识时,确定所述页面有预热页面。When the attribute information of the page includes the identifier of the preheating attribute, it is determined that the page has a preheating page.

可选的,所述页面的预热页面为多个,每个预热页面的生效时间不同。Optionally, there are multiple preheating pages for the page, and each preheating page has a different effective time.

可选的,当所述多个预热页面的生效时间连续时,还包括:Optionally, when the effective times of the multiple preheating pages are continuous, further include:

第二切换模块,被配置为当当前预热页面的生效时间过期时,切换到下一个生效时间连续的预热页面。The second switching module is configured to switch to the next preheating page with continuous effective time when the valid time of the current preheated page expires.

可选的,所述装置还包括:Optionally, the device also includes:

生成模块,被配置为生成所述预热页面、所述预热页面的生效时间和所述预热页面的预热属性的标识;A generating module configured to generate the preheating page, the effective time of the preheating page, and the preheating attribute of the preheating page;

存储模块,被配置为将所述预热页面的内容和所述页面的内容存储在硬盘中,将所述预热页面的内容存储在内存中;a storage module configured to store the content of the preheated page and the content of the page in a hard disk, and store the content of the preheated page in memory;

添加模块,被配置为将所述预热页面的生效时间和所述预热页面的预热属性的标识添加到所述页面的属性信息中。The adding module is configured to add the effective time of the preheating page and the identifier of the preheating attribute of the preheating page to the attribute information of the page.

根据本公开实施例的第三方面,提供一种页面显示装置,包括:According to a third aspect of the embodiments of the present disclosure, there is provided a page display device, including:

存储器;memory;

被配置为存储处理器可执行指令的存储器;memory configured to store processor-executable instructions;

其中,所述处理器被配置为:Wherein, the processor is configured as:

当监测到用户访问页面的操作时,获取所述页面的属性信息,所述页面的属性信息中包括所述页面的预热页面的信息;When the operation of the user accessing the page is monitored, the attribute information of the page is obtained, and the attribute information of the page includes the information of the preheating page of the page;

根据所述页面的属性信息,显示所述页面的预热页面的内容,并在所述预热页面的生效时间过期时,将当前页面的显示内容从所述页面的预热页面的内容切换到所述页面的内容。According to the attribute information of the page, display the content of the preheating page of the page, and when the effective time of the preheating page expires, switch the display content of the current page from the content of the preheating page of the page to the content of said page.

本公开的实施例提供的技术方案可以包括以下有益效果:当监测到用户访问页面的操作时,获取页面的属性信息,根据该页面的属性信息,显示该页面的预热页面的内容,并在预热页面的生效时间过期时,将当前页面的显示内容从该页面的预热页面的内容切换到该页面的内容。所述方法当页面的预热页面的生效时间过期时,能够自动从预热页面切换到该页面,不需要用户操作,带给用户更好的体验。The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: when the operation of the user accessing the page is monitored, the attribute information of the page is obtained, and according to the attribute information of the page, the content of the preheating page of the page is displayed, and When the effective time of the warm-up page expires, the display content of the current page is switched from the content of the warm-up page of the page to the content of the page. The method can automatically switch from the preheating page to the page when the effective time of the preheating page of the page expires, without user operation, and brings better experience to the user.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.

图1是根据一示例性实施例示出的一种页面显示方法的流程图。Fig. 1 is a flowchart of a method for displaying a page according to an exemplary embodiment.

图2是根据一示例性实施例示出的一种页面显示方法的流程图。Fig. 2 is a flowchart of a page display method according to an exemplary embodiment.

图3是根据一示例性实施例示出的一种页面显示方法的流程图。Fig. 3 is a flowchart of a page display method according to an exemplary embodiment.

图4是根据一示例性实施例示出的一种页面显示装置的框图。Fig. 4 is a block diagram of a page display device according to an exemplary embodiment.

图5是根据一示例性实施例示出的一种页面显示装置的框图。Fig. 5 is a block diagram of a page display device according to an exemplary embodiment.

图6是根据一示例性实施例示出的一种页面显示装置的框图。Fig. 6 is a block diagram of a page display device according to an exemplary embodiment.

图7是根据一示例性实施例示出的一种页面显示装置的框图。Fig. 7 is a block diagram of a page display device according to an exemplary embodiment.

图8是根据一示例性实施例示出的一种页面显示装置的实体框图。Fig. 8 is a physical block diagram of a page display device according to an exemplary embodiment.

图9是根据一示例性实施例示出的一种页面显示装置800的框图。Fig. 9 is a block diagram of a page display device 800 according to an exemplary embodiment.

具体实施方式detailed description

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

图1是根据一示例性实施例示出的一种页面显示方法的流程图,该方法由终端设备执行,具体可以应用在终端设备的各app上,如图1所示,该页面显示方法包括以下步骤。Fig. 1 is a flow chart of a method for displaying a page according to an exemplary embodiment. The method is executed by a terminal device and can be specifically applied to each app of the terminal device. As shown in Fig. 1 , the method for displaying a page includes the following step.

在步骤S101中,当监测到用户访问页面的操作时,获取该页面的属性信息,该页面的属性信息中包括该页面的预热页面的信息。In step S101, when an operation of accessing a page by a user is detected, attribute information of the page is acquired, and the attribute information of the page includes information of a preheated page of the page.

用户可以根据页面的统一资源定位符(Uniform Resource Locatorurl,简称URL)访问页面,当用户访问该页面时,先获取该页面的属性信息。该页面的属性信息中包括该页面的URL以及该页面的预热页面的信息,该页面的预热页面的信息包括该页面的预热页面的预热属性的标识(prepare_id)和预热页面的生效时间。预热页面主要显示商品推广、促销活动的信息。该页面可以是购物网站或购物app的页面,该页面可以由htlm或htlm5实现。A user may access a page according to a uniform resource locator (Uniform Resource Locator url, URL for short) of the page. When the user accesses the page, the attribute information of the page is obtained first. The attribute information of the page includes the URL of the page and the information of the preheating page of the page, and the information of the preheating page of the page includes the identification (prepare_id) of the preheating attribute of the preheating page of the page and the Effective time. The warm-up page mainly displays information about product promotions and sales promotions. The page can be a page of a shopping website or a shopping app, and the page can be implemented by htlm or htlm5.

在步骤S102中,根据该页面的属性信息,显示该页面的预热页面的内容,并在预热页面的生效时间过期时,将当前页面的显示内容从该页面的预热页面的内容切换到该页面的内容。In step S102, according to the attribute information of the page, the content of the preheating page of the page is displayed, and when the effective time of the preheating page expires, the display content of the current page is switched from the content of the preheating page of the page to the content of the page.

其中,该页面的预热页面可能有一个或多个,每个预热页面都有一个预热属性的标识,该预热属性的标识可以唯一标识一个预热页面,且每个预热页面都有生效时间。当该页面的预热页面有多个时,该多个页面的生效时间不同,从而可以实现在不同的时间段显示不同的预热页面。Among them, there may be one or more warm-up pages for this page, and each warm-up page has an identifier of a warm-up attribute, and the identifier of the warm-up attribute can uniquely identify a warm-up page, and each warm-up page has There is an effective time. When there are multiple warm-up pages on the page, the effective times of the multiple pages are different, so that different warm-up pages can be displayed in different time periods.

当该页面有多个预热页面时,且多个预热页面的生效时间连续时,可以在当前预热页面超期后,自动切换到下一个预热页面,带给用户更好的体验。When there are multiple warm-up pages on this page, and the effective time of multiple warm-up pages is continuous, it can automatically switch to the next warm-up page after the current warm-up page expires, bringing users a better experience.

在显示预热页面的内容之前,需要获取预先页面的内容。一种实现方式中,该预热页面的内容预先存储在了内存中,后续可以直接从内存中读取该预热页面的内容,从而提高了获取预热页面的内容的速度。另一种实现方式中,从硬盘读取预热页面的内容,从硬盘读取数据的速度较慢,先将预热页面的内容从硬盘中读取到内容中,再从内存中读取预热页面的内容。Before displaying the content of the preheating page, the content of the preheating page needs to be obtained. In one implementation manner, the content of the preheated page is pre-stored in the memory, and the content of the preheated page can be directly read from the memory later, thereby increasing the speed of obtaining the content of the preheated page. In another implementation, the content of the preheated page is read from the hard disk, and the speed of reading data from the hard disk is relatively slow. The content of the hot page.

本实施例中,当监测到用户访问页面的操作时,页面的属性信息中包括该页面的预热页面的信息获取页面的属性信息,根据该页面的属性信息,显示该页面的预热页面的内容,并在预热页面的生效时间过期时,将当前页面的显示内容从该页面的预热页面的内容切换到该页面的内容。所述方法当页面的预热页面的生效时间过期时,能够自动从预热页面切换到该页面,不需要用户操作,带给用户更好的体验。In this embodiment, when the operation of the user accessing the page is detected, the attribute information of the page includes the information of the preheated page of the page to obtain the attribute information of the page, and according to the attribute information of the page, the information of the preheated page of the page is displayed. content, and when the effective time of the warm-up page expires, the display content of the current page is switched from the content of the warm-up page of the page to the content of the page. The method can automatically switch from the preheating page to the page when the effective time of the preheating page of the page expires, without user operation, and brings better experience to the user.

在图1所示实施例的基础上,图2是根据一示例性实施例示出的一种页面显示方法的流程图,如图2所示,该页面显示方法包括以下步骤。Based on the embodiment shown in FIG. 1 , FIG. 2 is a flowchart of a page display method according to an exemplary embodiment. As shown in FIG. 2 , the page display method includes the following steps.

在步骤S201中,当监测到用户访问页面的操作时,获取该页面的属性信息,该页面的属性信息中包括该页面的预热页面的信息。In step S201, when an operation of accessing a page by a user is detected, attribute information of the page is acquired, and the attribute information of the page includes information of a warm-up page of the page.

在步骤S202中,根据该页面的属性信息判断该页面是否有预热页面。In step S202, it is judged according to the attribute information of the page whether the page has a warm-up page.

具体可以判断页面的属性信息中是否包含预热属性的标识,如果该页面的属性信息中包含预热属性的标识,则确定该页面有预热页面,如果该页面的属性信息中不包含预热属性的标识,则确定该页面没有预热页面。当该页面没有预热页面时,执行步骤S205,当该页面有预热页面时,执行步骤S203。Specifically, it can be determined whether the attribute information of the page contains the identifier of the preheating attribute. If the attribute information of the page contains the identifier of the preheating attribute, it is determined that the page has a preheating page. If the attribute information of the page does not include the preheating attribute attribute, it is determined that the page does not have a preheated page. When the page does not have a preheated page, perform step S205, and when the page has a preheated page, perform step S203.

在步骤S203中,根据预热页面的生效时间判断预热页面是否有效。In step S203, it is determined whether the preheating page is valid according to the effective time of the preheating page.

判断当前时间是否属于预热页面的生效时间,如果当前页面属于预热页面的生效时间,则确定预热页面有效,如果当前时间不属于预热页面的生效时间,则确定该预热页面无效,预热页面无效包括两种情况,一种方式是当前时间超过了预热页面的生效时间。另一种情况是,当前时间还没有到预热页面的生效时间。当预热页面有效时,执行步骤S204,当预热页面无效时执行步骤S205。Determine whether the current time belongs to the effective time of the preheating page. If the current page belongs to the effective time of the preheating page, it is determined that the preheating page is valid. If the current time does not belong to the effective time of the preheating page, it is determined that the preheating page is invalid. There are two situations where the warm-up page is invalid. One way is that the current time exceeds the effective time of the warm-up page. Another situation is that the current time has not reached the effective time of the preheating page. When the preheating page is valid, step S204 is performed, and when the preheating page is invalid, step S205 is performed.

在步骤S204中,获取预热页面的内容,并显示预热页面的内容。In step S204, the content of the preheating page is acquired, and the content of the preheating page is displayed.

可以从内存或硬盘中获取预热页面的内同。The content of the preheated pages can be obtained from memory or hard disk.

在步骤S205中,获取该页面的内容,并显示该页面的内容。In step S205, the content of the page is acquired and displayed.

该页面的内容存储在硬盘上,该页面的内容没有有效时间,也不会过期。The content of this page is stored on the hard disk, and the content of this page has no valid time and will not expire.

在步骤S206中,当预热页面的生效时间过期时,将当前页面的显示内容从预热页面的内容切换到该页面的内容。In step S206, when the effective time of the preheating page expires, the display content of the current page is switched from the content of the preheating page to the content of the page.

当该页面有多个预热页面时,且多个预热页面的生效时间连续时,可以在当前预热页面超期后,自动切换到下一个预热页面,带给用户更好的体验。When there are multiple warm-up pages on this page, and the effective time of multiple warm-up pages is continuous, it can automatically switch to the next warm-up page after the current warm-up page expires, bringing users a better experience.

本实施例中,当监测到用户访问页面的操作时,获取页面的属性信息,该页面的属性信息中包括该页面的预热页面的信息,根据页面的属性信息判断该页面是否有预热页面,当该页面有预热页面时,根据预热页面的生效时间判断预热页面是否有效,当预热页面有效时,获取预热页面的内容,并显示预热页面的内容,当预热页面的生效时间过期时,将当前页面的显示内容从预热页面的内容切换到页面的内容。所述方法当页面的预热页面的生效时间过期时,能够自动从预热页面切换到该页面,不需要用户操作,带给用户更好的体验。In this embodiment, when the operation of the user accessing the page is detected, the attribute information of the page is obtained, and the attribute information of the page includes the information of the preheating page of the page, and it is judged according to the attribute information of the page whether the page has a preheating page , when the page has a preheating page, judge whether the preheating page is valid according to the effective time of the preheating page. When the preheating page is valid, obtain the content of the preheating page and display the content of the preheating page. When the valid time expires, switch the display content of the current page from the content of the preheating page to the content of the page. The method can automatically switch from the preheating page to the page when the effective time of the preheating page of the page expires, without user operation, and brings better experience to the user.

在图2所示实施例的基础上,图3是根据一示例性实施例示出的一种页面显示方法的流程图,如图2所示,该页面显示方法包括以下步骤。On the basis of the embodiment shown in FIG. 2 , FIG. 3 is a flow chart of a page display method according to an exemplary embodiment. As shown in FIG. 2 , the page display method includes the following steps.

在步骤S301中,生成页面的预热页面、预热页面的生效时间和预热页面的预热属性的标识。In step S301, an identifier of a preheating page, an effective time of the preheating page, and a preheating attribute of the preheating page is generated.

通过预先生成预热页面,后续根据预热页面的生效时间显示预热页面,By generating the warm-up page in advance, and then displaying the warm-up page according to the effective time of the warm-up page,

在步骤S302中,将预热页面的内容和该页面的内容存储在硬盘中,将预热页面的内容存储在内存中。In step S302, the content of the preheated page and the content of the page are stored in the hard disk, and the content of the preheated page is stored in the memory.

通过将预热页面存储到内存中,可以提高访问预热页面的速度。By storing warmed pages in memory, the speed of accessing warmed pages can be improved.

在步骤S303中,将预热页面的生效时间和预热页面的预热属性的标识添加到该页面的属性信息中。In step S303, the effective time of the preheating page and the identifier of the preheating attribute of the preheating page are added to the attribute information of the page.

在步骤S304中,当监测到用户访问该页面的操作时,获取该页面的属性信息,该页面的属性信息中包括该页面的预热页面的信息。In step S304, when the operation of accessing the page by the user is detected, the attribute information of the page is acquired, and the attribute information of the page includes the information of the warm-up page of the page.

在步骤S305中,判断该页面的属性信息中是否包含预热属性的标识。In step S305, it is determined whether the attribute information of the page contains the identifier of the preheating attribute.

当该页面的属性信息中包含预热属性的标识时,执行步骤S306,当页面的属性信息中不包含预热属性的标识时,执行步骤S307。When the attribute information of the page includes the identifier of the preheating attribute, step S306 is executed; when the attribute information of the page does not include the identifier of the preheating attribute, step S307 is executed.

在步骤S306中,确定该页面有预热页面。In step S306, it is determined that the page has a preheated page.

步骤S306之后执行步骤S308。Step S308 is executed after step S306.

在步骤S307中,确定该页面没有预热页面。In step S307, it is determined that the page is not a preheated page.

步骤S307后执行步骤S310。Step S310 is executed after step S307.

在步骤S308中,根据预热页面的生效时间判断预热页面是否有效。In step S308, it is determined whether the preheating page is valid according to the effective time of the preheating page.

当预热页面有效时,执行步骤S309,当预热页面无效时,执行步骤S310。When the preheating page is valid, step S309 is performed, and when the preheating page is invalid, step S310 is performed.

在步骤S309中,从内存中获取预热页面的内容,并显示预热页面的内容。In step S309, the content of the preheating page is obtained from the memory, and the content of the preheating page is displayed.

在步骤S309之后,执行步骤S311。After step S309, step S311 is executed.

在步骤S310中,获取该页面的内容,并显示该页面的内容。In step S310, the content of the page is acquired and displayed.

在步骤S311中,当预热页面的生效时间过期时,将当前页面的显示内容从预热页面的内容切换到该页面的内容。In step S311, when the effective time of the preheating page expires, the display content of the current page is switched from the content of the preheating page to the content of the page.

本实施例中,通过预先生成页面的预热页面和预热页面的生效时间,并将预热页面的内容和该页面的内容存储在硬盘中,同时将预热页面的内容存储在内存中,后续根据该页面的属性信息判断页面是否有预热页面,当页面有预热页面且预热页面的有效时间没有过期时,获取预热页面的内容,并显示预热页面的内容,当预热页面的生效时间过期时,将当前页面的显示内容从预热页面的内容切换到该页面的内容。所述方法当页面的预热页面的生效时间过期时,能够自动从预热页面切换到该页面,不需要用户操作,带给用户更好的体验。In this embodiment, the preheating page and the effective time of the preheating page are generated in advance, and the content of the preheating page and the content of the page are stored in the hard disk, and the content of the preheating page is stored in the memory at the same time, Then judge whether the page has a preheating page according to the attribute information of the page. When the page has a preheating page and the valid time of the preheating page has not expired, obtain the content of the preheating page and display the content of the preheating page. When the preheating page When the effective time of the page expires, the display content of the current page is switched from the content of the preheating page to the content of the page. The method can automatically switch from the preheating page to the page when the effective time of the preheating page of the page expires, without user operation, and brings better experience to the user.

图4是根据一示例性实施例示出的一种页面显示装置的框图,如图4所示,本实施例的装置包括:Fig. 4 is a block diagram of a page display device according to an exemplary embodiment. As shown in Fig. 4, the device of this embodiment includes:

第一获取模块11,被配置为当监测到用户访问页面的操作时,获取所述页面的属性信息,所述页面的属性信息中包括所述页面的预热页面的信息;The first obtaining module 11 is configured to obtain the attribute information of the page when monitoring the user's operation of accessing the page, and the attribute information of the page includes the information of the preheating page of the page;

显示模块12,被配置为根据所述页面的属性信息,显示所述页面的预热页面的内容;The display module 12 is configured to display the content of the preheating page of the page according to the attribute information of the page;

第一切换模块13,被配置为根据所述页面的属性信息,在所述预热页面的生效时间过期时,将当前页面的显示内容从所述页面的预热页面的内容切换到所述页面的内容。The first switching module 13 is configured to switch the display content of the current page from the content of the preheating page of the page to the page when the effective time of the preheating page expires according to the attribute information of the page Content.

可选的,所述页面的预热页面为多个,每个预热页面的生效时间不同。Optionally, there are multiple preheating pages for the page, and each preheating page has a different effective time.

图5是根据一示例性实施例示出的一种页面显示装置的框图,如图5所示,本实施的装置在图4所示装置的基础上,所述显示模块12包括:Fig. 5 is a block diagram of a page display device according to an exemplary embodiment. As shown in Fig. 5, the device in this embodiment is based on the device shown in Fig. 4, and the display module 12 includes:

第一判断子模块121,被配置为根据所述页面的属性信息判断所述页面是否有预热页面;The first judging submodule 121 is configured to judge whether the page has a preheating page according to the attribute information of the page;

第二判断子模块122,被配置为当所述页面有预热页面时,根据所述预热页面的生效时间判断所述预热页面是否有效;The second judging submodule 122 is configured to judge whether the preheating page is valid according to the effective time of the preheating page when the page has a preheating page;

获取子模块123,被配置为当所述预热页面有效时,获取所述预热页面的内容;The obtaining submodule 123 is configured to obtain the content of the preheating page when the preheating page is valid;

显示子模块124,被配置为显示所述获取子模块获取的所述预热页面的内容。The display submodule 124 is configured to display the content of the warm-up page acquired by the acquisition submodule.

可选的,所述第一判断子模块121具体被配置为:Optionally, the first judging submodule 121 is specifically configured to:

判断所述页面的属性信息中是否包含预热属性的标识;Judging whether the attribute information of the page includes the identifier of the preheating attribute;

当所述页面的属性信息中包含预热属性的标识时,确定所述页面有预热页面。When the attribute information of the page includes the identifier of the preheating attribute, it is determined that the page has a preheating page.

图6是根据一示例性实施例示出的一种页面显示装置的框图,如图6所示,本实施的装置在图4所示装置的基础上,当所述页面的预热页面为多个,且多个预热页面的生效时间连续时,还包括:Fig. 6 is a block diagram of a page display device according to an exemplary embodiment. As shown in Fig. 6, the device in this embodiment is based on the device shown in Fig. 4, when the preheating pages of the page are multiple , and the effective time of multiple warm-up pages is continuous, it also includes:

第二切换模块14,被配置为当当前预热页面的生效时间过期时,切换到下一个生效时间连续的预热页面。The second switching module 14 is configured to switch to the next preheating page with continuous effective time when the valid time of the current preheated page expires.

图7是根据一示例性实施例示出的一种页面显示装置的框图,如图7所示,本实施的装置在图4所示装置的基础上,还包括:Fig. 7 is a block diagram of a page display device according to an exemplary embodiment. As shown in Fig. 7, the device in this embodiment further includes:

生成模块15,被配置为生成所述预热页面、所述预热页面的生效时间和所述预热页面的预热属性的标识;The generation module 15 is configured to generate the identification of the preheating page, the effective time of the preheating page and the preheating attribute of the preheating page;

存储模块16,被配置为将所述预热页面的内容和所述页面的内容存储在硬盘中,将所述预热页面的内容存储在内存中;The storage module 16 is configured to store the content of the preheated page and the content of the page in the hard disk, and store the content of the preheated page in the memory;

添加模块17,被配置为将所述预热页面的生效时间和所述预热页面的预热属性的标识添加到所述页面的属性信息中。The adding module 17 is configured to add the effective time of the preheated page and the identifier of the preheated attribute of the preheated page to the attribute information of the page.

图4至图7所示的页面显示装置中的各功能模块,可用于执行上述图1至图3所示的页面显示方法,具体实现方式和技术效果类似,请参照上述方法实施例,此处不再赘述。Each functional module in the page display device shown in Figure 4 to Figure 7 can be used to execute the page display method shown in Figure 1 to Figure 3 above, the specific implementation method and technical effect are similar, please refer to the above method embodiment, here No longer.

图8是根据一示例性实施例示出的一种页面显示装置的实体框图,如图8所示,页面显示装置300包括:处理器31和用于存储处理器31可执行指令的存储器32,存储器32通过系统总线与处理器31连接并通信。FIG. 8 is a physical block diagram of a page display device according to an exemplary embodiment. As shown in FIG. 32 is connected and communicates with the processor 31 through the system bus.

其中,处理器31被配置为:Wherein, processor 31 is configured as:

当监测到用户访问页面的操作时,获取所述页面的属性信息,所述页面的属性信息中包括所述页面的预热页面的信息;When the operation of the user accessing the page is monitored, the attribute information of the page is obtained, and the attribute information of the page includes the information of the preheating page of the page;

根据所述页面的属性信息,显示所述页面的预热页面的内容,并在所述预热页面的生效时间过期时,将当前页面的显示内容从所述页面的预热页面的内容切换到所述页面的内容。According to the attribute information of the page, display the content of the preheating page of the page, and when the effective time of the preheating page expires, switch the display content of the current page from the content of the preheating page of the page to the content of said page.

应理解,上述实施例中,处理器可以是中央处理单元(英文:Central ProcessingUnit,简称:CPU),还可以是其他通用处理器、数字信号处理器(英文:Digital SignalProcessor,简称:DSP)、专用集成电路(英文:Application Specific IntegratedCircuit,简称:ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,而前述的存储器可以是只读存储器(英文:read-only memory,缩写:ROM)、随机存取存储器(英文:random access memory,简称:RAM)、快闪存储器、硬盘或者固态硬盘。结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。It should be understood that, in the foregoing embodiments, the processor may be a central processing unit (English: Central Processing Unit, referred to as: CPU), and may also be other general-purpose processors, digital signal processors (English: Digital Signal Processor, referred to as: DSP), dedicated Integrated circuit (English: Application Specific Integrated Circuit, referred to as: ASIC), etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc., and the aforementioned memory can be a read-only memory (English: read-only memory, abbreviated: ROM), random access memory (English: : random access memory, referred to as: RAM), flash memory, hard disk or solid state disk. The steps of the methods disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.

图9是根据一示例性实施例示出的一种页面显示装置800的框图。例如,装置800可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 9 is a block diagram of a page display device 800 according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.

参照图9,装置800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。Referring to FIG. 9, the device 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and communication component 816 .

处理组件802通常控制装置800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行命令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The processing component 802 generally controls the overall operations of the device 800, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute commands to complete all or part of the steps of the above method. Additionally, processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802 .

存储器804被配置为存储各种类型的数据以支持在设备800的操作。这些数据的示例包括用于在装置800上操作的任何应用程序或方法的命令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 804 is configured to store various types of data to support operations at the device 800 . Examples of such data include commands for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电源组件806为装置800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为装置800生成、管理和分配电力相关联的组件。The power supply component 806 provides power to the various components of the device 800 . Power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 800 .

多媒体组件808包括在所述装置800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当设备800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. When the device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当装置800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a microphone (MIC) configured to receive external audio signals when the device 800 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 804 or sent via communication component 816 . In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.

传感器组件814包括一个或多个传感器,用于为装置800提供各个方面的状态评估。例如,传感器组件814可以检测到设备800的打开/关闭状态,组件的相对定位,例如所述组件为装置800的显示器和小键盘,传感器组件814还可以检测装置800或装置800一个组件的位置改变,用户与装置800接触的存在或不存在,装置800方位或加速/减速和装置800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of device 800 . For example, the sensor component 814 can detect the open/closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor component 814 can also detect a change in the position of the device 800 or a component of the device 800 , the presence or absence of user contact with the device 800 , the device 800 orientation or acceleration/deceleration and the temperature change of the device 800 . Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

通信组件816被配置为便于装置800和其他设备之间有线或无线方式的通信。装置800可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 816 is configured to facilitate wired or wireless communication between the apparatus 800 and other devices. The device 800 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述图1至图3所示的页面显示方法。In an exemplary embodiment, apparatus 800 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Realized by a gate array (FPGA), controller, microcontroller, microprocessor or other electronic components, it is used to execute the page display method shown in FIGS. 1 to 3 above.

在示例性实施例中,还提供了一种包括命令的非临时性计算机可读存储介质,例如包括命令的存储器804,上述命令可由装置800的处理器820执行以完成上述图1至图3所示的页面显示方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including commands, such as the memory 804 including commands, which can be executed by the processor 820 of the device 800 to implement the above-mentioned steps described in FIGS. 1 to 3 . The displayed page display method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

一种非临时性计算机可读存储介质,当所述存储介质中的命令由页面显示装置的处理器执行时,使得页面显示装置能够执行图1至图3所示的页面显示方法。A non-transitory computer-readable storage medium, when the commands in the storage medium are executed by the processor of the page display device, the page display device can execute the page display method shown in Fig. 1 to Fig. 3 .

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求书指出。Other embodiments of the invention will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present invention, these modifications, uses or adaptations follow the general principles of the present invention and include common knowledge or conventional technical means in the technical field not disclosed in this disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the invention being indicated by the following claims.

应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求书来限制。It should be understood that the present invention is not limited to the precise constructions which have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims (13)

1.一种页面显示方法,其特征在于,包括:1. A page display method, characterized in that, comprising: 当监测到用户访问页面的操作时,获取所述页面的属性信息,所述页面的属性信息中包括所述页面的预热页面的信息;When the operation of the user accessing the page is monitored, the attribute information of the page is obtained, and the attribute information of the page includes the information of the preheating page of the page; 根据所述页面的属性信息,显示所述页面的预热页面的内容,并在所述预热页面的生效时间过期时,将当前页面的显示内容从所述页面的预热页面的内容切换到所述页面的内容。According to the attribute information of the page, display the content of the preheating page of the page, and when the effective time of the preheating page expires, switch the display content of the current page from the content of the preheating page of the page to the content of said page. 2.根据权利要求1所述的方法,其特征在于,所述根据所述页面的属性信息,显示所述页面的预热页面的内容,包括:2. The method according to claim 1, wherein the displaying the content of the preheating page of the page according to the attribute information of the page comprises: 根据所述页面的属性信息判断所述页面是否有预热页面;judging whether the page has a warm-up page according to the attribute information of the page; 当所述页面有预热页面时,根据所述预热页面的生效时间判断所述预热页面是否有效;When the page has a preheating page, judge whether the preheating page is valid according to the effective time of the preheating page; 当所述预热页面有效时,获取所述预热页面的内容,并显示所述预热页面的内容。When the preheating page is valid, acquire the content of the preheating page and display the content of the preheating page. 3.根据权利要求2所述的方法,其特征在于,所述根据所述页面的属性信息判断所述页面是否有预热页面,包括:3. The method according to claim 2, wherein the judging whether the page has a preheating page according to the attribute information of the page comprises: 判断所述页面的属性信息中是否包含预热属性的标识;Judging whether the attribute information of the page includes the identifier of the preheating attribute; 当所述页面的属性信息中包含预热属性的标识时,确定所述页面有预热页面。When the attribute information of the page includes the identifier of the preheating attribute, it is determined that the page has a preheating page. 4.根据权利要求1-3任一项所述的方法,其特征在于,所述页面的预热页面为多个,每个预热页面的生效时间不同。4. The method according to any one of claims 1-3, characterized in that there are multiple preheated pages of the page, and the effective time of each preheated page is different. 5.根据权利要求4所述的方法,其特征在于,当所述多个预热页面的生效时间连续时,还包括:5. The method according to claim 4, further comprising: 当当前预热页面的生效时间过期时,切换到下一个生效时间连续的预热页面。When the effective time of the current preheating page expires, switch to the next preheating page with continuous effective time. 6.根据权利要求4所述的方法,其特征在于,还包括:6. The method according to claim 4, further comprising: 生成所述预热页面、所述预热页面的生效时间和所述预热页面的预热属性的标识;Generating the preheating page, the effective time of the preheating page, and the preheating attribute identification of the preheating page; 将所述预热页面的内容和所述页面的内容存储在硬盘中,将所述预热页面的内容存储在内存中;storing the content of the preheated page and the content of the page in the hard disk, and storing the content of the preheated page in the memory; 将所述预热页面的生效时间和所述预热页面的预热属性的标识添加到所述页面的属性信息中。The effective time of the preheating page and the identifier of the preheating attribute of the preheating page are added to the attribute information of the page. 7.一种页面显示装置,其特征在于,包括:7. A page display device, comprising: 第一获取模块,被配置为当监测到用户访问页面的操作时,获取所述页面的属性信息,所述页面的属性信息中包括所述页面的预热页面的信息;The first obtaining module is configured to obtain the attribute information of the page when monitoring the user's operation of accessing the page, and the attribute information of the page includes the information of the preheating page of the page; 显示模块,被配置为根据所述页面的属性信息,显示所述页面的预热页面的内容;The display module is configured to display the content of the preheating page of the page according to the attribute information of the page; 第一切换模块,被配置为根据所述页面的属性信息,在所述预热页面的生效时间过期时,将当前页面的显示内容从所述页面的预热页面的内容切换到所述页面的内容。The first switching module is configured to switch the display content of the current page from the content of the preheating page of the page to the content of the page when the effective time of the preheating page expires according to the attribute information of the page content. 8.根据权利要求7所述的装置,其特征在于,所述显示模块,包括:8. The device according to claim 7, wherein the display module comprises: 第一判断子模块,被配置为根据所述页面的属性信息判断所述页面是否有预热页面;The first judging submodule is configured to judge whether the page has a preheating page according to the attribute information of the page; 第二判断子模块,被配置为当所述页面有预热页面时,根据所述预热页面的生效时间判断所述预热页面是否有效;The second judging submodule is configured to judge whether the preheating page is valid according to the effective time of the preheating page when the page has a preheating page; 获取子模块,被配置为当所述预热页面有效时,获取所述预热页面的内容;The obtaining submodule is configured to obtain the content of the preheating page when the preheating page is valid; 显示子模块,被配置为显示所述获取子模块获取的所述预热页面的内容。The display submodule is configured to display the content of the warm-up page acquired by the acquisition submodule. 9.根据权利要求8所述的装置,其特征在于,所述第一判断子模块具体被配置为:9. The device according to claim 8, wherein the first judging submodule is specifically configured as: 判断所述页面的属性信息中是否包含预热属性的标识;Judging whether the attribute information of the page includes the identifier of the preheating attribute; 当所述页面的属性信息中包含预热属性的标识时,确定所述页面有预热页面。When the attribute information of the page includes the identifier of the preheating attribute, it is determined that the page has a preheating page. 10.根据权利要求7-9任一项所述的装置,其特征在于,所述页面的预热页面为多个,每个预热页面的生效时间不同。10. The device according to any one of claims 7-9, wherein there are multiple preheating pages of the page, and the effective time of each preheating page is different. 11.根据权利要求10所述的装置,其特征在于,当所述多个预热页面的生效时间连续时,还包括:11. The device according to claim 10, further comprising: 第二切换模块,被配置为当当前预热页面的生效时间过期时,切换到下一个生效时间连续的预热页面。The second switching module is configured to switch to the next preheating page with continuous effective time when the valid time of the current preheated page expires. 12.根据权利要求10所述的装置,其特征在于,还包括:12. The device of claim 10, further comprising: 生成模块,被配置为生成所述预热页面、所述预热页面的生效时间和所述预热页面的预热属性的标识;A generating module configured to generate the preheating page, the effective time of the preheating page, and the preheating attribute of the preheating page; 存储模块,被配置为将所述预热页面的内容和所述页面的内容存储在硬盘中,将所述预热页面的内容存储在内存中;a storage module configured to store the content of the preheated page and the content of the page in a hard disk, and store the content of the preheated page in memory; 添加模块,被配置为将所述预热页面的生效时间和所述预热页面的预热属性的标识添加到所述页面的属性信息中。The adding module is configured to add the effective time of the preheating page and the identifier of the preheating attribute of the preheating page to the attribute information of the page. 13.一种页面显示装置,其特征在于,包括:13. A page display device, comprising: 存储器;memory; 被配置为存储处理器可执行指令的存储器;memory configured to store processor-executable instructions; 其中,所述处理器被配置为:Wherein, the processor is configured as: 当监测到用户访问页面的操作时,获取所述页面的属性信息,所述页面的属性信息中包括所述页面的预热页面的信息;When the operation of the user accessing the page is monitored, the attribute information of the page is obtained, and the attribute information of the page includes the information of the preheating page of the page; 根据所述页面的属性信息,显示所述页面的预热页面的内容,并在所述预热页面的生效时间过期时,将当前页面的显示内容从所述页面的预热页面的内容切换到所述页面的内容。According to the attribute information of the page, display the content of the preheating page of the page, and when the effective time of the preheating page expires, switch the display content of the current page from the content of the preheating page of the page to the content of said page.
CN201710137203.9A 2017-03-09 2017-03-09 Page display method and device Active CN106951238B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710137203.9A CN106951238B (en) 2017-03-09 2017-03-09 Page display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710137203.9A CN106951238B (en) 2017-03-09 2017-03-09 Page display method and device

Publications (2)

Publication Number Publication Date
CN106951238A true CN106951238A (en) 2017-07-14
CN106951238B CN106951238B (en) 2020-11-20

Family

ID=59466723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710137203.9A Active CN106951238B (en) 2017-03-09 2017-03-09 Page display method and device

Country Status (1)

Country Link
CN (1) CN106951238B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111190673A (en) * 2019-12-20 2020-05-22 上海淇玥信息技术有限公司 Page display method and device based on operation monitoring and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010049748A1 (en) * 2000-06-02 2001-12-06 Casio Computer Co., Ltd. Method for responding to site access
JP2004259235A (en) * 2003-02-28 2004-09-16 Nippon Telegr & Teleph Corp <Ntt> Web page update management system, update management method, program of this method, recording medium recording this program
US7051080B1 (en) * 2000-08-04 2006-05-23 Oracle International Corporation Techniques for navigating in mobile applications
CN103200206A (en) * 2012-01-06 2013-07-10 腾讯科技(深圳)有限公司 Advertisement displaying method and advertisement displaying client
CN104008211A (en) * 2014-06-23 2014-08-27 可牛网络技术(北京)有限公司 Advertisement intercepting method and device
CN105472033A (en) * 2015-12-31 2016-04-06 腾讯科技(深圳)有限公司 Media information processing method and mobile terminal
CN106339235A (en) * 2016-08-15 2017-01-18 百度在线网络技术(北京)有限公司 Interface display method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010049748A1 (en) * 2000-06-02 2001-12-06 Casio Computer Co., Ltd. Method for responding to site access
US7051080B1 (en) * 2000-08-04 2006-05-23 Oracle International Corporation Techniques for navigating in mobile applications
JP2004259235A (en) * 2003-02-28 2004-09-16 Nippon Telegr & Teleph Corp <Ntt> Web page update management system, update management method, program of this method, recording medium recording this program
CN103200206A (en) * 2012-01-06 2013-07-10 腾讯科技(深圳)有限公司 Advertisement displaying method and advertisement displaying client
CN104008211A (en) * 2014-06-23 2014-08-27 可牛网络技术(北京)有限公司 Advertisement intercepting method and device
CN105472033A (en) * 2015-12-31 2016-04-06 腾讯科技(深圳)有限公司 Media information processing method and mobile terminal
CN106339235A (en) * 2016-08-15 2017-01-18 百度在线网络技术(北京)有限公司 Interface display method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111190673A (en) * 2019-12-20 2020-05-22 上海淇玥信息技术有限公司 Page display method and device based on operation monitoring and electronic equipment

Also Published As

Publication number Publication date
CN106951238B (en) 2020-11-20

Similar Documents

Publication Publication Date Title
JP6322768B2 (en) Call interface display method and apparatus
WO2016011717A1 (en) Message push method and device for light application, terminal and server
CN105912450B (en) Applied state information display method and device
CN107094094B (en) Application networking method and device and terminal
JP6349040B2 (en) Remind method and apparatus, program and recording medium
CN106201734A (en) Sharing files method and device
CN107301242A (en) Method, device and the storage medium of page jump
CN107220059A (en) The display methods and device of application interface
CN107239351A (en) Method of attaching and device
CN107943370A (en) Advertisement display method, device and storage medium
CN107241439B (en) Message push method and device for H5 page
CN106383899A (en) Service recommendation method and apparatus, and terminal
CN106331076A (en) Advertisement push method and device
CN105763734A (en) Emergency communication method, device, and apparatus
CN106255063A (en) Address sending method and equipment
CN106951238B (en) Page display method and device
CN106293717A (en) The processing method of the setting of terminal, device and terminal
CN105955097A (en) Timing management method, timing management device and mobile terminal
CN105930266A (en) Webpage debugging method and device
CN106250772A (en) Bluetooth scan control method, device and terminal unit
CN107483605B (en) File download method and device, storage medium
CN105656639A (en) Group message display method and device
CN105634928A (en) Social reminding method and device based on wearable device
CN107483718A (en) Safety reminder method, device and storage medium
CN107181669A (en) The display methods and equipment of the transmission time of chat messages

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant