CN110399062A - Face unlock interface display methods, system, mobile terminal and storage medium - Google Patents

Face unlock interface display methods, system, mobile terminal and storage medium Download PDF

Info

Publication number
CN110399062A
CN110399062A CN201910630832.4A CN201910630832A CN110399062A CN 110399062 A CN110399062 A CN 110399062A CN 201910630832 A CN201910630832 A CN 201910630832A CN 110399062 A CN110399062 A CN 110399062A
Authority
CN
China
Prior art keywords
face
color
mobile terminal
screen locking
background color
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
CN201910630832.4A
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910630832.4A priority Critical patent/CN110399062A/en
Publication of CN110399062A publication Critical patent/CN110399062A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of face unlock interface display methods, system, mobile terminal and storage mediums, are related to technical field of mobile terminals.Wherein method includes: to obtain the background color of the mobile terminal to lock screen-wall paper when mobile terminal carries out face unlock;According to the background color of the screen locking wallpaper, the color for the face solution lock icon being layered on the screen locking wallpaper is adjusted, the color of the face solution lock icon is made to be different from the background color of the screen locking wallpaper.The embodiment of the present invention enables mobile terminal dynamically to switch the color of face solution lock icon according to the background color of the screen locking wallpaper of user setting, so that the colouring discrimination of face solution lock icon is in the background color of screen locking wallpaper, user's face unlocked state is prompted, the user experience is improved.

Description

Face unlock interface display methods, system, mobile terminal and storage medium
Technical field
The present embodiments relate to technical field of mobile terminals, in particular to a kind of face unlock interface display methods is System, mobile terminal and storage medium.
Background technique
Face unlocking function became the burning hoter Xiang Gongneng of intelligent mobile terminal over the past two years, fell over each other in all big enterprises When using the function, the user experience of face unlock also undoubtedly becomes the spotlight for attracting user.Currently, intelligent mobile The face unlock interaction of terminal is general are as follows: when pressing intelligent mobile terminal power key, when the bright screen of triggering intelligent mobile terminal, and intelligence Mobile terminal starts to carry out face unlock, and in face unlocking process, intelligent mobile terminal can show one below locking screen interface The face solution lock icon of white allows the user to know that intelligent mobile terminal is carrying out face unlock at this time with this, when unlock is super When or after unlocking successfully, face unlock icon can then disappear.Interactive mode is unlocked by this face, user can know at any time Know the progress of current face's unlock.It is had the disadvantage that however, this face unlock interactive mode exists:
In intelligent mobile terminal use process, user is often according to the screen locking wall of the hobby modification system default of itself Paper allows intelligent mobile terminal screen interface to seem to compare and dazzle cruel, but if the screen locking wallpaper that user selects is shallow white color system , even white, then the face solution lock icon that intelligent mobile terminal in unlocking process, is shown on locking screen interface then can It combines together with the color of background screen locking wallpaper, causes user that can not perceive the presence of face solution lock icon, can not know people Face unlocks process, reduces user experience.
Summary of the invention
In view of this, the embodiment of the present invention is designed to provide a kind of face unlock interface display methods, system, movement Terminal and storage medium, to solve the background color and the color phase of face solution lock icon of the above-mentioned screen locking wallpaper selected as user Like when, cause user that can not perceive the presence of face solution lock icon, can not obtain face unlock process, reduce user experience The problem of.
It is as follows that the embodiment of the present invention solves technical solution used by above-mentioned technical problem:
According to an aspect of an embodiment of the present invention, a kind of face unlock interface display methods is provided, this method comprises:
When mobile terminal carries out face unlock, the background color of the mobile terminal to lock screen-wall paper is obtained;
According to the background color of the screen locking wallpaper, the face for the face solution lock icon being layered on the screen locking wallpaper is adjusted Color makes the color of the face solution lock icon be different from the background color of the screen locking wallpaper.
Based on the above technical solution, the background color according to the screen locking wallpaper, adjustment are layered in described The color of face solution lock icon on screen locking wallpaper makes the color of the face solution lock icon be different from the back of the screen locking wallpaper Scape color includes:
When the background color of the screen locking wallpaper is light color, the face solution that will be layered on the screen locking wallpaper The color of lock icon is adjusted to black;Alternatively,
When the background color of the screen locking wallpaper is for dark color, the face solution that will be layered on the screen locking wallpaper The color of lock icon is adjusted to white.
Based on the above technical solution, described when mobile terminal carries out face unlock, obtain the mobile terminal Before the background color of screen locking wallpaper further include:
The file format of the face solution lock icon stored in the mobile terminal is converted to the polar plot of xml format File;
The background color dynamic according to the screen locking wallpaper is configured by the color attribute of picture in the vector map file Change and be not used in the background color of the screen locking wallpaper.
Based on the above technical solution, described when mobile terminal carries out face unlock, obtain the mobile terminal The background color of screen locking wallpaper includes:
When the mobile terminal is under screen lock state, the movement is obtained when the mobile terminal screen is lit The background color of terminal screen wallpaper.
Based on the above technical solution, described when mobile terminal carries out face unlock, obtain the mobile terminal Before the background color of screen locking wallpaper further include:
In the topology file of locking screen interface, the src attribute of the image views control on the screen locking wallpaper will be laminated to Value is set as the face solution lock icon.
Based on the above technical solution, the face unlock interface display methods further include:
In face unlocking process, the predeterminated position at mobile terminal screen locking interface shows unlocked state prompt letter Breath, the font color of the unlocked state prompt information are identical as the color of the face solution lock icon.
Based on the above technical solution, in face unlocking process, in the default of mobile terminal screen locking interface Position shows unlocked state prompt information, the face of the font color of the unlocked state prompt information and the face solution lock icon Before color is identical further include:
Configure the font and word of predeterminated position, the unlocked state prompt information that the unlocked state prompt information shows Body size.
Based on the above technical solution, described according to the screen locking wall when the screen locking wallpaper is dynamic wallpaper The background color of paper adjusts the color for the face solution lock icon being layered on the screen locking wallpaper, makes the face solution lock icon Color be different from the screen locking wallpaper background color include:
The face unlock figure being layered on the dynamic wallpaper is dynamically adjusted according to the variation of the background color of dynamic wallpaper Target color makes the color of the face solution lock icon be different from the background color of the dynamic wallpaper.
Other side according to an embodiment of the present invention provides a kind of face unlock interface display system, comprising:
Background color acquiring unit, for obtaining the mobile terminal to lock screen-wall when mobile terminal carries out face unlock The background color of paper;
Icon Color control unit, for the background color according to the screen locking wallpaper, adjustment is layered in the screen locking wall The color of face solution lock icon on paper makes the color of the face solution lock icon be different from the background face of the screen locking wallpaper Color.
Based on the above technical solution, the Icon Color control unit is specifically used for:
When the background color of the screen locking wallpaper is light color, the face solution that will be layered on the screen locking wallpaper The color of lock icon is adjusted to black;Alternatively,
When the background color of the screen locking wallpaper is for dark color, the face solution that will be layered on the screen locking wallpaper The color of lock icon is adjusted to white.
Another aspect according to an embodiment of the present invention provides a kind of mobile terminal, including memory, processor and storage On the memory and the computer program that can run on the processor, the computer program is by the processor When execution, realize such as the step of face unlock interface display methods described in any one of claims 1 to 6.
Another aspect according to an embodiment of the present invention provides a kind of storage medium, meter is stored on the storage medium Calculation machine program when the computer program is executed by processor, realizes such as face solution described in any one of claims 1 to 6 The step of locking interface display method.
Face unlock interface display methods provided in an embodiment of the present invention is due to obtaining when mobile terminal carries out face unlock Take the background color of the mobile terminal to lock screen-wall paper;According to the background color of the screen locking wallpaper, adjustment is layered in the lock The color of face solution lock icon on screen-wall paper makes the color of the face solution lock icon be different from the background of the screen locking wallpaper Color, so as to avoid the background color and face solution lock icon of the screen locking wallpaper existing in the prior art selected as user Color it is similar when, cause user that can not perceive the presence of face solution lock icon, can not obtain face unlock process the problem of, Mobile terminal is enabled dynamically to switch the color of face solution lock icon according to the background color of the screen locking wallpaper of user setting, So that the colouring discrimination of face solution lock icon prompts user's face unlocked state, improves use in the background color of screen locking wallpaper Family experience.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the application Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of hardware structural diagram of mobile terminal of each embodiment to realize the present invention;
Fig. 2 is the specific implementation flow schematic diagram for the face unlock interface display methods that the embodiment of the present invention one provides;
Fig. 3 is the specific implementation flow schematic diagram of face unlock interface display methods provided by Embodiment 2 of the present invention;
Fig. 4 is the structural schematic diagram for the face unlock interface display system that the embodiment of the present invention three provides;
Fig. 5 is the structural schematic diagram for the mobile terminal that the embodiment of the present invention four provides.
Specific embodiment
In order to be clearer and more clear technical problems, technical solutions and advantages to be solved, tie below Drawings and examples are closed, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only To explain the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Mobile terminal can be implemented in a variety of manners.For example, mobile terminal described in the present invention may include such as Mobile phone, tablet computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable media player (Portable Media Player, PMP), navigation device, wearable device, intelligent hand The fixed cellular terminals such as the mobile terminals such as ring, pedometer, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the mobile end of fixed type End.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, 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 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Based on above-mentioned mobile terminal hardware configuration, each embodiment of the method for the present invention is proposed.
Embodiment one
Fig. 2 is the specific implementation flow schematic diagram for the face unlock interface display methods that the embodiment of the present invention one provides, should The executing subject of method is mobile terminal shown in FIG. 1.Shown in Figure 2, face unlock interface provided in this embodiment is shown Method the following steps are included:
Step S201 obtains the background color of the mobile terminal to lock screen-wall paper when mobile terminal carries out face unlock.
Wherein, the screen locking wallpaper of mobile terminal can be arranged in user according to personal preference.Wherein, the mobile terminal into When pedestrian's face unlocks, the background color for obtaining the mobile terminal to lock screen-wall paper is specifically included:
When the mobile terminal is under screen lock state, the movement is obtained when the mobile terminal screen is lit The background color of terminal screen wallpaper.
When the mobile terminal is under screen lock state, the mobile terminal execution face can be triggered when screen is lit Unlocking function, thus when mobile terminal screen is lit obtain mobile terminal screen wallpaper background color.Wherein, the shifting Dynamic terminal screen is lit including but not limited to: the power key pressed on the mobile terminal lights mobile terminal screen, movement Screen etc. such as lights at the feelings when screen is lit when terminal receives the notification information of all kinds of APP, mobile terminal receives short message Condition.
Preferably, in the present embodiment, before step S201 further include:
In the topology file of locking screen interface, the src attribute of the image views control on the screen locking wallpaper will be laminated to Value is set as the face solution lock icon.
In the present embodiment, the vector map file of the xml format of the face solution lock icon is named as face_ Unlock_head.xml, in locking screen interface topology file, by the image views ImgeView of original addition face solution lock icon " android:src " attribute in space is set as "@drawable/face_unlock_head ", and such mobile terminal is carrying out When face unlocks, that is, it may link in database and obtain the face solution lock icon, and the face solution lock icon is added to Designated position on locking screen interface.
Step S202 adjusts the face solution being layered on the screen locking wallpaper according to the background color of the screen locking wallpaper The color of lock icon makes the color of the face solution lock icon be different from the background color of the screen locking wallpaper.
Wherein, the face solution lock icon can be portrait icon, can be set in mobile terminal screen easily by user The position observed, such as: in a specific implementation example, the face solution lock icon be can be set in below screen locking wallpaper Between region.
In the present embodiment, user can be according to oneself any setting screen locking wallpaper of hobby.The screen locking wallpaper can be with For static wallpaper, or dynamic wallpaper.
In a specific implementation example, when screen locking wallpaper is static wallpaper, step S202 is specifically included:
When the background color of the screen locking wallpaper is light color, the face solution that will be layered on the screen locking wallpaper The color of lock icon is adjusted to black;Alternatively,
When the background color of the screen locking wallpaper is for dark color, the face solution that will be layered on the screen locking wallpaper The color of lock icon is adjusted to white.
In another specific implementation example, when screen locking wallpaper is dynamic wallpaper, step S202 is specifically included:
The face unlock figure being layered on the dynamic wallpaper is dynamically adjusted according to the variation of the background color of dynamic wallpaper Target color makes the color of the face solution lock icon be different from the background color of the dynamic wallpaper.
In the present embodiment before step S201 further include:
The file format of the face solution lock icon stored in the mobile terminal is converted to the polar plot of xml format File;
The background color dynamic according to the screen locking wallpaper is configured by the color attribute of picture in the vector map file Change and be not used in the background color of the screen locking wallpaper.
Wherein, the picture format that the designer of the face solution lock icon provides is usually the bitmap of .png format, therefore The mobile terminal when the face for getting .png format unlocks icon bit maps needs that drawing tool is called to carry out format to it The picture format of the face solution lock icon, is converted to the polar plot of xml format, due in xml vector map file by conversion Content is that occur with code form, therefore the subsequent filling face that the face solution lock icon can be adjusted by code revision Color.
Wherein, the color attribute of picture in the vector map file is configured to the background color according to the screen locking wallpaper Dynamically change and the background color for being not used in the screen locking wallpaper specifically include:
To be used to indicate in vector map file the color of face head portrait " android:fillColor " attribute modification be " Attr/wallpaperTextColor ", " attr/wallpaperTextColor " value is mentioned by the native system in mobile terminal For that can be changed according to the colour system dynamic of screen locking wallpaper, if screen locking wallpaper background is white, which is black;If wallpaper Background is black, then the value is white.
Above as can be seen that face unlock interface display methods provided in this embodiment is due to carrying out face in mobile terminal When unlock, the background color of the mobile terminal to lock screen-wall paper is obtained;According to the background color of the screen locking wallpaper, adjustment stacking The color of face solution lock icon on the screen locking wallpaper makes the color of the face solution lock icon be different from the screen locking wall The background color of paper, so as to avoid the background color and face of the screen locking wallpaper existing in the prior art selected as user When the color of solution lock icon is similar, causes user that can not perceive the presence of face solution lock icon, face solution can not be obtained and be locked into The problem of journey, enables mobile terminal dynamically to switch face unlock figure according to the background color of the screen locking wallpaper of user setting Target color, so that the colouring discrimination of face solution lock icon prompts user's face unlocked state in the background color of screen locking wallpaper, The user experience is improved.
Embodiment two
Fig. 3 is the specific implementation flow schematic diagram of face unlock interface display methods provided by Embodiment 2 of the present invention, should The executing subject of method is mobile terminal shown in FIG. 1.Shown in Figure 3, face unlock interface provided in this embodiment is shown Method the following steps are included:
Step S301 obtains the background color of the mobile terminal to lock screen-wall paper when mobile terminal carries out face unlock;
Step S302 adjusts the face solution being layered on the screen locking wallpaper according to the background color of the screen locking wallpaper The color of lock icon makes the color of the face solution lock icon be different from the background color of the screen locking wallpaper.
It should be noted that step S301~step S302 in the present embodiment due to step S201 in embodiment one~ The implementation of step S202 is identical, therefore details are not described herein.
Step S303, the predeterminated position display unlock shape in face unlocking process, at mobile terminal screen locking interface State prompt information, the font color of the unlocked state prompt information are identical as the color of the face solution lock icon.
In the present embodiment, before step S303 further include:
Configure the font and word of predeterminated position, the unlocked state prompt information that the unlocked state prompt information shows Body size.Wherein, the predeterminated position can be the face solution lock icon peripheral region, such as: it unlocks and schemes in the face It marks following.The unlocked state prompt information includes but is not limited to: face is not detected, detects face, unlocking, unlocking Success, the unlock prompt informations such as unsuccessfully.The font color and the color phase of the face solution lock icon of the unlock prompt information Together, and with the change of face unlock Icon Color change.It is described unlock prompt information font size and font type by User likes self-setting according to itself.
It is equivalent to an embodiment, face unlock interface display methods provided in this embodiment is due in face unlocking process In, the predeterminated position at mobile terminal screen locking interface shows unlocked state prompt information, and the font of unlocked state prompt information Color is identical as the color of face solution lock icon, and changes with the change of the color of face solution lock icon, therefore can be more Intuitive prompt user current face is added to unlock process, further the user experience is improved.
Embodiment three
Fig. 4 is the structural schematic diagram for the face unlock interface display system that the embodiment of the present invention three provides.For the ease of saying It is bright to illustrate only part related to the present embodiment.
Shown in Figure 4, face unlock interface display system 4 provided in this embodiment includes:
Background color acquiring unit 41, for obtaining the mobile terminal screen locking when mobile terminal carries out face unlock The background color of wallpaper;
Icon Color control unit 42, for the background color according to the screen locking wallpaper, adjustment is layered in the screen locking The color of face solution lock icon on wallpaper makes the color of the face solution lock icon be different from the background face of the screen locking wallpaper Color.
Optionally, the Icon Color control unit 42 is specifically used for:
When the background color of the screen locking wallpaper is light color, the face solution that will be layered on the screen locking wallpaper The color of lock icon is adjusted to black;Alternatively,
When the background color of the screen locking wallpaper is for dark color, the face solution that will be layered on the screen locking wallpaper The color of lock icon is adjusted to white.
Optionally, the face unlock interface display system 4 further include:
Picture format converting unit 43, for by the tray of the face solution lock icon stored in the mobile terminal Formula is converted to the vector map file of xml format;
Picture color configuration unit 44, for configuring the color attribute of picture in the vector map file to according to The background color dynamic of screen locking wallpaper changes and is not used in the background color of the screen locking wallpaper.
Optionally, the background color acquiring unit 41 is specifically used for:
When the mobile terminal is under screen lock state, the movement is obtained when the mobile terminal screen is lit The background color of terminal screen wallpaper.
Optionally, the face unlock interface display system 4 further include:
Face solution lock icon configuration unit 45, for the screen locking wall in the topology file of locking screen interface, will to be laminated to The src attribute value of image views control on paper is set as the face solution lock icon.
Optionally, the face unlock interface display system 4 further include:
Text prompt unit 46, for the predeterminated position in face unlocking process, at mobile terminal screen locking interface Show unlocked state prompt information, the color phase of the font color of the unlocked state prompt information and the face solution lock icon Together.
It should be noted that the face unlock interface that the system of the present embodiment and above-described embodiment one or implementation two provide is aobvious Show that method belongs to same design, specific implementation process is shown in corresponding embodiment of the method in detail, and the technology in embodiment of the method Feature is corresponding in this apparatus embodiments to be applicable in, and which is not described herein again.
It will appreciated by the skilled person that whole or certain steps in the present embodiment disclosed method, can be with It is implemented as software, firmware, hardware and its combination appropriate.
Example IV
Fig. 5 is the structural schematic diagram for the mobile terminal that the embodiment of the present invention four provides.It illustrate only for ease of description Part related to the present embodiment.
It is shown in Figure 5, mobile terminal 5 provided in this embodiment, including memory 51, processor 52 and be stored in described On memory 51 and the computer program 53 that can run on the processor 52, the computer program 53 is by the processing When device 52 executes, the step of realizing face unlock interface display methods as described in above-described embodiment one or embodiment two.
It should be noted that the face that the mobile terminal of the present embodiment and above-described embodiment one or implementation two provide unlocks boundaries Plane display method belongs to same design, and specific implementation process is shown in corresponding embodiment of the method in detail, and in embodiment of the method Technical characteristic is corresponding in this apparatus embodiments to be applicable in, and which is not described herein again.
It will appreciated by the skilled person that whole or certain steps in the present embodiment disclosed method, can be with It is implemented as software, firmware, hardware and its combination appropriate.
Embodiment five
The embodiment of the present invention five provides a kind of computer readable storage medium, stores on the computer readable storage medium There is computer program, when the computer program is executed by processor, realizes as described in above-described embodiment one or embodiment two The step of face unlock interface display methods.
It should be noted that the computer readable storage medium of the present embodiment and above-described embodiment one or implementation two provided Face unlock interface display methods belongs to same design, and specific implementation process is shown in corresponding embodiment of the method, and method in detail Technical characteristic in embodiment is corresponding applicable in this apparatus embodiments, and which is not described herein again.
It will appreciated by the skilled person that whole or certain steps in the present embodiment disclosed method, can be with It is implemented as software, firmware, hardware and its combination appropriate.
In hardware embodiment, the division between functional module/unit referred in the above description is not necessarily corresponded to In the division of physical assemblies;If for example, a physical assemblies can have multiple functions or a function or step can be by Dry physical assemblies cooperation executes.Certain physical assemblies or all physical assemblies may be implemented as by processor, such as central processing The software that device, digital signal processor or microprocessor execute, is perhaps implemented as hardware or is implemented as integrated circuit, Such as specific integrated circuit.Such software can be distributed on a computer-readable medium, and computer-readable medium may include meter Calculation machine storage medium (or non-transitory medium) and communication media (or fugitive medium).As known in those of ordinary skill in the art , term computer storage medium is included in for storing information (such as computer readable instructions, data structure, program module Or other data) any method or technique in implement volatile and non-volatile, removable and nonremovable medium.It calculates Machine storage medium includes but is not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic holder, tape, disk storage or other magnetic memory apparatus or can be used for storing desired Information and any other medium that can be accessed by a computer.In addition, known to a person of ordinary skill in the art be, communication Medium generally comprises computer readable instructions, data structure, program module or such as carrier wave or other transmission mechanisms etc Other data in modulated data signal, and may include any information delivery media.
Preferred embodiments of the present invention have been described above with reference to the accompanying drawings, not thereby limiting the scope of the invention.This Field technical staff without departing from the scope and spirit of the invention in made by any modifications, equivalent replacements, and improvements, should all this Within the interest field of invention.

Claims (10)

1. a kind of face unlock interface display methods characterized by comprising
When mobile terminal carries out face unlock, the background color of the mobile terminal to lock screen-wall paper is obtained;
According to the background color of the screen locking wallpaper, the color for the face solution lock icon being layered on the screen locking wallpaper is adjusted, The color of the face solution lock icon is set to be different from the background color of the screen locking wallpaper.
2. face unlock interface display methods as described in claim 1, which is characterized in that described according to the screen locking wallpaper Background color adjusts the color for the face solution lock icon being layered on the screen locking wallpaper, makes the face of the face solution lock icon Color be different from the screen locking wallpaper background color include:
When the background color of the screen locking wallpaper is light color, the face unlock figure that will be layered on the screen locking wallpaper Target color is adjusted to black;Alternatively,
When the background color of the screen locking wallpaper is for dark color, the face unlock figure that will be layered on the screen locking wallpaper Target color is adjusted to white.
3. face unlock interface display methods as claimed in claim 2, which is characterized in that described to carry out face in mobile terminal When unlock, before the background color for obtaining the mobile terminal to lock screen-wall paper further include:
The file format of the face solution lock icon stored in the mobile terminal is converted to the vector picture and text of xml format Part;
The color attribute of picture in the vector map file is configured to be changed according to the background color dynamic of the screen locking wallpaper And it is not used in the background color of the screen locking wallpaper.
4. face unlock interface display methods as described in claim 1, which is characterized in that described to carry out face in mobile terminal When unlock, the background color for obtaining the mobile terminal to lock screen-wall paper includes:
When the mobile terminal is under screen lock state, the mobile terminal is obtained when the mobile terminal screen is lit The background color of screen wallpaper.
5. face unlock interface display methods as described in claim 1, which is characterized in that described to carry out face in mobile terminal When unlock, before the background color for obtaining the mobile terminal to lock screen-wall paper further include:
In the topology file of locking screen interface, the src attribute value for the image views control being laminated on the screen locking wallpaper is set It is set to the face solution lock icon.
6. face unlock interface display methods as described in claim 1, which is characterized in that face unlock interface display side Method further include:
In face unlocking process, the predeterminated position at mobile terminal screen locking interface shows unlocked state prompt information, institute The font color for stating unlocked state prompt information is identical as the color of the face solution lock icon.
7. face unlock interface display methods as claimed in claim 6, which is characterized in that in face unlocking process, in institute The predeterminated position for stating mobile terminal screen locking interface shows unlocked state prompt information, the font face of the unlocked state prompt information Before color is identical as the color of the face solution lock icon further include:
Font and the font for configuring predeterminated position, the unlocked state prompt information that the unlocked state prompt information shows are big It is small.
8. face unlock interface display methods as described in claim 1, which is characterized in that when the screen locking wallpaper is dynamic wall When paper, the background color according to the screen locking wallpaper adjusts the face solution lock icon being layered on the screen locking wallpaper Color, the background color for making the color of the face solution lock icon be different from the screen locking wallpaper include:
The face solution lock icon being layered on the dynamic wallpaper is dynamically adjusted according to the variation of the background color of dynamic wallpaper Color makes the color of the face solution lock icon be different from the background color of the dynamic wallpaper.
9. a kind of mobile terminal, which is characterized in that including memory, processor and be stored on the memory and can be described The computer program run on processor, when which is executed by the processor, realize as claim 1 to Described in any one of 8 the step of face unlock interface display methods.
10. a kind of storage medium, which is characterized in that be stored with computer program, the computer program on the storage medium When being executed by processor, realize such as the step of face unlock interface display methods described in any item of the claim 1 to 8.
CN201910630832.4A 2019-07-12 2019-07-12 Face unlock interface display methods, system, mobile terminal and storage medium Pending CN110399062A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910630832.4A CN110399062A (en) 2019-07-12 2019-07-12 Face unlock interface display methods, system, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910630832.4A CN110399062A (en) 2019-07-12 2019-07-12 Face unlock interface display methods, system, mobile terminal and storage medium

Publications (1)

Publication Number Publication Date
CN110399062A true CN110399062A (en) 2019-11-01

Family

ID=68325445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910630832.4A Pending CN110399062A (en) 2019-07-12 2019-07-12 Face unlock interface display methods, system, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110399062A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617385A (en) * 2013-11-27 2014-03-05 福州瑞芯微电子有限公司 Terminal and method for unlocking screen
CN104850767A (en) * 2014-02-18 2015-08-19 宇龙计算机通信科技(深圳)有限公司 Unlocking method and system for mobile terminal
CN106156596A (en) * 2015-04-02 2016-11-23 腾讯科技(深圳)有限公司 The method to set up of pattern lock, device and terminal
CN107402688A (en) * 2017-06-14 2017-11-28 努比亚技术有限公司 A kind of screen locking control method, terminal and computer-readable recording medium
US9870086B2 (en) * 2013-04-18 2018-01-16 Samsung Electronics Co., Ltd. Electronic device and method for unlocking in the electronic device
CN109189281A (en) * 2018-06-29 2019-01-11 努比亚技术有限公司 Color adaptation method, terminal and the computer storage medium of wallpaper and icon

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9870086B2 (en) * 2013-04-18 2018-01-16 Samsung Electronics Co., Ltd. Electronic device and method for unlocking in the electronic device
CN103617385A (en) * 2013-11-27 2014-03-05 福州瑞芯微电子有限公司 Terminal and method for unlocking screen
CN104850767A (en) * 2014-02-18 2015-08-19 宇龙计算机通信科技(深圳)有限公司 Unlocking method and system for mobile terminal
CN106156596A (en) * 2015-04-02 2016-11-23 腾讯科技(深圳)有限公司 The method to set up of pattern lock, device and terminal
CN107402688A (en) * 2017-06-14 2017-11-28 努比亚技术有限公司 A kind of screen locking control method, terminal and computer-readable recording medium
CN109189281A (en) * 2018-06-29 2019-01-11 努比亚技术有限公司 Color adaptation method, terminal and the computer storage medium of wallpaper and icon

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
于彬: "《Android 编程基础》", 30 September 2013, 西南交通大学出版社 *

Similar Documents

Publication Publication Date Title
CN110471639A (en) Display methods and relevant apparatus
CN108196766A (en) A kind of display interface processing method, terminal and computer readable storage medium
KR20220062061A (en) Foldable screen display method and electronic device
CN108289174A (en) A kind of image pickup method, mobile terminal and computer readable storage medium
CN108287655A (en) A kind of interface display method, interface display apparatus and mobile terminal
CN109901695A (en) Display methods, mobile terminal and the computer readable storage medium of screen power saving
CN108541015A (en) A kind of signal strength reminding method and mobile terminal
CN108172161A (en) Display methods, mobile terminal and computer readable storage medium based on flexible screen
CN111026305A (en) Audio processing method and electronic equipment
CN108597512A (en) Method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN107734172A (en) A kind of method for information display and mobile terminal
CN110362368A (en) Picture customization display methods, relevant device and the storage medium of wearable device
CN109656636A (en) A kind of application starting method and device
CN109543474A (en) A kind of method for controlling mobile terminal and mobile terminal
CN109992472A (en) A kind of interface monitoring method, terminal and computer readable storage medium
CN109144341A (en) A kind of application operating method and mobile terminal
CN109445660A (en) A kind of wearable device control method, mobile terminal and wearable device
CN109299209A (en) A kind of group's rescue mode, satellite communication terminal and computer readable storage medium
CN109101301A (en) A kind of display control method, mobile terminal and computer readable storage medium
CN107885423A (en) The processing method and mobile terminal of a kind of picture
CN110191230A (en) Application interface display methods, mobile terminal and readable storage medium storing program for executing
CN110072071A (en) A kind of video record interaction control method, equipment and computer readable storage medium
CN110266885A (en) A kind of binding method and terminal of terminal
CN110046488A (en) Unlocking method, mobile terminal and computer readable storage medium
CN109947617A (en) A kind of method, terminal and readable storage medium storing program for executing monitored application interface and show content

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191101