CN108647096B - Method of adjustment, device, storage medium and the mobile terminal of system resource configuration - Google Patents

Method of adjustment, device, storage medium and the mobile terminal of system resource configuration Download PDF

Info

Publication number
CN108647096B
CN108647096B CN201810467943.3A CN201810467943A CN108647096B CN 108647096 B CN108647096 B CN 108647096B CN 201810467943 A CN201810467943 A CN 201810467943A CN 108647096 B CN108647096 B CN 108647096B
Authority
CN
China
Prior art keywords
system resource
user
resource configuration
user group
mobile terminal
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.)
Expired - Fee Related
Application number
CN201810467943.3A
Other languages
Chinese (zh)
Other versions
CN108647096A (en
Inventor
程杰
陈岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810467943.3A priority Critical patent/CN108647096B/en
Publication of CN108647096A publication Critical patent/CN108647096A/en
Application granted granted Critical
Publication of CN108647096B publication Critical patent/CN108647096B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification

Abstract

The embodiment of the present application discloses method of adjustment, device, storage medium and the mobile terminal of a kind of system resource configuration.This method includes the facial image for obtaining active user, and determines user group belonging to active user based on the facial image;According to user group's matching system resource distribution library file, wherein the system resource repository document memory stores up system resource configuration parameter corresponding with user group;The system resource configuration of mobile terminal is adjusted according to the system resource configuration parameter, to, user's automatic adjustment system resource distribution based on currently used mobile terminal, comply with the use demand of the user, user is avoided to manually adjust system resource configuration again, the degree of intelligence of mobile terminal is provided, interaction flow is simplified.

Description

Method of adjustment, device, storage medium and the mobile terminal of system resource configuration
Technical field
A kind of configured the invention relates to mobile terminal technology more particularly to system resource method of adjustment, device, Storage medium and mobile terminal.
Background technique
Currently, mobile terminal has been deep into people's lives and work with the continuous development of mobile communication technology, Mobile communication also has become widest communication mode.
As mobile terminal is constantly intelligent, operating system is all mounted in most terminal devices, system is according to user The configuration operation of input carries out configuration optimization to system resource, so that terminal device can be realized rich and varied function.However, The system resource configuration mode of mobile terminal depends on user's operation, and degree of intelligence is not high.
Summary of the invention
The embodiment of the present application provides method of adjustment, device, storage medium and the mobile terminal of a kind of system resource configuration, can With optimization system resource allocation proposal.
In a first aspect, the embodiment of the present application provides a kind of method of adjustment of system resource configuration, comprising:
The facial image of active user is obtained, and user group belonging to active user is determined based on the facial image;
According to user group's matching system resource distribution library file, wherein in the system resource configuration library file Store system resource configuration parameter corresponding with user group;
The system resource configuration of mobile terminal is adjusted according to the system resource configuration parameter.
Second aspect, the embodiment of the present application also provides a kind of adjustment device of system resource configuration, which includes:
Image collection module determines current use for obtaining the facial image of active user, and based on the facial image User group belonging to family;
Library file matching module, for according to user group's matching system resource distribution library file, wherein the system The interior storage of resource distribution library file of uniting system resource configuration parameter corresponding with user group;
Configuration adjustment module, the system resource for adjusting mobile terminal according to the system resource configuration parameter configure.
The third aspect, the embodiment of the present application also provides a kind of computer readable storage mediums, are stored thereon with computer Program realizes the adjustment side of the system resource configuration as described in the embodiment of the present application when the computer program is executed by processor Method.
Fourth aspect, the embodiment of the present application provide a kind of mobile terminal, including memory, processor and are stored in storage It can realize on device and when the computer program of processor operation, the processor execute the computer program as the application is real Apply the method for adjustment of the configuration of system resource described in example.
The embodiment of the present application provides a kind of Adjusted Option of system resource configuration, by the face figure for obtaining active user Picture, and user group belonging to active user is determined based on the facial image;Matched according to user group's matching system resource Set library file, wherein the system resource repository document memory stores up system resource configuration parameter corresponding with user group, according to The system resource configuration parameter adjusts the system resource configuration of mobile terminal.By adopting the above technical scheme, it can be based on currently making With user's automatic adjustment system resource distribution of mobile terminal, the use demand of the user is complied with, avoids user manual again System resource configuration is adjusted, the degree of intelligence of mobile terminal is provided, simplifies interaction flow.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the method for adjustment of system resource configuration provided by the embodiments of the present application;
Fig. 2 is the flow chart of the method for adjustment of another system resource configuration provided by the embodiments of the present application;
Fig. 3 is a kind of adjustable strategies schematic diagram of system resource configuration provided by the embodiments of the present application
Fig. 4 is a kind of structural block diagram of the adjustment device of system resource configuration provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram of mobile terminal provided by the embodiments of the present application;
Fig. 6 is a kind of structural block diagram of smart phone provided by the embodiments of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the application, rather than the restriction to the application.It also should be noted that in order to just Part relevant to the application is illustrated only in description, attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing or method described as flow chart.Although each step is described as the processing of sequence by flow chart, many of these Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation The processing can be terminated when completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with Corresponding to method, function, regulation, subroutine, subprogram etc..
It should be noted that the demand of different sexes, age bracket and the user of occupation when using mobile terminal may It is different.For example, young woman may be more focused on U.S. face self-timer and video entertainment.Young men may be more focused on trip Play.The middle-aged and the old may be more concerned about the primary demands such as make a phone call, chat.However, current mobile terminal can't know to work as The target object of preceding user's concern, and automatic adjustment system resource distribution, make the demand of itself and active user match, system money The adjustment of source configuration needs user to be manually entered, cumbersome.In the related technology, a kind of system resource based on scene is also provided The corresponding several scenes mode of operating habit of user is arranged, further according to the behaviour of user in allocation plan that is, inside mobile terminal Make the switching for being accustomed to dynamically controlling scene mode.However, the program can only accomplish the optimization of scene grade, and need mobile terminal It just can be carried out the optimization of system resource configuration after user's behavior learning after a period of time.
In order to solve the above-mentioned technical problem, the embodiment of the present application provides a kind of Adjusted Option of system resource configuration, can be with When active user uses mobile terminal, user group belonging to active user, and adjust automatically system are positioned by recognition of face System resource distribution, makes it more meet the demand of active user.
Fig. 1 is a kind of flow chart of the method for adjustment of system resource configuration provided by the embodiments of the present application, and this method can be with It is executed by the adjustment device of system resource configuration, wherein the device can be implemented by software and/or hardware, and can generally be integrated in In mobile terminal.As shown in Figure 1, this method comprises:
Step 110, the facial image for obtaining active user, and use belonging to active user is determined based on the facial image Family group.
Illustratively, the mobile terminal in the embodiment of the present application may include mobile phone, tablet computer, laptop and the palm The terminal devices such as game player.Operating system is mounted in terminal device.
Illustratively, active user can refer to the user that mobile terminal is being currently used.Shifting is used in active user It when dynamic terminal, is shot using front camera, obtains user images, image recognition is carried out to the user images, determines and uses Human face region in the image of family.Facial image is constituted by extracting the corresponding pixel of human face region in the user images.
Optionally, if after carrying out image recognition, determine only include a face in user images, then it can be directly by user Facial image is extracted in image.
Assuming that determine to include at least two faces in user images after carrying out image recognition, then it is true according to the user images The target user for determining hand-held mobile terminal, by extracting the corresponding facial image of the target user in the user images.Wherein, root Determine that the mode of the target user of hand-held mobile terminal can be identification user images and determine each use respectively according to the user images Family it is corresponding refer to facial image, using it is larger-size with reference to facial image as the facial image of target user.For example, user A hand-held intelligent mobile phone shares a piece of news with user B, has two faces in the user images of camera shooting at this time.Usually In the case of, smart phone is closer than user B at a distance from user A, that is to say, that user A is close apart from camera.According to camera The principle (i.e. near big and far smaller) of imaging, the face of user A is bigger than the face of user B in the user images shot.It is based on Above-mentioned analysis can determine the corresponding pixel of two faces respectively, if the resolution ratio of the facial image of user A is 150*320, The resolution ratio of the facial image of user B is 80*230, it can thus be appreciated that the facial image of user A is greater than the facial image of user B, from And determining user A is the target user of hand-held mobile terminal.The facial image of user A is registered as the corresponding face of target user Image.
It should be noted that determining that the mode of target user is not limited to when user images include at least two faces The above-mentioned scheme enumerated can also be and be determined according to the direction of motion of grip and mobile terminal;Alternatively, according to each face Depth of view information determine target user --- such as by the corresponding user of the small face of the depth of field be target user.
After obtaining facial image, which is inputted into preconfigured human face recognition model, and obtain the people The active user of face identification model output belongs to the probability of different user group.It should be noted that human face recognition model It is to be obtained by the facial image sample training of different user group.Wherein, facial image sample can be by the network platform The picture of different sexes, age (young and person in middle and old age) and occupation is grabbed, and is marked, samples pictures are obtained.By sample graph Piece inputs the human face recognition model built in advance, carries out model training, to obtain distinguishing different user group based on recognition of face Classifier.Facial image is such as inputted into trained human face recognition model, since human face recognition model is by largely not With the model that the facial image training of user group obtains, there is the face characteristic of identification user's owning user group to identify function Can, therefore, facial image is identified by human face recognition model, the corresponding active user of output facial image belongs to difference The probability of user group.The highest user group of probability can be considered group belonging to active user.It should be noted that Human face recognition model can be machine learning model, including but not limited to convolutional neural networks model ((Convolutional Neural Networks, CNN), support vector machines (Support Vector Machine, SVM), Hidden Markov Model (Hidden Markov Model, HMM) and Bayesian model.
Step 120, according to user group's matching system resource distribution library file.
Illustratively, it is counted by big data and obtains different sexes, age bracket and the mobile terminal user group of occupation Focus when using mobile terminal, the focus can indicate that user uses preference, the hand liked such as different user group The system resources configuration parameters such as machine system built-in application, interaction style, the application program of preloading, the hot spot information of push.Root System resource repository is constructed according to system resource configuration parameter, and is stored in movement eventually in the form of system resource configures library file End is local.Optionally, library file can be configured using white list associated storage user group and system resource.That is, System resource configuration parameter corresponding with user group can be stored using system resource configuration library file.
Optionally, analysis is carried out by the history usage record to a large amount of different user group and obtains different user group Preference, convert preference to the system resource configuration parameter of corresponding mobile terminal, thus, establish have different user group The system resource of corresponding difference system resource configuration parameter configures library file.Function is used substantially as old user may only focus on Can, specifically how more power saving, for this kind of user group, preset game accelerating engine can default closings, and accordingly Regulation user commonly using such as phone, wechat font default tune up.Young man user may be more concerned about game, can The common game of such user group is preloaded with regulation.Young male can be counted by the way of big data analysis The common game application of property.Young women is generally concerned with the function of entertainment video, take pictures U.S. face and shopping etc., can be to this The corresponding application program of class function is preloaded, and game accelerating engine etc. can also be closed.Based on above-mentioned analysis, it can be based on The preference extraction of different user group goes out system resource configuration parameter, establishes different user group based on system resource configuration parameter Corresponding system resource configures library file.Then, the pass of pre-configured different user group and system resource configuration library file Connection relationship, and be stored in default white list.
In the embodiment of the present application, after determining user group belonging to active user, believed according to the mark of user group Breath inquires default white list, determining to configure library file with the matched system resource of the user group.Wherein, white list association is preset Storage system resources configure library file and different sexes, age and the user group of occupation.It should be noted that user group Identification information, which can be, represents children, young man, young women, middle-aging male and middle and aged women etc. with different coding, Such as different user group is encoded using one-hot encoding (i.e. One-Hot coding), obtain children, young man, young women, The identification information of middle-aging male and middle and aged women.
Step 130, the system resource that mobile terminal is adjusted according to the system resource configuration parameter configure.
It should be noted that system resource configuration is drawn including configuration preloaded applications program, desktop theme, game acceleration Hold up, input method information, application shop and push hot spot information type.
Illustratively, it after determining the corresponding system resource configuration library file of user group belonging to active user, calls System resource described in system layer service execution configures library file, to configure the system resource that library file includes according to the system resource Configuration parameter adjusts the system resource configuration of mobile terminal.Wherein, system layer service is the service newly increased in ccf layer, is used for It executes system resource and configures library file, it is made to come into force, realize the best match of mobile terminal system configuration and active user.Example Such as, it when determining active user is young man, inquires default white list and determines corresponding system resource configuration library file.Assuming that The system resource configuration parameter of system resource repository document memory storage is to open preset game accelerating engine, and preloading should Common application program of class user etc., then after determining system resource configuration library file, system calling system layer service execution should System resource configures library file, makes configuration take-effective specified in system resource configuration library file.
Illustratively, the system resource configuration parameter preloading that library file includes is configured according to the system resource in execution to answer When with program, it is corresponding using boundary that the destination application is preloaded based on the preloading active window storehouse being pre-created Face, wherein the corresponding boundary coordinate of active window storehouse that preloads is located at except the coordinate range of display screen.It can wrap It includes: creating the corresponding target process of the destination application;Institute is created in the preloading active window storehouse being pre-created State the corresponding task stack of destination application;Start the destination application in the task stack based on the target process Corresponding active window;It is drawn based on the active window started and shows the corresponding application interface of the destination application. Wherein, active window storehouse (preloading Stack), the Stack shown for indicating preloaded applications are preloaded, and pre-add is set The boundary coordinate for carrying Stack is located at except the coordinate range of display screen, and application program to be preloaded may be displayed on this Stack.For android system, one can be created dedicated for aobvious based on the multiwindow mechanism of android system Show the Stack of preloaded applications.In the embodiment of the present application, newly-built Stack is because newly-built preloading Stack can be allowed to possess The size and visibility of oneself, to realize the purpose preloaded outside display screen.The advantages of this arrangement are as follows can The application interface of destination application is drawn and shown based on the preloading active window storehouse except screen coordinate range Show, the operation and display of foreground application will not be interfered, guarantees system stability, while effectively improving destination application and opening Speed when dynamic.While creating target process, it may also include the initialization procedure of target process.In the execution of above-mentioned steps In the process, it is also possible to be related to the preloading of other resources, such as application service starting, Memory Allocation, file content is read and network Data acquisition etc., the embodiment of the present application to the preloading procedures of other resources without limitation.
Optionally, Xiang Suoshu destination application, which is sent, forges focus notice, and is notified based on the forgery focus pre- If the lasting drafting of the corresponding application interface of the destination application and display is kept to update in the period.Wherein, described The length of preset time period includes starting advertisement in the destination application or starting the playing duration of animation.The application is implemented Focus in example is also known as input focus, and it is mutually indepedent to forge focus focus corresponding with foreground application.In general, for current Android system for, focus is unique, such as the inputs operation focus point such as touches and come into force, and input focus is believed Breath, system end and application end are consistent, and system end will send input focus letter once modifying input focus information to application Changed information is ceased, guarantees that system end is consistent with application end input focus information in this approach.In the embodiment of the present application, lead to The mode of separation system end and application end input focus information is crossed, realizes that application end can forge the purpose of focus.Specifically, this Shen Focus notice please be forged to preloaded applications, make preloaded applications that there is focus information in embodiment, and the focus of system end is believed Breath is still that correctly, processing can enable preloaded applications normally to draw in this way, achievees the purpose that all to load.Focus It is present in system end and application end, it is believed that be server-side (server) and client (client), system end record possesses coke The application of point, application end save flag bit (flag) and identify whether oneself has focus.The opportunity for forging input focus, which can be, works as The window system of Android increases window newly, when needing to update focus, generates forgery focus and notifies and sent.Forge focus Method can be call window the end client change window focus method so that the window obtain focus.Specifically, It can carry out forging the transmission of focus notice based on Binder mechanism, Binder mechanism is the interprocess communication of android system Most common mode, using c/s framework, i.e. client/service architecture.
The technical solution of the present embodiment is determined by obtaining the facial image of active user, and based on the facial image User group belonging to active user;According to user group's matching system resource distribution library file, wherein the system resource is matched Storage system resource configuration parameter corresponding with user group in library file is set, is adjusted and is moved according to the system resource configuration parameter The system resource of terminal configures.It by adopting the above technical scheme, can be based on user's adjust automatically system of currently used mobile terminal System resource distribution, complies with the use demand of the user, avoids user from manually adjusting system resource configuration again, provides movement The degree of intelligence of terminal, simplifies interaction flow.
In some embodiments, in the facial image for obtaining active user, and current use is determined based on the facial image After user group belonging to family, further includes: obtain the objective function run in mobile terminal;It is inquired and is used according to the objective function The system resource of family demographic associations configures library file, according to query result judge the objective function whether be and the user group Matched function;If it is not, then reducing the priority of objective function or closing the corresponding application program of objective function.It is arranged in this way It is advantageous in that, priority is reduced by default or closes the side of the matched terminal function of non-present user owning user group Formula optimizes mobile terminal performance while the optimization matching of the system configuration resource and its user of realizing mobile terminal And power consumption.For example, young man, when playing game using mobile terminal, default reduces the priority of the shopping class application such as Taobao (such as when user plays game, system receives the notification message of Taobao, since the priority of Taobao is lowered, does not then show this Notification message, until user exits game and shows again).Alternatively, young man, when playing game using mobile terminal, default is closed The shopping class application such as Taobao.
Fig. 2 is the flow chart of the method for adjustment of another system resource configuration provided by the embodiments of the present application, such as Fig. 2 institute Show, this method comprises:
Step 201, the user images for obtaining the active user that camera is shot, identify the face area in the user images Domain.
Illustratively, when configuration update event is triggered, pass through the user images that camera shoots active user.Configuration The trigger condition of update event can be arranged according to the actual situation, and the embodiment of the present application is not especially limited.For example, can examine The movement for measuring user meets preset condition (such as picking up terminal, entr screen unlock operation or input terminal unlock operation) When, triggering configuration update event;Alternatively, clocked flip configuration update event etc..
The user images for obtaining the active user of camera shooting, identify whether the user images include face characteristic (such as the features such as eyebrow, eyes, nose), if so, confirmly detecting face.
Whether step 202 judges only comprising a face in the user images, if it is not, 203 are thened follow the steps, otherwise, Execute step 204.
Step 203, the target user that hand-held mobile terminal is determined according to the user images, by being mentioned in the user images Take the corresponding facial image of the target user.
Optionally, if detecting a more than face, the target user of hand-held mobile terminal is determined according to user images, Facial contour of the target user in user images is obtained, thus, by being partitioned into the corresponding face of target user in user images Image goes to and executes step 205.
Step 204, by extracting facial image in the user images.
If user images only include a face, the facial contour in the user images is obtained, according to the facial contour By being partitioned into facial image in user images.
Step 205 determines user group belonging to active user based on the facial image.
Step 206 presets white list, the determining and user group according to the identification information-enquiry of the user group The system resource configuration library file matched.
System resource described in system layer service execution in step 207, invocation framenort layer configures library file, according to System resource configuration parameter adjusts the system resource configuration of mobile terminal.
Fig. 3 is a kind of adjustable strategies schematic diagram of system resource configuration provided by the embodiments of the present application, as shown in figure 3, working as After shooting obtains user images, recognition of face is carried out to user images, obtains facial image.Facial image is inputted into recognition of face Model (being obtained as the face characteristic training of different user group) determines user group belonging to active user;According to user group Different user population system resource distribution library (including multiple system resources configure library file) is inquired to obtain corresponding to active user System resource configure library file;Calling system layer service execution system resource distribution library file.
Step 208 obtains the objective function run in mobile terminal.
Step 209 inquires the associated system resource configuration library file of the user group, judgement according to the objective function The objective function whether be with the matched function of the user group, it is no to then follow the steps if so, then follow the steps 210 211。
Step 210 maintains objective function in operating status.
Step 211, the priority for reducing the objective function close the corresponding application program of the objective function.
For example, young man, when playing game using mobile terminal, if detecting, certain application programs are ready to automatically more Newly, then the priority of such application program is reduced, update operation wouldn't be executed, updates occupancy system processing money to avoid application Source.
The technical solution of the present embodiment obtains user's owning user group by recognition of face, is on this basis Unite resource distribution adjustment, provide different system resource configurations for different user groups, thus reach system configuration resource and The optimization matching of its user.Meanwhile mobile end needed for default reduction priority is set or closes such non-user group Function is held, to also realize the effect of performance and optimised power consumption.
Fig. 4 is a kind of structural block diagram of the adjustment device of system resource configuration provided by the embodiments of the present application, which can By software and or hardware realization, be typically integrated in mobile terminal, can by execute system resource configuration method of adjustment come into The configuration of row system resource.As shown in figure 4, the device includes:
Image collection module 410 is determined currently for obtaining the facial image of active user, and based on the facial image User group belonging to user;
Library file matching module 420, for according to user group's matching system resource distribution library file, wherein institute It states system resource repository document memory and stores up system resource configuration parameter corresponding with user group;
Configuration adjustment module 430, the system resource for adjusting mobile terminal according to the system resource configuration parameter are matched It sets.
The technical solution of the present embodiment provides a kind of adjustment device of system resource configuration, by the people for obtaining active user Face image, and user group belonging to active user is determined based on the facial image;It is provided according to user group's matching system Source configures library file, wherein and the system resource repository document memory stores up system resource configuration parameter corresponding with user group, The system resource configuration that mobile terminal is adjusted according to the system resource configuration parameter, can be based on the use of currently used mobile terminal Family automatic adjustment system resource distribution, complies with the use demand of the user, avoids user from manually adjusting system resource again and matches It sets, provides the degree of intelligence of mobile terminal, simplify interaction flow.
Optionally, image collection module 410 includes:
Face extraction submodule, the user images of the active user for obtaining camera shooting extract user's figure As the facial image for including;
Recognition of face submodule for the facial image to be inputted preconfigured human face recognition model, and obtains institute The active user for stating human face recognition model output belongs to the probability of different user group, wherein the human face recognition model It is obtained by the facial image sample training of different user group;
Group determines submodule, for the user group according to belonging to the determine the probability active user.
Optionally, face extraction submodule is specifically used for:
If the user images include a face, by extracting facial image in the user images;
If the user images include at least two faces, the mesh of hand-held mobile terminal is determined according to the user images User is marked, by extracting the corresponding facial image of the target user in the user images.
Optionally, library file matching module 420 is specifically used for:
White list, the determining and matched system of the user group are preset according to the identification information-enquiry of the user group Resource distribution library file, wherein default white list associated storage system resource configuration library file and different user group.
Optionally, configuration adjustment module 430 is specifically used for:
System resource described in calling system layer service execution configures library file, according to the system resource configuration parameter tune The system resource of whole mobile terminal configures.
Optionally, system resource configuration include configuration preloaded applications program, desktop theme, game accelerating engine, Input method information, application shop and the type for pushing hot spot information.
Optionally, further includes:
Function adjusts module, for determining currently in the facial image for obtaining active user, and based on the facial image After user group belonging to user, the objective function run in mobile terminal is obtained;According to objective function inquiry The associated system resource of user group configures library file, according to query result judge the objective function whether be and the user The matched function of group;If it is not, then reducing the priority of the objective function or to close the objective function corresponding using journey Sequence.
The embodiment of the present application also provides a kind of storage medium comprising computer executable instructions, and the computer is executable It instructs when being executed by computer processor for executing the method for adjustment of system resource configuration, this method comprises:
The facial image of active user is obtained, and user group belonging to active user is determined based on the facial image;
According to user group's matching system resource distribution library file, wherein in the system resource configuration library file Store system resource configuration parameter corresponding with user group;
The system resource configuration of mobile terminal is adjusted according to the system resource configuration parameter.
Storage medium --- any various types of memory devices or storage equipment.Term " storage medium " is intended to wrap It includes: install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Lan Basi (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium (such as hard disk or optical storage);Register or the memory component of other similar types etc..Storage medium can further include other Memory of type or combinations thereof.In addition, storage medium can be located at program in the first computer system being wherein performed, Or can be located in different second computer systems, second computer system is connected to the by network (such as internet) One computer system.Second computer system can provide program instruction to the first computer for executing." storage is situated between term Matter " may include may reside in different location (such as by network connection different computer systems in) two or More storage mediums.Storage medium can store the program instruction that can be performed by one or more processors and (such as implement For computer program).
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present application The adjustment operation for the system resource configuration that executable instruction is not limited to the described above, can also be performed the application any embodiment institute Relevant operation in the method for adjustment of the system resource configuration of offer.
The embodiment of the present application provides a kind of mobile terminal, has operating system in the mobile terminal, in the mobile terminal The adjustment device of system resource configuration provided by the embodiments of the present application can be integrated.Wherein, mobile terminal can for smart phone, PAD (tablet computer), laptop and handheld device etc..Fig. 5 is a kind of mobile terminal provided by the embodiments of the present application Structural schematic diagram.As shown in figure 5, the mobile terminal includes memory 510 and processor 520.The memory 510, is used for Store computer program, facial image, default white list or system resource configuration library file etc.;The processor 520 is read simultaneously Execute the computer program stored in the memory 510.The processor 520 realized when executing the computer program with Lower step: the facial image of active user is obtained, and user group belonging to active user is determined based on the facial image;Root According to user group's matching system resource distribution library file, wherein the system resource repository document memory storage and user The corresponding system resource configuration parameter of group;Matched according to the system resource that the system resource configuration parameter adjusts mobile terminal It sets.
The memory and processor enumerated in above-mentioned example are some components of mobile terminal, and the mobile terminal is also It may include other components.By taking smart phone as an example, illustrate the possible structure of above-mentioned mobile terminal.Fig. 6 is the application implementation A kind of structural block diagram for smart phone that example provides.As shown in fig. 6, the smart phone may include: memory 601, centre Manage device (Central Processing Unit, CPU) 602 (also known as processor, hereinafter referred to as CPU), Peripheral Interface 603, RF (Radio Frequency, radio frequency) circuit 605, voicefrequency circuit 606, loudspeaker 611, touch screen 612, power management chip 608, input/output (I/O) subsystem 609, other input/control devicess 610 and outside port 604, these components pass through One or more communication bus or signal wire 607 communicate.
It should be understood that illustrating the example that smart phone 600 is only mobile terminal, and smart phone 600 It can have than shown in the drawings more or less component, can combine two or more components, or can be with It is configured with different components.Various parts shown in the drawings can include one or more signal processings and/or dedicated It is realized in the combination of hardware, software or hardware and software including integrated circuit.
The smart phone with regard to the adjustment device provided in this embodiment for being integrated with system resource configuration carries out detailed below Description.
Memory 601, the memory 601 can be accessed by CPU602, Peripheral Interface 603 etc., and the memory 601 can It can also include nonvolatile memory to include high-speed random access memory, such as one or more disk memory, Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU602 and deposited by Peripheral Interface 603, the Peripheral Interface 603 Reservoir 601.
I/O subsystem 609, the I/O subsystem 609 can be by the input/output peripherals in equipment, such as touch screen 612 With other input/control devicess 610, it is connected to Peripheral Interface 603.I/O subsystem 609 may include 6091 He of display controller For controlling one or more input controllers 6092 of other input/control devicess 610.Wherein, one or more input controls Device 6092 processed receives electric signal from other input/control devicess 610 or sends electric signal to other input/control devicess 610, Other input/control devicess 610 may include physical button (push button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole clicks idler wheel.It is worth noting that input controller 6092 can with it is following any one connect: keyboard, infrared port, The indicating equipment of USB interface and such as mouse.
Touch screen 612, the touch screen 612 are the input interface and output interface between user terminal and user, can It is shown to user depending on output, visual output may include figure, text, icon, video etc..
Camera 613 is connect, for shooting the use of active user with CPU602 and memory 601 by Peripheral Interface 603 Family image, and the user images that shooting obtains are sent to memory 601 and are stored, so that CPU602 is by memory 601 It reads user images and executes face identifying processing.
Display controller 6091 in I/O subsystem 609 receives electric signal from touch screen 612 or sends out to touch screen 612 Electric signals.Touch screen 612 detects the contact on touch screen, and the contact that display controller 6091 will test is converted to and is shown The interaction of user interface object on touch screen 612, i.e. realization human-computer interaction, the user interface being shown on touch screen 612 Object can be the icon of running game, the icon for being networked to corresponding network etc..It is worth noting that equipment can also include light Mouse, light mouse are the extensions for the touch sensitive surface for not showing the touch sensitive surface visually exported, or formed by touch screen.
RF circuit 605 is mainly used for establishing the communication of mobile phone Yu wireless network (i.e. network side), realizes mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuit 605 receives and sends RF letter Number, RF signal is also referred to as electromagnetic signal, and RF circuit 605 converts electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuit 605 may include for executing The known circuit of these functions comprising but it is not limited to antenna system, RF transceiver, one or more amplifiers, tuner, one A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 606 is mainly used for receiving audio data from Peripheral Interface 603, which is converted to telecommunications Number, and the electric signal is sent to loudspeaker 611.
Loudspeaker 611 is reduced to sound for mobile phone to be passed through RF circuit 605 from the received voice signal of wireless network And the sound is played to user.
Power management chip 608, the hardware for being connected by CPU602, I/O subsystem and Peripheral Interface are powered And power management.
Mobile terminal provided by the embodiments of the present application by obtaining the facial image of active user, and is based on the face Image determines user group belonging to active user;According to user group's matching system resource distribution library file, wherein this is The interior storage of resource distribution library file of uniting system resource configuration parameter corresponding with user group, according to the system resource configuration parameter The system resource configuration for adjusting mobile terminal, can be matched based on user's automatic adjustment system resource of currently used mobile terminal It sets, complies with the use demand of the user, avoid user from manually adjusting system resource configuration again, provide the intelligence of mobile terminal Energy degree, simplifies interaction flow.
This Shen can be performed in adjustment device, storage medium and the mobile terminal of the system resource configuration provided in above-described embodiment Please the configuration of system resource provided by any embodiment method of adjustment, have and execute the corresponding functional module of this method and beneficial Effect.The not technical detail of detailed description in the above-described embodiments, reference can be made to system provided by the application any embodiment provides The method of adjustment of source configuration.
Note that above are only the preferred embodiment and institute's application technology principle of the application.It will be appreciated by those skilled in the art that The application is not limited to specific embodiment described here, be able to carry out for a person skilled in the art it is various it is apparent variation, The protection scope readjusted and substituted without departing from the application.Therefore, although being carried out by above embodiments to the application It is described in further detail, but the application is not limited only to above embodiments, in the case where not departing from the application design, also It may include more other equivalent embodiments, and scope of the present application is determined by the scope of the appended claims.

Claims (9)

1. a kind of method of adjustment of system resource configuration characterized by comprising
The facial image of active user is obtained, and user group belonging to active user is determined based on the facial image;
According to user group's matching system resource distribution library file, wherein the system resource repository document memory storage System resource configuration parameter corresponding with user group, the system resource configuration parameter pass through the history to different user group Usage record carries out analysis acquisition;
The system resource configuration parameter includes system built-in application, interaction style, the application program of preloading or the heat of push Point information;Based on the corresponding application interface of preloading active window storehouse preload target application program being pre-created, wherein The corresponding boundary coordinate of active window storehouse that preloads is located at except the coordinate range of display screen;
The system resource configuration of mobile terminal is adjusted according to the system resource configuration parameter;
Obtain the objective function run in mobile terminal;
The associated system resource of the user group is inquired according to the objective function and configures library file, is judged according to query result The objective function whether be and the matched function of the user group;
If it is not, then reducing the priority of the objective function or closing the objective function.
2. the method according to claim 1, wherein obtaining the facial image of active user, and being based on the people Face image determines user group belonging to active user, comprising:
The user images for obtaining the active user of camera shooting, extract the facial image that the user images include;
The facial image is inputted into preconfigured human face recognition model, and obtains the described of the human face recognition model output Active user belongs to the probability of different user group, wherein the human face recognition model by different user group facial image Sample training obtains;
According to user group belonging to the determine the probability active user.
3. according to the method described in claim 2, it is characterized in that, extracting the facial image that the user images include, comprising:
If the user images include a face, by extracting facial image in the user images;
If the user images include at least two faces, determine that the target of hand-held mobile terminal is used according to the user images Family, by extracting the corresponding facial image of the target user in the user images.
4. the method according to claim 1, wherein according to user group's matching system resource distribution library text Part, comprising:
White list, the determining and matched system resource of the user group are preset according to the identification information-enquiry of the user group Configure library file, wherein default white list associated storage system resource configuration library file and different user group.
5. the method according to claim 1, wherein adjusting mobile terminal according to the system resource configuration parameter System resource configuration, comprising:
System resource described in calling system layer service execution configures library file, is moved with being adjusted according to the system resource configuration parameter The system resource configuration of dynamic terminal.
6. the method according to claim 1, wherein system resource configuration includes configuration preloaded applications journey Sequence, desktop theme, game accelerating engine, input method information, application shop and the type for pushing hot spot information.
7. a kind of adjustment device of system resource configuration characterized by comprising
Image collection module determines active user institute for obtaining the facial image of active user, and based on the facial image The user group of category;
Library file matching module, for according to user group's matching system resource distribution library file, wherein the system money Source repository document memory stores up corresponding with user group system resource configuration parameter, and the system resource configuration parameter passes through pair The history usage record of different user group carries out analysis acquisition;The system resource configuration parameter include system built-in application, The hot spot information of interaction style, the application program of preloading or push;It is pre- based on the preloading active window storehouse being pre-created Load the corresponding application interface of destination application, wherein the corresponding boundary coordinate of the preloading active window storehouse is located at Except the coordinate range for showing screen;
Configuration adjustment module, the system resource for adjusting mobile terminal according to the system resource configuration parameter configure;
Obtain the objective function run in mobile terminal;
The associated system resource of the user group is inquired according to the objective function and configures library file, is judged according to query result The objective function whether be and the matched function of the user group;
If it is not, then reducing the priority of the objective function or closing the objective function.
8. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt The method of adjustment such as system resource described in any one of claims 1 to 6 configuration is realized when processor executes.
9. a kind of mobile terminal, including memory, processor and storage are on a memory and can be in the computer of processor operation Program, which is characterized in that the processor is realized as described in any one of claims 1 to 6 when executing the computer program System resource configuration method of adjustment.
CN201810467943.3A 2018-05-16 2018-05-16 Method of adjustment, device, storage medium and the mobile terminal of system resource configuration Expired - Fee Related CN108647096B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810467943.3A CN108647096B (en) 2018-05-16 2018-05-16 Method of adjustment, device, storage medium and the mobile terminal of system resource configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810467943.3A CN108647096B (en) 2018-05-16 2018-05-16 Method of adjustment, device, storage medium and the mobile terminal of system resource configuration

Publications (2)

Publication Number Publication Date
CN108647096A CN108647096A (en) 2018-10-12
CN108647096B true CN108647096B (en) 2019-10-25

Family

ID=63756169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810467943.3A Expired - Fee Related CN108647096B (en) 2018-05-16 2018-05-16 Method of adjustment, device, storage medium and the mobile terminal of system resource configuration

Country Status (1)

Country Link
CN (1) CN108647096B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110083416B (en) * 2019-03-25 2021-10-15 华为技术有限公司 Resource loading method and device
CN110471679B (en) * 2019-07-08 2024-04-02 中国平安人寿保险股份有限公司 Client resource allocation updating method and device, storage medium and server
CN110825484B (en) * 2019-11-12 2021-12-07 北京华宇信息技术有限公司 Method and device for switching interfaces of different input methods
CN111702779B (en) * 2020-06-16 2021-09-24 思必驰科技股份有限公司 Method and system capable of configuring expressions
CN116894864B (en) * 2023-09-06 2023-12-12 腾讯科技(深圳)有限公司 Convex hull detection method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166844A (en) * 2014-08-13 2014-11-26 惠州Tcl移动通信有限公司 Login method and system through human face identification based on mobile terminal
CN104834866A (en) * 2014-02-11 2015-08-12 中兴通讯股份有限公司 Method and device for protecting privacy-sensitive information by automatically recognizing scene
CN105224838A (en) * 2015-09-28 2016-01-06 广东欧珀移动通信有限公司 A kind of user authority control method based on recognition of face and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238276A (en) * 2011-04-06 2011-11-09 宇龙计算机通信科技(深圳)有限公司 Application program access priority setting method, system and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104834866A (en) * 2014-02-11 2015-08-12 中兴通讯股份有限公司 Method and device for protecting privacy-sensitive information by automatically recognizing scene
CN104166844A (en) * 2014-08-13 2014-11-26 惠州Tcl移动通信有限公司 Login method and system through human face identification based on mobile terminal
CN105224838A (en) * 2015-09-28 2016-01-06 广东欧珀移动通信有限公司 A kind of user authority control method based on recognition of face and system

Also Published As

Publication number Publication date
CN108647096A (en) 2018-10-12

Similar Documents

Publication Publication Date Title
CN108647096B (en) Method of adjustment, device, storage medium and the mobile terminal of system resource configuration
CN108733429B (en) System resource allocation adjusting method and device, storage medium and mobile terminal
CN108363593B (en) Application program preloading method and device, storage medium and terminal
CN108762843A (en) Preloading method, apparatus, storage medium and the intelligent terminal of application program
WO2019120028A1 (en) Intelligent screen brightness adjustment method and apparatus, and storage medium and mobile terminal
WO2019120027A1 (en) Screen brightness adjustment method and apparatus, storage medium and mobile terminal
CN113950687A (en) Media presentation device control based on trained network model
CN108734002A (en) Intelligent configuration method, device, storage medium and the mobile terminal of system resource
CN108647055A (en) Application program preloads method, apparatus, storage medium and terminal
CN112468831B (en) Multi-user live broadcast method, device, terminal, server and storage medium
WO2015062462A1 (en) Matching and broadcasting people-to-search
CN107909629A (en) Recommendation method, apparatus, storage medium and the terminal device of paster
CN108920202B (en) Application preloading management method and device, storage medium and intelligent terminal
WO2020207413A1 (en) Content pushing method, apparatus, and device
CN108776599B (en) Management method and device for preloaded application, storage medium and intelligent terminal
CN104102409A (en) Scenario adaptation device and method for user interface
CN112068762B (en) Interface display method, device, equipment and medium of application program
US10893203B2 (en) Photographing method and apparatus, and terminal device
CN108958587B (en) Split screen processing method and device, storage medium and electronic equipment
CN108845840A (en) Management method, device, storage medium and the intelligent terminal of application program sound
CN108710516A (en) Acquisition method, device, storage medium and the intelligent terminal of forecast sample
CN108664286B (en) Application program preloading method and device, storage medium and mobile terminal
CN111507094B (en) Text processing model training method, device and equipment based on deep learning
CN108762836A (en) Management method, device, storage medium and the intelligent terminal of preloaded applications
CN111368127B (en) Image processing method, image processing device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191025