CN112385199B - Display control method and related product - Google Patents

Display control method and related product Download PDF

Info

Publication number
CN112385199B
CN112385199B CN201880095040.5A CN201880095040A CN112385199B CN 112385199 B CN112385199 B CN 112385199B CN 201880095040 A CN201880095040 A CN 201880095040A CN 112385199 B CN112385199 B CN 112385199B
Authority
CN
China
Prior art keywords
target
display
acquiring
brightness value
picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201880095040.5A
Other languages
Chinese (zh)
Other versions
CN112385199A (en
Inventor
李森林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN112385199A publication Critical patent/CN112385199A/en
Application granted granted Critical
Publication of CN112385199B publication Critical patent/CN112385199B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

A display control method and related products, the method comprising: when starting a target game, acquiring attribute information of the target game; acquiring a background picture; synthesizing a splash screen picture with the background picture according to the attribute information; acquiring display parameters; the splash screen picture is displayed according to the display parameters, so that the user can be prevented from seeing the game loading process.

Description

Display control method and related product
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a display control method and a related product.
Background
With the widespread use of electronic devices (such as mobile phones, tablet computers, and the like), the electronic devices have more and more applications and more powerful functions, and the electronic devices are developed towards diversification and personalization, and become indispensable electronic products in the life of target objects.
Especially, games are widely used in electronic devices, but when a game is started, a game process is often required to be loaded, in the process, a user can operate the game only after the game process is loaded, and currently, especially, network games are loaded for a long time, so that the user can see the loading process.
Disclosure of Invention
The embodiment of the application provides a display control method and a related product, so as to prevent a user from seeing a loading process.
A first aspect of an embodiment of the present application provides a display control method, including:
when a target game is started, acquiring attribute information of the target game;
acquiring a background picture;
synthesizing a splash screen picture with the background picture according to the attribute information;
acquiring display parameters;
and displaying the splash screen picture according to the display parameters.
A second aspect of the embodiments of the present application provides a display control apparatus, including:
the starting unit is used for acquiring the attribute information of the target game when the target game is started;
a first acquisition unit configured to acquire a background picture;
the synthesis unit is used for synthesizing a splash screen picture with the background picture according to the attribute information;
a second obtaining unit for obtaining the display parameter;
and the display unit is used for displaying the splash screen picture according to the display parameters.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory; and one or more programs stored in the memory and configured to be executed by the processor, the programs including instructions for some or all of the steps as described in the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, where the computer program is used to make a computer execute some or all of the steps described in the first aspect of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to perform some or all of the steps as described in the first aspect of embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, according to the display control method and the related product described in the embodiments of the present application, when the electronic device starts a target game, the electronic device obtains attribute information of the target game, obtains a background picture, synthesizes a splash screen picture with the background picture according to the attribute information, obtains display parameters, displays the splash screen picture according to the display parameters, and can synthesize and display the splash screen picture in a game starting process, thereby preventing a user from seeing a loading process.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1A is a schematic flowchart of an embodiment of a display control method according to an embodiment of the present disclosure;
FIG. 1B is a schematic diagram illustrating a splash screen image 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 disclosure;
fig. 3 is a schematic flowchart of another embodiment of a display control method according to an embodiment of the present disclosure;
fig. 4A is a schematic structural diagram of an embodiment of a display control apparatus according to an embodiment of the present disclosure;
FIG. 4B is a schematic diagram of another structure of the display control apparatus depicted in FIG. 4A according to an embodiment of the present disclosure;
FIG. 4C is a schematic diagram of another structure of the display control apparatus depicted in FIG. 4B according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an embodiment of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different elements and not for describing a particular sequential order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic device described in the embodiment of the present application may include a smart Phone (e.g., an Android Phone, an iOS Phone, a Windows Phone, etc.), a tablet computer, a palm computer, a vehicle-mounted device, a notebook computer, a Mobile Internet device (MID, mobile Internet Devices), or a wearable device, which are merely examples and are not exhaustive, and include but are not limited to the electronic Devices. In addition, in the embodiment of the present Application, a splash screen picture (also called a start picture, which refers to a picture started by an Application (APP)) appears along with game loading. By flashing the picture, the user is prevented from being concerned with the game loading process.
Please refer to fig. 1A, which is a flowchart illustrating an embodiment of a display control method according to an embodiment of the present disclosure. The display control method described in this embodiment includes the following steps 101 to 105, specifically:
101. and when the target game is started, acquiring the attribute information of the target game.
Wherein the target game may be at least one of: stand-alone games, network games, fast-application games, etc., without limitation thereto. The attribute information may be at least one of: device manufacturer, game developer, game name, game type, game version number, game profile information, advertising banners, links, etc., without limitation. Specifically, when the electronic device starts the target game and does not enter the game main page yet, the electronic device may acquire the attribute information of the target game. Certainly, in the case that the Deeplink directly enters the game, the splash screen picture is not displayed, and the user hardly pays attention to the loading process because the game can be rapidly entered, and the splash screen picture is not displayed.
In specific implementation, when a game is started, application programs of the game are often required to be loaded, and a period of time is required for loading, so that a user can wait for the game to be loaded if no splash screen picture exists, and the user can be guided to pay attention to the splash screen picture if the splash screen picture exists, so that the attention of the user to the game loading is reduced, and the waiting emotion of the user is relieved to a certain extent.
102. And acquiring a background picture.
The background picture may be set by the user, or default by the system, or one picture in the target game, and of course, the background picture may include one or more pictures, for example, the background picture may be a dynamic picture, and for example, the background picture may be a composite picture formed by splicing multiple pictures.
Optionally, the step 102 of obtaining the background picture may include the following steps:
21. acquiring a login page of the target game in the process of loading the target game;
22. and taking the login page as the background picture, wherein the login page is used for indicating to input login information.
After the electronic device starts the game, it needs to load a related process of the target game, and in the process of loading the target game, the electronic device may obtain a login page of the target game, and certainly, the login page may be stored as a frame of picture in the loading process of the target game, and further, the login page may be used as a background, and the login page is used to indicate to input login information, where the login information may include at least one of: the user name, the password, the registration window and the like, which are not limited herein, the registration window is used for guiding a new user to register, so that the user can quickly input login information in the process of loading the game, and further, the game can be quickly entered.
103. And synthesizing a splash screen picture with the background picture according to the attribute information.
The attribute information can guide the user to know the game content, and the background picture can enable the user to enjoy the picture, so that the user can have visual experience. In specific implementation, the electronic device may synthesize a splash-screen picture with the background picture according to the attribute information.
For example, the splash screen picture may include attribute information and a background picture, where the attribute information may be: the logo of the electronic device and the application name of the target game, the background picture may be a default picture, and a hierarchical relationship may exist between the attribute information and the background picture, for example, the background picture is located at the bottommost layer, and the attribute information is located at the topmost layer, so that the background picture does not block the attribute information, as shown in fig. 1B, fig. 1B shows a splash screen picture, which includes the attribute information and the background picture, the attribute information in the picture may be located at an upper layer, and the background picture is located at a lower layer.
Optionally, in the step 103, synthesizing a splash-screen picture with the background picture according to the attribute information may include the following steps:
31. acquiring a preset splash screen picture template, wherein the splash screen picture template comprises a first area and a second area;
32. and placing the background picture in the first area, and placing the attribute information in the second area to obtain the splash screen picture.
The electronic device may pre-store a preset splash screen picture template, the splash screen picture template may include a first region and a second region, the background picture may be placed in the first region, and the attribute information may be placed in the second region, so as to obtain the splash screen picture, the first region and the second region may be located on the same layer, and of course, may also be located on different layers, for example, the first region may cover the second region.
104. And acquiring display parameters.
Wherein, the display parameter can be at least one of the following: the display time length is the display time length of the splash screen picture, the display color is the display color of the splash screen picture, 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, and the display mode can be the display effect of the splash screen picture, such as, if the splash screen picture appears, appears from the right, appears from the left, and the like, and is not limited herein.
Optionally, when the display parameter includes a display duration; the step 104 of obtaining the display parameters may include the following steps:
a41, acquiring a target performance parameter corresponding to the target game;
a42, acquiring the memory size of the content to be loaded corresponding to the target game;
and A43, estimating the display duration according to the memory size and the target performance parameter.
Wherein the target performance parameter may include at least one of: the CPU load determines the operating status of the electronic device, if the CPU load is large, the electronic device runs slowly, if the CPU load is small, the electronic device runs fast, the network rate also affects the loading speed to a certain extent, if the network rate is fast, the target game loads fast, the target speed is slow, and the target game loads slow, and the hardware configuration parameters of the electronic device also reflect the performance of the electronic device to a certain extent, for example, the processing capabilities of different processors are different. In addition, the content to be loaded is the content to be loaded when starting the game and entering the game interface, and the content to be loaded may be at least one of the following: installation packages, update packages, game maps, and the like, without limitation. In specific implementation, the memory sizes of the contents to be loaded in different games are different, so that the electronic device can analyze the target game after starting the target game to obtain the memory size of the contents to be loaded corresponding to the target game.
In a specific implementation, the electronic device may estimate the loading rate of the electronic device according to the target performance parameter, for example, a mapping relationship between the loading rate and the performance parameter may be pre-stored in the electronic device, and then the target loading rate corresponding to the target performance parameter is determined according to the mapping relationship, and finally, the display duration is > = memory size/target loading rate, so that the display duration may be obtained, and then, the loading duration of the splash screen picture may be set.
Optionally, when the display parameter comprises a target display brightness value; the step 104 of obtaining the display parameters may include the following steps:
b41, acquiring a target average brightness value of the background picture;
b42, acquiring a target environment brightness value;
and B43, determining the target display brightness value according to the target environment brightness value and the target average brightness value.
The display brightness value of the background picture also exists, the background picture has an influence on the light effect of the screen to a certain extent, the electronic equipment can be provided with an environment light sensor, the target environment brightness value of the environment can be obtained through the environment light sensor, and then the final target display brightness value for screen display is achieved according to the target environment brightness value and the target average brightness value.
Optionally, in the step B43, determining the target display brightness value according to the environment brightness value and the average brightness value may include the following steps:
b431, determining a target screen display brightness value corresponding to the target environment brightness value according to a mapping relation between a preset environment brightness value and a screen display brightness value;
b432, determining a target fine-tuning coefficient corresponding to the target average brightness value according to a mapping relation between a preset fine-tuning coefficient and the average brightness value;
and B433, determining the target display brightness value according to the target screen display brightness value and the target fine tuning coefficient.
The electronic device may pre-store a mapping relationship between a preset environment brightness value and a screen display brightness value, 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 pre-store a mapping relationship between a preset fine-tuning coefficient and an average brightness value, and then determine a target fine-tuning coefficient corresponding to the target average brightness value according to the mapping relationship.
105. And displaying the splash screen picture according to the display parameters.
After the display parameters of the splash-screen picture are determined, the electronic equipment can display the splash-screen picture according to the display parameters. In specific implementation, the display time of the splash screen picture can be displayed in the splash screen picture, for example, the display time can be 6 seconds, wherein the default splash screen time (displaying game related information) and the operation splash screen time (displaying advertisement content time) are displayed for 3 seconds, the upper right corner of the splash screen picture is displayed (skip) by a button for displaying countdown, the splash screen can be skipped manually within 3 seconds, and the splash screen is skipped automatically after 3 seconds to enter the first page.
Optionally, after the step 105, the following steps may be further included:
c1, acquiring touch parameters aiming at the splash screen picture;
c2, generating a jump instruction according to the touch parameter;
and C3, skipping the splash screen picture to a preset page.
The preset page can be set by the user or defaulted by the system, and the preset page can be at least one of the following pages: a lobby page, a category list page, an H5 active page, a background configuration page, etc., without limitation. The touch parameter may be at least one of: the touch control strength for the touch control splash screen picture, the touch control area for the touch control splash screen picture, the touch control part for the touch control splash screen picture, the touch control duration for the touch control splash screen picture, the touch control track for the touch control splash screen picture, the touch control fingerprint for the touch control splash screen picture, and the like. Taking the touch strength as an example, the touch strength may be the touch strength for the touch splash screen picture in a specified time period, or the touch strength may be the touch strength for the touch splash screen picture at a certain position, and so on. For another example, the touch area may be a touch area of a designated finger, or a touch area when the touch strength is greater than a preset strength threshold; for another example, the touch duration may be a touch duration in which the touch area is greater than a preset area threshold, or the touch duration may be a touch duration of a touch-designated touch portion; for another example, the touch portion may be one or more touch portions, and the like, and for another example, the touch fingerprint may be a ridge width, a ridge total length, a fingerprint image, and the like. In specific implementation, the electronic device may obtain a touch parameter for the splash screen picture, generate a jump instruction according to the touch parameter, where the jump instruction may include a preset page, and then jump the splash screen picture to the preset page.
Optionally, under the condition that the jump link is not issued normally in the splash screen picture, the electronic device may only display the default splash screen picture, and touch operation cannot be achieved.
Optionally, in the step C2, generating the jump instruction according to the touch parameter may include the following steps:
matching the touch parameter with a preset touch parameter, and generating a jump instruction corresponding to the preset touch parameter when the touch parameter is successfully matched with the preset touch parameter;
further, when the touch parameter is a fingerprint image, the preset touch parameter comprises a preset fingerprint template, and the preset fingerprint template comprises a first feature point set;
the matching of the touch parameter with a preset touch parameter may include the following steps:
c21, performing line screening on the fingerprint image to obtain a plurality of target fingerprint lines, wherein the fingerprint image comprises a plurality of fingerprint lines, and the average width of each fingerprint line in the target fingerprint lines is within a preset range;
c22, extracting characteristic points of the target fingerprint lines to obtain a second characteristic point set, wherein the second characteristic point set comprises a plurality of characteristic points;
and C23, matching the second characteristic point set with the first characteristic point set, and determining that the touch parameter is successfully matched with the preset touch parameter when the second characteristic point set is successfully matched with the first characteristic point set.
The preset range can be set by default by a system or set by a user. Because fingerprint line width not only varies from person to person, under the touch-control dynamics of difference moreover, the line width is also different, consequently, can adopt the line width to discern the user to a certain extent, perhaps, makes the judgement to the definition of fingerprint image according to fingerprint line width, so, has promoted security and recognition accuracy.
Optionally, between the step 105 and the step C1, the following steps may be further included:
d1, detecting whether the display time length of the splash screen picture is longer than a preset time length or not;
and D2, when the display duration of the splash screen picture is longer than the preset duration, executing the step of acquiring the touch parameters aiming at the splash screen picture.
The preset duration can be set by the user or defaulted by the system. The electronic equipment can detect the display duration of the splash screen picture, the display duration is longer than the preset duration, the touch parameter aiming at the splash screen picture can be acquired, the target game can be introduced through the splash screen picture in the preset duration, or the advertisement can be played, after the preset duration, the user can be allowed to perform touch operation, and in this way, the purpose of advertisement can be achieved, and quick login can be achieved.
It can be seen that, according to the display control method described in the embodiment of the present application, when the electronic device starts a target game, the electronic device obtains attribute information of the target game, obtains a background picture, synthesizes a splash-screen picture with the background picture according to the attribute information, obtains display parameters, displays the splash-screen picture according to the display parameters, and can synthesize and display the splash-screen picture in a game starting process, thereby preventing a user from seeing a loading process.
In accordance with the above, please refer to fig. 2, which is a flowchart illustrating an embodiment of a display control method according to an embodiment of the present disclosure. The display control method described in this embodiment includes the following steps 201 to 208, which are specifically as follows:
201. and when starting the target game, acquiring the attribute information of the target game.
202. And acquiring a background picture.
203. And synthesizing a splash screen picture with the background picture according to the attribute information.
204. And acquiring display parameters.
205. And displaying the splash screen picture according to the display parameters.
206. And acquiring touch parameters aiming at the splash screen picture.
207. And generating a jump instruction according to the touch parameter.
208. And skipping the splash screen picture to a preset page.
For the detailed description of the steps 201 to 208, reference may be made to corresponding steps of the display control method described in the foregoing fig. 1A, and details are not repeated here.
It can be seen that, according to the display control method described in the embodiment of the present application, when the electronic device starts a target game, the electronic device obtains attribute information of the target game, obtains a background picture, synthesizes a splash screen picture with the background picture according to the attribute information, obtains a display parameter, displays the splash screen picture according to the display parameter, obtains a touch parameter for the splash screen picture, generates a skip instruction according to the touch parameter, and skips and transposes the splash screen picture to a preset page.
In accordance with the above, please refer to fig. 3, which is a flowchart illustrating an embodiment of a display control method according to an embodiment of the present disclosure. The display control method described in this embodiment includes the following steps 301 to 309, specifically:
301. and when the target game is started, acquiring the attribute information of the target game.
302. And acquiring a background picture.
303. And synthesizing a splash screen picture with the background picture according to the attribute information.
304. And acquiring display parameters.
305. And displaying the splash screen picture according to the display parameters.
306. And detecting whether the display duration of the splash screen picture is greater than a preset duration.
307. And when the display duration of the splash screen picture is longer than the preset duration, acquiring touch parameters aiming at the splash screen picture.
308. And generating a jump instruction according to the touch parameter.
309. And skipping the splash screen picture to a preset page.
For the detailed description of steps 301 to 309, reference may be made to corresponding steps of the display control method described in fig. 1A, and details are not repeated here.
It can be seen that, in the display control method described in the embodiment of the present application, when the electronic device starts a target game, attribute information of the target game is obtained, a background picture is obtained, a splash screen picture is synthesized with the background picture according to the attribute information, a display parameter is obtained, the splash screen picture is displayed according to the display parameter, whether display duration of the splash screen picture is greater than a preset duration is detected, when the display duration of the splash screen picture is greater than the preset duration, a touch parameter for the splash screen picture is obtained, a skip instruction is generated according to the touch parameter, and the splash screen picture is skipped to a preset page, so that the splash screen picture can be synthesized and displayed in a game starting process, and therefore, a user is prevented from seeing a game loading process.
In accordance with the above, the following is a device for implementing the display control method, specifically as follows:
please refer to fig. 4A, which is a schematic structural diagram of an embodiment of a display control apparatus 400 according to an embodiment of the present disclosure. The display control apparatus 400 described in the present embodiment includes: the starting unit 401, the first obtaining unit 402, the synthesizing unit 403, the second obtaining unit 404, and the displaying unit 405 are as follows:
a starting unit 401, configured to obtain attribute information of a target game when the target game is started;
a first obtaining unit 402, configured to obtain a background picture;
a synthesizing 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 a display parameter;
and a display unit 405, configured to display the splash screen picture according to the display parameter.
It can be seen that, the display control apparatus described in the embodiment of the present application is applied to an electronic device, and when a target game is started, attribute information of the target game is acquired, a background picture is acquired, a splash screen picture is synthesized with the background picture according to the attribute information, display parameters are acquired, the splash screen picture is displayed according to the display parameters, and the splash screen picture can be synthesized and displayed in a game starting process, so that a user is prevented from seeing a loading process.
In one possible example, in terms of acquiring the background picture, the first acquiring unit 402 is specifically configured to:
in the process of loading the target game, acquiring a login page of the target game;
and taking the login page as the background picture, wherein the login page is used for indicating to input login information.
In one possible example, in the aspect of synthesizing a splash screen picture with the background picture according to the attribute information, the synthesizing unit 403 is specifically configured to:
acquiring a preset splash screen picture template, wherein the splash screen picture template comprises a first area and a second area;
and placing the background picture in the first area, and placing the attribute information in the second area to obtain the splash screen picture.
In one possible example, when the display parameter comprises a display duration;
in terms of the acquiring the display parameters, the second acquiring unit 404 is specifically configured to:
acquiring target performance parameters corresponding to the target game;
acquiring the memory size of the content to be loaded corresponding to the target game;
and estimating the display duration according to the memory size and the target performance parameter.
In one possible example, when the display parameter includes a target display brightness value;
in terms of the acquiring the display parameter, the second acquiring unit 404 is specifically configured to:
acquiring a target average brightness value of the background picture;
acquiring a target environment brightness value;
and determining the target display brightness value according to the target environment brightness value and the target average brightness value.
In a possible example, in the aspect of determining the target display brightness value according to the environment brightness value and the average brightness value, the second obtaining unit 404 is specifically configured to:
determining a target screen display brightness value corresponding to the target environment brightness value according to a mapping relation between a preset environment brightness value and a screen display brightness value;
determining a target fine tuning coefficient corresponding to the target average brightness value according to a mapping relation between a preset fine tuning coefficient and the average brightness value;
and determining the target display brightness value according to the target screen display brightness value and the target fine tuning coefficient.
In one possible example, as shown in fig. 4B, fig. 4B is a further modified structure of the display control apparatus described in fig. 4A, which may further include, compared with fig. 4A: the third obtaining unit 406, the generating unit 407, and the jumping unit 408 are specifically 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 skipping unit 408, configured to skip the splash screen picture to a preset page.
In a possible example, in the aspect of generating a jump instruction according to the touch parameter, the generating unit 407 is specifically configured to:
matching the touch parameters with preset touch parameters;
and when the touch parameter is successfully matched with the preset touch parameter, generating a jump instruction corresponding to the preset touch parameter.
In one possible example, as shown in fig. 4C, fig. 4C is a further modified structure of the display control apparatus described in fig. 4B, which may further include, compared with fig. 4B: the detecting unit 409 is specifically as follows:
the detection unit 409 is used for detecting whether the display duration of the splash screen picture is longer than a preset duration; and when the display duration of the splash screen picture is longer than the preset duration, the third obtaining unit 406 performs the step of obtaining the touch parameter for the splash screen picture.
It should be noted that the display control device described in the embodiments of the present application is presented in the form of a functional unit. The term "unit" as used herein is to be understood in its broadest possible sense, and objects used to implement the functions described by the respective "unit" may be, for example, an integrated circuit ASIC, a single circuit, a processor (shared, dedicated, or chipset) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that provide the described functionality.
For example, the starting unit 401 is configured to, when starting the target game, obtain the attribute information of the target game by using the electronic device shown in fig. 5, and specifically, when starting the target game, obtain the attribute information of the target game by calling the executable program code in the memory by using the processor.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, and as shown in the drawing, the electronic device includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the following steps:
when a target game is started, acquiring attribute information of the target game;
acquiring a background picture;
synthesizing a splash screen picture with the background picture according to the attribute information;
acquiring display parameters;
and displaying the splash screen picture according to the display parameters.
It can be seen that, when the electronic device described in the embodiment of the present application starts a target game, attribute information of the target game is acquired, a background picture is acquired, a splash-screen picture is synthesized with the background picture according to the attribute information, a display parameter is acquired, the splash-screen picture is displayed according to the display parameter, and the splash-screen picture can be synthesized and displayed in a game starting process, so that a user is prevented from seeing a loading process.
In one possible example, in the obtaining the background picture, the program includes instructions for performing the following steps:
acquiring a login page of the target game in the process of loading the target game;
and taking the login page as the background picture, wherein the login page is used for indicating to input login information.
In one possible example, in the synthesizing of the splash screen picture with the background picture in accordance with the attribute information, the program includes instructions for performing the steps of:
acquiring a preset splash screen picture template, wherein the splash screen picture template comprises a first area and a second area;
and placing the background picture in the first area, and placing the attribute information in the second area to obtain the splash screen picture.
In one possible example, when the display parameter comprises a display duration;
in the aspect of acquiring the display parameter, the program includes instructions for performing the steps of:
acquiring target performance parameters corresponding to the target game;
acquiring the memory size of the content to be loaded corresponding to the target game;
and estimating the display duration according to the memory size and the target performance parameter.
In one possible example, when the display parameter includes a target display brightness value;
in the aspect of acquiring the display parameter, the program includes instructions for:
acquiring a target average brightness value of the background picture;
acquiring a target environment brightness value;
and determining the target display brightness value according to the target environment brightness value and the target average brightness value.
In one possible example, in the determining the target display brightness value according to the ambient brightness value and the average brightness value, the program includes instructions for:
determining a target screen display brightness value corresponding to the target environment brightness value according to a mapping relation between a preset environment brightness value and a screen display brightness value;
determining a target fine tuning coefficient corresponding to the target average brightness value according to a mapping relation between a preset fine tuning coefficient and the average brightness value;
and determining the target display brightness value according to the target screen display brightness value and the target fine tuning coefficient.
In one possible example, the program further includes instructions for performing the steps of:
acquiring touch parameters aiming at the splash screen picture;
generating a jump instruction according to the touch parameter;
and skipping the splash screen picture to a preset page.
In one possible example, in the aspect of generating the jump instruction according to the touch parameter, the program includes instructions for:
matching the touch parameters with preset touch parameters;
and when the touch parameter is successfully matched with the preset touch parameter, generating a jump instruction corresponding to the preset touch parameter.
In one possible example, the program further includes instructions for performing the steps of:
detecting whether the display duration of the splash screen picture is longer than a preset duration or not;
and when the display duration of the splash screen picture is longer than the preset duration, executing the step of acquiring the touch parameters aiming at the splash screen picture.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
The embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a program, and the program includes some or all of the steps of any one of the display control methods described in the above method embodiments when executed.
Embodiments of the present application further provide a computer program product, the computer program product comprising a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to perform some or all of the steps of any one of the display control methods as described in the above method embodiments.
While the present application has been described in connection with various embodiments, other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed application, from a review of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the word "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus (device), or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. A computer program stored/distributed on a suitable medium supplied together with or as part of other hardware, may also take other distributed forms, such as via the Internet or other wired or wireless telecommunication systems.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Although the present application has been described in conjunction with specific features and embodiments thereof, it will be evident that various modifications and combinations may be made thereto without departing from the spirit and scope of the application. Accordingly, the specification and figures are merely exemplary of the present application as defined in the appended claims and are intended to cover any and all modifications, variations, combinations, or equivalents within the scope of the present application. It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A display control method applied to an electronic device includes:
when a target game is started, acquiring attribute information of the target game;
acquiring a background picture;
synthesizing a splash screen picture according to the attribute information and the background picture, wherein the attribute information in the splash screen picture can be arranged on an upper layer, and the background picture is arranged on a lower layer;
acquiring display parameters;
displaying the splash screen picture according to the display parameters;
wherein, the obtaining the background picture comprises:
in the process of loading the target game, acquiring a login page of the target game;
taking the login page as the background picture, wherein the login page is used for indicating to input login information;
wherein when the display parameter comprises a display duration;
the acquiring of the display parameters comprises:
obtaining target performance parameters corresponding to the target game, wherein the target performance parameters comprise at least one of the following: CPU load, network rate of the target game, hardware configuration parameters of the electronic equipment;
acquiring the memory size of the content to be loaded corresponding to the target game;
and estimating the display duration according to the memory size and the target performance parameter.
2. The method according to claim 1, wherein the synthesizing of the splash screen picture with the background picture according to the attribute information comprises:
acquiring a preset splash screen picture template, wherein the splash screen picture template comprises a first area and a second area;
and placing the background picture in the first area, and placing the attribute information in the second area to obtain the splash screen picture.
3. The method according to claim 1 or 2, wherein when the display parameter comprises a target display luminance value;
the acquiring of the display parameters comprises:
acquiring a target average brightness value of the background picture;
acquiring a target environment brightness value;
and determining the target display brightness value according to the target environment brightness value and the target average brightness value.
4. The method of claim 3, wherein said determining the target display brightness value according to the ambient brightness value and the average brightness value comprises:
determining a target screen display brightness value corresponding to the target environment brightness value according to a mapping relation between a preset environment brightness value and a screen display brightness value;
determining a target fine tuning coefficient corresponding to the target average brightness value according to a mapping relation between a preset fine tuning coefficient and the average brightness value;
and determining the target display brightness value according to the target screen display brightness value and the target fine tuning coefficient.
5. The method according to claim 1 or 2, characterized in that the method further comprises:
acquiring touch parameters aiming at the splash screen picture;
generating a jump instruction according to the touch parameter;
and skipping the splash screen picture to a preset page.
6. The method according to claim 5, wherein the generating a jump instruction according to the touch parameter comprises:
matching the touch parameters with preset touch parameters;
and when the touch parameter is successfully matched with the preset touch parameter, generating a jump instruction corresponding to the preset touch parameter.
7. The method of claim 5, further comprising:
detecting whether the display time length of the splash screen picture is greater than a preset time length or not;
and when the display duration of the splash screen picture is longer than the preset duration, executing the step of acquiring the touch parameters aiming at the splash screen picture.
8. A display control apparatus, applied to an electronic device, includes:
the starting unit is used for acquiring the attribute information of the target game when the target game is started;
a first acquisition unit, configured to acquire a background picture;
the synthesis unit is used for synthesizing a splash screen picture with the background picture according to the attribute information, wherein the attribute information in the splash screen picture can be arranged at an upper layer, and the background picture is arranged at a lower layer;
a second obtaining unit for obtaining the display parameter;
the display unit is used for displaying the splash screen picture according to the display parameters;
wherein, in the aspect of acquiring the background picture, the method comprises the following steps:
acquiring a login page of the target game in the process of loading the target game;
taking the login page as the background picture, wherein the login page is used for indicating to input login information;
wherein when the display parameter comprises a display duration;
in the aspect of acquiring the display parameters, the method comprises the following steps:
obtaining target performance parameters corresponding to the target game, wherein the target performance parameters comprise at least one of the following: CPU load, network rate of the target game, hardware configuration parameters of the electronic equipment;
acquiring the memory size of the content to be loaded corresponding to the target game;
and estimating the display duration according to the memory size and the target performance parameter.
9. An electronic device, comprising:
a processor and a memory; wherein the processor performs the method of any one of claims 1 to 7 by calling code or instructions in the memory.
10. A computer storage medium for storing a computer program, wherein the computer program causes a computer to perform the method of any one of claims 1-7.
CN201880095040.5A 2018-09-14 2018-09-14 Display control method and related product Active CN112385199B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/105750 WO2020051884A1 (en) 2018-09-14 2018-09-14 Display control method and related product

Publications (2)

Publication Number Publication Date
CN112385199A CN112385199A (en) 2021-02-19
CN112385199B true CN112385199B (en) 2022-11-04

Family

ID=69776829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880095040.5A Active CN112385199B (en) 2018-09-14 2018-09-14 Display control method and related product

Country Status (2)

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

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112839259B (en) * 2020-12-31 2023-07-07 深圳创维-Rgb电子有限公司 Screen display method, terminal and computer readable storage medium
CN114100117B (en) * 2021-11-30 2023-07-25 腾讯科技(深圳)有限公司 Game loading method, game loading device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780722A (en) * 2011-05-11 2012-11-14 北京磊友信息科技有限公司 Method and server for providing application programs for mobile terminals
CN103260032A (en) * 2013-04-18 2013-08-21 清华大学深圳研究生院 Method for improving frame rate of stereoscopic video depth map sequence
CN108196914A (en) * 2018-01-31 2018-06-22 深圳天珑无线科技有限公司 Electronic equipment and its method of backstage automatic running application, storage device

Family Cites Families (5)

* 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
CN203260032U (en) * 2012-07-31 2013-10-30 北京天神互动科技有限公司 Webpage resource data real-time loading system
CN103390053A (en) * 2013-07-26 2013-11-13 贝壳网际(北京)安全技术有限公司 Page switching control method and device of browser and client
US9665296B2 (en) * 2014-05-07 2017-05-30 Sandisk Technologies Llc Method and computing device for using both volatile memory and non-volatile swap memory to pre-load a plurality of applications
CN105677897B (en) * 2016-02-03 2019-11-15 北京金山安全软件有限公司 Login method and device and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780722A (en) * 2011-05-11 2012-11-14 北京磊友信息科技有限公司 Method and server for providing application programs for mobile terminals
CN103260032A (en) * 2013-04-18 2013-08-21 清华大学深圳研究生院 Method for improving frame rate of stereoscopic video depth map sequence
CN108196914A (en) * 2018-01-31 2018-06-22 深圳天珑无线科技有限公司 Electronic equipment and its method of backstage automatic running application, storage device

Also Published As

Publication number Publication date
CN112385199A (en) 2021-02-19
WO2020051884A1 (en) 2020-03-19

Similar Documents

Publication Publication Date Title
US9477828B2 (en) Authentication device, authentication method and non-transitory computer-readable recording medium
JP6214547B2 (en) Measuring the rendering time of a web page
EP2924591A1 (en) Method and device for controlling page rollback
US10101827B2 (en) Method and apparatus for controlling a touch-screen based application ported in a smart device
CN108416825A (en) Generating means, method and the computer readable storage medium of Dynamic Graph
TWI671647B (en) Method, device and electronic device for calculating the duration of the first screen of a page
CN107330859B (en) Image processing method and device, storage medium and terminal
CN109492607B (en) Information pushing method, information pushing device and terminal equipment
CN110177295B (en) Subtitle out-of-range processing method and device and electronic equipment
CN112385199B (en) Display control method and related product
EP2947567A1 (en) User interface text appearance customization
CN111464858A (en) Video playing method and device
CN108984089B (en) Touch operation method and device, storage medium and electronic equipment
CN111125433A (en) Popup window management method and device, electronic equipment and readable storage medium
US8988375B2 (en) Device and method for extracting data on a touch screen
CN107402756B (en) Method, device and terminal for drawing page
CN108427586B (en) Using push terminal, method and the computer readable storage medium of theme
US10891003B2 (en) System, method, and apparatus for an interactive container
KR20130134546A (en) Method for create thumbnail images of videos and an electronic device thereof
CN106302821B (en) Data request method and equipment thereof
CN114666634B (en) Picture quality detection result display method, device, equipment and storage medium
CN115756466A (en) View checking method and device, electronic equipment and storage medium
US20160266698A1 (en) Method and apparatus for generating a personalized input panel
CN108572985B (en) Page display method and device
CN109039873A (en) Chat record display methods, device and computer readable storage medium

Legal Events

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