CN109062715A - The determination method, apparatus and terminal of memory clock frequency - Google Patents
The determination method, apparatus and terminal of memory clock frequency Download PDFInfo
- Publication number
- CN109062715A CN109062715A CN201810731376.8A CN201810731376A CN109062715A CN 109062715 A CN109062715 A CN 109062715A CN 201810731376 A CN201810731376 A CN 201810731376A CN 109062715 A CN109062715 A CN 109062715A
- Authority
- CN
- China
- Prior art keywords
- terminal
- usage scenario
- application program
- information
- preset
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
This application discloses a kind of determination method, apparatus of memory clock frequency and terminals, belong to field of computer technology.The described method includes: obtaining the use information of terminal;According to use information, determine whether the usage scenario of the application program run in terminal is default usage scenario;When usage scenario is default usage scenario, the corresponding memory clock frequency of usage scenario is determined;The corresponding memory clock frequency of usage scenario is set by the memory clock frequency of terminal.The application is by obtaining usage scenario current in terminal, when the usage scenario is default usage scenario, the corresponding memory clock frequency of the usage scenario is determined according to corresponding relationship, since the memory clock frequency of terminal is by determining what the usage scenario of application program determined, therefore it solves the problems, such as to improve the accuracy of determining memory clock frequency by determining that memory clock frequency is inaccurate in some cases according to application program in the related technology.
Description
Technical field
This application involves field of computer technology, in particular to the determination method, apparatus of a kind of memory clock frequency and end
End.
Background technique
Memory clock frequency is the frequency of terminal access memory, which represent the operating rate of memory, usual memory clock
Frequency is determined by the Memory Controller Hub in terminal.
In the related technology, the memory clock frequency in terminal is variable, and terminal is currently running using journey by detecting
Whether sequence is the higher application program of committed memory clock frequency, if currently running application program is committed memory clock frequency
Memory clock frequency is then adjusted to high-frequency operation mode by higher application program;If currently running application program is to account for
With the lower application program of memory clock frequency, then memory clock frequency is adjusted to low frequency operating mode.
Summary of the invention
The embodiment of the present application provides the determination method, apparatus and terminal of a kind of memory clock frequency, to solve correlation
By judging currently running application program in terminal to determine memory clock frequency that this is inaccurate in certain situations in technology
Problem.The technical solution is as follows:
On the one hand, the embodiment of the present application provides a kind of determination method of memory clock frequency, which comprises
The use information of the terminal is obtained, the use information is produced by the application program run in the terminal
Information;
According to the use information, determine whether the usage scenario of the application program is default usage scenario, it is described pre-
If usage scenario is used to indicate the default behavior of default application program;
When the usage scenario is the default usage scenario, the corresponding memory clock frequency of the usage scenario is determined
Rate;
The corresponding memory clock frequency of the usage scenario is set by the memory clock frequency of the terminal.
On the one hand, the embodiment of the present application provides a kind of determining device of memory clock frequency, and described device is applied to eventually
In end, described device includes:
Module is obtained, for obtaining the use information of the terminal, the use information is run in the terminal
Information caused by application program;
Processing module, for determining whether the usage scenario of the application program is default make according to the use information
With scene, the default usage scenario is used to indicate the default behavior of default application program;When the usage scenario is described pre-
If when usage scenario, determining the corresponding memory clock frequency of the usage scenario;The memory clock frequency of the terminal is arranged
For the corresponding memory clock frequency of the usage scenario.
On the one hand, the embodiment of the present application provides a kind of terminal, and the terminal includes processor, is connected with the processor
Memory, and the program instruction being stored on the memory, the processor realizes such as when executing described program instruction
The determination method of the upper memory clock frequency.
On the one hand, the embodiment of the present application provides a kind of computer readable storage medium, is stored thereon with program instruction, institute
State the determination method that memory clock frequency as described above is realized when program instruction is executed by processor.
Technical solution bring beneficial effect provided by the embodiments of the present application includes at least:
Use information caused by application program is run in terminal by obtaining, which is determined according to use information
Usage scenario, when the usage scenario is default usage scenario, according to the correspondence of default usage scenario and memory clock frequency
Relationship, determines the corresponding memory clock frequency of the usage scenario, sets the usage scenario pair for the memory clock frequency of terminal
The memory clock frequency answered.Since the memory clock frequency of terminal is determined by the usage scenario of determining application program, because
This solves the problems, such as in the related technology by determining that memory clock frequency is inaccurate in some cases according to application program,
Improve the accuracy of determining memory clock frequency.
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 of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the flow chart of the determination method for the memory clock frequency that one exemplary embodiment of the application provides;
Fig. 2 is the corresponding control element signal of user interface for the application program that one exemplary embodiment of the application provides
Figure;
Fig. 3 is the flow chart of the determination method for the memory clock frequency that one exemplary embodiment of the application provides;
Fig. 4 is the flow chart of the determination method for the memory clock frequency that one exemplary embodiment of the application provides;
Fig. 5 is the structural block diagram of the determining device for the memory clock frequency that one exemplary embodiment of the application provides;
Fig. 6 is the structural block diagram for the terminal that one exemplary embodiment of the application provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party
Formula is described in further detail.
In the related technology, whether terminal is that committed memory clock frequency is higher by detecting currently running application program
Application program, if currently running application program is the higher application program of committed memory clock frequency, by memory clock frequency
Rate is adjusted to high-frequency operation mode, due to each application program under different usage scenarios to the access frequency of memory not
Together, therefore by detecting application program determine that memory clock frequency is inaccurate in some cases.
Typically, the determination method of the memory clock frequency can be applied to following product scene: when having adjusting memory
The terminal of clock frequency functionality.The terminal runs use information caused by application program by obtaining in terminal, according to using letter
The usage scenario for determining the application program is ceased, when the usage scenario is default usage scenario, according to default usage scenario and interior
The corresponding relationship for depositing clock frequency determines the corresponding memory clock frequency of the usage scenario, the memory clock frequency of terminal is set
It is set to the corresponding memory clock frequency of the usage scenario.Since the memory clock frequency of terminal is by determining making for application program
It is determined with scene, therefore solves and determine memory clock frequency in some cases not according to application program in the related technology
Accurate problem improves the accuracy of determining memory clock frequency.
Firstly, noun involved in the embodiment of the present application is introduced:
Memory: being the memory space of the processor energy directly addressing in terminal, is temporary storing data and processing in terminal
The electronic component of data, the application program in terminal, which needs to call in memory, to be run.Usual memory includes random access memory (English
Text: Random Access Memory, RAM), read-only memory (English: Read-Only Memory, ROM), and high speed are slow
Deposit (Cache).
Memory clock frequency: being the frequency of the terminal access memory of Memory Controller Hub setting, which represent the work of memory
Speed, usual Memory Controller Hub are integrated in the processor of terminal.
Machine learning model: being a kind of operational model, by being interconnected to constitute between multiple nodes (or neuron),
Each node corresponds to a strategic function, and the connection between every two node represents a weighting for passing through the connection signal
Value, referred to as weight.After sample inputs the node of machine learning model, an output is exported as a result, this is defeated by each node
Input sample of the result as next node out, machine learning model is by sample final output to the plan of each node
Slightly function and weight are adjusted, which, which is referred to as, trains.
Usage scenario: being the specifically used function of the application program that runs in terminal.For example, using instant messaging application journey
Sequence may include scene used below: being conversated using instant messaging application program, uses instant messaging application program scanning two
Code is tieed up, file transmission is carried out using instant messaging application program, is taken pictures etc. using instant messaging application program.
Terminal in the embodiment of the present application can be mobile phone, tablet computer, E-book reader, MP3 (Moving
Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3) player,
MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level
4) player, pocket computer on knee, wearable device and desktop computer etc..Terminal in the embodiment of the present application includes
Memory clock frequency is arranged by Memory Controller Hub in memory and Memory Controller Hub, terminal.Optionally, Memory Controller Hub is integrated in end
In the processor at end.
Referring to FIG. 1, the determination method of its memory clock frequency that offer of one exemplary embodiment of the application is provided
Flow chart.This method is applied in terminal, this method comprises:
Step 101, the use information of terminal is obtained.
Terminal obtains the use information that running application program generates.Optionally, which includes interface information
And/or behavioural information.Wherein, interface information is the image feature information of the user interface of the display screen display of terminal;Behavior
Information is to indicate the information of the behavior of application program, and behavioural information includes but is not limited to the local file of application call terminal
Calling behavioural information, application call terminal electronic component calling behavioural information and application transfer data packet
At least one of behavioural information.For example, when terminal is when running instant messaging application program, the display screen display of terminal
There is the user interface of the instant messaging application program, terminal obtains the image feature information of the user interface;Or, when terminal is being transported
When row instant messaging application program, terminal obtain the local file of instant application call terminal, terminal electronic component with
And the behavioural information of transmission data packet.
Illustratively, it as shown in Fig. 2, when terminal 110 is when running instant messaging application program 1, obtains instant messaging and answers
The corresponding control element of user interface 130 shown on the display screen 120 of terminal 110 with program 1.For example, in Instant Messenger
Believe that application program 1 carries out in the usage scenario of file transmission, the corresponding control element of user interface 130 of display includes this terminal
User's head portrait control element 1301 of 110 corresponding users, the transport interface control element 1302 for transmitting file, file reception side
User's head portrait control element 1302 of the corresponding user of terminal after terminal obtains the corresponding control element of user interface 130, obtains
Character information and/or image information in above-mentioned control element.For example, the character information of user's head portrait control element 1301 includes
The image information of user's pet name " Xiao Ming ", user's head portrait control element 1301 includes user's head portrait of this terminal user;Transmit boundary
The character information of face control element 1303 includes " XXX.jpg file is just in the transmission ", the figure of transport interface control element 1302
As information includes the material image of transport interface;The character information of user's head portrait control element 1302 includes that user's pet name is " small
It is red ", the image information of user's head portrait control element 1302 includes user's head portrait of file reception terminal.Terminal gets above-mentioned control
After character information and/or image information in part element, the feature in character information and/or image information is extracted, interface is obtained
Information.For example, image information and word in above-mentioned character information and/or image information, in transport interface control element 1303
Symbol information is characteristic information, terminal using in transport interface control element 1303 image information and character information as interface letter
Breath.
Illustratively, when terminal is when running instant messaging application program 1, acquisition instant messaging application program 1 is being run
The local file of middle calling, the local file that instant messaging application program 1 is called is as behavioural information.For example, in Instant Messenger
Believe that application program 1 carries out in the usage scenario of file transmission, instant messaging application program 1 has invoked the view for being stored in terminal local
At least one of frequency file, audio file, picture file, terminal obtain at least one that instant messaging application program 1 is called
Video file, audio file and picture file, as the behavioural information under current usage scenario.
Illustratively, when terminal is when running instant messaging application program 1, acquisition instant messaging application program 1 is being run
The electronic component of the terminal of middle calling and the allocating time for calling electronic component, the electricity that instant messaging application program 1 is called
Subcomponent and allocating time are as behavioural information.For example, carrying out the use of Online Video live streaming in instant communication application program 1
In scene, instant messaging application program 1 has invoked the microphone and camera of terminal, and terminal obtains instant messaging application program
1 calls the information of microphone and camera, as the use information under current usage scenario.
Illustratively, terminal, can be by the serviced component in operating system to i.e. when running instant messaging application program 1
When the data packet transmitted of communication application program 1 grabbed, obtain the data transmitted in operation of instant messaging application program 1
Packet, the data packet that instant messaging application program 1 is transmitted is as behavioural information.
Step 102, according to use information, determine whether the usage scenario of the application program run in terminal is default use
Scene.
Wherein, default usage scenario is used to indicate the default behavior of default application program.Since each application program is not
It is different the access frequency of memory under same application scenarios, it is therefore desirable to determine each applied field of each application program
Scape determines memory clock frequency according to the application scenarios of application program.Illustratively, instant messaging application program is in session context
The frequency for transmitting the two usage scenarios access memory with file is not identical.Therefore, the memory clock that can will be had determined
As default usage scenario, presetting the corresponding application program of usage scenario is to preset to apply journey for the behavior of the application program of frequency
Sequence, presetting the corresponding behavior of usage scenario is default behavior.For example, the instant messaging application program 1 by actual measurement is passing
Corresponding memory clock frequency is f1 when defeated file, then the default usage scenario are as follows: instant messaging application program 1 transmits file
Behavior.
Optionally, terminal determines whether usage scenario is default usage scenario according to interface information;Or, terminal is according to row
For information, determine whether usage scenario is default usage scenario;Or, terminal is determined and is used according to interface information and behavioural information
Whether scene is default usage scenario.
Illustratively, terminal obtains the mark of running application program and the interface information of application program, according to answering
Usage scenario is determined with the interface information of the mark of program and application program, determines that this makes by inquiring default usage scenario set
It whether is default usage scenario with scene.For example, according to terminal be currently running in instant messaging application program 1 mark 1, with
And interface information (character information " XXX.jpg file is just in the transmission " and/or the transport interface control of instant messaging application program 1
The material image of part element 1303), determine that the usage scenario of terminal is that " operation instant messaging application program 1 transmits image text
Part " determines the current use of terminal when " operation instant messaging application program 1 transmits image file " is default usage scenario
Scene is default usage scenario.
Illustratively, after the running application call of terminal acquisition is stored in terminal local file, journey is applied in detection
The file that whether there is default file file type in the local file that sequence is called, is deposited when in the local file of application call
In the file of default file type, and the application program is when presetting application program, to determine that the current usage scenario of terminal is pre-
If usage scenario.For example, terminal obtains the mark 1 of the instant messaging application program 1 in being currently running, determine that mark 1 is present in
In the default corresponding default logo collection of application program, so that it is determined that instant messaging application program is default application program;Pass through
The picture file that terminal local is had invoked during running instant messaging application program is got, if picture file is default
File type, it is determined that the usage scenario of instant messaging application program 1 is default usage scenario.
Illustratively, terminal obtains the electronic component of running application call and calls the calling of electronic component
After time, when application program is default application program, the electronic component of the application call is preset electronic element, and is called
When the allocating time of electronic component is more than time threshold, determine that the current usage scenario of terminal is default usage scenario.For example, eventually
End obtains the mark 1 of the instant messaging application program 1 in being currently running, and it is corresponding to determine that mark 1 is present in default application program
In default logo collection, so that it is determined that instant messaging application program is default application program;According to getting instant messaging application
Whether the electronic component that program 1 is called, it is preset electronic element that it is original, which to detect the electronics, when instant communication application program 1 calls
Electronic component be preset electronic element, and call the electronic component time be more than time threshold when, determine that instant messaging is answered
Usage scenario with program 1 is default usage scenario.
Illustratively, it after terminal obtains the data packet of running application transfer, detects and is transmitted in the data packet
Whether the file type of file is default file type, when there are file type being default text in the file transmitted in the data packet
The file of part type, and the application program is to determine that the current usage scenario of terminal is to preset to use field when presetting application program
Scape.For example, terminal obtains the mark 1 of the instant messaging application program 1 in being currently running, determine that mark 1 is present in default application
In the corresponding default logo collection of program, so that it is determined that instant messaging application program is default application program;Pass through what is got
The file transmitted during running instant messaging application program 1, if there are file type being default file class in this document
The file of type, it is determined that the usage scenario of instant messaging application program 1 is default usage scenario.
Step 103, when usage scenario is default usage scenario, the corresponding memory clock frequency of usage scenario is determined.
When terminal determines that current usage scenario is default usage scenario, according to current usage scenario, by default
The corresponding relationship of usage scenario and memory clock frequency determines the corresponding memory clock frequency of current usage scenario.
Illustratively, as shown in Table 1, different usage scenarios corresponds to different operating modes, different operating modes pair
Different memory reference clock frequencies is answered, terminal obtains current usage scenario pair according to current usage scenario, by tabling look-up
The operating mode answered determines the memory clock frequency of terminal according to the operating mode.
Table one
Wherein, Pid* indicates that the * that is identified as of application program, Active* indicate that the corresponding behavioural information of application program is *,
Content* indicates that the corresponding interface information of application program is *.
Step 104, the corresponding memory clock frequency of the usage scenario is set by the memory clock frequency of terminal.
Terminal is set as current after being determined that current usage scenario corresponds to memory clock frequency, by memory clock frequency
Usage scenario correspond to memory clock frequency.Optionally, terminal sets current for memory clock frequency by Memory Controller Hub
Usage scenario correspond to memory clock frequency.
In conclusion running use information caused by application program, root in terminal by obtaining in the embodiment of the present application
The usage scenario that the application program is determined according to use information, when the usage scenario is default usage scenario, according to default use
The corresponding relationship of scene and memory clock frequency determines the corresponding memory clock frequency of the usage scenario, when by the memory of terminal
Clock set of frequency is the corresponding memory clock frequency of the usage scenario.Since the memory clock frequency of terminal is applied by determining
What the usage scenario of program determined, therefore solve in the related technology by determining memory clock frequency at certain according to application program
The problem of being inaccurate in a little situations, improves the accuracy of determining memory clock frequency.
Optionally, in the embodiment of the present application, terminal is by obtaining the image information in the corresponding control element of application program
And/or character information, image feature information is extracted from image information and/or character information, passes through detection image characteristic information
Whether it is that the image feature information of default usage scenario determines whether current usage scenario is default usage scenario, improves really
Determine the accuracy of usage scenario.
Optionally, in the embodiment of the present application, local file of the terminal by the running application call of acquisition, detection
It whether there is the file of default file type in the local file of calling, so that it is determined that whether current usage scenario is default make
With scene, the accuracy of determining usage scenario is improved.
Optionally, in the embodiment of the present application, terminal is first by the electronics for obtaining the terminal of running application call
Part and the time for calling electronic component, whether the electronic component for detecting calling is preset electronic element, calls electronic component
Whether the time is more than time threshold, determines whether current usage scenario is default usage scenario, improves determining usage scenario
Accuracy.
In a specific embodiment, the memory clock frequency in the embodiment of the present application determination method as shown in figure 3,
This method comprises:
In step 301, terminal obtains use information and determines that is run in terminal answers by the method in Fig. 1 embodiment
With the usage scenario of program.
In step 302, the usage scenario (that is, current usage scenario) of the application program run in terminal detection terminal
With the presence or absence of in default usage scenario set, when current usage scenario is present in default usage scenario set, into step
Rapid 303a;When current usage scenario is not present in default usage scenario set, 303b is entered step.Wherein, it presets and uses
Scene set is referred to as white list.
In step 303a, terminal is according to current usage scenario, by presetting usage scenario and memory clock frequency
Corresponding relationship, determines the corresponding memory clock frequency of current usage scenario, sets current for the memory clock frequency of terminal
The corresponding memory clock frequency of usage scenario.
In step 303b, since number of applications is more, and each application program have it is corresponding using field
Scape, therefore, it is difficult to the memory clock frequencies that all application programs of determination correspond to usage scenario.When current usage scenario is not
When default usage scenario, terminal obtains characteristic condition parameter, which is used to indicate terminal in the process of running
State feature.
In step 304, terminal calls frequency predication model according to characteristic condition parameter, obtains prediction clock frequency.Its
In, frequency predication model is the machine learning model obtained according to the training of at least one set of historic state characteristic parameter.
In step 305, memory clock frequency is set prediction clock frequency by terminal.
Due to the state of terminal in the process of running be characterized in it is continually changing, may be internal in a certain period application program
The access frequency deposited is lower, but if reducing memory clock frequency, may result in application program or operating system
It is unable to operate normally, therefore, it is necessary to call frequency predication model, frequency predication is inputted by the characteristic condition parameter that will acquire
Model to obtain the prediction clock frequency of frequency predication model output, and then sets prediction clock for memory clock frequency
Frequency.The embodiment of Fig. 4 is by the training to frequency model and frequency predication model is called to obtain predicting that clock frequency is done into one
The explanation of step.
Referring to FIG. 4, the determination method of its memory clock frequency that offer of one exemplary embodiment of the application is provided
Flow chart.This method is applied in terminal, this method comprises:
Step 401, operating parameter is obtained.
Wherein, operating parameter is to indicate the parameter of terminal running state.Optionally, the process run in terminal acquisition terminal
Runing time, the frequency of the application program access memory run in terminal, the application program run in terminal the starting time,
At least one of the frame number of operation application program run in the occupancy size of memory, terminal, obtains operating parameter.
Step 402, feature is extracted from operating parameter, obtains characteristic condition parameter.
Illustratively, feature vector is calculated by feature extraction algorithm according to collected operating parameter in terminal, will
Feature vector is as characteristic condition parameter.
Step 403, according to characteristic condition parameter, frequency predication model is called, obtains prediction clock frequency.
Characteristic condition parameter is input in frequency predication model by terminal, in frequency predication model a node by pair
After characteristic condition parameter extracts feature, an output is exported as a result, the input sample of the output result as next node,
After obtaining the output result of at least two nodes, the corresponding classification results of characteristic condition parameter are obtained by full articulamentum, each
Classification results are the probability of the corresponding clock frequency of characteristic condition parameter, and probability is highest corresponding as characteristic condition parameter
Predict clock frequency.
Optionally, frequency predication model is the machine learning mould obtained according to the training of at least one set of historic state characteristic parameter
Type.Before terminal calls frequency predication model, further includes:
Training sample set is obtained, which includes at least one set of historic state characteristic parameter.Wherein, historic state
Characteristic parameter is the characteristic condition parameter that terminal obtains before obtaining current characteristic condition parameter.Terminal is by same time
For the historic state characteristic parameter of acquisition as one group of historic state characteristic parameter, training sample set includes at least one set of historic state
Characteristic parameter.
Every group of historic state characteristic parameter at least one set of historic state characteristic parameter is input to initial parameter by terminal
Model obtains training result.
Wherein, initial parameter model is unbred frequency predication model, with initial strategic function and initially
Weight.Every group of historic state characteristic parameter is input to initial parameter model by terminal, obtains every group of historic state characteristic parameter
Corresponding pre- measured frequency, using the corresponding pre- measured frequency of every group of historic state characteristic parameter as every group of historic state characteristic parameter
Training result.
For every group of historic state characteristic parameter, training result is compared by terminal with history memory clock frequency, is obtained
It is lost to calculating.
Wherein, the error that loss is used to indicate between training result and history memory clock frequency is calculated.Illustratively, eventually
One group of historic state characteristic parameter 1 is input in initial parameter model by end, and obtaining output result is that frequency f1, terminal obtain always
It takes in the state that historic state characteristic parameter 1 is corresponding, application program accesses the average value of the frequency of memory in the given time
For f2, obtain calculating loss being △ f=f2-f1.
Terminal is lost according to the corresponding calculating of every group of historic state characteristic parameter, is instructed using error backpropagation algorithm
Get frequency predication model.
After obtaining the corresponding calculating loss of every group of historic state characteristic parameter, terminal is lost according to every group of calculating,
Using error backpropagation algorithm, the strategic function and weight of initial parameter model are adjusted, frequency predication model is obtained.
Step 404, prediction clock frequency is set by memory clock frequency.
Terminal is set as prediction clock frequency after getting prediction clock frequency, by memory clock frequency.Optionally, eventually
End sets prediction clock frequency for memory clock frequency by Memory Controller Hub.
Step 405, characteristic condition parameter is added to training sample set, obtains updated training sample set.
The characteristic condition parameter that terminal will acquire is added in trained sample sets, obtains updated trained sample sets.
The current characteristic condition parameter that terminal is got is the historic state characteristic parameter for calling frequency predication model next time, therefore
According to current characteristic condition parameter more new training sample set.
Step 406, frequency predication model is trained according to updated training sample set, obtains updated frequency
Prediction model.
Terminal obtains application program being averaged to the frequency of the practical application access memory of Memory Controller Hub in the given time
Value obtains the difference of actual access frequency and prediction clock rate as loss is calculated, according to the calculating according to prediction clock frequency
Loss is adjusted strategic function and weight, obtains updated frequency predication model.
In conclusion, when use information is not default use information, terminal passes through acquisition state in the embodiment of the present application
Characteristic parameter, by calling frequency predication model to obtain the corresponding prediction clock frequency of characteristic condition parameter, by memory clock frequency
Rate is set as prediction clock frequency, improves the accuracy of determining memory clock frequency.
Optionally, in the embodiment of the present application, by by characteristic condition parameter be added to training sample set obtain it is updated
Training sample set obtains updated frequency predication model by training sample set frequency of training prediction model after updating, and improves
The accuracy of frequency predication model output, further improves the accuracy of determining memory clock frequency.
Following is the application Installation practice, can be used for executing the application embodiment of the method.It is real for the application device
Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Referring to FIG. 5, the structural schematic diagram of the information display device provided it illustrates the application one embodiment.The letter
Ceasing display device can be by special hardware circuit, alternatively, the whole of software and hardware being implemented in combination with as the user terminal in Fig. 1
Or a part, the information display device include: to obtain module 510 and processing module 520.
Module 510 is obtained, for obtaining the use information of terminal, use information is the application program institute run in the terminal
The information of generation.
Processing module 520, for determining whether the usage scenario of application program is to preset to use field according to use information
Scape, default usage scenario are used to indicate the default behavior of default application program;When usage scenario is default usage scenario, determine
The corresponding memory clock frequency of usage scenario;The corresponding memory clock frequency of usage scenario is set by the memory clock frequency of terminal
Rate.
In an alternative embodiment, use information includes interface information and/or behavioural information, and interface information is terminal
Display screen display user interface image feature information, behavioural information be indicate application program behavior information;
Processing module 520 is also used to determine whether usage scenario is default usage scenario according to interface information;Or, according to
Behavioural information determines whether usage scenario is default usage scenario;Or, determining according to interface information and behavioural information and using field
Whether scape is default usage scenario.
In an alternative embodiment, module 510 is obtained, is also used to obtain the control element in user interface;According to
Control element obtains image information and/or character information in control element.
Processing module 520 is also used to extract image feature information from image information and/or character information, determines image
Whether characteristic information is the image feature information for presetting usage scenario.
In an alternative embodiment, module 510 is obtained, is also used to obtain when application program is default application program
Take the local file of the terminal of application call.
Processing module 510 is also used to determine the file that whether there is default file type in local file;Work as local file
It is middle that there are when the file of default file type, determine that usage scenario is default usage scenario.
In an alternative embodiment, module 510 is obtained, is also used to obtain when application program is default application program
Take the electronic component of the terminal of application call and the time of application call electronic component.
Processing module 520 is also used to determine whether electronic component is preset electronic element and the time for calling electronic component
It whether is more than time threshold;When electronic component is preset electronic element, and the time of electronic component is called to be more than time threshold,
Determine that usage scenario is default usage scenario.
In an alternative embodiment, module 510 is obtained, is also used to obtain when application program is default application program
Take the data packet that application program is being transmitted.
Processing module 520 is also used to determine the file that the file in data packet whether there is default file type;Work as data
There are when the file of default file type, determine that usage scenario is default usage scenario for file in packet.
In an alternative embodiment, module 510 is obtained, is also used to when usage scenario is not default usage scenario,
The characteristic condition parameter of terminal is obtained, characteristic condition parameter is used to indicate the state feature of terminal in the process of running.
Processing module 520 is also used to call frequency predication model according to characteristic condition parameter, obtains prediction clock frequency;
Prediction clock frequency is set by the memory clock frequency of terminal;Wherein, frequency predication model is according at least one set of history shape
The machine learning model that the training of state characteristic parameter obtains.
In an alternative embodiment, module 510 is obtained, when the operation for the process for being also used to run in acquisition terminal
Between, the starting time of the frequency of memory of application program access terminal, application program, terminal memory occupancy size, terminal
At least one of the frame number for running application program, obtains the operating parameter of terminal;Feature is extracted from operating parameter, obtains shape
State characteristic parameter.
In an alternative embodiment, module 510 is obtained, is also used to obtain the training sample set of terminal, training sample
Collection includes at least one set of historic state characteristic parameter.
Processing module 520 is also used to carry out at least one set of historic state characteristic parameter using error backpropagation algorithm
Training, obtains frequency predication model.
In an alternative embodiment, processing module 520 are also used at least one set of historic state characteristic parameter
Every group of historic state characteristic parameter, by historic state characteristic parameter input initial parameter model, obtain training result;For every
Group historic state characteristic parameter, training result is compared with history memory clock frequency, is obtained calculating loss, is calculated loss
The error being used to indicate between training result and history memory clock frequency;It is respectively corresponded to according to every group of historic state characteristic parameter
Calculating loss, using error backpropagation algorithm training obtain frequency predication model.
In an alternative embodiment, processing module 520 are also used to characteristic condition parameter being added to training sample
Collection, obtains updated training sample set;Frequency predication model is trained according to updated training sample set, is obtained more
Frequency predication model after new.
Referring to FIG. 6, the structural block diagram of the terminal provided it illustrates one exemplary embodiment of the application.The terminal
For the terminal 110 in Fig. 2.The terminal may include one or more such as lower component: processor 610 and memory 620.
Processor 610 may include one or more processing core.Processor 610 utilizes various interfaces and connection
Various pieces in entire elevator dispatching equipment, by running or executing the instruction being stored in memory 620, program, code
Collection or instruction set, and the data being stored in memory 620 are called, execute the various functions and processing number of elevator dispatching equipment
According to.Optionally, processor 610 can use Digital Signal Processing (Digital Signal Processing, DSP), scene can
Program gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable
Logic Array, PLA) at least one of example, in hardware realize.Processor 610 can integrating central processor (Central
Processing Unit, CPU) and one or more of modem etc. combination.Wherein, the main processing operation system of CPU
System and application program etc.;Modem is for handling wireless communication.It is understood that above-mentioned modem can not also
It is integrated into processor 610, is realized separately through chip piece.Optionally, processor 610 includes Memory Controller Hub
6101。
Optionally, above-mentioned each embodiment of the method mentions under realizing when processor 610 executes the program instruction in memory 620
The information display method of confession.
Memory 620 may include random access memory (Random Access Memory, RAM), also may include read-only
Memory (Read-Only Memory).Optionally, which includes non-transient computer-readable medium (non-
transitory computer-readable storage medium).Memory 620 can be used for store instruction, program, generation
Code, code set or instruction set.Memory 620 may include storing program area and storage data area, wherein storing program area can store
Instruction for realizing operating system, the instruction at least one function, for realizing the finger of above-mentioned each embodiment of the method
Enable etc.;Storage data area, which can be stored, uses created data etc. according to elevator dispatching equipment.Wherein, storage 620 includes interior
Deposit 6201.
The application also provides a kind of computer readable storage medium, be stored in the storage medium at least one instruction,
At least one section of program, code set or instruction set, at least one instruction or refer at least one section of program, the code set
Collection is enabled to be loaded by the processor and executed to realize the determination method of the memory clock frequency of above method embodiment offer.
Optionally, present invention also provides a kind of computer program products comprising instruction, when it runs on computers
When, so that computer executes the determination method of memory clock frequency described in above-mentioned various aspects.
It should be understood that referenced herein " multiple " refer to two or more."and/or", description association
The incidence relation of object indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A
And B, individualism B these three situations.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the preferred embodiments of the application, not to limit the application, it is all in spirit herein and
Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810731376.8A CN109062715B (en) | 2018-07-05 | 2018-07-05 | Method, device and terminal for determining memory clock frequency |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810731376.8A CN109062715B (en) | 2018-07-05 | 2018-07-05 | Method, device and terminal for determining memory clock frequency |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN109062715A true CN109062715A (en) | 2018-12-21 |
| CN109062715B CN109062715B (en) | 2022-02-08 |
Family
ID=64819422
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810731376.8A Expired - Fee Related CN109062715B (en) | 2018-07-05 | 2018-07-05 | Method, device and terminal for determining memory clock frequency |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109062715B (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110109813A (en) * | 2019-05-13 | 2019-08-09 | 北京达佳互联信息技术有限公司 | Information for GPU performance determines method, apparatus, terminal and storage medium |
| CN111324196A (en) * | 2020-02-03 | 2020-06-23 | Oppo广东移动通信有限公司 | Memory operation frequency adjusting method and device, storage medium and electronic equipment |
| CN113076141A (en) * | 2021-03-30 | 2021-07-06 | 山东英信计算机技术有限公司 | Acceleration card power-on initialization method and device and acceleration card |
| WO2021232386A1 (en) * | 2020-05-22 | 2021-11-25 | 华为技术有限公司 | Dynamical management method and device for shared memory pool |
| CN113806062A (en) * | 2020-06-16 | 2021-12-17 | 深圳Tcl数字技术有限公司 | A method for adjusting the operating frequency of a memory, an intelligent terminal and a storage medium |
| CN114724233A (en) * | 2020-12-21 | 2022-07-08 | 青岛海尔多媒体有限公司 | Method and device for gesture control of terminal equipment and terminal equipment |
| CN117806811A (en) * | 2022-09-30 | 2024-04-02 | 广东美的制冷设备有限公司 | Memory dynamic reduction method of air conditioner, air conditioner and storage medium |
Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050044440A1 (en) * | 2003-08-22 | 2005-02-24 | Barr Andrew H. | Bus clock frequency management based on characteristics of an application program |
| US20090307521A1 (en) * | 2008-06-06 | 2009-12-10 | Jung Lee | DDR memory controller |
| CN102073504A (en) * | 2011-01-21 | 2011-05-25 | 深圳创维数字技术股份有限公司 | Multi-scene operating method, multi-scene operating system and intelligent device |
| CN103475790A (en) * | 2013-09-06 | 2013-12-25 | 中国科学院计算技术研究所 | Intelligent mobile terminal power consumption management method |
| CN105867521A (en) * | 2015-02-10 | 2016-08-17 | 马维尔国际有限公司 | Method and apparatus for adjusting the clock frequency of hardware in a computing device, and user equipment |
| US20160350156A1 (en) * | 2015-05-26 | 2016-12-01 | Mediatek Inc. | Method for performing processor resource allocation in an electronic device, and associated apparatus |
| CN106354561A (en) * | 2016-08-24 | 2017-01-25 | 刘勇 | Method for controlling running memory of mobile terminal and mobile terminal |
| CN106649067A (en) * | 2016-12-28 | 2017-05-10 | 深圳先进技术研究院 | Performance and energy consumption prediction method and device |
| CN107544898A (en) * | 2017-09-08 | 2018-01-05 | 北京小米移动软件有限公司 | Data capture method, device, equipment and storage medium |
| CN107589998A (en) * | 2017-08-31 | 2018-01-16 | 广东欧珀移动通信有限公司 | Resource allocation method and Related product |
| CN107783803A (en) * | 2017-11-21 | 2018-03-09 | 广东欧珀移动通信有限公司 | System optimization method, device, storage medium and intelligent terminal for intelligent terminal |
| CN107817891A (en) * | 2017-11-13 | 2018-03-20 | 广东欧珀移动通信有限公司 | Screen control method, device, equipment and storage medium |
-
2018
- 2018-07-05 CN CN201810731376.8A patent/CN109062715B/en not_active Expired - Fee Related
Patent Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050044440A1 (en) * | 2003-08-22 | 2005-02-24 | Barr Andrew H. | Bus clock frequency management based on characteristics of an application program |
| US20090307521A1 (en) * | 2008-06-06 | 2009-12-10 | Jung Lee | DDR memory controller |
| CN102073504A (en) * | 2011-01-21 | 2011-05-25 | 深圳创维数字技术股份有限公司 | Multi-scene operating method, multi-scene operating system and intelligent device |
| CN103475790A (en) * | 2013-09-06 | 2013-12-25 | 中国科学院计算技术研究所 | Intelligent mobile terminal power consumption management method |
| CN105867521A (en) * | 2015-02-10 | 2016-08-17 | 马维尔国际有限公司 | Method and apparatus for adjusting the clock frequency of hardware in a computing device, and user equipment |
| US20160350156A1 (en) * | 2015-05-26 | 2016-12-01 | Mediatek Inc. | Method for performing processor resource allocation in an electronic device, and associated apparatus |
| CN106354561A (en) * | 2016-08-24 | 2017-01-25 | 刘勇 | Method for controlling running memory of mobile terminal and mobile terminal |
| CN106649067A (en) * | 2016-12-28 | 2017-05-10 | 深圳先进技术研究院 | Performance and energy consumption prediction method and device |
| CN107589998A (en) * | 2017-08-31 | 2018-01-16 | 广东欧珀移动通信有限公司 | Resource allocation method and Related product |
| CN107544898A (en) * | 2017-09-08 | 2018-01-05 | 北京小米移动软件有限公司 | Data capture method, device, equipment and storage medium |
| CN107817891A (en) * | 2017-11-13 | 2018-03-20 | 广东欧珀移动通信有限公司 | Screen control method, device, equipment and storage medium |
| CN107783803A (en) * | 2017-11-21 | 2018-03-09 | 广东欧珀移动通信有限公司 | System optimization method, device, storage medium and intelligent terminal for intelligent terminal |
Non-Patent Citations (2)
| Title |
|---|
| 刘琪骁: "可调频率的微处理器性能预测模型研究与实现", 《万方数据》 * |
| 李登辉 等: "数据中心中DVFS对程序性能影响模型的设计", 《软件学报》 * |
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110109813A (en) * | 2019-05-13 | 2019-08-09 | 北京达佳互联信息技术有限公司 | Information for GPU performance determines method, apparatus, terminal and storage medium |
| CN110109813B (en) * | 2019-05-13 | 2023-02-17 | 北京达佳互联信息技术有限公司 | Information determination method and device for GPU (graphics processing Unit) performance, terminal and storage medium |
| CN111324196A (en) * | 2020-02-03 | 2020-06-23 | Oppo广东移动通信有限公司 | Memory operation frequency adjusting method and device, storage medium and electronic equipment |
| CN111324196B (en) * | 2020-02-03 | 2021-09-28 | Oppo广东移动通信有限公司 | Memory operation frequency adjusting method and device, storage medium and electronic equipment |
| WO2021232386A1 (en) * | 2020-05-22 | 2021-11-25 | 华为技术有限公司 | Dynamical management method and device for shared memory pool |
| CN113806062A (en) * | 2020-06-16 | 2021-12-17 | 深圳Tcl数字技术有限公司 | A method for adjusting the operating frequency of a memory, an intelligent terminal and a storage medium |
| US12530230B2 (en) | 2020-06-16 | 2026-01-20 | Shenzhen Tcl New Technology Co., Ltd. | Memory operating-frequency adjustment method, smart terminal, and storage medium |
| CN114724233A (en) * | 2020-12-21 | 2022-07-08 | 青岛海尔多媒体有限公司 | Method and device for gesture control of terminal equipment and terminal equipment |
| CN113076141A (en) * | 2021-03-30 | 2021-07-06 | 山东英信计算机技术有限公司 | Acceleration card power-on initialization method and device and acceleration card |
| CN117806811A (en) * | 2022-09-30 | 2024-04-02 | 广东美的制冷设备有限公司 | Memory dynamic reduction method of air conditioner, air conditioner and storage medium |
| WO2024066714A1 (en) * | 2022-09-30 | 2024-04-04 | 广东美的制冷设备有限公司 | Dynamic memory frequency reduction method for air conditioner, air conditioner, and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109062715B (en) | 2022-02-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109062715A (en) | The determination method, apparatus and terminal of memory clock frequency | |
| CN111260665B (en) | Image segmentation model training method and device | |
| CN107133094B (en) | Application management method, mobile terminal and computer readable storage medium | |
| CN108304758B (en) | Face feature point tracking method and device | |
| CN110798718B (en) | Video recommendation method and device | |
| CN107632697B (en) | Application processing method and device, storage medium and electronic equipment | |
| CN109378000A (en) | Voice awakening method, device, system, equipment, server and storage medium | |
| CN112135325A (en) | Network switching method, device, storage medium and terminal | |
| CN106919918A (en) | A kind of face tracking method and device | |
| CN114071627A (en) | Network switching method, intelligent terminal and storage medium | |
| CN110009004B (en) | Image data processing method, computer device, and storage medium | |
| CN112084959B (en) | Crowd image processing method and device | |
| CN109445918A (en) | Method for scheduling task, device, terminal and storage medium | |
| WO2017088434A1 (en) | Human face model matrix training method and apparatus, and storage medium | |
| CN108418768A (en) | Service data identification method, device, terminal and storage medium | |
| CN107728772B (en) | Application processing method and device, storage medium and electronic equipment | |
| CN107133296B (en) | Application program recommendation method and device and computer readable storage medium | |
| CN111182332B (en) | Video processing method, device, server and storage medium | |
| US11132348B1 (en) | Techniques to configure media packages | |
| CN103905837A (en) | Image processing method and device and terminal | |
| CN117978650A (en) | Data processing method, device, terminal and network side equipment | |
| CN111862015A (en) | A kind of image quality level determination method, device and electronic equipment | |
| CN110263522A (en) | Face identification method, terminal and computer readable storage medium | |
| CN113158223B (en) | Data processing method, device, equipment and medium based on state transition core optimization | |
| CN115328725A (en) | State monitoring method and device, storage medium and electronic 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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20220208 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |