CN107748699A - Resource allocation methods and Related product - Google Patents
Resource allocation methods and Related product Download PDFInfo
- Publication number
- CN107748699A CN107748699A CN201711062311.0A CN201711062311A CN107748699A CN 107748699 A CN107748699 A CN 107748699A CN 201711062311 A CN201711062311 A CN 201711062311A CN 107748699 A CN107748699 A CN 107748699A
- Authority
- CN
- China
- Prior art keywords
- application
- terminal device
- target game
- network bandwidth
- resource
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to field of terminal technology, discloses a kind of resource allocation methods and Related product.Wherein, this method includes:Whether the application being currently running in monitoring terminal equipment is target game application;In the case that the application being currently running in terminal device is target game application, the performance prioritization scheme for corresponding to target game application is obtained;According to the resource that the performance prioritization scheme is target game application distribution terminal equipment.Implement the embodiment of the present application, it can be the adaptable performance prioritization scheme of different game application designs, so as to utilize the resource that targetedly performance prioritization scheme is game application distribution terminal equipment, meet individual demand of the different game applications for multiple resources in terminal device, and then improve the game experiencing on terminal device.
Description
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of resource allocation methods and Related product.
Background technology
There are various applications in terminal device, a variety of aspects such as people's work, amusement and study can be met
Demand, great convenience is brought for the life of people.
Wherein, user using terminal device when playing game, in order to ensure the speed of game with performance, it is necessary to fully ensure that
Game application can the fully Internet resources of using terminal equipment, memory source, central processing unit (Central Processing
Unit, CPU) resource, graphics processor (Graphics Processing Unit, GPU) resource and input/output
(Input/output, I/O) resource.If the use of above-mentioned resource can not be sufficiently ensured, interim card will be caused, gone offline
Problem, reduce usage experience of the user to terminal device.
Therefore, how to ensure game application can abundant using terminal equipment resource, turn into one and urgently to be resolved hurrily ask
Topic.
The content of the invention
The embodiment of the present application provides a kind of resource allocation methods and Related product, can meet different game applications for
The individual demand of multiple resources in terminal device, and then improve the game experiencing on terminal device.
The embodiment of the present application first aspect discloses a kind of resource allocation methods, including:
Whether the application being currently running in monitoring terminal equipment is target game application;
In the case that the application being currently running in the terminal device is target game application, obtain described in corresponding to
The performance prioritization scheme of target game application;
It is the resource that target game application distributes the terminal device according to the performance prioritization scheme.
The embodiment of the present application second aspect discloses a kind of terminal device, including:
Monitoring unit, for monitoring whether the application being currently running in the terminal device is target game application;
First acquisition unit, the application for being currently running in the terminal device are the situation of target game application
Under, obtain the performance prioritization scheme for corresponding to target game application;
Allocation unit, for being that target game application distributes the terminal device according to the performance prioritization scheme
Resource.
The embodiment of the present application third aspect discloses a kind of terminal device, including processor, memory, communication interface and
One or more programs, wherein, one or more of programs are stored in the memory, and are configured as by described
Computing device, described program include instruction the step of for performing the method as described by above-mentioned first aspect.
The embodiment of the present application fourth aspect discloses a kind of computer-readable recording medium, and it is stored hands over for electronic data
The computer program changed, wherein, the computer program causes computer to perform the method as described by above-mentioned first aspect, institute
Stating computer includes terminal device.
The aspect of the embodiment of the present application the 5th discloses a kind of computer program product, wherein, the computer program product
Non-transient computer-readable recording medium including storing computer program, the computer program are operable to make calculating
Machine is performed such as the part or all of step described in the embodiment of the present application first aspect either method.The computer program product
Can be a software installation bag, the computer includes terminal device.
As can be seen from the above technical solutions, the embodiment of the present application has advantages below:
In the embodiment of the present application, whether the application being currently running in monitoring terminal equipment is target game application;The end
In the case that the application being currently running in end equipment is target game application, obtains and correspond to target game application
Performance prioritization scheme;It is the resource that target game application distributes the terminal device according to the performance prioritization scheme.By
This is visible, implements the embodiment of the present application, can be the adaptable performance prioritization scheme of different game application designs, so as to utilize
Targetedly performance prioritization scheme is the resource of game application distribution terminal equipment, meets that different game applications are set for terminal
The individual demand of standby middle multiple resources, and then improve the game experiencing on terminal device.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme in the embodiment of the present application, make required in being described below to embodiment
Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this
For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these accompanying drawings
His accompanying drawing.
Terminal device and server interacts signal when Fig. 1 is a kind of game application operation disclosed in the embodiment of the present application
Figure;
Fig. 2 is a kind of schematic flow sheet of resource allocation methods disclosed in the embodiment of the present application;
Fig. 3 is the schematic flow sheet of another resource allocation methods disclosed in the embodiment of the present application;
Fig. 4 is a kind of distribution schematic diagram of network bandwidth disclosed in the embodiment of the present application;
Fig. 5 is a kind of structural representation of terminal device disclosed in the embodiment of the present application;
Fig. 6 is the structural representation of another terminal device disclosed in the embodiment of the present application;
Fig. 7 is a kind of structural representation of monitoring unit disclosed in the embodiment of the present application;
Fig. 8 is a kind of structural representation of allocation unit disclosed in the embodiment of the present application;
Fig. 9 is the structural representation of another terminal device disclosed in the embodiment of the present application;
Figure 10 is the structural representation of another Chinese terminal device disclosed in the embodiment of the present application.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, the present invention is made below in conjunction with accompanying drawing into
One step it is described in detail, it is clear that the described embodiment only a part of embodiment of the present invention, rather than whole implementation
Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made
All other embodiment, belongs to the scope of protection of the invention.
Term " first ", " second " in description and claims of this specification and above-mentioned accompanying drawing etc. are to be used to distinguish
Different objects, rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, meaning
Figure is to cover non-exclusive include.Such as contain process, method, system, product or the equipment of series of steps or unit
The step of being not limited to list or unit, but alternatively also including the step of not listing or unit, or alternatively also
Including for other intrinsic steps of these processes, method or equipment or unit.
Terminal device involved by the embodiment of the present application can include the various handheld devices with radio communication function,
Mobile unit, wearable device, computing device or other processing equipments for being connected to radio modem, and various forms
User equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal
Device) etc..For convenience of description, apparatus mentioned above is referred to as terminal device.The application is implemented below in conjunction with the accompanying drawings
Example is introduced.
The embodiment of the present application provides a kind of resource allocation methods and Related product, can be that different game applications design
Adaptable performance prioritization scheme, so as to utilize the money that targetedly performance prioritization scheme is game application distribution terminal equipment
Source, meet individual demand of the different game applications for multiple resources in terminal device, and then improve the trip on terminal device
Play experience.It is described in detail individually below.
Referring to Fig. 1, terminal device and server when Fig. 1 is a kind of game application operation disclosed in the embodiment of the present application
Interaction schematic diagram.As shown in figure 1, if the game that player A is just being played on terminal device 101 is battle class game, player A is at end
The data operated in end equipment 101 can upload onto the server 102 in real time by up data link, pass through server afterwards
102 transmit to player B terminal device 103;Simultaneously, terminal device 101 can also pass through down data links the reception server
The player B of 102 transmission operation data, terminal device 101 is according to local data and the data received progress parameter afterwards
Calculate and figure renders, and then the display picture of terminal device 101 is updated.
Therefore, in the application scenarios of the battle class game running shown in Fig. 1, because the game application needs to use network
Carry out data transmission, therefore, the performance optimization in terms of the game application carries out Internet usage can be directed to.For example,
It can be that the game application distributes the network bandwidth of fixed value so that it carries out data transmission, be currently running so as to avoiding other
Cause the available network bandwidth deficiency of game application using to the excessive occupancy of network bandwidth.
Further, the performance optimization in terms of carrying out Internet usage for game application can extend to terminal device
In all need to use the game application that network carries out data transmission;Specifically, it is all in terminal device to need to use network to enter
The game application of row data transfer is operationally allocated the network bandwidth of fixed value so that it is used.It is however, in fact, every
The network bandwidth taken needed for individual game application is different, if the network bandwidth taken needed for game application A is less than above-mentioned fixed value,
Then such performance optimization can cause the waste of network bandwidth;If the network bandwidth taken needed for game application B is more than above-mentioned solid
Definite value, then such performance optimization can not meet game application B Web vector graphic demand.
Therefore, caused by when carrying out performance optimization to game application in terminal device resource unreasonable distribution, turn into one
Individual urgent problem to be solved.
Referring to Fig. 2, Fig. 2 is a kind of schematic flow sheet of resource allocation methods disclosed in the embodiment of the present application.Wherein, should
The executive agent of method can be terminal device, and the resource allocation methods shown in Fig. 2 may comprise steps of:
201st, whether the application being currently running in monitoring terminal equipment is target game application.
In the embodiment of the present application, corresponding performance prioritization scheme is configured with for each game application, with for each game
The characteristics of resource requirement of application, targetedly performance optimization is carried out to it.Therefore, terminal device monitoring is currently running
Using whether being target game application, if so, then calling the performance prioritization scheme for corresponding to target game application to swim for target
The resource of distribution terminal equipment is applied in play.
It is possible to further when target game is using being front stage operation, just be applied to corresponding performance prioritization scheme;
If target game does not carry out performance optimization using being running background to it.
As an alternative embodiment, the title for the process being currently running in terminal device can be extracted, will obtain
To process title matched with the process title that target game is applied, to determine whether the application that is currently running is target trip
Play application.
202nd, in the case that the application being currently running in terminal device is target game application, acquisition corresponds to target game
The performance prioritization scheme of application.
203rd, according to the resource that performance prioritization scheme is target game application distribution terminal equipment.
In the embodiment of the present application, the resource of terminal device includes:Memory source, network bandwidth resources, central processor CPU
Resource, graphics processor GPU resource and input/output I/O resources etc..
Therefore, corresponding to the performance prioritization scheme of target game application, required internal memory can be applied including target game
Resource, required network bandwidth resources, required cpu resource, required GPU resource and required I/O resources.Therefore, eventually
End equipment can be according to the above-mentioned resource that the performance optimization method applied corresponding to target game is its distribution terminal equipment, with pin
Meet the resource use demand of target game application to property.
As can be seen here, can be that different game application designs is adapted using the resource allocation methods described by Fig. 2
Performance prioritization scheme, so as to using the resource that targetedly performance prioritization scheme is game application distribution terminal equipment, meet
Different game applications for multiple resources in terminal device individual demand, and then improve terminal device on game experiencing.
Referring to Fig. 3, Fig. 3 is the schematic flow sheet of another resource allocation methods disclosed in the embodiment of the present application.The party
Method can be performed by terminal device, and this method may comprise steps of:
301st, the historical data that target game applies the occupancy situation to the resource of terminal device is obtained.
In the embodiment of the present application, the resource of terminal device includes:Memory source, network bandwidth resources, central processor CPU
Resource, graphics processor GPU resource and input/output I/O resources etc..Terminal device is in target game application running
In, collect target game and apply to the occupancy situation of various resources as above-mentioned historical data, historical data is divided afterwards
Analysis is directed to the performance prioritization scheme of target game application to generate.
302nd, the performance prioritization scheme of target game application is corresponded to according to historical data generation.
In the embodiment of the present application, big data analysis can be carried out to the historical data got, to determine that target game should
With the stock number of required occupancy.Illustrated so that the resource of terminal device is network bandwidth resources as an example, terminal device is to mesh
Mark game application and big data analysis is carried out to the historical data of the occupancy situation of network bandwidth resources, to determine target game application
The objective network bandwidth of required occupancy.
303rd, whether the application being currently running in monitoring terminal equipment is target game application.
In the embodiment of the present application, corresponding performance prioritization scheme is configured with for each game application, with for each game
The characteristics of resource requirement of application, targetedly performance optimization is carried out to it.Therefore, terminal device monitoring is currently running
Using whether being target game application, if so, then calling the performance prioritization scheme for corresponding to target game application to swim for target
The resource of distribution terminal equipment is applied in play.
It is possible to further when target game is using being front stage operation, just be applied to corresponding performance prioritization scheme;
If target game does not carry out performance optimization using being running background to it.
As an alternative embodiment, the title for the process being currently running in terminal device can be extracted, will obtain
To process title matched with the process title that target game is applied, to determine whether the application that is currently running is target trip
Play application.
304th, in the case that the application being currently running in terminal device is target game application, acquisition corresponds to target game
The performance prioritization scheme of application.
For example, according to the description in step 302, the performance prioritization scheme of target game application should including target game
With the objective network bandwidth of required occupancy.
305th, according to the resource that performance prioritization scheme is target game application distribution terminal equipment.
Illustrated so that the resource that terminal device currently distributes is network bandwidth resources as an example.Referring to Fig. 4, Fig. 4 is
A kind of distribution schematic diagram of network bandwidth disclosed in the embodiment of the present application.The performance optimization side according to corresponding to being applied target game
Case, the Netowrk tape width values of occupancy are objective network bandwidth Y needed for target game application.Therefore, terminal device is for target game
During allocated resources, terminal device currently unappropriated rest network bandwidth X can be obtained, if rest network bandwidth X is big
In equal to objective network bandwidth Y, then directly objective network bandwidth Y is distributed for target game application.
As another optional embodiment, if rest network bandwidth X is less than objective network bandwidth Y, terminal is obtained
The other application of network is used in equipment, suspends use of the other application to network to discharge supplementary network bandwidth Z, wherein, Z
≥(Y-X);Afterwards terminal device by rest network bandwidth and supplementary network bandwidth allocation to target game using.
Further, the above-mentioned other application for being suspended Web vector graphic is not system application, in order to avoid influence terminal device behaviour
Make the realization of the basic function of system.
As can be seen here, can be that different game application designs is adapted using the resource allocation methods described by Fig. 3
Performance prioritization scheme, so as to using the resource that targetedly performance prioritization scheme is game application distribution terminal equipment, meet
Different game applications for multiple resources in terminal device individual demand, and then improve terminal device on game experiencing.
Referring to Fig. 5, Fig. 5 is a kind of structural representation of terminal device disclosed in the embodiment of the present application.As shown in figure 5,
Terminal device 500 can include monitoring unit 501, first acquisition unit 502 and allocation unit 503, wherein,
Monitoring unit 501, whether the application for being currently running in monitoring terminal equipment is target game application.
In the embodiment of the present application, corresponding performance prioritization scheme is configured with for each game application, with for each game
The characteristics of resource requirement of application, targetedly performance optimization is carried out to it.Therefore, monitoring unit 501, which monitors, is currently transporting
Whether capable application is target game application, if so, then terminal device calls the performance optimization side for corresponding to target game application
Case is come for the resource of target game application distribution terminal equipment.
It is possible to further when target game is using being front stage operation, just be applied to corresponding performance prioritization scheme;
If target game does not carry out performance optimization using being running background to it.
As an alternative embodiment, monitoring unit 501 can extract the process that is currently running in terminal device
Title, the process title got is matched with the process title that target game is applied, to determine the application being currently running
Whether it is target game application.
First acquisition unit 502, in the case that the application for being currently running in terminal device is applied for target game, obtain
Take the performance prioritization scheme corresponding to target game application.
Allocation unit 503, for according to the resource that performance prioritization scheme is target game application distribution terminal equipment.
In the embodiment of the present application, the resource of terminal device includes:Memory source, network bandwidth resources, central processor CPU
Resource, graphics processor GPU resource and input/output I/O resources etc..
Therefore, corresponding to the performance prioritization scheme of target game application, required internal memory can be applied including target game
Resource, required network bandwidth resources, required cpu resource, required GPU resource and required I/O resources.Therefore, divide
With unit 503 can according to the performance optimization method applied corresponding to target game be its distribution terminal equipment above-mentioned resource,
Pointedly to meet the resource use demand of target game application.
As can be seen here, the terminal device described by Fig. 5, can be the adaptable performance optimization of different game application designs
Scheme, so as to using the resource that targetedly performance prioritization scheme is game application distribution terminal equipment, meet different game
Using the individual demand for multiple resources in terminal device, and then improve the game experiencing on terminal device.
Also referring to Fig. 6, Fig. 6 is the structural representation of another terminal device 600 disclosed in the embodiment of the present application.Its
In, what the terminal device shown in Fig. 6 obtained on the basis of the terminal device shown in Fig. 5, with the terminal device phase shown in Fig. 5
Than the terminal device shown in Fig. 6 also includes second acquisition unit 504, generation unit 505, the 3rd acquiring unit 506 and release
Unit 507, wherein,
Second acquisition unit 504, the history of the occupancy situation to the resource of terminal device is applied for obtaining target game
Data;Generation unit 505, for corresponding to the performance prioritization scheme of target game application according to historical data generation.
As an alternative embodiment, monitoring unit 501, including extraction subelement 5011 and analysis subelement
5012;Referring to Fig. 7, Fig. 7 is a kind of structural representation of monitoring unit disclosed in the embodiment of the present application, wherein,
Subelement 5011 is extracted, for extracting the process title being currently running in terminal device;
Subelement 5012 is analyzed, with the application that determines to be currently running whether is that target game should for analysis process title
With.
As an alternative embodiment, the resource of terminal device includes:Memory source, network bandwidth resources, center
Processor cpu resource, graphics processor GPU resource and input/output I/O resources;
Generation unit 505, analyzed specifically for carrying out big data to historical data to determine to account for needed for target game application
Stock number.
As an alternative embodiment, generation unit 505, is provided specifically for being applied to target game to network bandwidth
The historical data of the occupancy situation in source carries out big data analysis to determine the objective network bandwidth taken needed for target game application;
Allocation unit 503, including obtain subelement 5031 and distribution subelement 5032;Referring to Fig. 8, Fig. 8 is this Shen
Please a kind of structural representation of allocation unit disclosed in embodiment, wherein,
Subelement 5031 is obtained, for obtaining terminal device currently unappropriated rest network bandwidth;
Subelement 5032 is distributed, should for target game in the case of being wider than objective network bandwidth for rest network band
With distribution objective network bandwidth.
3rd acquiring unit 506, in the case of being less than objective network bandwidth for rest network bandwidth, obtain terminal device
In the other application of network is used;
Releasing unit 507, in the case of for other application not being system application, use of the pause other application to network
To discharge supplementary network bandwidth;
Allocation unit 503, be additionally operable to by rest network bandwidth and supplementary network bandwidth allocation to target game using.
As can be seen here, the terminal device described by Fig. 6, can be the adaptable performance optimization of different game application designs
Scheme, so as to using the resource that targetedly performance prioritization scheme is game application distribution terminal equipment, meet different game
Using the individual demand for multiple resources in terminal device, and then improve the game experiencing on terminal device.
Referring to Fig. 9, Fig. 9 is the structural representation of another terminal device 900 disclosed in the embodiment of the present application.As schemed
Showing, the terminal device includes processor 901, memory 902, communication interface 903 and one or more programs, wherein, it is above-mentioned
One or more programs are stored in memory, and are configured as by computing device, and program includes being used to perform
State the instruction of the step in embodiment of the method.
For example, program includes being used for the instruction for performing following steps:
Whether the application being currently running in monitoring terminal equipment is target game application;
In the case that the application being currently running in the terminal device is target game application, obtain described in corresponding to
The performance prioritization scheme of target game application;
It is the resource that target game application distributes the terminal device according to the performance prioritization scheme.
As can be seen here, the terminal device described by Fig. 9, can be the adaptable performance optimization of different game application designs
Scheme, so as to using the resource that targetedly performance prioritization scheme is game application distribution terminal equipment, meet different game
Using the individual demand for multiple resources in terminal device, and then improve the game experiencing on terminal device.
Referring to Fig. 10, Figure 10 is the structural representation of another terminal device 1000 disclosed in the embodiment of the present application.Such as
Shown in Figure 10, for convenience of description, the part related to the embodiment of the present application being illustrate only, particular technique details does not disclose,
It refer to the embodiment of the present application method part.The terminal can be to include mobile phone, tablet personal computer, PDA (Personal Digital
Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), any terminal device such as vehicle-mounted computer,
So that terminal device is mobile phone as an example:
Figure 10 is illustrated that the block diagram of the part-structure of the mobile phone related to the terminal device of the embodiment of the present application offer.Ginseng
Figure 10 is examined, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 1001, memory 1002, input block 1003, display
Unit 1004, sensor 1005, voicefrequency circuit 1006, Wireless Fidelity (wireless fidelity, WiFi) module 1007, place
Manage the part such as device 1008 and power supply 1009.It will be understood by those skilled in the art that the handset structure shown in Figure 10 not structure
The restriction of paired mobile phone, it can include than illustrating more or less parts, either combine some parts or different parts
Arrangement.
Each component parts of mobile phone is specifically introduced with reference to Figure 10:
RF circuits 1001 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station
After downlink information receives, handled to processor 1008;In addition, it is sent to base station by up data are designed.Generally, RF circuits
1001 include but is not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise
Amplifier, LNA), duplexer etc..In addition, RF circuits 1001 can also be led to by radio communication and network and other equipment
Letter.Above-mentioned radio communication can use any communication standard or agreement, including but not limited to global system for mobile communications (Global
System of Mobile communication, GSM), general packet radio service (General Packet Radio
Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA
(Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution,
LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 1002 can be used for storage software program and module, and processor 1008 is stored in memory by operation
1002 software program and module, so as to perform the various function application of mobile phone and data processing.Memory 1002 can be led
To include storing program area and storage data field, wherein, storing program area can storage program area, needed at least one function
Application program (such as sound-playing function, image player function etc.) etc.;Storage data field can store uses institute according to mobile phone
Data (such as voice data, phone directory etc.) of establishment etc..Stored in addition, memory 1002 can include high random access
Device, nonvolatile memory can also be included, a for example, at least disk memory, flush memory device or other volatibility are consolidated
State memory device.
Input block 1003 can be used for the numeral or character information for receiving input, and produce with the user of mobile phone set with
And the key signals input that function control is relevant.Specifically, input block 1003 may include contact panel 10031, bio-identification mould
Group 10032.Contact panel 10031, also referred to as touch-screen, collect touch operation (such as user of the user on or near it
Use the behaviour of any suitable object such as finger, stylus or annex on contact panel 10031 or near contact panel 10031
Make), and corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 10031 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
Contact coordinate is converted into, then gives processor 1008, and the order sent of reception processing device set 1008 and can be performed.This
Outside, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be used to realize contact panel 10031.
Display unit 1004 can be used for display by user input information or be supplied to user information and mobile phone it is each
Kind menu.Display unit 1004 may include display panel 10041, optionally, can use liquid crystal display (Liquid
Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED)
To configure display panel 10041.Further, contact panel 10031 can cover display panel 10041, when contact panel 10031
After detecting the touch operation on or near it, processor sets 1008 are sent to determine the type of touch event, then
Processor sets 1008 provide corresponding visual output according to the type of touch event on display panel 10041.Although scheming
In 10, contact panel 10031 and display panel 10041 are the parts independent as two to realize the input of mobile phone and input work
Can, but in some embodiments it is possible to contact panel 10031 and display panel 10041 are integrated and realize the input of mobile phone
And output function.
Mobile phone may also include at least one sensor 1005, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel 10041, proximity transducer can close display panel when mobile phone is moved in one's ear
10041 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (generally three axles)
The size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture is (such as vertical and horizontal
Shield switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;As for mobile phone
The other sensors such as the gyroscope that can also configure, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Voicefrequency circuit 1006, loudspeaker 10061, microphone 10062 can provide the COBBAIF between user and mobile phone.Sound
Electric signal after the voice data received conversion can be transferred to loudspeaker 10061, by loudspeaker 10061 by frequency circuit 1006
Be converted to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 10062, by audio-frequency electric
Road 1006 is converted to voice data after receiving, then after voice data output processor set 1008 is handled, through RF circuits 1001
To be sent to such as another mobile phone, or voice data exported to memory 1002 further to handle.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 1007
Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Figure 10 is shown
WiFi module 1007, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely
Become in the essential scope of invention and omit.
Processor 1008 is the control centre of mobile phone, and processor 1008 utilizes various interfaces and connection whole mobile phone
Various pieces, by running or performing the software program and/or module that are stored in memory 1002, and call and be stored in
Data in reservoir 1002, the various functions and processing data of mobile phone are performed, so as to carry out integral monitoring to mobile phone.Optionally,
Processor 1008 may include one or more processing units;Preferably, processor 1008 can integrate application processor and modulatedemodulate
Processor is adjusted, wherein, application processor mainly handles operating system, user interface and application program etc., modem processor
Main processing radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1008.
In the embodiment of the present application,
Mobile phone also includes the power supply 1009 (such as battery) to all parts power supply, it is preferred that power supply can pass through power supply
Management system and processor 1008 are logically contiguous, so as to realize management charging, electric discharge and power consumption pipe by power-supply management system
The functions such as reason.
Although being not shown, mobile phone can also include camera, bluetooth module etc., will not be repeated here.
In earlier figures 2 or embodiment shown in Fig. 3, step method flow can the structure based on the mobile phone realize.
In earlier figures 5 or embodiment shown in Fig. 6, each unit function can the structure based on the mobile phone realize.
For example, processor 1008 can call the computer program stored in memory 1002, following for performing
Operation:
Whether the application being currently running in monitoring terminal equipment is target game application;
In the case that the application being currently running in the terminal device is target game application, obtain described in corresponding to
The performance prioritization scheme of target game application;
It is the resource that target game application distributes the terminal device according to the performance prioritization scheme.
As can be seen here, the terminal device described by Figure 10, can be that the adaptable performance of different game application designs is excellent
Change scheme, so as to using the resource that targetedly performance prioritization scheme is game application distribution terminal equipment, meet different trips
Play improves the game experiencing on terminal device using the individual demand for multiple resources in terminal device.
The embodiment of the present application also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium is stored for electricity
The computer program that subdata exchanges, the computer program cause computer to perform any as described in above-mentioned embodiment of the method
The part or all of step of method, the computer include terminal device.
The embodiment of the present application also provides a kind of computer program product, and the computer program product includes storing calculating
The non-transient computer-readable recording medium of machine program, the computer program are operable to make computer perform side as described above
The part or all of step of either method described in method embodiment.The computer program product can be a software installation
Bag, the computer include terminal device.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the application is not limited by described sequence of movement because
According to the application, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, involved action and module not necessarily the application
It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way
Realize.For example, device embodiment described above is only schematical, such as the division of the unit, it is only one kind
Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored, or not perform.Another, shown or discussed is mutual
Coupling direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit,
Can be electrical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer-readable access to memory.Based on such understanding, the technical scheme of the application substantially or
Person say the part to be contributed to prior art or the technical scheme all or part can in the form of software product body
Reveal and, the computer software product is stored in a memory, including some instructions are causing a computer equipment
(can be personal computer, server or network equipment etc.) performs all or part of each embodiment methods described of the application
Step.And foregoing memory includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory
(RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with the medium of store program codes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable memory, memory
It can include:Flash disk, read-only storage (English:Read-Only Memory, referred to as:ROM), random access device (English:
Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and
Embodiment is set forth, and the explanation of above example is only intended to help and understands the present processes and its core concept;
Meanwhile for those of ordinary skill in the art, according to the thought of the application, can in specific embodiments and applications
There is change part, in summary, this specification content should not be construed as the limitation to the application.
Claims (15)
- A kind of 1. resource allocation methods, it is characterised in that including:Whether the application being currently running in monitoring terminal equipment is target game application;In the case that the application being currently running in the terminal device is target game application, acquisition corresponds to the target The performance prioritization scheme of game application;It is the resource that target game application distributes the terminal device according to the performance prioritization scheme.
- 2. according to the method for claim 1, it is characterised in that described to obtain the performance for corresponding to target game application Before prioritization scheme, methods described also includes:Obtain the historical data that the target game applies the occupancy situation to the resource of the terminal device;Correspond to the performance prioritization scheme that the target game is applied according to historical data generation.
- 3. according to the method for claim 2, it is characterised in that whether the application being currently running in the monitoring terminal equipment For target game application, including:Extract the process title being currently running in the terminal device;Whether the application for analyzing the process title to determine to be currently running is the target game application.
- 4. according to the method in claim 2 or 3, it is characterised in that the resource of the terminal device includes:Memory source, Network bandwidth resources, central processor CPU resource, graphics processor GPU resource and input/output I/O resources;The performance prioritization scheme for corresponding to the target game according to historical data generation and applying, including:Big data analysis is carried out to the historical data to determine the stock number taken needed for the target game application.
- 5. according to the method for claim 4, it is characterised in that described that big data analysis is carried out to the historical data with true The stock number taken needed for the fixed target game application, including:The target game is applied the historical data of the occupancy situations of the network bandwidth resources is carried out big data analysis with Determine the objective network bandwidth taken needed for the target game application;The resource for distributing the terminal device for target game application according to the performance prioritization scheme, including:Obtain the terminal device currently unappropriated rest network bandwidth;In the case that the rest network band is wider than the objective network bandwidth, the mesh is distributed for target game application Mark network bandwidth.
- 6. according to the method for claim 5, it is characterised in that methods described also includes:In the case that the rest network bandwidth is less than the objective network bandwidth, obtains in the terminal device and net is used The other application of network;Suspend use of the other application to network to discharge supplementary network bandwidth;By the rest network bandwidth and the supplementary network bandwidth allocation to the target game using.
- 7. according to the method for claim 6, it is characterised in that described to suspend use of the other application to network to release Supplementary network bandwidth is put, including:In the case that the other application is not system application, suspend use of the other application to network to discharge the benefit Fill network bandwidth.
- A kind of 8. terminal device, it is characterised in that including:Monitoring unit, for monitoring whether the application being currently running in the terminal device is target game application;First acquisition unit, in the case that the application for being currently running in the terminal device is applied for the target game, Obtain the performance prioritization scheme for corresponding to target game application;Allocation unit, for according to the money that the performance prioritization scheme is the target game application distribution terminal device Source.
- 9. terminal device according to claim 8, it is characterised in that the terminal device also includes:Second acquisition unit, the performance prioritization scheme for corresponding to target game application is obtained for the first acquisition unit Before, the historical data that the target game applies the occupancy situation to the resource of the terminal device is obtained;Generation unit, the performance optimization side applied for corresponding to the target game according to historical data generation Case.
- 10. terminal device according to claim 9, it is characterised in that the monitoring unit, including:Subelement is extracted, for extracting the process title being currently running in the terminal device;Subelement is analyzed, whether the application for analyzing the process title to determine to be currently running is that the target game should With.
- 11. the terminal device according to claim 9 or 10, it is characterised in that the resource of the terminal device includes:Internal memory Resource, network bandwidth resources, central processor CPU resource, graphics processor GPU resource and input/output I/O resources;The generation unit, analyzed specifically for carrying out big data to the historical data to determine that the target game applies institute The stock number that need to be taken.
- 12. terminal device according to claim 11, it is characterised in thatThe generation unit, specifically for applying the history to the occupancy situation of the network bandwidth resources to the target game Data carry out big data analysis to determine the objective network bandwidth taken needed for the target game application;The allocation unit, including:Subelement is obtained, for obtaining the terminal device currently unappropriated rest network bandwidth;Subelement is distributed, in the case of being wider than the objective network bandwidth for the rest network band, is swum for the target Play application distributes the objective network bandwidth.
- 13. terminal device according to claim 12, it is characterised in that the terminal device also includes:3rd acquiring unit, in the case of being less than the objective network bandwidth for the rest network bandwidth, obtain the end The other application of network is used in end equipment;Releasing unit, in the case of not being system application for the other application, suspend the other application makes to network To discharge supplementary network bandwidth;The allocation unit, it is additionally operable to the rest network bandwidth and the supplementary network bandwidth allocation to the target game Using.
- A kind of 14. terminal device, it is characterised in that including processor, memory, communication interface and one or more programs, Wherein, one or more of programs are stored in the memory, and are configured as by the computing device, described Program includes being used for the instruction that perform claim requires the step in 1 to 7 any one method.
- A kind of 15. computer-readable recording medium, it is characterised in that it stores the computer program for electronic data interchange, Wherein, the computer program causes computer to perform the method as described in claim 1 to 7 any one, the computer Including terminal device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711062311.0A CN107748699A (en) | 2017-10-27 | 2017-10-27 | Resource allocation methods and Related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711062311.0A CN107748699A (en) | 2017-10-27 | 2017-10-27 | Resource allocation methods and Related product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107748699A true CN107748699A (en) | 2018-03-02 |
Family
ID=61253409
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711062311.0A Pending CN107748699A (en) | 2017-10-27 | 2017-10-27 | Resource allocation methods and Related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107748699A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108769192A (en) * | 2018-05-29 | 2018-11-06 | 努比亚技术有限公司 | A kind of game bandwidth regulation and control method, equipment and computer readable storage medium |
CN109107164A (en) * | 2018-07-17 | 2019-01-01 | 奇酷互联网络科技(深圳)有限公司 | The method and apparatus that mobile terminal and its game performance are adjusted |
CN109165091A (en) * | 2018-07-03 | 2019-01-08 | 南昌黑鲨科技有限公司 | Method, mobile terminal and the storage medium of running quality are applied in a kind of optimization |
CN109358963A (en) * | 2018-08-21 | 2019-02-19 | 奇酷互联网络科技(深圳)有限公司 | Mobile terminal and storage device and the method, apparatus for adjusting game performance |
CN109939437A (en) * | 2019-03-18 | 2019-06-28 | 北京智明星通科技股份有限公司 | Games running optimizatin method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103257898A (en) * | 2012-02-15 | 2013-08-21 | 北京邦天信息技术有限公司 | Resource allocation method and system in embedded system |
CN104391749A (en) * | 2014-11-26 | 2015-03-04 | 北京奇艺世纪科技有限公司 | Resource allocation method and device |
CN105491079A (en) * | 2014-09-16 | 2016-04-13 | 华为技术有限公司 | Method and device for adjusting resources needed by application in cloud computing environment |
CN106549880A (en) * | 2016-11-25 | 2017-03-29 | 珠海市魅族科技有限公司 | A kind of resource allocation methods and terminal unit of terminal |
CN106851747A (en) * | 2015-12-03 | 2017-06-13 | 中兴通讯股份有限公司 | Dynamic resource allocation method and device in a kind of GSM |
-
2017
- 2017-10-27 CN CN201711062311.0A patent/CN107748699A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103257898A (en) * | 2012-02-15 | 2013-08-21 | 北京邦天信息技术有限公司 | Resource allocation method and system in embedded system |
CN105491079A (en) * | 2014-09-16 | 2016-04-13 | 华为技术有限公司 | Method and device for adjusting resources needed by application in cloud computing environment |
CN104391749A (en) * | 2014-11-26 | 2015-03-04 | 北京奇艺世纪科技有限公司 | Resource allocation method and device |
CN106851747A (en) * | 2015-12-03 | 2017-06-13 | 中兴通讯股份有限公司 | Dynamic resource allocation method and device in a kind of GSM |
CN106549880A (en) * | 2016-11-25 | 2017-03-29 | 珠海市魅族科技有限公司 | A kind of resource allocation methods and terminal unit of terminal |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108769192A (en) * | 2018-05-29 | 2018-11-06 | 努比亚技术有限公司 | A kind of game bandwidth regulation and control method, equipment and computer readable storage medium |
CN108769192B (en) * | 2018-05-29 | 2022-01-14 | 努比亚技术有限公司 | Game bandwidth regulation and control method, device and computer readable storage medium |
CN109165091A (en) * | 2018-07-03 | 2019-01-08 | 南昌黑鲨科技有限公司 | Method, mobile terminal and the storage medium of running quality are applied in a kind of optimization |
CN109107164A (en) * | 2018-07-17 | 2019-01-01 | 奇酷互联网络科技(深圳)有限公司 | The method and apparatus that mobile terminal and its game performance are adjusted |
CN109358963A (en) * | 2018-08-21 | 2019-02-19 | 奇酷互联网络科技(深圳)有限公司 | Mobile terminal and storage device and the method, apparatus for adjusting game performance |
CN109939437A (en) * | 2019-03-18 | 2019-06-28 | 北京智明星通科技股份有限公司 | Games running optimizatin method and device |
CN109939437B (en) * | 2019-03-18 | 2022-10-25 | 北京智明星通科技股份有限公司 | Game program operation optimization method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107748699A (en) | Resource allocation methods and Related product | |
CN107249074A (en) | Application program quick start method, mobile terminal and computer-readable recording medium | |
CN104144312B (en) | A kind of method for processing video frequency and relevant apparatus | |
CN107146616A (en) | Apparatus control method and Related product | |
CN107634962A (en) | The management method and Related product of network bandwidth | |
CN107634867A (en) | Network management and Related product | |
CN107357656A (en) | A kind of memory allocation method, mobile terminal and computer-readable recording medium | |
CN107302628A (en) | The control method and Related product of application function | |
CN104699501B (en) | A kind of method and device for running application program | |
CN107766139A (en) | Application management method and device | |
CN107817988A (en) | The management method and Related product of PUSH message | |
CN103399657B (en) | The control method of mouse pointer, device and terminal unit | |
CN106454438A (en) | Data processing method, relevant equipment and system | |
CN110020386A (en) | Application page sharing method, mobile terminal and computer readable storage medium | |
CN104901992B (en) | A kind of method and apparatus of resource transfers | |
CN108536349A (en) | A kind of icon management method and mobile terminal | |
CN107330867A (en) | Image combining method, device, computer-readable recording medium and computer equipment | |
CN105049374B (en) | Dispatching method, device and the mobile terminal of downloading task | |
CN110072295A (en) | Dual-channels communication method, apparatus, first terminal and medium | |
CN107770381A (en) | Network management and Related product | |
CN106709856B (en) | Graph rendering method and related equipment | |
CN103064501B (en) | Control method, device and the terminal of a kind of information input | |
CN110198560A (en) | A kind of power distribution method and terminal | |
CN107634970A (en) | A kind of communication means and Related product of game virtual dedicated network of forming a team | |
CN106815078A (en) | A kind of internal memory control method and equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180302 |
|
RJ01 | Rejection of invention patent application after publication |