WO2020052510A1 - 一种资讯页面展示的方法及设备 - Google Patents

一种资讯页面展示的方法及设备 Download PDF

Info

Publication number
WO2020052510A1
WO2020052510A1 PCT/CN2019/104865 CN2019104865W WO2020052510A1 WO 2020052510 A1 WO2020052510 A1 WO 2020052510A1 CN 2019104865 W CN2019104865 W CN 2019104865W WO 2020052510 A1 WO2020052510 A1 WO 2020052510A1
Authority
WO
WIPO (PCT)
Prior art keywords
information page
target application
content
entering
interface
Prior art date
Application number
PCT/CN2019/104865
Other languages
English (en)
French (fr)
Inventor
吴培希
Original Assignee
上海连尚网络科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海连尚网络科技有限公司 filed Critical 上海连尚网络科技有限公司
Publication of WO2020052510A1 publication Critical patent/WO2020052510A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Definitions

  • the present application relates to the field of computers, and in particular, to a method and device for displaying information pages.
  • An object of this application is to provide a method and device for displaying information pages, which solve the problems of untimely refreshing of information content and low exposure of information content when a third-party networking tool is opened in the prior art.
  • a method for displaying an information page includes:
  • the status of the content of the cached information page includes the existence time of the content of the cached information page in the background
  • the information page display based on the status of the content of the cached information page when entering the target application includes:
  • the information page is displayed on the interface when the target application is entered based on the available state of the network of the user device.
  • performing an information page display on an interface when entering the target application based on the available state of the network of the user equipment includes:
  • an information page is displayed on the interface when the target application is entered.
  • performing an information page display on an interface when entering the target application based on the available state of the network of the user equipment includes:
  • the interface when the target application is entered displays the cached information page content in the background.
  • performing an information page display on an interface when entering the target application based on the available state of the network of the user equipment includes:
  • the method includes:
  • the method includes:
  • performing an information page display on an interface when entering the target application based on the available state of the network of the user equipment includes:
  • the interface displays the placeholder preloading information when entering the target application.
  • performing an information page display on an interface when entering the target application based on the available state of the network of the user equipment includes:
  • the method includes:
  • the information page display is performed again based on the user's selection operation of the exit confirmation reminder.
  • the method includes:
  • the wireless access point information searched by the user equipment is displayed in the first display area, and the information page is displayed in the second display area.
  • the method includes:
  • the cached information page content or the new information page content exists in the information page display, when the user corresponding to the user device obtains an exit operation on the target application, the second The content displayed on the information page in the display area is filled from the second display area to the first display area, and an exit confirmation reminder is sent to the user.
  • a device for displaying information pages includes:
  • One or more processors are One or more processors.
  • a memory storing computer-readable instructions that, when executed, cause the processor to perform the operations of the foregoing methods.
  • a computer-readable medium on which computer-readable instructions are stored, and the computer-readable instructions can be executed by a processor to implement the foregoing method for displaying an information page.
  • the present application sends a refresh request for the information page content of the target application to the server; receiving the The new information page content returned by the server based on the refresh request of the information page content is cached as the cached information page content; based on the operation of entering the target application, it is determined whether there is a cached information page content in the background If yes, based on the status of the cached resource page content, the information page is displayed on the interface when entering the target application; thereby achieving the purpose of quickly displaying the latest information page content when the target application is opened, and avoiding the content of the information page The loss of display, in addition, you can update the content of the information page and display it according to the network connection.
  • FIG. 1 is a schematic flowchart of a method for displaying an information page according to an aspect of the present application
  • FIG. 2 is a schematic flowchart of a method for displaying an information page when entering or exiting a target application according to an embodiment of the present application.
  • the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
  • processors CPUs
  • input / output interfaces network interfaces
  • memory volatile and non-volatile memory
  • Memory may include non-persistent memory, random access memory (RAM), and / or non-volatile memory in computer-readable media, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information can be stored by any method or technology.
  • Information may be computer-readable instructions, data structures, modules of a program, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), and read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape cartridges, tape disk storage or other magnetic storage devices or any other non-transmitting medium can be used to store information that can be accessed by computing devices.
  • computer-readable media does not include non-transitory computer-readable media, such as modulated data signals and carrier waves.
  • FIG. 1 is a schematic flowchart of a method for displaying an information page according to an aspect of the present application. The method includes steps S11 to S13.
  • step S11 when the target application active in the background monitors that the user equipment successfully connects to the wireless access point, it sends a refresh request for the content of the information page of the target application to the server; here, the target application Used to provide wireless access points for user equipment and third-party networking tools.
  • the target application Used to provide wireless access points for user equipment and third-party networking tools.
  • the target application is active in the background, each time when the background monitors that the user device is successfully connected to the wireless access point, a refresh request for the content of the information page of the target application is sent to the server, where the content of the information page of the target application is The content in the information page pushed for the user when the target application is opened in the foreground is displayed for the feed. That is, each time the target application listens to the connection to the wireless network in the background, it requests the server to refresh the feed content.
  • step S12 the new information page content returned by the server based on the refresh request of the information page content is received and cached as the cached information page content; here, the receiving server returns a new refresh request based on the feed content.
  • the feed content is cached in the background and used as the cached feed content in the background, so that the cached feed content is pushed to the user after the user device connects to the wireless access point.
  • step S13 based on the operation of entering the target application, it is determined whether there is cached information page content in the background, and if so, based on the state of the cached resource page content when entering the target application
  • the interface displays information pages.
  • the target application is opened in the foreground, when entering the target application, it is determined whether the information page content of the target application is already cached in the background at this time. If there is cached feed content in the background, based on the cached feed content, The state determines that when the target application is opened, the interface displays feed content or displays other interface display information.
  • the status of the cached information page content includes the existence time of the cached information page content in the background.
  • step S13 if the content of the cached information page is in the The background time of the background information does not exceed a preset time, the content of the cached information page in the background is displayed on the interface when the target application is entered; if the content of the cached information page in the background has exceeded the time of existence
  • an information page is displayed on the interface when the target application is entered based on the available status of the network of the user equipment.
  • the existence time of the content of the cached information page in the background is preferably the cache time of the feed content in the background. It is determined whether the cache time of the feed content has timed out.
  • the target application is The interface of the program displays the cached feed content to achieve the purpose of quickly displaying the feed, eliminating the jump step and jumping to the information content display page. If the feed cache time has expired, the display situation of the information page when the target application is opened needs to be determined according to the current network status of the user device.
  • the availability status of the network includes the availability status of the wireless network or the availability status of the data network. For the availability status of the wireless network, when the availability status of the wireless network is available, a request to refresh the content of the information page is initiated to the server. The new information page content returned by the server is cached in the background. When the target application is opened, the new information page content is pushed for the user and displayed in the interface when the target application is entered. When the wireless network's available status is When unavailable, determine the current availability status of the data network.
  • the information page display on the interface when entering the target application may include:
  • the interface when the target application is entered displays the cached information page content in the background.
  • the content of the cached information page in the background times out, determine whether the data network is available.
  • the content of the cached information page in the background is displayed directly when the target application is opened in the foreground. To quickly display feed content for users.
  • the content of the requested new information page is cached, and the content of the new information page is displayed on the interface when the target application is entered.
  • the data network is available, and the current user equipment can connect to the network.
  • the content of the returned new information page is cached in the background.
  • the target application is opened, the content of the new information page is pushed to the user and displayed in the interface when the target application is entered.
  • the method includes: Step S13 ', based on an operation of entering the target application, determining whether there is a cached information page content in the background; if not, based on the user device's
  • the available state of the network is displayed on the information page of the interface when entering the target application.
  • the available status of the network includes the available status of the wireless network or the available status of the data network.
  • the interface displays the placeholder preloading information when entering the target application.
  • the available status of the data network of the user equipment sends a refresh request to the server to request the information page content, receive the new information page content returned by the server based on the refresh request, and cache , Displaying the new information page content in an interface when entering the target application.
  • the data network is unavailable, it means that the current network is offline, and the placeholder preload information will be displayed when the target application is opened.
  • the target application is directly exited.
  • the user device When the data network is available, when the user device has a network available, it requests the server to refresh the information page content, receives the new information page content returned by the server for caching, and opens the target application to enter the target application.
  • the new information page content is displayed directly on the interface when the target application is opened to quickly display the latest information page content.
  • the method includes: Step S14, obtaining an exit operation of the user corresponding to the user equipment with respect to the target application; if the cached information page content exists in the information page display or The content of the new information page is sent to the user with an exit confirmation reminder based on the exit operation; the information page display is performed again based on the user's selection operation of the exit confirmation reminder.
  • the target application is opened, if the user's exit operation about the target application is obtained, such as when the user clicks the return key or the exit key, if the interface of the target application displays the cached information page content or a new information page Content, the user sends an exit confirmation reminder, such as a pop-up confirmation reminder. If the user chooses to cancel the operation, the pop-up box disappears, and the content of the displayed information page is displayed on the interface again to increase the exposure of the content of the information page.
  • the current information page content is the cached information page content or the new information page content.
  • the method includes: Step S12 ', displaying an interface of the target application based on an operation of entering the target application, wherein the interface includes a first display area and a second display area Displaying the wireless access point information searched by the user equipment in the first display area, and displaying an information page in the second display area.
  • the interface display may include a first display area and a second display area, wherein the first display area and the second display area may be distributed vertically or horizontally, for example, above the screen of the user device is The first display area is used to display the wireless access point list, and the second display area is used to display the information page content at the bottom of the screen. Therefore, the process of jumping to the content of the information page when the target application is opened is eliminated, and the content of the information page can be quickly displayed.
  • the method includes: Step S15, if the cached information page content or the new information page content exists in the information page display, when a user corresponding to the user equipment obtains information about the
  • the content displayed on the information page in the second display area is filled from the second display area to the first display area, and an exit confirmation reminder is sent to the user.
  • the interface when opening the target application, the interface includes the first display area above and the second display area below. If the content of the information page has been displayed for the user and the user's exit operation has been obtained, such as the user clicking the return key or Exit key, the content of the information page in the second display area will be automatically drawn up to the first display area.
  • the content of the information page fills the screen and provides a reminder for the user to confirm the exit. If the user chooses to quit, directly exit the target application. If the user chooses to cancel, the pop-up box disappears and the content of the information page is displayed.
  • the content of the information page includes the content of the cached information page or the content of the new information page. Increase the exposure of the content of the information page during application.
  • FIG. 2 is a schematic flowchart of a method for displaying an information page when entering or exiting a target application according to an embodiment of the present application.
  • the content of the information page is the content of the feed when entering the target application for providing a wireless access point.
  • the target application survives in the background.
  • the target application is in the background, every time it detects that the wireless access point (WiFi) is successfully connected, it requests to refresh the feed content.
  • the WiFi list is displayed at the top of the screen, For displaying feed content. Determine whether there is a cache of feed content in the background. If there is a cache and it has not expired, the cached feed content is displayed below the interface of the target application.
  • the cached content is out of date, it is determined whether the data network is available. If the data network is available, the latest feed content is requested and displayed. If the data network is not available, the cached content is displayed. If there is no cached feed content in the background, determine whether the data network is available, request and display the latest feed content when the data network is available, and display a placeholder preload when the data network is unavailable. When the user manually clicks the back button to exit the application, if there is no feed content to display, it will exit directly. If there is displayed feed content, the feed content will automatically be drawn to the upper area of the screen, occupying the screen, and asking the user to confirm the exit.
  • the pop-up box disappears and the feed content is displayed. Therefore, through the above process, the purpose of quickly displaying the latest feed content when the target application is opened, and when the user exits the target application, the feed content is automatically drawn and the user is asked whether to confirm the exit in order to increase the exposure of the feed content.
  • an embodiment of the present application further provides a computer-readable medium, in which computer-readable instructions are stored, and the computer-readable instructions can be executed by a processor to implement the foregoing method.
  • a device for displaying information pages includes:
  • One or more processors are One or more processors.
  • a memory storing computer-readable instructions that, when executed, cause the processor to perform the operations of the foregoing methods.
  • computer-readable instructions when executed, cause the one or more processors:
  • this application may be implemented in software and / or a combination of software and hardware, for example, it may be implemented using an application specific integrated circuit (ASIC), a general purpose computer, or any other similar hardware device.
  • the software program of the present application may be executed by a processor to implement the steps or functions described above.
  • the software program (including related data structures) of the present application can be stored in a computer-readable recording medium, such as a RAM memory, a magnetic or optical drive or a floppy disk and the like.
  • some steps or functions of the present application may be implemented by hardware, for example, as a circuit that cooperates with a processor to perform each step or function.
  • a part of the application may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, may call or provide the method and / or technical solution according to the application through the operation of the computer.
  • the program instructions for invoking the method of the present application may be stored in a fixed or removable recording medium, and / or transmitted through a data stream in a broadcast or other signal bearing medium, and / or stored in The program instructions are executed in a working memory of a computer device.
  • an embodiment according to the present application includes a device including a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, a trigger is triggered
  • the device operates based on the aforementioned method and / or technical solution according to various embodiments of the present application.

Abstract

本申请的目的是提供一种资讯页面展示的方法及设备,本申请通过当在后台活跃的目标应用程序监听到用户设备成功连接无线接入点时,向服务端发送所述目标应用程序的资讯页面内容的刷新请求;接收所述服务端基于所述资讯页面内容的刷新请求返回的新的资讯页面内容并缓存,作为已缓存资讯页面内容;基于进入所述目标应用程序的操作,判断所述后台中是否存在已缓存资讯页面内容,若是,则基于所述已缓存资源页面内容的状态在进入所述目标应用程序时的界面进行资讯页面展示;从而实现打开目标应用程序时快速展示最新的资讯页面内容的目的,避免资讯页面内容展示的损失,此外还可以根据网络连接情况更新资讯页面内容并展示。

Description

一种资讯页面展示的方法及设备 技术领域
本申请涉及计算机领域,尤其涉及一种资讯页面展示的方法及设备。
背景技术
随着通信技术和用户设备(例如,智能手机、平板电脑)的发展,无线网络支持的上下行数据速率成倍的提高,用户使用手机等用户设备通过无线网络进行查询、社交、购物、导航等等,极大的提升了用户体验。也出现了一些第三方连网工具,为用户提供无线接入点,而使用第三方连网工具进行上网时,通常会在第三方连网工具的界面上展示资讯内容(feed展示),目前第三方连网工具只有在应用程序进入前台才进行刷新feed操作,导致feed刷新不及时,在连接无线接入点成功跳转feed页面时用户往往会点击返回键退出应用程序,导致feed展示的损失。
发明内容
本申请的一个目的是提供一种资讯页面展示的方法及设备,解决现有技术中打开第三方连网工具时资讯内容刷新不及时以及资讯内容曝光低的问题。
根据本申请的一个方面,提供了一种资讯页面展示的方法,该方法包括:
当在后台活跃的目标应用程序监听到用户设备成功连接无线接入点时,向服务端发送所述目标应用程序的资讯页面内容的刷新请求;
接收所述服务端基于所述资讯页面内容的刷新请求返回的新的资讯页面内容并缓存,作为已缓存资讯页面内容;
基于进入所述目标应用程序的操作,判断所述后台中是否存在已缓存资讯页面内容,若是,则基于所述已缓存资源页面内容的状态在进入所述目标应用程序时的界面进行资讯页面展示。
进一步地,所述已缓存资讯页面内容的状态包括所述已缓存资讯页面内容在所述后台的存在时间,
其中,基于所述已缓存资讯页面内容的状态在进入所述目标应用程序时的界面进行资讯页面展示,包括:
若所述已缓存资讯页面内容在所述后台的存在时间未超过预设时间,则在进入所述目标应用程序时的界面展示所述后台中已缓存资讯页面内容;
若所述已缓存资讯页面内容在所述后台的存在时间已超过预设时间,则基于所述用户设备的网络的可用状态在进入所述目标应用程序时的界面进行资讯页面展示。
进一步地,基于所述用户设备的网络的可用状态在进入所述目标应用程序时的界面进行资讯页面展示,包括:
基于所述用户设备的数据网络的可用状态在进入所述目标应用程序时的界面进行资讯页面展示。
进一步地,基于所述用户设备的网络的可用状态在进入所述目标应用程序时的界面进行资讯页面展示,包括:
当所述用户设备的网络的可用状态为不可用,则在进入所述目标应用程序时的界面展示所述后台中已缓存资讯页面内容。
进一步地,基于所述用户设备的网络的可用状态在进入所述目标应用程序时的界面进行资讯页面展示,包括:
当所述用户设备的网络的可用状态为可用,则向所述服务端发送请 求所述资讯页面内容的刷新请求,接收所述服务端基于所述刷新请求返回的新的资讯页面内容并缓存,在进入所述目标应用程序时的界面展示所述新的资讯页面内容。
进一步地,所述方法包括:
基于进入所述目标应用程序的操作,判断所述后台中是否存在已缓存资讯页面内容,若否,则基于所述用户设备的网络的可用状态在进入所述目标应用程序时的界面进行资讯页面展示。
进一步地,所述网络的可用状态包括数据网络的可用状态时,所述方法包括:
基于进入所述目标应用程序的操作,判断所述后台中是否存在已缓存资讯页面内容,若否,则基于所述用户设备的数据网络的可用状态在进入所述目标应用程序时的界面进行资讯页面展示。
进一步地,基于所述用户设备的网络的可用状态在进入所述目标应用程序时的界面进行资讯页面展示,包括:
当所述用户设备的网络的可用状态为不可用,则在进入所述目标应用程序时的界面展示占位符预加载信息。
进一步地,基于所述用户设备的网络的可用状态在进入所述目标应用程序时的界面进行资讯页面展示,包括:
当所述用户设备的网络的可用状态为可用,则向所述服务端发送请求所述资讯页面内容的刷新请求,接收所述服务端基于所述刷新请求返回的新的资讯页面内容并缓存,在进入所述目标应用程序时的界面展示所述新的资讯页面内容。
进一步地,所述方法包括:
获取所述用户设备对应的用户关于所述目标应用程序的退出操作;
若所述资讯页面展示中存在所述已缓存资讯页面内容或所述新的资讯页面内容,则基于所述退出操作向所述用户发送退出确认提醒;
基于所述用户对所述退出确认提醒的选择操作再次进行资讯页面展示。
进一步地,所述方法包括:
基于进入所述目标应用程序的操作显示所述目标应用程序的界面,其中,所述界面包括第一显示区域和第二显示区域;
在所述第一显示区域中显示所述用户设备搜索到的无线接入点信息,在所述第二显示区域进行资讯页面展示。
进一步地,所述方法包括:
若所述资讯页面展示中存在所述已缓存资讯页面内容或所述新的资讯页面内容,则当获取所述用户设备对应的用户关于所述目标应用程序的退出操作时,将所述第二显示区域中资讯页面展示的内容自所述第二显示区域充满至所述第一显示区域,并向所述用户发送退出确认提醒。
根据本申请再一个方面,还提供了一种资讯页面展示的设备,其中,所述设备包括:
一个或多个处理器;以及
存储有计算机可读指令的存储器,所述计算机可读指令在被执行时使所述处理器执行前述的方法的操作。
根据本申请另一个方面,还提供了一种计算机可读介质,其上存储有计算机可读指令,所述计算机可读指令可被处理器执行以实现前述一种资讯页面展示的方法。
与现有技术相比,本申请通过当在后台活跃的目标应用程序监听到用户设备成功连接无线接入点时,向服务端发送所述目标应用程序的资讯页面内容的刷新请求;接收所述服务端基于所述资讯页面内容的刷新请求返回的新的资讯页面内容并缓存,作为已缓存资讯页面内容;基于进入所述目标应用程序的操作,判断所述后台中是否存在已缓存资讯页面内容,若是,则基于所述已缓存资源页面内容的状态在进入所述目标 应用程序时的界面进行资讯页面展示;从而实现打开目标应用程序时快速展示最新的资讯页面内容的目的,避免资讯页面内容展示的损失,此外还可以根据网络连接情况更新资讯页面内容并展示。
附图说明
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:
图1示出根据本申请的一个方面提供的一种资讯页面展示的方法流程示意图;
图2示出本申请一实施例中进入或退出目标应用程序时资讯页面展示的方法流程示意图。
附图中相同或相似的附图标记代表相同或相似的部件。
具体实施方式
下面结合附图对本申请作进一步详细描述。
在本申请一个典型的配置中,终端、服务网络的设备和可信方均包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内 存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
图1示出根据本申请的一个方面提供的一种资讯页面展示的方法流程示意图,该方法包括:步骤S11~步骤S13,
在步骤S11中,当在后台活跃的目标应用程序监听到用户设备成功连接无线接入点时,向服务端发送所述目标应用程序的资讯页面内容的刷新请求;在此,所述目标应用程序用于为用户设备提供无线接入点,为第三方连网工具。目标应用程序活跃在后台时,在后台每次监听用户设备连接无线接入点成功时,向服务端发送目标应用程序的资讯页面内容的刷新请求,其中,所述目标应用程序的资讯页面内容为当在前台打开该目标应用程序时为用户推送的资讯页面中的内容,为feed展示。即当目标应用程序在后台每次监听到连接无线网络成功时均向服务端请求刷新feed内容。
在步骤S12中,接收所述服务端基于所述资讯页面内容的刷新请求返回的新的资讯页面内容并缓存,作为已缓存资讯页面内容;在此,接收服务端基于feed内容的刷新请求返回新的feed内容,在后台进行缓存,并作为后台中已缓存的feed内容,以便后续在用户设备连接无线接入点后为用户推送该已缓存的feed内容。
在步骤S13中,基于进入所述目标应用程序的操作,判断所述后台中是否存在已缓存资讯页面内容,若是,则基于所述已缓存资源页面内容的状态在进入所述目标应用程序时的界面进行资讯页面展示。在此,在前台打开目标应用程序,进入该目标应用程序时,判断此时在后台中是否已经缓存该目标应用程序的资讯页面内容,如果后台中存在已缓存 feed内容,则基于缓存feed内容的状态确定在打开目标应用程序时的界面展示feed内容或展示其他界面显示信息。
在本申请一实施例中,所述已缓存资讯页面内容的状态包括所述已缓存资讯页面内容在所述后台的存在时间,其中,在步骤S13中,若所述已缓存资讯页面内容在所述后台的存在时间未超过预设时间,则在进入所述目标应用程序时的界面展示所述后台中已缓存资讯页面内容;若所述已缓存资讯页面内容在所述后台的存在时间已超过预设时间,则基于所述用户设备的网络的可用状态在进入所述目标应用程序时的界面进行资讯页面展示。在此,已缓存资讯页面内容在后台的存在时间优选为后台中feed内容的缓存时间,判断feed内容缓存时间是否超时,若未超时,则当打开目标应用程序进入目标应用程序时,在目标应用程序的界面展示缓存的feed内容,实现快速展现feed的目的,省去跳转步骤,跳转到资讯内容展示页面。若feed缓存时间已超时,则需要根据用户设备的当前的网络的状态确定打开目标应用程序时的资讯页面展示情况。其中,所述网络的可用状态包括无线网络的可用状态或数据网络的可用状态;针对无线网络的可用状态,当无线网络的可用状态为可用时,需要向服务端发起刷新资讯页面内容的请求,将服务端返回的新的资讯页面内容在后台中进行缓存,当打开目标应用程序时为用户推送该新的资讯页面内容,展示在进入目标应用程序时的界面中;当无线网络的可用状态为不可用时,判断当前的数据网络的可用状态。
针对网络的可用状态,例如数据网络的可用状态,在进入所述目标应用程序时的界面进行资讯页面展示,可包括:
当所述用户设备的数据网络的可用状态为不可用,则在进入所述目标应用程序时的界面展示所述后台中已缓存资讯页面内容。在此,后台中已缓存的资讯页面内容超时的情况下,判断数据网络是否可用,当用户设备的数据网络不可用,则将后台中已缓存资讯页面内容直接在前台 打开目标应用程序时进行展示,为用户快速展示feed内容。
当然还可以包括:数据网络可用时,当所述用户设备的数据网络的可用状态为可用,则向所述服务端发送请求所述资讯页面内容的刷新请求,接收所述服务端基于所述刷新请求返回的新的资讯页面内容并缓存,在进入所述目标应用程序时的界面展示所述新的资讯页面内容。在此,数据网络可用,当前用户设备可以连接网络,则需要向服务端发起刷新资讯页面内容的请求,更新后台中已缓存的资讯页面内容,以便为用户提供最新的资讯页面内容,将服务端返回的新的资讯页面内容在后台中进行缓存,当打开目标应用程序时为用户推送该新的资讯页面内容,展示在进入目标应用程序时的界面中。
在本申请一实施例中,所述方法包括:步骤S13’,基于进入所述目标应用程序的操作,判断所述后台中是否存在已缓存资讯页面内容,若否,则基于所述用户设备的网络的可用状态在进入所述目标应用程序时的界面进行资讯页面展示。在此,若后台中当前没有缓存的资讯页面内容,则需要判断当前网络是否可用,基于网络的可用状态在打开目标应用程序时为用户提供不同的界面内容展示。其中,所述网络的可用状态包括无线网络的可用状态或数据网络的可用状态,例如当网络的可用状态为数据网络的可用状态时,具体地,在步骤S13’中,当所述用户设备的数据网络的可用状态为不可用,则在进入所述目标应用程序时的界面展示占位符预加载信息。当所述用户设备的数据网络的可用状态为可用,则向所述服务端发送请求所述资讯页面内容的刷新请求,接收所述服务端基于所述刷新请求返回的新的资讯页面内容并缓存,在进入所述目标应用程序时的界面展示所述新的资讯页面内容。在此,数据网络不可用时,说明当前网络为无网状态,则打开目标应用程序时展示占位符预加载信息,如在界面的固定位置为用户展示当前无网络或网络丢失的提示信息,此时,若用户点击返回键则直接退出该目标应用程序。当数 据网络为可用时,在用户设备有网络可用的情况下,向服务端请求资讯页面内容的刷新请求,接收服务端返回的新的资讯页面内容进行缓存,当打开目标应用程序进入目标应用程序时直接在界面上显示该新的资讯页面内容,实现打开目标应用程序快速展示最新资讯页面内容的目的。
在本申请一实施例中,所述方法包括:步骤S14,获取所述用户设备对应的用户关于所述目标应用程序的退出操作;若所述资讯页面展示中存在所述已缓存资讯页面内容或所述新的资讯页面内容,则基于所述退出操作向所述用户发送退出确认提醒;基于所述用户对所述退出确认提醒的选择操作再次进行资讯页面展示。在此,当打开目标应用程序后,若获取到用户关于目标应用程序的退出操作,如用户点击返回键或退出键时,若目标应用程序的界面展示已缓存的资讯页面内容或新的资讯页面内容,则为用户发送退出确认提醒,比如弹框确认提醒,若用户选择取消操作,则弹框消失,再次将展示的资讯页面内容展示在界面上,以增加资讯页面内容的曝光,其中,此时资讯页面内容为已缓存的资讯页面内容或新的资讯页面内容。
在本申请一实施例中,所述方法包括:步骤S12’,基于进入所述目标应用程序的操作显示所述目标应用程序的界面,其中,所述界面包括第一显示区域和第二显示区域;在所述第一显示区域中显示所述用户设备搜索到的无线接入点信息,在所述第二显示区域进行资讯页面展示。在此,当打开目标应用程序时,界面显示可包括第一显示区域和第二显示区域,其中,第一显示区域和第二显示区域可上下分布或左右分布,比如在用户设备的屏幕上方为第一显示区域,用于展示无线接入点列表,屏幕下方为第二显示区域,用于展示资讯页面内容。从而省去了打开目标应用程序时需要跳转步骤才到资讯页面内容的过程,能够快速展示资讯页面内容。
接上述实施例,所述方法包括:步骤S15,若所述资讯页面展示中 存在所述已缓存资讯页面内容或所述新的资讯页面内容,则当获取所述用户设备对应的用户关于所述目标应用程序的退出操作时,将所述第二显示区域中资讯页面展示的内容自所述第二显示区域充满至所述第一显示区域,并向所述用户发送退出确认提醒。在此,比如,打开目标应用程序时的界面包括上方的第一显示区域和下方第二显示区域时,若已为用户展示资讯页面内容,获取到用户的退出操作时,比如用户点击返回键或退出键,第二显示区域中的资讯页面内容会自动上划至第一显示区域,资讯页面内容占满屏幕,并为用户提供退出确认提醒,如以弹框的形式向用户询问是否确认退出,若用户选择退出则直接退出该目标应用程序,若用户选择取消,则弹框消失并展示资讯页面内容,其中,资讯页面内容包括已缓存资讯页面内容或新的资讯页面内容,从而在用户退出目标应用程序时增加资讯页面内容的曝光。
图2示出本申请一实施例中进入或退出目标应用程序时资讯页面展示的方法流程示意图,其中,资讯页面内容为进入用于提供无线接入点的目标应用程序时的feed内容,首先,目标应用程序在后台存活,目标应用程序在后台的情况下每次监听到连接无线接入点(WiFi)成功都请求刷新feed内容;当打开目标应用程序时,屏幕上方展示WiFi列表,屏幕下方用于展示feed内容。判断后台中是否有feed内容的缓存,若有缓存且未过期,则在目标应用程序的界面的下方展示缓存的feed内容。若缓存内容过期,则判断数据网络是否可用,若数据网络可用,则请求并展示最新的feed内容,若数据网络不可用,则展示缓存内容。若后台中没有缓存的feed内容,则判断数据网络是否可用,当数据网络可用时请求并展示最新的feed内容,数据网络不可用时则展示占位符预加载。当用户手动点击back键退出应用时,若无可展示的feed内容则直接退出,若有展示的feed内容,则feed内容自动上划至屏幕上方区域,占满屏幕,并询问用户是否确认退出,如以弹框的形式询问用户,当用户选 择取消时弹框消失并展示feed内容。从而通过上述流程,实现在打开目标应用程序时快速展示最新feed内容的目的,以及用户退出目标应用程序时,自动上划feed内容并询问用户是否确认退出以达到增加feed内容曝光的目的。
此外,本申请实施例还提供了一种计算机可读介质,其上存储有计算机可读指令,所述计算机可读指令可被处理器执行以实现前述的方法。
根据本申请再一个方面,还提供了一种资讯页面展示的设备,其中,所述设备包括:
一个或多个处理器;以及
存储有计算机可读指令的存储器,所述计算机可读指令在被执行时使所述处理器执行前述的方法的操作。
例如,计算机可读指令在被执行时使所述一个或多个处理器:
当在后台活跃的目标应用程序监听到用户设备成功连接无线接入点时,向服务端发送所述目标应用程序的资讯页面内容的刷新请求;
接收所述服务端基于所述资讯页面内容的刷新请求返回的新的资讯页面内容并缓存,作为已缓存资讯页面内容;
基于进入所述目标应用程序的操作,判断所述后台中是否存在已缓存资讯页面内容,若是,则基于所述已缓存资源页面内容的状态在进入所述目标应用程序时的界面进行资讯页面展示。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。
需要注意的是,本申请可在软件和/或软件与硬件的组合体中被实施,例如,可采用专用集成电路(ASIC)、通用目的计算机或任何其他 类似硬件设备来实现。在一个实施例中,本申请的软件程序可以通过处理器执行以实现上文所述步骤或功能。同样地,本申请的软件程序(包括相关的数据结构)可以被存储到计算机可读记录介质中,例如,RAM存储器,磁或光驱动器或软磁盘及类似设备。另外,本申请的一些步骤或功能可采用硬件来实现,例如,作为与处理器配合从而执行各个步骤或功能的电路。
另外,本申请的一部分可被应用为计算机程序产品,例如计算机程序指令,当其被计算机执行时,通过该计算机的操作,可以调用或提供根据本申请的方法和/或技术方案。而调用本申请的方法的程序指令,可能被存储在固定的或可移动的记录介质中,和/或通过广播或其他信号承载媒体中的数据流而被传输,和/或被存储在根据所述程序指令运行的计算机设备的工作存储器中。在此,根据本申请的一个实施例包括一个装置,该装置包括用于存储计算机程序指令的存储器和用于执行程序指令的处理器,其中,当该计算机程序指令被该处理器执行时,触发该装置运行基于前述根据本申请的多个实施例的方法和/或技术方案。
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。装置权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。

Claims (14)

  1. 一种资讯页面展示的方法,其中,所述方法包括:
    当在后台活跃的目标应用程序监听到用户设备成功连接无线接入点时,向服务端发送所述目标应用程序的资讯页面内容的刷新请求;
    接收所述服务端基于所述资讯页面内容的刷新请求返回的新的资讯页面内容并缓存,作为已缓存资讯页面内容;
    基于进入所述目标应用程序的操作,判断所述后台中是否存在已缓存资讯页面内容,若是,则基于所述已缓存资源页面内容的状态在进入所述目标应用程序时的界面进行资讯页面展示。
  2. 根据权利要求1所述的方法,其中,所述已缓存资讯页面内容的状态包括所述已缓存资讯页面内容在所述后台的存在时间,
    其中,基于所述已缓存资讯页面内容的状态在进入所述目标应用程序时的界面进行资讯页面展示,包括:
    若所述已缓存资讯页面内容在所述后台的存在时间未超过预设时间,则在进入所述目标应用程序时的界面展示所述后台中已缓存资讯页面内容;
    若所述已缓存资讯页面内容在所述后台的存在时间已超过预设时间,则基于所述用户设备的网络的可用状态在进入所述目标应用程序时的界面进行资讯页面展示。
  3. 根据权利要求1所述的方法,其中,基于所述用户设备的网络的可用状态在进入所述目标应用程序时的界面进行资讯页面展示,包括:
    基于所述用户设备的数据网络的可用状态在进入所述目标应用程序时的界面进行资讯页面展示。
  4. 根据权利要求2所述的方法,其中,基于所述用户设备的网络的可用状态在进入所述目标应用程序时的界面进行资讯页面展示,包括:
    当所述用户设备的网络的可用状态为不可用,则在进入所述目标应用程 序时的界面展示所述后台中已缓存资讯页面内容。
  5. 根据权利要求2或4所述的方法,其中,基于所述用户设备的网络的可用状态在进入所述目标应用程序时的界面进行资讯页面展示,包括:
    当所述用户设备的网络的可用状态为可用,则向所述服务端发送请求所述资讯页面内容的刷新请求,接收所述服务端基于所述刷新请求返回的新的资讯页面内容并缓存,在进入所述目标应用程序时的界面展示所述新的资讯页面内容。
  6. 根据权利要求1所述的方法,其中,所述方法包括:
    基于进入所述目标应用程序的操作,判断所述后台中是否存在已缓存资讯页面内容,若否,则基于所述用户设备的网络的可用状态在进入所述目标应用程序时的界面进行资讯页面展示。
  7. 根据权利要求6所述的方法,其中,所述网络的可用状态包括数据网络的可用状态时,所述方法包括:
    基于进入所述目标应用程序的操作,判断所述后台中是否存在已缓存资讯页面内容,若否,则基于所述用户设备的数据网络的可用状态在进入所述目标应用程序时的界面进行资讯页面展示。
  8. 根据权利要求6所述的方法,其中,基于所述用户设备的网络的可用状态在进入所述目标应用程序时的界面进行资讯页面展示,包括:
    当所述用户设备的网络的可用状态为不可用,则在进入所述目标应用程序时的界面展示占位符预加载信息。
  9. 根据权利要求6或8所述的方法,其中,基于所述用户设备的网络的可用状态在进入所述目标应用程序时的界面进行资讯页面展示,包括:
    当所述用户设备的网络的可用状态为可用,则向所述服务端发送请求所述资讯页面内容的刷新请求,接收所述服务端基于所述刷新请求返回的新的资讯页面内容并缓存,在进入所述目标应用程序时的界面展示所述新的资讯页面内容。
  10. 根据权利要求2中任一项所述方法,其中,所述方法包括:
    获取所述用户设备对应的用户关于所述目标应用程序的退出操作;
    若所述资讯页面展示中存在所述已缓存资讯页面内容或所述新的资讯页面内容,则基于所述退出操作向所述用户发送退出确认提醒;
    基于所述用户对所述退出确认提醒的选择操作再次进行资讯页面展示。
  11. 根据权利要求1所述的方法,其中,所述方法包括:
    基于进入所述目标应用程序的操作显示所述目标应用程序的界面,其中,所述界面包括第一显示区域和第二显示区域;
    在所述第一显示区域中显示所述用户设备搜索到的无线接入点信息,在所述第二显示区域进行资讯页面展示。
  12. 根据权利要求11所述的方法,其中,所述方法包括:
    若所述资讯页面展示中存在所述已缓存资讯页面内容或所述新的资讯页面内容,则当获取所述用户设备对应的用户关于所述目标应用程序的退出操作时,将所述第二显示区域中资讯页面展示的内容自所述第二显示区域充满至所述第一显示区域,并向所述用户发送退出确认提醒。
  13. 一种资讯页面展示的设备,其中,所述设备包括:
    一个或多个处理器;以及
    存储有计算机可读指令的存储器,所述计算机可读指令在被执行时使所述处理器执行如权利要求1至12中任一项所述方法的操作。
  14. 一种计算机可读介质,其上存储有计算机可读指令,所述计算机可读指令可被处理器执行以实现如权利要求1至12中任一项所述的方法。
PCT/CN2019/104865 2018-09-12 2019-09-09 一种资讯页面展示的方法及设备 WO2020052510A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811063968.3A CN109213560B (zh) 2018-09-12 2018-09-12 一种资讯页面展示的方法及设备
CN201811063968.3 2018-09-12

Publications (1)

Publication Number Publication Date
WO2020052510A1 true WO2020052510A1 (zh) 2020-03-19

Family

ID=64984081

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/104865 WO2020052510A1 (zh) 2018-09-12 2019-09-09 一种资讯页面展示的方法及设备

Country Status (2)

Country Link
CN (1) CN109213560B (zh)
WO (1) WO2020052510A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109213560B (zh) * 2018-09-12 2020-11-27 南京尚网网络科技有限公司 一种资讯页面展示的方法及设备
CN112068887B (zh) * 2019-06-11 2023-05-30 腾讯科技(深圳)有限公司 对应用进行加速处理的方法和装置
CN111639281A (zh) * 2020-05-29 2020-09-08 海信视像科技股份有限公司 一种页面资源显示方法及显示设备

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060069769A1 (en) * 2004-09-10 2006-03-30 Sony Corporation Method for data synchronization with mobile wireless devices
US20080046543A1 (en) * 2006-08-18 2008-02-21 Realnetworks System and method for automatically obtaining web feed content
CN105446750A (zh) * 2014-05-30 2016-03-30 阿里巴巴集团控股有限公司 WebApp启动运行、生成镜像文件的方法和装置
CN105630974A (zh) * 2015-12-24 2016-06-01 小米科技有限责任公司 页面的刷新方法、装置及设备
CN106021512A (zh) * 2016-05-24 2016-10-12 乐视控股(北京)有限公司 一种页面刷新方法及装置
CN106446174A (zh) * 2016-09-28 2017-02-22 江西博瑞彤芸科技有限公司 应用中页面加载的方法
CN109213560A (zh) * 2018-09-12 2019-01-15 上海连尚网络科技有限公司 一种资讯页面展示的方法及设备
CN109446449A (zh) * 2018-10-09 2019-03-08 上海连尚网络科技有限公司 一种预先刷新资讯页面内容的方法及设备

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7760859B2 (en) * 2005-03-07 2010-07-20 Net Optics, Inc. Intelligent communications network tap port aggregator
US8171169B2 (en) * 2005-03-14 2012-05-01 Citrix Systems, Inc. Method and apparatus for updating a graphical display in a distributed processing environment
CN106033361A (zh) * 2015-03-13 2016-10-19 阿里巴巴集团控股有限公司 一种应用页面呈现、应用页面数据更新方法及装置
CN106326489B (zh) * 2016-09-09 2021-08-27 腾讯科技(深圳)有限公司 网络资源更新的方法和装置
CN106372267A (zh) * 2016-11-30 2017-02-01 北京奇虎科技有限公司 基于浏览器的页面加载方法及装置
CN108399222B (zh) * 2018-02-11 2020-09-01 北京奇艺世纪科技有限公司 一种页面刷新方法及装置

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060069769A1 (en) * 2004-09-10 2006-03-30 Sony Corporation Method for data synchronization with mobile wireless devices
US20080046543A1 (en) * 2006-08-18 2008-02-21 Realnetworks System and method for automatically obtaining web feed content
CN105446750A (zh) * 2014-05-30 2016-03-30 阿里巴巴集团控股有限公司 WebApp启动运行、生成镜像文件的方法和装置
CN105630974A (zh) * 2015-12-24 2016-06-01 小米科技有限责任公司 页面的刷新方法、装置及设备
CN106021512A (zh) * 2016-05-24 2016-10-12 乐视控股(北京)有限公司 一种页面刷新方法及装置
CN106446174A (zh) * 2016-09-28 2017-02-22 江西博瑞彤芸科技有限公司 应用中页面加载的方法
CN109213560A (zh) * 2018-09-12 2019-01-15 上海连尚网络科技有限公司 一种资讯页面展示的方法及设备
CN109446449A (zh) * 2018-10-09 2019-03-08 上海连尚网络科技有限公司 一种预先刷新资讯页面内容的方法及设备

Also Published As

Publication number Publication date
CN109213560B (zh) 2020-11-27
CN109213560A (zh) 2019-01-15

Similar Documents

Publication Publication Date Title
EP3646231B1 (en) Data collection consent tools
AU2017203814B2 (en) Determining location information using a location data point provided by a computing device
WO2020052510A1 (zh) 一种资讯页面展示的方法及设备
JP6668357B2 (ja) 同じ画面上にコンテンツを表示するための方法及びデバイス並びに端末デバイス
US10194274B2 (en) Method and device for providing wireless access point
JP2018117370A (ja) 動的電話番号割り当て
US11223593B2 (en) Managing messaging services
CN108156252B (zh) 一种数据访问方法、装置、服务器及客户端
JP2019513260A (ja) サービス実行方法及びデバイス
US20180103115A1 (en) Information Pushing
US20230298072A1 (en) System and method to selectively update supplemental content rendered in placement regions of a rendered page
WO2020134956A1 (zh) 一种视频推荐方法及设备
US10506400B2 (en) Data download method and apparatus
WO2019228012A1 (zh) 事务因果序的校正方法及装置、电子设备
CN110865985B (zh) 数据同步方法、装置、电子设备和存储介质
CN110928887A (zh) 一种数据处理方法及装置
TW202013983A (zh) 多媒體教材的處理方法、裝置及多媒體播放設備
US10210277B2 (en) Computing system with dynamic web page feature
CN109064105B (zh) 一种资源转移请求处理方法、装置及电子设备
US9805030B2 (en) Configuration for dynamically displaying language interpretation/translation modalities
US11269775B2 (en) Responsive cache to improve latency in service-based architectures
CN109446449B (zh) 一种预先刷新资讯页面内容的方法及设备
US11159850B2 (en) Method and device for obtaining popularity of information stream
WO2017028707A1 (zh) 一种通知消息管理方法和装置
US20160036932A1 (en) Method and system for determining user location

Legal Events

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

Ref document number: 19860134

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19860134

Country of ref document: EP

Kind code of ref document: A1