WO2017028722A1 - 显示应用程序闪屏图像的方法和装置 - Google Patents

显示应用程序闪屏图像的方法和装置 Download PDF

Info

Publication number
WO2017028722A1
WO2017028722A1 PCT/CN2016/094323 CN2016094323W WO2017028722A1 WO 2017028722 A1 WO2017028722 A1 WO 2017028722A1 CN 2016094323 W CN2016094323 W CN 2016094323W WO 2017028722 A1 WO2017028722 A1 WO 2017028722A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen image
splash screen
image
displayed
display
Prior art date
Application number
PCT/CN2016/094323
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 WO2017028722A1 publication Critical patent/WO2017028722A1/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/445Program loading or initiating

Definitions

  • the present application relates to the field of Internet communication technologies, and in particular, to a method and apparatus for displaying an application splash screen image.
  • the image that is, after the application is launched, first displays the splash screen image and then enters the stable main page or home page.
  • the content of the splash screen image may include the application's scheduled launch promotion image, newbie guidance, etc., to help the application service provider to promote the promotion and enhance the user experience of the application.
  • the existing application screen display method is relatively simple.
  • a commonly used method for displaying a splash screen image is to package the splash screen image in an application, and when the application is launched, the splash screen image is displayed.
  • market activity information may be continuously updated according to market needs. For example, when the New Year is over, open the app and want to see the splash screen image related to the New Year and the information about the New Year related activities. At the shopping festival, you will see the splash screen related to the shopping and the subsequent shopping related. Activity information.
  • the method of packaging and packaging the splash screen in advance can only update the application by repackaging the update package of the packaged application to provide a new updated splash screen image and corresponding new activity information. It can be seen that this method is not only cumbersome to operate, but also easily causes the content of the splash screen image and the activity information to lag, thereby reducing the user experience.
  • Another method is to obtain the splash screen image information and related activity information from the remote server in real time every time the application starts, but this method has low display efficiency due to the delay caused by the network transmission.
  • the splash screen image acquired each time may be the same, wasting network bandwidth resources.
  • the present application provides a method and apparatus for displaying an application splash screen image, which can display a splash screen image of an application in a more flexible manner.
  • a method of displaying an application splash screen image comprising:
  • Reading a display mode of a splash screen image preset in the user terminal wherein the display mode includes a cache mode and a real-time mode;
  • the read display mode is the cache mode, identifying whether there is a valid splash screen image to be displayed locally in the user terminal;
  • the read mode is the real-time mode, send a request message to the server to obtain the splash screen image to be displayed and the active page information related to the content of the splash screen image to be displayed, and if the splash screen image to be displayed is successfully obtained, display The splash screen image;
  • the page information is successfully obtained, the page information is recorded, and the page corresponding to the page information is displayed at a predetermined time for display; if the page information is failed, after the splash screen image is displayed, the display is displayed.
  • a device for displaying an application splash screen image comprising:
  • a reading unit configured to read a display mode of a splash screen image preset in the user terminal, wherein the display mode includes a cache mode and a real-time mode;
  • a first identifying unit configured to: if the read display mode is a cache mode, identify whether there is a valid splash screen image to be displayed locally in the user terminal;
  • a display unit configured to display the splash screen image if it is recognized that there is a valid splash screen image to be displayed; wherein, while displaying the splash screen image, sending, to the server, the acquisition and the content related to the splash screen image Request message for page information;
  • a splash screen image requesting unit configured to send a request message to the server to obtain a splash screen image to be displayed and active page information related to the content of the splash screen image to be displayed, if the read display mode is a real-time mode, if the message is successfully acquired When the splash screen image is to be displayed, the splash screen image is displayed;
  • a second identifying unit configured to identify whether the page information is successfully acquired
  • a page information processing unit configured to: if the page information is successfully obtained, record the page information, and The time jumps to the page corresponding to the page information for display; if the page information fails to be obtained, after the splash screen image display is completed, the page of the application home page is displayed.
  • the present application discloses the following technical effects:
  • the splash screen image display mode of the real-time and cache modes can be compatible, and the flexibility of the splash screen image display mode is improved; when the cache mode is adopted, the related image is requested by displaying the splash screen image.
  • the page information improves the display efficiency of the subsequent activity page information; at the same time, regardless of which display mode, the page information related to the content of the splash screen image can be obtained in the field, thereby improving the accuracy of the active page information associated with the splash screen image.
  • Figure 1 is a flow chart of the method provided by the present application.
  • FIG. 3 is a schematic illustration of the apparatus provided herein.
  • the user terminal in the embodiment of the present application may be a mobile terminal, or may be another user terminal device such as a personal computer.
  • the application in this application may be an application installed on a mobile terminal or a personal computer, and the application can be launched by clicking an application icon.
  • the startup image can be displayed, and the time to display the startup image can be determined according to the preset settings.
  • the launch application may also perform application initialization operations such as initializing network settings, network requests, initializing the application's thread pool, extracting application-related files, and reading and writing local configuration files.
  • FIG. 1 is a schematic flowchart diagram of an embodiment of a display method provided by an embodiment of the present application.
  • the method of displaying an application splash screen image in this embodiment includes the following operations.
  • S101 Read a display mode of a splash screen image preset in the user terminal, wherein the display mode includes a cache mode and a real-time mode.
  • the display mode of the splash screen image previously set in the user terminal may be implemented by, for example, an implementation of the configuration file, and the display mode set in advance is obtained by reading the content of the display mode field in the configuration file.
  • the configuration file is stored locally on the user terminal to speed up the application startup process.
  • the content of the splash screen image may have timeliness requirements. Since the cache mode uses the splash screen image local to the user terminal in the cache, the content of the splash screen image may have lags behind, thereby requiring effective checking of the splash screen image. Sex, so as to ensure the real-time nature of the splash screen image content. In the operation of S102, identifying whether there is a valid splash screen image to be displayed locally in the user terminal may be implemented by different methods.
  • the splash screen image to be displayed may be locally read from the user terminal; if the reading fails, it is determined that The user terminal has no valid splash screen image to be displayed locally; if the reading is successful, the display time effective information of the to-be-displayed splash screen image is locally read from the user terminal; the current time of the user terminal is obtained, and it is determined whether the current time meets the display time. Information; if the display time effective information is satisfied, it is determined that there is a valid splash screen image to be displayed locally at the user terminal.
  • the current time of acquisition is January 20, 2015
  • the display time validation information for locally reading the to-be-displayed splash screen image from the user terminal includes displaying the start and end dates of the splash screen image, for example, It is displayed between January 1, 2015 and January 15, 2015 that the display time effective information is not satisfied on January 20, 2015, and it is determined that there is no valid splash screen image to be displayed locally in the user terminal.
  • the validity of the splash screen image to be displayed may also include information such as the platform, platform version, and the like of the user terminal. For example, a splash screen image is only valid for a different mobile terminal operating system platform, or only for a certain version of a mobile terminal operating system platform.
  • the validity of the splash screen image can also be checked by different methods such as identifying the data integrity of the splash screen image locally cached by the user terminal, such as whether the splash screen image data is damaged.
  • the page information related to the content of the splash screen image may be event information corresponding to or related to the splash screen image content.
  • the page information can be a Hypertext Markup Language (HTML).
  • HTML Hypertext Markup Language
  • the page for example, the content of the splash screen image is a shopping festival, and the page information related to the content of the splash screen image is a corresponding HTML shopping activity page, and the user can purchase related products in the activity page.
  • a splash screen image is displayed, wherein, while the splash screen image is displayed, a request message for acquiring page information related to the content of the splash screen image is sent to the server, thereby It can reduce the waiting time of obtaining relevant page information, improve the display efficiency of subsequent event page information, and obtain the real-time information of the active page information associated with the splash screen image by acquiring related page information in real time.
  • S104 If the read mode is the real-time mode, send a request message to the server to obtain the splash screen image to be displayed and the active page information related to the content of the splash screen image to be displayed; if the splash screen image to be displayed is successfully obtained, Display a splash screen image.
  • the length of the display time of the splash screen image can be obtained by pre-setting or real-time request through the network.
  • the display time of the splash screen image arrives, the corresponding next step is performed, such as displaying the application home page. Or related event page.
  • S104 adopts a real-time mode, that is, real-time acquisition of the display splash screen image and the active page information related to the content of the splash screen image to be displayed.
  • the method further includes: displaying a page of the application home page after the splash screen image display is completed.
  • the page corresponding to the page information is skipped at a predetermined time: after the page of the application home page is displayed, the page corresponding to the page information is displayed. That is, in the operation corresponding to S106 in the embodiment, if the page information is successfully obtained, the page information is recorded, and after the splash screen image display is completed, the page of the application home page is displayed; and after the page of the application home page is displayed, the page is displayed.
  • the page corresponding to the information if the information of the page fails to be obtained, after the splash screen image is displayed, the page of the application home page is displayed.
  • the page corresponding to the page information may be displayed before the page of the application home page is displayed. That is, after the screen image display ends, if there is page information (for example, the corresponding event information page), the activity page information is first entered. If there is no event page information, directly enter the application home page. For example, the splash image of the app It is a picture of the car. After the flash screen image disappears, it enters the sales page of the car, that is, the activity page related to the splash screen image. If the user does not perform the corresponding operation on the event page, the page of the application home page is entered.
  • page information for example, the corresponding event information page
  • the activity page information is first entered. If there is no event page information, directly enter the application home page. For example, the splash image of the app It is a picture of the car. After the flash screen image disappears, it enters the sales page of the car, that is, the activity page related to the splash screen image. If the user does not perform the corresponding operation on the event page, the page of the application home
  • FIG. 2 is a schematic flowchart diagram of another embodiment of a display method provided by the present application.
  • the method for displaying an application splash screen image in this embodiment further includes:
  • S201 to S206 are the same as S101 to S106.
  • S207 Send a request for updating a display mode of the splash screen image to the server;
  • S209 The display mode of the next splash screen image is set in advance in the user terminal according to the related information of the display mode of the received new splash screen image.
  • the request to update the display mode of the splash screen image may be sent after the page information is displayed or at the same time, or may be sent when the splash screen image or the home page is displayed.
  • the display mode of the next splash screen image can be set in advance at the user terminal by transmitting a request for the display mode to the server.
  • the display mode can include a cache mode or a real-time mode.
  • the display mode can be flexibly adjusted on the server side, thereby implementing a more suitable display mode according to the needs of the service or the network environment, and then configuring on the server side, the application updates the local end of the user terminal by making a request at the connection server. Settings. Whether in cache mode or real-time mode, you can modify the corresponding request response on the server side without re-publishing the application, which improves the flexibility of the application's splash screen display mode.
  • the server may further send a request for updating the splash screen image, and receive a new splash screen image returned by the server.
  • the related information of the display mode may further include a display mode of the splash screen image, and at least one of the following information includes: length information of the splash screen display time for controlling the length of time for displaying the splash screen image, and displaying time effective information for determining Whether there is a valid splash screen image to be displayed locally in the user terminal; wherein, when the display mode is the cache mode, the related information of the display mode further includes: a splash screen image to be displayed.
  • the related information of the display mode may further include network request timeout information and information for determining the validity of the splash screen image.
  • the splash screen image is usually a still picture, no animation effect, single effect, poor user experience. Or, Animate by adding multiple images to your app. For the latter method, since the image is packaged and packaged in the application, each time the animation effect changes greatly, the image needs to be modified, and then the application is modified by repackaging to modify the splash screen image, which is cumbersome and inflexible.
  • the format of the splash screen image to be displayed is an Image Interchange Format (GIF) image.
  • GIF Image Interchange Format
  • the frame image can be parsed from the GIF image, and then the frame is displayed. image.
  • the GIF image stores a single raster image data or a plurality of raster image data in an 8-bit color or a 256-color
  • the image of the GIF supports background transparency, compression, interleaving, and may include one or more frames of images.
  • the time interval between each adjacent two frames may be the same or different.
  • the file of the GIF image stores information about the image in units of blocks.
  • a file of a GIF image is stored by a block of data storing the image, and the control block determines the representation of the image for animating or interactive effects.
  • the data block and the control block form a GIF data stream (Data Stream).
  • the specific implementation method for parsing the frame image from the GIF image can be performed by reading the image identifier (Image Descriptor) in the GIF image file data block, and the image in the GIF file, and each image is a frame image to the image.
  • the identifier begins, and immediately after the end of an image is the logo of an image. Information about the positional offset, image size, and color of the image is also defined after the image identifier.
  • the GIF image file uses a compression algorithm to reduce the size of the image data.
  • GIF image data has two permutations in it before compression: continuous and interlaced. Therefore, when reading a multi-frame image, the raster data of the image is arranged in a corresponding manner, for example, in a continuous manner from left to right and top to bottom, and the corresponding method is parsed to obtain a frame image. data. Thereby, the frame image is parsed from the GIF image, and the frame image is displayed as a splash screen image.
  • the GIF image may include a single frame GIF image or a multi-frame GIF image.
  • the GIF image includes a multi-frame GIF image
  • the displaying the splash screen image specifically includes: from the multi-frame GIF image.
  • Each frame of image is parsed in turn, and the interval between adjacent frames.
  • each frame image is sequentially displayed to obtain an animation screen image.
  • the method for parsing the GIF image by the user terminal acquires the frame image, and then sequentially displays the frame image to realize the animation effect of the splash screen image, and provides a new implementation manner of the splash screen image.
  • the animation effect can be flexibly changed, and the splash screen image is more beautiful and the user experience is improved.
  • the server sends a request for updating the splash screen image and the display mode, thereby receiving the new GIF image returned by the server and the related information of the display mode, and realizing the new GIF image for parsing and displaying in real time, thereby realizing the replacement of the animation effect.
  • the obtained GIF image may be cached locally in the user terminal, and the GIF image is locally acquired by the cache method for parsing and display.
  • the method may further include: identifying a format of the splash screen image; if the format of the splash screen image is recognized as a GIF image, executing The above analysis operation.
  • FIG. 3 is a schematic structural diagram of an embodiment of a display device provided by the present application.
  • the device for displaying an application splash screen image includes:
  • the reading unit 301 is configured to read a display mode of a splash screen image preset in the user terminal, where the display mode includes a cache mode and a real-time mode;
  • the first identifying unit 302 is configured to: if the read display mode is a cache mode, identify whether there is a valid splash screen image to be displayed locally in the user terminal;
  • the display unit 303 is configured to display the splash screen image if it is recognized that there is a valid splash screen image to be displayed; wherein, when displaying the splash screen image, sending the acquisition to the server is related to the content of the splash screen image Request message for page information;
  • the splash screen image requesting unit 304 is configured to send, to the server, a request message for acquiring a splash screen image to be displayed and active page information related to the content of the splash screen image to be displayed, if the read display mode is the real-time mode, if successful Obtaining a splash screen image to be displayed, displaying the splash screen image;
  • a second identifying unit 305 configured to identify whether the page information is successfully acquired
  • the page information processing unit 306 is configured to: if the page information is successfully acquired, record the page information, and jump to a page corresponding to the page information for display at a predetermined time; if the page information fails to be obtained, the flashing After the screen image display is completed, the page of the application home page is displayed.
  • the page information processing unit is further configured to:
  • the page corresponding to the page information is displayed.
  • the first identifying unit is specifically configured to: locally read a splash screen image to be displayed from the user terminal; if the reading fails, determine that there is no valid splash screen image to be displayed locally in the user terminal; Success, from the use
  • the user terminal locally reads the display time effective information of the to-be-displayed splash screen image; acquires the current time of the user terminal, determines whether the current time meets the display time effective information; and if the display time effective information is satisfied, determines There is a valid splash screen image to be displayed locally at the user terminal.
  • the device may further include:
  • An update request unit configured to send a request for updating a display mode of the splash screen image to the server
  • a related information receiving unit configured to receive information about a display mode of a new splash screen image returned by the server
  • an update setting unit configured to set a display mode of the next splash screen image in the user terminal in advance according to the related information of the display mode of the received new splash screen image.
  • the update requesting unit is further configured to: if the page information fails to be acquired, send a request for updating the splash screen image to the server; and receive a new splash screen image returned by the server;
  • the update setting unit is further configured to set, at the user terminal, the next displayed splash screen image as the received new splash screen image, and set the display mode of the next splash screen image to the cache mode.
  • the information about the display mode including the display mode of the splash screen image, and at least one of the following information includes: length information of the splash screen display time for the display unit to control the length of time, display, and display of the splash screen image
  • the time validation information is used by the display unit to determine whether there is a valid splash screen image to be displayed locally in the user terminal;
  • the information about the display mode further includes: a splash screen image to be displayed, when the display mode is a cache mode.
  • the format of the image to be displayed is an image interchange format GIF image
  • the device further includes:
  • an image analyzing unit configured to parse the frame image from the GIF image to display the frame image by the display unit.
  • the GIF image includes a multi-frame GIF image, and the image parsing unit is further configured to sequentially parse out each frame image from the multi-frame GIF image, and an interval time between two adjacent frames;
  • the display unit is specifically configured to sequentially display each frame image according to the interval time to obtain a splash screen image with an animation effect.
  • the apparatus may further include:
  • the image format recognition unit is configured to identify a format of the splash screen image after obtaining the splash screen image to be displayed, and if the format of the splash screen image is recognized as a GIF image, the parsing operation is performed by the image parsing unit.
  • the present application can be borrowed.
  • the software is implemented by adding the necessary general hardware platform.
  • the technical solution of the present application may be embodied in the form of a software product in essence or in the form of a software product, which may be stored in a storage medium such as a ROM/RAM or a disk. , an optical disk, etc., includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present application or portions of the embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种显示应用程序闪屏图像的方法和装置。其中,所述方法包括:读取预先设置在用户终端本地的闪屏图像的显示模式,其中显示模式包括缓存模式和实时模式(S101);若所读取的显示模式为缓存模式,识别在用户终端本地是否存在有效的待显示闪屏图像(S102);如果存在有效的待显示闪屏图像,显示闪屏图像,在显示闪屏图像的同时,向服务器发送获取与闪屏图像的内容相关的页面信息的请求信息(S103);若所读取的显示模式为实时模式,向服务器发送待获取待显示闪屏图像以及与待显示闪屏图像的内容相关的活动页面信息的请求信息,如果成功获取待显示闪屏图像,显示闪屏图像(S104);识别是否成功获取该页面信息(S105);若成功获取该页面信息,记录该页面信息,在预定的时间跳转至该页面信息对应的页面进行显示;若获取该页面信息失败,在闪屏图像显示完成后,显示应用程序首页的页面(S106)。本方法和系统提高了闪屏图像显示方式的灵活性,以及闪屏图像相关联的活动页面信息的准确性。

Description

显示应用程序闪屏图像的方法和装置
本申请要求2015年08月19日递交的申请号为201510512554.4发明名称为“显示应用程序闪屏图像的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及互联网通信技术领域,特别是涉及一种显示应用程序闪屏图像的方法和装置。
背景技术
传统的应用程序(Application,App)被启动后通常进入主页面,由用户进行下一步操作。然而,随着智能移动终端的发展,移动终端上的应用程序使用越来越广泛,同时应用程序的服务提供方希望在应用程序启动时,向用户展示更多的信息,由此出现了闪屏图像,即应用程序启动后,首先显示闪屏图像,再进入稳定的主页面或首页。闪屏图像的内容可能包括应用程序预定的启动宣传图片、新手指引等内容,从而帮助应用程序服务提供方进行宣传推广活动,以及增强应用程序的用户体验。
现有的应用程序闪屏图像显示方法都较为简单,常用的一种显示闪屏图像的方法是将闪屏图像打包封装在应用程序中,当启动应用程序之后,显示闪屏图像。然而,通常在显示闪屏图像后还可能需要显示与此相关的市场活动信息,此类市场活动信息可能根据市场需要,进行不断更新。例如,过新年的时候,打开应用程序希望看到与过年有关的闪屏图像以及新年相关的活动信息,而则购物节的时候,则看到与购物有关的闪屏图片和随后展示的购物相关活动信息。然而,提前打包封装闪屏图像的方法,只能通过重新打包封装应用程序的更新包,更新应用程序以提供新的更新闪屏图像和对应的新的活动信息。可见,这种方法不仅操作繁琐,并且容易造成闪屏图像和活动信息的内容滞后,降低用户体验。
另一种方法,则是在每次应用程序启动时都实时地从远程服务器获取闪屏图像信息和相关的活动信息,然而这种方法由于存在网络传输带来的时延,导致显示效率低。另一方面,在很多情况下,每次获取的闪屏图像可能都同样,浪费网络带宽资源。
发明内容
本申请提供了显示应用程序闪屏图像的方法和装置,能够更加灵活的方式显示应用程序的闪屏图像。
本申请提供了如下方案:
一种显示应用程序闪屏图像的方法,包括:
读取预先设置在用户终端本地的闪屏图像的显示模式,其中,所述显示模式包括缓存模式和实时模式;
若所读取的显示模式为缓存模式,识别在所述用户终端本地是否存在有效的待显示闪屏图像;
如果存在有效的待显示闪屏图像,则显示所述闪屏图像,其中,在显示所述闪屏图像的同时,向服务器发送获取与所述闪屏图像的内容相关的页面信息的请求消息;
若所读取的显示模式为实时模式,向服务器发送待获取待显示闪屏图像以及与待显示闪屏图像的内容相关的活动页面信息的请求消息,如果成功获取待显示闪屏图像,则显示所述闪屏图像;
识别是否成功获取所述页面信息;
若成功获取所述页面信息,记录所述页面信息,以及在预定的时间跳转至所述页面信息对应的页面进行显示;若获取所述页面信息失败,在闪屏图像显示完成后,显示所述应用程序首页的页面。
一种显示应用程序闪屏图像的装置,包括:
读取单元,用于读取预先设置在用户终端本地的闪屏图像的显示模式,其中所述显示模式包括缓存模式和实时模式;
第一识别单元,用于若所读取的显示模式为缓存模式,识别在所述用户终端本地是否存在有效的待显示闪屏图像;
显示单元,用于如果识别出存在有效的待显示闪屏图像,显示所述闪屏图像;其中,在显示所述闪屏图像的同时,向服务器发送获取与所述闪屏图像的内容相关的页面信息的请求消息;
闪屏图像请求单元,用于若所读取的显示模式为实时模式,向服务器发送待获取待显示闪屏图像以及与待显示闪屏图像的内容相关的活动页面信息的请求消息,如果成功获取待显示闪屏图像,则显示所述闪屏图像;
第二识别单元,用于识别是否成功获取所述页面信息;
页面信息处理单元,用于若成功获取所述页面信息,记录所述页面信息,以及在预定 的时间跳转至所述页面信息对应的页面进行显示;若获取所述页面信息失败,在闪屏图像显示完成后,显示所述应用程序首页的页面。
根据本申请提供的具体实施例,本申请公开了以下技术效果:
通过本申请实施例,能够兼容实时和缓存两种模式的闪屏图像显示模式,提高了闪屏图像显示方式的灵活性;在采用缓存模式时,通过在显示闪屏图像的同时,请求相关的页面信息提高了后续活动页面信息的显示效率;同时无论哪种显示方式都能够实地获得与闪屏图像的内容相关的页面信息,从而提高了闪屏图像相关联的活动页面信息的准确性。
当然,实施本申请的任一产品并不一定需要同时达到以上所述的所有优点。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请提供的方法的流程图;
图2是本申请提供的方法中另一种实施例的流程图;
图3是本申请提供的装置的示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本申请保护的范围。
首先需要说明的是,本申请实施例中的用户终端可以是移动终端,也可以是如个人电脑等其它用户终端设备。本申请中的应用程序可以是安装于移动终端或个人电脑上的应用程序,可以通过点击应用程序图标启动该应用程序。通常,在启动应用程序后,可以展示启动图像,展示启动图像的时间可以根据预先的设置确定。
启动应用程序还可能执行应用程序初始化操作,如初始化网络设置,网络请求,初始化应用程序的线程池,解压应用程序相关的文件,读写本地配置文件等操作。
参见图1所示,图1是本申请实施例提供的显示方法一种实施例的流程示意图。该实施例中显示应用程序闪屏图像的方法,包括以下操作。
S101:读取预先设置在用户终端本地的闪屏图像的显示模式,其中显示模式包括缓存模式和实时模式。
在S101操作中,可以通过例如配置文件的实施方式实现预先设置在用户终端本地的闪屏图像的显示模式,通过读取配置文件中的显示模式字段的内容获得预先设置的显示模式。配置文件存储在用户终端本地,从而加速应用程序的启动过程。
S102:若所读取的显示模式为缓存模式,识别在用户终端本地是否存在有效的待显示闪屏图像;
S103:如果存在有效的待显示闪屏图像,则显示所述闪屏图像,其中,在显示所述闪屏图像的同时,向服务器发送获取与所述闪屏图像的内容相关的页面信息的请求消息。
闪屏图像的内容可能具有时效性要求,由于缓存模式使用的是缓存中用户终端本地的闪屏图像,因此,可能出现该闪屏图像的内容已经滞后,由此,需要检查闪屏图像的有效性,从而保证闪屏图像内容的实时性。在S102的操作中,识别在用户终端本地是否存在有效的待显示闪屏图像可以通过不同方法来实现,例如,可以从用户终端本地读取待显示闪屏图像;如读取失败,则判定在用户终端本地无有效的待显示闪屏图像;如读取成功,则从用户终端本地读取待显示闪屏图像的显示时间生效信息;获取用户终端的当前时间,判断当前时间是否符合显示时间生效信息;如果满足显示时间生效信息,则判定在用户终端本地存在有效的待显示闪屏图像。示例性地,例如,获取的当前时间为2015年1月20日,而从用户终端本地读取待显示闪屏图像的显示时间生效信息包含显示该闪屏图像的起始和结束日期,例如在2015年1月1日至2015年1月15日之间显示,2015年1月20日则不满足显示时间生效信息,判定在用户终端本地不存在有效的待显示闪屏图像。
待显示闪屏图像的有效性还可以包括用户终端的平台、平台版本等信息。例如,闪屏图像仅不同的某种移动终端操作系统平台有效,或仅对于某种移动终端操作系统平台的某个版本有效。
另外,还可以通过识别用户终端本地缓存的闪屏图像的数据完整性,例如闪屏图像数据是否有损坏等不同方法来检查闪屏图像的有效性。
与闪屏图像的内容相关的页面信息可以是闪屏图像内容对应或者相关的活动信息。例如,该页面信息可以是一个超文本链接标示语言(Hypertext Markup Language,HTML) 的页面,比如,闪屏图像的内容是购物节,而与闪屏图像的内容相关的页面信息则是对应的HTML的购物活动页面,用户可以在该活动页面里面购买相关的产品。
在上述S103操作中,如存在有效的待显示闪屏图像则显示闪屏图像,其中,在显示闪屏图像的同时,向服务器发送获取与闪屏图像的内容相关的页面信息的请求消息,从而可以减少获得相关的页面信息等待时间,提高了后续活动页面信息的显示效率,通过实时获取相关的页面信息,还提高了闪屏图像相关联的活动页面信息的实时性。
S104:若所读取的显示模式为实时模式,向服务器发送待获取待显示闪屏图像以及与待显示闪屏图像的内容相关的活动页面信息的请求消息;如果成功获取待显示闪屏图像,显示闪屏图像。
在S104的操作中,如果获取闪屏图像失败,例如,出现网络超时或者服务器未响应等情况,则可以直接进入应用程序首页的页面。
在上述S102至S104的操作中,闪屏图像的显示时间的长短可以通过预先设置或通过网络实时请求得到,闪屏图像的显示时间一到,便进入对应的下一步操作,如显示应用程序首页或相关的活动页面。
相对于缓存模式,S104则采用实时模式,即实时性从服务器获取显示闪屏图像以及与待显示闪屏图像的内容相关的活动页面信息。
S105:识别是否成功获取该页面信息。
S106:若成功获取所述页面信息,记录所述页面信息,以及在预定的时间跳转至所述页面信息对应的页面进行显示;若获取所述页面信息失败,在闪屏图像显示完成后,显示所述应用程序首页的页面。
另外,在一种显示应用程序闪屏图像的方法实施例中,如果成功获取该页面信息,还包括:在闪屏图像显示完成后,显示应用程序首页的页面。其中,在S106操作中,在预定的时间跳转至页面信息对应的页面为:在显示应用程序首页的页面后,显示页面信息对应的页面。即在实施例中S106对应的操作中,若成功获取该页面信息,记录该页面信息,在闪屏图像显示完成后,显示应用程序首页的页面;以及在显示应用程序首页的页面后,显示页面信息对应的页面;若获取该页面信息失败,在闪屏图像显示完成后,显示应用程序首页的页面。
另外,也可以在显示应用程序首页的页面之前,先显示页面信息对应的页面。即在闪屏图像显示结束之后,如果有页面信息(如,对应的活动信息页面)则先进入活动页面信息,如果没有活动页面信息,直接进入应用程序首页。例如,应用程序的闪屏图像 是汽车的图片,闪屏图像消失后,则就进到汽车的销售页面,即闪屏图像相关的活动页面,若在该活动页面用户没有进行对应的操作,则进入应用程序首页的页面。
参见图2所示,图2是本申请提供的显示方法另一种实施例的流程示意图。相对于图1实施例,该实施例中显示应用程序闪屏图像的方法还包括:
S201~S206与S101~S106相同。
S207:向服务器发送更新闪屏图像的显示模式的请求;
S208:接收服务器返回的新的闪屏图像的显示模式的相关信息;
S209:根据所接收到的新的闪屏图像的显示模式的相关信息,预先在用户终端设置下一次闪屏图像的显示模式。
可以在页面信息显示完毕之后或者同时发送更新闪屏图像的显示模式的请求,也可以在显示闪屏图像或首页页面时发送该请求。
在上述实施例,可以通过向服务器发送显示模式的请求,预先在用户终端设置下一次闪屏图像的显示模式。相类似的,显示模式可以包括缓存模式或实时模式。通过该实施方式,可以通过在服务器端灵活调整显示模式,从而实现根据业务或网络环境需要采用更合适的显示模式,进而在服务器端配置,应用程序通过在连接服务器进行请求,更新用户终端的本地设置。无论采用缓存模式还是实时模式,都可以通过在服务器端修改对应的请求响应,而不需要重新发布应用程序,提高了应用程序闪屏显示方式的灵活性。
另外,在另一种显示应用程序闪屏图像的方法实施例中,S106操作中若获取页面信息失败,还可以向服务器发送更新闪屏图像的请求,并接收服务器返回的新的闪屏图像,在用户终端设置下一次显示的闪屏图像为所接收到的新的闪屏图像,并设置下一次闪屏图像的显示模式为缓存模式。由于获取页面信息失败,可能的原因包括网络连接或服务器响应的不稳定等因素,因此为下一次启动应用程序时能够立即显示闪屏图像,可以设置下一次闪屏图像的显示模式为缓存模式,并提前请求下一次待显示的闪屏图像,从而减少下一次启动应用程序时显示闪屏图像的时延,以及防止闪屏图像显示失败。
上述显示模式的相关信息还可以包括闪屏图像的显示模式,以及以下信息中至少一种包括:闪屏显示时间的长短信息用于控制显示闪屏图像的时间长短、显示时间生效信息用于判定在用户终端本地是否存在有效的待显示闪屏图像;其中,当显示模式为缓存模式时,显示模式的相关信息还包括:待显示闪屏图像。显示模式的相关信息还可以包括网络请求超时时间信息和判断闪屏图像有效性的信息。
通常,闪屏图像通常是静止的一张图片,无动画效果,效果单一,用户体验差。或者, 通过在应用程序中加入多张图片来实现动画效果。对于后一种方法,由于图片打包封装在应用程序中,每次动画效果发生大的变化,都需要修改图片,再通过重新打包的方式修改应用程序来修改闪屏图像,步骤繁琐缺乏灵活性。
为提高闪屏图像的效果,待显示闪屏图像的格式为图像互换格式(Graphics Interchange Format,GIF)图像,具体在显示闪屏图像时,可以从GIF图像中解析出帧图像,然后显示帧图像。
其中,GIF图像以8位颜色或256色存储单个光栅图像数据或多个光栅图像数据,GIF的图像支持背景的透明度、压缩、交错以及可以包括一帧或多帧图像。当包含多帧图像时,每相邻两帧之间的时间间隔可以相同也可以不同。
GIF图像的文件以数据块(block)为单位来存储图像的相关信息。一个GIF图像的文件由存储图像的数据块来存储多幅图像,并且由控制块决定图像的表现用以实现动画或交互式效果。数据块和控制块组成了GIF数据流(Data Stream)。从GIF图像中解析出帧图像的具体实现方法可以通过读取GIF图像文件数据块中的图像标识别符(Image Descriptor),GIF文件中多幅图像,每一幅图像即一帧图像以该图像标识别符开始,一幅图象结束之后紧接着下是一幅图象的标识。在图像标识别符之后还定义了图像的位置偏移、图像大小以及颜色的相关信息。GIF图象文件使用了压缩算法,从而减小了图象数据的大小。GIF图象数据由于在压缩前有两种排列格式:连续的和交织的。因此,在读取多帧图像时也按照对应的方式,例如,连续方式则按从左到右、从上到下的顺序排列图象的光栅数据,读取时相对应的方法解析获得帧图像数据。从而,从GIF图像中解析出帧图像,并作为闪屏图像显示帧图像。
GIF图像可以包含单帧GIF图像或多帧GIF图像,在一种显示应用程序闪屏图像的方法实施例中,GIF图像包括多帧GIF图像,显示闪屏图像具体包括:从多帧GIF图像中依次解析出每一帧图像,以及相邻两帧之间的间隔时间。在显示闪屏图像时:根据该间隔时间,依次显示每一帧图像从而获得具有动画效果的闪屏图像。当然,也可以不按照GIF图像中的帧间隔来显示多帧图像。
通过以上实施例中,在用户终端解析GIF图像的方法,获取帧图像,再依次显示帧图像,实现闪屏图像的动画效果,提供了一种新的闪屏图像的实现方式。同时,针对不同的GIF图像,无需修改应用程序,即可以灵活实现动画效果的变化,使得闪屏图像更加绚丽,提高了用户体验。
相对应的,通过将制作好的GIF图像设置在服务器端,应用程序在用户终端启动后, 向服务器发送更新闪屏图像以及显示模式的请求,从而接收服务器返回的新的GIF图像以及显示模式的相关信息,实时获得新的GIF图像进行解析和显示,实现动画效果的更换。另外,也可以将获得的GIF图像缓存在用户终端本地,通过缓存方式从本地获取GIF图像进行解析和显示。由此,可以将闪屏图像所需要的动画效果方便地通过GIF图像的多帧图片中,通过改变多帧图片改变闪屏动画效果。
在一种显示应用程序闪屏图像的方法实施例中,在获得待显示闪屏图像之后,该方法还可以包括:识别闪屏图像的格式;如果识别出闪屏图像的格式为GIF图像,执行上述解析操作。
参见图3所示,图3是本申请提供的显示装置一种实施例的结构示意图。该显示应用程序闪屏图像的装置,包括:
读取单元301,用于读取预先设置在用户终端本地的闪屏图像的显示模式,其中所述显示模式包括缓存模式和实时模式;
第一识别单元302,用于若所读取的显示模式为缓存模式,识别在所述用户终端本地是否存在有效的待显示闪屏图像;
显示单元303,用于如果识别出存在有效的待显示闪屏图像,显示所述闪屏图像;其中,在显示所述闪屏图像的同时,向服务器发送获取与所述闪屏图像的内容相关的页面信息的请求消息;
闪屏图像请求单元304,用于若所读取的显示模式为实时模式,向服务器发送待获取待显示闪屏图像以及与待显示闪屏图像的内容相关的活动页面信息的请求消息,如果成功获取待显示闪屏图像,则显示所述闪屏图像;
第二识别单元305,用于识别是否成功获取所述页面信息;
页面信息处理单元306,用于若成功获取所述页面信息,记录所述页面信息,以及在预定的时间跳转至所述页面信息对应的页面进行显示;若获取所述页面信息失败,在闪屏图像显示完成后,显示所述应用程序首页的页面。
在一种显示应用程序闪屏图像的装置实施例中,所述页面信息处理单元还用于:
如果成功获取所述页面信息,在闪屏图像显示完成后,显示所述应用程序首页的页面;
在显示所述应用程序首页的页面后,显示所述页面信息对应的页面。
其中,所述第一识别单元,具体用于:从所述用户终端本地读取待显示闪屏图像;如读取失败,则判定在用户终端本地无有效的待显示闪屏图像;如读取成功,则从所述用 户终端本地读取待显示闪屏图像的显示时间生效信息;获取所述用户终端的当前时间,判断所述当前时间是否符合所述显示时间生效信息;如果满足所述显示时间生效信息,则判定在用户终端本地存在有效的待显示闪屏图像。
在一种实现方式下,该装置还可以包括:
更新请求单元,用于向服务器发送更新闪屏图像的显示模式的请求;
相关信息接收单元,用于接收服务器返回的新的闪屏图像的显示模式的相关信息;
更新设置单元,用于根据所接收到的新的闪屏图像的显示模式的相关信息,预先在所述用户终端设置下一次闪屏图像的显示模式。
其中,所述更新请求单元,还用于若获取所述页面信息失败,向服务器发送更新闪屏图像的请求;接收服务器返回的新的闪屏图像;
所述更新设置单元,还用于在所述用户终端设置下一次显示的闪屏图像为所接收到的新的闪屏图像,以及设置下一次闪屏图像的显示模式为缓存模式。
所述显示模式的相关信息,包括闪屏图像的显示模式,以及以下信息中至少一种包括:闪屏显示时间的长短信息用于所述显示单元控制显示所述闪屏图像的时间长短、显示时间生效信息用于所述显示单元判定在所述用户终端本地是否存在有效的待显示闪屏图像;
其中,当所述显示模式为缓存模式时,所述显示模式的相关信息还包括:待显示闪屏图像。
具体实现时,所述待显示闪屏图像的格式为图像互换格式GIF图像,所述装置还包括:
图像解析单元,用于从GIF图像中解析出帧图像,以由所述显示单元显示所述帧图像。
其中,所述GIF图像包括多帧GIF图像,所述图像解析单元,还用于从所述多帧GIF图像中依次解析出每一帧图像,以及相邻两帧之间的间隔时间;
所述显示单元,具体用于根据所述间隔时间,依次显示每一帧图像从而获得具有动画效果的闪屏图像。
另外,所述装置还可以包括:
图像格式识别单元,用于在获得待显示闪屏图像之后,识别闪屏图像的格式,如果识别出闪屏图像的格式为GIF图像,由所述图像解析单元执行所述解析操作。
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本申请可借 助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例或者实施例的某些部分所述的方法。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统或系统实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的系统及系统实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
以上对本申请所提供的显示应用程序闪屏图像的方法和装置,进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处。综上所述,本说明书内容不应理解为对本申请的限制。

Claims (18)

  1. 一种显示应用程序闪屏图像的方法,其特征在于,包括:
    读取预先设置在用户终端本地的闪屏图像的显示模式,其中,所述显示模式包括缓存模式和实时模式;
    若所读取的显示模式为缓存模式,识别在所述用户终端本地是否存在有效的待显示闪屏图像;
    如果存在有效的待显示闪屏图像,则显示所述闪屏图像,其中,在显示所述闪屏图像的同时,向服务器发送获取与所述闪屏图像的内容相关的页面信息的请求消息;
    若所读取的显示模式为实时模式,向服务器发送待获取待显示闪屏图像以及与待显示闪屏图像的内容相关的活动页面信息的请求消息,如果成功获取待显示闪屏图像,则显示所述闪屏图像;
    识别是否成功获取所述页面信息;
    若成功获取所述页面信息,记录所述页面信息,以及在预定的时间跳转至所述页面信息对应的页面进行显示;若获取所述页面信息失败,在闪屏图像显示完成后,显示所述应用程序首页的页面。
  2. 根据权利要求1所述的方法,其特征在于,如果成功获取所述页面信息,所述方法还包括:在闪屏图像显示完成后,显示所述应用程序首页的页面;
    所述在预定的时间跳转至所述页面信息对应的页面,包括:
    在显示所述应用程序首页的页面后,显示所述页面信息对应的页面。
  3. 根据权利要求1所述的方法,其特征在于,所述识别在所述用户终端本地是否存在有效的待显示闪屏图像,包括:
    从所述用户终端本地读取待显示闪屏图像;
    如读取失败,则判定在用户终端本地无有效的待显示闪屏图像;
    如读取成功,则从所述用户终端本地读取待显示闪屏图像的显示时间生效信息;
    获取所述用户终端的当前时间,判断所述当前时间是否符合所述显示时间生效信息;
    如果满足所述显示时间生效信息,则判定在用户终端本地存在有效的待显示闪屏图像。
  4. 根据权利要求1所述的方法,其特征在于,还包括:
    向服务器发送更新闪屏图像的显示模式的请求;
    接收服务器返回的新的闪屏图像的显示模式的相关信息;
    根据所接收到的新的闪屏图像的显示模式的相关信息,预先在所述用户终端设置下一次闪屏图像的显示模式。
  5. 根据权利要求4所述的方法,其特征在于,若获取所述页面信息失败,还包括:
    向服务器发送更新闪屏图像的请求;
    接收服务器返回的新的闪屏图像;
    在所述用户终端设置下一次显示的闪屏图像为所接收到的新的闪屏图像,以及设置下一次闪屏图像的显示模式为缓存模式。
  6. 根据权利要求4或5所述的方法,其特征在于,所述显示模式的相关信息,包括闪屏图像的显示模式,以及以下信息中至少一种包括:闪屏显示时间的长短信息用于控制显示所述闪屏图像的时间长短、显示时间生效信息用于判定在所述用户终端本地是否存在有效的待显示闪屏图像;
    其中,当所述显示模式为缓存模式时,所述显示模式的相关信息还包括:待显示闪屏图像。
  7. 根据权利要求1所述的方法,其特征在于,所述待显示闪屏图像的格式为图像互换格式GIF图像,所述显示所述闪屏图像,包括:
    从所述GIF图像中解析出帧图像;显示所述帧图像。
  8. 根据权利要求7所述的方法,其特征在于,所述GIF图像包括多帧GIF图像,所述显示所述闪屏图像,包括:
    从所述多帧GIF图像中依次解析出每一帧图像,以及相邻两帧之间的间隔时间;
    所述显示所述帧图像,包括:根据所述间隔时间,依次显示每一帧图像从而获得具有动画效果的闪屏图像。
  9. 根据权利要求7或8所述的方法,其特征在于,在获得待显示闪屏图像之后, 还包括:
    识别闪屏图像的格式;
    如果识别出闪屏图像的格式为GIF图象,则执行所述解析操作。
  10. 一种显示应用程序闪屏图像的装置,其特征在于,包括:
    读取单元,用于读取预先设置在用户终端本地的闪屏图像的显示模式,其中所述显示模式包括缓存模式和实时模式;
    第一识别单元,用于若所读取的显示模式为缓存模式,识别在所述用户终端本地是否存在有效的待显示闪屏图像;
    显示单元,用于如果识别出存在有效的待显示闪屏图像,显示所述闪屏图像;其中,在显示所述闪屏图像的同时,向服务器发送获取与所述闪屏图像的内容相关的页面信息的请求消息;
    闪屏图像请求单元,用于若所读取的显示模式为实时模式,向服务器发送待获取待显示闪屏图像以及与待显示闪屏图像的内容相关的活动页面信息的请求消息,如果成功获取待显示闪屏图像,则显示所述闪屏图像;
    第二识别单元,用于识别是否成功获取所述页面信息;
    页面信息处理单元,用于若成功获取所述页面信息,记录所述页面信息,以及在预定的时间跳转至所述页面信息对应的页面进行显示;若获取所述页面信息失败,在闪屏图像显示完成后,显示所述应用程序首页的页面。
  11. 根据权利要求10所述的装置,其特征在于,所述页面信息处理单元还用于:
    如果成功获取所述页面信息,在闪屏图像显示完成后,显示所述应用程序首页的页面;
    在显示所述应用程序首页的页面后,显示所述页面信息对应的页面。
  12. 根据权利要求10所述的装置,其特征在于,所述第一识别单元,具体用于:从所述用户终端本地读取待显示闪屏图像;如读取失败,则判定在用户终端本地无有效的待显示闪屏图像;如读取成功,则从所述用户终端本地读取待显示闪屏图像的显示时间生效信息;获取所述用户终端的当前时间,判断所述当前时间是否符合所述显示时间生效信息;如果满足所述显示时间生效信息,则判定在用户终端本地存在有效的待显示闪 屏图像。
  13. 根据权利要求10所述的装置,其特征在于,还包括:
    更新请求单元,用于向服务器发送更新闪屏图像的显示模式的请求;
    相关信息接收单元,用于接收服务器返回的新的闪屏图像的显示模式的相关信息;
    更新设置单元,用于根据所接收到的新的闪屏图像的显示模式的相关信息,预先在所述用户终端设置下一次闪屏图像的显示模式。
  14. 根据权利要求13所述的装置,其特征在于,所述更新请求单元,还用于若获取所述页面信息失败,向服务器发送更新闪屏图像的请求;接收服务器返回的新的闪屏图像;
    所述更新设置单元,还用于在所述用户终端设置下一次显示的闪屏图像为所接收到的新的闪屏图像,以及设置下一次闪屏图像的显示模式为缓存模式。
  15. 根据权利要求13或14所述的装置,其特征在于,所述显示模式的相关信息,包括闪屏图像的显示模式,以及以下信息中至少一种包括:闪屏显示时间的长短信息用于所述显示单元控制显示所述闪屏图像的时间长短、显示时间生效信息用于所述显示单元判定在所述用户终端本地是否存在有效的待显示闪屏图像;
    其中,当所述显示模式为缓存模式时,所述显示模式的相关信息还包括:待显示闪屏图像。
  16. 根据权利要求10所述的装置,其特征在于,所述待显示闪屏图像的格式为图像互换格式GIF图像,所述装置还包括:
    图像解析单元,用于从GIF图像中解析出帧图像,以由所述显示单元显示所述帧图像。
  17. 根据权利要求16所述的装置,其特征在于,所述GIF图像包括多帧GIF图像,所述图像解析单元,还用于从所述多帧GIF图像中依次解析出每一帧图像,以及相邻两帧之间的间隔时间;
    所述显示单元,具体用于根据所述间隔时间,依次显示每一帧图像从而获得具有动 画效果的闪屏图像。
  18. 根据权利要求16或17所述的装置,其特征在于,所述装置还包括:
    图像格式识别单元,用于在获得待显示闪屏图像之后,识别闪屏图像的格式,如果识别出闪屏图像的格式为GIF图像,由所述图像解析单元执行所述解析操作。
PCT/CN2016/094323 2015-08-19 2016-08-10 显示应用程序闪屏图像的方法和装置 WO2017028722A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510512554.4 2015-08-19
CN201510512554.4A CN106469073A (zh) 2015-08-19 2015-08-19 显示应用程序闪屏图像的方法和装置

Publications (1)

Publication Number Publication Date
WO2017028722A1 true WO2017028722A1 (zh) 2017-02-23

Family

ID=58050686

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/094323 WO2017028722A1 (zh) 2015-08-19 2016-08-10 显示应用程序闪屏图像的方法和装置

Country Status (2)

Country Link
CN (1) CN106469073A (zh)
WO (1) WO2017028722A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110908724A (zh) * 2019-12-03 2020-03-24 深圳市迅雷网络技术有限公司 一种Android App启动方法及相关组件
EP3989526A4 (en) * 2019-08-07 2022-09-07 Huawei Technologies Co., Ltd. METHOD OF DISPLAYING ON-SCREEN INFORMATION OF AN APPLICATION AND ELECTRONIC DEVICE
CN117036831A (zh) * 2023-10-09 2023-11-10 视睿(杭州)信息科技有限公司 一种基于时序特征建模闪屏检测方法、系统及介质

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108089894A (zh) * 2017-12-15 2018-05-29 福建中金在线信息科技有限公司 页面的显示方法、装置及电子设备
CN109471674A (zh) * 2018-10-25 2019-03-15 上海连尚网络科技有限公司 应用启动开屏信息展示方法、计算机设备及存储介质
CN110941568B (zh) * 2019-10-23 2022-03-01 支付宝(杭州)信息技术有限公司 缓存更新方法、装置、系统、电子设备及介质
CN111625746B (zh) * 2020-05-27 2024-01-30 咪咕文化科技有限公司 应用程序页面的显示方法、系统、电子设备和存储介质
CN112990964B (zh) * 2021-03-01 2024-04-05 深圳市腾讯计算机系统有限公司 推荐内容资源的获取方法、装置、设备及介质
CN114138359A (zh) * 2021-11-04 2022-03-04 北京乐我无限科技有限责任公司 闪屏页展示方法、装置、电子设备及存储介质
CN115268746A (zh) * 2022-06-29 2022-11-01 阿里巴巴新加坡控股有限公司 页面切换显示方法以及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6173445B1 (en) * 1998-02-13 2001-01-09 Nicholas Robins Dynamic splash screen
CN102567895A (zh) * 2010-12-31 2012-07-11 上海博泰悦臻电子设备制造有限公司 在电子设备上显示广告的方法
CN102752371A (zh) * 2012-06-11 2012-10-24 北京新媒传信科技有限公司 在客户端上实现闪屏的方法和客户端
CN103309688A (zh) * 2012-03-12 2013-09-18 腾讯科技(深圳)有限公司 启动画面的控制方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101539778B1 (ko) * 2009-06-17 2015-07-27 엘지전자 주식회사 부팅 중에 사용자에게 정보를 제공할 수 있는 디스플레이 장치 및 그 구동 방법
CN104615432B (zh) * 2015-02-10 2020-06-16 腾讯科技(北京)有限公司 闪屏信息处理方法及客户端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6173445B1 (en) * 1998-02-13 2001-01-09 Nicholas Robins Dynamic splash screen
CN102567895A (zh) * 2010-12-31 2012-07-11 上海博泰悦臻电子设备制造有限公司 在电子设备上显示广告的方法
CN103309688A (zh) * 2012-03-12 2013-09-18 腾讯科技(深圳)有限公司 启动画面的控制方法及装置
CN102752371A (zh) * 2012-06-11 2012-10-24 北京新媒传信科技有限公司 在客户端上实现闪屏的方法和客户端

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3989526A4 (en) * 2019-08-07 2022-09-07 Huawei Technologies Co., Ltd. METHOD OF DISPLAYING ON-SCREEN INFORMATION OF AN APPLICATION AND ELECTRONIC DEVICE
CN110908724A (zh) * 2019-12-03 2020-03-24 深圳市迅雷网络技术有限公司 一种Android App启动方法及相关组件
CN110908724B (zh) * 2019-12-03 2024-06-07 深圳市迅雷网络技术有限公司 一种Android App启动方法及相关组件
CN117036831A (zh) * 2023-10-09 2023-11-10 视睿(杭州)信息科技有限公司 一种基于时序特征建模闪屏检测方法、系统及介质
CN117036831B (zh) * 2023-10-09 2024-03-22 视睿(杭州)信息科技有限公司 一种基于时序特征建模闪屏检测方法、系统及介质

Also Published As

Publication number Publication date
CN106469073A (zh) 2017-03-01

Similar Documents

Publication Publication Date Title
WO2017028722A1 (zh) 显示应用程序闪屏图像的方法和装置
EP3465467B1 (en) Web page accelerations for web application hosted in native mobile application
CN109947512B (zh) 一种文本适配显示方法、装置、服务器及存储介质
CN111143725A (zh) 页面生成方法、装置和电子设备
CN102647634B (zh) 一种基于HTML5video的多分片视频播放方法及装置
US8245125B1 (en) Hybrid rendering for webpages
US11695979B2 (en) Method and device of displaying multi-screen interactive
US20140110473A1 (en) Method and system for cross-terminal cloud browsing
US10452758B1 (en) Optimizing online content rendering
JP2009518724A (ja) ポータル・システム内で非同期ポータル・ページを提供するための方法、システム、およびコンピュータ・プログラム
US20190230311A1 (en) Video interface display method and apparatus
US8606955B1 (en) Pause-button content rendering
CN112073754B (zh) 一种云游戏投屏方法、装置、计算机设备、计算机可读存储介质及云游戏投屏交互系统
CN107301182B (zh) 一种展示内嵌图片的网页的方法和装置
US11503347B2 (en) Method of playing video, computing device, and computer program product
CN108769816B (zh) 一种视频播放方法、装置及存储介质
US20230046042A1 (en) Picture display method and apparatus, terminal device, and storage medium
CN112817781A (zh) 一种应用程序的互动方法、装置、设备及介质
US20220342925A1 (en) Material presentation method, electronic device, and storage medium
JP2023522266A (ja) マルチメディアデータ配信の方法、装置、デバイス及び媒体
EP3125541A1 (en) Data acquisition and interaction method, set top box, server and multimedia system
US8396920B1 (en) Clean URLs in web applications
WO2017140226A1 (zh) 视频处理方法及其设备
JP2017062759A (ja) 携帯端末にプッシュ通知を行うための通知方法及び通知サーバ
US20180192121A1 (en) System and methods thereof for displaying video content

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: 16836586

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: 16836586

Country of ref document: EP

Kind code of ref document: A1