CN110496387A - Game optimization method, device, mobile terminal and storage medium - Google Patents

Game optimization method, device, mobile terminal and storage medium Download PDF

Info

Publication number
CN110496387A
CN110496387A CN201910786318.XA CN201910786318A CN110496387A CN 110496387 A CN110496387 A CN 110496387A CN 201910786318 A CN201910786318 A CN 201910786318A CN 110496387 A CN110496387 A CN 110496387A
Authority
CN
China
Prior art keywords
game application
game
application
region
touch control
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.)
Granted
Application number
CN201910786318.XA
Other languages
Chinese (zh)
Other versions
CN110496387B (en
Inventor
李军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201910786318.XA priority Critical patent/CN110496387B/en
Publication of CN110496387A publication Critical patent/CN110496387A/en
Application granted granted Critical
Publication of CN110496387B publication Critical patent/CN110496387B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • 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/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • 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/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • 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
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5018Thread allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

This application discloses a kind of game optimization method, device, mobile terminal and storage mediums, applied to mobile terminal, the described method includes: detecting the current running game of the mobile terminal in application, touch control operation in the operation interface for being detected on the game application;When detecting the touch control operation in the operation interface, judge whether the corresponding touch area of the touch control operation detected is the game application corresponding setting manipulation region;Region is manipulated if it is the corresponding setting of the game application, according to the corresponding Performance Strategy for Optimizing of the game application, adjusts the resource allocation to the game application.This method can promote the touch-control response of game application, reduce the blunt sense of touch-control and Caton sense.

Description

Game optimization method, device, mobile terminal and storage medium
Technical field
This application involves technical field of mobile terminals, eventually more particularly, to a kind of game optimization method, device, movement End and storage medium.
Background technique
Mobile terminal, such as mobile phone, tablet computer etc. have become most common consumer electronics in people's daily life One of product.In order to meet the diversity of user demand, there are many user-friendly applications, as instant messaging is answered With, game application etc..Wherein, game application is by many user installations in mobile terminal.Usual game application needs quickly mostly Touch-control response, so that user has a preferable game experiencing, but the operation of game application at present will receive system resource allocation often Influence so that game application run when there is Caton.
Summary of the invention
In view of the above problems, present applicant proposes a kind of game optimization method, device, mobile terminal and storage medium, with Improve the above problem.
In a first aspect, the embodiment of the present application provides a kind of game optimization method, it is applied to mobile terminal, the method packet It includes: detecting the current running game of the mobile terminal in application, touching in the operation interface for being detected on the game application Control operation;When detecting the touch control operation in the operation interface, the corresponding Touch Zone of the touch control operation detected is judged Whether domain is the game application corresponding setting manipulation region;Region is manipulated if it is the corresponding setting of the game application, Then according to the corresponding Performance Strategy for Optimizing of the game application, the resource allocation to the game application is adjusted.
Second aspect, the embodiment of the present application provide a kind of game optimization device, are applied to mobile terminal, described device packet It includes: operation detection module, region decision module and resource adjustment module, wherein the operation detection module is for detecting To the current running game of the mobile terminal in application, being detected on the touch control operation in the operation interface of the game application;Institute Region decision module is stated for judging the touch control operation pair detected when detecting the touch control operation in the operation interface Whether the touch area answered is the game application corresponding setting manipulation region;The resource adjustment module is used for if it is institute Game application corresponding setting manipulation region is stated to adjust then according to the corresponding Performance Strategy for Optimizing of the game application to described The resource allocation of game application.
The third aspect, the embodiment of the present application provide a kind of mobile terminal, comprising: one or more processors;Memory; One or more application program, wherein one or more of application programs be stored in the memory and be configured as by One or more of processors execute, and one or more of programs are configured to carry out the game that above-mentioned first aspect provides Optimization method.
Fourth aspect, the embodiment of the present application provides a kind of computer-readable storage medium, described computer-readable Program code is stored in storage medium, said program code can be called the game for executing above-mentioned first aspect and providing by processor Optimization method.
Scheme provided by the present application, by detecting that the current running game of mobile terminal answers in application, being detected on game Touch control operation in operation interface judges to detect when detecting the touch control operation in the operation interface of game application To the corresponding touch area of touch control operation whether be game application corresponding setting manipulation region, it is corresponding if it is game application Setting manipulate region, then according to the corresponding Performance Strategy for Optimizing of game application, adjust the resource allocation to game application.Therefore The touch control operation for detecting corresponding setting manipulation region in game application operation is realized, then can be adjusted to game application Resource allocation, promote the speed of touch-control response, reduce that touch-control is blunt and Caton, promote the game experiencing of user.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 shows the game optimization method flow chart according to the application one embodiment.
Fig. 2 shows the game optimization method flow charts according to the application another embodiment.
Fig. 3 shows the game optimization method flow chart according to another embodiment of the application.
Fig. 4 shows the game optimization method flow chart according to the application further embodiment.
Fig. 5 shows a kind of block diagram for optimizing device according to the game of the application one embodiment.
Fig. 6 shows another block diagram for optimizing device according to the game of the application one embodiment.
Fig. 7 shows the block diagram for optimizing region decision module in device according to the game of the application one embodiment.
Fig. 8 is the embodiment of the present application for executing the mobile terminal of the game optimization method according to the embodiment of the present application Block diagram.
Fig. 9 is the embodiment of the present application for saving or carrying the game optimization method realized according to the embodiment of the present application Program code storage unit.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described.
With the continuous development of mobile terminal, more and more users like installing game application on mobile terminals, with Dismiss the spare time.Game application needs user to carry out touch control operation on touch screen mostly, to complete corresponding game operation, Therefore, user's also quick touch-control response of demand when playing game, to reach preferable game experiencing.For example, battle class game It usually requires to carry out real-time game operation, to achieve the purpose that fight in real time.
Inventor is by prolonged the study found that limited system resources and system due to mobile terminal are distributed to The resource of game application is limited, and user is playing the touch control operation made when game, it may appear that touch-control Caton, it is blunt the problems such as.
In view of the above-mentioned problems, inventors herein proposing game optimization method provided by the embodiments of the present application, device, mobile terminal And storage medium, when the touch control operation in the setting manipulation region in the operation interface by detecting game application, according to this The corresponding Performance Strategy for Optimizing of game application adjusts the resource allocation to game application, to reduce touching when game application operation Caton, blunt etc. are controlled, the game experiencing of user is promoted.
Referring to Fig. 1, Fig. 1 shows the flow diagram of the game optimization method of the application one embodiment offer.Institute When stating touch control operation of the game optimization method for the setting manipulation region in the operation interface by detecting game application, root According to the corresponding Performance Strategy for Optimizing of the game application, the resource allocation to game application is adjusted, when reducing game application operation Touch-control Caton, blunt etc., promote the game experiencing of user.In the particular embodiment, the game optimization method is applied to Game optimization device 400 as shown in Figure 5 and the mobile terminal 100 (Fig. 8) configured with game optimization device 400.Under Face will illustrate the detailed process of the present embodiment by taking mobile terminal as an example, it will of course be understood that, it is moved applied by the present embodiment Dynamic terminal can be for smart phone, tablet computer, e-book etc., it is not limited here.Below will for process shown in FIG. 1 into The detailed elaboration of row, the game optimization method can specifically include following steps:
Step S110: the current running game of the mobile terminal is being detected in application, being detected on the game application Touch control operation in operation interface.
In the embodiment of the present application, game application can be mounted to the application program of the game class of mobile terminal.Game Using can run in the operating system of mobile terminal, and provide visual user interface.The operating system of mobile terminal Refer to that the operating system of mobile terminal institute installation and operation, operating system can be Android android system, is also possible to The operating system iOS of Apple Inc., is also possible to Windows system etc., it is not limited here.
In some embodiments, game application can be the game application of individual packages, wherein game application is independent Application, program or client;Game application is also possible to provide the application of entrance by third-party application, i.e. game application can To provide entrance by specified third-party application, without installation and downloading, it can be run in mobile terminal, not limit herein It is fixed.
In some embodiments, game application can be the application of a variety of game modes, for example, may include shooting Game application, chess and card games application, policy class game application, tactics sports class game application etc., certainly, the tool of game application Body type can be not as restriction.
In the embodiment of the present application, mobile terminal can be measured in real time the application program of operation, to determine movement Whether the operating system of terminal has run game application.For example, mobile terminal can obtain mobile terminal by adb order in real time The process being currently running, to obtain the application program being currently running.In some embodiments, the available operation of mobile terminal Application program packet name, and judge operation application program packet name whether be game application packet name, if operation answer With the packet name of the entitled game application of packet of program, it is determined that the operating system of mobile terminal has game application.Wherein, packet name For the unique identification of application.Certainly, determine mobile terminal currently whether running game application concrete mode can be not as limit It is fixed.
In the embodiment of the present application, mobile terminal is detecting current running game in application, then can detecte in game Touch control operation in the operation interface of application.Wherein, touch control operation can be slide, pressing operation, single-point or multiple spot touching The operation such as touch, specific touch control operation can be not as restriction.
In a kind of specific embodiment, mobile terminal can also determine whether the game application of operation is foreground fortune Row detects touch control operation in the operation interface of the game application of front stage operation when the application of front stage operation is game application;When When mobile terminal currently runs multiple game applications, then in the operation interface that can detecte the game application in front stage operation Touch control operation.
Step S120: when detecting the touch control operation in the operation interface, judge the touch control operation pair detected Whether the touch area answered is the game application corresponding setting manipulation region.
In the embodiment of the present application, when the touch control operation in the operation interface for detecting currently running game application, Mobile terminal may determine that whether touch area corresponding to the touch control operation detected is setting corresponding to the game application Region is manipulated, to determine the need for carrying out the touch control operation acceleration when touch-control.Wherein, touch-control corresponding to touch control operation Region refers to the position region that the touch control operation occurs in the operation interface of the game application, the size of touch area It can be not as restriction.Mobile terminal can be previously stored with the manipulation of setting corresponding to each game application region, with determination At runtime, whether the touch control operation in operation interface is the touch control operation accelerated for each game application.
In some embodiments, the operation that above-mentioned setting manipulation region can be previous in game application for mobile terminal Cheng Zhong, the touch control operation region monitored, and touch-control coordinate corresponding to touch control operation is stored.In other implementations In mode, above-mentioned setting manipulation region can be got for mobile terminal when download games are applied, these setting manipulation regions It can be to describe to download for mobile terminal in the form of file etc., so that mobile terminal can be obtained in installation and operation game application It obtains setting corresponding to the game application and manipulates region.Certainly, the acquisition modes in specific setting manipulation region can be not as It limits.
In some embodiments, at runtime due to different game applications, it may be necessary to carry out the screen of touch control operation Region is different, therefore different game application corresponding setting manipulation regions is different, can be directed to different game applications, storage Its corresponding setting manipulates region.
It should be understood that when the manipulation of setting corresponding to game application region can run for game application, user Chang Yu The corresponding touch area of the touch control operation carried out in operation interface, due in running game in application, user can frequently operate These touch areas at interface carry out touch control operation, therefore touch-control is blunt and Caton sense in order to reduce, and can transport in game application These manipulation regions are monitored when row, when to detect that setting manipulates the touch control operation in region, carry out corresponding performance Optimization, to accelerate to touch control operation.
Step S130: manipulating region if it is the corresponding setting of the game application, corresponding according to the game application Performance Strategy for Optimizing, adjust to the resource allocation of the game application.
In the embodiment of the present application, if touch area corresponding to the touch control operation detected is corresponding for the game application Setting manipulate region when, then the touch control operation can be accelerated.Specifically, mobile terminal can be according to the game application Corresponding Performance Strategy for Optimizing adjusts the resource allocation to game application, to accelerate to the touch control operation.If detected Touch control operation corresponding to touch area be not the corresponding Performance Strategy for Optimizing of the game application, then do not execute and answered according to game With corresponding Performance Strategy for Optimizing, the resource allocation to game application is adjusted.
In some embodiments, the game application different, different due to the acceleration demand of different game applications Different Performance Strategy for Optimizing can be set, so as to the touch-control behaviour when detecting different game applications operation in operation interface Make, for different game applications, adjusts the resource allocation to game application.For example, being made due to the difference of gaming platform type It obtains the big nuclear volume of CPU distributed before this and highest frequency has differences, it is therefore desirable to which increased distribution resource is different, accelerates to need Ask also just different;In another example rendering number of threads and kernel thread number have differences between different game applications, therefore shared System resource is different, this can also make its acceleration demand different, needs increased distribution resource different.Wherein, performance is excellent Mobile terminal can be pre-stored within by changing strategy, and Performance Strategy for Optimizing can be configured in advance good with manufacturer and be handed down to mobile terminal.
Wherein, according to Performance Strategy for Optimizing, adjustment may include: to CPU (Graphics to the resource allocation of game application Processing Unit, central processing unit) resource, GPU (Graphics Processing Unit, image processor) resource, The optimization of at least one of Internet resources, memory bandwidth resource and disk resource resource.To cpu resource, GPU) resource Optimization can be the processing frequency etc. of optimization CPU, GPU.It can to the optimization of memory bandwidth resources and disk resource Internet resources To include cleaning memory bandwidth resource and disk resource etc..Optimization to Internet resources may include the data to mobile terminal In the Internet resources such as the control parameter resource of the Internet resources of network, the Internet resources of Wireless Fidelity Wi-Fi network, bluetooth module The resource that game application occupies is increased.Operating system can pass through application programming interface (Application ProgrammingInterface, API), it is communicated with the inner nuclear layer of system, adjusts the configuration of the system resource.Certainly, specifically The performance optimization of resource allocation in the embodiment of the present application can be not as restriction, for example, also can also be that adjustresources distribute Priority etc..
Game optimization method provided by the embodiments of the present application, the setting behaviour in the operation interface by detecting game application When controlling the touch control operation in region, according to the corresponding Performance Strategy for Optimizing of the game application, the resource allocation to game application is adjusted, To reduce touch-control Caton when game application operation, blunt etc., the game experiencing of user is promoted.
Referring to Fig. 2, the flow diagram of the game optimization method provided Fig. 2 shows another embodiment of the application. This method is applied to above-mentioned mobile terminal, will be explained in detail below for process shown in Fig. 2, the game optimization side Method can specifically include following steps:
Step S210: the current running game of the mobile terminal is being detected in application, being detected on the game application Touch control operation in operation interface.
In the embodiment of the present application, step S210 can be refering to the content of previous embodiment, and details are not described herein.
Step S220: the packet name of the game application is obtained.
Mobile terminal detect the current running game of mobile terminal in application, can also obtain with the game application institute it is right The setting manipulation region answered.Wherein, setting manipulation region can be game application in previous operation, in operation interface The corresponding history of history touch control operation manipulates region.
In the embodiment of the present application, history corresponding to each game application manipulates region, with Bao Mingyu history control area The corresponding relationship in domain is stored in mobile terminal.Wherein, packet name is uniquely identified as application program, indicates the peace of application program The title of dress packet (AndroidPackage, APK) file, application program can establish the file of packet name in use, and inner Store Various types of data in face.
As a kind of specific embodiment, packet name and the corresponding history of each game application manipulate region, can incite somebody to action The corresponding screen coordinate in Bao Mingyu history manipulation region is stored in the form of a list.As another specific embodiment party History can be manipulated the corresponding screen coordinate in region in the form of a kind of file, be stored in the corresponding APK file of packet name by formula In.Certainly, the concrete form that Bao Mingyu setting manipulation region is associated storage can be not as restriction.
In some embodiments, all application processes run in the available current operation system of mobile terminal, and According to the title of these application processes, the packet name of the game application of operation is intercepted, so that mobile terminal is obtained according to registration and should The corresponding history of game application manipulates region.
It should be noted that mobile terminal detects current running game in application, being detected on trip in the embodiment of the present application The step of touch control operation in the operation interface of application of playing, with obtain game application packet name the step of execute sequentially can be with Not as restriction, current running game can be detected in application, carrying out executing the two steps simultaneously for mobile terminal.
Step S230: obtaining the manipulation of history corresponding to the packet name of game application region, and the packet name is corresponding History manipulates region as the corresponding setting of the game application and manipulates region.
Mobile terminal can then obtain corresponding with the packet name in the Bao Minghou for getting the game application according to the packet name History manipulate region.
In the embodiment of the present application, the manipulation of history corresponding to the packet name of each game application region is stored in mobile whole End, mobile terminal can set the different form that manipulation region is associated storage according to Bao Mingyu, and obtain corresponding with packet name History manipulate region.For example, then being moved when the corresponding screen coordinate in Bao Mingyu history manipulation region stores in the form of a list Terminal can read history corresponding with the packet name and manipulate region according to the list;In another example the corresponding screen in history manipulation region When curtain coordinate is stored in the corresponding APK file of packet name in the form of a kind of file, mobile terminal can be from the APK text of the packet name History is obtained in part and manipulates region, and certainly, the above is only citings, do not represent and obtain history behaviour corresponding with packet name according to registration Control the restriction of the mode in region.
Step S240: when detecting the touch control operation in the operation interface, judge the touch control operation pair detected Whether the touch area answered is the game application corresponding setting manipulation region.
In the embodiment of the present application, step S240 can be refering to the content of previous embodiment, and details are not described herein.
Step S250: manipulating region if it is the corresponding setting of the game application, according to the packet name, acquisition and institute State the corresponding Performance Strategy for Optimizing of packet name.
In the embodiment of the present application, different game applications are different to the acceleration demand of touch control operation, therefore can be for not Same game application sets different Performance Strategy for Optimizing.For example, chess and card games application can be to the behaviour of user's certain time mostly Make the time, thus be not for acceleration demand it is very high, then Performance Strategy for Optimizing can be set to increase the money of a small amount of mobile terminal Source is distributed to the game application;In another example sports class game application, especially operation class game application, the frequency of touch control operation It is higher, faster response is needed for touch control operation, therefore resource allocation to the game that can increase compared with multi-mobile-terminal is answered With.Certainly, the above Performance Strategy for Optimizing is only for example, and does not represent the restriction to specific performance optimisation strategy.
In some embodiments, if it is judged that the corresponding touch area of the touch control operation detected is the game application Corresponding setting manipulates region, and mobile terminal can be according to the packet name of the game application, and the performance stored from mobile terminal optimizes In strategy, Performance Strategy for Optimizing corresponding with the packet name is read.If it is judged that the corresponding Touch Zone of the touch control operation detected Domain is not the game application corresponding setting manipulation region, then can terminate process, not execute subsequent step.
Step S260: according to the Performance Strategy for Optimizing, the resource allocation to the game application is adjusted.
Mobile terminal can then be adjusted according to specific Performance Strategy for Optimizing to trip after getting Performance Strategy for Optimizing The resource allocation of play application.
In some embodiments, mobile terminal includes central processing unit, resource of the adjustment to the game application Distribution, including at least one of following manner:
The kernel thread of the game application is dispatched to the central processing unit to execute;Promote the central processing unit Frequency;Promote the scheduled priority of the kernel thread.
It should be understood that mobile terminal can carry out the core-wire of game application according to different Performance Strategy for Optimizing The scheduling of journey (such as drafting thread of game picture), for example, kernel thread is executed in GPU before this, then it can be by kernel thread It is dispatched to CPU execution, the working frequency of CPU can also be promoted, can also promote what kernel thread was scheduled by CPU or GPU Priority.Wherein, the kernel thread of application refers to the thread for needing to be created by operating system nucleus and cancelled, the kernel thread of application Important thread when usually application program is run.Mobile terminal can according to different Performance Strategy for Optimizing, and choose more than One or more of mode mode adjusts the resource allocation to game application, to increase the resource of distribution to game application, To achieve the effect that accelerate touch control operation.Certainly, specific adjustment can be with to the mode of the resource allocation of game application Not as restriction, for example, also can also be the Internet resources etc. for increasing distribution to game application.
Game optimization method provided by the embodiments of the present application, by detecting the current running game application of mobile terminal When, the touch control operation in the operation interface of game application is detected, and obtain the packet name of game application, game is obtained according to registration The manipulation of setting corresponding to the packet name of application region judges to examine when the touch control operation in the operation interface for detecting game application Whether touch area corresponding to the touch control operation measured is setting manipulation region, region is manipulated if it is setting, further according to this Packet name obtains Performance Strategy for Optimizing corresponding with packet name, and according to the Performance Strategy for Optimizing, adjusts the resource to the game application Distribution, to increase the resource of distribution to game application, to achieve the effect that accelerate touch control operation, when reducing game The Caton of touch-control and blunt sense, promote the game experiencing of user.
Referring to Fig. 3, Fig. 3 shows the flow diagram of the game optimization method of another embodiment of the application offer. This method is applied to above-mentioned mobile terminal, will be explained in detail below for process shown in Fig. 3, the game optimization side Method can specifically include following steps:
Step S310: the current running game of the mobile terminal is being detected in application, being detected on the game application Touch control operation in operation interface.
In the embodiment of the present application, step S310 can be refering to the content of previous embodiment, and details are not described herein.
Step S320: when detecting the touch control operation in the operation interface, the current of the game application is obtained Operation interface.
Usually mostly in game application there are multiple operation interfaces, user often carries out in different operation interface touch control operation And the corresponding touch area of touch control operation also can be different, and the demand that different operation interface accelerates touch-control is also different.Example Such as, in the hall interface of some game applications, the operation and non-required too fast response of user's progress;In another example in some trips The interface played under the non-scene of fighting of application, without the response of too fast touch control operation.
In some embodiments, game application corresponding setting manipulation region includes going through in each operation interface recorded Manipulation region corresponding to history touch control operation.Therefore, manipulation region corresponding to the different operation interface of each game application It can be different.
It can store each operation interface institute in multiple operation interfaces corresponding to each game application in mobile terminal Corresponding manipulation region.Wherein, the corresponding relationship of each operation interface of each game application and manipulation region, can also be with column The form of table is stored in mobile terminal, and behaviour corresponding to the interface title of each operation interface can also be stored in APK file The screen coordinate for controlling region, is not limited thereto.
In the embodiment of the present application, mobile terminal is when detecting the touch control operation in the operation interface in game application, The current operation interface of the available game application, to obtain corresponding with current operation interface according to current operation interface Manipulation region, and confirm whether the corresponding touch area of touch control operation that detects is behaviour corresponding to the current operation interface Control region.It should be understood that mobile terminal can get the name at current operation interface according to the process run in operating system Claim;Mobile terminal data obtained when can also be according to rendering interface, confirm current operation interface, are not limited thereto.
Step S330: the corresponding manipulation region in the current operation interface is obtained.
Mobile terminal after getting the current operation interface of the game application, then can according to current operation interface, with And manipulation region corresponding to each operation interface of the pre-stored game application in mobile terminal, obtain current operation circle Manipulation region corresponding to face.
Step S340: judge whether the corresponding touch area of the touch control operation detected is that the current operation interface is corresponding Manipulation region.
Mobile terminal, then can root after getting manipulation region corresponding to the current operation interface of the game application According to the corresponding touch area of the touch control operation detected, judge whether the corresponding touch area of the touch control operation is the current operation Manipulation region corresponding to interface, to determine whether the corresponding touch area of the touch control operation detected is the game application pair The setting manipulation region answered, that is, determine the need for the acceleration for carrying out touch control operation.It should be understood that if it is judged that touch-control is grasped Making corresponding touch area is manipulation region corresponding to current operation interface, then can determine the touch control operation pair detected The touch area answered is that the corresponding setting of the game application manipulates region, if it is judged that the corresponding touch area of touch control operation is not For manipulation region corresponding to current operation interface, then it can determine that the corresponding touch area of touch control operation detected is not The corresponding setting of the game application manipulates region.
Step S350: if the corresponding touch area of the touch control operation is the corresponding control area in the current operation interface Domain obtains the corresponding Performance Strategy for Optimizing in the current operation interface then according to the corresponding Performance Strategy for Optimizing of game application is stated.
In the embodiment of the present application, if it is judged that the corresponding touch area of touch control operation is that current operation interface is corresponding Region is manipulated, then can determine that the corresponding touch area of touch control operation detected is the corresponding setting manipulation of the game application Region, therefore the touch control operation can be accelerated, that is, according to the corresponding Performance Strategy for Optimizing of the game application, obtain The corresponding Performance Strategy for Optimizing in current operation interface.If it is judged that the corresponding touch area of the touch control operation detected is not to work as The corresponding manipulation region of preceding operation interface, then can terminate process, not execute subsequent step.
It in some embodiments, can be with since acceleration demand of the different operation interfaces to touch control operation is different According to corresponding Performance Strategy for Optimizing set by each operation interface in multiple operation interfaces of each game application.Therefore, often The corresponding Performance Strategy for Optimizing of a game application may include the corresponding Performance Strategy for Optimizing of each operation interface of game application, It should be understood that the corresponding Performance Strategy for Optimizing of each operation interface according to operation interface to the acceleration demand of touch control operation and Fixed, for accelerating the higher operation interface of demand, then corresponding Performance Strategy for Optimizing can make system can increase more money Source is distributed to the game application, and for accelerating the lower operation interface of demand, then corresponding Performance Strategy for Optimizing can make System increases less resource allocation to the game application.
In some embodiments, the corresponding Performance Strategy for Optimizing of each operation interface can be excellent with interface title and performance The form for changing the correspondence table of strategy is stored;It can also be to establish under the file of the Performance Strategy for Optimizing of each game application The form of subfile stores the corresponding Performance Strategy for Optimizing of each operation interface, is not limited thereto.Mobile terminal can basis The Performance Strategy for Optimizing of game application obtains the corresponding Performance Strategy for Optimizing in current operation interface of the game application.
Step S360: it according to the corresponding Performance Strategy for Optimizing in the current operation interface, adjusts to the game application Resource allocation.
In the embodiment of the present application, mobile terminal is according to the corresponding Performance Strategy for Optimizing in current operation interface, adjustment pair When the resource allocation of game application, due to different types of touch control operation propose frequency duration and frequency size has differences, for example, The usual duration of slide is longer but instantaneous frequency do not need it is very high, length when clicking operation but frequency wants high, therefore may be used also To adjust the resource allocation to game application according to specific different types of touch control operation.
It in some embodiments, may include a plurality of types of touch-control behaviour in the Performance Strategy for Optimizing of each operation interface The corresponding Performance Strategy for Optimizing of each type of touch control operation in work, for example, plan can be optimized by the corresponding performance of slide Slightly, the corresponding Performance Strategy for Optimizing of clicking operation, corresponding Performance Strategy for Optimizing of long press operation etc. is not limited thereto.
Further, it according to the corresponding Performance Strategy for Optimizing in the current operation interface, adjusts to the game application Resource allocation, comprising: the action type of the touch control operation detected described in acquisition;According to the corresponding property in the current operation interface Energy optimisation strategy, obtains the corresponding Performance Strategy for Optimizing of the action type, and excellent according to the corresponding performance of the action type Change strategy, adjusts the resource allocation to the game application.It should be understood that mobile terminal can be grasped according to the touch-control detected The action type of work adjusts the resource allocation to game application, is directed to different game applications, different operations circle to realize Face and different types of touch control operation, accelerate touch control operation.For example, for the battle of currently running game application Kernel thread can be then dispatched to CPU execution by the clicking operation in interface, and is promoted the working frequency of CPU and promoted core The scheduled priority of heart thread;In another example then may be used for the long press operation in the battle interface of currently running game application Kernel thread is only dispatched to the working frequency that CPU is executed and promoted CPU;For another example being answered for currently running game The clicking operation in interface is prepared for war, then kernel thread only can be dispatched to CPU and executed, the above is only citings certainly, and The restriction to specific performance optimisation strategy is not represented.
In some embodiments, when accelerating every time to the touch control operation in the operation interface of game application, i.e. root According to Performance Strategy for Optimizing, when increasing the resource allocation to game application, the duration to raise speed every time can be set, in the duration Afterwards, the resource allocation of game application can be restored to state before this.Specifically, can be according to the type of different touch control operations Determine the duration, for example, clicking operation can be set to 200 milliseconds (ms), slide can be set to 1 second (s), herein not As restriction.
Game optimization method provided by the embodiments of the present application, by detecting the current running game application of mobile terminal When, when detecting the touch control operation in the operation interface of game application, the current operation interface of game application is obtained, judgement detects Touch control operation corresponding to touch area whether be the corresponding manipulation region in current operation interface, if it is current operation interface Corresponding manipulation region, it is corresponding further according to current operation interface in the Performance Strategy for Optimizing of the game application and touch control operation Performance Strategy for Optimizing adjusts the resource allocation to the game application, is directed to different game applications, different operations circle to realize Face and different types of touch control operation increase the resource of distribution to game application, accelerate to reach to touch control operation Effect, reduce game when touch-control Caton and blunt sense, promote the game experiencing of user.
Referring to Fig. 4, Fig. 4 shows the flow diagram of the game optimization method of the application further embodiment offer. This method is applied to above-mentioned mobile terminal, will be explained in detail below for process shown in Fig. 4, the game optimization side Method can specifically include following steps:
Step S410: the current running game of the mobile terminal is being detected in application, being detected on the game application Touch control operation in operation interface.
In the embodiment of the present application, step S410 can be refering to the content of previous embodiment, and details are not described herein.
In some embodiments, mobile terminal is detecting current running game in application, can also judge the game Using whether being the application with acceleration permission, if it is having the application for accelerating permission, subsequent step can be executed S420 to step S450 can be without subsequent step S420 to step if being not the application with acceleration permission S450 does not accelerate the running touch control operation of the game application.Wherein, accelerate permission that can be preset, have There is the game application for accelerating permission could at runtime, system carries out at corresponding acceleration the touch control operation in its operation interface Reason.
Step S420: when detecting the touch control operation in the operation interface, judge the game application whether be Record has the application in setting operation region.
In the embodiment of the present application, mobile terminal is judging whether the touch area of the touch control operation detected is the game Before manipulating region using corresponding setting, can also determine whether the game application is that record has answering for setting operation region With to determine whether the game application can be carried out the acceleration of touch control operation.It should be understood that if the game application is not Record has the application in setting operation region, then it represents that the game application not can be carried out the acceleration of touch control operation at present, it is subsequent can be with Type of the touch area of the touch control operation occurred when to the game application, concrete operations interface and specific touch control operation etc. into Row study and record can accelerate touch control operation with guaranteeing backward when running the game application;If the game application There is the application in setting operation region to record, then it can be according to setting operation region, and to being touched in the operation interface of game application Control operation selectivity accelerate.
Step S430: if not having the application in setting operation region, the corresponding touching of the touch control operation that will test for record Control region is stored.
It in the embodiment of the present application, can if it is judged that the game application is not the application that record has setting operation region The touch area of the touch control operation occurred when with to the game application stores, so as to backward when running the game application, Touch control operation can be accelerated.It certainly, also can also be to the type for the operation interface and touch control operation that touch control operation occurs Etc. being recorded, it is not limited here.
Step S440: there is the application in setting operation region if it is record, judge that the touch control operation detected is corresponding Whether touch area is the game application corresponding setting manipulation region.
Step S450: it if not manipulating region for the corresponding setting of the game application, does not execute according to the game Using corresponding Performance Strategy for Optimizing, the resource allocation to the game application is adjusted.
Step S460: manipulating region if it is the corresponding setting of the game application, corresponding according to the game application Performance Strategy for Optimizing, adjust to the resource allocation of the game application.
In the embodiment of the present application, step S440 and step S460 can be refering to the content of previous embodiment, herein not It repeats again.
In some embodiments, mobile terminal is the trip in the corresponding touch area of touch control operation for determining to detect The corresponding setting of play application manipulates region, according to the corresponding Performance Strategy for Optimizing of the game application, adjusts to the game application Resource allocation before, the surplus resources parameter of mobile terminal can also be obtained, it is specified to judge whether surplus resources parameter is greater than Threshold value is further added by the resource allocation to the game application if surplus resources parameter is greater than specified threshold, if surplus resources are joined Number is less than specified threshold, then does not increase the resource allocation to the game application, to avoid causing the operation of mobile terminal to collapse.Its In, the current surplus resources parameter of mobile terminal may include the remaining money of the surplus resources of central processing unit, graphics processor Source and remaining capacity etc., specific surplus resources parameter can be not as restriction.Different types of surplus resources parameter is corresponding Specified threshold can be different.Wherein, the surplus resources of central processing unit can correspond to the first specified threshold, and graphics processor remains Remaining resource can correspond to the second specified threshold, and remaining capacity can correspond to third specified threshold.
In some embodiments, mobile terminal is the trip in the corresponding touch area of touch control operation for determining to detect The corresponding setting of play application manipulates region, according to the corresponding Performance Strategy for Optimizing of the game application, increases to the game application Resource allocation before, can also determine whether the higher application program of the severity level being set in running background, if There is no the higher application program of severity level in running background, then can increase the resource allocation to the game application, if there is The higher application program of severity level can not then increase the resource allocation to the game application, in running background to avoid making Collapse when application program operation higher at severity level.Wherein, the severity level of application program can be preset, weight Want rank that can be divided into multiple grades from high to low, for example, to can be used as above-mentioned severity level higher for the highest application of grade Application program.
Game optimization method provided by the embodiments of the present application, by detecting the current running game application of mobile terminal When, when detecting the touch control operation in the operation interface of game application, judge whether the game application is that record has setting control area The application in domain, if the game application is not the application that record has setting manipulation region, to its running touch control operation Touch area is recorded, so that the game application carries out the acceleration of touch control operation in follow-up operation.If the game application To record the application for having setting manipulation region, then judge whether the corresponding touch area of the touch control operation detected is that the game is answered Region is manipulated with corresponding setting, and when judging to manipulate region for the corresponding setting of the game application, according to the game The Performance Strategy for Optimizing of application adjusts the resource allocation to the game application, increases the resource distributed to game application with real, from And achieve the effect that accelerate touch control operation, the Caton and blunt sense of touch-control when reducing game promote the game body of user It tests.
Referring to Fig. 5, it illustrates a kind of structural block diagrams of game optimization device 400 provided by the embodiments of the present application.It should Game optimizes device 400 and applies above-mentioned mobile terminal, and game optimization device 400 includes: operation detection module 410, region Judgment module 420 and resource adjust module 430.Wherein, the operation detection module 410 is used to detect the movement eventually Current running game is held in application, being detected on the touch control operation in the operation interface of the game application;The region decision mould Block 420 is used for when detecting the touch control operation in the operation interface, judges the corresponding touch-control of the touch control operation detected Whether region is the game application corresponding setting manipulation region;The resource adjustment module 430 is used for if it is the trip The corresponding setting of play application manipulates region, then according to the corresponding Performance Strategy for Optimizing of the game application, adjusts to the game The resource allocation of application.
In some embodiments, setting manipulation region includes the history touching in the operation interface of the game application Control operates corresponding history and manipulates region.Referring to Fig. 6, game optimization device 400 can also include that packet name obtains module 440 And region obtains module 450.Packet name obtains module 440 and is used in the corresponding Touch Zone of touch control operation for judging to detect Before whether domain is the game application corresponding setting manipulation region, the packet name of the game application is obtained;Obtain the trip History corresponding to the packet name of application of playing manipulates region, using the packet name corresponding history manipulation region as the game application Corresponding setting manipulates region.
In this embodiment, referring to Fig. 6, resource adjustment module 430 may include: tactful acquiring unit 431 and Distribute execution unit 432.Tactful acquiring unit 431 is used to obtain performance optimization corresponding with the packet name according to the packet name Strategy;Execution unit 432 is distributed to be used to adjust the resource allocation to the game application according to the Performance Strategy for Optimizing.
In some embodiments, the game application includes multiple and different operation interface, and the setting manipulates region Manipulation region corresponding to history touch control operation in each operation interface including record.Referring to Fig. 7, region decision module 420 may include: current interface acquiring unit 421, current region acquiring unit 422 and judge execution unit 423.Work as prezone Face acquiring unit 421 is used to obtain the current operation interface of the game application;Current region acquiring unit 422 is for obtaining institute State the corresponding manipulation region in current operation interface;Judge execution unit 423 for judging the corresponding touching of touch control operation detected Control whether region is the corresponding manipulation region in the current operation interface.
In this embodiment, the corresponding Performance Strategy for Optimizing of the game application includes each behaviour of the game application Make the corresponding Performance Strategy for Optimizing in interface.Resource adjustment module 430 can be specifically used for: if the corresponding touching of the touch control operation Control region is that the corresponding manipulation region in the current operation interface is obtained then according to the corresponding Performance Strategy for Optimizing of game application is stated Take the corresponding Performance Strategy for Optimizing in the current operation interface;According to the corresponding Performance Strategy for Optimizing in the current operation interface, Adjust the resource allocation to the game application.
Further, the corresponding Performance Strategy for Optimizing of the operation interface includes every type in a plurality of types of touch control operations The corresponding Performance Strategy for Optimizing of the touch control operation of type.Resource adjusts module 430 according to the corresponding performance in the current operation interface Optimisation strategy adjusts the resource allocation to the game application, may include: the operation of the touch control operation detected described in acquisition Type;According to the corresponding Performance Strategy for Optimizing in the current operation interface, the corresponding performance optimization plan of the action type is obtained Slightly, and according to the corresponding Performance Strategy for Optimizing of the action type, the resource allocation to the game application is adjusted.
In some embodiments, game optimization device 400 can also include: using judgment module.Using judging mould Block, when detecting the touch control operation in the operation interface, judges the corresponding touch-control of the touch control operation detected for described Before whether region is the game application corresponding setting manipulation region, judge whether the game application is that record has setting The application of operating area.If the game application is the application that record has setting operation region, region decision module 420 is executed It is described when detecting the touch control operation in the operation interface, judge that the corresponding touch area of the touch control operation detected is It is no to manipulate region for the corresponding setting of the game application.
Further, game optimization device 400 can also include: region memory module.Region memory module is for such as The fruit game application is not the application that record has setting operation region, then when detecting the touch control operation in the operation interface When, the corresponding touch area of the touch control operation that will test is stored.
In some embodiments, the mobile terminal includes central processing unit.Resource adjusts the adjustment of module 430 to described The resource allocation of game application, may include at least one of following manner: the kernel thread of the game application is dispatched It is executed to the central processing unit;Promote the frequency of the central processing unit;Promote the scheduled priority of the kernel thread.
It is apparent to those skilled in the art that for convenience and simplicity of description, foregoing description device and The specific work process of module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, the mutual coupling of module can be electrical property, mechanical or other The coupling of form.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the application It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.
In conclusion scheme provided by the present application, by detecting the current running game of mobile terminal in application, detection Touch control operation in the operation interface of game application, when detecting the touch control operation in the operation interface of game application, Judge whether the corresponding touch area of touch control operation detected is game application corresponding setting manipulation region, if it is game Region is manipulated using corresponding setting, then according to the corresponding Performance Strategy for Optimizing of game application, adjusts the resource to game application Distribution.It is achieved that detect the touch control operation in corresponding setting manipulation region in game application operation, then can adjust pair The resource allocation of game application promotes the speed of touch-control response, reduces that touch-control is blunt and Caton, promotes the game experiencing of user.
Referring to FIG. 8, it illustrates a kind of structural block diagrams of mobile terminal provided by the embodiments of the present application.The mobile terminal 100, which can be smart phone, tablet computer, e-book etc., can run the mobile terminal of application program.Movement in the application Terminal 100 may include one or more such as lower component: processor 110, memory 120 and one or more application program, Wherein one or more application programs can be stored in memory 120 and be configured as by one or more processors 110 It executes, one or more programs are configured to carry out the method as described in preceding method embodiment.
Processor 110 may include one or more processing core.Processor 110 is whole using various interfaces and connection Various pieces in a mobile terminal 100, by run or execute the instruction being stored in memory 120, program, code set or Instruction set, and the data being stored in memory 120 are called, execute the various functions and processing data of mobile terminal 100.It can Selection of land, processor 110 can use Digital Signal Processing (Digital Signal Processing, DSP), field-programmable Gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA) at least one of example, in hardware realize.Processor 110 can integrating central processor (Central Processing Unit, CPU), in image processor (Graphics Processing Unit, GPU) and modem etc. One or more of combinations.Wherein, the main processing operation system of CPU, user interface and application program etc.;GPU is for being responsible for Show the rendering and drafting of content;Modem is for handling wireless communication.It is understood that above-mentioned modem It can not be integrated into processor 110, be realized separately through one piece of communication chip.
Memory 120 may include random access memory (Random Access Memory, RAM), also may include read-only Memory (Read-Only Memory).Memory 120 can be used for store instruction, program, code, code set or instruction set.It deposits Reservoir 120 may include storing program area and storage data area, wherein the finger that storing program area can store for realizing operating system Enable, for realizing at least one function instruction (such as touch function, sound-playing function, image player function etc.), be used for Realize the instruction etc. of following each embodiments of the method.Storage data area can also store the number that terminal 100 is created in use According to (such as phone directory, audio, video data, chat record data) etc..
Referring to FIG. 9, it illustrates a kind of structural block diagrams of computer readable storage medium provided by the embodiments of the present application. Program code is stored in the computer-readable medium 800, said program code can be called by processor and execute above method reality Apply method described in example.
Computer readable storage medium 800 can be such as flash memory, EEPROM (electrically erasable programmable read-only memory), The electronic memory of EPROM, hard disk or ROM etc.Optionally, computer readable storage medium 800 includes non-volatile meter Calculation machine readable medium (non-transitory computer-readable storage medium).Computer-readable storage Medium 800 has the memory space for the program code 810 for executing any method and step in the above method.These program codes can With from reading or be written in one or more computer program product in this one or more computer program product. Program code 810 can for example be compressed in a suitable form.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although The application is described in detail with reference to the foregoing embodiments, those skilled in the art are when understanding: it still can be with It modifies the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;And These are modified or replaceed, do not drive corresponding technical solution essence be detached from each embodiment technical solution of the application spirit and Range.

Claims (11)

1. a kind of game optimization method, which is characterized in that be applied to mobile terminal, which comprises
The current running game of the mobile terminal is being detected in application, touching in the operation interface for being detected on the game application Control operation;
When detecting the touch control operation in the operation interface, judge that the corresponding touch area of the touch control operation detected is It is no to manipulate region for the corresponding setting of the game application;
Region is manipulated if it is the corresponding setting of the game application, plan is optimized according to the corresponding performance of the game application Slightly, the resource allocation to the game application is adjusted.
2. the method according to claim 1, wherein setting manipulation region includes the behaviour of the game application Make the history touch control operation corresponding history manipulation region in interface, in the corresponding touch-control of touch control operation for judging to detect Before whether region is the game application corresponding setting manipulation region, the method also includes:
Obtain the packet name of the game application;
The manipulation of history corresponding to the packet name of game application region is obtained, the packet name corresponding history manipulation region is made Region is manipulated for the corresponding setting of the game application;
It is described according to the corresponding Performance Strategy for Optimizing of the game application, adjust the resource allocation to the game application, comprising:
According to the packet name, Performance Strategy for Optimizing corresponding with the packet name is obtained;
According to the Performance Strategy for Optimizing, the resource allocation to the game application is adjusted.
3. the method according to claim 1, wherein the game application includes multiple and different operation interface, Setting manipulation region includes manipulation region corresponding to history touch control operation, the judgement in each operation interface of record Whether the corresponding touch area of the touch control operation detected is the game application corresponding setting manipulation region, comprising:
Obtain the current operation interface of the game application;
Obtain the corresponding manipulation region in the current operation interface;
Judge whether the corresponding touch area of touch control operation detected is the corresponding manipulation region in the current operation interface.
4. according to the method described in claim 3, it is characterized in that, the corresponding Performance Strategy for Optimizing of the game application includes institute The corresponding Performance Strategy for Optimizing of each operation interface of game application is stated, it is described to be grasped if it is the corresponding setting of the game application Region is controlled, then according to the corresponding Performance Strategy for Optimizing of the game application, adjusts the resource allocation to the game application, packet It includes:
If the corresponding touch area of the touch control operation is the corresponding manipulation region in the current operation interface, according to stating trip Corresponding Performance Strategy for Optimizing is applied in play, obtains the corresponding Performance Strategy for Optimizing in the current operation interface;
According to the corresponding Performance Strategy for Optimizing in the current operation interface, the resource allocation to the game application is adjusted.
5. according to the method described in claim 4, it is characterized in that, the corresponding Performance Strategy for Optimizing of the operation interface includes more The corresponding Performance Strategy for Optimizing of each type of touch control operation, described according to current operation circle in the touch control operation of seed type The corresponding Performance Strategy for Optimizing in face adjusts the resource allocation to the game application, comprising:
The action type of the touch control operation detected described in acquisition;
According to the corresponding Performance Strategy for Optimizing in the current operation interface, the corresponding performance optimization plan of the action type is obtained Slightly, and according to the corresponding Performance Strategy for Optimizing of the action type, the resource allocation to the game application is adjusted.
6. method according to claim 1-5, which is characterized in that described to detect in the operation interface Touch control operation when, judge whether the corresponding touch area of the touch control operation detected is the game application corresponding setting behaviour Before controlling region, the method also includes:
Judge whether the game application is to record the application for having setting operation region;
There is the application in setting operation region if it is record, executes the touch-control behaviour for working as and detecting in the operation interface When making, judge whether the corresponding touch area of the touch control operation detected is the game application corresponding setting manipulation region.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
If not there is the application in setting operation region for record, when detecting the touch control operation in the operation interface, The corresponding touch area of the touch control operation that will test is stored.
8. method according to claim 1-5, which is characterized in that the mobile terminal includes central processing unit, Resource allocation, including following manner at least one of of the adjustment to the game application:
The kernel thread of the game application is dispatched to the central processing unit to execute;
Promote the frequency of the central processing unit;
Promote the scheduled priority of the kernel thread.
9. a kind of game optimizes device, which is characterized in that be applied to mobile terminal, described device includes: operation detection module, area Domain judgment module and resource adjust module, wherein
The operation detection module is for detecting the current running game of the mobile terminal in application, being detected on the game Touch control operation in the operation interface of application;
The region decision module is used for when detecting the touch control operation in the operation interface, judges the touch-control detected Operate whether corresponding touch area is the game application corresponding setting manipulation region;
The resource adjustment module is used to manipulate region if it is the corresponding setting of the game application, is answered according to the game With corresponding Performance Strategy for Optimizing, the resource allocation to the game application is adjusted.
10. a kind of mobile terminal characterized by comprising
One or more processors;
Memory;
One or more application program, wherein one or more of application programs are stored in the memory and are configured To be executed by one or more of processors, one or more of programs are configured to carry out as claim 1-8 is any Method described in.
11. a kind of computer-readable storage medium, which is characterized in that be stored with journey in the computer-readable storage medium Sequence code, said program code can be called by processor and execute the method according to claim 1.
CN201910786318.XA 2019-08-23 2019-08-23 Game optimization method, game optimization device, mobile terminal and storage medium Active CN110496387B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910786318.XA CN110496387B (en) 2019-08-23 2019-08-23 Game optimization method, game optimization device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910786318.XA CN110496387B (en) 2019-08-23 2019-08-23 Game optimization method, game optimization device, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110496387A true CN110496387A (en) 2019-11-26
CN110496387B CN110496387B (en) 2023-08-29

Family

ID=68589217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910786318.XA Active CN110496387B (en) 2019-08-23 2019-08-23 Game optimization method, game optimization device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110496387B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111352633A (en) * 2020-02-24 2020-06-30 腾讯科技(深圳)有限公司 Resource downloading method and device of application program, terminal and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607513A (en) * 2013-11-26 2014-02-26 广东欧珀移动通信有限公司 Method for controlling application to be used and intelligent terminal
CN106648865A (en) * 2016-12-15 2017-05-10 北京奇虎科技有限公司 Intelligent terminal, game operating environment optimizing method and system
CN108499108A (en) * 2017-02-28 2018-09-07 电子技术公司 The real-time dynamic that game parameter is played in video game application programs is changed and optimization
CN108762926A (en) * 2018-05-29 2018-11-06 努比亚技术有限公司 A kind of system optimization method, terminal and computer readable storage medium
CN109395382A (en) * 2018-09-12 2019-03-01 苏州蜗牛数字科技股份有限公司 A kind of linear optimization method for rocking bar
WO2019047709A1 (en) * 2017-09-06 2019-03-14 Oppo广东移动通信有限公司 Resource configuration method and related product
CN109582463A (en) * 2018-11-30 2019-04-05 Oppo广东移动通信有限公司 Resource allocation method, device, terminal and storage medium
CN109857497A (en) * 2018-12-28 2019-06-07 与德科技有限公司 Method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN109908580A (en) * 2019-01-25 2019-06-21 努比亚技术有限公司 Optimization method, computer equipment and the storage medium of interface
CN109992315A (en) * 2019-04-09 2019-07-09 Oppo广东移动通信有限公司 Touch screen control method, apparatus, terminal and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607513A (en) * 2013-11-26 2014-02-26 广东欧珀移动通信有限公司 Method for controlling application to be used and intelligent terminal
CN106648865A (en) * 2016-12-15 2017-05-10 北京奇虎科技有限公司 Intelligent terminal, game operating environment optimizing method and system
CN108499108A (en) * 2017-02-28 2018-09-07 电子技术公司 The real-time dynamic that game parameter is played in video game application programs is changed and optimization
WO2019047709A1 (en) * 2017-09-06 2019-03-14 Oppo广东移动通信有限公司 Resource configuration method and related product
CN108762926A (en) * 2018-05-29 2018-11-06 努比亚技术有限公司 A kind of system optimization method, terminal and computer readable storage medium
CN109395382A (en) * 2018-09-12 2019-03-01 苏州蜗牛数字科技股份有限公司 A kind of linear optimization method for rocking bar
CN109582463A (en) * 2018-11-30 2019-04-05 Oppo广东移动通信有限公司 Resource allocation method, device, terminal and storage medium
CN109857497A (en) * 2018-12-28 2019-06-07 与德科技有限公司 Method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN109908580A (en) * 2019-01-25 2019-06-21 努比亚技术有限公司 Optimization method, computer equipment and the storage medium of interface
CN109992315A (en) * 2019-04-09 2019-07-09 Oppo广东移动通信有限公司 Touch screen control method, apparatus, terminal and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
万发林等: "移动端游戏界面设计探索与实践――以《百变推币机》为例", 《设计》 *
万发林等: "移动端游戏界面设计探索与实践――以《百变推币机》为例", 《设计》, no. 09, 7 May 2018 (2018-05-07), pages 120 - 121 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111352633A (en) * 2020-02-24 2020-06-30 腾讯科技(深圳)有限公司 Resource downloading method and device of application program, terminal and storage medium
CN111352633B (en) * 2020-02-24 2020-12-11 腾讯科技(深圳)有限公司 Resource downloading method and device of application program, terminal and storage medium

Also Published As

Publication number Publication date
CN110496387B (en) 2023-08-29

Similar Documents

Publication Publication Date Title
CN108646938B (en) Configuration method and device of touch screen, terminal and storage medium
CN109582463B (en) Resource allocation method, device, terminal and storage medium
US11376509B2 (en) Virtual object grouping method and device, storage medium, and electronic device
US20200384364A1 (en) Incentivizing players to engage in competitive gameplay
CN107930122B (en) Information processing method, device and storage medium
US11103790B2 (en) Game picture display method and apparatus and computer-readable storage medium
KR102267572B1 (en) Methods and devices for handling resource requests
CN108379839A (en) Response method, device and the terminal of control
CN108037952B (en) Object operation processing method, object operation data generation method and device
US20220296997A1 (en) Object display method and apparatus, and storage medium
US20230076343A1 (en) Virtual item selection interface
WO2023138192A1 (en) Method for controlling virtual object to pick up virtual prop, and terminal and storage medium
CN110585718A (en) Game processing method and information processing device
CN110909353A (en) Plug-in detection method and device
JP2022516319A (en) Methods and systems for optimizing the use of computer system resources during the period of farming in-game resources
CN103930179B (en) Information processing system
CN110496387A (en) Game optimization method, device, mobile terminal and storage medium
CN108159704A (en) A kind of gesture operation processing method and processing device
CN113262472A (en) Processing method and device of option control, processor and electronic device
CN109304035B (en) Game time length obtaining method and device, terminal equipment and storage medium
WO2023066003A1 (en) Virtual object control method and apparatus, and terminal, storage medium and program product
US20200164272A1 (en) Video game processing program and video game processing system
CN109542320A (en) A kind of display methods, terminal and computer storage medium
CN111481930B (en) Virtual object control method and device, computer equipment and storage medium
US20170142168A1 (en) Systems and methods for facilitating the sharing of user-generated content of a virtual space

Legal Events

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