WO2020051884A1 - 显示控制方法及相关产品 - Google Patents

显示控制方法及相关产品 Download PDF

Info

Publication number
WO2020051884A1
WO2020051884A1 PCT/CN2018/105750 CN2018105750W WO2020051884A1 WO 2020051884 A1 WO2020051884 A1 WO 2020051884A1 CN 2018105750 W CN2018105750 W CN 2018105750W WO 2020051884 A1 WO2020051884 A1 WO 2020051884A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
display
brightness value
splash screen
picture
Prior art date
Application number
PCT/CN2018/105750
Other languages
English (en)
French (fr)
Inventor
李森林
Original Assignee
深圳市欢太科技有限公司
Oppo广东移动通信有限公司
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 深圳市欢太科技有限公司, Oppo广东移动通信有限公司 filed Critical 深圳市欢太科技有限公司
Priority to PCT/CN2018/105750 priority Critical patent/WO2020051884A1/zh
Priority to CN201880095040.5A priority patent/CN112385199B/zh
Publication of WO2020051884A1 publication Critical patent/WO2020051884A1/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 technical field of electronic devices, and in particular, to a display control method and related products.
  • games are widely used in electronic devices, but when starting a game, it is often necessary to load the game process. In this process, the user can only wait for the game process to be loaded before operating the game. Currently, , Especially online games, take longer to load, so users will see the loading process.
  • the embodiments of the present application provide a display control method and related products, so as to prevent users from seeing the loading process.
  • a first aspect of the embodiments of the present application provides a display control method, including:
  • a second aspect of the embodiments of the present application provides a display control device, including:
  • a starting unit configured to obtain attribute information of the target game when the target game is started
  • a first obtaining unit configured to obtain a background picture
  • a synthesis unit configured to synthesize a splash screen picture with the background picture according to the attribute information
  • a second obtaining unit configured to obtain display parameters
  • a display unit configured to display the splash screen picture according to the display parameters.
  • an embodiment of the present application provides an electronic device, including: a processor and a memory; and one or more programs, the one or more programs are stored in the memory and configured to be provided by the The processor executes, and the program includes instructions for some or all of the steps as described in the first aspect.
  • an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, and the computer program causes a computer to execute the first aspect of the embodiment of the present application. Instructions for some or all of the steps described in.
  • an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute Some or all of the steps described in the first aspect of the embodiment of the application.
  • the computer program product can be a software installation package.
  • an electronic device when an electronic device starts a target game, it acquires attribute information of the target game, obtains a background image, and synthesizes a splash screen image based on the attribute information and the background image to obtain a display
  • the parameter which displays the splash screen image according to the display parameters, can synthesize and display the splash screen image during the game startup process, thereby preventing the user from seeing the loading process.
  • FIG. 1A is a schematic flowchart of an embodiment of a display control method according to an embodiment of the present application.
  • FIG. 1B is a schematic diagram of a splash screen picture provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of another embodiment of a display control method according to an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of another embodiment of a display control method according to an embodiment of the present application.
  • FIG. 4A is a schematic structural diagram of a display control device according to an embodiment of the present application.
  • FIG. 4B is another schematic structural diagram of the display control device described in FIG. 4A according to an embodiment of the present application.
  • FIG. 4C is another schematic structural diagram of the display control device described in FIG. 4B according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • an embodiment herein means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application.
  • the appearance of this phrase in various places in the specification does not necessarily mean the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
  • the electronic devices described in the embodiments of the present application may include smart phones (such as Android phones, iOS phones, Windows Phone phones, etc.), tablet computers, PDAs, in-vehicle devices, notebook computers, mobile Internet devices (MID, Mobile Internet Devices), or wearables.
  • smart phones such as Android phones, iOS phones, Windows Phone phones, etc.
  • PDAs personal digital assistants
  • in-vehicle devices notebook computers
  • mobile Internet devices MID, Mobile Internet Devices
  • wearables mobile Internet devices
  • the above devices are only examples, not exhaustive, and include but are not limited to the above electronic devices.
  • a splash screen picture (a splash screen picture is also referred to as a startup picture, which generally refers to a screen started by an application (APP)) will appear along with the game loading. With splash screen images, users can avoid paying attention to the game loading process.
  • APP application
  • FIG. 1A is a schematic flowchart of an embodiment of a display control method according to an embodiment of the present application.
  • the display control method described in this embodiment includes the following steps 101 to 105, as follows:
  • the target game may be at least one of the following: a stand-alone game, an online game, a quick application game, and the like, which are not limited herein.
  • the attribute information may be at least one of the following: device manufacturer, game developer, game name, game type, game version number, game profile information, slogan, link, etc., which is not limited here.
  • the background picture can be set by the user or the system defaults or a picture in the target game.
  • the background picture can include one or more pictures.
  • the background picture can be a dynamic picture.
  • the background picture can be a composite picture composed of multiple pictures.
  • obtaining the background image in the above step 102 may include the following steps:
  • the electronic device After the electronic device starts the game, it needs to load the relevant process of the target game.
  • the electronic device can obtain the login page of the target game.
  • the login page can be saved as a frame picture in the target game.
  • the login page can be used as a background, and the login page is used to instruct the entry of login information.
  • the login information can include at least one of the following: user name, password, registration window, etc., which is not limited here.
  • the registration window is used to guide new users to register. In this way, the user can quickly enter login information during the loading process of the game, and then can quickly enter the game.
  • the attribute information can guide the user to understand the game content, and the background picture can let the user appreciate the picture and give the user a visual experience.
  • the electronic device can synthesize a splash screen picture based on the attribute information and the background picture.
  • the splash screen image can include attribute information and background image.
  • the attribute information can be: the logo of the electronic device and the application name of the target game.
  • the background image can be the default image.
  • Figure 1B shows the splash screen image, which includes attribute information and background image.
  • the medium attribute information can be placed on the upper layer, and the background picture can be placed on the lower layer.
  • the above step 103, according to the attribute information and the background picture, to synthesize a splash screen picture may include the following steps:
  • the background picture is placed in the first area, and the attribute information is placed in the second area to obtain the splash screen picture.
  • the electronic device may store a preset splash screen image template in advance.
  • the splash screen image template may include a first area and a second area.
  • a background image may be placed in the first area and attribute information may be placed in the second area.
  • the first region and the second region may be on the same level, or of course, they may be on different levels, for example, the first region may cover the second region.
  • the display parameter may be at least one of the following: display duration, display color, display brightness value, display color temperature value, display mode, and the like, which are not limited herein.
  • the display duration is the display time length of the splash screen image and the display color.
  • the display brightness value is the display brightness value of the splash screen picture
  • the display color temperature value is the display color temperature of the splash screen picture.
  • the display mode can be the display effect of the splash screen picture. For example, if it is looming, it appears from the right. Appears from the left, etc., and is not limited here.
  • the display parameter includes a display duration; in step 104, obtaining the display parameter may include the following steps:
  • A43 Estimate the display duration according to the memory size and the target performance parameter.
  • the above target performance parameters may include at least one of the following: CPU load, network speed of the target game, hardware configuration parameters of the electronic device, etc., which are not limited here.
  • the CPU load determines the operating status of the electronic device, and the CPU load is large. It runs slowly, the CPU load is small, it runs fast, and the network speed also affects the loading speed to a certain extent. If the network speed is fast, the target game loads fast, and if the target rate is slow, the target game loads slowly.
  • the hardware configuration parameters of the electronic device are also To some extent, it reflects the performance of electronic equipment. For example, different processors have different processing capabilities.
  • the content to be loaded is the content that needs to be loaded to start the game and enter the game interface.
  • the content to be loaded may be at least one of the following: installation package, update package, game map, etc., which is not limited herein.
  • the memory size of content to be loaded is different for different games. Therefore, after starting the target game, the electronic device can analyze the target game to obtain the memory size of the content to be loaded corresponding to the target game.
  • the electronic device can estimate the loading rate of the electronic device according to the target performance parameter.
  • the electronic device can store a mapping relationship between the loading rate and the performance parameter in advance, and then determine the corresponding target performance parameter according to the mapping relationship.
  • the loading duration of the splash screen image can be set. Within this loading duration, the user can better guide the user to enjoy the splash screen image. Avoid users focusing too much on loading the game.
  • obtaining the display parameter may include the following steps:
  • B43 Determine the target display brightness value according to the target environment brightness value and the target average brightness value.
  • the background image also has a display brightness value.
  • the background image has an impact on the screen's light efficiency.
  • Electronic devices can set ambient light sensors. Through the ambient light sensor, the target ambient brightness value of the environment can be obtained. The target ambient brightness value and the target average brightness value achieve the final target display brightness value for screen display.
  • determining the target display brightness value according to the ambient brightness value and the average brightness value may include the following steps:
  • B431. Determine a target screen display brightness value corresponding to the target environmental brightness value according to a preset mapping relationship between the ambient brightness value and the screen display brightness value.
  • B432. Determine a target fine-tuning coefficient corresponding to the target average brightness value according to a preset mapping relationship between the fine-tuning coefficient and the average brightness value;
  • B433. Determine the target display brightness value according to the target screen display brightness value and the target fine-tuning coefficient.
  • the electronic device may store a mapping relationship between a preset ambient brightness value and a screen display brightness value in advance, and then determine a target screen display brightness value corresponding to the target environment brightness value according to the mapping relationship, and the electronic device may also store a pre-stored value.
  • the preset mapping relationship between the fine-tuning coefficient and the average brightness value, and further, the target fine-tuning coefficient corresponding to the target average brightness value is determined according to the mapping relationship.
  • the value range of the fine-tuning coefficient may be between 0 and 1.
  • the target display brightness value the target screen display brightness value * the target fine-tuning coefficient, so that a display effect suitable for the environment and the background can be achieved.
  • the electronic device can display the splash screen picture according to the display parameters.
  • the display time of the splash screen image can be displayed in the splash screen image.
  • the display time can be 6 seconds, of which the default splash screen time (showing game-related information) and the operating splash screen time (displaying advertisement content time) Both are displayed for 3 seconds, and the [Skip] button in the upper right corner of the splash screen picture displays the countdown. You can skip it manually within 3 seconds, and automatically skip the splash screen after 3 seconds to enter the homepage.
  • the method may further include the following steps:
  • the preset page may be set by a user or defaulted by the system.
  • the preset page may be at least one of the following: a lobby page, a classification page, a classification list page, an H5 activity page, a background configuration page, and the like, which are not limited herein.
  • the touch parameter may be at least one of the following: touch strength for a touch splash screen image, touch area for a touch splash screen image, touch locations for a touch splash screen image, and Touch duration, touch track for touch splash screen pictures, touch fingerprint for touch splash screen pictures, and more.
  • the touch force may be a touch force for a touch splash screen image in a specified time period, or the touch force may be a touch force for a touch splash screen image at a certain position, etc. .
  • the touch area may be the touch area of a specified finger, or the touch area when the touch force is greater than a preset strength threshold; for another example, the touch duration may be a touch area where the touch area is greater than the preset area threshold. Duration, or the duration of the touch may be the duration of the touch of a designated touch location; for example, the touch location may be one or more, etc., and for example, the touch fingerprint may be a texture width, a total texture length, Fingerprint images and more.
  • the electronic device can obtain a touch parameter for the splash screen image, and generate a jump instruction according to the touch parameter.
  • the jump instruction may include a preset page, and further, jump the splash screen image to the preset page.
  • the electronic device may only display the default splash screen picture and cannot implement touch operation.
  • step C2 generating a jump instruction according to the touch parameters, may include the following steps:
  • the preset touch parameter when the touch parameter is a fingerprint image, the preset touch parameter includes a preset fingerprint template, and the preset fingerprint template includes a first feature point set;
  • Matching the touch parameter with a preset touch parameter may include the following steps:
  • the fingerprint image includes multiple fingerprint textures, and the average width of each fingerprint texture in the target fingerprint texture is in a preset range;
  • the preset range may be defaulted by the system, or set by the user. Because the width of the fingerprint texture not only varies from person to person, but also different under different touch strengths, the width of the fingerprint can be used to identify users to a certain extent, or the sharpness of the fingerprint image can be determined based on the width of the fingerprint texture. Judgment has been made, thus improving security and recognition accuracy.
  • step 105 the following steps may be further included:
  • the preset duration can be set by the user or defaulted by the system.
  • the electronic device can detect the display time of the splash screen picture. When the display time is longer than the preset time, the touch parameters for the splash screen picture can be obtained. Within the preset time, the target game can be introduced by the splash screen picture, or, After the advertisement is played, the user may be allowed to perform touch operations after a preset duration. In this way, the advertising purpose can be achieved and fast login can be achieved.
  • the display control method described in the embodiment of the present application when the electronic device starts the target game, obtains the attribute information of the target game, obtains a background picture, and synthesizes a splash screen picture based on the attribute information and the background picture to obtain display parameters.
  • the display parameter displays the splash screen image, which can be synthesized and displayed during the game startup process, thereby preventing users from seeing the loading process.
  • FIG. 2 is a schematic flowchart of an embodiment of a display control method according to an embodiment of the present application.
  • the display control method described in this embodiment includes the following steps 201-208, as follows:
  • the display control method described in the embodiment of the present application when the electronic device starts the target game, obtains the attribute information of the target game, obtains a background picture, and synthesizes a splash screen picture based on the attribute information and the background picture to obtain display parameters.
  • the display parameters show the splash screen image, get the touch parameters for the splash screen image, generate jump instructions based on the touch parameters, and jump the splash screen image to the preset page, which can be synthesized and displayed during the game startup process. , Thereby preventing users from seeing the loading process.
  • FIG. 3 is a schematic flowchart of an embodiment of a display control method according to an embodiment of the present application.
  • the display control method described in this embodiment includes the following steps 301-309, as follows:
  • the display control method described in the embodiment of the present application when the electronic device starts the target game, obtains the attribute information of the target game, obtains a background picture, and synthesizes a splash screen picture based on the attribute information and the background picture to obtain display parameters.
  • Display parameters to display the splash screen image check whether the display time of the splash screen image is longer than the preset time, and obtain the touch parameters for the splash screen image when the display time of the splash screen image is longer than the preset time, and generate a jump based on the touch parameters.
  • Instructions to jump the splash screen image to a preset page can synthesize and display the splash screen image during the game startup process, thereby preventing users from seeing the game loading process.
  • FIG. 4A is a schematic structural diagram of an embodiment of a display control device 400 according to an embodiment of the present application.
  • the display control device 400 described in this embodiment includes a startup unit 401, a first acquisition unit 402, a synthesis unit 403, a second acquisition unit 404, and a display unit 405, as follows:
  • a starting unit 401 configured to obtain attribute information of the target game when the target game is started;
  • a first obtaining unit 402 configured to obtain a background picture
  • a synthesis unit 403, configured to synthesize a splash screen picture with the background picture according to the attribute information
  • a second obtaining unit 404 configured to obtain display parameters
  • the display unit 405 is configured to display the splash screen picture according to the display parameters.
  • the display control device described in the embodiment of the present application is applied to an electronic device.
  • the target game When the target game is started, it acquires the attribute information of the target game, obtains the background picture, and synthesizes a splash screen picture based on the attribute information and the background picture to obtain the display.
  • the parameter which displays the splash screen image according to the display parameters, can synthesize and display the splash screen image during the game startup process, thereby preventing the user from seeing the loading process.
  • the first obtaining unit 402 is specifically configured to:
  • the synthesizing unit 403 is specifically configured to:
  • the splash screen image template includes a first region and a second region
  • the background picture is placed in the first area, and the attribute information is placed in the second area to obtain the splash screen picture.
  • the display parameter includes a display duration
  • the second obtaining unit 404 is specifically configured to:
  • the display parameter includes a target display brightness value
  • the second obtaining unit 404 is specifically configured to:
  • the target display brightness value is determined according to the target environment brightness value and the target average brightness value.
  • the second obtaining unit 404 is specifically configured to:
  • FIG. 4B is another modified structure of the display control device described in FIG. 4A.
  • the display control device may further include a third obtaining unit 406 and a generating unit 407.
  • jump unit 408 as follows:
  • a third obtaining unit 406, configured to obtain a touch parameter for the splash screen picture
  • a generating unit 407 configured to generate a jump instruction according to the touch parameter
  • a jump unit 408 is configured to jump the splash screen picture to a preset page.
  • the generating unit 407 is specifically configured to:
  • FIG. 4C is another modified structure of the display control device described in FIG. 4B. Compared with FIG. 4B, it may further include a detection unit 409, which is as follows:
  • a detecting unit 409 configured to detect whether a display duration of the splash screen picture is greater than a preset duration; and the third obtaining unit 406 executes the obtaining when the display duration of the splash screen picture is greater than the preset duration Steps for touch parameters of the splash screen picture.
  • each "unit” can be, for example, an integrated circuit ASIC, a single circuit, used to execute one or more software or firmware
  • the program's processor shared, dedicated, or chipset
  • memory combined logic circuits, and / or other suitable components that provide the functions described above.
  • the startup unit 401 is configured to obtain the attribute information of the target game when the target game is started.
  • the function may be implemented by the electronic device shown in FIG. 5, and may be specifically executed by the processor by calling an executable program in the memory.
  • the code when starting a target game, acquires attribute information of the target game.
  • FIG. 5 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application.
  • the electronic device includes a processor, a memory, a communication interface, and one or more programs.
  • the program or programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for performing the following steps:
  • the electronic device described in the embodiment of the present application starts the target game, it obtains the attribute information of the target game, obtains the background picture, synthesizes a splash screen picture based on the attribute information and the background picture, obtains display parameters, and displays the display parameters based on The splash screen image can synthesize and display the splash screen image during the game startup process, thereby preventing users from seeing the loading process.
  • the foregoing program includes instructions for performing the following steps:
  • the above program includes instructions for performing the following steps:
  • the splash screen image template includes a first region and a second region
  • the background picture is placed in the first area, and the attribute information is placed in the second area to obtain the splash screen picture.
  • the display parameter includes a display duration
  • the above program includes instructions for performing the following steps:
  • the display parameter includes a target display brightness value
  • the above program includes instructions for performing the following steps:
  • the target display brightness value is determined according to the target environment brightness value and the target average brightness value.
  • the above program includes instructions for performing the following steps:
  • the above program also includes instructions for performing the following steps:
  • the foregoing program includes instructions for performing the following steps:
  • the above program also includes instructions for performing the following steps:
  • the electronic device includes a hardware structure and / or a software module corresponding to each function.
  • this application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is performed by hardware or computer software-driven hardware depends on the specific application of the technical solution and design constraints. Professional technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
  • the embodiments of the present application may divide the functional units of the electronic device according to the foregoing method examples.
  • each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit.
  • the above integrated unit may be implemented in the form of hardware or in the form of software functional unit. It should be noted that the division of the units in the embodiments of the present application is schematic, and is only a logical function division. There may be another division manner in actual implementation.
  • An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a program, and when the program is executed, includes part or all of the steps of any one of the display control methods described in the foregoing method embodiments.
  • An embodiment of the present application further provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform the operations described in the foregoing method embodiments Part or all of the steps of any display control method.
  • this application may be provided as a method, an apparatus (device), or a computer program product. Therefore, this application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, this application may take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
  • the computer program is stored / distributed in a suitable medium, provided with or as part of the hardware, or in other distributed forms, such as via the Internet or other wired or wireless telecommunications systems.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a particular manner such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, the instructions
  • the device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.

Landscapes

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

Abstract

一种显示控制方法及相关产品,方法包括:启动目标游戏时,获取目标游戏的属性信息;获取背景图片;依据属性信息与背景图片合成闪屏图片;获取显示参数;依据显示参数展示闪屏图片,可避免用户看到游戏加载过程。

Description

显示控制方法及相关产品 技术领域
本申请涉及电子设备技术领域,具体涉及一种显示控制方法及相关产品。
背景技术
随着电子设备(如手机、平板电脑等)的大量普及应用,电子设备能够支持的应用越来越多,功能越来越强大,电子设备向着多样化、个性化的方向发展,成为目标对象生活中不可缺少的电子用品。
尤其是游戏,在电子设备中得到广泛应用,但在启动游戏时,往往需要加载游戏进程,在这一过程中,用户只能等待游戏进程加载完毕之后,才能实现对游戏进行操作,目前来看,尤其是网络游戏,加载时间较长,因此,用户会看到加载过程。
发明内容
本申请实施例提供了一种显示控制方法及相关产品,以期避免用户看到加载过程。
本申请实施例第一方面提供了一种显示控制方法,包括:
启动目标游戏时,获取所述目标游戏的属性信息;
获取背景图片;
依据所述属性信息与所述背景图片合成闪屏图片;
获取显示参数;
依据所述显示参数展示所述闪屏图片。
本申请实施例第二方面提供了一种显示控制装置,包括:
启动单元,用于启动目标游戏时,获取所述目标游戏的属性信息;
第一获取单元,用于获取背景图片;
合成单元,用于依据所述属性信息与所述背景图片合成闪屏图片;
第二获取单元,用于获取显示参数;
展示单元,用于依据所述显示参数展示所述闪屏图片。
第三方面,本申请实施例提供了一种电子设备,包括:处理器和存储器; 以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置成由所述处理器执行,所述程序包括用于如第一方面中所描述的部分或全部步骤的指令。
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,所述计算机可读存储介质用于存储计算机程序,其中,所述计算机程序使得计算机执行如本申请实施例第一方面中所描述的部分或全部步骤的指令。
第五方面,本申请实施例提供了一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。
可以看出,本申请实施例中所描述的显示控制方法及相关产品,电子设备启动目标游戏时,获取目标游戏的属性信息,获取背景图片,依据属性信息与背景图片合成闪屏图片,获取显示参数,依据显示参数展示闪屏图片,能够在游戏启动过程中,合成并展示闪屏图片,从而,避免用户看到加载过程。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1A是本申请实施例提供的一种显示控制方法的实施例流程示意图;
图1B是本申请实施例提供的闪屏图片的演示示意图;
图2是本申请实施例提供的一种显示控制方法的另一实施例流程示意图;
图3是本申请实施例提供的一种显示控制方法的另一实施例流程示意图;
图4A是本申请实施例提供的一种显示控制装置的实施例结构示意图;
图4B是本申请实施例提供的图4A所描述的显示控制装置的又一结构示意图;
图4C是本申请实施例提供的图4B所描述的显示控制装置的又一结构示意图;
图5是本申请实施例提供的一种电子设备的实施例结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置展示该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
本申请实施例所描述电子设备可以包括智能手机(如Android手机、iOS手机、Windows Phone手机等)、平板电脑、掌上电脑、车载设备、笔记本电脑、移动互联网设备(MID,Mobile Internet Devices)或穿戴式设备等,上述仅是举例,而非穷举,包含但不限于上述电子设备。另外,本申请实施例中,闪屏图片(闪屏图片又称启动图片,泛指应用(Application,APP)启动的画面)会伴随着游戏加载出现。通过闪屏图片,避免用户关注于游戏加载过程。
请参阅图1A,为本申请实施例提供的一种显示控制方法的实施例流程示意图。本实施例中所描述的显示控制方法,包括以下步骤101-步骤105,具体如下:
101、启动目标游戏时,获取所述目标游戏的属性信息。
其中,目标游戏可以为以下至少一种:单机游戏、网络游戏、快应用游戏等等,在此不作限定。属性信息可以为以下至少一种:设备生产商、游戏开发 商、游戏名称、游戏类型、游戏版本号、游戏简介信息、广告语、链接等等,在此不作限定。具体地,电子设备在启动目标游戏时,且尚未进入游戏主页面,可以获取目标游戏的属性信息。当然,Deeplink直接进入游戏情况,则可以不展示闪屏图片,由于能够快速进入游戏,因此,用户很难关注到加载过程,则可以不显示闪屏图片。
具体实现中,在启动游戏时,往往需要加载游戏的应用程序,加载需要一段时间,因此,倘若无闪屏图片,则用户则会等待游戏加载,倘若存在闪屏图片,则可以引导用户关注闪屏图片,减少用户对游戏加载的关注,在一定程度上,缓解用户的等待情绪。
102、获取背景图片。
其中,背景图片可以由用户自行设置,或者,系统默认,或者,目标游戏中的一张图片,当然,背景图片可以包括一张或者多张,例如,背景图片可以为一个动态图片,又例如,背景图片可以为一个多张图片拼成的合成图片。
可选地,上述步骤102,获取背景图片,可包括如下步骤:
21、在加载所述目标游戏过程中,获取所述目标游戏的登录页面;
22、将所述登录页面作为所述背景图片,所述登录页面用于指示输入登录信息。
其中,电子设备在启动游戏之后,则需要加载目标游戏的相关进程,在加载目标游戏的过程中,电子设备可以获取目标游戏的登录页面,当然,登录页面可以作为一帧图片保存在目标游戏的加载进程中,进而,可以将该登录页面作为背景,该登录页面用于指示输入登录信息,其中,登录信息可以包括以下至少一种:用户名、密码、注册窗口等等,在此不作限定,注册窗口用于引导新用户进行注册,如此,用户在加载游戏的过程中,可以快速输入登录信息,进而,能够快速进入游戏。
103、依据所述属性信息与所述背景图片合成闪屏图片。
其中,属性信息可以引导用户了解游戏内容,背景图片可以让用户欣赏图片,给用户一种视觉体验。具体实现中,电子设备可以依据属性信息与背景图片合成闪屏图片。
举例说明下,闪屏图片可以包括属性信息和背景图片,属性信息可以为:电子设备的logo以及目标游戏的应用名称,背景图片可以为默认图片,属性 信息与背景图片之间也可以存在层次关系,例如,背景图片位于最底层,属性信息位于最上层,这样的话,背景图片便不会遮挡属性信息,如图1B所示,图1B示了闪屏图片,其包括属性信息和背景图片,图中属性信息可置于上层,背景图片置于下层。
可选地,上述步骤103,依据所述属性信息与所述背景图片合成闪屏图片,可包括如下步骤:
31、获取预设的闪屏图片模板,所述闪屏图片模板包括第一区域和第二区域;
32、将所述背景图片放置于所述第一区域,所述属性信息放置于所述第二区域,得到所述闪屏图片。
其中,电子设备中可以预先存储预设的闪屏图片模板,该闪屏图片模板可以包括第一区域和第二区域,可将背景图片放置于第一区域,属性信息放置于第二区域,如此,得到闪屏图片,第一区域与第二区域可以位于同一层面,当然,也可以位于不同层面,例如,第一区域可以覆盖第二区域。
104、获取显示参数。
其中,显示参数可以为以下至少一种:显示时长、显示颜色、显示亮度值、显示色温值、显示方式等等,在此不作限定,其中,显示时长为闪屏图片的显示时间长度,显示颜色为闪屏图片的显示颜色,显示亮度值为闪屏图片的显示亮度值,显示色温值为闪屏图片的显示色温,显示方式可以为闪屏图片的显示效果,例如,若隐若现,从右边出现,从左边出现,等等,在此不作限定。
可选地,在所述显示参数包括显示时长时;上述步骤104,获取显示参数,可包括如下步骤:
A41、获取所述目标游戏对应的目标性能参数;
A42、获取所述目标游戏对应的待加载内容的内存大小;
A43、依据所述内存大小、所述目标性能参数估计所述显示时长。
其中,上述目标性能参数可以包括以下至少一种:CPU负荷、目标游戏的网络速率、电子设备的硬件配置参数等等,在此不作限定,CPU负荷决定了电子设备的运行状况,CPU负荷大,则运行慢,CPU负荷小,则运行快,网络速率也在一定程度上影响加载速度,网络速率快,则目标游戏加载快,目标速率慢,则目标游戏加载慢,电子设备的硬件配置参数也在一定程度上反映 了电子设备的性能,例如,不同的处理器,其处理能力也不一样。另外,待加载内容为启动游戏,进入游戏界面需要加载的内容,待加载内容可以为以下至少一种:安装包、更新包、游戏地图等等,在此不作限定。具体实现中,不同的游戏,其待加载内容的内存大小不一样,因此,电子设备可以在启动目标游戏之后,对目标游戏进行解析,得到目标游戏对应的待加载内容的内存大小。
具体实现中,电子设备可以依据目标性能参数预估电子设备的加载速率,例如,电子设备中可以预先存储加载速率与性能参数之间的映射关系,进而,依据该映射关系确定目标性能参数对应的目标加载速率,最终,显示时长>=内存大小/目标加载速率,如此,可以得到显示时长,进而,设置闪屏图片的加载时长,在该加载时长内,可以更好引导用户欣赏闪屏图片,避免用户过多专注于加载游戏过程。
可选地,在所述显示参数包括目标显示亮度值时;上述步骤104,获取显示参数,可包括如下步骤:
B41、获取所述背景图片的目标平均亮度值;
B42、获取目标环境亮度值;
B43、依据所述目标环境亮度值、所述目标平均亮度值确定所述目标显示亮度值。
其中,背景图片也存在显示亮度值,背景图片在一定程度上,对屏幕的光效有影响,电子设备可以设置环境光传感器,通过环境光传感器,可以获取环境的目标环境亮度值,进而,依据目标环境亮度值、目标平均亮度值实现最终的用于屏幕显示的目标显示亮度值。
可选地,上述步骤B43,依据所述环境亮度值、所述平均亮度值确定所述目标显示亮度值,可包括如下步骤:
B431、按照预设的环境亮度值与屏幕显示亮度值之间的映射关系,确定所述目标环境亮度值对应的目标屏幕显示亮度值;
B432、按照预设的微调系数与平均亮度值之间的映射关系,确定所述目标平均亮度值对应的目标微调系数;
B433、依据所述目标屏幕显示亮度值、所述目标微调系数确定所述目标显示亮度值。
其中,电子设备中可以预先存储预设的环境亮度值与屏幕显示亮度值之间 的映射关系,进而依据该映射关系确定目标环境亮度值对应的目标屏幕显示亮度值,电子设备中还可以预先存储预设的微调系数与平均亮度值之间的映射关系,进而,依据该映射关系确定目标平均亮度值对应的目标微调系数,本申请实施例中,微调系数的取值范围可以在0~1之间,目标显示亮度值=目标屏幕显示亮度值*目标微调系数,如此,可以实现与环境以及背景相宜的显示效果。
105、依据所述显示参数展示所述闪屏图片。
其中,电子设备在确定了闪屏图片的显示参数之后,可以依据该显示参数展示闪屏图片。具体实现中,可以在闪屏图片中展示闪屏图片的显示时间,例如,显示时间可以为6秒,其中,默认闪屏时间(展示游戏相关信息)和运营闪屏时间(展示广告内容时间)都展示3秒,闪屏图片的右上角展示【跳过】按钮展示倒计时,3秒内可以手动跳过,3秒后自动跳过闪屏进入首页。
可选地,上述步骤105之后,还可以包括如下步骤:
C1、获取针对所述闪屏图片的触控参数;
C2、依据所述触控参数生成跳转指令;
C3、将所述闪屏图片跳转置预设页面。
其中,上述预设页面可以由用户自行设置或者系统默认,预设页面可以为以下至少一种:大厅页面、分类页面、分类列表页面、H5活动页、后台配置页面等等,在此不作限定。触控参数可以为以下至少一种:针对触控闪屏图片的触控力度、针对触控闪屏图片的触控面积、针对触控闪屏图片的触控部位、针对触控闪屏图片的触控时长、针对触控闪屏图片的触控轨迹、针对触控闪屏图片的触控指纹等等。以触控力度为例,触控力度可为针对触控闪屏图片在指定时间段的触控力度,或者,触控力度可为针对触控闪屏图片在某个位置的触控力度等等。又例如,触控面积可为指定手指的触控面积,或者,触控力度大于预设力度阈值时的触控面积;又例如,触控时长可以为触控面积大于预设面积阈值的触控时长,或者,触控时长可以为触控指定触控部位的触控时长;又例如,触控部位可以为一个或者多个等等,又例如,触控指纹可以为纹路宽度、纹路总长度、指纹图像等等。具体实现中,电子设备可以获取针对闪屏图片的触控参数,依据该触控参数生成跳转指令,该跳转指令可以包含预设页面,进而,将闪屏图片跳转到预设页面。
可选地,在闪屏图片中跳转链接没有正常下发的情况,电子设备可只展示 默认闪屏图片,且无法实现触控操作。
可选地,上述步骤C2,依据所述触控参数生成跳转指令,可包括如下步骤:
将所述触控参数与预设触控参数进行匹配,在所述触控参数与所述预设触控参数匹配成功时,生成与所述预设触控参数对应的跳转指令;
进一步地,在触控参数为指纹图像时,所述预设触控参数包括预设指纹模板,所述预设指纹模板包括第一特征点集;
所述将所述触控参数与预设触控参数进行匹配,可包括如下步骤:
C21、对所述指纹图像进行纹路筛选,得到多条目标指纹纹路,所述指纹图像包含多条指纹纹路,所述目标指纹纹路中每一指纹纹路的平均宽度处于预设范围;
C22、对所述多条目标指纹纹路进行特征点提取,得到第二特征点集,所述第二特征点集包括多个特征点;
C23、将所述第二特征点集与所述第一特征点集进行匹配,并在所述第二特征点集与所述第一特征点集匹配成功时,确定所述触控参数与所述预设触控参数匹配成功。
其中,上述预设范围可以由系统默认,或者,用户自行设置。由于指纹纹路宽度不仅因人而异,而且不同的触控力度下,纹路宽度也不一样,因此,在一定程度上可以采用纹路宽度鉴别用户,或者,依据指纹纹路宽度对指纹图像的清晰度做出判定,如此,提升了安全性以及识别精度。
可选地,上述步骤105与C1之间,还可以包括如下步骤:
D1、检测所述闪屏图片的展示时长是否大于预设时长;
D2、在所述闪屏图片的展示时长大于所述预设时长时,执行所述获取针对所述闪屏图片的触控参数的步骤。
其中,上述预设时长可以由用户自行设置或者系统默认。电子设备可以检测闪屏图片的展示时长,在该展示时长大于预设时长时,可以获取针对闪屏图片的触控参数,在预设时长内,可以通过闪屏图片介绍目标游戏,或者,可以播放广告,在预设时长后,则可以允许用户进行触控操作,这样的话,即可以达到广告目的,又可以实现快速登录。
可以看出,本申请实施例中所描述的显示控制方法,电子设备启动目标游 戏时,获取目标游戏的属性信息,获取背景图片,依据属性信息与背景图片合成闪屏图片,获取显示参数,依据显示参数展示闪屏图片,能够在游戏启动过程中,合成并展示闪屏图片,从而,避免用户看到加载过程。
与上述一致地,请参阅图2,为本申请实施例提供的一种显示控制方法的实施例流程示意图。本实施例中所描述的显示控制方法,包括以下步骤201-208,具体如下:
201、启动目标游戏时,获取所述目标游戏的属性信息。
202、获取背景图片。
203、依据所述属性信息与所述背景图片合成闪屏图片。
204、获取显示参数。
205、依据所述显示参数展示所述闪屏图片。
206、获取针对所述闪屏图片的触控参数。
207、依据所述触控参数生成跳转指令。
208、将所述闪屏图片跳转置预设页面。
其中,上述步骤201-步骤208的具体描述可以参照上述图1A所描述的显示控制方法的相应步骤,在此不再赘述。
可以看出,本申请实施例中所描述的显示控制方法,电子设备启动目标游戏时,获取目标游戏的属性信息,获取背景图片,依据属性信息与背景图片合成闪屏图片,获取显示参数,依据显示参数展示闪屏图片,获取针对闪屏图片的触控参数,依据触控参数生成跳转指令,将闪屏图片跳转置预设页面,能够在游戏启动过程中,合成并展示闪屏图片,从而,避免用户看到加载过程。
与上述一致地,请参阅图3,为本申请实施例提供的一种显示控制方法的实施例流程示意图。本实施例中所描述的显示控制方法,包括以下步骤301-309,具体如下:
301、启动目标游戏时,获取所述目标游戏的属性信息。
302、获取背景图片。
303、依据所述属性信息与所述背景图片合成闪屏图片。
304、获取显示参数。
305、依据所述显示参数展示所述闪屏图片。
306、检测所述闪屏图片的展示时长是否大于预设时长。
307、在所述闪屏图片的展示时长大于所述预设时长时,获取针对所述闪屏图片的触控参数。
308、依据所述触控参数生成跳转指令。
309、将所述闪屏图片跳转置预设页面。
其中,上述步骤301-步骤309的具体描述可以参照上述图1A所描述的显示控制方法的相应步骤,在此不再赘述。
可以看出,本申请实施例中所描述的显示控制方法,电子设备启动目标游戏时,获取目标游戏的属性信息,获取背景图片,依据属性信息与背景图片合成闪屏图片,获取显示参数,依据显示参数展示闪屏图片,检测闪屏图片的展示时长是否大于预设时长,在闪屏图片的展示时长大于预设时长时,获取针对闪屏图片的触控参数,依据触控参数生成跳转指令,将闪屏图片跳转置预设页面能够在游戏启动过程中,合成并展示闪屏图片,从而,避免用户看到游戏加载过程。
与上述一致地,以下为实施上述显示控制方法的装置,具体如下:
请参阅图4A,为本申请实施例提供的一种显示控制装置400的实施例结构示意图。本实施例中所描述的显示控制装置400,包括:启动单元401、第一获取单元402、合成单元403、第二获取单元404和展示单元405,具体如下:
启动单元401,用于启动目标游戏时,获取所述目标游戏的属性信息;
第一获取单元402,用于获取背景图片;
合成单元403,用于依据所述属性信息与所述背景图片合成闪屏图片;
第二获取单元404,用于获取显示参数;
展示单元405,用于依据所述显示参数展示所述闪屏图片。
可以看出,本申请实施例中所描述的显示控制装置,应用于电子设备,启动目标游戏时,获取目标游戏的属性信息,获取背景图片,依据属性信息与背景图片合成闪屏图片,获取显示参数,依据显示参数展示闪屏图片,能够在游戏启动过程中,合成并展示闪屏图片,从而,避免用户看到加载过程。
在一个可能的示例中,在所述获取背景图片方面,所述第一获取单元402具体用于:
在加载所述目标游戏过程中,获取所述目标游戏的登录页面;
将所述登录页面作为所述背景图片,所述登录页面用于指示输入登录信息。
在一个可能的示例中,在所述依据所述属性信息与所述背景图片合成闪屏图片方面,所述合成单元403具体用于:
获取预设的闪屏图片模板,所述闪屏图片模板包括第一区域和第二区域;
将所述背景图片放置于所述第一区域,所述属性信息放置于所述第二区域,得到所述闪屏图片。
在一个可能的示例中,在所述显示参数包括显示时长时;
在所述获取显示参数方面,所述第二获取单元404具体用于:
获取所述目标游戏对应的目标性能参数;
获取所述目标游戏对应的待加载内容的内存大小;
依据所述内存大小、所述目标性能参数估计所述显示时长。
在一个可能的示例中,在所述显示参数包括目标显示亮度值时;
在所述获取显示参数方面,所述第二获取单元404具体用于:
获取所述背景图片的目标平均亮度值;
获取目标环境亮度值;
依据所述目标环境亮度值、所述目标平均亮度值确定所述目标显示亮度值。
在一个可能的示例中,在所述依据所述环境亮度值、所述平均亮度值确定所述目标显示亮度值方面,所述第二获取单元404具体用于:
按照预设的环境亮度值与屏幕显示亮度值之间的映射关系,确定所述目标环境亮度值对应的目标屏幕显示亮度值;
按照预设的微调系数与平均亮度值之间的映射关系,确定所述目标平均亮度值对应的目标微调系数;
依据所述目标屏幕显示亮度值、所述目标微调系数确定所述目标显示亮度值。
在一个可能的示例中,如图4B所示,图4B为图4A所描述的显示控制装 置的又一变型结构,其与图4A相比较,还可以包括:第三获取单元406、生成单元407和跳转单元408,具体如下:
第三获取单元406,用于获取针对所述闪屏图片的触控参数;
生成单元407,用于依据所述触控参数生成跳转指令;
跳转单元408,用于将所述闪屏图片跳转置预设页面。
在一个可能的示例中,在所述依据所述触控参数生成跳转指令方面,所述生成单元407具体用于:
将所述触控参数与预设触控参数进行匹配;
在所述触控参数与所述预设触控参数匹配成功时,生成与所述预设触控参数对应的跳转指令。
在一个可能的示例中,如图4C所示,图4C为图4B所描述的显示控制装置的又一变型结构,其与图4B相比较,还可包括:检测单元409,具体如下:
检测单元409,用于检测所述闪屏图片的展示时长是否大于预设时长;由所述第三获取单元406在所述闪屏图片的展示时长大于所述预设时长时,执行所述获取针对所述闪屏图片的触控参数的步骤。
需要注意的是,本申请装置实施例所描述的显示控制装置是以功能单元的形式呈现。这里所使用的术语“单元”应当理解为尽可能最宽的含义,用于实现各个“单元”所描述功能的对象例如可以是集成电路ASIC,单个电路,用于执行一个或多个软件或固件程序的处理器(共享的、专用的或芯片组)和存储器,组合逻辑电路,和/或提供实现上述功能的其他合适的组件。
举例来说,启动单元401,用于启动目标游戏时,获取所述目标游戏的属性信息的功能可以由图5所示的电子设备来实现,具体可以通过处理器通过调用存储器中的可执行程序代码,启动目标游戏时,获取所述目标游戏的属性信息。
请参阅图5,图5是本申请实施例公开的一种电子设备的结构示意图,如图所示,该电子设备包括处理器、存储器、通信接口,以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行以下步骤的指令:
启动目标游戏时,获取所述目标游戏的属性信息;
获取背景图片;
依据所述属性信息与所述背景图片合成闪屏图片;
获取显示参数;
依据所述显示参数展示所述闪屏图片。
可以看出,本申请实施例中所描述的电子设备,启动目标游戏时,获取目标游戏的属性信息,获取背景图片,依据属性信息与背景图片合成闪屏图片,获取显示参数,依据显示参数展示闪屏图片,能够在游戏启动过程中,合成并展示闪屏图片,从而,避免用户看到加载过程。
在一个可能的示例中,在所述获取背景图片方面,上述程序包括用于执行以下步骤的指令:
在加载所述目标游戏过程中,获取所述目标游戏的登录页面;
将所述登录页面作为所述背景图片,所述登录页面用于指示输入登录信息。
在一个可能的示例中,在所述依据所述属性信息与所述背景图片合成闪屏图片方面,上述程序包括用于执行以下步骤的指令:
获取预设的闪屏图片模板,所述闪屏图片模板包括第一区域和第二区域;
将所述背景图片放置于所述第一区域,所述属性信息放置于所述第二区域,得到所述闪屏图片。
在一个可能的示例中,在所述显示参数包括显示时长时;
在所述获取显示参数方面,上述程序包括用于执行以下步骤的指令:
获取所述目标游戏对应的目标性能参数;
获取所述目标游戏对应的待加载内容的内存大小;
依据所述内存大小、所述目标性能参数估计所述显示时长。
在一个可能的示例中,在所述显示参数包括目标显示亮度值时;
在所述获取显示参数方面,上述程序包括用于执行以下步骤的指令:
获取所述背景图片的目标平均亮度值;
获取目标环境亮度值;
依据所述目标环境亮度值、所述目标平均亮度值确定所述目标显示亮度值。
在一个可能的示例中,在所述依据所述环境亮度值、所述平均亮度值确定 所述目标显示亮度值方面,上述程序包括用于执行以下步骤的指令:
按照预设的环境亮度值与屏幕显示亮度值之间的映射关系,确定所述目标环境亮度值对应的目标屏幕显示亮度值;
按照预设的微调系数与平均亮度值之间的映射关系,确定所述目标平均亮度值对应的目标微调系数;
依据所述目标屏幕显示亮度值、所述目标微调系数确定所述目标显示亮度值。
在一个可能的示例中,上述程序还包括用于执行以下步骤的指令:
获取针对所述闪屏图片的触控参数;
依据所述触控参数生成跳转指令;
将所述闪屏图片跳转置预设页面。
在一个可能的示例中,在所述依据所述触控参数生成跳转指令方面,上述程序包括用于执行以下步骤的指令:
将所述触控参数与预设触控参数进行匹配;
在所述触控参数与所述预设触控参数匹配成功时,生成与所述预设触控参数对应的跳转指令。
在一个可能的示例中,上述程序还包括用于执行以下步骤的指令:
检测所述闪屏图片的展示时长是否大于预设时长;
在所述闪屏图片的展示时长大于所述预设时长时,执行所述获取针对所述闪屏图片的触控参数的步骤。
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据上述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集 成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种显示控制方法的部分或全部步骤。
本申请实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中记载的任何一种显示控制方法的部分或全部步骤。
尽管在此结合各实施例对本申请进行了描述,然而,在实施所要求保护的本申请过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。
本领域技术人员应明白,本申请的实施例可提供为方法、装置(设备)、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。计算机程序存储/分布在合适的介质中,与其它硬件一起提供或作为硬件的一部分,也可以采用其他分布形式,如通过Internet或其它有线或无线电信系统。
本申请是参照本申请实施例的方法、装置(设备)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多 个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (20)

  1. 一种显示控制方法,其特征在于,应用于电子设备,包括:
    启动目标游戏时,获取所述目标游戏的属性信息;
    获取背景图片;
    依据所述属性信息与所述背景图片合成闪屏图片;
    获取显示参数;
    依据所述显示参数展示所述闪屏图片。
  2. 根据权利要求1所述的方法,其特征在于,所述获取背景图片,包括:
    在加载所述目标游戏过程中,获取所述目标游戏的登录页面;
    将所述登录页面作为所述背景图片,所述登录页面用于指示输入登录信息。
  3. 根据权利要求1或2所述的方法,其特征在于,所述依据所述属性信息与所述背景图片合成闪屏图片,包括:
    获取预设的闪屏图片模板,所述闪屏图片模板包括第一区域和第二区域;
    将所述背景图片放置于所述第一区域,所述属性信息放置于所述第二区域,得到所述闪屏图片。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,在所述显示参数包括显示时长时;
    所述获取显示参数,包括:
    获取所述目标游戏对应的目标性能参数;
    获取所述目标游戏对应的待加载内容的内存大小;
    依据所述内存大小、所述目标性能参数估计所述显示时长。
  5. 根据权利要求1-3任一项所述的方法,其特征在于,在所述显示参数包括目标显示亮度值时;
    所述获取显示参数,包括:
    获取所述背景图片的目标平均亮度值;
    获取目标环境亮度值;
    依据所述目标环境亮度值、所述目标平均亮度值确定所述目标显示亮度值。
  6. 根据权利要求5所述的方法,其特征在于,所述依据所述环境亮度值、所述平均亮度值确定所述目标显示亮度值,包括:
    按照预设的环境亮度值与屏幕显示亮度值之间的映射关系,确定所述目标环境亮度值对应的目标屏幕显示亮度值;
    按照预设的微调系数与平均亮度值之间的映射关系,确定所述目标平均亮度值对应的目标微调系数;
    依据所述目标屏幕显示亮度值、所述目标微调系数确定所述目标显示亮度值。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述方法还包括:
    获取针对所述闪屏图片的触控参数;
    依据所述触控参数生成跳转指令;
    将所述闪屏图片跳转置预设页面。
  8. 根据权利要求7所述的方法,其特征在于,所述依据所述触控参数生成跳转指令,包括:
    将所述触控参数与预设触控参数进行匹配;
    在所述触控参数与所述预设触控参数匹配成功时,生成与所述预设触控参数对应的跳转指令。
  9. 根据权利要求7或8所述的方法,其特征在于,所述方法还包括:
    检测所述闪屏图片的展示时长是否大于预设时长;
    在所述闪屏图片的展示时长大于所述预设时长时,执行所述获取针对所述闪屏图片的触控参数的步骤。
  10. 一种显示控制装置,其特征在于,应用于电子设备,包括:
    启动单元,用于启动目标游戏时,获取所述目标游戏的属性信息;
    第一获取单元,用于获取背景图片;
    合成单元,用于依据所述属性信息与所述背景图片合成闪屏图片;
    第二获取单元,用于获取显示参数;
    展示单元,用于依据所述显示参数展示所述闪屏图片。
  11. 根据权利要求10所述的装置,其特征在于,在所述获取背景图片方面,所述第一获取单元具体用于:
    在加载所述目标游戏过程中,获取所述目标游戏的登录页面;
    将所述登录页面作为所述背景图片,所述登录页面用于指示输入登录信息。
  12. 根据权利要求10或11所述的装置,其特征在于,在所述依据所述属性信息与所述背景图片合成闪屏图片方面,所述合成单元具体用于:
    获取预设的闪屏图片模板,所述闪屏图片模板包括第一区域和第二区域;
    将所述背景图片放置于所述第一区域,所述属性信息放置于所述第二区域,得到所述闪屏图片。
  13. 根据权利要求10-12任一项所述的装置,其特征在于,在所述显示参数包括显示时长时;
    在所述获取显示参数方面,所述第二获取单元具体用于:
    获取所述目标游戏对应的目标性能参数;
    获取所述目标游戏对应的待加载内容的内存大小;
    依据所述内存大小、所述目标性能参数估计所述显示时长。
  14. 根据权利要求10-12任一项所述的装置,其特征在于,在所述显示参数包括目标显示亮度值时;
    在所述获取显示参数方面,所述第二获取单元具体用于:
    获取所述背景图片的目标平均亮度值;
    获取目标环境亮度值;
    依据所述目标环境亮度值、所述目标平均亮度值确定所述目标显示亮度值。
  15. 根据权利要求14所述的装置,其特征在于,在所述依据所述环境亮度值、所述平均亮度值确定所述目标显示亮度值方面,所述第二获取单元具体用于:
    按照预设的环境亮度值与屏幕显示亮度值之间的映射关系,确定所述目标环境亮度值对应的目标屏幕显示亮度值;
    按照预设的微调系数与平均亮度值之间的映射关系,确定所述目标平均亮度值对应的目标微调系数;
    依据所述目标屏幕显示亮度值、所述目标微调系数确定所述目标显示亮度值。
  16. 根据权利要求10-15任一项所述的装置,其特征在于,所述装置还包 括:
    第三获取单元,用于获取针对所述闪屏图片的触控参数;
    生成单元,用于依据所述触控参数生成跳转指令;
    跳转单元,用于将所述闪屏图片跳转置预设页面。
  17. 根据权利要求16所述的装置,其特征在于,在所述依据所述触控参数生成跳转指令方面,所述生成单元具体用于:
    将所述触控参数与预设触控参数进行匹配;
    在所述触控参数与所述预设触控参数匹配成功时,生成与所述预设触控参数对应的跳转指令。
  18. 一种电子设备,其特征在于,包括:
    处理器和存储器;其中,所述处理器通过调用所述存储器中的代码或指令以执行如权利要求1至9任意一项所述的方法。
  19. 一种计算机存储介质,其特征在于,其用于存储计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-9任一项所述的方法。
  20. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如权利要求1-9任一项所述的方法。
PCT/CN2018/105750 2018-09-14 2018-09-14 显示控制方法及相关产品 WO2020051884A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/105750 WO2020051884A1 (zh) 2018-09-14 2018-09-14 显示控制方法及相关产品
CN201880095040.5A CN112385199B (zh) 2018-09-14 2018-09-14 显示控制方法及相关产品

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/105750 WO2020051884A1 (zh) 2018-09-14 2018-09-14 显示控制方法及相关产品

Publications (1)

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

Family

ID=69776829

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/105750 WO2020051884A1 (zh) 2018-09-14 2018-09-14 显示控制方法及相关产品

Country Status (2)

Country Link
CN (1) CN112385199B (zh)
WO (1) WO2020051884A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112839259A (zh) * 2020-12-31 2021-05-25 深圳创维-Rgb电子有限公司 屏幕显示方法、终端和计算机可读存储介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114100117B (zh) * 2021-11-30 2023-07-25 腾讯科技(深圳)有限公司 游戏加载方法、装置、计算机设备及存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780722A (zh) * 2011-05-11 2012-11-14 北京磊友信息科技有限公司 向移动终端提供应用程序的方法和服务器
CN203260032U (zh) * 2012-07-31 2013-10-30 北京天神互动科技有限公司 一种网页资源数据实时加载系统
CN103390053A (zh) * 2013-07-26 2013-11-13 贝壳网际(北京)安全技术有限公司 浏览器的页面切换控制方法、装置和客户端
US9146722B2 (en) * 2008-04-16 2015-09-29 International Business Machines Corporation Reinstalling a computer based on frequency of application utilization
WO2015171240A1 (en) * 2014-05-07 2015-11-12 Sandisk Technologies Inc. Method and computing device for using both volatile memory and non-volatile swap memory to pre-load a plurality of applications
CN105677897A (zh) * 2016-02-03 2016-06-15 北京金山安全软件有限公司 一种登录方法、装置及电子设备
CN108196914A (zh) * 2018-01-31 2018-06-22 深圳天珑无线科技有限公司 电子设备及其后台自动运行应用的方法、存储装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103260032B (zh) * 2013-04-18 2016-07-06 清华大学深圳研究生院 一种立体视频深度图序列的帧率提升方法

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9146722B2 (en) * 2008-04-16 2015-09-29 International Business Machines Corporation Reinstalling a computer based on frequency of application utilization
CN102780722A (zh) * 2011-05-11 2012-11-14 北京磊友信息科技有限公司 向移动终端提供应用程序的方法和服务器
CN203260032U (zh) * 2012-07-31 2013-10-30 北京天神互动科技有限公司 一种网页资源数据实时加载系统
CN103390053A (zh) * 2013-07-26 2013-11-13 贝壳网际(北京)安全技术有限公司 浏览器的页面切换控制方法、装置和客户端
WO2015171240A1 (en) * 2014-05-07 2015-11-12 Sandisk Technologies Inc. Method and computing device for using both volatile memory and non-volatile swap memory to pre-load a plurality of applications
CN105677897A (zh) * 2016-02-03 2016-06-15 北京金山安全软件有限公司 一种登录方法、装置及电子设备
CN108196914A (zh) * 2018-01-31 2018-06-22 深圳天珑无线科技有限公司 电子设备及其后台自动运行应用的方法、存储装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112839259A (zh) * 2020-12-31 2021-05-25 深圳创维-Rgb电子有限公司 屏幕显示方法、终端和计算机可读存储介质

Also Published As

Publication number Publication date
CN112385199A (zh) 2021-02-19
CN112385199B (zh) 2022-11-04

Similar Documents

Publication Publication Date Title
CN107357540B (zh) 一种显示方向的调整方法及移动终端
CN108492363B (zh) 基于增强现实的结合方法、装置、存储介质及电子设备
US20170255767A1 (en) Identity Authentication Method, Identity Authentication Device, And Terminal
KR102077198B1 (ko) 얼굴 검증 방법 및 전자 디바이스
CN108416825A (zh) 动态图的生成装置、方法及计算机可读存储介质
CN109316747B (zh) 游戏辅助信息提示方法、装置及电子设备
CN107330859B (zh) 一种图像处理方法、装置、存储介质及终端
CN111767554B (zh) 屏幕分享方法、装置、存储介质及电子设备
US10878070B2 (en) Method of controlling a terminal based on motion of the terminal, terminal therefore, and storage medium
US20140354540A1 (en) Systems and methods for gesture recognition
US9105132B2 (en) Real time three-dimensional menu/icon shading
CN108176049B (zh) 一种信息提示方法、装置、终端和计算机可读存储介质
KR102206060B1 (ko) 전자 장치의 효과 디스플레이 방법 및 그 전자 장치
CN108984089B (zh) 触控操作方法、装置、存储介质及电子设备
TW201604719A (zh) 智能設備的控制方法及裝置
WO2018233716A1 (zh) 终端隐私保护方法、终端及计算机可读存储介质
WO2020051884A1 (zh) 显示控制方法及相关产品
CN106502614B (zh) 一种字体调节方法及移动终端
CN109166164B (zh) 一种表情图片的生成方法及终端
CN111125433A (zh) 一种弹窗管理方法、装置、电子设备及可读存储介质
US10872455B2 (en) Method and portable electronic device for changing graphics processing resolution according to scenario
CN113570609A (zh) 图像展示方法、装置及电子设备
CN106778131B (zh) 一种隐藏信息的显示方法、装置及终端
CN112422817A (zh) 图像处理方法及装置
US20230325208A1 (en) Screen Window Redrawing Method, Electronic Device, and Computer-Readable Storage Medium

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 06/08/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18933638

Country of ref document: EP

Kind code of ref document: A1