Term " first " and " second " in description and claims of this specification etc. are for distinguishing different pairsAs, rather than it is used for the particular order of description object.For example, the first parameter and the second parameter etc. are for distinguishing different ginsengsNumber, rather than it is used for the particular order of characterising parameter.
In embodiments of the present invention, " illustrative " or " such as " etc. words for indicate make example, illustration or explanation.ThisBe described as in inventive embodiments " illustrative " or " such as " any embodiment or design scheme be not necessarily to be construed as comparingOther embodiments or design scheme more preferably or more advantage.Specifically, use " illustrative " or " such as " etc. words purportRelated notion is being presented in specific ways.
In the description of the embodiment of the present invention, unless otherwise indicated, the meaning of " plurality " is refer to two or more,For example, multiple element refers to two or more element.
The embodiment of the present invention provides a kind of image processing method and terminal device, the available first information (first letterBreath includes the first parameter, which is the resemblance parameter of the first object in reference picture);And according to this firstInformation adjusts the resemblance of the second object in image to be adjusted, to obtain target image.With this solution, due to terminalEquipment can the second object according to the resemblance parameter of the first object in reference picture, in adjust automatically image to be adjustedResemblance, therefore user is without repeatedly manually adjusting portrait image (such as facial image or human body image), fromAnd it can simplify the process to portrait image beautification, and reduce the time-consuming of the process of beautification.
Terminal device in the embodiment of the present invention can be the terminal device with operating system.The operating system can beAndroid (Android) operating system can be ios operating system, can also be other possible operating systems, and the present invention is implementedExample is not especially limited.
Below by taking Android operation system as an example, introduce applied by image processing method provided in an embodiment of the present inventionSoftware environment.
As shown in Figure 1, being a kind of configuration diagram of Android operation system provided in an embodiment of the present invention.In Fig. 1, peaceThe framework of tall and erect operating system includes 4 layers, is respectively as follows: application layer, application framework layer, system Runtime Library layer and inner nuclear layer(being specifically as follows Linux inner core).
Wherein, application layer includes each application program (including system application and in Android operation systemTripartite's application program).
Application framework layer is the frame of application program, and developer can be in the exploitation for the frame for abiding by application programIn the case where principle, some application programs are developed based on application framework layer.
System Runtime Library layer includes library (also referred to as system library) and Android operation system running environment.Library is mainly Android behaviourAs system it is provided needed for all kinds of resources.Android operation system running environment is used to provide software loop for Android operation systemBorder.
Inner nuclear layer is the operating system layer of Android operation system, belongs to the bottom of Android operation system software level.It is interiorStratum nucleare provides core system service and hardware-related driver based on linux kernel for Android operation system.
By taking Android operation system as an example, in the embodiment of the present invention, developer can be based on above-mentioned Android as shown in Figure 1The software program of image processing method provided in an embodiment of the present invention is realized in the system architecture of operating system, exploitation, so thatThe image processing method can be run based on Android operation system as shown in Figure 1.I.e. processor or terminal device can lead toIt crosses and runs software program realization image processing method provided in an embodiment of the present invention in Android operation system.
Terminal device in the embodiment of the present invention can be mobile terminal device, or immobile terminal equipment.ShowExample property, mobile terminal device can be mobile phone, tablet computer, laptop, palm PC, vehicle-mounted terminal equipment, can wearWear equipment, Ultra-Mobile PC (ultra-mobile personal computer, UMPC), net book or individualDigital assistants (personal digital assistant, PDA) etc., immobile terminal equipment can be personal computer(personal computer, PC), television set (television, TV), automatic teller machine or self-service machine etc., the embodiment of the present inventionIt is not especially limited.
The executing subject of image processing method provided in an embodiment of the present invention can be above-mentioned terminal device, orThe functional module and/or functional entity that can be realized the image processing method in the terminal device, specifically can be according to realityUse demand determines that the embodiment of the present invention is not construed as limiting.Below by taking terminal device as an example, to image provided in an embodiment of the present inventionProcessing method is illustratively illustrated.
As shown in Fig. 2, the embodiment of the present invention provides a kind of image processing method.This method may include following step100 and step 101.
Step 100, terminal device obtain the first information.
Wherein, the first information includes the first parameter.First parameter is the resemblance of the first object in reference pictureParameter.
Optionally, in the embodiment of the present invention, the first information can also include target histories behavioural information.The target histories rowIt can be the historical behavior information of the resemblance of the object in user's adjustment image for information.
Optionally, in the embodiment of the present invention, reference picture can be the image stored in terminal device, or userThe image that triggering terminal equipment is downloaded from network.It can specifically be determined according to use demand, the embodiment of the present invention is not construed as limiting.
Illustratively, it is assumed that reference picture is the image stored in terminal device, the image tool stored in the terminal deviceBody can be the image that stores in the photograph album of terminal device, or the image (beauty that can be stored in the picture library for beautification applicationChanging application is a application for having facial image or human body image beautifying functions being arranged in terminal device).
Optionally, in the embodiment of the present invention, the first object can be personage or animal etc. in reference picture.
Optionally, in the embodiment of the present invention, the first parameter may include at least one following: the face ratio of the first objectExample parameter, the limbs scale parameter of the first object and the color scale parameter of the first object.Wherein, the color ratio of the first objectParameter can serve to indicate that the color ratio of each predetermined patterns in the first object.
Illustratively, the face scale parameter of the first object can for the eyes of the first object, lip, nose, ear andThe scale parameter of eyebrow;The limbs scale parameter of first object can be arm, waist, leg, neck and the head of the first objectThe scale parameter in portion etc.;The color scale parameter of first object can be hair, forehead, eyes, lip, cheek, neck, armWith the color scale parameter of the predetermined patterns such as ear.
Optionally, terminal device can obtain the first information under any one scene in following three kinds of scenes:
Scene one: if user gets an image (i.e. reference picture), and want according to pair in the reference pictureThe resemblance of elephant is adjusted the resemblance of the object in other images (image i.e. to be adjusted), then user can be withTriggering terminal equipment obtains the first information from the reference picture.
Scene two: in the case where the shooting function of terminal device is opened, terminal device can be shown on the screen to be passed throughThe preview image (image i.e. to be adjusted) that camera obtains.If user is dissatisfied to image to be adjusted, or want to check toOther display effects for adjusting image, then user can obtain the first information with triggering terminal equipment from reference picture.
Scene three: being provided with a application (referred to as beautification application) for having portrait image beautifying functions in terminal device,After terminal device opens beautification application, terminal device can automatically open camera, and show preview graph on the screenAs (image i.e. to be adjusted).If user is dissatisfied to image to be adjusted, or wants to check other displays of image to be adjustedEffect, then user can obtain the first information with triggering terminal equipment from reference picture.
Step 101, terminal device adjust the resemblance of the second object in image to be adjusted according to the first information,To obtain target image.
Optionally, in the embodiment of the present invention, the second object can be personage or animal etc. in image to be adjusted.
Optionally, in the embodiment of the present invention, the resemblance of the second object may include at least one following: second pairThe color of the face of elephant, the limbs of the second object and each predetermined patterns of the second object.
Illustratively, it is assumed that the length on the head in the first object and the height ratio of the first object are 1:7, the first objectIn head width and the first object body width ratio be 1:2, and the leg length in the first object with first pairThe height ratio of elephant is 0.6:1, then terminal device can be by the length on the head of the second object in image to be adjusted and theThe height ratio of two objects is adjusted to 1:7, by the width ratio of the width on the head in the second object and the body of the second objectIt is adjusted to 1:2, and the height ratio of leg length and the second object in the second object is adjusted to 0.6:1.
Illustratively, it is assumed that the ratio of the height of the width and face of the face in the first object is 0.618:1, in the first objectEyes distance and the ratio of width of face be 0.16:1, and the eyes in the first object are to the distance of mouth and the height of faceRatio is 0.36:1, then the ratio of the height of the width of the face in the second object and face can be adjusted to by terminal deviceThe ratio of the width of eyes distance and face in second object is adjusted to the eye in 0.16:1 and the second object by 0.618:1The ratio of eyeball to the distance of mouth and the height of face is adjusted to 0.36:1.
The embodiment of the present invention provides a kind of image processing method, since terminal device can be according to first in reference pictureThe resemblance parameter of object, the resemblance of the second object in adjust automatically image to be adjusted, therefore user is not necessarily to peoplePicture image (such as facial image or human body image) is repeatedly manually adjusted, so as to simplify the mistake beautified to portrait imageJourney, and reduce the time-consuming to the process of beautification.
Optionally, in conjunction with Fig. 2, as shown in figure 3, above-mentioned steps 101 can specifically be realized by following step 101a.
Step 101a, the second parameter is adjusted to the first parameter by terminal device, to obtain target image.
Wherein, above-mentioned second parameter can be the resemblance parameter of the second object in image to be adjusted.
Optionally, in the embodiment of the present invention, the second parameter may include at least one following: the face ratio of the second objectExample parameter, the limbs scale parameter of the second object and the color scale parameter of the second object, the color scale parameter of the second objectIt is used to indicate the color ratio of each predetermined patterns in the second object.
Image processing method provided in an embodiment of the present invention, by by the resemblance of the second object in image to be adjustedParameter is adjusted to the first parameter, and the resemblance of the second object in terminal device adjust automatically image to be adjusted may be implemented,Without repeatedly being manually adjusted to portrait image (such as facial image or human body image).
Optionally, in conjunction with Fig. 2, as shown in figure 4, in the case where the first information further includes target histories behavioural information, onStating step 101 can specifically be realized by following step 101b.
Step 101b, terminal device adjusts in image to be adjusted according to target histories behavioural information and the first parameterThe resemblance of two objects, to obtain target image.
Wherein, above-mentioned target histories behavioural information can adjust the history row of the resemblance of the object in image for userFor information.
Optionally, the embodiment of the present invention, terminal device can acquire user to the resemblance of the object in adjustment imageHistorical behavior, and counted and calculated according to historical behavior of the preset algorithm to acquisition, to obtain target histories behavior letterBreath.For example, the target histories behavioural information may include: the historical behavior letter that user tunes up the eyes of the object in imageBreath, user elongate the leg of the object in image for the anti-wrinkle historical behavior information of neck of the object in image, userHistorical behavior information, user are at least one in historical behavior information of mill skin of the object in image etc..
Illustratively, if the eyes of the first object in reference picture are smaller, and target histories behavioural information indicatesUser preferences tune up the eyes of the object in image, then terminal device can be according to target histories behavioural information, it will be wait adjustThe eyes of the second object in whole image tune up, so as to obtain target image.
Image processing method provided in an embodiment of the present invention, with adjusted according only to the first parameter in image to be adjusted secondThe method of the resemblance of object is compared, and according to target histories behavioural information and the first parameter, adjusts in image to be adjustedThe resemblance of two objects is more accurate, that is, improves the accuracy for adjusting image to be adjusted.
Optionally, in conjunction with Fig. 2, as shown in figure 5, before above-mentioned steps 100, image procossing provided in an embodiment of the present inventionMethod include thes steps that following 102.Corresponding, above-mentioned steps 100 can specifically be realized by following step 100a.
Step 102, terminal device receive the first input that user selects reference picture.
Step 100a, terminal device obtains the first parameter in response to first input from reference picture.
For the specific descriptions of reference picture and the first parameter, the step 100 pair reference in above-described embodiment may refer toThe associated description of image and the first parameter, it will not go into details herein.
Optionally, in the embodiment of the present invention, the first input can for user to reference picture to click input, long-pressing defeatedEnter, double-click input or slidably input.It can specifically be determined according to actual use demand, the embodiment of the present invention is not construed as limiting.
Exemplary, Fig. 6 is a kind of operation chart for the current interface that terminal device is shown provided in an embodiment of the present invention.As shown in (a) in Fig. 6, it is assumed that the current interface of terminal device is the interface of beautification application, and current interface includes by taking the photographAs the preview image that head acquires, if user is dissatisfied to the preview image, user can click control " importing ".At endAfter end equipment receives the click input to control " importing " of user, current interface can be switched to such as figure by terminal devicePicture library interface shown in (b) in 6.Further, as shown in (b) in Fig. 6, if user clicks in the picture library interface" image 8 ", then terminal device can obtain the first parameter from " image 8 ".
Image processing method provided in an embodiment of the present invention, it is suitable with reference to figure that user can select according to oneself demandPicture, such terminal device can adjust in image to be adjusted according to the first parameter is obtained from the reference picture that user selectsThe resemblance of second object more meets user demand so as to image to be adjusted adjusted.
Optionally, in conjunction with Fig. 5, as shown in fig. 7, after above-mentioned steps 100a, at image provided in an embodiment of the present inventionReason method include thes steps that following 103.
The beautification parameter of first template is adjusted to the first parameter by step 103, terminal device, to obtain the second template, andSave second template.
It should be noted that the embodiment of the present invention is not especially limited step 101 and step 103 execution sequence, specificallyIt can be determined according to actual use demand.For example, terminal device may be performed simultaneously step 101 and step 103.
Optionally, it can be previously provided with a beautification template library in terminal device, include more sets in the beautification template libraryBeautify template.Wherein, the first template can beautify a set of template in template, and the corresponding one group of beauty of first template for more setsChange parameter.
Optionally, terminal device can obtain the second template by any one mode in following two ways:
The beautification parameter of first template is adjusted to the first parameter automatically by mode one, terminal device, to obtain the second template,And save second template.
If mode two, user are wanted to save the first parameter, user can be with triggering terminal equipment by the first templateBeautification parameter is adjusted to the first parameter, to obtain the second template, and saves second template.
Image processing method provided in an embodiment of the present invention, by the way that the beautification parameter of the first template is adjusted to the first ginsengNumber, available second template, so in user's using terminal equipment beautifying picture next time, can directly using this secondThe beautification parameter of template beautifies step without obtaining beautification parameter from reference picture again so as to simplify.
Optionally, in conjunction with Fig. 2, as shown in figure 8, after above-mentioned steps 101, image procossing provided in an embodiment of the present inventionMethod include thes steps that following 104 and step 105.
Step 104, terminal device receive second input of the user to target image.
Step 105, terminal device adjust the resemblance of the second object in target image in response to second input,With the target image after being adjusted.
Wherein, above-mentioned second input can input the adjustment of target image for user.
Illustratively, when user adjusts the adjustment input of target image for face, face adjustment may includeAt least one of following: amplification eyes go to wrinkle, go black eye, remove eye pouch, augmentation rhinoplasty, thin face, go acne print and mole of dispelling;In user coupleWhen the adjustment input of target image is for shape adjustment, which may include at least one following: thin waist stretches legLong and neck whitening etc.;When user inputs the color for adjusting target object to the adjustment of target image, color adjustment canTo include at least one following: skin whitening, transformation hair color, transformation pupil color and transformation lip color etc..
Image processing method provided in an embodiment of the present invention, in terminal device to the outer of the second object in image to be adjustedShape feature is adjusted, and after obtaining target image, user can further be manually adjusted the target image, so that adjustingTarget image after whole more meets user demand, improves the experience sense of user.
Optionally, in the embodiment of the present invention, after above-mentioned steps 101, image processing method provided in an embodiment of the present inventionMethod include thes steps that following 106.
Step 106, terminal device save target image.
Illustratively, after terminal device obtains target image, terminal device can automatically save the target image,The target image can be saved in response to the triggering of user.Further, user can be with triggering terminal equipment, by the target figureGood friend as being shared with the user.
Image processing method provided in an embodiment of the present invention can be convenient user and reuse by saving target imageThe image.
As shown in figure 9, the embodiment of the present invention provides a kind of terminal device 900.The terminal device may include obtaining module901 and adjustment module 902.Wherein, module 901 is obtained, for obtaining the first information, which includes the first parameter, shouldFirst parameter is the resemblance parameter of the first object in reference picture;Module 902 is adjusted, for according to acquisition module 901The first information obtained, adjusts the resemblance of the second object in image to be adjusted, to obtain target image.
Optionally, in the embodiment of the present invention, the first parameter may include at least one following: the face ratio of the first objectExample parameter, the limbs scale parameter of the first object and the color scale parameter of the first object.Wherein, the color ratio of the first objectParameter is used to indicate the color ratio of each predetermined patterns in the first object.
Optionally, in the embodiment of the present invention, module 902 is adjusted, specifically can be used for the second parameter being adjusted to the first ginsengNumber, second parameter are the resemblance parameter of the second object in image to be adjusted.Wherein, the second parameter may include followingAt least one of: the color ratio of the face scale parameter of the second object, the limbs scale parameter of the second object and the second objectThe color scale parameter of parameter, second object can serve to indicate that the color ratio of each predetermined patterns in the second object.
Optionally, in the embodiment of the present invention, the first information can also include target histories behavioural information, the target histories rowIt can be the historical behavior information of the resemblance of the object in user's adjustment image for information.Module 902 is adjusted, it specifically can be withFor adjusting the resemblance of the second object in image to be adjusted according to target histories behavioural information and the first parameter.
Optionally, in conjunction with Fig. 9, as shown in Figure 10, terminal device provided in an embodiment of the present invention can also include receiving mouldBlock 903.Receiving module 903 can be used for before obtaining module 901 and obtaining the first information, receives user and selects reference pictureFirst input;Module 901 is obtained, specifically can be used in response to received first input of receiving module 903, from reference to figureThe first parameter is obtained as in.
Optionally, in the embodiment of the present invention, module 902 is adjusted, can be also used for adjusting the beautification parameter of the first templateFor the first parameter, to obtain the second template, and second template is saved.
Optionally, in the embodiment of the present invention, receiving module 903 can be also used for terminal device and receive user to target figureSecond input of picture;Module 902 is adjusted, can be also used for adjusting the second object in target image in response to second inputResemblance, with the target image after being adjusted.
Terminal device provided in an embodiment of the present invention can be realized terminal device in above method embodiment realize it is eachProcess, to avoid repeating, which is not described herein again.
The embodiment of the present invention provides a kind of terminal device, since terminal device can be according to the first object in reference pictureResemblance parameter, the resemblance of the second object in adjust automatically image to be adjusted, therefore user is not necessarily to portrait figurePicture (such as facial image or human body image) is repeatedly manually adjusted, i.e., terminal device provided in an embodiment of the present invention can letterChange the process beautified to portrait image, and reduces the time-consuming of the process of beautification.
A kind of hardware structural diagram of Figure 11 terminal device of each embodiment to realize the present invention.As shown in figure 11,The terminal device 200 includes but is not limited to: radio frequency unit 201, network module 202, audio output unit 203, input unit204, sensor 205, display unit 206, user input unit 207, interface unit 208, memory 209, processor 210, withAnd the equal components of power supply 211.It will be understood by those skilled in the art that the not structure paired terminal of terminal device structure shown in Figure 11The restriction of equipment, terminal device may include perhaps combining certain components or different than illustrating more or fewer componentsComponent layout.In embodiments of the present invention, terminal device includes but is not limited to mobile phone, tablet computer, laptop, palm electricityBrain, vehicle-mounted terminal equipment, wearable device and pedometer etc..
Wherein, for processor 210 for obtaining the first information, which includes the first parameter, which is ginsengExamine the resemblance parameter of the first object in image;And according to the first information, second pair in image to be adjusted is adjustedThe resemblance of elephant, to obtain target image.
The embodiment of the present invention provides a kind of terminal device, since terminal device can be according to the first object in reference pictureResemblance parameter, the resemblance of the second object in adjust automatically image to be adjusted, therefore user is not necessarily to portrait figurePicture (such as facial image or human body image) is repeatedly manually adjusted, i.e., terminal device provided in an embodiment of the present invention can letterChange the process beautified to portrait image, and reduces the time-consuming of the process of beautification.
It should be understood that the embodiment of the present invention in, radio frequency unit 201 can be used for receiving and sending messages or communication process in, signalSend and receive, specifically, by from base station downlink data receive after, to processor 210 handle;In addition, by uplinkData are sent to base station.In general, radio frequency unit 201 includes but is not limited to antenna, at least one amplifier, transceiver, couplingDevice, low-noise amplifier, duplexer etc..In addition, radio frequency unit 201 can also by wireless communication system and network and other setStandby communication.
Terminal device provides wireless broadband internet by network module 202 for user and accesses, and such as user is helped to receiveIt sends e-mails, browse webpage and access streaming video etc..
Audio output unit 203 can be received by radio frequency unit 201 or network module 202 or in memory 209The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 203 can also provide and endThe relevant audio output of specific function that end equipment 200 executes is (for example, call signal receives sound, message sink sound etc.Deng).Audio output unit 203 includes loudspeaker, buzzer and receiver etc..
Input unit 204 is for receiving audio or video signal.Input unit 204 may include graphics processor(Graphics Processing Unit, GPU) 2041 and microphone 2042, graphics processor 2041 is in video acquisition modeOr the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries outReason.Treated, and picture frame may be displayed on display unit 206.Through graphics processor 2041, treated that picture frame can be depositedStorage is sent in memory 209 (or other storage mediums) or via radio frequency unit 201 or network module 202.MikeWind 2042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can beThe format output that mobile communication base station can be sent to via radio frequency unit 201 is converted in the case where telephone calling model.
Terminal device 200 further includes at least one sensor 205, such as optical sensor, motion sensor and other biographiesSensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environmentThe light and shade of light adjusts the brightness of display panel 2061, and proximity sensor can close when terminal device 200 is moved in one's earDisplay panel 2061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generalFor three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify terminal device posture (ratioSuch as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passesSensor 205 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wetMeter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 206 is for showing information input by user or being supplied to the information of user.Display unit 206 can wrapDisplay panel 2061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be usedForms such as (Organic Light-Emitting Diode, OLED) configure display panel 2061.
User input unit 207 can be used for receiving the number or character information of input, and generate the use with terminal deviceFamily setting and the related key signals input of function control.Specifically, user input unit 207 include touch panel 2071 andOther input equipments 2072.Touch panel 2071, also referred to as touch screen collect the touch operation of user on it or nearby(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 2071 or in touch panel 2071Neighbouring operation).Touch panel 2071 may include both touch detecting apparatus and touch controller.Wherein, touch detectionDevice detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch controlDevice processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 210, receiving areaIt manages the order that device 210 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.Seed type realizes touch panel 2071.In addition to touch panel 2071, user input unit 207 can also include other input equipments2072.Specifically, other input equipments 2072 can include but is not limited to physical keyboard, function key (such as volume control button,Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 2071 can be covered on display panel 2061, when touch panel 2071 is detected at itOn or near touch operation after, send processor 210 to determine the type of touch event, be followed by subsequent processing device 210 according to touchingThe type for touching event provides corresponding visual output on display panel 2061.Although in Figure 11, touch panel 2071 and aobviousShow that panel 2061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodimentsIn, can be integrated by touch panel 2071 and display panel 2061 and realize the function that outputs and inputs of terminal device, it is specific thisPlace is without limitation.
Interface unit 208 is the interface that external device (ED) is connect with terminal device 200.For example, external device (ED) may include havingLine or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card endMouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification moduleMouthful etc..Interface unit 208 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) andBy one or more elements that the input received is transferred in terminal device 200 or can be used in 200 He of terminal deviceData are transmitted between external device (ED).
Memory 209 can be used for storing software program and various data.Memory 209 can mainly include storing program areaThe storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one functionSound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such asAudio data, phone directory etc.) etc..In addition, memory 209 may include high-speed random access memory, it can also include non-easyThe property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 210 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connectionA part by running or execute the software program and/or module that are stored in memory 209, and calls and is stored in storageData in device 209 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.PlaceManaging device 210 may include one or more processing units;Optionally, processor 210 can integrate application processor and modulatedemodulate is mediatedManage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainProcessing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 210.
Terminal device 200 can also include the power supply 211 (such as battery) powered to all parts, optionally, power supply 211Can be logically contiguous by power-supply management system and processor 210, to realize management charging by power-supply management system, putThe functions such as electricity and power managed.
In addition, terminal device 200 includes some unshowned functional modules, details are not described herein.
Optionally, the embodiment of the present invention also provides a kind of terminal device, including processor 210 as shown in figure 11, storageDevice 209 is stored in the computer program that can be run on memory 209 and on processor 210, and the computer program is by processor210 realize each process of above method embodiment when executing, and can reach identical technical effect, to avoid repeating, hereIt repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage mediumCalculation machine program, realizes each process of above method embodiment when which is executed by processor, and can reach identicalTechnical effect, to avoid repeating, which is not described herein again.Wherein, computer readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-rowHis property includes, so that the process, method, article or the device that include a series of elements not only include those elements, andAnd further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsicElement.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to doThere is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment sideMethod can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many casesThe former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior artThe part contributed out can be embodied in the form of software products, which is stored in a storage mediumIn (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothesBusiness device, air conditioner or the network equipment etc.) execute the method that each embodiment of the present invention describes.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specificEmbodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the artUnder the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very muchForm belongs within protection of the invention.