CN116726506A - Game policy adjustment method, game policy adjustment device, electronic equipment and storage medium - Google Patents

Game policy adjustment method, game policy adjustment device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116726506A
CN116726506A CN202310653237.9A CN202310653237A CN116726506A CN 116726506 A CN116726506 A CN 116726506A CN 202310653237 A CN202310653237 A CN 202310653237A CN 116726506 A CN116726506 A CN 116726506A
Authority
CN
China
Prior art keywords
information
game
performance factor
memory
electronic equipment
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.)
Pending
Application number
CN202310653237.9A
Other languages
Chinese (zh)
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
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202310653237.9A priority Critical patent/CN116726506A/en
Publication of CN116726506A publication Critical patent/CN116726506A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/77Game security or game management aspects involving data related to game devices or game servers, e.g. configuration data, software version or amount of memory
    • 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
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/55Details of game data or player data management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Pinball Game Machines (AREA)

Abstract

The application discloses a game strategy adjustment method, a device, electronic equipment and a storage medium, which relate to the technical field of mobile terminals, wherein the method is applied to the electronic equipment and comprises the following steps: acquiring operation information of the electronic equipment, wherein the operation information comprises at least one of memory information, battery information and background information; based on the running information, obtaining a game environment evaluation result; and configuring the operation parameters of the target game application operated in the electronic equipment according to the game environment evaluation result. Therefore, the application evaluates the running environment of the running game application of the equipment based on the running information of each electronic equipment, and further dynamically adjusts the game strategy according to the game environment evaluation result, thereby improving the game experience of the user.

Description

Game policy adjustment method, game policy adjustment device, electronic equipment and storage medium
Technical Field
The present application relates to the field of mobile terminals, and more particularly, to a game policy method, apparatus, electronic device, and computer-readable storage medium.
Background
Today, many electronic devices are capable of running game applications and have corresponding game policies to ensure smooth game running, and in general, the game policies of the same model are consistent, and the game policies of different system versions under the same model may be different along with the update of the system versions. However, the device usage of each user varies, so that a fixed game policy cannot be adapted to all cases.
Disclosure of Invention
The application provides a game strategy adjustment method, a game strategy adjustment device, electronic equipment and a computer readable storage medium, so as to overcome the defects.
In a first aspect, an embodiment of the present application provides a game policy adjustment method, applied to an electronic device, where the method includes: acquiring operation information of the electronic equipment, wherein the operation information comprises at least one of memory information, battery information and background information; based on the running information, obtaining a game environment evaluation result; and configuring the operation parameters of the target game application operated in the electronic equipment according to the game environment evaluation result.
In a second aspect, an embodiment of the present application further provides a game policy adjustment device, which is applied to an electronic device, where the device includes: the game system comprises an operation information acquisition module, a game environment evaluation module and an operation parameter configuration module, wherein the operation information acquisition module is used for acquiring at least one item of operation information of the electronic equipment, and the operation information comprises memory information, battery information and background information; the game environment assessment module is used for acquiring a game environment assessment result based on at least one item of running information; the operation parameter configuration module is used for configuring the operation parameters of the target game application operated in the electronic equipment according to the game environment evaluation result.
In a third aspect, an embodiment of the present application further provides an electronic device, including: one or more processors; a memory; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured for use in the method described above.
In a fourth aspect, embodiments of the present application also provide a computer readable storage medium storing program code executable by a processor, the program code when executed by the processor causing the processor to perform the method described above.
The game strategy adjustment method provided by the application is applied to electronic equipment, and comprises the steps of obtaining operation information of the electronic equipment, then obtaining a game environment evaluation result based on the operation information, and finally configuring operation parameters of a target game application operated in the electronic equipment according to the game environment evaluation result, wherein the operation information comprises at least one of memory information, battery information and background information. Because the running information reflects the running state of the electronic equipment and the behavior habit of the user using the electronic equipment, the method can evaluate the running environment of the equipment running the game application based on the actual condition of each electronic equipment, further dynamically adjust the game strategy according to the game environment evaluation result, and improve the game experience of the user.
Additional features and advantages of embodiments of the application will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of embodiments of the application. The objectives and other advantages of embodiments of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 shows a flow chart of a game strategy adjustment method according to an embodiment of the application.
FIG. 2 illustrates a flow chart of another game strategy adjustment method according to one embodiment of the present application.
Fig. 3 shows a flow chart of yet another game strategy adjustment method according to an embodiment of the present application.
Fig. 4 shows a flow chart of yet another game strategy adjustment method according to an embodiment of the present application.
Fig. 5 is a block diagram showing a game strategy adjustment device according to an embodiment of the present application.
Fig. 6 shows a block diagram of an electronic device according to an embodiment of the present application.
Fig. 7 shows a block diagram of a computer-readable storage medium according to an embodiment of the present application.
Fig. 8 shows a block diagram of a computer program product according to an embodiment of the application.
Detailed Description
In order to make the present application better understood by those skilled in the art, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
The game policy adjustment method, the device, the electronic equipment and the storage medium provided by the embodiment of the application are explained in detail through specific embodiments.
Referring to fig. 1, fig. 1 shows a flow chart of a game policy adjustment method provided by the embodiment of the application, and the game policy adjustment method provided by the embodiment can be applied to electronic devices, specifically, electronic devices capable of running game applications, such as smart phones and tablet computers. The method comprises the following steps:
s110: and acquiring operation information of the electronic equipment, wherein the operation information comprises at least one of memory information, battery information and background information.
In this embodiment, the running information includes at least one of memory information, battery information and background information, and as an implementation manner, the memory information is used to represent a maximum memory of the electronic device, the battery information is used to represent a battery aging degree of the electronic device, and the background information is used to represent a CPU load and a memory pressure of the electronic device, that is, the running information may reflect a device state of the electronic device when the game application is running.
As an embodiment, the acquiring the operation information of the electronic device may be acquiring the memory information of the electronic device, and further, may be reading the maximum capacity of a random access memory (Random Access Memory, RAM) of the electronic device, that is, the maximum operation memory. Illustratively, the memory information may be represented by a maximum operating memory specification such as a 4G specification/6G specification/8G specification/12G specification.
In one embodiment, the acquiring the operation information of the electronic device may be acquiring battery information of the electronic device, further, may be acquiring a current power and power ratio of the device through dump sys battery command, calculating a battery capacity in a full power scene, and then comparing the battery capacity with a standard capacity to calculate a battery aging degree. For example: when the current electric quantity of the obtained equipment is 2000mAH and the electric quantity proportion is 50%, the battery capacity under the full electric field scene is calculated to 4000mAH, and meanwhile, the standard capacity of the obtained equipment is 4200mA, the battery aging degree parameters can be calculated as follows: 1-4000/4200=4.7%. The battery information may be represented by a battery aging degree parameter, for example.
As an implementation manner, the obtaining the running information of the electronic device may be obtaining background information of the electronic device, and further, may be reading other application information of the electronic device that is synchronously running in the background when running the game application, including the number/type of the background application, so as to calculate, according to CPU storage spaces occupied by different background applications, a CPU load and running memory pressure of the device. The background information may be represented by CPU occupancy and running memory occupancy, for example.
As an implementation manner, the acquiring the operation information of the electronic device may be acquiring any two or all of the memory information, the battery information, and the background information of the electronic device, and for convenience of understanding, the following embodiments are described by taking three information of acquiring the memory information, the battery information, and the background information of the electronic device as examples, but may be used to acquire any two or only one of the memory information, the battery information, and the background information, or may be used to acquire any two or all of the information, which is not limited herein.
S120: and acquiring a game environment evaluation result based on the running information.
As an implementation mode, the memory information, the battery information and the background information in the running information can be normalized to obtain various information parameters, and the game environment evaluation result can be obtained through calculation according to the respective influence proportion. For example, if the normalized memory information parameter is a, the battery information parameter is b, the background information parameter is c, and the impact ratio is 1:1:1, the overall state parameter P of the device at this time can be calculated according to a/3+b/3+c/3, and the overall state parameter P of the device is used as the game environment evaluation result. Further, assuming that the smaller the memory information parameter, the battery information parameter and the background information parameter are, the worse the corresponding memory state of the device, the battery state of the device and the background state of the device are, the smaller the calculated overall state parameter of the device is, the worse the game running environment provided by the device is, that is, the overall state parameter of the device can reflect the quality of the game running environment of the device on the comprehensive level by combining various state information of the device.
S130: and configuring the operation parameters of the target game application operated in the electronic equipment according to the game environment evaluation result.
As an implementation manner, the operation parameters may include a game frame rate, and specifically, the game environment evaluation result can reflect the quality of the game operation environment of the device, for example, the lower the game environment evaluation result is, the worse the game operation environment of the device is represented, so that the game frame rate may be tightly limited, and the smoothness of game operation and user experience may be improved. Further, an adjustment policy of the operation parameters with respect to the game environment evaluation result may be established in advance, for example, if the game environment evaluation result is 90 minutes, the game frame rate is limited to a maximum of 60 frames, and if the game environment evaluation result is 60 minutes, the game frame rate is limited to a maximum of 30 frames, so that the operation parameters are adjusted in real time according to the game environment evaluation result.
The game strategy adjustment method provided by the embodiment is applied to the electronic equipment, and the operation information of the equipment is obtained and the game environment evaluation result of the equipment is obtained based on the operation information, so that the operation parameters of the target game application operated in the electronic equipment are configured according to the game environment evaluation result, wherein the operation information comprises at least one of memory information, battery information and background information, and the game environment evaluation result can be an evaluation result reflecting single information or a comprehensive result combining multiple pieces of information.
Referring to fig. 2, fig. 2 is a flowchart illustrating another game policy adjustment method according to an embodiment of the present application, where the method includes:
s210: and acquiring operation information of the electronic equipment, wherein the operation information comprises at least one of memory information, battery information and background information.
The specific embodiment of step S210 may refer to the specific embodiment of step S110, and will not be described herein.
S220: and acquiring corresponding performance factors based on the operation information.
As an implementation manner, the performance factor is used for representing whether the operation state corresponding to the operation information is good or bad, and the higher the performance factor is, the better the equipment state is represented. Further, each item of operation information has a specific corresponding relation with the corresponding performance factor, so that the corresponding performance factor can be obtained based on the operation information.
As an implementation manner, the operation information includes memory information, the memory information corresponds to a memory information performance factor, a basic performance factor may be set as a, a memory performance factor parameter is set for different memory information to adjust the memory information performance factor, the lower the memory is, the smaller the memory performance factor parameter is, the smaller the memory information performance factor is, for example, the memory information is 8G specification and above corresponds to a 1, the memory information performance factor corresponding to the memory information is 6G specification is adjusted to a 0.9, and the memory information performance factor corresponding to the memory information is 4G specification is adjusted to a 0.6. Further, a first correspondence between the memory information and the memory information performance factor may be pre-established, and, for example, the first correspondence may be a non-linear relationship of positive correlation, so that the corresponding memory information performance factor may be obtained based on the memory information according to the first correspondence.
As an embodiment, the operation information includes battery information, the battery information corresponds to a battery information performance factor, the basic performance factor may be set to B, and the battery information performance factor is adjusted by setting a battery performance factor parameter for different battery information, for example, if the battery aging degree parameter is 0, the corresponding battery information performance factor is b×1; if the battery aging degree parameter is 10%, the corresponding battery information performance factor is adjusted to be B0.9; if the battery aging degree parameter is 20%, the corresponding battery information performance factor is adjusted to B x 0.6. Further, a second correspondence between the battery information and the battery information performance factor may be pre-established, and illustratively, the second correspondence may be a non-linear relationship with negative correlation, so that the corresponding battery information performance factor may be obtained based on the battery information according to the second correspondence.
As an embodiment, the operation information includes background information, the background information corresponds to a background information performance factor, the background information performance factor may be adjusted by setting a background performance factor parameter for different background information, for example, if the CPU occupancy is 10% or less, the corresponding background information performance factor is c×1, if the CPU occupancy is 20%, the corresponding background information performance factor is c×0.9, and if the CPU occupancy is 30%, the corresponding background information performance factor is c×0.6. Further, a third corresponding relationship between the background information and the background information performance factor may be pre-established, and illustratively, the third corresponding relationship may be a non-linear relationship with negative correlation, so that the corresponding background information performance factor may be obtained based on the background information according to the third corresponding relationship.
As an implementation manner, the operation information includes any two or all three of the memory information, the battery information and the background information, where the memory information corresponds to a memory information performance factor, the battery information corresponds to a battery information performance factor, and the background information corresponds to a background information performance factor, and further, the obtaining of the performance factor may refer to the foregoing embodiments and will not be described herein.
S230: and calculating to obtain a game environment evaluation result according to the performance factor and the preset factor influence duty ratio.
In this embodiment, the game environment evaluation result may be obtained by calculating, according to the performance factor and the preset factor influence duty ratio, a device overall state parameter P based on the performance factor and the preset factor influence duty ratio after unifying the dimensions of the performance factors corresponding to the running information, for example, if the running information of the device includes memory information of 4G, the battery information of 10% of battery aging, the CPU occupancy rate of 20%, and the preset factor influence duty ratio of 1:1:1, then p= (a×0.6)/3+ (b×0.6)/3+ (c×0.9) because the higher the performance factor is to represent the better the device state, the larger the P value is to represent the better the device state, so the P value may be used as the game environment evaluation result to reflect the game running environment of the device.
As an embodiment, the setting of the factor influence duty ratio may be related to a performance factor parameter of each piece of operation information, for example, the factor influence duty ratio may be set to have a positive correlation with a specific gravity of the performance factor parameter, that is, the greater the performance factor parameter is, the greater the corresponding operation information factor influence duty ratio is, for example, if the memory information performance factor is a×0.6, the battery information performance factor is b×0.9, the background information performance factor is c×0.9, and the operation information performance factor parameter ratio is 2:3:3, the factor influence duty ratio is set to be 2:3:3 based on the specific gravity of the operation information performance factor parameter. Also for example, the factor influence duty cycle may be set to have a negative correlation with the specific gravity of the performance factor parameter, i.e. the larger the performance factor parameter, the smaller the corresponding operation information factor influence duty cycle. It can be understood that if the factor influence duty ratio and the specific gravity of the performance factor parameter are in positive correlation, the influence of relatively poor running information on the game environment evaluation result is enhanced, so that the final running parameter adjustment can be adapted to the worst game running environment, and the game running fluency is greatly improved; if the factor influence proportion and the performance factor parameter proportion are in a negative correlation, the influence of relatively poorer running information on the game environment evaluation result is weakened, so that the final running parameter adjustment is more balanced, and the higher game frame rate which can be supported in the current running environment can be obtained on the premise of ensuring certain fluency. In particular, the correlation of factor impact duty cycle to specific gravity of performance factor parameters may be selected by the device user at his discretion to accommodate different needs of different game users.
S240: and configuring the operation parameters of the target game application operated in the electronic equipment according to the game environment evaluation result.
The specific embodiment of step S240 may refer to the specific embodiment of step S130, and will not be described herein.
The game strategy adjustment method provided by the embodiment is applied to the electronic equipment, and is used for obtaining the game environment evaluation result by obtaining the operation information and the performance factors corresponding to the operation information and calculating the game environment evaluation result based on the performance factors and the preset factor influence ratio, and then configuring the operation parameters of the target game application operated in the electronic equipment according to the game environment evaluation result. Therefore, the influence of each item of running information on the game environment is quantified by setting the performance factor, and the final game environment evaluation result is more suitable for different user requirements by setting the adjustable factor influence duty ratio, so that the game experience is improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating another method for adjusting a game policy according to an embodiment of the present application, where the method includes:
s310: and acquiring operation information of the electronic equipment, wherein the operation information comprises at least one of memory information, battery information and background information.
S320: and acquiring corresponding performance factors based on the operation information.
S330: and calculating to obtain a game environment evaluation result according to the performance factor and the preset factor influence duty ratio.
The specific embodiments of step S310 to step S330 can refer to the specific embodiments of step S210 to step S230, and are not described herein.
S340: and comparing the game environment evaluation result with an environment threshold value to obtain a first judgment result.
In this embodiment, the game environment evaluation result is represented by an overall device state parameter P, and the environment threshold may be preset in the electronic device to determine whether the running environment of the device can ensure the normal running of the target game application, further, the environment threshold may be related to a game type of the target game application, for example, for a Role-playing game (rpg) type, where the model precision is high, the scene is complex, and the requirement on the running environment is higher compared with other types of games, and at this time, the environment threshold may be increased correspondingly.
As an implementation manner, the comparison of the game environment evaluation result with the environment threshold may be that the overall state parameter P of the device is compared with the environment threshold, and the obtained first judgment result is that the game environment evaluation result is not higher than the environment threshold, which indicates that the game running environment is worse and needs to be adjusted, or that the game environment evaluation result is higher than the environment threshold, which indicates that the game running environment does not need to be adjusted.
S350: and if the first judgment result is that the game environment assessment result is not higher than the environment threshold value, configuring the operation parameters of the target game application operated in the electronic equipment based on a first adjustment strategy, wherein the first adjustment strategy is a functional relation representing the operation parameters and the game environment assessment result.
In this embodiment, the first determination result is that the game environment evaluation result is not higher than the environment threshold, which indicates that the running environment of the target game application is poor, and parameter adjustment needs to be performed on the target game application, and then, according to the game environment evaluation result, the running parameters of the target game application running in the electronic device are configured, which may be the running parameters of the target game application running in the electronic device are configured based on a first adjustment policy, and further, the first adjustment policy is a functional relationship that characterizes the running parameters and the game environment evaluation result. For example, when the operation parameter is a game frame rate, the first adjustment policy may be a direct proportion function, and the lower the game environment evaluation result is, the lower the game frame rate capable of supporting smooth operation is correspondingly, that is, the operation parameter of the target game application should be adjusted.
As an implementation manner, the operation parameters may further include other game parameters, such as a state of charge (SOC) resource parameter, a temperature control parameter, etc., it may be understood that the first adjustment policies corresponding to different operation parameters may be different, and for a case where there are multiple operation parameters, parameter adjustment may be performed on the multiple operation parameters sequentially based on a preset adjustment priority by using the different first adjustment policies.
The game strategy adjustment method provided by the embodiment is applied to the electronic equipment, the operation information and the corresponding performance factors of the electronic equipment are obtained, the game environment evaluation result is calculated according to the performance factors and the preset factor influence ratio, then the game environment evaluation result is compared with the environment threshold value to obtain the first judgment result, if the first judgment result is that the game environment evaluation result is not higher than the environment threshold value, the operation parameters of the target game application operated in the electronic equipment are configured through the first adjustment strategy, therefore, the game parameter configuration is carried out under the condition that the game environment evaluation result is not higher than the environment threshold value by setting the environment threshold value, and the game parameters are configured based on the first adjustment strategy when adjustment is needed, so that the workload of a processor is reduced, and the configuration mode of the game parameters is more accordant with the game operation environment condition.
However, when the running information includes a plurality of types, the game evaluation result reflects the state of the game running environment under the common influence of a plurality of running information, and since the game is calculated according to the performance factors and factor influence ratios of a plurality of running information, there may be a case where some running information is too low but the remaining running information is high, so that the final game evaluation result is higher than the environment threshold value, and thus the game running parameters are not adjusted.
Therefore, referring to fig. 4, fig. 4 is a flow chart illustrating a method for adjusting a game policy according to an embodiment of the application, where the method includes:
s410: and acquiring operation information of the electronic equipment, wherein the operation information comprises at least one of memory information, battery information and background information.
S420: and acquiring corresponding performance factors based on the operation information.
S430: and calculating to obtain a game environment evaluation result according to the performance factor and the preset factor influence duty ratio.
S440: and comparing the game environment evaluation result with an environment threshold value to obtain a first judgment result.
The specific embodiments of step S410 to step S440 can refer to the specific embodiments of step S310 to step S340, and are not described herein.
S450: and if the first judgment result is that the game environment assessment is higher than the environment threshold, comparing the performance factor corresponding to each item of running information with the performance factor threshold to obtain a second judgment result.
In this embodiment, if the first determination result is that the game environment evaluation result is higher than the environment threshold, the characterization game running environment may be obtained without performing game parameter adjustment. However, in the case that the game environment evaluation result is calculated based on multiple pieces of operation information, there is still a possibility that the single piece of operation information is too low to affect the operation of the game, so that the performance factor corresponding to each piece of operation information is compared with the performance factor threshold to obtain a second judgment result, where the performance factor threshold is used to judge that the piece of operation information of the device can support the normal operation of the target game application, it can be understood that a specific performance factor threshold can be set for each piece of operation information, and a uniform performance factor threshold can also be set for all pieces of operation information.
As an implementation manner, the comparing the performance factor corresponding to each item of running information with the performance factor threshold may be comparing the performance factor of each item of running information with the corresponding performance factor to obtain a judging result capable of reflecting the state of each item of running information, if the performance factor is not higher than the performance factor threshold, it is indicated that the state of the item of running information is worse and needs to be adjusted by the game parameter, and if the performance factor is higher than the performance factor threshold, it is indicated that the state of the item of running information does not need to be adjusted by the game parameter. It can be obtained that the second judgment result may contain only the following two results, no matter how much operation information is present: the performance factor of the existing operation information is not higher than the performance factor threshold, and the performance factors of all the operation information are higher than the performance factor threshold.
S460: and if the second judging result shows that the performance factor is not higher than the performance factor threshold, configuring the operation parameters of the target game application operated in the electronic equipment based on a second adjustment strategy, wherein the second adjustment strategy is a functional relation representing the operation parameters and the performance factor.
As an implementation manner, the operation parameters may further include other game parameters, and the second adjustment policy characterizes a functional relationship between the operation parameters and the performance factors, it may be understood that the second adjustment policies corresponding to different operation parameters may be different, and for a case that a plurality of operation parameters exist, parameter adjustment may also be performed on the plurality of operation parameters in sequence based on a preset adjustment priority by using the different second adjustment policies; the second adjustment strategies corresponding to different performance factors can also be different, and for the same operation parameter, parameter adjustment can also be performed according to the second adjustment strategies of the performance factors affecting different operation information of the same operation parameter. For example, when the running parameter is the game frame rate, and when the second judging result is that the performance factor is not higher than the performance factor threshold, the running information which does not reach the performance factor threshold is detected to be the memory information, a second adjustment strategy between the memory information and the game frame rate is read, and the game frame rate is adjusted according to the memory information based on the second adjustment strategy.
The game policy adjustment method provided by the embodiment of the application is applied to electronic equipment, operation information and corresponding performance factors of the electronic equipment are obtained, then a game environment evaluation result is calculated according to the performance factors and the preset factor influence ratio, then the game environment evaluation result is compared with an environment threshold value to obtain a first judgment result, if the first judgment result is that the game environment evaluation is higher than the environment threshold value, the performance factors corresponding to each item of operation information are compared with the performance factor threshold value to obtain a second judgment result, and if the second judgment result is that the performance factors are not higher than the performance factor threshold value, the operation parameters of the target game application operated in the electronic equipment are configured based on the second adjustment policy, so that the situation that the game evaluation result is influenced by a plurality of items of operation information to display normal but the normal operation of the target game application cannot be supported is avoided by detecting whether the performance factors corresponding to the operation information exceeds the performance factor threshold value again, and the sensitivity of parameter adjustment is improved.
Referring to fig. 5, fig. 5 shows a block diagram of a game policy adjustment device 500 according to an embodiment of the application, where the device includes: an operation information acquisition module 501, a game environment evaluation module 502 and an operation parameter configuration module 503.
The operation information obtaining module 501 is configured to obtain operation information of the electronic device, where the operation information includes at least one of memory information, battery information, and background information.
The game environment evaluation module 502 is configured to obtain a game environment evaluation result based on the running information.
An operation parameter configuration module 503, configured to configure an operation parameter of a target game application running in the electronic device according to the game environment evaluation result.
In some embodiments, the game environment assessment module 502 is further configured to obtain a corresponding performance factor based on the running information; and calculating to obtain a game environment evaluation result according to the performance factor and the preset factor influence duty ratio.
In some embodiments, the running information includes memory information, where the memory information is used to characterize a maximum memory of the electronic device, and the game environment evaluation module 502 is further configured to obtain a first pre-established correspondence between the memory information and a memory information performance factor, where the first correspondence is a positive correlation nonlinear relationship; and acquiring the memory information performance factor based on the first corresponding relation.
In some embodiments, the operation information includes battery information, where the battery information is used to characterize a battery aging degree of the electronic device, and the game environment evaluation module 502 is further configured to obtain a second pre-established correspondence between the battery information and a battery information performance factor, where the second correspondence is a negative correlation nonlinear relationship; and acquiring the battery information performance factor based on the second corresponding relation.
In some embodiments, the running information includes background information, where the background information is used to characterize a CPU load and a memory pressure of the electronic device, and the game environment evaluation module 502 is further configured to obtain a third pre-established correspondence between the background information and a background information performance factor, where the third correspondence is a negative correlation nonlinear relationship; and acquiring the background information performance relationship based on the third corresponding relationship.
In some embodiments, the operation parameter configuration module 503 is further configured to compare the game environment evaluation result with an environment threshold value to obtain a first judgment result; and if the first judgment result is that the game environment assessment result is not higher than the environment threshold value, configuring the operation parameters of the target game application operated in the electronic equipment based on a first adjustment strategy, wherein the first adjustment strategy is a functional relation representing the operation parameters and the game environment assessment result.
In some embodiments, the operation parameter configuration module 503 is further configured to compare the game environment evaluation result with an environment threshold value to obtain a first judgment result, and if the first judgment result is that the game environment evaluation is higher than the environment threshold value, compare a performance factor corresponding to each item of operation information with a performance factor threshold value to obtain a second judgment result; and if the second judging result shows that the performance factor is not higher than the performance factor threshold, configuring the operation parameters of the target game application operated in the electronic equipment based on a second adjustment strategy, wherein the second adjustment strategy is a functional relation representing the operation parameters and the performance factor.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus and modules described above may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
In several embodiments provided by the present application, the coupling of the modules to each other may be electrical, mechanical, or other.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
Referring to fig. 6, fig. 6 shows a block diagram of an electronic device 600 according to an embodiment of the application. The electronic device 600 may be a smart phone, a notebook computer, a desktop computer, a tablet computer, etc. capable of running a game application, the electronic device 600 comprising a memory 601 and a processor 602 and one or more application programs, wherein the processor 602 is electrically connected to the memory 601, the one or more program being configured to perform the method as described in the embodiments of the histogram statistics data access method described above.
The processor 602 may include one or more processing cores. The processor 602 utilizes various interfaces and lines to connect various portions of the overall electronic device 600, perform various functions of the electronic device 600, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 601, and invoking data stored in the memory 601. Alternatively, the processor 602 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 602 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. Wherein, the CPU mainly processes an operating system, a user interface, a computer program and the like; the GPU is used for being responsible for rendering and drawing of display content; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 602 and may be implemented solely by a single communication chip. The method as described in the previous embodiments may be performed in particular by one or more processors 602.
The memory 601 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 601 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the electronic device 600 in use, and the like.
Referring to fig. 7, a block diagram of a computer readable storage medium according to an embodiment of the application is shown. The computer readable medium 700 has stored therein program code which may be invoked by a processor to perform the methods described in the method embodiments above.
The computer readable storage medium 700 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 600 comprises a non-volatile computer readable medium (non-transitory computer-readable storage medium). The computer readable storage medium 700 has memory space for program code 710 that performs any of the method steps described above. The program code can be read from or written to one or more computer program products. Program code 710 may be compressed, for example, in a suitable form.
Referring to FIG. 8, a block diagram 800 of a computer program product according to an embodiment of the present application is shown. Included in the computer program product 800 are computer programs/instructions 810 which when executed by a processor implement the steps of the method described above.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be appreciated by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not drive the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A game strategy adjustment method applied to an electronic device, the method comprising:
acquiring operation information of the electronic equipment, wherein the operation information comprises at least one of memory information, battery information and background information;
based on the running information, obtaining a game environment evaluation result;
and configuring the operation parameters of the target game application operated in the electronic equipment according to the game environment evaluation result.
2. The method of claim 1, wherein the obtaining a game environment assessment result based on the running information comprises:
based on the operation information, obtaining a corresponding performance factor;
and calculating to obtain a game environment evaluation result according to the performance factor and the preset factor influence duty ratio.
3. The method of claim 2, wherein the operation information includes memory information, the memory information is used to characterize a maximum memory of the electronic device, and the obtaining the corresponding performance factor based on each item of operation information includes:
acquiring a first pre-established corresponding relation between the memory information and a memory information performance factor, wherein the first corresponding relation is a positive correlation nonlinear relation;
and acquiring the memory information performance factor based on the first corresponding relation.
4. The method of claim 2, wherein the operation information includes battery information, the battery information being used to characterize a battery aging degree of the electronic device, the obtaining the corresponding performance factor based on each item of operation information includes:
acquiring a second corresponding relation between the battery information and the battery information performance factor, wherein the second corresponding relation is a negative correlation nonlinear relation;
and acquiring the battery information performance factor based on the second corresponding relation.
5. The method of claim 2, wherein the operation information includes background information, the background information is used to characterize a CPU load and a memory pressure of the electronic device, and the obtaining the corresponding performance factor based on each item of operation information includes:
acquiring a pre-established third corresponding relation between the background information and the background information performance factor, wherein the third corresponding relation is a negative correlation nonlinear relation;
and acquiring the background information performance relationship based on the third corresponding relationship.
6. The method of claim 2, wherein configuring the operating parameters of the target gaming application operating within the electronic device based on the game environment assessment results comprises:
comparing the game environment evaluation result with an environment threshold value to obtain a first judgment result;
and if the first judgment result is that the game environment assessment result is not higher than the environment threshold value, configuring the operation parameters of the target game application operated in the electronic equipment based on a first adjustment strategy, wherein the first adjustment strategy is a functional relation representing the operation parameters and the game environment assessment result.
7. The method of claim 6, wherein after said comparing said game environment assessment result to an environment threshold value to obtain a determination result, the method further comprises:
if the first judgment result is that the game environment assessment is higher than the environment threshold, comparing the performance factor corresponding to each item of running information with a performance factor threshold to obtain a second judgment result;
and if the second judging result shows that the performance factor is not higher than the performance factor threshold, configuring the operation parameters of the target game application operated in the electronic equipment based on a second adjustment strategy, wherein the second adjustment strategy is a functional relation representing the operation parameters and the performance factor.
8. A game policy adjustment device applied to an electronic device, comprising:
the operation information acquisition module is used for acquiring operation information of the electronic equipment, wherein the operation information comprises at least one of memory information, battery information and background information;
the game environment assessment module is used for acquiring a game environment assessment result based on the running information;
and the operation parameter configuration module is used for configuring the operation parameters of the target game application operated in the electronic equipment according to the game environment evaluation result.
9. An electronic device, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to perform the method of any of claims 1-7.
10. A computer readable medium, characterized in that the computer readable medium stores a program code executable by a processor, which program code, when executed by the processor, causes the processor to perform the method of any of claims 1-7.
CN202310653237.9A 2023-06-02 2023-06-02 Game policy adjustment method, game policy adjustment device, electronic equipment and storage medium Pending CN116726506A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310653237.9A CN116726506A (en) 2023-06-02 2023-06-02 Game policy adjustment method, game policy adjustment device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310653237.9A CN116726506A (en) 2023-06-02 2023-06-02 Game policy adjustment method, game policy adjustment device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116726506A true CN116726506A (en) 2023-09-12

Family

ID=87909046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310653237.9A Pending CN116726506A (en) 2023-06-02 2023-06-02 Game policy adjustment method, game policy adjustment device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116726506A (en)

Similar Documents

Publication Publication Date Title
US8296781B1 (en) System, method, and computer program product for determining application parameters based on hardware specifications
CN109901881B (en) Plug-in loading method and device of application program, computer equipment and storage medium
US8276133B1 (en) System, method, and computer program product for determining a plurality of application settings utilizing a mathematical function
CN102831045A (en) Method and device for detecting starting items in terminal equipment
US9092573B2 (en) System, method, and computer program product for testing device parameters
CN112203034B (en) Frame rate control method and device and electronic equipment
CN111508051B (en) Texture loading method and related device
CN110703944B (en) Touch data processing method and device, terminal and storage medium
CN112087354A (en) Communication protocol testing method and device, electronic equipment and storage medium
CN112587920A (en) Device control method, device, electronic device and storage medium
CN109302523B (en) Mobile phone performance evaluation method for mobile phone side and server side
CN111459682B (en) Frequency adjustment method, device, electronic equipment and storage medium
CN116726506A (en) Game policy adjustment method, game policy adjustment device, electronic equipment and storage medium
CN115657570B (en) Intelligent chip control method and device in low power consumption mode and storage medium
CN112445704A (en) Test method, test device and storage medium
CN113032232B (en) Correlation method, correlation device and equipment for performance detection of equipment
CN115797267A (en) Image quality evaluation method, system, electronic device, and storage medium
CN116133089A (en) Equipment communication method and device, electronic equipment and storage medium
CN108803857A (en) Application software energy consumption monitoring method, mobile terminal and readable storage medium storing program for executing
CN105611550B (en) A kind of determining method and device of mobile terminal power consumption
CN110377258B (en) Image rendering method and device, electronic equipment and storage medium
CN108736082B (en) Method, device, equipment and storage medium for improving endurance capacity of terminal battery
CN111510622A (en) Image processing method, device, terminal and storage medium
CN113918002B (en) Frequency modulation method, frequency modulation device, storage medium and electronic equipment
CN118158476A (en) Frame stabilizing processing method and device, electronic equipment and 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