CN107861708A - Volume method to set up, device, terminal device and storage medium - Google Patents

Volume method to set up, device, terminal device and storage medium Download PDF

Info

Publication number
CN107861708A
CN107861708A CN201711393089.2A CN201711393089A CN107861708A CN 107861708 A CN107861708 A CN 107861708A CN 201711393089 A CN201711393089 A CN 201711393089A CN 107861708 A CN107861708 A CN 107861708A
Authority
CN
China
Prior art keywords
volume
facial image
terminal device
expression information
expression
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711393089.2A
Other languages
Chinese (zh)
Inventor
陈岩
刘耀勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711393089.2A priority Critical patent/CN107861708A/en
Publication of CN107861708A publication Critical patent/CN107861708A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • 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/174Facial expression recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Image Analysis (AREA)

Abstract

The embodiment of the present application discloses a kind of volume method to set up, device, terminal device and storage medium, and this method includes:Facial image is obtained by sensor, face recognition is carried out to the facial image;The expression information according to corresponding to recognition result determines the facial image;The volume of terminal device is controlled according to volume set-up mode corresponding to expression information determination and according to the volume set-up mode, thus reduces the power consumption of terminal device, improve the operational efficiency of terminal device.

Description

Volume method to set up, device, terminal device and storage medium
Technical field
The invention relates to computer technology, more particularly to a kind of volume method to set up, device, terminal device and deposit Storage media.
Background technology
With the raising of terminal device popularity, increasing user's using terminal equipment performs various work( Can be to meet self-demand, such as using terminal equipment reads word, watches video, listen music, play game, when user's needs pair When terminal device volume is adjusted, the regulation that increased or decrease of volume can be carried out by pressing volume button.
In the prior art, the mode existing defects being configured for terminal device volume, the work(of terminal device is added Consumption, reduce the operational efficiency of terminal device.
The content of the invention
The invention provides a kind of volume method to set up, device, terminal device and storage medium, terminal device is reduced Power consumption, improve the operational efficiency of terminal device.
In a first aspect, the embodiment of the present application provides a kind of volume method to set up, including:
Facial image is obtained by sensor, face recognition is carried out to the facial image;
The expression information according to corresponding to recognition result determines the facial image;
Terminal is set according to volume set-up mode corresponding to expression information determination and according to the volume set-up mode Standby volume is controlled.
Second aspect, the embodiment of the present application additionally provide a kind of volume and set device, including:
Acquisition module, for obtaining facial image by sensor;
Identification module, for carrying out face recognition to the facial image;
Set-up mode determining module, for expression information corresponding to determining the facial image according to recognition result, foundation Volume set-up mode corresponding to the expression information determination;
Control module, for being controlled according to the volume set-up mode to the volume of terminal device.
The third aspect, the embodiment of the present application additionally provide a kind of terminal device, including:Processor, memory and storage On a memory and the computer program that can run on a processor, realized such as during computer program described in the computing device Volume method to set up described in the embodiment of the present application.
Fourth aspect, the embodiment of the present application additionally provide a kind of storage medium for including terminal device executable instruction, institute Terminal device executable instruction is stated as being set during terminal device computing device for the volume described in performing the embodiment of the present application Put method.
In this programme, facial image is obtained by sensor, face recognition is carried out to the facial image, tied according to identification Fruit determines expression information corresponding to the facial image, according to volume set-up mode and basis corresponding to expression information determination The volume set-up mode is controlled to the volume of terminal device, is thus reduced the power consumption of terminal device, is improved terminal The operational efficiency of equipment.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of flow chart for volume method to set up that the embodiment of the present application provides;
Fig. 2 is the flow chart of another volume method to set up provided in an embodiment of the present invention;
Fig. 3 is the flow chart for another volume method to set up that the embodiment of the present application provides;
Fig. 4 is the flow chart for another volume method to set up that the embodiment of the present application provides;
Fig. 5 is the structured flowchart that a kind of volume that the embodiment of the present application provides sets device;
Fig. 6 is a kind of structural representation for terminal device that the embodiment of the present application provides.
Embodiment
The present invention 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 to explain the present invention, rather than limitation of the invention.It also should be noted that for the ease of retouching State, part related to the present invention rather than entire infrastructure are illustrate only in accompanying drawing.
Fig. 1 is a kind of flow chart for volume method to set up that the embodiment of the present application provides, and is applicable to terminal device Volume is controlled, and this method can be performed by the terminal device that the embodiment of the present application provides, and the volume of the terminal device is set Putting device can be realized by the way of software and/or hardware, as shown in figure 1, the concrete scheme that the present embodiment provides is as follows:
Step S101, facial image is obtained by sensor, face recognition is carried out to the facial image.
Terminal device can integrate various types of sensors, as optical sensor, acceleration transducer, proximity transducer, Image first-class.In one embodiment, when detecting user's using terminal equipment, face figure can be obtained by front camera Picture, optionally, whether can be consecutively detected whether Client-initiated touch control operation judges user by the display screen of terminal device In using terminal equipment, or, with reference to terminal device screen number of contacts (it is exemplary, number of contacts be more than 2 when, can determine that User is just in handheld device) and gyro apparatus measuring value (exemplary, inclining residing for the terminal device detected by gyroscope Rake angle judges whether user is used terminal device) determine whether user is used terminal device.Optionally, can detect After obtaining instruction to facial image, facial image is obtained by sensor, wherein, the facial image obtains instruction based on user's Clicking operation triggers.
In one embodiment, terminal device has the facial image of facial unlocking function, the i.e. user of terminal device After being captured by the sensor of terminal device, recognition of face is carried out, the unblock for successfully then completing terminal device is identified, when user is led to When crossing face recognition unblock, the facial image collected by sensor is obtained accordingly for subsequent operation.
In one embodiment, the human facial expression recognition method using feature based facial image is identified.Specifically , key step includes:Pre-defined series of features point, this feature point mark the different zones in face, are concentrated mainly on people Eyebrow, eyes, face and the chin position of face;It is special with Gabor by the Gabor wavelet coefficient of image convolution extraction feature point Module of the matching distance of sign as similarity;After feature extraction, facial expression is obtained by multilayer neural network Recognition result.
In another embodiment, using the face recognition method based on convolutional neural networks, wherein, convolutional neural networks It is a kind of feedforward neural network, its artificial neuron can respond the surrounding cells in a part of coverage.Convolutional Neural net Network is made up of one or more convolutional layers and the full-mesh layer on top (corresponding classical neutral net), while also includes association power Weight and pond layer.Specifically, key step includes:Picture position where locating human face, carry out image preprocessing and (such as remove nothing Close noise);The network model for including 5 Ge Juan basic units and 3 random pooling layers is used to be identified pretreated image As a result.
Step S102, the expression information according to corresponding to recognition result determines the facial image.
Wherein, the recognition result contains the facial image features of active user, passes through different facial image features groups Current User Status can be obtained by closing, and in the present embodiment, the User Status is embodied by way of expression information, specifically, The expression information is the information for characterizing the different fatigue degree of user, and exemplary, expression information can be configured to three Level (or the other subdivision of more stages), i.e., comprising three setting grade points, the relation of User Status corresponding to different stage is as arranged Shown in table:
Rank The first order The second level The third level
Degree of fatigue Slight fatigue Moderate fatigue Severe fatigue
Wherein, different brackets corresponds to different facial characteristics or facial characteristics combination, as different brackets corresponds to different eyes Portion's feature, exemplary, the size opened by eyes judges current level of fatigue, it is necessary to which explanation, the face of introducing are special Sign is more, and the more corresponding degree of fatigues of the facial characteristics of use combination judge more accurate, the level of fatigue that can be divided also phase It should increase.
In one embodiment, the expression information according to corresponding to recognition result determines the facial image includes:Root Expression information corresponding to the facial image is determined according to recognition result and default expression template.The default expression template record Different facial characteristics and the mapping relations of corresponding expression information, by taking the eye feature in recognition result as an example, when detecting When eye opening and closing situation is the 4/5 of normal size, the first order (slight fatigue) in corresponding expression information;Eye is opened and closed situation Normal size 2/5 when, the second level (moderate fatigue) of corresponding expression information;When eye opening and closing situation is the 1/5 of normal size, The third level (severe fatigue) of corresponding expression information.
Step S103, according to volume set-up mode corresponding to expression information determination and according to the volume set-up mode The volume of terminal device is controlled.
Wherein, volume set-up mode is the controlling party based on different time using different volumes taken terminal device Formula.Specifically, one kind of the volume set-up mode can be with as shown in the table:
Mode classification Volume adjustment mode
Mode one Volume is arranged to 0 after 25 minutes
Mode two Volume is arranged to 0 after 15 minutes
Mode three Volume is arranged to 0 after 8 minutes
When it is determined that after volume set-up mode, according to should be in the volume adjustment mode of set-up mode control content to end The volume of end equipment is controlled.Wherein, when according to volume set-up mode corresponding to expression information determination, it can pass through to map and close It is the form determination of table, wherein, mapping table have recorded pair of different expression informations and corresponding volume set-up mode It should be related to, by taking the above as an example, " correspondence of mode one ", the expression letter of " first order " and volume set-up mode in expression information " second level " and volume set-up mode in breath " mode two " is corresponding, " third level " and volume set-up mode in expression information " mode three " is corresponding.
As shown in the above, by the facial image of user being identified the sound that can be completed accordingly to terminal device Amount control, it is manually operated without user, while expression information of the volume set-up mode based on user determines, can be appropriate Time point carries out rational volume control, and the power consumption for avoiding terminal device is consumed, it also avoid bothering user for no reason.
Optionally, facial image is being obtained by sensor, before carrying out face recognition to the facial image, also wrapped Include:Judge whether terminal device opens volume Setting pattern, after judging that obtaining terminal device opens volume Setting pattern, perform Above-mentioned volume method to set up, wherein, the instruction that the mode that volume Setting pattern is opened includes receiving user's input is opened, such as The press key shortcut key combination of terminal device is (for example:The combination of volume key+Home key) triggering instruction.
One of concrete application scene can be:When user prepares sleep rest at night, it will usually while listening music, listening extensively To broadcast while falling asleep, part music class software such as qq music possesses timing closing function, but needs user to set manually, and set Duration needs user to be pre-selected manually, and thus possible music finishes user also without sleep, it is necessary to be again turned on, Or user has fallen asleep and music is not turned off and is waken up by music, and some softwares having do not possess timing closing function, Now, when user prepares rest, the corresponding instruction of volume Setting pattern can be directly triggered, so that terminal device performs we Case.
Fig. 2 is the flow chart for another volume method to set up that the embodiment of the present application provides, optionally, described according to identification As a result determine that expression information corresponding to the facial image includes:The people is determined according to recognition result and default expression template Expression information corresponding to face image;Described according to corresponding to recognition result and default expression template determine the facial image Before expression information, in addition to:According to the default expression of the setting of the facial image of the user collected and user instruction generation Template.As shown in Fig. 2 technical scheme is specific as follows:
Step S201, according to the default expression mould of the setting of the facial image of the user collected and user instruction generation Plate.
In one embodiment, user is configured to default expression template in advance, wherein, the content of setting can include Facial image and corresponding expression information, i.e. expression information carry out personalized customization for user, and user is gathered by camera Facial image, and accordingly receive and the facial image corresponding to user set expression information, corresponded to be deposited into it is default In expression template.
Step S202, the volume adjustment mode of terminal device is configured, determines that expression volume is reflected according to result is set Penetrate relation.
Step S203, facial image is obtained by sensor, face recognition is carried out to the facial image.
Step S204, the expression information according to corresponding to recognition result and default expression template determine the facial image.
In one embodiment, face recognition is carried out to the facial image currently collected, according to recognition result default Determination and expression information corresponding to current face's image in expression ATL, for subsequently determining the volume set-up mode of association.
Step S205, according to volume set-up mode corresponding to the expression information and the determination of expression volume mapping relations.
Step S206, the volume of terminal device is controlled according to the volume set-up mode.
From the foregoing, when the facial image according to user is controlled to terminal device volume, customized to realize Set or overcome expression recognition error, by the way of being configured in advance to default expression template so that volume is set The mode put more diversification, meets user's request, and function is more perfect.
Fig. 3 is the flow chart for another volume method to set up that the embodiment of the present application provides, optionally, described according to identification As a result determine that expression information corresponding to the facial image includes:The people is determined according to recognition result and default expression template Expression information corresponding to face image;Described according to corresponding to recognition result and default expression template determine the facial image Before expression information, in addition to:The facial image of other terminal devices to collecting carries out machine learning and obtains default expression Template.As shown in figure 3, technical scheme is specific as follows:
Step S301, the facial image of other terminal devices to collecting carries out machine learning and obtains default expression mould Plate.
In one embodiment, expression template is preset to obtain by the facial image progress machine learning for collecting terminal device Arrive, the facial image can be taking pictures certainly during user's routine use, can be that the other terminal devices received transmit Facial image, the default expression mould of expression information generation corresponding to different facial image features is obtained by the way of machine learning Plate, wherein, the default expression template record has different facial images to identify obtained recognition result and corresponding expression letter The mapping relations of breath.
In another embodiment, the default expression template by server to the facial image that largely gathers Practise, training obtains, terminal device can the expression template that finishes of training that sends of the reception server as default expression template progress Storage.
Step S302, the volume adjustment mode of terminal device is configured, determines that expression volume is reflected according to result is set Penetrate relation.
Step S303, facial image is obtained by sensor, face recognition is carried out to the facial image.
Step S304, the expression information according to corresponding to recognition result and default expression template determine the facial image.
Step S305, according to volume set-up mode corresponding to the expression information and the determination of expression volume mapping relations.
Step S306, the volume of terminal device is controlled according to the volume set-up mode.
From the foregoing, when the facial image according to user is controlled to the volume of terminal device, by gathering number According to expansion, and the use of machine learning carries out classification division to facial image, improves recognition of face and expression information Determination efficiency, it is also more reasonable that the more accurate corresponding volume of identification is set.
Fig. 4 is the flow chart for another volume method to set up that the embodiment of the present application provides, optionally, described that terminal is set Standby volume adjustment mode be configured including:Volume and volume fade time to the terminal device of adjustment are set Put.As shown in figure 4, technical scheme is specific as follows:
Step S401, the volume and volume fade time of the terminal device of adjustment are configured, according to setting knot Fruit determines expression volume mapping relations.
To in the setting up procedure of the volume of the terminal device of adjustment, different volumes can be targetedly set in different time Size, rather than volume is simply arranged to 0 after a fixed time as described in preceding other embodiments.For example, such as The volume of control terminal device closed (being arranged to 0) after 25 minutes, can be accordingly after setting the time to start timing, the 10th Minute, volume is arranged to 3/5 of volume when original timing starts, at the 20th minute, volume is arranged to original timing The 1/5 of volume.Wherein, the volume after the time length of volume gradual change and gradual change can be configured in this step, Default value can be used.
Step S402, facial image is obtained by sensor, face recognition is carried out to the facial image.
Step S403, according to expression information corresponding to recognition result determination.
Step S404, according to the expression information and expression volume mapping relations determine corresponding to volume set-up mode, The volume of terminal device is controlled according to the volume set-up mode.
From the foregoing, during being controlled according to volume set-up mode to the volume of terminal device, can foundation User or system are set, and are realized the volume control scheme that the volume of different time points gradually changes, are met actual control Scene, Consumer's Experience is more preferably.
Fig. 5 is the structured flowchart that a kind of volume that the embodiment of the present application provides sets device, and the device is above-mentioned for performing The volume method to set up that embodiment provides, possesses the corresponding functional module of execution method and beneficial effect.As shown in figure 5, the dress Put and specifically include:Acquisition module 101, identification module 102, set-up mode determining module 103 and control module 104, wherein,
Acquisition module 101, for obtaining facial image by sensor;Identification module 102, for the facial image Carry out face recognition.
Terminal device can integrate various types of sensors, as optical sensor, acceleration transducer, proximity transducer, Image first-class.In one embodiment, when detecting user's using terminal equipment, face figure can be obtained by front camera Picture, optionally, whether can be consecutively detected whether Client-initiated touch control operation judges user by the display screen of terminal device In using terminal equipment, or, with reference to terminal device screen number of contacts (it is exemplary, number of contacts be more than 2 when, can determine that User is just in handheld device) and gyro apparatus measuring value (exemplary, inclining residing for the terminal device detected by gyroscope Rake angle judges whether user is used terminal device) determine whether user is used terminal device.Optionally, can detect After obtaining instruction to facial image, facial image is obtained by sensor, wherein, the facial image obtains instruction based on user's Clicking operation triggers.
In one embodiment, terminal device has the facial image of facial unlocking function, the i.e. user of terminal device After being captured by the sensor of terminal device, recognition of face is carried out, the unblock for successfully then completing terminal device is identified, when user is led to When crossing face recognition unblock, the facial image collected by sensor is obtained accordingly for subsequent operation.
In one embodiment, the human facial expression recognition method using feature based facial image is identified.Specifically , key step includes:Pre-defined series of features point, this feature point mark the different zones in face, are concentrated mainly on people Eyebrow, eyes, face and the chin position of face;It is special with Gabor by the Gabor wavelet coefficient of image convolution extraction feature point Module of the matching distance of sign as similarity;After feature extraction, facial expression is obtained by multilayer neural network Recognition result.
In another embodiment, using the face recognition method based on convolutional neural networks, wherein, convolutional neural networks It is a kind of feedforward neural network, its artificial neuron can respond the surrounding cells in a part of coverage.Convolutional Neural net Network is made up of one or more convolutional layers and the full-mesh layer on top (corresponding classical neutral net), while also includes association power Weight and pond layer.Specifically, key step includes:Picture position where locating human face, carry out image preprocessing and (such as remove nothing Close noise);The network model for including 5 Ge Juan basic units and 3 random pooling layers is used to be identified pretreated image As a result.
Set-up mode determining module 103, for expression information corresponding to determining the facial image according to recognition result, according to According to volume set-up mode corresponding to expression information determination.
Wherein, the recognition result contains the facial image features of active user, passes through different facial image features groups Current User Status can be obtained by closing, and in the present embodiment, the User Status is embodied by way of expression information, specifically, The expression information is the information for characterizing the different fatigue degree of user.Wherein, different brackets corresponds to different facial characteristics Or facial characteristics combination, exemplary as different brackets correspond to different eye features, the size opened by eyes judges ought For preceding level of fatigue, it is necessary to explanation, the facial characteristics of introducing is more, the more corresponding tired journeys of facial characteristics combination of use Degree judgement is more accurate, and the level of fatigue that can be divided also accordingly increases.
In one embodiment, the expression information according to corresponding to recognition result determines the facial image includes:Root Expression information corresponding to the facial image is determined according to recognition result and default expression template.The default expression template record Different facial characteristics and the mapping relations of corresponding expression information, by taking the eye feature in recognition result as an example, when detecting When eye opening and closing situation is the 4/5 of normal size, the first order (slight fatigue) in corresponding expression information;Eye is opened and closed situation Normal size 2/5 when, the second level (moderate fatigue) of corresponding expression information;When eye opening and closing situation is the 1/5 of normal size, The third level (severe fatigue) of corresponding expression information.
Wherein, volume set-up mode is the controlling party based on different time using different volumes taken terminal device Formula.
Control module 104, for being controlled according to the volume set-up mode to the volume of terminal device.
As shown in the above, by the facial image of user being identified the sound that can be completed accordingly to terminal device Amount control, it is manually operated without user, while expression information of the volume set-up mode based on user determines, can be appropriate Time point carries out rational volume control, and the power consumption for avoiding terminal device is consumed, it also avoid bothering user for no reason.
In a possible embodiment, the set-up mode determining module 103 is specifically used for:
The expression information according to corresponding to recognition result and default expression template determine the facial image.
In a possible embodiment, the set-up mode determining module 103 is additionally operable to:
Before the expression information according to corresponding to recognition result and default expression template determine the facial image, According to the default expression template of the setting of the facial image of the user collected and user instruction generation.
In a possible embodiment, the set-up mode determining module 103 is additionally operable to:
Before the expression information according to corresponding to recognition result and default expression template determine the facial image, The facial image of other terminal devices to collecting carries out machine learning and obtains default expression template.
In a possible embodiment, the set-up mode determining module 103 is additionally operable to:
It is described according to the expression information determine corresponding to before volume set-up mode, the volume of terminal device is adjusted Mode is configured, and expression volume mapping relations are determined according to result is set;Reflected according to the expression information and expression volume Penetrate volume set-up mode corresponding to relation determination.
In a possible embodiment, the set-up mode determining module 103 is specifically used for:
Volume and volume fade time to the terminal device of adjustment are configured.
In a possible embodiment, the acquisition module 101 is specifically used for:
When detecting the unblock event triggering of terminal device, facial image is obtained by sensor.
The present embodiment provides a kind of terminal device on the basis of the various embodiments described above, and Fig. 6 is that the embodiment of the present application carries The structural representation of a kind of terminal device supplied, as shown in fig. 6, the terminal device 200 includes:Memory 201, processor (Central Processing Unit, CPU) 202, Peripheral Interface 203, RF (Radio Frequency, radio frequency) circuit 205, Voicefrequency circuit 206, loudspeaker 211, power management chip 208, input/output (I/O) subsystem 209, touch-screen 212, other Input/control devices 210 and outside port 204, these parts are led to by one or more communication bus or signal wire 207 Letter.
It should be understood that graphic terminal 200 is only an example of terminal device, and terminal device 200 Can have than more or less parts shown in figure, can combine two or more parts, or can be with Configured with different parts.Various parts shown in figure can be including one or more signal transactings and special integrated Hardware, software including circuit are realized in the combination of hardware and software.
The terminal device for being used to open the rights management of application more that the present embodiment provides is described in detail below, should Terminal device is by taking smart mobile phone as an example.
Memory 201, the memory 201 can be accessed by CPU202, Peripheral Interface 203 etc., and the memory 201 can Including high-speed random access memory, can also include nonvolatile memory, such as one or more disk memories, Flush memory device or other volatile solid-state parts.
The input of equipment and output peripheral hardware can be connected to CPU202 and deposited by Peripheral Interface 203, the Peripheral Interface 203 Reservoir 201.
I/O subsystems 209, the I/O subsystems 209 can be by the input/output peripherals in equipment, such as touch-screen 212 With other input/control devicess 210, Peripheral Interface 203 is connected to.I/O subsystems 209 can include the He of display controller 2091 For controlling one or more input controllers 2092 of other input/control devicess 210.Wherein, one or more input controls Device 2092 processed receives electric signal from other input/control devicess 210 or sends electric signal to other input/control devicess 210, Other input/control devicess 210 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole, click on roller.What deserves to be explained is input controller 2092 can with it is following any one be connected:Keyboard, infrared port, The instruction equipment of USB interface and such as mouse.
Touch-screen 212, the touch-screen 212 are the input interface and output interface between user terminal and user, can It can include figure, text, icon, video etc. to user, visual output depending on output display.
Sensor 213, such as integrated cam device, can gather facial image and be stored in memory 201, pass through Facial image is identified CPU202 operation algorithms.
Display controller 2091 in I/O subsystems 209 receives electric signal from touch-screen 212 or sent out to touch-screen 212 Electric signals.Touch-screen 212 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 2091 The interaction of user interface object on touch-screen 212, that is, realize man-machine interaction, the user interface being shown on touch-screen 212 Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is equipment can also include light Mouse, light mouse is not show the touch sensitive surface visually exported, or the extension of the touch sensitive surface formed by touch-screen.
RF circuits 205, it is mainly used in establishing the communication of mobile phone and 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 circuits 205 receive and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 205 convert electrical signals to electromagnetic signal or electromagnetic signal is converted into telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 205 can include being used to perform The known circuit of these functions, it includes but is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one Individual or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identify mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 206, it is mainly used in receiving voice data from Peripheral Interface 203, the voice data is converted into telecommunications Number, and the electric signal is sent to loudspeaker 211.
Loudspeaker 211, for the voice signal for receiving mobile phone from wireless network by RF circuits 205, it is reduced to sound And play the sound to user.
Power management chip 208, the hardware for being connected by CPU202, I/O subsystem and Peripheral Interface are powered And power management.
The volume of the terminal device provided in above-described embodiment sets device and the executable present invention of terminal device any real The volume method to set up for the terminal device that example is provided is applied, possesses and performs the corresponding functional module of this method and beneficial effect.Not The ins and outs of detailed description in the above-described embodiments, reference can be made to the volume for the terminal device that any embodiment of the present invention is provided Method to set up.
The embodiment of the present application also provides a kind of storage medium for including terminal device executable instruction, and the terminal device can Execute instruction is used to perform a kind of volume method to set up when by terminal device computing device, and this method includes:
Facial image is obtained by sensor, face recognition is carried out to the facial image;
The expression information according to corresponding to recognition result determines the facial image;
Terminal is set according to volume set-up mode corresponding to expression information determination and according to the volume set-up mode Standby volume is controlled.
In a possible embodiment, the expression information bag according to corresponding to recognition result determines the facial image Include:
The expression information according to corresponding to recognition result and default expression template determine the facial image.
In a possible embodiment, the face figure is determined according to recognition result and default expression template described Before the expression information as corresponding to, in addition to:
According to the default expression template of the setting of the facial image of the user collected and user instruction generation.
In a possible embodiment, the face figure is determined according to recognition result and default expression template described Before the expression information as corresponding to, in addition to:
The facial image of other terminal devices to collecting carries out machine learning and obtains default expression template.
In a possible embodiment, it is described according to the expression information determine corresponding to volume set-up mode it Before, in addition to:
The volume adjustment mode of terminal device is configured, expression volume mapping relations are determined according to result is set;
Accordingly, it is described to include according to volume set-up mode corresponding to expression information determination:
According to volume set-up mode corresponding to the expression information and the determination of expression volume mapping relations.
In a possible embodiment, the volume adjustment mode to terminal device be configured including:
Volume and volume fade time to the terminal device of adjustment are configured.
In a possible embodiment, it is described that facial image is obtained by sensor, face is carried out to the facial image Portion's identification includes:
When detecting the unblock event triggering of terminal device, facial image is obtained by sensor, to the facial image Carry out face recognition.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap Include: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, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetizing mediums (such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can also include other The memory of type or its combination.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 programmed instruction and be used to perform to the first computer." storage is situated between term Matter " can include may reside within diverse location two of (such as in different computer systems by network connection) or More storage mediums.Storage medium can store the programmed instruction that can be performed by one or more processors and (such as implement For computer program).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present application is provided, its computer The volume method to set up operation that executable instruction is not limited to the described above, can also carry out what any embodiment of the present invention was provided Associative operation in volume method to set up.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. volume method to set up, it is characterised in that including:
Facial image is obtained by sensor, face recognition is carried out to the facial image;
The expression information according to corresponding to recognition result determines the facial image;
According to volume set-up mode corresponding to expression information determination and according to the volume set-up mode to terminal device Volume is controlled.
2. according to the method for claim 1, it is characterised in that described to determine that the facial image is corresponding according to recognition result Expression information include:
The expression information according to corresponding to recognition result and default expression template determine the facial image.
3. according to the method for claim 2, it is characterised in that described true according to recognition result and default expression template Before expression information corresponding to the fixed facial image, in addition to:
According to the default expression template of the setting of the facial image of the user collected and user instruction generation.
4. according to the method for claim 2, it is characterised in that described true according to recognition result and default expression template Before expression information corresponding to the fixed facial image, in addition to:
The facial image of other terminal devices to collecting carries out machine learning and obtains default expression template.
5. according to the method any one of claim 1-4, it is characterised in that determined described according to the expression information Before corresponding volume set-up mode, in addition to:
The volume adjustment mode of terminal device is configured, expression volume mapping relations are determined according to result is set;
Accordingly, it is described to include according to volume set-up mode corresponding to expression information determination:
According to volume set-up mode corresponding to the expression information and the determination of expression volume mapping relations.
6. according to the method for claim 5, it is characterised in that the volume adjustment mode to terminal device is configured Including:
Volume and volume fade time to the terminal device of adjustment are configured.
7. according to the method for claim 5, it is characterised in that it is described that facial image is obtained by sensor, to the people Face image, which carries out face recognition, to be included:
When detecting the unblock event triggering of terminal device, facial image is obtained by sensor, the facial image is carried out Face recognition.
8. volume sets device, it is characterised in that including:
Acquisition module, for obtaining facial image by sensor;
Identification module, for carrying out face recognition to the facial image;
Set-up mode determining module, for expression information corresponding to determining the facial image according to recognition result, according to described in Volume set-up mode corresponding to expression information determination;
Control module, for being controlled according to the volume set-up mode to the volume of terminal device.
9. a kind of terminal device, including:Processor, memory and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that realized described in the computing device during computer program such as any one of claim 1-7 institutes The volume method to set up stated.
A kind of 10. storage medium for including terminal device executable instruction, it is characterised in that the terminal device executable instruction As volume method to set up during terminal device computing device for execution as any one of claim 1-7.
CN201711393089.2A 2017-12-21 2017-12-21 Volume method to set up, device, terminal device and storage medium Pending CN107861708A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711393089.2A CN107861708A (en) 2017-12-21 2017-12-21 Volume method to set up, device, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711393089.2A CN107861708A (en) 2017-12-21 2017-12-21 Volume method to set up, device, terminal device and storage medium

Publications (1)

Publication Number Publication Date
CN107861708A true CN107861708A (en) 2018-03-30

Family

ID=61706792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711393089.2A Pending CN107861708A (en) 2017-12-21 2017-12-21 Volume method to set up, device, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN107861708A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108966080A (en) * 2018-06-26 2018-12-07 Oppo广东移动通信有限公司 volume adjusting method, device, storage medium and terminal device
CN110213663A (en) * 2019-05-22 2019-09-06 深圳壹账通智能科技有限公司 Audio and video playing method, computer equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102556077A (en) * 2010-12-31 2012-07-11 华晶科技股份有限公司 Vehicle equipment control system and method thereof
CN102917120A (en) * 2012-09-20 2013-02-06 北京百纳威尔科技有限公司 Mobile terminal and method for refreshing information displayed by mobile terminal
CN104615252A (en) * 2015-02-16 2015-05-13 联想(北京)有限公司 Control method, control device, wearable electronic device and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102556077A (en) * 2010-12-31 2012-07-11 华晶科技股份有限公司 Vehicle equipment control system and method thereof
CN102917120A (en) * 2012-09-20 2013-02-06 北京百纳威尔科技有限公司 Mobile terminal and method for refreshing information displayed by mobile terminal
CN104615252A (en) * 2015-02-16 2015-05-13 联想(北京)有限公司 Control method, control device, wearable electronic device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108966080A (en) * 2018-06-26 2018-12-07 Oppo广东移动通信有限公司 volume adjusting method, device, storage medium and terminal device
CN110213663A (en) * 2019-05-22 2019-09-06 深圳壹账通智能科技有限公司 Audio and video playing method, computer equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN109218535B (en) Method and device for intelligently adjusting volume, storage medium and terminal
CN107968890A (en) theme setting method, device, terminal device and storage medium
CN110163806B (en) Image processing method, device and storage medium
CN109903773B (en) Audio processing method, device and storage medium
CN108681402A (en) Identify exchange method, device, storage medium and terminal device
CN107944259A (en) Using the management-control method of startup, device and storage medium and mobile terminal
CN109308908A (en) A kind of voice interactive method and device
CN107678823A (en) Control method, device and the storage medium and mobile terminal of mobile terminal application
CN107608523A (en) Control method, device and the storage medium and mobile terminal of mobile terminal
CN107645685A (en) Information processing method, device, terminal device and storage medium
CN107729880A (en) Method for detecting human face and device
CN106911956A (en) A kind of audio data play method, device and mobile terminal
CN108648259A (en) image drawing method, device, storage medium and intelligent terminal
CN108010583A (en) Data processing method, device, terminal device and storage medium
CN109756818A (en) Dual microphone noise-reduction method, device, storage medium and electronic equipment
CN107861708A (en) Volume method to set up, device, terminal device and storage medium
CN114333774B (en) Speech recognition method, device, computer equipment and storage medium
CN108491780A (en) Image landscaping treatment method, apparatus, storage medium and terminal device
CN108600544A (en) A kind of Single-hand control method and terminal
CN107545052A (en) Information recommendation method, device, mobile terminal and storage medium
CN107508979A (en) volume adjusting method, device, terminal and storage medium
CN107508983A (en) volume adjusting method, device, storage medium and terminal device
CN106951333A (en) A kind of broadcast controlling method, device and mobile terminal
CN108040284A (en) Radio station control method for playing back, device, terminal device and storage medium
CN106933684A (en) A kind of control method of broadcast recipients, device and mobile terminal

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
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20180330

RJ01 Rejection of invention patent application after publication