Game screen optimization method, electronic device and readable storage medium

By predicting the probability of displaying game keyframes in the next time step of the game device and adapting to display parameters, the problem of low clarity and lag in the display during keyframes in the prior art is solved, and the display effect of game devices is improved.

CN115245681BActive Publication Date: 2025-02-18DREAM OF DRAGON GAMES
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210839386.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-18
Publication Date
2025-02-18
Estimated Expiration
2042-07-18

AI Technical Summary

Technical Problem

In the prior art, when the game device displays a game screen, the fixed display parameters cannot effectively adapt to the changes in the game scene, resulting in low display clarity or lag during keyframes, which affects the display effect of the game device.

Method used

By obtaining the current device performance parameters and continuous game screen frames of the game device, predict the probability of displaying game keyframes in the next time step based on the game feature information, determine the corresponding screen display special effects parameters, and control the game device to display the next time with these parameters. Step game frame.

Benefits of technology

It realizes the adaptation of display parameters according to the keyframe probability and current device performance parameters, avoiding the low clarity and lag problems caused by fixed display parameters, and improving the display effect of gaming devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115245681B_ABST
    Figure CN115245681B_ABST
Patent Text Reader

Abstract

The present application discloses a game screen optimization method, an electronic device, and a readable storage medium, which are applied to the field of game technology. The game screen optimization method includes: obtaining the current device performance parameters and continuous game screen frames of the game device; predicting the key frame probability of the game key frame displayed by the game device at the next time step based on the game feature information in the continuous game screen frames; determining the screen display special effect parameters corresponding to the game screen frame at the next time step based on the current device performance parameters and the key frame probability; and controlling the game device to display the game screen frame at the next time step with the screen display special effect parameters. The present application solves the technical problem of poor display effect of game devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of game technology, and in particular to a game screen optimization method, an electronic device, and a readable storage medium. Background Art

[0002] With the rapid development of science and technology, games are becoming more and more mature. At present, game devices usually preset fixed display parameters according to device performance. When key frames appear in the game (for example, the game screen is highly complex), the display parameters may be relatively low, causing users to miss important information due to low display parameters and low clarity of the game display during the game. Alternatively, when the game scene changes (for example, from a key frame to a normal frame), the display parameters may be relatively high, causing the game device to become stuck, resulting in poor display effects of the game device. Summary of the invention

[0003] The main purpose of this application is to provide a game screen optimization method, an electronic device and a readable storage medium, aiming to solve the technical problem of poor display effect of game devices in the prior art.

[0004] To achieve the above-mentioned purpose, the present application provides a game screen optimization method, which is applied to a game screen optimization device, and the game screen optimization method includes:

[0005] Obtaining current device performance parameters of a gaming device and continuous game screen frames displayed by the gaming device;

[0006] Predicting the key frame probability of the game device displaying a key frame of the game at the next time step based on the game feature information in the continuous game screen frames;

[0007] Determine, according to the current device performance parameter and the key frame probability, the screen display special effect parameter corresponding to the game screen frame of the next time step;

[0008] The game device is controlled to display the game screen frame of the next time step with the screen display special effect parameters.

[0009] To achieve the above-mentioned purpose, the present application further provides a game screen optimization device, which is applied to a game screen optimization device, and the game screen optimization device comprises:

[0010] An acquisition module, used to acquire current device performance parameters of a gaming device and continuous game screen frames displayed by the gaming device;

[0011] A prediction module, configured to predict a key frame probability of the game device displaying a key frame of the game at a next time step based on the game feature information in the continuous game screen frames;

[0012] A determination module, used to determine the screen display special effect parameters corresponding to the game screen frame of the next time step according to the current device performance parameters and the key frame probability;

[0013] The control module is used to control the game device to display the game screen frame of the next time step with the screen display special effect parameters.

[0014] The present application also provides an electronic device, comprising: a memory, a processor, and a program of the game screen optimization method stored in the memory and executable on the processor. When the program of the game screen optimization method is executed by the processor, the steps of the game screen optimization method as described above can be implemented.

[0015] The present application also provides a computer-readable storage medium, on which is stored a program for implementing a method for optimizing game screens. When the program for the method for optimizing game screens is executed by a processor, the steps of the method for optimizing game screens as described above are implemented.

[0016] The present application also provides a computer program product, including a computer program, which implements the steps of the game screen optimization method as described above when executed by a processor.

[0017] The present application provides a game screen optimization method, an electronic device and a readable storage medium. Compared with preset fixed display parameters according to device performance, the present application obtains current device performance parameters of a game device and continuous game screen frames displayed by the game device; predicts the key frame probability of the game key frame displayed by the game device at the next time step according to game feature information in the continuous game screen frames; determines the screen display special effect parameters corresponding to the game screen frame at the next time step according to the current device performance parameters and the key frame probability; controls the game device to display the game screen frame at the next time step with the screen display special effect parameters, predicts the key frame probability of the game screen frame at the next time step being a key frame according to the game feature information of the continuous game screen frames, and realizes the adaptation of display parameters according to the key frame probability and the current device performance parameters, avoiding the situation that when a fixed display parameter is used, when a key frame appears in the game, the display parameter may be relatively low at this time, so that the user misses important information due to the low display parameter and the low clarity of the game display when playing the game, or when the game scene changes, the display parameter may be relatively high, resulting in the game device being stuck, thereby improving the display effect of the game device. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0020] Figure 1 This is a flowchart of the first embodiment of the game screen optimization method of the present application;

[0021] Figure 2 This is a flowchart of the second embodiment of the game screen optimization method of the present application;

[0022] Figure 3 Schematic diagram of the device structure of the hardware operating environment involved in the game screen optimization method in the embodiment of the present application.

[0023] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0024] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work belong to the scope of protection of this application.

[0025] Embodiment 1

[0026] The present application embodiment provides a method for optimizing a game screen. In the first embodiment of the method for optimizing a game screen of the present application, refer to Figure 1 , the game screen optimization method includes:

[0027] Step S10, obtaining current device performance parameters of the gaming device and continuous game screen frames displayed by the gaming device;

[0028] In this embodiment, the gaming device can be a mobile phone, a computer, or any gaming device, and the current device performance parameters are device performance parameters under the current operating status of the gaming device, which are determined by the performance of the gaming device and the current operating program of the gaming device. Exemplarily, step S10 includes: obtaining the current device performance parameters of the gaming device in the current scenario, and extracting continuous game screen frames displayed by the gaming device in a preset time period, wherein the preset time period is a preset time period for extracting the game screen frames displayed by the gaming device, and the preset time period can be set by the user or automatically set by the system, or detecting the degree of picture change of continuous game screen frames of the gaming device within the preset time period, extracting game screen frames corresponding to the target picture change degree from each of the picture change degrees, and obtaining the continuous game screen frames.

[0029] Step S20, predicting the key frame probability of the game device displaying a game key frame at the next time step based on the game feature information in the continuous game screen frames;

[0030] Step S30, determining the screen display special effect parameters corresponding to the game screen frame of the next time step according to the current device performance parameters and the key frame probability;

[0031] Step S40, controlling the game device to display the game screen frame of the next time step with the screen display special effect parameters.

[0032] Exemplarily, steps S20 to S40 include: predicting the key frame probability of the game device displaying the game key frame at the next time step based on the game feature information in the continuous game screen frames and a preset key frame prediction model; determining the screen display parameters and display special effect parameters corresponding to the game screen frame at the next time step based on the current device performance parameters and the key frame probability, and obtaining the screen display special effect parameters; and controlling the game device to display the game screen frame at the next time step with the screen display special effect parameters.

[0033] Wherein, in step S20, the step of predicting the key frame probability of the game device displaying the game key frame in the next time step based on the game feature information in the continuous game screen frames is:

[0034] Step S21, constructing a game feature vector of the game device according to the game feature information in the continuous game screen frames;

[0035] Step S22, mapping the game feature vector to a key frame probability of the game device displaying a game key frame in the next time step through a preset key frame prediction model.

[0036] In this embodiment, it should be noted that the preset key frame prediction model is a preset model for predicting the key frame probability of the target device displaying the game key frame. The preset key frame prediction model can be a CNN (Convolutional Neural Network) or an RNN (Recurrent Neural Network).

[0037] Exemplarily, step S22 includes: inputting the game feature vector into the preset key frame prediction model, and mapping the game feature vector into a key frame probability of the game device displaying a game key frame in the next time step.

[0038] Before step S20, the game feature information includes game character feature information and game scene feature information, and before the step of predicting the key frame probability of the game device displaying the game key frame at the next time step based on the game feature information in the continuous game screen frames, the method further includes:

[0039] Step A10, obtaining the number of game characters in the continuous game screen frames, the movement information of each game character, the character type corresponding to each game character, the game skill hit rate of each game character, and the game skill evasion rate of each game character to obtain the game character feature information;

[0040] Step A20, extracting the scene complexity of the game scene in the continuous game screen frames to obtain the game scene feature information.

[0041] Exemplarily, steps A10 to A20 include: extracting the number of game characters in the continuous game screen frames, determining the first position information of each of the game characters in the continuous game screen frames, and the second position information of each of the game characters in the continuous game screen frames, determining the acceleration and speed corresponding to each of the game characters based on the first position information and the second position information, and obtaining the motion information of each of the game characters, determining the character type corresponding to each of the game characters based on the similarity between the first feature of each of the game characters and the second features corresponding to the preset game character category, and obtaining the game character feature information; accumulating the game skill hit rate of each of the game characters in the continuous game screen frames that releases and hits the skills, and the game skill dodge rate of each of the game characters in the continuous game screen frames that dodges the skills; determining the complexity of the game scene based on the screen content of the game scene in the continuous game screen frames, and obtaining the game scene feature information.

[0042] The step of constructing the game feature vector of the continuous game screen frames according to the game feature information includes:

[0043] Step B10, determining a character type label corresponding to each of the game characters according to the character type;

[0044] Step B20, concatenating the character type label, the number of characters, the motion information and the scene complexity into the game feature vector.

[0045] In this embodiment, it should be noted that the character type label is determined by the character features of the game character. The character type label can be used to characterize the operational complexity of the game character, and can also be used to characterize the importance of the game character. For example, the character type can include auxiliary characters and core characters.

[0046] Exemplarily, steps B10 to B20 include: generating a character type label corresponding to each game character based on the character type corresponding to the game character; and splicing the character type label, the number of characters, the movement information, the game skill hit rate, the game skill dodge rate and the scene complexity into the game feature vector.

[0047] Optionally, based on the game type of the gaming device, a weight coefficient corresponding to each feature in the gaming feature vector is determined; based on each weight coefficient, the gaming feature vector and the preset key frame prediction model, the gaming feature vector is mapped to a key frame probability that the gaming device displays a game key frame in the next time step.

[0048] As an example, when the game type of the gaming device is a MOBA (Multiplayer Online Battle Arena) game, the weight coefficients corresponding to the key frame probability of the gaming device displaying the game key frame at the next time step are relatively high, as are the character type, the game skill hit rate, and the game skill dodge rate; when the game type of the gaming device is a situational immersion game, the weight coefficients corresponding to the key frame probability of the gaming device displaying the game key frame at the next time step are relatively high, as are the complexity of the gaming scene; and when the game type of the gaming device is an FPS (First-person shooting game) game, the weight coefficients corresponding to the key frame probability of the gaming device displaying the game key frame at the next time step are relatively high, as are the character type, the motion information, the game skill hit rate, and the game skill dodge rate.

[0049] Since the key frame probability of the game device displaying the key frame of the game at the next time step is affected by various factors, the embodiment of the present application matches the corresponding game feature vector for the game device based on the number of the game characters, the type of each of the game characters, the movement information of each of the game characters, the hit rate of the game skills, the dodge rate of the game skills, and the scene complexity of the game scene, and fully considers the impact of various factors on the key frame probability. The game feature vector is an input value for predicting the key frame probability, so it provides more decision-making basis for predicting the key frame probability of the next screen frame as a key frame, and improves the accuracy of key frame prediction. The screen display special effect parameters of the game screen frame displayed by the game device at the next time step are affected by the key frame probability, thereby further improving the display effect of the game device.

[0050] The embodiment of the present application provides a method for optimizing a game screen. Compared with preset fixed display parameters according to device performance, the embodiment of the present application obtains current device performance parameters of a game device and continuous game screen frames displayed by the game device; predicts the key frame probability of the game key frame displayed by the game device at the next time step according to game feature information in the continuous game screen frames; determines the screen display special effect parameters corresponding to the game screen frame at the next time step according to the current device performance parameters and the key frame probability; controls the game device to display the game screen frame at the next time step with the screen display special effect parameters, predicts the key frame probability of the game screen frame at the next time step as a key frame according to the game feature information of the continuous game screen frames, and realizes the adaptation of display parameters according to the key frame probability and the current device performance parameters, avoiding the situation that when a fixed display parameter is used, when a key frame appears in the game, the display parameter may be relatively low at this time, so that the user misses important information due to the low display parameter and the low clarity of the game display when playing the game, or when the game scene changes, the display parameter may be relatively high, causing the game device to freeze, thereby improving the display effect of the game device.

[0051] Embodiment 2

[0052] Further, refer to Figure 2 Based on the first embodiment of the present application, in another embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be described in detail later. On this basis, in step S30, the screen display special effect parameters include screen display parameters and display special effect parameters, and the step of determining the screen display special effect parameters corresponding to the game screen frame of the next time step according to the current device performance parameters and the key frame probability includes:

[0053] Step S31, obtaining the current display parameters of the gaming device;

[0054] Exemplarily, step S31 includes: acquiring the current resolution and / or current refresh rate of the gaming device to obtain the current display parameters.

[0055] Step S32, determining the screen display parameters corresponding to the game screen frame of the next time step according to the current screen display parameters, the current device performance parameters and the key frame probability;

[0056] Step S33, determining the display special effect type and corresponding display special effect data corresponding to the game screen frame of the next time step according to the key frame probability, and obtaining the display special effect parameters.

[0057] In this embodiment, it should be noted that the display characteristic types include zooming in, highlighting, and no special effects.

[0058] Exemplarily, step S33 includes: judging whether the key frame probability is greater than or equal to a first preset key frame probability threshold, and when the key frame probability is greater than or equal to the first preset key frame probability threshold, selecting the display special effect type corresponding to the game screen frame of the next time step as an enlarged screen, and determining the magnification of the enlarged screen based on the key frame probability; when the key frame probability is less than the first preset key frame probability threshold, judging whether the key frame probability is greater than or equal to a second preset key frame probability threshold, and when the key frame probability is greater than or equal to the second preset key frame probability threshold, selecting the display special effect type corresponding to the game screen frame of the next time step as highlighted display, and determining the display characteristics of the highlighted display of the game screen frame of the next time step based on the key frame probability; when the key frame probability is less than the second preset key frame probability threshold, selecting the display special effect type corresponding to the game screen frame of the next time step as no special effect.

[0059] Among them, in step S32, the step of determining the screen display parameters corresponding to the game screen frame of the next time step according to the current screen display parameters, the current device performance parameters and the key frame probability includes:

[0060] Step C10, determining the adjustment parameter range of the current picture display parameter according to the key frame probability;

[0061] Step C20, selecting a target adjustment parameter in the adjustment parameter range according to the current device performance parameter;

[0062] Step C30, determining the screen display parameters corresponding to the game screen frame of the next time step according to the target adjustment parameters and the current screen display parameters.

[0063] Exemplarily, steps C10 to C30 include: determining a first adjustment parameter range for the current resolution and / or a second adjustment parameter range for the current refresh rate based on the key frame probability; selecting a first target adjustment parameter in the first adjustment parameter range and / or selecting a second target adjustment parameter in the second adjustment parameter range based on the current device performance parameters; determining the target resolution of the gaming device based on the first target adjustment parameter and the current resolution, and / or determining the screen display parameters corresponding to the game screen frame of the next time step based on the second target adjustment parameter and the current refresh rate.

[0064] Wherein, after step S40, after the step of controlling the game device to display the game screen frame of the next time step with the screen display special effect parameters, it also includes:

[0065] Step S50, obtaining a device performance parameter threshold corresponding to the gaming device, and determining whether a real-time device performance parameter corresponding to the gaming device under the screen display special effect parameter is less than the device performance parameter threshold;

[0066] Step S60: If yes, control the game device to continuously display the game screen frame of the next time step with the screen display special effect parameters;

[0067] Step S70: If not, reset the display parameters of the game device and return to the execution step: obtain the current display parameters of the game device.

[0068] Exemplarily, steps S50 to S70 include: obtaining a device performance parameter threshold corresponding to the gaming device, obtaining the device performance parameters of the gaming device at the target resolution and / or target refresh rate, obtaining the real-time device performance parameters corresponding to the gaming device under the screen display special effect parameters, and determining whether the real-time device performance parameters are less than the device performance parameter threshold; if the real-time device performance parameters are less than the device performance parameter threshold, controlling the gaming device to continuously display the game screen frame of the next time step with the screen display special effect parameters; if the real-time device performance parameters are not less than the device performance parameter threshold, setting the display parameters of the gaming device to the default display parameters, or setting the display parameters of the gaming device to the display parameters corresponding to the continuous game screen frames, and returning to execute step S50.

[0069] Wherein, in step S50, the device performance parameter threshold includes a memory occupancy threshold and a CPU occupancy threshold, and the step of obtaining the device performance parameter threshold corresponding to the gaming device includes:

[0070] Step S51, obtaining device attributes of the gaming device;

[0071] Step S52: determining a memory occupancy threshold and a CPU occupancy threshold corresponding to the gaming device according to the device attributes.

[0072] In this embodiment, it should be noted that the memory occupancy threshold is a critical value of memory occupancy for stable operation of the gaming device, and the CPU occupancy threshold is a critical value of CPU occupancy for stable operation of the gaming device.

[0073] Exemplarily, step S51 to step S52 include: obtaining the device type and device system occupancy of the gaming device, obtaining the device attributes of the gaming device, and determining the memory occupancy threshold and CPU occupancy threshold corresponding to the gaming device based on the device attributes.

[0074] Before step S20, when the memory occupancy threshold is less than or equal to the preset memory occupancy threshold and / or the CPU occupancy threshold is less than or equal to the preset CPU occupancy threshold, it is determined that the device performance of the gaming device is poor, and the gaming device is communicatively connected to a data processing device, and the game feature information is sent to the data processing device through the gaming device, and the data processing device predicts the key frame probability of the gaming device displaying the key frame of the game at the next time step based on the game feature information, wherein the communication connection can be a wireless connection such as a Bluetooth connection and a local area network connection, and can also be a wired connection such as an interface connection.

[0075] When the performance of the gaming device is poor, the gaming device is communicatively connected to the data processing device to avoid freezing of the gaming screen when the gaming device is still used to predict key frames, thereby improving the display effect of the gaming device.

[0076] The embodiment of the present application provides a method for optimizing a game screen. Compared with preset fixed display parameters according to device performance, the embodiment of the present application obtains current device performance parameters of a game device and continuous game screen frames displayed by the game device; predicts the key frame probability of the game key frame displayed by the game device at the next time step according to game feature information in the continuous game screen frames; determines the screen display special effect parameters corresponding to the game screen frame at the next time step according to the current device performance parameters and the key frame probability; controls the game device to display the game screen frame at the next time step with the screen display special effect parameters, predicts the key frame probability of the game screen frame at the next time step as a key frame according to the game feature information of the continuous game screen frames, and realizes the adaptation of display parameters according to the key frame probability and the current device performance parameters, avoiding the situation that when a fixed display parameter is used, when a key frame appears in the game, the display parameter may be relatively low at this time, so that the user misses important information due to the low display parameter and the low clarity of the game display when playing the game, or when the game scene changes, the display parameter may be relatively high, causing the game device to freeze, thereby improving the display effect of the game device.

[0077] Embodiment 3

[0078] The embodiment of the present application further provides a game screen optimization device, which is applied to a game screen optimization device, and the game screen optimization device includes:

[0079] An acquisition module, used to acquire current device performance parameters of a gaming device and continuous game screen frames displayed by the gaming device;

[0080] A prediction module, configured to predict a key frame probability of the game device displaying a key frame of the game at a next time step based on the game feature information in the continuous game screen frames;

[0081] A determination module, used to determine the screen display special effect parameters corresponding to the game screen frame of the next time step according to the current device performance parameters and the key frame probability;

[0082] The control module is used to control the game device to display the game screen frame of the next time step with the screen display special effect parameters.

[0083] Optionally, the prediction module is further used for:

[0084] Constructing a game feature vector of the game device according to the game feature information in the continuous game screen frames;

[0085] By presetting a key frame prediction model, the game feature vector is mapped to a key frame probability that the game device displays a game key frame in the next time step.

[0086] Optionally, the game feature information includes game character feature information and game scene feature information, and the game screen optimization device is further used to:

[0087] Acquire the number of game characters in the continuous game screen frames, the movement information of each game character, the character type corresponding to each game character, the game skill hit rate of each game character, and the game skill evasion rate of each game character to obtain the game character feature information;

[0088] The scene complexity of the game scene in the continuous game screen frames is extracted to obtain the game scene feature information.

[0089] Optionally, the game screen optimization device is also used for:

[0090] Determining a character type label corresponding to each of the game characters according to the character type;

[0091] The character type label, the number of characters, the movement information, the game skill hit rate, the game skill dodge rate and the scene complexity are spliced ​​into the game feature vector.

[0092] Optionally, the screen display special effect parameters include screen display parameters and display special effect parameters, and the determination module is further used to:

[0093] Obtaining current screen display parameters of the gaming device;

[0094] Determining the screen display parameters corresponding to the game screen frame of the next time step according to the current screen display parameters, the current device performance parameters and the key frame probability;

[0095] According to the key frame probability, the display special effect type and the corresponding display special effect data corresponding to the game screen frame of the next time step are determined to obtain the display special effect parameters.

[0096] Optionally, the determining module is further used for:

[0097] Determining an adjustment parameter range of the current picture display parameter according to the key frame probability;

[0098] According to the current device performance parameter, selecting a target adjustment parameter in the adjustment parameter range;

[0099] The screen display parameters corresponding to the game screen frame of the next time step are determined according to the target adjustment parameters and the current screen display parameters.

[0100] Optionally, the game screen optimization device is also used for:

[0101] Obtaining a device performance parameter threshold corresponding to the gaming device, and determining whether a real-time device performance parameter corresponding to the gaming device under the screen display special effect parameter is less than the device performance parameter threshold;

[0102] If yes, then control the game device to continuously display the game screen frame of the next time step with the screen display special effect parameters;

[0103] If not, reset the screen display special effect parameters of the game device and return to the execution step: determine whether the real-time device performance parameters corresponding to the game device under the screen display special effect parameters are less than the device performance parameter threshold.

[0104] Optionally, the device performance parameter threshold includes a memory occupancy threshold and a CPU occupancy threshold, and the game screen optimization device is further used to:

[0105] Obtaining device properties of the gaming device;

[0106] According to the device attributes, a memory occupancy threshold and a CPU occupancy threshold corresponding to the gaming device are determined.

[0107] The game screen optimization device provided by the present application adopts the game screen optimization method in the above embodiment to solve the technical problem of poor display effect of the game device. Compared with the prior art, the beneficial effects of the game screen optimization device provided by the embodiment of the present application are the same as the beneficial effects of the game screen optimization method provided by the above embodiment, and the other technical features in the game screen optimization device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0108] Embodiment 4

[0109] An embodiment of the present application provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the game screen optimization method in the above-mentioned embodiment.

[0110] Reference below Figure 3, which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure. The electronic device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0111] like Figure 3 As shown, the electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage device into a random access memory (RAM). In the RAM, various programs and data required for the operation of the electronic device are also stored. The processing device, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.

[0112] Typically, the following systems can be connected to the I / O interface: input devices including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices including, for example, a magnetic tape, a hard disk, etc.; and communication devices. The communication device can allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows an electronic device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have alternatively.

[0113] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device, or installed from a ROM. When the computer program is executed by a processing device, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0114] The electronic device provided by the present application adopts the game screen optimization method in the above embodiment to solve the technical problem of poor display effect of the game device. Compared with the prior art, the beneficial effects of the electronic device provided by the embodiment of the present application are the same as the beneficial effects of the game screen optimization method provided by the above embodiment, and other technical features in the electronic device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0115] It should be understood that the various parts of the present disclosure can be implemented with hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0116] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0117] Embodiment 5

[0118] This embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon, and the computer-readable program instructions are used to execute the game screen optimization method in the above embodiment.

[0119] The computer-readable storage medium provided in the embodiment of the present application can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present embodiment, the computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, a system or a device or used in combination with it. The program code contained on the computer-readable storage medium can be transmitted with any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0120] The computer-readable storage medium may be included in the electronic device, or may exist independently without being installed in the electronic device.

[0121] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by an electronic device, the electronic device: obtains current device performance parameters and continuous game screen frames of a gaming device; predicts the key frame probability of the gaming device displaying a key frame of a gaming device at the next time step based on game feature information in the continuous game screen frames; determines the screen display special effect parameters corresponding to the game screen frame at the next time step based on the current device performance parameters and the key frame probability; and controls the gaming device to display the game screen frame at the next time step with the screen display special effect parameters.

[0122] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0123] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0124] The modules involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of the module does not limit the unit itself in some cases.

[0125] The computer-readable storage medium provided by the present application stores computer-readable program instructions for executing the above-mentioned game screen optimization method, which solves the technical problem of poor display effect of game devices. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the embodiment of the present application are the same as the beneficial effects of the game screen optimization method provided by the above-mentioned implementation, and will not be repeated here.

[0126] Embodiment 6

[0127] The present application also provides a computer program product, including a computer program, which implements the steps of the game screen optimization method as described above when executed by a processor.

[0128] The computer program product provided by the present application solves the technical problem of poor display effect of gaming devices. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the present application are the same as the beneficial effects of the game screen optimization method provided by the above embodiment, which will not be repeated here.

[0129] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.

Claims

1. A method for optimizing game screen, characterized in that: The game screen optimization method comprises: Acquire current device performance parameters of the gaming device and continuous game screen frames displayed by the gaming device in a preset time period; Constructing a game feature vector of the game device according to the game feature information in the continuous game screen frames, and mapping the game feature vector to a key frame probability of the game device displaying a game key frame at the next time step by using a preset key frame prediction model; Determine, according to the current device performance parameter and the key frame probability, the screen display special effect parameter corresponding to the game screen frame of the next time step; Controlling the game device to display the game screen frame of the next time step with the screen display special effect parameters; The screen display special effect parameters include screen display parameters and display special effect parameters, and the step of determining the screen display special effect parameters corresponding to the game screen frame of the next time step according to the current device performance parameters and the key frame probability includes: Obtaining current screen display parameters of the gaming device; Determining the screen display parameters corresponding to the game screen frame of the next time step according to the current screen display parameters, the current device performance parameters and the key frame probability; Determine the display special effect type and the corresponding display special effect data corresponding to the game screen frame of the next time step according to the key frame probability, and obtain the display special effect parameters; The current screen display parameter is the current resolution and / or the current refresh rate, and the step of determining the screen display parameter corresponding to the game screen frame of the next time step according to the current screen display parameter, the current device performance parameter and the key frame probability includes: Determining a first adjustment parameter range of the current resolution and / or a second adjustment parameter range of the current refresh rate according to the key frame probability; According to the current device performance parameter, selecting a first target adjustment parameter in the first adjustment parameter range and / or selecting a second target adjustment parameter in the second adjustment parameter range; Determining a target resolution of the gaming device according to the first target adjustment parameter and the current resolution, and / or determining a screen display parameter corresponding to a game screen frame at the next time step according to the second target adjustment parameter and the current refresh rate; The step of determining the display special effect type and the corresponding display special effect data corresponding to the game screen frame of the next time step according to the key frame probability, and obtaining the display special effect parameters includes: When the key frame probability is greater than or equal to a first preset key frame probability threshold, selecting the display special effect type corresponding to the game screen frame of the next time step as an enlarged screen, determining the magnification of the enlarged screen according to the key frame probability, and using the magnification as the display special effect data corresponding to the game screen frame of the next time step; In the case where the key frame probability is less than the first preset key frame probability threshold, if the key frame probability is greater than or equal to the second preset key frame probability threshold, the display special effect type corresponding to the game screen frame of the next time step is selected as highlight display, and the display feature of the highlight display of the game screen frame of the next time step is determined according to the key frame probability, and the display feature is used as the display special effect data corresponding to the game screen frame of the next time step; When the key frame probability is less than the first preset key frame probability threshold, if the key frame probability is less than the second preset key frame probability threshold, the display special effect type corresponding to the game screen frame of the next time step is selected as no special effect.

2. The game screen optimization method according to claim 1, characterized in that: The game feature information includes game character feature information and game scene feature information. Before the step of predicting the key frame probability of the game device displaying the game key frame at the next time step based on the game feature information in the continuous game screen frames, the step further includes: Acquire the number of game characters in the continuous game screen frames, the movement information of each game character, the character type corresponding to each game character, the game skill hit rate of each game character, and the game skill evasion rate of each game character to obtain the game character feature information; The scene complexity of the game scene in the continuous game screen frames is extracted to obtain the game scene feature information.

3. The game screen optimization method according to claim 2, characterized in that: The step of constructing a game feature vector of the gaming device according to the game feature information in the continuous game screen frames includes: Determining a character type label corresponding to each of the game characters according to the character type; The character type label, the number of characters, the movement information, the game skill hit rate, the game skill dodge rate and the scene complexity are spliced ​​into the game feature vector.

4. The game screen optimization method according to claim 1, characterized in that: The step of determining the screen display parameters corresponding to the game screen frame of the next time step according to the current screen display parameters, the current device performance parameters and the key frame probability comprises: Determining an adjustment parameter range of the current picture display parameter according to the key frame probability; According to the current device performance parameter, selecting a target adjustment parameter in the adjustment parameter range; The screen display parameters corresponding to the game screen frame of the next time step are determined according to the target adjustment parameters and the current screen display parameters.

5. The game screen optimization method according to claim 1, characterized in that: After the step of controlling the game device to display the game screen frame of the next time step with the screen display special effect parameters, the method further includes: Obtaining a device performance parameter threshold corresponding to the gaming device, and determining whether a real-time device performance parameter corresponding to the gaming device under the screen display special effect parameter is less than the device performance parameter threshold; If yes, then control the game device to continuously display the game screen frame of the next time step with the screen display special effect parameters; If not, reset the screen display special effect parameters of the game device and return to the execution step: determine whether the real-time device performance parameters corresponding to the game device under the screen display special effect parameters are less than the device performance parameter threshold.

6. The game screen optimization method according to claim 5, characterized in that: The device performance parameter threshold includes a memory occupancy threshold and a CPU occupancy threshold, and the step of obtaining the device performance parameter threshold corresponding to the gaming device includes: Obtaining device properties of the gaming device; According to the device attributes, a memory occupancy threshold and a CPU occupancy threshold corresponding to the gaming device are determined.

7. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the steps of the game screen optimization method described in any one of claims 1 to 6.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program for implementing a method for optimizing game screens, and the program for implementing a method for optimizing game screens is executed by a processor to implement the steps of the method for optimizing game screens as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Game synchronizing method and device

    CN108379832A

  • Method and device for automatically adjusting game parameters, mobile terminal and readable storage medium

    CN109529343A

  • Method, device and computer program product for controlling a game

    US10958766B1